OSDN Git Service

* gnu/classpath/jdwp/VMVirtualMachine.java
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
2
3         PR 23566
4         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
5         just Rule lines, in the other everything else.  Pass 0 instead of
6         $savings as second argument to parseRule when parsing the start
7         rule.
8         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
9
10 2007-02-07  Chris Burdess  <dog@gnu.org>
11
12         Fixes PR 30718.
13         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
14         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
15           SAXSources without a backing URL or stream.
16
17         Fixes PR 27710.
18         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
19           LSParser if implementation does not support asynchronous.
20         * gnu/xml/stream/XMLParser.java,
21           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
22           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
23           protocol handler problems.
24
25 2007-02-06  Tom Tromey  <tromey@redhat.com>
26
27         PR libgcj/30707:
28         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
29         (printClass): Always print a header.
30
31 2007-02-05  Andrew Haley  <aph@redhat.com>
32
33         PR cp-tools/30706
34         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
35         (printClass): Replace '/' in filenames with '_'.
36         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
37         (printClass): Likewise.
38
39 2007-02-05  Tom Tromey  <tromey@redhat.com>
40
41         * java/net/Proxy.java (equals): Handle case where address==null.
42         (hashCode): Likewise.
43         (toString): Likewise.
44
45 2007-01-31  Tom Tromey  <tromey@redhat.com>
46
47         * resource/gnu/classpath/tools/jar/messages.properties
48         (Main.Stdin): New message.
49         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
50         '-@' option.
51         (readNames): New method.
52         (run): Use it.
53
54 2007-01-26  Andrew Haley  <aph@redhat.com>
55
56         * java/lang/SecurityManager.java: Load and initialize
57         java.security.Security.
58
59 2007-01-26  Tom Tromey  <tromey@redhat.com>
60
61         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
62         'volatile' after field type.
63
64 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
65
66         * java/util/Arrays.java (binarySearch): Change comparison order.
67
68 2007-01-17  Tom Tromey  <tromey@redhat.com>
69
70         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
71         (PathOptionGroup): Set default boot class path.
72
73 2006-12-14  Andrew Haley  <aph@redhat.com>
74
75         * tools/gnu/classpath/tools/jar/Creator.java: Close the
76         inputStream.
77
78 2006-10-12  Andrew Haley  <aph@redhat.com>
79
80         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
81         * java/lang/ThreadLocal.java: Likewise.
82
83 2006-09-13  Andrew Haley  <aph@redhat.com>
84
85         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
86         Revert previous gcj-specific disabling of checks.
87         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
88         Likewise.
89         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
90         Likewise.
91
92 2006-09-13  Andrew Haley  <aph@redhat.com>
93
94         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
95         capacity < 1.
96         (Iterator.remove()): Decrement index after removing element.
97
98 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
99
100         * javax/net/ssl/SSLSocketFactory.java (getDefault):
101         Chain exception cause.
102
103 2006-12-11  Roman Kennke  <kennke@aicas.com>
104
105         * .classpath: Include ASM in Eclipse classpath.
106
107 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
108
109         * gnu/java/lang/management/BeanImpl.java:
110         (translate(String)): Trim strings of whitespace.
111         * javax/management/MBeanAttributeInfo.java:
112         (MBeanAttributeInfo(String,String,Method,Method)):
113         Use Class.getName() for normal (non-parameterized) cases.
114         * javax/management/MBeanConstructorInfo.java:
115         (MBeanConstructorInfo(String, Constructor)):
116         Likewise.
117         * javax/management/MBeanOperationInfo.java:
118         (MBeanOperationInfo(String, Method)):
119         Likewise.
120
121 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
122
123         * java/lang/Class.java:
124         (getClasses()): Return Class<?>[].
125         (internalGetClasses()): Likewise.
126         (getConstructor(Class<?>...)): Add type parameter
127         to parameters.
128         (getDeclaredConstructor(Class<?>...)): Likewise.
129         (getDeclaredClasses()): Return Class<?>[].
130         (getDeclaredClasses(boolean)): Likewise.
131         (getDeclaredConstructors()): Return Constructor<?>[].
132         (getDeclaredConstructors(boolean)): Likewise.
133         (getDeclaredMethod(String,Class<?>...)): Add type
134         parameter to parameters.
135         (getInterfaces()): Return Class<?>[].
136         (getMethods(String,Class<?>...)): Add type
137         parameter to parameters.
138         * java/text/CollationKey.java:
139         Make non-final.
140         * java/text/DecimalFormatSymbols.java:
141         Likewise.
142         
143 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
144
145         * gnu/java/lang/management/BeanImpl.java:
146         (translate(String)): Handle Map and List as
147         Strings of the form "java.util.Map<K,V>" and
148         "java.util.List<E>"
149         * javax/management/MBeanAttributeInfo.java:
150         (MBeanAttributeInfo(String,String,Method,Method)):
151         Use generic parameter and return types.
152         * javax/management/MBeanConstructorInfo.java:
153         (MBeanConstructorInfo(String, Constructor)):
154         Use generic parameter types.
155         * javax/management/MBeanOperationInfo.java:
156         (MBeanOperationInfo(String, Method)):
157         Use generic parameter and return types.
158         
159 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
160
161         * gnu/java/lang/management/BeanImpl.java:
162         (translate(String)): Comment out code for using type
163         variables for Map and List.
164         * java/lang/Thread.java:
165         (Thread(ThreadGroup,Runnable,String,long)): Fix
166         incrementation of totalThreadsCreated to be prior to use.
167         
168 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
169
170         * javax/management/MBeanServerFactory.java:
171         (createMBeanServer(String)): Added security check.
172         (findMBeanServer(String)): Likewise.
173         (newMBeanServer(String)): Likewise.
174         (releaseMBeanServer(String)): Likewise.
175         * javax/management/MBeanServerPermission.java:
176         New file.
177         
178 2006-12-08  David Daney  <ddaney@avtrex.com>
179
180         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
181         Fix comment.
182
183 2006-12-08  David Daney  <ddaney@avtrex.com>
184
185         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
186
187 2006-12-08  David Daney  <ddaney@avtrex.com>
188
189         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
190         SocketException.
191         (HTTPConnection): Handle NumberFormatException in properties parsing.
192         (Pool.get): Set timeout on reused sockets.
193         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
194         Initialize.
195         (HTTPURLConnection): Cleanup properties handling.
196         (getConnection): Use both connection and read timeouts.
197         (setConnectTimeout): Removed.
198         (setReadTimeout): New method.
199         * java/net/URLConnection.java (timeout): Renamed to...
200         (connectTimeout): ... connectTimeout throughout.
201         (readTimeout): New field.
202         (getReadTimeout): New method.
203         (setReadTimeout): New method.
204
205 2006-12-08  Tania Bento  <tbento@redhat.com>
206
207         * java/awt/ScrollPane.java
208         (doLayout): Change the location of the scrollpane's child
209         to (0, 0).
210
211 2006-12-08  David Daney  <ddaney@avtrex.com>
212
213         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
214         New method.
215         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
216         SocketTimeoutException if a blocking socket timesout.
217         (Java_gnu_java_nio_VMChannel_readScattering): Same.
218         (Java_gnu_java_nio_VMChannel_read__I): Same.
219         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
220         (Java_gnu_java_nio_VMChannel_connect6): Same.
221
222 2006-12-08  Mark Wielaard  <mark@klomp.org>
223
224         * configure.ac (VERSION): Set to 0.93-generics.
225         * NEWS: Add release date.
226
227 2006-12-08  Tania Bento  <tbento@redhat.com>
228
229         * java/awt/ScrollPane.java
230         (getScrollPosition): Throw NullPointerException if scrollpane
231         does have a child.
232         (setScrollPosition(int, int)): Throw NullPointerException if
233         scrollpane does have a child.  Check that both ints are within
234         the allowed bounds; If they are not, scroll to the closest allowed
235         bound.
236
237 2006-12-07  Roman Kennke  <kennke@aicas.com>
238
239         * javax/swing/JEditorPane.java
240         (EditorKitMapping): New inner helper class.
241         (editorKits): New static field for caching editor kit instances.
242         (static_initiazer): Initialize static mappings here.
243         (createEditorKitForContentType): Try to use cached instance.
244         Use correct classloader for loading.
245         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
246         class.
247         (getEditorKitForContentType): Store the fetched editor kit.
248         Fallback to createDefaultEditorKit().
249         (init): Don't clean the static registry here.
250         (registerEditorKitForContentType(String,String,ClassLoader)):
251         Implemented.
252         (registerEditorKitForContentType(String,String)): Delegate to
253         the other version of this method with the thread's context
254         classloader.
255
256 2006-12-07  Mark Wielaard  <mark@klomp.org>
257
258         * examples/gnu/classpath/examples/swing/HtmlDemo.java
259         (setPage): Don't convert URL to String for setPage().
260
261 2006-12-07  Mark Wielaard  <mark@klomp.org>
262
263         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
264
265 2006-12-07  Mark Wielaard  <mark@klomp.org>
266
267         * tools/Makefile.am: Explicitly define  and use bootclasspath as
268         GLIBJ_BOOTCLASSPATH
269
270 2006-12-07  Mark Wielaard  <mark@klomp.org>
271
272         * javax/swing/JEditorPane.java (createEditorKitForContentType):
273         Always load from system class loader.
274
275 2006-12-07  Mark Wielaard  <mark@klomp.org>
276
277         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
278         private constructor.
279         (URL(URL,String,URLStreamHandler)): Call new constructor.
280         (URL(URL,String)): Likewise.
281         (URL(String)): Likewise.
282
283 2006-12-07  Tom Tromey  <tromey@redhat.com>
284
285         * NEWS: Mention ASM.
286         * INSTALL: Don't mention --with-asm.
287         * tools/external/README: New file.
288         * tools/toolwrapper.c (main): Don't use ASM_JAR.
289         * tools/gjavah.in: Don't use PATH_TO_ASM.
290         * tools/grmic.in: Likewise.
291         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
292         'asm'.
293         (javah, rmic): Removed variables.
294         (bin_PROGRAMS): Updated.
295         (gappletviewer_CFLAGS): Don't define ASM_JAR.
296         (gjarsigner_CFLAGS): Likewise.
297         (gkeytool_CFLAGS): Likewise.
298         (gjar_CFLAGS): Likewise.
299         (gnative2ascii_CFLAGS): Likewise.
300         (gserialver_CFLAGS): Likewise.
301         (grmiregistry_CFLAGS): Likewise.
302         (gtnameserv_CFLAGS): Likewise.
303         (gorbd_CFLAGS): Likewise.
304         (grmid_CFLAGS): Likewise.
305         (gjavah_CFLAGS): Likewise.
306         (grmic_CFLAGS): Likewise.
307         (bin_SCRIPTS): Updated.
308         (TOOLS_JAVA_FILES): Updated.
309         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
310         * configure.ac: Removed --with-asm.  Always build gjavah.
311
312 2006-12-06  Roman Kennke  <kennke@aicas.com>
313
314         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
315         New class.
316         * examples/gnu/classpath/examples/swing/HtmlDemo.java
317         (LoadActionListener): Call setPage() helper method.
318         (createContent): Register tweaked editor kit. For FormSubmitEvents
319         call submitForm(), otherwise setPage().
320         (postData): Helper method for posting form data.
321         (setPage): Helper method for navigating to a new URL.
322         (submitForm): Helper method for submitting a form.
323         * examples/gnu/classpath/examples/swing/forms.html:
324         Added text/password fields and select boxes.
325         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
326
327 2006-12-06  Roman Kennke  <kennke@aicas.com>
328
329         * javax/swing/text/html/FormView.java
330         (SubmitThread.postData): Implemented.
331         (SubmitThread.run): Pass data to postData().
332         (actionPerformed): Reset form when reset button is activated.
333         (createComponent): Add support for select lists and comboboxes.
334         Don't set value of text and password fields here, this is done
335         now in HTMLDocument for consistency.
336         (getElementFormData): Add support for fetching form data from
337         select lists and comboboxes as well as textareas.
338         (getSelectData): New helper method. Fetches form data from
339         select boxes.
340         (getTextAreaData): New helper method. Fetches form data from
341         textareas.
342         (resetForm): New helper method. Resets the entire form.
343         * javax/swing/text/html/HTMLDocument.java
344         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
345         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
346         (HTMLReader.FormAction.setModel): Initialize text and password
347         values here. Also, use the resetable special models.
348         Group radio buttons into ButtonGroup for exclusive selection.
349         (HTMLReader.FormTagAction): New class. Handles FORM tags.
350         (HTMLReader.buttonGroups): New field.
351         (HTMLReader.numOptions): New field.
352         (HTMLReader.option): New field.
353         (HTMLReader.selectModel): New field.
354         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
355         (HTMLReader.handleText): Handle OPTION text.
356         (HTMLReader.initTags): Map FORM tags to FormTagAction.
357         (HTMLReader.textAreaContent): Set initial content.
358         * javax/swing/text/html/Option.java
359         (Option): Make copy of attribute set. Initialize selected state.
360         (getValue): Fetch value from attribute set.
361         * javax/swing/text/html/ResetableModel.java: New interface.
362         * javax/swing/text/html/ResetablePlainDocument.java: New class.
363         Supports resetting the state.
364         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
365         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
366         * javax/swing/text/html/SelectListModel.java: Likewise.
367
368 2006-12-06  Roman Kennke  <kennke@aicas.com>
369
370         * javax/swing/text/DefaultCaret.java
371         (appear): Adjust visibility here.
372         (setDotImpl): Don't adjust visibility here.
373         (moveDotImpl): Don't adjust visibility here.
374
375 2006-12-06  Roman Kennke  <kennke@aicas.com>
376
377         * gnu/java/awt/peer/gtk/AsyncImage.java
378         (Loader.run): Synchronize on the AsyncImage to avoid threading
379         issues.
380         (addObservers): Check for obs==null outside and synchronize on
381         this inside to avoid locking issues.
382         (checkImage): New helper method.
383         (notifyObservers): Check that the correct lock is held and
384         remove actual locking.
385         * gnu/java/awt/peer/gtk/GtkToolkit.java
386         (checkImage): Added special handling for AsyncImages.
387         
388 2006-12-06  Roman Kennke  <kennke@aicas.com>
389
390         * examples/gnu/classpath/examples/swing/Demo.java
391         (getIcon): Made package private.
392         * examples/gnu/classpath/examples/swing/HtmlDemo.java
393         (hyperlinkUpdate): Convert URL to string.
394
395 2006-12-06  Mark Wielaard  <mark@klomp.org>
396
397         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
398         null Observer.
399
400 2006-12-06  Roman Kennke  <kennke@aicas.com>
401
402         * examples/gnu/classpath/examples/icons/back.png,
403         * examples/gnu/classpath/examples/icons/reload.png:
404         New icons for the HTML browser.
405         * examples/gnu/classpath/examples/swing/HtmlDemo.java
406         (history): New field. Manages the browsing history.
407         (HtmlDemo): Initialize history.
408         (createContent): Set location and add history. Add toolbar.
409         (createToolBar): New helper method.
410         (main): Make default size bigger.
411         * examples/gnu/classpath/examples/swing/frame1.html,
412         * examples/gnu/classpath/examples/swing/frame2.html,
413         * examples/gnu/classpath/examples/swing/frame3.html,
414         * examples/gnu/classpath/examples/swing/frame4.html,
415         * examples/gnu/classpath/examples/swing/frames.html,
416         * examples/gnu/classpath/examples/swing/tables.html:
417         New example pages.
418         * examples/gnu/classpath/examples/swing/welcome.html
419         Add a couple of links and new test pages.
420
421 2006-12-06  Roman Kennke  <kennke@aicas.com>
422
423         * javax/swing/JEditorPane.java
424         (getStream): Buffer the stream for efficiency.
425         (setPage): Don't scroll the view at this point.
426         * javax/swing/plaf/basic/BasicTextUI.java
427         (RootView.paint): Call RootView's setSize to get synchronization.
428         (RootView.setSize): Synchronize to prevent race in layout code.
429         * javax/swing/text/AbstractDocument.java
430         (notifyListeners): New field.
431         (fireChangedUpdate): Track notifyListener field.
432         (fireRemoveUpdate): Track notifyListener field.
433         (fireIndertUpdate): Track notifyListener field.
434         (writeLock): Check notifyListener and throw IllegalStateException.
435         * javax/swing/text/View.java
436         (preferenceChanged): Create local var for better thread safety and
437         more efficiency.
438
439 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
440
441         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
442         lightweight component, not just for non-Panel components.
443         (addImpl): Do not call doLayout.
444         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
445         (setNativeBounds): Ensure widget parent is a GtkFixed before
446         calling gtk_fixed_move.
447         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
448         (setNativeBounds): Likewise.
449         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
450         (setNativeBounds): Likewise.
451
452 2006-12-06  Roman Kennke  <kennke@aicas.com>
453
454         * javax/swing/text/html/TableView.java
455         (RowView.layoutMajorAxis): Check column index for invalid value.
456         (updateGrid): Check column index for invalid value.
457
458 2006-12-06  Roman Kennke  <kennke@aicas.com>
459
460         * javax/swing/text/html/BlockView.java
461         (getAlignment): Align blocks horizontally by the superclass.
462         * javax/swing/text/html/HTMLEditorKit.java
463         (HTMLFactory.create): Replace equals comparison by == for efficiency.
464         Add mapping for misplaced tr, td and th tags. Include object mapping.
465         * javax/swing/text/html/TableView.java
466         (RowView.replace): Invalidate grid early.
467         (gridValid): Initialize with false.
468         (create): Only create RowView and CellView for correctly placed
469         tags. Avoid unnecessary casts.
470         (getAlignment): Removed.
471         (replace): Invalidate grid early.
472
473 2006-12-06  Francis Kung  <fkung@redhat.com>
474
475         * java/awt/geom/RectangularShape.java
476         (getBounds): Remove empty rectangle check.
477
478 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
479
480         Fixes PR 29853.
481         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
482         newValue are the same.
483         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
484
485 2006-12-06  Tania Bento  <tbento@redhat.com>
486
487         * javax/swing/border/CompoundBorder.java:
488         (isBorderOpaque): If inside border is null, return true if outside
489         border is opaque, false otherwise; if outside border is null, return
490         true if inside border is opaque, false otherwise; if inside or
491         outside border are both not null, then return true only if both the
492         inside and outside border are opaque, false otherwise.
493
494 2006-12-06  Tania Bento  <tbento@redhat.com>
495
496         * javax/swing/border/CompoundBorder.java:
497         (isBorderOpaque): If inside and outside border both have a null
498         value, return true.
499
500 2006-12-06  Chris Burdess  <dog@gnu.org>
501
502         Fixes PR 29272.
503         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
504         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
505
506 2006-12-06  Chris Burdess  <dog@gnu.org>
507
508         Fixes PR 29264.
509         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
510           writeDTD method.
511
512 2006-12-06  Chris Burdess  <dog@gnu.org>
513
514         Fixes PR 28816.
515         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
516           discover schema factory implementation class.
517
518 2006-12-05  Francis Kung  <fkung@redhat.com>
519
520         * java/awt/BasicStroke.java
521         (capEnd): Prevent division by zero.
522         * java/awt/geom/Arc2D.java
523         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
524         (ArcIterator.currentSegment): Handle a negative extent.
525
526 2006-12-05  Francis Kung  <fkung@redhat.com>
527
528         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
529         (constructor): Handle translated subimages properly, ie, if the image's
530         0,0 position is not the data buffer's first element.
531
532 2006-12-05  Roman Kennke  <kennke@aicas.com>
533
534         * gnu/java/awt/peer/gtk/AsyncImage.java
535         (Loader.run): Nullify observers after loading.
536         (observers): Made package private.
537         (addObserver): Check for null observers field. Create local
538         variable for thread safety.
539         (getHeight): Use addObserver() for checking state of field
540         and notifying observer when necessary.
541         (getWidth): Use addObserver() for checking state of field
542         and notifying observer when necessary.
543         (getProperty): Use addObserver() for checking state of field
544         and notifying observer when necessary.
545         (notifyObservers): Check for null observers field. Create local
546         variable for thread safety.
547
548 2006-12-05  Roman Kennke  <kennke@aicas.com>
549
550         * javax/swing/text/html/HTMLEditorKit.java
551         (HTMLFactory.create): Removed debug output.
552         * javax/swing/text/html/InlineView.java
553         (getBreakWeight): Likewise.
554         * javax/swing/text/html/StyleSheet.java
555         (addRule): Likewise.
556         (ListPainter.paint): Removed debug output.
557
558 2006-12-05  Roman Kennke  <kennke@aicas.com>
559
560         * javax/swing/text/html/BlockView.java
561         (painter): Made package visible.
562         * javax/swing/text/html/StyleSheet.java
563         (translateBorder): New helper method.
564         (translateHTMLToCSS): Add mappings for border attributes.
565         * javax/swing/text/html/TableView.java
566         Made class subclass of BlockView to get CSS goodness.
567         (CellView.rowSpan): New field.
568         (CellView.setPropertiesFromAttributes): Fetch rowspan.
569         (RowView.overlap): New field.
570         (RowView.rowIndex): New field.
571         (RowView.layoutMajorAxis): Skip overlapping cells.
572         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
573         (numColumns): New field.
574         (tmpRect): New field.
575         (TableView): Initialize tmpRect.
576         (calculateColumnRequirements): Adjusted and fixed for multirows.
577         (getAlignment): Overridden to center tables.
578         (paint): Overridden to fix clipping.
579         (getStyleSheet): Made protected.
580         (layoutMajorAxis): Invalidate rows.
581         (setPropertiesFromAttributes): Made protected and call super.
582         (updateGrid): Update the overlapping information for multirows.
583
584 2006-12-05  Roman Kennke  <kennke@aicas.com>
585
586         * gnu/java/awt/peer/gtk/AsyncImage.java
587         (addObserver): Check for null and ignore null observers.
588         (getWidth): Check for null and ignore null observers.
589         (getHeight): Check for null and ignore null observers.
590         (getProperty): Check for null and ignore null observers.
591
592 2006-12-05  Francis Kung  <fkung@redhat.com>
593
594         * java/awt/BasicStroke.java
595         (capEnd): Prevent division by zero.
596         * java/awt/geom/Arc2D.java
597         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
598         (ArcIterator.currentSegment): Handle a negative extent.
599
600 2006-12-05  Francis Kung  <fkung@redhat.com>
601
602         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
603         (constructor): Handle translated subimages properly, ie, if the image's
604         0,0 position is not the data buffer's first element.
605
606 2006-12-05  Roman Kennke  <kennke@aicas.com>
607
608         * javax/swing/text/html/ImageView.java
609         (imageUpdate): Use spans field to determine if the CSS width/height
610         are set. Call safePreferenceChanged to protect view structure
611         from threading issues.
612         (spans): Made package private.
613         (ImageView): Initialize loadOnDemand with false.
614         (loadImage): Call Toolkit.prepareImage() to make sure we have
615         our Observer registered.
616         (safePreferenceChanged): New helper method. Calls preferenceChanged
617         in a thread safe environment.
618
619 2006-12-05  Roman Kennke  <kennke@aicas.com>
620
621         * NEWS: Add entry about improved HTML support.
622
623 2006-12-05  Roman Kennke  <kennke@aicas.com>
624
625         * javax/swing/text/html/ImageView.java
626         (ImageView): Initialize spans array here.
627         (setPropertiesFromAttributes): Moved init of spans array to
628         constructor.
629
630 2006-12-05  Roman Kennke  <kennke@aicas.com>
631
632         * javax/swing/text/html/BlockView.java
633         (painter): Made package visible.
634         * javax/swing/text/html/StyleSheet.java
635         (translateBorder): New helper method.
636         (translateHTMLToCSS): Add mappings for border attributes.
637         * javax/swing/text/html/TableView.java
638         Made class subclass of BlockView to get CSS goodness.
639         (CellView.rowSpan): New field.
640         (CellView.setPropertiesFromAttributes): Fetch rowspan.
641         (RowView.overlap): New field.
642         (RowView.rowIndex): New field.
643         (RowView.layoutMajorAxis): Skip overlapping cells.
644         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
645         (numColumns): New field.
646         (tmpRect): New field.
647         (TableView): Initialize tmpRect.
648         (calculateColumnRequirements): Adjusted and fixed for multirows.
649         (getAlignment): Overridden to center tables.
650         (paint): Overridden to fix clipping.
651         (getStyleSheet): Made protected.
652         (layoutMajorAxis): Invalidate rows.
653         (setPropertiesFromAttributes): Made protected and call super.
654         (updateGrid): Update the overlapping information for multirows.
655
656 2006-12-05  Roman Kennke  <kennke@aicas.com>
657
658         * javax/swing/text/html/HTMLEditorKit.java
659         (HTMLFactory.create): Removed debug output.
660         * javax/swing/text/html/InlineView.java
661         (getBreakWeight): Likewise.
662         * javax/swing/text/html/StyleSheet.java
663         (addRule): Likewise.
664         (ListPainter.paint): Removed debug output.
665
666 2006-12-06  Roman Kennke  <kennke@aicas.com>
667
668         * javax/swing/text/html/BlockView.java
669         (getAlignment): Align blocks horizontally by the superclass.
670         * javax/swing/text/html/HTMLEditorKit.java
671         (HTMLFactory.create): Replace equals comparison by == for efficiency.
672         Add mapping for misplaced tr, td and th tags. Include object mapping.
673         * javax/swing/text/html/TableView.java
674         (RowView.replace): Invalidate grid early.
675         (gridValid): Initialize with false.
676         (create): Only create RowView and CellView for correctly placed
677         tags. Avoid unnecessary casts.
678         (getAlignment): Removed.
679         (replace): Invalidate grid early.
680
681
682 2006-12-06  Roman Kennke  <kennke@aicas.com>
683
684         * javax/swing/text/html/TableView.java
685         (RowView.layoutMajorAxis): Check column index for invalid value.
686         (updateGrid): Check column index for invalid value.
687
688 2006-12-06  Roman Kennke  <kennke@aicas.com>
689
690         * javax/swing/JEditorPane.java
691         (getStream): Buffer the stream for efficiency.
692         (setPage): Don't scroll the view at this point.
693         * javax/swing/plaf/basic/BasicTextUI.java
694         (RootView.paint): Call RootView's setSize to get synchronization.
695         (RootView.setSize): Synchronize to prevent race in layout code.
696         * javax/swing/text/AbstractDocument.java
697         (notifyListeners): New field.
698         (fireChangedUpdate): Track notifyListener field.
699         (fireRemoveUpdate): Track notifyListener field.
700         (fireIndertUpdate): Track notifyListener field.
701         (writeLock): Check notifyListener and throw IllegalStateException.
702         * javax/swing/text/View.java
703         (preferenceChanged): Create local var for better thread safety and
704         more efficiency.
705
706 2006-12-06  Roman Kennke  <kennke@aicas.com>
707
708         * examples/gnu/classpath/examples/icons/back.png,
709         * examples/gnu/classpath/examples/icons/reload.png:
710         New icons for the HTML browser.
711         * examples/gnu/classpath/examples/swing/HtmlDemo.java
712         (history): New field. Manages the browsing history.
713         (HtmlDemo): Initialize history.
714         (createContent): Set location and add history. Add toolbar.
715         (createToolBar): New helper method.
716         (main): Make default size bigger.
717         * examples/gnu/classpath/examples/swing/frame1.html,
718         * examples/gnu/classpath/examples/swing/frame2.html,
719         * examples/gnu/classpath/examples/swing/frame3.html,
720         * examples/gnu/classpath/examples/swing/frame4.html,
721         * examples/gnu/classpath/examples/swing/frames.html,
722         * examples/gnu/classpath/examples/swing/tables.html:
723         New example pages.
724         * examples/gnu/classpath/examples/swing/welcome.html
725         Add a couple of links and new test pages.
726
727 2006-12-06  Roman Kennke  <kennke@aicas.com>
728
729         * examples/gnu/classpath/examples/swing/Demo.java
730         (getIcon): Made package private.
731         * examples/gnu/classpath/examples/swing/HtmlDemo.java
732         (hyperlinkUpdate): Convert URL to string.
733
734 2006-12-06  Roman Kennke  <kennke@aicas.com>
735
736         * javax/swing/text/DefaultCaret.java
737         (appear): Adjust visibility here.
738         (setDotImpl): Don't adjust visibility here.
739         (moveDotImpl): Don't adjust visibility here.
740
741 2006-12-06  Roman Kennke  <kennke@aicas.com>
742
743         * javax/swing/text/html/FormView.java
744         (SubmitThread.postData): Implemented.
745         (SubmitThread.run): Pass data to postData().
746         (actionPerformed): Reset form when reset button is activated.
747         (createComponent): Add support for select lists and comboboxes.
748         Don't set value of text and password fields here, this is done
749         now in HTMLDocument for consistency.
750         (getElementFormData): Add support for fetching form data from
751         select lists and comboboxes as well as textareas.
752         (getSelectData): New helper method. Fetches form data from
753         select boxes.
754         (getTextAreaData): New helper method. Fetches form data from
755         textareas.
756         (resetForm): New helper method. Resets the entire form.
757         * javax/swing/text/html/HTMLDocument.java
758         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
759         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
760         (HTMLReader.FormAction.setModel): Initialize text and password
761         values here. Also, use the resetable special models.
762         Group radio buttons into ButtonGroup for exclusive selection.
763         (HTMLReader.FormTagAction): New class. Handles FORM tags.
764         (HTMLReader.buttonGroups): New field.
765         (HTMLReader.numOptions): New field.
766         (HTMLReader.option): New field.
767         (HTMLReader.selectModel): New field.
768         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
769         (HTMLReader.handleText): Handle OPTION text.
770         (HTMLReader.initTags): Map FORM tags to FormTagAction.
771         (HTMLReader.textAreaContent): Set initial content.
772         * javax/swing/text/html/Option.java
773         (Option): Make copy of attribute set. Initialize selected state.
774         (getValue): Fetch value from attribute set.
775         * javax/swing/text/html/ResetableModel.java: New interface.
776         * javax/swing/text/html/ResetablePlainDocument.java: New class.
777         Supports resetting the state.
778         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
779         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
780         * javax/swing/text/html/SelectListModel.java: Likewise.
781
782 2006-12-06  Roman Kennke  <kennke@aicas.com>
783
784         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
785         New class.
786         * examples/gnu/classpath/examples/swing/HtmlDemo.java
787         (LoadActionListener): Call setPage() helper method.
788         (createContent): Register tweaked editor kit. For FormSubmitEvents
789         call submitForm(), otherwise setPage().
790         (postData): Helper method for posting form data.
791         (setPage): Helper method for navigating to a new URL.
792         (submitForm): Helper method for submitting a form.
793         * examples/gnu/classpath/examples/swing/forms.html:
794         Added text/password fields and select boxes.
795         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
796
797 2006-12-07  Mark Wielaard  <mark@klomp.org>
798
799         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
800         private constructor.
801         (URL(URL,String,URLStreamHandler)): Call new constructor.
802         (URL(URL,String)): Likewise.
803         (URL(String)): Likewise.
804
805 2006-12-07  Mark Wielaard  <mark@klomp.org>
806
807         * javax/swing/JEditorPane.java (createEditorKitForContentType):
808         Always load from system class loader.
809
810 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
811
812         Fixes PR 29853.
813         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
814         newValue are the same.
815         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
816
817 2006-12-06  Chris Burdess  <dog@gnu.org>
818
819         Fixes PR 29272.
820         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
821         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
822
823 2006-12-06  Chris Burdess  <dog@gnu.org>
824
825         Fixes PR 29264.
826         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
827         writeDTD method.
828
829 2006-12-056  Chris Burdess  <dog@gnu.org>
830
831         Fixes PR 28816.
832         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
833         discover schema factory implementation class.
834
835 2006-12-05  Roman Kennke  <kennke@aicas.com>
836
837         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
838         asynchronous loading of images.
839         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
840         (drawImage): Fetch real image from possibly AsyncImage.
841         * gnu/java/awt/peer/gtk/ComponentGraphics.java
842         (drawImage): Fetch real image from possibly AsyncImage.
843         * gnu/java/awt/peer/gtk/GtkToolkit.java
844         (createImage(URL)): Create async image.
845         (imageOrError): Made method static for easy access from AsyncImage.
846         (prepareImage): For async images, register the observer to the
847         image.
848
849 2006-12-05  Roman Kennke  <kennke@aicas.com>
850
851         (paintComponent): Include paint area from event.
852         (updateComponent): Include paint area from event.
853
854 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
855
856         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
857         lightweight component, not just for non-Panel components.
858         (addImpl): Do not call doLayout.
859         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
860         (setNativeBounds): Ensure widget parent is a GtkFixed before
861         calling gtk_fixed_move.
862         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
863         (setNativeBounds): Likewise.
864         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
865         (setNativeBounds): Likewise.
866
867 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
868
869         * java/awt/Component.java (getFontImpl): Return a default font if
870         topmost parent's font is null.
871
872 2006-12-04  Mark Wielaard  <mark@klomp.org>
873
874         * javax/swing/text/html/CSS.java (parseMarginShorthand):
875         Remove debug output.
876
877 2006-12-04  Roman Kennke  <kennke@aicas.com>
878
879         * java/awt/font/TextLayout.java
880         (hitTestChar): Fixed conditions for inclusion of range.
881         Use layout information in the run for more efficiency.
882
883 2006-12-04  Roman Kennke  <kennke@aicas.com>
884
885         * javax/swing/text/GlyphView.java
886         (J2DGlyphPainter): New inner class.
887         (checkPainter): For Java2D capable environments create
888         a J2DGlyphPainter.
889
890 2006-12-04  Roman Kennke  <kennke@aicas.com>
891
892         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
893         (FreeTypeGlyphVector): Don't filter control chars here.
894         (getGlyphs): Filter control chars and replace them by
895         hair space char.
896
897 2006-12-04  Roman Kennke  <kennke@aicas.com>
898
899         * native/jni/java-nio/gnu_java_nio_VMChannel.c
900         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
901
902 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
903
904         * gnu/java/lang/management/BeanImpl.java:
905         (translate(String)): Don't assume the list uses "E",
906         just use the first and only type variable.
907         * java/lang/management/ManagementFactory.java:
908         (getPlatformMBeanServer()): Register logging bean.
909         * javax/management/openmbean/OpenType.java:
910         (OpenType(String,String,String)): Actually use
911         the string created to handle arrays.
912         
913 2006-12-04  Mark Wielaard  <mark@klomp.org>
914
915         * native/jni/java-nio/gnu_java_nio_VMChannel.c
916         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
917
918 2006-12-04  Mark Wielaard  <mark@klomp.org>
919
920         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
921         Make static.
922         * native/jni/java-nio/gnu_java_nio_VMChannel.c
923         (JCL_thread_interrupted): Only take JNIEnv.
924         (vm_channel_class): New static variable.
925         (initID): Set vm_channel_class.
926         Wrap all reads() and writes() in do-while blocks that check
927         interrupted status.
928
929 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
930
931         * gnu/javax/management/Server.java:
932         Make map final and initialise it.
933         (unregisterMBean(ObjectName)): Match against
934         delegate's object name and not the instance.
935         * java/lang/management/ManagementFactory.java:
936         Added constant fields.
937         (getPlatformMBeanServer()): Implemented.
938         * javax/management/MBeanServerFactory.java: New file.
939         
940 2006-12-04  Roman Kennke  <kennke@aicas.com>
941
942         * javax/swing/text/BoxView.java
943         (paint): Replaced painting algorithm with more simple and more
944         reliable painting of the box.
945         * javax/swing/text/html/BlockView.java
946         (PositionInfo): New inner class. Stores additional CSS
947         positioning information.
948         (positionInfo): New field.
949         (BlockView): Initialize positionInfo field.
950         (fetchLayoutInfo): New helper method. Fetches additional
951         CSS positioning information.
952         (layoutMajorAxis): Perform additional CSS layout.
953         (layoutMinorAxis): Perform additional CSS layout.
954         (positionView): New helper method.
955         (replace): Overridden to fetch additional layout information.
956         * javax/swing/text/html/CSS.java
957         (Attribute.POSITION): New field.
958         (Attribute.LEFT): New field.
959         (Attribute.RIGHT): New field.
960         (Attribute.TOP): New field.
961         (Attribute.BOTTOM): New field.
962         (getValue): Create Length for left, right, top and bottom
963         attributes.
964
965 2006-12-04  Roman Kennke  <kennke@aicas.com>
966
967         * gnu/javax/swing/text/html/parser/support/Parser.java
968         (Sgml): Consume any whitespace that immediately follows
969         and sgml insertion.
970         (parseDocument): Consume any initial whitespace.
971
972 2006-12-03  Mark Wielaard  <mark@klomp.org>
973
974         * gnu/javax/management/Server.java (beans): Initialize.
975         (registerMBean): Don't initialize beans.
976
977 2006-12-03  Mark Wielaard  <mark@klomp.org>
978
979         * java/util/logging/LogManager.java (getLevelProperty): Check
980         whether value is null before passing to Level.parse().
981
982 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
983
984         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
985         whether given a null lock and lockOwner.
986
987 2006-12-03  Mark Wielaard  <mark@klomp.org>
988
989         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
990         (PageLoader.page): Made package local.
991         (PageLoader.run): Don't reset loader.
992         (PageLoader.cancel): New method.
993         (loading): Renamed to loader.
994         (getPage): Return loader.page.
995         (setPage): Always set loader. Never reset to null.
996
997 2006-12-03  Mark Wielaard  <mark@klomp.org>
998
999         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1000         path[k] is null.
1001         (isLastChild): Return false when path is null.
1002
1003 2006-12-03  Mark Wielaard  <mark@klomp.org>
1004
1005         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1006         to currentPaintArea.
1007         (paintComponent): Work with local reference to currentPaintArea.
1008         (updateComponent): Likewise.
1009         (coalescePaintEvent): Set currentPaintArea.
1010
1011 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1012
1013         * javax/management/MBeanServerBuilder.java: New file.
1014         
1015 2006-12-01  Mark Wielaard  <mark@klomp.org>
1016
1017         * java/text/DecimalFormat.java (parse): Always increment parsing
1018         index and adjust pos result.
1019
1020 2006-12-01  Roman Kennke  <kennke@aicas.com>
1021
1022         * javax/swing/text/html/HTML.java
1023         (Attribute.DYNAMIC_CLASS): New field.
1024         (Attribute.PSEUDO_CLASS): New field.
1025         * javax/swing/text/html/HTMLDocument.java
1026         (HTMLReader.CharacterAction.start): Initialize anchor with link
1027         pseudo attribute.
1028         (updateSpecialClass): New helper method. Updates the dynamic
1029         or pseudo class for anchor tags.
1030         * javax/swing/text/html/HTMLEditorKit.java
1031         (LinkController.lastAnchorElement): New field. For tracking
1032         enter/exit of anchors.
1033         (LinkController.activateLink): Set pseudo class to 'visited'.
1034         (LinkController.mouseMoved): Added support for tracking
1035         the 'hover' dynamic class.
1036         * javax/swing/text/html/InlineView.java
1037         (changedUpdate): Fetch new properties.
1038         * javax/swing/text/html/StyleSheet.java
1039         (attributeSetToMap): New helper method.
1040         (getRule): Also append dynamic and pseudo class to key.
1041         (resolveStyle): Resolve style based generally on all attributes.
1042         * javax/swing/text/html/TableView.java
1043         (RowView.layoutMajorAxis): Make sure the grid is valid.
1044         (updateGrid): Made package private.
1045         * gnu/javax/swing/text/html/css/Selector.java
1046         (calculateSpecificity): Added support for dynamic and pseudo classes.
1047         (matches): Changed to operate on general attributes.
1048         Added support for dynamic and pseudo classes.
1049
1050 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1051
1052         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1053         fractional portion in a separate method.
1054         Also fixes the handling of decimal separator and its associated field.
1055         (handleFractionalPart): new method, needed to relax a bit
1056         formatInternal.
1057         
1058 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1059
1060         * java/beans/beancontext/BeanContextServicesSupport.java:
1061         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1062         Class)): Implemented.
1063         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1064         Class, Object)): Implemented.
1065         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1066         Object, Object)): Implemented.
1067         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1068         Implemented.
1069         (initialiseBeanContextResources()): Implemented.
1070         (releaseBeanContextResoures()): Implemented.
1071         
1072 2006-12-01  Mark Wielaard  <mark@klomp.org>
1073
1074         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1075
1076 2006-12-01  Roman Kennke  <kennke@aicas.com>
1077
1078         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1079         handling border styles.
1080         * gnu/javax/swing/text/html/css/BorderWidth.java
1081         (isValid): New method.
1082         * gnu/javax/swing/text/html/css/Length.java
1083         (isValid): New method.
1084         * javax/swing/text/html/CSS.java
1085         (addInternal): Added shorthand parsing for border, padding and
1086         margin.
1087         (parseBackgroundShorthand): Added API docs.
1088         (parsePaddingShorthand): New method. Handles padding shorthand
1089         values.
1090         (parseMarginShorthand): New method. Handles margin shorthand
1091         values.
1092         (parseBorderShorthand): New method. Handles border shorthand
1093         values.
1094         * javax/swing/text/html/StyleSheet.java
1095         (translateHTMLToCSS): Set specific padding attributes.
1096         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1097         These shorthands are now handled in CSS.
1098         (BoxPainter.paint): Exclude the outer margin.
1099
1100 2006-12-01  Roman Kennke  <kennke@aicas.com>
1101
1102         * gnu/javax/swing/text/html/css/Length.java
1103         (emBase): New field.
1104         (exBase): New field.
1105         (isFontEMRelative): New field.
1106         (isFontEXRelative): New field.
1107         (Length): Recognize and setup EM and EX relative values.
1108         (getValue): Handle EM and EX relative values.
1109         (isEMRelative): New method.
1110         (isEXRelative): New method.
1111         (setEMBase): New method.
1112         (setEXBase): New method.
1113         (setFontBases): New method.
1114         * gnu/javax/swing/text/html/parser/support/Parser.java
1115         (_handleEmptyTag): Use new isBlock() helper method.
1116         (_handleEndTag_remaining): Use new isBlock() helper method.
1117         (_handleStartTag): Consume whitespace after block start tag.
1118         (Comment): Consume whitespace after a comment.
1119         (isBlock): New helper method.
1120         (readAttributes): Consider all characters in unquoted attribute
1121         values.
1122         * javax/swing/text/html/BlockView.java
1123         (layoutMinorAxis): Use cached span value.
1124         (paint): Added debug code (commented out).
1125         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1126         * javax/swing/text/html/CSSBorder.java
1127         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1128         with stylesheet.
1129         (getBorderWidth): Set the EM and EX base on the length values.
1130         * javax/swing/text/html/HTMLDocument.java
1131         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1132         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1133         (HTMLReader.inImpliedParagraph): Removed.
1134         (HTMLReader.inParagraph): Removed.
1135         (HTMLReader.parseStack): New field.
1136         (HTMLReader.addContent): Use new paragraph handling.
1137         (HTMLReader.addSpecialElement): Use new paragraph handling.
1138         (HTMLReader.blockClose): Use new paragraph handling.
1139         (HTMLReader.blockOpen): Use new paragraph handling.
1140         (HTMLReader.inImpliedParagraph): New helper method.
1141         (HTMLReader.inParagraph): New helper method.
1142         * javax/swing/text/html/ImageView.java
1143         (attributes): New field. Caches view attributes.
1144         (spans): New field. Caches CSS spans.
1145         (getAttributes): Correctly setup CSS view attributes.
1146         (getPreferredSpan): Use caches spans.
1147         (getStyleSheet): Use the view's getDocument() method.
1148         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1149         (updateSize): Use cached spans.
1150         * javax/swing/text/html/ParagraphView.java
1151         (setPropertiesFromAttributes): Setup EM and EX.
1152         * javax/swing/text/html/StyleSheet.java
1153         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1154         (getEMBase): New helper method.
1155         (getEXBase): New helper method.
1156         * javax/swing/text/html/TableView.java
1157         (width): New field. Caches the table width.
1158         (calculateMinorAxisRequirements): Use caches span.
1159         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1160         (updateGrid): Correctly setup EM/EX.
1161
1162 2006-11-30  Roman Kennke  <kennke@aicas.com>
1163
1164         * javax/swing/text/html/FormSubmitEvent.java: New class.
1165         * javax/swing/text/html/FormView.java
1166         (SubmitThread): New class for submitting data in a separate thread.
1167         (actionPerformed): Fetch the actual for data.
1168         (addData): New helper method.
1169         (getElementFormData): New helper method.
1170         (getFormData): New helper method.
1171         (getInputFormData): New helper method.
1172         (submitData): Implemented.
1173         * javax/swing/text/html/FrameView.java
1174         (createComponent): Add this as hyperlink listener.
1175         Set the target document as frame document.
1176         (getTopEditorPane): New helper method.
1177         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1178         (handleHyperlinkEvent): New helper method.
1179         (handleFormSubmitEvent): New helper method.
1180         * javax/swing/text/html/HTMLDocument.java
1181         (HTMLReader.BaseAction.start): Track the base target.
1182         (HTMLReader.BaseAction.end): Removed.
1183         (baseTarget): New field.
1184         (frameDocument): New field.
1185         (getBaseTarget): New property accessor.
1186         (isFrameDocument): New property accessor.
1187         (processHTMLFrameHyperlinkEvent): Implemented.
1188         (setFrameDocument): New property accessor.
1189         (updateFrame): New helper method.
1190         (updateFrameSet): New helper method.
1191         * javax/swing/text/html/HTMLEditorKit.java
1192         (LinkController.createHyperlinkEvent): Handle frame documents.
1193         (autoFormSubmission): New field.
1194         (HTMLEditorKit): Set autoFormSubmission to true.
1195         (isAutoFormSubmission): New property accessor.
1196         (setAutoFormSubmission): New property accessor.
1197
1198 2006-11-30  Roman Kennke  <kennke@aicas.com>
1199
1200         * javax/swing/text/ElementIterator.java
1201         (ElementRef): New inner class.
1202         (currentDepth): Removed.
1203         (currentElement): Removed.
1204         (previousItem): Removed.
1205         (stack): New field. Holds the iteration stack.
1206         (state): Removed.
1207         (ElementIterator(Document)): Removed init of removed fields.
1208         (ElementIterator(Element)): Removed init of removed fields.
1209         (current): Changed to stack based algorithm.
1210         (deepestLeaf): New helper method.
1211         (depth): Changed to stack based algorithm.
1212         (first): Changed to stack based algorithm.
1213         (next): Changed to stack based algorithm.
1214         (previous): Changed to stack based algorithm.
1215
1216 2006-11-30  Francis Kung  <fkung@redhat.com>
1217
1218         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1219         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1220
1221 2006-11-30  Francis Kung  <fkung@redhat.com>
1222
1223         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1224         (draw): Set transform in buffered composite.
1225         (drawComposite): Do not transform bounds; round bounds.
1226         (drawGlyphVector):  Set transform in buffered composite.
1227         (drawRenderedImage):  Set transform in buffered composite.
1228         (fill):  Set transform in buffered composite.
1229         (updateBufferedImage): Fix scanline & height calculations.
1230         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1231         (createPath): Simplify width & height calculation.
1232         (drawImage): Also transform width & height.
1233
1234 2006-11-30  Roman Kennke  <kennke@aicas.com>
1235
1236         * javax/swing/text/html/FrameSetView.java: New class. Implements
1237         HTML framesets.
1238         * javax/swing/text/html/FrameView.java: New class. Implements
1239         HTML frames.
1240         * javax/swing/text/html/HTMLDocument.java:
1241         (HTMLReader.addSpecialElement): Only add one artificial space.
1242         * javax/swing/text/html/HTMLEditorKit.java
1243         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1244         * gnu/javax/swing/text/html/parser/support/Parser.java
1245         (_handleEmptyTag): Also consume whitespace after frame tags.
1246
1247 2006-11-30  Gary Benson  <gbenson@redhat.com>
1248
1249         * java/lang/Thread.java: Javadoc fixes.
1250
1251 2006-11-29  Tom Tromey  <tromey@redhat.com>
1252
1253         PR classpath/28203:
1254         * java/lang/Class.java (getAnnotations): Rewrote.
1255
1256 2006-11-29  Tania Bento  <tbento@redhat.com>
1257
1258         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1259         (parseParams): Unescape 'val' before putting it into the Map.
1260         (unescapeString): New private method.
1261
1262 2006-11-29  Tom Tromey  <tromey@redhat.com>
1263
1264         * tools/gnu/classpath/tools/getopt/package.html: New file.
1265
1266 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1267
1268         * javax/swing/plaf/metal/MetalIconFactory.java
1269         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1270         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1271
1272 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1273
1274         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1275         with the default international currency sign \u00A4.
1276         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1277         table for string formatting.
1278         (formatInternal): likewise.
1279         (scanNegativePattern): likewise.
1280         (applyPattern): likewise.
1281         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1282         Locale is immutable and does not need clone.
1283
1284 2006-11-29  Francis Kung  <fkung@redhat.com>
1285
1286         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1287         (drawLine): Remove hard-coded pixel shifting.
1288
1289 2006-11-29  Roman Kennke  <kennke@aicas.com>
1290
1291         * java/awt/Component.java
1292         (isShowing): Simplified condition code and avoid unnecessary
1293         if-codepaths.
1294         (coalesceEvents): Always coalesce paint events and let the peer
1295         figure out the expanding of the repaint area.
1296         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1297         (currentPaintEvents): Removed. Replaced by paintArea.
1298         (paintArea): New field. Tracks the dirty area.
1299         (SwingComponentPeer): Removed init of currentPaintEvents.
1300         (coalescePaintEvent): Simplified to only union the dirty regions.
1301         (handleEvent): Paint dirty region that was tracked in paintArea.
1302         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1303         (paintArea): New field. Tracks the dirty region.
1304         (coalescePaintEvent): Implemented to track the dirty region.
1305         (paintComponent): Use the dirty region in paintArea. Protect
1306         state by putting the paint and dispose code in a try-finally.
1307         (updateComponent): Use the dirty region in paintArea. Protect
1308         state by putting the paint and dispose code in a try-finally.
1309
1310 2006-11-29  Roman Kennke  <kennke@aicas.com>
1311
1312         * java/awt/font/TextLayout.java
1313         (getVisualHighlightShape): Removed debug output.
1314
1315 2006-11-28  Andrew Haley  <aph@redhat.com>
1316
1317         * vm/reference/sun/reflect/misc/ReflectUtil.java
1318         (checkPackageAccess): Implement.
1319
1320 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1321
1322         * native/jni/java-lang/java_lang_VMDouble.c:
1323         (parseDoubleFromChars) New function. Factored out from ...
1324         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1325         (dtoa_toString): New function. Factored out from ...
1326         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1327         Changed conversion mode to 2, as modes 0 and 1 don't round
1328         as the API spec demands. Invoke conversion function as often
1329         as necessary with growing precision until a reversible
1330         representation of the double in form of a string is reached.
1331
1332 2006-11-28  Roman Kennke  <kennke@aicas.com>
1333
1334         * javax/swing/JComponent.java
1335         (putClientProperty): Do not fire event when both old and new
1336         value are == null.
1337
1338 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1339
1340         * java/lang/Enum.java:
1341         Make name and ordinal final.
1342         
1343 2006-11-27  Casey Marshall  <csm@gnu.org>
1344
1345         * java/util/jar/JarEntry.java (certs): removed.
1346         (jarfile): new field.
1347         (getCertificates): read the certificates from the containing JarFile.
1348         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1349         fill in 'certs,' fill in 'jarfile' for the entry.
1350         (getEntry): likewise.
1351         
1352 2006-11-27  Francis Kung  <fkung@redhat.com>
1353
1354         * java/awt/image/WritableRaster.java
1355         (createChild): Implemented.
1356
1357 2006-11-27  Roman Kennke  <kennke@aicas.com>
1358
1359         * java/awt/font/TextLayout.java
1360         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1361         (getVisualHighlightShape): Implemented.
1362         (layoutRuns): Fixed boundary so that the last run is also laid out.
1363         (left): New helper method.
1364         (right): New helper method.
1365
1366 2006-11-27  Roman Kennke  <kennke@aicas.com>
1367
1368         * java/awt/font/TextLayout.java
1369         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1370         (getCaretShape(TextHitInfo)): Use natural bounds.
1371         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1372         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1373         above with DEFAULT_CARET_POLICY.
1374         (getCaretShapes(int)): Use natural bounds.
1375
1376 2006-11-27  Roman Kennke  <kennke@aicas.com>
1377
1378         * java/awt/font/TextLayout.java
1379         (Run.font): New field.
1380         (Run.location): New field.
1381         (Run.Run): Initialize font.
1382         (font): Removed field. This is moved into Run as the actual font
1383         is something run-specific.
1384         (TextLayout(String,Font,FontRenderContext)): Set font on the
1385         single runs. Layout the runs here.
1386         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1387         (findRunAtIndex): New helper method.
1388         (getCaretInfo): Implemented.
1389         (layoutRuns): New helper method.
1390         (toString): Don't put font in output string.
1391
1392 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1393
1394         * AUTHORS: Added Jeroen Fritjers.
1395
1396 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1397
1398         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1399         for FieldPosition to be null.
1400         Check if the factional part is just 0 and can be omitted from the
1401         result.
1402         (scanNegativePattern): Fixed index out of bound exception when searching
1403         for international currency symbol in negative pattern.  
1404
1405 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1406
1407         * java/beans/beancontext/BeanContextSupport.java:
1408         (readObject(ObjectInputStream)): Implemented.
1409         (writeObject(ObjectOutputStream)): Likewise.
1410         (BCSChild.getTargetChild()): Added.
1411         (bcsPreDeserializationHook()): Implemented.
1412         (bcsPreSerializationHook()): Likewise.
1413         (childDeserializedHook(Object,BCSChild)): Likewise.
1414         (isSerializing()): Likewise.
1415         (readChildren(ObjectInputStream)): Likewise.
1416         (writeChildren(ObjectOutputStream)): Likewise.
1417         
1418 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1419             Ian Lance Taylor  <ian <at> airs.com>
1420             Paolo Bonzini <bonzini <at> gnu.org>
1421
1422         Fixes bug #25557.
1423
1424         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1425         increased portability.  Likewise, use -f instead of -e.
1426
1427 2006-11-26  Mark Wielaard  <mark@klomp.org>
1428
1429         * lib/Makefile.am (propertydirs): Removed.
1430         (resources): Explicitly create all dirs.
1431
1432 2006-11-26  Mark Wielaard  <mark@klomp.org>
1433
1434         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1435
1436 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1437
1438         * native/target/.cvsignore,
1439         native/target/generic/.cvsignore,
1440         native/target/Linux/.cvsignore:
1441         Removed no longer used files.
1442
1443         * native/target: Removed no longer used directory.
1444
1445 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1446
1447         Fixes bug #29133.
1448
1449         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1450         (Java_gnu_java_nio_VMSelector_select):
1451         Use strerror if strerror_r is not available.
1452
1453         Reported by:  Michael Franz <mvfranz@gmail.com>,
1454                       Riccardo Mottola <zuse@libero.it>
1455
1456 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1457
1458         Fixes bug #26756.
1459         
1460         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1461         STRICT_WARNING_CFLAGS since it caused the build to fail 
1462         on GNU/Linux.
1463
1464 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1465
1466         * doc/vmintegration.texinfo: Update VM Threading Model section.
1467
1468 2006-11-26  Tom Tromey  <tromey@redhat.com>
1469
1470         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1471         include ifaddrs.h.
1472         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1473         conditional.
1474         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1475         Conditionally include ifaddrs.h.
1476         (getif_address): Updated conditional.
1477         (getif_index): Likewise.
1478         * configure.ac: Check for ifaddrs.h.
1479
1480 2006-11-25  Mark Wielaard  <mark@klomp.org>
1481
1482         * java/io/File.java (list): Return empty list for unreadable dirs.
1483
1484 2006-11-25  Mark Wielaard  <mark@klomp.org>
1485
1486         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1487         Synchronize on font peer.
1488         (setFont): Likewise.
1489         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1490         synchronized.
1491         (getTextMetrics): Likewise.
1492
1493 2006-11-25  Roman Kennke  <kennke@aicas.com>
1494
1495         * javax/swing/text/GapContent.java
1496         (getPositionsInRange): Rewritten to use the more efficient
1497         binary search searchFirst() and avoid an NPE that was caused
1498         by GC'ed positions.
1499
1500 2006-11-25  Mark Wielaard  <mark@klomp.org>
1501
1502         * javax/swing/text/CompositeView.java (modelToView): Never return
1503         null.
1504
1505 2006-11-25  Mark Wielaard  <mark@klomp.org>
1506
1507         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1508         Check whether rowView instanceof RowView.
1509         (updateGrid): Likewise.
1510
1511 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1512
1513         PR28462
1514         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1515         * java/text/NumberFormat.java (format): all format methods, fixed
1516         FieldPosition argument should never be null.
1517         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1518         method is not final.
1519         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1520         locale.
1521         * AUTHORS: added my name to the file.
1522
1523 2006-11-25  Mark Wielaard  <mark@klomp.org>
1524
1525         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1526         getChildAllocation() returning null.
1527
1528 2006-11-25  Mark Wielaard  <mark@klomp.org>
1529
1530         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1531         Use clazzIndex for id substring.
1532
1533 2006-11-25  Mark Wielaard  <mark@klomp.org>
1534
1535         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1536         it is still running.
1537
1538 2006-11-25  Mark Wielaard  <mark@klomp.org>
1539
1540         Fixes bug #28822
1541         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1542         CREATE_API_DOCS
1543
1544 2006-11-24  Tania Bento  <tbento@redhat.com>
1545
1546         * java/awt/font/TextHitInfo.java
1547         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1548         (beforeOffset): Decreased first parameter by 1.
1549
1550 2006-11-24  Francis Kung  <fkung@redhat.com>
1551
1552         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1553         (constructor): Check sample model when setting fastCM flag.
1554         (updateBufferedImage): Check scanline and sample model offsets before
1555         copying data directly into the image data buffer.
1556
1557 2006-11-24  Francis Kung  <fkung@redhat.com>
1558
1559         * gnu/java/awt/java2d/QuadSegment.java
1560         (offsetSubdivided): Handle special straight-line cases.
1561
1562 2006-11-24  Roman Kennke  <kennke@aicas.com>
1563
1564         * java/awt/dnd/DropTarget.java
1565         (DropTargetAutoScroller.HYSTERESIS): New constant.
1566         (DropTargetAutoScroller.DELAY): New constant.
1567         (DropTargetAutoScroller.inner): New field. A cached
1568         Rectangle instance.
1569         (DropTargetAutoScroller.outer): New field. A cached
1570         Rectangle instance.
1571         (DropTargetAutoScroller.timer): New field. The actual timer.
1572         (DropTargetAutoScroller.DropTargetAutoScroller):
1573         Initialize timer.
1574         (DropTargetAutoScroller.actionPerformed): Implemented.
1575         (DropTargetAutoScroller.stop): Implemented.
1576         (DropTargetAutoScroller.updateLocation): Implemented.
1577         (clearAutoscroll): Stop the autoscroller before nullifying it.
1578         (createDropTargetAutoScroller): Don't set the field here,
1579         only return a new instance.
1580         (dragEnter): Only do something when active. Initialize
1581         auto scrolling.
1582         (dragExit): Only do something when active. Stop auto scrolling.
1583         (dragOver): Only do something when active. Update auto scrolling.
1584         (drop): Only do something when active. Update auto scrolling.
1585         (dropActionChanged): Only do something when active. Update
1586         auto scrolling.
1587         (initializeAutoScrolling): Check if component is an instance
1588         of Autoscroll, otherwise do nothing.
1589         (setActive): Disable autoscrolling when deactivating.
1590         (setComponent): When component is set to null, disable autoscrolling.
1591
1592 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1593
1594         * java/beans/beancontext/BeanContextServicesSupport.java
1595         (getChildBeanContextServicesListener): Implemented.
1596
1597 2006-11-23  Roman Kennke  <kennke@aicas.com>
1598
1599         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1600         (createGraphics): Use constructor to create new instance of
1601         BufferedImageGraphics.
1602         * java/awt/Toolkit.java
1603         (getDefaultToolkit): Really try to get a real toolkit. Only
1604         use HeadlessToolkit if no other is available.
1605         * gnu/java/awt/peer/gtk/GtkToolkit.java
1606         (checkHeadless): New helper method. Checks for headless environment
1607         and throws HeadlessException if appropriate.
1608         (createButton): Check for headless.
1609         (createCanvas): Check for headless.
1610         (createCheckbox): Check for headless.
1611         (createCheckboxMenuItem): Check for headless.
1612         (createChoice): Check for headless.
1613         (createDialog): Check for headless.
1614         (createDragGestureRecognizer): Check for headless.
1615         (createDragSourceContextPeer): Check for headless.
1616         (createEmbeddedWindow): Check for headless.
1617         (createFileDialog): Check for headless.
1618         (createFrame): Check for headless.
1619         (createCheckbox): Check for headless.
1620         (createLabel): Check for headless.
1621         (createList): Check for headless.
1622         (createMenu): Check for headless.
1623         (createMenuBar): Check for headless.
1624         (createMenuItem): Check for headless.
1625         (createPanel): Check for headless.
1626         (createPopupMenu): Check for headless.
1627         (createScrollbar): Check for headless.
1628         (createScrollPane): Check for headless.
1629         (createTextArea): Check for headless.
1630         (createTextField): Check for headless.
1631         (createWindow): Check for headless.
1632
1633 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
1634
1635         * java/beans/beancontext/BeanContextSupport.java
1636         (deserialize): Implemented,
1637         (serialize): Implemented.
1638
1639 2006-11-23  Roman Kennke  <kennke@aicas.com>
1640
1641         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1642         (createGraphics): Try to use Cairo graphics if available.
1643
1644 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1645
1646         * java/beans/beancontext/BeanContextSupport.java
1647         (toArray): Added API docs,
1648         (toArray(Object[])): Added API docs, removed NotImplementedException.
1649
1650 2006-11-22  Tania Bento  <tbento@redhat.com>
1651
1652         * javax/swing/JRootPane.java
1653         (setLayeredPane): Added documentation; throw 
1654         IllegalComponentStateException if layered pane parameter is null.
1655
1656 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1657
1658         * java/beans/beancontext/BeanContextSupport.java
1659         (avoidingGui): Removed NotImplementedException.
1660
1661 2006-11-22  Francis Kung  <fkung@redhat.com>
1662
1663         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1664         (drawGlyphVector): Clip updated area to glyph bounds.
1665         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1666         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1667         x-coordinate and y-coordinate pixel shifting.
1668         (shifted): Removed method.
1669         (shiftX): New method, recognising scaling transforms.
1670         (shiftY): New method, recognising scaling transforms.
1671         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1672
1673 2006-11-22  Roman Kennke  <kennke@aicas.com>
1674
1675         * java/awt/font/TextLayout.java
1676         (hash): New field. Caches the hash code.
1677         (hashCode): Implemented.
1678
1679 2006-11-22  Roman Kennke  <kennke@aicas.com>
1680
1681         * java/awt/image/ImageFilter.java
1682         Reformat whole class.
1683         (getFilterInstance): Don't touch the consumer field. Don't check
1684         consumer.
1685         (imageComplete): Don't check consumer.
1686         (setColorModel): Don't check consumer.
1687         (setDimensions): Don't check consumer.
1688         (setHints): Don't check consumer.
1689         (setPixels): Don't check consumer.
1690         (setProperties): Pass the original property too.
1691         * java/awt/image/IndexColorModel.java
1692         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1693         transparent pixel by calling the new helper method.
1694         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1695         transparent pixel by calling the new helper method.
1696         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1697         transparent pixel by calling the new helper method.
1698         (coerceData): Removed. This is not needed.
1699         (getAlpha): Simply return value from color map. The transparent
1700         pixel has to be there.
1701         (setTransparentPixel): New helper method. Inserts the transparent
1702         pixel.
1703         * java/awt/image/RGBImageFilter.java
1704         Reformat whole class.
1705         (convertColorModelToDefault): Removed. No longer needed.
1706         (filterIndexColorModel): Don't handle transparent pixels
1707         separately.
1708         (filterRGBPixels): Set pixels on consumer already.
1709         (makeColor): Removed. No longer needed.
1710         * java/awt/image/ReplicateScaleFilter.java
1711         (replicatePixels): Removed.
1712         (setDimension): Correctly compute destination size, avoid double
1713         calculations.
1714         (setPixels): Avoid double calculations. Fixed some boundary cases.
1715         (setupSources): New helper method.
1716         * java/awt/image/SampleModel.java
1717         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1718         and TYPE_DOUBLE.
1719         * java/awt/image/SinglePixelPackedSampleModel.java
1720         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1721         This is not needed as the superclass already copies line
1722         by line.
1723         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1724         removed some checks that the RI also doesn't perform. Call
1725         DataBuffer.setElem().
1726
1727 2006-11-22  Roman Kennke  <kennke@aicas.com>
1728
1729         * java/awt/text/TextLayout.java
1730         (getLogicalRangesForVisualSelection): Implemented.
1731
1732 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1733
1734         * sun/reflect/annotation/AnnotationParser.java,
1735         * sun/reflect/annotation/AnnotationType.java,
1736         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1737         * sun/reflect/annotation/ExceptionProxy.java:
1738         Stubbed.
1739         * sun/misc/ServiceConfigurationError.java,
1740         * sun/misc/Service.java:
1741         Implemented.
1742         
1743 2006-11-21  Roman Kennke  <kennke@aicas.com>
1744
1745         * java/awt/text/TextLayout.java
1746         (Run.isLeftToRight): New helper method.
1747         (logicalToVisual): New field. Maps logical indices to visual
1748         indices.
1749         (visualToLogical): New field. Maps visual indices to logical
1750         indices.
1751         (TextLayout): Setup mappings.
1752         (setupMappings): New method for setting up the mappings.
1753         (getCharacterLevel): Reorganized code.
1754         (getNextLeftHit(int)): Implemented.
1755         (getNextLeftHit(int,CaretPolicy)): New method.
1756         (getNextLeftHit(TextHitInfo)): Implemented.
1757         (getNextRightHit(int)): Implemented.
1758         (getNextRightHit(int,CaretPolicy)): New method.
1759         (getNextRightHit(TextHitInfo)): New method.
1760         (getVisualOtherHit): Implemented.
1761         (checkHitInfo): New helper methods for checking parameters.
1762         (hitToCaret): New helper method. Maps hit infos to caret locations.
1763         (caretToHit): New helper method. Maps caret locations to hit infos.
1764         (isCharacterLTR): New helper method.
1765         (CaretPolicy.getStrongCaret): Implemented.
1766
1767 2006-11-21  Francis Kung  <fkung@redhat.com>
1768
1769         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1770         (draw): Include stroke width when calculating bounds.
1771         (updateBufferedImage): Round bounds more generously, handle negative
1772         height/width values, and clip more intelligently.
1773         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1774         (createPath): Add shortcut optimization for lines.
1775         (draw): Include stroke width when calculating bounds.
1776         (drawLine): Delegate to main draw() method.
1777         (drawRect): Likewise.
1778         (fillRect): Delegate to main fill() method.
1779         (findStrokedBounds): New method.
1780         (setCustomPaint): Round bounds more generously.
1781         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1782         (drawLine): Removed.
1783         (drawRect): Removed.
1784         (fillRect): Removed.
1785
1786 2006-11-21  Francis Kung  <fkung@redhat.com>
1787
1788         * gnu/java/awt/java2d/TexturePaintContext.java
1789         (getRaster): Handle negative coordinate values.
1790         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1791         (setPaint): Moved custom paint processing to a new method.
1792         (setPaintPixels): Added x, y parameters.
1793         (getRealBounds): Added documentation.
1794         (copy): Copy clipping information.
1795         (drawLine): Process custom paints.
1796         (setCustomPaint): New method.
1797         (fill): Process custom paints.
1798         (drawGlyphVector): Process custom paints.
1799         (drawRect): Process custom paints.
1800         (draw): Process custom paints.
1801         * gnu/java/awt/peer/gtk/CairoSurface.java
1802         (cairoCM_opaque): New constant.
1803         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1804         (argb32): Removed constant.
1805         (rgb32): Removed constant.
1806         (BufferedImageGraphics(BufferedImage)): Updated constant names.
1807         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1808         (updateBufferedImage): Transform to device-space before updating.
1809         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1810         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1811         parameters.
1812         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1813         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1814         source at designated x, y origin.
1815
1816 2006-11-21  Roman Kennke  <kennke@aicas.com>
1817
1818         * java/awt/text/TextLayout.java
1819         (Run): New inner helper class.
1820         (length): New field.
1821         (naturalBounds): New field.
1822         (offset): New field.
1823         (runIndices): Removed. This is now encapsulate in a Run object.
1824         (runs): Changed to Run[].
1825         (string): Changed to char[].
1826         (totalAdvance): New field. Caches advance value.
1827         (TextLayout(String,Font,FontRenderContext)): Change to store
1828         string as char[] and run layout as Run[]. Clean out empty
1829         run items.
1830         (TextLayout(TextLayout,int,int)): Change to store
1831         string as char[] and run layout as Run[].
1832         (clone): Call private constructor for maximum efficiency.
1833         (determineWhitespace): Adapted to use char[] data.
1834         (draw): Adapted to use Run objects.
1835         (getAdvance): Cache computed total advance.
1836         (getBlackBoxBounds): Adapted to use Run objects.
1837         (getCaretInfo): Use natural layout bounds.
1838         (getCharacterCount): Return length field.
1839         (getLogicalHighlightShape): Adapted to use Run objects.
1840         (getNaturalBounds): New helper method. Calculates and returns the
1841         natural bounds of this text layout.
1842         (getOutline): Adapted to use Run objects.
1843         (getStringProperties): Adapted to use char[] data.
1844         (getVisibleAdvance): Adapted to use char[] and Run data.
1845         (handleJustify): Adapted to use char[] and Run data.
1846         (hitTestChar(float,float,Rectangle2D)): Implemented.
1847         (hitTestChar(float,float)): Use natural bounds.
1848         (setCharIndices): Adapted to use char[] and Run data.
1849         (toString): Adapted to use char[] and Run data.
1850         * java/text/Bidi.java
1851         (requiresBidi): Exclude paragraph separators from bidi-triggers.
1852
1853 2006-11-21  Roman Kennke  <kennke@aicas.com>
1854
1855         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1856         Removed. This is now an inner class in GdkFontPeer.
1857         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1858         (drawString(float,float)): Use text layout cache from
1859         GdkFontPeer.
1860         (getFontMetrics): Delegate to GdkFontPeer.
1861         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1862         (getGlyphCodes): Also check array size.
1863         (getGlyphPositions): Also check array size.
1864         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1865         (GdkFontLineMetrics.fm): Removed.
1866         (GdkFontLineMetrics.strikeThroughOffset): Removed.
1867         (GdkFontLineMetrics.strikeThroughThickness): Removed.
1868         (GdkFontLineMetrics.underlineOffset): Removed.
1869         (GdkFontLineMetrics.underlineThickness): Removed.
1870         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1871         FontMetrics argument. Don't init removed fields.
1872         (GdkFontLineMetrics.getAscent): Return font peer's field.
1873         (GdkFontLineMetrics.getDescent): Return font peer's field.
1874         (GdkFontLineMetrics.getHeight): Return font peer's field.
1875         (GdkFontLineMetrics.getLeading): Return font peer's field.
1876         (GdkFontLineMetrics.getNumChars): Reformat.
1877         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1878         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1879         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1880         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1881         (GdkFontMetrics): Moved class in here as inner class. 
1882         Make it use the font peer's fields and for the char(s) width
1883         and string width method, use TextLayout to measure the actual widths.
1884         (ascent): New field.
1885         (bundle): Removed.
1886         (DEFAULT_CTX): New constant field.
1887         (descent): New field.
1888         (FONT_METRICS_ASCENT): New constant.
1889         (FONT_METRICS_DESCENT): New constant.
1890         (FONT_METRICS_HEIGHT): New constant.
1891         (FONT_METRICS_MAX_ADVANCE): New constant.
1892         (FONT_METRICS_MAX_ASCENT): New constant.
1893         (FONT_METRICS_MAX_DESCENT): New constant.
1894         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1895         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1896         (height): New field.
1897         (maxAdvance): New field.
1898         (maxAscent): New field.
1899         (maxDescent): New field.
1900         (metrics): New field. Stores a FontMetrics for this font.
1901         (textLayoutCache): New field. Caches TextLayout instances.
1902         (underlineOffset): New field.
1903         (underlineThickness): New field.
1904         (cinit): Don't initialize resource bundle.
1905         (GdkFontPeer): Setup the metrics.
1906         (getFontMetrics): Return stored metrics if possible.
1907         (getLineMetrics): Adapt to new constructor.
1908         (initFont): New helper method.
1909         (setupMetrics): New helper method.
1910         * gnu/java/awt/peer/gtk/GtkToolkit.java
1911         (LRUCache): Made class a static class.
1912         (getFontMetrics): Delegate to GdkFontPeer.
1913         * native/jni/gtk-peer/gdkfont.h
1914         Added new constant defines.
1915         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1916         (getFontMetrics): Rewritten to fetch the font metrics from
1917         FreeType.
1918
1919 2006-11-20  Tania Bento  <tbento@redhat.com>
1920
1921         * javax/swing/ButtonGroup.java:
1922         (setSelected): Select the ButtonModel if all conditions
1923         are met.
1924
1925 2006-11-20  Tania Bento  <tbento@redhat.com>
1926
1927         * javax/swing/JSlider.java:
1928         (updateLabelUIs): Removed casting.
1929
1930 2006-11-20  Mark Wielaard  <mark@klomp.org>
1931
1932         * gnu/java/util/regex/RE.java (messages): Don't initialize.
1933         (bundle): New static final String field.
1934         (getLocalizedMessage): Initialize messages when still null.
1935         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1936         (set): Use RE.getLocalizedMessage().
1937         (clear): Likewise.
1938         (setLineSeparator): Likewise.
1939
1940 2006-11-20  Roman Kennke  <kennke@aicas.com>
1941
1942         * javax/swing/text/html/StyleSheet.java
1943         (linked): New field.
1944         (styleSheet): Replaced by linked.
1945         (addStyleSheet): Use an arraylist for simplicity.
1946         (getRule): Removed useless instantiation.
1947         (getStyleSheets): Convert array list to array.
1948         (removeStyleSheet): Use an arraylist for simplicity.
1949         (resolveStyle): Include styles from linked lists.
1950
1951 2006-11-20  Roman Kennke  <kennke@aicas.com>
1952
1953         * javax/swing/text/BoxView.java
1954         (BoxView): Initialize with invalid req's.
1955         (forwardUpdate): Trigger repaint when children changed the
1956         major axis.
1957         (getResizeWeight): Return resizable when the pref differs from
1958         the min or the pref differs from the max size.
1959         (layoutMajorAxis): Actually sum up the preferred sizes.
1960         (paint): Made binary search more robust.
1961         (replace): Let arrays shrink when needed.
1962         (replaceLayoutArray): Let arrays shrink when needed.
1963         (setAxis): Trigger preferenceChanged.
1964         * javax/swing/text/CompositeView.java
1965         (getInsideAllocation): Call insets method to take account
1966         of overriding subclasses.
1967         * javax/swing/text/DefaultStyledDocument.java
1968         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1969         (ElementBuffer.insertUpdate): Only remove the found element, not
1970         all.
1971         * javax/swing/text/GlyphView.java
1972         (insertUpdate): Pass null in preferenceChanged.
1973         (removeUpdate): Pass null in preferenceChanged.
1974         (changedUpdate): Pass null in preferenceChanged.
1975         * javax/swing/text/Utilities.java
1976         (drawTabbedText): Avoid single calls to charWidth() and instead
1977         call charsWidth() on whole chunks.
1978         * javax/swing/text/html/HTMLDocument.java
1979         (BlockElement.getName): Fall back to super when necessary.
1980         (RunElement.getName): Fall back to super when necessary.
1981         (HTMLReader.MAX_THRESHOLD): New constant field.
1982         (HTMLReader.GROW_THRESHOLD): New constant field.
1983         (HTMLReader.theshold): New field.
1984         (HTMLReader.HTMLReader): Fetch threshold from document.
1985         (HTMLReader.addContent): Sucessivly grow the threshold.
1986         (createLeafElement): Don't create two elemens and don't set
1987         attribute.
1988         * javax/swing/text/html/TableView.java
1989         (RowView.replace): Invalidate grid.
1990         (gridValid): Made package private.
1991         (layoutMinorAxis): Mark all rows as invalid.
1992         (replace): Invalidate grid.
1993
1994 2006-11-20  Roman Kennke  <kennke@aicas.com>
1995
1996         * javax/swing/text/AbstractDocument.java
1997         (DefaultDocumentEvent.changes): Changed to be a HashMap.
1998         (DefaultDocumentEvent.modified): Made private.
1999         (DefaultDocumentEvent.THRESHOLD): New constant field.
2000         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2001         changes table.
2002         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2003         exceeding threshold.
2004         (DefaultDocumentEvent.getChange): Use iterative approach
2005         when we have no hashmap yet.
2006         (documentCV): Removed.
2007         (numWriters): Renamed from numWritersWaiting.
2008         (createPosition): Reformat.
2009         (getCurrentWriter): Synchronized.
2010         (readLock): Implement more straightforward.
2011         (readUnlock): Implement more straightforward.
2012         (writeLock): Implement more straightforward.
2013         (writeUnlock): Implement more straightforward.
2014         (remove): Write-lock here.
2015         (removeImpl): Don't write-lock here.
2016
2017 2006-11-20  Roman Kennke  <kennke@aicas.com>
2018
2019         * javax/swing/JEditorPane.java
2020         (setPage): Set priority on loading thread.
2021
2022 2006-11-20  Roman Kennke  <kennke@aicas.com>
2023
2024         * javax/swing/plaf/basic/BasicTextUI.java
2025         (RootView.paint): Avoid allocation.
2026         (cachedInsets): New field. Caches an Insets instance.
2027         (getNextVisualPositionFrom): Read-lock the document to avoid
2028         thread nastiness. Push allocation.
2029         (getPreferredSize): Push fake allocation when not yet laid out.
2030         (getVisibleEditorRect): Use cached insets.
2031         (viewToModel): Read-lock the document to avoid
2032         thread nastiness. Push allocation.
2033
2034 2006-11-20  Roman Kennke  <kennke@aicas.com>
2035
2036         * javax/swing/text/StyleContext.java
2037         (attributeSetPool): Synchronize this map.
2038         (addAttribute): Synchronize this method.
2039         (addAttributes: Synchronize this method.
2040         (readObject): Install synchronized map on target object.
2041         (removeAttribute): Synchronize this method.
2042         (removeAttributes): Synchronize this method.
2043         (removeAttributes): Synchronize this method.    
2044         
2045 2006-11-20  Roman Kennke  <kennke@aicas.com>
2046
2047         * javax/swing/text/GapContent.java
2048         (GapContentPosition.GapContentPosition): Removed constructor.
2049         (Mark): Made subclass of WeakReference to refer directly to
2050         the associated position.
2051         (Mark.refCount): Removed.
2052         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2053         New constructor. Used to reference a position and register the
2054         reference queue.
2055         (Mark.Mark(index)): Call super and don't adjust mark offset.
2056         (Mark.compareTo): Removed.
2057         (Mark.equals): Removed.
2058         (Mark.getOffset): Return at least null. Removed assert.
2059         (Mark.getPosition): New helper method.
2060         (garbageMarks): New field.
2061         (positions): Removed.
2062         (searchMark): New field.
2063         (GapContent): Removed init of positions map.
2064         (addImpl): New helper method.
2065         (adjustPositionsInRange): Removed.
2066         (compare): New helper method.
2067         (createPosition): Rewritten for new datastructures. This now
2068         performs a much more efficient binary search for finding
2069         a position at the requested offste.
2070         (garbageCollect): Rewritten to collect unused marks.
2071         (getPositionsInRange): Adjusted for new data structures.
2072         (removeImpl): New helper method.
2073         (replace): Use new addImpl() and removeImpl() helper method for
2074         correctly adjusting the positions and gap.
2075         (search): Rewritten. Implements a more suitable binary search.
2076         (searchFirst): New helper method.
2077         (setPositionsInRange): Removed.
2078         (shiftEnd): Update the marks here.
2079         (shiftGap): Update the marks here.
2080         (shiftGapEndUp): Update the marks here.
2081         (shiftGapStartDown): Update the marks here.
2082
2083 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2084
2085         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2086         digest algorithm implementations.
2087         (readSignatures): Parse the manifest once and reuse that data.
2088         Add support for line breaks.
2089         (verifyHashes): Use the parsed manifest entry.
2090         (readManifestEntry): Removed.
2091
2092 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2093
2094         * java/beans/beancontext/BeanContextServicesSupport.java:
2095         Added more documentation.
2096         (addService(Class,BeanContextServiceProvider,boolean)):
2097         Synchronized over global hierarchy lock.
2098         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2099         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2100         (childJustRemovedHook(Object,BCSChild)): Implemented.
2101         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2102         Implemented.
2103         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2104         Added revocation-only listeners.
2105         (getBeanContextServicesPeer()): Implemented.
2106         (getCurrentServiceClasses(Class)): Synchronized over global
2107         hierarchy lock.
2108         (getCurrentServiceSelectors(Class)): Synchronized over global
2109         hierarchy lock, and fixed FIXME.
2110         (getService(BeanContextChild,Object,Class,Object,
2111         BeanContextServiceRevokedListener)): Implemented.
2112         (hasService(Class)): Synchronized over global hierarchy lock.
2113         (releaseService(BeanContextChild,Object,Object)): Implemented.
2114         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2115         * java/beans/beancontext/BeanContextSupport.java:
2116         (remove(Object, boolean)): Documentation correction.
2117         
2118 2006-11-19  Roman Kennke  <kennke@aicas.com>
2119
2120         * javax/swing/JEditorPane.java
2121         (PageStream): New inner class.
2122         (PageLoader): New inner class.
2123         (loading): New field.
2124         (setPage): Implemented asynchronous loading.
2125         * javax/swing/text/DefaultStyledDocument.java
2126         (ElementBuffer.create): New helper method.
2127         (create): Use new ElementBuffer method instead of hack.
2128         * javax/swing/text/html/HTMLDocument.java
2129         (HTMLReader.flushImpl): New helper method.
2130         (HTMLReader.addContent): Use flushImpl().
2131         (HTMLReader.blockClose): Added null check.
2132         (HTMLReader.flush): Use flushImpl().
2133         * javax/swing/text/html/HTMLEditorKit.java
2134         (createDefaultDocument): Set load priority to 4 and token threshold
2135         to 100.
2136         * javax/swing/text/html/TableView.java
2137         (insertUpdate): Overridden to provide correct view factory.
2138         (removeUpdate): Overridden to provide correct view factory.
2139         (changedUpdate): Overridden to provide correct view factory.
2140
2141 2006-11-19  Roman Kennke  <kennke@aicas.com>
2142
2143         * javax/swing/text/BoxView.java
2144         (clipRect): New field.
2145         (tmpRect): New field.
2146         (layout): Reorganized code. Now uses layoutAxis() helper method.
2147         (layoutAxis): New helper method.
2148         (paint): Optimized by using cached Rectangle objects and
2149         a binary search for child views inside the clip.
2150         * javax/swing/text/CompositeView.java
2151         (insideAllocation): Made private and initialized in constructor.
2152         (getInsideAllocation): Removed initialization block for
2153         insideAllocation field. Avoid unnecessary allocations.
2154         * javax/swing/text/GlyphView.java
2155         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2156         The remaining stuff (background, underline and striking) is
2157         done in the GlpyhView itself. Avoid unnecessary allocations.
2158         (cached): A cached Segment instance.
2159         (getText): Return cached segment.
2160         (paint): Paint underline, strike and background here. Avoid
2161         unecessary allocs.
2162
2163 2006-11-19  Roman Kennke  <kennke@aicas.com>
2164
2165         * javax/swing/text/html/StyleSheet.java
2166         (getFontSize): Removed debug output.
2167         (ListPainter.tmpRect): New field.
2168         (ListPainter.paint): Align bullet vertically centered to
2169         the first line of the paragraph.
2170
2171 2006-11-17  Roman Kennke  <kennke@aicas.com>
2172
2173         * gnu/javax/swing/text/html/css/CSSParser.java
2174         (parseDeclaration): Trim string before reporting.
2175         * gnu/javax/swing/text/html/css/FontSize.java
2176         (size): New field.
2177         (isRelative): New field.
2178         (sizeIndex): New field.
2179         (FontSize): Initialize new fields.
2180         (getValue): Changed to call getValue(int).
2181         (getValue(int)): New method. Implements relative font sizes.
2182         (isRelative): New method.
2183         (mapAbsolute): Store index.
2184         (mapEM): New helper method.
2185         (mapLarger): New helper method.
2186         (mapPercent): New helper method.
2187         (mapRelative): New helper method.
2188         (mapSmaller): New helper method.
2189         (mapValue): New helper method.
2190         * javax/swing/text/html/CSS.java
2191         (parseBackgroundShorthand): Create CSSColor directly.
2192         * javax/swing/text/html/StyleSheet.java
2193         (addRule): Invalidate resolved styles.
2194         (getFont): Call new getFontSize() method to resolve relative
2195         font sizes.
2196         (getFontSize): New helper method. Resolves relative font sizes.
2197         (translateHTMLToCSS): Create CSS objects directly.
2198
2199 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2200
2201         * gnu/java/util/regex/RETokenNamedProperty.java:
2202         (getHandler(String)): Add support for 'all'.
2203
2204 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2205
2206         * gnu/javax/management/Server.java:
2207         Initial implementation of a GNU management server.
2208         * javax/management/MBeanPermission.java,
2209         * javax/management/MBeanRegistration.java,
2210         * javax/management/MBeanTrustPermission.java:
2211         Implemented.
2212         
2213 2006-11-17  Mark Wielaard  <mark@klomp.org>
2214
2215         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2216
2217 2006-11-17  Gary Benson  <gbenson@redhat.com>
2218
2219         * java/net/DatagramSocket.java (getLocalAddress, connect,
2220         receive): Perform security check on address not hostname.
2221
2222 2006-11-16  Roman Kennke  <kennke@aicas.com>
2223
2224         * gnu/javax/swing/text/html/parser/support/Parser.java
2225         (_handleText): Fixed condition for consuming whitespace.
2226         Removed validator check, this is superfluous now.
2227
2228 2006-11-16  Roman Kennke  <kennke@aicas.com>
2229
2230         * gnu/javax/swing/text/html/css/CSSParser.java
2231         (parseRuleset): Support 'combined' selectors.
2232         (main): Adapt callback for combined selectors support.
2233         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2234         (startStatement): Take selector array as argument, to
2235         support combined selectors.
2236         * javax/swing/text/html/BlockView.java
2237         (calculateMinorAxisRequirements): Fetch and apply alignment.
2238         * javax/swing/text/html/StyleSheet.java
2239         (CSSStyle): Inverted the constants for correct precedence.
2240         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2241         styles.
2242         (CSSStyleSheetParserCallback.style): Removed.
2243         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2244         (CSSStyleSheetParserCallback.end): Push multiple styles.
2245         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2246
2247 2006-11-16  Roman Kennke  <kennke@aicas.com>
2248
2249         * javax/swing/text/FlowView.java
2250         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2251         * javax/swing/text/GlyphView.java
2252         (tabExpander): New field.
2253         (tabX): New field.
2254         (breakView): Set tabX on broken view.
2255         (getPartialSpan): Let the painter fetch the span.
2256         (getTabbedSpan): Update the tab expander field. Maybe trigger
2257         relayout.
2258         (getTabExpander): Simply return the stored expander.
2259         * javax/swing/text/Utilities.java
2260         (getTabbedTextOffset): Made algoritm a little smarter and more
2261         efficient.
2262         (getTabbedTextWidth): Don't add single char widths, instead add
2263         chunks of characters.
2264         * javax/swing/text/html/ParagraphView.java
2265         (calculateMinorAxisRequirements): Adjust margin only when the
2266         CSS span is not fixed.
2267
2268 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2269
2270         * java/beans/beancontext/BeanContextSupport.java
2271         (getChildBeanContextMembershipListener): Implemented,
2272         (getChildPropertyChangeListener): Implemented,
2273         (getChildSerializable): Implemented,
2274         (getChildVetoableChangeListener): Implemented,
2275         (getChildVisibility): Implemented,
2276         (setDesignTime): Use same property name as Sun's implementation.
2277
2278 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2279
2280         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2281         * java/beans/Statement.java
2282         (toString): Updated to match reference implementation.
2283
2284 2006-11-15  Roman Kennke  <kennke@aicas.com>
2285
2286         * javax/swing/text/html/HTMLEditorKit.java
2287         (InsertHTMLTextAction.actionPerformed): Also try inserting
2288         the alternate tag. Adjust the selection accordingly.
2289         (InsertHTMLTextAction.adjustSelection): New helper method.
2290         Adjusts the selection after an insertion.
2291         (insertAtBoundary): Delegate to deprecated method.
2292         (insertAtBoundry): Implemented missing method.
2293         (tryInsert): New helper method.
2294         (defaultActions): Implemented to fill the array with
2295         a couple of InsertHTMLTextActions.
2296
2297 2006-11-15  Roman Kennke  <kennke@aicas.com>
2298
2299         * javax/swing/text/html/ImageView.java
2300         (Observer): New class. Observes image loading.
2301         (haveHeight): New field.
2302         (haveWidth): New field.
2303         (height): New field.
2304         (width): New field.
2305         (image): New field.
2306         (imageIcon): New field.
2307         (loading): New field.
2308         (observer): New field.
2309         (reloadImage): New field.
2310         (reloadProperties): New field.
2311         (ImageView): Initialize observer and some flags.
2312         (getImage): Update the image state and return the image.
2313         (loadImage): New helper method. Actually starts loading.
2314         (paint): Rewritten to paint the image directly, not via Icon.
2315         (reloadImage): Rewritten. Loads the image and its properties.
2316         (renderIcon): Removed. No more necessary.
2317         (setPropertiesFromAttributes): Don't nullify image here.
2318         Added comment about missing impl.
2319         (setSize): Added comment about missing impl.
2320         (updateSize): New helper method. Updates the size attributes.
2321         (updateState): New helper method. Makes sure the image
2322         and its properties are valid.
2323
2324 2006-11-15  Roman Kennke  <kennke@aicas.com>
2325
2326         * gnu/javax/swing/text/html/parser/support/Parser.java
2327         (_handleEndTag_remaining): Consume whitespace after a closing
2328         block like tag.
2329
2330 2006-11-15  Roman Kennke  <kennke@aicas.com>
2331
2332         * javax/swing/text/html/HTMLDocument.java
2333         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2334         directly.
2335         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2336         directly.
2337         (HTMLReader.parseStack): Removed.
2338         (HTMLReader.blockClose): Simply call addContent() with ' '
2339         instead of doing more complicated stuff. Removed parseStack
2340         handling.
2341         (HTMLReader.blockOpen): Removed parseStack handling.
2342         (getInsertingReader): Removed parseStack init.
2343         * gnu/javax/swing/text/html/parser/htmlValidator.java
2344         (closeTag): Return true only when the tag actually should be
2345         closed.
2346         * gnu/javax/swing/text/html/parser/support/Parser.java
2347         (_handleEndTag): Only actually close the tag when the validator
2348         allows it.
2349
2350 2006-11-15  Roman Kennke  <kennke@aicas.com>
2351
2352         * javax/swing/text/html/CSS.java
2353         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2354         attribute.
2355         * javax/swing/text/html/StyleSheet.java
2356         (BoxPainter.bottomPadding): New field.
2357         (BoxPainter.leftPadding): New field.
2358         (BoxPainter.rightPadding): New field.
2359         (BoxPainter.topPadding): New field.
2360         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2361         too.
2362         (BoxPainter.getInset): Recognize and include the padding.
2363         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2364          javax/swing/text/html/TableView.java
2365         (RowView.calculateMajorAxisRequirements): Adjust req's for
2366         cellSpacing.
2367         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2368         (cellSpacing): New field.
2369         (columnRequirements): Made package private to avoid accessor method.
2370         (calculateMinorAxisRequirements): Include cellSpacing.
2371         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2372         (layoutMajorAxis): Likewise.
2373         (layoutColumns): Respect cellSpacing.
2374         (setParent): Overridden to fetch the CSS attributes when view gets
2375         connected.
2376         (setPropertiesFromAttributes): New method. Fetches the cell
2377         spacing from the CSS attributes.
2378
2379 2006-11-15  Roman Kennke  <kennke@aicas.com>
2380
2381         * gnu/javax/swing/text/html/parser/support/Parser.java
2382         (_handleText): Consume whitespace directly before a closing tag.
2383         (restOfTag): Consume whitespace directly after opening.
2384         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2385         (preprocess): Don't perform array boundary checking by
2386         catch AIOOBE, instead check the boundary in loop condition.
2387         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2388         (TAG_CLOSE): New constants. Describes the token pattern for
2389         a closing tag.
2390
2391 2006-11-14  Roman Kennke  <kennke@aicas.com>
2392
2393         * javax/swing/text/html/ImageView.java
2394         (getPreferredSpan): Use CSS length values.
2395         * javax/swing/text/html/TableView.java
2396         (CellView.calculateMajorAxisRequirements): Overridden to
2397         set the maximum reqs to maximum.
2398         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2399         span to maximum.
2400         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2401         the total column reqs.
2402         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2403         the total column reqs.
2404         * gnu/javax/swing/text/html/css/CSSColor.java
2405         (convertValue): Catch NumberFormatExceptions for more robustness.
2406         * gnu/javax/swing/text/html/css/FontSize.java
2407         (mapPixels): Actually map px values. Catch NFE for more robustness.
2408
2409 2006-11-14  Roman Kennke  <kennke@aicas.com>
2410
2411         * gnu/java/awt/font/autofit/AxisHints.java,
2412         * gnu/java/awt/font/autofit/Constants.java,
2413         * gnu/java/awt/font/autofit/GlyphHints.java,
2414         * nu/java/awt/font/autofit/Latin.java,
2415         * nu/java/awt/font/autofit/LatinAxis.java,
2416         * gnu/java/awt/font/autofit/LatinMetrics.java,
2417         * gnu/java/awt/font/autofit/Scaler.java,
2418         * gnu/java/awt/font/autofit/Script.java,
2419         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2420         * gnu/java/awt/font/autofit/Segment.java,
2421         * gnu/java/awt/font/autofit/Width.java:
2422         New classes. This is some skeleton stuff for the FreeType-alike
2423         auto-gridfitter.
2424         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2425         * gnu/java/awt/font/opentype/OpenTypeFont.java
2426         (unitsPerEm): Made field public.
2427         (getRawGlyphOutline): New method. Fetches the raw outline.
2428         * gnu/java/awt/font/opentype/Scaler.java
2429         (getRawGlyphOutline): New method. Fetches the raw outline.
2430         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2431         (loadGlyph): New method. This is used to load raw outlines.
2432         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2433         (getRawOutline): New method. Fetches the raw outline.
2434         * gnu/java/awt/font/opentype/truetype/Zone.java:
2435         Made class public.
2436
2437 2006-11-14  Roman Kennke  <kennke@aicas.com>
2438
2439         * javax/swing/RepaintManager.java
2440         (RepaintManager): Fetch the default state for the double buffering
2441         from a system property gnu.swing.doublebuffering.
2442
2443 2006-11-14  Roman Kennke  <kennke@aicas.com>
2444
2445         * javax/swing/plaf/basic/BasicLabelUI.java
2446         (cachedInsets): New field.
2447         (getFontMetrics): New helper method. Fetches the font metrics
2448         from the component or the toolkit.
2449         (getPreferredSize): Use getFontMetrics() helper method for
2450         fetching the font metrics.
2451         (paint): Use getFontMetrics() helper method for
2452         fetching the font metrics. Only paint if icon or text
2453         are != null. Use cached insets.
2454         (paintDisabledText): Don't store/restore color object. The
2455         JComponent painting mechanism takes care of this by calling
2456         create().
2457         (paintEnabledText): Don't store/restore color object. The
2458         JComponent painting mechanism takes care of this by calling
2459         create().
2460
2461 2006-11-14  Roman Kennke  <kennke@aicas.com>
2462
2463         * gnu/java/awt/peer/GLightweightPeer.java
2464         (handleEvent): Try to do something reasonable and trigger painting
2465         for the lightweight component.
2466         (getFontMetrics): Fetch and return a font metrics object from
2467         the Toolkit.
2468
2469 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2470
2471         * gnu/java/util/regex/RETokenNamedProperty.java:
2472         (getHandler(String)): Add support for 'all'.
2473         
2474 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2475
2476         * AUTHORS: Add myself.
2477
2478 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2479
2480         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2481         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2482         Roman Kennke's entry.
2483
2484 2006-11-13  Roman Kennke  <kennke@aicas.com>
2485
2486         * java/awt/image/IndexColorModel.java
2487         (createCompatibleSampleModel): Implemented missing method.
2488
2489 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2490
2491         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2492         from big endian systems correctly.
2493
2494 2006-11-11  Roman Kennke  <kennke@aicas.com>
2495
2496         * gnu/javax/swing/text/html/css/CSSColor.java
2497         (isValidColor): New helper method. Checks strings if they
2498         form a valid color value.
2499         * gnu/javax/swing/text/html/css/Length.java
2500         (Length): Catch number format exceptions.
2501         * javax/swing/text/html/CSS.java
2502         (addInternal): New method. Checks for shorthand CSS attributes
2503         and parses them.
2504         (parseBackgroundShorthand): New method. Parses the background
2505         shorthand attribute.
2506         * javax/swing/text/html/HTMLDocument.java
2507         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2508         (HTMLReader.LinkAction.start): Implemented to load the linked
2509         stylesheet.
2510         (HTMLReader.LinkAction.end): Removed. This is not needed.
2511         * javax/swing/text/html/StyleSheet.java
2512         (CSSStyleSheetParserCallback.declaration): Push declaration
2513         through CSS.addInternal() to parse shorthand attributes.
2514         (addCSSAttribute): Push declaration through CSS.addInternal()
2515         to parse shorthand attributes.
2516         (importStyleSheet): Implemented. This adds a stylesheet from
2517         an URL.
2518         * javax/swing/text/html/TableView.java
2519         (calculateColumnRequirements): Increase column index for
2520         non CellView children to avoid endless loop.
2521         * javax/swing/text/CompositeView.java
2522         (setParent): Comparen with numChildren not with real arraylength.
2523
2524 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2525
2526         * java/beans/beancontext/BeanContextSupport.java
2527         (getChildBeanContextChild): Implemented.
2528
2529 2006-11-10  Roman Kennke  <kennke@aicas.com>
2530
2531         * javax/swing/text/View.java
2532         (updateLayout): Only repaint when needed.
2533
2534 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2535
2536         * java/util/Collections.java
2537         (sort(List)): Minor API doc addition,
2538         (sort(List, Comparator)): Likewise.
2539
2540 2006-11-10  David Fu  <fchoong@netbeans.jp>
2541
2542         * javax/swing/text/html/HTMLWriter.java
2543         (traverse): Removed Classpath specific handling of implied
2544         tags.
2545         (traverseHtmlFragment): Removed Classpath specific handling of
2546         implied tags.
2547
2548 2006-11-10  Roman Kennke  <kennke@aicas.com>
2549
2550         * javax/swing/text/ParagraphView.java
2551         (Row.getMaximumSize): Removed. This method is not necessary.
2552         * javax/swing/text/html/TableView.java
2553         (CellView): Moved attribute init to setPropertiesFromAttributes().
2554         (setPropertiesFromAttributes): Fetch attributes here.
2555         (RowView.RowView): Documented.
2556         (RowView.getMaximumSpan): Overridden to restrict the max span
2557         in the Y direction.
2558         (RowView.layoutMajorAxis): Correctly layout the spans.
2559         (columnWidths): New field. Stores the width attributes of
2560         the columns.
2561         (calculateColumnRequirements): Added support for relative
2562          (== percent) width attributes.
2563         (calculateMajorAxisRequirements): Removed.
2564         (calculateMinorAxisRequirements): Removed unnecessary code.
2565         (getMaximumSpan): Overridden to restrict the table's width.
2566         (layoutColumns): Documented. Implement more clever table layout,
2567         i.e. for relative columns etc.
2568         (layoutMinorAxis): Don't mark rows invalid.
2569         (updateGrid): Added docs. Initialize column widths.
2570
2571 2006-11-09  Roman Kennke  <kennke@aicas.com>
2572
2573         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2574         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2575         Implement basic headless toolkit.
2576         * java/awt/Toolkit.java
2577         (getDefaultToolkit): Check headless property and create
2578         headless toolkit when true.
2579
2580 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2581 2006-11-09  Roman Kennke  <kennke@aicas.com>
2582
2583         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2584         (SwingButton.button): New field.
2585         (SwingButton.SwingButton): Added constructor.
2586         (SwingButton.isShowing): Access button field instead of
2587         the surrounding class.
2588         (SwingButton.getParent): Access button field instead of
2589         the surrounding class.
2590         (SwingButtonPeer): Call new SwingButton constructor.
2591         * gnu/java/awt/peer/swing/SwingComponent.java:
2592         Several documentation updates.
2593         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2594         (currentPaintEvents): New field.
2595         (peerFont): New field.
2596         (SwingComponentPeer): Initialize currentPaintEvents fields.
2597         (coalescePaintEvents): Implemented.
2598         (dispose): Unregister peer from heavyweight list of its container.
2599         (getGraphics): Fetch graphics from parent component.
2600         (handleEvent): Discard paint event if its coalesced.
2601         (init): Register component with its container for proper painting.
2602         (paint): Call peerPaint().
2603         (peerPaint): Added argument that indicates if we should update.
2604         Call paint or update on the actual AWT component.
2605         (peerPaintComponent): New method. Paints the peer (Swing) component.
2606         (setFont): Set peerFont field.
2607         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2608         (backbuffer): New field.
2609         (focusOwner): New field.
2610         (heavyweightDescendents): New field.
2611         (SwingContainerPeer): Take Container as argument. Don't call init
2612         yet.
2613         (addHeavyweightDescendent): New method.
2614         (getFocusOwner): New helper method.
2615         (getInsets): Delegate to insets().
2616         (handleKeyEvent): Dispatch event to focus owner.
2617         (handleMouseEvent): Dispatch to child component.
2618         (isDoubleBuffering): New helper method.
2619         (peerPaint): Overridden to implement container painting with
2620         double buffering.
2621         (peerPaintChildren): New method. Paints the descendents of this
2622         container.
2623         (removeHeavyweightDescendent): New helper method.       
2624         * gnu/java/awt/peer/swing/SwingFramePeer.java
2625         (peerPaint): Removed.
2626         (peerPaintComponent): Overridden to paint the menu bar.
2627         * gnu/java/awt/peer/swing/SwingLabelPeer.java
2628         (SwingLabel.label): New field.
2629         (SwingLabel.SwingLabel): Added constructor with Label argument.
2630         (SwingLabel.getGraphics): Implemented to fetch the graphics from
2631         the actual AWT component.
2632         (SwingLabel.getParent): Implemented to fetch the parent from
2633         the AWT component.
2634         (SwingLabel.isShowing): Access the label field.
2635         (SwingLabelPeer): Set alignment from label.
2636         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2637         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2638         fixlet.
2639         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2640         Don't be a lighweight peer.
2641         (SwingPanelPeer): Call init.
2642         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2643         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2644         (SwingTextField.textField): New field.
2645         (SwingTextField.SwingTextField): New constructor.
2646         (SwingTextField.isShowing): Access field not enclosing class.
2647         (SwingTextField.getGraphics): New method.
2648         (SwingTextField.getParent): New method.
2649         (SwingTextFieldPeer): Call new constructor.
2650         (select): Renamed arguments.
2651         * gnu/java/awt/peer/swing/SwingWindowPeer.java
2652         (SwingWindowPeer): Call init.
2653
2654 2006-11-09  Tania Bento  <tbento@redhat.com>
2655
2656         * javax/swing/JLabel.java
2657         (JLabel(Icon)): Changed documentation; Changed text to null.
2658         (JLabel(Icon,int)): Likewise.
2659         (JLabel(text)): Changed documenation.
2660         (JLabel(text,int)): Likewise.
2661         (JLabel(text,Icon,int)): Changed documentation; Throw 
2662         IllegalArgumentException if int is not one of LEFT, RIGHT,
2663         CENTER, LEADING or TRAILING.
2664
2665 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2666
2667         * java/beans/beancontext/BeanContextSupport.java
2668         (BeanContextSupport): Use correct dtime default,
2669         (BeanContextSupport(BeanContext)): Likewise,
2670         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2671         locale argument,
2672         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2673         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2674
2675 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2676
2677         * java/beans/beancontext/BeanContextSupport.java
2678         (getBeanContextPeer): Implemented.
2679
2680 2006-11-09  Roman Kennke  <kennke@aicas.com>
2681
2682         * javax/swing/text/html/BlockView.java
2683         (cssHeight): Removed.
2684         (cssWidth): Removed.
2685         (cssSpans): New field. Replaces the two fields above.
2686         (BlockView): Allocate cssSpans array.
2687         (layoutMinorAxis): Fetch and use child span, not this view's span.
2688         (setCSSSpan): Adjusted to use cssSpans array.
2689         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2690
2691 2006-11-09  Roman Kennke  <kennke@aicas.com>
2692
2693         * javax/swing/text/html/InlineView.java
2694         (nowrap): New field.
2695         (getBreakWeight): Add support for nowrap.
2696         (setPropertiesFromAttributes): Fetch the nowrap setting.
2697
2698 2006-11-09  Roman Kennke  <kennke@aicas.com>
2699
2700         * gnu/javax/swing/text/html/css/CSSParser.java
2701         (parseRuleset): Use new Selector class.
2702         (parseValue): Parse multiple anys, not only one.
2703         (main): Allow stylesheet be specified on the command line.
2704         Use new Selector class.
2705         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2706         (startStatement): Use Selector class.
2707         * gnu/javax/swing/text/html/css/CSSScanner.java
2708         (readName): Actually read a character in the loop to avoid
2709         endless loop.
2710         * gnu/javax/swing/text/html/css/Length.java
2711         (getValue): Only multiply when we have a percentage value.
2712         * gnu/javax/swing/text/html/css/Selector.java:
2713         New class. Provides handling of CSS selectors.
2714         * javax/swing/text/html/StyleSheet.java
2715         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2716         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2717         (CSSStyle.PREC_NORM): New constant field.
2718         (CSSStyle.PREC_UA): New constant field.
2719         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2720         (CSSStyle.precedence): New field.
2721         (CSSStyle.priority): Removed.
2722         (CSSStyle.selector): New field.
2723         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2724         and precendence.
2725         (CSSStyle.compareTo): Adjusted to use the precedence and
2726         specificity of the selector.
2727         (CSSStyleSheetParserCallback.precedence): New field.
2728         (CSSStyleSheetParserCallback.selector): Removed.
2729         (CSSStyleSheetParserCallback.style): New field.
2730         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2731         Initialize with precedence.
2732         (CSSStyleSheetParserCallback.declaration): Don't look up
2733         existing rule, simply create new one.
2734         (CSSStyleSheetParserCallback.endStatement): Append style
2735         to stylesheet.
2736         (CSSStyleSheetParserCallback.startStatement): Use new Selector
2737         class.
2738         (css): Changed to be ArrayList.
2739         (addRule): Create parser with author-normal precendence.
2740         (getRule): Fixed implementation.
2741         (loadRules): Create parser with UA precendence.
2742         (resolveStyle): Use Selector class for resolving and matching
2743         stylesheet rules.
2744         (translateHTMLToCSS): Added mappings for a couple of HTML
2745         attributes.
2746
2747 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2748
2749         Fixes bug #29770
2750         * java/beans/SimpleBeanInfo.java
2751         (loadImage): Check for nulls.
2752
2753 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2754
2755         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2756         (getpeername): Added 16 byte offset to memcpy operation.
2757
2758 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2759
2760         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2761         (getsockname): Added 16 byte offset to memcpy operation.
2762
2763 2006-11-08  Mark Wielaard  <mark@klomp.org>
2764
2765         Fixes bug #29754
2766         * java/io/OutputStreamWriter.java
2767         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2768         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2769
2770 2006-11-08  Roman Kennke  <kennke@aicas.com>
2771
2772         * javax/swing/text/html/HTMLEditorKit.java
2773         (getParser): Use plain HTML_401F DTD.
2774         * javax/swing/text/html/HTMLDocument.java
2775         (HTMLReader.print): Removed method and all calls to it.
2776         (HTMLReader.printBuffer): Removed method and all calls to it.
2777         (HTMLReader.inImpliedParagraph): New field.
2778         (HTMLReader.inParagraph): New field.
2779         (HTMLReader.addContent): Create implied p-tag if necessary.
2780         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2781         (HTMLReader.blockClose): Close implied p-tag if necessary.
2782         (HTMLReader.blockOpen): Close implied p-tag if necessary.
2783         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2784
2785 2006-11-08  Roman Kennke  <kennke@aicas.com>
2786
2787         * javax/swing/text/html/HTMLEditorKit.java
2788         (HTMLFactory.create): Removed mapping for TD tag. This
2789         is done in TableView.
2790         * javax/swing/text/html/TableView.java:
2791         Implemented from scratch.
2792
2793 2006-11-07  Roman Kennke  <kennke@aicas.com>
2794
2795         * gnu/javax/swing/text/html/parser/support/Parser.java
2796         (_handleText): Check if text content is actually allowed before
2797         passing empty text fragments on to the parser callbacks.
2798
2799 2006-11-07  Mark Wielaard  <mark@klomp.org>
2800
2801         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2802         path.
2803         (flat): New method.
2804
2805 2006-11-07  Tania Bento  <tbento@redhat.com>
2806
2807         * java/awt/FlowLayout.java
2808         (getSize): If parent does not have a component, then a 
2809         different formula is used to calcuate the width.
2810
2811 2006-11-07  Roman Kennke  <kennke@aicas.com>
2812
2813         * javax/swing/text/html/HTMLEditorKit.java
2814         (HTMLFactory.create): Include ListView.
2815         * javax/swing/text/html/ListView.java
2816         (paint): Removed comment.
2817         * javax/swing/text/html/StyleSheet.java
2818         (CSSStyle.priority): New field.
2819         (CSSStyle.CSSStyle(int)): New constructor with priority.
2820         (CSSStyle.compareTo): New method. Used for sorting the styles.
2821         (CSSStyleSheetParserCallback.declaration): Store the style
2822         with the complete selector.
2823         (ListPainter.attributes): Renamed as field.
2824         (ListPainter.styleSheet): New field.
2825         (ListPainter.type): New field.
2826         (ListPainter.ListPainter): Pass StyleSheet to constructor.
2827         (ListPainter.paint): Provide simplistic implementation.
2828         (getListPainter): Pass StyleSheet to constructor.
2829         (resolveStyle): Fixed CSS style resolving.
2830
2831 2006-11-07  Roman Kennke  <kennke@aicas.com>
2832
2833         * gnu/javax/swing/text/html/css/BorderWidth.java:
2834         New class. Handles CSS border width values.
2835         * gnu/javax/swing/text/html/css/Length.java
2836         (floatValue): Made protected so that BorderWidth can access it.
2837         * javax/swing/text/html/CSS.java
2838         (Attribute.BORDER_BOTTOM_COLOR): New static field.
2839         (Attribute.BORDER_BOTTOM_STYLE): New static field.
2840         (Attribute.BORDER_LEFT_COLOR): New static field.
2841         (Attribute.BORDER_LEFT_STYLE): New static field.
2842         (Attribute.BORDER_RIGHT_COLOR): New static field.
2843         (Attribute.BORDER_RIGHT_STYLE): New static field.
2844         (Attribute.BORDER_TOP_COLOR): New static field.
2845         (Attribute.BORDER_TOP_STYLE): New static field.
2846         (getValue): Added some mappings for the border color and
2847         border width values.
2848         * javax/swing/text/html/CSSBorder.java: New class. Implements
2849         CSS borders.
2850         * javax/swing/text/html/StyleSheet.java
2851         (BoxPainter.background): New field.
2852         (BoxPainter.border): New field.
2853         (BoxPainter.bottomInset): Documented.
2854         (BoxPainter.leftInset): Documented.
2855         (BoxPainter.rightInset): Documented.
2856         (BoxPainter.topInset): Documented.
2857         (BoxPainter.BoxPainter): Added support for borders and background.
2858         (BoxPainter.getInset): Add border insets.
2859         (BoxPainter.paint): Implemented. Paints the background and the
2860         CSS border.
2861         (addRule): Be less picky about parse and IO exceptions.
2862         (getBoxPainter): Adjust to new BoxPainter constructor.
2863
2864 2006-11-07  Andreas  <a.tobler@schweiz.org>
2865
2866         * examples/Makefile.am: Add rule to install the *.html files we use
2867         in the Swing Demo.
2868
2869 2006-11-06  Francis Kung  <fkung@redhat.com>
2870
2871         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2872         (fillRect): Handle custom composites.
2873         (drawRenderedImage): Handle custom composites.
2874         (drawImage): Handle custom composites.
2875         (createBuffer): New method.
2876         (drawLine): Handle custom composites.
2877         (drawComposite): New method.
2878         (fill): Handle custom composites.
2879         (getNativeCM): New method.
2880         (drawGlyphVector): Handle custom composites.
2881         (drawRect): Handle custom composites.
2882         (draw): Handle custom composites.
2883         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2884         (drawComposite): Unset composite during draw call, to prevent parent
2885         from handling composite again.
2886         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2887         (getBufferCM): Added comments.
2888         (getNativeCM): Made abstract.
2889         (setComposite): Removed comments.
2890
2891 2006-11-06  Roman Kennke  <kennke@aicas.com>
2892
2893         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2894         Fixed initial window size and start document.
2895
2896 2006-11-06  Roman Kennke  <kennke@aicas.com>
2897
2898         * javax/swing/text/html/HTMLDocument.java
2899         (HTMLReader.addSpecialElement): Removed comment about
2900         htmlAttributeSet.
2901         (HTMLReader.handleComment): Create SimpleAttributeSet instead
2902         of htmlAttributeSet.
2903         * javax/swing/text/html/parser/DocumentParser.java
2904         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2905         of htmlAttributeSet.
2906         * javax/swing/text/html/parser/ParserDelegator.java
2907         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2908         of htmlAttributeSet.
2909         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2910         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2911         of htmlAttributeSet.
2912         * gnu/javax/swing/text/html/parser/support/Parser.java
2913         (getAttributes): Return a SimpleAttributeSet.
2914         (restOfTag): Don't set resolving parent here.
2915
2916 2006-11-06  Tania Bento  <tbento@redhat.com>
2917
2918         * java/awt/TextComponent.java
2919         (setSelectionStart): Added check.
2920
2921 2006-11-06  Tania Bento  <tbento@redhat.com>
2922
2923         * java/awt/TextField.java
2924         (minimumSize(int)): Check if minimum size has been previously
2925         set and changed values of Dimension returned if peer == null.
2926         (preferredSize(int)): Check if preferred size has been previously
2927         set and changed values of Dimension returned if peer == null.
2928
2929 2006-11-06  Roman Kennke  <kennke@aicas.com>
2930
2931         * javax/swing/JTree.java
2932         (TreeModelHandler.treeNodesRemoved): Implemented.
2933         (TreeModelHandler.treeStructureChanged): Implemented.
2934         (nodeStates): Made package private.
2935
2936 2006-11-06  Francis Kung  <fkung@redhat.com>
2937
2938         PR 29420
2939         * javax/swing/JTree.java
2940         (clearSelectionPathStates): New private method to clean up nodeStates.
2941         (removeSelectionPath): Call clearSelectionPathStates().
2942         (removeSelectionPaths): Call clearSelectionPathStates().
2943         (removeSelectionRow): Call clearSelectionPathStates().
2944         (setSelectionPath): Call clearSelectionPathStates().
2945         (setSelectionPaths): Call clearSelectionPathStates().
2946         (setSelectionRow): Call clearSelectionPathStates().
2947
2948 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2949
2950         Fixes bug #29703
2951         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2952
2953 2006-11-06  Roman Kennke  <kennke@aicas.com>
2954
2955         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2956         Changed to implement a minimalistic browser.
2957         * examples/gnu/classpath/examples/swing/forms.html,
2958         * examples/gnu/classpath/examples/swing/textstyles.html,
2959         * examples/gnu/classpath/examples/swing/welcome.html:
2960         Some example content.
2961
2962 2006-11-06  Roman Kennke  <kennke@aicas.com>
2963
2964         * javax/swing/text/ComponentView.java
2965         (setParent): Lock the document and repaint the hosting
2966         container.
2967         * javax/swing/text/FlowView.java
2968         (FlowStrategy.createView): Removed comment.
2969         (FlowView): Initialize span with Short.MAX_VALUE.
2970         (getFlowStart): Return 0 unconditionally.
2971         (layout): Moved code around to make it more readable.
2972         (loadChildren): Always set the parent.
2973         * javax/swing/text/GlyphView.java
2974         (DefaultGlyphPainter.fontMetrics): New field.
2975         (DefaultGlyphPainter.getAscent): Use new helper method to
2976         synchronize the font metrics.
2977         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2978         to synchronize the font metrics.
2979         (DefaultGlyphPainter.getDescent): Use new helper method to
2980         synchronize the font metrics.
2981         (DefaultGlyphPainter.getHeight): Use new helper method to
2982         synchronize the font metrics.
2983         (DefaultGlyphPainter.getSpan): Use new helper method to
2984         synchronize the font metrics.
2985         (DefaultGlyphPainter.modelToView): Use new helper method to
2986         synchronize the font metrics.
2987         (DefaultGlyphPainter.updateFontMetrics): New helper method for
2988         font metrics caching.
2989         (DefaultGlyphPainter.viewToModel): Use new helper method to
2990         synchronize the font metrics. Fixed view to model mapping.
2991         * javax/swing/text/View.java
2992         (removeAll): Pass null to replace().
2993         (setParent): Only reparent children that have this view as parent.
2994
2995 2006-11-05  Mark Wielaard  <mark@klomp.org>
2996
2997         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2998         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2999         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3000         Removed.
3001         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3002         Removed.
3003         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3004         Remove gnu_java_nio_channels_FileChannelImpl.c.
3005
3006 2006-11-03  Roman Kennke  <kennke@aicas.com>
3007
3008         * javax/swing/text/html/BlockView.java
3009         (attributes): New field.
3010         (cssHeight): New field.
3011         (cssWidth): New field.
3012         (painter): New field.
3013         (calculateMajorAxisRequirements): Overridden to account for
3014         CSS settings.
3015         (calculateMinorAxisRequirements): Overridden to account for
3016         CSS settings.
3017         (layoutMinorAxis): Overridden to account for CSS settings.
3018         (changedUpdate): Formatting fixlet.
3019         (constrainSize): New helper method.
3020         (getAlignment): Fix alignment.
3021         (getAttributes): Cache attributes for better performance.
3022         (getStyleSheet): Fetch stylesheet from document rather than creating
3023         a new one.
3024         (paint): Remove comment.
3025         (setCSSSpan): New helper method.
3026         (setPropertiesFromAttributes): Implemented to fetch the
3027         recognized properties.
3028         * javax/swing/text/html/CSS.java
3029         (getValue): Added mapping for width and height attributes.
3030         * javax/swing/text/html/InlineView.java
3031         (longestWord): New field.
3032         (getLongestWord): New helper method.
3033         (calculateLongestWord): New helper method.
3034         (getMinimumSpan): Overridden to constrain the minimum span by the
3035         longest word.
3036         * javax/swing/text/html/ParagraphView.java
3037         (cssHeight): New field.
3038         (cssWidth): New field.
3039         (calculateMinorAxisRequirements): Overridden to account for
3040         CSS settings.
3041         (setCSSSpan): New helper method.
3042         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3043         null check.
3044         * gnu/javax/swing/text/html/css/Length.java
3045         (percentage): New field.
3046         (Length): Determine percentage values.
3047         (getValue(float)): New method for handling percentage values.
3048         (isPercentage): New method.
3049
3050 2006-11-03  Tania Bento  <tbento@redhat.com>
3051
3052         * java/awt/TextArea.java
3053         (getMinimumSize): Changed documentation.
3054         (getPreferredSize): Changed documentation.
3055         (getMinimumSize(int,int)): Changed documenation.
3056         (getPreferredSize(int,int)): Changed documenation.
3057         (minimumSize): Changed documentation.
3058         (preferredSize): Changed documenation.
3059         (minimumSize(int,int)): Changed documentation.  Checked if 
3060         minimum size had been previously set and changed values of
3061         Dimension returned if peer == null.
3062         (preferredSize(int, int)): Checked if preferred size had been
3063         previously set and changed values of Dimension returned if
3064         peer = null.
3065
3066 2006-11-03  Tania Bento  <tbento@redhat.com>
3067
3068         * java/awt/event/ComponentEvent.java
3069         (paramString): Changed format of string representation returned.
3070
3071 2006-11-03  Roman Kennke  <kennke@aicas.com>
3072
3073         * javax/swing/text/html/HTMLDocument.java
3074         (HTMLReader.FormAction.start): Added support for textarea.
3075         (HTMLReader.FormAction.end): Added support for textarea.
3076         (HTMLReader.HeadAction.end): Call super to actually close the
3077         block.
3078         (HTMLReader.inTextArea): New field.
3079         (HTMLReader.textAreaDocument): New field.
3080         (HTMLReader.handleText): Call textAreaContent when inside
3081         a textarea tag.
3082         (HTMLReader.textAreaContent): Implemented to initialize
3083         the text area's model.
3084         * javax/swing/text/html/FormView.java
3085         (createComponent): Added support for textarea tag.
3086
3087 2006-11-03  Roman Kennke  <kennke@aicas.com>
3088
3089         * javax/swing/text/html/HTMLDocument.java
3090         (HTMLReader.IsindexAction.start): Implemented.
3091
3092 2006-11-03  Roman Kennke  <kennke@aicas.com>
3093
3094         * javax/swing/text/html/StyleSheet.java
3095         (addRule): Implemented.
3096         * javax/swing/text/html/HTMLDocument.java
3097         (HTMLReader.inStyleTag): New field.
3098         (HTMLReader.styles): New field.
3099         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3100         if any.
3101         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3102         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3103         (HTMLReader.handleText): When inside a style tag, add
3104         content to the styles array.
3105
3106 2006-11-02  Roman Kennke  <kennke@aicas.com>
3107
3108         * javax/swing/text/html/FormView.java
3109         (maxIsPreferred): New field.
3110         (createComponent): Initialize components correctly.
3111         (getMaximumSpan): Return the preferred span for components
3112         that need this. The maxIsPreferred flag is set accordingly
3113         in createComponent.
3114         * javax/swing/text/html/HTMLDocument.java
3115         (HTMLReader.FormAction.start): Implemented to set the
3116         correct model as attribute.
3117         (HTMLReader.FormAction.setModel): New helper method.
3118         (HTMLReader.FormAction.end): Call super to finish the element.
3119         Added TODO about things left to do.
3120         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3121         than htmlAttributeSet.
3122         * javax/swing/text/html/HTMLEditorKit.java
3123         (HTMLFactory.create): Create BlockView for FORM tags.
3124         Create FormView for INPUT, TEXTAREA and SELECT tags.
3125
3126 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3127
3128         * java/awt/geom/GeneralPath.java: API doc fixes.
3129
3130 2006-11-02  Roman Kennke  <kennke@aicas.com>
3131
3132         * javax/swing/text/html/ImageView.java
3133         (getImageURL): Fetch attribute from element. Consider the
3134         base URL for relative image locations.
3135
3136 2006-11-02  Roman Kennke  <kennke@aicas.com>
3137
3138         * javax/swing/JEditorPane.java
3139         (setContentType): Strip off attributes.
3140         * javax/swing/text/html/HTMLEditorKit.java
3141         (LinkController.activateLink(int,JEditorPane,int,int): New
3142         method. Implements activation of a hyperlink.
3143         (LinkController.activateLinke(int,JEditorPane)): Delegate
3144         to the other activateLink() method.
3145         (LinkController.createHyperlinkEvent): New helper method.
3146         (LinkController.mouseClicked): Implemented to activate the link.
3147         (LinkController.mouseDragged): Added comment that this
3148         method does nothing.
3149         (LinkController.mouseMoved): Update cursor for hyperlinks.
3150         (mouseHandler): Renamed field to linkController.
3151         (HTMLEditorKit): Create a link controller.
3152         (clone): Give the clone a new link controller.
3153         (deinstall): De-install link controller as mouseMotionListener too.
3154         (install): Install link controller as mouseMotionListener too.
3155
3156 2006-11-02  Roman Kennke  <kennke@aicas.com>
3157
3158         PR 29644
3159         * javax/swing/text/FlowView.java
3160         (FlowStrategy.changedUpdate): Reversed condition. This caused
3161         wrong layout and bad performance.
3162         (FlowStrategy.insertUpdate): Reversed condition. This caused
3163         wrong layout and bad performance.
3164         (FlowStrategy.removeUpdate): Reversed condition. This caused
3165         wrong layout and bad performance.
3166         (LogicalView): Changed to be a subclass of CompositeView.
3167         (LogicalView()): Only take one Element argument.
3168         (LogicalView.childAllocation): New method for implementing
3169         the abstract CompositeView method.
3170         (LogicalView.forwardUpdateToView): Overridden for correct
3171         reparenting.
3172         (getMinimumSpan): Overridden to handle line breaking correctly.
3173         (getPreferredSpan): Implemented to handle line breaking correctly.
3174         (getViewAtPoint): New method for implementing
3175         the abstract CompositeView method.
3176         (getViewIndexAtPosition): Overridden to handle leaf elements
3177         correctly.
3178         (isAfter): New method for implementing
3179         the abstract CompositeView method.
3180         (isBefore): New method for implementing
3181         the abstract CompositeView method.
3182         (loadChildren): Overridden to handle leaf elements
3183         correctly.
3184         (paint): New method for implementing
3185         the abstract CompositeView method.
3186         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3187         (loadChildren): Initialize flow layout by sending a synthetic
3188         insertUpdate() to the layout strategy.
3189         * javax/swing/text/GlyphView.java
3190         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3191         font metrics if component is not available. Add initial offset
3192         to result.
3193         (breakView): Be more clever when breaking the view.
3194         (getBreakLocation): New helper method to determine a good
3195         break location.
3196         (getBreakWeight): Be more clever when breaking the view.
3197         (getTabbedSpan): Make sure we have a painter. Use view's
3198         start and end offset rather than the element's.
3199         * javax/swing/text/Utilities.java
3200         (drawTabbedText): Avoid useless add and sub with the y offset.
3201
3202 2006-11-02  Roman Kennke  <kennke@aicas.com>
3203
3204         PR 29644
3205         * gnu/java/awt/peer/ClasspathFontPeer.java
3206         (getStringBounds): Removed abstract method. This is replaced
3207         in java.awt.Font to use a TextLayout.
3208         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3209         (GtkWindowPeer): Set a font on the window object.
3210         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3211         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3212         Changed to take char,int,int instead of String. Filter
3213         control characters.
3214         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3215         Create char array out of string.
3216         (getLogicalBounds): Don't translate bounds. They already are
3217         translated.
3218         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3219         (stringWidth): Filter out control characters.
3220         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3221         (getStringBounds): Removed unneeded method.
3222         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3223         constructor.
3224         * gnu/java/awt/peer/qt/QtFontPeer.java
3225         (getStringBounds): Removed unneeded method.
3226         * gnu/java/awt/peer/x/XFontPeer.java
3227         (getStringBounds): Removed unneeded method.
3228         * gnu/java/awt/peer/x/XFontPeer2.java
3229         (getStringBounds): Removed unneeded method.
3230         * java/awt/Font.java
3231         (getStringBounds(char[],int,int,FontRenderContext)):
3232         Use TextLayout to determine the bounds.
3233         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3234         Delegate to the char[] version of this method.
3235         (getStringBounds(String,FontRenderContext)):
3236         Delegate to the char[] version of this method.
3237         (getStringBounds(String,int,int,FontRenderContext)):
3238         Delegate to the String version of this method.
3239
3240 2006-11-01  Tania Bento  <tbento@redhat.com>
3241
3242         * java/awt/ScrollPaneAdjustable.java
3243         (paramString): Changed format of string representation returned.
3244         (paramStringHelper): New private method.
3245
3246 2006-11-01  Tania Bento  <tbento@redhat.com>
3247
3248         * java/awt/GridBagLayout.java
3249         (toString): Implemented method.
3250
3251 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3252
3253         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3254         initialization to NP_Initialize.
3255         (NP_Initialize): Initialize GLib threading.
3256
3257 2006-10-31  Tania Bento  <tbento@redhat.com>
3258
3259         * javax/swing/JTextField.java
3260         (fireActionPerformed): When creating the new event, if
3261         actionCommand == null, then getText() is used.
3262
3263 2006-10-31  Francis Kung  <fkung@redhat.com>
3264
3265         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3266         (fillArc): Corrected arc type to Arc2D.PIE.
3267
3268 2006-10-31  Roman Kennke  <kennke@aicas.com>
3269
3270         * javax/swing/text/html/HTMLDocument.java
3271         (HTMLReader.PreAction.end): Implemented.
3272         (HTMLReader.PreAction.start): Implemented.
3273         (HTMLReader.inPreTag): New field.
3274         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3275         (HTMLReader.preContent): Implemented.
3276
3277 2006-10-31  Tania Bento  <tbento@redhat.com>
3278
3279         * javax/swing/JTextField.java
3280         (fireActionPerformed): When creating the new event, 
3281         actionCommand should be used as the command, not
3282         getText().
3283
3284 2006-10-31  Roman Kennke  <kennke@aicas.com>
3285
3286         * javax/swing/text/html/HTMLEditorKit.java
3287         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3288         HTML or Styled documents.
3289
3290 2006-10-31  David Fu  <fchoong@netbeans.jp>
3291
3292         * javax/swing/text/html/HTMLWriter.java: New class.
3293
3294 2006-10-30  Roman Kennke  <kennke@aicas.com>
3295
3296         * java/awt/dnd/DragSourceContext.java
3297         (dragExit): Use constant fields instead of 0.
3298         (updateCurrentCursor): Completed implementation.
3299
3300 2006-10-30  Roman Kennke  <kennke@aicas.com>
3301
3302         * java/awt/dnd/DragGestureRecognizer.java
3303         (resetRecognizer): Added API docs. Do not replace the events object
3304         but rather clear() it. Removed not implemented tag.
3305
3306 2006-10-30  Roman Kennke  <kennke@aicas.com>
3307
3308         * java/awt/datatransfer/DataFlavor.java
3309         (writeExternal): Remove not implemented tag.
3310
3311 2006-10-30  Roman Kennke  <kennke@aicas.com>
3312
3313         * java/awt/datatransfer/DataFlavor.java
3314         (javaFileListFlavor): Don't explicitly specify class.
3315         (plainTextFlavor): Don't explicitly specify class.
3316         (mimeType): Changed to type MimeType. Remove final.
3317         (representationClass): Remove final.
3318         (DataFlavor): Don't do anything here.
3319         (DataFlavor(Class,String,String)): Removed.
3320         (DataFlavor(Class,String)): Initialize here.
3321         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3322         (DataFlavor(String,String)): Initialize in init().
3323         (DataFlavor(String)): Initialize in init().
3324         (init): New initialization method.
3325         (getMimeType): Delegate to MimeType.toString().
3326         (getParameter(String,String)): Removed. Is now done in MimeType.
3327         (getParameter(String)): Delegate to MimeType.
3328         (getPrimaryType): Delegate to MimeType.
3329         (getRepresentationClassFromMime): Removed.
3330         (getRepresentationClassFromMimeThrows): Removed.
3331         (getSubType): Delegate to MimeType.
3332         (hashCode): Take MimeType.toString() for the hashCode.
3333         (isFlavorRemoveObjectType): Return true only when representation
3334         class is remove and serializable and the mime type is remote.
3335         (isFlavorSerializedObjectType): Return true only when representation
3336         class is serializable and the mime type is serialized.
3337         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3338         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3339         (readExternal): Implemented stub method.
3340         (writeExternal): Implemented stub method.
3341         * java/awt/datatransfer/MimeType.java: New helper class.
3342
3343 2006-10-28  Roman Kennke  <kennke@aicas.com>
3344
3345         * javax/swing/TransferHandler.java
3346         (importData): Implemented stub method. Added API docs.
3347
3348 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3349
3350         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3351         function.
3352         * native/jni/classpath/classpath_jawt.h: Likewise.
3353         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3354         initializer for surface_info_x11->depth.
3355
3356 2006-10-26  Tania Bento  <tbento@redhat.com>
3357         
3358         * java/awt/FileDialog.java:
3359         (setFile): Changed if-clause condition.
3360
3361 2006-10-25  Francis Kung  <fkung@redhat.com>
3362
3363         * include/gnu_java_nio_VMChannel.h,
3364         * include/java_net_VMNetworkInterface.h,
3365         * include/gnu_java_nio_EpollSelectorImpl.h,
3366         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3367         * include/gnu_java_nio_FileChannelImpl.h,
3368         * include/gnu_java_nio_KqueueSelectorImpl.h,
3369         * include/gnu_java_nio_VMPipe.h,
3370         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3371
3372 2006-10-25  Tania Bento  <tbento@redhat.com>
3373
3374         * java/awt/Dialog.java: Created new private variable
3375         next_dialog_number.
3376         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3377         Set cursor to default cursor.
3378         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3379         Same.
3380         (generateName): New method.
3381         (getUniqueLong): New private method.
3382         * java/awt/FileDialog.java: Created new private variable
3383         next_file_dialog_number.
3384         (setFile): If file == "", set it to null.
3385         (generateName): New method.
3386         (getUniqueLong): New private method.
3387
3388 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3389
3390         * java/net/MulticastSocket.java:
3391         (setNetworkInterface): Rewritten.
3392
3393 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3394
3395         * native/jni/java-net/javanet.h: Added declaration for
3396         _javanet_create_inetaddress.
3397         * native/jni/java-net/javanet.c:
3398         (_javanet_create_inetaddress): Removed static keyword.
3399
3400 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3401
3402         * gnu/java/net/PlainDatagramSocketImpl.java:
3403         (connect): Use VMChannel instance for connect call.
3404         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3405         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3406         (setOption): Handle multicast options.
3407         (getOption): Handle multicast options.
3408         * gnu/java/net/PlainSocketImpl.java:
3409         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3410         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3411         (setOption): Filter unappropriate options.
3412         (getOption): Filter unappropriate options.
3413         (connect): Use given SocketAddress.
3414         (close): Reset address and port.
3415         (getInetAddress): 
3416         * include/Makefile.am: Removed all occurences of
3417         gnu_java_net_VMPlainDatagramSocketImpl.h.
3418         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3419         * native/jni/java-net/Makefile.am: Removed
3420         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3421         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3422         Removed.
3423         as SocketException, declare to throw SocketException.
3424         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3425         for SocketException and ConnectException.
3426         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3427         of IOException.
3428         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3429         of IOException.
3430         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3431         (JCL_thread_interrupted): New function.
3432         (initIDs): Added initialisation for isThreadInterrupted method id.
3433         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3434         CPNET_IP_TTL to java_sockopt enum.
3435         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3436         case, handle SO_LINGER case properly.
3437         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3438         case, handle SO_LINGER case properly.
3439         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3440         function.
3441         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3442         function.
3443         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3444         function.
3445         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3446         IPV6_LEAVE_GROUP.
3447         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3448         * vm/reference/gnu/java/nio/VMChannel.java:
3449         (connect(int, byte[], int, int)): Declare to throw SocketException.
3450         (connect6): Declare to throw SocketException.
3451         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3452         (isThreadInterrupted): New method.
3453         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3454         field.
3455         (setTimeToLive): New method.
3456         (getTimeToLive): New method.
3457         (setMulticastInterface(int, InetAddress)): New method.
3458         (setMulticastInterface(int, int, Inet4Address): New method.
3459         (setMulticastInterface6(int, int, Inet6Address): New method.
3460         (setOptions): Handle SO_LINGER case.
3461         (getOptions): Add missing SO_REUSEADDR case.
3462         * java/net/Socket.java:
3463         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3464         when exception was thrown out of connect().
3465         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3466         Boolean.FALSE with Integer.valueOf(-1).
3467         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3468         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3469         * NEWS: Documented VM interface changes.
3470
3471 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3472
3473         * java/net/Inet6Address.java:
3474         (isMulticastAddress): Fixed check.
3475
3476 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3477
3478         Fixes PR29576
3479         * java/net/MulticastSocket.java:
3480         (getNetworkInterface): Return a special NetworkInterface instance
3481         if the socket's multicast interface is set to any.
3482
3483 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3484
3485         Fixes PR29576
3486         * java/net/NetworkInterface.java:
3487         (createAnyInterface): New method.
3488         (equals): Added if-statement to handle case where netif.name is null.
3489         * vm/reference/java/net/VMNetworkInterface.java:
3490         (hashCode): Rewritten.
3491         (VMNetworkInterface): New constructor.
3492
3493 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3494
3495         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3496         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3497         Add ASM_JAR to bootclasspath.
3498
3499 2006-10-24  Tania Bento  <tbento@redhat.com>
3500
3501         * java/awt/Scrollbar.java:
3502         (setLineIncrement): Removed unnecessary if-clause and if 
3503         lineIncrement == 0, then it should be set to 1, not 0.
3504         (setPageIncrement): Removed unnecessary if-clause and if
3505         pageIncrement == 0, then it should be set to 1, not 0.
3506         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3507         If maximum <= minimum, maximum should be set to mininum + 1. The
3508         actual value of maximum is maximum - visibleAmount, so I made 
3509         this change to the appropriate if-check. Remove the two unneccessary
3510         if-clauses.
3511
3512 2006-10-23  Francis Kung  <fkung@redhat.com>
3513
3514         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3515         (cairoSetFont): New method.
3516         (copy): Set font using setFont method.
3517         (setFont): Call cairoSetFont.
3518         (setup): Set font using setFont method.
3519         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3520         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3521         (install_font_peer): Removed.
3522         (cairoDrawGlyphVector): Removed call to install_font_peer.
3523         (cairoSetFont): New method.
3524
3525 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3526
3527         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3528         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3529         NativeEventLoopRunningEvent after GTK main loop start and stop.
3530         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3531         (getNextEvent): Set dispatchThread to null.
3532         (postEventImpl): Set nativeLoopRunning.
3533         (pop): Interrupt event dispatch thread.
3534         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3535
3536 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3537
3538         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3539         Added include.
3540         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3541         Likewise.
3542
3543 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3544
3545         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3546         * javax/crypto/CipherOutputStream.java: Re-implemented.
3547         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3548         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3549         decryption mode and check if it is a complete block.
3550         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3551         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3552         partially processed data into account.
3553
3554 2006-10-21  Tom Tromey  <tromey@redhat.com>
3555
3556         PR classpath/29086:
3557         * java/util/AbstractCollection.java (toArray): Removed cast.
3558
3559 2006-10-20  Tom Tromey  <tromey@redhat.com>
3560
3561         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3562         Don't use mangled class name for .h file.
3563         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3564         Don't use mangled class name for .c file.
3565         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3566         Handle classes from the default package.
3567
3568 2006-10-20  Francis Kung  <fkung@redhat.com>
3569
3570         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3571
3572 2006-10-19  Francis Kung  <fkung@redhat.com>
3573
3574         PR 29510
3575         * java/awt/image/BufferedImage.java
3576         (constructor): Updated some properties of default image types.
3577         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3578         (argb32): Updated field to match default in BufferedImage.
3579
3580 2006-10-18  Roman Kennke  <kennke@aicas.com>
3581
3582         PR 29419
3583         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3584         (copyArea): Changed size comparison to return when size == 0
3585         too.
3586         * javax/swing/JViewport.java
3587         (paintBackingStore): Check width and height of blitted area
3588         and only do blit if its > 0.
3589         (paintBlit): Check width and height of blitted area
3590         and only do blit if its > 0.
3591
3592 2006-10-18  Roman Kennke  <kennke@aicas.com>
3593
3594         PR 27091
3595         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3596         (maximize): New native method.
3597         (unmaximize): New native method.
3598         (iconify): New native method.
3599         (deiconify): New native method.
3600         (getState): Implemented.
3601         (setState): Implemented.
3602         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3603         (oldState): Rename to windowState and made protected, so that
3604         the FramePeer can access it.
3605         (postWindowEvent): Handle state change events more gently and
3606         correctly.
3607         * java/awt/Frame.java
3608         (getState): Fetch state from getExtendedState().
3609         (setExtendedState): Update the peer. Check if the state change
3610         is actually supported.
3611         (getExtendedState): Update the state from the peer.
3612         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3613         (maximize): New method.
3614         (unmaximize): New method.
3615         (iconify): New method.
3616         (deiconify): New method.
3617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3618         (AWT_FRAME_NORMAL): New macro.
3619         (AWT_FRAME_ICONIFIED): New macro.
3620         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3621         (window_window_state_cb): Rewritten to handle window state changes
3622         more gently (mostly on the java side of the world).
3623         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3624
3625 2006-10-18  Tania Bento  <tbento@redhat.com>
3626
3627         * java/awt/CardLayout.java:
3628         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3629         its height and width if Container passed as argument is null.
3630         (gotoComponent): Consider the case where the component is not visible.
3631
3632 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3633
3634         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3635         Rename file...
3636         * resource/gnu/classpath/tools/appletviewer/messages.properties:
3637         New file.
3638         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3639         Remove file.
3640         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3641         Remove file.
3642         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3643         Likewise.
3644         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3645         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3646         Retrieve user-visible strings through Messages.getString.
3647         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3648         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3649         Likewise.
3650         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3651         Likewise.
3652         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3653         Likewise.
3654         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3655         Likewise.
3656         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3657         Likewise.
3658         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3659         Likewise.
3660
3661 2006-10-18  Roman Kennke  <kennke@aicas.com>
3662
3663         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3664         (AWT_WINDOW_OPENED): Remove unnecessary macro.
3665         (window_show_cb): Removed unnecessary function.
3666         (connect_signals): Don't connect signal for show.  *
3667         gnu/java/awt/peer/gtk/GtkWindowPeer.java
3668         (hasBeenShown): Removed. This is handled in java.awt.Window.
3669         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3670         in java.awt.Window.  * java/awt/Window.java
3671         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3672
3673 2006-10-18  Francis Kung  <fkung@redhat.com>
3674
3675         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3676         (drawRenderedImage):  New method.
3677         (drawImage): New method.
3678         (CairoSurfaceGraphics): Set clip.
3679         (createBuffer): New method.
3680         (getBufferCM): New method.
3681         (drawComposite): New method.
3682         (fill): New method.
3683         (getNativeCM): New method.
3684         (drawGlyphVector): New method.
3685         (draw): New method.
3686         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3687         (getNativeCM): Reflect renamed field.
3688         * gnu/java/awt/peer/gtk/CairoSurface.java
3689         (cairoCM_pre): Renamed from cairoColorModel.
3690         (cairoColorModel): Set premultiplication to false.
3691
3692 2006-10-18  Roman Kennke  <kennke@aicas.com>
3693
3694         PR 28769
3695         * javax/swing/JScrollPane.java
3696         (viewportBorder): Made field private.
3697         (wheelScrollingEnabled): Made field private.
3698         (JScrollPane): Enabled wheel scrolling by default.
3699         * javax/swing/JTree.java
3700         (TreeSelectionRedirector.valueChanged): Don't repaint anything
3701         here.
3702         (getScrollableUnitIncrement): Fixed thinko.
3703         * javax/swing/plaf/basic/BasicScrollBarUI.java
3704         (static scrollByBlock): New static method to avoid code duplication
3705         for the BasicScrollPane wheel scrolling.
3706         (static scrollByUnits): New static method to avoid code duplication
3707         for the BasicScrollPane wheel scrolling.
3708         (scrollByBlock): Delegate to static helper method.
3709         (scrollByUnit): Delegate to static helper method.
3710         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3711         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3712         static helper methods to avoid code duplication.
3713         (MouseWheelHandler.bounds): Removed.
3714         (MouseWheelHandler.getValue): Removed.
3715         (MouseWheelHandler.scroll): Removed.
3716
3717 2006-10-18  Roman Kennke  <kennke@aicas.com>
3718
3719         PR 29502
3720         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3721         (updateComponent): Don't override this here.
3722         * java/awt/Window.java
3723         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3724         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3725         flag.
3726         (addWindowStateListener): Ignore null listener. Set newEventsOnly
3727         flag.
3728
3729 2006-10-18  Roman Kennke  <kennke@aicas.com>
3730
3731         * javax/swing/JEditorPane.java
3732         (getStream): Try to detect and set the content type of the
3733         connection stream.
3734
3735 2006-10-18  Roman Kennke  <kennke@aicas.com>
3736
3737         * javax/swing/RepaintManager.java
3738         (RepaintWorkerEvent): Pass full set of params to super.
3739         (RepaintWorker.dispatch): Overridden to allow apps to call this
3740         via reflection.
3741         (addDirtyRegion): Synchronize a little more to protect the
3742         dirtyComponents field and avoid NPEs.
3743         (invokeLater): Pass full set of params to RepaintWorkerEvent
3744         constructor.
3745
3746 2006-10-18  Roman Kennke  <kennke@aicas.com>
3747
3748         * javax/swing/JEditorPane.java
3749         (page): Removed field. The page is now stored in the correct
3750         document property.
3751         (getPage): Fetch page URL from document property.
3752         (read): Set the document for this JEditorPane. Use a Reader
3753         for reading in the document.
3754         (setPage): Call getStream() to get the stream from which we read.
3755         Fire property change. Store page in document property.
3756
3757 2006-10-18  Roman Kennke  <kennke@aicas.com>
3758
3759         * java/awt/datatransfer/DataFlavor.java
3760         (DataFlavor(String)): Removed check for space in mime string.
3761
3762 2006-10-18  Roman Kennke  <kennke@aicas.com>
3763
3764         * java/awt/Container.java
3765         (validateTree): Call ContainerPeer.begin|endLayout() rather than
3766         begin|endValidate().
3767         (validate): Call ContainerPeer.begin|endValidate() here.
3768         Added some local vars to avoid NPEs.
3769
3770 2006-10-18  Roman Kennke  <kennke@aicas.com>
3771
3772         * native/target/.cvsignore
3773         * native/target/Linux/.cvsignore
3774         * native/target/generic/.cvsignore:
3775         Added to let CVS ignore the generated Makefile and Makefile.in
3776         files.
3777
3778 2006-10-18  Roman Kennke  <kennke@aicas.com>
3779
3780         PR 29448
3781         * java/awt/Window.java
3782         (eventTypeEnabled): Overridden to handle WindowEvents.
3783         (processEvent): Switch between processWindowEvent(),
3784         processWindowFocusEvent() and processWindowStateEvent() here,
3785         rather than simply calling processWindowEvent().
3786         (processWindowEvent): Only dispatch event to listener, do not
3787         switch to processWindowFocusEvent() or processWindowStateEvent()
3788         here.
3789         * javax/swing/JFrame.java
3790         (frameInit): Explicitly enable window and key events here.
3791         (processWindowEvent): Throw out some unnecessary code.
3792         * javax/swing/JWindow.java
3793         (windowInit): Explicitly enable key events here.
3794         * javax/swing/JDialog.java
3795         (close_action): Renamed to closeAction.
3796         (dialogInit): Explicitly enable window events here.
3797         (getDefaultCloseOperation): Renamed close_action to closeAction.
3798         (processWindowEvent): Throw out some unnecessary code.
3799         Renamed close_action to closeAction.
3800         (setDefaultCloseOperation): Renamed close_action to closeAction.
3801
3802 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3803
3804         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3805         to track native GTK event loop status.
3806         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3807         clear running flag when native GTK event loop starts and stops.
3808
3809 2006-10-17  Roman Kennke  <kennke@aicas.com>
3810
3811         * javax/swing/TransferHandler.java
3812         (exportToClipboard): Implemented.
3813
3814 2006-10-17  Francis Kung  <fkung@redhat.com>
3815
3816         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3817         region to account for pixel-shifting.
3818         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3819         proctected.
3820
3821 2006-10-17  Francis Kung  <fkung@redhat.com>
3822
3823         PR 29450
3824         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3825         (getLogicalBounds): Translate individual glyphs before appending bounds.
3826         (getOutline): Translate individual glyphs before appending outline.
3827
3828 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
3829
3830         PR 29014
3831         * java/awt/font/TextLayout.java
3832         (bidi): New field.
3833         (constructor): Store bidi in field.
3834         (getCharacterLevel): Implemented.
3835
3836 2006-10-17  Roman Kennke  <kennke@aicas.com>
3837
3838         * javax/swing/TransferHandler.java
3839         (PropertyTransferable): New inner class. Handles transfers
3840         from component properties.
3841         (createTransferable): Implemented.
3842
3843 2006-10-17  Francis Kung  <fkung@redhat.com>
3844
3845         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3846         (drawComposite): Ensure composite does not extend beyond buffer
3847         bounds.
3848         * java/awt/image/Raster.java
3849         (createChild): Ensure child does not extend beyond parent's
3850         bounds.
3851         * java/awt/image/WritableRaster.java
3852         (createWritableChild): Ensure child does not extend beyond
3853         parent's bounds.
3854
3855 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
3856
3857         * native/jni/classpath/jcl.c
3858         (JNI_OnLoad): Corrected calling convention.
3859
3860 2006-10-16  Roman Kennke  <kennke@aicas.com>
3861
3862         * javax/swing/TransferHandler.java
3863         (propertyName): New field.
3864         (TransferHandler(String)): Store property name in field.
3865         (canImport): Implemented stub method.
3866         (exportDone): This is a no-op. Removed not-implemented mark.
3867         (getPropertyDataFlavor): New helper method.
3868         (getPropertyDescriptor): New helper method.
3869
3870 2006-10-16  Roman Kennke  <kennke@aicas.com>
3871
3872         * javax/swing/AbstractButton.java
3873         (AccessibleJButton.getAfterIndex): Implemented.
3874         (AccessibleJButton.getAtIndex): Implemented.
3875         (AccessibleJButton.getBeforeIndex): Implemented.
3876         (AccessibleJButton.getCharacterAttribute): Completed incomplete
3877         method implementation.
3878
3879 2006-10-16  Roman Kennke  <kennke@aicas.com>
3880
3881         * javax/swing/JLabel.java
3882         (AccessibleJLabel.getIndexAtPoint): Implemented.
3883         (AccessibleJLabel.getCharacterBounds): Implemented.
3884         (AccessibleJLabel.getTextRectangle): New helper method.
3885
3886 2006-10-16  Roman Kennke  <kennke@aicas.com>
3887
3888         * javax/swing/filechooser/FileSystemView.java
3889         (getFileSystemView): Mark as implemented.
3890
3891 2006-10-14  Roman Kennke  <kennke@aicas.com>
3892
3893         PR 27957
3894         * javax/swing/JComponent.java
3895         (toolTipText): Removed field.
3896         (createToolTip): Don't set tooltip text here. This is done
3897         in the ToolTipManager.
3898         (setToolTipText): Set tooltip text as client property.
3899         (getToolTipText): Get tooltip text from client property.
3900         * javax/swing/ToolTipManager.java
3901         (currentComponent): Made field non-static and of type JComponent.
3902         (currentPoint): Made field non-static.
3903         (currentTip): Made field non-static.
3904         (popup): Made field non-static.
3905         (toolTipText): New field. Stores the current tooltip text.
3906         (checkTipUpdate): New helper method. Checks for updates of
3907         the tooltip text and triggers the appropriate actions.
3908         (getContentPaneDeepestComponent): Removed unneeded casts.
3909         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3910         text from component.
3911         (mouseMoved): Check for tooltip text updates.
3912         (showTip): Set tooltip text from current setting.
3913
3914 2006-10-14  Roman Kennke  <kennke@aicas.com>
3915
3916         PR 27956
3917         * javax/swing/JSlider.java
3918         (setPaintLabels): Call setLabelTable() instead of setting
3919         the field directly. This also updates the label's size.
3920
3921 2006-10-13  Tom Tromey  <tromey@redhat.com>
3922
3923         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3924         method.
3925
3926 2006-10-13  Tania Bento  <tbento@redhat.com>
3927
3928         * java/awt/ScrollPane.java
3929         (setLayout): Should throw AWTError whenever called.
3930
3931 2006-10-13  Roman Kennke  <kennke@aicas.com>
3932
3933         PR 29448
3934         * java/awt/Component.java
3935         (dispatchEventImpl): Special handle ComponentReshapeEvents to
3936         update the AWT's knowledge about a component's size.
3937         * gnu/java/awt/ComponentReshapeEvent.java: New class.
3938         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3939         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3940         to update the AWT's knowledge about the component bounds.
3941
3942 2006-10-13  Tania Bento  <tbento@redhat.com>
3943
3944         * java/awt/ScrollPaneAdjustable.java
3945         (setMaximum): Should throw AWTError whenever called.
3946         (setMinimum): Same.
3947         (setVisibleAmount): Same.
3948
3949 2006-10-13  Tania Bento  <tbento@redhat.com>
3950
3951         * java/awt/ScrollPane.java
3952         (addImpl): When calling super, index should be value passed, 
3953         not -1.
3954         (getIsValidString): New helper method for paramString().
3955         (getScrollbarDisplayString): New helper method for paramString(). 
3956         (paramString): Changed format of outputted string.
3957
3958 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
3959
3960         * javax/swing/tree/DefaultTreeSelectionModel.java
3961         (clone): Added cast to TreePath[].
3962
3963 2006-10-13  Roman Kennke  <kennke@aicas.com>
3964
3965         PR 27780
3966         * javax/swing/JMenuItem.java
3967         (isDragging): New field. Indicates if we are inside a mouse
3968         drag.
3969         (createMenuDragMouseEvent): Removed unneeded method.
3970         (processMenuDragMouseEvent): Track if we are dragging.
3971         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3972         * javax/swing/plaf/basic/BasicMenuItemUI.java
3973         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3974         MenuSelectionManager from event.
3975         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3976         MenuSelectionManager from event.
3977         (MenuDragMouseHandler.menuDragMouseExited): Fetch
3978         MenuSelectionManager from event.
3979         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3980         release inside menu item, otherwise clear selection.
3981         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3982         and getY(). Call doClick() rather than the doClick() of JMenuItem.
3983         (doClick): Perform an immediate click.
3984
3985 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3986
3987         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3988         return if object is not in the list.
3989
3990 2006-10-12  Andrew Haley  <aph@redhat.com>
3991
3992         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3993         * java/lang/ThreadLocal.java: Likewise.
3994
3995 2006-10-12  Roman Kennke  <kennke@aicas.com>
3996
3997         PR 27956
3998         * javax/swing/JSlider.java
3999         (LabelUIResource): New inner class. A JLabel as UIResource.
4000         (createStandardLabels): Don't set label bounds here.
4001         Create LabelUIResource instances.
4002         (setInverted): Repaint.
4003         (setLabelTable): Update the label UIs. Revalidate and repaint.
4004         (setMajorTickSpacing): Update the label table. Repaint if
4005         necessary.
4006         (setMinorTickSpacing): Repaint if necessary.
4007         (setOrientation): Revalidate.
4008         (setPaintLabels): Revalidate and repaint.
4009         (setPaintTicks): Revalidate and repaint.
4010         (setPaintTrack): Repaint.
4011         (updateLabelUIs): Set the label sizes here.
4012         (updateUI): Also update the label UIs.
4013         * javax/swing/plaf/basic/BasicSliderUI.java
4014         (ComponentHandler.componentResized): Don't revalidate.
4015         (FocusHandler.focusGained): Don't set field.
4016         (FocusHandler.focusLost): Don't set field.
4017         (PropertyChangeHandler.propertyChange): Calculate geometry
4018         and repaint for a couple more properties.
4019         (TrackListener.mouseReleased): Repaint.
4020         (hasFocus): Removed unneeded field.
4021         (calculateContentRect): No need to check for content size < 0.
4022         (calculateFocusRect): Use insets from insetCache.
4023         (calculateLabelRect): Fixed calculation of label rectangle.
4024         It is relative to the tick rectangle, rather than the content
4025         rectangle.
4026         (calculateTickRect): Small restructuring to avoid unnecessary
4027         comparisons.
4028         (calculateTrackRect): Fixed calculation of track rectangle.
4029         (getMaximumSize): Fixed. Fetch preferred size and set
4030         the height of width to Short.MAX_VALUE.
4031         (getMinimumHorizontalSize): Fixed to return UIManager value.
4032         (getMinimumVerticalSize): Fixed to return UIManager value.
4033         (getPreferredHorizontalSize): Fixed to return UIManager value.
4034         (getPreferredVerticalSize): Fixed to return UIManager value.
4035         (getMinimumSize): Fixed to return the UIManager value plus
4036         insets added.
4037         (getPreferredSize): Fixed to return the UIManager value plus
4038         insets added.
4039         (getWidthOfWidestLabel): Restructured for more cleanness and
4040         efficiency.
4041         (hitClip): New helper method.
4042         (paintHorizontalLabel): Replaced by more efficient and clean
4043         implementation.
4044         (paintVerticalLabel): Replaced by more efficient and clean
4045         implementation.
4046         (paintLabels): Replaced by more efficient and clean
4047         implementation.
4048         (paint): Check if rectangles intersect with clip for maximum
4049         efficiency.
4050         (recalculateIfInsetsChanged): Fixed. This method should
4051         recalculate only when the insets changed.
4052         (setThumbLocation): Repaint with a reasonable clip.
4053         (xPositionForValue): Made more clean and efficient.
4054         (yPositionForValue): Made more clean and efficient.
4055         * javax/swing/plaf/basic/BasicLookAndFeel.java
4056         (initComponenDefaults): Added Slider.horizontalSize,
4057         Slider.verticalSize, Slider.minimumHorizontalSize and
4058         Slider.minimumVerticalSize properties.
4059         * javax/swing/plaf/metal/MetalSliderUI.java
4060         (getTickLength): Add 1 for horizontal sliders and 3 for
4061         vertical sliders.
4062         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4063         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4064         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4065         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4066
4067 2006-10-12  Roman Kennke  <kennke@aicas.com>
4068
4069         PR 28696
4070         * javax/swing/text/FlowView.java
4071         (FlowStrategy.layout): Preserve logical views from getting lost.
4072         (FlowStrategy.layoutRow): Fix line breaking.
4073         (FlowStrategy.adjustRow): Fix line breaking.
4074         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4075         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4076         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4077         (createView): Don't check index.
4078         (contains): New helper method.
4079         (reparent): New helper method.
4080         (layoutDirty): Removed unneeded field.
4081         (FlowView): Removed layoutDirty field init.
4082         (changedUpdate): Removed layoutDirty handling.
4083         (insertUpdate): Removed layoutDirty handling.
4084         (removeUpdate): Removed layoutDirty handling.
4085         (layout): Use isLayoutValid() rather than the layoutDirty field.
4086         * javax/swing/text/GlyphView.java
4087         (startOffset): Removed.
4088         (endOffset): Removed.
4089         (offset): New field.
4090         (length): New field.
4091         (GlyphView): Initialize new fields. Removed old fields.
4092         (createFragment): Create fragment with new relative offsets.
4093         (getEndOffset): Work with new relative offsets.
4094         (getStartOffset): Work with new relative offsets.
4095         * javax/swing/text/ParagraphView.java
4096         (Row.getStartOffset): Overidden to determine the minimum start
4097         offset from the children.
4098         (Row.getEndOffset): Overidden to determine the maximum end
4099         offset from the children.
4100         * javax/swing/text/html/BRView.java
4101         Make subclass of InlineView.
4102         (getBreakWeight): Fall back to super for Y_AXIS.
4103
4104 2006-10-12  Roman Kennke  <kennke@aicas.com>
4105
4106         PR 28733
4107         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4108         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4109         one that avoids faulty state that could cause division by zero
4110         error.
4111
4112 2006-10-12  Roman Kennke  <kennke@aicas.com>
4113
4114         PR 28057
4115         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4116         (paint): Determine correct icon. Added support for HTML label.
4117         Added small optimizations.
4118         (getPreferredSize): Only consider the buttons iconTextGap, and
4119         only when the text is not null.
4120         * javax/swing/plaf/basic/BasicLookAndFeel.java
4121         (initComponentDefaults): Fetch border for RadioButton from
4122         BasicButtons.getRadioButtonBorder().
4123         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4124         (paintFocus): Paint focus rectangle one pixel smaller.
4125
4126 2006-10-12  Roman Kennke  <kennke@aicas.com>
4127
4128         PR 29418
4129         * javax/swing/tree/AbstractLayoutCache.java
4130         (getNodeDimensions): Don't throw InternalError, but instead
4131         return null.
4132         (getRowsForPaths): Check for null here.
4133         (isFixedRowHeight): Returns true when rowHeight > 0.
4134         (setSelectionModel): Set this as the row mapper for the selection
4135         model.
4136         * javax/swing/tree/VariableHeightLayoutCache.java
4137         (NodeRecord.NodeRecord): Initialize bounds field.
4138         (getBounds): Simply return the bounds field.
4139         (row2Node): Changed to be an ArrayList.
4140         (RECT_CACHE): New field. Caches a Rectangle instance.
4141         (countRows): Added y parameter and return value. The method
4142         now takes the current y position as parameter, and returns
4143         the updated y position.
4144         (getBounds): Fixed to return the correct bounds.
4145         (getPathForRow): Replaced by fixed implementation.
4146         (getPreferredHeight): Replaced by more efficient implementation.
4147         This simply fetches the last node record and returns its lower
4148         bounds.
4149         (getPreferredWidth): Added null check.
4150         (getVisibleChildCount): Added null check.
4151         (getVisiblePathsFrom): Added null check.
4152         (setExpandedState): Also expand the ancestors of the node
4153         to be expanded.
4154         (setModel): Set dirty flag rather than updating for real.
4155         (setNodeDimensions): Overridden to set the dirty flag.
4156         (setRowHeight): Overridden to set the dirty flag.
4157         (update): Don't special case the root here, this is done now
4158         in countRows().
4159
4160 2006-10-12  Roman Kennke  <kennke@aicas.com>
4161
4162         * javax/swing/JComponent.java
4163         (paintImmediately2): Added support for components which need
4164         to force themselves as paint root.
4165         (isPaintRoot): New method. This should be overridden by components
4166         which need to force themselves as paint root.
4167         * javax/swing/JViewport.java
4168         (isPaintRoot): Overridden to force the viewport as paint root
4169         when running in backingstore mode.
4170
4171 2006-10-12  Roman Kennke  <kennke@aicas.com>
4172
4173         * javax/swing/tree/DefaultTreeSelectionModel.java
4174         (PathPlaceHolder): New inner class. Wraps a path and its status
4175         wrt to its newness.
4176         (selectedPaths): New field. A supporting datastructure.
4177         (tmpPaths): New field. A supporting datastructure.
4178         (DefaultTreeSelectionModel): Initialize the list selection model,
4179         the leadIndex and the supporting datastructures.
4180         (addPropertyChangeListener): Create changeSupport object lazily.
4181         (addSelectionPaths): Mostly rewritten to handle the different
4182         selection modes correctly.
4183         (addSelectionPath): Delegate to addSelectionPaths().
4184         (arePathsContiguous): Replaced with more efficient implementation
4185         using BitSet
4186         (canPathBeAdded): Removed unneeded method.
4187         (canPathsBeAdded): Replaced with more efficient implementation.
4188         (clearSelection): Create correct event. Clear the fields correctly,
4189         including the supporting datastructures.
4190         (clone): Also clone the supporting datastructures and nullify
4191         changeSupport field.
4192         (getMaxSelectionRow): Delegate to list selection model.
4193         (getMinSelectionRow): Delegate to list selection model.
4194         (getPath): Removed unneeded method.
4195         (getPropertyChangeListeners): Handle null changeSupport field
4196         correctly.
4197         (getRow): Handle null rowMapper field correctly.
4198         (getSelectionRows): Handle invisible rows correctly.
4199         (insureRowContinuity): Replaced by more efficient and correct
4200         implementation.
4201         (isRowSelected): Delegate to list selection model.
4202         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4203         class.
4204         (removePropertyChangeListener): Handle null changeSupport field.
4205         (removeSelectionPaths): Mostly rewritten to handle the different
4206         selection modes correctly.
4207         (removeSelectionPath): Delegate to removeSelectionPaths().
4208         (resetRowSelection): Handle list selection model.
4209         (selectOne): Removed unneeded field.
4210         (setRowMapper): Reset the row selection.
4211         (setSelectionMode): Check for invalid mode and set to
4212         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4213         (setSelectionPaths): Mostly rewritten to handle the different
4214         selection modes correctly.
4215         (setSelectionPath): Delegate to setSelectionPaths().
4216         (updateLeadIndex): Made more efficient.
4217
4218 2006-10-11  Francis Kung  <fkung@redhat.com>
4219
4220         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4221         (buffer, locked): New fields.
4222         (constructors): Initialize new variables.
4223         (createBuffer): New method.
4224         (draw): Implement custom composites.
4225         (drawComposite): New method.
4226         (drawGlyphVector): Implement custom composites.
4227         (drawImage): Implement custom composites.
4228         (drawRenderedImage): Implement custom composites.
4229         (fill): Implement custom composites.
4230         (getBufferCM): New method.
4231         (getNativeCM): New method.
4232         (updateBufferedImage): Fix premultiplication.
4233         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4234         (copy): Copy composite.
4235         (drawImage): Set background properly.
4236         (getBufferCM): New method.
4237         (setComposite): Reset alpha composite when using custom composite.
4238         * gnu/java/awt/peer/gtk/CairoSurface.java
4239         (cairoColorModel): New field.
4240         (nativeColorModel): Renamed.
4241         (constructor): Use renamed createCairoSampleModel method.
4242         (createCairoSampleModel): New method.
4243         (createNativeSampleModel): Renamed.
4244         (getBufferedImage): Use renamed cairoColorModel field.
4245         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4246         (gdkColorModel): New field.
4247         (createGdkSampleModel): New method.
4248         (getPixels): Added comments.
4249         (getSnapshot): Use GDK colour and sample models.
4250         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4251         (createBuffer): Use GDK colour and sample models.
4252         (getNativeCM): Added comments.
4253         * java/awt/image/BufferedImage.java
4254         (constructor): Set premultiplied flag properly.
4255         
4256 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4257
4258         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4259         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4260
4261 2006-10-10  Francis Kung  <fkung@redhat.com>
4262
4263         PR 29372
4264         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4265         (createPath): Added isDraw parameter.
4266         (draw): Updated createPath call.
4267         (fill): Updated createPath call.
4268
4269 2006-10-10  Tom Tromey  <tromey@redhat.com>
4270
4271         PR classpath/29362:
4272         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4273         there is a stylesheet.
4274
4275 2006-10-10  Roman Kennke  <kennke@aicas.com>
4276
4277         * java/awt/Toolkit.java
4278         (getDefaultTookit): Make method synchronized to avoid
4279         accidentally creating more than one toolkits from different
4280         threads.
4281
4282 2006-10-10  Roman Kennke  <kennke@aicas.com>
4283
4284         * java/awt/LightweightDispatcher.java
4285         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4286         (redispatch): Transfer the button to the redispatched event.
4287
4288 2006-10-10  Francis Kung  <fkung@redhat.com>
4289
4290         * java/awt/image/ColorModel.java (coerceData): Implemented.
4291
4292 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4293
4294         * vm/reference/java/lang/VMClassLoader.java:
4295         (defineClassWithTransformers): Use proper class name format.
4296
4297 2006-10-09  Gary Benson  <gbenson@redhat.com>
4298
4299         * java/net/ServerSocket.java
4300         (implAccept): Add security check.
4301         (accept): Close socket if security check fails.
4302         (setSocketFactory): Add security check and already-set check.
4303
4304 2006-10-09  Roman Kennke  <kennke@aicas.com>
4305
4306         PR 29325
4307         * javax/swing/JSplitPane.java
4308         (dividerLocation): New field. Stores the divider location.
4309         (JSplitPane): Initialize dividerLocation with -1.
4310         (addImpl): Removed unneeded local variables.
4311         (getDividerLocation): Manage dividerLocation in the JSplitPane
4312         class, not in the UI.
4313         (setDividerLocation): Manage dividerLocation in the JSplitPane
4314         class, not in the UI. Only call the UI method for notification.
4315         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4316         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4317         location from the JSplitPane. Honour the minimumSize, but only
4318         if the divider location hasn't been set explicitly.
4319         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4320         statement.
4321         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4322         statement.
4323         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4324         the divider location.
4325         (dividerLocationSet): New field.
4326         (dividerLocation): Removed field.
4327         (createActionMap): Fetch and set divider location on the JSplitPane.
4328         (getDividerLocation): Return the actual real divider location.
4329         (getMaximumSize): Removed unneeded cast.
4330         (getPreferredSize): Removed unneeded cast.
4331         (getMinimumSize): Removed unneeded cast.
4332         (installUI): Initialize dividerLocationSet with false.
4333         (uninstallUI): Initialize dividerLocationSet with false.
4334         (setDividerLocation): Set dividerLocationSet to true.
4335
4336 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4337
4338         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4339         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4340         convert jstring into char *.
4341         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4342         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4343         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4344         (getif_address): Added const modifier to second argument.
4345         (getif_index): Dito.
4346
4347 2006-10-09  Roman Kennke  <kennke@aicas.com>
4348
4349         * javax/swing/JTree.java
4350         (isSelected): Added API docs.
4351
4352 2006-10-09  Roman Kennke  <kennke@aicas.com>
4353
4354         * javax/swing/JTree.java
4355         (isSelected): Delegate to the selection model directly.
4356
4357 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4358
4359         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4360         sizeof_struct_kevent to _sizeof_struct_kevent.
4361
4362 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4363
4364         * tools/gnu/classpath/tools/rmic/RMICException.java:
4365         javadoc corrections, reformatted.
4366
4367 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4368
4369         * gnu/java/lang/InstrumentationImpl.java:
4370         Made constructor package visible.
4371
4372 2006-10-05  Gary Benson  <gbenson@redhat.com>
4373
4374         * java/net/Socket.java
4375         (Socket): Perform security check on address not hostname.
4376
4377 2006-10-04  Roman Kennke  <kennke@aicas.com>
4378
4379         * javax/swing/tree/VariableHeightLayoutCache.java
4380         (getBounds): When rect is null, create a new Rectangle.
4381
4382 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4383
4384         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4385         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4386         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4387         (cpnio_select): Use CPNIO_EXPORT.
4388         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4389         inline instead of extern inline, as newer GCCs changed their
4390         behavior.
4391
4392 2006-10-04  Gary Benson  <gbenson@redhat.com>
4393
4394         * java/net/InetAddress.java: Updated javadoc.
4395         (<clinit>, getByLiteral): Throw InternalError on failures.
4396
4397 2006-10-03  Francis Kung  <fkung@redhat.com>
4398
4399         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4400         (compCtx): New field for composite context.
4401         (copy): Copy composite.
4402         (dispose): Dispose of composite context.
4403         (getNativeCM): New method.
4404         (setComposite): Discard old composite context and set up new context.
4405         (setRenderingHints): Update composite context.
4406         * gnu/java/awt/peer/gtk/CairoSurface.java
4407         (nativeColorModel): New field, renamed from nativeModel.
4408         (nativeModel): Renamed field to nativeColorModel.
4409         (CairoSurface(int, int)): Call new method to create sample model.
4410         (createNativeSampleModel): New method.
4411         (getBufferedImage): Updated variable name.
4412         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4413         (buffer): New field.
4414         (createBuffer): New method.
4415         (draw): New method.
4416         (drawComposite): New method.
4417         (drawGlyphVector): New method.
4418         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4419         (drawImage(Image, int, int, ImageObserver)): Check composite.
4420         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4421         (fill): New method.
4422         (getNativeCM): New method.
4423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4424         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4425         intermediary pixbuf to grab on-screen pixels.
4426
4427 2006-10-03  Tom Tromey  <tromey@redhat.com>
4428
4429         PR classpath/28987:
4430         * java/util/IdentityHashMap.java (tombstone): Removed.
4431         (emptyslot): Removed.
4432         (nullslot): New field.
4433         (IdentityHashMap): Don't fill array.
4434         (clear): Fill with null.
4435         (hash): Now final.  Use linear probing.
4436         (xform): New method.
4437         (unxform): Likewise.
4438         (removeAtIndex): Likewise.
4439         (clone, containsKey, containsValue, entrySet, get, hashCode,
4440         keySet, put, remove, values): Updated.
4441         (IdentityIterator, IdentityEntry): Likewise.
4442         (writeObject): Likewise.
4443
4444 2006-10-03  Tom Tromey  <tromey@redhat.com>
4445
4446         * java/util/Locale.java (hashcode): Updated javadoc.
4447         (hashcodeCache): Removed.
4448         (Locale): Updated.
4449         (hashCode): Updated.
4450         (writeObject): New method.
4451         (readObject): Updated.
4452
4453 2006-10-02  Francis Kung  <fkung@redhat.com>
4454
4455         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4456         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4457         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4458         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4459         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4460         pre-multiply data before drawing.
4461         (fillRect): Draw using regular fill() method.
4462         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4463         * gnu/java/awt/peer/gtk/CairoSurface.java
4464         (nativeModel): Use correct value for alpha premultiplication (true).
4465         * java/awt/image/BufferedImage.java
4466         (coerceData): Update isPremultiplied field.
4467
4468 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4469
4470         * gnu/classpath/ListenerData.java:
4471         New class for holding listener data.
4472         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4473         ListenerData class moved to its own file.
4474         * javax/management/MBeanServerDelegate.java,
4475         * javax/management/MBeanServerDelegateMBean.java,
4476         * javax/management/MBeanServerNotification.java:
4477         Implemented.
4478
4479 2006-10-02  Tania Bento  <tbento@redhat.com>
4480
4481         * java/ast/Rectangle.java:
4482         (Rectangle(Rectangle)): Do not throw NPE.
4483         (Rectangle(Point, Dimension)): Same.
4484         (Rectangle(Point)): Same.
4485         (Rectangle(Dimension)): Same.
4486
4487 2006-09-29  Casey Marshall  <csm@gnu.org>
4488
4489         PR 29190
4490         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4491         `AbstractSelectionKey.'
4492         (cancel, isValid): removed.
4493         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4494         (events): new field.
4495         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4496         fields.
4497         (<clinit>): initialize those constants.
4498         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4499         (doSelect): deregister cancelled keys; remove keys attached to
4500         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4501         `events' buffer; reallocate `events' buffer if needed.
4502         (register): reallocate `events' buffer if needed.
4503         (reallocateBuffer): new method.
4504         (cancel): removed.
4505
4506 2006-09-29  Roman Kennke  <kennke@aicas.com>
4507
4508         PR 28929
4509         * javax/swing/JViewport.java
4510         (cinit): Renamed system property to gnu.swing.scrollmode
4511         to avoid bloat. Default to BACKINGSTORE, this is much
4512         more reliable.
4513         (repaint): Forward repaint() to parent as is specified.
4514
4515 2006-09-29  Tania Bento  <tbento@redhat.com>
4516
4517         * javax/swing/plaf/basic/BasicTableUI.java
4518         (getPreferredSize): The number of iterations for the for-loop should be
4519         the number of columns in the table's column model, not the number of
4520         columns of the table.
4521         * javax/swing/JTable.java
4522         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4523         lines that are not needed.
4524         (initializeLocalVars): dragEnabled should be set to false, not true.
4525         (getCellRenderer): Added a check to prevent an
4526         ArrayIndexOutOfBoundsException.
4527         (doLayout): The number of iterations for the for-loops should be the
4528         number of columns in the table's column model, not the number of columns
4529         of the table.
4530
4531 2006-09-29  Roman Kennke  <kennke@aicas.com>
4532
4533         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4534         API docs.
4535         (isOptimized): Initialize with true.
4536         (paintRaster): Removed unneeded field.
4537         (shapeCache): New static field. Caches certain shapes for reuse.
4538         (computeIntersection): Removed unneeded casts.
4539         (drawArc): Use shape cache.
4540         (drawImage): Removed unneeded statement.
4541         (drawLine): Use shape cache. Pass untranslated coordinates
4542         to rawDrawLine().
4543         (drawOval): Use shape cache.
4544         (drawPolygon): Use shape cache.
4545         (drawRect): Overridden to provide accelerated rectangle drawing
4546         if possible and to use the shape cache.
4547         (drawRoundRect): Use shape cache.
4548         (fillArc): Use shape cache.
4549         (fillOval): Use shape cache.
4550         (fillPolygon): Use shape cache.
4551         (fillRect): Pass untranslated coordinates to rawFillRect().
4552         Use shape cache.
4553         (fillRoundRect): Use shape cache.
4554         (fillScanlineAA): Removed unneeded statement.
4555         (fillScanline): Updated API docs.
4556         (fillShapeAntialias): Removed unnecessary cast.
4557         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4558         (fillShape): Updated API docs.
4559         (getShapeCache): New helper method.
4560         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4561         certain shapes for reuse in AbstractGraphics2D.
4562
4563 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4564
4565         * javax/management/BadBinaryOpValueExpException.java:
4566         (getExp()): Implemented.
4567         * javax/management/MBeanConnection.java:
4568         Renamed to MBeanServerConnection.
4569         * javax/management/MBeanServer.java:
4570         (setAttribute(Attribute)): Fixed...
4571         (setAttribute(ObjectName,Attribute)): to this.
4572         * javax/management/MBeanServerConnection.java:
4573         Renamed from MBeanConnection.
4574         * javax/management/QueryExp.java:
4575         Extend Serializable.
4576         * javax/management/ValueExp.java:
4577         Likewise.
4578         * javax/management/loading/ClassLoaderRepository.java:
4579         (loadClass(String)): Throw ClassNotFoundException.
4580         (loadClassBefore(ClassLoader,String)): Likewise.
4581         (loadClassWithout(String, ClassLoader): Fixed...
4582         (loadClassWithout(ClassLoader,String)): to this.
4583         
4584 2006-09-28  Roman Kennke  <kennke@aicas.com>
4585
4586         * javax/swing/tree/DefaultTreeCellRenderer.java
4587         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4588         property from UIManager.
4589         (paint): Rewritten to use super's implementation and only paint
4590         background and focus indicator before.
4591         (paintFocus): New helper method.
4592         (getXOffset): New helper method.
4593
4594 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4595         
4596         * javax/management/BadBinaryOpValueExpException.java,
4597         * javax/management/MBeanConnection.java,
4598         * javax/management/MBeanServer.java,
4599         * javax/management/ObjectInstance.java:
4600         Implemented.
4601         * javax/management/ObjectName.java:
4602         (setMBeanServer(MBeanServer)): Implemented.
4603         * javax/management/QueryExp.java,
4604         * javax/management/ValueExp.java,
4605         * javax/management/loading/ClassLoaderRepository.java:
4606         Implemented.
4607
4608 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4609
4610         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4611
4612 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4613
4614         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4615         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4616         * gnu/java/nio/EpollSelectorImpl.java:
4617         (doSelect): Use Integer.valueOf() instead of constructor call.
4618         (register): Use Integer.valueOf() instead of constructor call.
4619
4620 2006-09-27  Roman Kennke  <kennke@aicas.com>
4621
4622         * java/awt/Container.java
4623         (addContainerListener): Activate newEventsOnly for the component.
4624         Ignore null listeners.
4625
4626 2006-09-27  Roman Kennke  <kennke@aicas.com>
4627
4628         * java/awt/EventQueue.java
4629         (Queue): New inner class. Implements the actual queue.
4630         (LOW_PRIORITY): New constant field.
4631         (NORM_PRIORITY): New constant field.
4632         (queueHead): Removed. Moved into Queue.
4633         (queueTail): Removed. Moved into Queue.
4634         (queues): New field.
4635         (EventQueue): Initialize two internal queues, one for
4636         normal events, one for low priority events.
4637         (getNextEventImpl): New helper method, fetches the next event.
4638         (getNextEvent): Use getNextEventImpl() for fetching the event.
4639         (peekEvent): Use getNextEventImpl() for fetching the event.
4640         (peekEvent(int)): Search for event in all queues.
4641         (postEventImpl(AWTEvent)): Moved actual posting into
4642         postEventImpl(AWTEvent,int). Prioritize events here.
4643         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4644         event into correct queue. Re-enable event coalescing.
4645         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4646         * javax/swing/RepaintManager.java
4647         (RepaintWorkerEvent): New internal class. This is a low priority
4648         event for the repaint worker.
4649         (addDirtyRegion): Use new internal invokeLater() for sending
4650         a low priority event.
4651         (addInvalidComponent): Use new internal invokeLater() for sending
4652         a low priority event.
4653         (commitBuffer): Added some null checks.
4654         (invokeLater): New helper method. Sends a low priority
4655         repaint worker event on the event queue.
4656
4657 2006-09-27  Roman Kennke  <kennke@aicas.com>
4658
4659         PR 29036
4660         PR 29161
4661         * javax/swing/plaf/basic/BasicButtonUI.java
4662         (cachedInsets): New field.
4663         (installListeners): Fire synthetic property change to initialize
4664         TEXT_LAYOUT_CACHE for the button because the font has been
4665         installed before.
4666         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4667         (paint): Use cached insets.
4668         (paintText): Let new method forward to old one, not vice versa.
4669         * javax/swing/plaf/basic/BasicMenuItemUI.java
4670         (defaultAcceleratorLabelGap): Removed unused field.
4671         (MenuGap): Removed unused field.
4672         (propertyChangeListener): Made private.
4673         (getAcceleratorRect): Removed unused method.
4674         (getAcceleratorText): Removed unused method.
4675         (getPath): Removed unnecessary cast.
4676         (installListeners): Fire synthetic property change to initialize
4677         TEXT_LAYOUT_CACHE for the button because the font has been
4678         installed before.
4679         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4680         (layoutMenuItem): Removed unused statements.
4681         
4682 2006-09-27  Roman Kennke  <kennke@aicas.com>
4683
4684         PR 29218
4685         * javax/swing/tree/DefaultTreeModel.java
4686         (isLeaf): Check if the node allows children when
4687         asksAllowsChildren is true, otherwise fall back
4688         to return the node's leaf property.
4689
4690 2006-09-27  Mario Torre  <neugens@limasoftware.net>
4691
4692         * scripts/check_jni_methods.sh: removed methods from the
4693         ignore list:
4694         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4695         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4696         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4697         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4698         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4699         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4700         to better follow the GNU style.
4701         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4702         regenerated header file for GConfNativePeer.
4703
4704 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4705
4706         * INSTALL: Added information about grmic being built when ASM
4707         is available, added information about gconf dependency, indented
4708         Qt4 dependency section.
4709         * configure.ac: Added information about grmic being built when ASM
4710         is available.
4711
4712 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
4713
4714         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4715         DeleteGlobalRef on a local ref.
4716
4717 2006-09-24  Mario Torre  <neugens@limasoftware.net>
4718
4719         * scripts/check_jni_methods.sh: added two new methods in the
4720         ignore list:
4721         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4722         and
4723         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4724         * native/jni/gconf-peer/GConfNativePeer.c:
4725         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4726         refacored method name, renamed from
4727         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4728         Added code to unescape escaped GConf key names.
4729         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4730         refacored method name, renamed from
4731         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4732         Added code to unescape escaped GConf key names.
4733         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4734         new function.
4735         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4736         new function.
4737         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4738         version javadoc tag.
4739         (escapeString): new method.
4740         (unescapeString): likewise.
4741         (gconf_escape_key): new native method.
4742         (gconf_unescape_key): likewise.
4743         (gconf_client_suggest_sync): update native method signature, now
4744         explicity throws BackingStoreException.
4745         (gconf_client_all_nodes): update native method signature, now
4746         explicity throws BackingStoreException. Refactored method name,
4747         renamed from gconf_client_gconf_client_all_nodes.
4748         (gconf_client_all_keys): update native method signature, now
4749         explicity throws BackingStoreException. Refactored method name,
4750         renamed from gconf_client_gconf_client_all_keys.
4751         (getKeys): refactored to use the new method name
4752         gconf_client_all_keys.
4753         (getChildrenNodes): refactored to use the new method name
4754         gconf_client_all_nodes.
4755         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4756         version javadoc tag.
4757         (GConfBasedPreferences): Added code to escape node names from
4758         invalid characters so that GConf now accept invalid node names.
4759         (GConfBasedPreferences): Moved code to register the current
4760         node to the list of nodes watched by GConf outside the constructor.
4761         (childSpi): Added code to register the current node to the
4762         list of nodes watched by GConf.
4763         (getGConfKey): Added code to escape key names from
4764         invalid characters so that GConf now accept invalid key names.
4765
4766 2006-09-26  Tom Tromey  <tromey@redhat.com>
4767
4768         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4769         call mkdirs in output-directory case.
4770         (getPrintStream): Create output directory.
4771         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4772         Don't call mkdirs.
4773
4774 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
4775
4776         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4777         Accept three additional arguments.
4778         (writePreambleImpl): New method.
4779         (getPrintStreamImpl): Likewise.
4780         (printClass): Adapted to use new methods in Printer superclass.
4781         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4782         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4783         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4784         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4785         (force): Likewise.
4786         (getParser): Add support for -o option.
4787         Check that only one of -d or -o is defined.
4788         Add support for -jni option.
4789         Add support for -force option.
4790         (makeOutputFile): New method.
4791         (writeHeaders): Removed File argument from signature.
4792         (run): Take into account newly added fields.
4793         Invoke concrete PrintStream implementations with augmented constructors.
4794         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4795         (isDirectory): Likewise.
4796         (force): Likewise.
4797         (wrotePreamble): Likewise.
4798         (Printer): Changed ctor to accept three additional arguments.
4799         (printClass): Changed signature to accept one ClassWrapper argument.
4800         (writePreambleImpl): New abstract method.
4801         (getPrintStreamImpl): Likewise.
4802         (getPrintStream): New method.
4803         (writePreamble): Likewise.
4804
4805 2006-09-26  Tania Bento  <tbento@redhat.com>
4806
4807         * java/awt/GridLayout.java
4808         (toString): There is no common before hgap.
4809         * java/awt/Rectangle.java
4810         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4811         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
4812         Rectangle is null.
4813         (Rectangle(Point)): Throw NPE if Point is null.
4814         (Rectangle(Dimension)): Throw NPE if Dimension is null.
4815
4816 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4817
4818         * javax/swing/plaf/metal/MetalIconFactory.java
4819         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4820         returned by getShift(),
4821         (FileIcon16.getShift): Updated API docs,
4822         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4823         returned by getShift(),
4824         (FolderIcon16.getShift): Updated API docs,
4825         (TreeFolderIcon.getShift): Likewise,
4826         (TreeLeafIcon.getShift): Likewise.
4827
4828 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4829
4830         * javax/swing/plaf/metal/MetalIconFactory.java
4831         (FileIcon16.paintIcon): Fetch colors from look and feel,
4832         (FolderIcon16.paintIcon): Likewise.
4833
4834 2006-09-25  Casey Marshall  <csm@gnu.org>
4835
4836         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4837         `readScattering.'
4838         (write): revert back to using `writeGathering.'
4839         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4840         the first buffer that has data remaining, and start at that one.
4841
4842 2006-09-25  Tom Tromey  <tromey@redhat.com>
4843
4844         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4845         variable.
4846
4847 2006-09-25  Tom Tromey  <tromey@redhat.com>
4848
4849         * tools/.cvsignore: Updated.
4850
4851 2006-09-25  Tom Tromey  <tromey@redhat.com>
4852
4853         PR libgcj/29178:
4854         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4855         (Encoder.canEncode): Likewise.
4856         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4857         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4858         method.
4859         (Encoder.canEncode): Likewise.
4860         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4861         method.
4862         (Encoder.canEncode): Likewise.
4863
4864 2006-09-25  Tom Tromey  <tromey@redhat.com>
4865
4866         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4867         (Balloc): Updated.
4868
4869 2006-09-25  Francis Kung  <fkung@redhat.com>
4870
4871         * java/awt/image/ColorModel.java
4872         (coerceData): Made abstract.
4873         (coerceDataWorker): New protected method.
4874         * java/awt/image/ComponentColorModel.java
4875         (coerceData): Return new instance of proper ColorModel.
4876         * java/awt/image/DirectColorModel.java
4877         (coerceData): Return new instance of proper ColorModel.
4878         * java/awt/image/IndexColorModel.java
4879         (coerceData): New method.
4880
4881 2006-09-24  Casey Marshall  <csm@gnu.org>
4882
4883         * gnu/java/nio/FileChannelImpl.java
4884         (read): call `read' in a loop, don't use `readScattering.'
4885         (write): call `write' in a loop, don't use `writeGathering.'
4886
4887 2006-09-24  Mark Wielaard  <mark@klomp.org>
4888
4889         * configure.ac: Move -pedantic from WARNING to STRICT flags.
4890
4891 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4892
4893         * java/nio/channels/spi/AbstractSelectableChannel.java
4894         (register): Set interestOps and attachment when the key already
4895         exists.
4896
4897 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4898
4899         * java/net/ServerSocket.java
4900         (bind(SocketAddress,int)): Added support for null address.
4901         Throw proper exception if already bound.
4902         Handle unresolved addresses correctly. Ignore exceptions that
4903         happen during close in error path (to prevent losing the original
4904         exception.)
4905
4906 2006-09-24  Mark Wielaard  <mark@klomp.org>
4907
4908         Suggested by Aaron M. Ucko <ucko@debian.org>
4909         Fixes bug #29203
4910         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4911
4912 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4913
4914         * java/nio/channels/spi/AbstractSelectableChannel.java
4915         (implCloseChannel): Cancel all keys after closing the channel.
4916
4917 2006-09-22  Casey Marshall  <csm@gnu.org>
4918
4919         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4920         after we delete them.
4921         (selectedKeys): return an empty set if nothing's been selected.
4922         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4923         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4924         throw an exception on EBADF.
4925         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4926         throw exception on EINTR, just return 0.
4927         
4928 2006-09-22  Casey Marshall  <csm@gnu.org>
4929
4930         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4931         remove `const' from `filename.'
4932         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4933         `filename.'
4934         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4935
4936 2006-09-22  Casey Marshall  <csm@gnu.org>
4937
4938         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4939         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4940         allocate `filename,' and handle changes to `cpio_readDir.'
4941         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4942         available; copy the filename into the destination buffer; return
4943         an error code if readdir returns NULL, but errno is 0.
4944         * native/jni/native-lib/cpio.h (cpio_readDir): change second
4945         parameter to `const char *.'
4946
4947 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4948
4949         * javax/management/ObjectName.java:
4950         Implemented.
4951         
4952 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4953
4954         * resource/gnu/classpath/tools/orbd: New directory.
4955         * resource/gnu/classpath/tools/rmic: Likewise.
4956         * resource/gnu/classpath/tools/rmid: Likewise.
4957         * resource/gnu/classpath/tools/rmiregistry: Likewise.
4958         * resource/gnu/classpath/tools/tnameserv: Likewise.
4959         * tools/gnu/classpath/tools/giop: Move contents to...
4960         * tools/gnu/classpath/tools/orbd,
4961         tools/gnu/classpath/tools/tnameserv: New directories.
4962         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4963         * tools/gnu/classpath/tools/rmic: New directory.
4964         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4965         * tools/gnu/classpath/tools/rmid: New directory.
4966         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4967         * tools/gnu/classpath/tools/rmiregistry: New directory.
4968         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4969         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4970         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4971         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4972         Likewise.
4973         * resource/gnu/classpath/tools/tnameserv/messages.properties:
4974         Likewise.
4975         * tools/gnu/classpath/tools/orbd/Main.java,
4976         tools/gnu/classpath/tools/orbd/Messages.java,
4977         tools/gnu/classpath/tools/orbd/PersistentContext.java,
4978         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4979         tools/gnu/classpath/tools/orbd/PersistentMap.java,
4980         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4981         tools/gnu/classpath/tools/rmic/CompilationError.java,
4982         tools/gnu/classpath/tools/rmic/Generator.java,
4983         tools/gnu/classpath/tools/rmic/GiopIo.java,
4984         tools/gnu/classpath/tools/rmic/HashFinder.java,
4985         tools/gnu/classpath/tools/rmic/Main.java,
4986         tools/gnu/classpath/tools/rmic/Messages.java,
4987         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4988         tools/gnu/classpath/tools/rmic/RMICException.java,
4989         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4990         tools/gnu/classpath/tools/rmic/RmicBackend.java,
4991         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4992         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4993         tools/gnu/classpath/tools/rmic/Variables.java,
4994         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4995         tools/gnu/classpath/tools/rmic/templates,
4996         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4997         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4998         tools/gnu/classpath/tools/rmid/Main.java,
4999         tools/gnu/classpath/tools/rmid/Messages.java,
5000         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5001         tools/gnu/classpath/tools/rmiregistry/Main.java,
5002         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5003         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5004         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5005         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5006         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5007         tools/gnu/classpath/tools/tnameserv/Main.java,
5008         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5009         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5010         RMIC.java from cp-tools.
5011         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5012         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5013         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5014         and grmic.
5015         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5016         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5017         Rename...
5018         (start): New method.
5019         * tools/Makefile.am: Add build support for new tool wrappers.
5020         * tools/gorbd.in: New file.
5021         * tools/grmic.in: Likewise.
5022         * tools/grmid.in: Likewise.
5023         * tools/grmiregistry.in: Likewise.
5024         * tools/gtnameserv.in: Likewise.
5025         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5026         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5027         file.
5028         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5029         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5030         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5031
5032 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5033
5034         Fixes bug #29047
5035         * gnu/java/util/regex/RETokenRepeated.java
5036         (findMatch): Rewriten without using recursive calls,
5037         (FindMatchControlStack): New class,
5038         (FindMatchControl): New class,
5039         (TryAnotherResult): New class,
5040         (tryAnother): New method.
5041
5042 2006-09-22  Gary Benson  <gbenson@redhat.com>
5043
5044         * java/net/SocketPermission.java
5045         (processHostport): Cope with IPv6 addresses with a
5046         one-digit first component.
5047
5048 2006-09-22  Roman Kennke  <kennke@aicas.com>
5049
5050         * java/awt/Component.java
5051         (enableEvents): Set newEventsOnly flag.
5052         * java/awt/Container.java
5053         (dispatchEventImpl): Consume event if lightweight dispatcher
5054         dispatched the event. Don't call processEvent() here, this
5055         is already done in Component.dispatchEventImpl(). For
5056         heavyweights or when the lightweight dispatcher could
5057         not dispatch, fall back to calling super.
5058         (dispatchNoLightweight): New helper method to avoid
5059         recursivly calling the lightweight dispatcher.
5060         * java/awt/LightweightDispatcher.java
5061         (dragButton): Removed field.
5062         (dragTarget): Removed field.
5063         (mouseEventTarget): New field.
5064         (convertPointToChild): Removed method.
5065         (dispatchEvent): Don't depend on component beeing
5066         a window.
5067         (findTarget): Improved algorithm for finding a target.
5068         Before we went down to the deepest component and went
5069         up again to find a suitable target. Now we go
5070         down only once, without going up.
5071         (handleMouseEvent): Broke method down into some smaller
5072         helper methods.
5073         (isDragging): New helper method.
5074         (isMouseListening): New helper method.
5075         (redispatch): New helper method.
5076         (trackEnterExit): New helper method.
5077
5078 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5079
5080         * javax/swing/SizeSequence.java
5081         (getSize): Return 0 if index is out of bounds.
5082
5083 2006-09-21  Tom Tromey  <tromey@redhat.com>
5084
5085         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5086         (PathOptionGroup): Make -I a joined option.
5087         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5088         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5089         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5090         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5091         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5092         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5093         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5094         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5095         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5096         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5097         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5098         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5099         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5100         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5101         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5102         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5103         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5104         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5105         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5106         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5107         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5108         unused entries.
5109         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5110         * tools/gnu/classpath/tools/common/Messages.java: New file.
5111         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5112         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5113         from getopt.
5114         (ClasspathToolParser): Add -J option here.
5115         (ClasspathToolParser): Call other constructor in this class.
5116         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5117         Handle joined options.
5118         (handleShortOptions): Likewise.
5119         (handleShortOption): Removed.
5120         (finalGroup): New field.
5121         (Parser): Initialize new field.  Don't add -J option.
5122         (addFinal): New method.
5123         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5124         isJoined.
5125         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5126         (Option): Check short option for validity.
5127         (Option): New constructors.
5128         (joined): New field.
5129
5130 2006-09-21  csm  <csm@pollux.local>
5131
5132         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5133         `InterruptedIOException;' try again if it gets thrown.
5134         (receive): likewise, but re-throw `SocketTimeoutException.'
5135         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5136         if we have nothing to select.
5137
5138 2006-09-21  Francis Kung  <fkung@redhat.com>
5139
5140         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5141         (getLogicalBounds): Respect glyph transformations.
5142         (getGlyphOutline): Added null pointer check.
5143         (getGlyphTransform): Do not generate identity transform (API permits null).
5144         (setGlyphPosition): Do not invalidate transform.
5145         (setGlyphTransform): Do not modify glyph position.
5146
5147 2006-09-21  Francis Kung  <fkung@redhat.com>
5148
5149         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5150
5151 2006-09-21  Francis Kung  <fkung@redhat.com>
5152
5153         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5154         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5155         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5156
5157 2006-09-21  Tania Bento  <tbento@redhat.com>
5158
5159         * javax/swing/JTabbedPane.java:
5160         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5161         (setModel): A ChangeListener should be created only if there does not 
5162         currently exist one.
5163
5164 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5165
5166         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5167         (MaximizeAction.actionPerformed): Change icon on maxButton.
5168
5169 2006-09-21  Roman Kennke  <kennke@aicas.com>
5170
5171         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5172         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5173         Use more efficient getViewPosition() and getViewSize() methods
5174         to avoid creating a rectangle.
5175         (HSBChangeListener.stateChanged): Update the view position
5176         unconditionally. Let the Viewport figure out if something
5177         changed.
5178         (VSBChangeListener.stateChanged): Update the view position
5179         unconditionally. Let the Viewport figure out if something
5180         changed.
5181         * javax/swing/JViewport.java
5182         (ViewListener.componentResized): Fire state change, because
5183         the extentSize changes.
5184         (extentSize): Removed unneeded field.
5185         (viewSize): Removed unneeded field.
5186         (getExtentSize): Return the viewport's size here.
5187         (getViewRect): Reformatted.
5188         (getViewSize): Reordered for only one return statement.
5189         (paintImmediately2): Fixed up javadoc.
5190         (paint): Removed unneeded statement.
5191         (setExtentSize): Set viewport size and check for actual change
5192         of value.
5193         (setViewPosition): Simplified condition. Set scrollUnderway
5194         true and don't set isViewSizeSet. Avoid creating one Point
5195         object.
5196         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5197         to false.
5198         * javax/swing/JScrollBar.java
5199         (ScrollBarListener): New class. Forwards change events from
5200         the model as adjustment events.
5201         (sbChangeListener): New field.
5202         (JScrollBar): Install listener on new model.
5203         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5204         method.
5205         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5206         method to allow custom isAdjusting value.
5207         (setMaximum): Only forward to model.
5208         (setMinimum): Only forward to model.
5209         (setValue): Only forward to model.
5210         (setVisibleAmount): Only forward to model.
5211         (setValues): Only forward to model.
5212         (setModel): Update the change listener.
5213
5214 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5215
5216         * java/util/Formatter.java (basicIntegralConversion): Removed 
5217         check for ZERO && !LEFT_JUSTIFY.
5218                 
5219 2006-09-20  Roman Kennke  <kennke@aicas.com>
5220
5221         PR 29036
5222         * javax/swing/plaf/metal/DefaultMetalTheme.java
5223         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5224         (BOLD_CONTROL_TEXT_FONT): New constant field.
5225         (PLAIN_MENU_TEXT_FONT): New constant field.
5226         (BOLD_MENU_TEXT_FONT): New constant field.
5227         (controlTextFont): Removed.
5228         (menuTextFont): Removed.
5229         (CONTROL_TEXT_FONT): New constant field.
5230         (MENU_TEXT_FONT): New constant field.
5231         (getControlTextFont): Use getFont() helper method for fetching
5232         the correct font.
5233         (getMenuTextFont): Use getFont() helper method for fetching
5234         the correct font.
5235         (getFont): New helper method.
5236         (isBoldMetal): New helper method.
5237
5238 2006-09-20  Casey Marshall  <csm@gnu.org>
5239
5240         * NEWS: mention epoll selector along with the kqueue one.
5241
5242 2006-09-20  Casey Marshall  <csm@gnu.org>
5243
5244         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5245         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5246
5247 2006-09-20  Francis Kung  <fkung@redhat.com>
5248
5249         PR 29011
5250         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5251         (getGlyphTransform): Use translation instead of scale.
5252         (performDefaultLayout): Increment position values instead of resetting, and
5253         pre-increment instead of post-increment.
5254         (setGlyphTransform): Handle null case with identity transform.
5255
5256 2006-09-20  Casey Marshall  <csm@gnu.org>
5257
5258         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5259         (AC_CHECK_FUNCS): check for `epoll_create.'
5260         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5261         * gnu/java/nio/EpollSelectorImpl.java: new file.
5262         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5263         field.
5264         (openSelector): return epoll selector if requested and available.
5265         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5266         (gnu_java_nio_EpollSelectorImpl.h): new target.
5267         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5268         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5269         gnu_java_nio_EpollSelectorImpl.c.
5270         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5271
5272 2006-09-20  Casey Marshall  <csm@gnu.org>
5273
5274         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5275         call `isConnected.'
5276         (isConnected): return false if `connectionPending' is true.
5277
5278 2006-09-20  Francis Kung  <fkung@redhat.com>
5279
5280         PR 29011
5281         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5282         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5283         (getGlyphOutline): Call getGylphTransform to generate transform.
5284         (getGylphPosition): Read position directly out of array.
5285         (getGlyphPositions): Read positions directly out of array.
5286         (getGlyphTransform): Generate transform based on gylphPositions array.
5287         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5288         (setGlyphPosition): Set position directly into array.
5289         (setGlyphTransform): Update positions array as well.
5290
5291 2006-09-20  David Daney  <ddaney@avtrex.com>
5292
5293         PR classpath/28661
5294         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5295         default content-type for POST method.
5296
5297 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5298
5299         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5300         (BasicRadioButtonUI): Don't fetch icon here,
5301         (installDefaults): Initialise icon here,
5302         (getDefaultIcon): Just return icon.
5303
5304 2006-09-20  Mark Wielaard  <mark@klomp.org>
5305
5306         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5307         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5308         (EXTRA_DIST): Include javanio.c.
5309
5310 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5311
5312         * java/awt/geom/RoundRectangle2D.java:
5313         (getPathIterator): Reimplemented,
5314         and updated various API doc comments.
5315
5316 2006-09-20  Roman Kennke  <kennke@aicas.com>
5317
5318         * java/awt/Container.java
5319         (addImpl): Set the new component's parent after it has been
5320         added to the array. Call addNotify() and invalidate()
5321         after the component has been added, so that the peer
5322         gets to know about the component structure when it is created.
5323         * java/awt/Window.java
5324         (dispatchEventImpl): Only revalidate when window is resized,
5325         let the other stuff be processed by the superclass.
5326         (dispose): Post WINDOW_CLOSED event only when some listener
5327         is registered or event is explicitly enabled.
5328         (show): Post WINDOW_OPENED event when appropriate.
5329
5330 2006-09-20  Roman Kennke  <kennke@aicas.com>
5331
5332         * java/awt/Component.java
5333         (addNotify): Invalidate here. Fetch peer font.
5334         (getFont): Delegate to helper method, to protect from
5335         overriding client code. Lock the tree while fetching the font.
5336         (getFontImpl): New helper method. Moved code from getFont() in
5337         here.
5338         (removeNotify): Nullify peerFont too.
5339         (setFont): Synchronize on tree and component to avoid threading
5340         issues. Update the peerFont correctly.
5341         (validate): Update the peer font if necessary, before validating.
5342         (getGraphics): Revert to recursive graphics fetching.
5343         Set component font on the Graphics object.
5344         (translateEvent): Removed unnecessary cast.
5345         * java/awt/Container.java
5346         (invalidateTree): Made final and private. Made implementation
5347         slightly more efficient.
5348         (setFont): Get old and new font via getFont() to account for
5349         the real font, and only invalidate the tree when they are not
5350         the same and not equal.
5351         (visitChild): Set the font of the child on the component graphics.
5352         * java/awt/Frame.java
5353         (setMenuBar): Create local reference of peer for thread safety.
5354         Only call simple invalidate, not invalidateTree().
5355
5356 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5357
5358         PR 29012
5359         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5360         (constructor): Copy image field.
5361
5362 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5363
5364         * javax/swing/JMenuBar.java
5365         (getHelpMenu): Implemented to throw an Error, and added API docs,
5366         (getMargin): Added API docs,
5367         (setMargin): Likewise.
5368
5369 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5370
5371         * javax/swing/AbstractButton.java
5372         (AbstractButton): Don't call updateUI(),
5373         * javax/swing/JButton.java
5374         (JButton(String, Icon)): Call setModel() before init(),
5375         * javax/swing/JMenuItem.java
5376         (JMenuItem()): Delegate to another constructor,
5377         (JMenuItem(Icon)): Likewise,
5378         (JMenuItem(Action)): Set model,
5379         (JMenuItem(String, Icon)): Likewise,
5380         * javax/swing/JToggleButton.java
5381         (init): Call setModel() before init().
5382
5383 2006-09-19  Mark Wielaard  <mark@klomp.org>
5384
5385         Fixes bug #29137
5386         * java/util/logging/LogManager.java (addLogger): Always check for
5387         existing children of a new Logger.
5388
5389 2006-09-19  Roman Kennke  <kennke@aicas.com>
5390
5391         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5392         (HSBChangeListener.stateChanged): Moved handling of header to
5393         syncScrollPaneWithViewport().
5394         (VSBChangeListener.stateChanged): Moved handling of header to
5395         syncScrollPaneWithViewport().
5396         (ViewportChangedHandler.stateChanged): Removed unused statements.
5397         (syncScrollPaneWithViewport): Added null checks. Use setValues
5398         rather then the single setter methods to avoid multiple
5399         adjustments and side effects. Also snyc the headers here.
5400         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5401         (uninstallUI): Removed unnecessary cast and this qualifier as well
5402         as the call to super.
5403
5404 2006-09-19  Gary Benson  <gbenson@redhat.com>
5405
5406         * java/net/ResolverCache.java: New class (a DNS cache).
5407         * java/net/InetAddress.java
5408         (internalGetCanonicalHostName, getAllByName): Use the above.
5409
5410 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5411
5412         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5413         * java/net/ServerSocket.java
5414         (port): New field.
5415         (bind): Set port field.
5416         (close): Set impl to null.
5417         (isClosed): Check impl and channel instead of using VMChannel.
5418         (toString): Use port field and getLocalPort() method.
5419         * java/net/Socket.java
5420         (isClosed): Check impl and channel instead of using VMChannel.
5421
5422 2006-09-18  Tom Tromey  <tromey@redhat.com>
5423
5424         * java/util/concurrent/CopyOnWriteArrayList.java
5425         (CopyOnWriteArrayList): New constructor.
5426
5427 2006-09-18  Casey Marshall  <csm@gnu.org>
5428
5429         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5430         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5431
5432 2006-09-18  Tom Tromey  <tromey@redhat.com>
5433
5434         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5435         isConnected): Removed old comment.
5436         (getRemoteSocketAddress): Uncommented.
5437         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5438         setTrafficClass, getTrafficClass, setReuseAddress,
5439         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5440         isOutputShutdown): Uncommented.
5441
5442 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5443
5444         Fixes PR 28589
5445         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5446           input stream during resolution.
5447
5448 2006-09-18  Roman Kennke  <kennke@aicas.com>
5449
5450         * java/awt/LightweightDispatcher.java
5451         (findTarget): Correctly translate child coordinates.
5452         Use Component.eventTypeEnabled() for checking if a component
5453         has a certain event enabled.
5454         (handleMouseEvent): Find the correct mouse event target.
5455         Use Component.eventTypeEnabled() for checking if a component
5456         has a certain event enabled.
5457
5458 2006-09-18  Roman Kennke  <kennke@aicas.com>
5459
5460         * java/awt/Component.java
5461         (show): Test for the peer beeing lightweight directly.
5462         (paintAll): Validate before painting. Don't paint when not
5463         showing. Call peer.paint() when the component is heavyweight.
5464         (repaint): Delegate to the parent when lightweight, rather
5465         than skipping to the nearest heavyweight.
5466         (createImage): Added null check to prevent NPE.
5467         (dispatchEvent): Moved old event dispatching and toolkit
5468         event dispatching to dispatchEventImpl.
5469         (addComponentListener): Don't enable event. Only add listener
5470         when not null. Switch to new event dispatching only.
5471         (addFocusListener): Likewise.
5472         (addHierarchyListener): Likewise.
5473         (addHierarchyBoundsListener): Likewise.
5474         (addKeyListener): Likewise.
5475         (addMouseListener): Likewise.
5476         (addMouseMotionListener): Likewise.
5477         (addMouseWheelListener): Likewise.
5478         (addInputMethodListener): Likewise.
5479         (coalesceEvents): For mouse events coalesce them only when
5480         their modifiers are equal. For paint events coalesce the events
5481         when one contains the other, without going through complicated
5482         heuristics.
5483         (dispatchEventImpl): Moved old event dispatching and toolkit
5484         event dispatching to dispatchEventImpl.
5485         (coalescePaintEvents): Removed.
5486         (HeavyweightInLightweightListener.componentHidden):
5487         Fixed condition.
5488         * java/awt/Container.java
5489         (addImpl): Don't enable events on lightweights.
5490         (remove): Reordered operations. Don't remove any listeners.
5491         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5492         Only removeNotify() when peer is != null. Only invalidate if 
5493         not already invalid. Only fire ContainerEvent if there is
5494         an interested listener or the event is enabled. Dispatch this
5495         event directly without the event queue.
5496         (removeAll): Likewise.
5497         (paintComponents): Only paint when showing. Also paint heavyweights.
5498         Don't paint the container itself.
5499         (removeNotify): Create local variables for improved thread safety.
5500         (addNotifyContainerChildren): Don't enable events for lightweights.
5501
5502 2006-09-18  Roman Kennke  <kennke@aicas.com>
5503
5504         * java/awt/EventQueue.java
5505         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5506         (next_in): Removed obsolete field.
5507         (next_out): Removed obsolete field.
5508         (queueHead): New field. Markes the head of the queue.
5509         (queueTail): New field. Markes the tail of the queue.
5510         (queue): Removed obsolete field.
5511         (EventQueue): Documented empty block.
5512         (getNextEvent): Changed array based implementation to single-linked
5513         list based implementation.
5514         (invokeAndWait): Use an Object as synchronization object rather
5515         than the current thread.
5516         (peekEvent(int)): Changed array based implementation to single-linked
5517         list based implementation.
5518         (peekEvent()): Changed array based implementation to single-linked
5519         list based implementation.
5520         (pop()): Changed array based implementation to single-linked
5521         list based implementation.
5522         (postEvent): Foward to postEventImpl.
5523         (postEventImpl): Changed array based implementation to single-linked
5524         list based implementation.
5525         (push): Changed array based implementation to single-linked
5526         list based implementation.
5527         * java/awt/AWTEvent.java
5528         (queueNext): New field. Implements a single-linked list for
5529         the EventQueue.
5530
5531 2006-09-17  Mark Wielaard  <mark@klomp.org>
5532
5533         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5534         resource from HTMLEditorKit.class.
5535
5536 2006-09-17  Mark Wielaard  <mark@klomp.org>
5537
5538         * javax/swing/plaf/basic/BasicToolBarUI.java
5539         (setBorderToNonRollover): Check whether border is null.
5540         (setBorderToRollover): Likewise.
5541
5542 2006-09-17  Mark Wielaard  <mark@klomp.org>
5543
5544         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5545
5546 2006-09-17  Mark Wielaard  <mark@klomp.org>
5547
5548         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5549         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5550         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5551         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5552         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5553
5554 2006-09-17  Casey Marshall  <csm@gnu.org>
5555
5556         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5557         unused.
5558
5559 2006-09-17  Chris Burdess  <dog@gnu.org>
5560
5561         Fixes PR 27610 27687.
5562         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5563         * gnu/xml/transform/SAXTemplatesHandler.java,
5564         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5565         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5566           SAXTransformerFactory.
5567
5568 2006-09-16  Casey Marshall  <csm@gnu.org>
5569
5570         * NEWS: updated.
5571         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5572         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5573         kqueue, and kevent.
5574         (HAVE_INET6): define if IPv6 is supported.
5575         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5576         (native_fd): removed.
5577         (impl): new field.
5578         (<init>): throw IOException; initialize fields.
5579         (finalize): removed.
5580         (getNativeFD): removed.
5581         (bind): use `PlainSocketImpl.bind.'
5582         (create): use `PlainSocketImpl.initSocket.'
5583         (disconnect): use `PlainSocketImpl.disconnect.'
5584         (getLocalPort): new method.
5585         (send): use `VMChannel.send.'
5586         (receive): use `VMChannel.receive.'
5587         (setOption): use `PlainSocketImpl.setOption.'
5588         (getOption): use `PlainSocketImpl.getOption.'
5589         (close): use `VMChannel.State.close.'
5590         (join): use `PlainSocketImpl.join.'
5591         (leave): use `PlainSocketImpl.leave.'
5592         (joinGroup, leaveGroup): implemented.
5593         * gnu/java/net/PlainSocketImpl.java: make non-final.
5594         (native_fd): removed.
5595         (impl): new field.
5596         (channel): new field.
5597         (<init>): initialize `impl.'
5598         (finalize, getNativeFD): removed.
5599         (setOption): use `PlainSocketImpl.setOption.'
5600         (getOption): use `PlainSocketImpl.getOption.'
5601         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5602         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5603         (create): create `channel,' initialize `impl's native state.
5604         (connect): use `connect(SocketAddress, int).'
5605         (connect): use `SocketChannelImpl.connect;' initialize `address'
5606         and `port.'
5607         (bind): use `VMPlainSocketImpl.bind.'
5608         (listen): use `VMPlainSocketImpl.listen.'
5609         (accept): use `SocketChannelImpl.accept.'
5610         (available): use `VMChannel.available.'
5611         (close): use `PlainSocketImpl.close.'
5612         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5613         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5614         getPort): new methods.
5615         (SocketInputStream.read): use `VMChannel.read.'
5616         (SocketInputStream.read): use `SocketChannel.read.'
5617         (SocketOutputStream.write): use `VMChannel.write.'
5618         (SocketOutputStream.write): use `SocketChannel.write.'
5619         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5620         (channel): new field.
5621         (<init>): initialize `channel.'
5622         (implCloseSelectableChannel): use `VMChannel.close.'
5623         (implConfigureBlocking): use `VMChannel.setBlocking.'
5624         (connect): use `VMChannel.connect.'
5625         (disconnect): use `VMChannel.disconnect.'
5626         (isConnected): use `VMChannel.getPeerAddress.'
5627         (write): use `VMChannel.write.'
5628         (write): use `VMChannel.writeGathering.'
5629         (read): use `VMChannel.read.'
5630         (read): use `VMChannel.readScattering.'
5631         (receive): use `VMChannel.receive.'
5632         (send): use `VMChannel.send.'
5633         (getVMChannel): new method.
5634         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5635         access native FD through VMChannel.State.
5636         * gnu/java/nio/FileChannelImpl.java: moved from
5637         gnu/java/nio/channels/FileChannelImpl.java.
5638         * gnu/java/nio/FileLockImpl.java: fix imports.
5639         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5640         * gnu/java/nio/KqueueSelectorImpl.java: new file.
5641         * gnu/java/nio/NIOSocket.java (impl): removed.
5642         (channel): new field.
5643         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5644         (getPlainSocketImpl, setChannel): removed.
5645         (isConnected): new method.
5646         * gnu/java/nio/NIOSocketImpl.java: new file.
5647         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5648         `VMChannelOwner.'
5649         (SourceChannelImpl.native_fd): removed.
5650         (SourceChannelImpl.<init>): init with a `VMChannel.'
5651         (SourceChannelImpl.getNativeFD): removed.
5652         (SourceChannelImpl.getVMChannel): new method.
5653         (SourceChannelImpl.implCloseSelectableChannel): implement.
5654         (SinkChannelImpl): implement `VMChannelOwner.'
5655         (SinkChannelImpl.native_fd): removed.
5656         (SinkChannelImpl.<init>): init with a `VMChannel.'
5657         (SinkChannelImpl.implCloseSelectableChannel): implement.
5658         (SinkChannelImpl.getNativeFD): removed.
5659         (SinkChannelImpl.getVMChannel): new method.
5660         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5661         deprecated.
5662         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5663         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5664         (openSelector): return kqueue selector if available.
5665         * gnu/java/nio/ServerSocketChannelImpl.java: implement
5666         `VMChannelOwner.'
5667         (channel): new field.
5668         (<init>): init `channel.'
5669         (finalizer): check if the `VMChannel.State' is valid.
5670         (implCloseSelectableChannel): use `VMChannel.close.'
5671         (implConfigureBlocking): use `VMChannel.setBlocking.'
5672         (accept): use `VMChannel.accept.'
5673         (getVMChannel): new method.
5674         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5675         access native FD through `VMChannel.State.'
5676         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5677         (impl): removed.
5678         (channel, connected, connectAddress): new field.
5679         (<init>): new constructors.
5680         (getPlainSocketImpl): removed.
5681         (implCloseSelectableChannel): use `VMChannel.close.'
5682         (implConfigureBlocking): use `VMChannel.setBlocking.'
5683         (connect): use `connect(SocketAddress,int).'
5684         (connect): use `VMChannel.connect.'
5685         (finishConnect): don't use a selector.
5686         (isConnected): use `VMChannel.getPeerAddress.'
5687         (read): use `VMChannel.read.'
5688         (read): use `VMChannel.readScattering.'
5689         (write): use `VMChannel.write.'
5690         (write): use `VMChannel.writeGathering.'
5691         (getVMChannel): new method.
5692         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5693         native FD from `VMChannel.State.'
5694         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5695         get native FD from `VMChannel.State.'
5696         * gnu/java/nio/VMChannelOwner.java: new file.
5697         * gnu/java/nio/channels/FileChannelImpl.java: removed.
5698         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5699         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5700         `gnu_java_nio_channels_FileChannelImpl.h.'
5701         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5702         * include/gnu_java_nio_FileChannelImpl.h: new file.
5703         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5704         * include/gnu_java_nio_VMChannel.h: regenerated.
5705         * include/gnu_java_nio_VMPipe.h: regenerated.
5706         * include/java_net_VMNetworkInterface.h: regenerated.
5707         * java/io/FileDescriptor.java: fix imports.
5708         * java/io/FileInputStream.java (<init>): handle exceptions.
5709         (read): wrap the destination arary.
5710         * java/io/FileOutputStream.java (<init>): handle exceptions.
5711         (write): wrap the source array.
5712         * java/io/RandomAccessFile.java (<init>): handle exceptions.
5713         * java/net/DatagramSocket.java (<init>): handle exceptions.
5714         (receive): handle length/port setting.
5715         (connect): bind to any address/port if the argument is null.
5716         * java/net/NetworkInterface.java (name, inetAddress): removed.
5717         (netif): new field.
5718         (<init>): make private.
5719         (getName): return `netif.name.'
5720         (getInetAddresses): access `netif.addresses.'
5721         (getDisplayName): return `netif.name.'
5722         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5723         (condense): removed.
5724         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5725         (equals): compare `netif' fields.
5726         (hashCode): get hash codes from `netif.'
5727         (toString): use a StringBuffer.
5728         * java/net/ServerSocket.java (close): don't set `impl' to null.
5729         (isClosed): use `VMChannel.State.isClosed.'
5730         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5731         the `SocketImpl' is a `PlainSocketImpl.'
5732         (close): just close the `impl.'
5733         (toString): use `super.toString' in the value we return.
5734         (isConnected): just access `impl,' not `getImpl.'
5735         (isBound): use `PlainSocketImpl' methods if we can.
5736         (isClosed): look at `VMChannel.State.'
5737         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5738         (JCL_NewRawDataObject): don't initialize cached fields here; throw
5739         an exception if they were not.
5740         (JCL_GetRawData): throw an exception if cached fields weren't
5741         created.
5742         * native/jni/java-lang/java_lang_VMProcess.c: handle
5743         FileChannelImpl move.
5744         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5745         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5746         THROW_NO_NETWORK): new macros.
5747         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5748         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5749         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5750         (java_sockopt): new enum.
5751         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5752         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5753         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5754         reimplemented.
5755         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5756         reimplemented.
5757         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5758         function.
5759         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5760         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5761         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5762         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5763         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5764         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5765         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5766         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5767         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5768         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5769         (getif_address): new function.
5770         (getif_index): new function.
5771         * native/jni/java-net/java_net_VMNetworkInterface.c
5772         (java_net_VMNetworkInterface_init,
5773         java_net_VMNetworkInterface_addAddress): new file-scope globals.
5774         (Java_java_net_VMNetworkInterface_initIds): new function.
5775         (struct netif_entry): new struct.
5776         (free_netif_list): new function.
5777         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5778         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5779         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5780         gnu_java_nio_channels_FileChannelImpl.c, add
5781         gnu_java_nio_KqueueSelectorImpl.c.
5782         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5783         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5784         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5785         ALIGN_DOWN): new macros.
5786         (JCL_init_buffer): get the address through GetDirectBufferAddress
5787         if possible.
5788         (Java_gnu_java_nio_VMChannel_stdin_1fd,
5789         Java_gnu_java_nio_VMChannel_stdout_1fd,
5790         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5791         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5792         value.
5793         (Java_gnu_java_nio_VMChannel_read): renamed...
5794         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5795         this; handle interrupted IO; add HAVE_READ check.
5796         (Java_gnu_java_nio_VMChannel_write): renamed...
5797         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5798         this; handle zero-length write; add HAVE_WRITE check.
5799         (Java_gnu_java_nio_VMChannel_receive): new function.
5800         (Java_gnu_java_nio_VMChannel_send): new function.
5801         (Java_gnu_java_nio_VMChannel_send6): new function.
5802         (Java_gnu_java_nio_VMChannel_read__I): new function.
5803         (Java_gnu_java_nio_VMChannel_write__II): new function.
5804         (Java_gnu_java_nio_VMChannel_socket): new function.
5805         (Java_gnu_java_nio_VMChannel_connect): new function.
5806         (Java_gnu_java_nio_VMChannel_connect6): new function.
5807         (Java_gnu_java_nio_VMChannel_getsockname): new function.
5808         (Java_gnu_java_nio_VMChannel_getpeername): new function.
5809         (Java_gnu_java_nio_VMChannel_accept): new function.
5810         (Java_gnu_java_nio_VMChannel_disconnect): new function.
5811         (Java_gnu_java_nio_VMChannel_close): new function.
5812         (Java_gnu_java_nio_VMChannel_available): new function.
5813         (FileChannel_mode): new enum.
5814         (Java_gnu_java_nio_VMChannel_open): new function.
5815         (Java_gnu_java_nio_VMChannel_position): new function.
5816         (Java_gnu_java_nio_VMChannel_seek): new function.
5817         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5818         (Java_gnu_java_nio_VMChannel_lock): new function.
5819         (Java_gnu_java_nio_VMChannel_unlock): new function.
5820         (Java_gnu_java_nio_VMChannel_size): new function.
5821         (Java_gnu_java_nio_VMChannel_map): new function.
5822         (Java_gnu_java_nio_VMChannel_flush): new function.
5823         * native/jni/java-nio/gnu_java_nio_VMPipe.c
5824         (Java_gnu_java_nio_VMPipe_init): removed.
5825         (Java_gnu_java_nio_VMPipe_pipe0): new function.
5826         * native/jni/java-nio/javanio.c: new file.
5827         * native/jni/java-nio/javanio.h: new file.
5828         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5829         systems without `gethostbyname_r.'
5830         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5831         field.
5832         (<init>, <init>): new constructors.
5833         (setOption, getOption): make instance methods; defer to native
5834         implementation.
5835         (connect): removed.
5836         (bind): make an instance method; defer to native methods.
5837         (accept): removed.
5838         (available): removed.
5839         (listen): make an instance method; defer to native method.
5840         (read): removed.
5841         (join, leave): new methods.
5842         (write): removed.
5843         (joinGroup, leaveGroup): new methods.
5844         (shutdownInput, shutdownOutput): make instance methods.
5845         (sendUrgentData): removed.
5846         (State): new class.
5847         * vm/reference/gnu/java/nio/VMChannel.java: make final.
5848         (fd): removed.
5849         (nfd): new field.
5850         (<init>): new, public constructors.
5851         (getVMChannel): methods removed.
5852         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5853         stderr_fd): new methods.
5854         (setBlocking): make an instance method.
5855         (available): new method.
5856         (read): get native fd from `nfd.'
5857         (read): new single-byte read method.
5858         (readScattering): get native fd from `nfd.'
5859         (receive): new method.
5860         (write, writeGathering): get native fd from `nfd.'
5861         (send): new method.
5862         (write): new single-byte write method.
5863         (initSocket): new method.
5864         (connect): new method.
5865         (disconnect): new method.
5866         (getLocalAddress): new method.
5867         (getPeerAddress): new method.
5868         (accept): new method.
5869         (openFile): new method.
5870         (position): new method.
5871         (seek): new method.
5872         (truncate): new method.
5873         (lock): new method.
5874         (unlock): new method.
5875         (size): new method.
5876         (map): new method.
5877         (flush): new method.
5878         (close): new method.
5879         (State): new class.
5880         (Kind): new class.
5881         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5882         (pipe, pipe0): new method.
5883         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5884         new fields.
5885         (<clinit>): call `initIds.'
5886         (initIds): new method.
5887         (getInterfaces): removed.
5888         (getVMInterfaces): new method.
5889         (addAddress): new method.
5890         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5891
5892 2006-09-16  Chris Burdess  <dog@gnu.org>
5893
5894         Fixes PR 28572.
5895         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5896           when in text output mode.
5897
5898 2006-09-16  Chris Burdess  <dog@gnu.org>
5899
5900         Fixes PR 27293.
5901         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5902
5903 2006-09-14  Michael Koch  <konqueror@gmx.de>
5904
5905         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5906
5907 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
5908
5909         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5910         Added !cl.isArray() to serialVersionUID mismatch check.
5911
5912 2006-09-14  Francis Kung  <fkung@redhat.com>
5913
5914         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5915         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5916         be compatibe with Cairo 1.2.x.
5917
5918 2006-09-14  Francis Kung  <fkung@redhat.com>
5919
5920         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5921         (cairoSurfaceSetFilter): Removed method.
5922         (drawImage): Pass interpolation type as argument to drawing methods.
5923         (drawPixels): Added interpolation parameter.
5924         (drawRaster): Pass interpolation type as argument to drawing method.
5925         (getInterpolation): New method.
5926         (setRenderingHint): Store hints, but do not set interpolation in cairo.
5927         (setRenderingHints): Store hints, but do not set interpolation in cairo.
5928         * gnu/java/awt/peer/gtk/CairoSurface.java
5929         (drawSurface): Added interpolation parameter.
5930         (nativeDrawSurface): Added interpolation parameter.
5931         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5932         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5933         parameter.
5934         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5935         * native/jni/gtk-peer/cairographics2d.h
5936         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5937         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5938         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5939         parameter.
5940         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5941         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5942         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5943         interpolation parameter.
5944
5945 2006-09-14  Gary Benson  <gbenson@redhat.com>
5946
5947         * java/net/InetAddress.java
5948         (internalGetCanonicalHostName): New method.
5949         (getCanonicalHostName): Use internalGetCanonicalHostName.
5950         (getByLiteral): New method.
5951         (getAllByName): Use getByLiteral.
5952         * java/net/SocketPermission.java
5953         (host): Replaced with...
5954         (hostname, address): New fields.
5955         (equals, hashcode): Reflect the above.
5956         (setHostPort): Parse host into hostname or address.
5957         (implies): Rewrite host checks.
5958
5959 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5960
5961         Fixes PR28699
5962         * java/awt/Menu.java
5963         (insert(MenuItem, int)): Fixed loop range,
5964         (insert(String, int)): Updated API docs.
5965
5966 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5967
5968         Fixes PR22800
5969         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5970         architectures (like Arm).
5971         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5972         Reverted SWAP_DOUBLE patch.
5973         (doubleToRawLongBits): Likewise.
5974         (longBitsToDouble): Likewise.
5975
5976 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5977
5978         * java/awt/Menu.java: Reformatted source file.
5979
5980 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5981
5982         * gnu/java/rmi/server/ActivatableRef.java
5983         (readExternal, writeExternal): Partial fix for serialization format.
5984
5985 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5986
5987         PR classpath/28984
5988         * java/io/InputStreamReader.java
5989         (read(char[],int,int)): Fixed bug.
5990
5991 2006-09-13  Francis Kung  <fkung@redhat.com>
5992
5993         * java/awt/image/BandCombineOp.java: Updated documentation.
5994         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5995
5996 2006-09-13  Tom Tromey  <tromey@redhat.com>
5997
5998         PR classpath/29034:
5999         * java/io/PipedReader.java (read): Return early if len==0.
6000         * java/io/PipedInputStream.java (read): Return early if len==0.
6001
6002 2006-09-13  Francis Kung  <fkung@redhat.com>
6003
6004         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6005         Removed hard-coded max sample value.
6006         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6007         Fixed finding of max sample value.
6008
6009 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6010
6011         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6012         (setPaint): Check null argument ('p').
6013
6014 2006-09-12  Francis Kung  <fkung@redhat.com>
6015
6016         PR 27940
6017         * gnu/java/awt/java2d/TexturePaintContext.java
6018         (constructor): Fixed typo, getMinY instead of getMaxX.
6019         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6020         (setPaint): Implemented support for custom Paint classes.
6021         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6022         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6023         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6024         to setPaintPixels, and added repeat parameter.
6025         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6026          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6027
6028 2006-09-12  Gary Benson  <gbenson@redhat.com>
6029
6030         * java/net/NetworkInterface.java (getInetAddresses):
6031         Fix port used in security check.
6032
6033 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6034
6035         * javax/swing/plaf/metal/DefaultMetalTheme.java
6036         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6037         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6038         (getControlTextFont): Check 'swing.boldMetal' setting before 
6039         initialising font,
6040         (getMenuTextFont): Likewise.
6041
6042 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6043
6044         * javax/swing/plaf/metal/OceanTheme.java
6045         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6046
6047 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6048
6049         * javax/swing/plaf/metal/MetalIconFactory.java
6050         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6051
6052 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6053
6054         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6055
6056 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6057
6058         * javax/swing/AbstractButton.java
6059         (AbstractButton): Initialise textIconGap field.
6060
6061 2006-09-11  Tom Tromey  <tromey@redhat.com>
6062
6063         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6064         "volatile" when needed.
6065
6066 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6067
6068         * java/text/AttributedCharacterIterator.java
6069         (LANGUAGE): Initialise with lower case string,
6070         (INPUT_METHOD_SEGMENT): Likewise,
6071         (READING): Likewise,
6072         * java/text/AttributedStringIterator.java
6073         (getRunLimit): Check all attributes for changes.
6074
6075 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6076
6077         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6078         renamed some variables (no underscores) and removed some spaces to
6079         match the common style,
6080         * java/text/AttributedString.java: Likewise,
6081         * java/text/AttributedStringIterator.java: Likewise.
6082
6083 2006-09-11  Gary Benson  <gbenson@redhat.com>
6084
6085         * java/net/Inet4Address.java
6086         (FAMILY): Renamed back to AF_INET.
6087         (<init>, writeReplace): Reflect the above.
6088         * java/net/Inet6Address.java
6089         (FAMILY): Renamed back to AF_INET6.
6090         (<init>): Reflect the above.
6091
6092 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6093
6094         Fixes PR29010
6095         * java/text/AttributedString.java
6096         (AttributedString(AttributedCharacterIterator, int, int, 
6097         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6098         attribute.
6099
6100 2006-09-11  Gary Benson  <gbenson@redhat.com>
6101
6102         * java/net/Inet4Address.java
6103         (AF_INET): Renamed to FAMILY.
6104         (<init>, writeReplace): Reflect the above.
6105         * java/net/Inet6Address.java
6106         (AF_INET6): Renamed to FAMILY.
6107         (<init>): Reflect the above.
6108
6109 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6110
6111         Fixes bug #28867
6112         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6113         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6114         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6115         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6116         (bind): Call getImpl().create(true).
6117
6118 2006-09-09  Chris Burdess  <dog@gnu.org>
6119
6120         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6121           an instance of org.w3c.dom.NodeList.
6122
6123 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6124
6125         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6126         missing security manager when run in standalone mode.
6127
6128 2006-09-08  Francis Kung  <fkung@redhat.com>
6129
6130         * java/awt/image/AffineTransformOp.java: Updated documentation.
6131         (createCompatibleDestRaster): Updated formatting.
6132         (filter(BufferedImage, BufferedImage)): Updated formatting.
6133         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6134         if colour model is compatible.
6135         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6136         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6137
6138 2006-09-08  Gary Benson  <gbenson@redhat.com>
6139
6140         * java/net/InetAddress.java
6141         (family): Updated javadoc and made private.
6142         (<init>): Add an address family argument.
6143         (readObject): Don't overwrite family.
6144         * java/net/Inet4Address.java
6145         (AF_INET): New constant.
6146         (<init>): Use AF_INET as the family.
6147         (writeReplace): Likewise.
6148         * java/net/Inet6Address.java
6149         (AF_INET6): New constant.
6150         (<init>): Use AF_INET6 as the family.
6151
6152 2006-09-08  Gary Benson  <gbenson@redhat.com>
6153
6154         * java/net/InetAddress.java
6155         (getHostName): Move lookup into getCanonicalHostName.
6156         (getCanonicalHostName): Move lookup from getHostName,
6157         Perform security check on canonical name (ie after lookup).
6158
6159 2006-09-08  Gary Benson  <gbenson@redhat.com>
6160
6161         * java/net/Inet4Address.java (isMulticastAddress,
6162         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6163         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6164         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6165         implementations from InetAddress.
6166         * java/net/InetAddress.java (isMulticastAddress,
6167         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6168         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6169         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6170         implementations with UnsupportedOperationExceptions.
6171         
6172 2006-09-08  Gary Benson  <gbenson@redhat.com>
6173
6174         * java/net/InetAddress.java
6175         (inaddr_any): Removed.
6176         (ANY_IF, LOCALHOST): Create using getByAddress.
6177         (<init>): Updated javadoc.
6178         (getHostName): Cache hostname even if the lookup failed.
6179         (getByAddress): Create Inet4Address objects when passed
6180         IPv4-mapped IPv6 addresses.
6181         (aton): Removed.
6182         (getAllByName): Create address objects using getByAddress.
6183         Do not perform security checks unless actually required.
6184         Do not strip whitespace from the hostname.
6185         (getInaddrAny): Removed.
6186         (getLocalHost): Return the loopback address if getByName
6187         throws a SecurityException.
6188         (readResolve): Updated javadoc.
6189         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6190         * include/java_net_VMInetAddress.h
6191         (Java_java_net_VMInetAddress_aton): Likewise.
6192         * native/jni/java-net/java_net_VMInetAddress.c
6193         (Java_java_net_VMInetAddress_aton): New method.
6194         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6195         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6196         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6197         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6198         * NEWS: Added note about updated VM interface.
6199
6200 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6201
6202         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6203         (setNorthPane): Assign component to titlePane.
6204
6205 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6206
6207         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6208         Remove unused variable alt_addr.
6209         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6210         Remove unused variables.
6211
6212 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6213
6214         * javax/swing/plaf/metal/MetalScrollBarUI.java
6215         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6216         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6217         (createIncreaseButton): Likewise.
6218
6219 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6220
6221         * java/awt/image/MemoryImageSource.java: Added API docs.
6222
6223 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6224
6225         * javax/swing/plaf/basic/BasicScrollBarUI.java
6226         (installDefaults): Call configureScrollBarColors().
6227
6228 2006-09-06  Francis Kung  <fkung@redhat.com>
6229
6230         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6231         (constructor): Make copy of arrays.
6232         (createCompatibleDestImage): Changed treatment of null ColorModel.
6233         (filter(BufferedImage, BufferedImage)): Re-implemented.
6234         (filter(Raster, WritableRaster, boolean[])): New method.
6235         (filter(Raster, WritableRaster)): Re-implemented.
6236         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6237         (getPoint2D): Cleaned up formatting.
6238         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6239
6240 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6241
6242         * javax/swing/UIManager.java
6243         (getBoolean(Object)): Reimplemented,
6244         (getBoolean(Object, Locale)): Likewise,
6245         (getBorder(Object)): Likewise,
6246         (getBorder(Object, Locale)): Likewise,
6247         (getColor(Object)): Likewise,
6248         (getColor(Object, Locale)): Likewise,
6249         (getDimension(Object)): Likewise,
6250         (getDimension(Object, Locale)): Likewise,
6251         (getFont(Object)): Likewise,
6252         (getFont(Object, Locale)): Likewise,
6253         (getIcon(Object)): Likewise,
6254         (getIcon(Object, Locale)): Likewise,
6255         (getInsets(Object)): Updated API docs,
6256         (getInsets(Object, Locale)): Likewise,
6257         (getInt(Object)): Reimplemented,
6258         (getInt(Object, Locale)): Likewise,
6259         (getString(Object)): Likewise,
6260         (getString(Object, Locale)): Likewise.
6261
6262 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6263
6264         * javax/swing/UIManager.java
6265         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6266         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6267
6268 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6269
6270         * javax/swing/plaf/metal/MetalLookAndFeel.java
6271         (initComponentDefaults): Corrected various font defaults.
6272
6273 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6274
6275         * java/awt/List.java: Added @since to various methods.
6276
6277 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6278
6279         * native/jni/native-lib/cpprocess.c:
6280         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6281         Add redirection of stdout to stderr.
6282         * native/jni/native-lib/cpprocess.h:
6283         Added redirect argument.
6284         * native/jni/java-lang/java_lang_VMProcess.c
6285         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6286         * vm/reference/java/lang/VMProcess.java: Likewise.
6287         * include/java_lang_VMProcess.h: Regenerated.
6288         
6289 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6290
6291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6292         __attribute to __attribute__.
6293
6294         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6295         header include.
6296
6297 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6298
6299         * java/awt/List.java: Source code reformatted.
6300
6301 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6302
6303         * gnu/CORBA/CollocatedOrbs.java,
6304         gnu/CORBA/SafeForDirectCalls.java: New files.
6305         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6306         Implement gnu.CORBA.SafeForDirectCalls.
6307         * gnu/CORBA/NamingService/Ext.java: Likewise.
6308         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6309         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6310         of the local host. (ior_to_object): Return the local object
6311         where possible. (run): Register/unregister this ORB.
6312         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6313         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6314         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6315         (constructors): Initialize noRetain. (_invoke): Drop servant
6316         if noRetain is true. (getHandler): Always seach for the new servant
6317         if noRetain is true.
6318         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6319         * NEWS: Added note about the new feature.
6320
6321 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6322
6323         * java/awt/Choice.java
6324         (addItem): Fixed API doc glitch.
6325
6326 2006-09-05  Francis Kung  <fkung@redhat.com>
6327
6328         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6329         (createCompatibleDestImage): Re-implemented.
6330         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6331         compatibility, and use ColorConvertOp for color conversion if needed.
6332         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6333
6334 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6335
6336         gnu/CORBA/CDR/Vio.java,
6337         org/omg/CORBA_2_3/ORB.java,
6338         org/omg/CORBA_2_3/portable/InputStream.java,
6339         org/omg/CORBA_2_3/portable/OutputStream.java,
6340         org/omg/CosNaming/BindingIteratorHelper.java,
6341         org/omg/CosNaming/BindingTypeHelper.java,
6342         org/omg/CosNaming/NameComponentHelper.java,
6343         org/omg/CosNaming/NameHelper.java,
6344         org/omg/CosNaming/NamingContextExtHelper.java,
6345         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6346         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6347         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6348         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6349         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6350         org/omg/CosNaming/NamingContextHelper.java,
6351         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6352         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6353         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6354         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6355         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6356         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6357         org/omg/DynamicAny/AnySeqHelper.java,
6358         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6359         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6360         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6361         org/omg/DynamicAny/DynAnyHelper.java,
6362         org/omg/DynamicAny/DynAnyOperations.java,
6363         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6364         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6365         org/omg/DynamicAny/DynAnySeqHelper.java,
6366         org/omg/DynamicAny/DynArrayHelper.java,
6367         org/omg/DynamicAny/DynEnumHelper.java,
6368         org/omg/DynamicAny/DynFixedHelper.java,
6369         org/omg/DynamicAny/DynSequenceHelper.java,
6370         org/omg/DynamicAny/DynStructHelper.java,
6371         org/omg/DynamicAny/DynStructOperations.java,
6372         org/omg/DynamicAny/DynUnionHelper.java,
6373         org/omg/DynamicAny/DynValueHelper.java,
6374         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6375         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6376         org/omg/IOP/CodecFactoryHelper.java,
6377         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6378         org/omg/IOP/CodecOperations.java,
6379         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6380         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6381         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6382         org/omg/IOP/ComponentIdHelper.java,
6383         org/omg/IOP/ExceptionDetailMessage.java,
6384         org/omg/IOP/MultipleComponentProfileHelper.java,
6385         org/omg/IOP/ProfileIdHelper.java,
6386         org/omg/IOP/ServiceContextListHelper.java,
6387         org/omg/IOP/ServiceIdHelper.java,
6388         org/omg/IOP/TAG_CODE_SETS.java,
6389         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6390         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6391         org/omg/PortableInterceptor/CurrentHelper.java,
6392         org/omg/PortableInterceptor/IORInfo.java,
6393         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6394         org/omg/PortableInterceptor/ORBIdHelper.java,
6395         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6396         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6397         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6398         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6399         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6400         org/omg/PortableInterceptor/RequestInfoOperations.java,
6401         org/omg/PortableInterceptor/ServerIdHelper.java,
6402         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6403         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6404         org/omg/PortableServer/AdapterActivatorOperations.java,
6405         org/omg/PortableServer/CurrentHelper.java,
6406         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6407         org/omg/PortableServer/ForwardRequestHelper.java,
6408         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6409         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6410         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6411         org/omg/PortableServer/LifespanPolicyValue.java,
6412         org/omg/PortableServer/POA.java,
6413         org/omg/PortableServer/POAHelper.java,
6414         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6415         org/omg/PortableServer/POAManagerPackage/State.java,
6416         org/omg/PortableServer/POAOperations.java,
6417         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6418         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6419         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6420         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6421         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6422         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6423         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6424         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6425         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6426         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6427         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6428         org/omg/PortableServer/ServantActivatorHelper.java,
6429         org/omg/PortableServer/ServantLocatorHelper.java,
6430         org/omg/PortableServer/ServantLocatorOperations.java,
6431         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6432         org/omg/PortableServer/ThreadPolicyValue.java,
6433         org/omg/PortableServer/_ServantActivatorStub.java,
6434         org/omg/PortableServer/_ServantLocatorStub.java,
6435         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6436
6437 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6438
6439         * javax/rmi/CORBA/Tie.java,
6440         org/omg/CORBA/AnyHolder.java,
6441         org/omg/CORBA/AnySeqHelper.java,
6442         org/omg/CORBA/AnySeqHolder.java,
6443         org/omg/CORBA/BooleanHolder.java,
6444         org/omg/CORBA/BooleanSeqHelper.java,
6445         org/omg/CORBA/BooleanSeqHolder.java,
6446         org/omg/CORBA/ByteHolder.java,
6447         org/omg/CORBA/CharHolder.java,
6448         org/omg/CORBA/CharSeqHelper.java,
6449         org/omg/CORBA/CharSeqHolder.java,
6450         org/omg/CORBA/Context.java,
6451         org/omg/CORBA/CurrentHelper.java,
6452         org/omg/CORBA/CustomValue.java,
6453         org/omg/CORBA/DataOutputStream.java,
6454         org/omg/CORBA/DefinitionKindHelper.java,
6455         org/omg/CORBA/DomainManagerOperations.java,
6456         org/omg/CORBA/DoubleHolder.java,
6457         org/omg/CORBA/DoubleSeqHelper.java,
6458         org/omg/CORBA/DoubleSeqHolder.java,
6459         org/omg/CORBA/DynAny.java,
6460         org/omg/CORBA/DynSequence.java,
6461         org/omg/CORBA/DynValue.java,
6462         org/omg/CORBA/DynamicImplementation.java,
6463         org/omg/CORBA/FieldNameHelper.java,
6464         org/omg/CORBA/FixedHolder.java,
6465         org/omg/CORBA/FloatHolder.java,
6466         org/omg/CORBA/FloatSeqHelper.java,
6467         org/omg/CORBA/FloatSeqHolder.java,
6468         org/omg/CORBA/IdentifierHelper.java,
6469         org/omg/CORBA/IntHolder.java,
6470         org/omg/CORBA/LocalObject.java,
6471         org/omg/CORBA/LongHolder.java,
6472         org/omg/CORBA/LongLongSeqHelper.java,
6473         org/omg/CORBA/LongLongSeqHolder.java,
6474         org/omg/CORBA/LongSeqHelper.java,
6475         org/omg/CORBA/LongSeqHolder.java,
6476         org/omg/CORBA/ORB.java,
6477         org/omg/CORBA/ObjectHelper.java,
6478         org/omg/CORBA/ObjectHolder.java,
6479         org/omg/CORBA/OctetSeqHelper.java,
6480         org/omg/CORBA/OctetSeqHolder.java,
6481         org/omg/CORBA/PolicyErrorCodeHelper.java,
6482         org/omg/CORBA/PolicyErrorHelper.java,
6483         org/omg/CORBA/PolicyHelper.java,
6484         org/omg/CORBA/PolicyListHelper.java,
6485         org/omg/CORBA/PolicyTypeHelper.java,
6486         org/omg/CORBA/PrincipalHolder.java,
6487         org/omg/CORBA/RepositoryIdHelper.java,
6488         org/omg/CORBA/Request.java,
6489         org/omg/CORBA/ShortHolder.java,
6490         org/omg/CORBA/ShortSeqHelper.java,
6491         org/omg/CORBA/ShortSeqHolder.java,
6492         org/omg/CORBA/StringSeqHelper.java,
6493         org/omg/CORBA/StringSeqHolder.java,
6494         org/omg/CORBA/ULongLongSeqHelper.java,
6495         org/omg/CORBA/ULongLongSeqHolder.java,
6496         org/omg/CORBA/ULongSeqHelper.java,
6497         org/omg/CORBA/ULongSeqHolder.java,
6498         org/omg/CORBA/UShortSeqHelper.java,
6499         org/omg/CORBA/UShortSeqHolder.java,
6500         org/omg/CORBA/ValueBaseHelper.java,
6501         org/omg/CORBA/ValueBaseHolder.java,
6502         org/omg/CORBA/VersionSpecHelper.java,
6503         org/omg/CORBA/WCharSeqHelper.java,
6504         org/omg/CORBA/WCharSeqHolder.java,
6505         org/omg/CORBA/WStringSeqHelper.java,
6506         org/omg/CORBA/WStringSeqHolder.java,
6507         org/omg/CORBA/WrongTransactionHelper.java,
6508         org/omg/CORBA/_IDLTypeStub.java,
6509         org/omg/CORBA/_PolicyStub.java,
6510         org/omg/CORBA/portable/BoxedValueHelper.java,
6511         org/omg/CORBA/portable/Delegate.java,
6512         org/omg/CORBA/portable/ObjectImpl.java,
6513         org/omg/CORBA/portable/ServantObject.java,
6514         org/omg/CORBA/portable/StreamableValue.java,
6515         org/omg/CosNaming/BindingType.java,
6516         org/omg/CosNaming/IstringHelper.java,
6517         org/omg/DynamicAny/FieldNameHelper.java,
6518         org/omg/PortableServer/Servant.java: Documentation fixes.
6519
6520 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6521
6522         * java/awt/Rectangle.java
6523         (setRect(double, double, double, double)): Modified rounding of input
6524         values.
6525
6526 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6527
6528         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6529         Disallow H1 - H6 in the paragraphs.
6530         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6531         (preprocess): Leave at most one leading and/or trailing space.
6532         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6533         Do not add any text after closing the HTML tag.
6534
6535 2006-09-02  Roman Kennke  <kennke@aicas.com>
6536
6537         PR 28928
6538         * javax/swing/plaf/basic/BasicTextUI.java
6539         (RootView.getPreferredSpan): Default to 10 when there is no
6540         real view.
6541         (RootView.getMinimumSpan): Forward to view and default to 10
6542         when there is no real view.
6543         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6544         (getMaximumSize): Check for overflow.
6545         * javax/swing/text/FieldView.java
6546         (getResizeWeight): Removed unneeded assignment.
6547
6548 2006-09-01  Francis Kung  <fkung@redhat.com>
6549         * java/awt/image/ColorConvertOp.java
6550         (copyImage): Updated javadoc and comments.
6551         (copyRaster): Add javadoc.
6552         (createCompatibleColorModel): Add javadocs and comments.
6553         (createCompatibleDestImage): Use correct transfer type.
6554         (createCompatibleDestRaster): Add new parameter for transfer type.
6555         (filter): Use correct transfer type.
6556         * java/awt/image/ConvolveOp.java: Updated javadocs.
6557         (createCompatibleDestImage): Set new image properties correctly.
6558         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6559         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6560
6561 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6562
6563         * javax/swing/table/DefaultTableModel.java:
6564         (checkSize): Added null check for dataVector.
6565
6566 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6567
6568         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6569         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6570         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6571
6572 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6573
6574         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6575         (paintIcon): Removed unused import statements, lowered cast requirement
6576         from JCheckBox to AbstractButton.
6577
6578 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6579
6580         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6581         (initComponentDefaults): Added, changed and removed some
6582         tabbed pane properties.
6583
6584 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6585
6586         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6587         (createContent): Changed menu item name and tab naming.
6588
6589 2006-09-01  Roman Kennke  <kennke@aicas.com>
6590
6591         PR 28922
6592         * javax/swing/plaf/basic/BasicHTML.java
6593         (HTMLRootView.getAttributes): Overridden to return null.
6594         (HTMLRootView.getElement): Overridden to return the view's
6595         element.
6596
6597 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6598
6599         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6600         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6601         of accessing variable directly.
6602         (calculateTabAreaWidth): Dito.
6603
6604 2006-08-31  Keith Seitz  <keiths@redhat.com>
6605
6606         * include/jvmti.h: Include jvmti_md.h.
6607
6608 2006-08-31  Keith Seitz  <keiths@redhat.com>
6609
6610         From Martin Platter  <motse@complang.tuwien.ac.at>:
6611         * Makefile.am (include_HEADERS): Include jvmti.h.
6612         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6613         (jvmtiError): Remove superfluous comma after last entry.
6614         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6615         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6616         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6617         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6618         character pointer.
6619         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6620         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6621         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6622         character pointer.
6623
6624 2006-08-31  Roman Kennke  <kennke@aicas.com>
6625
6626         * javax/swing/text/BoxView.java
6627         (getWidth): Return the width with insets added, not with one
6628         added and one removed.
6629         (getHeight): Return the height with insets added, not with one
6630         added and one removed.
6631         * javax/swing/text/GlyphView.java
6632         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6633         * javax/swing/text/ParagraphView.java
6634         (Row.getAlignment): Adjust alignment with respect to
6635         the justification attribute.
6636         (Row.getLeftInset): Overridden to adjust for firstLineIndent
6637         attribute.
6638         * javax/swing/text/html/CSS.java
6639         (getValue): Convert length values.
6640         * javax/swing/text/html/Paragraph.java
6641         (painter): New field.
6642         (paint): Implemented to delegate painting to the BoxPainter too.
6643         (setPropertiesFromAttributes): Implemented to load attributes
6644         from CSS.
6645         * javax/swing/text/html/StyleSheet.java
6646         (BoxPainter.as): Removed field.
6647         (BoxPainter.leftInset): New field.
6648         (BoxPainter.bottomInset): New field.
6649         (BoxPainter.rightInset): New field.
6650         (BoxPainter.topInset): New field.
6651         (BoxPainter.BoxPainter): Implemented to load the insets from
6652         CSS.
6653         (BoxPainter.getInset): Implemented.
6654         * gnu/javax/swing/text/html/Length.java: New class.
6655         Converts CSS length units to usable values.
6656
6657 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6658
6659         * configure.ac: Add check for gethostbyname_r.
6660         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6661         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6662         SOCKET_NOSIGNAL according to the configure check.
6663         (cpnet_send): Use SOCKET_NOSIGNAL.
6664         (cpnet_sendTo): Likewise.
6665         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6666         defined.
6667         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6668         are not available.
6669
6670         * lib/Makefile.am (cssfiles): Add new rule to install css files.
6671
6672 2006-08-31  Roman Kennke  <kennke@aicas.com>
6673
6674         * javax/swing/JEditorPane.java
6675         (getPreferredSize): Replace preferred size with minimum
6676         UI size only if the scrollable does _not_ track the viewport
6677         size and only if the viewport's size is smaller than the
6678         scrollable's size.
6679         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6680         method calls.
6681         * javax/swing/plaf/basic/BasicTextUI.java
6682         (getPreferredSize): Read-lock the document to avoid
6683         concurrency problems.
6684         (getMaximumSize): Return maximum size of the view.
6685         Read-lock the document to avoid concurrency problems.
6686         (getMinimumSize): Return minimum size of the view.
6687         Read-lock the document to avoid concurrency problems.
6688
6689 2006-08-31  Gary Benson  <gbenson@redhat.com>
6690
6691         * java/net/SocketPermission.java
6692         (maybeBracketIPv6Address): Renamed to processHostport.
6693         (processHostport): Also translate "" to "localhost".
6694         (setHostPort): Remove special cases for empty hostport and for
6695         extra colons in hostport (processHostport handles these now).
6696
6697 2006-08-31  Mark Wielaard  <mark@klomp.org>
6698
6699         * javax/swing/text/ZoneView.java (Zone): Make static class.
6700         Constructor takes axis parameter.
6701         (createZone): Create Zone with getAxis() as major axis.
6702
6703 2006-08-30  Roman Kennke  <kennke@aicas.com>
6704
6705         * javax/swing/text/ZoneView.java
6706         (loadChildren): Implemented.
6707         (getViewIndexAtPosition): Implemented.
6708         (checkZoneAt): New helper method.
6709         (splitZone): New helper method.
6710         (getPreferredZoneEnd): New helper method.
6711
6712 2006-08-30  Roman Kennke  <kennke@aicas.com>
6713
6714         * javax/swing/text/ZoneView.java: New class.
6715
6716 2006-08-30  Roman Kennke  <kennke@aicas.com>
6717
6718         * javax/swing/JMenu.java
6719         (getMenu): Removed unneeded cast.
6720         (getPopupMenuOrigin): Made positioning algorithm better respect
6721         the screen bounds.
6722         (setMenuLocation): Also set the location on the popup if it's
6723         not null.
6724         (setModel): Use menuChangeListener so that we don't override
6725         the changeListener field from AbstractButton.
6726         (setPopupMenuVisible): Use custom location if set, otherwise
6727         fallback to getPopupMenuOrigin().
6728
6729 2006-08-29  Roman Kennke  <kennke@aicas.com>
6730
6731         * javax/swing/text/InternationalFormatter.java
6732         (stringToValue): Fixed bounds check.
6733         * javax/swing/text/MaskFormatter.java
6734         (MaskFormatter): Don't explicitly set allosInvalid property.
6735         (convertStringToValue): New helper method.
6736         (convertValueToString): New helper method.
6737         (convertValue): Removed. Replaced by the 2 convert* methods
6738         above.
6739         (getPadCharAt): Removed.
6740         (isCharValid): Removed.
6741         (pad): Removed.
6742         (stringToValue): Fixed stringToValue conversion.
6743         (stripLiterals): Removed.
6744         (valueToString): Fixed valueToString conversion.
6745         * javax/swing/text/DefaultFormatter.java
6746         (DefaultFormatter): Default to commitsOnValidEdit = false.
6747
6748 2006-08-29  Roman Kennke  <kennke@aicas.com>
6749
6750         * javax/swing/text/TextAction.java
6751         (getTextComponent): Check event for null and return null in
6752         this case.
6753         (augmentList): Augment Actions based on their names.
6754         * javax/swing/text/DefaultEditorKit.java
6755         (BeginAction.actionPerformed): Check target for null.
6756         (BeginLineAction.actionPerformed): Check target for null.
6757         (CopyAction.actionPerformed): Check target for null.
6758         (CutAction.actionPerformed): Check target for null.
6759         (EndAction.actionPerformed): Check target for null.
6760         (EndLineAction.actionPerformed): Check target for null.
6761         (InsertBreakAction.actionPerformed): Check target for null.
6762         (InsertTabAction.actionPerformed): Check target for null.
6763         (PasteAction.actionPerformed): Check target for null.
6764         (SelectAllAction.actionPerformed): Check target for null.
6765         (SelectionBeginAction.actionPerformed): Check target for null.
6766         (SelectionBeginLineAction.actionPerformed): Check target for null.
6767         (SelectionEndAction.actionPerformed): Check target for null.
6768         (SelectionEndLineAction.actionPerformed): Check target for null.
6769         (SelectLineAction.actionPerformed): Check target for null.
6770         (SelectWordAction.actionPerformed): Check target for null.
6771
6772 2006-08-29  Roman Kennke  <kennke@aicas.com>
6773
6774         * javax/swing/plaf/basic/BasicTextUI.java
6775         (FocusHandler): New class. This is moved from the anonymous
6776         inner focus listener class to a static member class, and
6777         is now shared between components.
6778         (DocumentHandler): This class is combined with the PropertyHandler
6779         into the Handler class.
6780         (PropertyChangeHandler): This class is combined with the
6781         DocumentHandler into the Handler class.
6782         (Handler): New class. This combines the Property and Document
6783         handler into one class.
6784         (RootView.changedUpdate): Only forward if real view != null.
6785         (RootView.insertUpdate): Only forward if real view != null.
6786         (RootView.removeUpdate): Only forward if real view != null.
6787         (documentHandler): Removed field and replaced by handler.
6788         (focuslistener): Made field static and renamed to focusListener.
6789         (handler): New field.
6790         (kit): Lazily initialize field.
6791         (rootView): Lazily initialize field.
6792         (updateHandler): Removed and replaced by handler.
6793         (getEditorKit): Lazily instantiate field.
6794         (installDefaults): Don't set margin twice. Install correct
6795         property for disabledTextColor. Moved caret and highlighter
6796         initialization to installFixedDefaults.
6797         (installFixedDefaults): New method. Installs defaults that
6798         can't be overridden by subclasses.
6799         (installListeners): Only install focus handler when new
6800         system property gnu.swing.text.no-xlike-clipboard is not set.
6801         Lazily initialize focus handler.
6802         (installUI): Lazily initialize rootView. Install handler
6803         both for property and document changes.
6804         (uninstallDefaults): Uninstall the UI defaults.
6805         (uninstallFixedDefaults): New method. Uninstalls the fixed
6806         defaults.
6807         (installListeners): Only uninstall focus handler when not null.
6808         (uninstallUI): Uninstall property and document listener here.
6809
6810 2006-08-29  Gary Benson  <gbenson@redhat.com>
6811
6812         * java/net/SocketPermission.java
6813         (maybeBracketIPv6Address): New method.
6814         (<init>): Pass the hostport argument through the above.
6815
6816         * java/net/NetworkInterface.java (getInetAddresses):
6817         Don't bracket IPv6 addresses.
6818
6819 2006-08-28  Roman Kennke  <kennke@aicas.com>
6820
6821         * javax/swing/text/BoxView.java
6822         (calculateMinorAxisRequirements): Initialize max size
6823         with Integer.MAX_VALUE.
6824         * javax/swing/text/Utilities.java
6825         (getBreakLocation): For simple chars, scan the text directly.
6826         * javax/swing/text/WrappedPlainView.java
6827         (tabBase): New field.
6828         (tabSize): New field.
6829         (calculateBreakPosition): Use Utilities. Fixed for correct
6830         break calculation.
6831         (changedUpdate): Update children directly.
6832         (insertUpdate): Update children directly. Notify children.
6833         (removeUpdate): Update children directly. Notify children.
6834         (updateChildren): New helper method.
6835         (nextTabStop): Fixed to return correct results.
6836         (paint): Update tabBase.
6837         (updateMetrics): Update tab size.
6838
6839 2006-08-28  Roman Kennke  <kennke@aicas.com>
6840
6841         * javax/swing/text/Position.java
6842         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6843         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6844
6845 2006-08-28  Roman Kennke  <kennke@aicas.com>
6846
6847         * javax/swing/text/View.java
6848         (height): Removed unneeded field.
6849         (width): Removed unneeded field.
6850         (getBreakWeight): Return GoodBreakWeight when pos is after
6851         the view's span.
6852         (getToolTipText): Check view index more carefully. Avoid
6853         Rectangle creation.
6854         (insertUpdate): Only execute method body if view count > 0.
6855         When updateChildren returns false, clear the ec variable.
6856         (updateChildren): Added null checks.
6857         (viewToModel): Initialize bias array correctly.
6858         * javax/swing/text/CompositeView.java
6859         (children): Made private.
6860         (numChildren): New field.
6861         (loadChildren): Check factory for null. Don't load children
6862         when factory is null.
6863         (replace): Removed null check. Nullify removed children. Made
6864         growing the array more efficient.
6865         (getViewCount): Return numChildren rather then the real array
6866         size.
6867         * javax/swing/text/BoxView.java
6868         (getViewAtPoint): Fixed algorithm for finding the view.
6869         (replace): Made array growing more efficient.
6870         (replaceLayoutArray): New helper method for growing/patching
6871         the layout arrays.
6872         (viewToModel): Make sure we have a valid layout.
6873
6874 2006-08-28  Tania Bento  <tbento@redhat.com>
6875
6876         * java/awt/MenuShortcut.java
6877         (MenuShortcut (int, boolean)): Set keyName.
6878         (toString): Modified string output.
6879         (setKeyName): New private method.
6880
6881 2006-08-28  Roman Kennke  <kennke@aicas.com>
6882
6883         * javax/swing/text/GapContent.java
6884         (Mark.getOffset): Made assert less strict, include boundary.
6885         (search): Made package private to avoid accessor method.
6886
6887 2006-08-28  Roman Kennke  <kennke@aicas.com>
6888
6889         * javax/swing/text/StringContent.java
6890         (InsertUndo.positions): New field.
6891         (InsertUndo.redo): Update the undo positions.
6892         (InsertUndo.undo): Fetch the undo positions.
6893         (Mark): New class. Layer of indirection to allow Positions
6894         to be GC'ed while we still hold references to the Mark.
6895         (RemoveUndo.len): New field.
6896         (RemoveUndo.positions): New field.
6897         (RemoveUndo.RemoveUndo): Fetch undo positions.
6898         (RemoveUndo.redo): Re-fetch positions and string.
6899         (RemoveUndo.undo): Update undo positions.
6900         (StickyPosition.mark): New field.
6901         (StickyPosition.offset): Removed field.
6902         (StickyPosition.StickyPosition): Create new Mark. Register
6903         Position in queueOfDeath. Update reference count on mark.
6904         (StickyPosition.getOffset): Return offset stored in mark.
6905         (StickyPosition.setOffset): Removed unneeded method.
6906         (UndoPosRef): New class. Handles undo/redo on positions/marks.
6907         (EMPTY): New field.
6908         (marks): New field. Stores the marks.
6909         (positions): Removed field.
6910         (queueOfDeath): New field. Used for GCing the positions.
6911         (StringContent): Initialize queueOfDeath.
6912         (createPosition): Lazily create marks vector.
6913         (garbageCollect): New helper method. Collects positions
6914         to be GCed and updates their marks.
6915         (getChars): Fixed bounds check.
6916         (getPositionsInRange): When v == null, create new Vector,
6917         otherwise use v. Store UndoPosRefs in vector.
6918         (getString): Added comment about bug in RI.
6919         (insertString): Use new helper method for replacing the array.
6920         Correctly update positions.
6921         (length): Removed this qualifier.
6922         (remove): Use new helper method for replacing the array.
6923         Correctly update positions.
6924         (replace): New helper method for growing or patching the array.
6925         (updateUndoPositions): Implemented. Updates the positions
6926         for undo/redo operations.
6927
6928 2006-08-27  Roman Kennke  <kennke@aicas.com>
6929
6930         * javax/swing/text/StyleContext.java
6931         (NamedStyle.attributes): Made field transient.
6932         (NamedStyle.changeEvent): Made field transient.
6933         (NamedStyle.name): Removed field. The name is stored as
6934         attribute.
6935         (NamedStyle.NamedStyle(String,Style)): Call setName() for
6936         storing the name and check for null name and resolveParent.
6937         Don't initialize changeEvent.
6938         (NamedStyle.copyAttributes): Return a new NamedStyle,
6939         rather than a plain copy of the attributes field.
6940         (NamedStyle.fireStateChange): Lazily create changeEvent
6941         field.
6942         (NamedStyle.getName): Fetch name from attributes.
6943         (NamedStyle.setName): Store name from attributes.
6944         (NamedStyle.readObject): Implemented for correct
6945         deserialization.
6946         (NamedStyle.writeObject): Implemented for correct
6947         serialization.
6948         (NamedStyle.setResolveParent): When new parent is null,
6949         remove resolveParent attribute. Use addAttribute() method
6950         rather than StyleContext addAttribute().
6951         (NamedStyle.toString): Fixed to produce output equal to the
6952         RI.
6953         (SmallAttributeSet.resolveParent): New field.
6954         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6955         the resolveParent field correctly.
6956         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6957         array but store it directly. Update
6958         the resolveParent field correctly.
6959         (SmallAttributeSet.clone): Return this as the object is
6960         immutable.
6961         (SmallAttributeSet.containsAttributes): Make sure that keys
6962         and values are the same.
6963         (SmallAttributeSet.containsAttribute):  Make sure that keys
6964         and values are the same.
6965         (SmallAttributeSet.copyAttributes): Return this as the object is
6966         immutable.
6967         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6968         are equal if they have the same number of attributes and
6969         one contains the other.
6970         (SmallAttributeSet.getAttribute): Improved lookup of
6971         resolveParent.
6972         (SmallAttributeSet.getResolveParent): Improved lookup of
6973         resolveParent.
6974         (SmallAttributeSet.isEqual): When comparing object is a
6975         SmallAttributeSet, consider them equal only if they are the
6976         same object.
6977         (SmallAttributeSet.toString): Fixed to produce output equal to the
6978         RI.
6979         (attributeSetPool): New field.
6980         (defaultStyleContext): Initialize lazily.
6981         (defaultStyle): Removed field. This is stored in the style context
6982         as attribute.
6983         (listenerList): Removed field. The NamedStyle stores the
6984         listeners.
6985         (readAttributeKeys): New static field. Used for looking up
6986         the serialization mappings when reading.
6987         (search): New field. Used as search key.
6988         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6989         (styles): New field. Stores the styles and listeners.
6990         (styleTable): Removed field. Replaced by styles field.
6991         (writeAttributeKeys): New static field. Used for looking up
6992         the serialization mappings when writing.
6993         (static_initializer): Register mappings for all keys in
6994         StyleConstants.
6995         (StyleContext): Initialize styles correctly.
6996         (addAttributes): Fixed caching of immutable attributes.
6997         (addAttribute): Fixed caching of immutable attributes.
6998         (removeAttributes): Fixed caching of immutable attributes.
6999         (removeAttribute): Fixed caching of immutable attributes.
7000         (addChangeListener): Add listener to styles field.
7001         (removeChangeListener): Remove listener from styles field.
7002         (getChangeListeners): Fetch listeners from styles field.
7003         (addStyle): Add style to styles field.
7004         (cleanupPool): New method.
7005         (getDefaultStyleContext): Lazily create context.
7006         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7007         (getMutableAttributeSet): New helper method. Used for
7008         caching.
7009         (getStaticAttribute): Fetch key from readAttributeKeys.
7010         (getStyleNames): Return names from styles field.
7011         (getStyle): Lookup style in styles field.
7012         (removeStyle): Remove style from styles field.
7013         (readAttributeSet): Fixed deserialization.
7014         (writeAttributeSet): Fixed serialization.
7015         (readObject): Fixed deserialization.
7016         (writeObject): Fixed serialization.
7017         (reclaim): Simply cleanup the pool.
7018         (registerStaticAttributeKey): Store mapping in both ways.
7019         (searchImmutableSet): New helper method for caching.
7020         (toString): Fixed for output like the RI.
7021         * javax/swing/text/StyleConstants.java
7022         (keys): New field. Stores all known keys.
7023         (StyleConstants): Store created key in keys list.
7024         * javax/swing/event/EventListenerList.java
7025         (readObject): Fixed deserialization.
7026         (writeObject): Fixed serialization.
7027
7028 2006-08-25  Roman Kennke  <kennke@aicas.com>
7029
7030         * javax/swing/text/CompositeView.java
7031         (insets): Removed. Replaced by single short fields.
7032         (top): New field. Replaces insets.
7033         (bottom): New field. Replaces insets.
7034         (left): New field. Replaces insets.
7035         (right): New field. Replaces insets.
7036         (CompositeView): Initialize insets fields.
7037         (createDefaultLocation): Removed unneeded method.
7038         (getBottomInset): Return field directly.
7039         (getTopInset): Return field directly.
7040         (getLeftInset): Return field directly.
7041         (getRightInset): Return field directly.
7042         (getInsideAllocation): Adjusted to work on new insets fields.
7043         (getViewIndex): Fixed check.
7044         (loadChildren): Don't replace the old children.
7045         (replace): Make sure that there is an array to operate on.
7046         Only set parent to null, when it is this View.
7047         (setInsets): Adjusted to work with new insets fields.
7048         (setParagraphInsets): Fixed to pull insets directly from
7049         StyleConstants.
7050
7051 2006-08-25  Roman Kennke  <kennke@aicas.com>
7052
7053         * javax/swing/text/ComponentView.java
7054         (Interceptor): New inner helper class. Used to propagate
7055         invalidate requests and cache component layout sizes.
7056         (interceptor): New field.
7057         (getAlignment): Fetch alignment from interceptor container.
7058         (getComponent): Don't create component here. This is done
7059         in setParent().
7060         (getMaximumSpan): Fetch layout info from interceptor. Check
7061         for illegal axis.
7062         (getMinimumSpan): Fetch layout info from interceptor. Check
7063         for illegal axis.
7064         (getPreferredSpan): Fetch layout info from interceptor. Check
7065         for illegal axis.
7066         (modelToView): Fixed model to view mapping.
7067         (viewToModel): Fixed view to model mapping.
7068         (paint): Check for null. Set bounds on interceptor rather
7069         then component.
7070         (setParentImpl): Install interceptor between component
7071         and hosting container.
7072         (setParent): Call super.setParent() immediately.
7073
7074 2006-08-25  Roman Kennke  <kennke@aicas.com>
7075
7076         * javax/swing/text/LabelView.java
7077         (setPropertiesFromAttributes): Only set background when
7078         the corresponding attribute is actually defined, otherwise
7079         set to null, as the StyleConstants would return black.
7080         * javax/swing/text/DefaultStyledDocument.java
7081         (ElementBuffer.documentEvent): Removed obsolete field.
7082         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7083         to correctly update the element structure.
7084         (ElementBuffer.insertContentTag): Removed unused statement.
7085         (ElementBuffer.recreateAfterFracture): Removed
7086         unused obsolete method.
7087         (setCharacterAttributes): Removed unused statement.
7088
7089 2006-08-25  Roman Kennke  <kennke@aicas.com>
7090
7091         * examples/gnu/classpath/examples/swing/Demo.java
7092         (LaterMain.run): Removed unused local variable.
7093         (Demo): Don't put desktop in scrollpane.
7094         (addChildren): Removed unused method.
7095         (mkButtonBar): Added HTML demo.
7096         (mkMenuBar): Added HTML demo.
7097         (mkPanel): Removed unused method.
7098         (mkScrollPane): Removed unused method.
7099         (mkTree): Removed unused method.
7100         (valign2str): Removed unused method.
7101         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7102         Initialize text field with some HTML that already works.
7103         (DEBUG): New field. Set to true for debugging output.
7104         (createContent): Dump element tree after parsing.
7105
7106 2006-08-25  Roman Kennke  <kennke@aicas.com>
7107
7108         * javax/swing/text/html/CSS.java
7109         (getValue): Added color value conversion.
7110         * javax/swing/text/html/HTMLDocument.java
7111         (HTMLReader.ConvertAction): New class, converts HTML style tags
7112         to CSS attributes.
7113         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7114         * javax/swing/text/html/InlineView.java
7115         (setPropertiesFromAttributes): Implemented to fetch
7116         CSS character attributes.
7117         * javax/swing/text/html/StyleSheet.java
7118         (addCSSAttribute): Convert value.
7119         (getBackground): Implemented to fetch CSS background color
7120         attribute.
7121         (getForeground): Implemented to fetch CSS color
7122         attribute.
7123         (getFont): Adjust font size for superscript and subscript.
7124         (translateHTMLToCSS): Rudimentary implementation that
7125         copies the original attributes, so that any CSS attributes in
7126         there are preserved.
7127         (stringToColor): Use CSSColor for conversion.
7128         * gnu/javax/swing/text/html/css/CSSColor.java:
7129         New class. Converts CSS color values to RGB color values.
7130         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7131         Removed. This is more or less replaced by CSSColor and the
7132         ConvertAction in HTMLReader.
7133
7134 2006-08-25  Roman Kennke  <kennke@aicas.com>
7135
7136         * javax/swing/text/BoxView.java
7137         (childReqs): Removed obsolete field.
7138         (baselineLayout): Reimplemented for correct baseline layout.
7139         (baselineRequirements): Reimplemented for correct baseline
7140         layout.
7141         (updateChildRequirements): Removed obsolete method.
7142         * javax/swing/text/GlyphView.java
7143         (DefaultGlyphPainter.getSpan): Removed unused statement.
7144         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7145         specially. The subscript/superscript layout is performed
7146         via the alignment, the font is supplied by the StyleContext.
7147         (breakView): Removed unused statements.
7148         (getAlignment): Adjust alignment according to the
7149         superscript/subscript setting.
7150         (getFont): Reimplemented to fetch the font from the style
7151         context, or from the document if the stylecontext is not
7152         available.
7153         (getPreferredSpan): Adjust span for superscript. Use switch
7154         instead of if-else.
7155         * javax/swing/text/LabelView.java
7156         (setPropertiesFromAttributes): Fetch background and foreground
7157         from document / style context.
7158         (isSubscript): Resync properties if needed.
7159         * javax/swing/text/ParagraphView.java
7160         (Row.calculateMinorAxisRequirements): Overridden to perform
7161         a baseline layout.
7162         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7163
7164 2006-08-24  Roman Kennke  <kennke@aicas.com>
7165
7166         * javax/swing/text/Utilities.java
7167         (BUF_LENGTH): Removed unused field.
7168         (drawTabbedText): Removed unneeded cast.
7169         (getBreakLocation): Removed unneeded cast.
7170         Fixed offset to account for Segments not starting at 0.
7171
7172 2006-08-24  Roman Kennke  <kennke@aicas.com>
7173
7174         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7175         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7176         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7177         (ScrollingPane.updateUI): Likewise.
7178         (calculateTabWidth): Rewritten to correctly and efficiently
7179         layout the tab width.
7180         (layoutLabel): Call SwingUtilities method with the tabPane
7181         as argument.
7182         (paintContentBorderLeftEdge): Removed unused statement.
7183         (paintContentBorderRightEdge): Removed unused statement.
7184         (paintContentBorder): Removed unused statement.
7185
7186 2006-08-24  Roman Kennke  <kennke@aicas.com>
7187
7188         * javax/swing/plaf/basic/BasicTextUI.java
7189         (RootView.getAttributes): Overridden to return null,
7190         as the RootView has no parent.
7191
7192 2006-08-24  Roman Kennke  <kennke@aicas.com>
7193
7194         * javax/swing/text/html/CSSParser.java: Removed.
7195         * javax/swing/text/html/CSS.java
7196         (getValue): New helper method. Returns special converter
7197         instances for certain kinds of property values.
7198         * javax/swing/text/html/HTMLDocument.java
7199         (HTMLReader.CharacterAction.start): Don't translate tags
7200         here. Instead, store the attributes directly with the tag
7201         as key.
7202         (content): Removed field. The Content object is handled
7203         by AbstractDocument.
7204         (styleSheet): Removed field. The styleSheet is the styleContext
7205         of this document and handled by the DefaultStyledDocument already.
7206         (HTMLDocument(Content,StyleSheet): Simply call super here.
7207         The super classes already handle the content and styleContext.
7208         (HTMLDocument()): Call this() with a default GapContent and
7209         StyleSheet.
7210         (getStyleSheet): Return the styleContext here.
7211         (insertUpdate): New method. Overridden to add the
7212         CONTENT dummy tag to the element's attributes.
7213         (setBase): Set the base on the styleContext.
7214         * javax/swing/text/html/HTMLEditorKit.java
7215         (styleContext): Removed unneeded field.
7216         (styleSheet): Made field private.
7217         (HTMLEditorKit): Do nothing here. The StyleSheet is
7218         created lazily in getStyleSheet(). A styleContext is not
7219         needed here.
7220         (getStyleSheet): Create StyleSheet correctly.
7221         (insertHTML): Removed unneeded cast.
7222         * javax/swing/text/html/InlineView.java
7223         (attributes): New field.
7224         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7225         (getAttributes): Implemented to fetch the attributes from
7226         the stylesheet.
7227         * javax/swing/text/html/MultiAttributeSet.java: New class.
7228         Multiplexes between several AttributeSets.
7229         * javax/swing/text/html/MultiStyle.java: New class.
7230         Multiplexes between several Styles.
7231         * javax/swing/text/html/ParagraphView.java
7232         (attributes): New field.
7233         (getAttributes): Implemented to fetch the attributes from
7234         the stylesheet.
7235         * javax/swing/text/html/StyleSheet.java
7236         (CssParser): Removed inner class.
7237         (CSSStyle): New inner class. Represents a style defined
7238         by a CSS rule.
7239         (CSSStyleSheetParserCallback): New class, for parsing
7240         CSS stylesheets.
7241         (css): New field. Stores the CSS rules.
7242         (resolvedStyles): New field. Stores resolved styles.
7243         (StyleSheet): Initialize resolvedStyles map.
7244         (addRule): Removed bogus impl.
7245         (getFont): Implemented to fetch font, based on CSS rules.
7246         (getResolvedStyle): New helper method. Looks up resolved
7247         styles, and resolves a style if necessary.
7248         (resolveStyle): New pair of helper methods. Resolves
7249         CSS style rules.
7250         (getRule(String)): Provide rudimentary implementation.
7251         (getRule(Tag,Element)): Implemented.
7252         (getViewAttributes): Implemented.
7253         (loadRules): Implemented.
7254         (translateHTMLToCSS): Tagged as not implemented.
7255         * javax/swing/text/html/ViewAttributeSet.java: New class.
7256
7257 2006-08-24  Roman Kennke  <kennke@aicas.com>
7258
7259         * javax/swing/text/FlowView.java:
7260         (LogicalView.getAttributes): New method. Overrides super
7261         impl to return the attributes of the FlowView instance.
7262         * javax/swing/text/LabelView.java:
7263         (setPropertiesFromAttributes): Fetch attributes from
7264         View, rather then from the Element. (In the HTML
7265         package the getAttributes() method is overridden to
7266         return different attributes). Fetch font from the StyledDocument.
7267
7268 2006-08-24  Roman Kennke  <kennke@aicas.com>
7269
7270         * javax/swing/text/DefaultEditorKit.java:
7271         (DefaultKeyTypedAction.actionPerform): Also filter
7272         ALT and CTRL modifiers.
7273
7274 2006-08-24  Roman Kennke  <kennke@aicas.com>
7275
7276         * gnu/javax/swing/text/html/css/FontSize.java,
7277         * gnu/javax/swing/text/html/css/FontStyle.java,
7278         * gnu/javax/swing/text/html/css/FontWeight.java:
7279         New classes. Used to convert CSS font attributes to AWT/Swing
7280         Font constants.
7281
7282 2006-08-24  Francis Kung  <fkung@redhat.com>
7283         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7284         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7285         (srccs, dstcs, rasterValid): Variables removed.
7286         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7287         (copyRaster): Check for null rendering hints
7288         (createCompatibleColorModel): New private method.
7289         (createCompatibleDestImage): Re-implemented.
7290         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7291         (createCompatibleDestRaster(Raster)): Re-implemented.
7292         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7293         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7294         (getPoint2D): Clean up formatting.
7295         * java/awt/image/ComponentColorModel.java
7296         (constructor): use findBits method instead of passing null.
7297         (findBits): New method.
7298
7299 2006-08-24  Gary Benson  <gbenson@redhat.com>
7300
7301         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7302         addresses.
7303
7304 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7305
7306         * java/lang/ref/Reference.java
7307         (queue, nextOnQueue): Made volatile.
7308         (enqueue): Made thread safe.
7309         * java/lang/ref/ReferenceQueue.java
7310         (lock): New field.
7311         (poll): Removed synchronized.
7312         (enqueue): Changed to synchronize on lock object, to update Reference
7313         state and return success status.
7314         (dequeue, remove): Synchronize on lock object.
7315
7316 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7317
7318         * java/security/SecureClassLoader.java
7319         (protectionDomainCache): Changed to HashMap.
7320         (SecureClassLoader): Removed redundant security check.
7321         (defineClass(String,byte[],int,int,CodeSource): Moved
7322         protection domain lookup/construction to new method.
7323         (defineClass(String,ByteBuffer,CodeSource): New method.
7324         (getProtectionDomain): New method.
7325
7326 2006-08-23  Roman Kennke  <kennke@aicas.com>
7327
7328         * javax/swing/JComponent.java
7329         (isRepainting): Made package private.
7330         (paintChild): New field.
7331         (findOpaqueParent): Removed method. This is now in
7332         paintImmediately().
7333         (findOverlapFreeParent): Removed method. This is now
7334         in paintImmediately2().
7335         (findPaintRoot): Removed method. This is now
7336         in paintImmediately2().
7337         (isCompletelyObscured): Changed to take rectangle as single
7338         ints as argument.
7339         (isPaintingDoubleBuffered): Removed method. This is now
7340         in paintImmediately2().
7341         (isPartiallyObscured): New helper method.
7342         (onTop): New helper method for optimization.
7343         (paintChildren): Paint only to specific child when
7344         requested like this from paintImmediately2().
7345         (paintDoubleBuffered): Changed to take rectangle as single int
7346         arguments.
7347         (paintImmediately2): Changed to take rectangle as single int
7348         arguments. Optimized determination of paint root.
7349         (paintImmediately(Rectangle)): Change to delegate to
7350         paintImmediately(int,int,int,int).
7351         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7352         and start painting there.
7353         (paint): Call paintDoubleBuffered() with int arguments. Only
7354         paint component, when not completely occupied by opaque child.
7355         (processKeyBinding): Removed unnecessary cast.
7356         (isOccupiedByChild): New helper method.
7357         * javax/swing/RepaintManager.java
7358         (repaintUnderway): Removed obsolete field.
7359         (commitRequests): Removed obsolete field.
7360         (RepaintManager): Removed initialization of obsolete fields.
7361         (addDirtyRegion): Removed unused statement.
7362         (commitBuffer): Changed to take plain ints as argument.
7363         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7364         Compute offsets in place, rather than using SwingUtilities.
7365         (paintDirtyRegions): Removed unused field.
7366         * javax/swing/JMenuItem.java
7367         (onTop): Return true when not descendant of JInternalFrame.
7368         * javax/swing/JPopupMenu.java
7369         (onTop): Return true.
7370         * javax/swing/JToolTip.java
7371         (onTop): Return true.
7372         * javax/swing/JViewport.java
7373         (paintImmediately2): Change signature to match the
7374         corresponding JComponent method.
7375
7376 2006-08-23  Tania Bento  <tbento@redhat.com>
7377
7378         * java/awt/Color.java
7379         (brighter): Modified algorithm to correctly determine the
7380         new brighter colour.
7381
7382 2006-08-23  Roman Kennke  <kennke@aicas.com>
7383
7384         * java/awt/Container.java
7385         (maxSize): Removed field. This is already declared in Component.
7386         (validateTree): Check for ContainerPeer. Don't addNotify here.
7387         Only validate Component instances if they are invalid.
7388
7389 2006-08-22  Roman Kennke  <kennke@aicas.com>
7390
7391         * javax/swing/JComponent.java
7392         (preferredSize): Removed field.
7393         (maximumSize): Removed field.
7394         (minimumSize): Removed field.
7395         (getMaximumSize): Adjusted to delegate to Component, rather
7396         then managing the size in JComponent.
7397         (getMinimumSize): Adjusted to delegate to Component, rather
7398         then managing the size in JComponent.
7399         (getPreferredSize): Adjusted to delegate to Component, rather
7400         then managing the size in JComponent.
7401         (isMaximumSizeSet): Removed.
7402         (isMinimumSizeSet): Removed.
7403         (isPreferredSizeSet): Removed.
7404         (setMaximumSize): Removed.
7405         (setMinimumSize): Removed
7406         (setPreferredSize): Removed.
7407
7408 2006-08-22  Roman Kennke  <kennke@aicas.com>
7409
7410         * javax/swing/AbstractButton.java
7411         (ButtonChangeListener.stateChanged): Delegate to combined
7412         handler.
7413         (EventHandler): New inner class. Handles all three types
7414         of events on the model.
7415         (eventHandler): New field. Stores the combined event
7416         handler.
7417         (AbstractButton): Moved listener initialization to
7418         setModel().
7419         (createActionListener): Return combined handler.
7420         (createChangeListener): Return combined handler.
7421         (createItemListener): Return combined handler.
7422         (getEventHandler): New helper method for creating the combined
7423         handler.
7424         (setModel): Initialize listeners here.
7425         * javax/swing/plaf/basic/BasicButtonListener.java
7426         (ButtonAction): New class. Implements the keyboard action
7427         for buttons.
7428         (checkOpacity): Implemented.
7429         (createDefaultActionMap): New helper method.
7430         (installKeyboardActions): Rewritten to install InputMap
7431         and ActionMap according to 'new' keyboard input method.
7432         (mouseClicked): Commented as no-op.
7433         (mouseDragged): Commented as no-op.
7434         (mouseMoved): Commented as no-op.
7435         (propertyChange): Check for contentAreaFilled change and
7436         update opacity. Pull handling of HTLM in font and text handler.
7437         (stateChanged): Repaint button.
7438         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7439         * javax/swing/plaf/basic/BasicButtonUI.java
7440         (listener): Removed.
7441         (sharedListener): New static field. Stores the shared listener.
7442         (sharedUI): New static field. Stores the shared UI.
7443         (createButtonListener): Return shared instance here.
7444         (createUI): Return shared instance here.
7445         (getButtonListener): New helper method. Looks for the
7446         BasicButtonListener installed on a button and returns it.
7447         (installDefaults): Correctly install rollover property here.
7448         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7449         (installKeyboardActions): Fetch listener with new helper method.
7450         (installListeners): Don't use removed field. Check for null.
7451         (installUI): Added comment about order of method invocations.
7452         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7453         (uninstallKeyboardActions): Fetch listener with new helper method.
7454         (uninstallListeners): Fetch listener with new helper method.
7455         (paintIcon): Paint icon offset when pressed and armed.
7456         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7457         * javax/swing/plaf/metal/MetalButtonUI.java
7458         (sharedUI): New field. Stores the shared UI.
7459         (MetalButtonUI): Don't initialize fields here.
7460         (createButtonListener): Removed method. Use super impl.
7461         (createUI): Return shared instance.
7462         (getDisabledTextColor): Update field here.
7463         (getFocusColor): Update field here.
7464         (getSelectColor): Update field here.
7465         (installDefaults): Don't handle rollover property here.
7466         (uninstallDefaults): Don't handle rollover property here.
7467         (paintButtonPressed): Use accessor method to update the
7468         field value.
7469
7470 2006-08-21  Mark Wielaard  <mark@klomp.org>
7471
7472         Merge NATIVE_LAYER branch.
7473
7474         2006-08-20  Mark Wielaard  <mark@klomp.org>
7475
7476         * doc/tools.texinfo: Add file from trunk.
7477         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7478         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7479         headers.
7480         * native/jni/java-lang/java_lang_VMProcess.c
7481         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7482         * native/jni/java-net/java_net_VMInetAddress.c
7483         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7484         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7485         files.
7486         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7487         mask.
7488         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7489         theaddr.
7490         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7491         cpnet.h.
7492         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7493         don't implement.
7494         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7495         argument.
7496         * include/java_lang_VMProcess.h: Regenerated.
7497
7498         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7499
7500         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7501         (nativeReceive): Fixed the type of the arrays (use java types).
7502         (nativeSendTo): Force throwing an exception if port is 0.
7503
7504         * native/jni/java-net/javanet.c:
7505         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7506         returned.
7507         (_javanet_recvfrom): Likewise.
7508         (_javanet_sendto): Throw a NullPointerException if the socket is
7509         not connected and no address is given.
7510         
7511         * native/jni/java-net/javanet.h
7512         (NULL_EXCEPTION): Defined.
7513
7514         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7515
7516         * native/jni/java-net/java_net_VMInetAddress.c
7517         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7518         error.
7519
7520         * native/jni/java-net/javanet.c
7521         (_javanet_accept): Fixed bogus call to TARGET.
7522         (_javanet_create_inetaddress): Fixed address generation. Fixed
7523         bogus memory free.
7524         (_javanet_bind): set "Reuse address" flag.
7525
7526         * native/jni/native-lib/cpio.c
7527         (cpio_getModificationTime): Fixed type.
7528         (cpio_removeFile): Use rmdir too.
7529
7530         * native/jni/native-lib/cpnet.c
7531         (cpnet_getHostByName): Fixed error detection.
7532
7533         * native/jni/native-lib/cpnet.h
7534         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7535         memory.
7536         (cpnet_IPV4AddressToBytes): Fixed types.
7537         
7538         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7539
7540         * native/jni/native-lib/cpio.c
7541         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7542
7543         * native/jni/native-lib/cpnet.h:
7544         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7545         messed by signs in jbyte.
7546         
7547         * native/jni/native-lib/cpproc.h
7548         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7549
7550         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7551
7552         * native/jni/native-lib/cpnet.c
7553         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7554         (waitForWritable, waitForReadable): New functions.
7555         (socketTimeouts): New static global table to hold timeouts for all
7556         socket fds.
7557         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7558         Added waitForXXXX safeguards to handle socket timeouts.
7559
7560         * native/jni/java-net/javanet.c
7561         (_javanet_accept): Check for the right error value when a timeout
7562         occurs.
7563         
7564         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7565
7566         * native/jni/java-io/Makefile.am,
7567         native/jni/java-lang/Makefile.am,
7568         native/jni/java-net/Makefile.am,
7569         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7570
7571         * native/jni/native-lib/Makefile.am: Added cpproc.c
7572
7573         * native/jni/native-lib/cpio.c: Implemented missing functions for
7574         CPIO.
7575
7576         * native/jni/native-lib/cpnet.c
7577         (cpnet_getHostByName): Fixed address array initialization.
7578         
7579         * native/jni/native-lib/cpproc.c: Implemented.
7580         
7581         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7582
7583         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7584
7585         * m4/gcc_attribute.m4: New file from ac_archive.
7586         
7587         * native/jni/java-net/javanet.c: Adapted to cpnet API
7588         modification.
7589
7590         * native/jni/native-lib/cpnet.c: Implemented.
7591
7592         * native/jni/native-lib/cpnet.h
7593         (cpnet_openSocketDatagram,
7594         cpnet_openSocketStream): These calls need an address family now.
7595         (cpnet_IPV4AddressToBytes,
7596         cpnet_bytesToIPV4Address): Convert the address to network order.
7597         
7598         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7599
7600         * native/jni/java-io/java_io_VMFile.c,
7601         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7602         native/jni/midi-dssi/dssi_data.h,
7603         native/jni/native-lib/cpio.c,
7604         native/jni/native-lib/cpmath.h: Removed cpmath
7605         dependency. Fixed coding style.
7606
7607         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7608
7609         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7610         dependency. Simplified the JNI code by moving some part into the
7611         native layer.
7612
7613         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7614
7615         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7616
7617         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7618         errors. Removed any remaining TARGET invocations.
7619
7620         * native/jni/java-net/javanet.c
7621         (_javanet_create_inetaddress): Removed spurious arr and
7622         octets. Fixed compilation errors.
7623
7624         * native/jni/native-lib/cpnet.h
7625         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7626         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7627         cpnet_isIPV4Address): New functions.
7628         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7629         the rest.
7630         
7631         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7632
7633         * native/jni/java-io/java_io_VMFile.c,
7634         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7635         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7636         native/jni/java-net/javanet.c,
7637         native/jni/java-net/javanet.h: Adapted the VM layer code
7638         to the new native layer.
7639
7640         * native/jni/native-lib/cpnet.h
7641         (cpnet_addMembership,
7642         cpnet_dropMembership,
7643         cpnet_getAvailableBytes): Added the declarations of
7644         some new functions.
7645         (cpnet_newIPV6Address,
7646         cpnet_IPV6AddressToBytes,
7647         cpnet_bytesToIPV6Address): Implemented.
7648         (cpnet_newIPV4Address): Initialize the sin_family field.
7649
7650         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7651
7652         * native/target: Removed.
7653
7654         * configure.ac: Removed target from CLASSPATH_INCLUDES and
7655         Makefile generation.
7656
7657         * native/jni/native-lib/Makefile.am,
7658         native/jni/native-lib/cpnet.h,
7659         native/jni/native-lib/cpnet.c
7660         native/jni/native-lib/cpio.h,
7661         native/jni/native-lib/cpio.c,
7662         native/jni/native-lib/cpmath.h: Imported new native compatibility
7663         layer.
7664
7665 2006-08-21  Roman Kennke  <kennke@aicas.com>
7666
7667         * gnu/javax/swing/text/html/css/CSSParser.java:
7668         New class.
7669         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7670         New interface.
7671         * gnu/javax/swing/text/html/css/CSSParserException.java:
7672         New exception.
7673         * gnu/javax/swing/text/html/css/CSSScanner.java:
7674         Adjusted API comments. Made all constants package private.
7675         (EOF): New constant field.
7676         (parseBuffer): Made package private.
7677         (tokenEnd): Made package private.
7678         (CSSScanner): Initialize lookahead buffer with -1.
7679         (main): Print out to System.out rather then System.err.
7680         (nextToken): Push back character after IDENT.
7681
7682 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7683
7684         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7685
7686 2006-08-21  Roman Kennke  <kennke@aicas.com>
7687
7688         * gnu/javax/swing/text/html/css/CSSScanner.java
7689         (main): Use buffered input stream.
7690         (nextToken): Removed 65536 workaround. Use int value directly
7691         without cast to char.
7692         (readComment): Use int value directly without cast to char.
7693         Cast to char only when putting the character into the buffer.
7694         (readEscape): Likewise.
7695         (readIdent): Likewise.
7696         (readName): Likewise.
7697         (readNum): Likewise.
7698         (readString): Likewise.
7699         (readWhitespace): Likewise.
7700
7701 2006-08-21  Ingo Proetel  <proetel@aicas.com>
7702
7703         * java/io/InputStreamReader.java
7704         (bytesCache): New field.
7705         (cacheLock): New field.
7706         (read(byte[],int,int): Avoid allocations of new byte
7707         array on every call and reuse cached byte array if possible.
7708
7709 2006-08-21  Roman Kennke  <kennke@aicas.com>
7710
7711         * gnu/java/net/local/LocalSocketImpl.java
7712         Only load native lib if this is supported by runtime.
7713         * native/jni/java-net/local.c
7714         Include config.h unconditionally.
7715         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7716         Include config.h unconditionally.
7717
7718 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
7719
7720         * java/io/ObjectInputStream.java
7721         (objectLookupTable): Changed to be a Vector.
7722         (ObjectInputStream): Initialize objectLookupTable as Vector.
7723         (assignNewHandle): Store Object using handle index rather than
7724         Hashtable, using the new rememberHandle() method.
7725         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7726         with a caching in ObjectStreamClass.
7727         (inputGetObjectStreamClass): Replaced by hierarchy().
7728         (lookupHandle): New method. Looks up an object by it's handle
7729         index.
7730         (parseContent): Avoid creating of Integer objects. Use
7731         hierarchy() method for looking up the class hierarchy.
7732         (processResolution): Use rememberHandle() to store
7733         handle per index, rather than Hashtabling the object.
7734         (readFields): 
7735         (rememberHandle): New method.
7736         * java/io/ObjectOutputStream.java
7737         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7738         Hashtable for improved lookup performance.
7739         (ObjectOutputStream): Initialize OIDLookupTable as
7740         ObjectIdentityMap2Int.
7741         (assignNewHandle): Change to use ObjectIdentityMap2Int.
7742         (findHandle): Change to use ObjectIdentityMap2Int.
7743         (getBooleanField): Removed.
7744         (getByteField): Removed.
7745         (getCharField): Removed.
7746         (getDoubleField): Removed.
7747         (getField): Removed.
7748         (getFloatField): Removed.
7749         (getIntField): Removed.
7750         (getLongField): Removed.
7751         (getObjectField): Removed.
7752         (writeFields(Object,ObjectStreamClass)): Use new helper method.
7753         (writeFields(Object,ObjectStreamField)): New helper method.
7754         Use switch rather then if-else cascade.
7755         (writeObject): Use int handle, rather then Integer.
7756         * java/io/ObjectStreamClass.java
7757         (hierarchy): New field. Caches the class hierarchy.
7758         (methodCache): New field. Caches methods.
7759         (readObjectSignature): New field. Stores the read signature.
7760         (uidCache): New field. Caches UIDs.
7761         (writeObjectSignature): New field. Stores the write signature.
7762         (cacheMethods): Cache methods in methodCache.
7763         (calculateClassID): Outsourced from getClassUID()
7764         for computing the UIDs.
7765         (getClassUIDFromField): Outsourced from getClassUID() for
7766         fetching the UID from the class field.
7767         (getClassUID): Use cached uid if possible. Use new helper
7768         methods for fetching the UID from the field or computing
7769         from scratch.
7770         (getObjectStreamClasses): Removed. Replaced by more
7771         efficient hierarchy() method, that also caches the result.
7772         (hierarchy): Replaces getObjectStreamClasses() for caching
7773         the result.
7774         (loadedByBootOrApplicationClassLoader): New helper method.
7775         (setClass): Invalidate hierarchy cache.
7776         (setSuperclass): Invalidate hierarchy cache.
7777         * java/io/ObjectStreamField.java
7778         (field): Made field package private for access from other
7779         classes.
7780         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7781         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7782         hashtable for mapping objects to ints.
7783
7784 2006-08-21  Roman Kennke  <kennke@aicas.com>
7785
7786         * java/io/File.java
7787         (getAbsolutePath): Fetch absolute path from
7788         VMFile.getAbsolutePath(). Moved actual impl to there.
7789         (isAbsolute): Let VMFile determine the absoluteness.
7790         (toURL): Let VMFile convert the filename.
7791         * vm/reference/java/io/VMFile.java
7792         (getAbsolutePath): New method.
7793         (isAbsolute): New method.
7794         (toURL): New method.
7795
7796 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7797
7798         * NEWS: Added note about updated VM interface.
7799
7800 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7801
7802         * java/lang/management/ManagementFactory.java:
7803         Updated documentation.
7804         
7805 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7806
7807         Fixes bug #28412
7808         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7809         New methods.
7810         * gnu/java/util/regex/CharIndexedCharSequence.java,
7811         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7812         new methods above.
7813         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7814         (match): call the new method setHitEnd of the input,
7815         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7816         Some optimization commented out, Use CharIndexed#move1 instead of move.
7817         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7818         * gnu/java/util/regex/REToken.java(match): The method body has been
7819         moved to an internal private method, (matchFake): New method,
7820         (setHitEnd): New method.
7821         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7822         if the match is not complete, (matchOneString): Count the number of
7823         characters which matched the pattern.
7824         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7825         (setFake): New method, (match): Call super.match or super.matchFake.
7826         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7827         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7828         setHitEnd of the input,
7829         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7830         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7831         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7832
7833 2006-08-18  Tom Tromey  <tromey@redhat.com>
7834
7835         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7836         the 'int', not the cast char.
7837
7838 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7839
7840         * scripts/check_jni_methods.sh: Don't use the "set -C" command
7841         which isn't available in all shells.
7842
7843 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7844
7845         * lib/Makefile.am (resources): Fix some shell portability issues.
7846
7847 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7848
7849         * configure.ac (tool-wrappers): Check for ltdl support when tool
7850         wrapper binaries are enabled.
7851         * tools/Makefile.am (LIBJVM): Remove variable.
7852         (AM_CPPFLAGS): Add LIBJVM define.
7853         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7854         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7855         gjavah_LDFLAGS): Remove variables.
7856         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7857
7858 2006-08-18  Tom Tromey  <tromey@redhat.com>
7859
7860         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7861         debugging prints.
7862         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7863         print.
7864         (readEntries): Likewise.
7865
7866 2006-08-17  Roman Kennke  <kennke@aicas.com>
7867
7868         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7869         (layoutLabel): Reset the text and icon rectangles.
7870
7871 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7872
7873         PR classpath/28537
7874         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7875         Transform gappletviewer name using program_transform_name.
7876
7877 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7878
7879         * javax/swing/filechooser/FileSystemView.java
7880         (getFileSystemView): Always return UnixFileSystemView, since
7881         that's the only one we got. Marked with NotImplementedException.
7882         * javax/swing/plaf/basic/BasicFileChooserUI.java
7883         (mouseClicked, installUI): Don't parse path by hand.
7884
7885 2006-08-17  Roman Kennke  <kennke@aicas.com>
7886
7887         * javax/swing/JComponent.java
7888         (scrollRectToVisible): Handle intermediate non-JComponents
7889         more gracefully.
7890
7891 2006-08-17  Roman Kennke  <kennke@aicas.com>
7892
7893         * javax/swing/RepaintManager.java
7894         (blitBuffer): Removed. This is now done in commitBuffer().
7895         (commitBuffer): Always paint on the root window or applet.
7896         No need to look for intermediate heavyweights. Optimized
7897         rectangle translation.
7898         (commitRemainingBuffers): Removed. Not needed anymore.
7899         (getHeavyweightParent): Removed. Not needed anymore.
7900         (getOffscreenBuffer): Fetch offscreen image from the
7901         actual root component.
7902         (paintDirtyRegions): Don't call commitRemainingBuffers().
7903
7904 2006-08-17  Roman Kennke  <kennke@aicas.com>
7905
7906         * javax/swing/SwingUtilities.java
7907         (clipString): New helper method for trimming strings.
7908         (layoutCompoundLabelImpl): Fixed algorithm to conform
7909         testsuites. Trim text if it's too long. Avoid creating
7910         new Rectangles. Optimized for performance.
7911         (layoutCompoundLabel): Use switch rather then if-else-chain.
7912         * javax/swing/plaf/basic/BasicButtonUI.java
7913         (viewR): New field.
7914         (iconR): New field.
7915         (textR): New field.
7916         (paint): Reset and use cached rectangles. Only call paintIcon()
7917         if icon is not null. Don't call paintButtonPressed() when
7918         button is selected, only when it is both armed and pressed.
7919         * javax/swing/plaf/basic/BasicGraphicsUtils.java
7920         (getPreferredButtonSize): Reused cached rectangles rather
7921         then creating new ones. Don't create new Rectangle via
7922         Rectangle.union().
7923         * javax/swing/plaf/basic/BasicLabelUI.java
7924         (getPreferredSize): Correctly reset cached rectangles. Especially
7925         the view rect must have a big size to give it room for layouting.
7926         Short cut layout when text == null.
7927         (paint): Correctly reset cached rectangles.
7928         * javax/swing/plaf/basic/BasicMenuItemUI.java
7929         (resetRectangles): New helper method.
7930         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7931         (paintMenuItem): Correctly reset the cached rectangles.
7932         * javax/swing/plaf/basic/BasicRadioButtonUI.java
7933         (getPreferredSize): Use cached Rectangle objects and initialize
7934         them correctly.
7935         (paint): Use cached Rectangle objects and initialize
7936         them correctly.
7937
7938 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
7939
7940         * java/util/Calendar.java: API doc additions.
7941
7942 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7943
7944         * javax/swing/DefaultButtonModel.java:
7945         (setRollover): Simplified statement.
7946
7947 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7948
7949         * gnu/java/rmi/server/RMIClassLoaderImpl.java
7950         (loadClass): Rewritten to use getClassLoader.
7951         (loadProxyClass): Implemented.
7952         (getClassLoader): Fixed support for null or empty codebase.
7953         * gnu/java/rmi/server/RMIObjectInputStream.java
7954         (resolveClass): Use user class loader as default class loader.
7955         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7956         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7957         (loadClass): Simplified and use user class loader instead of
7958         context class loader as default.
7959         * java/io/ObjectInputStream.java
7960         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7961         * vm/reference/gnu/classpath/VMStackWalker.java
7962         (firstNonNullClassLoader): New method.
7963         * vm/reference/java/io/VMObjectInputStream.java
7964         (loaderAction, currentClassLoader): Removed.
7965
7966 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7967
7968         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7969         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7970         by current scroll offset, added method documention.
7971         (getTabBounds(int, Rectangle)): Added method documentation.
7972         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7973         (paintContentBorderLeftEdge): Changed y to 1.
7974
7975 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7976
7977         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7978         (MouseHandler.mouseReleased): Implemented.
7979         (MouseHandler.mousePressed): Added delegation to tabbed pane.
7980         (MouseHandler.mouseEntered): Dito.
7981         (MouseHandler.mouseExited): Dito.
7982         (MouseHandler.mouseMoved): Dito.
7983         (MouseHandler.redispatchEvent): New method.
7984         (PropertyChangeHandler.propertyChange): Added extra block level,
7985         added code to handle tab placement changes, added comment.
7986         (updateViewPosition): Set unneeded coordinate to 0, added comment.
7987
7988 2006-08-16  Roman Kennke  <kennke@aicas.com>
7989
7990         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7991         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7992         New file.
7993
7994 2006-08-16  Mark Wielaard  <mark@klomp.org>
7995
7996         * java/awt/Component.java (orientation): Renamed to
7997         componentOrientation.
7998         (setComponentOrientation): Use new field name.
7999         (getComponentOrientation): Likewise.
8000
8001 2006-08-16  Roman Kennke  <kennke@aicas.com>
8002
8003         PR 28750
8004         * javax/swing/plaf/basic/BasicTreeUI.java
8005         (CellEditorHandler.editingCancelled): Call completeEditing
8006         directly.
8007         (CellEditorHandler.editingStopped): Call completeEditing
8008         directly.
8009         (NodeDimensionHandler.getNodeDimensions): Rewritten
8010         to use the preferred sizes of the renderer and editor.
8011         (TreeExpansionHandler.treeCollapsed): Complete editing
8012         here.
8013         (TreeSelectionHandler.valueChanged): Complete editing
8014         here.
8015         (cancelEditing): Call completeEditing with false, false and
8016         false. Don't call finish (removed method).
8017         (completeEditing(boolean,boolean,boolean): Only do something when
8018         stopEditingInCompleteEditing is true. Nullify editingComponent
8019         and editingPath. Remove editingComponent from tree. Update
8020         the layout when necessary and repaint.
8021         (completeEditing): Stop editing when necessary.
8022         (editorRequestFocus): New helper method. Request focus
8023         on the actual editor.
8024         (finish) Removed. This is now done in completeEditing().
8025         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8026         (setLargeModel): Complete editing here.
8027         (setRootVisible): Complete editing here.
8028         (setRowHeight): Complete editing here.
8029         (setSelectionModel): Complete editing here.
8030         (startEditing): Correctly initialize and start editing.
8031         (updateExpandedDescendants): Complete editing here.
8032         * javax/swing/tree/DefaultTreeCellEditor.java
8033         (DefaultTextField): Fetch size from super and use renderer's height
8034         if appropriate.
8035         (EditorContainer.EditorContainer): Set layout to null, just
8036         to make sure.
8037         (EditorContainer.doLayout): Layout so that the editor
8038         is offset to the right of the icon.
8039         (EditorContainer.getPreferredSize): Implemented to
8040         provide a reasonable preferred size.
8041         (EditorContainer.paint): Position icon in the middle.
8042         Also paint border if appropriate.
8043         (EditorContainer.setBounds): Removed.
8044         (RealEditorListener): Removed.
8045         (DefaultTreeCellEditor): Set correct border.
8046         (cancelCellEditing): Message real editor. Call finish().
8047         (createCellEditor): Don't add listener.
8048         (determineOffset): Correctly determine offset, and update
8049         the icon.
8050         (finish): New helper method.
8051         (getTreeCellEditorComponent): Set correct font. Call
8052         prepareForEditing() and determineOffset() to correctly initialize
8053         the state.
8054         (stopCellEditing): Messsage realEditor to stop editing. Call
8055         finish to clean up.
8056         (stopEditingTimer): Removed.
8057         (valueChanged): Correctly reset lastPath.
8058         * javax/swing/tree/DefaultTreeCellRenderer.java
8059         (getPreferredSize): Return super plus some extra space for
8060         better readability.
8061
8062 2006-08-16  Roman Kennke  <kennke@aicas.com>
8063
8064         * javax/swing/plaf/metal/MetalTreeUI.java
8065         (LineStyleListener): New property listener, that updates
8066         the line style setting if the corresponding property
8067         changes.
8068         (lineStyleListener): New field.
8069         (lineStyle): New field.
8070         (LINE_STYLE_ANGLED): New constant field.
8071         (LINE_STYLE_HORIZONTAL): New constant field.
8072         (LINE_STYLE_NONE): New constant field.
8073         (LINE_STYLE_VALUE_ANGLED): New constant field.
8074         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8075         (LINE_STYLE_VALUE_NONE): New constant field.
8076         (LINE_STYLE_PROPERTY): New constant field.
8077         (decodeLineStyle): Implemented.
8078         (installUI): Install line style listener. Set initial
8079         lineStyle.
8080         (uninstallUI): Uninstall line style listener.
8081         (paintHorizontalPartOfLeg): Only call super for angled
8082         lineStyle.
8083         (paintVerticalPartOfLeg): Only call super for angled
8084         lineStyle.
8085         (paintHorizontalSeparators): Implemented.
8086         (paint): If lineStyle==HORIZONTAL, call
8087         paintHorizontalSeparators().
8088         * examples/gnu/classpath/examples/swing/TreeDemo.java
8089         (createContent): Add panel for selecting line styles.   
8090
8091 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8092         
8093         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8094         (createContent): Rewritten.
8095         (createPlacementChangingMenuItem): New method.
8096         (createLayoutPolicyChangingMenuItem): New method.
8097         (createTabbedPane): New method.
8098         (createTabContent): New method.
8099
8100 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8101
8102         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8103         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8104         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8105
8106 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8107
8108         * javax/swing/text/WrappedPlainView.java:
8109         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8110         (calculateBreakPosition): Add p0 to return value.
8111
8112 2006-08-15  Roman Kennke  <kennke@aicas.com>
8113
8114         * javax/swing/plaf/basic/BasicTreeUI.java
8115         (MouseHandler.selectedOnPress): New field.
8116         (MouseHandler.handleEvent): New helper method for handling
8117         selection and start/stop editing for mouse events.
8118         (MouseHandler.mouseDragged): Commented as no-op method.
8119         (MouseHandler.mouseMoved): Commented as no-op method.
8120         (MouseHandler.mousePressed): Use handleEvent() to handle
8121         selection and editing handling.
8122         (MouseHandler.mouseReleased): Use handleEvent() to handle
8123         selection and editing handling.
8124         (MouseInputHandler.MouseInputHandler): Register itself
8125         as mouse listener on source. Redispatch event to
8126         destination.
8127         (MouseInputHandler.dispatch): New helper method.
8128         (MouseInputHandler.mouseClicked): Dispatch event.
8129         (MouseInputHandler.mouseDragged): Dispatch event.
8130         (MouseInputHandler.mouseEntered): Stop dispatching
8131         if dragging stopped.
8132         (MouseInputHandler.mouseExited): Stop dispatching
8133         if dragging stopped.
8134         (MouseInputHandler.mouseMoved): Stop dispatching.
8135         (MouseInputHandler.mousePressed): Marked as no-op.
8136         (MouseInputHandler.mouseReleased): Dispatch and stop
8137         dispatching afterwards.
8138         (MouseInputHandler.removeFromSource): Implemented.
8139         (PropertyChangeHandler.propertyChange): Also handle
8140         editable property changes by calling setEditable().
8141         (SelectionModelPropertyChangeHandler.propertyChange):
8142         Reset row selection.
8143         (startEditTimer): Removed.
8144         (setCellEditor): Call updateEditor().
8145         (setEditable): Call updateEditor().
8146         (startEditingAtPath): Make path fully visible before starting
8147         editing.
8148         (startEditing): Maybe cancel previous edit session. Add
8149         editing component itself, not its parent container.
8150         Register MouseInputHandler for correctly redispatching
8151         initial events.
8152         (stopEditing): Message cellEditor and only completeEditing()
8153         when approved by cell editor.
8154         (updateCellEditor): Complete editing before updating
8155         the cell editor. Get cell editor from JTree if possible,
8156         otherwise create default editor. Update the listeners
8157         on the editor.
8158         * javax/swing/tree/DefaultTreeCellEditor.java
8159         (CLICK_COUNT_TO_START): Removed.
8160         (DefaultTreeCellEditor): Install correct border. Let setTree()
8161         update the listeners. Don't initialize lastPath and font yet.
8162         (actionPerformed): Implemented to start editing.
8163         (createTreeCellEditor): Set click count to start to 1, rather than
8164         3.
8165         (isCellEditable): Prepare editor here. Determine if we can
8166         start immediately, or if we trigger a timer to do so.
8167         (prepareForEditing): Don't removeAll() (not necessary),
8168         check editingComponent to be non-null.
8169         (setTree): Update listeners.
8170         (shouldStartEditingTimer): Check for left mouse button.
8171         (startEditingTimer): Lazily create timer.
8172
8173 2006-08-15  Lillian Angel  <langel@redhat.com>
8174
8175         * java/awt/dnd/DropTargetDragEvent.java
8176         (getTransferable): Implemented.
8177
8178 2006-08-15  Roman Kennke  <kennke@aicas.com>
8179
8180         * java/util/Vector.java
8181         (removeAll): Added comment about NPE.
8182         (retainAll): Added comment about NPE.
8183
8184 2006-08-15  Roman Kennke  <kennke@aicas.com>
8185
8186         * java/util/zip/ZipFile.java
8187         (UTF8DECODER): Removed.
8188         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8189         (utf8Decoder): New instance field.
8190         (decodeChars): Lazily create UTF8 decoder. Use instance
8191         field rather than a static field to avoid corruption.
8192
8193 2006-08-15  Roman Kennke  <kennke@aicas.com>
8194
8195         * java/io/PrintStream.java
8196         (line_separator): Provide default for system property.
8197         * java/io/FileDescriptor.java
8198         (valid): Create local copy of channel field for better
8199         threading safetly.
8200
8201 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8202
8203         * java/util/zip/ZipFile.java
8204         (PartialInputStream.UTF8DECODER): New constant field, used
8205         for decoding UTF8 strings.
8206         (readLeShort): Access buffer directly if it has enough bytes
8207         available.
8208         (readLeInt): Access buffer directly if it has enough bytes
8209         available.
8210         (decodeChars): New helper method for decoding UTF8 strings.
8211         (readString): Avoid NIO charset decoder if possible.
8212
8213 2006-08-15  Roman Kennke  <kennke@aicas.com>
8214
8215         * java/util/Vector.java
8216         (removeAll): Don't explicitly null-check here. The RI allows
8217         null arguments when Vector is empty. In other cases we
8218         implicitly throw an NPE.
8219         (retainAll): Don't explicitly null-check here. The RI allows
8220         null arguments when Vector is empty. In other cases we
8221         implicitly throw an NPE.
8222
8223 2006-08-14  Casey Marshall  <csm@gnu.org>
8224
8225         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8226         of changes made on this branch.
8227         Files modified:
8228         * gnu/classpath/debug/Component.java
8229         * gnu/classpath/debug/SystemLogger.java
8230         * gnu/java/security/action/GetPropertyAction.java
8231         * gnu/java/security/action/GetSecurityPropertyAction.java
8232         * gnu/javax/crypto/RSACipherImpl.java
8233         * gnu/javax/net/ssl/PrivateCredentials.java
8234         * gnu/javax/net/ssl/provider/Alert.java
8235         * gnu/javax/net/ssl/provider/AlertException.java
8236         * gnu/javax/net/ssl/provider/Certificate.java
8237         * gnu/javax/net/ssl/provider/CertificateRequest.java
8238         * gnu/javax/net/ssl/provider/CertificateType.java
8239         * gnu/javax/net/ssl/provider/CertificateVerify.java
8240         * gnu/javax/net/ssl/provider/CipherSuite.java
8241         * gnu/javax/net/ssl/provider/ClientHello.java
8242         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8243         * gnu/javax/net/ssl/provider/CompressionMethod.java
8244         * gnu/javax/net/ssl/provider/Constructed.java
8245         * gnu/javax/net/ssl/provider/ContentType.java
8246         * gnu/javax/net/ssl/provider/DiffieHellman.java
8247         * gnu/javax/net/ssl/provider/Extension.java
8248         * gnu/javax/net/ssl/provider/Finished.java
8249         * gnu/javax/net/ssl/provider/Handshake.java
8250         * gnu/javax/net/ssl/provider/Jessie.java
8251         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8252         * gnu/javax/net/ssl/provider/Random.java
8253         * gnu/javax/net/ssl/provider/ServerHello.java
8254         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8255         * gnu/javax/net/ssl/provider/Signature.java
8256         * gnu/javax/net/ssl/provider/Util.java
8257         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8258         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8259         * java/security/MessageDigest.java
8260         * java/security/MessageDigestSpi.java
8261         * java/security/Signature.java
8262         * java/security/SignatureSpi.java
8263         * javax/crypto/Mac.java
8264         * javax/crypto/MacSpi.java
8265         * javax/net/ssl/HandshakeCompletedEvent.java
8266         * javax/net/ssl/HttpsURLConnection.java
8267         * javax/net/ssl/SSLContext.java
8268         * javax/net/ssl/SSLContextSpi.java
8269         * javax/net/ssl/SSLSession.java
8270         Files added:
8271         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8272         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8273         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8274         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8275         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8276         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8277         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8278         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8279         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8280         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8281         * gnu/javax/net/ssl/provider/ServerNameList.java 
8282         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8283         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8284         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8285         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8286         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8287         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8288         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8289         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8290         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8291         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8292         * gnu/javax/net/ssl/provider/Record.java 
8293         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8294         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8295         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8296         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8297         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8298         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8299         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8300         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8301         * gnu/javax/net/ssl/provider/ExtensionList.java 
8302         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8303         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8304         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8305         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8306         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8307         * gnu/javax/net/ssl/provider/SessionImpl.java 
8308         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8309         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8310         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8311         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8312         * gnu/javax/net/ssl/provider/HelloRequest.java 
8313         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8314         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8315         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8316         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8317         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8318         * gnu/javax/net/ssl/provider/CertificateURL.java 
8319         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8320         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8321         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8322         * gnu/javax/net/ssl/provider/Builder.java 
8323         * gnu/javax/net/ssl/provider/Debug.java 
8324         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8325         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8326         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8327         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8328         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8329         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8330         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8331         * javax/net/ssl/SSLEngine.java 
8332         * javax/net/ssl/CertPathTrustManagerParameters.java 
8333         * javax/net/ssl/KeyStoreBuilderParameters.java 
8334         * javax/net/ssl/X509ExtendedKeyManager.java 
8335         * javax/net/ssl/SSLEngineResult.java 
8336         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8337         * gnu/javax/net/ssl/Session.java 
8338         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8339         * gnu/javax/net/ssl/SSLCipherSuite.java 
8340         * gnu/javax/net/ssl/AbstractSessionContext.java 
8341         * gnu/javax/net/ssl/SessionStoreException.java 
8342         * gnu/javax/net/ssl/SSLRecordHandler.java 
8343         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8344         * gnu/javax/crypto/key/GnuPBEKey.java 
8345         * gnu/java/security/util/ByteBufferOutputStream.java 
8346         * gnu/java/security/Requires.java 
8347         * gnu/javax/security/auth/callback/CertificateCallback.java 
8348         Files removed:
8349         * gnu/javax/net/ssl/provider/Context.java
8350         * gnu/javax/net/ssl/provider/DigestInputStream.java
8351         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8352         * gnu/javax/net/ssl/provider/Enumerated.java
8353         * gnu/javax/net/ssl/provider/Extensions.java
8354         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8355         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8356         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8357         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8358         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8359         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8360         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8361         * gnu/javax/net/ssl/provider/KeyPool.java
8362         * gnu/javax/net/ssl/provider/OverflowException.java
8363         * gnu/javax/net/ssl/provider/RecordInput.java
8364         * gnu/javax/net/ssl/provider/RecordInputStream.java
8365         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8366         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8367         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8368         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8369         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8370         * gnu/javax/net/ssl/provider/SSLSocket.java
8371         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8372         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8373         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8374         * gnu/javax/net/ssl/provider/SecurityParameters.java
8375         * gnu/javax/net/ssl/provider/Session.java
8376         * gnu/javax/net/ssl/provider/SessionContext.java
8377         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8378         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8379
8380 2006-08-14  Roman Kennke  <kennke@aicas.com>
8381
8382         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8383         (DividerLayout.layoutContainer): Removed debug output.
8384         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8385         (BasicHorizontalLayoutManager.axis): New field.
8386         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8387         New constructor.
8388         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8389         Call new axis constructor.
8390         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8391         handle direction.
8392         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8393         handle direction.
8394         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8395         Refactored to handle direction.
8396         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8397         to handle direction.
8398         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8399         handle direction.
8400         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8401         to handle direction.
8402         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8403         to handle direction.
8404         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8405         to handle direction.
8406         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8407         divider size.
8408         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8409         New explicit constructor. Calls super with vertical axis.
8410         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8411         to BasicHorizontalLayoutManager.
8412         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8413         moved to BasicHorizontalLayoutManager.
8414         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8415         Functionality moved to BasicHorizontalLayoutManager.
8416         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8417         moved to BasicHorizontalLayoutManager.
8418         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8419         moved to BasicHorizontalLayoutManager.
8420         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8421         Functionality moved to BasicHorizontalLayoutManager.
8422         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8423         moved to BasicHorizontalLayoutManager.
8424         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8425         moved to BasicHorizontalLayoutManager.
8426         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8427         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8428         (BUTTON_SPRITE_R): New constant field.
8429         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8430         L sprite for left buttons.
8431         
8432 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8433
8434         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8435         (query_formats): g_free 'name' after usage.
8436         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8437         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8438
8439 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8440
8441         PR classpath/27723
8442         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8443         seamonkey-plugin.
8444
8445 2006-08-14  Francis Kung  <fkung@redhat.com>
8446
8447         PR 28694
8448         * java/awt/image/ColorModel.java
8449         (coerceData): Added check for non-transparent images.
8450
8451 2006-08-14  Francis Kung  <fkung@redhat.com>
8452
8453         * java/awt/image/BandCombineOp.java
8454         (BandCombineOp): Perform checks on validity of matrix.
8455         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8456         (filter): Updated to work with new matrix storage.
8457         (getMatrix): Updated javadoc.
8458         (getPoint2D): Formatting change.
8459
8460 2006-08-14  Francis Kung  <fkung@redhat.com>
8461
8462         * java/awt/image/AffineTransformOp.java
8463         (AffineTransformOp): Updated javadoc.
8464         (createCompatibleDestImage): Match behaviour of reference implementation.
8465         (createCompatibleDestRaster): Formatting changes.
8466         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8467         (filter(Raster, WritableRaster)): Re-implemented.
8468         (filterBicubic): New private method.
8469         (filterBilinear): New private method.
8470         (filterNearest): New private method.
8471         (getBounds2D): No longer fixed around one point for rotations.
8472         (getInterpolationType): Add support for bicubic interpolation.
8473
8474 2006-08-14  Roman Kennke  <kennke@aicas.com>
8475
8476         * javax/swing/plaf/metal/MetalLookAndFeel.java
8477         (MetalLookAndFeel): Moved theme initialization to
8478         getDefaults().
8479         (createDefaultTheme): Forward to getCurrentTheme().
8480         (getDefaults): Initialize theme before doing anything else.
8481         (getCurrentTheme): Recognize swing.metalTheme property.
8482
8483 2006-08-14  Roman Kennke  <kennke@aicas.com>
8484
8485         * javax/swing/JTable
8486         (getScrollableUnitIncrement): Expose partially exposed
8487         row in scrolling direction.
8488
8489 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8490
8491         * javax/swing/JTable (getScrollableUnitIncrement): 
8492         Removing my name as the whole method body have been
8493         recently completely replaced.
8494
8495 2006-08-14  Roman Kennke  <kennke@aicas.com>
8496
8497         PR 28028
8498         * javax/swing/text/Utilities.java
8499         (getTabbedTextOffset): Don't add p0 here.
8500
8501 2006-08-14  Roman Kennke  <kennke@aicas.com>
8502
8503         PR 28719
8504         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8505         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8506         when wheel is going up.
8507
8508 2006-08-14  Roman Kennke  <kennke@aicas.com>
8509
8510         PR 28693
8511         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8512         (BasicOneTouchButton): New inner class.
8513         (DividerLayout.changeButtonOrientation): Removed.
8514         (DividerLayout.positionButtons): Moved into layoutContainer.
8515         (DividerLayout.layoutContainer): Reworked for correct layout.
8516         (OneTouchAction): New inner class.
8517         (centerOneTouchButtons): New field.
8518         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8519         UIManager.
8520         (createLeftOneTouchButton): Reimplemented to return
8521         BasicOneTouchButton.
8522         (createRightOneTouchButton): Reimplemented to return
8523         BasicOneTouchButton.
8524         (getPreferredSize): Reimplemented to return fixed preferredSize.
8525         (oneTouchExpandableChanged): Add OneTouchAction action to
8526         buttons. Don't install mouse listeners.
8527         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8528         (paint): Don't trigger extra paint for buttons.
8529         (propertyChange): Revalidate splitPane when orientation is changed.
8530         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8531         oneTouchExpandable is true.
8532         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8533         (installDefaults): Install dividerSize on the divider too.
8534         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8535         (MetalDividerLayout): Removed. Functionality is already
8536         in BasicSplitPaneDivider.DividerLayout.
8537         (MetalOneTouchButton): New inner class.
8538         (BUTTON_SPRITE): New constant field.
8539         (MetalSplitPaneDivider): Don't change layout.
8540         (createLeftOneTouchButton): Overridden to return custom button
8541         for Metal.
8542         (createRightOneTouchButton): Overridden to return custom button
8543         for Metal.
8544         (paint): Don't trigger button painting. Call super instead.
8545
8546 2006-08-13  Roman Kennke  <kennke@aicas.com>
8547
8548         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8549         (installKeyboardAction): Unmarked as stub. Added comment
8550         explaining that the RI seems to do nothing here.
8551         (uninstallKeyboardAction): Unmarked as stub. Added comment
8552         explaining that the RI seems to do nothing here.
8553
8554 2006-08-13  Roman Kennke  <kennke@aicas.com>
8555
8556         PR 28135
8557         * javax/swing/ScrollPaneLayout.java
8558         (layoutContainer): Consider the viewportBorder of the
8559         JScrollPane.
8560         (minimumLayoutSize): Consider the viewportBorder of the
8561         JScrollPane.
8562         (preferredLayoutSize): Consider the viewportBorder of the
8563         JScrollPane.
8564         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8565         (installDefaults): Also install viewportBorder if specified.
8566         (paint): Paint viewportBorder if present.
8567         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8568         Don't nullify foreground, background and font. Uninstall
8569         border via LookAndFeel helper method to avoid uninstall
8570         user set border.
8571
8572 2006-08-13  Roman Kennke  <kennke@aicas.com>
8573
8574         PR 28696
8575         * javax/swing/plaf/basic/BasicHTML.java
8576         (HTMLRootView.HTMLRootView): Trigger initial layout.
8577         (HTMLRootView.setSize): Overridden to forward to real view.
8578         * javax/swing/plaf/basic/BasicToolTipUI.java
8579         (PropertyChangeHandler): New inner class. Updates the HTML
8580         renderer.
8581         (propertyChangeHandler): New field.
8582         (getMaximumSize): Add HTML width delta.
8583         (getMinimumSize): Add HTML width delta.
8584         (getPreferredSize): Reimplemented to use HTML view for size
8585         calculation if appropriate, otherwise use simple stringWidth()
8586         measurement.
8587         (installListeners): Install propertyChangeHandler.
8588         (uninstallListeners): Uninstall propertyChangeHandler.
8589         (installUI): Update HTML renderer.
8590         (uninstallUI): Update HTML renderer.
8591         (paint): Reimplemented to use HTML view for rendering if
8592         appropriate, simple drawString otherwise.
8593         * javax/swing/plaf/metal/MetalToolTipUI.java
8594         (getPreferredSize): Call super and add accelerator delta.
8595         (paint): Simply call super.
8596
8597 2006-08-13  Roman Kennke  <kennke@aicas.com>
8598
8599         * javax/swing/JMenu.java
8600         (changeListener): Renamed to menuChangeListener to avoid
8601         shadowing changeListener field from AbstractButton.
8602
8603 2006-08-13  Roman Kennke  <kennke@aicas.com>
8604
8605         * javax/swing/JTree.java
8606         (getScrollableUnitIncrement): Fixed direction.
8607         (getScrollableBlockIncrement): Implemented to scroll one
8608         page.
8609         * javax/swing/tree/VariableHeightLayoutCache.java
8610         (distance): Consider y + height already outside the node.
8611
8612 2006-08-13  Roman Kennke  <kennke@aicas.com>
8613
8614         * javax/swing/JTable.java
8615         (getScrollableUnitIncrement): Fixed direction. Make it behave
8616         like the RI.
8617         (getScrollableBlockIncrement): Fixed direction. Make it behave
8618         like the RI.
8619
8620 2006-08-13  Roman Kennke  <kennke@aicas.com>
8621
8622         * javax/swing/JList.java
8623         (getScrollableUnitIncrement): Fixed direction. Implemented
8624         horizontal scrolling. Improved usability.
8625         (getScrollableBlockIncrement): Fixed direction. Improved usability.
8626
8627 2006-08-13  Roman Kennke  <kennke@aicas.com>
8628
8629         * javax/swing/plaf/basic/BasicScrollBarUI.java
8630         (scrollByUnit): Scroll by -unit when direction is not positive
8631         and +unit otherwise.
8632         (scrollByBlock): Scroll by -unit when direction is not positive
8633         and +unit otherwise.
8634
8635 2006-08-13  Roman Kennke  <kennke@aicas.com>
8636
8637         PR 28028
8638         * javax/swing/text/PlainView.java
8639         (paint): Limit painted area to the lines inside the clip
8640         and allocation.
8641
8642 2006-08-13  Roman Kennke  <kennke@aicas.com>
8643
8644         * javax/swing/plaf/basic/BasicTextUI.java
8645         (uninstallListeners): Unregister document listener.
8646
8647 2006-08-13  Sven de Marothy  <sven@physto.se>
8648
8649         * java/util/Locale.java
8650         (hashcodeCache): New field.
8651         (hashCode): use the above field instead of the serialized one
8652         (writeObject): Removed method.
8653         (readObject): Intern strings.
8654         (equals): Revert to previous method.
8655
8656 2006-08-13  Roman Kennke  <kennke@aicas.com>
8657
8658         * javax/swing/JTabbedPane.java
8659         (JTabbedPane): Call setModel() here and let this install the
8660         change listener correctly.
8661         (setModel): Correctly uninstall and reinstall ChangeListener when
8662         model changes.
8663
8664 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8665
8666         PR Classpath/23952
8667         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8668         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8669         (lastDefaultLocale): Removed.
8670         (emptyLocale): Likewise.
8671         (BundleKey.defaultLocale): New field.
8672         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8673         (BundleKey.set): Likewise.
8674         (BundleKey.equals): Take defaultLocal field into consideration.
8675         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8676
8677 2006-08-13  Roman Kennke  <kennke@aicas.com>
8678
8679         * javax/swing/JMenu.java
8680         (MenuChangeListener): New inner class, helps firing menu events.
8681         (changeListener): New field.
8682         (add(text)): Create new JMenuItem here and call add(JMenuItem).
8683         (add(Action)): Create Action using createActionComponent()
8684         and add via add(Component).
8685         (setModel): Install and uninstall MenuChangeListener here.
8686
8687 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8688
8689         PR Classpath/27372
8690         * java/math/BigInteger.java: Updated copyright year.
8691         (init): Consume as little bytes as possible.
8692         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8693         (valueOf(String, int)): Throw NumberFormatException for malformed strings
8694         as per RI's documentation.
8695
8696 2006-08-13  Sven de Marothy  <sven@physto.se>
8697
8698         * java/util/Locale.java
8699         (hashcode): Is a serialized field, not transient.
8700         (equals): Should NOT compare strings by reference.
8701         (readObject/writeObject): Use the default methods and handle the hash
8702         seperately.
8703
8704 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8705
8706         PR Classpath/28678
8707         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8708         Updated documentation.
8709         Formatting.
8710         (getInstance(String, String, Provider, Object[])): Likewise.
8711         Separate checks for null and empty string arguments.
8712         Include as much information as possible in the exception's message.
8713         Do not swallow original exception; instead use it as the cause of the
8714         resulting exception.
8715         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8716         (getInstance(String)): Updated documentation.
8717         Formatting.
8718         Store last exception caught when iterating through all providers.
8719         If no implementation found, raise last exception if one was caught.
8720         (getInstance(String, String)): Updated documentation.
8721         Formatting.
8722         Check for null or empty provider as per RI-5's documentation.
8723         (getInstance(String, Provider)): Updated documentation.
8724         Formatting.
8725         Use as much information as possible in the exception message.
8726         Do not swallow original exception; instead use it as the cause for the
8727         ultimate raised exception(s).
8728         * java/security/cert/CertificateFactory.java: Likewise.
8729         * java/security/cert/CertPathBuilder.java: Likewise.
8730         * java/security/cert/CertPathValidator.java: Likewise.
8731         * java/security/cert/CertStore.java: Likewise.
8732         * java/security/AlgorithmParameterGenerator.java: Likewise.
8733         * java/security/AlgorithmParameters.java: Likewise.
8734         * java/security/KeyFactory.java: Likewise.
8735         * java/security/KeyPairGenerator.java: Likewise.
8736         * java/security/KeyStore.java: Likewise.
8737         * java/security/MessageDigest.java: Likewise.
8738         * java/security/SecureRandom.java: Likewise.
8739         * java/security/Signature.java: Likewise.
8740         * javax/crypto/Cipher.java: Likewise.
8741         * javax/crypto/ExemptionMechanism.java: Likewise.
8742         * javax/crypto/KeyAgreement.java: Likewise.
8743         * javax/crypto/KeyGenerator.java: Likewise.
8744         * javax/crypto/Mac.java: Likewise.
8745         * javax/crypto/SecretKeyFactory.java: Likewise.
8746         * javax/net/ssl/KeyManagerFactory.java: Likewise.
8747         * javax/net/ssl/SSLContext.java: Likewise.
8748         * javax/net/ssl/TrustManagerFactory.java: Likewise.
8749
8750 2006-08-13  Roman Kennke  <kennke@aicas.com>
8751
8752         * javax/swing/JEditorPane.java
8753         (getScrollableTracksViewportHeight): Also check maximum size.
8754         * javax/swing/JTextPane.java
8755         (insertIcon): Use input attributes for adding the icon
8756         attribute.
8757         * javax/swing/plaf/basic/BasicTextUI.java
8758         (RootView.setSize): Overridden to forward to real view.
8759         (getPreferredSize): Trigger setSize() on the view.
8760         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8761         to viewToModel() call, rather then null.
8762         * javax/swing/text/ParagraphView.java
8763         (changedUpdate): Invalide layout. Call super.
8764         * javax/swing/text/SimpleAttributeSet.java
8765         (clone): Use super's clone method to create clone.
8766         * javax/swing/text/StyleConstants.java
8767         (setIcon): Also set element name attribute.
8768         * javax/swing/text/StyledEditorKit.java
8769         (BoldAction.actionPerformed): Actually set the bold attribute,
8770         not italic.
8771         (setCharacterAttributes): Replaced with more straightforward
8772         impl.
8773         * javax/swing/text/TextAction.java
8774         (getFocusedComponent): Implemented.
8775         * javax/swing/text/Utilities.java
8776         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8777         of null.
8778         * javax/swing/text/View.java
8779         (changedUpdate): Nullify element change when updateChildren
8780         says so.
8781
8782 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8783
8784         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8785         Fix documentation typos.
8786
8787 2006-08-11  David Daney  <ddaney@avtrex.com>
8788
8789         PR classpath/28580
8790         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
8791         createResponseBodyStream in more cases and with new parameter.
8792         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
8793         HEAD and !mayHaveBody responses specially.
8794         
8795 2006-08-11  Roman Kennke  <kennke@aicas.com>
8796
8797         * javax/swing/text/GlyphView.java
8798         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8799         * javax/swing/text/LabelView.java
8800         (valid): New flag indicating if the text attributes are valid.
8801         (LabelView): Initialize valid field with false.
8802         (setPropertiesFromAttributes): Call setter methods instead
8803         of setting properties directly. Set valid to true.
8804         (changedUpdate): Invalidate attributes. Call super.
8805         (getBackground): Sync attributes if necessary.
8806         (getForeground): Sync attributes if necessary.
8807         (getFont): Sync attributes if necessary.
8808         (isUnderline): Sync attributes if necessary.
8809         (isSuperscript): Sync attributes if necessary.
8810         (isStrikeThrough): Sync attributes if necessary.
8811         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8812         from toolkit if Container is not available yet.
8813
8814 2006-08-11  Roman Kennke  <kennke@aicas.com>
8815
8816         * javax/swing/text/PlainView.java
8817         (tabBase): New field.
8818         (tabSize): New field.
8819         (updateMetrics): Update tabSize.
8820         (lineToRect): Only allocate when really necessary.
8821         (modelToView): Use tabBase for offset calculations.
8822         (paint): Only allocate when really necessary. Update tabBase.
8823         (nextTabStop): Fixed tab calculation.
8824         (viewToModel): Correctly handle multiline text and locations
8825         outside the view's bounds. Set bias.
8826         (getLineLength): Use tabBase.
8827         * javax/swing/text/Utilities.java
8828         (drawTabbedText): Don't special case newlines. The views
8829         must take care of this.
8830
8831 2006-08-11  Roman Kennke  <kennke@aicas.com>
8832
8833         * javax/swing/text/GapContent.java
8834         (UndoPosRef): New inner class. Used for resetting positions
8835         after undo/redo operations.
8836         (InsertUndo.positions): New field.
8837         (InsertUndo.undo): Store positions in removed range.
8838         (InsertUndo.redo): Restore positions in re-inserted range.
8839         (UndoRemove.positions): New field.
8840         (UndoRemove.UndoRemove): Store positions in removed range.
8841         (UndoRemove.undo): Restore positions in re-inserted range.
8842         (UndoRemove.redo): Store positions in removed range.
8843         (insertString): Create InsertUndo instance before actually
8844         inserting the string.
8845         (remove): Create UndoRemove instance before actually
8846         removing.
8847         (getPositionsInRange): Don't clear the Vector. Return Vector
8848         of UndoPosRefs.
8849         (updateUndoPositions): Implemented to reset all UndoPosRefs
8850         in the vector.
8851
8852 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
8853
8854         * java/io/ObjectInputStream.java (readClassDescriptor):
8855         Use class's class loader to resolve field types.
8856         * java/io/ObjectStreamField.java
8857         (ObjectStreamField(String,String,ClassLoader)): Removed.
8858         (ObjectStreamField(String,String)): Don't try to resolve typename.
8859         (resolveType): New method.
8860
8861 2006-08-10  Roman Kennke  <kennke@aicas.com>
8862
8863         * javax/swing/text/BoxView.java
8864         (calculateMajorAxisRequirements): Sum up the preferred and
8865         maximum sizes.
8866         (isAfter): Also add in the rectangle's with/height.
8867         (childAllocation): Don't trigger layout here.
8868         (layoutMinorAxis): Removed debug output.
8869         (getWidth): Consider the insets.
8870         (getHeight): Consider the insets.
8871         (setSize): Consider the insets.
8872         (updateRequirements): Check axis and throw
8873         IllegalArgumentException.
8874
8875 2006-08-10  Roman Kennke  <kennke@aicas.com>
8876
8877         * javax/swing/text/AbstractDocument.java
8878         (BidiRootName): New constant field, denotes the element name
8879         for bidi root elements.
8880         (AsyncLoadPriority): New constant field, denotes the property
8881         to store the asynchronousLoadPriority.
8882         (I18N): New constant field, denotes the property for
8883         I18N support.
8884         (bidiRoot): Made field type BidiRootElement.
8885         (AbstractDocument): Build initial element structure for
8886         bidi.
8887         (getAsynchronousLoadPriority): Implemented. Returns the
8888         value stored in the document properties.
8889         (setAsynchronousLoadPriority): Implemented. Sets the
8890         value stored in the document properties.
8891         (getEndPosition): Implemented to use a Position from the
8892         content.
8893         (getStartPosition): Implemented to use a Position from the
8894         content.
8895         (insertStringImpl): Update the I18N setting if necessary.
8896         (insertUpdate): Update the bidi structure if necessary.
8897         (postRemoveUpdate): Update the bidi structure if necessary.
8898         (putProperty): Update the I18N setting and bidi structure
8899         if necessary.
8900         (updateBidi): New helper method for updating the bidi
8901         structure.
8902         (getBidis): New helper method. Fetches the Bidi analysers
8903         for the paragraphs of the range to check.
8904         (dump): Also dump the bidi structure.
8905         (AbstractElement.dump): Indent the '>' correctly.
8906         (AbstractElement.children): Check numChildren rather then
8907         children.length.
8908         (BidiRootElement): New inner class.
8909         (BidiElement): New inner class.
8910
8911 2006-08-10  Roman Kennke  <kennke@aicas.com>
8912
8913         * javax/swing/text/GapContent.java
8914         (getChars): Optimized to only copy array when really necessary.
8915         Respect the partialReturn property.
8916
8917 2006-08-10  Lillian Angel  <langel@redhat.com>
8918
8919         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8920         (getComponentPeer): Added check to prevent NPE.
8921
8922 2006-08-10  Gary Benson  <gbenson@redhat.com>
8923
8924         * java/security/AccessControlContext.java (<init>):
8925         Avoid a duplicated AccessController.getContext() call.
8926
8927 2006-08-09  Mark Wielaard  <mark@klomp.org>
8928   
8929         * doc/www.gnu.org/newsitems.txt: Add 0.92.
8930         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8931         * doc/www.gnu.org/announce/20060809.wml: New file.
8932
8933 2006-08-09  Mark Wielaard  <mark@klomp.org>
8934
8935         * configure.ac (VERSION): Set to 0.92-generics.
8936         * NEWS: Add updates for 0.92 release.
8937
8938 2006-08-09  Tom Tromey  <tromey@redhat.com>
8939
8940         PR classpath/28658:
8941         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8942         the pattern match any number of spaces in the text.
8943
8944 2006-08-09  Sven de Marothy  <sven@physto.se>
8945
8946         * java/awt/image/BufferedImage.java
8947         (BufferedImage): Reimplement predefined-type constructor.
8948         (observers/tileObservers): Field renamed to tileObservers.
8949         (createDefaultIndexedColorModel): New method.
8950
8951 2006-08-09  Tom Tromey  <tromey@redhat.com>
8952
8953         PR classpath/28666:
8954         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8955         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8956         Create a 'short' array.
8957
8958 2006-08-09  Tom Tromey  <tromey@redhat.com>
8959
8960         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8961         handle arrays.
8962         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8963         (writeFields): Print "L" after int constant.  Don't mangle the field
8964         name.  Only print int/long fields.
8965
8966 2006-08-09  Tom Tromey  <tromey@redhat.com>
8967
8968         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8969         "javah".
8970
8971 2006-08-09  Sven de Marothy  <sven@physto.se>
8972
8973         * javax/swing/JTree.java
8974         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8975         (setSelectionModel): Null parameter should create an EmptySelectionM.
8976
8977 2006-08-09  Roman Kennke  <kennke@aicas.com>
8978
8979         * javax/swing/text/AbstractDocument.java
8980         (insertString): Perform modifications inside a write lock.
8981         (insertStringImpl): Don't lock here. This is already done
8982         in insertString().
8983         (replace): Perform modifications inside a write lock.
8984         (AbstractElement.AbstractElement): Call addAttributes() to
8985         add the attributes.
8986         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8987         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8988         (BranchElement.BranchElement): Set lastIndex to -1.
8989         (BranchElement.getElementIndex): Implemented more efficient
8990         search.
8991
8992 2006-08-09  Roman Kennke  <kennke@aicas.com>
8993
8994         * javax/swing/text/DefaultStyledDocument.java
8995         (Edit): Moved this inner class into ElementBuffer where it
8996         is actually needed.
8997         (edits): Moved this field into ElementBuffer.
8998         (getEditForParagraphAndIndex): Removed obsolete method.
8999         (insertUpdate): Added some optimizations and fixes. Split
9000         out handling insertion after newlines.
9001         (insertAfterNewline): New helper method. Handles insertions
9002         after a newline.
9003         (ElementBuffer.Edit): New inner class. Moved here from
9004         DefaultStyledDocument.
9005         (ElementBuffer.createdFracture): New field.
9006         (ElementBuffer.documentEvent): Made private.
9007         (ElementBuffer.edits): New field. Moved here from
9008         DefaultStyledDocument.
9009         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9010         (ElementBuffer.fracturedChild): New field.
9011         (ElementBuffer.fracturedParent): New field.
9012         (ElementBuffer.insertPath): New field.
9013         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9014         fracturedParent.
9015         (ElementBuffer.offsetLastIndex): New field.
9016         (ElementBuffer.offsetLastIndexReplace): New field.
9017         (ElementBuffer.recreateLeafs): New field.
9018         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9019         (ElementBuffer.canJoin): New helper method.
9020         (ElementBuffer.changeUpdate): Changed to use elementStack with
9021         Edits rather than Elements. Let the split method do the work.
9022         (ElementBuffer.cloneAsNecessary): New helper method.
9023         (ElementBuffer.createFracture): Changed to fracture the bottommost
9024         child in the stack.
9025         (ElementBuffer.finishEdit): New helper method. Moved out
9026         from insertUpdate to perform the actual changes and update
9027         the event.
9028         (fracture): New helper method.
9029         (insertContentTag): Fixed some bugs and changed to use Edit
9030         instances in the stack, rather then Elements.
9031         (insertElement): New helper method. Moved out from insertUpdate()
9032         to process the ElementSpecs.
9033         (insertFirstContentTag): Fixed some problems and changed to use Edit
9034         instances in the stack, rather then Elements.
9035         (insertFracture): Removed. Basically moved into createFracture()
9036         and fracture().
9037         (insertParagraph): Removed.
9038         (insertUpdate): Split out the ElementSpec processing into
9039         insertElement(). Use Edit instances in the stack. Fixed some
9040         problems.
9041         (insert): Split out the preparation and finishing code into
9042         prepareEdit() and finishEdit().
9043         (join): New helper method.
9044         (pop): New helper method.
9045         (prepareEdit): New helper method.
9046         (recreateFracturedElement): New helper method.
9047         (recreateLeaves): Removed.
9048         (recreate): New helper method.
9049         (removeElements): New helper method. Split out from removeUpdate().
9050         (removeUpdate): Split out the actual removal. Use the
9051         Edit stack to perform removal and perform the remove actions
9052         and event updates afterwards, just like in insertImpl().
9053         (remove): Use prepareEdit() and finishEdit().
9054         (split): Replaced with more flexible impl.
9055
9056 2006-08-09  Sven de Marothy  <sven@physto.se>
9057
9058         * gnu/java/awt/peer/gtk/CairoSurface.java
9059         Change class to extend WritableRaster and not DataBuffer.
9060         (CairoDataBuffer): New inner class.
9061         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9062         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9063         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9064         Accomodate the above change.
9065
9066 2006-08-09  Sven de Marothy  <sven@physto.se>
9067
9068         * gnu/java/awt/peer/gtk/GtkMainThread.java
9069         New file.
9070         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9071         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9072         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9073         * gnu/java/awt/peer/gtk/GtkToolkit.java
9074         Minor style fixes; removed unused fields, 
9075         set fields to private where possible.
9076         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9077         Call GtkMainThread.createWindow().
9078         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9079         (dispose): New method.
9080         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9081         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9082         (gtkQuit): New native method.
9083
9084 2006-08-08  Lillian Angel  <langel@redhat.com>
9085
9086         * java/awt/Component.java
9087         (setDropTarget): Added check.
9088
9089 2006-08-08  Lillian Angel  <langel@redhat.com>
9090
9091         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9092         (GtkDragSourceContextPeer): Added FIXME. Changed call
9093         to setTarget. 
9094         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9095         (GtkDropTargetContextPeer): Removed target initialization.
9096         * java/awt/Component.java
9097         (setTarget): Removed commented out code.
9098
9099 2006-08-08  Mark Wielaard  <mark@klomp.org>
9100
9101         * javax/swing/text/DefaultHighlighter.java: Qualify
9102         Highlighter.HighlightPainter class name for gcj.
9103
9104 2006-08-05  Roman Kennke  <kennke@aicas.com>
9105
9106         * javax/swing/plaf/basic/BasicTableUI.java
9107         (MouseInputHandler.mousePressed): Request focus on list
9108         component.
9109
9110 2006-08-05  Roman Kennke  <kennke@aicas.com>
9111
9112         * javax/swing/plaf/basic/BasicListUI.java
9113         (MouseInputHandler.mousePressed): Request focus on list
9114         component.
9115
9116 2006-08-05  Roman Kennke  <kennke@aicas.com>
9117
9118         PR 28650
9119         * javax/swing/plaf/basic/BasicMenuBarUI.java
9120         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9121         than Tree.actionMap.
9122         * javax/swing/plaf/basic/BasicTreeUI.java
9123         (action): Removed obsolete field.
9124         (uninstallKeyboardActions): Removed action field handling.
9125         (installKeyboardActions): Removed action field handling.
9126         (createDefaultActions): Don't install removed TreeAction.
9127         (TreeAction): Removed obsolete inner class.
9128         (ActionListenerProxy): Removed obsolete inner class.
9129         (MouseHandler.mousePressed): Request focus on JTree component
9130         on mouse press.
9131
9132 2006-08-08  Roman Kennke  <kennke@aicas.com>
9133
9134         * javax/swing/plaf/basic/BasicListUI.java
9135         (MouseInputHandler.mousePressed): Request focus on list
9136         component.
9137
9138 2006-08-08  Roman Kennke  <kennke@aicas.com>
9139
9140         * javax/swing/plaf/basic/BasicTableUI.java
9141         (MouseInputHandler.mousePressed): Request focus on list
9142         component.
9143
9144 2006-08-08  Roman Kennke  <kennke@aicas.com>
9145
9146         * javax/swing/plaf/basic/BasicTextUI.java
9147         (damageRange(JTextComponent,int,int)): Call damageRange() with
9148         correct biases, rather than null.
9149         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9150         to use simpler modelToView() approach without much special
9151         casing. This seems not worth the effort and actually
9152         caused problems. Added locking of the document.
9153         * javax/swing/text/BoxView.java
9154         (requirementsValid): New field.
9155         (calculateMajorAxisRequirements): Rewritten without using
9156         SizeRequirements. The SizeRequirements algorithms are slightly
9157         different and too inefficient.
9158         (calculateMinorAxisRequirements): Rewritten without using
9159         SizeRequirements. The SizeRequirements algorithms are slightly
9160         different and too inefficient.
9161         (getAlignment): Simply return the alignment of the cached
9162         requirements.
9163         (getMaximumSpan): Add insets.
9164         (getMinimumSpan): Add insets.
9165         (getPreferredSpan): Add insets.
9166         (layoutMajorAxis): Rewritten without using
9167         SizeRequirements. The SizeRequirements algorithms are slightly
9168         different and too inefficient.
9169         (layoutMinorAxis): Rewritten without using
9170         SizeRequirements. The SizeRequirements algorithms are slightly
9171         different and too inefficient.
9172         (modelToView): Call setSize() rather than layout().
9173         (paint): Check clip for more efficient painting.
9174         (preferenceChanged): Invalidate requirements here.
9175         (replace): Invalidate requirements here.
9176         (updateRequirements): Update requirements only when requirements
9177         are marked invalid.
9178         * javax/swing/text/CompositeView.java
9179         (modelToView): Added some more checks and handling of corner cases.
9180         * javax/swing/text/FlowView.java
9181         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9182         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9183         * javax/swing/text/IconView.java
9184         (getAlignment): Implemented to return 1.0 for vertical alignment.
9185         * javax/swing/text/ParagraphView.java
9186         (Row.getMaximumSpan): Implemented to let Rows span the whole
9187         ParagraphView.
9188         (getAlignment): Fixed horizontal alignment and vertical alignment
9189         for empty paragraphs to be 0.5.
9190
9191 2006-08-08  Roman Kennke  <kennke@aicas.com>
9192
9193         * javax/swing/text/View.java
9194         (modelToView): Added special handling for corner case at the end
9195         of the view and for multiline views.
9196
9197 2006-08-08  Roman Kennke  <kennke@aicas.com>
9198
9199         * javax/swing/plaf/basic/BasicTextUI.java
9200         (modelToView): Read-lock the document. Set size of the
9201         root view before fetching the model-to-view mapping.
9202         (getViewIndex): Check of the position is inside the range and
9203         return -1 if this is not the case.
9204         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9205         view index.
9206         (getViewIndexAtPosition(int)): Delegate the index search to
9207         the element since we have a 1:1 mapping between elements and
9208         views here.
9209         * javax/swing/text/DefaultCaret.java
9210         (appear): Ignore BadLocationException.
9211         (paint): Ignore BadLocationException.
9212         * javax/swing/text/FlowView.java
9213         (changedUpdate): Also notify the layoutPool view.
9214         (removeUpdate): Also notify the layoutPool view.
9215         * javax/swing/text/ParagraphView.java
9216         (Row.getViewIndexAtPosition): Overridden to search linearily
9217         through the view instead of relying on a 1:1 model to view
9218         mapping.
9219         * javax/swing/text/View.java
9220         (removeUpdate): Clear ElementChange object if updateChildren
9221         returns false.
9222         (forwardUpdate): Special handle some boundary cases.
9223
9224 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9225
9226         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9227         (hasInheritedParameters): New method.
9228         (equals): Updated documentation.
9229         Take into consideration the outcome of hasInheritedParameters invocation.
9230         (toString): Call hasInheritedParameters and adjust the result accordingly.
9231         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9232         Updated documentation.
9233         Handle case of public keys with null p, q, and g MPIs.
9234         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9235
9236 2006-08-07  Tom Tromey  <tromey@redhat.com>
9237
9238         PR libgcj/23682:
9239         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9240         (attachment): Likewise.
9241         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9242         synchronized.
9243         (isValid): Likewise.
9244         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9245         (ch): Likewise.
9246         (interestOps): Synchronize.
9247         (readyOps): Likewise.
9248         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9249         interestOps call.
9250
9251 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9252
9253         Fixes PR 28608.
9254         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9255         the mark has been set.
9256         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9257         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9258         allocated data.
9259
9260 2006-08-07  Sven de Marothy  <sven@physto.se>
9261
9262         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9263         (drawGlyphVector): Synchronize against font object when drawing.
9264         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9265         (nativeDrawGlyphVector): Use pango locking when drawing.
9266         (install_font_peer): Use pango locking when creating the cairo face.
9267
9268 2006-08-06  Roman Kennke  <kennke@aicas.com>
9269
9270         PR 28571
9271         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9272         (getPreferredSize): Renamed method to preferredSize(). That's
9273         the one that gets called from java.awt.*.
9274         * java/awt/peer/ComponentPeer.java
9275         (getPreferredSize): Added specnote about this method never
9276         beeing called in the RI.
9277         (getMinimumSize): Added specnote about this method never
9278         beeing called in the RI.
9279
9280 2006-08-03  Sven de Marothy  <sven@physto.se>
9281
9282         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9283         (grab, nativeGrab): New methods.
9284         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9285         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9286         (nativeGrab): New method.
9287         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9288         (print): Implement.
9289         * java/awt/Component.java
9290         (printAll): Should call peer print method.
9291
9292 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9293
9294         * java/net/URL.java (getContent(Class[])): Implement.
9295
9296 2006-08-06  Mark Wielaard  <mark@klomp.org>
9297
9298         PR 28555
9299         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9300         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9301         withParams is null.
9302         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9303         sortKeys is null.
9304
9305 2006-08-06  Roman Kennke  <kennke@aicas.com>
9306
9307         * NEWS: Added note about the X peers.
9308         * INSTALL: Added install notes about the X peers. 
9309
9310 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9311             Paul Jenner  <psj@harker.dyndns.org>
9312
9313         * README: Update bug, patches and cvs instructions plus new URLs of
9314         various external projects.
9315
9316 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9317
9318         * configure.ac (MOZILLA_FOUND): Fall back to
9319         mozilla-firefox-plugin.
9320
9321 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9322
9323         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9324         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9325         g_type_init earlier in function to correctly initialize the
9326         type system used by the backend.
9327
9328 2006-08-05  Roman Kennke  <kennke@aicas.com>
9329   
9330         * javax/swing/text/DefaultHighlight.java
9331         (DefaultHighlightPainter.paintHighlight): Removed method.
9332         (DefaultHighlightPainter.paintLayer): Implemented.
9333         (DefaultHighlightPainter.paint): Implemented more efficient
9334         painting for multiline-highlights.
9335         (HighlightEntry.p0): Changed to be a Position.
9336         (HighlightEntry.p1): Changed to be a Position.
9337         (HighlightEntry.HighlightEntry): Changed to take Position
9338         arfuments.
9339         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9340         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9341         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9342         and tracks the painted rectangle for efficient repainting.
9343         (addHighlight): Handle layered highlight.
9344         (changeHighlight): Handle layered highlight.
9345         (paintLayeredHighlights): Implemented.
9346         (paint): Paint only non-layered highlights here.
9347         (removeAllHighlights): Trigger correct repaint.
9348         (removeHighlight): Handle layered highlight here for
9349         more efficient repainting.
9350         * javax/swing/text/GlyphView.java
9351         (paint): Handle layered highlights.
9352         * javax/swing/text/PlainView.java
9353         (paint): Handle layered highlights.
9354         * javax/swing/text/WrappedPlainView.java
9355         (WrappedLine.paint): Handle layered highlights.
9356
9357 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9358   
9359         PR 26972
9360         * NEWS: As suggested by Paul Jennier, added note about the fix of
9361         the InitialContext.
9362
9363 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9364
9365         * NEWS: Added entry about the context factories for JNDI.
9366
9367 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9368
9369         PR 27383
9370         * gnu/CORBA/Connected_objects.java (size): New method.
9371         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9372         New method.
9373         * javax/naming/spi/NamingManager.java (getURLContext):
9374         Also search for the URL context factories in 
9375         gnu/javax/naming/jndi/url.
9376         * gnu/javax/naming/giop/ContextContinuation.java,
9377         gnu/javax/naming/giop/CorbalocParser.java,
9378         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9379         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9380         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9381         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9382         gnu/javax/naming/giop/ListEnumeration.java,
9383         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9384         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9385         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9386         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9387         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9388         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9389         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9390         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9391
9392 2006-08-06  Sven de Marothy  <sven@physto.se>
9393
9394         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9395         (drawGlyphVector): Synchronize against font object when drawing.
9396         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9397         (nativeDrawGlyphVector): Use pango locking when drawing.
9398         (install_font_peer): Use pango locking when creating the cairo face.
9399
9400 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9401
9402         Fixes PR 28608.
9403         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9404         the mark has been set.
9405         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9406         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9407         allocated data.
9408
9409 2006-08-06  Mark Wielaard  <mark@klomp.org>
9410
9411         PR 28555
9412         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9413         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9414         withParams is null.
9415         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9416         sortKeys is null.
9417
9418 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9419             Paul Jenner  <psj@harker.dyndns.org>
9420
9421         * README: Update bug, patches and cvs instructions plus new URLs of
9422         various external projects.
9423   
9424 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9425
9426         * gnu/java/lang/management/BeanImpl.java:
9427         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9428         with open variant.
9429         (getCachedMBeanInfo()): Return open variant.
9430         (getMBeanInfo()): Likewise.
9431         (getTypeFromClass(Class)): Implemented.
9432         (translateSignature(MBeanParameterInfo)): Likewise.
9433         (translate(String)): Likewise.
9434         * javax/management/StandardMBean.java:
9435         (getMBeanInfo()): Return attribute names with capital letters,
9436         as in docs for java.lang.management.ManagementFactory, and
9437         ensure descriptions are not "".
9438         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9439         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9440         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9441         (toString()): Use Arrays.toString().
9442         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9443         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9444         Set open type here rather than in other constructors.
9445
9446 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9447
9448         * javax/management/MBeanFeatureInfo.java:
9449         Make string variable package-private.
9450         * javax/management/StandardMBean.java:
9451         (getMBeanInterface()): Made final.
9452         * javax/management/openmbean/SimpleType.java:
9453         Made final.
9454
9455 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9456
9457         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9458         code.
9459   
9460 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9461
9462         * examples/gnu/classpath/examples/swing/FillRect.java,
9463         * gnu/CORBA/Focused_ORB.java,
9464         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9465         * gnu/classpath/ByteArray.java,
9466         * gnu/classpath/ObjectPool.java,
9467         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9468         * gnu/java/awt/peer/x/fonts.properties,
9469         * gnu/java/security/util/Prime2.java,
9470         * gnu/javax/imageio/gif/GIFStream.java,
9471         * javax/swing/text/html/HTMLTableView.java,
9472         * native/cni/Makefile.am,
9473         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9474         * org/omg/CORBA/SendingContext/Runtime.java,
9475         * resource/gnu/regexp/MessagesBundle.properties,
9476         * resource/gnu/regexp/MessagesBundle_fr.properties,
9477         * resource/gnu/regexp/MessagesBundle_it.properties,
9478         * tools/appletviewer.in,
9479         * tools/jarsigner.in,
9480         * tools/keytool.in,
9481         * vm/reference/java/lang/management/VMThreadInfo.java:
9482         Removed.
9483         * examples/gnu/classpath/examples/awt/aicas.png,
9484         * examples/gnu/classpath/examples/awt/palme.gif,
9485         * examples/gnu/classpath/examples/java2d/aicas.png,
9486         * examples/gnu/classpath/examples/java2d/palme.gif,
9487         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9488         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9489         * java/awt/doc-files/capjoin.png,
9490         * java/awt/geom/doc-files/Area-1.png,
9491         * java/awt/geom/doc-files/Ellipse-1.png,
9492         * java/awt/geom/doc-files/GeneralPath-1.png:
9493         Added.
9494         
9495 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9496
9497         * configdiag.jnlp:
9498         Removed.
9499         
9500 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9501
9502         * gnu/java/lang/management/BeanImpl.java:
9503         (getAttribute(String)): Implemented.
9504
9505 2006-08-05  Roman Kennke  <kennke@aicas.com>
9506
9507         * javax/swing/text/JTextComponent.java
9508         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9509         (AccessibleJTextComponent.textComp): Removed field
9510         and replace with JTextComponent.this construct.
9511         (AccessibleJTextComponent.AccessibleJTextComponent):
9512         Fetch caret position.
9513         (caretUpdate): Implemented. Fires property change events and
9514         updates the caretDot field.
9515         (changedUpdate): Implemented. Fires property change events.
9516         (insertUpdate): Implemented. Fires property change events.
9517         (removeUpdate): Implemented. Fires property change events.
9518         (cut): Replaced textComp with JTextComponent.this construct.
9519         (paste): Replaced textComp with JTextComponent.this construct.
9520         (replaceText): Replaced textComp with JTextComponent.this construct.
9521         (selectText): Replaced textComp with JTextComponent.this construct.
9522         (getCaretPosition): Replaced textComp with JTextComponent.this
9523         construct.
9524         (getCharCount): Replaced textComp with JTextComponent.this construct.
9525         (getSelectedText): Replaced textComp with JTextComponent.this
9526         construct.
9527         (getSelectionEnd): Replaced textComp with JTextComponent.this
9528         construct.
9529         (getSelectionStart): Replaced textComp with JTextComponent.this
9530         construct.
9531         (getTextRange): Replaced textComp with JTextComponent.this
9532         construct.
9533         (doAccessibleAction): Implemented.
9534         (getAccessibleActionCount): Implemented.
9535         (getAccessibleActionDescription): Implemented.
9536         (getAccessibleStateSet): Implemented.
9537         (getAfterIndex): Implemented.
9538         (getBeforeIndex): Implemented.
9539         (getAtIndex): Implemented.
9540         (getAtIndexImpl): New helper method.
9541         (getCharacterAttribute): Implemented.
9542         (getCharacterBounds): Implemented.
9543         (getIndexAtPoint): Implemented. 
9544         (insertTextAtIndex): Implemented.
9545         (setAttributes): Implemented.
9546         (setTextContents): Implemented.
9547
9548 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9549   
9550         * configure.ac: Better handling of default-preferences-peer option.
9551
9552 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9553
9554         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9555         double[].
9556
9557 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9558
9559         * javax/management/openmbean/TabularData.java:
9560         Documentation corrections.
9561         * javax/management/openmbean/TabularDataSupport.java:
9562         New file.
9563
9564 2006-08-04  Francis Kung  <fkung@redhat.com>
9565
9566         * java/awt/BasicStroke.java
9567         (dashedStroke): Implemented.
9568
9569 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9570
9571         * javax/management/BadAttributeValueExpException.java,
9572         * javax/management/BadStringOperationException.java,
9573         * javax/management/InstanceAlreadyExistsException.java,
9574         * javax/management/InstanceNotFoundException.java,
9575         * javax/management/InvalidApplicationException.java,
9576         * javax/management/MBeanRegistrationException.java,
9577         * javax/management/MalformedObjectNameException.java,
9578         * javax/management/RuntimeErrorException.java,
9579         * javax/management/RuntimeMBeanException.java,
9580         * javax/management/ServiceNotFoundException.java:
9581         New files.
9582         
9583 2006-08-04  Roman Kennke  <kennke@aicas.com>
9584
9585         * javax/swing/SwingUtilities.java
9586         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9587          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9588         layoutCompoundLabelImpl().
9589         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9590          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9591         layoutCompoundLabelImpl().
9592         (layoutCompoundLabelImpl): New helper method. Moved impl from
9593         layoutCompoundLabel() to here and added handling of HTML.
9594         * javax/swing/plaf/basic/BasicButtonUI.java
9595         (installUI): Update HTML view if appropriate.
9596         (uninstallUI): New method. Do the usual uninstallUI things
9597         and uninstall HTML view.
9598         (getMinimumSize): New method. Adjusts the minimum size
9599         by the HTML view minimum size.
9600         (getMaximumSize): New method. Adjusts the maximum size
9601         by the HTML view maximum size.
9602         (getPreferredSize): Pass the button's iconTextGap to the
9603         BasicGraphicsUtils method.
9604         (paint): Let HTML view paint the text, if present.
9605         * javax/swing/plaf/basic/BasicButtonListener.java
9606         (propertyChange): Update the HTML view when the button's
9607         text is changed.
9608         
9609 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9610
9611         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9612         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9613         g_type_init earlier in function to correctly initialize the
9614         type system used by the backend.
9615
9616 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9617
9618         PR 26972
9619         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9620         Documented.
9621         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9622
9623 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9624
9625         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9626         Fixes PR27864.
9627         * gnu/xml/dom/DomIterator.java:
9628         (successor): Added if-statement.
9629
9630 2006-08-04  Mark Wielaard  <mark@klomp.org>
9631
9632         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9633
9634 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9635
9636         * javax/swing/plaf/metal/MetalMenuBarUI.java:
9637         (update): Check size and paint smaller gradient.
9638         * javax/swing/plaf/metal/MetalBorders.java:
9639         (MenuBarBorder): Removed borderColor field.
9640         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9641         MetalLookAndFeel.
9642
9643 2006-08-03  Roman Kennke  <kennke@aicas.com>
9644
9645         PR 27637
9646         * javax/swing/plaf/basic/BasicInternalFrameUI.java
9647         (ComponentHandler.componentResized): Reimplemented to handle
9648         arbitrary parents.
9649         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9650         component listener on changed ancestor.
9651         (installListeners): Install componentListener.
9652         (uninstallListeners): Uninstall componentListener.
9653
9654 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9655
9656         * StrictMath.java (cbrt): Return argument if it is a NaN.
9657         (cosh): Likewise.
9658         (expm1): Likewise.
9659         (sinh): Likewise.
9660   
9661 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9662   
9663         * java/lang/StrictMath.java (tanh): New method.
9664   
9665 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
9666   
9667         * scripts/import-cacerts.sh: Batch CA certificates import script.
9668   
9669 2006-08-03  Roman Kennke  <kennke@aicas.com>
9670
9671         PR 27606
9672         * javax/swing/plaf/basic/BasicListUI.java
9673         (paintCell): Pass row index to cell renderer.
9674         * javax/swing/plaf/basic/MetalFileChooserUI.java
9675         (DirectoryComboBoxRenderer.indentIcon): New field.
9676         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9677         Initialize indentIcon.
9678         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9679         Fall back to super and removed standard functionality.
9680         Handle indentation.
9681         (IndentIcon): New class. Wraps and indents another icon.
9682
9683 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9684
9685         * javax/management/MBeanConstructorInfo.java:
9686         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9687         Copy array rather than directly assigning.
9688         * javax/management/MBeanInfo.java:
9689         (MBeanInfo(String,String,MBeanAttributeInfo[],
9690         MBeanConstructorInfo[], MBeanOperationInfo[],
9691         MBeanNotificationInfo[])): Likewise.
9692         * javax/management/MBeanOperationInfo.java:
9693         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9694         Likewise.
9695         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9696         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9697         New files.
9698         * javax/management/openmbean/OpenMBeanInfo.java:
9699         Corrected documentation.
9700         * javax/management/openmbean/OpenMBeanInfoSupport.java:
9701         New file.
9702         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9703         Corrected documentation.
9704         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9705         New file.
9706         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9707         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9708         Call other constructor rather than reimplementing.
9709
9710 2006-08-02  Lillian Angel  <langel@redhat.com>
9711
9712         * java/awt/dnd/DragSource.java
9713         (isDragImageSupported): Implemented.
9714         (getDragThreshold): Changed default value.
9715         * java/awt/dnd/DropTarget.java
9716         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9717         (DropTarget): Likewise.
9718         (DropTarget): If FlavorMap passed in is null, we should use the system default.
9719         (addDropTargetListener): Added check to determine if new DropTargetListener
9720         is this class. If so, an IllegalArgumentException is thrown. If the 
9721         new listener is null, nothing happens.
9722
9723 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
9724
9725         * configure.ac (MOZILLA_FOUND): Fall back to
9726         mozilla-firefox-plugin.
9727
9728 2006-08-02  Sven de Marothy  <sven@physto.se>
9729
9730         * java/awt/geom/AffineTransform.java
9731         (hashCode): Tweak impl. 
9732         * java/awt/font/FontRenderContext.java
9733         (hashCode): Implement. 
9734
9735 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
9736
9737         * java/lang/StrictMath.java (sinh): New method.
9738
9739 2006-08-02  Roman Kennke  <kennke@aicas.com>
9740
9741         PR 27605
9742         * javax/swing/JComboBox.java
9743         (setSelectedItem): Fire ActionEvent here.
9744         * javax/swing/plaf/basic/BasicDirectoryModel.java
9745         (directories): Changed to type Vector.
9746         (files): New field.
9747         (loadThread): New field.
9748         (DirectoryLoadThread): New inner class. This loads the contents
9749         of directories asynchronously.
9750         (getDirectories): Return cached Vector.
9751         (getFiles): Return cached Vector.
9752         (getSize): Return plain size of contents Vector.
9753         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9754         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9755         (sort): Don't store sorted list in contents. This must be done
9756         asynchronously from the EventThread.
9757         (validateFileCache): Rewritten for asynchronous reading
9758         of directory contents.
9759         * javax/swing/plaf/basic/BasicFileChooserUI.java
9760         (installListeners): Install model as PropertyChangeListener.
9761         (uninstallListeners): Uninstall model as PropertyChangeListener.
9762         (createPropertyChangeListener): Return null just like the
9763         RI.
9764
9765 2006-08-02  Sven de Marothy  <sven@physto.se>
9766   
9767         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9768         (remove): Force event on removing item 0 when it's selected.
9769         (handleEvent): Always call Choice.selected().
9770         * java/awt/Choice.java:
9771         (remove): Simplify and correct.
9772   
9773 2006-08-02  Mark Wielaard  <mark@klomp.org>
9774   
9775         PR 28535
9776         * configure.ac (gconf-peer): Check for gdk-2.0.
9777         * native/jni/gconf-peer/Makefile.am
9778         (AM_LDFLAGS): Use GDK_LIBS.
9779         (AM_CFLAGS): Use GDK_CFLAGS.
9780   
9781 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9782   
9783         * java/net/URL.java (getContent(Class[])): Implement.
9784   
9785 2006-08-02  Roman Kennke  <kennke@aicas.com>
9786   
9787         PR 27624
9788         * javax/swing/JMenu.java
9789         (JMenu()): Removed setting of delay.
9790         (JMenu(String)): Removed setting of delay.
9791         (JMenu(Action)): Removed setting of delay.
9792         (JMenu(String,boolean)): Removed setting of delay.
9793         (setSelectedHelper): Removed unneeded method.
9794         (setSelected): Simply set the model state.
9795         (setPopupMenuVisible): Recognize the popup location
9796         determined by getPopupMenuOrigin().
9797         (getPopupMenuOrigin): Recognize the UI properties for
9798         X and Y offset.
9799         (menuSelectionChanged): Call setSelected() directly.
9800         * javax/swing/JPopupMenu.java
9801         (menuSelectionChanged): If invoker is a JMenu, then delegate
9802         to that to get the position right.
9803         * javax/swing/Popup.java
9804         (LightweightPopup.show): Insert the popup as first component
9805         in the layer, so that it overlaps it's caller.
9806         * javax/swing/plaf/basic/BasicMenuItemUI.java
9807         (getPath): Don't include the popup.
9808         * javax/swing/plaf/basic/BasicMenuUI.java
9809         (SelectMenuAction): New class. This invokes the popup when
9810         a menu is selected.
9811         (installDefaults): Install delay of 200 ms.
9812         (setupPostTimer): Implemented.
9813         (MouseInputHandler.mouseClicked): Do nothing here.
9814         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9815         magic to handle the selection. Open the menu via a timer.
9816         (MouseInputHandler.mousePressed): Use MenuSelectionManager
9817         magic to handle the selection. Open the menu via a timer.
9818         (MenuDragMouseHandler.menuMouseDragged): Probably use
9819         timer.
9820         (menuDragMouseEntered): Do nothing here.
9821   
9822 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9823         
9824         * javax/management/openmbean/InvalidOpenTypeException.java,
9825         * javax/management/openmbean/KeyAlreadyExistsException.java:
9826         New files.
9827
9828 2006-08-02  Roman Kennke  <kennke@aicas.com>
9829
9830         PR 27604
9831         * javax/swing/plaf/basic/BasicChooserUI.java
9832         (BasicFileView.getName): Fetch the real name from the
9833         file chooser's FileSystemView.
9834         * javax/swing/plaf/metal/MetalChooserUI.java
9835         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9836         Set the text fetched from the JFileChooser.getName().
9837         * javax/swing/FileSystemView.java
9838         (createFileObject): When file is a filesystem root,
9839         create a filesystem root object first.
9840         (getSystemDisplayName): Return the filename. Added specnote
9841         about ShellFolder class that is mentioned in the spec.
9842         * javax/swing/UnixFileSystemView.java
9843         (getSystemDisplayName): Implemented to return the real name
9844         of a file, special handling files like '.' or '..'.
9845
9846 2006-08-03  Mark Wielaard  <mark@klomp.org>
9847
9848         * examples/gnu/classpath/examples/icons/badge.png: Add file.
9849
9850 2006-08-03  Roman Kennke  <kennke@aicas.com>
9851
9852         PR 28562
9853         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9854         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9855         components when visual property chanegs.
9856
9857 2006-08-03  Roman Kennke  <kennke@aicas.com>
9858
9859         PR 28562
9860         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9861         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9862         component when visual properties change.
9863
9864 2006-08-03  Roman Kennke  <kennke@aicas.com>
9865
9866         PR 28534
9867         * javax/swing/JTree.java
9868         (JTree(TreeModel)): Set cell renderer to null.
9869         * javax/swing/plaf/basic/BasicTreeUI.java
9870         (setCellRenderer): Finish editing before setting the
9871         cell renderer. Refresh the layout. Don't set the
9872         currentCellRenderer field here (that's done in updateRenderer).
9873         (updateRenderer): Handle createdRenderer field here too.
9874         Set renderer to a default handler when the current renderer
9875         in the JTree is null.
9876
9877 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9878
9879         PR Classpath/23899
9880         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9881
9882 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9883
9884         PR Classpath/28556
9885         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9886         Updated documentation to clarify that RFC-2459 states that the parameters
9887         field of the AlgorithmIdentifier element MUST be NULL if present.
9888         Amended the code to reflect the specs.
9889         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9890
9891 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9892
9893         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9894         Call parameter 'defaultValue' not 'defValue'.
9895
9896 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9897
9898         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9899         New file.
9900
9901 2006-08-01  Roman Kennke  <kennke@aicas.com>
9902   
9903         PR 28562
9904         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9905         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9906         components when visual property chanegs.
9907   
9908 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9909
9910         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9911         (toString()): Corrected documentation.
9912         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9913         * javax/management/openmbean/OpenMBeanInfo.java,
9914         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9915         New files.
9916         * javax/management/openmbean/OpenMBeanParameterInfo.java:
9917         (toString()): Corrected documentation.
9918         
9919 2006-08-01  Tania Bento  <tbento@redhat.com>
9920
9921         * java/awt/Choice.java
9922         (remove(int)): Added documentation.
9923
9924 2006-08-01  Tania Bento  <tbento@redhat.com>
9925         
9926         * java/awt/Choice.java
9927         (remove(int)): An IllegalArgumentException should not be thrown
9928         if int is invalid.  Update selectedIndex and peer selection.
9929
9930 2006-08-01  Tania Bento  <tbento@redhat.com>
9931
9932         * java/awt/CardLayout.java
9933         (toString): Changed format of string outputted.
9934         (goToComponent): Changed the order of the if-clause.
9935
9936 2006-07-31  Tom Tromey  <tromey@redhat.com>
9937
9938         * INSTALL: Updated for ASM.
9939
9940 2006-07-31  Tom Tromey  <tromey@redhat.com>
9941
9942         PR libgcj/23682:
9943         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9944         (attachment): Likewise.
9945         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9946         synchronized.
9947         (isValid): Likewise.
9948         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9949         (ch): Likewise.
9950         (interestOps): Synchronize.
9951         (readyOps): Likewise.
9952         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9953         interestOps call.
9954
9955 2006-07-31  Roman Kennke  <kennke@aicas.com>
9956
9957         * NEWS: Added note about the X peers.
9958         * INSTALL: Added install notes about the X peers.
9959
9960 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
9961
9962         * StrictMath.java (getLowDWord): Return long instead of int.
9963         (getHighDWord): Likewise.
9964         (buildDouble): Take two long arguments.
9965         (cbrt): Adapted to int -> long change.
9966         (expm1): Likewise.
9967         (cosh): Likewise.
9968
9969 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
9970
9971         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9972         -avoid-version.
9973
9974 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
9975
9976         * java/security/Provider.java: Updated copyright year.
9977         Updated documentation.
9978         Formatting.
9979         (put): Updated documentation.
9980         Added security manager check.
9981         Canonicalize the key before adding its mapping.
9982         (get): Override superclass implementation to use canonicalized keys.
9983         (remove): Updated documentation.
9984         Added security manager check.
9985         Canonicalize the key before removing its mapping.
9986         (clear): Updated documentation.
9987         Added security manager check.
9988         (toCanonicalKey): New method.
9989
9990 2006-07-30  Matt Wringe  <mwringe@redhat.com>
9991
9992         * gnu/java/security/Engine.java
9993         (getInstance): Ignore self referencing aliases.
9994
9995 2006-07-30  Mark Wielaard  <mark@klomp.org>
9996
9997         * javax/swing/JComponent.java (getListeners): Revert
9998         un-genericization.
9999
10000 2006-07-30  Mark Wielaard  <mark@klomp.org>
10001
10002         * resource/java/security/classpath.security: Add /dev/urandom as
10003         default securerandom.source.
10004
10005 2006-07-30  Mark Wielaard  <mark@klomp.org>
10006
10007         * java/util/GregorianCalendar.java (maximums): Months can have up to
10008         6 weeks.
10009         (nonLeniencyCheck): weeks is either 5 or 6.
10010
10011 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10012         
10013         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10014         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10015         New files.
10016
10017 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10018
10019         * gnu/java/security/Engine.java 
10020         (getInstance): Ignore self referencing aliases.
10021
10022 2006-07-30  Sven de Marothy  <sven@physto.se>
10023
10024         * java/awt/Choice.java:
10025         (accessibleAction): Call select() directly.
10026         (add, insert, remove): Reimplement.
10027         (dispatchEventImpl): Always call super.
10028         (processItemEvent): Does not set the index.
10029         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10030         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10031         (append): removed.
10032         (nativeAdd): Name changed to add.
10033         (selection_changed_cb): Simplify callback.
10034         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10035         (selected): New field.
10036         (add): Replaced with native impl.
10037         (handleEvent): New method.      
10038         
10039 2006-07-30  Sven de Marothy  <sven@physto.se>
10040
10041         * java/awt/Choice.java:
10042         Reformat, fix copyright year.
10043
10044 2006-07-29  Mark Wielaard  <mark@klomp.org>
10045
10046         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10047         static field isPaintingDoubleBuffered to not have the same name
10048         as a method.
10049
10050 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10051   
10052         * examples/gnu/classpath/examples/management/TestBeans.java:
10053         New file.
10054         * javax/management/MBeanAttributeInfo.java:
10055         (toString()): Implemented.
10056         * javax/management/MBeanConstructorInfo.java:
10057         (toString()): Implemented.
10058         * javax/management/MBeanFeatureInfo.java:
10059         (toString()): Implemented.
10060         * javax/management/MBeanInfo.java:
10061         (toString()): Implemented.
10062         * javax/management/MBeanNotificationInfo.java:
10063         (toString()): Implemented.
10064         * javax/management/MBeanOperationInfo.java:
10065         (toString()): Implemented.
10066         * javax/management/MBeanParameterInfo.java:
10067         (toString()): Implemented.
10068         * javax/management/StandardMBean.java:
10069         (getMBeanInfo()): Fix attribute naming.
10070
10071 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10072
10073         * gnu/java/lang/management/BeanImpl.java:
10074         Extended javax.management.StandardMBean.
10075         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10076         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10077         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10078         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10079         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10080         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10081         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10082         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10083         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10084         Call the superclass with the appropriate class.
10085         * java/lang/management/ManagementFactory.java:
10086         (getOperatingSystemMXBean()): Catch exception from
10087         StandardMBean.
10088         (getRuntimeMXBean()): Likewise.
10089         (getClassLoadingMXBean()): Likewise.
10090         (getThreadMXBean()): Likewise.
10091         (getMemoryMXBean()): Likewise.
10092         (getCompilationMXBean()): Likewise.
10093         (getMemoryPoolMXBeans()): Likewise.
10094         (getMemoryManagerMXBeans()): Likewise.
10095         (getGarbageCollectorMXBeans()): Likewise.
10096         * javax/management/MBeanFeatureInfo.java:
10097         hashCode()): Fixed to check for null values.
10098
10099 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10100
10101         * gnu/java/security/Engine.java
10102         (getInstance): Add case insentivity to algorithm names
10103         * java/security/Provider.java
10104         (put): Stop using canonical key naming
10105         (remove): Likewise
10106         (toCanonicalKey): Method removed
10107         (get): Method removed, no longer needs to overwrite
10108         parent implementation
10109
10110 2006-07-29  Mark Wielaard  <mark@klomp.org>
10111
10112         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10113         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10114         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10115         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10116         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10117         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10118         Removed.
10119
10120 2006-07-29  Sven de Marothy  <sven@physto.se>
10121
10122         * java/math/BigDecimal.java
10123         Adjust copyright date.
10124         (divide(BigDecimal): Implement.
10125         (precision): Reimplement.
10126         (numDigitsInBigInteger, numDigitsInLong): Removed.
10127         (toString): Get exponent from string length,
10128         fix negative values with exponential form.
10129         (toEngineeringString): Same as for toString.
10130         (setScale): Throw ArithmeticException if scale < 0.
10131
10132 2006-07-27  Francis Kung  <fkung@redhat.com>
10133
10134         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10135         (cp1): Renamed from first().
10136         (c2): Renamed from last().
10137         (first): Renamed to cp1().
10138         (getDisplacedSegments): Implemented.
10139         (last): Renamed to cp2().
10140         * gnu/java/awt/java2d/LineSegment.java
10141         (cp1): Renamed from first().
10142         (c2): Renamed from last().
10143         (first): Renamed to cp1().
10144         (last): Renamed to cp2().
10145         * gnu/java/awt/java2d/QuadSegment.java
10146         (cp1): Renamed from first().
10147         (c2): Renamed from last().
10148         (first): Renamed to cp1().
10149         (last): Renamed to cp2().
10150         * gnu/java/awt/java2d/Segment.java: Added comments.
10151         (first): New field.
10152         (Segment): Keep track of first element in list.
10153         (add): Update first & last element variables.
10154         (cp1): Renamed from first().
10155         (c2): Renamed from last().
10156         (first()): Renamed to cp1() to reduce ambiguity.
10157         (last()): Renamed to cp2() to reduce ambiguity.
10158         (reverseAll): Update first element variable..
10159         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10160         (draw): Remove flattening path iterator.
10161         * java/awt/BasicStroke.java: Clarified comments.
10162         (addSegments): Refactored some code into joinSegments and
10163         joinInnerSegments.
10164         (capEnd): Rename of Segment.first() and Segment.end().
10165         (joinInnerSegments): New method.
10166         (joinOuterSegments): New method.
10167         (joinSegments): Refactored some code into joinOuterSegments.
10168         (solidStroke): Connect segments together properly.
10169
10170 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10171
10172         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10173         -avoid-version.
10174         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10175         Likewise.
10176         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10177         Likewise.
10178         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10179         Likewise.
10180
10181 2006-07-28  Tom Tromey  <tromey@redhat.com>
10182
10183         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10184
10185 2006-07-28  Lillian Angel  <langel@redhat.com>
10186
10187         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10188         Removed function declarations.
10189         (connect_signals_for_widget): Removed implementation because
10190         stub functions have been removed.
10191         (drag_begin_cb): Removed function.
10192         (drag_motion_cb): Likewise.
10193         (drag_data_get_cb): Likewise.
10194         (drag_data_delete_cb): Likewise.
10195         (drag_drop_cb): Likewise.
10196         (drag_end_cb): Likewise.
10197         (drag_data_received_cb): Likewise.      
10198
10199 2006-07-28  Mark Wielaard  <mark@klomp.org>
10200
10201         * configure.ac: Set version to 0.93-pre.
10202
10203 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10204
10205         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10206
10207 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10208
10209         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10210         (getCallbackHandler): Fully qualify linked class in javadoc.
10211         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10212         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10213         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10214
10215 2006-07-27  Tom Tromey  <tromey@redhat.com>
10216
10217         PR classpath/28486:
10218         * java/net/URLStreamHandler.java (equals): Properly handle default
10219         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10220
10221 2006-07-27  Roman Kennke  <kennke@aicas.com>
10222
10223         * javax/swing/text/AbstractDocument.java
10224         (documentCV): Made field private.
10225         (bypass): Made field private.
10226         (bidiRoot): New field.
10227         (AbstractDocument): Initialize bidiRoot.
10228         (getBidiRootElement): Return bidiRoot.
10229         (getRootElements): Adjusted to also return the bidiRoot element.
10230         (BranchElement.startOffset): Removed unneeded field.
10231         (BranchElement.endOffset): Removed unneeded field.
10232         (BranchElement.BranchElement): Removed unneeded fields.
10233         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10234         done automatically when there's no element left in the array.
10235         (BranchElement.getStartOffset): Likewise.
10236         (BranchElement.replace): Reordered calculations to avoid double
10237         calculations.
10238         (removeImpl): Silently ignore requests with length <= 0.
10239         * javax/swing/text/GapContent.java
10240         (createPosition): Removed explicit check for correct offset.
10241         This class can deal with offsets outside the document.
10242         (shiftEnd): Update all positions, even those outside the
10243         document.
10244         (adjustPositionsInRange): Fixed to also adjust positions outside
10245         the document boundary.
10246
10247 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10248
10249     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10250     defining class.
10251     (getParameter): Returns _klass field instead of determining
10252     class from _instance.
10253     (setCatchLoc): New method.
10254     (writeData): Now assumes Location deals with empty locations instead of
10255     using null.
10256     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10257     locations and write out accordingly.
10258     (getEmptyLocation): New method. 
10259
10260 2006-07-27  Roman Kennke  <kennke@aicas.com>
10261
10262         * javax/swing/text/SimpleAttributeSet.java
10263         (EMPTY): Use EmptyAttributeSet for this field rather than
10264         SimpleAttributeSet.
10265         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10266         an empty and immutable AttributeSet.
10267
10268 2006-07-27  Roman Kennke  <kennke@aicas.com>
10269
10270         * java/awt/Component.java
10271         (reshape): Invalidate the component itself only when the
10272         size has changed. Invalidate the parent always. Fixed
10273         repainting. Pulled out the notification into
10274         notifyReshape().
10275         (notifyReshape): New helper method. Notify interested listeners
10276         about a reshape.
10277         (update): Simply call paint() without clearing the background.
10278         This is done in Container.update() if appropriate.
10279         (repaint): Delagate the repaint to the nearest heavyweight
10280         parent (for lightweights) and send an UPDATE event, rather than
10281         calling ComponentPeer.repaint().
10282         * java/awt/Container.java
10283         (backCleared): Removed field.
10284         (paint): Removed handling of backCleared flag.
10285         (update): Only paint if the container is actually
10286         showing. Removed handling of backCleared flag.
10287
10288 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10289
10290         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10291         authorship.
10292         (NavigateAction): New inner class.
10293         (NavigatePageDownAction): New inner class.
10294         (NavigatePageUpAction): New inner class.
10295         (RequestFocusAction): New inner class.
10296         (RequestFocusForVisibleComponentAction): New inner class.
10297         (FocusHandler.focusGained): Implemented.
10298         (FocusHandler.focusLost): Implemented.
10299         (MouseHandler.mouseReleased): Implemented.
10300         (MouseHandler.mousePressed): Rewritten.
10301         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10302         currentScrollLocation to 0.
10303         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10304         removed local variables, fixed indentation to stay under 80 column
10305         limit.
10306         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10307         one, set selectedIndex to 0 if its negative, corrected start values
10308         for normalization, suppressed padding when only one tab run,
10309         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10310         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10311         80 column limit, corrected the starting value for the bounds fixing
10312         phase.
10313         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10314         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10315         selectedRun, set start index for loop to 0.
10316         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10317         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10318         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10319         alignment and visibility handling.
10320         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10321         layout mode.
10322         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10323         (currentScrollOffset): New field.
10324         (tabRuns): Rewritten documentation.
10325         (selectedColor): New field.
10326         (tempTextRect): New field.
10327         (tempIconRect): New field.
10328         (scrollTab): New method.
10329         (updateButtons): New method.
10330         (updateViewPosition): New method.
10331         (createLayoutManager): Reordered method calls, predefine new fields,
10332         register proper listeners.
10333         (uninstallComponents): Implemented.
10334         (installDefaults): Corrected property names, fixed indentation,.
10335         (uninstallDefaults): Set new fields to null.
10336         (uninstallListeners): Remove listeners from components neccessary for
10337         scrolling tab layout.
10338         (installKeyboardActions): Implemented.
10339         (uninstallKeyboardActions): Implemented.
10340         (paint): Paint tab area background.
10341         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10342         objects.
10343         (getTabLabelShiftX): Rewritten.
10344         (getTabLabelShiftY): Rewritten.
10345         (paintFocusIndicator): Reindented.
10346         (paintTabBorder): Rewritten.
10347         (paintTabBackground): Corrected color usage, rewritten background
10348         rectangle painting.
10349         (paintContentBorderTopEdge): Rewritten.
10350         (paintContentBorderBottomEdge): Rewritten.
10351         (paintContentBorderLeftEdge): Rewritten.
10352         (paintContentBorderRightEdge): Rewritten.
10353         (tabForCoordinate): Return selected index when no tab could be
10354         found, removed FIXME note.
10355         (getRunForTab): Changed return value for first if-statement.
10356         (navigateSelectedTab): Fixed last argument for both
10357         getTabRunOffset() calls.
10358         (selectedNextTabInRun): Added scrolling code.
10359         (selectedPreviousTabInRun): Added scrolling code.
10360         (selectedNextTab): Added scrolling code.
10361         (selectedPreviousTab): Added scrolling code.
10362         (selectAdjacentRunTab): Added scrolling code.
10363         (getTextViewForTab): Added FIXME note.
10364         (calculateTabHeight): Changed FIXME note.
10365         (getTabRunOffset): Fixed indentation.
10366         (getNextTabIndexInRun): Corrected return value.
10367         (rotateInsets): Make TOP case the default in switch-statement.
10368         (getActionMap): New method.
10369         (createActionMap): New method.
10370         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10371         (createLayoutManager): Rewritten.
10372         (paintLeftTabBorder): Do not paint left line when previous tab
10373         is selected but current tab is the first in its run, do not paint
10374         left line when current tab is selected and is first in its run.
10375         (paintRightTabBorder): Added missing setColor() call, fixed color
10376         usage, do not paint right line if previous tab is selected but
10377         current tab is the first in its run.
10378         (paintBottomTabBorder): Do not paint left line if tab is selected
10379         and is the first tab in the last run.
10380         (paintFocusIndicator): New method.
10381         (getLabelShiftX): New method.
10382         (getLabelShiftY): New method.
10383
10384 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10385
10386         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10387         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10388         g_assert from unused obj.
10389         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10390         obj as unused and remove g_assert on it.
10391
10392 2006-07-26  Roman Kennke  <kennke@aicas.com>
10393
10394         * javax/swing/RepaintManager.java
10395         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10396         for the component.
10397         (isCompletelyDirty): Consider a component completely dirty
10398         when it has a dirty region with Integer.MAX_VALUE.
10399
10400 2006-07-26  Roman Kennke  <kennke@aicas.com>
10401
10402         * java/awt/KeyboardFocusManager.java
10403         (getGlobalFocusOwner): Explicitly check for thread security.
10404         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10405         (getGlobalFocusedWindow): Explicitly check for thread security.
10406         (getGlobalActiveWindow): Explicitly check for thread security.
10407         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10408         (getGlobalObject): Added new argument for specifying if
10409         a security check should be performed or not.
10410         (setGlobalObject): Don't check for thread security when
10411         calling getGlobalObject.
10412
10413 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10414
10415         * javax/management/MBeanConstructorInfo.java:
10416         Documentation fix.
10417         * javax/management/MBeanInfo.java:
10418         (MBeanInfo(String,String,MBeanAttributeInfo[],
10419         MBeanConstructorInfo[], MBeanOperationInfo[],
10420         MBeanNotificationInfo[])): Implemented.
10421         (equals(Object)): Likewise.
10422         (getAttributes()): Likewise.
10423         (getConstructors()): Likewise.
10424         (getOperations()): Likewise.
10425         (hashCode()): Likewise.
10426         * javax/management/MBeanOperationInfo.java,
10427         * javax/management/NotCompliantMBeanException.java,
10428         * javax/management/StandardMBean.java:
10429         New files.
10430
10431 2006-07-26  Sven de Marothy  <sven@physto.se>
10432
10433         * java/awt/geom/GeneralPath.java: Fix severe typo.
10434         
10435 2006-07-26  Sven de Marothy  <sven@physto.se>
10436
10437         * include/java_lang_VMSystem.h
10438         * vm/reference/java/lang/VMSystem.java
10439         * native/jni/java-lang/java_lang_VMSystem.c
10440         (nanoTime, currentTimeMillis): Switch the former to native code and
10441         the latter to java.
10442         
10443 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10444
10445         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10446         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10447         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10448         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10449         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10450         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10451         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10452         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10453         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10454         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10455         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10456         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10457         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10458         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10459         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10460         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10461         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10462         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10463         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10464         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10465         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10466
10467 2006-07-26  Roman Kennke  <kennke@aicas.com>
10468
10469         * java/awt/KeyboardFocusManager.java
10470         (getFocusOwner): Don't check permanent owner.
10471         (getGlobalFocusOwner): Don't check permanent owner.
10472
10473 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10474
10475         * StrictMath.java (cosh): New method.
10476         (expm1): New method.
10477         (EXPM1_Q1): New field.
10478         (EXPM1_Q2): Likewise.
10479         (EXPM1_Q3): Likewise.
10480         (EXPM1_Q4): Likewise.
10481         (EXPM1_Q6): Likewise.
10482
10483 2006-07-26  Roman Kennke  <kennke@aicas.com>
10484
10485         * javax/swing/plaf/basic/BasicButtonListener.java
10486         (mousePressed): Request focus if appropriate.
10487         * javax/swing/text/DefaultCaret.java
10488         (mousePressed): Also handle the focus of the text component
10489         as specified. Don't consume events.
10490
10491 2006-07-26  Roman Kennke  <kennke@aicas.com>
10492
10493         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10494         (focusRequest): Removed field.
10495         (postFocusEvent(int,boolean,Component)): Removed.
10496         (postFocusEvent(int,boolean)): Reverted to post event using
10497         the heavyweight component.
10498         (requestFocus): Post focus event using the heavyweight
10499         component.
10500         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10501         (requestFocus): Post focus event using the heavyweight
10502         component.
10503         * java/awt/AWTEvent.java
10504         (isFocusManagerEvent): New field, indicating if this is
10505         an event that is redispatched by the KeyboardFocusManager.
10506         * java/awt/Component.java
10507         (requestFocusImpl): Register component for
10508         heavyweight->lightweight mapping.
10509         (dispatchEventImpl): Retarget focus events before dispatching
10510         to the KeyboardFocusManager. Use new AWTEvent flag instead
10511         of locking hack. Dispatch all events through the
10512         KeyboardFocusManager. Don't request focus on lightweight
10513         components.
10514         * java/awt/DefaultKeyboardFocusManager.java
10515         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10516         FOCUS_LOST.
10517         (handleFocusGained): Fixed handling of temporary vs permanent
10518         focus changes. Added some checks.
10519         (handleFocusLost): Fixed handling of temporary vs permanent
10520         focus changes. Added some checks.
10521         * java/awt/EventDispatchThread.java
10522         (run): Don't dispatch to KeyboardFocusManager here. This
10523         is done in Component.dispatchEventImpl().
10524         * java/awt/KeyboardFocusManager.java
10525         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10526         (focusRequests): New field.
10527         (retargetFocusEvent): New method. Retargets focus events
10528         that come from heavyweights to the correct lightweight component.
10529         (addLightweightFocusRequest): New method. Stores a mapping
10530         for later retargetting of heavyweight focus events.
10531         * java/awt/Window.java
10532         (addFocusListener): Removed bogus method. If at all, this
10533         should be performed in the KeyboardFocusManager.
10534         (Window): Don't install a focus listener on the Window.
10535
10536 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10537
10538         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10539         (drawLine): Apply shift to line coordinates.
10540
10541 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10542
10543         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10544         (copyimage): Do not call setRenderingHints() when the respective map
10545         does not exist.
10546         (filter): Removed code to clone the ColorModel instance.
10547         * java/awt/image/ColorModel.java:
10548         (cloneColorModel): Removed.
10549
10550 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10551
10552         * javax/swing/JTabbedPane.java:
10553         (setSelectedIndex): Removed updating of component visibility status,
10554         added note.
10555         (remove(Component)): Use indexOfComponent() to find whether we have
10556         to use super.remove(int) or removeTabAt().
10557
10558 2006-07-26  Roman Kennke  <kennke@aicas.com>
10559
10560         * javax/swing/JOptionPane.java
10561         (createDialog): Add property change handler for closing
10562         the dialog when the value property changes.
10563         (ValuePropertyHandler): New inner helper class.
10564         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10565         (OptionPaneCloseAction): New class.
10566         (messageForeground): Removed field.
10567         (messageBorder): Removed field.
10568         (buttonBorder): Removed field.
10569         (addIcon): Configure the new label.
10570         (addMessageComponents): Configure newly created labels.
10571         (burstStringInto): Likewise.
10572         (createButtonArea): Install border here.
10573         (createMessageArea): Install border and foreground here.
10574         (createSeparator): Added comment and removed
10575         NotImplementedException.
10576         (installComponents): Don't install the UI defaults for the
10577         message and button area here. This is moved to the
10578         corresponding create* methods. Adjusted comment about
10579         separator.
10580         (installDefaults): Removed initialization of removed fields.
10581         (installKeyboardActions): Implemented.
10582         (getActionMap): New helper method.
10583         (createDefaultActions): New helper method.
10584         (uninstallDefaults): Removed de-initialization of removed fields.
10585         (uninstallKeyboardActions): Implemented.
10586         (configureLabel): New helper method.
10587         * javax/swing/plaf/basic/BasicTableUI.java
10588         (getActionMap): Fixed the UI property names.
10589         * javax/swing/plaf/basic/BasicToolBarUI.java
10590         (getActionMap): Fixed the UI property names.
10591
10592 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10593
10594         * java/awt/image/BandedSampleModel.java
10595         (getDataElements): Check for negative x or y,
10596         (getPixels): Likewise,
10597         (getSamples): Likewise,
10598         (setSamples): Likewise.
10599
10600 2006-07-26  Roman Kennke  <kennke@aicas.com>
10601
10602         * javax/swing/plaf/basic/BasicToolBarUI.java
10603         (ToolBarAction): New inner class for handling keyboard
10604         actions.
10605         (installKeyboardActions): Implemented.
10606         (getActionMap): New helper method.
10607         (createDefaultActions): New helper method.
10608         (installListeners): Install focus listener on toolbar's
10609         children, rather than the toolbar itself.
10610         (navigateFocusedComp): Implemented.
10611         (uninstallKeyboardActions): Implemented.
10612         (uninstallListeners): Uninstall focus listener from
10613         toolbar's children, rather than the toolbar itself.
10614         (ToolBarContListener.componentAdded): Install focus
10615         listener on added child.
10616         (ToolBarContListener.componentRemoved): Uninstall focus
10617         listener from removed child.
10618         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10619         (ToolBarFocusListener.focusGained): Implemented.
10620         (ToolBarFocusListener.focusLost): Implemented.
10621
10622 2006-07-26  Roman Kennke  <kennke@aicas.com>
10623
10624         * java/awt/DefaultKeyboardFocusManager.java
10625         (dispatchEvent): Notify old focus owner when it has lost
10626         focus.
10627
10628 2006-07-26  Roman Kennke  <kennke@aicas.com>
10629
10630         * javax/swing/plaf/basic/BasicTableUI.java
10631         (FocusHandler.focusGained): Implemented to refresh the
10632         lead cell.
10633         (FocusHandler.focusLost): Implemented to refresh the
10634         lead cell.
10635         (FocusHandler.repaintLeadCell): New helper method.
10636         (MouseInputHandler.mouseEntered): Do nothing here.
10637         (MouseInputHandler.mouseExited): Do nothing here.
10638         (MouseInputHandler.mouseMoved): Do nothing here.
10639         (installKeyboardActions): Rewritten to use a shared InputMap
10640         and ActionMap and correctly install the maps via SwingUtilities
10641         methods.
10642         (getActionMap): New helper method.
10643         (createDefaultActions): New helper method.
10644         (ActionListenerProxy): Removed unneeded class.
10645         (TableAction): Made class static.
10646         (TableAction.actionPerformed): Determine table by fetching
10647         the event source. Pass the table to helper methods.
10648         Use __command__ hack to determine the action command.
10649         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10650         (TableAction.getLastVisibleColumnIndex): Get table as argument.
10651         (TableAction.getFirstVisibleRowIndex): Get table as argument.
10652         (TableAction.getLastVisibleRowIndex): Get table as argument.
10653         (TableAction.advanceMultipleSelection): Get table as argument.
10654         (uninstallDefaults): Do nothing here.
10655         (uninstallKeyboardActions): Uninstall the keyboard actions.
10656
10657 2006-07-26  Roman Kennke  <kennke@aicas.com>
10658
10659         * javax/swing/JComponent.java
10660         (processKeyBinding): Store the action command as property
10661         in the Action instance that we call. This allows for
10662         improvement on the side of the Action.
10663
10664 2006-07-26  Roman Kennke  <kennke@aicas.com>
10665
10666         * javax/swing/plaf/metal/MetalUtils.java
10667         (fillMetalPattern): Use fillRect() instead of drawLine() to
10668         fill single pixels.
10669
10670 2006-07-26  Roman Kennke  <kennke@aicas.com>
10671
10672         * javax/swing/text/GapContent.java
10673         (getChars): Check for negative length and throw
10674         BadLocationException.
10675
10676 2006-07-26  Roman Kennke  <kennke@aicas.com>
10677
10678         * javax/swing/plaf/basic/BasicMenuBarUI.java
10679         (FocusAction): Made class static.
10680
10681 2006-07-26  Roman Kennke  <kennke@aicas.com>
10682
10683         * javax/swing/plaf/basic/BasicLookAndFeel.java
10684         (initComponentDefaults): Add keyboard bindings for
10685         PopupMenu.
10686
10687 2006-07-26  Roman Kennke  <kennke@aicas.com>
10688
10689         * javax/swing/UIManager.java
10690         (getLookAndFeelDefaults): Return the look and feel defaults.
10691         (setLookAndFeel): Improved exception messsage.
10692
10693 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10694
10695         * javax/swing/text/StringContent.java
10696         (StringContent): Changed initialLength to 10.
10697
10698 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10699
10700         * java/util/Vector.java: Fixed API doc typo.
10701
10702 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10703
10704         * java/awt/image/BandedSampleModel.java
10705         (createCompatibleSampleModel): Fixed typo in loop increment, set
10706         correct scanlineStride, and updated API docs.
10707
10708 2006-07-25  Roman Kennke  <kennke@aicas.com>
10709
10710         * javax/swing/plaf/basic/BasicPopupMenuUI.java
10711         (NavigateAction): New inner class. This is responsible for
10712         keyboard navigation through menus.
10713         (KeyboardHelper): New inner class. This manages the
10714         keyboard mappings and focus when a popup opens or closes.
10715         (keyboardHelper): New static field.
10716         (numPopups): New static field.
10717         (installUI): Create KeyboardHelper for first popup.
10718         Call installKeyboardActions().
10719         (installKeyboardActions): Removed NotImplementedException.
10720         This method is a no-op.
10721         (installKeyboardActionsImpl): New method. Installs keyboard
10722         mapping when a popup is opened.
10723         (getActionMap): New helper method.
10724         (createDefaultActions): New helper method.
10725         (uninstallUI): Uninstall KeyboardHelper when last Popup is
10726         uninstalled. Call uninstallKeyboardActions().
10727         (uninstallKeyboardActions): Removed NotImplementedException.
10728         This method is a no-op.
10729         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10730         mapping when a popup is closed.
10731         
10732 2006-07-25  Roman Kennke  <kennke@aicas.com>
10733
10734         * java/awt/Component.java
10735         (requestFocus()): Reimplemented to use requestFocusImpl().
10736         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10737         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10738         (requestFocusInWindow(boolean)): Reimplemented to use
10739         requestFocusImpl().
10740         (requestFocusImpl): Reimplemented focus request to use
10741         new peer method. Also added some obvious additional checks
10742         for rejecting focus requests early.
10743         * java/awt/ComponentPeer.java
10744         (requestFocus(Component,boolean,boolean,long)): Documented
10745         this method.
10746         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10747         (requestFocus): New field.
10748         (gtkWidgetHasFocus): New native method.
10749         (gtkWidgetCanFocus): New native method.
10750         (requestFocus): Replaced with assert false to prevent
10751         usage of obsolete method.
10752         (postFocusEvent(int,boolean,Component)): New overloaded method
10753         for posting the focus event to a specific target.
10754         (postFocusEvent(int,boolean)): Post event to requestFocus
10755         component.
10756         (requestFocus(Component,boolean,boolean,long)): Implemented.
10757         (getWindowFor): New helper method.
10758         (isLightweightDescendant): New helper method.
10759         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10760         (gtkWindowHasFocus): New native method.
10761         (requestFocus(Component,boolean,boolean,long)): New method.
10762         Overrides GtkComponentPeer method to specially handly the
10763         case when a Window receives a focus request for a lightweight
10764         child.
10765         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10766         (gtkWidgetHasFocus): New native method.
10767         (gtkWidgetCanFocus): New native method.
10768         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10769         (gtkWindowHasFocus): New native method.
10770         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10771         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10772         Regenerated.
10773
10774 2006-07-25  Francis Kung  <fkung@redhat.com>
10775
10776         * java/awt/DefaultKeyboardFocusManager.java
10777         (dispatchEvent): Add check for valid component.
10778
10779 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10780
10781         * javax/management/MBeanConstructorInfo.java:
10782         New file.
10783         * javax/management/MBeanNotificationInfo.java:
10784         Documentation fix.
10785         * javax/management/MBeanParameterInfo.java:
10786         New file.
10787
10788 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10789
10790         * java/awt/peer/gtk/CairoGraphics.java:
10791         (drawLine): Added special case for 1 pixel lines.
10792
10793 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10794
10795         Fixes PR27844.
10796         * java/awt/peer/gtk/CairoGraphics.java:
10797         (drawLine): Removed calls to shifted().
10798
10799 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10800
10801         * javax/swing/JTabbedPane.java:
10802         (remove(Component)): Rewritten.
10803         (setSelectedIndex): Implemented updating of component visibility state.
10804
10805 2006-07-25  Sven de Marothy  <sven@physto.se>
10806
10807         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10808         (init): Default to the actual depth in the worst case.
10809         
10810         * java/awt/Font.java
10811         (createFont(int, File)): New method.
10812         
10813 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10814
10815         Fixes bug #28413
10816         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10817         New field.
10818         (RETokenEnd): New constructer to set check_java_line_terminators.
10819         (matchThis): Checck line terminators if check_java_line_terminators.
10820         * gnu/java/util/regex/RETokenStart.java: Likewise.
10821         * gnu/regexp/RE.java(initialize): Use the new constructors for
10822         RETokenEnd and RETokenStart if REG_MULTILINE is set.
10823         * java/util/regex/Pattern.java(Patteren): Changed so that
10824         gnu/regexp/RE.java may use the new the new constructors.
10825
10826 2006-07-25  Roman Kennke  <kennke@aicas.com>
10827
10828         * java/awt/Container.java
10829         (focusTraversalPolicyProvider): New field.
10830         (isFocusTraversalPolicyProvider): New method.
10831         (setFocusTraversalPolicyProvider): New method.
10832         * java/awt/ContainerOrderFocusTraversalPolicy.java
10833         (getFirstComponent): Use accept() instead of lengthy checks.
10834         Don't fetch getComponents() to avoid copying of array.
10835         Traverse down the hierarchy to find the first focused component.
10836         * java/awt/DefaultKeyboardFocusManager.java
10837         (dispatchEvent): Let the initial component request focus.
10838
10839 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10840
10841         * javax/swing/text/Segment.java
10842         (last): Update current index before returning DONE for zero count.
10843         
10844 2006-07-24  Mark Wielaard  <mark@klomp.org>
10845
10846         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10847
10848 2006-07-25  Roman Kennke  <kennke@aicas.com>
10849
10850         * javax/swing/plaf/basic/BasicMenuBarUI.java
10851         (FocusAction): New inner class. Used to grab focus.
10852         (installKeyboardActions): Implemented.
10853         (uninstallKeyboardActions): Implemented.
10854         (getActionMap): New helper method.
10855         (createDefaultActions): New helper method.
10856
10857 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10858
10859         * examples/gnu/classpath/examples/swing/Demo.java:
10860         (mkMenuBar): Install instantiable basic look and feel.
10861         (InstantiableBasicLookAndFeel): New inner class.
10862
10863 2006-07-25  Roman Kennke  <kennke@aicas.com>
10864
10865         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10866         (GlassPaneDispatcher.dragTarget): New field.
10867         (GlassPaneDispatcher.isDragging): New field.
10868         (GlassPaneDispatcher.pressedComponent): Removed field.
10869         (GlassPaneDispatcher.tempComponent): Removed field.
10870         (GlassPaneDispatcher.pressCount): Removed field.
10871         (GlassPaneDispatcher.mousePressed): Call
10872         borderListener.mousePressed() to activate the frame.
10873         (acquireComponentForMouseEvent): Removed method.
10874         (handleEvent): Rewritten.
10875         (redispatch): New method.
10876         (InternalFramePropertyChangeListener.propertyChange):
10877         Make glasspane invisible when frame is selected, and visible
10878         if it gets deselected.
10879         
10880 2006-07-25  Roman Kennke  <kennke@aicas.com>
10881
10882         * java/awt/LightweightDispatcher.java
10883         (handleMouseEvent): Dispatch event to real target if
10884         the dragTarget has become invisible in the meantime.
10885
10886 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10887
10888         * javax/swing/text/TabSet.java
10889         (equals): New method override for 1.5,
10890         (hashCode): Likewise,
10891         (toString): Added spaces to match reference implementation.
10892
10893 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10894
10895         * javax/management/IntrospectionException.java,
10896         * javax/management/MBeanAttributeInfo.java:
10897         New files.
10898         * javax/management/MBeanNotificationInfo.java:
10899         Documentation cleanups.
10900         
10901 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10902
10903         * javax/swing/text/TabSet.java
10904         (TabSet): Check for null argument,
10905         (getTab): Throw IllegalArgumentException for index out of bounds,
10906         (getTabIndexAfter): Changed test to '<=',
10907         and updated API docs all over,
10908         * javax/swing/text/TabStop.java: Updated API docs.
10909
10910 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10911
10912         * javax/swing/text/TabStop.java
10913         (toString): Don't use 'left ' prefix, and added space between tab
10914         location and '(w/leader)' suffix.
10915
10916 2006-07-24  Francis Kung  <fkung@redhat.com>
10917
10918         * javax/swing/JComboBox.java
10919         (DefaultKeySelectionManager): Implemented.
10920         (createDefaultKeySelectionManager): Implemented.
10921         (getKeySelectionManager): Implemented.
10922         (processKeyEvent): Removed duplicate code.
10923         * javax/swing/JPopupMenu.java
10924         (selectionModel): Changed visibility.
10925         * javax/swing/plaf/basic/BasicComboBoxUI.java
10926         (KeyHandler.keyPressed): Added navigation keys.
10927         (configureEditor): Add key listener.
10928         (installListeners): Install focus listener to combo box.
10929         (isNavigationKey): Added enter, escape, and tab.
10930         (selectPreviousPossibleValue): Added out of bounds check.
10931         (unconfigureEditor): Remove key listener.
10932         * javax/swing/plaf/metal/MetalComboBoxButton.java
10933         (paintComponent): Highlight combo box when in focus.
10934
10935 2006-07-24  Roman Kennke  <kennke@aicas.com>
10936
10937         * javax/swing/SwingUtilities.java
10938         (isLeftMouseButton): Fixed condition.
10939         * java/awt/LightweightDispatcher.java
10940         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10941         is dragged.
10942
10943 2006-07-24  Roman Kennke  <kennke@aicas.com>
10944
10945         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10946         (setPaint): Fixed scaleX and scaleY.
10947
10948 2006-07-24  Roman Kennke  <kennke@aicas.com>
10949
10950         * javax/swing/JTable.java
10951         (handleInsert): Repaint the whole table for variable row
10952         height tables and an optimized region otherwise.
10953         (handleDelete): Likewise.
10954         (handleUpdate): Likewise.
10955
10956 2006-07-24  Mario Torre  <neugens@limasoftware.net>
10957
10958         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10959         now explicity registerListeners on GtkMouseDragGestureRecognizer
10960         instance.
10961         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10962         (unregisterListeners): new method, overrided from base class
10963         to rise visibility (from protected to public).
10964         (registerListeners): Likewise.
10965         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10966         removed call to registerListeners from the constructor.
10967
10968 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10969
10970         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10971         * java/lang/management/MemoryPoolMXBean.java:
10972         (getType()): Changed return type to MemoryType.
10973         * java/lang/management/MemoryType.java:
10974         New file.
10975
10976 2006-07-23  Mark Wielaard  <mark@klomp.org>
10977
10978         * configure.ac: Check for moc and moc-qt4.
10979
10980 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
10981
10982         * java/awt/image/Kernel.java: API doc updates.
10983
10984 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
10985
10986         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10987         bit more.
10988
10989 2006-07-22  Mark Wielaard  <mark@klomp.org>
10990
10991         * java/lang/Iterable.java: Import all of java.util.
10992         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10993         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10994
10995 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10996
10997         * doc/vmintegration.texinfo:
10998         Document getType(String).
10999         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11000         * java/lang/management/MemoryPoolMXBean.java:
11001         (getType()): Implemented.
11002         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11003         (getType(String)): Implemented.
11004         
11005 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11006
11007         * doc/vmintegration.texinfo:
11008         Move end of itemization block.
11009
11010 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11011
11012         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11013         (initComponentDefaults): Added new properties, added comments.
11014         
11015 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11016
11017         * doc/vmintegration.texinfo:
11018         Mention callback methods.
11019         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11020         (fireNotification(String,String,long,long,long,long,long)):
11021         Made package-private.
11022         (fireThresholdExceededNotification(String,long,long,long,
11023         long,long)): Likewise.
11024         (fireCollectionThresholdExceededNotification(String,long,
11025         long,long,long,long)): Likewise.
11026         * java/lang/management/MemoryMXBean.java:
11027         Document notifications.
11028
11029 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11030
11031         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11032         (fireNotification(String,String,long,long,long,long,long)):
11033         Implemented.
11034         (fireThresholdExceededNotification(String,long,long,long,
11035         long,long)): Likewise.
11036         (fireCollectionThresholdExceededNotification(String,long,
11037         long,long,long,long)): Likewise.
11038         * java/lang/management/MemoryNotificationInfo.java:
11039         Use composite type from MemoryMXBeanImpl.
11040         * javax/management/openmbean/CompositeData.java:
11041         Correct documentation.
11042         * javax/management/openmbean/CompositeDataSupport.java,
11043         * javax/management/openmbean/InvalidKeyException.java:
11044         New files.
11045
11046 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11047
11048         * gnu/java/security/util/IntegerUtil.java: New file.
11049
11050 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11051
11052         PR Classpath/28100
11053         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11054         (KEY_SIZE): Likewise.
11055         (adjustParity(int,byte[],int): New method.
11056         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11057         (isParityAdjusted(int,byte[],int)): New method.
11058         (isParityAdjusted): Call above method with 3 as 1st argument.
11059         (keySizes): Add 8 and 16 as other valid key sizes.
11060         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11061
11062 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11063
11064         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11065         code for the pixel swap routine to be more efficient.
11066
11067 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11068
11069         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11070         (lastIndexOf(E, int)): Likewise.
11071         (add(E)): Increase the size of newData array by one.
11072         (add(int, E)): Likewise.
11073
11074 2006-07-20  Lillian Angel  <langel@redhat.com>
11075
11076         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11077         Removed unused fields.
11078         (GtkMouseDragGestureRecognizer): Removed initializations.
11079
11080 2006-07-20  Lillian Angel  <langel@redhat.com>
11081
11082         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11083         (GtkMouseDragGestureRecognizer): New constructor.
11084         (GtkMouseDragGestureRecognizer): New constructor.
11085         (GtkMouseDragGestureRecognizer): New constructor.
11086         (mouseClicked): Removed FIXME.
11087         (mousePressed): Implemented.
11088         (mouseReleased): Implemented.
11089         (mouseEntered): Implemented.
11090         (mouseDragged): Implemented to check mouse point and trigger origin.
11091         (mouseMoved): Removed FIXME.
11092         (getDropActionFromEvent): New helper function used to convert mouse event
11093         modifiers to a drop action.
11094         * java/awt/dnd/DragSource.java
11095         (getDragThreshold): Changed to return some arbitrary value for testing
11096         purposes.
11097
11098 2006-07-20  Roman Kennke  <kennke@aicas.com>
11099
11100         * java/awt/LightweightDispatcher.java
11101         (findTarget): Also consider components that have their eventMask
11102         set, for compatibility with stonage AWT. Optimized check
11103         for MouseListener.
11104         (handleMouseEvent): Likewise.
11105
11106 2006-07-20  Roman Kennke  <kennke@aicas.com>
11107
11108         * javax/swing/JTable.java
11109         (tableChanged): Split out handling of the event into multiple
11110         subroutines.
11111         (handleCompleteChange): New method. Clear the selection and
11112         check the lead/anchor indices.
11113         (handleInsert): New method. Check the lead/anchor indices.
11114         Optimized repainting.
11115         (handleDelete): New method. Check the lead/anchor indices.
11116         Optimized repainting.
11117         (handleUpdate): New method. Optimized repainting.
11118         (checkSelection): New helper method.
11119         (setSelectionModel): Update lead/anchor indices.
11120
11121 2006-07-20  Lillian Angel  <langel@redhat.com>
11122
11123         PR 28440
11124         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11125         (dispose): Reset all fields.
11126
11127 2006-07-20  Roman Kennke  <kennke@aicas.com>
11128
11129         * gnu/java/awt/peer/x/XToolkit.java
11130         (createImage(InputStream)): Only copy image to Pixmap if
11131         it's actually opaque. Transparent images are left as
11132         BufferedImage and composited later onto the screen.
11133         * gnu/java/awt/peer/x/XGraphics.java
11134         (XGraphics): Fetch some parameters for image rendering.
11135         (drawImage): Added special handling of transparent images.
11136         (getRGB): New helper method.
11137         (setRGB): New helper method.
11138
11139 2006-07-20  Roman Kennke  <kennke@aicas.com>
11140
11141         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11142         ImageInputStreams as normal InputStreams.
11143         * gnu/javax/imageio/gif/GIFStream.java:
11144         Moved to gnu/javax/imageio/IIOInputStream.java.
11145         * gnu/javax/imageio/gif/GIFImageReader.java
11146         (readImage): Use IIOInputStream.
11147         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11148         (canDecodeInput): Use IIOInputStream.
11149         * gnu/javax/imageio/png/PNGException.java: Make subclass
11150         of IOException.
11151         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11152         Implements the ImageIO ImageReader for PNG.
11153         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11154         Implements the ImageIO ImageReaderSpi for PNG.
11155         * javax/imageio/spi/IIORegistry.java:
11156         (IIORegistry): Add PNGImageReaderSpi.
11157
11158 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11159
11160         * java/awt/image/ComponentSampleModel.java
11161         (getPixel): Added argument check,
11162         (getSample): Modified exception message.
11163
11164 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11165
11166         PR Classpath/28422
11167         * java/awt/image/ConvolveOp.java
11168         (filter(Raster, WritableRaster)): Reimplemented,
11169         (fillEdge): New private method.
11170
11171 2006-07-19  Keith Seitz  <keiths@redhat.com>
11172
11173         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11174         (JVMTI_VERSION): Define.
11175
11176 2006-07-19  Roman Kennke  <kennke@aicas.com>
11177
11178         * resource/gnu/regexp/MessagesBundle.properties,
11179         * resource/gnu/regexp/MessagesBundle_fr.properties,
11180         * resource/gnu/regexp/MessagesBundle_it.properties:
11181         Moved to resource/gnu/java/util/regex.
11182         * resource/gnu/java/util/regex/MessagesBundle.properties,
11183         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11184         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11185         New files.
11186         * gnu/java/util/regex/RE.java
11187         Use new resource bundle location.
11188
11189 2006-07-19  Roman Kennke  <kennke@aicas.com>
11190
11191         * javax/swing/JComponent.java
11192         (paintChildren): Refactored. The paintChildrenOptimized method
11193         has been moved back in here. Added locking of the tree and
11194         only check for completely obscured child components
11195         when not optimized drawing enabled. Use Graphics.create() to
11196         protect from irreversible changes.
11197         (isCompletelyObscured): New helper method.
11198         (paintComponent): Also use Graphics.create() for Graphics2D,
11199         to protect from irreverible changes.
11200         (clipAndTranslateGraphics): Refactored to use more efficient
11201         iterative (vs recursive) approach.
11202         * javax/swing/RepaintManager.java
11203         (getOffscreenBuffer): Create image from root component.
11204         
11205 2006-07-19  Roman Kennke  <kennke@aicas.com>
11206
11207         * gnu/java/awt/peer/x/XGraphics.java
11208         (translate): Don't set the clip on the X server.
11209         (clipRect): Use setXClip() to set the clip on the X server.
11210         (hitClip): More efficient and correct implementation.
11211         (setClip): Use setXClip() to set the clip on the X server.
11212         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11213         (copyArea): Translate and clip the source rectangle correctly.
11214         (dispose): Only flush when object is not yet disposed.
11215         (clone): Use setXClip() to set the clip on the X server.
11216
11217 2006-07-19  Sven de Marothy  <sven@physto.se>
11218
11219         * gnu/javax/imageio/png/PNGChunk.java,
11220         * gnu/javax/imageio/png/PNGData.java,
11221         * gnu/javax/imageio/png/PNGDecoder.java,
11222         * gnu/javax/imageio/png/PNGEncoder.java,
11223         * gnu/javax/imageio/png/PNGException.java,
11224         * gnu/javax/imageio/png/PNGFile.java,
11225         * gnu/javax/imageio/png/PNGFilter.java,
11226         * gnu/javax/imageio/png/PNGGamma.java,
11227         * gnu/javax/imageio/png/PNGHeader.java,
11228         * gnu/javax/imageio/png/PNGICCProfile.java,
11229         * gnu/javax/imageio/png/PNGPalette.java,
11230         * gnu/javax/imageio/png/PNGPhys.java,
11231         * gnu/javax/imageio/png/PNGTime.java:
11232         New files.
11233
11234 2006-07-19  Sven de Marothy  <sven@physto.se>
11235
11236         * java/net/Inet6Address.java:
11237         (getScopedId, getScopedInterface): New methods.
11238         
11239 2006-07-19  Lillian Angel  <langel@redhat.com>
11240
11241         * examples/gnu/classpath/examples/awt/Demo.java
11242         (DragDropWindow): Fixed typo in Label text.
11243         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11244         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11245         (startDrag): Initialized context field.
11246         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11247         function.
11248         (dragEnter): New function.
11249         (dragExit): Likewise.
11250         (dragDropEnd): Likewise.
11251         (dragMouseMoved): Likewise.
11252         (dragOver): Likewise.
11253         (dragActionChanged): Likewise.
11254
11255 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11256
11257         PR Classpath/26302
11258         * resource/java/security/classpath.security: Updated copyright year.
11259         (auth.login.defaultCallbackHandler): New property; set to our default
11260         callback handler. This is needed by the LoginContext when no callback
11261         handler was specified.
11262         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11263         (LoginContext(4)): Assign passed parameters to local fields before invoking
11264         lookup method.
11265
11266 2006-07-19  Roman Kennke  <kennke@aicas.com>
11267
11268         * gnu/java/awt/peer/x/XGraphics.java
11269         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11270         Fixed ordering of parameters.
11271
11272 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11273
11274         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11275         (MemoryMXBeanImpl()): Implemented.
11276         (ListenerData): New private class.
11277         (addNotificationListener(NotificationListener,
11278         NotificationFilter, Object)): Implemented.
11279         (getNotificationInfo()): Likewise.
11280         (removeNotificationListener(NotificationListener)):
11281         Likewise.
11282         (removeNotificationListener(NotificationListener,
11283         NotificationFilter, Object)): Likewise.
11284         
11285 2006-07-18  Roman Kennke  <kennke@aicas.com>
11286
11287         * gnu/java/awt/peer/x/XFontPeer.java
11288         (encodeFont): Be more flexible with font sizes.
11289         (validSize): New helper method.
11290         * gnu/java/awt/peer/x/XGraphics.java
11291         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11292         Implemented.
11293         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11294         Implemented.
11295         * gnu/java/awt/peer/x/XImage.java
11296         (properties): New field.
11297         (getProperty): Implemented.
11298         * resource/gnu/java/awt/peer/x/fonts.properties:
11299         Added copyright header. Fixed font size field.
11300
11301 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11302
11303         * java/awt/image/BandedSampleModel.java
11304         (createDataBuffer): New method override,
11305         * java/awt/image/ByteLookupTable.java
11306         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11307         (ByteLookuptable(int, byte[])): Check for null array,
11308         * java/awt/image/ComponentSampleModel.java
11309         (createDataBuffer): Removed unnecessary braces,
11310         (getSample): Check (x, y) is within bounds,
11311         * java/awt/image/ShortLookupTable.java
11312         (ShortLookupTable(int, short[][])): Create new array to hold references,
11313         (ShortLookupTable(int, short[])): Check for null array,
11314         (getTable): Added API docs,
11315         (lookupPixel): Source reformatting.
11316
11317 2006-07-18  Tania Bento  <tbento@redhat.com>
11318         
11319         * java/awt/GridLayout.java
11320         (setHgap): Illegal Argument Exception should not be thrown if 
11321         hgap < 0.
11322         (setVgap): Illegal Argument Exception should not be thrown if 
11323         vgap < 0.
11324         (toString): Opening square braket ([) should appear before hgap
11325         value, not the name of the class.
11326
11327 2006-07-18  Roman Kennke  <kennke@aicas.com>
11328
11329         * lib/copy-vmresources.sh.in: Reverted.
11330         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11331         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11332
11333 2006-07-18  Roman Kennke  <kennke@aicas.com>
11334
11335         * lib/copy-vmresources.sh.in: Include properties from X peers.
11336
11337 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11338
11339         PR Classpath/27205
11340         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11341         certificate validity.
11342         (getIssuerName): New method.
11343         (getSubjectName): Likewise.
11344         (getNotAfterDate): Likewise.
11345         (getNotBeforeDate): Likewise.
11346         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11347         messages for newly added messages in SFHelper.
11348
11349 2006-07-18  Roman Kennke  <kennke@aicas.com>
11350
11351         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11352         * gnu/java/awt/peer/x/XEventPump.java
11353         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11354         * gnu/java/awt/peer/x/XFramePeer.java
11355         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11356         * gnu/java/awt/peer/x/XGraphics.java
11357         Made subclass of Graphics rather than Graphics2D. Removed
11358         all Graphics2D specific method stubs.
11359         (setColor): Map colors using the X color map that is
11360         stored in XToolkit.
11361         * gnu/java/awt/peer/x/XToolkit.java
11362         (colorMap): New field.
11363         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11364         instance.
11365         (createDialog): Implemented.
11366         (createImage(ImageProducer)): Implemented.
11367         (createImage(InputStream)): Use createImage(ImageProducer)
11368         to convert the BufferedImage to an XImage.
11369         * gnu/java/awt/peer/x/XWindowPeer.java
11370         (XWindowPeer): Removed debug output.
11371
11372 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11373
11374         * java/awt/image/BufferedImageOp.java: API docs added,
11375         * java/awt/image/RasterOp.java: Likewise.
11376
11377 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11378
11379         * java/awt/Graphics2D.java: API docs updated.
11380
11381 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11382
11383         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11384         source code.
11385
11386 2006-07-18  Sven de Marothy  <sven@physto.se>
11387
11388         * java/net/Inet6Address.java:
11389         Add 1.5 serialized fields.
11390         (getByAddress): New methods.
11391         (readObject, writeObject): New methods. 
11392         (equals): Reimplement.
11393
11394 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11395
11396         * java/awt/image/Raster.java: Added API docs and reformatted source
11397         code.
11398
11399 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11400
11401         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11402         imports.
11403         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11404         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11405         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11406         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11407         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11408         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11409         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11410         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11411         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11412         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11413         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11414         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11415         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11416         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11417         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11418         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11419         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11420         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11421         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11422         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11423         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11424
11425 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11426
11427         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11428         to make it compile again under jikes. Note added.
11429
11430 2006-07-17  Lillian Angel  <langel@redhat.com>
11431
11432         * examples/gnu/classpath/examples/awt/Demo.java
11433         (Demo): Added new window for DnD demo.
11434         (DragDropWindow): New class.
11435         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11436         Added new fields and declarations for native functions.
11437         (GtkDragSourceContextPeer): Implemented.
11438         (getComponentPeer): New function.
11439         (startDrag): Partially implemented.
11440         (getCursor): Implemented.
11441         (setCursor): Implemented.
11442         * include/GtkDragSourceContextPeer.h: New file.
11443         * include/Makefile.am: Added new header file.
11444         * java/awt/Component.java
11445         (addNotify): Added call to the dropTarget's addNotify.
11446         * java/awt/dnd/DragSource.java
11447         (startDrag): Fixed code to use shared instances of peer and
11448         context.
11449         (getDragThreshold): Added stub.
11450         * java/awt/dnd/DropTarget.java
11451         (DropTarget): Implemented fully.
11452         (addNotify): Added code to get the peer of the parent that is
11453         not lightweight.
11454         * java/awt/dnd/DropTargetDragEvent.java
11455         (getTransferable): Added stub.
11456         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11457         * native/jni/gtk-peer/Makefile.am: Added new c file.
11458         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11459         Changed to extend GtkGenericPeer.
11460         (GtkDropTargetContextPeer): New constructor.
11461         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11462         Changed to extend GtkGenericPeer.
11463         (GtkDropTargetContextPeer): New constructor.
11464
11465 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11466
11467         * java/awt/image/SinglePixelPackedSampleModel.java
11468         (createSubsetSampleModel): Added argument check and API docs.
11469
11470 2006-07-17  Roman Kennke  <kennke@aicas.com>
11471
11472         * gnu/java/awt/peer/x/XGraphics.java
11473         (copyArea): Implemented.
11474
11475 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11476
11477         * java/awt/image/SinglePixelPackedSampleModel.java
11478         (getSampleSize): Return copy of array,
11479         (getOffset): Added API docs,
11480         (getScanlineStride): Likewise,
11481         (hashCode): Implemented.
11482
11483 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11484
11485         * java/awt/image/MultiPixelPackedSampleModel.java
11486         (getOffset): Updated API docs and source reformatting,
11487         (getBitOffset): Source reformatting only,
11488         (getDataElements): Likewise,
11489         (getPixel): Likewise,
11490         (getPixels): Removed method override,
11491         (setDataElements): Reimplemented.
11492
11493 2006-07-17  Gary Benson  <gbenson@redhat.com>
11494
11495         * resource/META-INF/services/.cvsignore: New file.
11496         * lib/.cvsignore: Updated.      
11497
11498 2006-07-17  Roman Kennke  <kennke@aicas.com>
11499
11500         * javax/swing/plaf/basic/BasicButtonListener.java
11501         (propertyChange): Only do the text layout caching as long
11502         as the noGraphics2D property isn't set.
11503         * javax/swing/plaf/basic/BasicMenuItemUI.java
11504         (PropertyChangeHandler.propertyChange): Only do the text layout
11505         caching as long as the noGraphics2D property isn't set.
11506
11507 2006-07-17  Roman Kennke  <kennke@aicas.com>
11508
11509         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11510         (XGraphicsEnvironment): Make constructor public so that it
11511         can be called via Class.forName().newInstance().
11512         * gnu/java/awt/peer/x/XImage.java
11513         (XImage): Fetch GraphicsEnvironment via
11514         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11515         than the XToolkit method, to avoid double instantiation
11516         of the XGraphicsEnvironment.
11517         * gnu/java/awt/peer/x/XToolkit.java
11518         (env): Removed field.
11519         (getLocalGraphicsEnvironment): Removed impl. This method
11520         should not be called since we set the graphicsenv property
11521         in the constructor.
11522
11523 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11524
11525         * java/util/UUID.java:
11526         (compareTo(Object)): Call compareTo(UUID).
11527         (compareTo(UUID)): Implemented.
11528         
11529 2006-07-16  Tom Tromey  <tromey@redhat.com>
11530
11531         * java/lang/StrictMath.java (cbrt): Added '@since'.
11532
11533 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11534
11535         * java/lang/StrictMath.java (cbrt): New method.
11536         (getLowDWord): New helper method.
11537         (getHighDWord): Likewise.
11538         (buildDouble): Likewise.
11539         (CBRT_B1): New field.
11540         (CBRT_B2): Likewise.
11541         (CBRT_C): Likewise.
11542         (CBRT_D): Likewise.
11543         (CBRT_E): Likewise.
11544         (CBRT_F): Likewise.
11545         (CBRT_G): Likewise.
11546
11547 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11548
11549         * javax/management/MBeanInfo.java:
11550         (getNotifications()): Implemented.
11551         * javax/management/NotificationBroadcaster.java:
11552         (removeNotificationListener(NotificationListener)):
11553         Renamed from removeListener.
11554         * javax/management/NotificationEmitter.java:
11555         (removeNotificationListener(NotificationListener,
11556         NotificationFilter, Object)): Likewise.
11557         * javax/management/NotificationFilter.java:
11558         Implement Serializable.
11559         * javax/management/NotificationListener.java:
11560         Implement java.util.EventListener.
11561         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11562         Implement Serializable.
11563
11564 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11565
11566         * java/lang/management/MemoryNotificationInfo.java:
11567         New file.
11568         
11569 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11570
11571         PR 28392
11572         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11573         (tagIsValidForContext): If it is not possible to insert any tag, but 
11574         is possible to insert a P, insert a P.
11575         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11576         (newInstance): Removed print statement. (getBodyElements):
11577         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11578         valid body level tags (will be enclosed into P's).
11579
11580 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11581
11582         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11583         Condition the creation of .keystore (a default keystore) based on the
11584         createIfNotFound argument as well.
11585
11586 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11587
11588         PR 28392
11589         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11590         Removed heading p tag from the parsing example.
11591         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11592         (createHtmlContentModel): Explained.
11593         (defineElements): Call getBodyElements to get the body
11594         elements. (getBodyElements): New method. (model):
11595         Made protected from private.
11596         * gnu/javax/swing/text/html/parser/htmlValidator.java
11597         (openTag): Mind that current content model may be null.
11598         (tagIsValidForContext): If the tag is PCDATA, and it is not
11599         valid for context, but the paragraph (P) is valid for context,
11600         suggest to insert the P tag here.
11601         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11602         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11603         implied P tags here.
11604         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11605         Get the custom parser, using HTML_401Swing.java DTD.
11606         * javax/swing/text/html/parser/ParserDelegator.java:
11607         Removed the obsolete note that HTMLEditorKit does not exist.
11608         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11609         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11610
11611 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11612
11613         * javax/management/ListenerNotFoundException.java:
11614         New file.
11615         * javax/management/MBeanFeatureInfo.java:
11616         (hashCode()): Use summation instead of multiplication
11617         for consistency with other classes.
11618         * javax/management/MBeanNotificationInfo.java,
11619         * javax/management/Notification.java,
11620         * javax/management/NotificationBroadcaster.java,
11621         * javax/management/NotificationEmitter.java,
11622         * javax/management/NotificationFilter.java,
11623         * javax/management/NotificationListener.java:
11624         New files.
11625         * javax/management/OperationsException.java:
11626         (serialVersionUID): Added.
11627         
11628 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
11629             Mark Wielaard  <mark@klomp.org>
11630
11631         * java/io/PrintStream.java: Added four constructors, for File and
11632         String describing a filename with or without explicit encoding.
11633
11634 2006-07-16  Sven de Marothy  <sven@physto.se>
11635
11636         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11637         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11638         New files.
11639
11640 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11641
11642         PR Classpath/28391
11643         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
11644         New method.
11645         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11646         (setProviderClassNameParam): Made private.
11647         (setKeystoreTypeParam): Likewise.
11648         (setKeyPasswordParam): Likewise
11649         (setKeystorePasswordParam): Likewise.
11650         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11651         create or not the keystore if it's not there, and the second is the store's
11652         password to process before loading the keystore. Amended the code
11653         accordingly.
11654         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11655         setKeyStoreParams(5) with true as its first argument.
11656         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11657         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11658
11659 2006-07-16  Sven de Marothy  <sven@physto.se>
11660
11661         * java/util/UUID.java: New file.
11662
11663 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11664
11665         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11666         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11667         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11668         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11669         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11670         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11671         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11672         added Key Wrapping Algorithm SPIs.
11673
11674 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11675
11676         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11677         wrapping/unwrapping to invoke their engineGetOutputSize.
11678
11679 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11680
11681         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11682         (engineInit): If a SecureRandom was specified then use it.
11683         (nextRandomBytes): New method.
11684         (engineWrap): Use above method.
11685         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11686         (getDefaultPRNG): New method.
11687         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11688         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11689         New constant.
11690
11691 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11692
11693         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11694         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11695
11696 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11697
11698         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11699         offset into consideration.
11700
11701 2006-07-16  Mario Torre  <neugens@limasoftware.net>
11702
11703         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11704         Fixed comment. This functions now requires to be called
11705         with gdk lock held, the comment states that.
11706         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11707         Introduces gdk locks around critical regions of code.
11708         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11709         Likewise.
11710         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11711         Likewise.
11712         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11713         Likewise.
11714         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11715         Likewise.
11716         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11717         Likewise.
11718         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11719         Likewise.
11720         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11721         Likewise.
11722         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11723         Likewise.
11724         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11725         Likewise.
11726         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11727         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11728
11729 2006-07-15  Sven de Marothy  <sven@physto.se>
11730
11731         * javax/swing/JFileChooser.java
11732         Change default selection mode to FILES_ONLY.
11733         * javax/swing/plaf/basic/BasicDirectoryModel.java
11734         Document, fix selection mode filtering.
11735         (renameFile): Implement
11736         * javax/swing/plaf/basic/BasicFileChooserUI.java
11737         (selectedDir): New field to handle selected directories,
11738         disallow selecting of directories in FILES_ONLY mode.
11739         * javax/swing/plaf/metal/MetalFileChooserUI.java:
11740         (EditingActionListener.actionPerformed):
11741         Stop editing on all actions (e.g. return-key press)
11742
11743 2006-07-15  Mark Wielaard  <mark@klomp.org>
11744
11745         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11746         to code.
11747         (JNI Implementation): Mark JVMTI Implementation as next.
11748         (JVMTI Implementation): Mark JNI Implementation as prev.
11749
11750 2006-07-15  Mark Wielaard  <mark@klomp.org>
11751
11752         * include/Makefile.am: Remove
11753         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11754         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11755         * native/jni/gtk-peer/Makefile.am: Remove
11756         gnu_java_awt_peer_gtk_GdkTextLayout.c
11757         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11758         Removed.
11759
11760         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11761
11762 2006-07-15  Mark Wielaard  <mark@klomp.org>
11763
11764         * autogen.sh: Recognize autoconf 2.60.
11765
11766 2006-07-15  Keith Seitz  <keiths@redhat.com>
11767
11768         * NEWS: Update for JVMTI and jvmti.h.
11769         * doc/vmintegration.texinfo: Likewise.
11770         * include/jvmti.h: New file.
11771
11772 2006-07-15  Mark Wielaard  <mark@klomp.org>
11773
11774         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11775         Removed C++ style comment.
11776
11777 2006-07-15  Sven de Marothy  <sven@physto.se>
11778
11779         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11780         * java/awt/MouseInfo.java,
11781         * java/awt/PointerInfo.java,
11782         * java/awt/peer/MouseInfoPeer.java:
11783         New files.
11784
11785         * java/awt/Image.java
11786         (accelerationPriority): New field.
11787         (setAccelerationPriority, getAccelerationPriority): New methods..
11788
11789         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11790         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11791         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11792         (getMouseCoordinates): New method.
11793
11794         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11795         (updateAlwaysOnTop): Remove stub overload.
11796
11797         * gnu/java/awt/ClasspathToolkit.java,
11798         * gnu/java/awt/peer/gtk/GtkToolkit.java,
11799         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11800         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11801         (getMouseInfoPeer): New method.
11802         (getMouseNumberOfButtons): New method.
11803         
11804         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11805         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11806         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11807         (gtkWindowSetAlwaysOnTop): New method.
11808         (updateAlwaysOnTop): Implement.
11809
11810         * java/awt/Toolkit.java,
11811         (getMouseInfoPeer): New method.
11812
11813         * java/awt/Window.java
11814         (alwaysOnTop): New field.
11815         (isAlwaysOnTop, setAlwaysOnTop): New methods.
11816
11817         * java/awt/peer/WindowPeer.java: Doc fix.
11818
11819 2006-07-14  Sven de Marothy  <sven@physto.se>
11820
11821         * java/awt/font/TextLayout.java:
11822         (hitTestChar): Stub method.
11823         * java/awt/font/TextMeasurer.java:
11824         (getLayout): Throw exception on invalid argument.
11825         
11826 2006-07-14  Sven de Marothy  <sven@physto.se>
11827
11828         * java/awt/image/DataBuffer.java
11829         (DataBuffer): Call constructors in the correct order,
11830         
11831 2006-07-14  Mark Wielaard  <mark@klomp.org>
11832
11833         Revert to previous implementation.
11834         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11835         constraints insets.
11836
11837 2006-07-14  Roman Kennke  <kennke@aicas.com>
11838
11839         * gnu/java/awt/peer/x/XToolkit.java
11840         (XToolkit): Install properties to SystemProperties
11841         rather than System, to avoid SecurityManager.
11842         (getImage(String)): Return error image when string is invalid.
11843         (createImage(URL)): Moved image loading to helper method.
11844         (createImage(ImageProducer)): Implemented.
11845         (createImage(byte[],int,int)): Implemented.
11846         (createImage(InputStream)): New helper method.
11847
11848 2006-07-14  Tania Bento  <tbento@redhat.com>
11849
11850         * java/awt/FlowLayout.java
11851         (setHgap): No Excpetion should be thrown if hgap has
11852         a negative value.
11853         (setVgap): No Exception should be thrown if vgap has
11854         a negative value.
11855
11856 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11857
11858         * java/awt/image/MultiPixelPackedSampleModel.java: 
11859         Added API docs all over.
11860
11861 2006-07-14  Matt Wringe  <mwringe@redhat.com>
11862
11863         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
11864         (engineInit): Throw InvalidAlgorithmParameterException
11865         for invalid IVParameterSpec IV length.
11866
11867 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11868
11869         * java/awt/image/MultiPixelPackedSampleModel.java
11870         (createDataBuffer): Include dataBitOffset in calculating the size for
11871         the data buffer.
11872
11873 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11874
11875         * java/awt/image/MultiPixelPackedSampleModel.java
11876         (getSampleSize()): Return a copy of the array,
11877         (getTransferType()): New method override.
11878
11879 2006-07-14  Roman Kennke  <kennke@aicas.com>
11880
11881         * java/awt/CardLayout.java
11882         (show): Validate parent to make sure that the layout is
11883         valid.
11884
11885 2006-07-14  Roman Kennke  <kennke@aicas.com>
11886
11887         * java/awt/Component.java
11888         (enable): Added tree locking.
11889         (disable): Added tree locking.
11890         (show): Added tree locking.
11891         (hide): Added tree locking.
11892         (getLocationOnScreen): Added tree locking.
11893         (reshape): Added tree locking.
11894         (addHierarchyListener): Added tree locking.
11895         (removeHierarchyListener): Added tree locking.
11896         (addHierarchyBoundsListener): Added tree locking.
11897         (removeHierarchyBoundsListener): Added tree locking.
11898         (addNotify): Added tree locking.
11899         (removeNotify): Added tree locking.
11900         * java/awt/Container.java
11901         (invalidateTree): Added tree locking.
11902         (getAlignmentX): Added tree locking.
11903         (getAlignmentY): Added tree locking.
11904         (addNotify): Added tree locking.
11905         (setComponentZOrder): Added tree locking.
11906         (getComponentZOrder): Added tree locking.
11907
11908 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11909
11910         * java/awt/image/MultiPixelPackedSampleModel.java
11911         (createSubsetSampleModel): Restored argument check, but let null
11912         through.
11913
11914 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11915
11916         * java/awt/image/MultiPixelPackedSampleModel.java
11917         (createSubsetSampleModel): Removed argument check.
11918
11919 2006-07-14  Roman Kennke  <kennke@aicas.com>
11920
11921         * java/awt/Component.java
11922         (numHierarchyListeners): New field.
11923         (numHierarchyBoundsListeners): New field.
11924         (show): Fire hierarchy events here. Only fire component event
11925         if there is actually a listener for it.
11926         (hide): Fire hierarchy events here. Only fire component event
11927         if there is actually a listener for it.
11928         (reshape): Fire hierarchy events here. Only fire component event
11929         if there is actually a listener for it.
11930         (addHierarchyListeners): Update listener counters.
11931         (removeHierarchyListeners): Update listener counters.
11932         (addHierarchyBoundsListeners): Update listener counters.
11933         (removeHierarchyBoundsListeners): Update listener counters.
11934         (fireHierarchyEvent): New helper method for firing hierarchy
11935         events.
11936         * java/awt/Container.java
11937         (addImpl): Update listener counters. Fire hierarchy event.
11938         (remove): Update listener counters. Fire hierarchy event.
11939         (fireHierarchyEvent): New helper method for firing hierarchy
11940         events.
11941         (updateHierarchyListenerCount): New helper method for
11942         updating the listener counters.
11943
11944 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11945
11946         * java/awt/image/MultiPixelPackedSampleModel.java
11947         (equals): New method override,
11948         (hashCode): Likewise.
11949
11950 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11951
11952         * java/awt/image/MultiPixelPackedSampleModel.java
11953         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
11954         Corrected scanlineStride calculation.
11955
11956 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11957
11958         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11959         (AES_KWA): Likewise.
11960         (AES128_KWA): Likewise.
11961         (AES192_KWA): Likewise.
11962         (AES256_KWA): Likewise.
11963         (RIJNDAEL_KWA): Likewise.
11964         (TRIPLEDES_KWA): Likewise.
11965         (DESEDE_KWA): Likewise.
11966         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11967         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11968         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11969         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11970         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11971         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11972
11973 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11974
11975         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11976         (PADDING_BLOCK_SIZE): New constant.
11977         (init(Map attributes)): New method.
11978         * gnu/javax/crypto/pad/BasePad.java (init): New method.
11979
11980 2006-07-14  Mario Torre  <neugens@limasoftware.net>
11981
11982         * gnu/java/security/OID.java (OID): Private Constructor removed as
11983         it is not needed anymore.
11984         (clone): Fixed. Now uses super.clone instead of the private
11985         constructor as per specification of clone method.
11986         (serialVersionUID): added new field to allow serialization.
11987
11988 2006-07-13  Sven de Marothy  <sven@physto.se>
11989
11990         * gnu/javax/imageio/gif/GIFImageReader.java
11991         (read): Remove old debugging trace.
11992
11993 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
11994
11995         PR awt/28369:
11996         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11997         blue mask.
11998
11999 2006-07-13  Roman Kennke  <kennke@aicas.com>
12000
12001         * java/awt/Component.java
12002         (DEFAULT_MAX_SIZE): New static constant.
12003         (preferredSize): Return copy of the actual value computed
12004         by new helper method.
12005         (preferredSizeImpl): New helper method. Adds locking and
12006         correct handling of cached value.
12007         (minimumSize): Return copy of the actual value computed
12008         by new helper method.
12009         (minimumSizeImpl): New helper method. Adds locking and
12010         correct handling of cached value.
12011         (getMaximumSize):  Return copy of the actual value computed
12012         by new helper method.
12013         (maximumSizeImpl): New helper method. Adds locking and
12014         correct handling of cached value.
12015         (invalidate): Correct handling of cached layout information.
12016         Added locking.
12017         * java/awt/Container.java
12018         (preferredSize): Minimized locking. Corrected handling of cached
12019         values. Return copy of real value.
12020         (minimumSize): Minimized locking. Corrected handling of cached
12021         values. Return copy of real value.
12022         (getMaximumSize): Minimized locking. Corrected handling of cached
12023         values. Return copy of real value.
12024         
12025 2006-07-13  Tania Bento  <tbento@redhat.com>
12026
12027         * gnu/java/awt/peer/ClasspathFontPeer.java
12028         (isLogicalFontName): Return true if name == default.
12029         (logicalFontNameToFaceName): Check if name == default,
12030         and if so, return "Dialog.plain".
12031         (setStandardAttributes(String, Map)): If name == null, 
12032         it should be set to "Default", not "SansSerif".
12033         * java/awt/Canvas.java
12034         (generateName): Fixed documentation.
12035         * java/awt/CheckboxMenuItem.java
12036         Added static variable "next_chkmenuitem_number".
12037         (generateName): Added and implemented method.
12038         (getUniqueLong): Likewise.
12039         * java/awt/Choice.java
12040         Added static variable "next_choice_number".
12041         (generateName): Added and implemented method.
12042         (getUniqueLong): Likewise.
12043         * java/awt/Cursor.java
12044         (Cursor(int)): Set name depending on the type passed.
12045         * java/awt/List.java
12046         Added static variable "next_list_number".
12047         (generateName): Added and implemented method.
12048         (getUniqueLong): Likewise.
12049         * java/awt/Menu.java
12050         Added static variable "next_menu_number".
12051         (generateName): Added and implemented method.
12052         (getUniqueLong): Likewise.
12053         * java/awt/MenuBar.java
12054         Added static variable "next_menubar_number".
12055         (generateName): Added and implemented method.   
12056         (getUniqueLong): Likewise.
12057         * java/awt/MenuComponent.java
12058         (getName): Before returning name, check if name == null
12059         and name is not explicity set.  If this is the case,    
12060         name will be generated.
12061         (generateName): Added and implemented method.   
12062         * java/awt/MenuItem.java
12063         Added static variable "next_menuitem_number".
12064         (generateName): Added and implemented method.   
12065         (getUniqueLong): Likewise.
12066         * java/awt/PopupMenu.java
12067         Added static variable "next_popup_number".
12068         (generateName): Added and implemented method.
12069         (getUniqueLong): Likewise.
12070         * java/awt/ScrollPane.java
12071         Added static variable "next_scrollpane_number".
12072         (generateName): Added and implemented method.
12073         (getUniqueLong): Likewise.
12074         * java/awt/TextField.java
12075         Added static variable "next_textfield_number".
12076         (generateName): Added and implemented method.
12077         (getUniqueLong): Likewise.
12078
12079
12080 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12081
12082         * java/awt/image/SinglePixelPackedSampleModel.java
12083         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12084         mask correctly as an unsigned integer,
12085         (equals): New method override.
12086
12087 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12088
12089         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12090         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12091
12092 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12093
12094         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12095         code reformatting,
12096         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12097
12098 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12099
12100         * java/awt/image/BandedSampleModel.java: API doc updates.
12101
12102 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12103
12104         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12105         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12106         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12107         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12108         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12109         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12110         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12111         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12112         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12113         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12114         Implemented. (getInsertingReader): New method. 
12115         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12116         Added buttons to demonstrate the work of the insert actions.
12117
12118 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12119
12120         * java/awt/image/SampleModel.java: API doc updates and additions,
12121         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12122
12123 2006-07-12  Sven de Marothy  <sven@physto.se>
12124
12125         * javax/swing/JFileChooser.java:
12126         (createDialog): Close operation should cause a cancel.
12127
12128 2006-07-12  Francis Kung  <fkung@redhat.com>
12129
12130         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12131         (cairoArc): New native method.
12132         (cairoRestore): New native method.
12133         (cairoSave): New native method.
12134         (cairoScale): New native method.
12135         (createPath): New method to centralize code from draw and fill.
12136         (draw): Modified to use createPath method.
12137         (fill): Modified to use createPath method.
12138         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12139         function declarations.
12140         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12141         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12142         method.
12143         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12144         method.
12145         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12146         method.
12147         
12148 2006-07-12  Tom Tromey  <tromey@redhat.com>
12149
12150         PR libgcj/27271:
12151         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12152         on PartialInputStream.
12153         (PartialInputStream.dummyByteCount): New field.
12154         (PartialInputStream.fillBuffer): Handle dummy byte.
12155         (PartialInputStream.read): Likewise.
12156         (PartialInputStream.addDummyByte): New method.
12157
12158 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12159
12160         * native/jni/gconf-peer/GConfNativePeer.c
12161         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12162         Fixed C++ style comment.
12163
12164 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12165
12166         * java/util/Arrays.java
12167         (asList): Updated API docs.
12168
12169 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12170
12171         Fixes PR28350.
12172         * native/jni/gconf-peer/GConfNativePeer.c:
12173         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12174         Changed if-expression.
12175         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12176         Added check for _value not being NULL.
12177         
12178 2006-07-11  Roman Kennke  <kennke@aicas.com>
12179
12180         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12181         (read): Use fd when local sockets are disabled to make the
12182         compiler quite.
12183         (write): Likewise.
12184
12185 2006-07-11  Roman Kennke  <kennke@aicas.com>
12186
12187         * java/awt/image/MultiPixelPackedSampleModel.java
12188         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12189         division gets rounded up.
12190
12191 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12192
12193         * java/lang/management/ManageFactory.java:
12194         (getMemoryManagerMXBeans()): Use addAll, not add.
12195         
12196 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12197
12198         PR 27649:
12199         * gnu/classpath/ByteArray.java: Removed (moved).
12200         * gnu/java/security/util/ByteArray.java: New File.
12201         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12202         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12203
12204 2006-07-11  Roman Kennke  <kennke@aicas.com>
12205
12206         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12207         (available): Pass fd as argument and avoid JNI class/field
12208         lookup.
12209         (read): Likewise.
12210         (write): Likewise.
12211         * include/gnu_java_net_local_LocalSocketImpl.h:
12212         Regenerated.
12213         * gnu/java/net/local/LocalSocketImpl.h
12214         (available): Pass fd as argument and avoid JNI class/field
12215         lookup.
12216         (read): Likewise.
12217         (write): Likewise.      
12218
12219 2006-07-11  Sven de Marothy  <sven@physto.se>
12220
12221         * gnu/javax/sound/sampled/AU/AUReader.java:
12222         Correct file extension from .as to .au.
12223
12224 2006-07-11  Sven de Marothy  <sven@physto.se>
12225
12226         * gnu/javax/sound/sampled/AU/AUReader.java:
12227         New file.
12228         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12229         Added new provider.
12230
12231 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12232
12233         * javax/swing/JTable.java
12234         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12235         (setColumnSelectionAllowed): Likewise.
12236
12237 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12238
12239         PR 27649:
12240         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12241         AccessController.doPrivileged instead of SystemProperties.getProperty.
12242         * gnu/classpath/debug/SystemLogger.java: Likewise.
12243         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12244         repeated getProperty calls for "file.seperator".
12245         (refresh): Since already in privileged block, call System.getProperty
12246         instead of SystemProperties.getProperty.
12247         * gnu/java/security/key/dss/DSSKey.java
12248         (toString): Use AccessController.doPrivileged instead of
12249         SystemProperties.getProperty.
12250         * gnu/java/security/key/dss/DSSPrivateKey.java
12251         (toString): Likewise.
12252         * gnu/java/security/key/dss/DSSPublicKey.java
12253         (toString): Likewise.
12254         * gnu/java/security/key/rsa/GnuRSAKey.java
12255         (toString): Likewise.
12256         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12257         (toString): Likewise.
12258         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12259         (toString): Likewise.
12260         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12261         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12262         (toString): Likewise.
12263         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12264         (toString): Likewise.
12265         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12266         (toString): Likewise.
12267
12268 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12269
12270         * javax/swing/AbstractButton.java
12271         (disabledIcon): Fixed name (was 'disabeldIcon'),
12272         (getDisabledIcon): Updated for corrected field name,
12273         (setDisabledIcon): Fire a PropertyChangeEvent.
12274
12275 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12276
12277         * javax/swing/DefaultBoundedRangeModel.java
12278         (readObject): New private method,
12279         (writeObject): Likewise.
12280
12281 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12282
12283         * javax/swing/ButtonGroup.java
12284         (add): Ignore null argument,
12285         (remove): Ignore null argument.  If removing selected button, clear the
12286         sel field,
12287         (findButton): Changed case for method name, and documented,
12288         (setSelected): Updated for modification to findButton() method name,
12289         (isSelected): Updated API docs.
12290
12291 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12292
12293         * java/awt/image/BufferedImage.java
12294         (BufferedImage(int, int, int)): Use correct color space for 
12295         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12296         IllegalArgumentException for an unrecognised type.
12297
12298 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12299
12300         * java/lang/management/ManagementFactory.java:
12301         (getMemoryPoolMXBeans): Genericized fully.
12302         (getMemoryManagerMXBeans): Likewise.
12303         (getGarbageCollectorMXBeans): Likewise.
12304         
12305 2006-07-10  Tom Tromey  <tromey@redhat.com>
12306
12307         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12308         Genericized.
12309         (getMemoryManagerMXBeans): Likewise.
12310         (getGarbageCollectorMXBeans): Likewise.
12311
12312 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12313
12314         * java/awt/BasicStroke.java: Removed unused import.
12315         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12316         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12317         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12318
12319 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12320
12321         PR classpath/28212:
12322         * javax/crypto/spec/SecretKeySpec.java 
12323         (equals): Check object type. 
12324
12325 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12326
12327         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12328         communication/StructureToPassHelper.java,
12329         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12330         communication/StructureToReturnHelper.java,
12331         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12332         communication/TreeNodeHelper.java,
12333         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12334         communication/WeThrowThisExceptionHelper.java,
12335         gnu/CORBA/ForwardRequestHelper.java,
12336         org/omg/CORBA/CompletionStatusHelper.java,
12337         org/omg/CORBA/CurrentHelper.java,
12338         org/omg/CORBA/DefinitionKindHelper.java,
12339         org/omg/CORBA/IDLTypeHelper.java,
12340         org/omg/CORBA/NameValuePairHelper.java,
12341         org/omg/CORBA/ObjectHelper.java,
12342         org/omg/CORBA/ParameterModeHelper.java,
12343         org/omg/CORBA/PolicyErrorCodeHelper.java,
12344         org/omg/CORBA/PolicyErrorHelper.java,
12345         org/omg/CORBA/PolicyHelper.java,
12346         org/omg/CORBA/PolicyListHelper.java,
12347         org/omg/CORBA/PolicyTypeHelper.java,
12348         org/omg/CORBA/ServiceDetailHelper.java,
12349         org/omg/CORBA/ServiceInformationHelper.java,
12350         org/omg/CORBA/SetOverrideTypeHelper.java,
12351         org/omg/CORBA/StringValueHelper.java,
12352         org/omg/CORBA/UnionMemberHelper.java,
12353         org/omg/CORBA/UnknownUserExceptionHelper.java,
12354         org/omg/CORBA/VisibilityHelper.java,
12355         org/omg/CORBA/WStringValueHelper.java,
12356         org/omg/CORBA/WrongTransactionHelper.java,
12357         org/omg/CosNaming/BindingHelper.java,
12358         org/omg/CosNaming/BindingIteratorHelper.java,
12359         org/omg/CosNaming/BindingListHelper.java,
12360         org/omg/CosNaming/BindingTypeHelper.java,
12361         org/omg/CosNaming/NameComponentHelper.java,
12362         org/omg/CosNaming/NameHelper.java,
12363         org/omg/CosNaming/NamingContextExtHelper.java,
12364         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12365         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12366         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12367         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12368         org/omg/CosNaming/NamingContextHelper.java,
12369         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12370         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12371         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12372         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12373         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12374         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12375         org/omg/DynamicAny/AnySeqHelper.java,
12376         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12377         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12378         org/omg/DynamicAny/DynAnyHelper.java,
12379         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12380         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12381         org/omg/DynamicAny/DynAnySeqHelper.java,
12382         org/omg/DynamicAny/DynArrayHelper.java,
12383         org/omg/DynamicAny/DynEnumHelper.java,
12384         org/omg/DynamicAny/DynFixedHelper.java,
12385         org/omg/DynamicAny/DynSequenceHelper.java,
12386         org/omg/DynamicAny/DynStructHelper.java,
12387         org/omg/DynamicAny/DynUnionHelper.java,
12388         org/omg/DynamicAny/DynValueHelper.java,
12389         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12390         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12391         org/omg/DynamicAny/NameValuePairHelper.java,
12392         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12393         org/omg/IOP/CodecFactoryHelper.java,
12394         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12395         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12396         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12397         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12398         org/omg/IOP/ComponentIdHelper.java,
12399         org/omg/IOP/IORHelper.java,
12400         org/omg/IOP/MultipleComponentProfileHelper.java,
12401         org/omg/IOP/ProfileIdHelper.java,
12402         org/omg/IOP/ServiceContextHelper.java,
12403         org/omg/IOP/ServiceContextListHelper.java,
12404         org/omg/IOP/ServiceIdHelper.java,
12405         org/omg/IOP/TaggedComponentHelper.java,
12406         org/omg/IOP/TaggedProfileHelper.java,
12407         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12408         org/omg/PortableInterceptor/AdapterNameHelper.java,
12409         org/omg/PortableInterceptor/AdapterStateHelper.java,
12410         org/omg/PortableInterceptor/CurrentHelper.java,
12411         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12412         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12413         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12414         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12415         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12416         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12417         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12418         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12419         org/omg/PortableServer/CurrentHelper.java,
12420         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12421         org/omg/PortableServer/ForwardRequestHelper.java,
12422         org/omg/PortableServer/POAHelper.java,
12423         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12424         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12425         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12426         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12427         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12428         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12429         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12430         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12431         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12432         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12433         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12434         org/omg/PortableServer/ServantActivatorHelper.java,
12435         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12436         typecode caching and always use OrbRestricted.Singleton.
12437
12438 2006-07-09  Tom Tromey  <tromey@redhat.com>
12439
12440         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12441
12442 2006-07-09  Mark Wielaard  <mark@klomp.org>
12443
12444         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12445         New static final boolean field.
12446         (getComponentGraphics): Use hasXRenderExtension.
12447         (setClip): Override method for locking.
12448
12449 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12450
12451         * javax/swing/AbstractButton.java
12452         (setHorizontalTextPosition): Added check for illegal argument,
12453         (setVerticalTextPosition): Likewise.
12454
12455 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12456
12457         * javax/swing/Timer.java
12458         (setDelay): Throw IllegalArgumentException for negative delay,
12459         (setInitialDelay): Likewise,
12460         * javax/swing/ToolTipManager.java
12461         (setInitialDelay): Document IllegalArgumentException,
12462         (setDismissDelay): Likewise,
12463         (setReshowDelay): Likewise.
12464
12465 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12466
12467         * java/lang/management/MemoryUsage.java:
12468         (from(javax.management.openmbean.CompositeData)):
12469         Implemented.
12470         * java/lang/management/ThreadInfo.java:
12471         Changed to use open types throughout for the state.
12472         (ThreadInfo(long,String,String,long,long,String,
12473         long,String,long,long,boolean,StackTraceElement[])):
12474         New constructor.
12475         (checkAttribute(javax.management.openmbean.CompositeType,
12476         String, javax.management.openmbean.OpenType)): New method.
12477         (from(javax.management.openmbean.CompositeData)):
12478         Implemented.
12479         (getLockName()): Fixed to use new variable.
12480         (getLockOwnerId()): Likewise.
12481         (getLockOwnerName()): Likewise.
12482         (getThreadId()): Likewise.
12483         (getThreadName()): Likewise.
12484         (getThreadState()): Likewise.
12485         (toString()): Refactored to use new variables.
12486         * javax/management/openmbean/ArrayType.java:
12487         New file.
12488         * javax/management/openmbean/CompositeType.java:
12489         Variables should be transient, not volatile.
12490         * javax/management/openmbean/OpenDataException.java:
12491         (serialVersionUID): Added.
12492         * javax/management/openmbean/SimpleType.java:
12493         New file.
12494         * javax/management/openmbean/TabularType.java
12495         Variables should be transient, not volatile.
12496
12497 2006-07-09  Tom Tromey  <tromey@redhat.com>
12498
12499         * tools/.cvsignore: Updated for new tools.
12500
12501 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12502
12503         * javax/management/openmbean/CompositeData.java,
12504         * javax/management/openmbean/CompositeType.java,
12505         * javax/management/openmbean/OpenDataException.java,
12506         * javax/management/openmbean/OpenType.java,
12507         * javax/management/openmbean/TabularData.java,
12508         * javax/management/openmbean/TabularType.java,
12509         * javax/management/openmbean/package.html:
12510         New files.
12511
12512 2006-07-09  Mark Wielaard  <mark@klomp.org>
12513
12514         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12515         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12516         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12517
12518 2006-07-08  Anthony Green  <green@redhat.com>
12519
12520         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12521         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12522         New files.
12523
12524 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12525
12526         * native/jni/gconf-peer/GConfNativePeer.c:
12527         Fixed indentation to be more compliant to the GNU coding
12528         guidelines.
12529         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12530         Added explicit test for errors in the GConf backend.
12531         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12532         Added explicit test for errors in the GConf backend.
12533         Fixed Segmentation Fault when non valid key names are given as input.
12534         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12535         likewise.
12536         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12537         Added explicit test for errors in the GConf backend.
12538         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12539         Added javadoc comments for all native methods.
12540         (nodeExist): removed test to check for valid absolute path name
12541         for nodes.
12542         (startWatchingNode): likewise.
12543         (stopWatchingNode): likewise.
12544         (setString): likewise, plus fixed javadoc comments.
12545         (unset): likekwise.
12546         (getKey): likewise.
12547         (getKeys): likewise, also fixed javadoc comments.
12548         (getChildrenNodes): likewise.
12549         * gnu/java/util/prefs/GConfBasedPreferences.java:
12550         changed DEFAULT_USER_ROOT to /apps/classpath.
12551         (constructor): Test to check for a valid absolute path for nodes
12552         is now in the contructor for that node, instead of being on
12553         each method of the backend.
12554         (getGConfKey): removed empty new line.
12555
12556 2006-07-08  Mark Wielaard  <mark@klomp.org>
12557
12558         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12559
12560 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12561
12562         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12563         Handle the forced break in the same way as exceeding the
12564         available row space.
12565         * javax/swing/text/html/HRuleView.java: Rewritten.
12566         * javax/swing/text/html/HTMLDocument.java 
12567         (HTMLReader.addSpecialElement):Reserve two characters for
12568         the special elements.
12569         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12570         (text): Extended the HTML example to parse.
12571
12572 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12573
12574         * javax/swing/AbstractButton.java
12575         (setHorizontalAlignment): Check for illegal argument,
12576         (setVerticalAlignment): Likewise.
12577
12578 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12579
12580         * javax/swing/text/html/TableView.java
12581         (getStyleSheet): New method. (RowView.getStyleSheet):
12582         New method.
12583
12584 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12585
12586         * javax/swing/AbstractButton.java
12587         (setRolloverIcon): Call setRolloverEnabled(true),
12588         (setRolloverSelectedIcon): Likewise.
12589
12590 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12591
12592         * javax/swing/border/TitledBorder.java
12593         (setTitlePosition): Added message to exception,
12594         (setTitleJustification): Likewise.
12595
12596 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12597
12598         * javax/swing/plaf/metal/MetalLookAndFeel.java
12599         (createDefaultTheme): Corrected API docs,
12600         (initComponentDefaults): Added entry for 'TitledBorder.border',
12601         (getCurrentTheme): Initialise theme if it is null.
12602
12603 2006-07-07  Roman Kennke  <kennke@aicas.com>
12604
12605         * java/awt/Component.java
12606         (isValid): Return false when component has no peer,
12607         don't query the showing state.
12608
12609 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12610
12611         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12612         Advance the offset also in the case of the enforced break.
12613
12614 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12615
12616         * javax/swing/plaf/basic/BasicArrowButton.java
12617         (MAXIMUM_SIZE): Removed field,
12618         (MINIMUM_SIZE): Likewise,
12619         (PREFERRED_SIZE): Likewise,
12620         (getMaximumSize): Return new instance every time,
12621         (getMinimumSize): Likewise,
12622         (getPreferredSize): Likewise.
12623
12624 2006-07-07  Roman Kennke  <kennke@aicas.com>
12625
12626         * java/awt/LightweightDispatcher.java
12627         (findTarget):  Avoid array copying in
12628         Container.getComponents().
12629
12630 2006-07-07  Roman Kennke  <kennke@aicas.com>
12631
12632         * javax/swing/JComponent.java
12633         (paintChildrenWithOverlap): Avoid array copying in
12634         Container.getComponents().
12635         (paintChildrenOptimized): Avoid array copying in
12636         Container.getComponents().
12637         (fireAncestorEvent):  Avoid array copying in
12638         Container.getComponents().
12639         (findOverlapFreeParent): Avoid array copying in
12640         Container.getComponents().
12641
12642 2006-07-07  Matt Wringe <mwringe@redhat.com>
12643
12644         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12645         (passwordValid): New field.
12646         (setPassword): New method.
12647         (setSalt): Likewise.
12648         (setIterationCount): Likewise.
12649         (setKeyLength): Likewise.
12650         (PBEKeySpec(char[])): Use new setter methods.
12651         (PBEKeySpec(char[], byte[], int)): Likewise.
12652         (PBEKeySpec(char[], byte[], int, int)): Likewise.
12653         (clearPassword): Set passwordValid to false.
12654         (getPassword): Check that clearPassword() was not called earlier.
12655         Return a clone of the password.
12656         (getSalt): Return a clone of the salt if it was not null.
12657
12658 2006-07-07  Roman Kennke  <kennke@aicas.com>
12659
12660         * java/awt/Component.java
12661         (isValid): Always return false when component is
12662         not showing.
12663         (setFont): Always set font, even when setting
12664         the same or equal font again.
12665
12666 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12667
12668         * javax/swing/plaf/metal/MetalIconFactory.java
12669         (CheckBoxMenuItemIcon): Implement UIResource,
12670         (FileChooserDetailViewIcon): Likewise,
12671         (FileChooserHomeFolderIcon): Likewise,
12672         (FileChooserListViewIcon): Likewise,
12673         (FileChooserNewFolderIcon): Likewise,
12674         (FileChooserUpFolderIcon): Removed redundant 'implements',
12675         (RadioButtonMenuItemIcon): Implement UIResource,
12676         (HorizontalSliderThumbIcon): Likewise,
12677         (InternalFrameCloseIcon): Likewise,
12678         (InternalFrameDefaultMenuIcon): Likewise,
12679         (InternalFrameAltMaximizeIcon): Likewise,
12680         (InternalFrameMaximizeIcon): Likewise,
12681         (InternalFrameMinimizeIcon): Likewise,
12682         (VerticalSliderThumbIcon): Likewise,
12683         (TreeHardDriveIcon): Likewise,
12684         (TreeFloppyDriveIcon): Likewise,
12685         (TreeComputerIcon): Likewise,
12686         (horizontalSliderThumbIcon): New field,
12687         (verticalSliderThumbIcon): New field,
12688         (getHorizontalSliderThumbIcon): Cache icon,
12689         (getVerticalSliderThumbIcon): Likewise.
12690
12691 2006-07-06  Mark Wielaard  <mark@klomp.org>
12692
12693         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12694         (DISTCLEANFILES): Add standard.omit.
12695         (clean-local): Remove Makefile.deps, only remove dirs.
12696
12697 2006-07-06  Roman Kennke  <kennke@aicas.com>
12698
12699         * java/awt/Component.java
12700         (setFont): Only invalidate when component is valid.
12701         * java/awt/Container.java
12702         (setLayout): Only invalidate when component is valid.
12703
12704 2006-07-06  Lillian Angel  <langel@redhat.com>
12705
12706         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12707         New class not fully implemented.
12708         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12709         New class not fully implemented.
12710         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12711         New class not fully implemented.
12712         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12713         New class not fully implemented.
12714         * nu/java/awt/peer/gtk/GtkToolkit.java:
12715         Fixed Imports.
12716         (createDragSourceContextPeer): Implemented.
12717         (createDragGestureRecognizer): New function to override
12718         java.awt.Toolkit.createDragGestureRecognizer.
12719         * java/awt/dnd/DragSource.java
12720         (NoDragGestureRecognizer): Removed inner class.
12721         (createDragGestureRecognizer): Re-Implemented to 
12722         call Toolkit's createDragGestureRecognizer.
12723         (createDefaultDragGestureRecognizer): Re-Implemented to
12724         call Toolkit's createDragGestureRecognizer.
12725         * java/awt/dnd/DropTarget.java
12726         (addNotify): Added check to determine type of peer and call
12727         addDropTarget.
12728         (removeNotify): Added call to removeDropTarget.
12729
12730 2006-07-06  Tom Tromey  <tromey@redhat.com>
12731
12732         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12733         'queue'.
12734         (run): Wait on queue, not 'this'.
12735
12736 2006-07-06  Lillian Angel  <langel@redhat.com>
12737
12738         * java/awt/dnd/DragSource.java
12739         (startDrag): Implemented. Added comments describing
12740         what the function should do. Removed FIXME.
12741
12742 2006-07-06  Tania Bento  <tbento@redhat.com>
12743         
12744         * gnu/java/awt/Canvas.java
12745         Added new private variable 'next_canvas_number'.
12746         (generateName): Added.
12747         (getUniqueLong): Added.
12748
12749 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12750
12751         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12752         (getColor): Made public.
12753         * javax/swing/text/html/StyleSheet.java (stringToColor):
12754         Use CharacterAttributeTranslator.getColor(String)
12755
12756 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12757
12758         * javax/swing/text/html/HTMLEditorKit.java:
12759         (HTMLFactory.createElement): Update reference to the html table view.
12760         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12761         * javax/swing/text/html/TableView.java: New file.
12762
12763 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12764
12765         * javax/swing/text/html/HTMLEditorKit.java: 
12766         (HTMLFactory.createElement): Uncomment
12767         code for BRView and HRuleView.
12768         * javax/swing/text/html/BRView.java,
12769         javax/swing/text/html/HRuleView.java: New files.
12770
12771 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12772
12773         * java/lang/Thread.java:
12774         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12775         Added generic type signature.
12776
12777 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12778
12779         * NEWS: Updated.
12780         * doc/vmintegration.texinfo: Likewise.
12781         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12782         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12783         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12784         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12785         * java/lang/management/GarbageCollectorMXBean.java:
12786         New files.
12787         * java/lang/management/ManagementFactory.java:
12788         (getGarbageCollectorMXBeans()): Implemented.
12789         (getMemoryManagerMXBeans()): Likewise.
12790         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12791         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12792         New files.
12793         * vm/reference/java/lang/management/VMManagementFactory.java:
12794         (getMemoryManagerNames()): Added.
12795         (getGarbageCollectorNames()): Added.
12796         
12797 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12798
12799         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12800         from lib_LTLIBRARIES.
12801         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12802
12803 2006-07-05  Lillian Angel  <langel@redhat.com>
12804
12805         * java/awt/dnd/DragGestureEvent.java:
12806         Added new fields.
12807         (DragGestureEvent): Initialized new fields, added to check and 
12808         added documentation.
12809         (getSourceAsDragGestureRecognizer): Added documentation and 
12810         changed to use getSource.
12811         (getComponent): Added documentation and fixed to return the proper
12812         value.
12813         (getDragSource): Likewise.
12814         (getDragOrigin): Added documentation.
12815         (iterator): Implemented and added documentation.
12816         (toArray): Likewise.
12817         (toArray): Likewise.
12818         (getDragAction): Likewise.
12819         (getTriggerEvent): Likewise.
12820         (startDrag): Likewise.
12821         * java/awt/dnd/DragGestureRecognizer.java
12822         (resetRecognizer): Added FIXME.
12823         * java/awt/dnd/DragSource.java:
12824         Added new field.
12825         (DragSource): Set ds to be null if headless.
12826         (getDefaultDragSource): Added documentation and implemented.
12827         (isDragImageSupported): Marked as unimplemented.
12828         (startDrag): Likewise.
12829         (createDragSourceContext): Implemented.
12830         (NoDragGestureRecognizer): Formatted inner class.
12831         * java/awt/dnd/DropTarget.java
12832         (stop): Marked as unimplemented.
12833         (actionPerformed): Likewise.
12834         (addDropTargetListener): Added code to throw exception.
12835         (removeDropTargetListener): Added check, removed FIXME.
12836         (dragEnter): Implemented.
12837         (dragOver): Implemented.
12838         (dropActionChanged): Implemented.
12839         (dragExit): Implemented.
12840         (drop): Implemented.
12841         (addNotify): Implemented.
12842         (removeNotify): Implemented.
12843         (createDropTargetContext): Implemented.
12844         (createDropTargetAutoScroller): Implemented.
12845         (initializeAutoscrolling): Implemented.
12846         (updateAutoscroll): Implemented.
12847         (clearAutoscroll): Implemented.
12848         * java/awt/dnd/DropTargetContext.java
12849         (dropComplete): Implemented.
12850         (acceptDrag): Implemented.
12851         (rejectDrag): Implemented.
12852         (acceptDrop): Implemented.
12853         (rejectDrop): Implemented.
12854         (getCurrentDataFlavors): Implemented.
12855         (getTransferable): Partially implemented.
12856         * java/awt/dnd/DropTargetDragEvent.java
12857         (getDropAction): Uncommented correct code.
12858         * java/awt/dnd/DropTargetDropEvent.java
12859         (dropComplete) :Implemented.
12860         * java/awt/dnd/InvalidDnDOperationException.java
12861         (InvalidDnDOperationException): Added call to super.
12862
12863 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
12864
12865         * javax/swing/plaf/basic/BasicArrowButton.java:
12866         (paint): Removed getBounds() call, changed center point
12867         calculation.
12868
12869 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12870
12871         * javax/swing/InputMap.java
12872         (inputMap): Don't initialize yet,
12873         (InputMap): Removed TODO,
12874         (get): Check for null inputMap,
12875         (put): Return immediately for null keyStroke, check for null inputMap
12876         and initialize if necessary,
12877         (remove): Check for null inputMap,
12878         (size): Likewise,
12879         (clear): Likewise,
12880         (keys): Likewise,
12881         (allKeys): Likewise,
12882         (writeObject): Removed,
12883         (readObject): Removed.
12884
12885 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12886
12887         * gnu/classpath/examples/swing/TabbedPaneDemo.java
12888         (createContent): Use different labels for buttons.
12889
12890 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12891
12892         * NEWS: Updated.
12893         * doc/vmintegration.texinfo: Likewise.
12894         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12895         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12896         New files.
12897         * java/lang/management/ManagementFactory.java:
12898         (getMemoryPoolMXBeans()): Implemented.
12899         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12900         * vm/reference/java/lang/management/VMManagementFactory.java:
12901         New files.
12902         
12903 2006-07-04  Lillian Angel  <langel@redhat.com>
12904
12905         * java/awt/dnd/DragSourceContext.java:
12906         Removed FIXMEs from fields.
12907         (DragSourceContext): Added code to initialize cursor and sourceActions.
12908         (getDragSource): Added documentation.
12909         (getComponent): Likewise.
12910         (getTrigger): Likewise.
12911         (getSourceActions): Added documentation and implemented.
12912         (setCursor): Implemented. Added documentation.
12913         (getCursor): Implemented. Added documentation.
12914         (dragEnter): Added code to notify DragSource's listeners.
12915         (dragOver): Likewise.
12916         (dragExit): Likewise.
12917         (dropActionChanged): Likewise.
12918         (dragDropEnd): Likewise.
12919         (dragMouseMoved): Implemented.
12920         (getTransferable): Added API documentation.
12921         (updateCurrentCursor): Added API documentation and partially implemented.
12922
12923 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12924
12925         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12926
12927 2006-07-04  Lillian Angel  <langel@redhat.com>
12928
12929         * java/awt/dnd/DragSourceContext.java
12930         (DragSourceContext): Implemented fully. Fixed API docs.
12931         (transferablesFlavorsChanged): Implemented.
12932         (dragEnter): Implemented.
12933         (dragOver): Implemented.
12934         (dragExit): Implemented.
12935         (dropActionChanged): Implemented.
12936         (dragDropEnd): Implemented.
12937
12938 2006-07-04  Lillian Angel  <langel@redhat.com>
12939
12940         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12941         Fixed name of constant.
12942         (getIconWidth): Changed name of constant returned.
12943         (getIconHeight): Likewise.
12944         (paint): Likewise.
12945         (createSeparator): Marked as unimplemented.
12946         * javax/swing/plaf/basic/BasicTableUI.java
12947         (focusGained): Marked as unimplemented.
12948         (focusLost): Marked as unimplemented.
12949         (mouseEntered): Likewise.
12950         (mouseMoved): Likewise.
12951         (uninstallDefaults): Likewise.
12952         * javax/swing/plaf/basic/BasicToolBarUI.java
12953         (mouseClicked): Changed comment.
12954         (mouseEntered): Likewise.
12955         (mouseExited): Likewise.
12956         (mouseMoved): Likewise.
12957         (setOrientation): Implemented.
12958         (ToolBarFocusListener): Marked as unimplemented.
12959         (focusGained): Marked as unimplemented.
12960         (focusLost): Marked as unimplemented.
12961
12962 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12963
12964         PR 28061
12965         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12966         Mind the effect of the root visibility on the position of the control.
12967         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
12968         vertical line over first level nodes.
12969
12970 2006-07-04  Lillian Angel  <langel@redhat.com>
12971
12972         * javax/swing/plaf/basic/BasicMenuUI.java
12973         (installKeyboardActions): Implemented to call super. Nothing else
12974         needs to be done here.
12975         (setupPostTimer): Marked as unimplemented.
12976         (uninstallKeyboardActions): Implemented to call super. Nothing else
12977         needs to be done here.
12978         (mouseMoved): Removed TODO. Nothing to be done here.
12979         (ChangeHandler): Implemented.
12980         (menuDragMouseExited): Removed TODO. Nothing to be done here.
12981         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12982         (menuKeyReleased): Removed TODO. Nothing to be done here.
12983         (menuKeyTyped): Marked as unimplemented.
12984
12985 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12986
12987         PR 28061
12988         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12989         (getDefaults): Set hash color to black.
12990         * javax/swing/plaf/basic/BasicLookAndFeel.java
12991         (initComponentDefaults): Set hash color to grey blue.
12992         * javax/swing/plaf/basic/BasicTreeUI.java
12993         (instellDefaults): Set hash color.
12994         * javax/swing/plaf/metal/MetalIconFactory.java
12995         (TreeControlIcon.paint): Rewritten.
12996
12997 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12998
12999         PR 28061
13000         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13001         Always cancel the current editing session before doing anything else,
13002         return immediately if this fails.
13003         (TreeHomeAction): Ensure that the lead selection path is visible after
13004         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13005         Likewise. TreeTraverseAction: Likewise.
13006
13007 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13008
13009         PR 28061
13010         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13011         Returned back the code to handle the start of the click-pause-click
13012         editing initiation, explained about this code. 
13013         (TreeStartEditingAction): New inner class.
13014         (stopEditingInCompleteEditing): Explained about this field.
13015         (completeEditing(boolean, boolean, boolean): Only return early
13016         if there is no current editing session.
13017         (createDefaultActions): Install TreeStartEditingAction and
13018         TreeCancelEditingAction.
13019
13020 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13021
13022         * configure.ac: Added new option --enable-default-preferences-peer
13023         to pass user specified default preference backend.
13024         If the GConf peer is built, GConf become the default backend.
13025         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13026         new file. 
13027         * lib/Makefile.am: excludes files terminating in 'in' from
13028         the metafiles list.
13029         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13030         from copy into META-INF.
13031         * java/util/prefs/Preferences.java: added two new import
13032         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13033         (getFactory): Now try to check for
13034         a system defined default preference backend before to fall back on
13035         FileBasedPreference.
13036
13037 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13038
13039         PR 28061
13040         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13041         (EXPANDED): Initialise to Boolean.TRUE.
13042         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13043         First configure layout cache and then set the assigned value 
13044         as row mapper. Set the root visibility property.
13045         (toggleExpandState): Obtains expansion state from the layout cache.
13046
13047 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13048
13049         * java/lang/management/MemoryPoolMXBean.java:
13050         New file.
13051         
13052 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13053
13054         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13055
13056 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13057
13058         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13059         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13060         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13061         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13062         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13063         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13064         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13065         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13066         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13067         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13068         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13069         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13070         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13071         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13072         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13073         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13074         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13075         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13076         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13077         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13078         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13079         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13080         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13081         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13082         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13083         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13084         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13085         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13086         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13087         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13088         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13089         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13090         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13091         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13092         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13093         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13094         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13095         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13096         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13097         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13098         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13099         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13100         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13101         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13102         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13103         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13104         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13105
13106 2006-07-02  Anthony Green  <green@redhat.com>
13107
13108         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13109         sure that every track written ends with an End Of Track meta
13110         message.
13111
13112 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13113
13114         * java/lang/management/MemoryUsage.java:
13115         (toString()): Fix missing MB for maximum memory usage.
13116         
13117 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13118
13119         * NEWS:
13120         Updated to include VMCompilationMXBeanImpl.
13121         * doc/vmintegration.texinfo:
13122         Likewise, along with update to VMMemoryMXBeanImpl
13123         as below.
13124         * examples/gnu/classpath/examples/management/TestCompilation.java,
13125         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13126         * java/lang/management/CompilationMXBeanImpl.java:
13127         New files.
13128         * java/lang/management/ManagementFactory.java:
13129         (getCompilationMXBean()): Implemented.
13130         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13131         New file.
13132         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13133         (getHeapMemoryUsage()): Added default implementation.   
13134         
13135 2006-07-02  Anthony Green  <green@redhat.com>
13136
13137         * NEWS: Mention MIDI file reader/writer providers.
13138
13139 2006-07-02  Anthony Green  <green@redhat.com>
13140
13141         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13142         gnu/javax/sound/midi/file/MidiFileWriter.java,
13143         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13144
13145 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13146
13147         * NEWS:
13148         Updated to include VMMemoryMXBeanImpl.
13149         * doc/vmintegration.texinfo: Likewise.
13150         * examples/gnu/classpath/examples/management/TestMemory.java:
13151         New file.
13152         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13153         Remove redundant import.
13154         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13155         New file.
13156         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13157         Remove redundant import.
13158         * java/lang/management/ManagementFactory.java:
13159         (getMemoryMXBean()): Implemented.
13160         * java/lang/management/MemoryMXBean.java,
13161         * java/lang/management/MemoryUsage.java:
13162         New files.
13163         * java/lang/management/ThreadInfo.java:
13164         (toString()): Updated documentation.
13165         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13166         New file.
13167         
13168 2006-07-01  Anthony Green  <green@redhat.com>
13169
13170         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13171         gnu/javax/sound/midi/file/MidiFileReader.java,
13172         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13173         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13174
13175 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13176
13177         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13178         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13179         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13180         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13181         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13182         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13183         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13184
13185 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13186
13187         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13188         * gnu/javax/crypto/pad/IPad.java: Likewise.
13189         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13190         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13191         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13192         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13193         * gnu/javax/crypto/pad/TBC.java: Likewise.
13194         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13195         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13196
13197 2006-07-01  Anthony Green  <green@redhat.com>
13198
13199         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13200         status byte test.
13201         (setMessage): Fix it again, in a different setMessage method.
13202
13203 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13204
13205         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13206         * gnu/javax/crypto/mode/CBC.java: Likewise.
13207         * gnu/javax/crypto/mode/CFB.java: Likewise.
13208         * gnu/javax/crypto/mode/CTR.java: Likewise.
13209         * gnu/javax/crypto/mode/EAX.java: Likewise.
13210         * gnu/javax/crypto/mode/ECB.java: Likewise.
13211         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13212         * gnu/javax/crypto/mode/ICM.java: Likewise.
13213         * gnu/javax/crypto/mode/IMode.java: Likewise.
13214         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13215         * gnu/javax/crypto/mode/OFB.java: Likewise.
13216
13217 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13218
13219         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13220         * gnu/javax/crypto/mac/HMac.java: Likewise.
13221         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13222         * gnu/javax/crypto/mac/IMac.java: Likewise.
13223         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13224         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13225         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13226         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13227         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13228         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13229         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13230
13231 2006-07-01  Anthony Green  <green@redhat.com>
13232
13233         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13234
13235 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13236
13237         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13238         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13239         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13240         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13241         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13242         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13243         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13244         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13245         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13246         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13247         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13248         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13249         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13250         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13251         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13252         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13253         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13254         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13255         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13256         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13257         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13258         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13259         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13260         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13261
13262 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13263
13264         * javax/swing/AbstractCellEditor.java: Source code formatting,
13265         * javax/swing/AbstractSpinnerModel.java: Likewise,
13266         * javax/swing/Box.java: Likewise,
13267         * javax/swing/BoxLayout.java: Likewise,
13268         * javax/swing/DefaultListModel.java: Likewise,
13269         * javax/swing/GrayFilter.java: Likewise,
13270         * javax/swing/LookAndFeel.java: Likewise,
13271         * javax/swing/ProgressMonitor.java: Likewise,
13272         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13273         * javax/swing/ScrollPaneLayout.java: Likewise,
13274         * javax/swing/SpringLayout.java: Likewise,
13275         * javax/swing/event/EventListenerList.java: Likewise,
13276         * javax/swing/event/MenuEvent.java: Likewise,
13277         * javax/swing/event/TreeExpansionListener.java: Likewise.
13278
13279 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13280
13281         * NEWS:
13282         Mention threading bean and getState().
13283         * doc/vmintegration.texinfo:
13284         Update documentation for threading bean and new
13285         method of VMThread.
13286         
13287 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13288         
13289         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13290         * examples/gnu/classpath/examples/management/TestOS.java,
13291         * examples/gnu/classpath/examples/management/TestRuntime.java,
13292         * examples/gnu/classpath/examples/management/TestThread.java:
13293         New files.
13294         
13295 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13296
13297         * java/lang/ThreadGroup.java
13298         (getThreadFromId, getThreadFromIdImpl): New methods.
13299
13300 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13301
13302         * java/lang/Thread.java:
13303         Make thread IDs start from 1 in a more efficient way.
13304
13305 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13306
13307         * java/lang/Thread.java:
13308         Make thread IDs start from 1.
13309         
13310 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13311
13312         * gnu/java/lang/management/BeanImpl.java:
13313         New superclass for all bean implementations.
13314         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13315         Extend BeanImpl and call permission code there.
13316         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13317         Extend BeanImpl.
13318         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13319         Extend BeanImpl and call permission code there.
13320         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13321         New file.
13322         * java/lang/management/ManagementFactory.java:
13323         (getThreadMXBean()): Implemented.
13324         * java/lang/management/ThreadInfo.java:
13325         (ThreadInfo(Thread,int)): Replaced...
13326         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13327         boolean, boolean, StackTraceElement[])): with this.
13328         (getBlockedCount()): Refactored to use local variables.
13329         (getBlockedTime()): Likewise.
13330         (getLockName()): Likewise.
13331         (getLockOwnerId()): Likewise.
13332         (getLockOwnerName()): Likewise.
13333         (getStackTrace()): Likewise.
13334         (getWaitedCount()): Likewise.
13335         (getWaitedTime()): Likewise.
13336         (isInNative()): Likewise.
13337         (isSuspended()): Likewise.
13338         (toString()): Changed to use new local variables.
13339         * java/lang/management/ThreadMXBean.java:
13340         (getThreadInfo(long, int)): Corrected documentation.
13341         (getThreadInfo(long[], int)): Likewise.
13342         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13343         New file.
13344         * vm/reference/java/lang/management/VMThreadInfo.java:
13345         Removed.
13346
13347 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13348
13349         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13350         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13351         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13352         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13353         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13354         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13355         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13356         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13357         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13358         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13359         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13360         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13361         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13362         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13363         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13364         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13365         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13366         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13367         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13368         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13369         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13370         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13371         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13372         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13373         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13374         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13375         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13376         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13377         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13378         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13379         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13380         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13381
13382 2006-07-01  Roman Kennke  <kennke@aicas.com>
13383
13384         * gnu/java/awt/java2d/AbstractGraphics2D.java
13385         (transform): Make field protected.
13386         (getDestinationRaster): Provide default implementation for
13387         previously abstract method.
13388
13389 2006-06-30  Tania Bento  <tbento@redhat.com>
13390
13391         * java/awt/TextArea.java
13392         (TextArea(String, int, int, int)): No longer throws
13393         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13394         values are invalid.  
13395         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13396         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13397         gets set to the default value of 0 (SCROLLBARS_BOTH).
13398          (appendText): Added case when peer = null.
13399         (insertText): Added case when peer == null.
13400         (replaceText): Added case when peer == null.
13401         * java/awt/TextComponent.java
13402         (TextComponent(String)): If text == null, set it to "".
13403
13404 2006-06-30  Lillian Angel  <langel@redhat.com>
13405
13406         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13407         (create): Added synchronized block around groupMap.get calls.
13408         (setCheckboxGroup): Likewise.
13409
13410 2006-06-30  Lillian Angel  <langel@redhat.com>
13411
13412         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13413         (create): Changed to be non-synchronized.
13414         (setLabel): Likewise.
13415         (setCheckboxGroup): Likewise.
13416         (addToGroupMap): Likewise. Added synchronized block around
13417         code.
13418         (dispose): Changed to be non-synchronized.
13419
13420 2006-06-30  Lillian Angel  <langel@redhat.com>
13421
13422         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13423         Changed all return values of native functions to void.
13424         (create): Changed function to be synchronized. Removed
13425         call to put value in groupMap, this is now done from 
13426         the native code.
13427         (setState): Changed function to be synchronized.
13428         (setLabel): Changed function to be synchronized.
13429         (setCheckboxGroup): Changed function to be synchronized. Removed
13430         call to put value in groupMap, this is now done from
13431         the native code.
13432         (postItemEvent): Changed function to be synchronized.
13433         (addToGroupMap): New function. Called by native code to add
13434         new value to the group.
13435         (dispose): Changed function to be synchronized.
13436         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13437         all functions.
13438         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13439         (cp_gtk_checkbox_init_jni): Added code to link to 
13440         java function.
13441         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13442         Changed return value to void. Added call
13443         to java function to set pointer in groupMap.
13444         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13445         changed check to an assert. Also, removed call to set/del pointer.
13446         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13447         Likewise. Also, added check to determine if native_group should be 
13448         set to NULL.
13449         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13450
13451 2006-06-30  Sven de Marothy  <sven@physto.se>
13452
13453         * gnu/java/awt/ClasspathToolkit.java,
13454         * gnu/java/awt/peer/x/XToolkit.java,
13455         * gnu/java/awt/peer/qt/QtToolkit.java,
13456         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13457         Remove ClasspathTextLayoutPeer.
13458         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13459         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13460         Files removed.
13461         
13462 2006-06-30  Sven de Marothy  <sven@physto.se>
13463
13464         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13465         (drawGlyphVector): Don't draw empty vectors.
13466
13467 2006-06-30  Lillian Angel  <langel@redhat.com>
13468             Tom Fitzsimmons <fitzsim@redhat.com>
13469
13470         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13471         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13472         Added current_group, groupMap fields. Added definitions for
13473         new native functions.
13474         (create): Removed FIXME. Added code to create the check button or
13475         radio button when appropriate. Updated groupMap to contain
13476         pointer to the newly created group.
13477         (setCheckboxGroup): Added code to handle all cases. Removing
13478         a button from a group, adding a button to a group, or changing the
13479         group of a button.
13480         (dispose): Changed to call super.
13481         * include/Makefile.am: Removed reference to 
13482         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13483         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13484         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13485         for new functions.
13486         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13487         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13488         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13489         Removed file.
13490         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13491         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13492         Renamed to checkbox_get_widget.
13493         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13494         Changed to use checkbox_get_widget.
13495         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13496         Removed.
13497         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13498         Changed to use checkbox_get_widget.
13499         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13500         Likewise.
13501         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13502         New function. Creates checkbutton without a group.
13503         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13504         Creates a radio button in a group, using groupPointer. If groupPointer
13505         is 0, then a new group is created.
13506         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13507         check button to a group, using groupPointer. A radio button is created
13508         in its place. If groupPointer is 0, then a new group is created.
13509         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13510         radio button is removed from the group. A check button is created in 
13511         its place.
13512         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13513         radio button is moved to a new group.
13514
13515 2006-06-30  Mark Wielaard  <mark@klomp.org>
13516
13517         * configure.ac: Move standard.omit creation after dirs are created.
13518         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13519         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13520         (clean-local): Remove standard.omit.
13521         * lib/gen-classlist.sh.in: Use omit file in build dir.
13522         * lib/standard.omit.in: Make exclude regex more explicit.
13523
13524 2006-06-30  Roman Kennke  <kennke@aicas.com>
13525
13526         * lib/Makefile.am: Added Escher dir/jar to classpath when
13527         requested.
13528         * configure.ac: Moved handling of standard.omit to a place
13529         where it actually gets executed.
13530
13531 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13532
13533         * java/awt/TextComponent.java: Reformatted source code,
13534         * java/awt/TextField.java: Likewise.
13535
13536 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13537
13538         * java/lang/Thread.java:
13539         (getState()): Handle case of no VMThread
13540         correctly.
13541
13542 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13543
13544         * java/lang/Thread.java,
13545         * java/lang/VMThread.java:
13546         Reverted patch from 2006-06-28.
13547         
13548 2006-06-29  Roman Kennke  <kennke@aicas.com>
13549
13550         * gnu/java/awt/peer/x/GLGraphics.java,
13551         * gnu/java/awt/peer/x/ImageConverter.java,
13552         * gnu/java/awt/peer/x/KeyboardMapping.java,
13553         * gnu/java/awt/peer/x/XEventPump.java,
13554         * gnu/java/awt/peer/x/XFontPeer.java,
13555         * gnu/java/awt/peer/x/XFontPeer2.java,
13556         * gnu/java/awt/peer/x/XFramePeer.java,
13557         * gnu/java/awt/peer/x/XGraphics.java,
13558         * gnu/java/awt/peer/x/XGraphics2D.java,
13559         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13560         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13561         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13562         * gnu/java/awt/peer/x/XImage.java,
13563         * gnu/java/awt/peer/x/XLightweightPeer.java,
13564         * gnu/java/awt/peer/x/XToolkit.java,
13565         * gnu/java/awt/peer/x/XWindowPeer.java,
13566         * gnu/java/awt/peer/x/fonts.properties: New files.
13567         * lib/standard.omit: Removed.
13568         * lib/standard.omit.in: Added.
13569         * configure.ac: Added configure option --with-escher. Added some
13570         configury for omitting gnu.java.awt.peer.x package when
13571         this option is not specified.
13572
13573 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13574
13575         * javax/swing/JComponent.java
13576         (JComponent()): Initialize the locale here, not the default locale,
13577         (getDefaultLocale): If null, return Locale.getDefault(),
13578         (setDefaultLocale): Added API docs.
13579
13580 2006-06-29  Tania Bento  <tbento@redhat.com>
13581
13582         * java/awt/Container.java
13583         (applyComponentOrientation): Implemented method.
13584
13585 2006-06-29  Gary Benson  <gbenson@redhat.com>
13586
13587         * java/io/File.java (listRoots): Merge security checks from libgcj.
13588
13589 2006-06-29  Gary Benson  <gbenson@redhat.com>
13590
13591         * java/io/FilePermission.java (implies): Work when path is "/".
13592
13593 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13594
13595         * java/lang/Thread.java:
13596         (Thread(ThreadGroup,Runnable,String,long)): Update
13597         state.
13598         (Thread(VMThread,String,int,boolean)): Likewise.
13599         (join(long,int)): Likewise.
13600         (resume()): Likewise.
13601         (sleep(long,int)): Likewise.
13602         (start()): Likewise.
13603         (stop()): Likewise.
13604         (suspend()): Likewise.
13605         (die()): Likewise.
13606         (getState()): Return either state or use VMThread.
13607         * java/lang/VMThread.java:
13608         (getState()): Added default implementation to return
13609         thread.state
13610         
13611 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13612
13613         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13614         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13615         endian swapping code.
13616
13617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13618         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13619         without alpha information correctly on big endian systems.
13620
13621 2006-06-28  Roman Kennke  <kennke@aicas.com>
13622
13623         * gnu/java/net/local/LocalSocket.java
13624         (setSoTimeout): Don't throw exception and ignore request.
13625         (getSoTimeout): Don't throw exception and always return 0.
13626
13627 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13628
13629         * javax/swing/JComponent.java
13630         (getRegisteredKeyStrokes): Implemented.
13631
13632 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13633
13634         * javax/swing/JComponent.java
13635         (verifyInputWhenFocusTarget): Initialise to true.
13636
13637 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13638
13639         * java/beans/VetoableChangeSupport.java
13640         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13641         null listener,
13642         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13643         for null property name and/or listener,
13644         * javax/swing/JComponent.java
13645         (getListeners): Handle VetoableChangeListener.class as a special case,
13646         (getVetoableChangeListeners): Fetch these from the 
13647         vetoableChangeSupport object.
13648
13649 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13650
13651         * javax/swing/JComponent.java
13652         (componentPopupMenu): New field,
13653         (inheritsPopupMenu): New field,
13654         (getInheritsPopupMenu): Implemented,
13655         (setInheritsPopupMenu): Likewise,
13656         (getComponentPopupMenu): Likewise,
13657         (setComponentPopupMenu): Likewise,
13658         * javax/swing/JLabel.java
13659         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13660
13661 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
13662
13663         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13664         (toString): New method.
13665         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13666         (toString): New method.
13667         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13668         (toString): New method.
13669         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13670         Handle case when Q is null.
13671         (decodePrivateKey): Likewise.
13672         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13673         Likewise.
13674         (decodePublicKey): Likewise.
13675         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13676         aliases for all block ciphers.
13677         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13678         (engineDoPhase): Compute fully the shared secret.
13679         (checkState): New method.
13680         (reset): Likewise.
13681         (engineGenerateSecret()): Reset key-agreement before returning.
13682         (engineGenerateSecret(byte[],int)): Check for short-buffer.
13683         Reset key-agreement before returning.
13684         (engineGenerateSecret(String)): Reset key-agreement before returning.
13685         (engineInit(Key,SecureRandom)): Call reset() before returning.
13686         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13687         (engineInit): Replace printing to System.out with conditional logging.
13688         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13689         When the key-size is not specified, attempt best effort to find a suitable
13690         value among those advertised by the cipher before setting it to the length
13691         of provided key material.
13692
13693 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13694
13695         * javax/swing/table/DefaultTableColumnModel.java
13696         (changeEvent): Don't initialize yet, removed FIXME,
13697         (fireColumnModelChanged): Initialize changeEvent if necessary.
13698
13699 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13700
13701         * java/lang/Thread.java:
13702         (getAllStackTraces()): Implemented.
13703         (getStackTrace()): Likewise.
13704         
13705 2006-06-27  Tania Bento  <tbento@redhat.com>
13706
13707         * java/awt/Component.java
13708         (setComponentOrientation): NPE should not be thrown.
13709
13710 2006-06-27  Tom Tromey  <tromey@redhat.com>
13711
13712         * configure.ac: Create gjar, gnative2ascii, gserialver.
13713         * tools/gappletviewer.in: Quote $@.
13714         * tools/gkeytool.in: Likewise.
13715         * tools/gjarsigner.in: Likewise.
13716         * tools/gjar.in: New file.
13717         * tools/gnative2ascii.in: Likewise.
13718         * tools/gserialver.in: Likewise.
13719         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13720         gserialver.
13721         (bin_SCRIPTS): Likewise.
13722
13723 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13724
13725         * java/lang/management/ThreadMXBean.java:
13726         (getThreadInfo(long[])): Corrected return type.
13727         (getThreadInfo(long[], int)): Likewise.
13728
13729 2006-06-27  Mark Wielaard  <mark@klomp.org>
13730
13731         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13732         nothing when listener is null.
13733         (removeFlavorListener): Likewise.
13734
13735         * java/awt/datatransfer/DataFlavor.java
13736         (getRepresentationClassFromMime): Renamed to
13737         getRepresentationClassFromMimeThrows.
13738         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13739         (isRepresentationClassSerializable): Likewise.
13740         (isFlavorJavaFileListType): Likewise and check primary and
13741         subtype.
13742         (getParameter): Parameters are separated by semi-colons.
13743         (DataFlavor(Class,String,String)): Do some sanity checks.
13744         (DataFlavor(String,String,ClassLoader)): Call
13745         getRepresentationClassFromMimeThrows.
13746         (DataFlavor(String)): Likewise.
13747         (equals(DataFlavor)): Special case primary type text and charset
13748         parameter.
13749         
13750 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13751
13752         * java/awt/Component.java
13753         (setName): Fire required PropertyChangeEvent,
13754         * java/awt/Label.java
13755         (getText): Removed redundant brackets,
13756         (generateName): New method (override),
13757         (nextLabelNumber): New field,
13758         (getUniqueLong): New method.
13759
13760 2006-06-27  Roman Kennke  <kennke@aicas.com>
13761
13762         * gnu/java/awt/peer/swing/SwingComponentPeer.java
13763         (createImage): Delegate this to the parent.
13764         (handleEvent): Only handle PAINT/UPDATE events when the
13765         component is actually showing.
13766         (hide): Repaint the parent after hiding a component.
13767         (prepareImage): Have only one return point.
13768         (setVisible): Delegate to show() and hide().
13769         (createVolatileImage): Added null check to avoid NPE.
13770
13771 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13772
13773         * java/awt/Label.java: Reformatted source code.
13774
13775 2006-06-27  Roman Kennke  <kennke@aicas.com>
13776
13777         * java/awt/image/BufferedImage.java
13778         (getSource): Use a fixed DirectColorModel to deliver the
13779         RGB pixels to the ImageConsumer.
13780
13781 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13782
13783         * java/awt/Point.java
13784         (setLocation(double, double)): Round to nearest integer coordinates.
13785
13786 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13787
13788         * java/awt/Component.java
13789         (minSizeSet): New field,
13790         (maxSize): Likewise,
13791         (maxSizeSet): Likewise,
13792         (isMaximumSizeSet): Implemented,
13793         (isMinimumSizeSet): Likewise,
13794         (isPreferredSizeSet): Likewise,
13795         (setMaximumSize): Likewise,
13796         (setMinimumSize): Likewise,
13797         (setPreferredSize): Likewise. 
13798
13799 2006-06-27  Roman Kennke  <kennke@aicas.com>
13800
13801         * javax/imageio/spi/IIORegistry.java
13802         (IIORegistry): Added BMP codec.
13803
13804 2006-06-27  Mark Wielaard  <mark@klomp.org>
13805
13806         * javax/swing/JComponent.java
13807         (firePropertyChange(String,char,char)): New override method.
13808
13809 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13810
13811         * java/lang/Thread.java:
13812         (getState()): New method.
13813         * java/lang/management/ClassLoadingMXBean.java:
13814         Corrected class documentation.
13815         * java/lang/management/ManagementFactory.java:
13816         Added new temporary marked stub to get thread bean.
13817         * java/lang/management/OperatingSystemMXBean.java:
13818         Corrected class documentation.
13819         * java/lang/management/RuntimeMXBean.java:
13820         Corrected class documentation.
13821         * java/lang/management/ThreadInfo.java,
13822         * java/lang/management/ThreadMXBean.java:
13823         New classes.
13824         * vm/reference/java/lang/VMThread.java:
13825         (getState()): New method.
13826         * vm/reference/java/lang/management/VMThreadInfo.java:
13827         New VM class.
13828
13829 2006-06-26  Sven de Marothy  <sven@physto.se>
13830
13831         * gnu/javax/imageio/gif/GIFFile.java
13832         * gnu/javax/imageio/gif/GIFImageReader.java
13833         * gnu/javax/imageio/gif/GIFImageSpi.java
13834         * gnu/javax/imageio/gif/GIFStream.java
13835         New files.
13836         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13837
13838 2006-06-26  Tania Bento  <tbento@redhat.com>
13839
13840         * java/awt/List.java
13841         (List): A list should have at least 4 visible rows.     
13842         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13843         not an IllegalArgumentException.
13844         (makeVisible): Should not throw an IllegalArgumentException if
13845         the specified index is out of range.
13846
13847 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13848
13849         * javax/swing/JList.java
13850         (getNextMatch): Reimplemented to perform a circular search for the 
13851         matching item.
13852
13853 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13854
13855         * javax/swing/JList.java
13856         (init): Set default value for visibleRowCount to 8,
13857         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13858
13859 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13860
13861         * javax/swing/JList.java
13862         (valueIsAdjusting): Removed,
13863         (init): Removed initialization of valueIsAdjusting field,
13864         (getValueIsAdjusting): Fetch value from selection model,
13865         (setValueIsAdjusting): Store value in selection model.
13866
13867 2006-06-26  Roman Kennke  <kennke@aicas.com>
13868
13869         * javax/swing/plaf/basic/BasicListUI.java
13870         (installKeyboardActions): Rewritten to fit with the
13871         ActionMap/InputMap architecture.
13872         (uninstallKeyboardActions): Implemented.
13873         (ListAction): Made private. Added TODO for splitting
13874         up this bulk Action.
13875         (ListAction.ListAction): New constructor. This one
13876         takes a cmd parameter to be installed as actionCommand.
13877
13878 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13879
13880         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13881         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13882
13883 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13884
13885         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13886         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13887         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13888         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13889         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13890         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13891         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13892         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13893         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13894         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13895         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13896         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13897         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13898         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13899         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13900         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13901         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13902         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13903         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13904         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13905         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13906         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13907         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13908         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13909         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13910         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13911         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13912         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13913         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13914         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13915         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13916         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13917         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13918         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13919         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13920         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13921         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13922         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13923         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13924         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13925         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13926         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13927         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13928         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13929         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13930         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13931         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13932         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13933         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13934         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13935         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13936         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13937         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13938         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13939         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13940         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13941         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13942         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13943         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13944         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13945         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13946         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13947         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13948         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13949         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13950         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13951         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13952         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13953         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13954         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13955         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13956         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13957         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13958         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13959         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13960         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13961         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13962         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13963         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13964         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13965         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13966         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13967
13968 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13969
13970         * javax/swing/JList.java
13971         (setLayoutOrientation): Check for valid argument.
13972
13973 2006-06-26  Roman Kennke  <kennke@aicas.com>
13974
13975         * javax/swing/JComponent.java
13976         (firePropertyChange(String,int,int)): New method. Overrides
13977         Component method and makes it public.
13978         (firePropertyChange(String,boolean,boolean)): Likewise.
13979
13980 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
13981         
13982         * gnu/java/security/.cvsignore: New File.
13983         * gnu/java/security/Configuration.java.in: New File.
13984         * gnu/java/security/Properties.java: Change import from 
13985         gnu.classpath.Configuration to gnu.java.security.Configuration.
13986         * gnu/java/security/hash/Whirlpool.java: Likewise.
13987         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13988         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13989         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13990         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13991         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13992         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13993         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13994         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13995         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13996         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13997         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13998         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13999         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14000         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14001         * gnu/java/security/util/Base64.java: Likewise.
14002         * gnu/java/security/x509/X509CRL.java: Likewise.
14003         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14004         * gnu/java/security/x509/ext/Extension.java: Likewise.
14005         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14006         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14007         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14008         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14009         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14010         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14011         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14012         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14013         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14014         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14015         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14016         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14017         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14018         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14019         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14020         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14021         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14022         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14023         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14024         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14025         * gnu/javax/crypto/pad/TBC.java: Likewise.
14026         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14027         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14028         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14029         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14030         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14031         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14032         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14033         * gnu/javax/security/auth/login/GnuConfiguration.java 
14034         (getAppConfigurationEntry): Change reference to 
14035         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14036         (getConfigFromUserHome): Likewise.
14037         (getInputStreamFromURL): Likewise.
14038         (getUserHome): Likewise.
14039         (init): Likewise.
14040         (processSecurityProperties): Likewise.
14041         (processSystemProperty): Likewise.
14042         (processUserHome): Likewise.
14043         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14044         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14045         
14046
14047 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14048
14049         * javax/swing/text/DefaultCaret.java (isActive): New method.
14050
14051 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14052
14053         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14054         * java/lang/management/ClassLoadingMXBean.java:
14055         (getTotalLoadedClassCount()): Corrected return type.
14056         (getUnloadedClassCount()): Likewise.
14057         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14058         (getUnloadedClassCount()): Likewise.
14059         
14060 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14061
14062         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14063         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14064         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14065         * gnu/javax/crypto/cipher/Square.java: Likewise.
14066         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14067         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14068         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14069         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14070         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14071         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14072         * gnu/javax/crypto/cipher/DES.java: Likewise.
14073         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14074         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14075         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14076         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14077         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14078
14079 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14080
14081         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14082         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14083         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14084         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14085         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14086         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14087         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14088         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14089         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14090         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14091         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14092         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14093         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14094
14095 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14096
14097         * NEWS,
14098         * doc/vmintegration.texinfo:
14099         Updated with information on new VM interface.
14100         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14101         * java/lang/management/ClassLoadingMXBean.java:
14102         New files implementing the class loading bean.
14103         * java/lang/management/ManagementFactory.java:
14104         (getClassLoadingMXBean()): Implemented.
14105         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14106         New VM interface file.
14107
14108 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14109
14110         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14111         (isBootClassPathSupported()): Use SystemProperties
14112         rather than System.getProperty.
14113         
14114 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14115
14116         * gnu/java/security/Properties.java: Source formatting.
14117         * gnu/java/security/Registry.java: Likewise.
14118
14119 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14120
14121         * gnu/java/security/util/Util.java: Source formatting.
14122         * gnu/java/security/util/SimpleList.java: Likewise.
14123         * gnu/java/security/util/Sequence.java: Likewise.
14124         * gnu/java/security/util/PRNG.java: Likewise.
14125         * gnu/java/security/util/ExpirableObject.java: Likewise.
14126         * gnu/java/security/util/Base64.java: Likewise.
14127         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14128         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14129         * gnu/java/security/sig/ISignature.java: Likewise.
14130         * gnu/java/security/sig/BaseSignature.java: Likewise.
14131         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14132         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14133         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14134         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14135         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14136         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14137         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14138         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14139         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14140         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14141         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14142         * gnu/java/security/provider/Gnu.java: Likewise.
14143         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14144         * gnu/java/security/prng/RandomEvent.java: Likewise.
14145         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14146         * gnu/java/security/prng/MDGenerator.java: Likewise.
14147         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14148         * gnu/java/security/prng/IRandom.java: Likewise.
14149         * gnu/java/security/prng/EntropySource.java: Likewise.
14150         * gnu/java/security/prng/BasePRNG.java: Likewise.
14151
14152 2006-06-23  Francis Kung  <fkung@redhat.com>
14153
14154         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14155         (Harness.actionPerformed): Process additional options.
14156         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14157         (J2dBenchmarkWrapper.setAlias): New method.
14158         (J2dBenchmarkWrapper.setComposite): New method.
14159         (J2dBenchmarkWrapper.setFill): New method.
14160         (J2dBenchmarkWrapper.setRotation): New method.
14161         (J2dBenchmarkWrapper.setShear): New method.
14162         (J2dBenchmarkWrapper.setStroke): New method.
14163         (J2dBenchmarkWrapper.setTranslation): New method.
14164         (run): Add additional options to GUI.
14165         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14166         Added protected fields for various options.
14167         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14168         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14169         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14170         (getNextColor): Renamed to setRandom.
14171         (init): Load additional image for texturing if needed.
14172         (loadBufferedImage): New method.
14173         (main): Accept additional command-line switches.
14174         (prepareGraphics): New method.
14175         (resetGraphics): New method.
14176         (runTestSuite): Accept additional image-processing options.
14177         (setRandom): Renamed from getNextColor; generate various random options
14178         (test_drawArc): Rename getNextColor to setRandom.
14179         (test_drawCubic): Likewise.
14180         (test_drawEllipse): Likewise.
14181         (test_drawGeneralPath): Likewise.
14182         (test_drawImage): Likewise.
14183         (test_drawLine): Likewise.
14184         (test_drawQuadCurve): Likewise.
14185         (test_drawRectangle): Likewise.
14186         (test_drawRoundRectangle): Likewise.
14187         (test_drawTransparentImage): Likewise.
14188         (test_fillArc): Rename getNextColor to setRandom.
14189         (test_fillEllipse): Likewise.
14190         (test_fillGeneralPath): Likewise.
14191         (test_fillRectangle): Likewise.
14192         (test_fillRoundRectangle): Likewise.
14193         (TestRecorder.getAverage): Round the average time.
14194
14195 2006-06-23  Tom Tromey  <tromey@redhat.com>
14196
14197         * java/util/logging/LoggingMXBean.java: New file.
14198         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14199         (loggingBean): New field.
14200         (getLoggingMXBean): New method.
14201
14202 2006-06-23  Tania Bento  <tbento@redhat.com>
14203
14204         * java/awt/TextField.java
14205         (TextField): Default number of columns should be 0, not 1.
14206         (TextField): Check if number of columns given as argument
14207         is valid (>= 0) and set the number of columns accordingly.
14208         (TextField): Check if the string passed is null. If it is, 
14209         set columns to 0, else columns is set to the length of
14210         the string.
14211
14212 2006-06-23  Roman Kennke  <kennke@aicas.com>
14213
14214         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14215         (InternalFramePropertyChangeListener.propertyChange):
14216         Don't call getPropertyName() repeatedly. Added null checks
14217         to avoid NPEs. Call closeFrame() if the closed property
14218         changes.
14219
14220 2006-06-23  Roman Kennke  <kennke@aicas.com>
14221
14222         * javax/swing/JInternalFrame.java
14223         (maxTransition): Removed.
14224         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14225         Don't initialize storedBounds here.
14226         (dipose): Rewritten to correctly dispose the JInternalFrame.
14227         (getDesktopIcon): Don't initialize desktopIcon here.
14228         (getLayer): Delegate to JLayeredPane.getLayer().
14229         (getNormalBounds): Return bounds when storedBounds == null,
14230         otherwise storedBounds.
14231         (hide): Don't change selection. Also hide the desktopIcon.
14232         (moveToBack): Call getParent() only once.
14233         (moveToFront): Call getParent() only once.
14234         (pack): Call validate() to make sure that the layout is
14235         propagated to the children.
14236         (setClosed): Fire InternalFrameEvent first, before the
14237         PropertyVetoEvent.
14238         (setJMenuBar): Fire PropertyChangeEvent for this property.
14239         (setLayer): Delegate to JLayeredPane.
14240         (setLayeredPane): Check for null and throw IllegalArgumenException.
14241         (setMaximum): Remove handling of maxTransition and normalBounds.
14242         Should probably be done in the UI.
14243         (setNormalBounds): Store Rectangle object directly, not a copy.
14244         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14245         adding the RootPane doesn't add it to the contentPane.
14246         Fire PropertyChangeEvent.
14247         (setSelected): Added condition for when this property must not
14248         be changed.
14249         (show): Don't ask the DesktopPane to select the frame. Moved
14250         code around to fire InternalFrameEvent before actually calling
14251         super.show(). Also make the desktopIcon visible.
14252         (setTitle): Fire PropertyChangeEvent unconditionally.
14253
14254 2006-06-23  Roman Kennke  <kennke@aicas.com>
14255
14256         * javax/swing/JLayeredPane.java
14257         (getPosition): Moved code around to avoid unnecessary method calls.
14258         (setPosition): Delegate to setLayer().
14259         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14260         (insertIndexForLayer(Component,int,int)): New helper method
14261         to support the use of setComponentZOrder() which doesn't remove
14262         the component and thus the insertIndexForLayer must ignore
14263         the component to be moved to get the index right.
14264         (setLayer): Added check to prevent unnecessary execution of
14265         method body. Changed to update the component order here.
14266         Added repaint() to make sure that the update becomes visible.
14267         (addImpl): Call setLayer() only when a constraint has been specified.
14268         Validate and repaint the JLayeredPane.
14269
14270 2006-06-23  Roman Kennke  <kennke@aicas.com>
14271
14272         * java/awt/Container.java
14273         (getComponentZOrder): Use ncomponents instead of
14274         component.length so that we don't consider the empty space
14275         after the last component.
14276
14277 2006-06-22  Roman Kennke  <kennke@aicas.com>
14278
14279         * javax/swing/JComponent.java
14280         (vetoableChangeSupport): New field.
14281         (removeVetoableChangeListener): Rewritten to use
14282         vetoableChangeSupport.
14283         (addVetoableChangeListener): Rewritten to use
14284         vetoableChangeSupport.
14285         (fireVetoableChange): Rewritten to use
14286         vetoableChangeSupport.
14287         (addPropertyChangeListener): Removed. This is handled in
14288         Component already.
14289         (firePropertyChange(String,boolean,boolean)): Likewise.
14290         (firePropertyChange(String,char,char)): Likewise.
14291         (firePropertyChange(String,int,int)): Likewise.
14292         (revalidate): Don't do anything when the commponent has no
14293         parent.
14294
14295 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14296
14297         * javax/swing/JLabel.java: Updated API docs.
14298
14299 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14300
14301         * java/awt/Insets.java: Updated copyright year.
14302         (toString): Changed string, removed a line from the 
14303         documentation.
14304
14305 2006-06-22  Roman Kennke  <kennke@aicas.com>
14306
14307         * javax/swing/text/AbstractDocument.java
14308         (AbstractDocument): Set the i18n document property.
14309         (removeImpl): Added checks for correct boundaries.
14310
14311 2006-06-22  Roman Kennke  <kennke@aicas.com>
14312
14313         * javax/swing/text/PlainDocument.java
14314         (rootElement): Changed type to Element.
14315         (tabSize): Removed field. This is stored in the document properties
14316         instead.
14317         (PlainDocument): Set tabSize property. Init rootElement without
14318         cast.
14319         (insertUpdate): Rewritten. The previous implementation did not
14320         handle some corner cases properly and was a mess.
14321         (removeUpdate): Cast rootElement to BranchElement.
14322
14323 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14324
14325         * javax/swing/plaf/basic/BasicLabelUI.java
14326         (installKeyboardActions): Implemented,
14327         (uninstallKeyboardActions): Implemented,
14328         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14329         properties.
14330
14331 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14332
14333         * javax/swing/JMenu.java:
14334         (removeAll): Added check for popupMenu not being null.
14335
14336 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14337
14338         * javax/swing/JLabel.java
14339         (getText): Updated API docs,
14340         (setText): Corrected the check for an unchanged value, and the update 
14341         of the displayedMnemonicIndex.
14342
14343 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14344
14345         * javax/swing/JLabel.java
14346         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14347         field,
14348         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14349         where label text is null.
14350
14351 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14352
14353         * javax/swing/JLabel.java
14354         (setDisplayedMnemonic): Updated API docs,
14355         (getDisplayedMnemonic): Removed unnecessary type-cast,
14356         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14357         (getDisplayedMnemonicIndex): Updated API docs.
14358
14359 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14360
14361         * java/util/Collections (entrySet): Fixed compile error.
14362
14363 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14364
14365         * javax/swing/DefaultListSelectionModel.java
14366         (getSelectionMode): Updated API docs,
14367         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14368         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14369         setSelectionInterval(),
14370         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14371         SINGLE_INTERVAL_SELECTION cases.
14372
14373 2006-06-21  Roman Kennke  <kennke@aicas.com>
14374
14375         * javax/swing/text/AbstractDocument.java
14376         (BranchElement.numChildren): New field.
14377         (BranchElement.BranchElement): Initialize children array with
14378         one element (that's the least number of elements that makes sense).
14379         Initialize numChildren.
14380         (BranchElement.children): Use numChildren as boundary.
14381         (BranchElement.getElement): Use numChildren as boundary.
14382         (BranchElement.getElementCount): Use numChildren as boundary.
14383         (BranchElement.getElementIndex): Use numChildren as boundary.
14384         (BranchElement.getEndOffset): Use numChildren as boundary.
14385         (BranchElement.getStartOffset): Use numChildren as boundary.
14386         (BranchElement.positionToElement): Use numChildren as boundary.
14387         (BranchElement.replace): Handle the children array more efficiently
14388         by growing in blocks > 1, and reusing space from removed elements.
14389         (LeafElement.startDelta): Removed.
14390         (LeafElement.endDelta): Removed.
14391         (LeafElement.LeafElement): Removed handling of deltas.
14392         (LeafElement.getEndOffset): Likewise.
14393         (LeafElement.getStartOffset): Likewise.
14394         * javax/swing/text/JTextComponent.java
14395         (setDocument): Added locking of the old document to avoid dangling
14396         notification beeing delivered while the document is beeing
14397         disconnected.
14398         (getScrollableTracksViewportWidth): Fixed condition.
14399         * javax/swing/text/PlainDocument.java
14400         (createDefaultRoot): Create elements without AttributeSet.
14401         * javax/swing/text/rtf/RTFParser.java
14402         (parseFile): Handle slightly incorrect RTF gracefully.
14403         * javax/swing/text/rtf/RTFScanner.java
14404         (lastToken): New field.
14405         (readTokenImpl): New method.
14406         (peekToken): New method.
14407         (readToken): Changed to call readTokenImpl or return the lastToken
14408         if there's one present.
14409
14410 2006-06-21  Tania Bento  <tbento@redhat.com>
14411
14412         * javax/swing/JMenu.java
14413         (remove): An IllegalArgumentException should be thrown if
14414         either index < 0 or if index > 0 and there are no menu
14415         components. Also, a check was added that ensures there are
14416         menu components before removing the desired the component.
14417
14418 2006-06-21  Lillian Angel  <langel@redhat.com>
14419
14420         * javax/swing/text/DefaultCaret.java
14421         (install): Added check to prevent NPE.
14422         (propertyChange): Added checks to prevent NPEs.
14423
14424 2006-06-21  Tania Bento  <tbento@redhat.com>
14425
14426         * javax/swing/JMenu.java
14427         Changed instantiation of popupMenu to null.
14428         (JMenu): Instantiated popupMenu to new JPopupMenu.
14429         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14430         (add): Changed popupMenu to getPopupMenu().
14431         (add): Changed popupMenu to getPopupMenu().
14432         (add): Changed popupMenu to getPopupMenu().
14433         (add): Changed popupMenu to getPopupMenu().
14434         (remove): Changed popupMenu to getPopupMenu().
14435         (remove): Changed popupMenu to getPopupMenu().
14436         (insert): Changed popupMenu to getPopupMenu().
14437         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14438         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14439         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14440         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14441         (getMenuComponents): Changed popupMenu to getPopupMenu().
14442         (getPopupMenu): Check first if popupMenu is null and if so,
14443         instantiate it to a new JPopupMenu and set the invoker.
14444         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14445         (popupMenuWillBecomeVisible): Component Listener should only
14446         be added to the root container if the root container is not 
14447         null. This avoids a null pointer exception.
14448
14449 2006-06-21  Tania Bento  <tbento@redhat.com>
14450
14451         * javax/swing/JMenu.java
14452         (JMenu): Delay should be set to 200, not default of 0.
14453         (JMenu): Delay should be set to 200, not default of 0.
14454         (JMenu): Delay should be set to 200, not default of 0.
14455         (JMenu): Delay should be set to 200, not default of 0.  
14456         (remove): Added check that index >= 0 before removing
14457         the component.
14458         (getItem): Return null if item count equals 0.
14459         (isTearOff): Should throw new error and not return false.
14460         (getMenuComponent): Return null if popupMenu is null or
14461         if there are no menu components.
14462
14463 2006-06-21  Roman Kennke  <kennke@aicas.com>
14464
14465         * java/awt/font/FontRenderContext.java:
14466         (equals): Added special conditions for affineTransform beeing
14467         null.
14468
14469 2006-06-21  Roman Kennke  <kennke@aicas.com>
14470
14471         * javax/swing/UIManager.java
14472         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14473         must not be cleared.
14474
14475 2006-06-21  Roman Kennke  <kennke@aicas.com>
14476
14477         * javax/swing/plaf/metal/MetalUtils.java
14478         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14479         Graphics2D is available. Use fillRect instead of drawLine, this
14480         is much faster.
14481         (paintVerticalGradient): Use paintHorizontalGradient2D when
14482         Graphics2D is available. Use fillRect instead of drawLine, this
14483         is much faster.
14484         (paintHorizontalGradient2D): New method. Paints gradient
14485         using Graphics2D functions.
14486         (paintVerticalGradient2D): New method. Paints gradient
14487         using Graphics2D functions.
14488
14489 2006-06-21  Roman Kennke  <kennke@aicas.com>
14490
14491         * javax/swing/plaf/basic/BasicButtonListener.java
14492         (propertyChange): Create a TextLayout and store it in the button
14493         when the 'text' property changes.
14494         * javax/swing/plaf/basic/BasicButtonUI.java
14495         (paintText): Call BasicGraphicsUtils utility method for
14496         drawing strings, instead of Graphics.drawString().
14497         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14498         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14499         cached text layouts as client properties in JComponents.
14500         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14501         (drawStringUnderlineCharAt): New helper method.
14502         * javax/swing/plaf/basic/BasicMenuItemUI.java
14503         (PropertyChangeHandler.propertyChange): Update cached text layout
14504         when 'text' property changes. Use equals() instead of == for
14505         string comparison.
14506         (paintText): Use new BasicGraphicsUtils methods for painting
14507         the cached text layout.
14508         (installListeners): Call super.installListeners() and remove
14509         the unneeded listener installs.
14510         (uninstallListeners): Call super.uninstallListeners() and remove
14511         the unneeded listener uninstalls.
14512
14513 2006-06-21  Roman Kennke  <kennke@aicas.com>
14514
14515         * javax/swing/plaf/basic/BasicTextUI.java
14516         (PropertyChangeHandler.propertyChange): Handle document listener
14517         update here.
14518         (background): Removed unneeded fields.
14519         (inactiveBackground): Remove unneeded fields.
14520         (installUI): Install the document listener. Slightly changed
14521         order of operations. Don't trigger modelChanged().
14522         (installDefaults): Only install properties when the
14523         current properties are null or instances of UIResource.
14524         (installListeners): Removed unnecessary listener installs.
14525         (installDocumentListeners): Removed unneeded method.
14526         (uninstallListeners): Removed unnecessary listener uninstalls.
14527         (modelChanged): Removed call to installDocumentListeners().     
14528         * javax/swing/plaf/basic/BasicTextFieldUI.java
14529         (propertyChange): Update the colors by fetching them from
14530         SharedUIDefaults. Fixed conditions.
14531         * javax/swing/plaf/basic/SharedUIDefaults.java
14532         (getColor): New method.
14533
14534 2006-06-21  Roman Kennke  <kennke@aicas.com>
14535
14536         * javax/swing/SizeSequence.java
14537         (SizeSequence): Initialize array with correct number of entries.
14538
14539 2006-06-21  Roman Kennke  <kennke@aicas.com>
14540
14541         * javax/swing/JSplitPane.java
14542         (setDividerLocation): Substract divider size when computing
14543         the absolute size.
14544
14545 2006-06-21  Roman Kennke  <kennke@aicas.com>
14546
14547         * javax/swing/JComponent.java
14548         (paintChildrenWithOverlap): Determine opaque property by
14549         calling the corresponding Component method, without requiring
14550         a JComponent.
14551         (paintChildrenOptimized): Removed old unneeded code.
14552         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14553         method instead of SwingUtilities.convertRectangle(). This is
14554         more efficient.
14555
14556 2006-06-21  Roman Kennke  <kennke@aicas.com>
14557
14558         * javax/swing/AbstractButton.java
14559         (init): Call setText() instead of setting the property directly,
14560         so that listeners (especially in the UI) get notified.
14561
14562 2006-06-21  Roman Kennke  <kennke@aicas.com>
14563
14564         * javax/swing/UIManager.java
14565         (MultiplexUIDefaults): New inner class.
14566         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14567         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14568         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14569         directly. Print stacktrace if something goes wrong.
14570         (get): Delegate call to currentUIDefaults.
14571         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14572         it.
14573         (getUI): Delegate call to currentUIDefaults.
14574         (put): Delegate call to currentUIDefaults.
14575         (setLookAndFeel): Initialize currentUIDefaults with
14576         MultiplexUIDefaults. Set lookAndFeelDefaults.
14577         (setLookAndFeel): Use current thread's context classloader for
14578         loading the L&F.
14579
14580 2006-06-21  Roman Kennke  <kennke@aicas.com>
14581
14582         * javax/swing/text/GapContent.java
14583         (GapContentPosition.GapContentPosition): Replace
14584         Collections.binarySearch with call to local search() to make
14585         sure we find the first object that equals the searched object.
14586         (setPositionsInRange): Likewise.
14587         (adjustPositionsInRange): Likewise.
14588         (search): New helper method.
14589
14590 2006-06-21  Gary Benson  <gbenson@redhat.com>
14591
14592         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14593         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14594         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14595
14596 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14597
14598         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14599         APPLETVIEWER_EXECUTABLE to gappletviewer.
14600
14601 2006-06-20  Tom Tromey  <tromey@redhat.com>
14602
14603         PR classpath/28095:
14604         * java/net/URL.java (URL): Throw MalformedURLException if a
14605         RuntimeException is caught.  Chain exceptions.
14606
14607 2006-06-20  Lillian Angel  <langel@redhat.com>
14608
14609         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14610         (create): Added check to prevent Seg Fault. Should not
14611         set the label if it is null.
14612         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14613         (setText): Changed to be a non-native function. Calls
14614         setNativeText if the String parameter is non-null.
14615         (setNativeText): Replaces old native setText function.
14616         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14618         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14619         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14620         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14621         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14622
14623 2006-06-20  Lillian Angel  <langel@redhat.com>
14624
14625         * javax/swing/text/JTextComponent.java
14626         (AccessibleJTextComponent): Rewrote all javadocs
14627         for this inner class.
14628
14629 2006-06-20  Francis Kung  <fkung@redhat.com>
14630
14631         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14632         Changed many members to be protected.
14633         (J2dBenchmark): moved to init() instead.
14634         (init): New method.
14635         (main): Call init() after creating object
14636         (testComplete): New method.
14637         (test_drawArc): Use maxTests varialbe instead of constant.
14638         (test_drawCubicCurve): Likewise.
14639         (test_drawEllipse): Likewise.
14640         (test_drawGeneralPath): Likewise.
14641         (test_drawImage): Likewise.
14642         (test_drawLine): Likewise.
14643         (test_drawQuadCurve): Likewise.
14644         (test_drawRectangle): Likewise.
14645         (test_drawRoundRectangle): Likewise.
14646         (test_drawTransparentImage): Likewise.
14647         (test_fillArc): Likewise.
14648         (test_fillEllipse): Likewise.
14649         (test_fillGeneralPath): Likewise.
14650         (test_fillRectangle): Likewise.
14651         (test_fillRoundRectangle): Likewise.
14652         (GraphicsTest.runSetNoClipping): Added runCount parameter.
14653         (GraphicsTest.runSetWithClipping): Likewise.
14654         (GraphicsTest.runSetZeroClipping): Likewise.
14655         (GraphicsTest.run): Added checks for more option flags.
14656         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14657         New file.
14658
14659 2006-06-20  Roman Kennke  <kennke@aicas.com>
14660
14661         * javax/swing/text/GapContent.java
14662         (GapContentPosition.mark): New field.
14663         (GapContentPosition.index): Removed.
14664         (GapContentPosition.GapContentPosition): Changed to take the
14665         real offset as parameter. Added handling of reference counter.
14666         Try to cleanup before creating new instances.
14667         (getOffset): Delegate to the Mark method with same name.
14668         (Mark): New class, encapsulating a mark.
14669         (positionMarks): Removed field.
14670         (numMarks): Removed field.
14671         (marks): New field.
14672         (queueOfDeath): New field.
14673         (GapContent): Removed init of old fields, added init of new fields.
14674         (createPosition): Added check for validity of arguments.
14675         Create GapContentPosition directly with offset.
14676         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14677         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14678         (shiftGapStartDown): Call resetMarksAtZero().
14679         (shiftGapEndUp): Call resetMarksAtZero().
14680         (replace): Don't call resetMarksAtZero().
14681         (setPositionInRange): Replaced by simpler algorithm, similar to
14682         adjustPositionsInRange.
14683         (adjustPositionsInRange): Adapted to use of Mark objects.
14684         (resetMarksAtZero): Reset all marks that point to zero instead
14685         of only the first one.
14686         (dumpMarks): Adjusted to dump Mark objects.
14687         (insertMark): Removed.
14688         (garbageCollect): New method. Cleans up the marks list.
14689         (binarySearch): Removed.
14690
14691 2006-06-20  Lillian Angel  <langel@redhat.com>
14692
14693         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14694         (drawImage): Added call to updateColor because
14695         Cairo seems to lose the current color.
14696
14697 2006-06-20  Gary Benson  <gbenson@redhat.com>
14698
14699         * java/awt/Toolkit.java: Add security check.
14700         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14701         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14702
14703 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
14704
14705         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14706         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14707         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14708         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14709         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14710         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14711         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14712         * gnu/java/security/key/dss/FIPS186.java: Likewise.
14713         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14714         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14715         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14716         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14717         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14718         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14719         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14720         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14721         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14722         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14723         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14724
14725 2006-06-19  Lillian Angel  <langel@redhat.com>
14726
14727         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14728         (drawImage): Should always use getRGB to get the pixels.
14729         getData returns an incorrect array of pixels.
14730
14731 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14732
14733         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14734         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14735         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14736         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14737         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14738         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14739         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14740         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14741         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14742         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14743         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14744         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14745         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14746         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14747         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14748         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14749         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14750         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14751         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14752         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14753         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14754         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14755         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14756         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14757         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14758         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14759         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14760         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14761         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14762         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14763         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14764         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14765         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14766         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14767         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14768         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14769
14770 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14771
14772         * NEWS: Updated (delayed) for security tools and tools.texinfo.
14773
14774 2006-06-19  Roman Kennke  <kennke@aicas.com>
14775
14776         * gnu/java/awt/peer/gtk/ComponentGraphics.java
14777         (drawImage): Clip volatile image correctly.
14778         (drawVolatileImage): Added arguments for clipping.
14779         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14780         (drawVolatileImage): Added arguments for clipping. Clip image
14781         correctly.
14782         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14783
14784 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14785
14786         PR 28035
14787         * java/rmi/server/UID.java (constructor): Synchronized
14788         the whole constructor on the UID class.
14789
14790 2006-06-19  Roman Kennke  <kennke@aicas.com>
14791
14792         * javax/swing/RepaintManager.java
14793         (addInvalidComponent): Only add component that are displayable,
14794         that have displayable parents and that have a validateRoot.
14795         Also, don't validate components that have a CellRendererPane
14796         ancestor.
14797
14798 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
14799
14800         * javax/swing/plaf/IconUIResource.java
14801         (IconUIResource): Throw IllegalArgumentException for null icon.
14802
14803 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14804
14805         PR 28035
14806         * java/rmi/server/UID.java (constructor): First increment
14807         uidCounter, and then use the value.
14808
14809 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
14810
14811         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14812         * java/awt/GridBagConstraints.java: Indent.
14813
14814 2006-06-18  Tom Tromey  <tromey@redhat.com>
14815
14816         * native/jni/gconf-peer/.cvsignore: New file.
14817
14818 2006-06-18  Tom Tromey  <tromey@redhat.com>
14819
14820         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14821         Also handle short options.
14822
14823 2006-06-18  Jim Huang  <jserv@kaffe.org>
14824
14825         PR classpath/28076:
14826         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14827         Fixed typo.
14828
14829 2006-06-19  Mark Wielaard  <mark@klomp.org>
14830
14831         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14832         on gnu/java/util/prefs/gconf/%.class.
14833         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14834         chache typo, should be cache.
14835         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14836         Declare tmp early.
14837         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14838         Likewise.
14839         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14840         Don't return a value for void function.
14841         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14842         Likewise.
14843         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14844         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
14845         function.
14846         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14847         Mark clazz ad unused.
14848
14849 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14850
14851         * gnu/java/security/hash/Whirlpool.java: Source formatting.
14852         * gnu/java/security/hash/Tiger.java: Likewise.
14853         * gnu/java/security/hash/Sha512.java: Likewise.
14854         * gnu/java/security/hash/Sha384.java: Likewise.
14855         * gnu/java/security/hash/Sha256.java: Likewise.
14856         * gnu/java/security/hash/Sha160.java: Likewise.
14857         * gnu/java/security/hash/RipeMD160.java: Likewise.
14858         * gnu/java/security/hash/RipeMD128.java: Likewise.
14859         * gnu/java/security/hash/MD5.java: Likewise.
14860         * gnu/java/security/hash/MD4.java: Likewise.
14861         * gnu/java/security/hash/MD2.java: Likewise.
14862         * gnu/java/security/hash/IMessageDigest.java: Likewise.
14863         * gnu/java/security/hash/Haval.java: Likewise.
14864         * gnu/java/security/hash/HashFactory.java: Likewise.
14865         * gnu/java/security/hash/BaseHash.java: Likewise.
14866
14867 2006-06-18  Sven de Marothy  <sven@physto.se>
14868
14869         * java/awt/event/KeyEvent.java:
14870         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14871         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14872         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14873
14874 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14875
14876         * gnu/java/security/util/Prime2.java: Removed.
14877         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14878         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14879         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14880         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14881         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14882         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14883         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14884         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14885         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14886         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14887         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14888         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14889
14890 2006-06-18  Sven de Marothy  <sven@physto.se>
14891
14892         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14893         * java/awt/font/TextMeasurer.java: Fix copyright date, 
14894         remove commented-out code.
14895
14896 2006-06-18  Sven de Marothy  <sven@physto.se>
14897
14898         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14899         (FreetypeGlyphVector, clone): Implement cloning.
14900         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14901         * java/awt/font/TextMeasurer.java: Implement.
14902         * java/awt/font/LineBreakMeasurer.java: 
14903         Reimplement to use TextMeasurer.
14904         * java/awt/font/TextLayout.java
14905         New constructors.
14906         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14907         (getText, getFont): New private static methods.
14908         (setCharIndices): New method.
14909         * java/text/AttributedString.java
14910         (AttributedString): Fix constructor to stop at end point.
14911         
14912 2006-06-17  Tom Tromey  <tromey@redhat.com>
14913
14914         * lib/gen-classlist.sh.in: Search all top-level directories, not
14915         just 'org', in external.
14916
14917 2006-06-12  Mario torre  <neugens at limasoftware.net>
14918
14919         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14920         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14921         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14922         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14923         header file.
14924         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14925         * configure.ac: update to introduce new files. Added options
14926         to build gconf native peer used by the GConf preference backend.
14927         * include/Makefile.am: update to introduce new files.
14928         * native/jni/Makefile.am update to introduce new files.
14929         * scripts/check_jni_methods.sh: added three new ignored file
14930         from check.
14931         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14932         build gconf-peer shared library.
14933
14934 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14935
14936         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14937         Use Integer.valueOf() instead of new Integer().
14938         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14939         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14940         * gnu/java/security/util/Sequence.java: Likewise.
14941         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14942         * gnu/java/security/x509/X509Certificate.java: Likewise.
14943         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14944         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14945         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14946         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14947         * gnu/javax/crypto/cipher/DES.java: Likewise.
14948         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14949         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14950         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14951         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14952         * gnu/javax/crypto/cipher/Square.java: Likewise.
14953         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14954         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14955         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14956         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14957         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14958         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14959         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14960         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14961         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14962         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14963         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14964         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14965         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14966         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14967         * gnu/javax/crypto/mac/UHash32.java: Likewise.
14968         * gnu/javax/crypto/mac/UMac32.java: Likewise.
14969         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14970         * gnu/javax/crypto/mode/EAX.java: Likewise.
14971         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14972         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14973         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14974         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14975         * java/security/cert/X509CertSelector.java: Likewise.
14976
14977 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14978
14979         * javax/management/DynamicMBean.java:
14980         (setAttribute): Fixed to return void.
14981         * javax/management/MBeanFeatureInfo.java:
14982         New file.
14983         
14984 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14985
14986         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14987         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14988         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14989         into engineInitHandler and reuse the code in
14990         engineInit(int, Key, AlgorithmSpec, SecureRandom).
14991         (engineInitHandler): New method.
14992         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14993         null, use random or default information when possible.
14994
14995 2006-06-16  Francis Kung  <fkung@redhat.com>
14996
14997         * examples/gnu/classpath/examples/swing/Demo.java:
14998         (mkButtonBar): Rename FillRect to JNIOverhead.
14999         (mkMenuBar): Rename FillRect to JNIOverhead.
15000         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15001         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15002         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15003         Moved from old FillRect.
15004
15005 2006-06-16  Tom Tromey  <tromey@redhat.com>
15006
15007         * tools/.cvsignore: Added new tool names.
15008
15009 2006-06-16  Keith Seitz  <keiths@redhat.com>
15010
15011         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15012         instantiation so that EventManager is created when getDefault
15013         is first called.
15014         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15015         of EventManager.
15016
15017 2006-06-16  Keith Seitz  <keiths@redhat.com>
15018
15019         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15020         (_initCount): New field.
15021         (Jdwp): Don't set isDebugging until fully initialized.
15022         (subcomponentInitialized): New method.
15023         (run): Wait for PacketProcessor and JdwpConnection to
15024         startup, then set isDebugging, and then let this thread
15025         die.
15026         * gnu/classpath/jdwp/transport/JdwpConnection.java
15027         (run): Add synchronization notification.
15028         * gnu/classpath/jdwp/processor/PacketProcessor.java
15029         (run): Likewise.
15030
15031 2006-06-16  Tom Tromey  <tromey@redhat.com>
15032
15033         * NEWS: Updated for JSR 166.
15034
15035 2006-06-16  Tom Tromey  <tromey@redhat.com>
15036
15037         * lib/Makefile.am (compile_classpath): Added jsr166.
15038         * configure.ac: Added external/jsr166/Makefile.
15039         * external/Makefile.am (SUBDIRS): Added jsr166.
15040         * external/jsr166/Makefile.am: New file.
15041         * lib/gen-classlist.sh.in: Look in external/jsr166.
15042
15043 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15044
15045         * gnu/classpath/jdwp/event/ExceptionEvent:
15046         Added Object instance to javadoc in constructor
15047         * gnu/classpath/jdwp/event/MethodEntryEvent:
15048         Ditto.
15049         * gnu/classpath/jdwp/event/MethodExitEvent:
15050         Ditto,
15051         * gnu/classpath/jdwp/event/SingleStepEvent:
15052         Ditto. 
15053
15054 2006-06-16  Tom Tromey  <tromey@redhat.com>
15055
15056         Imported JSR 166 reference implementation:
15057         * .classpath: Added external/jsr166.
15058         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15059         * java/util/AbstractQueue.java: Removed.
15060         * java/util/Queue.java: Removed.
15061         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15062         (runPeriodic): Added explicit cast.
15063         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15064         elements.clone.
15065
15066 2006-06-16  Tom Tromey  <tromey@redhat.com>
15067
15068         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15069         Removed.
15070         (getCallerClass): Now static.
15071         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15072
15073 2006-06-16  Lillian Angel  <langel@redhat.com>
15074
15075         * java/awt/FileDialog.java
15076         (FileDialog): Added @since tag to API docs.
15077         (FileDialog): Likewise.
15078         (FileDialog): Likewise.
15079         * java/awt/Font.java:
15080         Added @since tag to TYPE1_FONT field docs.
15081         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15082         (isThumbRollover): Likewise.
15083         (setThumbRollover): Likewise.
15084         (getSupportsAbsolutePositioning): Likewise.
15085         * javax/swing/plaf/basic/BasicSliderUI.java:
15086         (isDragging): Likewise.
15087
15088 2006-06-16  Lillian Angel  <langel@redhat.com>
15089
15090         * java/awt/FileDialog.java
15091         (FileDialog): Implemented.
15092         (FileDialog): Implemented.
15093         (FileDialog): Implemented.
15094         * java/awt/Font.java:
15095         Added TYPE1_FONT constant field.
15096
15097 2006-06-16  Lillian Angel  <langel@redhat.com>
15098
15099         * java/awt/font/TextLayout.java:
15100         Removed unneeded imports.
15101         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15102         Added new thumbRollover field.
15103         (mouseMoved): Added code to set thumbRollover field.
15104         (isThumbRollover): New function.
15105         (setThumbRollover): New function.
15106         (getSupportsAbsolutePositioning): Implemented. This
15107         needs to be changed once the feature has been 
15108         implemented.
15109         * javax/swing/plaf/basic/BasicSliderUI.java:
15110         Added new dragging field.
15111         (mouseDragged): Initialized dragging field.
15112         (isDragging): New function.
15113         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15114         (focusGained): Marked as not implemented.
15115         (focusLost): Likewise.
15116
15117 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15118
15119         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15120         Added check for null ThreadId to avoid null pointer
15121         exception.
15122
15123 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15124
15125         * javax/swing/DefaultComboBoxModel.java
15126         (removeElementAt): Set new selected item by calling setSelectedItem().
15127
15128 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15129
15130         * javax/swing/DefaultButtonModel.java
15131         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15132
15133 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15134
15135         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15136         (ListDataEvent): Handle case where index0 > index1,
15137         (toString): Implemented.
15138
15139 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15140
15141         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15142         (update): Added subexpression to if-statement.
15143
15144 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15145
15146         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15147         (installDefaults): Removed unneccessary code.
15148         (paint): Removed complex if-cascade, revert to default icon if
15149         icon property is not set.
15150         (getPreferredSize): New method.
15151
15152 2006-06-16  Roman Kennke  <kennke@aicas.com>
15153
15154         PR 28027
15155         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15156         (drawImage): Don't use setClip() but instead clipRect() to
15157         intersect the current clip with a new one.
15158
15159 2006-06-15  Tom Tromey  <tromey@redhat.com>
15160
15161         * scripts/sanitize-jsr166: New file.
15162         * external/jsr166/IMPORTING: New file.
15163         * vm/reference/sun/reflect/Reflection.java: New file.
15164         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15165         * vm/reference/sun/misc/Unsafe.java: ...here.
15166
15167 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15168
15169         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15170         gjarsigner and keytool to gkeytool.
15171         * doc/tools.texinfo: Add note about tool exectable names.
15172         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15173         jarsigner to gjarsigner and keytool to gkeytool.
15174         * tools/appletviewer.in: Rename ...
15175         * tools/gappletviewer.in: New file.
15176         * tools/jarsigner.in: Rename ...
15177         * tools/gjarsigner.in: New file.
15178         * tools/keytool.in: Rename ...
15179         * tools/gkeytool.in: New file.
15180         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15181
15182 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15183
15184         * javax/management/AttributeList.java:
15185         Add serialization UID.
15186         * javax/management/DynamicMBean.java:
15187         New file.
15188         * javax/management/JMRuntimeException.java:
15189         Add serialization UID and correct name
15190         of serialized field.
15191         * javax/management/MBeanInfo.java: New file.
15192         
15193 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15194
15195         * javax/management/AttributeList.java,
15196         * javax/management/JMRuntimeException.java,
15197         * javax/management/RuntimeOperationsException.java:
15198         New files.
15199         
15200 2006-06-15  Lillian Angel  <langel@redhat.com>
15201
15202         * java/awt/font/TextLayout.java:
15203         DEFAULT_CARET_POLICY changed to be public static final.
15204
15205 2006-06-15  Tania Bento  <tbento@redhat.com>
15206
15207         * javax/swing/plaf/metal/MetalScrollButton.java
15208         (MetalScrollButton): Should set 'focusable' to false.
15209
15210 2006-06-15  Tania Bento  <tbento@redhat.com>
15211
15212         * javax/swing/plaf/basic/BasicArrowButton.java
15213         (BasicArrowButton): Should set 'focusable' to false.
15214         (BasicArrowButton): Should set 'focusable' to false.
15215
15216 2006-06-15  Mark Wielaard  <mark@klomp.org>
15217
15218         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15219         (getGraphicsConfiguration): Return default screen device.
15220         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15221         New field.
15222         (GtkVolatileImage): Record initiating component.
15223         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15224         (getDeviceConfiguration): Return configuration of image component.
15225
15226 2006-06-15  Mark Wielaard  <mark@klomp.org>
15227
15228         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15229         closed.
15230
15231 2006-06-15  Mark Wielaard  <mark@klomp.org>
15232
15233         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15234         with null argument.
15235
15236 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15237
15238         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15239         (matches): Added explicit brackets to return statement.
15240
15241 2006-06-15  Tania Bento  <tbento@redhat.com>
15242
15243         * javax/swing/JRadioButtonMenuItem.java
15244         (JRadioButtonMenuItem): Should set 'focusable' to false.
15245
15246 2006-06-15  Tania Bento  <tbento@redhat.com>
15247
15248         * javax/swing/JCheckBoxMenuItem.java
15249         (JCheckBoxMenuItem): Should set 'focusable' to false.
15250
15251 2006-06-15  Tania Bento  <tbento@redhat.com>
15252
15253         * javax/swing/AbstractButton.java:
15254         (AbstractButton): 'Focusable' should be set to true and not false.
15255
15256 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15257
15258         * java/lang/management/ManagementFactory.java:
15259         Add private constructor to prevent instance creation.
15260         * java/lang/management/ManagementPermission.java:
15261         Make final.
15262         
15263 2006-06-15  Francis Kung  <fkung@redhat.com>
15264
15265         * javax/swing/plaf/basic/BasicArrowButton.java:
15266         (BasicArrowButton): move client property for not triggering out 
15267         of consturctor
15268         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15269         (configureArrowButton): set client property for not triggering
15270         (installUI): set client property for not triggering
15271         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15272         (PopupHelper.mousePressed): check client property for triggering
15273
15274 2006-06-15  Roman Kennke  <kennke@aicas.com>
15275
15276         PR 28037
15277         * javax/swing/RepaintManager.java
15278         (blitBuffer): Substract coordinates the other way around.
15279
15280 2006-06-15  Roman Kennke  <kennke@aicas.com>
15281
15282         PR 28027
15283         * javax/swing/JComponent.java
15284         (paintImmediately2): Only paint component without double buffering
15285         when all of it's parents have also double buffering disabled.
15286         (isPaintingDoubleBuffered): New helper method.
15287
15288 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15289
15290         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15291         (draw(Shape)): Pass null transform to getPathIterator(),
15292         (getClip): Likewise,
15293         * gnu/java/print/PostscriptGraphics2D.java
15294         (drawStringShape): Pass null transform to getPathIterator(),
15295         (writeShape): Likewise,
15296         * java/awt/Shape.java: Small updates to API docs.
15297
15298 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15299
15300         * javax/naming/InitialContext.java:
15301         (list(javax.naming.Name)): Fixed generic type.
15302         (list(String)): Likewise.
15303         (listBindings(javax.naming.Name)): Likewise.
15304         (listBindings(String)): Likewise.
15305         
15306 2006-06-14  Roman Kennke  <kennke@aicas.com>
15307
15308         * javax/swing/plaf/basic/BasicComboBoxUI.java
15309         (getAccessibleChildrenCount): Implemented.
15310         (getAccessibleChild): Implemented.
15311         (isNavigationKey): Implemented.
15312         (KeyHandler.keyPressed): Implemented.
15313
15314 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15315
15316         * java/lang/management/ManagementPermission.java:
15317         Added serialization UID.
15318         * javax/management/Attribute.java: Likewise.
15319         * javax/management/MBeanException.java,
15320         * javax/management/ReflectionException.java:
15321         Added serialization UID and changed to extend
15322         javax.management.JMException.
15323         
15324 2006-06-14  Lillian Angel  <langel@redhat.com>
15325
15326         * java/awt/Component.java
15327         (ignoreOldMouseEvents): Made static.
15328         (translateEvent): Made static.
15329         * java/awt/TextComponent.java
15330         (ignoreOldMouseEvents): Made static.
15331
15332 2006-06-14  Mark Wielaard  <mark@klomp.org>
15333
15334         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15335         call super.
15336         (drawRect): Likewise.
15337         (fillRect): Likewise.
15338
15339 2006-06-14  Lillian Angel  <langel@redhat.com>
15340
15341         * java/awt/Component.java
15342         (ignoreOldMouseEvents): New helper function.
15343         (translateEvent): Changed to be non-static and use new helper.
15344         * java/awt/TextComponent.java
15345         (ignoreOldMouseEvents): New helper function.
15346
15347 2006-06-14  Roman Kennke  <kennke@aicas.com>
15348
15349         * javax/swing/RepaintManager.java
15350         (MERGE_REGIONS): New constant flag.
15351         (commitBuffer): Exclude the merging of regions by default. This
15352         was causing painting artifacts in some applications, especially
15353         when different areas of the GUI are updated synchronously.
15354
15355 2006-06-14  Roman Kennke  <kennke@aicas.com>
15356
15357         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15358         New file. This is a benchmark for AWT 1.1 style graphics operations.
15359         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15360         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15361
15362 2006-06-14  Tom Tromey  <tromey@redhat.com>
15363
15364         * java/io/File.java (getParent): Javadoc fix.
15365
15366 2006-06-14  Tom Tromey  <tromey@redhat.com>
15367
15368         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15369         jar.
15370         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15371         when index entry does not exist.
15372
15373 2006-06-14  Tania Bento  <tbento@redhat.com>
15374
15375         * javax/swing/AbstractButton.java
15376         (AbstractButton): Set focusable to false, not true.
15377
15378 2006-06-14  Tania Bento  <tbento@redhat.com>
15379
15380         * javax/swing/JMenuItem.java
15381         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15382
15383 2006-06-14  Tania Bento  <tbento@redhat.com>
15384
15385         * javax/swing/JCheckBoxMenuItem.java
15386         (JCheckBoxMenuItem): Added check to set the selected state.
15387
15388 2006-06-14  Roman Kennke  <kennke@aicas.com>
15389
15390         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15391         (cairoDrawLine): New native method.
15392         (cairoDrawRect): New native method.
15393         (cairoFillRect): New native method.
15394         (drawLine): Use special native method.
15395         (drawRect): Use special native method.
15396         (fillRect): Use special native method.
15397         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15398         (cairoDrawLine): New native method.
15399         (cairoDrawRect): New native method.
15400         (cairoFillRect): New native method.
15401         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15402
15403 2006-06-14  Mark Wielaard  <mark@klomp.org>
15404
15405         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15406         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15407         cannot be allocated.
15408
15409 2006-06-14  Tom Tromey  <tromey@redhat.com>
15410
15411         PR java/28024:
15412         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15413         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15414
15415 2006-06-14  Roman Kennke  <kennke@aicas.com>
15416
15417         * javax/swing/JComponent.java
15418         (isRepainting): New flag.
15419         (paintImmediately2): Set isRepainting flag.
15420         (getRoot): Removed obsolete method.
15421         (paintDoubleBuffered): Differenciate between paint calls from
15422         RepaintManager and from AWT refresh. Call
15423         RepaintManager.commitBuffer with this and local coordinates.
15424         (findOpaqueParent): Stop searching at heavyweight component. These
15425         are always opaque.
15426         (paintChildrenOptimized): Don't paint heavyweight children. These
15427         should care for themselves.
15428         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15429         should care for themselves.
15430         * javax/swing/RepaintManager.java
15431         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15432         windows only.
15433         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15434         toplevel windows only.
15435         (getRoot): Removed obsolete method.
15436         (commitBuffer): Blit buffer on nearest heavyweight.
15437         (blitBuffer): New helper method.
15438         (getHeavyweightParent): New helper method.
15439         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15440         * javax/swing/SwingUtilities.java
15441         (convertRectangleToAncestor): New helper method.
15442
15443 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15444
15445         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15446         Condition all trace/debug code based on Configuration.DEBUG.
15447         Use logger instead of STDOUT and ot STDERR.
15448
15449 2006-06-13  Lillian Angel  <langel@redhat.com>
15450
15451         * native/plugin/gcjwebplugin.cc
15452         (NP_Initialize): Removed code to create whitelist file.
15453         (GCJ_New): Added code to create whitelist file.
15454         (plugin_user_trusts_documentbase): Fixed error message.
15455
15456 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15457
15458         * javax/swing/plaf/metal/MetalIconFactory.java
15459         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15460         prevent overwriting border,
15461         (VerticalSliderThumbIcon.gradientMask): Likewise.
15462
15463 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15464
15465         * javax/management/AttributeNotFoundException.java,
15466         * javax/management/InvalidAttributeValueException.java,
15467         * javax/management/JMException.java,
15468         * javax/management/MBeanException.java,
15469         * javax/management/OperationsException.java,
15470         * javax/management/ReflectionException.java:
15471         New files.
15472         
15473 2006-06-13  Roman Kennke  <kennke@aicas.com>
15474
15475         * java/awt/Component.java
15476         (dispatchEvent): Handle events even when consumed (this might be
15477         picked up later in the dispatching chain).
15478         * javax/swing/plaf/basic/BasicLookAndFeel.java
15479         (PopupHelper.mousePressed): Don't consume event. Only close popup
15480         when target component isn't flagged as DONT_CANCEL_POPUP.
15481         (DONT_CANCEL_POPUP): New package private constant for flagging
15482         special components that don't trigger popup closing.
15483         * javax/swing/plaf/basic/BasicArrowButton.java
15484         (BasicArrowButton): Set client property for not triggering closing
15485         of popups.
15486
15487 2006-06-13  Lillian Angel  <langel@redhat.com>
15488
15489         * java/awt/image/PixelGrabber.java
15490         (PixelGrabber): Added to API documentation.
15491
15492 2006-06-13  Keith Seitz  <keiths@redhat.com>
15493
15494         From Kyle Galloway  <kgallowa@redhat.com>:
15495         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15496         (ExceptionOnlyFilter): Allow null refId.
15497
15498         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15499         compatibility with filters.
15500         (getParameter): Modified to allow access to above. 
15501
15502 2006-06-13  Sven de Marothy  <sven@physto.se>
15503
15504         * gnu/java/awt/peer/gtk/CairoSurface.java
15505         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15506         (create): Use stride in ints.
15507
15508 2006-06-13  Keith Seitz  <keiths@redhat.com>
15509
15510         From Kyle Galloway  <kgallowa@redhat.com>:
15511         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15512
15513 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15514
15515         * javax/swing/plaf/basic/BasicSliderUI.java
15516         (calculateThumbSize): Removed unnecessary code,
15517         (calculateThumbLocation): Shift position by one,
15518         (calculateTickRect): Shift position by one when ticks are displayed,
15519         (calculateLabelRect): Calculate rect differently according to whether
15520         or not the labels are visible,
15521         (paintTrack): Shift track down one pixel.
15522
15523 2006-06-13  Lillian Angel  <langel@redhat.com>
15524
15525         * java/awt/image/PixelGrabber.java
15526         (PixelGrabber): Removed check to throw exception. JDK does
15527         not do this.
15528         (startGrabbing): Removed line to print stacktrace. 
15529
15530 2006-06-13  Mark Wielaard  <mark@klomp.org>
15531
15532         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15533         allocate unused AffineTransform. Add comment about conversion to
15534         BufferedImage.
15535         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15536         Recognize identity transform as "easy". Always convert to
15537         BufferedImage before calling super.
15538
15539 2006-06-13  Roman Kennke  <kennke@aicas.com>
15540
15541         * java/awt/Component.java
15542         (getGraphics): Translate child graphics correctly.
15543         (dispatchEvent): Only dispatch event if it hasn't been consumed
15544         yet by the global dispatcher.
15545         * javax/swing/plaf/basic/BasicLookAndFeel.java
15546         Added some API docs.
15547         (PopupHelper.mousePressed): Consume the event after closing
15548         opened menus.
15549
15550 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15551
15552         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15553         changes only,
15554         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15555         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15556         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15557         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15558         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15559         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15560         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15561         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15562         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15563         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15564         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15565         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15566         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15567         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15568         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15569         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15570
15571 2006-06-12  Sven de Marothy  <sven@physto.se>
15572
15573         * java/awt/font/LineBreakMeasurer.java): Implement.
15574
15575 2006-06-12  Keith Seitz  <keiths@redhat.com>
15576
15577         From Kyle Galloway  <kgallowa@redhat.com>:
15578         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15579
15580 2006-06-12  Keith Seitz  <keiths@redhat.com>
15581
15582         From Kyle Galloway  <kgallowa@redhat.com>:
15583         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15584
15585         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15586
15587 2006-06-12  Roman Kennke  <kennke@aicas.com>
15588
15589         * javax/swing/JComponent.java
15590         (paintDoubleBuffered): Correctly translate and clip the Graphics
15591         instance.
15592         (clipAndTranslateGraphics): New helper method.
15593
15594 2006-06-12  Roman Kennke  <kennke@aicas.com>
15595
15596         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15597         (copy): Use getClip() to copy the clip. Make copied transform
15598         null when original transform is null. Set clip here.
15599         (setTransform): Correctly update the clip.
15600         (setTransformImpl): New method. Updates the actual transform for
15601         Cairo.
15602         (transform): Correctly update the clip.
15603         (translate): Correctly update the clip.
15604         (clip): Handle null clip and argument correctly.
15605         (clipRect): Avoid creating new Rectangle objects.
15606         (getClip): Get the correct copy of the clip.
15607         (setClip): Correctly handle null argument.
15608         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15609         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15610         be null or whatever has been set in copy().
15611         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15612         (drawImage): Add translation to the image coordinates.
15613         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15614         (VolatileImageGraphics): Don't set clip here. The clip can either
15615         be null or whatever has been set in copy().
15616
15617 2006-06-12  Keith Seitz  <keiths@redhat.com>
15618
15619         From Kyle Galloway  <kgallowa@redhat.com>:
15620         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15621         (forCaught): Removed unused/unnecessary method.
15622         (forUncaught): Likewise.
15623         (matches): Implement.
15624
15625 2006-06-12  Keith Seitz  <keiths@redhat.com>
15626
15627         From Kyle Galloway  <kgallowa@redhat.com>:
15628         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15629
15630 2006-06-12  Keith Seitz  <keiths@redhat.com>
15631
15632         From Kyle Galloway  <kgallowa@redhat.com>:
15633         * gnu/classpath/jdwp/event/Event.java: Added constants for
15634         type.
15635         (getParameter): Changed parameter type from Class to int.
15636         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15637         Changed from Class type to constants.
15638         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15639         Likewise.
15640         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15641         Likewise.
15642         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15643         Likewise.
15644         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15645         Likewise.
15646         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15647         Likewise.
15648         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15649         Likewise.
15650         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15651         Likewise.
15652         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15653         Likewise.
15654         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15655         Likewise.
15656
15657 2006-06-12  Lillian Angel  <langel@redhat.com>
15658
15659         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15660         (StandaloneAppletWindow): Changed title of standalone window.
15661
15662 2006-06-12  Lillian Angel  <langel@redhat.com>
15663
15664         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15665         (layoutContainer): Added missing selectedComponent assignment.
15666
15667 2006-06-12  Lillian Angel  <langel@redhat.com>
15668
15669         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15670         (layoutContainer): Added check to prevent exception.
15671
15672 2006-06-12  Tom Tromey  <tromey@redhat.com>
15673
15674         * java/lang/Thread.java (uncaughtException): Javadoc fix.
15675
15676 2006-06-12  Mark Wielaard  <mark@klomp.org>
15677
15678         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15679         New static field.
15680         (ONE): Likewise.
15681         (lock): New method.
15682         (unlock): Likewise.
15683         (draw): Use lock() and unlock().
15684         (fill): Likewise.
15685         (drawRenderedImage): Likewise.
15686         (drawImage): Likewise.
15687         (drawGlyphVector): Likewise.
15688
15689 2006-06-12  Roman Kennke  <kennke@aicas.com>
15690
15691         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15692         (drawPixels): Include alpha in parameter list.
15693         (cairoFill): Include alpha in parameter list.
15694         (setComposite): Don't modify the color.
15695         (draw(Shape))): Use fill when the current composite has an alpha
15696         of != 1.0, so that the stroked shaped will be composited.
15697         (fill(Shape)): Call cairoFill() with alpha.
15698         (drawImage): Call drawPixels or drawSurface with alpha.
15699         (drawGlyphVector): When composite alpha is != 1.0, render the
15700         outline using fill() to enable compositing for text.
15701         (drawRaster): Call drawPixels with alpha.
15702         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15703         (nativeDrawSurface): Include alpha in parameter list.
15704         (drawSurface): Include alpha in parameter list. Pass it to
15705         nativeDrawSurface().
15706         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15707         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15708         Regenerated.
15709         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15710         (drawPixels): Handle possible alpha for compositing.
15711         (cairoFill): Likewise.
15712         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15713         (nativeDrawSurface): Handle possible alpha for compositing.
15714
15715 2006-06-12  Mark Wielaard  <mark@klomp.org>
15716
15717         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15718         Notify data when completely done. Wait for worker thread to finish.
15719         Rethrow any pending exceptions.
15720         (exception): New field.
15721         (run): Store pending exception.
15722
15723 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15724
15725         * java/lang/management/ManagementPermission.java:
15726         New file.
15727         
15728 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15729
15730         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15731
15732 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15733
15734         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15735         Use String.charAt().
15736
15737 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
15738
15739         * doc/tools.texinfo
15740         (Applet Tools): New chapter.
15741         (appletviewer Tool): New section.
15742         (gcjwebplugin): New section.
15743
15744 2006-06-11  Mark Wielaard  <mark@klomp.org>
15745
15746         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15747         Takes GdkPixbufWriter.
15748         (GdkPixbufWriter): Implements Runnable.
15749         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15750         data processing.
15751         (DATADONE): New static final field.
15752         (data): New field.
15753         (write(byte[])): New method.
15754         (run): Likewise.
15755         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15756         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15757         Get dataOutputWriteID from writeClass.
15758         (stream_save_request): Change stream field to writer.
15759         (save_to_stream): Remove FIXME, call writer.
15760         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15761         Store writer.
15762
15763 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15764
15765         * NEWS:
15766         Mention new VM interface and use of properties.
15767         * doc/vmintegration.texinfo:
15768         Update with new gnu.java.lang.management section.
15769         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15770         New file.
15771         * java/lang/management/ManagementFactory.java:
15772         (getRuntimeMXBean()): Implemented.
15773         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15774         New VM interface file.
15775         
15776 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15777
15778         PR Classpath/26065
15779         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15780         debug code based on Configuration.DEBUG.
15781         Use logger instead of STDOUT and ot STDERR.
15782         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15783         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15784         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15785         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15786         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15787         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15788         * gnu/javax/crypto/pad/TBC.java: Likewise.
15789         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15790         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15791         * gnu/javax/crypto/pad/BasePad.java: Likewise.
15792         * gnu/javax/crypto/mac/OMAC.java: Likewise.
15793         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15794         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15795         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15796         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15797         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15798         * gnu/javax/crypto/keyring/Entry.java: Likewise.
15799         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15800         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15801         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15802         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15803         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15804         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15805         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15806         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15807         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15808         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15809         * gnu/java/security/Properties.java: Likewise.
15810         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15811         * gnu/java/security/x509/X509CRL.java: Likewise.
15812         * gnu/java/security/x509/ext/Extension.java: Likewise.
15813         * gnu/java/security/util/Prime2.java: Likewise.
15814         * gnu/java/security/util/Base64.java: Likewise.
15815         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15816         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15817         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15818         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15819         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15820         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15821         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15822         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15823         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15824         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15825         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15826         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15827         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15828         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15829         * gnu/java/security/hash/Whirlpool.java: Likewise.
15830
15831 2006-06-11  Mark Wielaard  <mark@klomp.org>
15832
15833         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15834         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15835         Remove unused variable glyph_index.
15836
15837 2006-06-11  Mark Wielaard  <mark@klomp.org>
15838
15839         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15840         Don't recurse, return false if not an BufferedImage and no image
15841         source available.
15842         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15843         end_gdk_drawing() to finally block.
15844         (fill): Likewise.
15845         (drawRenderedImage): Likewise.
15846         (drawImage): Likewise.
15847         (drawGlyphVector): Likewise.
15848
15849 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15850
15851         * doc/tools.texinfo: Added text for new -cacert command.
15852         Re-structured sections.
15853         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15854         for -cacert command.
15855         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15856         (_CACERT): Likewise.
15857         (shutdownThread): New field.
15858         (Main): Install shutdown thread.
15859         (main): Uninstall shutdown thread.
15860         (start): Handle new -cacert command.
15861         (getParser): Likewise.
15862         (teardown): Increased visibility.
15863         (ShutdownHook): New inner class.
15864         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15865
15866 2006-06-11  Sven de Marothy  <sven@physto.se>
15867
15868         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15869         (setupGlyphMetrics): New method. Add glyphmetrics caching.
15870         (getOutline): Operate on the shape directly.
15871         * gnu/java/awt/peer/gtk/GdkFontPeer.java
15872         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15873         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15874         (getGlyph renamed getGlyphs)
15875         * java/awt/geom/AffineTransform.java
15876         (getTranslateInstance): Set fields directly.
15877         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15878         (getGlyphs): Get all glyph codes at once.
15879         
15880 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15881
15882         PR Classpath/27853
15883         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15884
15885 2006-06-11  Sven de Marothy  <sven@physto.se>
15886
15887         * java/awt/font/TextLayout.java
15888         (getLogicalHighlightShape): Add check.
15889         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15890         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15891
15892 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15893
15894         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15895         Check that every component of 'cn' starts with a valid Java identifier char.
15896
15897 2006-06-10  Tom Tromey  <tromey@redhat.com>
15898
15899         * java/io/File.java (pathSeparator): Typo fix.
15900
15901 2006-06-10  Mark Wielaard  <mark@klomp.org>
15902
15903         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15904         Removed.
15905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15906         Mark all unused parameters.
15907         (cp_gtk_get_cairo_t): Removed.
15908         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15909         Don't mix declerations and statements.
15910         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15911         Mark all unused parameters.
15912         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15913         Get cairographics2d pointer directly.
15914         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15915         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15916         Use jlong to pass pointer.
15917         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15918         Mark all unused parameters.
15919         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15920         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15921         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15922         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15923         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15924         * include/java_io_VMFile.h: Regenerated.
15925
15926 2006-06-10  Roman Kennke  <kennke@aicas.com>
15927
15928         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15929         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15930         instead of setClip(), so that an already present clip is intersected
15931         and not resetted.
15932
15933 2006-06-10  Mark Wielaard  <mark@klomp.org>
15934
15935         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15936         Call getSize() to avoid accessor method.
15937
15938 2006-06-10  Mark Wielaard  <mark@klomp.org>
15939
15940         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15941         Qualify ElementSpec.
15942
15943 2006-06-10  Mark Wielaard  <mark@klomp.org>
15944
15945         * lib/.cvsignore: Add sun.
15946         * lib/Makefile.am (dist-hook): Likewise.
15947
15948 2006-06-10  Roman Kennke  <kennke@aicas.com>
15949
15950         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15951         * gnu/java/awt/peer/gtk/CairoSurface.java
15952         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15953         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15954         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15955         * native/jni/gtk-peer/cairographics2d.h
15956         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15957         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15958         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15960         Changed method signatures and calls to pass native pointers directly
15961         into the JNI code, in order to avoid costly lookups on each
15962         JNI call.
15963         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15964         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15965         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15966         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15967         Regenerated
15968
15969 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15970
15971         PR 27973
15972         * javax/swing/text/DefaultStyledDocument.java 
15973         (ElementBuffer.insertContentTag):
15974         Do not recreate leaves and do not remove elements here. 
15975
15976 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15977
15978         * javax/swing/text/html/HTMLDocument.java
15979         (HTMLReader.HiddenAction): Implemented.
15980
15981 2006-06-10  Roman Kennke  <kennke@aicas.com>
15982
15983         * javax/swing/RepaintManager.java
15984         (getVolatileOffscreenBuffer): Store the created buffer.
15985         * javax/swing/JComponent.java
15986         (paintDoubleBuffered): Try to use a volatile offscreen buffer
15987         for better performance.
15988
15989 2006-06-10  Roman Kennke  <kennke@aicas.com>
15990
15991         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15992         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15993         context correctly.
15994         (getRealBounds): Overridden to return the correct bounds.
15995
15996 2006-06-10  Roman Kennke  <kennke@aicas.com>
15997
15998         * javax/swing/plaf/metal/MetalButtonUI.java
15999         (update): Fixed to paint the gradient under the correct conditions.
16000         (updateWidthGradient): Removed.
16001         (isToolbarButton): New helper method.
16002         (isDrawingGradient): New helper method.
16003
16004 2006-06-09  Roman Kennke  <kennke@aicas.com>
16005
16006         * javax/swing/JTabbedPane.java
16007         (setSelectedIndex): Don't change the visibility of the components,
16008         this is done by the UI class.
16009         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16010         (TabbedPaneLayout.layoutContainer): Change visibility of component
16011         here, depending on the selected index. Only do this if the new
16012         selected component is not null. Some programs seem to expect
16013         this.
16014         (visibleComponent): New field.
16015         (getVisibleComponent): Changed to return visibleComponent field.
16016         (setVisibleComponent): Changed to set the visibility of
16017         the old and new visible component.
16018
16019 2006-06-09  Roman Kennke  <kennke@aicas.com>
16020
16021         * javax/swing/JComponent.java
16022         (paintChildrenOptimized): Paint component with a new Graphics
16023         object to protect the other painting code from modifications
16024         done in that object, and avoid cleanup ops on possibly dispose()ed
16025         Graphics object.
16026
16027 2006-06-09  Sven de Marothy  <sven@physto.se>
16028
16029         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16030         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16031         Use GTK locks while disposing (Xlib) surface.
16032
16033 2006-06-09  Tom Tromey  <tromey@redhat.com>
16034
16035         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16036         (uninstall-local): Delete 'sun' directory.
16037         (glibj.zip): Include 'sun' classes.
16038         (clean-local): Delete 'sun' directory.
16039         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16040
16041 2006-06-09  Roman Kennke  <kennke@aicas.com>
16042
16043         * gnu/java/awt/java2d/AbstractGraphics2D.java
16044         (drawImage): Fixed scaling.
16045         (fillShape): Removed offset handling.
16046         (fillShapeImpl): Limit scanlining to device bounds.
16047         (getSegments): Removed offset handling.
16048         * gnu/java/awt/java2d/PolyEdge.java
16049         (toString): Include isClip flag in output.
16050
16051 2006-06-08  Sven de Marothy  <sven@physto.se>
16052
16053         * java/awt/font/TextLayout.java
16054         (getOutline): Allow null transform.
16055
16056 2006-06-08  Sven de Marothy  <sven@physto.se>
16057
16058         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16059         (drawString): Use TextLayout instead of GlyphVector.
16060
16061 2006-06-08  Sven de Marothy  <sven@physto.se>
16062
16063         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16064         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16065         New constructor for bidirectionality.
16066         (getGlyphMetrics): Return whitespace glyphs.
16067         (getLogicalBounds): Offset rectangles to correct positions.
16068         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16069         (getBaselineFor): Default to ROMAN_BASELINE.
16070         (GdkFontLineMetrics): Guess some values for underline and 
16071         strikethrough.
16072         (layoutGlyphVector): Use bidirectionality.
16073         * java/awt/font/TextLayout.java: Implement, mostly.
16074         
16075 2006-06-09  Anthony Green  <green@redhat.com>
16076
16077         PR classpath/27888:
16078         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16079         * java/util/Collections.java (binarySearch): Use unsigned shift.
16080         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16081
16082 2006-06-09  Tom Tromey  <tromey@redhat.com>
16083
16084         * tools/.cvsignore: Added .deps.
16085
16086 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16087
16088         PR classpath/27966:
16089         * gnu/javax/security/auth/login/ConfigFileParser.java
16090         (validateClassName): Quote '.' in regexp.
16091
16092 2006-06-09  Tom Tromey  <tromey@redhat.com>
16093
16094         PR classpath/23863:
16095         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16096         finished.
16097         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16098         some includes.  Added <assert.h>.
16099         (_reent, _Bigint): New defines.
16100         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16101         (__ULong, __Long): New types.
16102         (_calloc_r): New function.
16103         (Balloc): Dynamically add new _freelist entries as needed.
16104         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16105         MAX_BIGNUMS to size _x[].
16106         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16107         _allocation_map, num.  Added _max_k.
16108
16109 2006-06-09  Roman Kennke  <kennke@aicas.com>
16110
16111         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16112         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16113         implementations.
16114
16115 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16116
16117         * java/awt/image/BufferedImage.java
16118         (BufferedImage(int, int, int)): Added API docs,
16119         (getProperty(String)): Return correct value for undefined properties,
16120         (getPropertyNames()): Added comments and removed FIXME.
16121
16122 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16123
16124         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16125         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16126
16127 2006-06-09  Francis Kung  <fkung@redhat.com>
16128
16129         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16130         (getPreferredSize): Return correct height for null or empty 
16131         items.
16132
16133 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16134
16135         * java/awt/datatransfer/DataFlavor.java
16136         (readExternal): Mark as stub,
16137         (writeExternal): Likewise,
16138         * java/awt/dnd/DropTargetContext.java
16139         (dropComplete): Mark as stub,
16140         (acceptDrag): Likewise,
16141         (rejectDrag): Likewise,
16142         (acceptDrop): Likewise,
16143         (rejectDrop): Likewise,
16144         (getCurrentDataFlavors): Likewise,
16145         (getTransferable): Likewise,
16146         * java/awt/dnd/DropTargetDropEvent.java
16147         (dropComplete): Mark as stub.
16148
16149 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16150
16151         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16152         (constructor): Do not lowercase the values.
16153         * javax/swing/text/html/HTMLDocument.java
16154         (HTMLReader.addSpecialElement): Implemented.
16155         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16156
16157 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16158
16159         On behalf of Matthew Wringe <mwringe@redhat.com>
16160         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16161         * gnu/javax/crypto/pad/ISO10126.java: New class.
16162         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16163         (getInstance): Added support for ISO-10126 scheme.
16164         (getNames): Likewise.
16165         Cache result for speed.
16166
16167 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16168
16169         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16170         flexible self-test by sub-classes.
16171         (test1BlockSize): New method.
16172
16173 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16174
16175         * javax/swing/plaf/basic/BasicLookAndFeel.java
16176         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16177         * javax/swing/plaf/basic/BasicScrollBarUI.java
16178         (installKeyboardActions): Implemented,
16179         (uninstallKeyboardActions): Implemented,
16180         (getInputMap): New method,
16181         (getActionMap): New method,
16182         (createActionMap): New method,
16183         (installUI): Call installKeyboardActions(),
16184         (uninstallUI): Call uninstallKeyboardActions().
16185         
16186 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16187
16188         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16189         (getActionMap): Use correct key to store action map.
16190
16191 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16192
16193         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16194         (executeInstruction): Added NOT support.
16195
16196 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16197
16198         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16199         New file.
16200
16201 2006-06-08  Tom Tromey  <tromey@redhat.com>
16202
16203         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16204         of 'types'.
16205
16206 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16207
16208         * java/lang/management/RuntimeMXBean.java:
16209         New file.
16210         
16211 2006-06-08  Lillian Angel  <langel@redhat.com>
16212
16213         * native/plugin/gcjwebplugin.cc:
16214         (NP_Shutdown): Freed whitelist_filename.
16215
16216 2006-06-08  Lillian Angel  <langel@redhat.com>
16217
16218         * native/plugin/Makefile.am:
16219         Removed DATA_DIRECTORY.
16220         * native/plugin/gcjwebplugin.cc:
16221         Added new global fields for whitelist_file
16222         and data_directory. Removed WHITELIST_FILE.
16223         (NP_Initialize): Initialized new fields. Also,
16224         Changed to use new fields.
16225         (NP_Shutdown): Freed data_directory.
16226         (GCJ_New): Changed to use new fields.
16227         (plugin_ask_user_about_documentbase): Likewise.
16228
16229 2006-06-08  Lillian Angel  <langel@redhat.com>
16230
16231         * native/plugin/Makefile.am:
16232         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16233         * native/plugin/gcjwebplugin.cc:
16234         Changed all instances of PLUGIN_DATA_DIRECTORY
16235         to DATA_DIRECTORY.
16236
16237 2006-06-08  Roman Kennke  <kennke@aicas.com>
16238
16239         * java/awt/LightweightDispatcher.java
16240         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16241         with convertPointToChild(). This is more efficient and avoids
16242         problems with getLocationOnScreen().
16243         (findTarget): Check for component beeing showing() early.
16244         Simplified AWTUtilities.convertPoint() to a simple substraction
16245         operation.
16246         (convertPointToChild): New helper method.
16247
16248 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16249
16250         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16251         message.
16252
16253 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16254             Lillian Angel  <langel@redhat.com>
16255
16256         * native/plugin/gcjwebplugin.cc
16257         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16258         Also, reset initialized field.
16259
16260 2006-06-08  Lillian Angel  <langel@redhat.com>
16261
16262         * javax/swing/plaf/basic/BasicProgressBarUI.java
16263         (paintString): Fixed to paint string at the correct location.
16264
16265 2006-06-08  Roman Kennke  <kennke@aicas.com>
16266
16267         * javax/swing/plaf/basic/BasicTreeUI.java
16268         (createDefaultActions): Added new actions.
16269         (TreePageAction.TreePageAction): Set action name.
16270         (TreePageAction.actionPerformed): Implemented.
16271         (TreePageAction.isEnabled): Implemented.
16272         (TreeToggleAction.TreePageAction): Set action name.
16273         (TreeToggleAction.actionPerformed): Implemented.
16274         (TreeToggleAction.isEnabled): Implemented.
16275         (TreeTraverseAction.TreeTraverseAction): Set action name.
16276         (TreeTraverseAction.actionPerformed): Use action name as command.
16277         (TreeTraverseAction.isEnabled): Implemented.
16278
16279 2006-06-08  Roman Kennke  <kennke@aicas.com>
16280
16281         * javax/swing/plaf/basic/BasicTreeUI.java
16282         (installKeyboardActions): Rewritten to correctly install the UI
16283         input and action maps.
16284         (getActionMap): New helper method.
16285         (createDefaultActionMap): New helper method.
16286         (TreeHomeAction.TreeHomeAction()): Implemented.
16287         (TreeHomeAction.actionPerformed): Implemented.
16288         (TreeHomeAction.isEnabled): Implemented.
16289         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16290         (TreeIncrementAction.actionPerformed): Use action name as command.
16291         (TreeIncrementAction.isEnabled): Implemented.
16292
16293 2006-06-08  Mark Wielaard  <mark@klomp.org>
16294
16295         PR 27917
16296         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16297         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16298         and unref loader.
16299
16300 2006-06-08  Mark Wielaard  <mark@klomp.org>
16301
16302         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16303         (attrs): Removed unused static.
16304
16305 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16306
16307         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16308         (getInputMap): New method,
16309         (getActionMap): New method,
16310         (createActionMap): New method,
16311         (installKeyboardActions): Implemented,
16312         (uninstallKeyboardActions): Implemented.
16313
16314 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16315
16316         * javax/swing/border/MatteBorder.java:
16317         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16318         throwing.
16319         (paintBorder): Added if-statement to abort painting early.
16320
16321 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16322
16323         Fixes PR27864.
16324         * gnu/xml/dom/DomIterator.java:
16325         (successor): Changed expression.
16326
16327 2006-06-08  Sven de Marothy  <sven@physto.se>
16328
16329         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16330         (defaultLayout): Do kerning.
16331         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16332         (getKerning): Correct class name, removed unused variable.
16333
16334 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16335
16336         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16337         libqtpeer.so unconditionally.
16338
16339 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16340
16341         * java/util/InputMismatchException.java:
16342         Documented.
16343         
16344 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16345
16346         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16347
16348 2006-06-07  Roman Kennke  <kennke@aicas.com>
16349
16350         * javax/swing/plaf/basic/BasicTreeUI.java
16351         (completeUIUninstall): Implemented.
16352         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16353         editing before uninstalling anything.
16354         (isToggleEvent): Implemented.
16355         (selectPathForEvent): Make use of isToggleEvent().
16356         (ComponentHandler.componentMoved): Implemented.
16357         (ComponentHandler.startTimer): Implemented.
16358         (ComponentHandler.getScrollPane): Implemented.
16359         (ComponentHandler.actionPerformed): Implemented.
16360
16361 2006-06-07  Francis Kung  <fkung@redhat.com>
16362
16363         * javax/swing/JMenuBar.java:
16364         (getSubElements): Do not return null values.
16365
16366 2006-06-07  Roman Kennke  <kennke@aicas.com>
16367
16368         PR 27902
16369         * gnu/regexp/BacktrackStack.java
16370         * gnu/regexp/CharIndexed.java
16371         * gnu/regexp/CharIndexedCharArray.java
16372         * gnu/regexp/CharIndexedCharSequence.java
16373         * gnu/regexp/CharIndexedInputStream.java
16374         * gnu/regexp/CharIndexedString.java
16375         * gnu/regexp/CharIndexedStringBuffer.java
16376         * gnu/regexp/RE.java
16377         * gnu/regexp/REException.java
16378         * gnu/regexp/REFilterInputStream.java
16379         * gnu/regexp/REMatch.java
16380         * gnu/regexp/REMatchEnumeration.java
16381         * gnu/regexp/RESyntax.java
16382         * gnu/regexp/REToken.java
16383         * gnu/regexp/RETokenAny.java
16384         * gnu/regexp/RETokenBackRef.java
16385         * gnu/regexp/RETokenChar.java
16386         * gnu/regexp/RETokenEnd.java
16387         * gnu/regexp/RETokenEndOfPreviousMatch.java
16388         * gnu/regexp/RETokenEndSub.java
16389         * gnu/regexp/RETokenIndependent.java
16390         * gnu/regexp/RETokenLookAhead.java
16391         * gnu/regexp/RETokenLookBehind.java
16392         * gnu/regexp/RETokenNamedProperty.java
16393         * gnu/regexp/RETokenOneOf.java
16394         * gnu/regexp/RETokenPOSIX.java
16395         * gnu/regexp/RETokenRange.java
16396         * gnu/regexp/RETokenRepeated.java
16397         * gnu/regexp/RETokenStart.java
16398         * gnu/regexp/RETokenWordBoundary.java
16399         * gnu/regexp/UncheckedRE.java
16400         * gnu/java/util/regex/BacktrackStack.java
16401         * gnu/java/util/regex/CharIndexed.java
16402         * gnu/java/util/regex/CharIndexedCharArray.java
16403         * gnu/java/util/regex/CharIndexedCharSequence.java
16404         * gnu/java/util/regex/CharIndexedInputStream.java
16405         * gnu/java/util/regex/CharIndexedString.java
16406         * gnu/java/util/regex/CharIndexedStringBuffer.java
16407         * gnu/java/util/regex/RE.java
16408         * gnu/java/util/regex/REException.java
16409         * gnu/java/util/regex/REFilterInputStream.java
16410         * gnu/java/util/regex/REMatch.java
16411         * gnu/java/util/regex/REMatchEnumeration.java
16412         * gnu/java/util/regex/RESyntax.java
16413         * gnu/java/util/regex/REToken.java
16414         * gnu/java/util/regex/RETokenAny.java
16415         * gnu/java/util/regex/RETokenBackRef.java
16416         * gnu/java/util/regex/RETokenChar.java
16417         * gnu/java/util/regex/RETokenEnd.java
16418         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16419         * gnu/java/util/regex/RETokenEndSub.java
16420         * gnu/java/util/regex/RETokenIndependent.java
16421         * gnu/java/util/regex/RETokenLookAhead.java
16422         * gnu/java/util/regex/RETokenLookBehind.java
16423         * gnu/java/util/regex/RETokenNamedProperty.java
16424         * gnu/java/util/regex/RETokenOneOf.java
16425         * gnu/java/util/regex/RETokenPOSIX.java
16426         * gnu/java/util/regex/RETokenRange.java
16427         * gnu/java/util/regex/RETokenRepeated.java
16428         * gnu/java/util/regex/RETokenStart.java
16429         * gnu/java/util/regex/RETokenWordBoundary.java
16430         * gnu/java/util/regex/UncheckedRE.java
16431         Moved gnu.regexp classes to gnu.java.util.regex package.
16432         * java/util/regex/Matcher.java
16433         * java/util/regex/Pattern.java
16434         Adjusted import statements for new package name for gnu regexp.
16435
16436 2006-06-07  Tom Tromey  <tromey@redhat.com>
16437
16438         PR classpath/27905:
16439         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16440         Added missing charsets.
16441         (charsetForName): Don't check 'extendedLoaded'.
16442
16443 2006-06-07  Roman Kennke  <kennke@aicas.com>
16444
16445         PR 27833
16446         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16447         (clip(Shape)): Implemented correctly, so that the current shape
16448         gets intersected by the parameter shape.
16449
16450 2006-06-07  Lillian Angel  <langel@redhat.com>
16451
16452         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16453         (getTabBounds): If this method is called with a tab index
16454         that is not in the rects array, we need to re-layout the container
16455         so it is created.
16456
16457 2006-06-07  Lillian Angel  <langel@redhat.com>
16458
16459         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16460         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16461         * java/lang/String.java
16462         (codePointCount): Fixed check to match API. Shouldn't throw exception
16463         if end == count. end is 1 more than the endIndex, so end == count is 
16464         possible.
16465
16466 2006-06-07  Gary Benson  <gbenson@redhat.com>
16467
16468         PR 24895
16469         * native/jni/java-io/java_io_VMFile.c
16470         (Java_java_io_VMFile_toCanonicalForm): New method.
16471         * configure.ac: Added checks for lstat and readlink.
16472         * include/java_io_VMFile.h: Added new method.
16473         * vm/reference/java/io/VMFile.java: Use new method.
16474         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16475         * NEWS: Documented the above.
16476         * java/io/File.java: Javadoc fix.
16477
16478 2006-06-07  Roman Kennke  <kennke@aicas.com>
16479
16480         PR 27920
16481         * javax/swing/JTree.java
16482         (JTree()): Initialize with default model.
16483         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16484         on the updateUI() / setModel() order.
16485         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16486         paths.
16487         * javax/swing/plaf/basic/BasicTreeUI.java
16488         (BasicTreeUI()): Initialize listeners in installListeners().
16489         (setModel): Complete editing on model change. Correctly resetup
16490         the listeners. Update the layout cache accordingly.
16491         (setShowRootHandles): Complete editing and update layout. Do not
16492         call back into the JTree, this could cause cycles.
16493         (prepareForUIInstall): Implemented. Moved some init code from
16494         installUI() to this method.
16495         (completeUIInstall): Implemented. Moved some init code from
16496         installUI() to this method.
16497         (createDefaultCellEditor): Check for type of renderer, and install
16498         with null renderer when not DefaultTreeCellRenderer.
16499         (updateLayoutCacheExpandedNodes): Added null check for tree root
16500         to avoid NPE.
16501         (updateRenderer): Call updateEditor().
16502         (installListeners): Initialize the listeners here. Added some null
16503         checks to avoid NPEs.
16504         (installUI): Moved some init code to prepareForUIInstall() and
16505         completeUIInstall().
16506         (completeEditing): Return immediately if editing component is null
16507         or if the setting is to not stop editing on complete editing.
16508         (checkForClickInExpandControl): Call handleExpandControlClick()
16509         instead of toggleExpandState() directly.
16510         (isLocationInExpandControl): Rewritten to correctly determine the
16511         expand click location.
16512         (MouseHandler.mousePressed): Rewritten to make better use of the
16513         instance methods of BasicTreeUI to handle the click.
16514         (PropertyHandler.propertyChange): Handle model and cell renderer
16515         updates.
16516         * javax/swing/tree/DefaultTreeCellEditor.java
16517         (DefaultTreeCellEditor): Removed initialization of the icon. This
16518         is done so that the constructor can deal with null renderer as the
16519         RI does. Maybe this needs more fixing.
16520         * javax/swing/tree/TreePath.java
16521         (isDescendant): Fixed this method. The previous version did too
16522         much and compared the wrong things, which lead to a ClassCastException
16523         in equals().
16524         * javax/swing/tree/VariableHeightLayoutCache.java
16525         (update): Do nothing when model is null.
16526         (setModel): Clear the tables and update the layout. Added null
16527         check to prevent NPE.
16528
16529 2006-06-07  Sven de Marothy  <sven@physto.se>
16530
16531         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16532
16533 2006-06-07  Sven de Marothy  <sven@physto.se>
16534
16535         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16536         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16537         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16538         New files.
16539
16540         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16541         (getGlyphVector): Removed native method.
16542         (createGlyphVector, getStringBounds): Use new GV class.
16543
16544         * include/Makefile.am
16545         * native/jni/gtk-peer/Makefile.am
16546         Add new files.
16547
16548         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16549         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16550         (getGlyphVector): Removed native method.
16551         
16552 2006-06-07  Chris Burdess  <dog@gnu.org>
16553
16554         * gnu/classpath/debug/TeeInputStream.java,
16555           gnu/classpath/debug/TeeOutputStream.java,
16556           gnu/classpath/debug/TeeReader.java,
16557           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16558         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16559           read more characters than absolutely necessary in tryRead method.
16560
16561 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16562
16563         * examples/gnu/classpath/examples/swing/Demo.java:
16564         (mkMenuBar): Put look and feel radio buttons into 
16565         appropriate button group.
16566
16567 2006-06-07  Chris Burdess  <dog@gnu.org>
16568
16569         * gnu/xml/stream/SAXParser.java,
16570           gnu/xml/stream/XMLParser.java: Add command line options for setting
16571           parsing parameters (for simpler debugging).
16572         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16573           closing output stream is propagated to application.
16574
16575 2006-06-06  Mark Wielaard  <mark@klomp.org>
16576
16577         PR 27917
16578         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16579         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16580         call disposeSurface.
16581         (disposeSurface): New native method.
16582         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16583         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16584         pattern_pixels.
16585         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16586         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16587         cairo_pattern_destroy.
16588         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16589         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16590         New function to destroy the surface.
16591         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16592         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16593         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16594
16595 2006-06-06  Mark Wielaard  <mark@klomp.org>
16596
16597         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16598         with JNICALL.
16599
16600 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16601
16602         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16603         (paint): If has focus, paint special background color,
16604         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16605         (FocusHandler.focusGained): Implemented,
16606         (FocusHandler.focusLost): Implemented.
16607
16608 2006-06-06  Tom Tromey  <tromey@redhat.com>
16609
16610         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16611         Javadoc fix.
16612         (writeAttributeSet): Implemented.
16613
16614 2006-06-06  Tom Tromey  <tromey@redhat.com>
16615
16616         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16617         Implement.
16618         (SpecialAction.end): Removed.
16619         (IsindexAction.end): Likewise.
16620
16621 2006-06-06  Tom Tromey  <tromey@redhat.com>
16622
16623         * include/jni.h (JDK1_1InitArgs): New struct.
16624         (JDK1_1AttachArgs): Likewise.
16625
16626 2006-06-06  Tom Tromey  <tromey@redhat.com>
16627
16628         * java/security/UnresolvedPermission.java (getUnresolvedType): New
16629         method.
16630         (getUnresolvedName): New method.
16631         (getUnresolvedActions): New method.
16632         (getUnresolvedCerts): New method.
16633
16634 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16635
16636         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16637         (getColor): Removed debugging code.
16638
16639 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16640
16641         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16642         (getColor): Added support for "rgb(red, green, blue)" notation.
16643         (translateTag): Use Boolean.TRUE, not new Boolean().
16644
16645 2006-06-06  Roman Kennke  <kennke@aicas.com>
16646
16647         PR 27651
16648         * javax/swing/JTree.java
16649         (JTree(TreeModel)): Call updateUI() before setModel().
16650         (setModel): Don't call updateUI here.
16651
16652 2006-06-06  Lillian Angel  <langel@redhat.com>
16653         
16654         * native/plugin/gcjwebplugin.cc:
16655         Fixed failure message and commenting.
16656         (NP_Initialize): Added more comments.
16657
16658 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16659
16660         * javax/swing/JSplitPane.java
16661         (AccessibleJSplitPane): API doc fixes,
16662         (setDividerLocation): Likewise,
16663         * javax/swing/plaf/basic/BasicLookAndFeel.java
16664         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16665         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16666         (getInputMap): New method,
16667         (getActionMap): New method,
16668         (createActionMap): New method,
16669         (installKeyboardActions): Implemented,
16670         (uninstallKeyboardActions): Implemented.
16671
16672 2006-06-06  Roman Kennke  <kennke@aicas.com>
16673
16674         PR 27523
16675         * javax/swing/MenuSelectionManager.java
16676         (processKeyEvent): Added check to avoid
16677         ArrayIndexOutOfBoundsException.
16678
16679 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16680
16681         * gnu/javax/swing/text/html/htmlAttributeSet.java
16682         (getAttributeNames): Rewritten
16683
16684 2006-06-06  Chris Burdess  <dog@gnu.org>
16685
16686         * gnu/xml/transform/TransformerImpl.java: Check type of created
16687           document (more cases).
16688
16689 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16690
16691         * gnu/javax/swing/text/html/htmlAttributeSet.java
16692         (clone): New method. (copyAttributes): New method.
16693         (getResolveParent): Comment fix. (getAttribute):
16694         Rewritten. (addAttribute): Rewritten.
16695         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16696         New file.
16697
16698 2006-06-06  Roman Kennke  <kennke@aicas.com>
16699
16700         PR 27522
16701         * javax/swing/JMenuBar.java
16702         (processKeyBindingHelper): Added null check to prevent NPE.
16703
16704 2006-06-06  Roman Kennke  <kennke@aicas.com>
16705
16706         * javax/swing/plaf/basic/BasicInternalFrameUI.java
16707         (ShowSystemMenuAction): New class.
16708         (installKeyboardActions): Implemented.
16709         (uninstallKeyboardActions): Implemented.
16710         * javax/swing/plaf/metal/MetalInternalFrameUI.java
16711         (installKeyboardActions): Overridden to remove showSystemMenu action.
16712
16713 2006-06-06  Chris Burdess  <dog@gnu.org>
16714
16715         * gnu/xml/transform/TransformerImpl.java: Check type of created
16716           document.
16717
16718 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16719
16720         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16721         (getScreenDevices): Added explicit cast.
16722
16723 2006-06-06  Roman Kennke  <kennke@aicas.com>
16724
16725         * javax/swing/plaf/basic/BasicTextUI.java
16726         (installKeyboardActions): Use shared input map. Correctly
16727         install the input/action maps in the component's input/action
16728         map hierarchies.
16729         (getActionMap): New helper method for fetching an ActionMap from
16730         the UIManager or creating a default one if there is none supplied
16731         by the UIManager.
16732         (createActionMap): Add the TransferHandler's actions here. Made
16733         method private.
16734         (getInputMap): Leave out unnecessary method parameter. Load
16735         shared input map.
16736         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16737
16738 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16739
16740         * configure.ac: Added missing [ to expression.
16741
16742 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16743
16744         * configure.ac: Added missing { to expression.
16745
16746 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16747
16748         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16749         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16750         * include/Makefile.am: Added
16751         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16752         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16753         (GdkGraphicsConfiguration): Rewritten.
16754         (getColorModel): Rewritten.
16755         (getColorModel(int)): Rewritten.
16756         (getBounds): Rewritten.
16757         (createCompatibleVolatileImage): Implemented.
16758         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16759         initializer.
16760         (getDefaultScreenDevice): Rewritten.
16761         (nativeGetDefaultScreenDevice): New method.
16762         (getScreenDevices): Rewritten.
16763         (nativeGetScreenDevices): New method.
16764         (nativeInitState): New method.
16765         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16766         rewritten.
16767         (X11DisplayMode): New inner class.
16768         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16769         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16770         * native/jni/gtk-peer/gdkdisplay.h: New file.
16771         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16772         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16773         New function.
16774         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16775         New function.
16776         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16777         _nativeGetScreenDevices):
16778         New function.
16779         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16780         _nativeGetDefaultScreenDevice):
16781         New function.
16782         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16783         New file.
16784         * configure.ac: Added check for Xrandr library.
16785
16786 2006-06-06  Roman Kennke  <kennke@aicas.com>
16787
16788         * javax/swing/plaf/basic/BasicTableUI.java
16789         (getMaximumSize): Don't return null. Fixed calculation of
16790         table height.
16791         (getMinimumSize): Don't return null. Fixed calculation of
16792         table height.
16793         (getPreferredSize): Fixed calculation of with and height. Added
16794         API docs.
16795         (getHeight): New helper method.
16796
16797 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16798
16799         * javax/swing/JComponent.java
16800         (getInputMap(int)): Throw IllegalArgumentException for unknown 
16801         condition argument, and added API docs,
16802         (getInputMap()): Added API docs.
16803
16804 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16805
16806         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16807
16808 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16809
16810         * javax/swing/JTable.java
16811         (AccessibleJTableHeaderCell.header): New field,
16812         (AccessibleJTableHeaderCell.columnIndex): Likewise,
16813         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16814         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16815         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16816         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16817         (AccessibleJTable.getAccessibleChild(int)): Overridden,
16818         (AccessibleJTable.getAccessibleAt): Reimplemented.
16819
16820 2006-06-05  Sven de Marothy  <sven@physto.se>
16821
16822         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16823         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16824         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16825         (initFromVolatile): New method.
16826         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16827         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16828         Reimplement.
16829         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16830         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16831         (copyArea, drawVolatileImage): New methods.
16832         
16833 2006-06-05  Tania Bento  <tbento@redhat.com>
16834
16835         * javax/swing/JFrame.java
16836         (frameInit): Set background color and fixed layout parameters.
16837
16838 2006-06-05  Tom Tromey  <tromey@redhat.com>
16839
16840         * NEWS: Mention VMURLConnection.
16841
16842 2006-06-05  Lillian Angel  <langel@redhat.com>
16843
16844         * native/plugin/gcjwebplugin.cc:
16845         Added new field to keep track of initialization.
16846         (plugin_start_appletviewer): Fixed to return an error value, if
16847         an error was encountered when loading the appletviewer.
16848         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16849         has failed.
16850         (plugin_failed): New helper function. Shows a warning if the appletviewer
16851         has not been installed.
16852         (NP_Initialize): Added code to make sure this function is only called
16853         once.
16854
16855 2006-06-05  Lillian Angel  <langel@redhat.com>
16856
16857         * native/plugin/Makefile.am:
16858         Fixed to use a set plugin directory in the .mozilla directory.
16859         All applet logs are now stored here, instead of /tmp.
16860         * native/plugin/gcjwebplugin.cc:
16861         Added new fields for security warning.
16862         (GCJ_NEW): Added code to generate a security warning for all pages
16863         that spawn an appletviewer. This warning asks the user if they trust
16864         the applet and if they would like to add it to a 'whitelist'. This
16865         whitelist keeps track of all the addresses the user would like
16866         to trust indefinitely.
16867         (plugin_user_trusts_documentbase): New helper function.
16868         (plugin_add_documentbase_to_whitelist): New helper function.
16869         (plugin_ask_user_about_documentbase): New helper function.
16870         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
16871         has been set.
16872         (plugin_start_appletviewer): Likewise.
16873         (plugin_create_applet_tag):  Reset all fields to null after they have been
16874         freed.
16875         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
16876         if channel_error has been set.
16877         (plugin_stop_appletviewer): Likewise.
16878         (NP_Initialize): Likewise. Also, added code to determine if directory and file
16879         should be created.      
16880
16881 2006-06-05  Francis Kung  <fkung@redhat.com>
16882         
16883         PR 27507
16884         * gnu/java/awt/peer/gtk/GtkImage.java
16885         (getSource): Added check to determine if in
16886         errorLoading state.
16887         * gnu/java/awt/peer/gtk/GtkToolkit.java
16888         (createImage): Added check to prevent NPE.
16889
16890 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16891
16892         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16893         Create the ImageView, when applicable.
16894         * gnu/javax/swing/text/html/CombinedAttributes.java,
16895         javax/swing/text/html/ImageView.java: New files.
16896
16897 2006-06-05  Roman Kennke  <kennke@aicas.com>
16898
16899         PR 27834
16900         * javax/swing/text/GapContent.java
16901         (setPositionsInRange): Compare with startIndex and endIndex
16902         rather than start and end.
16903         (dumpMarks): Only dump real marks.
16904
16905 2006-06-05  Sven de Marothy  <sven@physto.se>
16906
16907         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
16908         (ComponentGraphics): Use 0,0 as clip origin.
16909         
16910 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16911
16912         * java/util/Formattable.java,
16913         * java/util/FormattableFlags.java,
16914         * java/util/Formatter.java:
16915         Documented.
16916
16917 2006-06-04  Tom Tromey  <tromey@redhat.com>
16918
16919         * javax/naming/Context.java (list): Genericized.
16920         (listBindings): Likewise.
16921         * javax/naming/Reference.java (addrs): Genericized.
16922         * javax/naming/InitialContext.java (myProps): Fixed type.
16923         (init): Genericized.
16924         
16925 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16926
16927         * java/util/DuplicateFormatFlagsException.java,
16928         * java/util/FormatFlagsConversionMismatchException.java,
16929         * java/util/FormatterClosedException.java,
16930         * java/util/IllegalFormatCodePointException.java,
16931         * java/util/IllegalFormatConversionException.java,
16932         * java/util/IllegalFormatException.java,
16933         * java/util/IllegalFormatFlagsException.java,
16934         * java/util/IllegalFormatPrecisionException.java,
16935         * java/util/IllegalFormatWidthException.java,
16936         * java/util/MissingFormatArgumentException.java,
16937         * java/util/MissingFormatWidthException.java,
16938         * java/util/UnknownFormatConversionException.java,
16939         * java/util/UnknownFormatFlagsException.java:
16940         Documented.
16941
16942 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16943
16944         * java/lang/System.java:
16945         (getenv()): Handle cases where split only
16946         returns an array of size 1.
16947         
16948 2006-06-04  Sven de Marothy  <sven@physto.se>
16949
16950         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16951         (createVolatileImage): Pass peer to VolatileImage constructor.
16952         * java/awt/Component.java
16953         (createVolatileImage): Call peer method directly.
16954         
16955 2006-06-04  Sven de Marothy  <sven@physto.se>
16956
16957         * gnu/java/awt/peer/gtk/CairoSurface.java
16958         (getFlippedBuffer): New method.
16959         (getGtkImage): Renamed method.
16960         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16961         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16962         Renamed getSharedImage to getGtkImage.
16963         * include/gnu_java_awt_peer_gtk_CairoSurface.h
16964         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16965         (getFlippedBuffer): New method
16966         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16967         Avoid window casts.
16968 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16969
16970         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16971         (drawVolatile): Add casts.
16972         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16973         (getOutline): Add casts.
16974         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16975         Comment out unused prototype.
16976         (getPixels): Add appropriate cast and comment out unused variable.
16977         
16978 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
16979
16980         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16981         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16982         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16983         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16984         (getSystemInstance): Fix javadoc @link.
16985         (counter): Increased visibility.
16986         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16987         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16988         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16989         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16990         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16991         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16992         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16993         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16994         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16995         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16996         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16997         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16998         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16999         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17000         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17001         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17002         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17003         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17004         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17005         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17006         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17007         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17008         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17009         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17010         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17011         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17012         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17013         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17014         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17015         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17016         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17017
17018 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17019
17020         * gnu/java/security/PolicyFile.java: Updated copyright year.
17021         (logger): Increased visibility.
17022         * gnu/java/security/x509/Util.java: Updated copyright year.
17023         (hexDump): Fix javadoc @link.
17024         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17025         Removed unused import.
17026         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17027         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17028         * gnu/java/security/util/ExpirableObject.java: Likewise.
17029         (destroy): Likewise.
17030         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17031         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17032         Updated copyright year.
17033         (checkCRL): Fix javadoc @param.
17034
17035 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17036
17037         * java/lang/annotation/IncompleteAnnotationException.java:
17038         Documented.
17039
17040 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17041
17042         * java/lang/ProcessBuilder.java:
17043         Documented.
17044         (environment): Create as a copy.
17045         * java/lang/System.java:
17046         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17047         New constructor.
17048         (EnvironmentMap.put(String,String)): Override superclass
17049         method with checks for nulls and non-Strings.
17050         
17051 2006-06-02  Sven de Marothy  <sven@physto.se>
17052
17053         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17054         (cairoPreserveClip, cairoResetClip): New methods.
17055         (setClip, clip): Reimplement.
17056         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17057         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17058         (cairoPreserveClip, cairoResetClip): New methods.
17059         
17060 2006-06-02  Sven de Marothy  <sven@physto.se>
17061
17062         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17063         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17064         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17065         New files.
17066         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17067         (drawImage): Overloads for VolatileImage drawing.
17068         (drawVolatile): New method.
17069         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17070         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17071         (drawVolatile): New method.
17072         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17073         Unstub implementation.
17074         * include/Makefile.am
17075         * native/jni/gtk-peer/Makefile.am
17076         Add new files.
17077         * native/jni/gtk-peer/gtkpeer.h
17078         New prototype.
17079         
17080 2006-06-03  Roman Kennke  <kennke@aicas.com>
17081
17082         PR 27418
17083         * javax/swing/plaf/basic/BasicTextUI.java
17084         (damageRange): Added null check to avoid NPE.
17085
17086 2006-06-03  Roman Kennke  <kennke@aicas.com>
17087
17088         * javax/swing/text/PlainView.java
17089         (updateDamage): Check for valid longestLine and initialize if
17090         necessary.
17091
17092 2006-06-03  Mark Wielaard  <mark@klomp.org>
17093
17094         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17095         comments, not C++.
17096
17097 2006-06-02  Sven de Marothy  <sven@physto.se>
17098
17099         PR 27879 
17100         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17101         (copyArea): Implement.
17102         (copyAreaImpl, getRealBounds): New methods.
17103         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17104         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17105         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17106         (copyAreaImpl, getRealBounds): Implement.
17107         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17108         (nativeCopyArea): Reimplement.  
17109         
17110 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17111
17112         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17113         (XTEST_LIBS): New, substitute.
17114         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17115
17116 2006-06-02  Roman Kennke <kennke@aicas.com>
17117
17118         PR 26738
17119         * javax/swing/text/PlainView.java
17120         (updateDamage): Rewritten for correct repainting and revalidating.
17121         (findLongestLine): New helper method.
17122         (getLineLength): New helper method.
17123
17124 2006-06-02  Sven de Marothy  <sven@physto.se>
17125
17126         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17127         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17128         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17129         (nativeCopyArea): Change stride parameter to use # of ints.
17130         (setPixels): Add checks.
17131         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17132         (ComponentGraphics): Set background, clip.
17133         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17134         (Cairographics2D): Don't set clip.
17135         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17136         Add flush.
17137
17138 2006-06-02  Lillian Angel  <langel@redhat.com>
17139
17140         PR 24458
17141         * java/awt/DefaultKeyboardFocusManager.java
17142         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17143         to get the focused window.
17144
17145 2006-06-01  Miriam Schuster  <schmir11@web.de>
17146
17147         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17148         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17149
17150 2006-06-02  Roman Kennke <kennke@aicas.com>
17151
17152         * javax/swing/JTable.java
17153         (columnSelectionChanged): Don't return when there's only one
17154         column (might still need repainting). Correctly calculate
17155         repaint rectangle.
17156         (valueChanged): Use return value of SwingUtilities.computeUnion
17157         as dirty region.
17158
17159 2006-06-01  Keith Seitz  <keiths@redhat.com>
17160
17161         From Martin Platter  <motse@complang.tuwien.ac.at>:
17162         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17163         (executeSet): Fix buffer underflow reading reference ID.
17164         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17165         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17166         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17167         (executeSuperclass): Handle case of Object with ID zero.
17168
17169 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17170
17171         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17172         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17173         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17174         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17175         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17176         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17177         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17178         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17179         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17180         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17181         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17182
17183 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17184
17185         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17186         (Command): Add the shutdown hook.
17187         (doCommand): Remove the shutdown hook.
17188         (ShutdownHook): New class.
17189
17190 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17191
17192         * tools/jarsigner.in: Use @VM_BINARY@.
17193         * tools/keytool.in: Likewise.
17194
17195 2006-06-01  Sven de Marothy  <sven@physto.se>
17196
17197         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17198         (setColor): Update the cairo paint.
17199
17200 2006-06-01  Mark Wielaard  <mark@klomp.org>
17201
17202         * java/util/logging/LogManager.java (createInstance): Always add
17203         original exception on warning.
17204
17205 2006-06-01  Lillian Angel  <langel@redhat.com>
17206
17207         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17208         (prependCodebase): Fixed check. No dirname was ever considered to 
17209         be a file, so every applet fell into the if-statement causing a lot
17210         of classloading problems with the applets.
17211
17212 2006-06-01  Sven de Marothy  <sven@physto.se>
17213
17214         Patch submitted by Boris Dusek.
17215         * native/jni/qt-peer/qtmenupeer.cpp
17216         Fix segfault
17217
17218 2006-06-01  Roman Kennke <kennke@aicas.com>
17219
17220         * javax/swing/JTable.java
17221         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17222         why the behaviour is like it is.
17223         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17224         (AccessibleJTableHeader): New inner class.
17225         (AccessibleJTableHeaderCell): New inner class.
17226         (AccessibleJTable.lastSelectedRow): New field.
17227         (AccessibleJTable.lastSelectedColumn): New field.
17228         (AccessibleJTable.caption): New field.
17229         (AccessibleJTable.summary): New field.
17230         (AccessibleJTable.rowDescriptions): New field.
17231         (AccessibleJTable.columnDescriptions): New field.
17232         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17233         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17234         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17235         (AccessibleJTable.addAccessibleSelection): Implemented.
17236         (AccessibleJTable.removeAccessibleSelection): Implemented.
17237         (AccessibleJTable.clearAccessibleSelection): Implemented.
17238         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17239         (AccessibleJTable.valueChange): Implemented.
17240         (AccessibleJTable.tableRowsInserted): Implemented.
17241         (AccessibleJTable.tableRowsDeleted): Implemented.
17242         (AccessibleJTable.handleRowChange): New helper method.
17243         (AccessibleJTable.columnAdded): Implemented.
17244         (AccessibleJTable.columnMarginChanged): Implemented.
17245         (AccessibleJTable.columnMoved): Implemented.
17246         (AccessibleJTable.columnRemoved): Implemented.
17247         (AccessibleJTable.columnSelectionChanged): Implemented.
17248         (AccessibleJTable.handleColumnChange): New helper method.
17249         (AccessibleJTable.editingCanceled): Implemented.
17250         (AccessibleJTable.editingStopped): Implemented.
17251         (AccessibleJTable.getAccessibleRow): Implemented.
17252         (AccessibleJTable.getAccessibleColumn): Implemented.
17253         (AccessibleJTable.getAccessibleIndex): Implemented.
17254         (AccessibleJTable.getAccessibleCaption): Implemented.
17255         (AccessibleJTable.setAccessibleCaption): Implemented.
17256         (AccessibleJTable.getAccessibleSummary): Implemented.
17257         (AccessibleJTable.setAccessibleSummary): Implemented.
17258         (AccessibleJTable.getAccessibleRowCount): Implemented.
17259         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17260         (AccessibleJTable.getAccessibleAt): Implemented.
17261         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17262         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17263         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17264         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17265         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17266         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17267         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17268         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17269         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17270         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17271         (AccessibleJTable.isAccessibleSelected): Implemented.
17272         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17273         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17274         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17275         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17276         (getAccessibleContext): Register listeners for the accessibility
17277         class on the JTable.
17278
17279 2006-06-01  Sven de Marothy  <sven@physto.se>
17280
17281         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17282         (setPaint): Scale +1 pixel larger.
17283
17284 2006-06-01  Sven de Marothy  <sven@physto.se>
17285
17286         PR 27854
17287         * gnu/java/awt/Buffers.java (getData): Reimplement.
17288         * gnu/java/awt/peer/gtk/CairoSurface.java
17289         (getElem, setElem): Call native methods.
17290
17291 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17292
17293         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17294
17295 2006-06-01  Sven de Marothy  <sven@physto.se>
17296
17297         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17298         (drawImage): Check for zero size.
17299         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17300         (setFont): Declare new native method.
17301         (GdkTextLayout): Read some attributes.
17302         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17303         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17304         (setFont): New native method.
17305         
17306 2006-06-01  Sven de Marothy  <sven@physto.se>
17307
17308         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17309         (updateBufferedImage): Fix some errors.
17310
17311 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17312
17313         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17314         fixes,
17315         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17316         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17317         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17318         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17319         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17320         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17321         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17322         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17323         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17324         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17325         
17326 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17327
17328         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17329         * javax/swing/JEditorPane.java: Likewise,
17330         * javax/swing/JFormattedTextField.java: Likewise,
17331         * javax/swing/JLayeredPane.java: Likewise,
17332         * javax/swing/JScrollPane.java: Likewise,
17333         * javax/swing/JSlider.java: Likewise,
17334         * javax/swing/JSpinner.java: Likewise,
17335         * javax/swing/JTree.java: Likewise,
17336         * javax/swing/JViewport.java: Likewise,
17337         * javax/swing/UIDefaults.java: Likewise,
17338         * javax/swing/UIManager.java: Likewise.
17339         
17340 2006-06-01  Sven de Marothy  <sven@physto.se>
17341
17342         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17343         (BufferedImageGraphics): Cache surfaces.
17344         (updateBufferedImage): Copy directly for certain color models.
17345         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17346         (drawImage): Reimplement.
17347
17348 2006-06-01  Sven de Marothy  <sven@physto.se>
17349
17350         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17351         (setPixels): Don't swap, correct size.
17352
17353 2006-05-31  Anthony Green  <green@redhat.com>
17354
17355         PR 27828
17356         * java/net/InetSocketAddress.java: Defer getting the host
17357         name until somebody calls InetSocketAddress.getHostName().
17358         Fix "represenation" typo.
17359
17360 2006-06-01  Sven de Marothy  <sven@physto.se>
17361
17362         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17363         (updateBufferedImage): Simplify.
17364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17365         (getPixels): Don't swap.
17366
17367 2006-06-01  Sven de Marothy  <sven@physto.se>
17368
17369         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17370         (setGradient): Reimplement.
17371         
17372 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17373
17374         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17375         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17376         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17377         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17378         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17379         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17380         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17381         Likewise.
17382
17383 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17384
17385         * javax/swing/table/JTableHeader.java
17386         (getColumnHeaderRenderer): New method,
17387         (getAccessibleColumnHeaderRenderer): Delegate part to new
17388         getColumnHeaderRenderer() method,
17389         (getLocale): Implemented.
17390
17391 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17392
17393         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17394         (cp_gtk_grab_current_drawable): Rename
17395         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17396         cp_gtk_grab_current_drawable, remove static declaration.
17397         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17398         function.
17399         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17400         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17401         Remove prototype of
17402         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17403         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17404         function.
17405         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17406         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17407         cp_gtk_grab_current_drawable here.
17408
17409 2006-05-31  Sven de Marothy  <sven@physto.se>
17410
17411         Should fix PR 27835
17412         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17413         (updateBufferedImage): Keep within image bounds.
17414
17415 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17416             Andreas Tobler  <a.tobler@schweiz.ch>
17417
17418         * configure.ac: Check for libXrender when the GTK peers are
17419         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17420         X_EXTRA_LIBS.
17421         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17422         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17423         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17424
17425 2006-05-31  Lillian Angel  <langel@redhat.com>
17426
17427         * javax/swing/plaf/basic/BasicProgressBarUI.java
17428         (paintString): Implemented to paint the string vertically.
17429
17430 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17431
17432         * javax/swing/JTable.java
17433         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17434         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17435         value,
17436         (AccessibleJTable.getAccessibleTable()): Likewise,
17437         (getAccessibleContext): Create new context if required.
17438
17439 2006-05-31  Roman Kennke <kennke@aicas.com>
17440
17441         * javax/swing/JTabbedPane.java
17442         (AccessibleJTabbedPane.stateChanged): Implemented.
17443         (Page.getAccessibleStateSet): Implemented.
17444         (Page.getAccessibleIndexInParent): Implemented.
17445         (getAccessibleContext): Add AccessibleJTabbedPane object
17446         as ChangeListener to the JTabbedPane.
17447
17448 2006-05-31  Roman Kennke <kennke@aicas.com>
17449
17450         * javax/swing/JMenuItem.java
17451         (getAccessibleContext): Register accessible object as ChangeListener
17452         to the JMenuItem.
17453         (AccessibleJMenuItem.armed): New field.
17454         (AccessibleJMenuItem.focusOwner): New field.
17455         (AccessibleJMenuItem.pressed): New field.
17456         (AccessibleJMenuItem.selected): New field.
17457         (stateChanged): Implemented.
17458
17459 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17460
17461         * javax/swing/ListSelectionModel.java: Added API docs all over.
17462
17463 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17464
17465         * examples/gnu/classpath/examples/swing/FillRect.java 
17466         (paintComponent): Optionally paint lines rather than rectangles.
17467         (createContent): Added option to test line painting.
17468
17469 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17470
17471         * javax/swing/event/EventListenerList.java
17472         (getListenerList): Updated API docs.
17473
17474 2006-05-30  Sven de Marothy  <sven@physto.se>
17475
17476         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17477         (drawImage): Clip scaled image to dest rectangle.
17478
17479 2006-05-30  Sven de Marothy  <sven@physto.se>
17480
17481         * gnu/java/awt/peer/gtk/CairoSurface.java:
17482         (CairoSurface): Convert pixels properly.
17483         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17484         Remove commented-out lines.
17485
17486 2006-05-30  Sven de Marothy  <sven@physto.se>
17487
17488         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17489         (drawImage): Use Toolkit to convert to BufferedImage.
17490         * gnu/java/awt/peer/gtk/CairoSurface.java
17491         (CairoSurface(GtkImage)): New Constructor.
17492         (getBufferedImage): New method.
17493         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17494         Don't fill background - FIXME.
17495         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17496         Remove unused methods.
17497         * gnu/java/awt/peer/gtk/GtkImage.java:
17498         (pixbuflock): New field. Methods change to use this lock.
17499         * gnu/java/awt/peer/gtk/GtkToolkit.java
17500         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17501         GtkPixbufDecoder.
17502         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17503         (setPixels): Correct length in bytes.
17504
17505 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17506
17507         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17508         System.loadLibrary unconditionally.
17509         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17510         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17511         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17512         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17513
17514 2006-05-30  Mark Wielaard  <mark@klomp.org>
17515
17516         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17517         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17518         Mark unused parameters, remove unused variables.
17519
17520 2006-05-30  Sven de Marothy  <sven@physto.se>
17521
17522         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17523         (copyArea): Implemented.
17524         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17526         (copyAreaNative): New method.
17527
17528 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17529
17530         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17531         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17532         for non big endian systems.
17533         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17534
17535 2006-05-30  Roman Kennke <kennke@aicas.com>
17536
17537         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17538         * java/awt/TexturePaint.java
17539         (createContext): Implemented.
17540
17541 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17542
17543         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17544         field early.
17545
17546 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17547
17548         * java/awt/Container.java:
17549         (removeAll): Reimplemented, added note.
17550
17551 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17552
17553         * java/awt/Container.java:
17554         (removeAll): Implemented different removal mechanism, added note.
17555
17556 2006-05-30  Lillian Angel  <langel@redhat.com>
17557
17558         PR 27785
17559         * java/awt/Component.java:
17560         (translateEvent): Added handling to translate WindowEvents
17561         * java/awt/Window.java:
17562         Removed unneeded imports.
17563
17564 2006-05-30  Mark Wielaard  <mark@klomp.org>
17565
17566         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17567         cairographics2d.h.
17568
17569 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17570
17571         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17572
17573 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17574
17575         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17576         (clearRect): Do not reuse the fg field, call updateColor.
17577         (drawRaster): Likewise.
17578         (setColor): Call updateColor.
17579         (updateColor): New method.
17580
17581 2006-05-30  Mark Wielaard  <mark@klomp.org>
17582
17583         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17584         (PTR_TO_JLONG): Likewise.
17585         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17586         (getPointer): Use new conversion macros.
17587         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17588         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17589         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17590         Likewise.
17591         (setNativeObject): Likewise.
17592         (getNativeObject): Likewise.
17593         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17594         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17595         Mark static.
17596         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17597         Correctly cast XID and pointer values.
17598         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17599         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17600         Mark unused variables.
17601         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17602         Likewise.
17603         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17604         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17605         Remove unused cairographics2d struct.
17606         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17607         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17608         Use new conversion macros.
17609         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17610
17611 2006-05-30  Mark Wielaard  <mark@klomp.org>
17612
17613         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17614
17615 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17616
17617         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17618         (copy): Do not reuse the fd field.
17619         (setColor): Do not set the color if the parameter
17620         matches fd field.
17621         (translate(double, double): Rewritten to use
17622         AffineTransform.translate. 
17623
17624 2006-05-30  Sven de Marothy  <sven@physto.se>
17625
17626         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17627         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17628         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17629         New files.
17630         * include/Makefile.am
17631         * native/jni/gtk-peer/Makefile.am
17632         Add new files.
17633         * gnu/java/awt/peer/gtk/CairoSurface.java
17634         (getSharedGtkImage): New method.
17635         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17636         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17637         Fix copyArea.
17638         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17639         Support a non-xrender context.
17640         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17641         Plug memory leak.
17642         * gnu/java/awt/peer/gtk/GtkImage.java
17643         * include/gnu_java_awt_peer_gtk_GtkImage.h
17644         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17645         (initFromBuffer): New method.   
17646         * native/jni/gtk-peer/gtkpeer.h: 
17647         Remove declarations of previouslyremoved methods.
17648
17649 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
17650
17651         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17652
17653 2006-05-29  Mark Wielaard  <mark@klomp.org>
17654
17655         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17656         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17657         arguments.
17658         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17659         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17660         early. Remove unused return statement in void function.
17661         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17662         ptr early.
17663         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17664         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17665         unused arguments.
17666         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17667         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17668         Likewise.
17669         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17670         Likewise.
17671
17672 2006-05-29  Sven de Marothy  <sven@physto.se>
17673
17674         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17675         (setPixels): Remove superfluous return statement.       
17676
17677 2006-05-29  Sven de Marothy  <sven@physto.se>
17678
17679         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17680         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17681         * gnu/java/awt/peer/gtk/CairoSurface.java
17682         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17683         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17684         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17685         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17686         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17687         * native/jni/gtk-peer/cairographics2d.h
17688         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17689         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17690         New files.
17691
17692         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17693         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17694         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17695         Removed
17696
17697         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17698         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17699         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17700         (releasePeerGraphicsResource): Moved to Font peer class.
17701
17702         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17703         (createGraphics): Use new context classes.
17704
17705         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17706         Use native BufferedImages where possible.
17707
17708         * gnu/java/awt/peer/gtk/GdkTextLayout.java
17709         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17710         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17711         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17712         renamed to cairoDrawGdkTextLayout.
17713         
17714         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17715         (getGraphics): Use ComponentGraphics context.
17716         (createImage): Use native BufferedImage.
17717         
17718         * gnu/java/awt/peer/gtk/GtkImage.java:
17719         * include/gnu_java_awt_peer_gtk_GtkImage.h
17720         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17721         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17722         Remove drawing methods.
17723                 
17724         * gnu/java/awt/print/JavaPrinterGraphics.java:
17725         Use CairoSurface instead of GtkImage.
17726         
17727         * include/Makefile.am
17728         * native/jni/gtk-peer/Makefile.am
17729         Update for new files.
17730
17731         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17732         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17733         Remove superfluous GtkImage code for GdkPixmaps. 
17734
17735         * native/jni/gtk-peer/gtkpeer.h
17736         Remove graphics2d structure.
17737         
17738 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17739
17740         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17741         Do not reuse fg in the constructor.
17742
17743 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
17744
17745         * java/io/ObjectStreamConstants.java: Added API docs.
17746
17747 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17748
17749         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17750         Take no action if this color is already set.
17751
17752 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17753
17754         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17755         Rewritten. 
17756         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17757         Optionally paint with translation. (createContent): Added option
17758         to test painting with translation
17759
17760 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
17761
17762         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17763         pattern to the default value when null.
17764         Pass field pattern, and not parameter with same name to createFileStream.
17765
17766 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17767
17768         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17769         New class implementing the OS bean.
17770         * gnu/java/lang/management/package.html:
17771         New file to document the gnu.java.lang.management package.
17772         * java/lang/management/ManagementFactory.java:
17773         New class to provide access to the OS bean.
17774         * java/lang/management/OperatingSystemMXBean.java:
17775         New interface.
17776         * java/lang/management/package.html:
17777         New file to document the java.lang.management package.
17778         
17779 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17780
17781         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17782         (JKS): Likewise.
17783         (LIB): Likewise.
17784         (SECURITY): Likewise.
17785         (CACERTS): Likewise.
17786         (CACERTS_GKR): Likewise.
17787         (gkrCaCertsPathName): New field.
17788         (jksCaCertsPathName): Likewise.
17789         (selfSignedCertificate): Likewise.
17790         (start): Initialize trusted certificate key stores if -trustcacerts is
17791         specified.
17792         (ensureReplyIsOurs): Initialize selfSignedCertificate.
17793         (orderChain): Implemented.
17794         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17795         certificate key stores if -trustcacerts option is specified.
17796         (findTrustInCACerts): Removed.
17797         (getCertPathParameters): New method.
17798         (validate): New method.
17799         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17800
17801 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17802
17803         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17804         (PATTERN_KEY): Likewise.
17805         (DEFAULT_PATTERN): Likewise.
17806         (LIMIT_KEY): Likewise.
17807         (DEFAULT_LIMIT): Likewise.
17808         (COUNT_KEY): Likewise.
17809         (DEFAULT_COUNT): Likewise.
17810         (APPEND_KEY): Likewise.
17811         (DEFAULT_APPEND): Likewise.
17812         (FileHandler()): Use pattern value as set in logging.properties.
17813         Use constants defined above.
17814         (FileHandler(1)): Use constants defined above.
17815         (FileHandler(2)): Likewise.
17816         (FileHandler(3)): Likewise.
17817         (FileHandler(4)): Likewise.
17818         (createFileStream): Likewise.
17819
17820 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17821
17822         * java/util/logging/FileHandler.java: Reverted previous patch.
17823         * java/util/logging/LogManager.java: Likewise.
17824
17825 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17826
17827         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17828         (DEFAULT_PATTERN): Likewise.
17829         (FileHandler()): Use configured pattern property if any; otherwise use a
17830         default value as per RI documentation.
17831         * java/util/logging/LogManager.java (getStringProperty): New method.
17832
17833 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17834
17835         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17836
17837 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17838
17839         * configure.ac (FOUND_CACAO): New automake conditional.
17840         Add --enable-tool-wrappers.
17841         * NEWS: Introduce the --enable-tool-wrappers option.
17842         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17843         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
17844         rename ...
17845         * tools/toolwrapper.c: New file.
17846
17847 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
17848
17849         * java/awt/Graphics2D.java: Use full class name for 
17850         PrinterJob in javadoc.
17851
17852 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
17853
17854         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17855         (callMouseMethod): Likewise.
17856
17857 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17858
17859         * native/jni/java-net/java_net_VMURLConnection.c:
17860         Fix function declarations to specify unused parameters.
17861         * scripts/check_jni_methods.sh:
17862         Remove copies of the same function using uniq.
17863         
17864 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17865
17866         * vm/reference/java/net/VMURLConnection.java:
17867         Make package-private and final.
17868         
17869 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17870
17871         * examples/gnu/classpath/examples/swing/TableDemo.java
17872         (TModed): Added editor for the icons column.
17873         (createContent): Increase the row height by 2 px.
17874
17875 2006-05-26  Tom Tromey  <tromey@redhat.com>
17876
17877         PR classpath/27685:
17878         * java/math/BigInteger.java (modPow): Correctly handle negative
17879         exponent.
17880
17881 2006-05-26  Tom Tromey  <tromey@redhat.com>
17882
17883         * configure.ac: Check for magic.h and -lmagic.
17884         * vm/reference/java/net/VMURLConnection.java: New file.
17885         * include/java_net_VMURLConnection.h: New file.
17886         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17887         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17888         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17889         Mention new file.
17890         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17891         * native/jni/java-net/java_net_VMURLConnection.c: New file.
17892
17893 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17894
17895         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17896
17897 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17898
17899         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17900         libjawtgnu.la libjawt.la.
17901
17902 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17903
17904         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17905         gtkcairopeer.h.
17906
17907 2006-05-25  Lillian Angel  <langel@redhat.com>
17908         
17909         PR 26174
17910         * java/awt/Window.java
17911         (Window): Moved code to helper.
17912         (addWindowFocusListener): New function. Handles focus
17913         listener code. Added code to handle focus lost/gained
17914         from the window.
17915
17916 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17917
17918         * configure.ac:
17919         Make pkg-config check for GTK+ >= 2.8.
17920         
17921 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17922
17923         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17924         (flush): Remove debugging printfs.
17925
17926 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17927
17928         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17929         (schedule_flush): New function.
17930         (end_drawing_operation): Call schedule_flush.
17931
17932 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17933
17934         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17935         paint performance demo.
17936         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17937
17938 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17939
17940         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
17941         Cairo version requirement.  Do not mention --enable-gtk-cairo
17942         configure option.
17943         * NEWS: Add entry for GdkGraphics2D.
17944         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17945         Cairo library and headers.
17946         * .externalToolBuilders/Configure.launch: Remove
17947         --enable-gtk-cairo from configure line.
17948         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17949         field.
17950         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17951         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17952         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17953         useGraphics2D references.  Always assume Graphics2D is enabled.
17954         * gnu/java/awt/peer/gtk/GdkGraphics.java,
17955         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17956         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17957         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17958         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
17959         useGraphics2D references.  Always assume Graphics2D is enabled.
17960         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17961         Graphics2D check.  Always assume Graphics2D is enabled.
17962         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17963         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17964         (realize): Remove method.
17965         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17966         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17967         (isRealized): Remove method.
17968         (realize): Implement as a native method.  Remove useGraphics2D
17969         references.  Always assume Graphics2D is enabled.
17970         * gnu/java/awt/peer/gtk/GtkImage.java,
17971         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17972         GdkGraphics references with GdkGraphics2D references.
17973         * gnu/java/awt/peer/gtk/GtkToolkit.java,
17974         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17975         useGraphics2D references.  Always assume Graphics2D is enabled.
17976         * include/Makefile.am (GTKPEER_H_FILES): Remove
17977         gnu_java_awt_peer_gtk_GdkGraphics.h.
17978         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17979         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17980         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17981         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17982         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17983         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17984         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17985         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
17986         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17987         (AM_LDFLAGS): Remove CAIRO_LIBS.
17988         (AM_CFLAGS): Remove CAIRO_CFLAGS.
17989         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
17990         to ...
17991         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17992
17993 2006-05-25  Lillian Angel  <langel@redhat.com>
17994
17995         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17996         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17997         Added check to prevent assertion error. If widget->window is null, then
17998         use the parent widget's window to set the cursor on.
17999
18000 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18001
18002         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18003         Implemented.
18004
18005 2006-05-24  Lillian Angel  <langel@redhat.com>
18006
18007         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18008         (prependCodeBase): Added check to determine if the documentbase
18009         points to a directory or a file.
18010
18011 2006-05-24  Sven de Marothy  <sven@physto.se>
18012
18013         * java/awt/dnd/DragGestureRecognizer.java
18014         (resetRecognizer): Implement.
18015         (fireDragGestureRecognized): Implement.
18016
18017 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18018
18019         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18020         fixed source code formatting.
18021
18022 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18023
18024         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18025
18026 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18027
18028         Reported by Antony Balkisson.
18029         * javax/swing/JTable.java (selectAll): Return without action 
18030         if the table is empty.
18031
18032 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18033
18034         * examples/gnu/classpath/examples/swing/TableDemo.java:
18035         (SliderCell): New inner class. (setCustomEditors,
18036         setInformativeHeaders): New fields. (createContent):
18037         Rewritten.
18038         * javax/swing/DefaultCellEditor.java 
18039         (JComboBoxDelegate.shouldSelectCell): New method.
18040         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18041         * javax/swing/plaf/basic/BasicTableUI.java
18042         (MouseInputHandler.mouseClicked): Start editing on a single
18043         click if the cell editor is not a default cell editor.
18044
18045 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18046
18047         * javax/swing/naming/CompositeName.java,
18048         javax/swing/naming/CompoundName.java:
18049         Documented.
18050
18051 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18052
18053         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18054         ordering problem.
18055
18056 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18057
18058         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18059         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18060         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18061         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18062         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18063         * javax/swing/tree/ExpandVetoException.java: Likewise,
18064         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18065         * javax/swing/tree/RowMapper.java: Likewise,
18066         * javax/swing/tree/TreeNode.java: Likewise,
18067         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18068         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18069
18070 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18071
18072         * javax/swing/tree/DefaultTreeCellRenderer.java
18073         (DefaultTreeCellRenderer): Changed key for 
18074         setBackgroundNonSelectionColor(),
18075         plus API docs all over.
18076
18077 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18078         
18079         PR 27680
18080         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18081         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18082         Initialise in constructor. (columnMoved): Cancel editing.
18083         (createDefaultEditors): Rewritten. (editCellAt):
18084         Just invert the value if this is a boolean cell. 
18085         (initialiseLocalVars): Do not initialise renderer and editor tables.
18086         (setUI): Create editors and renderers here.
18087
18088 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18089
18090         * examples/gnu/classpath/examples/awt/Demo.java:
18091         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18092         instance as subframe.
18093         (ResolutionWindow): New inner class.
18094         (FullscreenWindow): New inner class.
18095
18096 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18097         
18098         PR 27680
18099         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18100         Set horizontal alignment to centered.
18101
18102 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18103
18104         * javax/accessibility/AccessibleContext.java
18105         (getAccessibleComponent): Fixed typo in docs,
18106         * javax/swing/JLabel.java:
18107         (AccessibleJLabel.getAccessibleName): Check for explicit 
18108         accessibleName,
18109         * javax/swing/JTableHeader.java
18110         (AccessibleJTableHeaderEntry.columnIndex): New field,
18111         (AccessibleJTableHeaderEntry.parent): New field,
18112         (AccessibleJTableHeaderEntry.table): New field,
18113         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18114         Implemented,
18115         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18116         utility method,
18117         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18118         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18119         (AccessibleJTableHeaderEntry.contains): Implemented,
18120         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18121         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18122         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18123         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18124         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18125         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18126         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18127         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18128         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18129         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18130         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18131         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18132         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18133         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18134         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18135         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18136         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18137         (AccessibleJTableHeaderEntry.getFont): Implemented,
18138         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18139         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18140         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18141         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18142         (AccessibleJTableHeaderEntry.getSize): Implemented,
18143         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18144         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18145         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18146         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18147         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18148         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18149         Implemented,
18150         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18151         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18152         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18153         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18154         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18155         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18156         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18157         (AccessibleJTableHeaderEntry.setFont): Implemented,
18158         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18159         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18160         (AccessibleJTableHeaderEntry.setSize): Implemented,
18161         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18162         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18163         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18164         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18165         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18166
18167 2006-05-22  Tom Tromey  <tromey@redhat.com>
18168
18169         * NEWS: Updated.
18170
18171 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18172
18173         * javax/swing/JLabel.java
18174         (AccessibleJLabel.getAccessibleName): New method (override),
18175         (setLabelFor): Fire 'labelFor' property change event before other
18176         events.
18177
18178 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18179
18180         * javax/swing/JLabel.java
18181         (AccessibleJLabel.getAccessibleRole): New method (override).
18182
18183 2006-05-22  Tom Tromey  <tromey@redhat.com>
18184
18185         * resource/gnu/classpath/tools/serialver/messages.properties: New
18186         file.
18187         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18188         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18189         field.
18190         (classpath): Likewise.
18191         (run): New method.
18192         (main): Use it.
18193         (addFileURL): New method.
18194         (getClassLoader): Likewise.
18195         (printMessage): Likewise.
18196
18197 2006-05-22  Tom Tromey  <tromey@redhat.com>
18198
18199         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18200
18201 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18202
18203         * javax/swing/JTable.java (doLayout): In the column
18204         resize mode, only repaing the changed part of the table.
18205         (getLeftResizingBoundary): New method.
18206
18207 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18208
18209         * javax/naming/spi/InitialContextFactory.java,
18210         javax/naming/spi/InitialContextFactoryBuilder.java,
18211         javax/naming/spi/NamingManager.java,
18212         javax/naming/spi/ObjectFactory.java,
18213         javax/naming/spi/ResolveResult.java,
18214         javax/naming/spi/Resolver.java,
18215         javax/naming/spi/StateFactory.java: Documented.
18216
18217 2006-05-21  Tom Tromey  <tromey@redhat.com>
18218
18219         PR classpath/27688:
18220         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18221         a WorkSet.
18222         (initSet): Removed.
18223         (shouldExtract): Removed.
18224         (run): Updated.
18225         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18226         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18227         method.
18228         (listJar): Use it.
18229         (allItems): New field.
18230         (run): Initialize it.
18231         (listJar): Use it.
18232
18233 2006-05-22  Sven de Marothy  <sven@physto.se>
18234
18235         * java/nio/CharBuffer.java
18236         (wrap): Fix bounds checking.
18237
18238 2004-08-26  Tom Tromey  <tromey@redhat.com>
18239
18240         * java/io/OutputStream.java 
18241         (OutputStream): Implements Closeable, Flushable.
18242
18243 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18244
18245         * java/io/ObjectOutputStream.java:
18246         (writeObject(Object)): Added enum support.
18247         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18248         * java/io/ObjectStreamClass.java:
18249         (isEnum()): New package-private method.
18250         (setFlags(Class)): Added enum support.
18251         * java/io/ObjectStreamConstants.java:
18252         (SC_ENUM): Added.
18253
18254 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18255
18256         * java/io/ObjectInputStream.java:
18257         (parseContent(byte)): Added enum support.
18258         * java/io/ObjectStreamConstants.java:
18259         (TC_ENUM): Added.
18260         (TC_MAX): Changed to new maximum, TC_ENUM.
18261
18262 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18263
18264         * java/beans/beancontext/BeanContextSupport.java:
18265         (instantiateChild(String)): Implemented.
18266         
18267 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18268
18269         * java/beans/beancontext/BeanContextSupport.java:
18270         (add(Object)): Add further documentation.
18271         (isEmpty()): Documented.
18272         (propertyChange(PropertyChangeEvent)): Implemented.
18273         (remove(Object)): Documented.
18274         (remove(Object,boolean)): Documented and implemented.
18275         (vetoableChange(PropertyChangeEvent)): Marked as
18276         implemented (only subclasses appear to need this).
18277         
18278 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18279
18280         * java/beans/beancontext/BeanContextSupport.java:
18281         (add(Object)): Implement support for the child being
18282         a BeanContextChild.
18283         (avoidingGui()): Implemented.
18284         (dontUseGui()): Likewise.
18285         (needsGui()): Likewise.
18286         (okToUseGui()): Likewise.
18287         
18288 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18289
18290         * javax/naming/Context.java,
18291         javax/naming/ContextNotEmptyException.java,
18292         javax/naming/Reference.java: Documented.
18293
18294 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18295
18296         * javax/swing/text/html/MinimalHTMLWriter.java
18297         (writeComponent, writeImage): Declare that the method
18298         may throw the IOException.
18299
18300 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18301         
18302         PR 26972
18303         * javax/naming/InitialContext.java (colon_list): Changed type to
18304         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18305         (merge): Rewritten.
18306
18307 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18308
18309         * javax/naming/InitialContext.java: Documented.
18310
18311 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18312
18313         * javax/naming/NameParser.java,
18314         javax/naming/NamingEnumeration.java,
18315         javax/naming/PartialResultException.java,
18316         javax/naming/SizeLimitExceededException.java,
18317         javax/naming/spi/ObjectFactory.java,
18318         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18319
18320 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18321
18322         * gnu/java/net/loader/JarURLLoader.java:
18323         Use Map.Entry instead of LinkedHashMap.Entry
18324         
18325 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18326
18327         * javax/naming/Context.java: Documented.
18328
18329 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18330
18331         * javax/naming/Referenceable.java: Documented.
18332         * javax/naming/spi/NamingManager.java: Documented.
18333
18334 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18335
18336         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18337         to messages.properties.
18338         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18339         Renamed to messages.properties.
18340         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18341         Likewise.
18342         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18343         Renamed from MessageBundle.properties.
18344         Added copyright notice.
18345         * resource/gnu/classpath/tools/keytool/messages.properties:
18346         Likewise.
18347         * tools/gnu/classpath/tools/jarsigner/Messages.java
18348         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18349         (getFormattedString): Fixed a spelling mistake.
18350         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18351
18352 2006-05-20  Sven de Marothy  <sven@physto.se>
18353
18354         * gnu/java/awt/font/opentype/NameDecoder.java
18355         Made class public.
18356         (getName): Use getShort instead of getChar(), fix PS name.
18357         (decodeName): New method.
18358         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18359         (getSubFamilyName): Implement.
18360         (getPostScriptName): Use the NameDecoder class instead.
18361         (parsePSName): Removed.
18362         (getName): Added
18363
18364 2006-05-20  Sven de Marothy  <sven@physto.se>
18365
18366         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18367         (getTrueTypeTable): New native method.
18368         (getPostScriptName): Reimplement.
18369         (parsePSName): New method.
18370         (getNumGlyphs): Implement.
18371         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18373         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18374         New function. File is now explicitly dependent on FT2.
18375         
18376 2006-05-20  Tom Tromey  <tromey@redhat.com>
18377
18378         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18379         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18380         file.
18381         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18382         (HandleFile): New class.
18383         (input, output, encoding, reversed): New fields.
18384         (createParser): New method.
18385         (run): Likewise.
18386         (main): Use 'run'.
18387         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18388         (notifyFile): Throws OptionException.
18389
18390 2006-05-20  Tom Tromey  <tromey@redhat.com>
18391
18392         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18393         from cp-tools.
18394
18395 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18396
18397         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18398         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18399         platforms.
18400         
18401 2006-05-20  Sven de Marothy  <sven@physto.se>
18402
18403         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18404         
18405 2006-05-20  Sven de Marothy  <sven@physto.se>
18406
18407         * gnu/java/awt/print/JavaPrinterJob.java 
18408         (print): Use PostScriptGraphics2D.
18409         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18410         
18411 2006-05-20  Sven de Marothy  <sven@physto.se>
18412
18413         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18414         
18415 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18416
18417         * gnu/java/security/OID.java: Updated copyright year.
18418         (OID): Removed unused Javadoc param tag.
18419         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18420         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18421
18422 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18423
18424         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18425         Formatting.
18426         Added trace/debug statements.
18427         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18428         Entry.  Also ensure that any previous entry for this alias is removed
18429         before a new one is added.
18430         (engineGetKey): Do not trace/log passwords.
18431         Trace key's class name only.
18432         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18433         Certificate Entry. Also ensure that previous entry for this alias is
18434         removed before a new one is added.
18435         (engineLoad): Do not trace/log passwords.
18436         (engineStore): Likewise.
18437         (engineSize): Use size of enumeration instead of collection size.
18438
18439 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18440
18441         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18442         (toString): New method.
18443         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18444         Do not trace/log passwords.
18445         Set masked to false before decoding envelope.
18446         Do not set payload to null.
18447         (encrypt): Set masked to true.
18448         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18449         Do not trace/log passwords.
18450         Set masked to false before decoding envelope.
18451         Do not set payload to null.
18452         Added trace/debug statements.
18453         (authenticate): Do not trace/log passwords.
18454         Set masked to true.
18455         Added trace/debug statements.
18456         (getMac): Added trace/debug statements.
18457         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18458         (remove(String)): Changed the signature to return a boolean.
18459         (toString): New method.
18460         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18461         Formatting
18462         (getCertificate): Likewise.
18463         (putCertificate): Likewise.
18464         (load): Likewise.
18465         Do not trace/log passwords.
18466         (store): Likewise.
18467         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18468         Do not trace/log passwords.
18469         Added more trace/logging statements.
18470         (putPrivateKey): Do not trace/log passwords.
18471         Trace only key's class name.
18472         Formatting.
18473         (containsPublicKey): Formatting.
18474         (getPublicKey): Likewise.
18475         Trace only key's class name.
18476         (putPublicKey): Trace only key's class name.
18477         (containsCertPath): Formatting.
18478         (getCertPath): Likewise.
18479         (putCertPath): Likewise.
18480         (load): Do not trace/log passwords.
18481         Formatting.
18482         (store): Likewise.
18483         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18484         (add): Do not set payload to null.
18485         Added trace/debug statements.
18486         (containsAlias): Added trace/debug statements.
18487         (get): Likewise.
18488         (remove(Entry)): Likewise.
18489         (remove(String)): Likewise.
18490         Changed the signature to return a boolean.
18491         Do not set payload to null unless really removed.
18492         (toString): New method.
18493         (decodeEnvelope): Clear entries before proceeding.
18494         (makeAliasList): Added trace/debug statements.
18495         Ensure only non-null aliases and alias-lists are added.
18496         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18497         (TYPES): New constant.
18498         (toString): New method.
18499         (defaultDecode): Add trace/debug statement.
18500
18501 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18502
18503         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18504         Increased visibility.
18505         (setup): Do not trace/log passwords.
18506         (parsed): Was not setting correct (rfc) field; fixed.
18507         (print1Chain): Formatting.
18508         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18509         Do not trace/log passwords.
18510         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18511         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18512         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18513         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18514         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18515         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18516         (orderChain): Added FIXME.
18517         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18518         Do not trace/log passwords.
18519         Removed commented out code.
18520         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18521         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18522         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18523         (setKeystoreURLParam): Likewise.
18524         (setKeystorePasswordParam): Do not trace/log passwords.
18525         (saveKeyStore): Likewise.
18526
18527 2006-05-19  Roman Kennke <kennke@aicas.com>
18528
18529         * gnu/java/awt/java2d/AbstractGraphics2D.java
18530         Added class docs.
18531         (pixel): Removed obsolete field.
18532         (draw(Shape)): Removed commented out code.
18533         (drawImage): Formatting.
18534         (drawString): Added optimization hook.
18535         (setPaint): Removed rawSetForeground().
18536         (getFontRenderContext): Return context with correct transform.
18537         (drawGlyphVector): Draw complete outline in one go.
18538         (copyArea): Added optimization hook.
18539         (clearRect): Added optimization hook.
18540         (drawImage): Added optimization hook.
18541         (fillShape): (Temporarily) Set antialiasing off by default for
18542         font rendering. Adjust the shape by some bits to improve rendering.
18543         Pass clip bounds to the render methods.
18544         (drawPixel): Removed.
18545         (rawSetPixel): Removed.
18546         (rawSetForeground): Removed.
18547         (rawDrawLine): Default impl calls standard pipeline.
18548         (rawDrawString): New method, calls standard pipeline for rendering.
18549         (rawClearRect): New method, calls standard pipeline for rendering.
18550         (rawFillRect): New method, calls standard pipeline for rendering.
18551         (rawDrawImage): New method, calls standard pipeline for rendering.
18552         (rawCopyArea): New method.
18553         (copyAreaImpl): New method.
18554         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18555         for rendering.
18556         (fillShapeAntialias): Fixed AA rendering.
18557         (fillScanlineAA): Fixed AA rendering.
18558         (getSegments): Take offset into account.
18559
18560 2006-05-19  Sven de Marothy  <sven@physto.se>
18561
18562         * javax/swing/text/AbstractWriter.java
18563         (getText): Fix parameters (start, length) not (start, end).
18564         
18565 2006-05-19  Tom Tromey  <tromey@redhat.com>
18566
18567         PR classpath/27444:
18568         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18569         Changed return type.
18570         * java/net/URLClassLoader.java (urlloaders): Removed.
18571         (addURLImpl): Updated.
18572         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18573         (indexSet): Likewise.
18574         (classPath): Changed type.
18575         (JarURLLoader): New constructor.
18576         (initialize): New method.
18577         (getResource): Use index set if it exists.
18578         (getClassPath): Updated.
18579         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18580         (prefixes): New field.
18581         (headers): Removed.
18582         (IndexListParser): Fill in prefixes.
18583         (clearAll): Clear prefixes.
18584         (getHeaders): Changed return type.
18585
18586 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18587
18588         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18589         (MouseInputHandler.mouseExitted): No nothing there.
18590         (MouseInputHandler.endDragging): Move column to the
18591         first/last position if released outside the horizontal
18592         table range.
18593
18594 2006-05-19  Lillian Angel  <langel@redhat.com>
18595
18596         * java/awt/font/GlyphVector.java
18597         (getGlyphCharIndex): Implemented.
18598         (getGlyphCharIndices): Implemented.
18599         (getGlyphOutline): Implemented.
18600         (getGlyphVisualBounds): Implemented.
18601         (getGlyphVisualBounds): Implemented.
18602         (getPixelBounds): Implemented.
18603         (getLayoutFlags): Implemented.
18604
18605 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18606
18607         * java/awt/LightweightDispatcher.java: Added field dragButton and
18608         documentation for it.
18609         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18610         added subexpression to if-clause in MOUSE_RELEASED case.
18611
18612 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18613
18614         * javax/swing/metal/MetalButtonUI.java:
18615         (update): Removed some subexpression from if-clause and call
18616         updateWithGradient.
18617         (updateWithGradient): New method.
18618
18619 2006-05-19  Roman Kennke <kennke@aicas.com>
18620
18621         * javax/swing/JComponent.java
18622         (findOverlapFreeParent): Implemented algorithm for finding
18623         overlapping in component hierarchy.
18624
18625 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
18626
18627         * java/lang/Thread.java
18628         (contextClassLoaderIsSystemClassLoader): New field.
18629         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18630         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18631         and set contextClassLoaderIsSystemClassLoader.
18632         (Thread(ThreadGroup,Runnable,String,long)):
18633         Set contextClassLoaderIsSystemClassLoader.
18634         (createAnonymousThreadName): New method.
18635         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18636         and fixed security check.
18637         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18638
18639 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18640
18641         * javax/swing/plaf/basic/BasicToolBarUI.java:
18642         (createNonRolloverBorder): Rewritten.
18643         (createRolloverBorder): Rewritten.
18644         (setToNonRolloverBorder): Store old border instance in hashtable.
18645         (setToRolloverBorder): Store old border instance in hashtable, use
18646         AbstractButton instead of JButton in statements.
18647         (setBorderToNormal): Rewritten.
18648         * javax/swing/plaf/metal/MetalLookAndFeel.java:
18649         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18650         ToolBar.nonrolloverBorder.
18651
18652 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
18653
18654         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18655         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18656
18657 2006-05-18  Lillian Angel  <langel@redhat.com>
18658
18659         * java/awt/font/GlyphMetrics.java
18660         (getLSB): Implemented.
18661         (getRSB): Implemented.
18662
18663 2006-05-18  Lillian Angel  <langel@redhat.com>
18664
18665         * java/awt/font/GraphicAttribute.java:
18666         Documented entire class.
18667         (GraphicAttribute): Added check for alignment.
18668         (getBounds): Implemented.
18669         (getJustificationInfo): Implemented.
18670
18671 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18672
18673         * java/awt/LightweightDispatcher.java:
18674         (handleMouseEvent): Added note, added subexpression to if-statement.
18675
18676 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18677
18678         * javax/swing/plaf/basic/BasicToolBarUI.java:
18679         (navigateFocusedComp): Marked as stub.
18680         (createRolloverBorder): Create a different Border instance, added note.
18681         * javax/swing/plaf/metal/MetalBorders.java:
18682         (ButtonBorder): Added documentation.
18683         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18684         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18685         subexpression into if-else cascade, added note.
18686
18687 2006-05-18  Lillian Angel  <langel@redhat.com>
18688
18689         * java/awt/font/ShapeGraphicAttribute.java:
18690         Documented entire class.
18691         (ShapeGraphicAttribute): Initialized bounds field.
18692         (draw): Implemented.
18693         (equals): Implemented.
18694         (getAdvance): Implemented.
18695         (getAscent): Implemented.
18696         (getBounds): Implemented.
18697         (getDescent): Implemented.
18698         (hashCode): Implemented.
18699
18700 2006-05-18  Roman Kennke <kennke@aicas.com>
18701
18702         * javax/swing/CellRendererPane.java
18703         (CellRendererPane): Set CellRendererPane to invisible.
18704
18705 2006-05-18  Roman Kennke <kennke@aicas.com>
18706
18707         * gnu/java/awt/peer/gtk/GdkGraphics.java
18708         (clipRect): Removed old intersection statement.
18709
18710 2006-05-18  Roman Kennke <kennke@aicas.com>
18711
18712         * gnu/java/awt/peer/gtk/GdkGraphics.java
18713         (clipRect): Don't use Rectangle.intersection() to avoid creating
18714         2 unnecessary Rectangle instances and fix a clipping problem.
18715         (computeIntersection): New helper method, adapted from SwingUtilities.
18716
18717 2006-05-18  Roman Kennke <kennke@aicas.com>
18718
18719         * javax/swing/JComponent.java
18720         (isCompletelyDirty): Removed.
18721         (paint): Don't mark children as clean, this is no longer necessary.
18722         (findOverlapFreeParent): Don't stop at Viewports, this breaks
18723         painting when something overlaps the viewport (like a popup/menu).
18724         * javax/swing/RepaintManager.java
18725         (currentRepaintManagers): Made package private to avoid accessor
18726         methods.
18727         (dirtyComponents): Made private.
18728         (dirtyComponentsWork): Made private.
18729         (markCompletelyDirty): Fixed bounds of dirtyrect to be
18730         component-local not parent-local. Do not set flag in JComponent.
18731         (markCompletelyClean): Don't set JComponent flag.
18732         (isCompletelyDirty): Rewritten to return true when the complete
18733         component is marked dirty.
18734         (paintDirtyRegions): Improved parent-merging so that the merged-in
18735         components don't get painted too. 'Outsourced' the compilation
18736         of the repaint root components.
18737         (compileRepaintRoots): New helper method.
18738
18739 2006-05-18  Roman Kennke <kennke@aicas.com>
18740
18741         PR 26368
18742         * javax/swing/text/GapContent.java
18743         (GapContentPosition(int)): Use adapted binarySearch method to
18744         allow for having a greater array than number of entries.
18745         (numMarks): New field, holds the end of the marks list.
18746         (GapContent): Initialize positionMarks with size of 10 instead of 0.
18747         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18748         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18749         (setPositionsInRange): Changed signature to narrow the purpose and
18750         special cases inside. Reimplemented to crunch together equal marks.
18751         (adjustPositionsInRange): Added assertion to make sure we do
18752         not accidentally change the order of the mark. Added some debug
18753         output for a special case of which I don't know if it even exists.
18754         (resetMarksAtZero): Made impl simpler.
18755         (dumpMarks): New debug helper method.
18756         (insertMark): Grow array in bigger chunks to avoid excessive copying.
18757         (binarySearch): New method. An adaption of Arrays.binarySearch()
18758         that allows for an maxIndex parameter.
18759
18760 2006-05-18  Roman Kennke <kennke@aicas.com>
18761
18762         * javax/swing/KeyboardManager.java
18763         (topLevelLookup): Use WeakHashMap to avoid memory leak.
18764
18765 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
18766
18767         * gnu/java/net/loader/JarURLLoader.java
18768         (JarURLLoader): Use a slightly more efficient URL constructor.
18769
18770 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
18771
18772         * gnu/java/awt/print/JavaPrinterGraphics.java
18773         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18774         (drawImage(Image, int, int, ImageObserver)): Likewise,
18775         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18776         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18777         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
18778         ImageObserver)): Likewise,
18779         (drawImage(Image, int, int, int, int, int, int, int, int, 
18780         ImageObserver)): Likewise.
18781
18782 2006-05-17  Tom Tromey  <tromey@redhat.com>
18783
18784         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18785         LinkedHashSet.
18786
18787 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18788
18789         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18790         * javax/swing/border/BevelBorder.java: Likewise,
18791         * javax/swing/border/CompoundBorder.java: Likewise,
18792         * javax/swing/border/TitledBorder.java: Likewise.
18793
18794 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18795
18796         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18797         * javax/swing/table/DefaultTableModel.java: Likewise,
18798         * javax/swing/table/TableCellEditor.java: Likewise,
18799         * javax/swing/table/TableCellRenderer.java: Likewise.
18800
18801 2006-05-17  Lillian Angel  <langel@redhat.com>
18802
18803         * java/awt/font/ImageGraphicAttribute.java:
18804         Documented entire class.
18805         (ImageGraphicAttribute): Changed to call this.
18806         (ImageGraphicAttribute): Implemented.
18807         (draw): Implemented.
18808         (equals): Implemented.
18809         (getAdvance): Implemented.
18810         (getAscent): Implemented.
18811         (getBounds): Implemented.
18812         (getDescent): Implemented.
18813         (hashCode): Implemented.
18814         * javax/swing/text/html/HTMLDocument.java
18815         (create): Removed. Sufficent enough for
18816         super to be called.
18817         (insert): Likewise.
18818         (insertUpdate): Likewise.
18819         (processHTMLFrameHyperlinkEvent): Marked as stub.
18820         (start): Removed FIXME.
18821         (end): Likewise.
18822         (start): Called super. 
18823         (end): Called super.
18824         (getElement): removed unneeded code.
18825         (setParagraphAttribute): Removed. Sufficent enough
18826         for super to be called.
18827         (fireChangedUpdate): Likewise.
18828         (fireUndoableEditUpdate): Likewise.     
18829
18830 2006-05-17  Lillian Angel  <langel@redhat.com>
18831
18832         * java/awt/TexturePaint.java:
18833         Added documentation for class and all functions.
18834         (getTransparency): Implemented.
18835
18836 2006-05-17  Roman Kennke <kennke@aicas.com>
18837
18838         * java/awt/LightweightDispatcher.java
18839         (findTarget): Translate point to child components.
18840
18841 2006-05-17  Roman Kennke <kennke@aicas.com>
18842
18843         PR 26368
18844         * javax/swing/text/GapContent.java
18845         (GapContentPosition): Do no more implement Comparable.
18846         (GapContentPosition.mark): Removed field.
18847         (GapContentPosition.index): New field to hold the index into
18848         the positions array.
18849         (GapContentPosition(int)): Rewritten to use the new indirection
18850         to the positions array.
18851         (GapContentPosition.compareTo): Removed.
18852         (GapContentPosition.getOffset): Synchronized. Fetch mark from
18853         positionMarks array.
18854         (WeakPositionComparator): Removed obsolete class.
18855         (positions): Changed type to WeakHashMap.
18856         (positionMarks): New field, holds the marks of the positions.
18857         (GapContent): Initialize new fields.
18858         (createPosition): Rewritten to use the new indirection
18859         to the positions array.
18860         (getPositionsInRange): Rewritten to use the new indirection
18861         to the positions array.
18862         (setPositionsInRange): Rewritten to use the new indirection
18863         to the positions array.
18864         (adjustPositionsInRange): Rewritten to use the new indirection
18865         to the positions array.
18866         (insertMark): New helper method.
18867         (clearPositionReferences): Removed obsolete methods.
18868
18869 2006-05-17  Lillian Angel  <langel@redhat.com>
18870
18871         * java/awt/GraphicsConfiguration.java
18872         (getImageCapabilities): Implemented.
18873         (getBufferCapabilities): Implemented.
18874
18875 2006-05-17  Lillian Angel  <langel@redhat.com>
18876
18877         * javax/swing/plaf/basic/BasicSliderUI.java
18878         (focusGained): Implemented.
18879         (focusLost): Implemented.
18880         (paint): Added code to paint the focus.
18881         * javax/swing/plaf/metal/MetalSliderUI.java
18882         (paintThumb): Added code to set the thumbColor.
18883         (paintFocus): Implemented properly.
18884
18885 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18886
18887         PR 27383
18888         * javax/naming/spi/NamingManager.java (getURLContext):
18889         Always search for the factory class in all possible places
18890         and use VMStackWalker.
18891         (forName): New method.
18892
18893 2006-05-17  Roman Kennke <kennke@aicas.com>
18894
18895         * java/awt/LightweightDispatcher.java
18896         (handleMouseEvent): Fixed search algorithm for finding the
18897         mouse event target.
18898         (findTarget): Fixed search algorithm for finding the
18899         mouse event target.
18900
18901 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18902
18903         * javax/naming/spi/NamingManager.java: Documented.
18904
18905 2006-05-17  Mark Wielaard  <mark@klomp.org>
18906
18907         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18908         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18909         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18910         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18911
18912 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18913
18914         Fixes PR 26947.
18915         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18916         year.
18917         (BorderListener.mouseClicked): Detect double-clicks in title pane,
18918         copied code from
18919         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18920
18921 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18922
18923         Fixes PR 27626.
18924         * java/awt/LightweightDispatcher.java:
18925         (handleMouseEvent): Moved assignment into switch-block, added notes.
18926
18927 2006-05-16  Lillian Angel  <langel@redhat.com>
18928
18929         * javax/swing/text/StyleContext.java:
18930         Changed staticAttributeKeys  to be a Hashtable.
18931         (getStaticAttribute): Implemented.
18932         (getStaticAttributeKey): Implemented.
18933         (readAttributeSet): Implemented.
18934         (writeAttributeSet): Added FIXME. Not sure how
18935         to implement this.
18936         (readAttributes): Implemented.
18937         (writeAttributes): Implemented.
18938         (registerStaticAttibuteKey): Fixed to add key to 
18939         the hash table.
18940
18941 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
18942
18943         * javax/swing/DefaultButtonModel.java
18944         (setGroup): Removed event notification.
18945
18946 2006-05-16  Lillian Angel  <langel@redhat.com>
18947
18948         * javax/swing/plaf/basic/BasicComboBoxUI.java
18949         (installKeyboardActions): Implemented.
18950         (uninstallKeyboardActions): Implemented.
18951         * javax/swing/plaf/basic/BasicComboPopup.java
18952         (uninstallKeyboardActions): Removed FIXME. Nothing
18953         to be done here.
18954         (installKeyboardActions): Likewise.
18955         * javax/swing/plaf/basic/BasicTextUI.java
18956         (uninstallKeyboardActions): Implemented.
18957         * javax/swing/plaf/basic/BasicTreeUI.java:
18958         Added field for hashColor.
18959         Marked stub methods.
18960         (getHashColor): Implemented to use field.
18961         (setHashColor): Likewise.
18962         (getRowX): Implemented.
18963         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
18964
18965 2006-05-16  Roman Kennke <kennke@aicas.com>
18966
18967         PR 26521
18968         * javax/swing/JTable.java
18969         (rowHeights): New field.
18970         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18971         in order to initialize rowHeights correctly.
18972         (tableChanged): Nullify rowHeights when model changes. Only
18973         create default columns from model when corresponding property
18974         is set. Sync table model with rowHeights as appropriate.
18975         (valueChanged): Call repaint with the correct rectangle.
18976         (rowAtPoint): Handle rowHeights.
18977         (getCellRect): Mostly rewritten. Check for boundaries
18978         of model and return (0,0,0,0) or (0,0,width,height) when outside.
18979         Handle component orientation. Round correctly.
18980         (getRowHeight(int)): Implemented for variable row height.
18981         (setRowHeight(int,int)): Implemented for variable row height.
18982         (setRowHeight(int)): Nullify rowHeights.
18983         (setModel): Notify tableChanged().
18984         * javax/swing/plaf/basic/BasicTableUI.java
18985         (installDefaults): Create rendererPane in installUI.
18986         (installUI): Create and install rendererPane.
18987         (uninstallUI): Uninstall rendererPane and nullify rendererPane
18988         and table.
18989         (paint): Correctly handle rowMargin.
18990
18991 2006-05-16  Tom Tromey  <tromey@redhat.com>
18992
18993         PR classpath/27563:
18994         * java/text/NumberFormat.java (getIntegerInstance): Use
18995         "integerFormat", not "numberFormat".
18996
18997 2006-05-16  Lillian Angel  <langel@redhat.com>
18998
18999         * javax/swing/JPopupMenu.java
19000         (addMenuKeyListener): Implemented.
19001         (removeMenuKeyListener): Implemented.
19002         (getMenuKeyListeners): Implemented.
19003         * javax/swing/ProgressMonitor.java:
19004         Added new protected field.
19005         (getAccessibleContext): Implemented.
19006
19007 2006-05-16  Lillian Angel  <langel@redhat.com>
19008
19009         * javax/swing/JFileChooser.java:
19010         Added new private field.
19011         (setDragEnabled): Implemented.
19012         (getDragEnabled): Implemented.
19013
19014 2006-05-16  Lillian Angel  <langel@redhat.com>
19015
19016         * java/awt/Window.java
19017         (applyResourceBundle): Implemented.
19018
19019 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19020
19021         * javax/swing/DefaultButtonModel.java
19022         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19023         states also.
19024
19025 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19026
19027         * javax/swing/JList.java (getSelectedValues):
19028         Ask the value for the indexed array element.
19029
19030 2006-05-16  Roman Kennke <kennke@aicas.com>
19031
19032         * javax/swing/JTable.java
19033         (valueChanged): Also repaint when table has only 1 row. Fixed
19034         repaint rectangle to span the entire changed rows.
19035
19036 2006-05-16  Roman Kennke <kennke@aicas.com>
19037
19038         PR 24031
19039         * javax/swing/JOptionPane.java
19040         (startModal): Rewritten. The events are now dispatched, even
19041         when the event dispatch thread gets blocked by the call
19042         to this method. Also, mouse events get intercepted outside the
19043         internal frame.
19044
19045 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19046
19047         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19048         (BorderListener.mouseDragged):Do not set cursor 
19049         if the frame is being dragged.
19050
19051 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19052
19053         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19054         (BorderListener): Rewritten. (InternalFrameBorder):
19055         Made package private.
19056         (InternalFrameBorder.offset):
19057         Renamed to cornerSize, made package private.
19058         (bSize): Made package private.
19059
19060 2006-05-16  Roman Kennke <kennke@aicas.com>
19061
19062         * javax/swing/JMenu.java
19063         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19064         (AccessibleJMenu.getAccessibleChild): Implemented.
19065         (AccessibleJMenu.getAccessibleSelection): Implemented.
19066         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19067         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19068         (AccessibleJMenu.getAccessibleRole): Documented.
19069         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19070         (AccessibleJMenu.addAccessibleSelection): Implemented.
19071         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19072         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19073         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19074         (createPath): New helper method.
19075
19076 2006-05-15  Tom Tromey  <tromey@redhat.com>
19077
19078         * java/text/MessageFormat.java (format): Now varargs.
19079
19080 2006-05-15  Tom Tromey  <tromey@redhat.com>
19081
19082         * java/lang/Thread.java (State): Fixed typo.
19083
19084 2006-05-15  Tom Tromey  <tromey@redhat.com>
19085
19086         * java/net/URLClassLoader.java: Moved inner classes to
19087         gnu.java.net.loader.
19088         (factoryCache): Changed type.
19089         (URL_LOADER_PREFIX): New constant.
19090         (URLClassLoader): Updated for new factoryCache.
19091         (addURLImpl): Use reflection to search for a loader.
19092         (findClass): Use getClass method on URLLoader.
19093         (getURLStreamHandler): Removed.
19094         * gnu/java/net/loader/URLLoader.java: New file, extracted
19095         from URLClassLoader.
19096         * gnu/java/net/loader/Resource.java: Likewise.
19097         * gnu/java/net/loader/FileResource.java: Likewise.
19098         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19099         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19100         * gnu/java/net/loader/JarURLResource.java: Likewise.
19101         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19102         * gnu/java/net/loader/RemoteResource.java: Likewise.
19103         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19104
19105 2006-05-15  Sven de Marothy  <sven@physto.se>
19106
19107         * native/target/generic/target_generic_network.h: 
19108         Add a pair of parenthesis.
19109
19110 2006-05-15  Mark Wielaard  <mark@klomp.org>
19111
19112         * java/awt/Graphics2D.java: Remove PrinterJob import.
19113
19114 2006-05-15  Mark Wielaard  <mark@klomp.org>
19115
19116         * doc/www.gnu.org/announce/20060515.wml: New file.
19117         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19118         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19119
19120 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19121
19122         * NEWS: Announce inclusion of gcjwebplugin.
19123         Announce inclusion of appletviewer.
19124         * INSTALL: Note gcjwebplugin dependencies.
19125
19126 2006-05-15  Mark Wielaard  <mark@klomp.org>
19127
19128         * configure.ac (VERSION): Set to 0.91-generics.
19129
19130 2006-05-15  Mark Wielaard  <mark@klomp.org>
19131
19132         * NEWS: Add release date and VMClassLoader.getBootPackages()
19133         changes.
19134
19135 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19136
19137         * README: Added CACAO to list of VMs.
19138
19139 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19140
19141         * javax/swing/RepaintManager.java (paintDirtyRegions):
19142         Break loop as soon as the component repaint is merged
19143         with some parent. (ComponentComparator): Removed.
19144         (comparator): Removed.
19145
19146 2006-05-15  Roman Kennke <kennke@aicas.com>
19147
19148         * javax/swing/border/TitledBorder.java
19149         (paintBorderWithTitle): Fixed indentation.
19150
19151 2006-05-15  Roman Kennke <kennke@aicas.com>
19152
19153         * javax/swing/border/TitledBorder.java
19154         (layoutBorderWithTitle): Fetch border using getBorder() instead
19155         of using the border field directly. Allows for the use of
19156         an UI supplied border in the case when a null border was set.
19157         Fixed component orientation.
19158         (paintBorderWithTitle): Fetch border using getBorder() instead
19159         of using the border field directly. Allows for the use of
19160         an UI supplied border in the case when a null border was set.
19161
19162 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19163
19164         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19165         (contains): New method.
19166
19167 2006-05-15  Tom Tromey  <tromey@redhat.com>
19168
19169         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19170         argument indices.
19171         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19172         argument indices.
19173
19174 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19175
19176         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19177          JViewport's.
19178         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19179         region. (paintDirtyRegions): Rewritten.
19180
19181 2006-05-15  Tom Tromey  <tromey@redhat.com>
19182
19183         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19184         MessageFormat.
19185         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19186         MessageFormat.
19187         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19188         (run): Use MessageFormat.
19189         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19190         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19191         (writeFile): Use MessageFormat.
19192
19193 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19194
19195         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19196         instead of directly calling the class loader.
19197
19198 2006-05-15  Tom Tromey  <tromey@redhat.com>
19199
19200         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19201         Removed old comment.
19202         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19203         Externalized strings.
19204         (getVersionString): Use MessageFormat.
19205         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19206         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19207         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19208         (getArgument): Use a MessageFormat.
19209         (handleLongOption): Likewise.
19210         (parse): Likewise.
19211
19212 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19213
19214         Fixes PR 27197.
19215         * javax/swing/text/FieldView.java:
19216         (paint): Calculate intersection between clip and allocation area and
19217         set that as new clip.
19218
19219 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19220
19221         * javax/swing/text/JTextComponent.java: Marked stub methods.
19222
19223 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19224
19225         * javax/swing/JTable.java: Marked stub methods.
19226
19227 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19228
19229         * tools/gnu/classpath/tools/jarsigner/Main.java:
19230         Increased visibility of fields used by parser anonymous classes.
19231         (KEYTOOL_TOOL): New constant.
19232         (cmdLineParser): Changed type to ToolParser.
19233         (fileAndAlias): new field.
19234         (main): Don't catch OptionException.
19235         (processArgs): Removed validation checks; now handled by ToolParser.
19236         (getParser): Removed.
19237         (ToolParserCallback): New inner class.
19238         (ToolParser): Likewise.
19239
19240 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19241
19242         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19243         Removed.
19244
19245 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19246
19247         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19248         endResizingFrame): Do not repaint, unless in the outline mode.
19249
19250 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19251
19252         * javax/swing/JTabbedPane.java
19253         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19254         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19255         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19256         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19257         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19258         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19259         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19260         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19261         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19262         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19263         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19264         (Page.getAccessibleName): Implemented.
19265
19266 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19267
19268         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19269         Do not repaint nor revalidate here.
19270
19271 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19272
19273         * javax/swing/RepaintManager.java (addDirtyRegion):
19274         If there is a lightweight parent, recursively add the corresponding
19275         region of the parent instead.
19276
19277 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19278
19279         * java/awt/Graphics2D.java: Added some API doc comments.
19280
19281 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19282
19283         * javax/swing/JTabbedPane.java
19284         (paramString): Reimplemented,
19285         (getAccessibleContext): Added API docs.
19286
19287 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19288
19289         * javax/swing/JFileChooser.java
19290         (paramString): Reimplemented,
19291         (getAccessibleContext): Updated API docs,
19292         (AccessibleJFileChooser): Added API docs.
19293
19294 2006-05-14  Tom Tromey  <tromey@redhat.com>
19295
19296         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19297         OptionException.
19298         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19299         OptionException.
19300         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19301         OptionException.
19302         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19303         validation to JarParser.
19304         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19305         (run): Moved validation to JarParser.  Don't throw OptionException.
19306         (initializeParser): Create a JarParser.
19307         (main): Don't catch OptionException.
19308         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19309         public.
19310         (validate): New method.
19311         (parse): Call it.  Print '-help' in error message when long-only.
19312
19313 2006-05-14  Tom Tromey  <tromey@redhat.com>
19314
19315         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19316         assignment.
19317
19318 2006-05-15  Sven de Marothy  <sven@physto.se>
19319
19320         * gnu/java/awt/print/JavaPrinterGraphics.java:
19321         Sweeping changes I can't be bothered to document in detail.
19322         * gnu/java/awt/print/JavaPrinterJob.java
19323         (getPageAttributes): New method.
19324         (setPageable,cancel,isCancelled): Implement.
19325
19326 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19327
19328         * javax/swing/JCheckBoxMenuItem.java
19329         (requestFocus): Fixed typo in API docs,
19330         (paramString): Just call super.paramString(),
19331         (getAccessibleContext): Added API docs,
19332         (AccessibleJCheckBoxMenuItem): Likewise.
19333
19334 2006-05-14  Tom Tromey  <tromey@redhat.com>
19335
19336         * tools/gnu/classpath/tools/jar/Indexer.java
19337         (writeCommandLineEntries): Simplify insertion.
19338         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19339         -m and -M.
19340
19341 2006-05-14  Tom Tromey  <tromey@redhat.com>
19342
19343         PR classpath/27514:
19344         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19345         constant.
19346         (JAR_INDEX_VERSION_KEY): Likewise.
19347         (IndexListParser): Updated.
19348         (getVersionInfo): Likewise.
19349         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19350         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19351         OptionException.
19352         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19353         -i.
19354         (ModeOption): New constructor.
19355         (parsed): Updated.  Use setArchiveFile.
19356         (setArchiveFile): New method.
19357         (run): Handle no-argument case.
19358         (main): Emit --help message on option error.
19359         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19360         (createManifest): New method.
19361         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19362         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19363         method.
19364         (writeManifest): Removed.
19365         (outputStream): Now a JarOutputStream.
19366         (writeCommandLineEntries): Changed parameters.  Updated callers.
19367         (run): Throws OptionException.
19368         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19369         * java/util/jar/Manifest.java (read): Typo fix.
19370
19371 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19372
19373         * javax/swing/JMenuItem.java
19374         (paramString): Fixed class name in API doc comment.
19375
19376 2006-05-14  Tom Tromey  <tromey@redhat.com>
19377
19378         * native/plugin/.cvsignore: Updated.
19379
19380 2006-05-14  Mark Wielaard  <mark@klomp.org>
19381
19382         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19383         comments.
19384
19385 2006-05-14  Chris Burdess  <dog@gnu.org>
19386
19387         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19388         nodes to be preserved during cloneNode.
19389
19390 2006-05-14  Mark Wielaard  <mark@klomp.org>
19391
19392         PR 27459
19393         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19394         inherited timeout on socket.
19395
19396 2006-05-14  Lillian Angel  <langel@redhat.com>
19397
19398         * java/util/SimpleTimeZone.java: Reverted patch.
19399         (SimpleTimeZone): Throw exception if startMonth ==
19400         endMonth.
19401         (SimpleTimeZone): Likewise.
19402         (checkRule): Rewritten to properly check all values (more
19403         efficently).
19404         This code is now more stable, at least less buggy than before.
19405         Fixed API documentation.
19406         (setStartRule): Moved checkRule call to end.
19407         (setStartRule): Likewise.
19408         (setEndRule): Likewise.
19409         (setEndRule): Likewise.
19410
19411 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19412
19413         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19414         Initialise to -1.
19415
19416 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19417
19418         PR classpath/27595
19419         * javax/swing/text/AbstractDocument.java:
19420         (insertString): Flipped if-expression and its blocks.
19421         (remove): Dito.
19422         (replace): Flipped if-expression and its blocks, added note, invoke
19423         insertString and remove instead of insertStringImpl and removeImpl.
19424
19425 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19426
19427         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19428
19429 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19430
19431         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19432         Added help text.
19433         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19434         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19435         Increased visibility of fields used by parser anonymous classes.
19436         (processArgs): Removed.
19437         (getParser): New method.
19438         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19439         (setup): Mark (Eclipse) strings that need not be externalised.
19440         (start): Likewise.
19441         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19442         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19443         command line option parsing.
19444         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19445         Increased visibility of fields used by parser anonymous classes.
19446         (processArgs): Removed.
19447         (setup): set 'all' local field.
19448         (getParser): New method.
19449         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19450         Increased visibility of fields used by parser anonymous classes.
19451         (processArgs): Removed.
19452         (getParser): New method.
19453         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19454         (setNewKeyPassword): Fixed comments.
19455         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19456         Increased visibility of fields used by parser anonymous classes.
19457         (processArgs): Removed.
19458         (getParser): New method.
19459         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19460         externalised.
19461         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19462         Increased visibility of fields used by parser anonymous classes.
19463         (processArgs): Removed.
19464         (setup): Mark (Eclipse) strings that need not be externalised.
19465         (getParser): New method.
19466         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19467         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19468         Increased visibility of fields used by parser anonymous classes.
19469         (processArgs): Removed.
19470         (getParser): New method.
19471         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19472         (ATTRIBUTES_OPT): New constant.
19473         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19474         Increased visibility of fields used by parser anonymous classes.
19475         (processArgs): Removed.
19476         (setup): Mark (Eclipse) strings that need not be externalised.
19477         (start): Likewise.
19478         Reduced logging level.
19479         (getParser): New method.
19480         * tools/gnu/classpath/tools/keytool/Command.java
19481         (processArgs): Made it concrete.
19482         (getParser): New abstract method.
19483         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19484
19485 2006-05-13  Casey Marshall  <csm@gnu.org>
19486
19487         Patch by Michael Barker <mike@middlesoft.co.uk>.
19488         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19489         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19490         gnu.java.nio.SocketChannelSelectionKeyImpl.
19491         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19492         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19493         VMChannel.
19494         * include/gnu_java_nio_VMChannel.h: new file.
19495         * java/nio/FileChannel.java (read,write): changed to call abstract
19496         method.
19497         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19498         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19499         `gnu_java_nio_VMChannel.c.'
19500         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19501
19502 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19503
19504         * javax/swing/text/AbstractDocument.java:
19505         (insertString): Flipped if-expression and its blocks.
19506         (remove): Dito.
19507         (replace): Flipped if-expression and its blocks, added note, invoke
19508         insertString and remove instead of insertStringImpl and removeImpl.
19509
19510 2006-05-13  Tom Tromey  <tromey@redhat.com>
19511
19512         * java/nio/ByteBufferImpl.java (compact): Always set position.
19513
19514 2006-05-13  Sven de Marothy  <sven@physto.se>
19515
19516         * gnu/java/awt/print/JavaPrinterGraphics.java
19517         (spoolPostScript): Use a faster writer.
19518
19519 2006-05-13  Sven de Marothy  <sven@physto.se>
19520
19521         * gnu/java/awt/print/JavaPrinterGraphics.java
19522         (colorTripleHex): Reimplement better.
19523
19524 2006-05-13  Sven de Marothy  <sven@physto.se>
19525
19526         * javax/swing/text/html/HTMLDocument.java
19527         (CharacterAction.start): Translate tag to StyleAttribute.
19528         (pushCharacterStyle): Push copy of attributes onto stack.
19529         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19530         New file
19531
19532 2006-05-13  Sven de Marothy  <sven@physto.se>
19533
19534         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19535         * java/awt/print/PrinterJob.java 
19536         (getPrinterJob): Return a JavaPrinterJob
19537         (setPrintService,getPrintService): Implement.
19538         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19539         (getPixels): Gtk_threads_enter required.
19540         * gnu/java/awt/print/JavaPrinterGraphics.java
19541         * gnu/java/awt/print/JavaPrinterJob.java
19542         * gnu/java/awt/print/SpooledDocumet.java: 
19543         New files.
19544         
19545 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19546
19547         * javax/swing/text/TextAction.java:
19548         (HorizontalMovementAction): New inner class.
19549         (VerticalMovementAction): New inner class.
19550         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19551         new inner classes to array 'defaultActions'.
19552         (SelectionBeginWordAction): New inner class.
19553         (SelectionEndWordAction): New inner class.
19554         (BeginWordAction): New inner class.
19555         (EndWordAction): New inner class.
19556         (PreviousWordAction.actionPerformed): Rewritten.
19557         (SelectLineAction): New inner class.
19558         (SelectWordAction): New inner class.
19559         (SelectionDownAction): Rewritten.
19560         (SelectionUpAction): Rewritten.
19561         (DownAction): Rewritten.
19562         (UpAction): Rewritten.
19563         (SelectionForwardAction): Rewritten.
19564         (SelectionBackwardAction): Rewritten.
19565         (ForwardAction): Rewritten.
19566         (BackwardAction): Rewritten.
19567         (BeginAction): New inner class.
19568         (EndAction): New inner class.
19569         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19570         Character.isISOControl.
19571
19572 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19573
19574         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19575         (WordFilter.getNextVisualPositionFrom): Added statement to check
19576         for variable pt not being null.
19577
19578 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19579
19580         * javax/swing/text/Utilities.java:
19581         (getNextWord): Fixed grammar in exception message.
19582         (getPreviousWord): Changed expression in first if-clause, added sub-
19583         expression to if-clause in while-loop.
19584         (getWordStart): Changed expression in if-clause.
19585         getNextVisualPositionFrom): Added package-private helper method.
19586
19587 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19588  
19589         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19590         Initialise to -1.
19591
19592 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19593
19594         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19595         Added help text.
19596         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19597         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19598         * tools/gnu/classpath/tools/jarsigner/Main.java:
19599         Increased visibility of fields used by parser anonymous classes.
19600         (HELP_PATH): Removed.
19601         (cmdLineParser): New field.
19602         (main): Handle JVM exit status.
19603         Handle command line parsing exceptions.
19604         (processArgs): Use getopt command line parser.
19605         (getParser): New method.
19606         (setupCommonParams): Removed checks now handled by processArgs().
19607         (setupSigningParams): Likewise.
19608         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19609         Reuse an existing message-bundle constant.
19610
19611 2006-05-12  Tom Tromey  <tromey@redhat.com>
19612
19613         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19614         Explicitly specify class for synchronization.
19615
19616 2006-05-12  Tom Tromey  <tromey@redhat.com>
19617
19618         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19619
19620 2006-05-12  Sven de Marothy  <sven@physto.se>
19621
19622         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19623         * gnu/java/net/protocol/http/HTTPURLConnection.java
19624         (setConnectTimeout): New method.
19625         (getConnection): Add timeout parameter.
19626         *  java/net/URLConnection.java  
19627         (getConnectTimeout, setConnectTimeout): Implement.
19628         * native/target/generic/target_generic_network.h: 
19629         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19630         
19631 2006-05-12  Sven de Marothy  <sven@physto.se>
19632   
19633         * gnu/javax/print/CupsServer.java
19634         (CupsServer): Make the Cups host configurable.
19635         * java/lang/System.java: Document the system property.
19636         
19637 2006-05-12  Roman Kennke <kennke@aicas.com>
19638   
19639         * javax/swing/border/TitledBorder.java
19640         (paintBorder): Rewritten for simplicity and correctness.
19641         (layoutBorderWithTitle): New helper method.
19642         (paintBorderWithTitle): New helper method.
19643         (getBorderInsets): Rewritten.
19644         (getMinimumSize): Rewritten.
19645         (getRealJustification): Removed.
19646         (getMeasurements): Removed.
19647         (Measurements): Removed.
19648   
19649 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19650   
19651         * javax/swing/plaf/basic/BasicPanelUI.java
19652         (sharedUI): New field,
19653         (createUI): Return a shared instance rather than a new instance,
19654         (installUI): Reformatted and added API docs,
19655         (installDefaults): Install border if one is defined,
19656         (uninstallDefaults): Uninstall border.
19657
19658 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19659
19660         * javax/swing/JProgressBar.java: Updated API docs all over.
19661
19662 2006-05-11  Lillian Angel  <langel@redhat.com>
19663
19664         * java/awt/ContainerOrderFocusTraversalPolicy.java
19665         (getComponentAfter): Should not throw exception if
19666         the ancestor is null. Added a check for this.
19667         Also, changed to use new helper function, we should
19668         iterate through all the components at least once.
19669         (getNextAvailableComponent): New helper function.
19670         (getPrevAvailableComponent): New helper function.
19671         (getComponentBefore): Should not throw exception if
19672         the ancestor is null. Added a check for this.
19673         Also, changed to use new helper function, we should
19674         iterate through all the components at least once.
19675         (getFirstComponent): Changed check to manually check
19676         fields. Calling accept() casts the object to a Component,
19677         so different values may be returned.
19678         (getLastComponent): Likewise.
19679
19680 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19681
19682         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19683         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19684         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19685         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19686         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19687         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19688         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19689         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19690         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19691         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19692         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19693         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19694         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19695         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19696         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19697         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19698         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19699         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19700
19701 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19702
19703         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19704         package-private, added field 'active'.
19705         (PropertyChangeHandler.propertyChange): Added variable 'name', added
19706         cases to update field 'active'.
19707         (mouseDragged): Added documentation, added if-clause to update
19708         selection or caret position.
19709         (mouseClicked): Added early return when text component is disabled.
19710         (focusGained): Moved statements into an if-clause.
19711         (focusLost): Added subexpression to if-clause.
19712         (install): Preset value of 'active'.
19713         (paint): Added subexpression to if-clause.
19714         (isVisible): Extended return expression.
19715         * javax/swing/text/JTextComponent.java:
19716         (copy): Copy only if component is enabled.
19717         (cut): Cut only if component is enabled and editable.
19718         (paste): Dito.
19719
19720 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19721
19722         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19723         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19724         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19725         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19726         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19727         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19728         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
19729
19730 2006-05-11  Roman Kennke <kennke@aicas.com>
19731
19732         * gnu/java/awt/font/GNUGlyphVector.java
19733         (GNUGlyphVector): Don't apply the font renderer context's
19734         transform.
19735   
19736 2006-05-11  Mark Wielaard  <mark@klomp.org>
19737
19738         * java/util/logging/Logger.java (global): Initialize inside static
19739         PrivilegedAction.
19740
19741 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19742   
19743         * javax/swing/JFrame.java
19744         (EXIT_ON_CLOSE): Added note to API docs,
19745         (close_action): Renamed closeAction,
19746         (JFrame()): Change title to "",
19747         (JFrame(String)): Added API docs,
19748         (getAccessibleContext): Likewise,
19749         (getDefaultCloseOperation): Updated for renamed field, added API docs,
19750         (processWindowEvent): Updated for renamed field,
19751         (setDefaultCloseOperation): Likewise, and updated API docs.
19752   
19753 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19754   
19755         * javax/swing/JFrame.java
19756         (paramString): Reimplemented,
19757         * javax/swing/SwingUtilities.java
19758         (convertWindowConstantToString): New method.
19759   
19760 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19761   
19762         * javax/swing/WindowConstants.java: Updated API docs.
19763   
19764 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19765   
19766         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19767         (createUI): Removed 'final' qualifier for parameter,
19768         (paint): Reformatted.
19769   
19770 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19771   
19772         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19773         (createUI): Removed 'final' qualifier on method argument.
19774   
19775 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19776   
19777         * javax/swing/plaf/basic/BasicCheckBoxUI.java
19778         (getDefaultIcon): Removed this redundant method.
19779
19780 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19781
19782         * javax/swing/plaf/basic/BasicRadioButtonUI.java
19783         (paint): Pass component size to paintFocus().
19784
19785 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19786
19787         * java/awt/Component.java:
19788         (dispatchEventImpl): Added comment.
19789   
19790   2006-05-11  Mark Wielaard  <mark@klomp.org>
19791   
19792         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19793         Option constructor null argument to String.
19794   
19795 2006-05-11  Mark Wielaard  <mark@klomp.org>
19796
19797         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19798         Fully qualify PathIterator constants
19799
19800 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19801
19802         * java/awt/Component.java:
19803         (dispatchEventImpl): Added subexpression to if-clause.  
19804
19805 2006-05-11  Mark Wielaard  <mark@klomp.org>
19806
19807         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19808         Map.Entry.
19809
19810 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19811
19812         * javax/swing/TransferHandler.java: Marked stub methods.
19813
19814 2006-05-10  Roman Kennke <kennke@aicas.com>
19815
19816         PR classpath/27481
19817         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19818         (installDefaults): Set background of content pane to null, if
19819         no custom color has been installed by the application yet.
19820
19821 2006-05-10  Roman Kennke <kennke@aicas.com>
19822
19823         PR classpath/27481
19824         * javax/swing/JRootPane.java
19825         (createContentPane): Don't set background to null.
19826
19827 2006-05-10  Sven de Marothy <sven@physto.se>
19828
19829         * java/awt/print/PrinterJob.java:
19830         (lookupPrintServices): Un-comment-out.
19831
19832 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
19833
19834         * tools/gnu/classpath/tools/getopt/OptionGroup.java
19835         (FILLER): New constant.
19836         (formatText(PrintStream,String,int)): New method.
19837         (formatText(PrintStream,String,int,Locale)): Likewise.
19838         (printHelp): Use formatText method.
19839         * tools/gnu/classpath/tools/getopt/Parser.java
19840         (MAX_LINE_LENGTH): New constant.
19841         (formatText(PrintStream,String)): New method.
19842         (formatText(PrintStream,String,Locale)): Likewise.
19843         (printHelp): New method.
19844         (printHelp(PrintStream)): Increased visibility to protected.
19845         Use formatText method.
19846
19847 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19848
19849         * javax/swing/plaf/metal/MetalRadioButtonUI.java
19850         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
19851         modify the lookup key.
19852
19853 2006-05-10  Lillian Angel  <langel@redhat.com>
19854
19855         * java/util/SimpleTimeZone.java: Reverted patch.
19856         (SimpleTimeZone): Throw exception if startMonth == 
19857         endMonth.
19858         (SimpleTimeZone): Likewise.
19859         (checkRule): Rewritten to properly check all values (more 
19860         efficently).
19861         This code is now more stable, at least less buggy than before. 
19862         Fixed API documentation.
19863         (setStartRule): Moved checkRule call to end.
19864         (setStartRule): Likewise.
19865         (setEndRule): Likewise.
19866         (setEndRule): Likewise.
19867
19868 2006-05-10  Roman Kennke <kennke@aicas.com>
19869
19870         * gnu/java/awt/peer/swing/SwingComponent.java:
19871         Some API comment fixlets.
19872         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19873         (createImage): Create a BufferedImage, not a Toolkit image.
19874         (paint): Removed bogus API comment.
19875         (prepareImage): Added checks to avoid NPE.
19876         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19877         (getInsets): Added check to avoid NPE.
19878         (handleMouseEvent): Added check to avoid NPE.
19879         * gnu/java/awt/peer/swing/SwingFramePeer.java:
19880         Some API comment fixlets.
19881         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19882         Some API comment fixlets.
19883         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19884         Changed start_pos name to startPos.
19885         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19886         Some API comment fixlets.
19887
19888 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19889
19890         * java/awt/BasicStroke.java
19891         (equals): Fixed typo in HTML tag for API doc comment.
19892
19893 2006-05-10  Gary Benson  <gbenson@redhat.com>
19894
19895         * java/lang/ThreadGroup.java (parent): Make package-private.
19896         * java/lang/SecurityManager.java (checkAccess(Thread)):
19897         Reference ThreadGroup.parent directly to avoid extra checks.
19898         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19899         Likewise.
19900
19901 2006-05-10  Roman Kennke <kennke@aicas.com>
19902
19903         Reported by Ingo Proetel (proetel@aicas.com)
19904         * java/awt/EventDispatchThread.java
19905         (DEFAULT_PRIORITY): New constant field.
19906         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19907         system property for adjusting the priority of the event
19908         dispatch thread.
19909
19910 2006-05-10  Roman Kennke <kennke@aicas.com>
19911
19912         Reported by Ingo Proetel (proetel@aicas.com)
19913         * java/awt/image/ColorModel.java
19914         (S_RGB_MODEL): New constant field.
19915         (getRGBDefault): Return constant SRGBColorModel.
19916         (SRGBColorModel): Specialized color model for sRGB.
19917
19918 2006-05-10  Roman Kennke <kennke@aicas.com>
19919
19920         * java/awt/ColorPaintContext.java
19921         (getRaster): Create Raster with (0,0) as source location.
19922
19923 2006-05-10  Roman Kennke <kennke@aicas.com>
19924
19925         * gnu/java/awt/java2d/AlphaCompositeContext.java
19926         (compose): Don't premultiply alpha to alpha itself.
19927
19928 2006-05-10  Roman Kennke <kennke@aicas.com>
19929
19930         * gnu/java/awt/java2d/AbstractGraphics2D.java
19931         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19932         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19933         New method.
19934         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19935         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19936         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19937         New method.
19938         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19939         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19940         New method.
19941         (scale): Inverse transform by doing 1/scale instead of -scale.
19942         (drawImage(Image,int,int,ImageObserver)): Implemented.
19943         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19944         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19945         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19946         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19947         Implemented.
19948         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19949         Implemented.
19950         (fillScanline): Work on translated destination raster for
19951         correct compositin.
19952         (init): Fetch the clip after the destination raster is initialized.
19953         * gnu/java/awt/java2d/ImagePaint.java: New file.
19954         * gnu/java/awt/java2d/RasterGraphics
19955         (drawImage): Removed.
19956
19957 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19958
19959         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19960         Clarify option descriptions.
19961         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19962         uppercase for metasyntactic variables.
19963
19964 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
19965
19966         PR classpath/24216
19967         * javax/swing/text/AbstractDocument.java:
19968         (insertString): Added more documentation, added argument check.
19969         (remove): Added more documentation.
19970         (removeImpl): Added argument check.
19971         (replace): Added more documentation, added argument check.
19972
19973 2006-05-09  Tom Tromey  <tromey@redhat.com>
19974
19975         * tools/.cvsignore: Added appletviewer.
19976
19977 2006-05-09  Tom Tromey  <tromey@redhat.com>
19978
19979         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19980         empty groups.
19981
19982 2006-05-09  Tom Tromey  <tromey@redhat.com>
19983
19984         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
19985         Special case for '-J'.  Use space instead of '='.
19986         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19987         comment.
19988
19989 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19990
19991         * configure.ac: Add --disable-plugin and --with-vm options.  Check
19992         for plugin support headers and libraries.
19993         * native/Makefile.am: Recurse into plugin directory.
19994         * native/plugin/.cvsignore: New file.
19995         * native/plugin/Makefile.am: New file.
19996         * native/plugin/gcjwebplugin.cc: New file.
19997         * tools/Makefile.am: Install appletviewer wrapper script.
19998         * tools/appletviewer.in: Replace VM location heuristic with
19999         VM_BINARY configure substitution.
20000
20001 2006-05-09  Tom Tromey  <tromey@redhat.com>
20002
20003         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20004         an initial pass to look for short options.  Added 'longOnly' option.
20005         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20006         option.
20007         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20008         options into final group.  Added -J.
20009         (add): Insert new groups before final group.
20010         (printHelp): Updated.
20011
20012 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20013
20014         PR 27518
20015         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20016         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20017         Expect -classpath option.
20018         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20019         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20020         -classpath option.
20021         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20022         (classLoader): New field. (loadClass, setClassPath):
20023         New methods.
20024
20025 2006-05-09  Roman Kennke <kennke@aicas.com>
20026
20027         * gnu/java/awt/java2d/RasterGraphics.java
20028         (RasterGraphics): Call init() and super().
20029         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20030         this.
20031
20032 2006-05-09  Gary Benson  <gbenson@redhat.com>
20033
20034         * java/lang/Thread.java (Thread): Always perform threadgroup
20035         access checks on thread creation.
20036
20037 2006-05-09  Chris Burdess  <dog@gnu.org>
20038
20039         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20040           be preserved during cloneNode.
20041
20042 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20043
20044         PR 27517
20045         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20046         Do not demand all thrown exceptions to be an instance of RemoteException.
20047
20048 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20049
20050         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20051         Use hash-style comments.
20052         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20053         Likewise.
20054
20055 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20056
20057         * javax/swing/JLabel.java
20058         (paramString): Added more attribute details,
20059         * javax/swing/SwingUtilities.java
20060         (convertHorizontalAlignmentCodeToString): New method,
20061         (convertVerticalAlignmentCodeToString): New method.
20062
20063 2006-05-08  Tom Tromey  <tromey@redhat.com>
20064
20065         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20066         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20067         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20068         ZipInputStream.
20069         (run): Updated.
20070         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20071         for verbose.
20072         (run): Use ZipInputStream.
20073         (initSet): New method.
20074         (shouldExtract): Likewise.
20075         (run): Use new methods.
20076         * tools/gnu/classpath/tools/jar/Creator.java
20077         (writeCommandLineEntries): New overload.
20078         (writeFile): Use System.err for verbose.
20079         (writeManifest): New method.
20080         (writtenItems): New field.
20081         (writeFile): Update it.
20082         (writeCommandLineEntries): Return void.  Call writeManifest.
20083         (addEntries): Don't add extra '/'.
20084         * NEWS: Mention jar.
20085
20086 2006-05-08  Lillian Angel  <langel@redhat.com>
20087
20088         * gnu/java/net/IndexListParser.java: New class.
20089         * java/net/URLClassLoader.java
20090         (JarURLLoader): Fixed code to use new class.
20091
20092 2006-05-08  Roman Kennke <kennke@aicas.com>
20093
20094         * javax/swing/JComboBox.java
20095         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20096         (AccessibleJComboBox.getAccessibleChild): Implemented.
20097         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20098         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20099         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20100         (AccessibleJComboBox.getAccessibleAction): Implemented.
20101         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20102         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20103         (AccessibleJComboBox.doAccessibleAction): Implemented.
20104         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20105         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20106         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20107         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20108         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20109
20110 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20111
20112         * configure.ac: Add support for building appletviewer.
20113         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20114         New file.
20115         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20116         New file.
20117         * tools/appletviewer.c: New file.
20118         * tools/appletviewer.in: New file.
20119         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20120         New file.
20121         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20122         New file.
20123         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20124         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20125         file.
20126         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20127         New file.
20128         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20129         New file.
20130         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20131         file.
20132         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20133         file.
20134         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20135         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20136         New file.
20137         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20138         New file.
20139         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20140         New file.
20141         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20142         New file.
20143         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20144         New file.
20145         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20146         New file.
20147         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20148         file.
20149
20150 2006-05-08  Tom Tromey  <tromey@redhat.com>
20151
20152         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20153         * tools/gnu/classpath/tools/jar/Action.java: New file.
20154         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20155         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20156         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20157         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20158         * tools/gnu/classpath/tools/jar/Main.java: New file.
20159         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20160         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20161         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20162         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20163         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20164         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20165         file.
20166
20167 2006-05-08  Lillian Angel  <langel@redhat.com>
20168
20169         * java/net/URLClassLoader.java
20170         (JarURLLoader): Added check to make sure the INDEX.LIST file
20171         exists.
20172
20173 2006-05-08  Roman Kennke <kennke@aicas.com>
20174
20175         * gnu/java/awt/java2d/AbstractGraphics2D.java
20176         (fill): Removed commented out code.
20177         (fillShape): Also determine the outline of the clip and feed
20178         it into the rendering method. Use new helper method for
20179         converting the shapes into lists of segments.
20180         (getUserBounds): Removed obsolete method.
20181         (rawFillShape): Respect the clip when rendering shapes.
20182         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20183         However, the implementation can't clip still.
20184         (getSegments): New helper method for converting a shape into
20185         a list of segments.
20186         (clipShape): Removed obsolete method.
20187         * gnu/java/awt/java2d/PolyEdge.java
20188         (isClip): New field.
20189         (PolyEdge): Added isField argument to constructor.
20190
20191 2006-05-08  Roman Kennke <kennke@aicas.com>
20192
20193         PR 27481
20194         * javax/swing/JRootPane.java
20195         (createContentPane): Set background of the content pane to null,
20196         so that the content pane inherits its background from the
20197         root pane.
20198
20199 2006-05-08  Roman Kennke <kennke@aicas.com>
20200
20201         PR 27480
20202         * javax/swing/ButtonGroup.java
20203         (add): Check if new button is selected and if so, deselect other
20204         buttons in the group.
20205
20206 2006-05-08  Lillian Angel  <langel@redhat.com>
20207
20208         PR 27444
20209         * java/net/URLClassLoader.java
20210         (JarURLLoader): Added code to go through 
20211         META-INF/INDEX.LIST file to load all jars listed.
20212
20213 2006-05-08  Roman Kennke <kennke@aicas.com>
20214
20215         PR 27461
20216         * javax/swing/ImageIcon.java
20217         (ImageIcon(URL)): Set description to URL.toString().
20218
20219 2006-05-08  Roman Kennke <kennke@aicas.com>
20220
20221         PR 27482
20222         * javax/swing/JTable.java
20223         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20224         null when cell value is null.
20225
20226 2006-05-08  Roman Kennke <kennke@aicas.com>
20227
20228         PR 27484
20229         * javax/swing/DefaultDesktopManager.java
20230         (closeFrame): Don't perform default close action on the frame
20231         to prevent endless loop.
20232
20233 2006-05-08  Roman Kennke <kennke@aicas.com>
20234
20235         PR 27485
20236         * javax/swing/table/DefaultTableModel.java
20237         (addExtraRows): New helper method.
20238         (checkSize): New helper method.
20239         (setRowCount): Use addExtraRows helper method.
20240         (addColumn): Use addExtraRows helper method.
20241         (getColumnName): Check and adjust size if necessary using
20242         checkSize().
20243
20244 2006-05-08  Roman Kennke <kennke@aicas.com>
20245
20246         PR 27486
20247         * javax/swing/JTable.java
20248         (setValueAt): Allow setting values even when table is editable.
20249
20250 2006-05-08  Tom Tromey  <tromey@redhat.com>
20251
20252         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20253         space to error message.
20254
20255 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20256
20257         * javax/swing/AbstractButton.java: Fixed comment typos.
20258
20259 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20260
20261         PR classpath/27435:
20262         * java/util/zip/DeflaterEngine.java:
20263         (deflateFast(boolean,boolean)): Empty buffer when full.
20264         
20265 2006-05-07  Sven de Marothy <sven@physto.se>
20266
20267         Fixed PR27343
20268         * java/util/Calendar.java (setTimeZone): Force recalculation.
20269         
20270 2006-05-07  Sven de Marothy <sven@physto.se>
20271
20272         Fixed PR27463
20273         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20274         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20275         
20276 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20277
20278         PR classpath/27311:
20279         * gnu/java/text/StringFormatBuffer.java:
20280         (toString()): Implemented so we can see the contents.
20281         * java/text/DecimalFormat.java:
20282         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20283         Don't calculate the exponent when the number is 0 or less.
20284         Also, use log10 instead of log now it's available.
20285         
20286 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20287
20288         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20289         Use instance's field creationDate not the constructor's argument.
20290         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20291         Removed unused imports.
20292         Sorted imports.
20293         (log): New field.
20294         (decrypt): Added trace/debug/timing statements.
20295         (encrypt): Likewise.
20296         Use PRNG instead of instantiating every time a new SecureRandom.
20297         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20298         Removed unused imports.
20299         Sorted imports.
20300         (log): New field.
20301         (verify): Added trace/debug/timing statements.
20302         (authenticate): Likewise.
20303         Use PRNG instead of instantiating every time a new SecureRandom.
20304
20305 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20306
20307         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20308         (THREAD_FORMAT): Likewise.
20309         (dateFormat): Added field.
20310         (threadFormat): Added field.
20311         (format): Initialize instance fields if null.
20312         Use StringBuilder instead of StringBuffer.
20313
20314 2006-05-07  Roman Kennke <kennke@aicas.com>
20315
20316         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20317
20318 2006-05-07  Roman Kennke <kennke@aicas.com>
20319
20320         * gnu/java/awt/java2d/AbstractGraphics2D.java
20321         (fillShape): Determine user space bounds of shape and feed them
20322         into the actual rendering pipeline.
20323         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20324         (rawSetForeground): Likewise.
20325         (getDestinationColorModel): Removed.
20326         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20327         (rawFillShape): Handle paint context.
20328         (fillScanline): Implement painting and compositing.
20329         (fillShapeAntialias): Handle paint context.
20330         (fillScanlineAA): Implemented preliminary antialiasing based on
20331         composite context. Not working yet.
20332         (fillScanlineAlpha): Removed.
20333         (init): Fetch destination raster.
20334         (getDestinationRaster): New abstract method.
20335         (updateRaster): New backend method.
20336
20337 2006-05-07  Roman Kennke <kennke@aicas.com>
20338
20339         * gnu/java/awt/java2d/AlphaCompositeContext.java
20340         (compose): Fixed loops, conditions and logic to make compositing
20341         work correctly.
20342
20343 2006-05-07  Roman Kennke <kennke@aicas.com>
20344
20345         * java/awt/ColorPaintContext.java
20346         (ColorPaintContext): Fixed filling of the raster.
20347
20348 2006-05-07  Sven de Marothy <sven@physto.se>
20349
20350         Fixed PR27455
20351         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20352         * java/awt/Component.java (processMouseEvent): 
20353         Do lightweight cursor handling.
20354         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20355         (endResizing,mouseMoved): Save and reset original cursor, not the 
20356         default one.
20357
20358 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20359
20360         PR 27298
20361         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20362         getNodeDimensions): Mind the size of the node icon. (getRowX):
20363         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20364         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20365         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20366         (installDefaults): assign totalChildIndent. (installUI): Call
20367         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20368         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20369         the tree.
20370
20371 2006-05-06  Sven de Marothy <sven@physto.se>
20372
20373         Fixed PR27454
20374         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20375         Check for zero image sizes.
20376         
20377 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20378
20379         Fixed PR27362
20380         * java/util/Calendar.java (clear(int)): Forced internal state
20381         completion before performing a field clearing.
20382
20383 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20384
20385         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20386         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20387         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20388         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20389         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20390         UnmodifiableMapEntry as part of their return value. 
20391
20392 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20393
20394         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20395         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20396         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20397         Generate jarsigner and keytool scripts.
20398         * tools/keytool.in: New file (renamed from keytool.sh.in).
20399         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20400         * tools/.cvsignore: Replaced *.sh with *
20401         * configure.ac: Replaced tools/*.sh with tools/*.
20402
20403 2006-05-05  Roman Kennke <kennke@aicas.com>
20404
20405         * java/awt/image/ColorModel.java
20406         (getNormalizedComponents): Implemented.
20407
20408 2006-05-05  Roman Kennke <kennke@aicas.com>
20409
20410         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20411         (paint): Query the button model for it's state, not the
20412         button itself.
20413
20414 2006-05-05  Roman Kennke <kennke@aicas.com>
20415
20416         * javax/swing/JTable.java
20417         (tableChanged): Sync selection model with table model changes.
20418
20419 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20420
20421         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20422         if there are no visible nodes to paint.
20423
20424 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20425
20426         * javax/swing/JOptionPane.java: API doc updates.
20427
20428 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20429
20430         * javax/swing/JToolBar.java
20431         (paramString): Reimplemented.
20432
20433 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20434
20435         * javax/swing/JScrollBar.java
20436         (paramString): Reimplemented.
20437
20438 2006-05-04  Tom Tromey  <tromey@redhat.com>
20439
20440         PR classpath/27375:
20441         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20442         (readEntries): Updated.
20443         (getEntries): Likewise.
20444         (getEntry): Likewise.
20445         (getInputStream): Likewise.
20446
20447 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20448
20449         * gnu/javax/imageio/jpeg/DCT.java,
20450         gnu/javax/imageio/jpeg/HuffmanTable.java,
20451         gnu/javax/imageio/jpeg/JPEGComponent.java,
20452         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20453         gnu/javax/imageio/jpeg/JPEGException.java,
20454         gnu/javax/imageio/jpeg/JPEGFrame.java,
20455         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20456         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20457         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20458         gnu/javax/imageio/jpeg/JPEGMarker.java,
20459         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20460         gnu/javax/imageio/jpeg/JPEGScan.java,
20461         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20462         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20463
20464 2006-05-04  Lillian Angel  <langel@redhat.com>
20465
20466         * javax/swing/JLabel.java
20467         (JLabel): Pass in an empty string for the text parameter.
20468         (JLabel): Likewise.
20469         (JLabel): Likewise.
20470
20471 2006-05-04  Roman Kennke <kennke@aicas.com>
20472
20473         * javax/swing/plaf/basic/BasicButtonListener.java
20474         (mouseEntered): Fixed conditions for changing states.
20475
20476 2006-05-04  Roman Kennke <kennke@aicas.com>
20477
20478         * javax/swing/JOptionPane.java
20479         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20480
20481 2006-05-04  Roman Kennke <kennke@aicas.com>
20482
20483         * javax/swing/JLabel.java
20484         (AccessibleJLabel.getSelectedText): Return null instead of "".
20485         (AccessibleJLabel.getSelectionStart): Added comment why
20486         return -1 is correct here.
20487         (AccessibleJLabel.getSelectionEnd): Added comment why
20488         return -1 is correct here.
20489         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20490         to do here.
20491         (AccessibleJLabel.getCharCount): Added comment about what
20492         to do here.
20493         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20494         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20495         (paramString): Return super.paramString() here, this provides
20496         a more meaningful output.
20497
20498 2006-05-04  Roman Kennke <kennke@aicas.com>
20499
20500         * javax/swing/JComponent.java
20501         (paint): Added null check to avoid NPE when clip == null.
20502
20503 2006-05-04  Roman Kennke <kennke@aicas.com>
20504
20505         * javax/swing/AbstractButton.java
20506         (addImpl): New method. Installs an OverlayLayout if no
20507         other layout has been installed before.
20508         (setLayout): New method. Detect if a client app installs a custom
20509         layout.
20510
20511 2006-05-04  Roman Kennke <kennke@aicas.com>
20512
20513         * javax/swing/table/DefaultTableCellRenderer.java
20514         (noFocusBorder): Fixed width of empty border to 1.
20515         (getTableCellRendererComponent): Don't change the colors for
20516         focuses cells. Fixed border for focused cells.
20517
20518 2006-05-04  Roman Kennke <kennke@aicas.com>
20519
20520         * javax/swing/JTable.java
20521         (moveToCellBeingEdited): Adjust bounding box of editing component
20522         to exactly cover the grid.
20523         * javax/swing/plaf/basic/BasicTableUI.java
20524         (paint): Paint grid to the bottom and right of the cells instead
20525         of left and top. Adjust bounding box of cells accordingly.
20526         * javax/swing/plaf/metal/MetalLookAndFeel.java
20527         (initComponentDefaults): Fixed color of JTable selection border.
20528         * javax/swing/plaf/metal/OceanTheme.java
20529         (addCustomEntriesToTable): Fixed color of JTable selection border.
20530
20531 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20532
20533         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20534         Use _alias instead of alias.
20535
20536 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20537
20538         * configure.ac:
20539         Set version to 0.92-pre.
20540         * NEWS:
20541         Add space for 0.92 entries.
20542
20543 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20544
20545         * include/Makefile.am:
20546         Added rules for gnu.java.net.local.LocalSocketImpl.h
20547         * include/java_lang_VMSystem.h:
20548         Regenerated correctly.
20549         
20550 2006-05-03  Sven de Marothy <sven@physto.se>
20551        
20552         PR 24023, 24701
20553         * java/awt/Image.java:
20554         (getScaledInstance): Default to AreaAveraging for "smooth", 
20555         don't thrown an error on illegal flag values.
20556         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20557
20558 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20559
20560         * javax/swing/text/FieldView.java:
20561         (adjustAllocation): Added if-block to return null when shape argument
20562         is null.
20563         * javax/swing/text/PlainView.java:
20564         (updateDamage): Added if-block to return early if a is null.
20565
20566 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20567
20568         * javax/swing/plaf/basic/BasicTextUI.java:
20569         (changeUpdate): Added note.
20570         (removeUpdate): Dito.
20571         (insertUpdate): Dito.
20572         (damageRange): Added if-block to return early.
20573         (modelToView): Added check of getVisibleEditorRect's return value.
20574         (getVisibleEditorRect): Return null instead of empty rectangle.
20575         * javax/swing/text/DefaultCaret.java:
20576         (clearHighlight): Removed if-clause to create a highlight entry if it
20577         did not exist before.
20578         * javax/swing/text/WrappedPlainView.java:
20579         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20580         removed 2nd part of if-expression.
20581         (WrappedLine.updateDamage): Added more documentation, added check
20582         whether allocation area rectangle is null.
20583
20584 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20585
20586         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20587         Reset to preferred sizes if the argument is negative.
20588
20589 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20590
20591         * javax/swing/JList.java: Added/updated API docs.
20592
20593 2006-05-03  Lillian Angel  <langel@redhat.com>
20594
20595         * javax/swing/JComponent.java
20596         (getRoot): New private function. Gets the root appropriate
20597         for painting. If an applet exists as a parent, then it is returned.
20598         (paintDoubleBuffered): Changed to use new function.
20599         * javax/swing/RepaintManager.java
20600         (getRoot): New private function. Gets the root appropriate
20601         for painting. If an applet exists as a parent, then it is returned.
20602         (getOffscreenBuffer): Changed to use new function.
20603         * javax/swing/SwingUtilties.java
20604         (getRoot): Reverted last patch to return Window, even if 
20605         an Applet exists.
20606
20607 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20608
20609         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20610         a pair of one public keyring and one private keyring.
20611         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20612         (containsCertificate): Added logging.
20613         (getCertificate): Likewise.
20614         (putCertificate): Likewsie.
20615         (load): Likewise.
20616         (store): Likewise.
20617         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20618         (containsPrivateKey): Added logging.
20619         (getPrivateKey): Likewise.
20620         (putPrivateKey): Likewise.
20621         (containsPublicKey): Likewise.
20622         (getPublicKey): Likewise.
20623         (putPublicKey): Likewise.
20624         (containsCertPath): Likewise.
20625         (getCertPath): Likewise.
20626         (putCertPath): Likewise.
20627         (load): Likewise.
20628         (store): Likewise.
20629
20630 2006-05-03  Roman Kennke <kennke@aicas.com>
20631
20632         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20633         * java/awt/AlphaComposite.java
20634         (createContext): Implemented.
20635
20636 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20637
20638         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20639         Set the current color again after drawing the raster.
20640
20641 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20642
20643         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20644         Do not check pos < currLineEnd if currLineStart == currLineEnd.
20645
20646 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20647
20648         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20649         Assign returned value to field handler.
20650         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20651         Likewise.
20652
20653 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20654
20655         * javax/swing/ScrollPaneLayout.java (layoutContainer):
20656         Return without action if there is no view in the viewport.
20657         * javax/swing/text/WrappedPlainView.java 
20658         (WrappedLine.getPreferredSpan): If metrics == null, update
20659         metrics.
20660         * javax/swing/tree/DefaultTreeModel.java (constructors):
20661         Do not call setRoot, assign the root node directly.
20662
20663 2006-05-02  Lillian Angel  <langel@redhat.com>
20664
20665         * javax/swing/SwingUtilities.java
20666         (getRoot): Should return the Applet if it exists.
20667         Only return the Window if an Applet has not been
20668         encountered.
20669
20670 2006-05-02  Lillian Angel  <langel@redhat.com>
20671
20672         * gnu/javax/swing/text/html/parser/support/Parser.java
20673         (readAttributes): Reverted Audrius' last patch. There is 
20674         a slight difference in code between the NUMTOKEN and SLASH case. 
20675
20676 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20677
20678         * javax/swing/text/JTextComponent.java:
20679         (setText): Throw InternalError from catch-block.
20680         * javax/swing/text/GapContent.java:
20681         (removed): Removed if-expression, changed '>' to '>='.
20682
20683 2006-05-02  Roman Kennke <kennke@aicas.com>
20684
20685         * gnu/java/awt/java2d/AbstractGraphics2D.java
20686         (AA_SAMPLING): New constant.
20687         (alpha): New field. Used in the antialiasing renderer.
20688         (edgeTable): New field. Used in the antialiasing renderer.
20689         (AbstractGraphics2D): Initialize rendering hints wrt
20690         anti-aliasing.
20691         (draw): Clip after stroking. Commented out clipping for now,
20692         it seems to be buggy.
20693         (fill): Commented out clipping for now, it seems to be buggy.
20694         (setComposite): Don't create composite context.
20695         (setPaint): Only change paint when parameter is not null.
20696         (translate): Call setClip() so subclasses can update their clip
20697         too.
20698         (clip): Call setClip() so subclasses can update their clip
20699         too.
20700         (drawGlyphVector): Added clipping, but left it commented out
20701         because it's buggy.
20702         (getClipBounds): Returns null when clip is null.
20703         (drawLine): Call rawDrawLine with translation applied.
20704         (filLRect): Call rawFillRect with translation applied.
20705         (fillShape): Added support for anti-aliasing.
20706         (rawSetForeground(int,int,int)): New method.
20707         (rawFillShape): A couple of painting fixes.
20708         (fillScanline): Implemented to call rawDrawLine.
20709         (fillShapeAntialias): New method. Implements an anti-aliasing
20710         shape filler.
20711         (fillScanlineAA): New method. Used for the anti-aliasing
20712         shape filler.
20713         (fillScanlineAlpha): New method. Used for the anti-aliasing
20714         shape filler.
20715         (init): Initialize clip with the device bounds.
20716         (updateOptimization): Fixed the optimization condition.
20717
20718 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20719
20720         * javax/swing/text/GapContent.java:
20721         (GapContent): Restrict size argument by 2.
20722         (insertString): Changed expression from >= to >.
20723         (remove): Changed right side of expression to 'length - 1', changed
20724         exception message.
20725         (getChars): Throw exception if where below 0.
20726         (replace): Replaced call to setPositionsInRange() with
20727         resetMarksAtZero(), removed note.
20728
20729 2006-05-02  Roman Kennke <kennke@aicas.com>
20730
20731         PR 27326
20732         * javax/swing/MenuSelectionManager.java
20733         (setSelectedPath): Rewritten.
20734
20735 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20736
20737         * gnu/javax/swing/text/html/parser/support/Parser.java
20738         (readAttributes): Merge case NUMTOKEN: and case SLASH:
20739         sections.
20740
20741 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20742
20743         * tools/.cvsignore: Added keytool.sh.
20744         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20745
20746 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20747
20748         * doc/tools.texinfo: New file.
20749         * doc/Makefile.am: Generate tools documentation.
20750
20751 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20752
20753         * tools/keytool.sh.in: New file.
20754         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20755         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20756         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20757         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20758         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20759         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20760         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20761         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20762         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20763         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20764         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20765         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20766         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20767         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20768         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20769         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20770         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20771         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20772
20773 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20774
20775         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20776         resemble more closely man-page style text.
20777         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20778         Mark (Eclipse) strings that need not be externalised.
20779         (writeSF): Likewise.
20780         (writeDSA): Likewise.
20781         Use package-private Messages class to provide i18n-ready strings.
20782         (startSigning):
20783         Use package-private Messages class to provide i18n-ready strings.
20784         (updateEntry): Likewise.
20785         Mark (Eclipse) strings that need not be externalised.
20786         (finishSigning): Likewise.
20787         * tools/gnu/classpath/tools/jarsigner/Main.java:
20788         Mark (Eclipse) strings that need not be externalised.
20789         (main): Do not use constant strings as class name.
20790         Use package-private Messages class to provide i18n-ready strings.
20791         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20792         (processArgs): Do not use constant strings as class name.
20793         Mark (Eclipse) strings that need not be externalised.
20794         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20795         (start): Do not use constant strings as class name.
20796         (teardown): Likewise.
20797         Use ProviderUtil.
20798         (setupCommonParams): Do not use constant strings as class name.
20799         Use package-private Messages class to provide i18n-ready strings.
20800         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20801         (installNewProvider): Do not use constant strings as class name.
20802         Use ProviderUtil.
20803         (setupSigningParams): Do not use constant strings as class name.
20804         Use package-private Messages class to provide i18n-ready strings.
20805         Mark (Eclipse) strings that need not be externalised.
20806         (getCallbackHandler): Use CallbackUtil.
20807         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20808         Use package-private Messages class to provide i18n-ready strings.
20809         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20810         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20811         (verifySF): Likewise.
20812         (verifySFEntries): Do not use constant strings as class name.
20813         Use Boolean.valueOf instead of new Boolean().
20814         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20815         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20816         New file.
20817         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20818         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20819
20820 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20821
20822         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20823         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20824         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20825
20826 2006-05-01  Tom Tromey  <tromey@redhat.com>
20827
20828         * java/nio/ByteBufferImpl.java (compact): Don't reset position
20829         in empty case.
20830         * gnu/java/nio/ChannelReader.java (read): Synchronize.
20831         (close): Synchronize.
20832         * java/nio/ShortBufferImpl.java (compact): Rewrote.
20833         * java/nio/LongBufferImpl.java (compact): Rewrote.
20834         * java/nio/IntBufferImpl.java (compact): Rewrote.
20835         * java/nio/FloatBufferImpl.java (compact): Rewrote.
20836         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20837         * java/nio/CharBufferImpl.java (compact): Rewrote.
20838         * gnu/java/nio/ChannelWriter.java: New file.
20839         * java/nio/channels/Channels.java (newWriter): Implemented.
20840
20841 2006-05-01  Lillian Angel  <langel@redhat.com>
20842
20843         * java/util/SimpleTimeZone.java
20844         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20845         (SimpleTimeZone): Likewise.
20846         (checkRule): Rewritten to properly check all values (more efficently). 
20847         This code is now more stable, at least less buggy than before. Fixed
20848         API documentation.
20849         (setStartRule): Moved checkRule call to end.
20850         (setStartRule): Likewise.
20851         (setEndRule): Likewise.
20852         (setEndRule): Likewise.
20853
20854 2006-05-01  Tom Tromey  <tromey@redhat.com>
20855
20856         * lib/.cvsignore: Added classes.2.
20857
20858 2006-05-01  Tom Tromey  <tromey@redhat.com>
20859
20860         * java/util/jar/JarFile.java (provider): Now package-private.
20861         * java/lang/Enum.java (compareTo): Javadoc fix.
20862         * java/lang/Boolean.java (compareTo): Javadoc fix.
20863
20864 2006-05-01  Lillian Angel  <langel@redhat.com>
20865
20866         * gnu/javax/swing/text/html/parser/support/Parser.java
20867         (readAttributes): Formatted function. Added handling for 
20868         SLASH token. The value of an attribute may start with a slash
20869         (i.e. a path). I added handling similar to to the NUMTOKEN code.
20870         We should not be skipping over these type of attributes.
20871
20872 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20873
20874         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20875         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20876         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20877         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20878         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20879         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20880         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20881         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20882         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20883         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20884         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20885         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20886         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20887         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20888         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20889         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20890         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20891         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20892         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20893         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20894         * include/gnu_java_awt_peer_gtk_GtkImage.h,
20895         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20896         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20897         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20898         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20899         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20900         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20901         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20902         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20903         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20904         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20905         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20906         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20907         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20908         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20909         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20910         * include/gnu_java_awt_peer_qt_MainQtThread.h,
20911         * include/gnu_java_awt_peer_qt_QMatrix.h,
20912         * include/gnu_java_awt_peer_qt_QPainterPath.h,
20913         * include/gnu_java_awt_peer_qt_QPen.h,
20914         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20915         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20916         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20917         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20918         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20919         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20920         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20921         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20922         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20923         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20924         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20925         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20926         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20927         * include/gnu_java_awt_peer_qt_QtGraphics.h,
20928         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20929         * include/gnu_java_awt_peer_qt_QtImage.h,
20930         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20931         * include/gnu_java_awt_peer_qt_QtListPeer.h,
20932         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20933         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20934         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20935         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20936         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20937         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20938         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20939         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20940         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20941         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20942         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20943         * include/gnu_java_awt_peer_qt_QtToolkit.h,
20944         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20945         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20946         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20947         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20948         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20949         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20950         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20951         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20952         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20953         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20954         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20955         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20956         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20957         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20958         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20959         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20960         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20961         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20962         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20963         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20964         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20965         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20966         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20967         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20968         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20969         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20970         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20971         * include/java_lang_VMProcess.h:
20972         Regenerated.
20973         * native/jni/java-lang/java_lang_VMProcess.c:
20974         Redirect when pipe_count is 2 not 3.    
20975
20976 2006-04-30  Sascha Brawer <sascha@brawer.ch>
20977
20978         * gnu/java/awt/font/FontDelegate.java,
20979         * gnu/java/awt/font/FontFactory.java,
20980         * gnu/java/awt/font/GNUGlyphVector.java,
20981         * gnu/java/awt/font/opentype/CharGlyphMap.java,
20982         * gnu/java/awt/font/opentype/GlyphNamer.java,
20983         * gnu/java/awt/font/opentype/MacResourceFork.java,
20984         * gnu/java/awt/font/opentype/NameDecoder.java,
20985         * gnu/java/awt/font/opentype/OpenTypeFont.java,
20986         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20987         * gnu/java/awt/font/opentype/Scaler.java,
20988         * gnu/java/awt/font/opentype/truetype/Fixed.java,
20989         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20990         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20991         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20992         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20993         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20994         * gnu/java/awt/font/opentype/truetype/Zone.java,
20995         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20996         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20997         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20998         New files. Imported font framework from:
20999         http://www.brawer.ch/software/fonts/
21000
21001 2006-04-30  Roman Kennke <kennke@aicas.com>
21002
21003         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21004         (lastTabInRun): Fix calculation of the last tab in a run. This
21005         has caused painting problems sometimes, making the
21006         last tab painted incorrectly.
21007
21008 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21009
21010         PR 27297
21011         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21012         Use for and not while to prevent the endless loop.
21013
21014 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21015
21016         * javax/swing/JList.java
21017         (paramString): Changed from public to protected.
21018
21019 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21020
21021         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21022         (printHelpAndExit): Re-factored to use the above method.
21023
21024 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21025
21026         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21027         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21028         * tools/gnu/classpath/tools/jarsigner/Main.java:
21029         Changed license to GPL + Exception.
21030         (handler): New field.
21031         (getCallbackHandler): New method.
21032         (setupSigningParams): Use above method.
21033         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21034         Changed license to GPL + Exception.
21035         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21036         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21037         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21038         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21039
21040 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21041
21042         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21043         (handleConfirmation): Use print instead of println.
21044         (handleConfirmation): When case is YES_NO_OPTION, print default option
21045         if one was set.
21046         (handleLanguage): Use print instead of println.
21047
21048 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21049
21050         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21051         (putComponent): Handle O and OU components.
21052         (getDer): Use correct (it2) iterator.
21053         (readAttributeValue): Read next character and break if end-of-stream.
21054
21055 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21056
21057         * gnu/java/security/provider/Gnu.java (run):
21058         Add "RSA" as an alias to MD5withRSA.
21059         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21060         Always encode a NULL as the value of an algorithm parameters field.
21061         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21062         (encodePrivateKey): Added trace/log statements.
21063         (decodePrivateKey): Likewise.
21064         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21065         (setup): Added trace/log statements.
21066         (generate): Likewise.
21067         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21068         (toString): New method.
21069         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21070         (str): New field.
21071         (toString): New method.
21072         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21073         (getEncoded): Use defaultFormat.
21074         (toString): New method.
21075         * gnu/java/security/key/dss/DSSKey.java (toString):
21076         Include defaultFormat in string.
21077         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21078         Break if successfully decoded public key.
21079         (engineGeneratePrivate): Break if successfully decoded private key.
21080
21081 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21082
21083         * java/security/Security.java <clinit>: Add our Callback provider.
21084         * resource/java/security/classpath.security: Likewise
21085
21086 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21087
21088         PR 27296
21089         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21090         Decide about scroll bars from the preferred view size, not
21091         the current size.
21092         * javax/swing/ViewportLayout.java (layoutContainer):
21093         Do not change returned preferred size. Do not treat JScrollPane
21094         specially.
21095
21096 2006-04-28  Sven de Marothy <sven@physto.se>
21097
21098         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21099         * javax/swing/ProgressMonitor.java (actionPerformed): 
21100         Avoid divide-by-zero.
21101
21102 2006-04-28  Sven de Marothy <sven@physto.se>
21103
21104         * javax/swing/JSpinner.java: Fix default text justification.
21105         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21106
21107 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21108
21109         * javax/swing/JList.java
21110         (getMinSelectionIndex): Return correct value, added API docs,
21111         (getMaxSelectionIndex): Added API docs.
21112
21113 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21114
21115         * javax/swing/JList.java
21116         (JList(Object[])): Pass new model directly to init(),
21117         (JList(Vector)): Likewise,
21118         (JList(ListModel)): Renamed argument and updated API docs,
21119         (init): Throw IllegalArgumentException for null argument,
21120         (setListData(Object[])): Delegate model creation,
21121         (setListData(Vector)): Likewise,
21122         (createListModel(Object[])): New private method,
21123         (createListModel(Vector)): New private method,
21124         (paramString): Implemented.
21125
21126 2006-04-28  Tom Tromey  <tromey@redhat.com>
21127
21128         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21129         (isEnum): Rewrote.
21130         (isSynthetic): Likewise.
21131         (isAnnotation): Likewise.
21132         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21133         (isAnnotation): Likewise.
21134         (isEnum): Likewise.
21135
21136 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21137
21138         * javax/swing/text/View.java:
21139         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21140         view.
21141
21142 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21143
21144         * javax/swing/text/View.java:
21145         (getNextVisualPositionFrom): Rewritten.
21146         * javax/swing/text/CompositeView.java:
21147         (getNextEastWestVisualPositionFrom): Partly implemented.
21148         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21149
21150 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21151
21152         * javax/swing/JList.java
21153         (setFixedCellHeight): Use correct property name for event.
21154
21155 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21156
21157         * javax/swing/text/Utilities.java:
21158         (getNextWord): Use codePointAt instead of charAt, added note, changed
21159         if-expression, added throwing of exception.
21160         (getPreviousWord): Use codePointAt instead of charAt.
21161
21162 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21163
21164         * java/lang/StringBuilder.java
21165         (ensureCapacity, getChars, append(StringBuffer),
21166         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21167         insert(int,String), insert(int,char), trimToSize): Replaced
21168         System.arraycopy calls with VMSystem.arraycopy.
21169
21170 2006-04-27  Tom Tromey  <tromey@redhat.com>
21171
21172         * java/awt/image/renderable/RenderableImageProducer.java
21173         (requestTopDownLeftRightResend): Implemented.
21174         (run): Likewise.
21175         (startProduction): Add new consumer.
21176
21177 2006-04-27  Sven de Marothy  <sven@physto.se>
21178
21179         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21180
21181 2006-04-27  Roman Kennke <kennke@aicas.com>
21182
21183         * java/awt/LightweightDispatcher.java
21184         Dispatch events only to targets that have a mouselistener
21185         attached. Changed to also handle null targets.
21186
21187 2006-04-27  Roman Kennke <kennke@aicas.com>
21188
21189         * NEWS: Added entries about accessibility support and L&F
21190         window decorations.
21191
21192 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21193         
21194         * javax/swing/text/Utilities.java:
21195         (getTabbedTextOffset): Introduced width variable, rewritten the check
21196         which ends the loop.
21197         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21198         to false.
21199               
21200 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21201
21202         * examples/gnu/classpath/examples/swing/TreeDemo.java
21203         (createContent): Added root visibility and selection listener demos.
21204         * javax/swing/JTree.java (setRootVisible): If false, unselect
21205         the root node, if it is selected.
21206         * javax/swing/plaf/basic/BasicTreeUI.java 
21207         (TreeTraverseAction.actionPerformed): Do not select the root if it
21208         is not visible.
21209         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21210         removeSelectionPaths): Reset lead to null if the current lead path is
21211         removed from selection.
21212         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21213         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21214         Return the same path regardless is root visible or not. (update):
21215         Reduce the identation if the root is not visible.
21216         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21217         Return the same path regardless is root visible or not. (update):
21218         Reduce the identation if the root is not visible.
21219
21220 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21221
21222         * javax/swing/plaf/basic/BasicTreeUI.java
21223         (TreeAction.actionPerformed):Newly obtain the current lead
21224         path that must stay visible.
21225         (TreeTraverseAction.actionPerformed):Rewritten.
21226         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21227         Do not treat root specially. (setModel): Assume the root node
21228         initially expanded.
21229         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21230         Do not treat root specially. (setModel): Assume the root node
21231         initially expanded.
21232
21233 2006-04-26  Chris Burdess  <dog@gnu.org>
21234
21235         Fixes PR 27290
21236         * javax/xml/datatype/DatatypeFactory.java: Use complete
21237           implementation resolution mechanism.
21238
21239 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21240
21241         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21242         Implemented.
21243         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21244         Removed NoImplementException form the implemented method.
21245
21246 2006-04-26  Tom Tromey  <tromey@redhat.com>
21247
21248         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21249         throw IOException.
21250
21251 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21252
21253         * javax/swing/DefaultListSelectionModel.java
21254         (clone): Initialise empty listener list,
21255         (setSelectionMode): Throw IllegalArgumentException for bad input.
21256
21257 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21258
21259         * javax/swing/DefaultListSelectionModel.java
21260         (clearSelection): Clear the Bitset.
21261
21262 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21263
21264         * javax/swing/JTree.java (setLeadSelectionPath):
21265         Repaint the new and old lead pathes.
21266         * javax/swing/plaf/basic/BasicTreeUI.java
21267         (FocusHandler): Repaint the lead row when focus changes.
21268         (PropertyChangeHandler): Use existing constants, not the
21269         string literals for the property names.
21270         (TreeIncrementAction): Shrink the selection when moving
21271         from the selection edge to the selection anchor.
21272         (TreeSelectionHandler.valueChanged): Repaint the 
21273         new and old lead pathes.
21274         (paintRow): Treat row as focused only if it is the lead row.
21275         * javax/swing/tree/DefaultTreeCellRenderer.java
21276         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21277         (paint): Rewritten.
21278         * javax/swing/tree/DefaultTreeSelectionModel.java
21279         (addSelectionPath): Event construction fix (old and new lead were
21280         always the same).
21281         (addSelectionPaths): Likewise.
21282         * javax/swing/JComponent.java (setOpaque): Explained.
21283         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21284         Accept null.
21285         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21286         Accept null.
21287
21288 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21289
21290         * examples/gnu/classpath/examples/swing/TreeDemo.java
21291         (createContent): Call DefaultTreeModel.reload(), not the
21292         tree.repaint(). Expand the parent of the added node.
21293         * javax/swing/JTree.java (constructor): Do not call
21294         UpdateUI (and documented why). (treeDidChange):
21295         Added comment, excluding the misinterpretation of this method.
21296         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21297         focusListener, keyListener, mouseListener, propertyListener,
21298         selectionModelPropertyChangeListener, treeModelListener,
21299         treeSelectionListener): Made package private.
21300         (PropertyChangeHandler): If the model changes, install the
21301         listener on it. (installUI): Assign treeModel.
21302         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21303         comment, excluding misinterpretation.
21304         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21305         (reload(TreeNode)): Implemented.
21306
21307 2006-04-25  Tom Tromey  <tromey@redhat.com>
21308
21309         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21310         * javax/swing/tree/VariableHeightLayoutCache.java
21311         (getVisiblePathsFrom): Genericized.
21312         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21313         Genericized.
21314
21315 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21316
21317         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21318         If clicked on the other row, cancel the current editing session.
21319
21320 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21321
21322         * javax/swing/plaf/basic/BasicTreeUI.java
21323         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21324         (paintExpandControl): Always paint in one gap distance from the left
21325         border of the path bounds.
21326         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21327         into consideration.
21328         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21329         left edge.
21330
21331 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21332
21333         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21334
21335 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21336
21337         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21338         Allow slashes (/) in the unquoted parameter value. 
21339
21340 2006-04-25  Roman Kennke <kennke@aicas.com>
21341
21342         * gnu/java/awt/java2d/AbstractGraphics2D.java
21343         (drawString(String,int,int)): Implemented.
21344         (drawString(String,float,float)): Implemented.
21345         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21346         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21347         (getFontRenderContext): Implemented.
21348         (drawGlyphVector): Implemented.
21349         (getFont): Implemented.
21350         (setFont): Don't change font setting when null.
21351         (getFontMetrics): Implemented.
21352         (fillShape): Re-written to fill call rawFillShape() with a list
21353         of the edges instead of double arrays.
21354         (rawFillShape): Implemented using a polygon scanline conversion.
21355         (fillScanline): New helper method.
21356         (init): Initialize foreground black. Set font.
21357         * gnu/java/awt/java2d/PolyEdge.java: New file.
21358         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21359
21360 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21361
21362         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21363
21364 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21365
21366         * javax/swing/JTable.java: Fixed API doc tags,
21367         * javax/swing/text/AsyncBoxView.java: Likewise,
21368         * javax/swing/text/FlowView.java: Likewise.
21369
21370 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21371
21372         * javax/swing/table/DefaultTableColumnModel.java
21373         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21374
21375 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21376
21377         * javax/swing/table/DefaultTableColumnModel.java
21378         (DefaultTableColumnModel): Set selection model field and add 'this' as
21379         listener directly,
21380         (addColumn): Add 'this' as a PropertyChangeListener,
21381         (removeColumn): Remove column before firing event, and remove 'this' as
21382         a PropertyChangeListener,
21383         (setSelectionModel): Remove 'this' as a listener from old model, 
21384         (propertyChange): Check for 'width' property rather than
21385         TableColumn.COLUMN_WIDTH_PROPERTY.
21386
21387 2006-04-24  Chris Burdess  <dog@gnu.org>
21388
21389         Fixes PR 27262
21390         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21391           attributes when no doctype exists.
21392
21393 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21394
21395         * javax/swing/event/ChangeEvent.java: Updated API docs,
21396         * javax/swing/event/ChangeListener.java: Likewise,
21397         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21398         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21399         * javax/swing/table/TableColumnModel.java: Likewise.
21400
21401 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21402
21403         * javax/swing/text/Utilities.java:
21404         (getBreakLocation): Introduced shift variable, added notes.
21405         * javax/swing/text/WrappedPlainView.java:
21406         (calculateBreakPosition): Decrease allocation area bounds by insets,
21407         added early return when allocation area is empty, provide start offset
21408         as argument.
21409         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21410         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21411         numLines after loop.
21412         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21413         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21414         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21415         decreasing variable end by one, changed break condition in while-loop,
21416         added check for return value.
21417         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21418         allocation area is empty.
21419
21420 2006-04-24  Sven de Marothy  <sven@physto.se>
21421
21422         * gnu/java/awt/java2d/Segment.java: New file.
21423         * gnu/java/awt/java2d/CubicSegment.java: New file.
21424         * gnu/java/awt/java2d/QuadSegment.java: New file.
21425         * gnu/java/awt/java2d/LineSegment.java: New file.
21426         * java/awt/BasicStroke.java
21427         (start): New field.
21428         (end): New field.
21429         (createStrokedShape): Implemented.
21430         (solidStroke): New method.
21431         (dashedStroke): New method.
21432         (capEnds): New method.
21433         (convertPath): New method.
21434         (addSegments): New method.
21435         (capEnd): New method.
21436         (lineIntersection): New method.
21437         (joinSegments): New method.
21438
21439 2006-04-24  Roman Kennke <kennke@aicas.com>
21440
21441         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21442         Cloneable.
21443         (font): New field.
21444         (clip): Changed clip to be in user space not in target space.
21445         (isOptimized): Added flag to allow optimized drawing for
21446         primitive operations (e.g. for Swing).
21447         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21448         with the paint context etc.
21449         (draw): Clip the shape before drawing it.
21450         (fill): Clip the shape before drawing it.
21451         (setComposite): Update isOptimized flag.
21452         (setPaint): Likewise.
21453         (setStroke): Likewise.
21454         (translate): Update the clip.
21455         (rotate): Likewise.
21456         (scale): Likewise.
21457         (shear): Likewise.
21458         (transform): Likewise.
21459         (setTransform): Likewise.
21460         (clip): Added optimization for rectangle clips.
21461         (create): Implemented.
21462         (clone): New method.
21463         (setFont): Basic implementation.
21464         (setClip): Update opimization flag.
21465         (drawLine): Added possible optimization.
21466         (fillRect): Added possible optimization.
21467         (fillShape): Implemented shape-filling by filling the flattended
21468         shape using polygon fill.
21469         (drawPixel): Added basic painting.
21470         (rawSetPixel): Changed signature to only take coordinates.
21471         (rawSetForeground): New abstract method.
21472         (getUserBounds): Implemented default for this method.
21473         (rawDrawLine): New method.
21474         (rawFillRect): New method.
21475         (rawFillPolygon): New method.
21476         (init): New method.
21477         (updateOptimization): New method.
21478         (computeIntersection): New method.
21479         (updateClip): New method.
21480         (clipShape): New method.
21481
21482 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21483
21484         * java/lang/Package.java: Added compatibility constructor to ease
21485         VM interface migration.
21486
21487 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21488
21489         * java/lang/Class.java (getEnumConstants): Implemented without
21490         delegating to VMClass.
21491         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21492
21493 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21494
21495         * java/lang/ClassLoader.java (definePackage): Added argument to
21496         Package constructor.
21497         * java/lang/Package.java (Package): Added ClassLoader argument.
21498         (loader): New field.
21499         (getDeclaredAnnotations): Implemented without help from VMPackage.
21500         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21501         to Package constructor.
21502         * vm/reference/java/lang/VMPackage.java: Removed.
21503
21504 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21505
21506         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21507         (createContent): Added check box to swith between single and 
21508         multiple selection.
21509         * javax/swing/JTree.java (leadSelectionPath): Removed.
21510         (addSelectionInterval): Explained. (getLeadSelectionPath):
21511         Request the path from model. (getPathsBetweenRows): Explained.
21512         (setLeadSelectionPath): Set the path in model.
21513         * javax/swing/plaf/basic/BasicTreeUI.java 
21514         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21515         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21516         (MouseHandler.mousePressed): Call selectPathForEvent.
21517
21518 2006-04-23  Roman Kennke <kennke@aicas.com>
21519
21520         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21521
21522 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21523
21524         * NEWS:
21525         Mention changes to VMProcess and VMSystem.
21526         * doc/vmintegration.texinfo:
21527         Change documentation on VMProcess and VMSystem.
21528         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21529         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21530         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21531         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21532         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21533         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21534         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21535         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21536         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21537         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21538         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21539         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21540         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21541         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21542         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21543         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21544         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21545         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21546         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21547         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21548         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21549         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21550         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21551         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21552         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21553         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21554         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21555         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21556         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21557         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21558         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21559         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21560         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21561         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21562         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21563         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21564         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21565         * include/gnu_java_awt_peer_qt_QMatrix.h,
21566         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21567         * include/gnu_java_awt_peer_qt_QPen.h,
21568         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21569         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21570         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21571         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21572         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21573         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21574         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21575         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21576         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21577         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21578         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21579         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21580         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21581         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21582         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21583         * include/gnu_java_awt_peer_qt_QtImage.h,
21584         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21585         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21586         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21587         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21588         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21589         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21590         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21591         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21592         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21593         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21594         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21595         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21596         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21597         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21598         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21599         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21600         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21601         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21602         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21603         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21604         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21605         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21606         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21607         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21608         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21609         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21610         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21611         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21612         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21613         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21614         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21615         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21616         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21617         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21618         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21619         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21620         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21621         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21622         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21623         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21624         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21625         * include/java_lang_VMProcess.h,
21626         * include/java_lang_VMSystem.h:
21627         Regenerated with GCJ 4.1.
21628
21629 2006-04-22  Casey Marshall  <csm@gnu.org>
21630
21631         Fixes PR classpath/27228.
21632         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21633         (initialize): also accept `DHParameterSpec.'
21634         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21635         handle a passed-in `DHParameterSpec' properly.
21636         (generate): don't check if the random exponent is less than `q -
21637         1' if no `q' was specified.
21638
21639 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21640
21641         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21642         Only repaint the patches, speficied in the passed event.
21643         (expandPath): Do nothing if the path is already expanded.
21644         (scrollPathToVisible): Only scroll to visible, do nothing else.
21645         * javax/swing/plaf/basic/BasicTreeUI.java 
21646         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21647         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21648         (TreeTraverseAction.actionPerformed): Collapse the node on the
21649         action "selectParent". (selectPath): Rewritten.
21650         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21651         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21652         Do not reuse selection array.
21653         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21654         Accept null.
21655         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21656         Accept null.
21657
21658 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21659
21660         * javax/swing/tree/DefaultTreeSelectionModel.java
21661         (addSelectionPath): If the path cannot be added, set it.
21662         (addSelectionPaths): Call insureRowContinuity.
21663         (arePathsContiguous): Implemented.
21664         (canPathBeAdded): New private method.
21665         (canPathsBeAdded): Implemented.
21666         (canPathsBeRemoved): Implemented.
21667         (getPath): New private method.
21668         (insureRowContinuity): Implemented.
21669         (removeSelectionPath): Call insureRowContinuity.
21670         (removeSelectionPaths): Call insureRowContinuity.
21671         (resetRowSelection): Removed stub marking, not used in implementation 
21672         (nothing to do there).
21673         (selectOne): New private method.
21674         (setSelectionMode) Call insureRowContinuity.
21675         (setSelectionPaths) Remove the current selection by clearing it.
21676
21677 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
21678
21679         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21680         parameters consistendly, documented some methods.
21681         * java/sql/Blob.java: Likewise.
21682         * java/sql/CallableStatement.java: Likewise.
21683         * java/sql/Clob.java: Likewise.
21684         * java/sql/Connection.java: Likewise.
21685         * java/sql/DatabaseMetaData.java: Likewise.
21686         * java/sql/Date.java: Likewise.
21687         * java/sql/Driver.java: Likewise.
21688         * java/sql/PreparedStatement.java: Likewise.
21689         * java/sql/ResultSet.java: Likewise.
21690         * java/sql/ResultSetMetaData.java: Likewise.
21691         * java/sql/SQLData.java: Likewise.
21692         * java/sql/SQLOutput.java: Likewise.
21693         * java/sql/SQLWarning.java: Likewise.
21694         * java/sql/Statement.java: Likewise.
21695         * java/sql/Time.java: Likewise.
21696         * java/sql/Timestamp.java: Likewise.
21697
21698 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
21699
21700         * java/lang/reflect/AccessibleObject.java:
21701         Implemented AnnotatedElement.
21702         (getAnnotation, getAnnotations, getDeclaredAnnotations,
21703         isAnnotationPresent): New methods.
21704
21705 2006-04-21  Tom Tromey  <tromey@redhat.com>
21706
21707         PR classpath/27163:
21708         * gnu/java/net/protocol/ftp/FTPConnection.java
21709         (changeWorkingDirectory): Do nothing if path is empty.
21710
21711 2006-04-21  Tom Tromey  <tromey@redhat.com>
21712
21713         PR libgcj/27231:
21714         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21715         case where no '/' appears in 'location'.
21716
21717 2006-04-21  Tom Tromey  <tromey@redhat.com>
21718
21719         * java/security/Security.java (<clinit>): Add all default providers.
21720         * resource/java/security/classpath.security: Added comment.
21721
21722 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21723
21724         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21725         * javax/swing/SpinnerNumberModel.java: Likewise.
21726
21727 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21728
21729         * javax/swing/SpinnerDateModel.java
21730         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21731         checking to call compareTo() on start and end.
21732
21733 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21734
21735         * javax/swing/border/AbstractBorder.java: API doc updates,
21736         * javax/swing/border/BevelBorder.java: Likewise,
21737         * javax/swing/border/CompoundBorder.java: Likewise,
21738         * javax/swing/border/EtchedBorder.java: Likewise,
21739         * javax/swing/border/LineBorder.java: Likewise,
21740         * javax/swing/border/MatteBorder.java: Likewise,
21741         * javax/swing/border/TitledBorder.java: Likewise.
21742
21743 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21744
21745         * gnu/javax/crypto/cipher/Anubis.java:
21746         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21747         instance,
21748         * gnu/javax/crypto/cipher/Blowfish.java:
21749         (selfTest): Likewise,
21750         * gnu/javax/crypto/cipher/Cast5.java:
21751         (selfTest): Likewise,
21752         * gnu/javax/crypto/cipher/Khazad.java:
21753         (selfTest): Likewise,
21754         * gnu/javax/crypto/cipher/Rijndael.java:
21755         (selfTest): Likewise,
21756         * gnu/javax/crypto/cipher/Serpent.java:
21757         (selfTest): Likewise,
21758         * gnu/javax/crypto/cipher/Square.java:
21759         (selfTest): Likewise,
21760         * gnu/javax/crypto/cipher/Twofish.java:
21761         (selfTest): Likewise,
21762         * gnu/javax/crypto/mac/UMac32.java:
21763         (selfTest): Likewise,
21764         * gnu/javax/crypto/prng/CSPRNG.java:
21765         (getSystemInstance): Likewise.
21766
21767 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21768
21769         * gnu/java/security/hash/Haval.java:
21770         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
21771         instance,
21772         * gnu/java/security/hash/MD2.java:
21773         (selfTest): Likewise,
21774         * gnu/java/security/hash/MD4.java:
21775         (selfTest): Likewise,
21776         * gnu/java/security/hash/MD5.java:
21777         (selfTest): Likewise,
21778         * gnu/java/security/hash/RipeMD128.java:
21779         (selfTest): Likewise,
21780         * gnu/java/security/hash/RipeMD160.java:
21781         (selfTest): Likewise,
21782         * gnu/java/security/hash/Sha160.java:
21783         (selfTest): Likewise,
21784         * gnu/java/security/hash/Sha256.java:
21785         (selfTest): Likewise,
21786         * gnu/java/security/hash/Sha384.java:
21787         (selfTest): Likewise,
21788         * gnu/java/security/hash/Sha512.java:
21789         (selfTest): Likewise,
21790         * gnu/java/security/hash/Tiger.java:
21791         (selfTest): Likewise,
21792         * gnu/java/security/hash/Whirlpool.java:
21793         (selfTest): Likewise.
21794
21795 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21796
21797         * javax/swing/plaf/basic/BasicTreeUI.java 
21798         (PropertyChangeHandler.propertyChange): Set the row mapper
21799         for the selection model.
21800         * javax/swing/tree/AbstractLayoutCache.java 
21801         (NodeDimensions.getNodeDimensions): Explained.
21802         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21803         Implemented. (setRowHeight): Invalidate sizes. 
21804         * javax/swing/tree/DefaultTreeSelectionModel.java
21805         (addSelectionPath, addSelectionPaths): Update lead row.
21806         (removeSelectionPath, removeSelectionPaths): Do nothing if
21807         selection is empty.
21808         (clone): Only clone list selection model if it is not null.
21809         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
21810         setSelectionPath, setSelectionPaths, toString): Implemented.
21811         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21812         Pass the empty rectangle. (isFixedRowHeight): New method.
21813         * javax/swing/tree/VariableHeightLayoutCache.java
21814         (NodeRecord.getBounds): Pass the empty rectangle.
21815         
21816 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21817
21818         * gnu/java/security/Properties.java
21819         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21820
21821 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21822
21823         * gnu/classpath/jdwp/util/Value.java
21824         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
21825         creating new Boolean instances.
21826
21827 2006-04-20  Mark Wielaard  <mark@klomp.org>
21828
21829         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21830         PrivilegedAction. Access awt.toolkit through SystemProperties.
21831
21832 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21833
21834         * javax/swing/ActionMap.java: Removed unused imports,
21835         * javax/swing/DefaultListSelectionModel.java
21836         (clearSelection): Removed unused label,
21837         * javax/swing/JScrollPane.java: Removed unused imports,
21838         * javax/swing/UIManager.java: Likewise,
21839         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21840
21841 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21842
21843         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21844         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21845         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21846         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21847         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21848
21849 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21850
21851         * java/sql/Array.java: Fixed Eclipse API doc warnings,
21852         * java/sql/Blob.java: Likewise,
21853         * java/sql/CallableStatement.java: Likewise,
21854         * java/sql/Clob.java: Likewise,
21855         * java/sql/Connection.java: Likewise,
21856         * java/sql/DatabaseMetaData.java: Likewise,
21857         * java/sql/Date.java: Likewise,
21858         * java/sql/Driver.java: Likewise,
21859         * java/sql/PreparedStatement.java: Likewise,
21860         * java/sql/ResultSet.java: Likewise,
21861         * java/sql/ResultSetMetaData.java: Likewise,
21862         * java/sql/SQLData.java: Likewise,
21863         * java/sql/SQLOutput.java: Likewise,
21864         * java/sql/SQLWarning.java: Likewise,
21865         * java/sql/Statement.java: Likewise,
21866         * java/sql/Time.java: Likewise,
21867         * java/sql/Timestamp.java: Likewise.
21868
21869 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21870
21871         * java/sql/DriverManager.java
21872         (setLoginTimeout): Use incoming argument,
21873         (setLogStream): Likewise,
21874         (println): Fix API doc comment.
21875
21876 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21877
21878         * javax/swing/JMenuItem.java
21879         (paramString): Updated API docs,
21880         (getAccessibleContext): Added API docs,
21881         (AccessibleJMenuItem.stateChanged): Marked as stub,
21882         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21883         * javax/swing/JSlider.java
21884         (paramString): Fix for API docs,
21885         * javax/swing/JToolTip.java
21886         (getAccessibleContext): Fix for API docs.
21887
21888 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21889
21890         * javax/swing/JRadioButtonMenuItem.java
21891         (paramString): Reimplemented,
21892         (getAccessibleContext): API docs added,
21893         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
21894         Likewise,
21895         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21896
21897 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21898
21899         * javax/swing/plaf/basic/BasicTreeUI.java
21900         (finish): Invalidate path bounds.
21901         (getMaxHeight): Set the row height to the layout cache.
21902         (startEditing): Do not request to recalculated 
21903         row height and preferred size.
21904         * javax/swing/tree/DefaultTreeCellEditor.java
21905         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21906         with 0.
21907         * javax/swing/tree/FixedHeightLayoutCache.java:
21908         Rewritten.
21909
21910 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21911
21912         * javax/swing/JDesktopPane.java
21913         (paramString): Reimplemented,
21914         plus API doc updates in AccessibleJDesktopPane.
21915
21916 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21917
21918         * javax/swing/ImageIcon.java:
21919         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21920         (AccessibleImageIcon.getLocale): Declared exception and always return 
21921         null,
21922         (getAccessibleContext): Updated API docs,
21923         plus updated API docs all over AccessibleImageIcon.
21924
21925 2006-04-20  Roman Kennke  <kennke@aicas.com>
21926
21927         PR 27196
21928         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21929         (paintText): Fetch the ascent only once. Add the ascent to
21930         the text rect also when tabs are disabled.
21931
21932 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
21933
21934         * java/util/Locale.java (defaultLocale): Set to en_US per
21935         default and use user.country but prioritize user.region if
21936         defined.
21937         (getLocale(String language, String country)): Renamed region to
21938         country.
21939         (getLocale(String language, String region, String variant)):
21940         Likewise.
21941         (getAvailableLocales): Likewise.
21942
21943 2006-04-20  Roman Kennke  <kennke@aicas.com>
21944
21945         PR 27222
21946         * javax/swing/JList.java
21947         (JList()): Call init() with DefaultListModel instance.
21948         (JList(Object[])): Call init() with null.
21949         (JList(Vector)): Call init() with null.
21950         (JList(ListModel)): Call init() with model.
21951         (init): Changed to take the model as argument. Don't call
21952         setter methods and initialize stuff directly instead.
21953         (getCellBounds): Check if UI is null.
21954
21955 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
21956
21957         * javax/swing/text/WrappedPlainView.java: Initialize
21958         WrappedLine.numLines with -1.
21959         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21960         numLines is -1 and reculcalate the value appropriately.
21961         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21962         allocation area is empty.
21963
21964 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21965
21966         * javax/swing/JTabbedPane.java
21967         (AccessibleJTabbedPane.stateChanged): Marked as stub,
21968         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21969         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21970         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21971         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21972         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21973         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21974         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21975         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21976         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21977         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21978         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21979         (Page.getAccessibleStateSet): Likewise,
21980         (Page.getAccessibleIndexInParent): Likewise.
21981
21982 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21983
21984         * javax/swing/JProgressBar.java
21985         (paramString): Reimplemented.
21986
21987 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21988
21989         * javax/swing/JButton.java: Updated API docs all over.
21990
21991 2006-04-19  Roman Kennke  <kennke@aicas.com>
21992
21993         * java/awt/Toolkit.java
21994         (getDefaultToolkit): Use system classloader to load the
21995         toolkit.
21996
21997 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
21998
21999         * javax/swing/text/DefaultCaret.java:
22000         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22001         instead of DefaultCaret.setDot.
22002
22003 2006-04-19  Roman Kennke  <kennke@aicas.com>
22004
22005         * native/jni/java-net/local.c
22006         (local_read): Handle EINTR correctly.
22007         (local_write): Likewise.
22008
22009 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22010
22011         PR classpath/27062, PR classpath/25650:
22012         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22013
22014 2006-04-19  Tom Tromey  <tromey@redhat.com>
22015
22016         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22017         value of 'pureMinutes'.  PR classpath/27189.
22018
22019 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22020
22021    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22022    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22023
22024 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22025
22026         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22027         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22028         (ITERATION_COUNT): Removed modifiers.
22029         (PASSWORD): Likewise.
22030         (SALT): Likewise.
22031         (PASSWORD_ENCODING): New property.
22032         (DEFAULT_PASSWORD_ENCODING): New constant.
22033         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22034         material (bytes) before a password (chars).
22035
22036 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22037
22038         * javax/swing/JMenu.java
22039         (getAccessibleChildrenCount): Marked as stub,
22040         (getAccessibleChild): Likewise,
22041         (getAccessibleSelection): Likewise,
22042         (getAccessibleSelection(int)): Likewise,
22043         (isAccessibleChildSelected): Likewise,
22044         (getAccessibleSelectionCount): Likewise,
22045         (addAccessibleSelection): Likewise,
22046         (removeAccessibleSelection): Likewise,
22047         (clearAccessibleSelection): Likewise,
22048         (selectAllAccessibleSelection): Likewise.
22049
22050 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22051
22052         * javax/swing/JSplitPane.java
22053         (getAccessibleContext): Added API docs,
22054         (paramString): Reimplemented,
22055         (setOrientation): Updated API docs,
22056         (setResizeWeight): Added argument checking and event notification.
22057
22058 2006-04-18  Casey Marshall  <csm@gnu.org>
22059
22060         Fixes PR classpath/25673        
22061         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22062         property is set. Update JavaDoc to reflect this.
22063
22064 2006-04-18  Lillian Angel  <langel@redhat.com>
22065
22066         * gnu/xml/dom/DomDocument.java
22067         (setCheckingCharacters): New function used to set
22068         checkingCharacters flag.
22069         * gnu/xml/dom/html2/DomHTMLParser.java
22070         (parseDocument): Added call to set checkingCharacters flag
22071         to false.
22072
22073 2006-04-18  Lillian Angel  <langel@redhat.com>
22074
22075         * gnu/xml/dom/DomDocument.java
22076         (checkNCName): Reverted last patch. Added check for colon at
22077         last position back in.
22078
22079 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22080
22081         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22082         New file.
22083         * examples/gnu/classpath/examples/swing/Demo.java:
22084         (mkMenuBar): Added NavigationFilter demo.
22085
22086 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22087
22088         * javax/swing/JSeparator.java: Updated API docs all over, plus
22089         (setOrientation): Fire PropertyChangeEvent,
22090         (paramString): Reimplemented.
22091
22092 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22093
22094         * javax/swing/plaf/basic/BasicTextUI.java:
22095         (getNextVisualPositionFrom): Implemented.
22096
22097 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22098
22099         * javax/swing/JPanel.java: Updated API docs all over, plus
22100         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22101         double-buffer flag.
22102
22103 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22104
22105         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22106         New file.
22107         * examples/gnu/classpath/examples/swing/Demo.java:
22108         (mkMenuBar): Added DocumenFilter demo.
22109
22110 2006-04-18  Tom Tromey  <tromey@redhat.com>
22111
22112         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22113
22114 2006-04-18  Mark Wielaard  <mark@klomp.org>
22115
22116         Reported by John Sullivan (johns@fsf.org)
22117         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22118
22119 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22120
22121         * javax/swing/JInternalFrame.java
22122         (JDesktopIcon.getAccessibleContext): Added API docs,
22123         (getDefaultCloseOperation): Likewise,
22124         (paramString): Added 'title' attribute,
22125         (setDefaultCloseOperation): Added API docs.
22126
22127 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22128
22129         * javax/swing/JSlider.java
22130         (paramString): Reimplemented.
22131
22132 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22133
22134         * javax/swing/JComboBox.java
22135         (paramString): Reimplemented,
22136         (getAccessibleContext): Added API docs,
22137         (AccessibleJComboBox.getAccessibleRole): Likewise.
22138
22139 2006-04-18  Roman Kennke  <kennke@aicas.com>
22140
22141         * javax/swing/RepaintManager.java
22142         (dirtyComponentsWork): New field.
22143         (ComponentComparator): Use dirtyComponentsWork instead of
22144         dirtyComponents.
22145         (RepaintManager): Initialize new field.
22146         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22147         and work on the copy.
22148
22149 2006-04-18  Roman Kennke  <kennke@aicas.com>
22150
22151         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22152         (setBounds): Call reshape().
22153         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22154         (SwingContainerPeer): Changed argument to be a Component
22155         instead a Container.
22156         (getInsets): Call insets().
22157         (handleMouseEvent): Added null check to avoid NPE.
22158         (handleMouseMotionEvent): Added null check to avoid NPE.
22159         
22160 2006-04-18  Roman Kennke  <kennke@aicas.com>
22161
22162         PR 27185
22163         * javax/swing/JComponent.java
22164         (paintChildrenWithOverlap): When one child is not opaque, propagate
22165         the dirty rectangles to the next child.
22166         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22167         This actually didn't work right and probably gained nothing.
22168
22169 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22170
22171         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22172         (moveToCellBeingEdited): Do not clone the rectangle here.
22173
22174 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22175
22176         * javax/swing/plaf/basic/BasicSliderUI.java
22177         (getActionMap): Fixed lookup key,
22178         (createActionMap): Modified actions to fetch slider/ui from the event
22179         source.
22180
22181 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22182
22183         * java/lang/Enum.java: Documented.
22184
22185 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22186
22187         * gnu/java/lang/InstrumentationImpl.java:
22188         Moved from java.lang.
22189         * java/lang/InstrumentationImpl.java:
22190         Removed.
22191         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22192         Moved from java.lang.
22193         * vm/reference/java/lang/VMClassLoader.java:
22194         Corrected reference to InstrumentationImpl.
22195         * vm/reference/java/lang/VMInstrumentationImpl.java:
22196         Removed.
22197         
22198 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22199
22200         * java/lang/annotation/Annotation.java:
22201         Documented.
22202         
22203 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22204
22205         * javax/swing/JToolBar.java
22206         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22207         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22208         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22209         (getAccessibleContext): Likewise.
22210
22211 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22212
22213         * configure.ac:
22214         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22215
22216         * native/fdlibm/Makefile.am,
22217         native/jni/classpath/Makefile.am:
22218         Don't use -module and -version-info for convenience libraries LDFLAGS.
22219         Fixes libtool warnings.
22220
22221 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22222
22223         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22224         (installKeyboardActions): Marked as stub,
22225         (uninstallKeyboardActions): Likewise,
22226         * javax/swing/plaf/basic/BasicComboPopup.java:
22227         (installKeyboardActions): Marked as stub,
22228         (uninstallKeyboardActions): Likewise,
22229         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22230         (installKeyboardActions): Marked as stub,
22231         (uninstallKeyboardActions): Likewise,
22232         * javax/swing/plaf/basic/BasicLabelUI.java:
22233         (installKeyboardActions): Marked as stub,
22234         (uninstallKeyboardActions): Likewise,
22235         * javax/swing/plaf/basic/BasicListUI.java:
22236         (installKeyboardActions): Marked as stub,
22237         (uninstallKeyboardActions): Likewise,
22238         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22239         (installKeyboardActions): Marked as stub,
22240         (uninstallKeyboardActions): Likewise,
22241         * javax/swing/plaf/basic/BasicMenuUI.java:
22242         (installKeyboardActions): Marked as stub,
22243         (uninstallKeyboardActions): Likewise,
22244         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22245         (installKeyboardActions): Marked as stub,
22246         (uninstallKeyboardActions): Likewise,
22247         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22248         (installKeyboardActions): Marked as stub,
22249         (uninstallKeyboardActions): Likewise,
22250         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22251         (installKeyboardActions): Marked as stub,
22252         (uninstallKeyboardActions): Likewise,
22253         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22254         (installKeyboardActions): Marked as stub,
22255         (uninstallKeyboardActions): Likewise,
22256         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22257         (installKeyboardActions): Marked as stub,
22258         (uninstallKeyboardActions): Likewise,
22259         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22260         (installKeyboardActions): Marked as stub,
22261         (uninstallKeyboardActions): Likewise,
22262         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22263         (installKeyboardActions): Marked as stub,
22264         (uninstallKeyboardActions): Likewise,
22265         * javax/swing/plaf/basic/BasicTableUI.java:
22266         (installKeyboardActions): Marked as stub,
22267         (uninstallKeyboardActions): Likewise,
22268         * javax/swing/plaf/basic/BasicTextUI.java:
22269         (installKeyboardActions): Marked as stub,
22270         (uninstallKeyboardActions): Likewise,
22271         * javax/swing/plaf/basic/BasicToolBarUI.java:
22272         (installKeyboardActions): Marked as stub,
22273         (uninstallKeyboardActions): Likewise.   
22274
22275 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22276
22277         * javax/swing/plaf/basic/BasicSliderUI.java
22278         (installKeyboardActions): Implemented,
22279         (uninstallKeyboardActions): Implemented,
22280         (scrollByBlock): Accept any value for direction,
22281         (scrollByUnit): Likewise,
22282         (getInputMap): New method,
22283         (getActionMap): New method,
22284         (createActionMap): New method.
22285
22286
22287 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22288         
22289         * doc/vmintegration.texinfo:
22290         Fix sectioning.
22291
22292 2006-04-16  Tom Tromey  <tromey@redhat.com>
22293
22294         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22295
22296 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22297
22298         * NEWS:
22299         Mention generics additions to the VM interface.
22300         * doc/vmintegration.texinfo:
22301         Added information on VMClass 1.5 additions and
22302         VMSecureRandom.
22303         
22304 2006-04-16  Casey Marshall  <csm@gnu.org>
22305
22306         * NEWS: add an entry mentioning local socket support.
22307
22308 2006-04-16  Casey Marshall  <csm@gnu.org>
22309
22310         * configure.ac (--enable-local-sockets): new enable argument.
22311         (ENABLE_LOCAL_SOCKETS): new define.
22312         * native/jni/java-net/Makefile.am (local_sources): new variable.
22313         (lib_javanet_la_SOURCES): append `local_sources.'
22314         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22315         * native/jni/java-net/local.c,
22316         * native/jni/java-net/local.h,
22317         * include/gnu_java_net_local_LocalSocketImpl.h,
22318         * gnu/java/net/local/LocalServerSocket.java,
22319         * gnu/java/net/local/LocalSocket.java,
22320         * gnu/java/net/local/LocalSocketAddress.java,
22321         * gnu/java/net/local/LocalSocketImpl.java: new files.
22322
22323 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22324
22325         * javax/accessibility/AccessibleAction.java:
22326         (DECREMENT): Added field.
22327         (INCREMENT): Likewise.
22328         (TOGGLE_EXPAND): Likewise.
22329         * javax/accessibility/AccessibleRole.java:
22330         (EDITBAR): Added field.
22331         (FOOTER): Likewise.
22332         (HEADER): Likewise.
22333         (PARAGRAPH): Likewise.
22334         (PROGRESS_MONITOR): Likewise.
22335         (RULER): Likewise.
22336         * javax/accessibility/AccessibleState.java:
22337         (INDETERMINATE): Added field.
22338         (MANAGES_DESCENDANTS): Likewise.
22339         (TRUNCATED): Likewise.
22340
22341 2006-04-14  Tom Tromey  <tromey@redhat.com>
22342
22343         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22344         Genericized.
22345         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22346         Genericized.
22347
22348 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22349
22350         * javax/swing/text/DefaultCaret.java:
22351         (getBypass): New method.
22352         (moveDot): Rewritten.
22353         (moveDotImpl): New method.
22354         (setDot): Rewritten.
22355         (setDotImpl): New method.
22356         (DefaultCaret.Bypass): New class.
22357
22358 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22359
22360         * javax/swing/text/AbstractDocument.java:
22361         (getBypass): New method.
22362         (insertString): Rewritten.
22363         (remove): Rewritten.
22364         (replace): Rewritten.
22365         (insertStringImpl): New method.
22366         (removeImpl): New method.
22367         (replaceImpl): New method.
22368         (AbstractDocument.Bypass): New class.
22369
22370 2006-04-14  Casey Marshall  <csm@gnu.org>
22371
22372         Fixes PR classpath/24642
22373         * NEWS: add note about SecureRandom changes, and addition of
22374         VMSecureRandom.
22375         * java/security/SecureRandom.java (isSeeded): new field.
22376         (setSeed, setSeed): set `isSeeded' to `true.'
22377         (nextBytes): seed this instance if `isSeeded' is false.
22378         (getSeed): call `generateSeed.'
22379         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22380         (generateSeed, generateSeed): new methods.
22381         * vm/reference/java/security/VMSecureRandom.java: new file.
22382
22383 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22384
22385         * javax/swing/text/FieldView.java:
22386         (paint): Apply clipping rectangle of the allocation area
22387         before painting the text.
22388         * javax/swing/text/DefaultHighlighter.java:
22389         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22390         compute union and intersection, calculate intersection with allocation
22391         area before painting, adjust x and width when painting multiple lines
22392         by the range of the allocation area.
22393
22394 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22395
22396         * javax/swing/text/DefaultHighlighter.java:
22397         (paintLayeredHighlights): Marked as stub.
22398
22399 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22400
22401         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22402         (propertyChanged): Added note, change color only if current background
22403         is a ColorUIResource instance.
22404
22405 2006-04-14  Tom Tromey  <tromey@redhat.com>
22406
22407         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22408         a stub.
22409         (next): Likewise.
22410
22411 2006-04-14  Tom Tromey  <tromey@redhat.com>
22412
22413         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22414
22415 2006-04-14  Mark Wielaard  <mark@klomp.org>
22416
22417         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22418         thread group when exceptionHandler isn't set.
22419         * vm/reference/java/lang/VMThread.java (run): Use result of
22420         thread.getUncaughtExceptionHandler directly.
22421
22422 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22423
22424         * javax/swing/JSplitPane.java
22425         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22426         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22427         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22428         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22429         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22430         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22431         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22432
22433 2006-04-10  Tom Tromey  <tromey@redhat.com>
22434
22435         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22436         Fixed parameter bounds.
22437
22438 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22439         
22440         * gnu/javax/crypto/assembly/Assembly.java,
22441         * gnu/javax/crypto/assembly/Cascade.java,
22442         * gnu/javax/crypto/assembly/CascadeStage.java,
22443         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22444         * gnu/javax/crypto/assembly/Direction.java,
22445         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22446         * gnu/javax/crypto/assembly/ModeStage.java,
22447         * gnu/javax/crypto/assembly/Operation.java,
22448         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22449         * gnu/javax/crypto/assembly/Stage.java,
22450         * gnu/javax/crypto/assembly/Transformer.java,
22451         * gnu/javax/crypto/cipher/Square.java,
22452         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22453         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22454         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22455         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22456         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22457         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22458         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22459         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22460         * gnu/javax/crypto/jce/cipher/PBES2.java,
22461         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22462         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22463         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22464         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22465         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22466         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22467         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22468         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22469         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22470         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22471         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22472         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22473         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22474         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22475         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22476         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22477         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22478         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22479         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22480         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22481         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22482         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22483         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22484         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22485         * gnu/javax/crypto/pad/WrongPaddingException.java,
22486         * gnu/javax/crypto/prng/ICMGenerator.java,
22487         * gnu/javax/crypto/prng/IPBE.java,
22488         * gnu/javax/crypto/prng/PBKDF2.java,
22489         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22490         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22491         * gnu/javax/crypto/sasl/srp/IALG.java,
22492         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22493         Remove CVS revision tags.
22494
22495 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22496
22497         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22498         Removed debugging code.
22499
22500 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22501  
22502         * javax/swing/JTree.java (getPreferredSize): Return the
22503         cloned instance.
22504         * javax/swing/ViewportLayout.java (layoutContainer):
22505         Do not manage the view size and location if the view is
22506         in the scroll pane. Also manage size and location for
22507         Scrollable, if it is not in the scroll pane.
22508         * javax/swing/plaf/basic/BasicTreeUI.java,
22509         * javax/swing/tree/FixedHeightLayoutCache.java,
22510         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22511         * gnu/javax/swing/tree/GnuPath.java: New file.
22512
22513 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22514
22515         * javax/swing/JToolBar.java
22516         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22517
22518 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22519
22520         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22521         (createCustomColoredPanel): Set background color as demo intends,
22522         changed custom selection color to red.
22523         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22524         Replaced various single variables with a Compound instance, added
22525         custom highlighter demo.
22526         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22527         TextAreaDemo).
22528         (TextFieldDemo.Compound): New class.
22529         (createTextFieldCompound): New method.
22530         (createLeftAlignedPanel): Rewritten.
22531         (createRightAlignedPanel): Rewritten.
22532         (createCenteredPanel): Rewritten.
22533         (createCustomColoredPanel): Removed.
22534         (createCustomColoredPanel1): New method.
22535         (createCustomColoredPanel2): New method.
22536         (createCustomBordersPanel): New method.
22537         (createMiscPanel): Rewritten.
22538         (actionPerformed): Rewritten.
22539         (createContent): Add panels of new compounds to main panel, put
22540         main panel in a JScrollPane.
22541         * examples/gnu/classpath/examples/swing/Demo.java:
22542         (Demo): Put desktop in a scrollpane.
22543         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22544         method via reflection.
22545
22546 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22547
22548         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22549         (createUI): Return new instance rather than shared instance.
22550
22551 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22552
22553         * javax/swing/text/FieldView.java:
22554         (checkContainer): Call updateVisibility() at the end.
22555
22556 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22557
22558         * java/awt/event/MouseEvent.java:
22559         (paramString): Add value of 'consumed' variable in string.
22560
22561 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22562
22563         PR 26967
22564         * javax/swing/JTextField.java: Removed scrollOffset variable.
22565         (JTextField): Moved up initialization of horizontalVisibility field.
22566         (getScrollOffset): Implemented.
22567         (setScrollOffset): Implemented.
22568         (getHorizonztalVisibility): Removed note.
22569         (scrollRectToVisible): New method.
22570         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22571         (checkContainer): New method.
22572         (updateVisibility): New method.
22573         (calculateHorizontalSpan): New method.
22574         (adjustAllocation): Removed unneeded local variables, added code
22575         to handle scrolling.
22576         (getPreferredSpan): Use new method calculateHorizontalSpan,
22577         avoid calculation by returning cached value cachedSpan.
22578         (paint): Added check whether the hosted component is a JTextField.
22579         (insertUpdate): Invalidate cached span value, update visibility
22580         if neccessary.
22581         (removeUpdate): Dito.
22582         (changeUpdate): Dito.
22583
22584 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22585
22586         * javax/swing/JInternalFrame.java
22587         (setTitle): Set old value to 'this.title', not 'title'.
22588
22589 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22590
22591         * javax/swing/JInternalFrame.java
22592         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22593         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22594         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22595         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22596         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22597         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22598         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22599         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22600         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22601         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22602         Implemented,
22603         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22604         Implemented,
22605         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22606         Implemented,
22607         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22608         Implemented,
22609         (JInternalFrame()): Use "" for default title,
22610         (getAccessibleContext): Updated API docs,
22611         (getDesktopIcon): Likewise,
22612         (getLayer): Check for layer in client properties, and return 
22613         DEFAULT_LAYER if no setting is found,
22614         (getTitle): Updated API docs,
22615         (setDesktopIcon): Fire property change event.
22616
22617 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22618
22619         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22620         Mind that the presence of one scroll bar may cause the
22621         need for another.
22622
22623 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
22624
22625         * gnu/regexp/REToken.java(unicodeAware): New field,
22626         (toLowerCase, toUpperCase): New methods.
22627         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22628         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22629         Use toLowerCase and toUpperCase defined in REToken instead of
22630         those defined in java.lang.Character.
22631         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22632         (initialize): Sets unicodeAware of the generated REToken to false if
22633         REG_ICASE_USASCII is set.
22634         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22635         to lower case and keep the original value.
22636         (matchOneString): Use the new method charEquals to compare characters.
22637         (charEquals): New method to compare characters.
22638         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22639
22640 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
22641
22642         * javax/swing/event/InternalFrameEvent.java:
22643         (paramString): Implemented,
22644         updated API docs all over.
22645         
22646 2006-04-12  Casey Marshall  <csm@gnu.org>
22647
22648         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22649         (Generator.setup): call `fillBlock.'
22650
22651 2006-04-12  Casey Marshall  <csm@gnu.org>
22652
22653         Fixes PR classpath/24481.
22654         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22655         initialize the adaptee.
22656         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22657         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22658         addRandomBytes): new methods.
22659
22660 2006-04-12  Tom Tromey  <tromey@redhat.com>
22661
22662         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22663         length strings.
22664
22665 2006-04-12  Lillian Angel  <langel@redhat.com>
22666
22667         * gnu/xml/dom/DomDocument.java
22668         (checkNCName): Removed unneeded part of check.
22669         * gnu/xml/dom/DomNode.java
22670         (dispatchEvent): Added code to grow ancestors array
22671         if needed. Changed checks to use depth of node instead.
22672         Fixes an infinite loop and segmentation fault.
22673         * gnu/xml/dom/html2/DomHTMLParser.java
22674         (handleEndTag): No need to use/make a copy of the node.
22675         Causes an infinite loop.
22676
22677 2006-04-12  Tom Tromey  <tromey@redhat.com>
22678
22679         PR classpath/27131:
22680         * java/util/BitSet.java (get): Early return if to==from.
22681
22682 2006-04-12  Mark Wielaard  <mark@klomp.org>
22683
22684         * java/security/SecureRandom.java (algorithm): New private field.
22685         (SecureRandom): Initialize algorithm.
22686         (SecureRandom(SecureRandomSpi,Provider,String)): New private
22687         constructor.
22688         (getInstance): Call 3 argument constructor.
22689         (getAlgorithm): New method.
22690
22691 2006-04-12  Mark Wielaard  <mark@klomp.org>
22692
22693         Port UncaughtExceptionHandler support from generics branch.
22694         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22695
22696 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22697
22698         * java/lang/Thread.java:
22699         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22700         Added docs and security check.
22701         (getUncaughtExceptionHandler()): Documented.
22702         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22703         Added docs and security check.
22704         (getDefaultUncaughtExceptionHandler()): Documented.
22705         (getId()): Documented.
22706
22707 2006-04-12  Tom Tromey  <tromey@redhat.com>
22708
22709         * vm/reference/java/lang/VMThread.java (run): Use thread's
22710         uncaught handler.
22711         * java/lang/Thread.java (defaultHandler): New field.
22712         (setDefaultUncaughtExceptionHandler,
22713         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22714         getUncaughtExceptionHandler): New methods.
22715         * java/lang/ThreadGroup.java (ThreadGroup): Implements
22716         UncaughtExceptionHandler.
22717         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22718
22719 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
22720
22721         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22722         buffer. Loop only once to determine Utf8 length when possible. Make
22723         the inner loop bounded by buf.length.
22724         (getUTFlength): New private method.
22725         (buf): New private field.
22726
22727 2006-04-11  Lillian Angel  <langel@redhat.com>
22728
22729         * gnu/xml/dom/DomNodeIterator.java
22730         (nextNode): Moved line of code to avoid an infinite loop.
22731         * gnu/xml/dom/html2/DomHTMLAppletElement.java
22732         (getCls): New function.
22733         (setCls): Likewise.
22734         (getSrc): Likewise.
22735         (setSrc): Likewise.
22736         * gnu/xml/dom/html2/DomHTMLDocument.java:
22737         Added DomHTMLEmbedElement to map.
22738         (getApplets): Added node name, 'embed'.
22739         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22740         New class.
22741         * gnu/xml/dom/html2/DomHTMLObjectElement.java
22742         (getJavaCode): New function.
22743         (setJavaCode): Likewise.
22744         (getObject): Likewise.
22745         (setObject): Likewise.
22746         (getJavaObject): Likewise.
22747         (setJavaObject): Likewise.
22748         (getJavaArchive): Likewise.
22749         (setJavaArchive): Likewise.
22750         (getJavaCodeBase): Likewise.
22751         (setJavaCodeBase): Likewise.
22752         (getJavaType): Likewise.
22753         (setJavaType): Likewise.
22754         (setMayscript): Likewise.
22755         (getMayscript): Likewise.
22756         (setScriptable): Likewise.
22757         (getScriptable): Likewise.
22758         * gnu/xml/dom/html2/DomHTMLParser.java
22759         (parseDocument): Should not check for well formedness
22760         when parsing an html document.
22761         * java/awt/Window.java
22762         (dispatchEvent): Added check to avoid NPE.
22763
22764 2006-04-10  Tom Tromey  <tromey@redhat.com>
22765
22766         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22767         name.
22768         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22769         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22770
22771 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
22772
22773         * javax/swing/plaf/basic/BasicTextUI.java:
22774         (getNextVisualPositionFrom): Marked as stub.
22775
22776 2006-04-10  Roman Kennke  <kennke@aicas.com>
22777
22778         * javax/swing/plaf/basic/BasicLookAndFeel.java
22779         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22780         and create the defaults as strings constants.
22781         (loadSystemColors): Implemented stubbed method.
22782
22783 2006-04-10  Tom Tromey  <tromey@redhat.com>
22784
22785         * .settings/org.eclipse.core.resources.prefs: Set encoding for
22786         ChangeLog.
22787
22788 2006-04-10  Tom Tromey  <tromey@redhat.com>
22789
22790         * java/io/CharArrayWriter.java (append): Javadoc fix.
22791         (append): Likewise.
22792
22793 2006-04-10  Tom Tromey  <tromey@redhat.com>
22794
22795         * javax/accessibility/AccessibleTextSequence.java: New file.
22796         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22797         field.
22798         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22799         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22800         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22801         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22802         * javax/accessibility/AccessibleExtendedText.java: New file.
22803         * javax/accessibility/AccessibleContext.java
22804         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22805         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22806         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22807         * javax/accessibility/AccessibleAttributeSequence.java: New file.
22808         * javax/accessibility/AccessibleStreamable.java: New file.
22809         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22810         fix.
22811
22812 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22813
22814         * javax/swing/tree/AbstractLayoutCache.java 
22815         (getNodeDimensions, getRowsForPath): Implemented.
22816         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22817         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22818
22819 2006-04-10  Roman Kennke  <kennke@aicas.com>
22820
22821         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22822
22823 2006-04-10  Roman Kennke  <kennke@aicas.com>
22824
22825         * javax/swing/JInternalFrame.java
22826         (AccessibleJInternalFrame): Marked all stubbed methods as such
22827         by adding throws NotImplementedException.
22828
22829 2006-04-10  Roman Kennke  <kennke@aicas.com>
22830
22831         * javax/swing/JFileChooser.java
22832         (getAccessibleContext): Don't create a new instance on each
22833         call, instead store the accessible context in the
22834         accessibleContext field.
22835
22836 2006-04-10  Roman Kennke  <kennke@aicas.com>
22837
22838         * javax/swing/JComboBox.java
22839         (AccessibleJComboBox): Marked all stubbed methods as such
22840         by adding throws NotImplementedException.
22841
22842 2006-04-10  Roman Kennke  <kennke@aicas.com>
22843
22844         * javax/swing/ActionMap.java
22845         (readObject): Removed.
22846         (writeObject): Removed.
22847
22848 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22849
22850         * javax/swing/tree/DefaultTreeSelectionModel.java
22851         (addSelectionPaths, setSelectionPaths): Call 
22852         insureUniqueness. (clone, setRowMapper): Implemented.
22853         * TreePath (path): Marked final.
22854
22855 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22856
22857         * javax/swing/tree/DefaultTreeSelectionModel.java:
22858         Documented and autoformatted. (insureUniqueness):
22859         Removed stub marking.
22860
22861 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
22862
22863         * javax/swing/SizeSequence.java
22864         (sizes): Don't initialise here,
22865         (SizeSequence(int, int)): Initialise sizes field,
22866         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22867         (setSize): Do nothing when index is out of bounds,
22868         (getIndex): Implemented,
22869         (setSizes): Reimplemented,
22870         (getSizes): Likewise,
22871         (insertEntries): Likewise,
22872         (removeEntries): Likewise,
22873         plus added API docs all over.
22874
22875 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
22876
22877         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22878         one way message and retry after any IOException.
22879
22880 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22881
22882         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22883         Set the byte order.
22884
22885 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
22886
22887         * org/omg/PortableServer/ServantLocatorPOA.java: 
22888         (preinvoke, postinvoke): Remove default implementation.
22889         * org/omg/PortableServer/ServantActivatorPOA.java: 
22890         (incarnate, etherealize): Remove default implementation.        
22891         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
22892         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22893         (make_object): Moved method from ObjectReferenceFactoryOperations.
22894         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
22895         Removed unspecified interface.  
22896         * org/omg/DynamicAny/_DynAnyStub.java:
22897         (_DynAnyStub(Delegate)): Removed constructor.
22898         * org/omg/DynamicAny/_DynArrayStub.java,
22899         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22900         * org/omg/DynamicAny/_DynEnumStub.java,
22901         * org/omg/DynamicAny/_DynFixedStub.java,
22902         * org/omg/DynamicAny/_DynSequenceStub.java,
22903         * org/omg/DynamicAny/_DynStructStub.java,
22904         * org/omg/DynamicAny/_DynUnionStub.java,
22905         * org/omg/DynamicAny/_DynValueStub.java: 
22906         Extend from ObjectImpl and not from _DynAnyStub.
22907         (type, next, destroy, copy, rewind, assign, component_count, 
22908         current_component, equal, from_any, get_any, get_boolean, get_char, 
22909         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
22910         get_reference, get_short, get_string, get_typecode, get_ulong, 
22911         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22912         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22913         insert_long, insert_longlong, insert_octet, insert_reference, 
22914         insert_short, insert_string, insert_typecode, insert_ulong, 
22915         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
22916         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
22917         * org/omg/CosNaming/_BindingIteratorStub.java:
22918         (_BindingIteratorStub(Delegate)): Made package private.
22919         * org/omg/CosNaming/_NamingContextExtStub.java:
22920         (_NamingContextExtStub(Delegate)): Made package private.
22921         * org/omg/CosNaming/_NamingContextStub.java:
22922         (_NamingContextStub(Delegate)): Made package private.
22923         (throw4, throw5): Likewise.
22924         * gnu/CORBA/NamingService/NameParser.java (resolve): 
22925         Adapt to package private constructor. Use _set_delegate instead.        
22926         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22927         * org/omg/CORBA/ORB.java: 
22928         (create_recursive_sequence_tc): Made abstract.
22929         (get_default_context): Likewise.
22930         * gnu/CORBA/OrbRestricted.java: 
22931         (create_recursive_sequence_tc): New moved method.
22932         (get_default_context): Likewise.        
22933         * org/omg/CORBA/ParameterMode.java: 
22934         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
22935
22936 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22937
22938         * gnu/CORBA/GIOP/MessageHeader.java (write): 
22939         More informative exception.
22940         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22941         * gnu/CORBA/SocketRepository.java (get_socket):
22942         Removed debugging code.
22943
22944 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22945
22946         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22947         one way message, but ignore if EOF was received.
22948         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22949         Minor.EOF if the end of file is received instead of the header.
22950
22951 2006-04-09  Roman Kennke  <kennke@aicas.com>
22952
22953         * javax/swing/plaf/metal/MetalRootPaneUI.java
22954         (MetalTitlePane.IconifyAction): New inner class.
22955         (MetalTitlePane.MaximizeAction): New inner class.
22956         (MetalTitlePane.createActions): Create iconifyAction and
22957         maximizeAction.
22958         (MetalRootLayout.titlePane): New field.
22959         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22960         constructor.
22961         (MetalRootLayout.preferredLayoutSize): Changed to not make
22962         assumptions about the actual component order.
22963         (MetalRootLayout.layoutContainer): Changed to not make
22964         assumptions about the actual component order.
22965         (installWindowDecorations): Pass the titlePane as parameter to
22966         the MetalRootLayout constructor.
22967         (uninstallWindowDecorations): Changed to not make
22968         assumptions about the actual component order.
22969
22970 2006-04-08  Roman Kennke  <kennke@aicas.com>
22971
22972         * javax/swing/plaf/metal/MetalRootPaneUI.java
22973         (MetalTitlePane.MouseHandler): New inner class to handle dragging
22974         of frames.
22975         (MetalTitlePane.installListeners): Don't register a focus listener
22976         on the window. This is a potential memory leak and must be
22977         implemented on a different way. Install mouse listener here.
22978         (installWindowDecorations): Fixed assertion condition. Always
22979         insert the window decoration at index#1 in the layered 
22980         pane.
22981
22982 2006-04-08  Roman Kennke  <kennke@aicas.com>
22983
22984         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22985         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22986         Only resize window if actual width or height value changes.
22987         Avoids nasty flicker when only setLocation() is beeing called
22988         on a window.
22989
22990 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22991
22992         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22993         exception if the magic sequence does not match.
22994
22995 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22996
22997         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22998         response for the one way messages.
22999
23000 2006-04-08  Roman Kennke  <kennke@aicas.com>
23001
23002         * javax/swing/MenuSelectionManager.java
23003         (processKeyEvent): Implemented stub method.
23004         * javax/swing/JMenu.java
23005         (processKeyEvent): Implemented stub method.
23006         * javax/swing/JMenu.java
23007         (processKeyEvent): Implemented stub method.
23008         (processMenuKeyEvent): Implemented stub method.
23009
23010 2006-04-08  Roman Kennke  <kennke@aicas.com>
23011
23012         * javax/swing/AbstractAction.java
23013         (readObject): Removed unneeded method.
23014         (writeObject): Removed unneeded method.
23015
23016 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23017
23018         * javax/swing/plaf/synth/SynthPainter.java: 
23019         (paintSplitPaneDividerBorder): Removed.
23020
23021 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23022
23023         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23024         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23025         No longer constants.
23026         (static_initializer): Added to initialize above fields.
23027         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23028         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23029         (static_initializer): Added to initialize above fields.
23030
23031 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23032
23033         * java/awt/Dialog.java: Improved documentation all over.
23034         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23035         (Dialog(Dialog)): Likewise.
23036
23037 2006-04-08  Mark Wielaard  <mark@klomp.org>
23038
23039         * java/util/jar/JarFile.java (provider): New static field.
23040         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23041         to `getInstance.'
23042
23043 2006-04-08  Mark Wielaard  <mark@klomp.org>
23044
23045         PR 27081
23046         * java/lang/StackTraceElement.java (toString): Don't add space
23047         between type and source indicator.
23048
23049 2006-04-07  Casey Marshall  <csm@gnu.org>
23050
23051         Fixes PR classpath/24464        
23052         * java/util/jar/JarFile.java (verify, verifyHashes,
23053         EntryInputStream.<init>): pass the Gnu provider directly to
23054         `getInstance.'
23055
23056 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23057
23058         PR classpath/27071
23059         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23060         (DIGEST0): Use version 3 test vector.
23061         (Sd): Removed.
23062         (S_box): New field: Version 3 S-box values.
23063         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23064         (transform): Formating.
23065         (padBuffer): Likewise.
23066         (getResult): Likewise.
23067         (selfTest): Likewise.
23068
23069 2006-04-07  Tom Tromey  <tromey@redhat.com>
23070
23071         * java/util/InvalidPropertiesFormatException.java
23072         (serialVersionUID): New field.
23073         (readObject, writeObject): New methods.
23074         * java/util/Arrays.java (toString): Javadoc fixes.
23075         * java/net/URLConnection.java: Cleaned up imports.
23076         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23077         * java/lang/reflect/MalformedParameterizedTypeException.java
23078         (serialVersionUID): New field.
23079         * java/lang/reflect/GenericSignatureFormatError.java
23080         (serialVersionUID): New field.
23081         * java/lang/Class.java (Class): Javado fixes.
23082         (getComponentType): Likewise.
23083         (getGenericInterfaces): Likewise.
23084         (getTypeParameters): Likewise.
23085         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23086         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23087         New field.
23088         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23089         field.
23090         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23091         New field.
23092
23093 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23094
23095         * java/awt/Dialog.java 
23096         (AccessibleAWTDialog): Added api docs
23097         (AccessibleAWTDialog.getAccessibleStateSet):
23098          Renamed from getAccessibleState.
23099         * java/awt/Frame.java 
23100         (AccessibleAWTFrame): Added api docs
23101         (AccessibleAWTFrame.getAccessibleStateSet):
23102          Renamed from getAccessibleState.
23103
23104 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23105
23106         * java/awt/Dialog.java: Reformatted.
23107
23108 2006-04-07  Lillian Angel  <langel@redhat.com>
23109
23110         * java/awt/Component.java
23111         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23112         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23113
23114 2006-04-07  Tom Tromey  <tromey@redhat.com>
23115
23116         * java/beans/beancontext/BeanContextMembershipEvent.java
23117         (serialVersionUID): New field.
23118         * java/beans/beancontext/BeanContextServicesSupport.java
23119         (addBeanContextServicesListener): Synchronize.
23120         (addService): Implemented.
23121         (createBCSChild): Implemented.
23122         (BCSSChild): Added arguments.
23123         (fireServiceAdded): Implemented.
23124         (fireServiceRevoked): Implemented.
23125         (getCurrentServiceSelectors): Implemented.
23126         (hasService): Implemented.
23127         (removeBeanContextServicesListener): Implemented.
23128         (serviceAvailable): Implemented.
23129         (serviceRevoked): Implemented.
23130         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23131         arguments.
23132         (createBCSChild): Implemented.
23133         (BeanContextSupport): 
23134         (addBeanContextMembershipListener): Synchronize.
23135         (fireChildrenAdded): Implemented.
23136         (fireChildrenRemoved): Implemented.
23137         (BeanContextSupport): Use default locale.
23138         (isEmpty): Implemented.
23139         (isDesignTime): Implemented.
23140         (size): Implemented.
23141         (toArray): Synchronized.
23142         (toArray): Likewise.
23143         (iterator): Likewise.
23144         (BCSIterator): Implemented.
23145         (bcsChildren): Implemented.
23146         (validatePendingAdd): Implemented.
23147         (validatePendingRemove): Likewise.
23148         (childJustAddedHook): Implemented.
23149         (childJustRemovedHook): Likewise.
23150         (classEquals): Likewise.
23151         (toArray): Mark as stub.
23152         (setDesignTime): Implemented.
23153         (copyChildren): Implemented.
23154         (containsKey): Implemented.
23155         (contains): Likewise.
23156         (containsAll): Likewise.
23157         (getResource): Implemented.
23158         (getResourceAsStream): Likewise.
23159         (removeBeanContextMembershipListener): Likewise.
23160         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23161         (serialVersionUID): New field.
23162         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23163         (serialVersionUID): New field.
23164         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23165         fix.
23166
23167 2006-04-06  Roman Kennke  <kennke@aicas.com>
23168
23169         PR 26937
23170         * javax/swing/MenuSelectionManager.java
23171         (setSelectedPath): Search one more item in the loop.
23172         
23173 2006-04-06  Tom Tromey  <tromey@redhat.com>
23174
23175         * java/awt/image/renderable/RenderableImageProducer.java
23176         (image, context, consumers): New fields.
23177         (RenderableImageProducer): Implemented.
23178         (setRenderContext): Likewise.
23179         (addConsumer): Likewise.
23180         (isConsumer): Likewise.
23181         (removeConsumer): Likewise.
23182         (startProduction): Likewise.
23183
23184 2006-04-06  Roman Kennke  <kennke@aicas.com>
23185
23186         * java/awt/Component.java
23187         (AccessibleAWTComponent.getBounds): Return the component
23188         bounds regardless of its showing state.
23189         (AccessibleAWTComponent.getLocation): Return the component
23190         location regardless of its showing state.
23191         (AccessibleAWTComponent.getSize): Return the component
23192         size regardless of its showing state.
23193
23194 2006-04-06  Roman Kennke  <kennke@aicas.com>
23195
23196         * javax/swing/JRootPane.java
23197         (getAccessibleContext): New method. Provides an accessibleContext
23198         for JRootPanes.
23199
23200 2006-04-06  Roman Kennke  <kennke@aicas.com>
23201
23202         * java/awt/Toolkit.java
23203         (initAccessibility): Use the 'gnu.classpath.home.url' property
23204         to determine the system confiuration directory.
23205         * java/awt/Component.java
23206         (dispatchEvent): Trigger Toolkit dispatching here.
23207         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23208         so it can't be overridden by subclasses and is performed in
23209         any case.
23210
23211 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23212         
23213         * javax/naming/Binding.java: Added API docs.
23214         * javax/naming/NameClassPair.java: Added API docs.
23215         (fullName): New field.
23216         (setNameInNamespace): New 1.5 method.
23217         (getNameInNamespace): Likewise.
23218
23219 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23220
23221         * javax/naming/CompositeName.java: 
23222         (readObject): New deserialization method.
23223         (writeObject): New serialization method.
23224
23225 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23226
23227         * javax/security/auth/x500/X500Principal.java
23228         (readAttributeValue) Check for separator after quoted value was
23229         failing in all cases.
23230
23231 2006-04-06  Mark Wielaard  <mark@klomp.org>
23232
23233         * java/lang/Class.java (getClassLoader): Don't do security check
23234         when loader is null.
23235
23236 2006-04-06  Roman Kennke  <kennke@aicas.com>
23237
23238         * java/awt/Toolkit.java
23239         (getDefaultToolkit): Initialize accessibility after setting
23240         up the toolkit.
23241         (initAccessibility): New helper method to setup accessibility.
23242
23243 2006-04-06  Roman Kennke  <kennke@aicas.com>
23244
23245         * javax/swing/AbstractButton.java
23246         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23247         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23248         stub.
23249         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23250         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23251         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23252         (AccessibleAbstractButton.getCharCount): Implemented stub.
23253         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23254         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23255         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23256         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23257         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23258         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23259         private method.
23260
23261 2006-04-06  Roman Kennke  <kennke@aicas.com>
23262
23263         * java/awt/Component.java
23264         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23265         state here. This is only done in JComponent.
23266         * javax/swing/JComponent.java
23267         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23268         here.
23269         (getNextFocusableComponent): Implemented stub method.
23270         (grabFocus): Implemented stub method.
23271         (unregisterKeyboardAction): Implemented stub method.
23272         (setNextFocusableComponent): Implemented stub method.
23273         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23274         This is a helper class for providing compatibility with the older
23275         Swing focus API.
23276
23277 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23278
23279         Fixes bug #26995
23280         * javax/naming/directory/BasicAttribute.java,
23281         * javax/naming/directory/BasicAttributes.java: 
23282         (readObject): New deserialization method.
23283         (writeObject): New serialization method.
23284
23285 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23286
23287         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23288         (getErrorHandler): Made method abstract.
23289         (setErrorHanlder): Likewise.
23290         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23291         (getErrorHandler): Implement abstract method from superclass.
23292         (setErrorHandler): Likewise.
23293         (errorHandler): New field.
23294         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23295         (getErrorHandler): Implement abstract method from superclass.
23296         (setErrorHandler): Likewise.
23297         (errorHandler): New field.      
23298         * javax/xml/XMLConstants.java: Corrected since tag.
23299         (XMLConstants): Added private constructor.
23300         * javax/xml/datatype/Duration.java: Corrected since tag.
23301         (multiply): Made method abstract.
23302         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23303         (DatatypeConstants): Added private constructor.
23304         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23305         (XPathConstants): Added private constructor.
23306
23307 2006-04-05  Tom Tromey  <tromey@redhat.com>
23308
23309         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23310
23311 2006-04-05  Tom Tromey  <tromey@redhat.com>
23312
23313         PR libgcj/26625:
23314         * lib/Makefile.am (compile-classes): Touch the output file.
23315
23316 2006-04-05  Roman Kennke  <kennke@aicas.com>
23317
23318         * javax/swing/AbstractButton.java
23319         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23320         of the focused state. This is already done in AccessibleAWTComponent.
23321
23322 2006-04-05  Roman Kennke  <kennke@aicas.com>
23323
23324         * javax/swing/JComponent.java
23325         (accessibleContext): Fixed API doc for this field.
23326         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23327         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23328         Implemented and added API docs.
23329         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23330         Implemented and added API docs.
23331         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23332         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23333         Implemented and added API docs.
23334         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23335         Implemented and added API docs.
23336         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23337         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23338         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23339         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23340         (AccessibleJComponent.getAccessibleStateSet): Simply return
23341         super here. Added comment about this.
23342
23343 2006-04-05  Roman Kennke  <kennke@aicas.com>
23344
23345         * javax/swing/JComponent.java
23346         (AccessibleJComponent.addPropertyChangeListener): Install
23347         ContainerHandler and FocusHandler here.
23348         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23349         ContainerHandler and FocusHandler here.
23350         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23351         by super.getAccessibleChildrenCount().
23352         (AccessibleJComponent.getAccessibleChild): Replaced
23353         by super.getAccessibleChild().
23354         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23355         adding OPAQUE to the supported states.
23356         (AccessibleJComponent.getAccessibleName): Added titled border
23357         and label fallbacks.
23358         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23359         and label fallbacks.
23360         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23361         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23362         explaining why return null seems correct here.
23363         * javax/swing/JLabel.java
23364         (LABEL_PROPERTY): New constant.
23365         (setLabelFor): Store label in labeled component's client properties
23366         for the AccessibleJComponent to read.
23367
23368 2006-04-05  Tom Tromey  <tromey@redhat.com>
23369
23370         * java/util/zip/ZipFile.java (available): Defer to super if
23371         entry's size is unknown.
23372
23373 2006-04-05  Tom Tromey  <tromey@redhat.com>
23374
23375         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23376         property with mime.types name.
23377         * gnu/classpath/SystemProperties.java: Set
23378         gnu.classpath.mime.types.file if not already set.
23379         * java/net/URLConnection.java (defaultFactory): New field.
23380         (guessContentTypeFromStream): Mark as unimplemented.
23381         (getContentHandler): Updated with libgcj's implementation.
23382         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23383         from libgcj.
23384
23385 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23386
23387         PR classpath/27028
23388         PR classpath/24752
23389         * java/util/AbstractList.java (hasNext): Don't throw
23390         ConcurrentModificationException. Update Javadoc.
23391         (hasPrevious): Likewise.
23392         (nextIndex): Likewise.
23393         (previousIndex): Likewise.
23394         * java/util/HashMap.java (hasNext): Likewise.
23395         * java/util/Hashtable.java (hasNext): Likewise.
23396         * java/util/IdentityHashMap.java (hasNext): Likewise.
23397         * java/util/LinkedHashMap.java (hasNext): Likewise.
23398         * java/util/LinkedList.java (nextIndex): Likewise.
23399         (previousIndex): Likewise.
23400         (hasNext): Likewise.
23401         (hasPrevious): Likewise.
23402         * java/util/TreeMap.java (hasNext): Likewise.
23403         * java/util/WeakHashMap.java (hasNext): Likewise.
23404
23405 2006-04-05  Roman Kennke  <kennke@aicas.com>
23406
23407         * javax/swing/AbstractButton.java
23408         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23409         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23410         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23411         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23412         (AccessibleAbstractButton.getAccessibleActionDescription):
23413         Implemented stub.
23414         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23415         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23416         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23417         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23418         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23419         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23420
23421 2006-04-05  Roman Kennke  <kennke@aicas.com>
23422
23423         * javax/swing/JComboBox.java
23424         (selectWithKeyChar): Implemented stubbed method.
23425
23426 2006-04-05  Roman Kennke  <kennke@aicas.com>
23427
23428         * javax/swing/LookAndFeel.java
23429         (installProperty): New method. Allows primitive typed properties
23430         to be handled like UIResources.
23431         * javax/swing/AbstractButton.java
23432         (clientBorderPaintedSet): New field.
23433         (clientRolloverEnabledSet): New field.
23434         (clientIconTextGapSet): New field.
23435         (clientContentAreaFilledSet): New field.
23436         (setRolloverEnabled): Set the client field to true.
23437         (setBorderPainted): Likewise.
23438         (setIconTextGap): Likewise.
23439         (setContentAreaFilled): Likewise.
23440         (setUIProperty): New helper method.
23441         * javax/swing/JComponent.java
23442         (clientOpaqueSet): New field.
23443         (clientAutoscrollsSet): New field.
23444         (setAutoscrolls): Set the client field to true.
23445         (setOpaque): Likewise.
23446         (setUIProperty): New helper method.
23447         * javax/swing/JDesktopPane.java
23448         (clientDragModeSet): New field.
23449         (setDragMode): Set the client field to true.
23450         (setUIProperty): New helper method.
23451         * javax/swing/JSplitPane.java
23452         (clientDividerSizeSet): New field.
23453         (clientOneTouchExpandableSet): New field.
23454         (setDividerSize): Set the client field to true.
23455         (setOneTouchExpandable): Likewise.
23456         (setUIProperty): New helper method.
23457         * javax/swing/JTable.java
23458         (clientRowHeightSet): New field.
23459         (setRowHeight): Set the client field to true.
23460         (setUIProperty): New helper method.
23461         * javax/swing/JTree.java
23462         (clientRowHeightSet): New field.
23463         (clientScrollsOnExpandSet): New field.
23464         (clientShowsRootHandlesSet): New field.
23465         (setRowHeight): Set the client field to true.
23466         (setShowsRootHandles): Likewise.
23467         (setScrollsOnExpand): Likewise.
23468         (setUIProperty): New helper method.
23469
23470 2006-04-05  Roman Kennke  <kennke@aicas.com>
23471
23472         * java/awt/Component.java
23473         (getFont): Don't request the font from the peer's graphics. The
23474         graphics should instead get the font from the Component, which might
23475         result in a loop.
23476         (getFocusCycleAncestor): Don't special case Window.
23477         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23478         to here. Correctly determine the focus cycle root.
23479         (transferFocusBackward): Likewise.
23480         (transferFocusUpCycle): Likewise.
23481         * java/awt/Container.java
23482         (transferFocusDownCycle): Moved implementation from
23483         DefaultKeyboardFocusManager to here.
23484         * java/awt/DefaultKeyboardFocusManager.java
23485         (focusPreviousComponent): Moved implementation to
23486         Component.transferFocusBackward().
23487         (focusNextComponent): Moved implementation to
23488         Component.nextFocus().
23489         (upFocusCycle): Moved implementation to
23490         Component.transferFocusUpCycle().
23491         (downFocusCycle): Moved implementation to
23492         Container.transferFocusDownCycle().
23493
23494 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23495
23496         * java/awt/image/ComponentSampleModel.java
23497         (equals): Implemented,
23498         (hashCode): Likewise.
23499
23500 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23501
23502         * java/lang/Class.java
23503         (cast): New method.
23504
23505 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23506
23507         * java/awt/image/ComponentSampleModel.java
23508         (getBankIndices): Return a copy of the array, not a reference to the
23509         original,
23510         (getBandOffsets): Likewise.
23511
23512 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23513
23514         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23515
23516 2006-04-04  Tom Tromey  <tromey@redhat.com>
23517
23518         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23519
23520 2006-04-04  Tom Tromey  <tromey@redhat.com>
23521
23522         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23523         (MimeTypeMapper): Initialize.
23524         (fillFromFile): New method.
23525         (main): New method.
23526         (mime_strings): Updated.
23527
23528 2006-04-04  Tom Tromey  <tromey@redhat.com>
23529
23530         * lib/gen-classlist.sh.in: Correct handle generated files.
23531
23532 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23533
23534         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23535         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23536         * gnu/regexp/CharIndexedCharSequence.java: New file.
23537         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23538         gnu.regexp.CharIndexedCharSequence.
23539         * gnu/regexp/CharIndexedString.java: Likewise.
23540         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23541         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23542         using CharIndexedCharSequence. Use setAnchor when the input
23543         object is already a CharIndexed.
23544         * java/util/regex/Matcher.java(inputCharIndexed): New field
23545         to be used as a parameter of the RE#getMatch.
23546
23547 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23548
23549         * java/awt/image/SampleModel.java: Reformatted.
23550
23551 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23552
23553         * java/awt/image/ComponentSampleModel.java
23554         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23555         documentation,
23556         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23557         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23558         of the bandOffsets and bankIndices arguments, added API documentation,
23559         * java/awt/image/SampleModel.java
23560         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23561         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23562         less than or equal to zero, added API documentation.
23563
23564 2006-04-04  Lillian Angel  <langel@redhat.com>
23565
23566         * java/util/zip/ZipFile.java
23567         (getInputStream): Fixed to return size of ZipEntry
23568         minus the total bytes read. This guarantees that the 
23569         right value is returned even if some bytes have already
23570         been read.
23571
23572 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23573
23574         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23575         Remove static modifier.
23576
23577 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23578
23579         * java/awt/image/ComponentSampleModel.java: Reformatted.
23580
23581 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23582
23583         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23584         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23585         retrieval instructions to javadoc header.
23586         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23587         compressionType field.
23588         * lib/Makefile.am (propertydirs): Add javax directory.
23589         (propertyfiles): Likewise.
23590         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23591         New file.
23592
23593 2006-04-03  Tom Tromey  <tromey@redhat.com>
23594
23595         PR classpath/26971:
23596         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23597         (BasicAttributeEnumeration.where): Initialize to 0.
23598         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23599
23600 2006-04-03  Lillian Angel  <langel@redhat.com>
23601
23602         PR classpath/24596 and PR classpath/26930
23603         * java/util/zip/ZipFile.java
23604         (getInputStream): Override available function for 
23605         InflaterInputStream instance.
23606
23607 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23608
23609         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23610
23611 2006-04-03  Tom Tromey  <tromey@redhat.com>
23612
23613         * javax/security/auth/kerberos/ServicePermission.java: New file.
23614         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23615         * javax/security/auth/kerberos/KerberosKey.java: New file.
23616         * javax/security/auth/kerberos/KeyImpl.java: New file.
23617         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23618         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23619
23620 2006-04-03  Sven de Marothy  <sven@physto.se>
23621
23622         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23623         non-GtkImage images.
23624
23625 2006-04-03  Mark Wielaard  <mark@klomp.org>
23626
23627         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23628         as temporary file name.
23629
23630 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23631
23632         * INSTALL: Documented --with-glibj-zip option.
23633
23634 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23635
23636         Fixed all pscan warnings.
23637
23638         * native/jni/classpath/jcl.c (JCL_ThrowException),
23639         native/jni/classpath/jcl.h (DBG),
23640         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23641         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23642         Use "%s" format in fprintf and snprintf explicitely when printing a single 
23643         string to prevent format string exploits.
23644         
23645         * native/jni/java-net/javanet.h (DBG): Removed duplicate
23646         definition. Included jcl.h instead.
23647  
23648 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
23649
23650         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23651         (provider): Made it protected.
23652         (providerInstalled): New field.
23653         (Main): Made it a 0-arguments constructor.
23654         Removed throws clasue.
23655         (main): Removed throws clause.
23656         Call processArgs(args) after constructing instance.
23657         Call teardown() before existing.
23658         (processArgs): Added javadoc.
23659         Reduced to throws Exception.
23660         (start): Likewise.
23661         (teardown): New method.
23662         (setupCommonParams): Added javadoc.
23663         Install designated provider if not already installed.
23664         (installNewProvider): New method.
23665         (setupSigningParams): Added javadoc.
23666         Instantiate the KeyStore using type only.
23667         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23668         Removed unused imports.
23669         (start): Reduced to throws Exception.
23670         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23671         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23672         Re-organized imports.
23673         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23674         Test ignoring case.
23675         (getNames): Add "dsa" as an algorithm provided by this Factory.
23676         (makeInstance): Construct IllegalArgumentException with 2 arguments.
23677
23678 2006-04-03  Roman Kennke  <kennke@aicas.com>
23679
23680         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23681         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23682         Replaced g_free() with pango_item_free() to avoid problems
23683         with the allocator.
23684
23685 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
23686
23687         Fixes bug #26668
23688         * java/util/logging/Level.java (parse): Document.
23689         * java/util/logging/LogManager.java (rootLogger): Removed.
23690         (LogManager): Just set loggers to new HashMap.
23691         (getLogManager): Make synchronized. Create and init LogManager if it
23692         doesn't exist yet.
23693         (static): Removed block.
23694         (MANAGER_PROPERTY): New private final string.
23695         (makeLogManager): Use new property string, move warning to
23696         createInstance() method.
23697         (CONFIG_PROPERTY): New private final string.
23698         (initLogManager): New method.
23699         (addLogger): Use Logger.root, not rootLogger.
23700         (findAncestor): Likewise.
23701         (readConfiguration): Move warning to createInstance() method.
23702         Add handlers directly to Logger.root. Warn about bad level values.
23703         (getClassProperty): Use new locateClass() method.
23704         (getInstanceProperty): Only catch specific newInstance Errors.
23705         (createInstance): Make private and takes a string to use in warning
23706         messages. Use new locateClass() method and generate appropriate
23707         warning message.
23708         (warn): New methods.
23709         (locateClass): Locates a class through the context class loader and
23710         system class loader as backup.
23711         * java/util/logging/Logger.java (root): New static final field.
23712         (Logger): Set parent to root.
23713         (setParent): Directly check root field.
23714
23715 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23716
23717         * java/util/Collections.java:
23718         (binarySearch(List, T)): Fixed signature.
23719         (unmodifiableList(List)): Likewise.
23720         (UnmodifiableList(List)): Fixed constructor.
23721         (UnmodifiableRandomAccessList(List)): Likewise.
23722         (unmodifiableMap(Map)): Fixed signature.
23723         (UnmodifiableMap(Map)): Fixed constructor.
23724         (unmodifiableSortedMap(Map)): Fixed signature.
23725         (UnmodifiableSortedMap(Map)): Fixed constructor.
23726         
23727 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23728
23729         * java/io/ObjectOutputStream.java:
23730         (writeObject(Object)): Added enum support.
23731         (writeClassDescriptor(ObjectStreamClass)): Likewise.
23732         * java/io/ObjectStreamClass.java:
23733         (isEnum()): New package-private method.
23734         (setFlags(Class)): Added enum support.
23735         * java/io/ObjectStreamConstants.java:
23736         (SC_ENUM): Added.
23737         
23738 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23739
23740         * javax/swing/text/Segment.java:
23741         (setPosition): Make exception message more verbose.
23742         * javax/swing/text/WrappedPlainView.java:
23743         (insertUpdate): Removed unneeded repaint call.
23744         (changeUpdate): Dito.
23745         (removeUpdate): Dito.
23746         (WrappedLine.determineNumLines): Do not return numLines, break
23747         from loop if no new break point has been calculated.
23748         (WrappedLine.updateDamage): Rewritten.
23749         (WrappedLine.insertUpdate): Removed unneeded update code.
23750         (WrappedLine.removeUpdate): Removed unneeded update code, added
23751         comment.        
23752
23753 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23754
23755         * configure.ac (with-glibj-zip): Added new option.
23756
23757         * examples/Makefile.am,
23758         lib/Makefile.am,
23759         tools/Makefile.am: Adapted build classpath to use glibj.zip,
23760         in addition to classes in lib directory.
23761
23762 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23763
23764         * tools/gnu/classpath/tools/giop/GRMIC.java,
23765         tools/gnu/classpath/tools/giop/IorParser.java,
23766         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23767         tools/gnu/classpath/tools/giop/grmic/Generator.java,
23768         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23769         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23770         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23771         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23772         tools/gnu/classpath/tools/rmi/RMIC.java,
23773         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23774         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23775         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23776         linking exception from the licensing header.
23777         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23778         Added licensing header.
23779
23780 2006-04-02  Mark Wielaard  <mark@klomp.org>
23781
23782         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23783         (jarsigner): Removed.
23784
23785 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23786
23787         * configure.ac: don't check for isnan function.
23788         * native/fdlibm/fdlibm.h: Always use the isnan macro.
23789
23790 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23791
23792         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23793         * tools/Makefile.am: Generate jarsigner shell script.
23794         * tools/jarsigner.sh.in: New template.
23795         * tools/.cvsignore: Added jarsigner.sh.
23796
23797 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23798
23799         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23800         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23801         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23802         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23803         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23804         Re-organised imports.
23805
23806 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
23807
23808         PR classpath/25924:
23809         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23810         Handle case where alpha==0.
23811
23812 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23813
23814         PR #26676
23815         * javax/swing/text/Utilities.java:
23816         (getTabbedTextOffset): Added check to decrement pos not below zero,
23817         changed '>' comparison to '>='.
23818         * javax/swing/text/WrappedPlainView.java:
23819         (lineHeight): New field.
23820         (calculateBreakPosition): Throw InternalError in catch block, removed
23821         unneeded brackets, use specific version of
23822         Utilities.getTabbedTextOffset.
23823         (paint): Set various properties neccessary for drawing.
23824         (WrappedLine.paint): Removed code to set field of outer class.
23825         (WrappedLine.modelToView): Removed unneeded expression from
23826         if-statement.
23827         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23828         -1 from return statement, copy only a subset into the Segment, removed
23829         special handling of mark value - just return it, simplified
23830         incrementation of currLineStart.
23831         (WrappedLine.insertUpdate): Recalculate numLines, report preference
23832         change to parent view.
23833         (WrappedLine.removeUpdate): Dito.
23834
23835 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23836
23837         * javax/swing/text/Segment.java:
23838         (toString): Return empty string when array is null.
23839
23840 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23841
23842         * javax/swing/plaf/basic/BasicTextUI.java:
23843         (damageRange): Use SwingUtilities.computeUnion to avoid
23844         unneccessary Rectangle instantiation.
23845
23846 2006-04-01  Tom Tromey  <tromey@redhat.com>
23847
23848         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23849
23850 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23851
23852         * javax/swing/text/CompositeView.java: Fixed copyright header.
23853         * javax/swing/text/BoxView.java: Fixed copyright header.
23854         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23855         * javax/swing/text/Utilities.java: Fixed copyright header.
23856
23857 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23858
23859         * javax/swing/text/CompositeView.java:
23860         (modelToView): Throw BadLocationException when no child
23861         view can be found, restructed to throw exception as early
23862         as possible.
23863         (viewToModel): Use mutable allocation as argument for viewToModel
23864         call on child view.
23865         * javax/swing/text/BoxView.java:
23866         (getViewAtPoint): Call setBounds() r before method returns with
23867         suitable child view.
23868         * javax/swing/text/Utilities.java:
23869         (getPositionBelow): Added try-catch-block around modelToView call,
23870         added method return when BadLocationException was thrown.
23871         * javax/swing/text/WrappedPlainView.java:
23872         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23873         added note about meaning of rect.x and rect.width, removed unneeded
23874         checks, added code to not return the last possible document offset.
23875
23876 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23877
23878         * javax/swing/text/WrappedPlainView.java:
23879         (WrappedLine.viewToModel): Change < to <= in if-statement,
23880         removed addition of currLineStart to return value.
23881         * javax/swing/text/BoxView.java:
23882         (getViewAtPoint): Use copy instead of r for method call
23883         which modifies the second argument.
23884
23885 2006-04-01  Mark Wielaard  <mark@klomp.org>
23886
23887         Fixes PR26973
23888         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23889
23890 2006-03-31  Tom Tromey  <tromey@redhat.com>
23891
23892         * lib/split-for-gcj.sh: Updated for multi-field format.
23893         * lib/Makefile.am (CLEANFILES): Added classes.2.
23894         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
23895         classes.2 using multiple fields.
23896
23897 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23898
23899         * javax/swing/JTable.java (columnSelectionChanged):
23900         Removed print statement.
23901         * javax/swing/DefaultListSelectionModel.java
23902         (addSelectionInterval, removeSelectionInterval):
23903         Fire the difference between selection. (setLeadSelectionIndex):
23904         Fire the difference and mark current and previous lead
23905         selection indexes for repaint.
23906
23907 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
23908
23909         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23910         unnecessary copying.
23911         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23912
23913 2006-03-31  Lillian Angel  <langel@redhat.com>
23914
23915         * java/awt/Component.java
23916         (translateEvent): oldKey should be the value of the
23917         key char.
23918
23919 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23920
23921         * javax/swing/JTable.java (columnSelectionChanged):
23922         Treat second repaint parameter as width.
23923
23924 2006-03-31  Lillian Angel  <langel@redhat.com>
23925         
23926         PR classpath/26924
23927         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23928         (realize): New native function.
23929         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23930         Added new function declaration.
23931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23932         (realize): New function.
23933
23934 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
23935         
23936         * javax/swing/text/GapContent.java:
23937         (replace): Move all Position instances from gap's end to
23938         it's start before increasing the gap start.
23939         * javax/swing/plaf/basic/BasicTextAreaUI.java:
23940         (propertyChanged): Update the view only instead of
23941         indicating a document change.
23942
23943 2006-03-31  Roman Kennke  <kennke@aicas.com>
23944
23945         * javax/swing/JTextField.java
23946         (fireActionPerformed): Put the textfields text in the action
23947         instead of the action name.
23948
23949 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
23950
23951         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23952         Check for null jar-file argument.
23953         (setupSigningParams): Check for null alias argument.
23954
23955 2006-03-31  Roman Kennke  <kennke@aicas.com>
23956
23957         * javax/swing/JComponent.java
23958         (paintChildren): Split up in two cases, depending on the
23959         optimizedDrawingEnabled flag.
23960         (paintChildrenWithOverlap): New method. Paints children when
23961         not optimizedDrawingEnabled. This implements better painting
23962         algorithm for overlapping components, so that the painted
23963         regions are minimized.
23964         (paintChildrenOptimized): New method. Paints children when
23965         when optimizedDrawingEnabled. This implements a painting
23966         algorithm that is optimized for the case when all children
23967         are guaranteed to be tiled.
23968
23969 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
23970
23971         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23972         Attributes.putValue(String,String).
23973         (finishSigning): Likewise.
23974         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23975         (SIGNATURE_VERSION): Likewise.
23976         (readSFManifest): Use local string constant.
23977         (readMainSection): Likewise.
23978         (readVersionInfo): Likewise.
23979         * java/util/jar/Attributes.java (MANIFEST_VERSION):
23980         Redefined using JarUtils constant.
23981         (SIGNATURE_VERSION): Likewise.
23982         (putValue(Name,String)): Made it private.
23983
23984 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23985
23986         * javax/swing/DefaultListSelectionModel.java (fireDifference):
23987         New method. (clearSelection): Rewritten. (setSelectionInterval):
23988         Fire the difference between current and new selection.
23989         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23990         Only repaint the region, where selection has been changed.
23991         * javax/swing/plaf/basic/BasicTableUI.java 
23992         (TableAction.actionPerformed): Do not change the column selection
23993         when only row selection change is wanted (and in reverse) and 
23994         do not call the repaint() here.
23995
23996 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
23997
23998         Fixes bug #26951
23999         * javax/swing/DefaultComboBoxModel.java
24000         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24001         vector.size(),
24002         (addElement): Call list.addElement() rather than list.add(), and only
24003         update selected item if it is currently null,
24004         (removeElementAt): Update selected item, then remove the element.
24005
24006 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24007
24008         Fixes bug #26955
24009         * java/awt/geom/Point2D.java
24010         (distanceSq(double, double)): Fixed order of arguments,
24011         (distanceSq(Point2D)): Likewise,
24012         (distance(double, double)): Likewise,
24013         (distance(Point2D)): Likewise.
24014
24015 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24016
24017         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24018         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24019         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24020         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24021         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24022
24023 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24024
24025         * javax.swing.JTable (constructor): Initialize column
24026         model column margin and table row margin before setting the
24027         table column model. (initialiseLocalVars): Do not call 
24028         setIntercellSpacing.
24029
24030 2006-03-30  Chris Burdess  <dog@gnu.org>
24031
24032         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24033           method signature.
24034         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24035
24036 2006-03-30  Mark Wielaard  <mark@klomp.org>
24037
24038         PR 26848
24039         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24040         adjust bounds. On resize invalidate and validate container.
24041         Always pass on ComponentEvents to Container super class.
24042         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24043         menuBar and pass to GtkWindowPeer super class.
24044         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24045         bounds and pass to GtkWindowPeer super class.
24046         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24047         New fields for local bounds.
24048         (getX, getY): New methods.
24049         (getWidth): Don't call into awtComponent.
24050         (getHeight): Likewise.
24051         (create): Cache local bounds.
24052         (setLocation): Documented, made protected and just call
24053         nativeSetLocation.
24054         (setLocationUnlocked): Removed unused method.
24055         (setBoundsUnlocked): Likewise.
24056         (setBounds): Check whether bounds actually changed and cache local
24057         bounds.
24058         (setSize): Documented and made protected.
24059         (setResizable): Documented and cache local bounds.
24060         (postConfigureEvent): Update local bounds. Don't call awtComponent
24061         directly but post ComponentEvents.
24062         (show): Cache local bounds.
24063         (getBounds): Override to return cached bounds.
24064
24065 2006-03-30  Lillian Angel  <langel@redhat.com>
24066
24067         * gnu/java/awt/peer/gtk/GdkGraphics.java
24068         (drawImage): Added check to prevent NPE.
24069         (drawImage): Likewise.
24070         (drawImage): Likewise.
24071         * java/awt/Choice.java
24072         (dispatchEventImpl): New function. selectedIndex was
24073         not being updated properly otherwise.
24074
24075 2006-03-30  Roman Kennke  <kennke@aicas.com>
24076
24077         * javax/swing/JTabbedPane.java
24078         (removeTabAt): Removed debug code.
24079
24080 2006-03-30  Roman Kennke  <kennke@aicas.com>
24081
24082         PR 26045
24083         * javax/swing/plaf/basic/BasicTextUI.java
24084         (installKeyboardActions): Simply call getKeymap() and install this.
24085         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24086
24087 2006-03-30  Roman Kennke  <kennke@aicas.com>
24088
24089         * javax/swing/JTabbedPane.java
24090         (removeTabAt): Adjust selection correctly when removing a tab
24091         before the selected tab. Also remove the component from the
24092         container, not only the tab object. Repaint and revalidate the
24093         component after the removal.
24094         (removeAll): Set selection to -1 before removing the tabs.
24095
24096 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24097
24098         * java/io/ObjectInputStream.java:
24099         (parseContent(byte)): Added enum support.
24100         * java/io/ObjectStreamConstants.java:
24101         (TC_ENUM): Added.
24102         (TC_MAX): Changed to new maximum, TC_ENUM.
24103         
24104 2006-03-29  Lillian Angel  <langel@redhat.com>
24105
24106         Partial fix for bug #26929
24107         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24108         (updateComponent): Removed. We want to clear the panel
24109         before painting.
24110         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24111         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24112         Should set the background to the saved background color.
24113
24114 2006-03-29  Mark Wielaard  <mark@klomp.org>
24115
24116         Partial fix for bug #26848 (pack).
24117         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24118         Always show instances of Window.
24119
24120 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24121
24122         * javax/swing/JSlider.java
24123         (setPaintLabels): Only create standard labels if labelTable is null,
24124         * javax/swing/plaf/basic/BasicSliderUI.java
24125         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24126         "paintTicks" property change,
24127         (calculateThumbSize): Updated API docs,
24128         (calculateContentRect): Likewise,
24129         (calculateTrackBuffer): Take into account the lowest and highest 
24130         labels when calculating buffer space,
24131         (calculateTrackRect): Include labels, if visible, in the calculation of
24132         the trackRect position,
24133         (calculateTickRect): Height is zero if ticks are not painted,
24134         (calculateLabelRect): Use max dimensions of actual labels,
24135         (getWidthOfHighValueLabel): Use preferred size,
24136         (getWidthOfLowValueLabel): Likewise,
24137         (getHeightOfHighValueLabel): Likewise,
24138         (getHeightOfLowValueLabel): Likewise,
24139         (drawInverted): Just return slider setting,
24140         (getHighestValueLabel): Updated API docs,
24141         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24142         to xPositionForValue() and yPositionForValue(),
24143         (paintHorizontalLabel): Removed full qualification of class name,
24144         (paintVerticalLabel): Likewise,
24145         (xPositionForValue): Reimplemented,
24146         (yPositionForValue): Reimplemented,
24147         * javax/swing/plaf/metal/MetalSliderUI.java
24148         (paintTrack): Made track one pixel longer.
24149
24150 2006-03-29  Tom Tromey  <tromey@redhat.com>
24151
24152         PR gcc/26901:
24153         * tools/Makefile.am (JCOMPILER): Added encoding options.
24154         * examples/Makefile.am (JCOMPILER): Added encoding options.
24155
24156 2006-03-29  Gary Benson  <gbenson@redhat.com>
24157
24158         Partial fix for PR classpath/24895
24159         * java/io/FilePermission.java (implies): Canonicalize paths.
24160
24161 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24162
24163         PR 26888
24164         * javax/swing/text/GapContent.java:
24165         (replace): Added call to resetMarksAtZero.
24166
24167 2006-03-29  Roman Kennke  <kennke@aicas.com>
24168
24169         PR 23527
24170         * javax/swing/plaf/basic/BasicMenuItemUI.java
24171         (cachedRect): New field.
24172         (BasicMenuItemUI): Initialize cachedRect field.
24173         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24174         to determine layout. Store maximum accelerator and text width
24175         in client properties of parent to allow correct alignment
24176         of accelerators among menu items of one menu.
24177         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24178         method. Align accelerators according to the values calculated
24179         in getPreferredMenuItemSize.
24180         (getAcceleratorString) New helper method.
24181         (layoutMenuItem): New helper method.
24182
24183 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24184
24185         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24186         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24187         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24188         Avoid NPEs.
24189         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24190         readExternal, writeExternal): New methods.
24191         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24192         two stages, invokeCommon(Remote, ...) and 
24193         invokeCommen(UnicastConnection, ...).
24194         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24195         also the ActivatableRef. toString(): Documented.
24196         * gnu/java/rmi/server/ActivatableRef.java,
24197         tools/gnu/classpath/tools/rmi/Persistent.java,
24198         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24199         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24200         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24201         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24202         tools/gnu/classpath/tools/rmi/RMID.java,
24203         tools/gnu/classpath/tools/rmi/RMID.txt,
24204         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24205         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24206         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24207         tools/gnu/classpath/tools/rmi/registry/package.html,
24208         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24209         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24210         New files.
24211         * tools/README: Documented.
24212         * NEWS: Added entry about the activation.
24213
24214 2006-03-29  Roman Kennke  <kennke@aicas.com>
24215
24216         PR 23527
24217         * javax/swing/plaf/basic/BasicMenuItemUI.java
24218         (viewRect): New field.
24219         (textRect): New field.
24220         (accelRect): New field.
24221         (iconRect): New field.
24222         (arrowIconRect): New field.
24223         (checkIconRect): New field.
24224         (BasicMenuItemUI): Initialize new fields.
24225         (paintMenuItem): Rewritten to correctly layout and paint
24226         the menu item in a more straightforward way. Use cached rectangle
24227         objects for layout.
24228         (paintAccelerator): Pulled inside the paintMenuItem method.
24229
24230 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24231
24232         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24233         Do not use initCause with UnexpectedException.
24234         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24235         Likewise. 
24236
24237 2006-03-29  Mark Wielaard  <mark@klomp.org>
24238
24239         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24240         (setCursorID): Removed unused static variable.
24241
24242 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24243
24244         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24245
24246 2006-03-29  Mark Wielaard  <mark@klomp.org>
24247
24248         Fixes bug #26527
24249         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24250         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24251
24252 2006-03-28  Roman Kennke  <kennke@aicas.com>
24253
24254         * javax/swing/UIManager.java
24255         (installLookAndFeel): Implemented.
24256         (setInstalledLookAndFeels): Implemented.
24257
24258 2006-03-28  Roman Kennke  <kennke@aicas.com>
24259
24260         * javax/swing/plaf/metal/MetalButtonUI.java
24261         (update): Paint gradient only when the background color
24262         is not a UIResource and if the button is neither armed nor
24263         pressed and if the button is contentAreaFilled.
24264
24265 2006-03-28  Roman Kennke  <kennke@aicas.com>
24266
24267         * javax/swing/JLayeredPane.java
24268         (addImpl): Repaint added component.
24269
24270 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24271
24272         * java/util/regex/Matcher.java: Reverted.
24273
24274 2006-03-28  Roman Kennke  <kennke@aicas.com>
24275
24276         * javax/swing/text/AsyncBoxView.java
24277         (setEstimatedMajorSpan): Made method protected.
24278         (getEstimatedMajorSpan): Made method protected.
24279         * javax/swing/text/BoxView.java
24280         (flipEastAndWestAtEnds): Fixed typo.
24281         * javax/swing/text/InternationalFormatter.java
24282         (getActions): Made method protected.
24283         * javax/swing/text/Position.java
24284         (Bias): Made class final.
24285         * javax/swing/text/html/HTML.java
24286         (MEDIA): Made field package private. Not specified.
24287         (NOBR): Made field package private. Not specified.
24288         * javax/swing/text/html/NullView.java
24289         Made class package private.
24290         * javax/swing/text/html/parser/Entity.java
24291         Made class non-serializable as specified.
24292
24293 2006-03-28  Roman Kennke  <kennke@aicas.com>
24294
24295         * javax/swing/plaf/metal/MetalButtonUI.java
24296         (update): Don't paint gradient if the background color is
24297         no UIResource. Removed double getModel() call. Don't check for
24298         OceanTheme.
24299
24300 2006-03-28  Roman Kennke  <kennke@aicas.com>
24301
24302         * javax/swing/plaf/basic/BasicMenuItemUI.java
24303         (paint): Call paintMenuItem with the selectionBackground as
24304         parameter.
24305         (paintBackground): Fixed the condition and color for the background
24306         painting.
24307
24308 2006-03-28  Roman Kennke  <kennke@aicas.com>
24309
24310         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24311         (tabsOpaque): New field.
24312         (paintLeftTabBorder): Paint some parts only when the tabs are
24313         opaque. Determine the tab background using the paintLeftTabBorder()
24314         helper method.
24315         (paintRightTabBorder): Likewise.
24316         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24317
24318 2006-03-27  Tom Tromey  <tromey@redhat.com>
24319
24320         PR classpath/25189:
24321         * java/lang/Enum.java (valueOf): Ensure that the named field
24322         is an enum constant.
24323         (compareTo): Check class of enum.
24324
24325 2006-03-27  Tom Tromey  <tromey@redhat.com>
24326
24327         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24328
24329 2006-03-27  Tom Tromey  <tromey@redhat.com>
24330
24331         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24332         New constant.
24333         (getModifiersInternal): Renamed from getModifiers.
24334         (getModifiers): New method.
24335         (isBridge): Likewise.
24336         (isSynthetic): Likewise.
24337         (isVarArgs): Likewise.
24338         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24339         New constant.
24340         (getModifiersInternal): Renamed from getModifiers.
24341         (getModifiers): New method.
24342         (isSynthetic): Likewise.
24343         (isEnumConstant): Likewise.
24344         * vm/reference/java/lang/reflect/Constructor.java
24345         (getModifiersInternal): Renamed from getModifiers.
24346         (getModifiers): New method
24347         (CONSTRUCTOR_MODIFIERS): New constant.
24348         (isSynthetic): New method.
24349         (isVarArgs): Likewise.
24350         * java/lang/reflect/Member.java (isSynthetic): New method.
24351
24352 2006-03-28  Tom Tromey  <tromey@redhat.com>
24353
24354         * java/net/Proxy.java (TYPE): Added missing ";".
24355
24356 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24357
24358         * java/math/RoundingMode.java:
24359         Fixed serialization UID.
24360         * java/net/Proxy.java:
24361         (Type): Likewise.
24362         
24363 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24364
24365         * java/io/CharArrayWriter.java:
24366         (append(char)): Documented.
24367         (append(CharSequence)): Likewise.
24368         (append(CharSequence,int,int)): Likewise.
24369         
24370 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24371
24372         * vm/reference/java/lang/reflect/Constructor.java
24373         (getTypeParameters): Check return value of getSignature for null.
24374         * vm/reference/java/lang/reflect/Method.java
24375         (getTypeParameters): Check return value of getSignature for null.
24376
24377 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24378
24379         * java/rmi/activation/ActivationGroup_Stub.java:
24380         Made final.
24381         
24382 2006-03-27  Tom Tromey  <tromey@redhat.com>
24383        
24384         * java/io/CharArrayWriter.java (append): New overloads.
24385         
24386 2006-03-27  Lillian Angel  <langel@redhat.com>
24387
24388         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24389         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24390         Added check for colormap. Prevents assertion error.
24391         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24392         Likewise.
24393         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24394         Likewise.
24395         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24396         Likewise.
24397         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24398         Likewise.
24399         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24400         Likewise.
24401
24402 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24403
24404         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24405         AC_MSG_ERROR instead of echoing the error message 
24406         that no compiler has been found manually.
24407
24408 2006-03-27  Roman Kennke  <kennke@aicas.com>
24409
24410         * javax/swing/RepaintManager.java
24411         (commitBuffer): Use simple drawImage() method instead of the
24412         scaling version.
24413
24414 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24415
24416         * javax/swing/text/PlainView.java:
24417         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24418         for painting the selected line.
24419
24420 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24421
24422         * javax/swing/plaf/basic/BasicSliderUI.java
24423         (getThumbSize): Removed TODO and updated API docs.
24424
24425 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24426
24427         * javax/swing/text/DefaultCaret.java:
24428         (mouseClicked): Word selection rewritten.
24429         (paint): Draw line inside the bounding rectangle.
24430         (damage): Retrieve caret height from line height.
24431
24432 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24433
24434         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24435         for null args.
24436         Check for -help option.
24437         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24438
24439 2006-03-27  Roman Kennke  <kennke@aicas.com>
24440
24441         * javax/swing/text/FieldView.java
24442         (getPreferredSpan): Don't include trailing newline in
24443         calculations.
24444         * javax/swing/text/PlainView.java
24445         (drawLine): Don't include trailing newline.
24446         (determineMaxLineLength): Don't include trailing newline.
24447         (getLineBuffer): Made method final.
24448
24449 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24450
24451         * javax/swing/JSlider.java
24452         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24453         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24454         NotImplementedException,
24455         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24456
24457 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24458
24459         * java/lang/ProcessBuilder.java:
24460         Made final.
24461
24462 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24463
24464         * gnu/java/net/protocol/http/Headers.java:
24465         Match layout of file on HEAD.
24466         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24467         Likewise.
24468         * java/awt/datatransfer/DataFlavor.java
24469         Likewise.
24470
24471 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24472
24473         * gnu/java/security/jce/hash/HavalSpi.java,
24474         * gnu/java/security/jce/hash/MD2Spi.java,
24475         * gnu/java/security/jce/hash/MD4Spi.java,
24476         * gnu/java/security/jce/hash/MD5Spi.java,
24477         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24478         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24479         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24480         * gnu/java/security/jce/hash/Sha160Spi.java,
24481         * gnu/java/security/jce/hash/Sha256Spi.java,
24482         * gnu/java/security/jce/hash/Sha384Spi.java,
24483         * gnu/java/security/jce/hash/Sha512Spi.java,
24484         * gnu/java/security/jce/hash/TigerSpi.java,
24485         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24486         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24487         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24488         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24489         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24490         * gnu/java/security/jce/sig/SignatureAdapter.java,
24491         * gnu/java/security/key/IKeyPairCodec.java,
24492         * gnu/java/security/key/IKeyPairGenerator.java,
24493         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24494         * gnu/java/security/key/dss/DSSKey.java,
24495         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24496         * gnu/java/security/key/dss/DSSPrivateKey.java,
24497         * gnu/java/security/key/dss/DSSPublicKey.java,
24498         * gnu/java/security/key/dss/FIPS186.java,
24499         * gnu/java/security/key/rsa/GnuRSAKey.java,
24500         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24501         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24502         * gnu/java/security/sig/ISignature.java,
24503         * gnu/java/security/sig/ISignatureCodec.java,
24504         * gnu/java/security/sig/dss/DSSSignature.java,
24505         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24506         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24507         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24508         * gnu/java/security/util/Util.java:
24509         Remove CVS revision tags.
24510
24511 2006-03-26  Tom Tromey  <tromey@redhat.com>
24512
24513         * java/io/InputStream.java (InputStream): Implements Closeable.
24514         
24515 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24516
24517         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24518         New methods.
24519         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24520         getAnchor): New methods.
24521         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24522         getAnchor): New methods.
24523         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24524         getAnchor): New methods.
24525         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24526         getAnchor): New methods.
24527         * gnu/regexp/REMatch.java(start1): New field.
24528         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24529         (match): set the starting position to start1[] instead of start[],
24530         (getMatchImpl): Set the found REMatch to the input,
24531         (makeCharIndexed): Made public.
24532         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24533         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24534         set the value of start[] copying from start1[].
24535         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24536         offset.
24537         * java/util/regex/Matcher.java(inputCharIndexed): New field
24538         to be used as a parameter of the RE#getMatch.
24539
24540 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24541
24542         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24543         Documented the default jre spawning strategy (none).
24544         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24545         getSystem): Obtain the acticivation system from the 
24546         DefaultActivationSystem.
24547
24548 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24549
24550         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24551         Ask user for keystore password if one was not provided.
24552
24553 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24554
24555         * tools/README: Added Security tools section.
24556         Documented the jarsigner tool.
24557
24558 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24559
24560         * javax/swing/JScrollBar.java
24561         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24562         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24563         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24564         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24565         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24566         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24567         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24568         (getAccessibleContext): Updated API docs.
24569
24570 2006-03-25  Tom Tromey  <tromey@redhat.com>
24571
24572         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24573         change or if generator script changes.
24574
24575 2006-03-25  Tom Tromey  <tromey@redhat.com>
24576
24577         * javax/naming/ldap/StartTlsRequest.java: New file.
24578         * javax/naming/ldap/StartTlsResponse.java: New file.
24579
24580 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24581
24582     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24583     to validate all components of a resource path.
24584     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24585     allowed to walk through every component of a resource path.
24586     
24587 2006-03-25  Michael Koch  <konqueror@gmx.de>
24588
24589         * NEWS: Added item for CLDR 1.3 update.
24590
24591 2006-03-25  Michael Koch  <konqueror@gmx.de>
24592
24593         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24594         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24595         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24596         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24597         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24598         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24599         Removed locales.
24600
24601 2006-03-25  Michael Koch  <konqueror@gmx.de>
24602
24603         * resource/gnu/java/locale/LocaleInformation_az.properties,
24604         resource/gnu/java/locale/LocaleInformation_bs.properties,
24605         resource/gnu/java/locale/LocaleInformation_byn.properties,
24606         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24607         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24608         resource/gnu/java/locale/LocaleInformation_gez.properties,
24609         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24610         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24611         resource/gnu/java/locale/LocaleInformation_haw.properties,
24612         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24613         resource/gnu/java/locale/LocaleInformation_kok.properties,
24614         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24615         resource/gnu/java/locale/LocaleInformation_sid.properties,
24616         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24617         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24618         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24619         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24620         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24621         resource/gnu/java/locale/LocaleInformation_syr.properties,
24622         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24623         resource/gnu/java/locale/LocaleInformation_tig.properties,
24624         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24625         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24626         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24627         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24628         resource/gnu/java/locale/LocaleInformation_wal.properties,
24629         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24630         New locales.
24631
24632 2006-03-25  Michael Koch  <konqueror@gmx.de>
24633
24634         * resource/gnu/java/locale/LocaleInformation_fa.properties,
24635         resource/gnu/java/locale/LocaleInformation_kn.properties,
24636         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24637         resource/gnu/java/locale/LocaleInformation_ko.properties,
24638         resource/gnu/java/locale/LocaleInformation_sl.properties,
24639         resource/gnu/java/locale/LocaleInformation_so.properties,
24640         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24641         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24642         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24643         resource/gnu/java/locale/LocaleInformation_sr.properties:
24644         Random fixes I forgot to commit before.
24645
24646 2006-03-25  Michael Koch  <konqueror@gmx.de>
24647
24648         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24649         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24650         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24651         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24652         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24653         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24654         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24655         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24656         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24657         resource/gnu/java/locale/LocaleInformation_en.properties,
24658         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24659         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24660         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24661         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24662         resource/gnu/java/locale/LocaleInformation_fa.properties,
24663         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24664         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24665         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24666         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24667         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24668         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24669         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24670         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24671         resource/gnu/java/locale/LocaleInformation_pa.properties,
24672         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24673         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24674         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24675         resource/gnu/java/locale/LocaleInformation_sa.properties,
24676         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24677         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24678         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24679         Updated currency formats.
24680
24681 2006-03-25  Roman Kennke  <kennke@aicas.com>
24682
24683         * javax/swing/text/AbstractDocument.java
24684         (getAttributeContext): Made method final.
24685         (getCurrentWriter): Likewise.
24686         (getEndPosition): Likewise.
24687         (getProperty): Likewise.
24688         (getStartPosition): Likewise.
24689         (putProperty): Likewise.
24690         (readLock): Likewise.
24691         (readUnlock): Likewise.
24692         (writeLock): Likewise.
24693         (writeUnlock): Likewise.
24694
24695 2006-03-25  Roman Kennke  <kennke@aicas.com>
24696
24697         * javax/swing/InputMap.java
24698         (allKeys): Check if parent keys is null.
24699         * javax/swing/KeyboardManager.java
24700         (registerEntireMap): Also register map's parent keys.
24701         * javax/swing/plaf/metal/MetalRootPaneUI.java
24702         (propertyChange): Also call super.propertyChange().
24703
24704 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24705
24706         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24707         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24708         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24709         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24710         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24711         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24712
24713 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24714
24715         * gnu/java/util/jar/JarUtils.java: New file.
24716         * java/util/jar/Manifest.java (CRLF): Removed.
24717         (read_main_section): Likewise.
24718         (read_version_info): Likewise.
24719         (expect_header(String,BufferedReader)): Likewise.
24720         (expect_header(String,BufferedReader,String)): Likewise.
24721         (read_header_value): Likewise.
24722         (read_attributes): Likewise.
24723         (read_attribute): Likewise.
24724         (read_individual_sections): Likewise.
24725         (read_section_name): Likewise.
24726         (write_main_section): Likewise.
24727         (write_version_info): Likewise.
24728         (write_header): Likewise.
24729         (write_main_attributes): Likewise.
24730         (write_attribute_entry): Likewise.
24731         (write_individual_sections): Likewise.
24732         (write_entry_attributes): Likewise.
24733         (read): use JarUtils.
24734         (write): Likewise.
24735
24736 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24737
24738         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24739         (DEBUG): Removed.
24740         (debug): Likewise.
24741         (SignerInfo(BERReader)): Updated javadoc.
24742         Use JDK logging.
24743         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24744         New constructor.
24745         (encode): New method.
24746         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24747         (PKCS7_DATA): Removed.
24748         (DEBUG): Likewise.
24749         (debug): Likewise.
24750         (PKCS7SignedData(BERReader)): Updated javadoc.
24751         Use JDK logging.
24752         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24753         constructor.
24754         (encode): New method.
24755         * gnu/java/security/pkcs/PKCS7Data.java: New file.
24756         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24757         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24758         (decodePrivateKey): Decode x from an OCTET STRING.
24759         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24760         (toString): New method.
24761         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24762         (str): Likewise.
24763         (toString): New method.
24764         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24765         (toString): New method.
24766         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24767
24768 2006-03-25  Roman Kennke  <kennke@aicas.com>
24769
24770         * java/util/GregorianCalender.java
24771         (computeTime): Fix comparison to correctly calculate the
24772         calendar.
24773
24774 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
24775
24776         Fixes bug #26837
24777         * java/awt/Window.java:         
24778         (setFocusCycleRoot): New overriden method.
24779         (isFocusCycleRoot): Likewise.
24780         (getFocusCycleRootAncestor): Likewise.
24781         * java/awt/Container.java:
24782         (getFocusTraversalPolicy): Check also for anchestor == null.
24783
24784 2006-03-25  Mark Wielaard  <mark@klomp.org>
24785
24786         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24787         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24788         close root tag.
24789
24790 2006-03-24  Tom Tromey  <tromey@redhat.com>
24791
24792         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24793         Rewrote.
24794         (writeChar): Removed useless cast.
24795         (writeChars(String)): Implemented.
24796         (writeDouble): Rewrote.
24797         (writeFloat): Likewise.
24798         (writeUTF): Implemented.
24799         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24800         to big endian.
24801
24802 2006-03-24  Roman Kennke  <kennke@aicas.com>
24803
24804         * javax/swing/JButton.java
24805         (def): Replaced field with defaultCapable field.
24806         (is_def): Removed field.
24807         (JButton): Initialize defaultCapable with true.
24808         (isDefaultButton): Documented and implemented method by querying
24809         the button's root pane if present.
24810         (isDefaultCapable): Changed def field to defaultCapable.
24811         Added documentation.
24812         (paramString): Call isDefaultButton() instead of accessing field,
24813         which got removed.
24814         (setDefaultCapable): Changed def field to defaultCapable.
24815         Added documentation.
24816         * javax/swing/JRootPane.java
24817         (setDefaultButton): Only change the default button if the
24818         new button is defaultCapable.
24819         * javax/swing/plaf/basic/BasicRootPaneUI.java
24820         (DefaultPressAction): New class.
24821         (DefaultReleaseAction): New class.
24822         (installKeyboardActions): Implemented.
24823         (uninstallKeyboardActions): Implemented.
24824         (propertyChange): Implemented.
24825         * javax/swing/plaf/metal/MetalBorders.java
24826         (ButtonBorder.paintBorder): 'Outsourced' default theme
24827         painting to paintDefaultButtonBorder().
24828         (ButtonBorder.paintDefaultButtonBorder): New helper method
24829         to paint the border in the default theme. This also fixes
24830         painting of the border for default buttons.
24831         (ButtonBorder.paintOceanButtonBorder): Added support for
24832         default button painting. Fixed border for pressed/default state.
24833         * javax/swing/plaf/metal/MetalButtonUI.java
24834         (update): Only paint gradient when in OceanTheme and when the
24835         button is not armed.
24836
24837 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24838
24839         * gnu/java/rmi/activation/ActivationSystemTransient.java:
24840         Inherit from Activator.
24841
24842 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24843
24844         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24845         Print debug message if debug flag is set.
24846         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24847         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24848         detail, do not call iniCause(). (exportClass): New method.
24849         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24850         Ignore null (bootstrap) class loader.
24851         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24852         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
24853         visibility to protected.
24854         * java/rmi/activation/Activatable.java (export, register): Rewritten.
24855         (toStub): New method.
24856         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24857         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
24858         Explained property java.rmi.activation.port.
24859
24860 2006-03-24  Tom Tromey  <tromey@redhat.com>
24861
24862         * .externalToolBuilders/CreateLocaleData.launch: Updated.
24863         * gnu/java/locale/.cvsignore: New file.
24864         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24865         * java/util/Locale.java (getAvailableLocales): Clone result.
24866         (getISOCountries): Likewise.
24867         (getISOLanguages): Likewise.
24868         * scripts/generate-locale-list.sh: Make class public.  Added new
24869         array.
24870         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24871         (getLocaleCount): Likewise.
24872         * java/text/Collator.java (getInstance): Javadoc typo fix.
24873         (getAvailableLocales): Wrote.
24874
24875 2006-03-24  Roman Kennke  <kennke@aicas.com>
24876
24877         * javax/swing/JTabbedPane.java
24878         (getSelectedComponent): Return null when no component is
24879         selected.
24880
24881 2006-03-24  Mark Wielaard  <mark@klomp.org>
24882
24883         * NEWS: Add cursor and selection improvements.
24884
24885 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24886
24887         * java/awt/Component.java
24888         (getAccessibleName): Just return accessibleName,
24889         * javax/swing/AbstractButton.java
24890         (getAccessibleStateSet): Mark as stub,
24891         (getAccessibleName): Implemented,
24892         (getAcessibleIcon): Mark as stub,
24893         (getAccessibleRelationSet): Likewise,
24894         (getAccessibleAction): Likewise,
24895         (getAccessibleValue): Likewise,
24896         (getAccessibleActionCount): Likewise,
24897         (getAccessibleActionDescription): Likewise,
24898         (doAccessibleAction): Likewise,
24899         (getCurrentAccessibleValue): Likewise,
24900         (setCurrentAccessibleValue): Likewise,
24901         (getMinimumAccessibleValue): Likewise,
24902         (getMaximumAccessibleValue): Likewise,
24903         (getAccessibleText): Likewise,
24904         (getIndexAtPoint): Likewise,
24905         (getCharacterBounds): Likewise,
24906         (getCharCount): Likewise,
24907         (getCaretPosition): Likewise,
24908         (getAtIndex): Likewise,
24909         (getAfterIndex): Likewise,
24910         (getBeforeIndex): Likewise,
24911         (getCharacterAttribute): Likewise,
24912         (getSelectionStart): Likewise,
24913         (getSelectionEnd): Likewise,
24914         (getSelectedText): Likewise,
24915         (getTextRectangle): Likewise,
24916         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24917         (getIconTextGap): Added @since 1.4,
24918         (setContentAreaFilled): Reordered code to make event sequence match
24919         reference implementation,
24920         * javax/swing/JButton.java
24921         (getSelectedObjects): Removed,
24922         *javax/swing/JComponent.java
24923         (getAccessibleName): Call super.
24924
24925 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24926
24927         * javax/swing/JProgressBar.java
24928         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24929         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24930         (AccessibleJProgressBar.getAccessibleValue): Implemented,
24931         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24932         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24933         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24934         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24935         (getAccessibleContext): Added API docs.
24936
24937 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24938
24939         * javax/swing/plaf/basic/BasicTextUI.java:
24940         (FocusListener.focusLost): Put current selection into the system
24941         clipboard.
24942
24943 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24944
24945         * java/awt/Component.java:
24946         (processMouseEvent): Remove call to consume event.
24947         (dispatchEventImpl): Handle specific events first, do focus request
24948         only when mouse event was not yet consumed.
24949         * javax/swing/text/DefaultCaret.java:
24950         (mousePressed): Rewritten.
24951         (setDot): Changed order of operations.
24952         (moveDot): Dito.
24953
24954 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24955
24956         * javax/swing/JComponent.java
24957         (AccessibleJComponent.changeSupport): Removed field,
24958         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24959         (AccessibleJComponent.addPropertyChangeListener): Call super,
24960         (AccessibleJComponent.removePropertyChangeListener): Likewise,
24961         * javax/swing/JSlider.java
24962         (AccessibleJSlider.getAccessibleStateSet): Implemented,
24963         (AccessibleJSlider.getAccessibleRole): Likewise,
24964         (AccessibleJSlider.getAccessibleValue): Likewise,
24965         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24966         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24967         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24968         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24969         (getAccessibleContext): Added API docs.
24970
24971 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24972
24973         * gnu/java/rmi/activation/ActivationSystemTransient.java
24974         (debug): Made public. (constructor): Made protected.
24975         (activate, getActivationDesc): Throw more informative exceptions.
24976         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24977         New method.
24978         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
24979         Stub, implemented.
24980         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24981         Documented.
24982         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24983         Better exception.
24984         * java/rmi/activation/Activatable.java (obtainId): Use the activation
24985         system, passed in the activation descriptor field.
24986         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24987         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24988         to package private final. (equals): Compare uid, not the system. 
24989         (hashCode): Forward to uid.hashCode(). toString(): New method.
24990         * java/rmi/activation/ActivationID.java (readObject, writeObject):
24991         Rewritten. (equals): Compare UID only. toString(): New method.
24992         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24993         UID (space). (hashCode, toString): Rewritten.
24994         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
24995         New method. (invoke): Treat null as an empty array for parameters.
24996         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24997         Include count, do not include the static machineId.
24998
24999 2006-03-23  Tom Tromey  <tromey@redhat.com>
25000
25001         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25002
25003 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25004
25005         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25006         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25007         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25008         (force): New field. (setForce): New method. (compile): Handle -force.
25009         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25010         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25011
25012 2006-03-23  Roman Kennke  <kennke@aicas.com>
25013
25014         * javax/swing/JTabbedPane.java
25015         (Page.getBackground): Return the JTabbedPane's background,
25016         rather than the page's component background.
25017         (Page.getForeground): Return the JTabbedPane's foreground,
25018         rather than the page's component foreground.
25019         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25020         (uninstallUI): Don't set colors to null.
25021         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25022         (paintTabBackground): Correctly determine the tab background.
25023         (getUnselectedBackground): New helper method to
25024         handle the UI property 'TabbedPane.unselectedBackground'
25025         correctly.
25026
25027 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25028
25029         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25030         (BorderListener.showingResizeCursor): New field.
25031         (BorderListener.mouseMoved, BorderListner.mouseExited):
25032         Implemented.
25033
25034 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25035
25036         * javax/swing/JComboBox.java
25037         (selectWithKeyChar): Mark as stub,
25038         * javax/swing/JFileChooser.java
25039         (setDragEnabled): Mark as stub,
25040         (getDragEnabled): Likewise,
25041         * javax/swing/JSlider.java
25042         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25043         (AccessibleJSlider.getAccessibleRole): Likewise,
25044         (AccessibleJSlider.getAccessibleValue): Likewise,
25045         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25046         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25047         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25048         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25049         * javax/swing/UIManager.java
25050         (installLookAndFeel): Mark as stub,
25051         (setInstalledLookAndFeels): Likewise.
25052
25053 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25054
25055         * javax/swing/filechooser/UnixFileSystemView.java
25056         (getSystemDisplayName): Mark as stub,
25057         (getSystemIcon): Likewise,
25058         (getSystemTypeDescription): Likewise.
25059
25060 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25061
25062         * javax/swing/tree/AbstractLayoutCache.java
25063         (getNodeDimensions): Mark as stub,
25064         (getPreferredHeight): Likewise,
25065         (getPreferredWidth): Likewise,
25066         (getRowsForPaths): Likewise,
25067         (isFixedRowHeight): Likewise,
25068         * javax/swing/tree/DefaultTreeModel.java
25069         (reload()): Mark as stub,
25070         (reload(TreeNode)): Likewise,
25071         (nodeStructureChanged): Likewise,
25072         * javax/swing/tree/DefaultTreeSelectionModel.java
25073         (clone): Mark as stub,
25074         (setRowMapper): Likewise,
25075         (setSelectionPaths): Likewise,
25076         (isRowSelected): Likewise,
25077         (resetRowSelection): Likewise,
25078         (insureRowContinuity): Likewise,
25079         (arePathsContiguous): Likewise,
25080         (canPathsBeAdded): Likewise,
25081         (canPathsBeRemoved): Likewise,
25082         (notifyPathChange): Likewise,
25083         (updateLeadIndex): Likewise,
25084         (insureUniqueness): Likewise,
25085         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25086         stubs,
25087         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25088
25089 2006-03-22  Tom Tromey  <tromey@redhat.com>
25090
25091         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25092         stub.
25093         (getStaticAttributeKey): Likewise.
25094         (readAttributeSet): Likewise.
25095         (writeAttributeSet): Likewise.
25096         (readAttributes): Likewise.
25097         (writeAttributes): Likewise.
25098         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25099         as stub.
25100         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25101         Mark as stub.
25102         (fireChangedUpdate): Likewise.
25103         (start): Likewise.
25104         (end): Likewise.
25105         (handleEndOfLineString): Likewise.
25106         (textAreaContent): Likewise.
25107         (preContent): Likewise.
25108         (addSpecialElement): Likewise.
25109         (setInnerHTML): Likewise.
25110         (setOuterHTML): Likewise.
25111         (insertBeforeStart): Likewise.
25112         (insertBeforeEnd): Likewise.
25113         (insertAfterEnd): Likewise.
25114         (insertAfterStart): Likewise.
25115         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25116         Mark all methods as stub.s
25117         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25118         as stub.
25119         (paintHorizontalSeparators): Likewise.
25120         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25121         Mark as stub.
25122         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25123         stub.
25124         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25125         as stubs.
25126         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25127         methods as stubs.
25128
25129 2006-03-22  Mark Wielaard  <mark@klomp.org>
25130
25131         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25132
25133 2006-03-22  Mark Wielaard  <mark@klomp.org>
25134
25135         Fixes bug #26527
25136         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25137         Takes GtkImage, x and y coordinates.
25138         (gtkWidgetSetCursorUnlocked): Likewise.
25139         (GtkComponentPeer): Set cursor when set.
25140         (setCursor): Handle GtkCursor.
25141         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25142         New method.
25143         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25144         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25145         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25146         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25147
25148 2006-03-23  Roman Kennke  <kennke@aicas.com>
25149
25150         PR 26805
25151         * gnu/java/security/Registry.java
25152         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25153         * gnu/javax/crypto/pad/PadFactory.java
25154         (getInstance): For PKCS#5, also return PKCS#7 pad
25155         algorithm.
25156         (getNames): Added PKCS#5.
25157         * javax/crypto/KeyGenerator.java
25158         (getInstance): Initialize key generator before returning
25159         it.
25160
25161 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25162
25163         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25164         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25165         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25166         if COMMENTS is set.
25167
25168 2006-03-22  Tom Tromey  <tromey@redhat.com>
25169
25170         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25171         (getBoolean): Likewise.
25172         (getString): Likewise.
25173         (getIcon): Likewise.
25174
25175 2006-03-22  Mark Wielaard  <mark@klomp.org>
25176
25177         Fixes bug #26301
25178         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25179         (GLightweightPeer(Component)): Install MouseListener.
25180         (setCursor): Implement.
25181         (mouseEntered): New method.
25182
25183 2006-03-22  Tom Tromey  <tromey@redhat.com>
25184
25185         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25186         constant.
25187         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25188         protected.
25189         (getFontForState): Likewise.
25190         (getInsets): Added 'result' argument.
25191         (getPainter): Renamed.
25192
25193 2006-03-22  Tom Tromey  <tromey@redhat.com>
25194
25195         * javax/swing/plaf/synth/SynthPainter.java
25196         (paintScrollBarThumbBackground): Added 'orientation' argument.
25197         (paintScrollBarThumbBorder): Likewise.
25198         (paintSliderThumbBackground): Likewise.
25199         (paintSliderThumbBorder): Likewise.
25200         (paintTabbedPaneTabBackground): Added 'index' argument.
25201         (paintTabbedPaneTabBorder): Likewise.
25202
25203 2006-03-22  Tom Tromey  <tromey@redhat.com>
25204
25205         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25206         (toString): New method.
25207
25208 2006-03-22  Tom Tromey  <tromey@redhat.com>
25209
25210         * doc/hacking.texinfo (Source Code Style Guide): Mention
25211         NotImplementedException.
25212         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25213         (flushBefore): Mark as stub.
25214         (read): Likewise.
25215         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25216         Mark as stub.
25217         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25218         as stub.
25219         (write): Likewise.
25220         (writeBit): Likewise.
25221         (writeChars): Likewise.
25222         (writeUTF): Likewise.
25223         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25224         as stub.
25225         (read): Likewise.
25226         * java/net/URLConnection.java (getContent): Mark as stub.
25227         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25228         * java/awt/TexturePaint.java (createContext): Mark as stub.
25229         (getTransparency): Mark as stub.
25230         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25231         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25232         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25233         stub.
25234         (getImageCapabilities): Likewise.
25235         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25236         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25237         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25238         methods as stubs.
25239         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25240         (getAdvanceBetween): Likewise.
25241         (getLayout): Likewise.
25242         (insertChar): Likewise.
25243         (getLineBreakIndex): Likewise.
25244         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25245         (getAdvance): Likewise.
25246         (getAscent): Likewise.
25247         (getDescent): Likewise.
25248         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25249         (insertChar): Likewise.
25250         (nextLayout): Likewise.
25251         (nextLayout): Likewise.
25252         (nextOffset): Likewise.
25253         (nextOffset): Likewise.
25254         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25255         (equals): Likewise.
25256         (getAdvance): Likewise.
25257         (getAscent): Likewise.
25258         (getBounds): Likewise.
25259         (getDescent): Likewise.
25260         (hashCode): Likewise.
25261         (ImageGraphicAttribute): Likewise.
25262         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25263         (getJustificationInfo): Likewise.
25264         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25265         (getGlyphCharIndices): Likewise.
25266         (getGlyphOutline): Likewise.
25267         (getGlyphPixelBounds): Likewise.
25268         (getLayoutFlags): Likewise.
25269         (getPixelBounds): Likewise.
25270         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25271         (getRSB): Likewise.
25272         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25273         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25274         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25275         Mark as stub.
25276         (resetRecognizer): Likewise.
25277         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25278         Mark as stub.
25279         (getNativesForFlavor): Likewise.
25280         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25281         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25282         as stub.
25283         (getRegion): Likewise.
25284         (createUI): Likewise.
25285         (initialize): Likewise.
25286         (uninitialize): Likewise.
25287         (getDefaults): Likewise.
25288         (load): Likewise.
25289         (shouldUpdateStyleOnAncestorChanged): Likewise.
25290         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25291         Mark as stub.
25292         (getPreferredSize): Likewise.
25293         (getMaximumSize): Likewise.
25294         (paintText): Likewise.
25295         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25296         as stub.
25297         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25298
25299 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25300
25301         * java/io/ObjectStreamConstants.java: Added since tag.
25302         (PROTOCOL_VERSION_1): Added javadoc.
25303         (PROTOCOL_VERSION_2): Likewise.
25304         * java/io/ObjectOutputStream.java: 
25305         (setDefaultProtocolVersion): Removed.
25306         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25307         
25308 2006-03-21  Lillian Angel  <langel@redhat.com>
25309
25310         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25311         (BMPInfoHeader): Removed debug lines.
25312         * gnu/javax/imageio/bmp/EncodeRLE4.java
25313         (encode): Implemented.
25314         (uncompress): New function implemented to
25315         uncompress the image before encoding.
25316         * gnu/javax/imageio/bmp/EncodeRLE8.java
25317         (encode): Implemented.
25318         (uncompress): New function implemented to
25319         uncompress the image before encoding.
25320
25321 2006-03-21  Roman Kennke  <kennke@aicas.com>
25322
25323         * javax/swing/text/html/FormView.java
25324         (getImageData): New helper method.
25325
25326 2006-03-21  Tom Tromey  <tromey@redhat.com>
25327
25328         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25329         fix.
25330         (Unsafe): Now final.
25331
25332 2006-03-21  Roman Kennke  <kennke@aicas.com>
25333
25334         * javax/swing/text/html/FormView.java
25335         (MouseEventListener): New inner class.
25336
25337 2006-03-21  Roman Kennke  <kennke@aicas.com>
25338
25339         * javax/swing/text/html/ListView.java: New file.
25340
25341 2006-03-21  Tom Tromey  <tromey@redhat.com>
25342
25343         * java/text/Bidi.java: Completed.
25344
25345 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25346
25347         * javax/swing/JTable.java:
25348         (columnAtPoint): Removed the null check, this method should throw a NPE
25349         if the argument is null.
25350
25351 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25352
25353         * javax/swing/text/DefaultHighlighter.java:
25354         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25355
25356 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25357
25358         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25359         the textcomponent having a selection.
25360         (clearSelection): Clear 'componentWithSelection' variable.
25361         (handleSelection): Clear selection of current component having a
25362         selection before setting a new selection in another component.
25363         (mouseDragged): Only react on left mouse button.
25364         (mouseClicked): Only react on left mouse button.
25365
25366 2006-03-21  Roman Kennke  <kennke@aicas.com>
25367
25368         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25369         (paintContentBorderTopEdge): Implemented.
25370         (paintContentBorderBottomEdge): Implemented.
25371         (paintContentBorderLeftEdge): Implemented.
25372         (paintContentBorderRightEdge): Implemented.
25373         (isLastTabInRun): New helper method.
25374
25375 2006-03-21  Roman Kennke  <kennke@aicas.com>
25376
25377         * javax/swing/JTabbedPane.java
25378         (Page.getForeground): Fall back to returning the tabbed pane's
25379         foreground if no foreground has been exclicitly set.
25380
25381 2006-03-21  Roman Kennke  <kennke@aicas.com>
25382
25383         * javax/swing/plaf/metal/MetalComboBoxButton.java
25384         (setEnabled): Update colors of button correctly.
25385         * javax/swing/plaf/metal/MetalComboBoxUI.java
25386         (MetalPropertyChangeListener.propertyChange): Update the colors
25387         of the list and the button when any of the color properties
25388         of the ComboBox change.
25389
25390 2006-03-21  Roman Kennke  <kennke@aicas.com>
25391
25392         * javax/swing/plaf/basic/BasicButtonUI.java
25393         (uninstallDefaults): Only nullify button colors if they are
25394         not UIResource instances.
25395
25396 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25397
25398         * javax/swing/JComponent.java
25399         (AccessibleJComponent.getAccessibleDescription): Call super,
25400         * javax/swing/JToolTip.java: API doc updates all over, plus
25401         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25402         (AccessibleJToolTip.getAccessibleRole): Implemented,
25403         (getAccessibleContext): Implemented,
25404         (paramString): Reimplemented,
25405         (setComponent): Fire PropertyChangeEvent,
25406         (setTipText): Likewise.
25407
25408 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25409
25410         * java/util/Formatter.java:
25411         Make the class final.
25412         
25413 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25414
25415         * java/lang/System.java:
25416         (nanoTime()): Documented.
25417         * java/lang/Thread.java:
25418         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25419         Added docs and security check.
25420         (getUncaughtExceptionHandler()): Documented.
25421         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25422         Added docs and security check.
25423         (getDefaultUncaughtExceptionHandler()): Documented.
25424         (getId()): Documented.
25425         (Thread.State): Documented.
25426         * vm/reference/gnu/classpath/Unsafe.java:
25427         Documented.
25428         (getUnsafe()): Updated to handle security.
25429         
25430 2006-03-20  Tom Tromey  <tromey@redhat.com>
25431
25432         * java/lang/System.java:
25433         (nanoTime()): Implemented.
25434         * java/lang/Thread.java:
25435         (getId()): Implemented.
25436         * java/util/AbstractMap.java:
25437         (SimpleImmutableEntry): New 1.6 class.
25438         (BasicMapEntry): Modified to be SimpleEntry.
25439         * java/util/Collections.java:
25440         Modified to use SimpleEntry.
25441         * java/util/EnumMap.java: Likewise.
25442         * java/util/HashMap.java: Likewise.
25443         * java/util/Hashtable.java: Likewise.
25444         * java/util/TreeMap.java: Likewise.
25445         * vm/reference/gnu/classpath/Unsafe.java:
25446         New class to handle low-level facilities for concurrency.
25447         * vm/reference/java/lang/VMSystem.java:
25448         (nanoTime()): Implemented.
25449         
25450 2006-03-20  Tom Tromey  <tromey@redhat.com>
25451
25452         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25453         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25454         (CertStoreSpi): Updated throws clause.
25455         * java/security/cert/CertPathValidatorSpi.java: Added import for
25456         javadoc.
25457         (engineValidate): Updated 'throws' clause.
25458         * java/security/cert/PKIXParameters.java: Javadoc fix.
25459         * java/security/cert/X509CertSelector.java
25460         (setAuthorityKeyIdentifier): Javadoc fix.
25461
25462 2006-03-20  Tom Tromey  <tromey@redhat.com>
25463
25464         * .classpath: Build gnu.javax.swing.plaf.
25465
25466 2006-03-20  Lillian Angel  <langel@redhat.com>
25467
25468         * gnu/javax/imageio/bmp/BMPDecoder.java:
25469         Removed unneeded import.
25470         * gnu/javax/imageio/bmp/BMPEncoder.java:
25471         New class.
25472         * gnu/javax/imageio/bmp/BMPFileHeader.java
25473         (BMPFileHeader): New constructor used to create info header
25474         for an output stream.
25475         (write): Fixed indexes.
25476         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25477         Initialized writerSpiNames field.
25478         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25479         New class.
25480         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25481         New class.
25482         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25483         Change visibility for fields.
25484         (BMPInfoHeader): New constructor used to create
25485         file header for an output stream.
25486         (intToDWord): New method. Converts an int to a
25487         double word.
25488         (intToWord): New method. Converts an int to a word.
25489         * gnu/javax/imageio/bmp/DecodeBF32.java:
25490         Removed unneeded imports.
25491         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25492         New class.
25493         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25494         New class.
25495         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25496         New class.
25497         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25498         New class.
25499         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25500         New class.
25501         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25502         New class.
25503         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25504         New class.
25505         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25506         New class.
25507         * javax/imageio/ImageIO.java:
25508         Fixed comment.
25509
25510 2006-03-20  Roman Kennke  <kennke@aicas.com>
25511
25512         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25513         (TabbedPaneLayout.normalizeTabRuns): New method.
25514         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25515         (paintTabBorder): Replaced if-else chain with switch.
25516         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25517         Ocean theme.
25518         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25519         Ocean theme.
25520         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25521         Ocean theme.
25522         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25523         Ocean theme.
25524         (paintTabBackground): Fetch background color from the TabbedPane.
25525         Fixed painting and improved by not using fillPolygon, and instead
25526         using fillRectangle. Replaced if-else chain with switch.
25527         (calculateMaxTabHeight): Added overridden method with FIXME.
25528         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25529         placement.
25530         (paintContentBorderTopEdge): Added stub with FIXME.
25531         (paintContentBorderBottomEdge): Added stub with FIXME.
25532         (paintContentBorderLeftEdge): Added stub with FIXME.
25533         (paintContentBorderRightEdge): Added stub with FIXME.
25534
25535 2006-03-20  Roman Kennke  <kennke@aicas.com>
25536
25537         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25538         (tabsOpaque): New field.
25539         (installDefaults): Fetch tabsOpaque property from UIManager.
25540         (paintTab): Fill tab background when tabsOpaque property is true.
25541         * javax/swing/plaf/basic/BasicLookAndFeel.java
25542         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25543
25544 2006-03-20  Roman Kennke  <kennke@aicas.com>
25545
25546         * javax/swing/JTabbedPane.java
25547         (Pane.getBackground): When no background was explicitly set, return
25548         the JTabbedPane's background.
25549
25550 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25551
25552         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25553         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25554         * org/omg/CORBA/BAD_INV_ORDER.java,
25555         * org/omg/CORBA/BAD_CONTEXT.java,
25556         * org/omg/CORBA/BAD_OPERATION.java,
25557         * org/omg/CORBA/BAD_PARAM.java,
25558         * org/omg/CORBA/BAD_QOS.java,
25559         * org/omg/CORBA/BAD_TYPECODE.java,
25560         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25561         * org/omg/CORBA/COMM_FAILURE.java,
25562         * org/omg/CORBA/CurrentHolder.java,
25563         * org/omg/CORBA/DATA_CONVERSION.java,
25564         * org/omg/CORBA/FREE_MEM.java,
25565         * org/omg/CORBA/IMP_LIMIT.java,
25566         * org/omg/CORBA/INITIALIZE.java,
25567         * org/omg/CORBA/INTERNAL.java,
25568         * org/omg/CORBA/INTF_REPOS.java,
25569         * org/omg/CORBA/INVALID_ACTIVITY.java,
25570         * org/omg/CORBA/INVALID_TRANSACTION.java,
25571         * org/omg/CORBA/INV_FLAG.java,
25572         * org/omg/CORBA/INV_IDENT.java,
25573         * org/omg/CORBA/INV_OBJREF.java,
25574         * org/omg/CORBA/INV_POLICY.java,
25575         * org/omg/CORBA/MARSHAL.java,
25576         * org/omg/CORBA/NO_RESOURCES.java,
25577         * org/omg/CORBA/NO_MEMORY.java,
25578         * org/omg/CORBA/NO_IMPLEMENT.java,
25579         * org/omg/CORBA/NO_PERMISSION.java,
25580         * org/omg/CORBA/NO_RESPONSE.java,
25581         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25582         * org/omg/CORBA/OBJ_ADAPTER.java,
25583         * org/omg/CORBA/ParameterModeHolder.java,
25584         * org/omg/CORBA/PolicyError.java,
25585         * org/omg/CORBA/PolicyErrorHolder.java,
25586         * org/omg/CORBA/PolicyHolder.java,
25587         * org/omg/CORBA/PolicyListHolder.java,
25588         * org/omg/CORBA/REBIND.java,
25589         * org/omg/CORBA/TIMEOUT.java,
25590         * org/omg/CORBA/TRANSACTION_MODE.java,
25591         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25592         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25593         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25594         * org/omg/CORBA/TRANSIENT.java,
25595         * org/omg/CORBA/TypeCodeHolder.java,
25596         * org/omg/CORBA/UNKNOWN.java,
25597         * org/omg/CORBA/UnionMember.java,
25598         * org/omg/CORBA/UnknownUserException.java,
25599         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25600         * org/omg/CORBA/WrongTransactionHolder.java,
25601         * org/omg/IOP/IOR.java,
25602         * org/omg/IOP/IORHolder.java,
25603         * org/omg/IOP/MultipleComponentProfileHolder.java,
25604         * org/omg/IOP/ServiceContextHolder.java,
25605         * org/omg/IOP/ServiceContextListHolder.java,
25606         * org/omg/IOP/TaggedComponentHolder.java,
25607         * org/omg/IOP/TaggedProfileHolder.java,
25608         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25609         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25610         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25611         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25612         Made class final, various javadoc fixlets.      
25613         * org/omg/CORBA/CompletionStatus.java, 
25614         * org/omg/CORBA/PERSIST_STORE.java,
25615         * org/omg/CORBA/ValueMember.java,
25616         * org/omg/PortableInterceptor/ForwardRequest.java,
25617         * org/omg/PortableInterceptor/InvalidSlot.java,
25618         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25619         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25620         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25621         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25622         * org/omg/IOP/Encoding.java,
25623         * org/omg/IOP/TaggedComponent.java,
25624         * org/omg/IOP/TaggedProfile.java: Made class final.
25625         * org/omg/CORBA/SystemException.java: Made class abstract.      
25626         * org/omg/CORBA/UserException.java: Made class abstract.
25627         (UserException): Now protected.
25628         (UserException(String)): Likewise.
25629         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25630         (typecode): Removed unused private variable.
25631
25632 2006-03-20  Chris Burdess  <dog@gnu.org>
25633
25634         Fixes PR 26761
25635         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25636
25637 2006-03-20  Roman Kennke  <kennke@aicas.com>
25638
25639         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25640         (paintTabArea): Look up tab run indices in tabRuns array instead
25641         of using the index directly.
25642
25643 2006-03-20  Roman Kennke  <kennke@aicas.com>
25644
25645         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25646         (paintTab): Fixed painting.
25647         (paintText): Fixed text painting.
25648         (paintFocusIndicator): Fixed painting of the focus rectangle.
25649         (paintContentBorder): Fixed painting of the content area.
25650
25651 2006-03-20  Mark Wielaard  <mark@klomp.org>
25652
25653         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25654         static lock Object field.
25655         (produce): Synchronize on pixbufLock when calling initState(),
25656         pumpBytes() and pumpDone().
25657         (finalize): Likewise when calling finish().
25658         (GdkPixbufWriter.write): Likewise when calling streamImage().
25659         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25660         when calling loadPixbuf. Chain exception.
25661         (GtkImage(byte[])): Likewise when calling loadImageFromData.
25662         (GtkImage(URL)): Likewise.
25663         (GtkImage(int,int)): Likewise when calling createPixmap().
25664         (GtkImage(GtkImage,int,int,int)): Likewise when calling
25665         createScaledPixmap().
25666         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25667         (setImage): Likewise when calling createPixmap() and setPixels().
25668         (getSource): Likewise when calling getPixels().
25669         (flush): Likewise when calling freePixmap().
25670         (finalize): Likewise.
25671         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25672         drawPixelsScaledFlipped().
25673         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25674         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25675         gdk_threads_enter/leave().
25676         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25677         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25678         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25679         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25680         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25681         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25682         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25683         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25684         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25685         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25686         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25687         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25688         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25689
25690 2006-03-20  Roman Kennke  <kennke@aicas.com>
25691
25692         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25693         (calculateTabHeight): Not need to use SwingUtilities here.
25694         (getTabInsets): Do not rotate insets.
25695
25696 2006-03-20  Roman Kennke  <kennke@aicas.com>
25697
25698         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25699         (paint): Make sure the layout is valid before painting.
25700         (paintTabArea): Made tab painting more straightforward and efficient.
25701
25702 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25703
25704         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25705         (getScrollableUnitIncrement): Rewritten.
25706         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25707         (getScrollableUnitIncrement): Rewritten.
25708         * javax/swing/plaf/basic/BasicScrollPaneUI.java
25709         (ROWS_PER_WHEEL_CLICK): New field. 
25710         (MouseWheelHandler.mouseWheelMoved): Rewritten.
25711
25712 2006-03-20  Roman Kennke  <kennke@aicas.com>
25713
25714         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25715         (paint): Make sure the layout is valid before painting.
25716         (paintTabArea): Made tab painting more straightforward and efficient.
25717
25718 2006-03-20  Roman Kennke  <kennke@aicas.com>
25719
25720         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25721         (MouseHandler.mousePressed): Rewritten for clearer and simpler
25722         code.
25723         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25724         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25725         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25726         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25727         bounds here. That is moved into layoutContainer().
25728         (calculateSize): Correctly respect insets. Made code slightly more
25729         clear and efficient.
25730         (calculateTabRects): Rewritten completely. The old code was
25731         not quite right and unstable in some situations.
25732         (layoutContainer): Moved layout of tabbed pane's subcomponents
25733         here.
25734         (tabRunsDirty): New field.
25735         (rolloverTab): New field.
25736         (tabForCoordinate): Rewritten for simplicity and correctness.
25737         (setRolloverTab): New method.
25738         (getRolloverTab): New method.
25739
25740 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25741
25742         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25743         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25744         (getScrollableUnitIncrement
25745         * javax/swing/Scrollable.java: Documented.
25746         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25747         (MouseWheelHandler):Rewritten.
25748
25749 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25750
25751         * doc/vmintegration.texinfo:
25752         Updated with gnu.classpath.Unsafe
25753         
25754 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25755
25756         * NEWS:
25757         Updated with VMArray and Unsafe changes.
25758         
25759 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25760
25761         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25762         (getScrollableUnitIncrement): Rewritten.
25763         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25764         (getScrollableUnitIncrement): Rewritten. 
25765         (getScrollableBlockIncrement): Rewritten.
25766         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25767         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
25768         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
25769         New field. (installListeners): Install wheel listeners. 
25770         (uninstallListeners): Uninstall wheel listeners.
25771         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25772         of the MouseWheelListener. (installListeners): Do not install wheel
25773         listener. (ROWS_PER_WHEEL_CLICK): Removed.
25774
25775 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25776
25777         * vm/reference/gnu/classpath/Unsafe.java:
25778         Documented.
25779         (getUnsafe()): Updated to handle security.
25780
25781 2006-03-19  Tom Tromey  <tromey@redhat.com>
25782
25783         * vm/reference/gnu/classpath/Unsafe.java:
25784         New class to handle low-level facilities for concurrency.
25785
25786 2006-03-19  Mark Wielaard  <mark@klomp.org>
25787
25788         * include/Makefile.am: Rename PlainDatagramSocketImpl to
25789         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25790         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25791         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25792
25793 2006-03-19  Mark Wielaard  <mark@klomp.org>
25794
25795         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25796         familyName.
25797         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25798
25799 2006-03-19  Michael Koch  <konqueror@gmx.de>
25800
25801         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25802         resource/gnu/java/locale/LocaleInformation_am.properties,
25803         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25804         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25805         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25806         resource/gnu/java/locale/LocaleInformation_bg.properties,
25807         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25808         resource/gnu/java/locale/LocaleInformation_ca.properties,
25809         resource/gnu/java/locale/LocaleInformation_cs.properties,
25810         resource/gnu/java/locale/LocaleInformation_cy.properties,
25811         resource/gnu/java/locale/LocaleInformation_da.properties,
25812         resource/gnu/java/locale/LocaleInformation_de.properties,
25813         resource/gnu/java/locale/LocaleInformation_dv.properties,
25814         resource/gnu/java/locale/LocaleInformation_el.properties,
25815         resource/gnu/java/locale/LocaleInformation_en.properties,
25816         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25817         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25818         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25819         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25820         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25821         resource/gnu/java/locale/LocaleInformation_es.properties,
25822         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25823         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25824         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25825         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25826         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25827         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25828         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25829         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25830         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25831         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25832         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25833         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25834         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25835         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25836         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25837         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25838         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25839         resource/gnu/java/locale/LocaleInformation_es_US.properties,
25840         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25841         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25842         resource/gnu/java/locale/LocaleInformation_fa.properties,
25843         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25844         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25845         resource/gnu/java/locale/LocaleInformation_fi.properties,
25846         resource/gnu/java/locale/LocaleInformation_fr.properties,
25847         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25848         resource/gnu/java/locale/LocaleInformation_ga.properties,
25849         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25850         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25851         resource/gnu/java/locale/LocaleInformation_hr.properties,
25852         resource/gnu/java/locale/LocaleInformation_hu.properties,
25853         resource/gnu/java/locale/LocaleInformation_id.properties,
25854         resource/gnu/java/locale/LocaleInformation_is.properties,
25855         resource/gnu/java/locale/LocaleInformation_it.properties,
25856         resource/gnu/java/locale/LocaleInformation_ja.properties,
25857         resource/gnu/java/locale/LocaleInformation_kk.properties,
25858         resource/gnu/java/locale/LocaleInformation_kl.properties,
25859         resource/gnu/java/locale/LocaleInformation_km.properties,
25860         resource/gnu/java/locale/LocaleInformation_ky.properties,
25861         resource/gnu/java/locale/LocaleInformation_lo.properties,
25862         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25863         resource/gnu/java/locale/LocaleInformation_lt.properties,
25864         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25865         resource/gnu/java/locale/LocaleInformation_lv.properties,
25866         resource/gnu/java/locale/LocaleInformation_mk.properties,
25867         resource/gnu/java/locale/LocaleInformation_mn.properties,
25868         resource/gnu/java/locale/LocaleInformation_mr.properties,
25869         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25870         resource/gnu/java/locale/LocaleInformation_ms.properties,
25871         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25872         resource/gnu/java/locale/LocaleInformation_mt.properties,
25873         resource/gnu/java/locale/LocaleInformation_nb.properties,
25874         resource/gnu/java/locale/LocaleInformation_nl.properties,
25875         resource/gnu/java/locale/LocaleInformation_nn.properties,
25876         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25877         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25878         resource/gnu/java/locale/LocaleInformation_pa.properties,
25879         resource/gnu/java/locale/LocaleInformation_pl.properties,
25880         resource/gnu/java/locale/LocaleInformation_pt.properties,
25881         resource/gnu/java/locale/LocaleInformation_ru.properties,
25882         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25883         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25884         resource/gnu/java/locale/LocaleInformation_sa.properties,
25885         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25886         resource/gnu/java/locale/LocaleInformation_sk.properties,
25887         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25888         resource/gnu/java/locale/LocaleInformation_sv.properties,
25889         resource/gnu/java/locale/LocaleInformation_sw.properties,
25890         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25891         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25892         resource/gnu/java/locale/LocaleInformation_te.properties,
25893         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25894         resource/gnu/java/locale/LocaleInformation_th.properties,
25895         resource/gnu/java/locale/LocaleInformation_ti.properties,
25896         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25897         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25898         resource/gnu/java/locale/LocaleInformation_tr.properties,
25899         resource/gnu/java/locale/LocaleInformation_tt.properties,
25900         resource/gnu/java/locale/LocaleInformation_uk.properties,
25901         resource/gnu/java/locale/LocaleInformation_ur.properties,
25902         resource/gnu/java/locale/LocaleInformation_uz.properties,
25903         resource/gnu/java/locale/LocaleInformation_zh.properties,
25904         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25905         More updates for CLDR 1.3.
25906         
25907 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25908
25909         * doc/vmintegration.texinfo:
25910         Updated to include VMArray.
25911         * include/Makefile.am:
25912         Replace java_lang_reflect_Array.h with
25913         java_lang_reflect_VMArray.h
25914         * include/java_lang_reflect_VMArray.h:
25915         New autogenerated header.
25916         * include/java_lang_reflect_Array.h:
25917         Removed.
25918         * java/lang/reflect/Array.java:
25919         (newInstance(Class,int)): Calls VMArray.
25920         (createMultiArray(Class,int[],int)): Likewise.
25921         (createObjectArray(Class,int)): Removed.
25922         * native/jni/java-lang/Makefile.am:
25923         Replaced java_lang_reflect_Array.c with
25924         java_lang_reflect_VMArray.c
25925         * native/jni/java-lang/java_lang_reflect_VMArray.c:
25926         Renamed from java_lang_reflect_Array.c.
25927         * vm/reference/java/lang/reflect/VMArray.java:
25928         (createObjectArray(Class,int)): Native method moved
25929         from java.lang.reflect.Array.
25930
25931 2006-03-19  Roman Kennke  <kennke@aicas.com>
25932
25933         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25934         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25935         New class.
25936         * examples/gnu/classpath/examples/swing/Demo.java
25937         (mkButtonBar): Hook up theme editor.
25938         (mkMenuBar): Hook up theme editor.
25939
25940 2006-03-19  Roman Kennke  <kennke@aicas.com>
25941
25942         * javax/swing/plaf/basic/BasicFileChooserUI.java
25943         (ApproveSelectionAction.actionPerformed): Added case for when
25944         nothing has been selected but the user has typed a filename
25945         into the textfield.
25946         (getFileName): Return the value of the text field.
25947
25948 2006-03-19  Roman Kennke  <kennke@aicas.com>
25949
25950         * javax/swing/JColorChooser.java
25951         (createDialog): Create JDialog instead of ModalDialog. Make this
25952         dialog modal by calling setModal(true).
25953         (ModalDialog): Removed unnecessary inner class.
25954
25955 2006-03-19  Tom Tromey  <tromey@redhat.com>
25956
25957         * java/awt/font/NumericShaper.java: Rewrote.
25958
25959 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25960
25961         * javax/swing/plaf/basic/BasicTableUI.java:
25962         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25963         New field. MouseInputHandler.mouseWheelMoved): New method.
25964         (installListeners): Register MouseInputHandler as
25965         wheel listener also.
25966         
25967 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25968
25969         PR 26746
25970         * javax/swing/ViewportLayout.java (layoutContainer):
25971         If Scrollable tracks dimension, set view size to the port size. 
25972         If port is larger than the view, move the view to the top/left.
25973
25974 2006-03-19  Roman Kennke  <kennke@aicas.com>
25975
25976         * javax/swing/MenuSelectionManager.java
25977         (isComponentPartOfCurrentMenu): Also consider the first element
25978         in a menu selection list. Make a isDescendentFrom check instead
25979         of simple equals to also catch sub components.
25980
25981 2006-03-19  Roman Kennke  <kennke@aicas.com>
25982
25983         * javax/swing/JComboBox.java
25984         (actionPerformed): Fetch selected item directly from the editor
25985         instead of trying to get it from the event.
25986
25987 2006-03-19  Roman Kennke  <kennke@aicas.com>
25988
25989         * javax/swing/plaf/basic/BasicComboBoxEditor.java
25990         (listener): Removed field.
25991         (BasicComboBoxEditor): Removed initialization of listener field.
25992         (addActionListener): Add listener directly to editor.
25993         (removeActionListener): Remove listener directly from editor.
25994         (ComboBoxEditorListener): Removed class.
25995         * javax/swing/plaf/basic/BasicComboBoxUI.java
25996         (getPreferredSize): Fixed to return the minimumSize.
25997         (getMinimumSize): Improved code for more clearness.
25998         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25999         (rectangleForCurrentValue): Correctly respect insets.
26000         (getDefaultSize): Return preferredSize here. Dont override height
26001         with 100.
26002         (getDisplaySize): Moved around code for more clearness. Added
26003         handling of prototype renderer.
26004         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26005         arrowButton bounds since the former depends on the latter.
26006         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26007         (MetalComboBoxButton): Make button rollover disabled.
26008         (isFocusTraversable): Return false unconditionally.
26009         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26010         (EditorTextField): New class. Fixes the size properties.
26011         (MetalComboBoxEditor): Create instance of EditorTextField.
26012         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26013         (getMinimumSize): Fixed editable size.
26014
26015 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26016
26017         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26018
26019 2006-03-18  Roman Kennke  <kennke@aicas.com>
26020
26021         * javax/swing/plaf/metal/MetalToolBarUI.java
26022         (update): Added overridden method to support OceanTheme.
26023
26024 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26025
26026         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26027         Activate the cell editing on character keystroke.
26028
26029 2006-03-18  Mark Wielaard  <mark@klomp.org>
26030
26031         * java/awt/Component.java (eventTypeEnabled): Handle
26032         MouseEvent.MOUSE_WHEEL.
26033         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26034         New callback method.
26035         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26036         (AWT_MOUSE_WHEEL): New constant.
26037         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26038         (postMouseWheelEventID): New static variable.
26039         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26040         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26041         (button_number): Renamed to ...
26042         (button_number_direction): variable to hold button number or scroll
26043         direction.
26044         (component_button_press_cb): Use button_number_direction.
26045         (component_scroll_cb): New static callback function.
26046
26047 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26048
26049         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26050         Return without action.
26051
26052 2006-03-18  Mark Wielaard  <mark@klomp.org>
26053
26054         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26055         Don't cast graphics object to GdkGraphics.
26056         (updateComponent): Likewise.
26057
26058 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26059
26060         * examples/gnu/classpath/examples/swing/TableDemo.java
26061         (TModel.getColumnClass): Set second column to Icon.
26062         (TModel.isCellEditable): Say icons are not editable.
26063         (createContent): Fill the in second column with some icons from 
26064         MetalIconFactory.
26065
26066 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26067
26068         * examples/gnu/classpath/examples/swing/Demo.java
26069         (mkButtonBar): Set maximal button bar height to the preferred height.
26070
26071 2006-03-18  Roman Kennke  <kennke@aicas.com>
26072
26073         * javax/swing/plaf/basic/BasicComboPopup.java
26074         (show): Substract insets from scroller width.
26075         (getPopupHeightForRowCount): If height==0, return a default of 100
26076         instead for empty ComboBoxes.
26077
26078 2006-03-18  Roman Kennke  <kennke@aicas.com>
26079
26080         * javax/swing/plaf/basic/BasicLookAndFeel.java
26081         (PopupHelper.autoClosePopups): Removed field.
26082         (PopupHelper.mousePressed): Removed processing of registered
26083         autoclose popups.
26084         (registerForAutoClose): Removed unneeded method.
26085         (autoClosePopups): Removed unneeded method.
26086         (registerForAutoClose): Removed unneeded method.
26087
26088 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26089
26090         * javax.swing.JTable.java (TableTextField): Set border.
26091         (moveToCellBeingEdited): Do not adjust the editor boundaries
26092
26093 2006-03-18  Michael Koch  <konqueror@gmx.de>
26094
26095         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26096         resource/gnu/java/locale/LocaleInformation_af.properties,
26097         resource/gnu/java/locale/LocaleInformation_am.properties,
26098         resource/gnu/java/locale/LocaleInformation_ar.properties,
26099         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26100         resource/gnu/java/locale/LocaleInformation_be.properties,
26101         resource/gnu/java/locale/LocaleInformation_bg.properties,
26102         resource/gnu/java/locale/LocaleInformation_bn.properties,
26103         resource/gnu/java/locale/LocaleInformation_ca.properties,
26104         resource/gnu/java/locale/LocaleInformation_cs.properties,
26105         resource/gnu/java/locale/LocaleInformation_cy.properties,
26106         resource/gnu/java/locale/LocaleInformation_da.properties,
26107         resource/gnu/java/locale/LocaleInformation_de.properties,
26108         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26109         resource/gnu/java/locale/LocaleInformation_dz.properties,
26110         resource/gnu/java/locale/LocaleInformation_en.properties,
26111         resource/gnu/java/locale/LocaleInformation_eo.properties,
26112         resource/gnu/java/locale/LocaleInformation_es.properties,
26113         resource/gnu/java/locale/LocaleInformation_et.properties,
26114         resource/gnu/java/locale/LocaleInformation_eu.properties,
26115         resource/gnu/java/locale/LocaleInformation_fa.properties,
26116         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26117         resource/gnu/java/locale/LocaleInformation_fi.properties,
26118         resource/gnu/java/locale/LocaleInformation_fo.properties,
26119         resource/gnu/java/locale/LocaleInformation_fr.properties,
26120         resource/gnu/java/locale/LocaleInformation_ga.properties,
26121         resource/gnu/java/locale/LocaleInformation_gl.properties,
26122         resource/gnu/java/locale/LocaleInformation_gu.properties,
26123         resource/gnu/java/locale/LocaleInformation_he.properties,
26124         resource/gnu/java/locale/LocaleInformation_hi.properties,
26125         resource/gnu/java/locale/LocaleInformation_hr.properties,
26126         resource/gnu/java/locale/LocaleInformation_hu.properties,
26127         resource/gnu/java/locale/LocaleInformation_hy.properties,
26128         resource/gnu/java/locale/LocaleInformation_id.properties,
26129         resource/gnu/java/locale/LocaleInformation_is.properties,
26130         resource/gnu/java/locale/LocaleInformation_it.properties,
26131         resource/gnu/java/locale/LocaleInformation_ja.properties,
26132         resource/gnu/java/locale/LocaleInformation_ka.properties,
26133         resource/gnu/java/locale/LocaleInformation_km.properties,
26134         resource/gnu/java/locale/LocaleInformation_ko.properties,
26135         resource/gnu/java/locale/LocaleInformation_lo.properties,
26136         resource/gnu/java/locale/LocaleInformation_lt.properties,
26137         resource/gnu/java/locale/LocaleInformation_lv.properties,
26138         resource/gnu/java/locale/LocaleInformation_mk.properties,
26139         resource/gnu/java/locale/LocaleInformation_mr.properties,
26140         resource/gnu/java/locale/LocaleInformation_ms.properties,
26141         resource/gnu/java/locale/LocaleInformation_mt.properties,
26142         resource/gnu/java/locale/LocaleInformation_nb.properties,
26143         resource/gnu/java/locale/LocaleInformation_nl.properties,
26144         resource/gnu/java/locale/LocaleInformation_nn.properties,
26145         resource/gnu/java/locale/LocaleInformation_om.properties,
26146         resource/gnu/java/locale/LocaleInformation_pl.properties,
26147         resource/gnu/java/locale/LocaleInformation_ps.properties,
26148         resource/gnu/java/locale/LocaleInformation_pt.properties,
26149         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26150         resource/gnu/java/locale/LocaleInformation_ro.properties,
26151         resource/gnu/java/locale/LocaleInformation_ru.properties,
26152         resource/gnu/java/locale/LocaleInformation_sk.properties,
26153         resource/gnu/java/locale/LocaleInformation_sl.properties,
26154         resource/gnu/java/locale/LocaleInformation_so.properties,
26155         resource/gnu/java/locale/LocaleInformation_sq.properties,
26156         resource/gnu/java/locale/LocaleInformation_sr.properties,
26157         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26158         resource/gnu/java/locale/LocaleInformation_sv.properties,
26159         resource/gnu/java/locale/LocaleInformation_sw.properties,
26160         resource/gnu/java/locale/LocaleInformation_ta.properties,
26161         resource/gnu/java/locale/LocaleInformation_te.properties,
26162         resource/gnu/java/locale/LocaleInformation_th.properties,
26163         resource/gnu/java/locale/LocaleInformation_tr.properties,
26164         resource/gnu/java/locale/LocaleInformation_uk.properties,
26165         resource/gnu/java/locale/LocaleInformation_uz.properties,
26166         resource/gnu/java/locale/LocaleInformation_vi.properties,
26167         resource/gnu/java/locale/LocaleInformation_zh.properties,
26168         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26169         Updated to use the new localized strings for currencies, languages,
26170         variants, territories, etc.
26171
26172 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26173
26174         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26175         (start, end): Added comment about the negative values of them,
26176         (finish): Saves the input text in matchedCharIndexed,
26177         (toString): If the start or end index is out of bounds of the
26178         matched text, get the substring from matchedCharIndexed.
26179         Added special handlings in case start/end index < -1,
26180         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26181         Added special handlings in case start/end index < -1,
26182         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26183         found match, but keep the index as the original match.
26184         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26185         found match, but keep the index as the original match.
26186         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26187         in case start/end index < -1.
26188         
26189 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26190
26191         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26192         Set to false.   
26193
26194 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26195          
26196         * javax/swing/text/DefaultCaret.java:
26197         (mouseClicked) Use setDot() and moveDot() instead of
26198         JTextComponent.select().
26199
26200 2006-03-17  Roman Kennke  <kennke@aicas.com>
26201
26202         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26203         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26204         border painting for the Ocean theme.
26205         (MetalComboBoxEditor): Create editor directly instead of going
26206         to super.
26207         
26208 2006-03-17  Roman Kennke  <kennke@aicas.com>
26209
26210         * javax/swing/text/JTextComponent.java
26211         (JTextComponent): Make text components opaque.
26212
26213 2006-03-17  Roman Kennke  <kennke@aicas.com>
26214
26215         * javax/swing/plaf/metal/MetalComboBoxUI.java
26216         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26217         layoutComboBox().
26218         (MetalPropertyChangeListener.propertyChange): Update focusable
26219         flag according to the enable and editable state.
26220         (editablePropertyChanged): Removed unnecessary code.
26221         (getMinimumSize): Rewritten to correctly compute the
26222         size, respecting the insets of the components and the icon,
26223         the visual properties of the combobox, etc.
26224         (configureEditor): Update listeners correctly.
26225         (unconfigureEditor): Update listeners correctly.
26226         (layoutComboBox): Implemented.
26227
26228 2006-03-17  Roman Kennke  <kennke@aicas.com>
26229
26230         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26231         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26232         instead of Flush3DBorder.
26233         (paintBorder): Fixed border painting.
26234         (editorBorderInsets): Fixed border's insets.
26235
26236 2006-03-17  Roman Kennke  <kennke@aicas.com>
26237
26238         * javax/swing/plaf/metal/MetalComboBoxButton.java
26239         (rendererPane): Documented.
26240         (MetalComboBoxButton): Set enabled flag from ComboBox.
26241         Set focusable flag from ComboBox's enabled flag.
26242         (isFocusTraversable): Make button focus traversable if
26243         ComboBox is not editable but enable.
26244         (paintComponent): Fixed painting to correctly adjust
26245         the boxes of the renderer and button.
26246
26247 2006-03-17  Roman Kennke  <kennke@aicas.com>
26248
26249         * javax/swing/plaf/basic/BasicButtonUI.java
26250         (installDefaults): Only install UI margin if installed margin.
26251         is null or a UIResource.         
26252         (uninstallDefaults): Only uninstall margin if it's       
26253         a UIResource.    
26254          
26255  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26256          
26257          * javax/swing/text/DefaultCaret.java:   
26258          (mouseClicked) Use setDot() and moveDot() instead of    
26259          JTextComponent.select().        
26260  
26261 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26262
26263         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26264         inner classes into package-private inner classes, added actions
26265         for caret movement and selection to the next and previous word
26266         and an action which selects the whole text.
26267
26268 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26269
26270         * javax/swing/Spring.java: Uncomment springdebug methods and
26271         rename them toString.
26272         * javax/swing/SpringLayout.java: Likewise.
26273
26274 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26275
26276         * javax/swing/text/FieldView.java:
26277         (viewToModel): Added call to adjust allocation area.
26278
26279 2006-03-17  Roman Kennke  <kennke@aicas.com>
26280
26281         * javax/swing/plaf/basic/BasicComboBoxUI.java
26282         (mouseListener): Removed field.
26283         (buttonBackground): Removed field.
26284         (buttonShadow): Removed field.
26285         (buttonDarkShadow): Removed field.
26286         (buttonHighlight): Removed field.
26287         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26288         (installUI): Initialize and configure renderer and editor here.
26289         (uninstallUI): Close popup before uninitializing.
26290         Message popup that we are uninitializing. Clear layout.
26291         (installDefaults): Install UI border. Don't install colors.
26292         (installListeners): Install listeners fetched from the popup.
26293         Remove handling of mouseListener.
26294         (uninstallDefaults): Uninstall border. Don't handle colors.
26295         (uninstallListeners): Don't handle mouseListener. Uninstall
26296         listener from the popup.
26297         (createMouseListener): Removed method.
26298         (createRenderer): Create UIResource.
26299         (installComponents): Cleaned up.
26300         (uninstallComponents): Only remove renderer when it is
26301         a UIResource.
26302         (addEditor): Remove editor before adding new one.
26303         Fetch editor from comboBox.
26304         (removeEditor): Only do something when editor != null. Unconfigure
26305         editor before removing.
26306         (configureEditor): Add key listener. Call comboBox.configureEditor.
26307         (unconfigureEditor): Removed key listener.
26308         (configureArrowButton): Only handle when arrowButton != null.
26309         Add mouse listeners to arrow button.
26310         (unconfigureArrowButton): Remove listeners.
26311         (createArrowButton): Don't handle colors here.
26312         (setPopupVisible): Don't handle focus here.
26313         (paint): Only paint when comboBox is not editable. Update
26314         hasFocus flag.
26315         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26316         (getMinimumSize): Respect insets here.
26317         (getMaximumSize): Return preferredSize with width of 32767.
26318         (getInsets): Return ComboBox insets.
26319         (paintCurrentValue): Paint using currentValuePane.
26320         Install correct colors. Don't revalidate.
26321         (paintCurrentValueBackground): Implemented.
26322         (getDefaultSize): Reimplemented using a default renderer.
26323         (getDisplaySize): Reimplemented to use renderer.
26324         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26325         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26326         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26327         (FocusHandler.focusGained): Don't invalidate minimumSize.
26328         (FocusHandler.focusLost): Don't invalidate minimumSize.
26329         Only close popup if focus change is not temporary.
26330         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26331         Reconfigure editor if not null.
26332         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26333         editor if necessary.
26334         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26335         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26336         (MouseHandler): Removed unnecessary class.
26337
26338 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26339
26340         * examples/gnu/classpath/examples/swing/Demo.java:
26341         (Demo): Set default closing operation to shutdown the runtime.
26342
26343 2006-03-17  Roman Kennke  <kennke@aicas.com>
26344
26345         * javax/swing/plaf/basic/BasicComboPopup.java
26346         (BasicComboPopup): Create listeners here.
26347         Configure components here.
26348         (show): Correctly calculate bounds using computePopupBounds().
26349         Make scroller fixed-size. Removed special autocloser handling.
26350         (hide): Rewritten to use MenuSelectionHandler.
26351         (createList): Don't set selection mode here.
26352         (configureList): Correctly install colors and fonts and selectionMode.
26353         (createScroller): Set scrollpane policies.
26354         (configureScroller): Make scroller and scrollbar not-focusable.
26355         (configurePopup): Make popup opaque and borderPainted.
26356         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26357         (delegateFocus): Implemented.
26358         (convertMouseEvent): Implemented.
26359         (updateListBoxSelectionForEvent): Implemented to also handle
26360         autoscrolling.
26361         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26362         Only open popup on left mouse-click.
26363         (InvocationMouseHandler.mouseReleased): Rewritten.
26364         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26365         support autoscrolling.
26366         (ItemHandler.itemStateChanged): Implemented to sync selection with
26367         the comboBox.
26368         (ListMouseHandler.mouseReleased): Fetch selected index directly
26369         from list.
26370         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26371         the list box.
26372         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26373         When model changes, then update listeners correctly.
26374         (uninstallListeners): Don't uninstall list listeners.
26375         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26376         from comboBox.
26377         (syncSelection): New helper method.
26378
26379 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26380
26381         * javax/swing/text/PlainView.java:
26382         (drawLine): Rewritten.
26383         (drawSelectedText): Corrected last argument for
26384         Utilities.drawTabbedText() call.
26385         (paint): Store start and end of selection in object variables,
26386         store constant values of for-loop in local variables.
26387         * javax/swing/text/Utilities.java:
26388         (drawTabbedText): Add 'pixelWidth' to the return value, store
26389         constant value of for-loop in local variable.
26390
26391 2006-03-17  Roman Kennke  <kennke@aicas.com>
26392
26393         * javax/swing/plaf/basic/BasicComboPopup.java
26394         (BasicComboPopup): Create listeners here.
26395         Configure components here.
26396         (show): Correctly calculate bounds using computePopupBounds().
26397         Make scroller fixed-size. Removed special autocloser handling.
26398         (hide): Rewritten to use MenuSelectionHandler.
26399         (createList): Don't set selection mode here.
26400         (configureList): Correctly install colors and fonts and selectionMode.
26401         (createScroller): Set scrollpane policies.
26402         (configureScroller): Make scroller and scrollbar not-focusable.
26403         (configurePopup): Make popup opaque and borderPainted.
26404         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26405         (delegateFocus): Implemented.
26406         (convertMouseEvent): Implemented.
26407         (updateListBoxSelectionForEvent): Implemented to also handle
26408         autoscrolling.
26409         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26410         Only open popup on left mouse-click.
26411         (InvocationMouseHandler.mouseReleased): Rewritten.
26412         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26413         support autoscrolling.
26414         (ItemHandler.itemStateChanged): Implemented to sync selection with
26415         the comboBox.
26416         (ListMouseHandler.mouseReleased): Fetch selected index directly
26417         from list.
26418         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26419         the list box.
26420         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26421         When model changes, then update listeners correctly.
26422         (uninstallListeners): Don't uninstall list listeners.
26423         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26424         from comboBox.
26425         (syncSelection): New helper method.
26426
26427 2006-03-17  Roman Kennke  <kennke@aicas.com>
26428
26429         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26430         (noFocusBorder): Make border with insets of (1,1,1,1).
26431         (BasicComboBoxRenderer): Make renderer opaque.
26432         No need to explicitly set alignment.
26433         (getListCellRendererComponent): Rewritten to correctly initialize
26434         color and font.
26435
26436 2006-03-17  Roman Kennke  <kennke@aicas.com>
26437
26438         * javax/swing/JPopupMenu.java
26439         (setVisible): Handle JPopupMenu opening and closing via
26440         the MenuSelectionHandler.
26441
26442 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26443
26444         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26445         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26446         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26447         Likewise.       
26448         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26449         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26450         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26451         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26452         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26453         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26454         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26455         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26456         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26457         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26458
26459 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26460
26461         * java/rmi/activation/Activatable.java: Implemented.
26462         java/rmi/activation/ActivationDesc.java: Implemented.
26463         java/rmi/activation/ActivationGroup.java: Implemented.
26464         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26465         java/rmi/activation/ActivationID.java: Implemented.
26466         java/rmi/activation/ActivationSystem.java: Implemented.
26467         * gnu/java/rmi/server/UnicastServerRef.java 
26468         (exportObject, incommingMessageCall): Documented.
26469         * java/rmi/activation/package.html: Documented.
26470         * java/rmi/server/ObjID.java (objNum, space): Made package
26471         protected.
26472         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26473         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26474         Iteration bug fix.
26475         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26476         gnu/java/rmi/activation/BidiTable.java: New file.
26477         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26478         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26479         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26480
26481 2006-03-17  Mark Wielaard  <mark@klomp.org>
26482
26483         * java/security/BasicPermission.java (BasicPermission): Check
26484         name equals empty string to force NullPointerException.
26485
26486 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26487
26488         PR classpath/26606
26489         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26490         * javax/swing/Spring.java: Complete implementation
26491         * javax/swing/SpringLayout.java: Likewise.
26492
26493 2006-03-16  Keith Seitz  <keiths@redhat.com>
26494
26495         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26496         all references.
26497         (run): Remove catch clause for InterruptedException. It is no
26498         longer necessary.
26499
26500 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26501
26502         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26503         (getFontMetrics): Handle monospaced fonts specially.
26504
26505 2006-03-16  Keith Seitz  <keiths@redhat.com>
26506
26507         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26508         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26509         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26510         Don't suspend the current thread unless it is not part of the JDWP
26511         thread group.
26512
26513 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26514
26515         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26516         return 0.
26517         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26518         font metrics through toolkit.
26519         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26520         Likewise.
26521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26522         (getFontMetrics): To calculate Java logical ascent and descent
26523         values, average Pango ink and logical values.
26524
26525 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26526
26527         * java/lang/Character.java: Updated header comment.
26528
26529 2006-03-16  Tom Tromey  <tromey@redhat.com>
26530
26531         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26532         constructor.
26533         * javax/sound/sampled/FloatControl.java: Now abstract.
26534         * javax/sound/sampled/EnumControl.java: Now abstract.
26535         * javax/sound/sampled/CompoundControl.java: Now abstract.
26536         * javax/sound/sampled/BooleanControl.java: Now abstract.
26537
26538 2006-03-16  Tom Tromey  <tromey@redhat.com>
26539
26540         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26541
26542 2006-03-16  Roman Kennke  <kennke@aicas.com>
26543
26544         * java/util/zip/ZipFile.java
26545         (openFile): New helper method.
26546         (ZipFile): Use new openFile method to ensure the proper
26547         exception is thrown. This applies for all overloaded constructors.
26548
26549 2006-03-16  Roman Kennke  <kennke@aicas.com>
26550
26551         * java/text/DateFormatSymbols.java
26552         (setAmPmStrings): Added null check and throw NPE.
26553         (setEras): Likewise.
26554         (setLocalPatternChars): Likewise.
26555         (setMonths): Likewise.
26556         (setShortMonths): Likewise.
26557         (setShortWeekdays): Likewise.
26558         (setWeekdays): Likewise.
26559         (setZoneStrings): Likewise.
26560
26561 2006-03-16  Roman Kennke  <kennke@aicas.com>
26562
26563         * javax/swing/DefaultDesktopManager.java
26564         (iconifyFrame): Repaint after removing the frame.
26565         (removeIconFor): Repaint after removing the icon.
26566
26567 2006-03-16  Roman Kennke  <kennke@aicas.com>
26568
26569         * javax/swing/JInternalFrame.java
26570         (remove): Respect the rootPaneCheckingEnabled flag here.
26571
26572 2006-03-16  Roman Kennke  <kennke@aicas.com>
26573
26574         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26575         Moved from examples into gnu.javax.swing.. namespace.
26576         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26577         Moved to gnu.javax.swing.. namespace.
26578         * examples/gnu/classpath/examples/swing/Demo.java:
26579         (themesMenu): New field. Used to disable theme switch in
26580         non-Metal-L&Fs.
26581         (mkMenuBar): Added L&F menu.
26582         (ChangeThemeAction.actionPerformed): Only switch theme when
26583         in Metal L&F.
26584         (ChangeLAFAction): New class used for changing themes.
26585         * javax/swing/UIManager.java
26586         (installed): Added GNU L&F as installed L&F.
26587
26588 2006-03-16  Mark Wielaard  <mark@klomp.org>
26589
26590         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26591         * examples/gnu/classpath/examples/icons/badge.png: Added.
26592         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26593         from icon directory.
26594
26595 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26596
26597         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26598         example.
26599         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26600         * examples/gnu/classpath/examples/awt/Demo.java: Add
26601         AnimationApplet demo.
26602         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26603         demo.
26604
26605 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26606
26607         PR classpath/26486
26608         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26609         method.
26610         (handleEvent): Likewise.
26611         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26612         Remove field.
26613         (beginNativeRepaint): Remove method.
26614         (endNativeRepaint): Likewise.
26615         (handleEvent): Call paintComponent and updateComponent.
26616         (paintComponent): New method.
26617         (updateComponent): Likewise.
26618         (repaint): Return early if width or height is less than one.
26619         (postExposeEvent): Remove isInRepaint reference.
26620         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26621         Remove method.
26622         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26623         from GtkWindowPeer.
26624         (postMouseEvent): Likewise.
26625         (postExposeEvent): Likewise.
26626         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26627         Override to do nothing.
26628         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26629         from GtkWindowPeer.
26630         (postMouseEvent): Likewise.
26631         (postExposeEvent): Likewise.
26632         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26633         paint and update handling from GtkComponentPeer.
26634         (updateComponent): Override to call paintComponent.
26635         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26636         gdk_flush calls with schedule_flush calls.
26637         (flush): New function.
26638         (schedule_flush): Likewise.
26639
26640 2006-03-15  Tom Tromey  <tromey@redhat.com>
26641
26642         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26643         constructor.
26644         (BCSIterator): Likewise.
26645         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26646         New constructor.
26647         (BCSSProxyServiceProvider): Likewise.
26648         (BCSSServiceProvider): Likewise.
26649
26650 2006-03-15  Tom Tromey  <tromey@redhat.com>
26651
26652         * javax/sound/midi/Track.java (Track): New constructor.
26653         (events): Now package-private.
26654         * javax/sound/midi/MidiUnavailableException.java
26655         (MidiUnavailableException): Removed invalid constructors.
26656         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26657         * javax/sound/midi/InvalidMidiDataException.java
26658         (InvalidMidiDataException): Removed invalid constructors.
26659         * javax/sound/midi/Sequencer.java (hashCode): Now final.
26660         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26661         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26662         (SYSTEM_EXCLUSIVE): Removed.
26663         (getDataLength): Updated.
26664         * javax/sound/midi/MidiDevice.java (Info): Now protected.
26665         (equals): Now final
26666         (getName): Now final.
26667         (getVendor): Now final.
26668         (getDescription): Likewise.
26669         (hashCode): Likewise.
26670         (getVersion): Likewise.
26671         (toString): Likewise.
26672         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26673         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26674         (getEarlyReflectionDelay): Likewise.
26675         (getEarlyReflectionIntensity): Likewise.
26676         (getLateReflectionDelay): Likewise.
26677         (getLateReflectionIntensity): Likewise.
26678         (toString): Likewise.
26679         * javax/sound/sampled/Port.java (toString): Now final.
26680         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26681         (getLine): Likewise.
26682         (getType): Likewise.
26683         * javax/sound/sampled/Mixer.java (Info): Now protected.
26684         (getDescription): Now final.
26685         (getName): Likewise.
26686         (getVendor): Likewise.
26687         (getVersion): Likewise.
26688         (toString): Likewise.
26689         * javax/sound/sampled/Control.java: Now abstract.
26690         (Type.toString): Now final.
26691
26692 2006-03-15  Keith Seitz  <keiths@redhat.com>
26693
26694         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26695         of this redundant variable.
26696         (LineTable): Assert that the number of line numbers and the number of
26697         code indicies is the same.
26698
26699 2006-03-15  Tom Tromey  <tromey@redhat.com>
26700
26701         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26702         final.
26703         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26704         fix.
26705         * java/util/zip/ZipFile.java (ENDNRD): New constant.
26706         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26707         * java/util/zip/Inflater.java (end): Not deprecated.
26708         * java/util/zip/Deflater.java (end): Not deprecated.
26709         * java/text/Bidi.java (Bidi): Now final.
26710         * java/nio/MappedByteBuffer.java (finalize): Now protected.
26711
26712 2006-03-15  Keith Seitz  <keiths@redhat.com>
26713
26714         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26715         (Location): Index is a long, not an int.
26716         (getMethod): New method.
26717         (getIndex): New method.
26718         (toString): New method.
26719
26720 2006-03-15  Tom Tromey  <tromey@redhat.com>
26721
26722         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26723         * java/awt/image/LookupOp.java (filter): Now final.
26724         (getBounds2D): Likewise.
26725         (getPoint2D): Likewise.
26726         (getTable): Likewise.
26727         (getRenderingHints): Likewise.
26728         * java/awt/image/ConvolveOp.java (filter): Now final.
26729         (getBounds2D): Likewise.
26730         (getKernel): Likewise.
26731         (getPoint2D): Likewise.
26732         (getRenderingHints): Likewise.
26733         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26734         (getMatrix): Likewise.
26735         (getBounds2D): Likewise.
26736         (getRenderingHints): Likewise.
26737         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26738         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26739         private.
26740         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26741         protected.
26742         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26743         protected.
26744         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26745
26746 2006-03-15  Keith Seitz  <keiths@redhat.com>
26747
26748         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26749         Update javadoc.
26750         (matches): Implement.
26751
26752 2006-03-15  Keith Seitz  <keiths@redhat.com>
26753
26754         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26755         
26756         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26757
26758 2006-03-15  Tom Tromey  <tromey@redhat.com>
26759
26760         * java/lang/StrictMath.java (signum): New methods.
26761
26762 2006-03-15  Tom Tromey  <tromey@redhat.com>
26763
26764         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26765
26766 2006-03-15  Lillian Angel  <langel@redhat.com>
26767
26768         PR classpath/24211
26769         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26770         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26771         Added check to avoid segmentation fault.
26772
26773 2006-03-15  Lillian Angel  <langel@redhat.com>
26774
26775         * java/awt/Container.java
26776         (getComponentAt): Fixed documentation.
26777         (getComponentAt): Likewise.
26778
26779 2006-03-15  Roman Kennke  <kennke@aicas.com>
26780
26781         * javax/swing/JComponent.java
26782         (dragBuffer): New field.
26783         (dragBufferInitialized): New field.
26784         (paint): Added facility for buffered dragging of components.
26785         (initializeDragBuffer): New method.
26786         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26787         API docs.
26788         * javax/swing/plaf/basic/BasicInternalFrameUI.java
26789         (BorderListener.mouseDragged): Turn on buffered dragging.
26790         (BorderListener.mouseReleased): Turn off buffered dragging.
26791
26792 2006-03-15  Lillian Angel  <langel@redhat.com>
26793
26794         * java/awt/Container.java
26795         (getComponentAt): Fixed documentation.
26796         (getComponentAt): Likewise.
26797         (findComponentAt): Likewise.
26798         (findComponentAt): Likewise.
26799
26800 2006-03-15  Roman Kennke  <kennke@aicas.com>
26801
26802         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26803         (PropertyChangeHandler.propertyChange): Call enableActions().
26804         Fixed 'iconable' property name.
26805
26806 2006-03-15  Chris Burdess  <dog@gnu.org>
26807
26808         Fixes PR 26700
26809         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26810
26811 2006-03-15  Roman Kennke  <kennke@aicas.com>
26812
26813         * examples/gnu/classpath/examples/swing/Demo.java:
26814         (desktop): New field.
26815         (mkMenuBar): Added new subdemos.
26816         (mkButtonWorld): Removed.
26817         (CheckCellRenderer): Moved to ListDemo.
26818         (LabelCellRenderer): Moved to ListDemo.
26819         (mkTreeWorld): Moved to TreeDemo.
26820         (mkDesktopWorld): Removed.
26821         (mkTabWorld): Moved to TabbedPaneDemo.
26822         (mkTabbedPane): Removed.
26823         (Demo): Replaced 'worlds' tabbed pane with desktop.
26824         (PopupAction): Made class non-static.
26825         (PopupAction.actionPerformed): Bring up subdemos in internal
26826         frame.
26827         (mkButtonBar): Added new demos.
26828         (createDesktop): New method.
26829         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26830         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26831         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26832         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26833         * examples/gnu/classpath/examples/swing/badge.png: New image file.
26834
26835 2006-03-15  Lillian Angel  <langel@redhat.com>
26836         
26837         * java/awt/Container.java
26838         (getComponentAt): Fixed mistake in comments.
26839         (getComponentAt): Likewise.
26840         (locate): Likewise. Also, handled lightweight components.
26841         Heavyweights take precedence over lightweights, so we should
26842         iterate through the heavyweights first.
26843
26844 2006-03-15  Lillian Angel  <langel@redhat.com>
26845
26846         * java/awt/Container.java
26847         (getComponentAt): Added API documentation.
26848         (getComponentAt): Likewise.
26849         (locate): Likewise. Also, removed lines to ignore
26850         invisible components.
26851         (findComponentAt): Added API documentation.
26852         (findComponentAt): Added API documentation.
26853         (findComponentForMouseEvent): Removed, never used.
26854
26855 2006-03-15  Roman Kennke  <kennke@aicas.com>
26856
26857         * javax/swing/Popup.java
26858         (LightweightPopup.show): Repaint the panel after showing it.
26859
26860 2006-03-15  Lillian Angel  <langel@redhat.com>
26861
26862         * java/awt/Component.java
26863         (show): repaint should only be called if the component
26864         isShowing and isLightweight.
26865
26866 2006-03-15  Roman Kennke  <kennke@aicas.com>
26867
26868         * javax/swing/JInternalFrame.java
26869         (setClosable): Made this property bound.
26870         (setResizable): Made this property bound.
26871         (setIconifiable): Made this property bound.
26872         (setMaximizable): Made this property bound.
26873
26874 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26875
26876         * javax/swing/table/TableColumn.java
26877         (sizeWidthToFit): Implemented.
26878
26879 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26880
26881         * javax/swing/table/TableColumn.java: API docs updated all over, plus
26882         (setIdentifier): Fire required PropertyChangeEvent,
26883         (setCellEditor): Likewise.
26884
26885 2006-03-15  Roman Kennke  <kennke@aicas.com>
26886
26887         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26888         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26889         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26890         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26891         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26892         * examples/gnu/classpath/examples/swing/SliderDemo.java,
26893         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26894         * examples/gnu/classpath/examples/swing/TableDemo.java,
26895         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26896         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26897         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26898         * examples/gnu/classpath/examples/swing/Demo.java:
26899         Cleaned up. Reworked handling of Sub-demos to load lazily.
26900         * examples/gnu/classpath/examples/swing/DemoFactory.java:
26901         New interface. Used for loading the subdemos lazily.
26902
26903 2006-03-15  Roman Kennke  <kennke@aicas.com>
26904
26905         * javax/swing/plaf/basic/BasicToolBarUI.java
26906         (PropertyListener.propertyChange): Added null check to avoid NPE.
26907
26908 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26909
26910         * javax/swing/table/TableColumn.java
26911         (COLUMN_WIDTH_PROPERTY): Updated API docs,
26912         (width): Likewise.
26913         (minWidth): Likewise,
26914         (preferredWidth): Likewise,
26915         (maxWidth): Likewise,
26916         (headerRenderer): Likewise,
26917         (cellRenderer): Likewise,
26918         (cellEditor): Likewise,
26919         (changeSupport): Likewise,
26920         (firePropertyChange(String, Object, Object)): Removed,
26921         (firePropertyChange(String, int. int)): Likewise,
26922         (firePropertyChange(String, boolean, boolean)): Likewise,
26923         (setModelIndex): Fire property change,
26924         (setHeaderValue): Call changeSupport directly to generate event,
26925         (setHeaderRenderer): Likewise,
26926         (setCellRenderer): Likewise,
26927         (setWidth): Likewise,
26928         (setPreferredWidth): Likewise,
26929         (setMinWidth): Likewise,
26930         (setMaxWidth): Likewise,
26931         (createDefaultHeaderRenderer): Added API docs.
26932
26933 2006-03-14  Roman Kennke  <kennke@aicas.com>
26934
26935         * examples/gnu/classpath/examples/swing/Demo.java
26936         Removed static initializer.
26937         (mkMenuBar): Made method non-static. Added themes menu.
26938         (ChangeThemeAction): New inner class, used to change themes.
26939
26940 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26941
26942         * javax/swing/table/TableColumn.java
26943         (setMaxWidth): Updated width and preferredWidth if necessary,
26944         (getMaxWidth): Updated API docs.
26945
26946 2006-03-14  Roman Kennke  <kennke@aicas.com>
26947
26948         * javax/swing/plaf/basic/BasicSliderUI.java
26949         (TrackListener.mouseDragged): Only process event when slider is
26950         enabled.
26951         (TrackListener.mouseReleased): Only process event when slider is
26952         enabled.
26953         (TrackListener.mousePressed): Only process event when slider is
26954         enabled.
26955
26956 2006-03-14  Roman Kennke  <kennke@aicas.com>
26957
26958         * NEWS: Added note about OceanTheme support.
26959
26960 2006-03-14  Roman Kennke  <kennke@aicas.com>
26961
26962         * javax/swing/plaf/metal/MetalIconFactory.java
26963         (HorizontalSliderThumbIcon.gradientMask): New field
26964         (HorizontalSliderThumbIcon.paintIcon): Added support for the
26965         OceanTheme.
26966         (VerticalSliderThumbIcon.gradientMask): New field
26967         (VerticalSliderThumbIcon.paintIcon): Added support for the
26968         OceanTheme.
26969         * javax/swing/plaf/metal/MetalUtils.java
26970         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26971         (paintVerticalGradient): Fixed painting of 'masked' gradients.
26972
26973 2006-03-14  Mark Wielaard  <mark@klomp.org>
26974
26975         Fixes bug #26641
26976         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26977         of handleMouseEvent.
26978         (handleMouseEvent): Return boolean to indicate whether we handled the
26979         event by passing it to a lightweight.
26980
26981 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
26982
26983         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26984         * org/omg/PortableServer/ServantActivatorPOA.java,
26985         * org/omg/PortableServer/ServantLocatorPOA.java: 
26986         Make class abstract and minor api docs fixlets.
26987         * org/omg/PortableServer/ForwardRequest.java, 
26988         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
26989         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
26990         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
26991         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
26992         * org/omg/PortableServer/POAPackage/NoServant.java, 
26993         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
26994         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
26995         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
26996         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
26997         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
26998         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
26999         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27000         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27001         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27002         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27003
27004 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27005
27006         * NEWS: Added entry about printing support.
27007
27008 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27009
27010         * javax/swing/table/TableColumn.java
27011         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27012         (isResizable): Likewise,
27013         (setWidth): Likewise,
27014         (getWidth): Likewise,
27015         (setPreferredWidth): Likewise,
27016         (getPreferredWidth): Likewise,
27017         (setMinWidth): Check for negative argument and update width and 
27018         preferredWidth if necessary,
27019         (getMinWidth): Updated API docs.
27020
27021 2006-03-14  Lillian Angel  <langel@redhat.com>
27022         
27023         * java/awt/Container.java
27024         (addImpl): Removed call to repaint. No need to repaint here.
27025
27026 2006-03-14  Roman Kennke  <kennke@aicas.com>
27027
27028         * javax/swing/plaf/metal/MetalSliderUI.java
27029         (paintTrack): Added OceanTheme support.
27030
27031 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27032
27033         * javax/swing/table/TableColumn.java
27034         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27035         (isResizable): Updated API docs.
27036
27037 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27038
27039         * javax/swing/LookAndFeel.java: Updated API docs.
27040
27041 2006-03-14  Roman Kennke  <kennke@aicas.com>
27042
27043         * javax/swing/plaf/metal/MetalUtils.java
27044         (paintGradient): Added support for 'masked' gradients.
27045         (paintHorizontalGradient): Likewise.
27046         (paintVerticalGradient): Likewise.
27047         * javax/swing/plaf/metal/MetalIconFactory.java
27048         (RadioButtonIcon.gradientMask): New field.
27049         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27050
27051 2006-03-14  Mark Wielaard  <mark@klomp.org>
27052
27053         Fixes bug #26645.
27054         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27055         New field.
27056         (removeActionListener): Add listener to ComboBoxEditorListener.
27057         (removeActionListener): Remove listener from ComboBoxEditorListener.
27058         (ComboBoxEditorListener): New static helper class.
27059
27060 2006-03-14  Roman Kennke  <kennke@aicas.com>
27061
27062         * javax/swing/plaf/metal/MetalBorders.java
27063         (getToolBarButtonBorder): Don't create a UIResource border
27064         here.
27065         * javax/swing/plaf/metal/MetalToolBarUI.java
27066         (installUI): New overridden method. Installs the rollover property.
27067         (uninstallUI): New overridden method. Resets the rollover property.
27068         * javax/swing/plaf/metal/MetalUtils.java
27069         (paintGradient): Fetch Float values from the UIManager. Adjusted
27070         method signatures accordingly.
27071         (paintHorizontalGradient): Adjusted signature to accept float
27072         instead of double.
27073         (paintVerticalGradient): Adjusted signature to accept float
27074         instead of double.
27075         * javax/swing/plaf/metal/OceanTheme.java
27076         (addCustomEntriesToTable): Added missing UIDefaults entries,
27077         except of Icons. Fixed gradient entries to use Float instead
27078         of Double.
27079
27080 2006-03-14  Roman Kennke  <kennke@aicas.com>
27081
27082         * javax/swing/JInternalFrame.java
27083         (JInternalFrame): Make JInternalFrame opaque.
27084         * javax/swing/JToolBarFrame.java
27085         (JToolBar): Make JToolBar opaque.
27086
27087 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27088
27089         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27090         * javax/swing/tree/TreePath.java: Likewise.
27091
27092 2006-03-13  Tom Tromey  <tromey@redhat.com>
27093
27094         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27095         Genericized.
27096         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27097         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27098
27099 2006-03-13  Keith Seitz  <keiths@redhat.com>
27100
27101         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27102         (executeMethods): Output number of methods.
27103
27104 2006-03-13  Roman Kennke  <kennke@aicas.com>
27105
27106         * javax/swing/plaf/basic/BasicButtonUI.java
27107         (uninstallDefaults): Only uninstall border if it's a UIResource.
27108         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27109         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27110         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27111         (installUI): Don't touch the opaque flag of the glassPane and
27112         the frame. Don't invalidate.
27113         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27114         (installUI): Don't touch the opaque flag of the glassPane.
27115         * javax/swing/plaf/basic/BasicMenuBarUI.java
27116         (properyChangeListener): Made field private.
27117         (ChangeHandler): Made class private.
27118         (ContainerHandler): Made class private.
27119         (PropertyChangeHandler): Made class private.
27120         * javax/swing/plaf/basic/BasicMenuUI.java
27121         (MenuHandler): Made class private.
27122         (PropertyChangeHandler): Removed unneeded class.
27123         (MenuDragMouseHandler): Made class private.
27124         (MenuKeyHandler): Made class private.
27125         * javax/swing/plaf/basic/BasicPanelUI.java
27126         (installDefaults): Made method protected. Don't set opaque
27127         flag.
27128         * javax/swing/plaf/basic/BasicScrollBarUI.java
27129         (TrackListener.shouldScroll): Made method private.
27130         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27131         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27132         Made constructor package private.
27133         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27134         (cellBorder): Made field private.
27135         * javax/swing/plaf/basic/BasicTextUI.java
27136         (installDefaults): Don't make component opaque.
27137         * javax/swing/plaf/basic/BasicToolBarUI.java
27138         (createNonRollOverBorder): Don't create UIResource border.
27139         (createRollOverBorder): Don't create UIResource border.
27140         (installComponents): Moved setRolloverBorders call here.
27141         (installDefaults): Moved setRolloverBorders call from here.
27142         (installUI): Don't make toolbar opaque.
27143         (setBorderToNonRollover): Handle AbstractButton instead of
27144         JButton here.
27145         (uninstallComponents): Don't nullify class fields here.
27146
27147 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27148
27149         * javax/swing/SwingUtilities.java
27150         (calculateInnerArea): handle null component, and replace 
27151         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27152         creation.
27153
27154 2006-03-13  Roman Kennke  <kennke@aicas.com>
27155
27156         * javax/swing/JColorChooser.java
27157         (updateUI): Don't call revalidate().
27158         * javax/swing/JComboBox.java
27159         (updateUI): Don't call invalidate().
27160         * javax/swing/JDesktopPane.java
27161         (updateUI): Don't call invalidate().
27162         * javax/swing/JFileChooser.java
27163         (updateUI): Don't call revalidate().
27164         * javax/swing/JMenu.java
27165         (updateUI): Don't call invalidate().
27166         * javax/swing/JMenuBar.java
27167         (updateUI): Don't call invalidate().
27168         * javax/swing/JMenuItem.java
27169         (updateUI): Don't call invalidate().
27170         * javax/swing/JOptionPane.java
27171         (updateUI): Don't call invalidate().
27172         * javax/swing/JPopupMenu.java
27173         (updateUI): Don't call invalidate().
27174         * javax/swing/JProgressBar.java
27175         (updateUI): Don't call invalidate().
27176         * javax/swing/JScrollBar.java
27177         (updateUI): Don't call invalidate() and repaint().
27178         * javax/swing/JScrollPane.java
27179         (updateUI): Rewritten to be like the other updateUI()
27180         methods.
27181         * javax/swing/JSlider.java
27182         (updateUI): Don't call invalidate() and repaint().
27183         * javax/swing/JSplitPane.java
27184         (updateUI): Don't call invalidate() and repaint().
27185         * javax/swing/JTabbedPane.java
27186         (updateUI): Don't call invalidate().
27187         * javax/swing/JTable.java
27188         (updateUI): Don't call revalidate() and repaint().
27189         * javax/swing/JToolBar.java
27190         (updateUI): Don't call revalidate() and repaint().
27191         * javax/swing/JToolTip.java
27192         (updateUI): Don't call revalidate() and repaint().
27193
27194 2006-03-13  Roman Kennke  <kennke@aicas.com>
27195
27196         * javax/swing/SwingUtilities.java
27197         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27198         menus and non-Swing components is improved.
27199         (updateComponentTreeUIImpl): New helper method.
27200         (replaceUIActionMap): Added check for uiActionMap==parent to
27201         avoid loop.
27202         (replaceUIInputMap): Added check for uiInputMap==parent to
27203         avoid loop.
27204
27205 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27206
27207         * gnu/classpath/debug/Component.java: 
27208         (IPP) New component for IPP debugging. 
27209         (EVERYTHING): Adapted to include IPP.
27210         * javax/print/PrintServiceLookup.java: 
27211         (registerServiceProvider): New method.
27212         (registerService): Likewise.
27213         (lookupPrintServices): Likewise.
27214         (lookupMultiDocPrintServices): Likewise.
27215         (lookupDefaultPrintService): Likewise.
27216         (static_initializer): Likewise.
27217         (printServiceLookups): New field for found service providers.
27218         (printServices): New field for application registered providers.
27219         (systemProvider): New field for the system provider.    
27220         * javax/print/ServiceUI.java: New file. 
27221         * javax/print/package.html: Added more usage content.
27222         * javax/print/event/package.html: Likewise.
27223         * javax/print/attribute/package.html: Likewise.
27224         * javax/print/attribute/standard/package.html: Likewise.
27225         * gnu/javax/print/PrintUriException.java,
27226         gnu/javax/print/PrintFlavorException.java,
27227         gnu/javax/print/PrinterDialog.java,
27228         gnu/javax/print/PrintAttributeException.java,
27229         gnu/javax/print/CupsPrintServiceLookup.java,
27230         gnu/javax/print/CupsServer.java,
27231         gnu/javax/print/CupsPrintService.java,
27232         gnu/javax/print/CupsMediaMapping.java,
27233         gnu/javax/print/CupsIppOperation.java:
27234         New implementation files of the Java Print Service API.
27235         * gnu/javax/print/ipp/IppValueTag.java,
27236         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27237         gnu/javax/print/ipp/IppStatusCode.java,
27238         gnu/javax/print/ipp/IppUtilities.java,
27239         gnu/javax/print/ipp/IppResponse.java,
27240         gnu/javax/print/ipp/IppException.java,
27241         gnu/javax/print/ipp/IppPrintService.java,
27242         gnu/javax/print/ipp/IppRequest.java,
27243         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27244         gnu/javax/print/ipp/IppDelimiterTag.java,
27245         gnu/javax/print/ipp/DocPrintJobImpl.java:
27246         New files of the IPP client implementation.
27247         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27248         gnu/javax/print/ipp/attribute/StatusMessage.java,
27249         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27250         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27251         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27252         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27253         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27254         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27255         New attribute syntax/role files of the printing implementation.
27256         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27257         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27258         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27259         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27260         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27261         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27262         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27263         gnu/javax/print/ipp/attribute/supported/
27264         OrientationRequestedSupported.java, 
27265         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27266         gnu/javax/print/ipp/attribute/supported/
27267         MultipleDocumentHandlingSupported.java, 
27268         gnu/javax/print/ipp/attribute/supported/
27269         MultipleDocumentJobsSupported.java, 
27270         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27271         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27272         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27273         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27274         gnu/javax/print/ipp/attribute/supported/
27275         GeneratedNaturalLanguageSupported.java,
27276         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27277         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27278         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27279         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27280         New supported attribute files.
27281         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27282         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27283         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27284         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27285         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27286         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27287         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27288         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27289         New printer description attribute files.
27290         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27291         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27292         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27293         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27294         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27295         gnu/javax/print/ipp/attribute/job/JobId.java,
27296         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27297         gnu/javax/print/ipp/attribute/job/JobUri.java,
27298         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27299         New job description attribute files.
27300         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27301         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27302         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27303         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27304         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27305         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27306         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27307         gnu/javax/print/ipp/attribute/defaults/
27308         MultipleDocumentHandlingDefault.java,
27309         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27310         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27311         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27312         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27313         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27314         New default printing attribute files.
27315         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27316         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27317         * examples/gnu/classpath/examples/print/Demo.java: 
27318         New demo application of the current implemented functionality.
27319
27320 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27321
27322         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27323         java/rmi/activation/ActivationDesc.java.java,
27324         java/rmi/activation/ActivationGroup.java,
27325         java/rmi/activation/ActivationID.java,
27326         java/rmi/activation/ActivationMonitor.java,
27327         java/rmi/activation/ActivationSystem.java,
27328         java/rmi/activation/package.html: Documenting.
27329
27330 2006-03-13  Roman Kennke  <kennke@aicas.com>
27331
27332         * javax/swing/JInternalFrame.java
27333         (setSelected): Repaint frame when it is showing and the selection
27334         state changes.
27335
27336 2006-03-13  Roman Kennke  <kennke@aicas.com>
27337
27338         * javax/swing/AbstractButton.java
27339         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27340         instead of null.
27341
27342 2006-03-13  Roman Kennke  <kennke@aicas.com>
27343
27344         * javax/accessibility/AccessibleContext.java
27345         (getAccessibleRelationSet): Return empty set instead of null.
27346
27347 2006-03-13  Roman Kennke  <kennke@aicas.com>
27348
27349         * javax/swing/ImageIcon.java
27350         (loadImage): Remove completed images from the MediaTracker. This
27351         avoids a potential memory leak.
27352
27353 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27354
27355         * javax/print/MultiDocPrintService.java, 
27356         * javax/print/MultiDocPrintJob.java, 
27357         * javax/print/MultiDoc.java: Added and enhanced documentation.
27358
27359 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27360
27361         * java/rmi/activation/ActivationID.java (uid): New field.
27362         (writeExternal, readExternal): New methods. 
27363         (equals, hashCode): Rewritten.
27364         * java/rmi/activation/ActivationInstantiator.java,
27365         * java/rmi/activation/ActivationSystem.java,
27366         * java/rmi/activation/Activator.java,
27367         * java/rmi/activation/Activatable.java,
27368         * java/rmi/activation/ActivationGroup.java,
27369         * java/rmi/activation/ActivationGroupDesc.java: 
27370         Documented and autoformatted.
27371         * java/rmi/activation/package.html: Added content.
27372         
27373 2006-03-12  Chris Burdess  <dog@gnu.org>
27374
27375         Fixes PR 26652
27376         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27377           encoding are specified.
27378
27379 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27380
27381         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27382         (changeEvent): Initialise in fireStateChange(),
27383         (setSelectedIndex): Check if change is made before firing event,
27384         (clearSelection): Delegate to setSelectedIndex(),
27385         (fireStateChanged): Initialise changeEvent if necessary,
27386         * javax/swing/SingleSelectionModel.java: API docs all over.
27387
27388 2006-03-11  Tom Tromey  <tromey@redhat.com>
27389
27390         * java/util/zip/InflaterInputStream.java: Reverted previous
27391         patch.
27392
27393 2006-03-11  Mark Wielaard  <mark@klomp.org>
27394
27395         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27396         Compare name.
27397
27398 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27399
27400         * javax/swing/event/TreeSelectionEvent.java
27401         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27402         not one of the added/removed paths,
27403         (cloneWithSource): Reformatted.
27404
27405 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27406
27407         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27408         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27409
27410 2006-03-10  Casey Marshall  <csm@gnu.org>
27411
27412         Fixes PR 23768.
27413         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27414         reset `state.'
27415         (doFinal, update): new methods.
27416         (init, init, init, init): initialize `state' after trying the
27417         implementation, which can throw an exception.
27418         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27419         methods.
27420
27421 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27422
27423         * gnu/regexp/BacktrackStack.java: New file.
27424         * gnu/regexp/RE.java(findMatch): New method.
27425         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27426         REMatchList): Removed. (backtrackStack): New field.
27427         * gnu/regexp/REToken.java(match): Changed from an abstract
27428         method to an ordinary method defined with the new method
27429         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27430         findFixedLengthMatches, backtrack, toString): New methods.
27431         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27432         * gnu/regexp/RETokenBackRef.java: Likewise.
27433         * gnu/regexp/RETokenChar.java: Likewise.
27434         * gnu/regexp/RETokenEnd.java: Likewise.
27435         * gnu/regexp/RETokenEndSub.java: Likewise.
27436         * gnu/regexp/RETokenIndependent.java: Likewise.
27437         * gnu/regexp/RETokenLookAhead.java: Likewise.
27438         * gnu/regexp/RETokenLookBehind.java: Likewise.
27439         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27440         * gnu/regexp/RETokenPOSIX.java: Likewise.
27441         * gnu/regexp/RETokenRange.java: Likewise.
27442         * gnu/regexp/RETokenStart.java: Likewise.
27443         * gnu/regexp/RETokenWordBoundary.java: Likewise
27444         * gnu/regexp/RETokenOneOf.java: Rewriten.
27445         * gnu/regexp/RETokenRepeated.java: Rewriten.
27446
27447 2006-03-10  Roman Kennke  <kennke@aicas.com>
27448
27449         * javax/swing/plaf/metal/MetalBorders.java
27450         (RolloverButtonBorder.paintBorder): Only call super here.
27451         * javax/swing/plaf/metal/MetalButtonListener.java
27452         (propertyChange): Only call super here.
27453         * javax/swing/plaf/metal/MetalButtonUI.java
27454         (update): Changed condition from isOpaque() to isContentAreaFilled()
27455         for the gradient fill.
27456         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27457         (paintText): API doc fix. Makes paintText not deprecated as specified
27458         but adds comment that this is obsolete.
27459         * javax/swing/plaf/metal/MetalUtils.java
27460         (fillMetalPattern): Fixed condition so that the Java2D is not
27461         used when the noGraphics2D property is set.
27462
27463 2006-03-10  Roman Kennke  <kennke@aicas.com>
27464
27465         * javax/swing/plaf/metal/MetalLookAndFeel.java
27466         (createDefaultTheme): Set OceanTheme as default metal theme.
27467
27468 2006-03-10  Roman Kennke  <kennke@aicas.com>
27469
27470         * javax/swing/text/WrappedPlainView.java
27471         (metrics): Made field package private to avoid accessor method.
27472         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27473         The drawLine (righly) interprets the y parameter as the baseline.
27474         * javax/swing/text/Utilities.java
27475         (getBreakLocation): Don't consider the offset. The returned value
27476         for getTabbedTextOffset is already relative to the offset.
27477
27478 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27479
27480         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27481         (dateFormat): Made private.
27482         (put): Replace only the last occurance and the value.
27483         (putAll): Save one iteration. Clarified documentation.
27484
27485 2006-03-10  Tom Tromey  <tromey@redhat.com>
27486
27487         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27488         implementation.
27489         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27490         not '8'.
27491
27492 2006-03-10  Lillian Angel  <langel@redhat.com>
27493
27494         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27495         (comboboxgroup_get_widget): New function.
27496         (removed): Fixed to use new function to get the correct widget.
27497         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27498         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27499         function.
27500
27501 2006-03-10  Lillian Angel  <langel@redhat.com>
27502
27503         * java/awt/GridBagLayout.java
27504         (ArrangeGrid): Added checks to determine if component
27505         is placed last in a row or column. If so, the location
27506         of the last component should be used to get the location
27507         of the current component.
27508
27509 2006-03-10  Lillian Angel  <langel@redhat.com>
27510
27511         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27512         (nativeSetCheckboxGroup): No need to use new function here.
27513         Should just pass in pointer.
27514
27515 2006-03-10  Lillian Angel  <langel@redhat.com>
27516
27517         * java/awt/GridBagLayout.java
27518         (distributeSizeAndWeight): Change else if to else. This
27519         allows for components to be added to a new row when 
27520         their gridheight is REMAINDER.
27521
27522 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27523
27524         * java/rmi/activation/ActivationDesc.java,
27525         java/rmi/activation/ActivationGroupID.java,
27526         java/rmi/activation/Activator.java,
27527         java/rmi/server/Operation.java,
27528         java/rmi/server/RemoteServer.java: Documented and formatted.
27529
27530 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27531
27532         * javax/swing/JToggleButton.java: Fixed API doc tags,
27533         * javax/swing/OverlayLayout.java: Likewise.
27534
27535 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27536
27537         * javax/swing/DefaultCellEditor.java
27538         (cancelCellEditing): Removed spurious API doc tag.
27539
27540 2006-03-10  Lillian Angel  <langel@redhat.com>
27541
27542         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27543         (create): Put checkbox widget into an event box so it paints properly.
27544         (connectSignals): Fixed to use new function.
27545         (nativeSetCheckboxGroup): Likewise.
27546         (gtkToggleButtonSetActive): Likewise.
27547         (gtkWidgetModifyFont): Likewise.
27548         (gtkButtonSetLabel): Likewise.
27549         (combobox_get_widget): New function.
27550
27551 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27552
27553         * javax/swing/text/rtf/package.html: New file.
27554         
27555 2006-03-10  Roman Kennke  <kennke@aicas.com>
27556
27557         * javax/swing/plaf/metal/OceanTheme.java
27558         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27559         * javax/swing/plaf/metal/MetalScrollBarUI.java
27560         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27561         (paintThumbHorizontal): Added handling of OceanTheme.
27562         (paintThumbVertical): Added handling of OceanTheme.
27563
27564 2006-03-10  Roman Kennke  <kennke@aicas.com>
27565
27566         Reported by Fridjof Siebert <siebert@aicas.com>
27567         * java/awt/MediaTracker.java
27568         (removeImage): Only set prev to e when the the images of the
27569         entries are not the same. This avoids a potentially corrupt list.
27570
27571 2006-03-10  Chris Burdess  <dog@gnu.org>
27572
27573         PR 26620:
27574         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27575           checking while reindenting.
27576
27577 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27578
27579         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27580
27581 2006-03-09  Tom Tromey  <tromey@redhat.com>
27582
27583         PR classpath/26585:
27584         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27585         subdir.  Added README.
27586         (install-data-local): Removed.
27587         (uninstall-local): Likewise.
27588         (EXTRA_DIST): Removed.
27589
27590 2006-03-09  Tom Tromey  <tromey@redhat.com>
27591
27592         PR classpath/26623:
27593         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27594         Renamed.
27595         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27596         Renamed.
27597         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27598         Renamed.
27599         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27600         Renamed.
27601         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27602         Renamed.
27603         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27604         Renamed.
27605         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27606         Renamed.
27607         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27608         Renamed.
27609         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27610         Renamed.
27611         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27612         Renamed.
27613         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27614         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27615
27616 2006-03-09  Keith Seitz  <keiths@redhat.com>
27617
27618         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27619         (executeVariableTable): Use VMMethod instead of reflection.
27620         (executeLineTable): Likewise.
27621         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27622         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27623         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27624         (getLineTable): Removed. Now resides in VMMethod.
27625         (getVarTable): Likewise.
27626         (getAllClassMethods): New method.
27627         
27628 2006-03-09  Keith Seitz  <keiths@redhat.com>
27629
27630         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27631         * gnu/classpath/jdwp/event/ThreadStartEvent.java
27632         (ThreadStartEvent): Likewise.
27633         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27634         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27635         (ConditionalFilter): Likewise.
27636         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27637         (ExceptionOnlyFilter): Likewise.
27638         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27639         (FieldOnlyFilter): Likewise.
27640         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27641         (getSize): Likewise.
27642         (StepFilter): Likewise.
27643         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27644         * gnu/classpath/jdwp/transport/JdwpPacket.java
27645         (JdwpPacket): Likewise.
27646         (fromBytes): Likewise.
27647         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27648         (JdwpReplyPacket): Likewise.
27649         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27650         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27651         (getReferenceType): Likewise.
27652         (newObjectId): Likewise.
27653         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27654         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27655         (getFrames): Fix typo in parameter name and update javadoc.
27656         (getClassMethod): Update javadoc.
27657
27658 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
27659
27660         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27661         * javax/swing/event/TreeSelectionListener.java: Likewise.
27662
27663 2006-03-09  Lillian Angel  <langel@redhat.com>
27664
27665         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27666         (getHScrollbarHeight): Fixed property name.
27667         (getVScrollbarHeight): Likewise.
27668
27669 2006-03-09  Lillian Angel  <langel@redhat.com>
27670
27671         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27672         (get_widget): New function.
27673         (gtkWidgetSetParent): Changed to use new function.
27674         (gtkWidgetSetCursorUnlocked): Likewise.
27675         (gtkWidgetSetSensitive): Likewise.
27676         (gtkWidgetRequestFocus): Likewise.
27677         (gtkWindowGetLocationOnScreen): Likewise.
27678         (gtkWidgetGetDimensions): Likewise.
27679         (gtkWidgetGetPreferredDimensions): Likewise.
27680         (setNativeBounds): Likewise.
27681         (gtkWidgetGetBackground): Likewise.
27682         (gtkWidgetGetForeground): Likewise.
27683         (gtkWidgetSetBackground): Likewise.
27684         (gtkWidgetSetForeground): Likewise.
27685         (setVisibleNativeUnlocked): Likewise.
27686         (isEnabled): Likewise.
27687         (isRealized): Likewise.
27688         (setNativeEventMask): Likewise.
27689
27690 2006-03-09  Lillian Angel  <langel@redhat.com>
27691
27692         PR Classpath\22163
27693         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27694         (create): Added combobox widget to an event box.
27695         (connectSignals): Added call to choice_get_widget to get the
27696         combobox out of the event box.
27697         (append): Likewise.
27698         (nativeRemoveAll): Likewise.
27699         (nativeRemove): Likwise.
27700         (nativeAdd): Likewise.
27701         (selectNative): Likewise.
27702         (choice_get_widget): New function.
27703         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27704         (create): Added list scroll window widget to an event box.
27705         (connectSignals): Changed call to use new function to get the
27706         correct widget out of the event box.
27707         (getWidgetModifyFont): Likewise.
27708         (getWidgetRequestFocus): Likewise.
27709         (append): Likewise.
27710         (add): Likewise.
27711         (delItems): Likewise.
27712         (select): Likewise.
27713         (deselect): Likewise.
27714         (getSize): Likewise.
27715         (getSelectedIndexes): Likewise.
27716         (makeVisible): Likewise.
27717         (setMultipleMode): Likewise.
27718         (list_get_widget): New function.
27719         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27720         (create): Added scrollpane to an eventbox.
27721         (setScrollPosition): Changed call to use new function to get the
27722         correct widget out of the event box.
27723         (gtkScrolledWindowSetHScrollIncrement): Likewise.
27724         (gtkScrolledWindowSetVScrollIncrement): Likewise.
27725         (getHScrollbarHeight): Likewise.
27726         (getVScrollbarWidth): Likewise.
27727         (setPolicy): Likewise.
27728         (scrollpane_get_widget): New function.
27729         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27730         (connectSignals): Changed call to use new function to get the
27731         correct widget out of the event box.
27732         (create): Added scrollbar to an eventbox.
27733         (setLineIncrement): Changed call to use new function to get the
27734         correct widget out of the event box.
27735         (setPageIncrement): Likewise.
27736         (setBarValues): Likewise.
27737         (scrollbar_get_widget): New function.
27738         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27739         (create): Added text area scroll window widget to an event box.
27740         (connectSignals): Changed call to use new function to get the
27741         correct widget out of the event box.
27742         (insert): Likewise.
27743         (replaceRange): Likewise.
27744         (gtkWidgetModifyFont): Likewise.
27745         (gtkWidgetRequestFocus): Likewise.
27746         (getHScrollbarHeight): Likewise.
27747         (getVScrollbarWidth): Likewise.
27748         (getCaretPosition): Likewise.
27749         (setCaretPosition):Likewise.
27750         (getSelectionStart): Likewise.
27751         (getSelectionEnd): Likewise.
27752         (select): Likewise.
27753         (setEditable): Likewise.
27754         (getText): Likewise.
27755         (setText): Likewise.
27756         (textarea_get_widget): New function.
27757
27758 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27759
27760         * java/rmi/dgc/VMID.java: 
27761         (equals, hashCode, static initializer): Rewritten.
27762         * java/rmi/dgc/package.html: Documented.
27763         
27764 2006-03-09  Mark Wielaard  <mark@klomp.org>
27765
27766         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27767         New static field.
27768         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27769         (canCache): Likewise.
27770         (GtkClipboard): Take String argument.
27771         (getInstance): Removed.
27772         (getClipboardInstance, getSelectionInstance): New static methods.
27773         (setSystemContents): Make synchronized. Takes boolean argument.
27774         (initNativeState): Add clipboard and selection.
27775         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27776         (announceClipboardChange, announcePrimaryChange): New static field.
27777         (announce): Take GtkClipboard as argument.
27778         (run): Check which clipboard to announce change for.
27779         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27780         boolean field.
27781         (GtkSelection): Take GtkClipboard as argument.
27782         (requestText, requestImage, requestURIs, requestBytes): Add boolean
27783         clipboard argument.
27784         (requestMimeTypes): Likewise.
27785         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27786         New method.
27787         * java/awt/Toolkit.java (getSystemSelection): Document.
27788         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27789         (cp_gtk_selection_instance): New var.
27790         (current_selection, owner): Removed.
27791         (clipboard_owner_change_cb): Use clipboard argument.
27792         (initNativeState): Store clipboard and selection instances. Cache
27793         setSystemContentsID, provideContentID, provideTextID, provideImageID,
27794         and provideURIsID.
27795         (clipboard_get_func): Use clipboard argument.
27796         (clipboard_clear_func): Likewise. Always call method.
27797         (advertiseContent): Don't cache method ids here. Check whether to
27798         use clpboard or selection. Don't set owner or current_selection.
27799         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27800         (requestText, requestImage, requestURIs, requestBytes): Use extra
27801         boolean argument to select clipboard.
27802         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27803         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27804         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27805         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27806
27807 2006-03-09  Keith Seitz  <keiths@redhat.com>
27808
27809         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27810         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27811         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27812         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27813         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27814         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27815         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27816         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27817         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27818
27819 2006-03-09  Mark Wielaard  <mark@klomp.org>
27820
27821         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27822         bounds for index is valid.
27823         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27824         (paint): Likewise.
27825         (getCellBounds): Update documentation.
27826
27827 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
27828
27829         * .classpath: added exclude pattern on source folders
27830         (Makefiles, README and .cvsignore)
27831
27832 2006-03-08  Michael Koch  <konqueror@gmx.de>
27833
27834         * java/net/Proxy.java (NO_PROXY): Made final.
27835         (equals): Likewise.
27836         (hashCode): Likewise.
27837
27838 2006-03-08  Keith Seitz  <keiths@redhat.com>
27839
27840         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27841         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27842         (getClassMethod): New method.
27843
27844 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27845
27846         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27847     
27848 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27849
27850         * java/rmi/server/ObjID.java: Documented and autoformatted.
27851
27852 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27853
27854         PR 26584
27855         * tools/Makefile.am (install-data-local,
27856         uninstall-local): Install/uninstall the tools/README only.
27857         * tools/gnu/classpath/tools/giop/README: Updated.
27858         * tools/README: New file.
27859
27860 2006-03-08  Lillian Angel  <langel@redhat.com>
27861
27862         * java/awt/GridBagLayout.java
27863         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27864         then the next item should be set to current_y (not 0).
27865
27866 2006-03-08  Lillian Angel  <langel@redhat.com>
27867
27868         * java/awt/GridBagLayout.java
27869         (GetLayoutInfo): If gridy is RELATIVE and there is no component
27870         in the bottom-most spot of the column, we need to place that component
27871         at the y-location of the other components in that row. If there are
27872         no other components in that row, then place it at y = 0.
27873
27874 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
27875
27876         * javax/swing/ProgressMonitor.java: Updated API docs,
27877         * javax/swing/ProgressMonitorInputStream.java: Likewise.
27878
27879 2006-03-08  Michael Koch  <konqueror@gmx.de>
27880
27881         * java/net/InetSocketAddress.java
27882         (InetSocketAddress(String,int,resolve)): New private contructor.
27883         (InetSocketAddress(String,int)): Use new private constructor.
27884         (createUnresolved): New method.
27885
27886 2006-03-07  Michael Koch  <konqueror@gmx.de>
27887
27888         * gnu/java/net/DefaultProxySelector.java,
27889         java/net/Proxy.java, java/net/ProxySelector.java:
27890         New files.
27891
27892 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27893
27894         * java/rmi/server/UID.java (constructor): Assign last and time fields
27895         after pause.
27896
27897 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27898
27899         * java/rmi/server/UID.java: New file (replacing). 
27900
27901 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
27902
27903         * java/util/jar/Manifest.java: Removed unused imports.
27904         (CRLF): New constant.
27905         (read): Added method documentation.
27906         Use UTF-8 encoding instead of 8859_1.
27907         (write): Added method documentation.
27908         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27909         (write_main_section): Replace PrintWriter arg with OutputStream.
27910         Replace JarException with IOException.
27911         (write_version_info): Likewise.
27912         (write_main_attributes): Likewise.
27913         (write_attribute_entry): Likewise.
27914         (write_individual_sections): Likewise.
27915         (write_entry_attributes): Likewise.
27916         (write_header): Replace PrintWriter arg with OutputStream.
27917         Re-implemented.
27918
27919 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27920
27921         * javax/swing/tree/DefaultMutableTreeNode.java
27922         (getFirstChild): Updated API docs,
27923         (getLastChild): Likewise,
27924         (getChildAfter): Likewise,
27925         (getChildBefore): Likewise,
27926         (isNodeSibling): Return true if node == this,
27927         (getSiblingCount): Updated API docs,
27928         (getNextSibling): Likewise,
27929         (getPreviousSibling): Likewise,
27930         (isLeaf): Likewise,
27931         (getFirstLeaf): Likewise,
27932         (getLastLeaf): Likewise,
27933         (getNextLeaf): Implemented,
27934         (getPreviousLeaf): Implemented.
27935
27936 2006-03-07  Tom Tromey  <tromey@redhat.com>
27937
27938         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27939         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27940         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27941         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27942         field.
27943
27944 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27945
27946         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27947         (clone): Reimplemented,
27948         (add): Throw IllegalArgumentException if child is an ancestor,
27949         (remove(int)): Set child's parent to null,
27950         (remove(MutableTreeNode)): Check arguments and set child's parent to 
27951         null,
27952         (insert): Check allowsChildren flag, check for null argument, and
27953         check for a node that is an ancestor,
27954         (getIndex): Throw IllegalArgumentException for null argument,
27955         (setAllowsChildren): If setting to false, remove existing children,
27956         (removeAllChildren): Set parent to null for removed children.
27957
27958 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27959
27960         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27961         over.
27962
27963 2006-03-06  Tom Tromey  <tromey@redhat.com>
27964
27965         * java/lang/StrictMath.java (ulp): New methods.
27966         * java/lang/Math.java (ulp): New methods.
27967
27968 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27969
27970         * gnu/java/rmi/server/UnicastRef.java,
27971         * gnu/java/rmi/server/UnicastServer.java: Formatted.
27972         
27973 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27974
27975         * gnu/java/rmi/server/CombinedClassLoader.java 
27976         (findClass, findLibrary, findResouce, findResources): check
27977         all loaders in array.
27978         
27979 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27980
27981         PR 25526
27982         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27983         (RefProtector):    new inner class. (dirty): Rewritten.
27984         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27985         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27986         new methods. (readExternal): Create LeaseRenewingTask if non local.
27987         * gnu/java/rmi/server/UnicastServer.java (objects):
27988         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27989         (getExported): New method.
27990         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27991         
27992 2006-03-06  Mark Wielaard  <mark@klomp.org>
27993
27994         * doc/www.gnu.org/announce/20060306.wml: New file.
27995         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27996         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27997         
27998 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
27999
28000         * javax/swing/plaf/metal/MetalLookAndFeel.java
28001         (initComponentDefaults): Use Boolean.TRUE for
28002         'CheckBoxMenuItem.borderPainted'.
28003         
28004 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28005
28006         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28007         (dateFormat): Made private.
28008         (put): Replace only the last occurance and the value.
28009         (putAll): Reimplemented with the put method.
28010         
28011 2006-03-06  Lillian Angel  <langel@redhat.com>
28012
28013         PR classpath/26569
28014         * java/awt/List.java
28015         (preferredSize): Return the size of the list if the peer is 
28016         null.
28017         * gnu/java/awt/peer/gtk/GtkListPeer.java
28018         (preferredSize): Code was returning the minimum size of the 
28019         list. Added adjustment to the width of the list so it is a 
28020         proper size.
28021         
28022 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28023
28024         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28025         (getRequestProperty): Remove duplicated null check.
28026         * java/net/URLConnection.java:
28027         (URLConnection): Javadoc fix.
28028         (addRequestProperty): Likewise.
28029         (getDefaultRequestProperty): Likewise.
28030         (getHeaderField): Likewise.
28031         (getHeaderFieldDate): Likewise.
28032         (getHeaderFieldKey): Likewise.
28033         (getHeaderFields): Likewise.
28034         (getRequestProperties): Likewise.
28035         (getRequestProperty): Likewise.
28036         (setDefaultRequestProperty): Likewise.
28037         (setRequestProperty): Likewise.
28038         
28039 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28040       
28041         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28042         * examples/gnu/classpath/examples/swing/Demo.java:
28043         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28044         textarea example.
28045         (mkMenuBar): Added entry for text area example.
28046         
28047 2006-03-06  Tom Tromey  <tromey@redhat.com>
28048
28049         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28050         (FORMATTED_TEXT_FIELD): Likewise.
28051         
28052 2006-03-06  Tom Tromey  <tromey@redhat.com>
28053
28054         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28055         
28056 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28057
28058         * examples/gnu/classpath/examples/swing/Demo.java:
28059         (mkMenuBar): Added menu entry that will display the VM's name,
28060         version and distributor.
28061         
28062 2006-03-06  Tom Tromey  <tromey@redhat.com>
28063          
28064         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28065         Javadoc fix.
28066         (getName): Likewise.
28067         
28068 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28069
28070         * java/util/jar/Manifest.java: Removed unused imports.
28071         (CRLF): New constant.
28072         (read): Added method documentation.
28073         Use UTF-8 encoding instead of 8859_1.
28074         (write): Added method documentation.
28075         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28076         (write_main_section): Replace PrintWriter arg with OutputStream.
28077         Replace JarException with IOException.
28078         (write_version_info): Likewise.
28079         (write_main_attributes): Likewise.
28080         (write_attribute_entry): Likewise.
28081         (write_individual_sections): Likewise.
28082         (write_entry_attributes): Likewise.
28083         (write_header): Replace PrintWriter arg with OutputStream.
28084         Re-implemented.
28085         
28086 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28087
28088         
28089         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28090         API doc tag warnings,
28091         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28092         
28093 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28094
28095         * gnu/java/net/protocol/file/Connection.java (unquote):
28096         Update position in buffer after decoding a unicode character
28097         outside of the basic plane.
28098         
28099 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28100
28101         * java/net/URI.java
28102         (quote): Pass Unicode characters outside the basic plane through.
28103         
28104 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28105        
28106         * javax/swing/plaf/basic/BasicTextUI.java:
28107         (damageRange): Rewritten if-expressions to correctly identify the
28108         break condition.
28109
28110 2006-03-06  Mark Wielaard  <mark@klomp.org>
28111
28112         * configure.ac: Set version to 0.90-generics.
28113         * NEWS: Fix typos.
28114
28115 2006-03-06  Mark Wielaard  <mark@klomp.org>
28116
28117         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28118         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28119         (isnan): Define explicitly isnan if it is not a macro.
28120
28121 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28122
28123         * javax/swing/text/GapContent.java:
28124         (insertString): Throw exception when argument is below
28125         zero.
28126
28127 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28128
28129         * javax/swing/text/PlainDocument.java:
28130         (insertUpdate): Extended if-expression, added
28131         code to generate another Element when newly inserted characters
28132         and old ones will be on the same line.
28133
28134 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28135
28136         * javax/swing/text/DefaultCaret.java:
28137         (mouseDragged): Do selection when shift is pressed.
28138         (mouseClicked): Implemented.
28139
28140 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28141
28142         * javax/swing/text/PlainDocument.java: Fix copyright header,
28143         added author tags.
28144         (insertUpdate): Do not copy the whole document any more, added some
28145         more variables to prevent needless method calls.
28146
28147 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28148
28149         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28150         is required on Darwin.
28151         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28152         (AM_CFLAGS): Likewise.
28153
28154 2006-03-06  Mark Wielaard  <mark@klomp.org>
28155
28156         * NEWS: Add updates for 0.90 release.
28157
28158 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28159
28160         * javax/swing/text/GapContent.java:
28161         (insertString): Throw exception when argument is below
28162         zero.
28163
28164 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28165
28166         
28167         * javax/swing/filechooser/FileFilter.java:
28168         (accept): Fixed API doc tag,
28169        (getDescription): Likewise,
28170         * javax/swing/filechooser/FileView.java:       
28171         (isTraversable): Fixed API doc tag.
28172
28173 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28174
28175         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28176         added API docs all over.
28177
28178 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28179
28180         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28181         and corrected a bad API doc tag.
28182
28183 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28184
28185         * javax/swing/undo/StateEditable.java
28186         (restoreState): Fixed bad API doc tag,
28187         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28188         AbstractUndoableEdit.java,
28189         * javax/swing/undo/UndoableEditSupport.java
28190         (createCompoundEdit): Fixed bad API doc tag,
28191         * javax/swing/undo/UndoManager.java
28192         (editToBeUndone): Fixed bad API doc tag,
28193         (editToBeRedone): Likewise.
28194
28195 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28196
28197         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28198         * javax/swing/FocusManager.java: Likewise.
28199
28200
28201 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28202
28203         
28204         * javax/swing/plaf/metal/MetalComboBoxButton.java
28205         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28206         JList)): Fixed API doc tag,
28207         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28208         (createLayout): Fixed API doc warning.
28209         
28210 2006-03-05  Tom Tromey  <tromey@redhat.com>
28211
28212         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28213         ClassHelper.getUserName.
28214         * vm/reference/java/lang/reflect/Method.java (toString): Use
28215         ClassHelper.getUserName.
28216         (getUserTypeName): Removed.
28217         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28218         * vm/reference/java/lang/reflect/Field.java (toString): Use
28219         ClassHelper.getUserName.
28220
28221 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28222
28223         Fixes PR 22813
28224         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28225         Allows directories as valid resources.
28226
28227 2006-03-05  Mark Wielaard  <mark@klomp.org>
28228
28229         * configure.ac (VERSION): Set to 0.90-pre-generics.
28230         * Merge with CVS trunk from classpath-0_90-branch-point.
28231
28232 2006-03-04  Tom Tromey  <tromey@redhat.com>
28233
28234         * javax/swing/SpringLayout.java (Constraints): New constructor.
28235         * javax/swing/Spring.java (width): New method.
28236         (height): Likewise.
28237         (scale): Likewise.
28238
28239 2006-03-04  Mark Wielaard  <mark@klomp.org>
28240
28241         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28242         existing connection from pool before returning.
28243
28244 2006-03-04  Mark Wielaard  <mark@klomp.org>
28245
28246         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28247         exceptions thrown by handlers while cleaning up and rethrow original
28248         exception.
28249
28250 2006-03-04  Tom Tromey  <tromey@redhat.com>
28251
28252         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28253         method.
28254         (findConstructor): Likewise.
28255         (instantiateClass): Likewise.
28256
28257 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28258
28259         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28260         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28261         lease value and not always the default one.
28262         (LeaseRecord): Remember the array of objects, marked as dirty.
28263         java/rmi/dgc/Lease.java: Boilerplate fix.
28264
28265 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28266
28267         * java/util/jar/Attributes.java (putValue): Made it public and updated
28268         method documentation.
28269
28270 2006-03-04  Mark Wielaard  <mark@klomp.org>
28271
28272         * java/awt/Container.java (remove(int)): Always call removeNotify()
28273         on removed Component.
28274
28275 2006-03-04  Mark Wielaard  <mark@klomp.org>
28276
28277         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28278         * javax/swing/JEditorPane.java (setText): Check for empty String
28279         with equals(), not equality (==).
28280
28281 2006-03-04  Mark Wielaard  <mark@klomp.org>
28282
28283         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28284         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28285
28286 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28287
28288         * javax/swing/text/GapContent.java
28289         (getArray): Mark as final.
28290
28291 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28292
28293         * javax/swing/text/StyleConstants.java
28294         (CharacterConstants.Background): Marked final,
28295         (CharacterConstants.BidiLevel): Likewise,
28296         (CharacterConstants.Bold): Likewise,
28297         (CharacterConstants.ComponentAttribute): Likewise,
28298         (CharacterConstants.Family): Likewise,
28299         (CharacterConstants.Size): Likewise,
28300         (CharacterConstants.Foreground): Likewise,
28301         (CharacterConstants.IconAttribute): Likewise,
28302         (CharacterConstants.Italic): Likewise,
28303         (CharacterConstants.StrikeThrough): Likewise,
28304         (CharacterConstants.Subscript): Likewise,
28305         (CharacterConstants.Superscript): Likewise,
28306         (CharacterConstants.Underline): Likewise,
28307         (ColorConstants.Foreground): Likewise,
28308         (ColorConstants.Background): Likewise,
28309         (FontConstants.Bold): Likewise,
28310         (FontConstants.Family): Likewise,
28311         (FontConstants.Italic): Likewise,
28312         (FontConstants.Size): Likewise,
28313         (ParagraphConstants.Alignment): Likewise,
28314         (ParagraphConstants.FirstLineIndent): Likewise,
28315         (ParagraphConstants.LeftIndent): Likewise,
28316         (ParagraphConstants.LineSpacing): Likewise,
28317         (ParagraphConstants.Orientation): Likewise,
28318         (ParagraphConstants.RightIndent): Likewise,
28319         (ParagraphConstants.SpaceAbove): Likewise,
28320         (ParagraphConstants.SpaceBelow): Likewise,
28321         (ParagraphConstants.TabSet): Likewise.  
28322
28323 2006-03-03  Tom Tromey  <tromey@redhat.com>
28324
28325         * javax/net/ssl/SSLException.java: Added missing @since.
28326         Wrote javadoc.
28327
28328 2006-03-03  Tom Tromey  <tromey@redhat.com>
28329
28330         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28331         (serialVersionUID): New field.
28332
28333 2006-03-03  Tom Tromey  <tromey@redhat.com>
28334
28335         * java/security/spec/InvalidKeySpecException.java
28336         (InvalidKeySpecException): New constructors.
28337         * java/security/cert/CertificateParsingException.java
28338         (CertificateParsingException): New constructors.
28339         * java/security/cert/CertificateEncodingException.java
28340         (CertificateEncodingException): New constructors.
28341         * java/security/cert/CertificateException.java (CertificateException):
28342         New constructors.
28343         * java/security/cert/CRLException.java (CRLException): New
28344         constructors.
28345
28346 2006-03-03  Tom Tromey  <tromey@redhat.com>
28347
28348         * java/security/SignatureException.java (SignatureException): New
28349         constructors.
28350         * java/security/ProviderException.java (ProviderException): New
28351         constructors.
28352         * java/security/NoSuchAlgorithmException.java
28353         (NoSuchAlgorithmException): New constructors.
28354         * java/security/KeyStoreException.java (KeyStoreException): New
28355         constructors.
28356         * java/security/KeyManagementException.java (KeyManagementException):
28357         New constructors.
28358         * java/security/InvalidKeyException.java (InvalidKeyException): New
28359         constructors.
28360         * java/security/KeyException.java (KeyException): New constructors.
28361         * java/security/InvalidAlgorithmParameterException.java
28362         (InvalidAlgorithmParameterException): New constructors.
28363         * java/security/DigestException.java (DigestException): New
28364         constructors.
28365         * java/security/GeneralSecurityException.java
28366         (GeneralSecurityException): New constructors.
28367
28368 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28369
28370         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28371         warnings,
28372         * javax/swing/event/DocumentEvent.java: Likewise,
28373         * javax/swing/event/EventListenerList.java: Likewise,
28374         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28375         * javax/swing/event/MenuKeyEvent.java: Likewise,
28376         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28377         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28378         * javax/swing/event/TreeModelEvent.java: Likewise,
28379         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28380         * javax/swing/event/UndoableEditEvent.java: Likewise.
28381
28382 2006-03-03  Tom Tromey  <tromey@redhat.com>
28383
28384         * java/awt/Insets.java (set): New method.
28385         (equals): Added @since.
28386
28387 2006-03-03  David Daney  <ddaney@avtrex.com>
28388
28389         * gnu/java/net/protocol/http/HTTPURLConnection.java
28390         (getRequestProperties): Rewrote.
28391         (addRequestProperty): Rewrote.
28392         (getHeaderFields): Rewrote.
28393         (getHeaderField): Rewrote.
28394         (getHeaderFieldKey): Rewrote.
28395         (getHeaderField): Removed useless cast.
28396         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28397         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28398         interface.
28399         (notifyHeaderHandlers): Use new Headers interface.
28400
28401 2006-03-03  Tom Tromey  <tromey@redhat.com>
28402
28403         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28404         * javax/naming/spi/ResolveResult.java,
28405         javax/naming/event/NamingExceptionEvent.java,
28406         javax/naming/event/NamingEvent.java,
28407         javax/naming/directory/SearchResult.java,
28408         javax/naming/directory/SearchControls.java,
28409         javax/naming/directory/SchemaViolationException.java,
28410         javax/naming/directory/NoSuchAttributeException.java,
28411         javax/naming/directory/ModificationItem.java,
28412         javax/naming/directory/InvalidSearchFilterException.java,
28413         javax/naming/directory/InvalidSearchControlsException.java,
28414         javax/naming/directory/InvalidAttributesException.java,
28415         javax/naming/directory/InvalidAttributeIdentifierException.java,
28416         javax/naming/directory/AttributeModificationException.java,
28417         javax/naming/directory/AttributeInUseException.java,
28418         javax/naming/TimeLimitExceededException.java,
28419         javax/naming/SizeLimitExceededException.java,
28420         javax/naming/PartialResultException.java,
28421         javax/naming/Reference.java,
28422         javax/naming/ServiceUnavailableException.java,
28423         javax/naming/OperationNotSupportedException.java,
28424         javax/naming/NotContextException.java,
28425         javax/naming/NoPermissionException.java,
28426         javax/naming/NoInitialContextException.java,
28427         javax/naming/NameNotFoundException.java,
28428         javax/naming/NameAlreadyBoundException.java,
28429         javax/naming/NameClassPair.java,
28430         javax/naming/MalformedLinkException.java,
28431         javax/naming/LinkLoopException.java,
28432         javax/naming/LinkException.java,
28433         javax/naming/LimitExceededException.java,
28434         javax/naming/InvalidNameException.java,
28435         javax/naming/InterruptedNamingException.java,
28436         javax/naming/InsufficientResourcesException.java,
28437         javax/naming/ContextNotEmptyException.java,
28438         javax/naming/ConfigurationException.java,
28439         javax/naming/CannotProceedException.java,
28440         javax/naming/CommunicationException.java,
28441         javax/naming/Binding.java,
28442         javax/naming/AuthenticationNotSupportedException.java,
28443         javax/naming/AuthenticationException.java: Added serialVersionUID.
28444
28445 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28446
28447         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28448
28449 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28450
28451         * javax/swing/event/TableModelListener.java: Updated API docs.
28452
28453 2006-03-03  Mark Wielaard  <mark@klomp.org>
28454
28455         * java/awt/Component.java (addNotify): Expand documentation.
28456
28457 2006-03-03  Mark Wielaard  <mark@klomp.org>
28458
28459         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28460         Always call setParentAndBounds().
28461         (setComponentBounds): Always call setBounds().
28462         (setBounds): Call setVisible().
28463         (setVisible): If no pixels are showing then don't make it visible.
28464         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28465         to call setParentAndBounds() anymore.
28466
28467 2006-03-03  Roman Kennke  <kennke@aicas.com>
28468
28469         * javax/swing/JInternalFrame.java
28470         (JInternalFrame): Set frame invisible.
28471         (show): Reformatted.
28472         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28473         (installDefaults): Do not set invisible here.
28474
28475 2006-03-03  Roman Kennke  <kennke@aicas.com>
28476
28477         * java/awt/Toolkit.java
28478         (getScreenInsets): Return (0,0,0,0) here.
28479
28480 2006-03-03  Roman Kennke  <kennke@aicas.com>
28481
28482         * javax/swing/text/FlowView.java
28483         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28484         (FlowStrategy.getLogicalView): Made method protected.
28485
28486 2006-03-03  Chris Burdess  <dog@gnu.org>
28487
28488         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28489           gnu/xml/validation/relaxng/AttributePattern.java,
28490           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28491           gnu/xml/validation/relaxng/ChoicePattern.java,
28492           gnu/xml/validation/relaxng/DataPattern.java,
28493           gnu/xml/validation/relaxng/Define.java,
28494           gnu/xml/validation/relaxng/ElementPattern.java,
28495           gnu/xml/validation/relaxng/EmptyPattern.java,
28496           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28497           gnu/xml/validation/relaxng/Grammar.java,
28498           gnu/xml/validation/relaxng/GrammarException.java,
28499           gnu/xml/validation/relaxng/GrammarValidator.java,
28500           gnu/xml/validation/relaxng/GroupPattern.java,
28501           gnu/xml/validation/relaxng/InterleavePattern.java,
28502           gnu/xml/validation/relaxng/ListPattern.java,
28503           gnu/xml/validation/relaxng/NSNameNameClass.java,
28504           gnu/xml/validation/relaxng/NameClass.java,
28505           gnu/xml/validation/relaxng/NameNameClass.java,
28506           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28507           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28508           gnu/xml/validation/relaxng/Param.java,
28509           gnu/xml/validation/relaxng/Pattern.java,
28510           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28511           gnu/xml/validation/relaxng/RefPattern.java,
28512           gnu/xml/validation/relaxng/TextPattern.java,
28513           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28514           builder and data model.
28515         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28516           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28517           gnu/xml/validation/xmlschema/AttributeUse.java,
28518           gnu/xml/validation/xmlschema/ComplexType.java,
28519           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28520           gnu/xml/validation/xmlschema/Particle.java,
28521           gnu/xml/validation/xmlschema/ValidationException.java,
28522           gnu/xml/validation/xmlschema/XMLSchema.java,
28523           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28524           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28525           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28526           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28527           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28528           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28529           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28530           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28531           W3C XML Schema builder and schema components.
28532         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28533           XML Schema namespace URIs.
28534
28535 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28536
28537         * NEWS: Add entry for --enable-collections.
28538         * configure.ac: Add --enable-collections option.
28539         * lib/Makefile.am (collections.jar): New target.
28540         (glibj_DATA): Add $(COLLECTIONS).
28541         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28542         configure substitution.
28543         (classpath): Read from command line.
28544         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28545
28546 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28547
28548         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28549
28550 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28551
28552         * javax/swing/event/ListSelectionEvent.java
28553         (toString): Implemented,
28554         plus updated API docs all over.
28555
28556 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28557
28558         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28559         API doc warnings,
28560         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28561
28562 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28563
28564         * gnu/java/rmi/dgc/DGCImpl.java,
28565         java/rmi/dgc/DGC.java,
28566         java/rmi/dgc/Lease.java: Formatted and commented.
28567
28568 2006-03-03  Roman Kennke  <kennke@aicas.com>
28569
28570         * NEWS: Added comment about text highlighting and copy+paste
28571         in Swing.
28572
28573 2006-03-03  Roman Kennke  <kennke@aicas.com>
28574
28575         * javax/swing/JTabbedPane.java
28576         (remove(int)): Call super.remove(int) instead of remove(Component).
28577         Avoids a stack overflow.
28578
28579 2006-03-03  Roman Kennke  <kennke@aicas.com>
28580
28581         * javax/swing/JTable.java
28582         (distributeSpillResizing): Avoid ArithmeticException by checking
28583         divisor.
28584
28585 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28586
28587         * javax/swing/text/package.html: Added package description.
28588
28589 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28590
28591         * javax/swing/CellRendererPane.java: Minor API doc fix,
28592         * javax/swing/ComboBoxModel.java: Updated API docs.
28593
28594 2006-03-03  Chris Burdess  <dog@gnu.org>
28595
28596         Fixes PR 26503
28597         * gnu/xml/stream/EntityReferenceImpl.java,
28598           gnu/xml/stream/FilteredEventReader.java,
28599           gnu/xml/stream/SAXParser.java,
28600           gnu/xml/stream/XIncludeFilter.java,
28601           gnu/xml/stream/XMLEventAllocatorImpl.java,
28602           gnu/xml/stream/XMLEventFactoryImpl.java,
28603           gnu/xml/stream/XMLEventImpl.java,
28604           gnu/xml/stream/XMLEventReaderImpl.java,
28605           gnu/xml/stream/XMLEventWriterImpl.java,
28606           gnu/xml/stream/XMLInputFactoryImpl.java,
28607           gnu/xml/stream/XMLOutputFactoryImpl.java,
28608           gnu/xml/stream/XMLParser.java,
28609           javax/xml/stream/EventFilter.java,
28610           javax/xml/stream/Location.java,
28611           javax/xml/stream/StreamFilter.java,
28612           javax/xml/stream/XMLEventFactory.java,
28613           javax/xml/stream/XMLEventReader.java,
28614           javax/xml/stream/XMLEventWriter.java,
28615           javax/xml/stream/XMLInputFactory.java,
28616           javax/xml/stream/XMLOutputFactory.java,
28617           javax/xml/stream/XMLReporter.java,
28618           javax/xml/stream/XMLResolver.java,
28619           javax/xml/stream/XMLStreamConstants.java,
28620           javax/xml/stream/XMLStreamReader.java,
28621           javax/xml/stream/events/EntityDeclaration.java,
28622           javax/xml/stream/events/EntityReference.java,
28623           javax/xml/stream/events/XMLEvent.java,
28624           javax/xml/stream/util/EventReaderDelegate.java,
28625           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28626           StAX API as specified in JWSDP 2.0.
28627         * gnu/xml/stream/EndEntityImpl.java,
28628           gnu/xml/stream/LocationImpl.java,
28629           gnu/xml/stream/StartEntityImpl.java,
28630           gnu/xml/stream/XMLStreamReaderImpl.java,
28631           javax/xml/stream/XMLFilter.java,
28632           javax/xml/stream/XMLIterator.java,
28633           javax/xml/stream/events/EndEntity.java,
28634           javax/xml/stream/events/StartEntity.java: Removed legacy files.
28635
28636 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28637
28638         * javax/swing/CellEditor.java: API doc updates,
28639         * javax/swing/DefaultCellEditor.java: Likewise.
28640
28641 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28642
28643         * javax/swing/AbstractListModel.java:
28644         (AbstractListModel): Added API docs,
28645         (fireContentsChanged): Minor API doc correction,
28646         (fireIntervalAdded): Likewise,
28647         (fireIntervalRemoved): Likewise.
28648
28649 2006-03-03  Roman Kennke  <kennke@aicas.com>
28650
28651         * NEWS: Added paragraph about Swing improvements.
28652
28653 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28654
28655         * javax/swing/AbstractAction.java: Updated API docs all over,
28656         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28657         (stopCellEditing): Minor API doc correction,
28658         * javax/swing/UnsupportedLookAndFeelException.java
28659         (UnsupportedLookAndFeelException): Changed argument name, updated API
28660         docs.
28661
28662 2006-03-03  Roman Kennke  <kennke@aicas.com>
28663
28664         * javax/swing/plaf/metal/MetalUtils.java
28665         (fillMetalPattern): Added switch to not use Graphics2D methods,
28666         even if they are available.
28667
28668 2006-03-03  Roman Kennke  <kennke@aicas.com>
28669
28670         * javax/swing/plaf/basic/BasicHTML.java
28671         (isHTMLString): Check for string beeing null.
28672         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28673         (BasicInternalFrameListener.internalFrameActivated): Implemented.
28674         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28675         (InternalFrameLayout): Don't touch the glass pane here.
28676         (installUI): Fix handling of glass pane.
28677         * javax/swing/plaf/basic/BasicLabelUI.java
28678         (vr): New field.
28679         (ir): New field.
28680         (tr): New field.
28681         (BasicLabelUI): Initialize new fields.
28682         (getPreferredSize): Avoid creating new Rectangles by using
28683         SwingUtilities method.
28684         (paint): Avoid creating new Rectangles by reusing
28685         new fields. Added some preliminary handling of HTML inside the
28686         label.
28687         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28688         (uninstallComponents): Clear HTML renderer.
28689         (propertyChange): Check for HTML text and install renderer if
28690         appropriate.
28691         * javax/swing/plaf/basic/BasicListUI.java
28692         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28693         method.
28694         * javax/swing/plaf/basic/BasicTextUI.java
28695         (RootView.getStartOffset): Implemented.
28696         (RootView.getEndOffset): Implemented.
28697         (RootView.getDocument): Implemented.
28698
28699 2006-03-03  Roman Kennke  <kennke@aicas.com>
28700
28701         * javax/swing/text/DefaultStyledDocument.java
28702         (ElementBuffer.inserUpdate): Added check for zero-length
28703         element.
28704         * javax/swing/text/DefaultStyledDocument.java
28705         (setIndex): Improved exception message.
28706         * javax/swing/text/TableView.java
28707         Made class abstract.
28708         (TableRow.replace): Probably extend columnRequirements
28709         arrays.
28710         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28711         of super.layoutMajorAxis.
28712         (columnRequirements): Made field package private.
28713         (TableView): Do not load any child views here.
28714         (layoutColumns): Implemented this method.
28715         (updateColumnRequirements): New helper method.
28716         * javax/swing/text/Utilities.java
28717         (getBreakLocation): Also take offset into account when
28718         finding end location.
28719         * javax/swing/text/html/HTMLDocument.java
28720         (HTMLReader.parseStack): New field.
28721         (HTMLReader.blockOpen): Properly handle p-implied tags.
28722         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28723         (HTMLReader.addContent): Insert p-implied when adding content to
28724         a block element.
28725         * javax/swing/text/html/HTMLEditorKit.java
28726         (HTMLFactory.create): Create HTMLTableView for <table> tags and
28727         ParagraphView for TD tags. Print out warning for tags that don't have
28728         matching view yet and create NullView for them.
28729         (read): Only set document base when document != null.
28730         * javax/swing/text/html/HTMLTableView.java:
28731         New class
28732
28733 2006-03-03  Roman Kennke  <kennke@aicas.com>
28734
28735         * javax/swing/plaf/basic/BasicHTML.java
28736         (HTMLRootView): New inner class.
28737         (createHTMLView): Embed view inside a HTMLRootView.
28738
28739 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
28740
28741         * gnu/java/net/protocol/jar/Connection.java: 
28742         (connect): Throw FileNotFoundException.
28743         (getInputStream): Remove duplicated code.
28744
28745 2006-03-03  Roman Kennke  <kennke@aicas.com>
28746
28747         * javax/swing/RepaintManager.java
28748         (commitBuffer): Added null check for clip.
28749
28750 2006-03-02  Lillian Angel <langel@redhat.com>
28751
28752         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28753         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28754         to use GtkWidget instead of GTKMenu.
28755
28756 2006-03-02  Lillian Angel <langel@redhat.com>
28757
28758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28759         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
28760         use the submenu to get the list of children. This now works
28761         in the same way as addItem.
28762
28763 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
28764
28765         * java/lang/StringBuilder.java:
28766         (codePointAt): New method.
28767         (codePointBefore): Likewise.
28768         (codePointCount): Likewise.
28769         (trimToSize): Likewise.
28770
28771 2006-03-02  Tom Tromey  <tromey@redhat.com>
28772
28773         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28774
28775 2006-03-02  Tom Tromey  <tromey@redhat.com>
28776
28777         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28778         (getProviderInstance): 
28779
28780 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
28781
28782         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28783         Fix regression caused by move to VM variant.
28784         PR classpath/22926.
28785         
28786 2006-03-01  Tom Tromey  <tromey@redhat.com>
28787
28788         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28789         * vm/reference/java/net/VMInetAddress.java: Organized imports.
28790         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28791         imports for javadoc.
28792         (getProxyClass): Javadoc fixes.
28793         (getProxyData): Likewise.
28794         (generateProxyClass): Likewise.
28795         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28796         (setOut): Likewise.
28797         (setErr): Likewise.
28798         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28799         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28800         fix.
28801         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28802         javadoc.
28803         (getModifiers): Likewise.
28804         (getDeclaredClasses): Javadoc fix.
28805         (getDeclaredFields): Likewise.
28806         (getDeclaredMethods): Likewise.
28807         (getDeclaredConstructors): Likewise.
28808         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28809         Javadoc fix.
28810
28811 2006-03-01  Tom Tromey  <tromey@redhat.com>
28812
28813         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28814         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28815         (getVersion): Javadoc fix.
28816         (get): Likewise.
28817         * gnu/java/net/protocol/http/Headers.java: Organized imports.
28818         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28819
28820 2006-03-01  David Daney  <ddaney@avtrex.com>
28821
28822         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28823         as relative if it contains a colon but no protocol handler can be
28824         found.
28825
28826 2006-03-01  Roman Kennke  <kennke@aicas.com>
28827
28828         * javax/swing/text/AbstractDocument.java
28829         (LeafElement.LeafElement): Handle delta with respect to content
28830         length not document length.
28831         * javax/swing/text/CompositeView.java
28832         (getViewIndex): Handle bias correctly.
28833         * javax/swing/text/DefaultCaret.java
28834         (paint): Align caret position to document bounds to avoid trouble
28835         when removing large portions of content.
28836         * javax/swing/text/DefaultStyledDocument.java
28837         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28838         (ElementBuffer.createFracture): Copy old childs attribute. The
28839         ElementSpec usually doesn't carry attribute information.
28840         Use pos instead of offset.
28841         (ElementBuffer.insertFracture): Use pos instead of offset.
28842         (createDefaultRootElement): Don't use create* and instead directly
28843         instantiate the elements.
28844         (handleInsertAfterNewline): Compare the paragraphs startOffset
28845         rather than previous paragraphs endOffset.
28846         * javax/swing/text/JTextComponent.java
28847         (getScrollableTracksViewportWidth): Remove unnecessary cast to
28848         JViewport.
28849         (getScrollableTracksViewportHeight): Remove unnecessary cast to
28850         JViewport.
28851         * javax/swing/text/PlainView.java
28852         (damageLineRange): Avoid creating new Rectangle by using
28853         SwingUtilities.
28854         * javax/swing/text/View.java
28855         (forwardUpdate): Correct the use of bias.
28856         (modelToView): Avoid new Rectangles by using SwingUtilities.
28857         (dump): Made (temprorarily) protected for use in BasicTextUI.
28858         (dump(int)): Dump out the element of the view.
28859
28860 2006-03-01  Lillian Angel  <langel@redhat.com>
28861
28862         * NEWS: javax.imageio.plugins.bmp implementation.
28863
28864 2006-03-01  Lillian Angel  <langel@redhat.com>
28865
28866         * javax/imageio/ImageWriteParam.java: 
28867         Added documentation for fields.
28868         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28869         New class implemented.
28870
28871 2006-03-01  Tom Tromey  <tromey@redhat.com>
28872
28873         * NEWS: Mention java.util.prefs update.
28874
28875 2006-03-01  Tom Tromey  <tromey@redhat.com>
28876
28877         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28878         * java/nio/charset/UnmappableCharacterException.java:
28879         (serialVersionUID): New field.
28880         * java/nio/charset/MalformedInputException.java:
28881         (serialVersionUID): New field.
28882         * java/nio/charset/CoderMalfunctionError.java:
28883         (serialVersionUID): New field.
28884         * java/nio/charset/CharacterCodingException.java:
28885         (serialVersionUID): New field.
28886         * java/nio/channels/UnsupportedAddressTypeException.java:
28887         (serialVersionUID): New field.
28888         * java/nio/channels/UnresolvedAddressException.java:
28889         (serialVersionUID): New field.
28890         * java/nio/channels/OverlappingFileLockException.java:
28891         (serialVersionUID): New field.
28892         * java/nio/channels/NotYetConnectedException.java:
28893         (serialVersionUID): New field.
28894         * java/nio/channels/NotYetBoundException.java
28895         (serialVersionUID): New field.
28896         * java/nio/channels/NonWritableChannelException.java
28897         (serialVersionUID): New field.
28898         * java/nio/channels/NonReadableChannelException.java
28899         (serialVersionUID): New field.
28900         * java/nio/channels/NoConnectionPendingException.java
28901         (serialVersionUID): New field.
28902         * java/nio/channels/IllegalSelectorException.java
28903         (serialVersionUID): New field.
28904         * java/nio/channels/IllegalBlockingModeException.java
28905         (serialVersionUID): New field.
28906         * java/nio/channels/FileLockInterruptionException.java
28907         (serialVersionUID): New field.
28908         * java/nio/channels/ConnectionPendingException.java
28909         (serialVersionUID): New field.
28910         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28911         New field.
28912         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28913         New field.
28914         * java/nio/channels/ClosedByInterruptException.java
28915         (serialVersionUID): New field.
28916         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
28917         New field.
28918         * java/nio/channels/AsynchronousCloseException.java
28919         (serialVersionUID): New field.
28920         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28921         New field.
28922         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28923         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28924         * java/nio/BufferUnderflowException.java (serialVersionUID): New
28925         field.
28926         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28927         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28928         Javadoc fix.  Added import.
28929         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28930         (validOps): Likewise.
28931         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28932         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28933         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28934         * java/nio/channels/Channels.java: Added import.
28935         * java/nio/channels/FileChannel.java (lock): Typo fix.
28936         (tryLock): Likewise.
28937
28938 2006-03-01  Tom Tromey  <tromey@redhat.com>
28939
28940         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28941         FileBasedFactory.
28942         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28943         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28944         (clear): Likewise.
28945         (putSpi): Likewise.
28946         (newNode): Likewise.
28947         (node): Likewise.
28948         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28949         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28950         field.
28951         (systemRoot): Use it.
28952         (userPreferences): New field.
28953         (userRoot): Use it.
28954
28955 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
28956
28957         * java/util/ResourceBundle.java
28958         (tryBundle): Catch and ignore all Exceptions.
28959
28960 2006-02-28  Roman Kennke  <kennke@aicas.com>
28961
28962         * javax/swing/plaf/basic/BasicScrollBarUI.java
28963         (getPreferredSize): Fixed add a fixed space between the buttons
28964         instead of something related to min/max.
28965         (installComponents): Create and install buttons here.
28966         (installDefaults): Don't create buttons here.
28967         * javax/swing/plaf/metal/MetalScrollBarUI.java
28968         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28969         (getPreferredSize): New method.
28970
28971 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
28972
28973         * examples/gnu/classpath/examples/swing/Demo.java
28974         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
28975         connected 'Spinner' action to SpinnerDemo, 
28976         (mkCheckbox): Removed,
28977         (mkRadio): Likewise,
28978         (mkSpinner): Likewise,
28979         (mkToggle): Likewise,
28980         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28981         connected 'Spinner' action to SpinnerDemo.
28982
28983 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
28984
28985         * javax/print/ServiceUIFactory.java: Added documentation to class.
28986
28987 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
28988
28989         PR classpath/26434
28990         * javax/swing/DefaultListSelectionModel.java:
28991         (addSelectionInterval): Return early if either of the arguments is -1.
28992         (removeSelectionInterval): Likewise.
28993         (setSelectionInterval): Likewise.
28994
28995 2006-02-28  Lillian Angel  <langel@redhat.com>
28996
28997         * javax/swing/text/DefaultFormatter.java
28998         (stringToValue): Added NPE check.
28999
29000 2006-02-28  Roman Kennke  <kennke@aicas.com>
29001
29002         PR classpath/25675
29003         * javax/swing/JList.java
29004         (getPreferredScrollableViewportSize): Restored specified behaviour.
29005         * javax/swing/plaf/metal/MetalFileChooserUI.java
29006         (createList): Set filelist panel's preferredSize, so that it doesn't
29007         get size into infinity for big lists.
29008
29009 2006-02-28  Lillian Angel  <langel@redhat.com>
29010
29011         * javax/swing/ViewportLayout.java
29012         (layoutContainer): Should not extend container to be 
29013         minimum size. Mauve test shows that the preferred size
29014         and the size of the viewport can be set smaller than
29015         the minimum.
29016
29017 2006-02-28  Lillian Angel  <langel@redhat.com>
29018
29019         PR classpath/25675
29020         * javax/swing/JList.java
29021         (getPreferredScrollableViewportSize): Added a check to determine
29022         if orientation is VERTICAL_WRAP. If it is, we should only 
29023         show 3 columns. 
29024
29025 2006-02-28  Lillian Angel  <langel@redhat.com>
29026
29027         PR classpath/26003
29028         * javax/swing/ViewportLayout.java:
29029         Patch submitted by Audrius Meskauskas
29030         (addLayoutComponent): Added documentation.
29031         (removeLayoutComponent): Likewise.
29032         (preferredLayoutSize): Likewise.
29033         (minimumLayoutSize): Likewise.
29034         (layoutContainer): Fixed code, so view is set
29035         to the right position when inside a scrollpane. 
29036
29037 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29038
29039         * java/math/BigInteger.java:
29040         Committed patch by Rafael: 
29041         developer.classpath.org/pipermail/classpath-patches/
29042         2006-February/000473.html
29043         (signum): Return early 0 if words == null and ival == 0.
29044         (readObject): Handle special case of magnitude.length or signum being
29045         0.
29046         (writeObject): If signum is zero return a zero-sized byte[].
29047
29048 2006-02-28  Lillian Angel  <langel@redhat.com>
29049
29050         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29051         (create): Initially set the directory to the current working directory.
29052         (setDirectory): Removed else-if. No need for this check.
29053
29054 2006-02-28  Tom Tromey  <tromey@redhat.com>
29055
29056         * .project: Run java builder before header generation.
29057
29058 2006-02-28  Tom Tromey  <tromey@redhat.com>
29059
29060         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29061         Javadoc fix.
29062         * gnu/java/util/prefs/EventDispatcher.java: New file.
29063         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29064         (NodeWriter): Specify UTF-8.
29065         (writeHeader): Emit DOCTYPE.
29066         * java/util/prefs/Preferences.java (getFactory): Add cause to
29067         exception.
29068         (exportNode): Documented.
29069         (exportSubtree): Likewise.
29070         (importPreferences): Likewise.
29071         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29072         (writeObject): Likewise.
29073         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29074         (writeObject): Likewise.
29075         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29076         (nodeListeners): New field.
29077         (preferenceListeners): Likewise.
29078         (addNodeChangeListener): Implemented.
29079         (addPreferenceChangeListener): Likewise.
29080         (removeNodeChangeListener): Likewise.
29081         (removePreferenceChangeListener): Likewise.
29082         (fire): New methods.
29083         (put): Fire event.
29084         (remove): Likewise.
29085         (purge): Likewise.  Fixed synchronization.
29086         (removeNode): Fixed synchronization.
29087         (getNode): Fire event.
29088         (flushNode): Fixed synchronization.
29089
29090 2006-02-28  Roman Kennke  <kennke@aicas.com>
29091
29092         * javax/swing/text/BranchElement.java
29093         (startOffset): New field.
29094         (endOffset): New field.
29095         (BranchElement): Initialize new fields.
29096         (getEndOffset): Rewritten to possibly return cached values
29097         if element has no children.
29098         (getStartOffset): Rewritten to possibly return cached values
29099         if element has no children.
29100         * javax/swing/text/LeafElement.java
29101         (startDelta): New field.
29102         (endDelta): New field.
29103         (LeafElement): Handle possible delta of start/endOffset when
29104         these parameters lie outside the document range.
29105         (getStartOffset): Handle possible startDelta.
29106         (getEndOffset): Handle possible startDelta.
29107
29108 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29109
29110         * NEWS: Added line about Unicode 4.0.0 support.
29111
29112 2006-02-28  Roman Kennke  <kennke@aicas.com>
29113
29114         * javax/swing/SwingUtilities.java
29115         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29116
29117 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29118
29119         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29120
29121 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29122
29123         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29124         Amended class documentation.
29125         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29126         STRING.
29127         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29128         a BIT STRING construct.
29129         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29130         documentation.
29131         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29132         STRING.
29133         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29134         a BIT STRING construct.
29135         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29136         (engineVerify): Added logging.
29137
29138 2006-02-28  Roman Kennke  <kennke@aicas.com>
29139
29140         * java/awt/Component.java
29141         (dispatchEventImpl): Let the Toolkit dispatch global events.
29142         * java/awt/Container.java
29143         (dispatchEventImpl): Let the LightweightDispatcher handle events
29144         first.
29145         * java/awt/EventQueue.java
29146         (dispatchEvent): Don't do the global event dispatching here. This
29147         is moved to the Component.
29148         (globalDispatchEvent): Moved this method to Toolkit.
29149         * java/awt/LightweightDispatcher.java
29150         (instances): New field.
29151         (getInstance): New method. Delivers an instance of
29152         LightweightDispatcher.
29153         (LightweightDispatcher): Made default constructor private.
29154         (dispatchEvent): New method. Replaces the eventDispatched method.
29155         This now returns true when the event was actually dispatched.
29156         (eventDispatched): Replaced by dispatchEvent.
29157         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29158         received the last MOUSE_RELEASED.
29159         * java/awt/Toolkit.java
29160         (Toolkit): Don't register LightweightDispatcher as global event
29161         handler.
29162         (globalDispatchEvent): Moved here from EventQueue.
29163
29164 2006-02-27  David Daney  <ddaney@avtrex.com>
29165
29166         PR classpath/25851
29167         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29168         up.
29169         (getRequestProperties): Rewrote.
29170
29171 2006-02-27  David Daney  <ddaney@avtrex.com>
29172
29173         PR classpath/26312
29174         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29175         up.
29176         (ChunkedInputStream): Extend InputStream.
29177         (in): New field.
29178         (headers): Moved to top of class.
29179         (constructor): Save referenct to in.
29180         (read(byte[])): Removed method.
29181         (read(byte[], int, int)): Made synchronized and throw IOException
29182         on error parsing chunk header.
29183         (available): New method.
29184         (close): New method.
29185
29186 2006-02-27  David Daney  <ddaney@avtrex.com>
29187
29188         * gnu/java/net/protocol/http/HTTPURLConnection.java
29189         (imports): Cleaned up.
29190         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29191         (constructor): ... Here, using SystemProperties instead of System.
29192         
29193 2006-02-27  Lillian Angel  <langel@redhat.com>
29194
29195         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29196         (setDirectory): GtkFileChooser requires an absolute directory
29197         name. Added a check to make the directory passed to nativeSetDirectory
29198         is absolute.
29199
29200 2006-02-27  Roman Kennke  <kennke@aicas.com>
29201
29202         * javax/swing/SwingUtilities.java
29203         (computeIntersection): Changed to store result in rect, instead of
29204         creating new Rectangle instances. Fixed API docs accordingly.
29205         (computeUnion): Changed to store result in rect, instead of
29206         creating new Rectangle instances. Fixed API docs accordingly.
29207
29208 2006-02-27  Roman Kennke  <kennke@aicas.com>
29209
29210         * javax/swing/JViewport.java
29211         (static_init): Changed default scrollmode to BLIT.
29212         (paintSimple): Added some clipping to avoid painting problems.
29213         (paintBlit): Added some clipping to avoid painting problems.
29214
29215 2006-02-27  Roman Kennke  <kennke@aicas.com>
29216
29217         * javax/swing/JComponent.java
29218         (rectCache): Made field static to save memory.
29219         (getVisibleRect): Don't use rectCache and create new Rectangle
29220         instance instead.
29221         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29222         (repaint(long,int,int,int,int)): Directly call
29223         RepaintManager.addDirtyRegion(). The visibleRect check is now
29224         performed in the RepaintManager.
29225
29226 2006-02-27  Roman Kennke  <kennke@aicas.com>
29227
29228         * javax/swing/RepaintManager.java
29229         (currentRepaintManagers): Made field private.
29230         (rectCache): New field.
29231         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29232         component. Changed Rectangle handling to avoid unnecessary new
29233         Rectangle instances.
29234         (getOffscreenBuffer): Create buffer with size of the root window.
29235         Respect the maximum buffer size here.
29236         (commitBuffer): Align the regions so that they are inside the buffer
29237         image and inside the clip. This avoids problems with a bug in GTKImage.
29238         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29239
29240 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29241
29242         * native/fdlibm/e_acos.c,
29243         * native/fdlibm/e_asin.c,
29244         * native/fdlibm/e_atan2.c,
29245         * native/fdlibm/e_cosh.c,
29246         * native/fdlibm/e_exp.c,
29247         * native/fdlibm/e_fmod.c,
29248         * native/fdlibm/e_hypot.c,
29249         * native/fdlibm/e_log.c,
29250         * native/fdlibm/e_log10.c,
29251         * native/fdlibm/e_rem_pio2.c,
29252         * native/fdlibm/e_remainder.c,
29253         * native/fdlibm/e_sinh.c,
29254         * native/fdlibm/e_sqrt.c,
29255         * native/fdlibm/k_cos.c,
29256         * native/fdlibm/k_sin.c,
29257         * native/fdlibm/k_tan.c,
29258         * native/fdlibm/s_atan.c,
29259         * native/fdlibm/s_cbrt.c,
29260         * native/fdlibm/s_ceil.c,
29261         * native/fdlibm/s_copysign.c,
29262         * native/fdlibm/s_cos.c,
29263         * native/fdlibm/s_expm1.c,
29264         * native/fdlibm/s_fabs.c,
29265         * native/fdlibm/s_finite.c,
29266         * native/fdlibm/s_floor.c,
29267         * native/fdlibm/s_log1p.c,
29268         * native/fdlibm/s_rint.c,
29269         * native/fdlibm/s_scalbn.c,
29270         * native/fdlibm/s_sin.c,
29271         * native/fdlibm/s_tan.c,
29272         * native/fdlibm/s_tanh.c:
29273         Fixed to call our macros rather than __HI and __LO.
29274         * native/fdlibm/fdlibm.h:
29275         Reintroduced previous extraction code.
29276         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29277         (GET_HIGH_WORD(i,d)): Readded.
29278         (GET_LOW_WORD(i,d)): Readded.
29279         (INSERT_WORDS(d,ix0,ix1)): Readded.
29280         (SET_HIGH_WORD(d,i)): Readded.
29281         (SET_LOW_WORD(d,i)): Readded.
29282         * native/jni/gtk-peer/gthread-jni.c:
29283         Use Glib macros to convert integers/pointers portably.
29284         
29285 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29286
29287         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29288         as the fallback SPI.
29289         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29290         ones referencing GNU-CRYPTO classes.
29291         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29292         (engineValidate): Use GNU-CRYPTO class.
29293         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29294         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29295         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29296         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29297         * gnu/java/security/provider/DSAParameters: Likewise.
29298         * gnu/java/security/provider/DSASignature: Likewise.
29299         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29300         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29301         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29302         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29303         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29304         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29305         * gnu/java/security/provider/MD2withRSA: Likewise.
29306         * gnu/java/security/provider/MD4withRSA: Likewise.
29307         * gnu/java/security/provider/MD5: Likewise.
29308         * gnu/java/security/provider/MD5withRSA: Likewise.
29309         * gnu/java/security/provider/RSA: Likewise.
29310         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29311         * gnu/java/security/provider/SHA: Likewise.
29312         * gnu/java/security/provider/SHA1PRNG: Likewise.
29313         * gnu/java/security/provider/SHA1withRSA: Likewise.
29314         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29315
29316 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29317
29318         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29319         (engineGeneratePublic): Added logging.
29320         (engineGeneratePrivate): Likewise.
29321         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29322         (encodePublicKey): Added logging.
29323         Clarified in method documentation that params is optional, but is
29324         always NULL if present.
29325         (decodePublicKey): Added logging.
29326         Handle optional NULL element.
29327
29328 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29329
29330         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29331
29332 2006-03-03  Tom Tromey  <tromey@redhat.com>
29333
29334         * java/awt/MenuBar.java (shortcuts): Genericized.
29335
29336 2006-03-03  Tom Tromey  <tromey@redhat.com>
29337
29338         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29339         Genericized.
29340         (getListenerType): Likewise.
29341         * java/beans/Introspector.java (getBeanInfo): Genericized.
29342         * java/beans/DefaultPersistenceDelegate.java (initialize):
29343         Genericized.
29344
29345 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29346
29347         * java/math/BigDecimal.java:
29348         (precision): Fixed overflow problem with large numbers.
29349         (longValueExact): New method.
29350         (intValueExact): Likewise.
29351         (byteValueExact): Likewise.
29352         (shortValueExact): Likewise.
29353
29354 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29355
29356         * java/math/BigDecimal.java:
29357         (remainder(BigDecimal)): New method.
29358         (divideAndRemainder(BigDecimal)): Likewise.
29359         (divideToIntegralValue(BigDecimal)): Likewise.
29360         (floor): New implementation method.
29361
29362 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29363
29364         * java/math/BigDecimal.java:
29365         (divide(BigDecimal, int, RoundingMode)): New method.
29366         (divide(BigDecimal, RoundingMode)): Likewise.
29367         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29368         when the new scale is < 0.
29369         (setScale(int, RoundingMode)): New method.
29370         (ulp): Likewise.
29371
29372 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29373
29374         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29375         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29376         (add(BigDecimal, MathContext)): New method.
29377         (subtract(BigDecimal, MathContext)): Likewise.
29378         (precision): Fixed to correctly handle BigIntegers with more than 19
29379         digits.
29380         (pow(int, MathContext)): New method.
29381
29382 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29383
29384         * java/math/BigDecimal.java: Added @throws clause to constructors.
29385         (mathContext): Removed this unneeded field.
29386         (BigDecimal(int, MathContext)): New constructor.
29387         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29388         (multiply(BigDecimal, MathContext)): New method.
29389         (negate(MathContext)): Likewise.
29390         (plus(MathContext)): Likewise.
29391         (numDigitsInLong): Fixed to properly handle negatives.
29392         
29393 2006-02-25  Chris Burdess  <dog@gnu.org>
29394   
29395         * gnu/java/net/CRLFInputStream.java,
29396           gnu/java/net/LineInputStream.java: Streams that use mark
29397           capabilities on the underlying stream do not expose mark
29398           functionality themselves.
29399         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29400           off > 0.
29401
29402 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29403
29404         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29405         option flags passed to match methods.
29406         (MF_FIND_ALL): New flag.
29407         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29408         do not try other possibilties once a match is found.
29409         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29410         so that all possibilities can be found.
29411         (match): Rewritten using new methods matchMinimum and _match.
29412         (_match): New method which performs a depth-first recursive search.
29413         (matchMinimum): New method.
29414         (initVisited), (visitedContains), (addVisited): New methods for
29415         manipulating an array of icharacter positions which _match has
29416         already visited.
29417
29418 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29419
29420         * java/math/BigDecimal.java:
29421         (BigDecimal(long, MathContext)): New constructor.
29422         (BigDecimal(BigInteger, MathContext)): Likewise.
29423         (BigDecimal(String, MathContext)): Likewise.
29424         (BigDecimal(double, MathContext)): Likewise.
29425         (round): Fixed a typo where the precision field was used instead of a
29426         call to the precision method, and also store the new precision in the
29427         returned BigDecimal.
29428         (abs(MathContext)): New method.
29429
29430 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29431
29432         * java/math/BigDecimal.java
29433         (toBigInteger): Fixed problem where this method couldn't handle 
29434         negative values for scale.
29435         (toBigIntegerExact): New method.
29436         (stripTrailingZeros): Likewise.
29437
29438 2006-02-24  David Daney  <ddaney@avtrex.com>
29439
29440         PR classpath/26082
29441         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29442         type Pool.
29443         (Pool): New inner class.
29444         (timeLastUsed): New field.
29445         (setPool): Changed parameter type to Pool.
29446         (release): Moved pool management logic to new class Pool.
29447         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29448         Removed.
29449         (maxConnections) : Removed.
29450         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29451         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29452   
29453 2006-02-24  Lillian Angel  <langel@redhat.com>
29454   
29455         * java/awt/Container.java:
29456         Added new field. True if Container has been cleared and
29457         heavyweights need to be repainted.
29458         (paint): Fixed comment. Fixed to use backCleared and 
29459         reset backCleared.
29460         (update): Set backCleared to true after the background
29461         of the container has been cleared.
29462   
29463 2006-02-24  Lillian Angel  <langel@redhat.com>
29464   
29465         * java/awt/TextField.java
29466         (addNotify): Added call to super.
29467   
29468 2006-02-24  Lillian Angel  <langel@redhat.com>
29469   
29470         * java/awt/Component.java
29471         (reshape): Reverted last patch. Should have check here.
29472         (addNotify): Added check. If parent is lightweight, then
29473         initialize listener on the parent.
29474         (HeavyweightInLightweightListener): New class.
29475   
29476 2006-02-24  Roman Kennke  <kennke@aicas.com>
29477   
29478         * javax/swing/plaf/basic/BasicComboPopup.java
29479         (show): Register the popup with the autocloser after it has been
29480         opened completely, by putting the registration on the eventqueue.
29481   
29482 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29483   
29484         * gnu/java/security/prng/BasePRNG.java:
29485         (clone()): Added cast of buffer to byte[].
29486         * gnu/javax/crypto/mac/TMMH16.java:
29487         (clone()): Fixed casting of cloned arrays.
29488         * native/fdlibm/fdlibm.h:
29489         Added missing defines from old fdlibm.h needed by Darwin.
29490         (GET_FLOAT_WORD(i,d)): Re-added.
29491         (SET_FLOAT_WORD(d,i)): Re-added.
29492         
29493 2006-02-24  Roman Kennke  <kennke@aicas.com>
29494   
29495         * java/awt/Container.java:
29496         (dispatcher): Removed field.
29497         (dispatchEventImpl): Removed lightweight dispatching.
29498         (addNotifyContainerChildren): Removed LightweightDispatcher
29499         handling.
29500         (LightweightDispatcher): Removed class.
29501         * java/awt/LightweightDispatcher.java: New class.
29502         * java/awt/Toolkit.java
29503         (Toolkit): Install LightweightDispatcher in global listener
29504         array.
29505   
29506 2006-02-24  Chris Burdess  <dog@gnu.org>
29507   
29508         Fixes PR 26324
29509         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29510           off > 0.
29511   
29512 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29513   
29514         * NEWS: Mentions the VMMath runtime changes.
29515         * doc/vmintegration.texinfo: Updated to include
29516         VMMath.
29517   
29518 2006-02-24  Roman Kennke  <kennke@aicas.com>
29519   
29520         * javax/swing/plaf/basic/BasicLookAndFeel.java
29521         (PopupHelper.autoClosePopups): New field.
29522         (PopupHelper.mousePressed): Also autoclose any registered popups.
29523         (PopupHelper.registerForAutoClose): New method.
29524         (PopupHelper.autoClosePopups): New method.
29525         (popupHelper): Changed type of field to PopupHelper.
29526         (registerForAutoClose): New method.
29527         * javax/swing/plaf/basic/BasicComboPopup.java
29528         (show): Register this popup for autoclosing.
29529   
29530 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29531   
29532         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29533         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29534         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29535   
29536 2006-02-24  Roman Kennke  <kennke@aicas.com>
29537   
29538         Reported by Ingo Proetel <proetel@aicas.com>
29539         * java/util/logging/LogManager.java
29540         (addLogger): Search the parent loggers for log level
29541         configuration and inherit that.
29542         (readConfiguration): Provide minimal default configuration
29543         if no configuration can be found otherwise.
29544
29545 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29546
29547         * java/math/BigDecimal.java:
29548         (toString): Fixed a problem where the negative sign was being displayed
29549         twice in the exponent.
29550         (toEngineeringString): New method.
29551         (toPlainString): Likewise.
29552         (pow): Likewise.
29553
29554 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29555
29556         * java/math/BigDecimal.java:
29557         (toString): Rewrote this method to behave as specified.  Added API
29558         comments to explain behaviour.
29559         (scaleByPowerOfTen): New method.
29560
29561 2006-02-23  Roman Kennke  <kennke@aicas.com>
29562   
29563         * javax/swing/JRootPane.java
29564         (isOptimizedDrawingEnabled): Implemented to return true
29565         when the glassPane is not visible.
29566   
29567 2006-02-23  Roman Kennke  <kennke@aicas.com>
29568   
29569         * javax/swing/plaf/basic/BasicLookAndFeel.java
29570         (PopupHelper): New inner class.
29571         (popupHelper): New field.
29572         (initialize): New method.
29573         (uninitialize): New method.
29574         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29575         (mouseInputListener): Removed field.
29576         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29577         handling of GlassPane.
29578         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29579         handling of GlassPane.
29580         (MouseInputHandler): Removed class.
29581
29582 2006-02-23  Roman Kennke  <kennke@aicas.com>
29583
29584         * java/awt/AWTEvent.java
29585         (eventIdToMask): New utility method.
29586         * java/awt/EventQueue.java
29587         (dispatchEvent): Also globally dispatch events via the toolkit.
29588         (globalDispatchEvent): New method.
29589         * java/awt/Toolkit.java
29590         (awtEventListeners): New field.
29591         (Toolkit()): Initialize new field.
29592         (createComponent): Create GLightweightPeer here.
29593         (addAWTEventListener): Implemented and documented.
29594         (removeAWTEventListener): Implemented and documented.
29595         (getAWTEventListeners): Implemented and documented both method
29596         variants.
29597         * java/awt/event/AWTEventListenerProxy.java
29598         (eventDispatched): Don't filter events here.
29599
29600 2006-02-23  Chris Burdess  <dog@gnu.org>
29601
29602         Fixes PR 26410
29603         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29604           gnu/xml/dom/JAXPFactory.java,
29605           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29606           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29607           implement DocumentBuilderFactory.get/setFeature methods.
29608
29609 2006-02-23  Lillian Angel  <langel@redhat.com>
29610
29611         * gnu/java/awt/peer/GLightweightPeer.java
29612         (repaint): Scott's proposed fix. Send repaint to the
29613         component's parent.
29614         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29615         (setBounds): Removed next_parent, not needed. Removed
29616         lightweightChild, we always need to compensate for the
29617         menu bar's height.
29618         * java/awt/Component.java
29619         (setBounds): Removed check. Caused lots of problems, because some
29620         components were not being invalidated. Components should be
29621         invalidated when they are resized or moved, and in some cases,
29622         when a parent is resized/moved, the components do not know
29623         about it and do not adjust.
29624         * java/awt/Graphics.java
29625         (hitClip): Scott's proposed fix. Added check to handle a 
29626         null clip.
29627   
29628 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29629   
29630         * javax/print/attribute/standard/MediaSize.java: 
29631         (media): Field renamed to mediaName for serialization.
29632         (MediaSize): Adapted to new fieldname.
29633         (getMediaSizeName): Likewise.
29634         * javax/print/attribute/HashAttributeSet.java: 
29635         (interfaceName): Field renamed to myInterface for serialization.
29636         (HashAttributeSet): Adapted to the new fieldname.
29637         (add): Likewise.
29638         (addAll): Likewise.
29639         (addInternal): Likewise.
29640         (attributeMap): Made transient.
29641         (readObject): New serialization method.
29642         (writeObject): Likewise.
29643         * javax/print/attribute/AttributeSetUtilities.java: 
29644         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29645         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29646         (SynchronizedAttributeSet.addAll): Likewise.
29647         (SynchronizedAttributeSet.clear): Likewise.
29648         (SynchronizedAttributeSet.containsKey): Likewise.
29649         (SynchronizedAttributeSet.containsValue): Likewise.     
29650         (SynchronizedAttributeSet.equals): Likewise.
29651         (SynchronizedAttributeSet.get): Likewise.
29652         (SynchronizedAttributeSet.hashCode): Likewise.  
29653         (SynchronizedAttributeSet.isEmpty): Likewise.
29654         (SynchronizedAttributeSet.remove): Likewise.    
29655         (SynchronizedAttributeSet.size): Likewise.      
29656         (SynchronizedAttributeSet.toArray): Likewise.   
29657         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29658         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29659         (UnmodifiableAttributeSet.addAll): Likewise.
29660         (UnmodifiableAttributeSet.clear): Likewise.
29661         (UnmodifiableAttributeSet.containsKey): Likewise.
29662         (UnmodifiableAttributeSet.containsValue): Likewise.     
29663         (UnmodifiableAttributeSet.equals): Likewise.
29664         (UnmodifiableAttributeSet.get): Likewise.
29665         (UnmodifiableAttributeSet.hashCode): Likewise.  
29666         (UnmodifiableAttributeSet.isEmpty): Likewise.
29667         (UnmodifiableAttributeSet.remove): Likewise.    
29668         (UnmodifiableAttributeSet.size): Likewise.      
29669         (UnmodifiableAttributeSet.toArray): Likewise.   
29670         * javax/print/attribute/standard/MediaPrintableArea.java: 
29671         (width): Field renamed to w for serialization.
29672         (height): Field renamed to h for serialization. 
29673         (MediaPrintableArea): Adapted to the new fieldnames.    
29674         (MediaPrintableArea): Likewise.
29675         (equals): Likewise.
29676         (hashCode): Likewise.
29677         (getHeight): Likewise.
29678         (getWidth): Likewise.
29679   
29680 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29681   
29682         * include/java_lang_VMMath.h:
29683         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29684         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29685         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29686         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29687         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29688         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29689         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29690         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29691         * java/lang/Math.java:
29692         (cbrt(double)): Implemented.
29693         (cosh(double)): Implemented.
29694         (expm1(double)): Implemented.
29695         (hypot(double,double)): Implemented.
29696         (log10(double)): Implemented.
29697         (log1p(double)): Implemented.
29698         (signum(double)): Implemented.
29699         (signum(float)): Implemented.
29700         (sinh(double)): Implemented.
29701         (tanh(double)): Implemented.
29702         * native/fdlibm/Makefile.am:
29703         Added new files from fdlibm 5.3.
29704         * native/fdlibm/e_acos.c,
29705         * native/fdlibm/e_asin.c,
29706         * native/fdlibm/e_atan2.c,
29707         * native/fdlibm/e_exp.c,
29708         * native/fdlibm/e_fmod.c,       
29709         * native/fdlibm/e_log.c,
29710         * native/fdlibm/e_rem_pio2.c,
29711         * native/fdlibm/e_remainder.c,
29712         * native/fdlibm/e_scalb.c,
29713         * native/fdlibm/e_sqrt.c,
29714         * native/fdlibm/k_cos.c,
29715         * native/fdlibm/k_rem_pio2.c,
29716         * native/fdlibm/k_sin.c,
29717         * native/fdlibm/k_tan.c,
29718         * native/fdlibm/s_atan.c,
29719         * native/fdlibm/s_ceil.c,
29720         * native/fdlibm/s_copysign.c,
29721         * native/fdlibm/s_cos.c,
29722         * native/fdlibm/s_fabs.c,
29723         * native/fdlibm/s_finite.c,
29724         * native/fdlibm/s_floor.c,
29725         * native/fdlibm/s_rint.c,
29726         * native/fdlibm/s_scalbn.c,
29727         * native/fdlibm/s_sin.c,
29728         * native/fdlibm/s_tan.c,
29729         * native/fdlibm/w_acos.c,
29730         * native/fdlibm/w_asin.c,
29731         * native/fdlibm/w_atan2.c,
29732         * native/fdlibm/w_acos.c,
29733         * native/fdlibm/w_exp.c,
29734         * native/fdlibm/w_fmod.c,
29735         * native/fdlibm/w_log.c,
29736         * native/fdlibm/w_pow.c,
29737         * native/fdlibm/w_remainder.c,
29738         * native/fdlibm/w_sqrt.c:
29739         Updated to fdlibm 5.3.
29740         * native/fdlibm/e_cosh.c,
29741         * native/fdlibm/e_hypot.c,
29742         * native/fdlibm/e_log10.c,
29743         * native/fdlibm/e_sinh.c,
29744         * native/fdlibm/s_cbrt.c,
29745         * native/fdlibm/s_expm1.c,
29746         * native/fdlibm/s_log1p.c,
29747         * native/fdlibm/s_tanh.c,
29748         * native/fdlibm/w_cosh.c,
29749         * native/fdlibm/w_hypot.c,
29750         * native/fdlibm/w_log10.c,
29751         * native/fdlibm/w_sinh.c:
29752         Imported from fdlibm 5.3.
29753         * native/fdlibm/fdlibm.h:
29754         Imported from fdlibm 5.3 with Classpath additions.
29755         * native/fdlibm/namespace.h:
29756         Updated from new math_symbols file.
29757         * native/jni/java-lang/java_lang_VMMath.c:
29758         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29759         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29760         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29761         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29762         Implemented.
29763         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29764         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29765         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29766         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29767         * scripts/math_symbols:
29768         Added tanh, expm1, log10 and log1p.
29769         * vm/reference/java/lang/VMMath.java:
29770         (cbrt(double)): Implemented.
29771         (cosh(double)): Implemented.
29772         (expm1(double)): Implemented.
29773         (hypot(double,double)): Implemented.
29774         (log10(double)): Implemented.
29775         (log1p(double)): Implemented.
29776         (sinh(double)): Implemented.
29777         (tanh(double)): Implemented.
29778         
29779 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29780
29781         * javax/print/DocFlavor.java: Added documentation all over.
29782         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29783         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29784         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29785         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29786         (URL.TEXT_HTML_HOST): Likewise.
29787         (URL.TEXT_PLAIN_HOST): Likewise.
29788         (hostEncoding): Initialize with host default charset encoding.
29789         (mediaSubtype): Made transient.
29790         (mediaType): Likewise.
29791         (params): Made transient. Changed type to TreeMap.
29792         (className): Removed, changed to myClassName.
29793         (myClassName): New field as defined in serialized form.
29794         (DocFlavor): Adapted to new variable types, names.
29795         (parseMimeType): Reimplemented.
29796         (getParameter): Search with lowercase name.
29797         (getRepresentationClassName): Adapted to changed variable name.
29798         (hashCode): Likewise.
29799         (toString): Reimplemented.
29800         (readObject): New method for serialization.
29801         (writeObject): Likewise.
29802   
29803 2006-02-23  Roman Kennke  <kennke@aicas.com>
29804   
29805         * javax/swing/RepaintManager.java
29806         (commitBuffer): Clip the repaint area with the current clip.
29807   
29808 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
29809   
29810         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29811         (DEFAULT_PRIME_SIZE): Made public.
29812         (DEFAULT_EXPONENT_SIZE): Likewise.
29813         (setup): Handle DHParameterSpec as well.
29814         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29815         defaultFormat instead of Raw.
29816         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29817         (checkIsConstructed): Removed.
29818         (checkIsBigInteger): Likewise.
29819         (decodePublicKey): Use DerUtil.
29820         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29821         (checkIsConstructed): Removed.
29822         (checkIsBigInteger): Likewise.
29823         (decodePrivateKey): Use DerUtil.
29824         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29825         KeyAgreement.DH.
29826         Added mappings for AlgorithmParameters.DH and
29827         AlgorithmParameterGenerator.DH.
29828         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29829         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29830         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29831         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29832         Return result.
29833         (engineGeneratePublic): Likewise.
29834         * gnu/java/security/util/DerUtil.java: New file.
29835         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29836         Include only valid RSA PKCS1 (v1.5) signature names.
29837         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29838         (RSAPKCS1V1_5SignatureX509Codec): Removed.
29839         (checkIsConstructed): Likewise.
29840         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29841         (checkIsConstructed): Removed.
29842         (checkIsBigInteger): Likewise.
29843         (decodeSignature): Use DerUtil.
29844         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29845         (checkIsConstructed): Removed.
29846         (checkIsBigInteger): Likewise.
29847         (decodePublicKey): Use DerUtil.
29848         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29849         (checkIsConstructed): Removed.
29850         (checkIsBigInteger): Likewise.
29851         (decodePrivateKey): Use DerUtil.
29852         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29853         (checkIsConstructed): Removed.
29854         (checkIsBigInteger): Likewise.
29855         (decodePublicKey): Use DerUtil.
29856         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29857         (checkIsConstructed): Removed.
29858         (checkIsBigInteger): Likewise.
29859         (decodePrivateKey): Use DerUtil.
29860         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29861         (DEFAULT_MODULUS_LENGTH): Made it public.
29862         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29863         defaultFormat instead of Raw.
29864         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29865         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29866         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29867         Return result.
29868         (engineGeneratePublic): Likewise.
29869         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29870
29871 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
29872
29873         * java/math/BigDecimal.java:
29874         (BigDecimal(char[], int, int, MathContext)): New constructor.
29875         (BigDecimal(char[], MathContext)): Likewise.
29876         (BigDecimal(char[])): Likewise.
29877         (BigDecimal(char[], int, int)): Likewise.
29878         (BigDecimal(String)): Fixed handling of exponent and scale.
29879
29880 2006-02-22  Mark Wielaard  <mark@klomp.org>
29881
29882         * java/awt/Checkbox.java (setState): Check that state actually changed
29883         before calling peer.
29884         (dispatchEventImpl): Set new state if ItemEvent.
29885         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29886         (create): Set currentState.
29887         (setState): Make synchronized, check and set currentState before
29888         calling gtkToggleButtonSetActive.
29889         (postItemEvent): Make synchronized, check and set currentState before
29890         posting ItemEvent.
29891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29892         (postItemEventID): Method now takes boolean.
29893         (item_toggled_cb): Likewise.
29894   
29895 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29896   
29897         * javax/swing/text/DefaultHighlighter.java:
29898         (changeHighlight): Added code to minimize the damaged area.
29899   
29900 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29901   
29902         * javax/swing/text/PlainView.java:
29903         (getPreferredSpan): Added missing 'break'.
29904         statement which corrects an unwanted fall through.
29905         (updateDamage): Update maxLineLength correctly when text is
29906         removed, call preferenceChanged accordingly.
29907         (viewToModel): Restrict line number to be within 0 and the
29908         number of elements-1.
29909   
29910 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29911   
29912         * javax/swing/text/Utilities.java:
29913         (getPositionAbove): Prefer first value by changing comparison
29914         from < to <=.
29915         (getPositionBelow): Dito.
29916   
29917 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29918   
29919         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29920         behavior when magic caret position is null.
29921   
29922 2006-02-22  Roman Kennke  <kennke@aicas.com>
29923   
29924         * javax/swing/JTextField.java
29925         (isValidateRoot): New method.
29926   
29927 2006-02-22  Roman Kennke  <kennke@aicas.com>
29928   
29929         * javax/swing/JEditorPane.java
29930         (getPreferredSize): Rewritten to behave like the reference impl.
29931         (getScrollableTracksViewportWidth): Likewise.
29932         (getScrollableTracksViewportHeight): Likewise.
29933   
29934 2006-02-22  Roman Kennke  <kennke@aicas.com>
29935   
29936         * javax/swing/RepaintManager.java
29937         (addInvalidComponent): Also consider the component itself.
29938   
29939 2006-02-22  Mark Wielaard  <mark@klomp.org>
29940   
29941         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29942         qualify AbstractDocument.AttributeContext.
29943         (blockOpen): Likewise.
29944   
29945 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29946
29947         * java/math/BigDecimal.java:
29948         (mathContext): New field.
29949         (precision): Likewise.
29950         (BigDecimal(int)): New constructor.
29951         (BigDecimal(long)): Likewise.
29952         (BigDecimal(BigInteger)): Added API docs.
29953         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29954         and added API docs.
29955         (plus): New method.
29956         (round): Likewise.
29957         (precision): Likewise.
29958         (valueOf): Likewise.
29959         (numDigitsInLong): New implementation method.
29960
29961 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29962
29963         * java/math/MathContext.java: New class.
29964         * java/math/RoundingMode: New Enum.
29965
29966 2006-02-21  Mark Wielaard  <mark@klomp.org>
29967   
29968         * java/awt/Component.java (translateEvent): Translate
29969         AdjustmentEvents to 1.0 Events.
29970         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29971         Call setValue() before processing event.
29972         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29973         whether we are currently changing and being called back from the
29974         Scrollbar component.
29975         (setBarValues): New native method.
29976         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29977         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29978         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29979         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29980         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29981   
29982 2006-02-21  Roman Kennke  <kennke@aicas.com>
29983   
29984         * javax/swing/text/View.java
29985         (setParent): Set child parent to null when disconnecting
29986         the view from the View hierarchy.
29987   
29988 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29989   
29990         * javax/print/StreamPrintService.java: Added and enhanced documentation.
29991   
29992 2006-02-21  Roman Kennke  <kennke@aicas.com>
29993   
29994         * javax/swing/text/WrappedPlainView.java
29995         (calculateBreakPosition): Changed to use the view's allocation instead
29996         of the container's preferredSize.
29997   
29998 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29999   
30000         * java/awt/CardLayout.java:
30001         (first): Updated api documentation.
30002         (last): Likewise.
30003         (next): Likewise.
30004         (previous): Likewise.
30005         (show): Clarified api docs. Return if name is null. Throw
30006         IllegalArgumentException if layout of container is not this.
30007         (gotoComponent): Updated api documentation. Throw
30008         IllegalArgumentException if layout of container is not this.
30009   
30010 2006-02-21  Roman Kennke  <kennke@aicas.com>
30011   
30012         * javax/swing/text/NavigationFilter.java
30013         (getNextVisualPositionFrom): New method.
30014   
30015 2006-02-21  Roman Kennke  <kennke@aicas.com>
30016   
30017         * javax/swing/plaf/basic/BasicTextUI.java
30018         (RootView.setView): Call setParent() on the view with this as
30019         argument instead of null.
30020         (setView): Don't set root view's parent here.
30021   
30022 2006-02-21  Roman Kennke  <kennke@aicas.com>
30023   
30024         * javax/swing/text/AbstractDocument.java
30025         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30026         the resolving parent.
30027         (AbstractElement.getResolveParent): Fixed to handle possible null
30028         parent.
30029         * javax/swing/text/BoxView.java
30030         (childReqs): New field.
30031         (paint): Added debugging code (commented out).
30032         (getPreferredSpan): Rewritten to use new update* methods.
30033         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30034         for the minor axis and preferredSpan for the major axis.
30035         (getMinimumSpan): Rewritten to use new update* methods.
30036         (baselineRequirements): Rewritten to avoid creation of 
30037         unnecessary SizeRequirements objects.
30038         (baselineLayout): Rewritten to use new update* methods.
30039         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30040         unnecessary SizeRequirements objects.
30041         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30042         unnecessary SizeRequirements objects.
30043         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30044         into warnings.
30045         (layoutMajorAxis): Rewritten to use new update* methods.
30046         (layoutMinorAxis): Rewritten to use new update* methods.
30047         (getChildRequirements): Replaced by the update* methods.
30048         (getAlignment): Use update* methods.
30049         (updateChildRequirements): New methods. Updates the child requirements
30050         if necessary.
30051         (updateRequirements): New methods. Updates the BoxView requirements
30052         if necessary.
30053         * javax/swing/text/DefaultStyledDocument.java
30054         (ElementBuffer.insert): Added warning for illegal replacement operation.
30055         * javax/swing/text/FlowView.java
30056         (layoutRow): When offset doesn't change, return -1.
30057         (LogicalView): Now subclasses BoxView.
30058         (loadChildren): Let the CompositeView.setParent() load the children
30059         of the logicalView.
30060         (calculateMinorRequirements): New overridden method.
30061         * javax/swing/text/GlyphView.java
30062         (DefaultGlyphPainter.paint): Fixed typo.
30063         (startOffset): Made field private.
30064         (endOffset): Made field private.
30065         (paint): Call getStartOffset() and getEndOffset() instead of the
30066         element methods.
30067         (isStrikeThrough): Fixed typo.
30068         (breakView): Use Utilities.getBreakLocation() to determine best
30069         break location.
30070         (changedUpdate): Call preferencedChange on this instead of parent.
30071         (removeUpdate): Call preferencedChange on this instead of parent.
30072         * javax/swing/text/ParagraphView.java
30073         (Row.getAlignment): For Y_AXIS, call super.
30074         (getAlignment): Likewise.
30075         * javax/swing/text/Utilities.java
30076         (getBreakLocation): Set Segment object directly on the BreakIterator.
30077         * javax/swing/text/html/HTML.java
30078         (Attribute): Made class non-serializable and final as specified.
30079         (Attribute(String)): Made constructor private.
30080         (Attribute.compareTo): Removed.
30081         (Attribute.equals): Removed.
30082         (Attribute.hashCode): Removed.
30083         (Tag): Made class non-comparable and non-serializable as specified.
30084         (Tag.compareTo): Removed.
30085         (Tag.equals): Removed.
30086         (Tag.hashCode): Removed.
30087         * javax/swing/text/html/HTMLDocument.java
30088         (HTMLReader.blockOpen): Add tag as name attribute to element.
30089         * javax/swing/text/html/HTMLEditorKit.java
30090         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30091         fallback.
30092         * javax/swing/text/html/InlineView.java
30093         (setPropertiesFromAttributes): Call super.
30094         * javax/swing/text/html/NullView.java: New class.
30095   
30096 2006-02-21  Roman Kennke  <kennke@aicas.com>
30097   
30098         PR classpath/26368
30099         * javax/swing/text/GapContent.java
30100         (GapContentPosition): Made class private.
30101         (InsertUndo): Made class private.
30102         (UndoRemove): Made class private.
30103         (WeakPositionComparator): New inner class.
30104         (positions): Made field private.
30105         (createPosition): Clear up GC'ed positions before creating
30106         a new one. Store position as WeakReference.
30107         (getPositionsInRange): Changed to handle WeakReference
30108         positions.
30109         (setPositionsInRange): Changed to handle WeakReference
30110         positions.
30111         (adjustPositionsInRange): Changed to handle WeakReference
30112         positions.
30113         (dumpPositions): Handle WeakReference positions.
30114         (clearPositionReferences): New method.
30115   
30116 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30117   
30118         * javax/swing/plaf/basic/BasicTextUI.java:
30119         (paint): Remove unneccessary part of the if-expression.
30120         (damageRange): Added case where the range spans multiple lines.
30121         * javax/swing/text/DefaultCaret.java:
30122         (clearHighlight): New method.
30123         (handleHighlight): Removed unneccessary part of the if-expression.
30124         (setDot): Use clearHighlight method.
30125         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30126         of Vector.
30127         (paint): Prevented calling size() on every loop iteration, fixed
30128         calculation of allocation area bounds.
30129         (getHighlights): Implemented.
30130         (removeHighlight): Mark damaged area in textcomponent.
30131         (addHighlight): Mark damaged area in textcomponent.
30132         (changeHighlight): Mark damaged area in textcomponent.
30133         (DefaultHighlighter.HighlightEntry): Made it a real
30134         Highlighter.Highlight implementation.
30135         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30136         calculations.
30137
30138 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30139
30140         * java/util/zip/ZipConstants.java
30141         (LOCSIG): Change type to long.
30142         (EXTSIG): Likewise.
30143         (CENSIG): Likewise.
30144         (ENDSIG): Likewise.
30145         * java/util/zip/ZipOutputStream.java
30146         (writeLeInt(long)): New method.
30147   
30148 2006-02-21  Michael Koch  <konqueror@gmx.de>
30149   
30150         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30151   
30152 2006-02-20  Mark Wielaard  <mark@klomp.org>
30153   
30154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30155         (begin_drawing_operation): Output stacktrace and return on bad cairo
30156         status.
30157         (end_drawing_operation): Likewise. And reset cairo_t.
30158   
30159 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30160   
30161         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30162         in backward selection action.
30163   
30164 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30165   
30166         * java/lang/reflect/Proxy.java:
30167         (ProxyData.getProxyData): Skipped overriding of core methods.
30168         (ProxyData.isCoreObjectMethod): New method.
30169   
30170 2006-02-20  Mark Wielaard  <mark@klomp.org>
30171   
30172         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30173   
30174 2006-02-20  Roman Kennke  <kennke@aicas.com>
30175   
30176         * javax/swing/text/html/Option.java: New class.
30177   
30178 2006-02-20  Lillian Angel  <langel@redhat.com>
30179   
30180         * java/swt/Window.java
30181         (show): Calling show() on the owned windows caused problems.
30182         Changed back to get the peer and call setVisible.
30183   
30184 2006-02-20  Roman Kennke  <kennke@aicas.com>
30185   
30186         * javax/swing/plaf/basic/BasicTextUI.java
30187         (damageRange): Implemented this method.
30188   
30189 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30190   
30191         * javax/swing/text/GapContent.java:
30192         (shiftGapEndUp): Corrected new mark value.
30193         * javax/swing/text/AbstractDocument.java:
30194         (remove): Changed order of operations.
30195   
30196 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30197   
30198         * javax/swing/text/GapContent.java:
30199         (shiftGapEndUp): Reverted.
30200         * javax/swing/text/AbstractDocument.java:
30201         (remove): Reverted.
30202   
30203 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30204   
30205         * javax/swing/text/GapContent.java:
30206         (shiftGapEndUp): Corrected new mark value.
30207         * javax/swing/text/AbstractDocument.java:
30208         (remove): Changed order of operations.
30209   
30210 2006-02-20  Mark Wielaard  <mark@klomp.org>
30211   
30212         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30213         parent field.
30214         (insert): Likewise.
30215         (addNotify): Add the item after addNotifying it.
30216         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30217         there is a peer. Use getParent() and setParent() to manipulate parent
30218         field.
30219         (add(Menu)): Use getParent() and setParent() to manipulate parent
30220         field. Call addNotify() and addMenu() when there is a peer.
30221         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30222         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30223         when there is a peer.
30224         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30225         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30226         (setFont): Call setFont(Font).
30227         (setFont(Font)): Document. Only set font when not null.
30228         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30229         protected.
30230         (connectSignals): Likewise.
30231         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30232         connectSignals().
30233         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30234         protected.
30235         (postMenuActionEvent): Document.
30236         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30237         protected.
30238         (addItem): Document. Made private.
30239         (addTearOff): Made private.
30240         (connectSignals): New protected overridden method.
30241         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30242         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30243         (create): Document.
30244         (addMenu): Made private, take GtkMenuPeer as argument and document.
30245         (GtkMenuBarPeer): Document.
30246         (nativeSetHelpMenu): Removed.
30247         (addHelpMenu): Implement.
30248         (delMenu): Document.
30249         (addMenu): Implement.
30250         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30251         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30252         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30253         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30254         Removed.
30255   
30256 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30257   
30258         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30259         Expect that proxy interfaces may have different class loaders.
30260         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30261         * java/rmi/registry/Registry.java,
30262         * java/rmi/server/UnicastRemoteObject.java: 
30263         Documented about proxy stubs.
30264         * gnu/java/rmi/server/CombinedClassLoader.java,
30265         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30266         * NEWS: Added entry.
30267
30268 2006-02-19  Mark Wielaard  <mark@klomp.org>
30269
30270         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30271         Parent and Bounds of our children if either or parent is showing, or
30272         we are a Window and are showing ourselves now.
30273   
30274 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30275   
30276         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30277         New method.
30278         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30279         Another stub name fix.
30280   
30281 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30282   
30283         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30284         Call convertStubName. (convertStubName): New method.
30285         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30286         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30287         (convertStubName): New method.
30288         (getMethodHashCode): 
30289         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30290         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30291
30292 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30293
30294         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30295
30296 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30297
30298         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30299
30300 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30301
30302         * javax/swing/JViewport.java (paintBackingStore): If the component has
30303         not been scrolled, only repaint the buffer part, indicated by
30304         the parameter graphics clip. 
30305      
30306 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30307
30308         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30309         internal format.
30310         (writePrivateKey): Likewise.
30311         (writeKey): New method.
30312         (getKeyType): Likewise.
30313         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30314         internal format.
30315         (readPrivateKey): Likewise.
30316         (getKeyPairCodec): New method.
30317         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30318         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30319         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30320         (RSA_PSS_ENCODING): Likewise..
30321         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30322         (RSA_PSS_SIG): Redefined using other constants.
30323         (RSA_PKCS1_V1_5_SIG): Likewise.
30324         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30325         * gnu/java/security/util/FormatUtil.java: New file.
30326         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30327         (getInstance): Let RSASignatureFactory handle RSA signature names.
30328         (getNames): Handle new RSA signature (with format) names.
30329         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30330         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30331         for null md.
30332         (name): Include hash algorithm name.
30333         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30334         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30335         (RSAPSSSignature): Call constructor with IMessageDigest.
30336         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30337         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30338         file.
30339         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30340         Likewise.
30341         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30342         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30343         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30344         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30345         hash algorithm name to exception.
30346         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30347         * gnu/java/security/key/KeyPairCodecFactory.java
30348         (names): New class field.
30349         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30350         (getInstance(String,String)): New method.
30351         (getInstance(String,int)): New method.
30352         (getInstance(byte[])): Removed.
30353         (getInstance(Key)): Handle new formats.
30354         (getNames): Likewise.
30355         (getEncodingName(int)): Moved to FormatUtil.
30356         (getEncodingShortName(int)): Likewise.
30357         (getRawCodec(String)): New method.
30358         (getX509Codec(String)): Likewise.
30359         (getPKCS8Codec(String)): Likewise.
30360         (getRawCodec(Key)): Likewise.
30361         (getX509Codec(Key)): Likewise.
30362         (getPKCS8Codec(Key)): Likewise.
30363         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30364         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30365         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30366         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30367         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30368         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30369         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30370         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30371         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30372
30373 2006-02-18  Mark Wielaard  <mark@klomp.org>
30374
30375         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30376         DragSource.
30377         (NoDragGestureRecognizer): New static class.
30378         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30379         Toolkit doesn't support drag and drop.
30380
30381 2006-02-18  Mark Wielaard  <mark@klomp.org>
30382
30383         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30384         (AbstractAction(String)): Just call putValue() for NAME.
30385         (putValue): Nothing to do is old and new value are both null.
30386
30387 2006-02-18  Mark Wielaard  <mark@klomp.org>
30388
30389         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30390         through getContentPane().
30391         (preferredLayoutSize): Likewise.
30392
30393 2006-02-18  Mark Wielaard  <mark@klomp.org>
30394
30395         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30396         actually set before painting.
30397
30398 2006-02-18  Mark Wielaard  <mark@klomp.org>
30399
30400         * javax/swing/text/html/HTMLDocument.java (addContent):
30401         Fully qualify AbstractDocument.AttributeContext and
30402         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30403
30404 2006-02-18  Mark Wielaard  <mark@klomp.org>
30405
30406         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30407         (getRepresentationClassFromMime): Add exception cause to
30408         IllegalArgumentException.
30409   
30410 2006-02-17  Lillian Angel  <langel@redhat.com>
30411   
30412         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30413         Removed unneeded import.
30414         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30415         Removed unneeded imports.
30416         * java/awt/BorderLayout.java:
30417         Fixed comment, this is not yet handled in the JDK 1.5.
30418         * java/awt/Container.java:
30419         Removed unneeded import.
30420   
30421 2006-02-17  Lillian Angel  <langel@redhat.com>
30422   
30423         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30424         (setBounds): Removed check. Coordinates should always be changed
30425         to incorporate the parent's coordinates.
30426         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30427         (setMenuBar): Added checks. Don't validate component if it has 
30428         not been validated yet, it will be validated later. Only validate
30429         if it has already been validated, in that case it needs to be
30430         revalidated.
30431         * java/awt/Window.java
30432         (show): Added check. If the window is visible, then bring it to the
30433         front. Otherwise, iterate through all its children windows and show them.
30434         No need to do both.
30435
30436 2006-02-17  Roman Kennke  <kennke@aicas.com>
30437
30438         * javax/swing/text/html/ParagraphView.java: New file.
30439
30440 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30441
30442         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30443         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30444         same location where was the initial text.
30445         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30446
30447 2006-02-17  Chris Burdess  <dog@gnu.org>
30448
30449         Fixes PRs 26319, 26320, 26321, 26322, 26325
30450         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30451           rethrowing exception.
30452         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30453           1.1-style prefix unbinding in 1.0 document" error for xmlns
30454           prefixes, not xmlns attributes. Fix a problem with empty namespace
30455           stack at the end of a document. Permit parameter entity references
30456           in element and attribute-list definition name area. Corrected
30457           normalisation of whitespace character entity references in CDATA
30458           attribute values. Fixed number of characters read following a
30459           reset when detecting end of character data with characters after a
30460           Unicode surrogate pair.
30461   
30462 2006-02-17  Roman Kennke  <kennke@aicas.com>
30463   
30464         * javax/swing/text/html/HTMLEditorKit.java
30465         (HTMLFactory.create): Create InlineView for content tags.
30466         * javax/swing/text/html/HTMLDocument.java
30467         (HTMLReader.flush): Call create() on first flush and insert
30468         on subsequent flushes.
30469   
30470 2006-02-17  Roman Kennke  <kennke@aicas.com>
30471   
30472         * javax/swing/text/AbstractDocument.java
30473         (BranchElement.getStartOffset): Implemented workaround for wrong
30474         NPE.
30475         (BranchElement.getEndOffset): Implemented workaround for wrong
30476         NPE.
30477         (ElementBuffer.split): Use createBranchElement() instead of
30478         new BranchElement().
30479         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30480         new BranchElement().
30481         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30482         instead of new BranchElement().
30483         (createDefaultRoot): Use createBranchElement() and createLeafElement
30484         instead of the constructors.
30485         (create): Rewritten.
30486   
30487 2006-02-17  Keith Seitz  <keiths@redhat.com>
30488   
30489         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30490         (SIZE): New constant.
30491         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30492         (executeIDsizes): Use SIZE constant.
30493         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30494         (SIZE): New constant.
30495
30496 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30497
30498         * javax/swing/JTable.java (IconCellRenderer): Set the component
30499         text to empty string. (createDefaultRenderers): Register
30500         IconCellRenderer also for ImageIcon. 
30501         (getCellEditor(int, int), getCellRenderer(int, int)):
30502         Use model index for data model and column index for column model.
30503         (getColumnClass): Convert to model index before requesting class
30504         from model. 
30505   
30506 2006-02-17  Roman Kennke  <kennke@aicas.com>
30507   
30508         * javax/swing/text/html/HTMLDocument.java
30509         (createDefaultRoot): Implemented.
30510         (createLeafElement): Implemented.
30511         (createBranchElement): Implemented.
30512         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30513         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30514         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30515         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30516         (HTMLReader.blockOpen): Add name attribute with the current tag.
30517         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30518   
30519 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30520   
30521         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30522         Rewritten.
30523         * javax/swing/table/JTableHeader.java: Documenting related methods.
30524   
30525 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30526   
30527         Fixes PR 25752
30528         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30529         (connect): Changed to use SystemProperties.
30530         (getInputStream): Try changeWorkingDirectory to figure out if
30531         url is a directory, if not use retrieve.
30532         (getOutputStream): Don't worry about directories, simply always
30533         try to do a store.
30534   
30535 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30536   
30537         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30538         (ActiveModeDTP): Mark accept thread as daemon.
30539   
30540 2006-02-17  Michael Koch  <konqueror@gmx.de>
30541   
30542         * tools/.cvsignore: Ignore tools.zip.
30543   
30544 2006-02-16  Keith Seitz  <keiths@redhat.com>
30545   
30546         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30547         Set the ID's reference.
30548         (<clinit>): Remove comments for field, method, and frame ID types,
30549         which will not be handled by VMIdManager.
30550   
30551 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30552   
30553         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30554         Use model index, not the column number.
30555         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30556         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30557         movement by painting draggingHeaderRect.
30558         * NEWS: Added entry about JTable columns. 
30559   
30560 2006-02-16  Keith Seitz  <keiths@redhat.com>
30561   
30562         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30563         default size of eight bytes.
30564         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30565         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30566         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30567         (executeIDsizes): Use new static methods.
30568         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30569         method.
30570         
30571 2006-02-16  David Daney  <ddaney@avtrex.com>
30572   
30573         PR classpath/26312
30574         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30575         return value with 0xff.
30576   
30577 2006-02-16  Keith Seitz  <keiths@redhat.com>
30578   
30579         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30580         (matches): Use Iterator instead of ListIterator.
30581   
30582 2006-02-16  Keith Seitz  <keiths@redhat.com>
30583   
30584         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30585         processor thread for easier debugging.
30586         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30587         main thread.
30588   
30589 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30590   
30591         * javax/swing/JTable.java 
30592         (TableColumnPropertyChangeHandler.propertyChange): Return without
30593         action if table header resizing column in not null. (doLayout):
30594         Only repaint the header if it is not null.      
30595         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30596         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30597         Rewritten. (MouseInputHandler.endResizing): New method.
30598   
30599 2006-02-16  Roman Kennke  <kennke@aicas.com>
30600   
30601         * javax/swing/text/html/InlineView.java: New file.
30602   
30603 2006-02-16  Roman Kennke  <kennke@aicas.com>
30604   
30605         * javax/swing/JTabbedPane.java
30606         (AccessibleJTable.getAccessibleChild): Implemented to return
30607         the Page instance for the specified index.
30608         (Page): Changed to implement Accessible and extend
30609         AccessibleContext.
30610         (Page.getAccessibleContext): New method.
30611         (Page.getAccessibleRole): New method.
30612         (Page.getAccessibleStateSet): New method.
30613         (Page.getAccessibleIndexInParent): New method.
30614         (Page.getAccessibleChildrenCount): New method.
30615         (Page.getAccessibleChild): New methdod.
30616         (Page.getLocale): New method.
30617   
30618 2006-02-16  Roman Kennke  <kennke@aicas.com>
30619   
30620         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30621         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30622         tabCount gets greater than tabRuns.length.
30623         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30624         when tabCount gets greater than tabRuns.length.
30625         (paintTabArea): Don't set tabCount == runCount.
30626   
30627 2006-02-16  Roman Kennke  <kennke@aicas.com>
30628   
30629         * javax/swing/plaf/basic/BasicTextUI.java
30630         (installUI): Moved installation of PropertyChangeListener
30631         to installListeners(). Call modelChanged() after everything is
30632         is installed.
30633         (installListeners): Install PropertyChangeListener here.
30634         (uninstallUI): Moved uninstallation of PropertyChangeListener
30635         to uninstallListeners.
30636         (uninstallListeners): Uninstall PropertyChangeListener here.
30637
30638 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30639
30640         * javax/swing/JTable.java (doLayout): 
30641         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30642         on exit.
30643         javax/swing/plaf/basic/BasicTableHeaderUI.java 
30644         (MouseInputHandler.mouseDragged): Do not repaint the header.
30645   
30646 2006-02-16  Roman Kennke  <kennke@aicas.com>
30647   
30648         * javax/swing/JViewport.java
30649         (static_initializer): Set default scrollMode to backingstore.
30650   
30651 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30652   
30653         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30654         returned by getCellRect. To not translate the component.
30655   
30656 2006-02-16  Roman Kennke  <kennke@aicas.com>
30657   
30658         * javax/swing/JComponent.java
30659         (rectCache): Made field non-static to avoid nasty interferences.
30660         (computeVisibleRect): Avoid creation of new Rectangles and double
30661         calculations on ints by using Swing.computeIntersection() instead
30662         of Rectangle2D.intersect().
30663         (repaint): Interect the dirty region with the visible rectangle
30664         of this component to avoid unnecessary painting.
30665   
30666 2006-02-16  Gary Benson  <gbenson@redhat.com>
30667   
30668         * java/lang/Thread.java (stop): Add a missing access check.
30669   
30670 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
30671   
30672         * javax/swing/text/JTextComponent.java:
30673         (replaceSelection): Added code to update the magic caret position.
30674         * javax/swing/text/DefaultEditorKit.java: Added code to update
30675         the magic caret position of the text component in all relevant
30676         movement actions, make use of the magic caret position in up
30677         and down movements and selections, simplified some actions
30678         (code-wise).
30679
30680 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
30681
30682         * gnu/java/lang/CharData.java: Regenerated from 
30683         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30684         and scripts/unicode-muncher.pl.
30685         * java/lang/Character.java: 
30686         (PrivateUseCharacters): New private static class.
30687         (UnassignedCharacters): Likewise.
30688         (blocks): Changed from char[] to char[][] to reflect the changes in 
30689         gnu/java/lang/CharData.  There is now one char[] per Unicode code
30690         plane.
30691         (data): Likewise.
30692         (numValue): Likewise.
30693         (upper): Likewise.
30694         (lower): Likewise.
30695         (direction): Likewise.
30696         (readChar): Replaced this method with new method readCodePoint.
30697         (readCodePoint): New method.
30698         (isLowerCase(char)): Redirected to new isLowerCase(int).
30699         (isLowerCase(int)): New method.
30700         (isUpperCase(char)): Redirected to new isUpperCase(int).
30701         (isUpperCase(int)): New method.
30702         (isTitleCase(char)): Redirected to new isTitleCase(int).
30703         (isTitleCase(int)): New method.
30704         (isDigit(char)): Redirected to new isDigit(int).
30705         (isDigit(int)): New method.
30706         (isDefined(char)): Redirected to new isDefined(int).
30707         (isDefined(int)): New method.
30708         (isLetter(char)): Redirected to new isLetter(int).
30709         (isLetter(int)): New method.
30710         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30711         (isLetterOrDigit(int)): New method.
30712         (isJavaIdentifierStart(char)): Redirected to new 
30713         isJavaIdentifierStart(int).
30714         (isJavaIdentifierStart(int)): New method.
30715         (isJavaIdentifierPart(char)): Redirected to new 
30716         isJavaIdentifierPart(int).
30717         (isJavaIdentifierPart(int)): New method.
30718         (isUnicodeIdentifierStart(char)): Redirected to new
30719         isUnicodeIdentifierStart(int).
30720         (isUnicodeIdentifierStart(int)): New method.
30721         (isUnicodeIdentifierPart(char)): Redirected to new 
30722         isUnicodeIdentifierPart(int).
30723         (isUnicodeIdentifierPart(int)): New method.
30724         (isIdentifierIgnorable(char)): Redirected to new
30725         isIdentifierIgnorable(int).
30726         (isIdentifierIgnorable(int)): New method.
30727         (toLowerCase(char)): Changed access to lower to correspond with new
30728         char[][] type of lower.
30729         (toLowerCase(int)) New method.
30730         (toUpperCase(char)): Changed access to upper to correspond with new
30731         char[][] type of upper.
30732         (toUpperCase(int)): New method.
30733         (toTitleCase(int)): New method.
30734         (digit(char, int)): Replaced call to readChar with call to 
30735         readCodePoint and changed access to numValue to reflect new char[][]
30736         type of numValue. 
30737         (digit(int, int)): New method.
30738         (getNumericValue(char)): Changed access to numValue to reflect new
30739         char[][] type of numValue.
30740         (getNumericValue(int)): New method.
30741         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30742         (isSpaceChar(int)): New method.
30743         (isWhitespace(char)): Redirected to new isWhitespace(int).
30744         (isWhitespace(int)): New method.
30745         (isISOControl(char)): Redirected to new isISOControl(int).
30746         (isISOControl(int)): New method.
30747         (getType(char)): Redirected to new getType(int).
30748         (getType(int)): New method.
30749         (getDirectionality(char)): Redirected to new getDirectionality(int).
30750         (getDirectionality(int)): New method.
30751         (isMirrored(char)): Changed call to readChar to readCodePoint.
30752         (isMirrored(int)): New method.
30753         * java/lang/String.java:
30754         (upperCaseExpansion): Changed access to Character.direction to reflect
30755         new char[][] type of direction.
30756         (offsetByCodePoints): New method.
30757         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
30758         4.0.0 which introduced supplementary character assignments.  
30759
30760 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30761
30762         * javax/swing/JTable.java,
30763         javax/swing/plaf/basic/BasicTableHeaderUI.java,
30764         javax/swing/table/DefaultTableModel.java: Documented.
30765   
30766 2006-02-15  Lillian Angel  <langel@redhat.com>
30767   
30768         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30769         Removed duplicate methods.
30770   
30771 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30772   
30773         * javax/swing/JTable.java (distributeSpillResizing): New method.
30774         (doLayout): Use distributeSpillResizing when resizing.
30775         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30776         Rewritten. (installListeners): Add mouse motion listener. 
30777         (uninstallListeners): Remove mouse motion listener. 
30778   
30779 2006-02-15  Lillian Angel  <langel@redhat.com>
30780   
30781         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30782         (setVisible): Removed method.
30783         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30784         (setLocation): New method.
30785         (setLocationUnlocked): New method.
30786         (show): Changed to use setLocation instead of setBounds.
30787         * java/awt/Component.java
30788         (show): Should call peer.show(), not peer.setVisible(), so the
30789         location of the component is correctly set.
30790         (preferredSize): Added curly braces so else statements are
30791         properly associated with if's.
30792         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30793         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
30794         New function.
30795         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30796         LocationUnlocked): New function.
30797         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30798         Added declarations for Java_gnu_java_awt_peer_gtk_
30799         GtkWindowPeer_nativeSetLocation and 
30800         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30801         _nativeSetLocationUnlocked.
30802   
30803 2006-02-15  Mark Wielaard  <mark@klomp.org>
30804   
30805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30806         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30807         Downcast gtk_plug_new result when used.
30808   
30809 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
30810   
30811         * java/io/ObjectOutputStream.java (writeClassDescriptor):
30812         Call assignNewHandle() after writing Proxy class.
30813   
30814 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
30815   
30816         Fixes bug #14144
30817         * java/io/ObjectInputStream.java (readClassDescriptor):
30818         Class doesn't have to be abstract for first_nonserial.
30819   
30820 2006-02-15  Roman Kennke  <kennke@aicas.com>
30821   
30822         * javax/swing/JInternalFrame.java
30823         (setClosed): Call dispose to actually make the frame invisible
30824         and unselected.
30825   
30826 2006-02-15  Roman Kennke  <kennke@aicas.com>
30827   
30828         * javax/swing/JInternalFrame.java
30829         (dispose): Call setVisible(false) instead of hide.
30830         (doDefaultCloseOperation): Likewise.
30831   
30832 2006-02-15  Roman Kennke  <kennke@aicas.com>
30833   
30834         * javax/swing/JComponent.java
30835         (paintChildren): Also check for the visibility of a child component
30836         to avoid artifacts.
30837         (repaint): Simply add this component to the RepaintManager rather than
30838         trying to do useless optimization here.
30839   
30840 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30841   
30842         * javax/swing/JSpinner.java
30843         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
30844         PropertyChangeListener,
30845         (DefaultEditor.getSpinner): Updated API docs,
30846         (DefaultEditor.dismiss): Likewise,
30847         (DefaultEditor.getTextField): Likewise,
30848         (DefaultEditor.layoutContainer): Likewise,
30849         (DefaultEditor.minimumLayoutSize): Likewise,
30850         (DefaultEditor.preferredLayoutSize): Likewise,
30851         (DefaultEditor.propertyChange): Implemented,
30852         (DefaultEditor.stateChanged): Implemented,
30853         (DefaultEditor.removeLayoutComponent): Updated API docs,
30854         (DefaultEditor.addLayoutComponent): Likewise,
30855         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30856         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30857         (NumberEditor.getFormat): Implemented,
30858         (NumberEditor.getModel): Updated API docs,
30859         (NumberEditorFormatter): New static inner class,
30860         (ListEditor.getModel): Updated API docs,
30861         (DateEditor.dateFormat): Removed,
30862         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30863         (DateEditor.DateEditor(JSpinner, String)): Likewise,
30864         (DateEditor.init): Removed,
30865         (DateEditor.getFormat): Reimplemented,
30866         (DateEditorFormatter): New static inner class,
30867         (ModelListener): New inner class,
30868         (model): Updated API docs,
30869         (editor): Likewise,
30870         (listener): Removed,
30871         (JSpinner()): Updated API docs,
30872         (JSpinner(SpinnerModel)): Set up ModelListener,
30873         (setEditor): Fire property change,
30874         (getModel): Updated API docs,
30875         (setModel): Removed check for null editor,
30876         (setValue): Updated API docs,
30877         (getUIClassID): Updated API docs,
30878         (createEditor): Handle SpinnerListModel case,
30879         * javax/swing/plaf/basic/BasicSpinnerUI.java
30880         (createUI): Updated API docs,
30881         (createPropertyChangeListener): Added FIXME,
30882         (installDefaults): Set text field border to null,
30883         (DefaultLayoutManager): Updated API docs,
30884         (DefaultLayoutManager.layoutContainer): Modified layout,
30885         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30886         (DefaultLayoutManager.preferredLayoutSize): Likewise,
30887         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30888         (DefaultLayoutManager.addLayoutComponent): Likewise,
30889         (DefaultLayoutManager.minSize): Renamed prefSize,
30890         (DefaultLayoutManager.setBounds): Reformatted,
30891         (DefaultLayoutManager.editor): Added API docs,
30892         (DefaultLayoutManager.next): Likewise,
30893         (DefaultLayoutManager.previous): Likewise,
30894         * javax/swing/plaf/metal/MetalLookAndFeel.java
30895         (initComponentDefaults): Added entry for 'Spinner.border',
30896         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30897
30898 2006-02-15  Chris Burdess  <dog@gnu.org>
30899
30900         * gnu/xml/validation/datatype/BooleanType.java,
30901           gnu/xml/validation/datatype/ByteType.java,
30902           gnu/xml/validation/datatype/DateTimeType.java,
30903           gnu/xml/validation/datatype/DateType.java,
30904           gnu/xml/validation/datatype/DecimalType.java,
30905           gnu/xml/validation/datatype/DoubleType.java,
30906           gnu/xml/validation/datatype/DurationType.java,
30907           gnu/xml/validation/datatype/FloatType.java,
30908           gnu/xml/validation/datatype/GDayType.java,
30909           gnu/xml/validation/datatype/GMonthDayType.java,
30910           gnu/xml/validation/datatype/GMonthType.java,
30911           gnu/xml/validation/datatype/GYearMonthType.java,
30912           gnu/xml/validation/datatype/GYearType.java,
30913           gnu/xml/validation/datatype/IntType.java,
30914           gnu/xml/validation/datatype/IntegerType.java,
30915           gnu/xml/validation/datatype/LongType.java,
30916           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30917           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30918           gnu/xml/validation/datatype/MinExclusiveFacet.java,
30919           gnu/xml/validation/datatype/MinInclusiveFacet.java,
30920           gnu/xml/validation/datatype/NegativeIntegerType.java,
30921           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30922           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30923           gnu/xml/validation/datatype/PositiveIntegerType.java,
30924           gnu/xml/validation/datatype/ShortType.java,
30925           gnu/xml/validation/datatype/SimpleType.java,
30926           gnu/xml/validation/datatype/TimeType.java,
30927           gnu/xml/validation/datatype/TypeBuilder.java,
30928           gnu/xml/validation/datatype/UnsignedByteType.java,
30929           gnu/xml/validation/datatype/UnsignedIntType.java,
30930           gnu/xml/validation/datatype/UnsignedLongType.java,
30931           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30932           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30933           minInclusive facets use the value space of the base type, and
30934           implement.
30935
30936 2006-02-15  Mark Wielaard  <mark@klomp.org>
30937
30938         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30939         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30940         gtk_plug_new() returns a GtkWindow.
30941
30942 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30943
30944         * javax/swing/SpinnerNumberModel.java
30945         (getNextValue): Check for null maximum,
30946         (getPreviousValue): Check for null minimum.
30947   
30948 2006-02-15  Roman Kennke  <kennke@aicas.com>
30949   
30950         * javax/swing/plaf/basic/BasicTableUI.java
30951         (paint): Paint vertical and horizontal lines one pixel shifted
30952         left/top.
30953   
30954 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
30955   
30956         * java/util/zip/ZipFile.java
30957         (checkZipFile): Inlined readLeInt and rewritten for robustness.
30958         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30959         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30960         (readEntries): Rewritten to use PartialInputStream.
30961         (locBuf, checkLocalHeader): Removed.
30962         (getInputStream): Rewritten to use new PartialInputStream.
30963         (PartialInputStream): Rewritten to do buffering.
30964
30965 2006-02-15  Michael Koch  <konqueror@gmx.de>
30966
30967         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30968         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30969         Make sure the embedded window gets no decorations.
30970         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30971         (window_get_frame_extents): Return early of the window has no
30972         decorations.
30973   
30974 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30975   
30976         * examples/gnu/classpath/examples/swing/TableDemo.java
30977         (TModel, createContent): Explain which value appears in the header.
30978         * javax/swing/JTable.java (setColumnModel): Only set the
30979         column header value if the getHeaderValue() returns null.
30980
30981 2006-02-14  Mark Wielaard  <mark@klomp.org>
30982
30983         Fixes bug #23931
30984         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30985         (getErrorImage): New static method.
30986         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30987         (bufferedImageOrError): Renamed to ...
30988         (imageOrError): Renamed from bufferedImageOrError, takes Image.
30989         Returns GtkImage.getErrorImage() when argument null.
30990         (createImage(String)): Always use imageOrError.
30991         (createImage(URL)): Likewise.
30992         (createImage(ImageProducer)): Likewise.
30993         (createImage(byte[],int,int)): Likewise.
30994
30995 2006-02-14  Roman Kennke  <kennke@aicas.com>
30996
30997         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30998         unneeded imports.
30999         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31000         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31001         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31002         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31003         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31004
31005 2006-02-14  Roman Kennke  <kennke@aicas.com>
31006
31007         * javax/swing/text/AsyncBoxView.java
31008         (ChildState.locator): Removed wrong field.
31009         (ChildState): Removed initialization of removed field.
31010         (locator): Changed access modifier to be protected as specified.
31011
31012 2006-02-14  Roman Kennke  <kennke@aicas.com>
31013
31014         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31015         * javax/swing/Timer.java: Some small reindention.
31016         (task): Made package private to avoid synthetic accessor method.
31017   
31018 2006-02-14  Roman Kennke  <kennke@aicas.com>
31019   
31020         * javax/swing/SwingUtilities.java
31021         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31022         no icon.
31023   
31024 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31025   
31026         * examples/gnu/classpath/examples/swing/TableDemo.java:
31027         Making the columns variable width.
31028         * javax/swing/JTable.java (distributeSpill, doLayout):
31029           Call getPreferredSize and not getSize().
31030   
31031 2006-02-14  Roman Kennke  <kennke@aicas.com>
31032   
31033         * javax/swing/DefaultCellEditor.java
31034         (DefaultCellEditor): API doc fixlet.
31035   
31036 2006-02-14  Roman Kennke  <kennke@aicas.com>
31037   
31038         * javax/swing/JViewport.java
31039         (isPaintRoot): New field.
31040         (repaint): Only call super here. Also added a comment regarding
31041         the diversion from the JDK.
31042         (paintBlit): Implemented real blitting.
31043         (paintImmediately2): New method. Overrides the same package private
31044         method in JComponent.
31045   
31046 2006-02-14  Roman Kennke  <kennke@aicas.com>
31047   
31048         * javax/swing/plaf/basic/BasicTableUI.java
31049         (paint): Check for boundary cases when determining the painting
31050         area.
31051   
31052 2006-02-14  Mark Wielaard  <mark@klomp.org>
31053   
31054         * java/awt/Menu.java (add): Always set parent of item to this. Call
31055         addNotify() on item when we have a MenuPeer already.
31056         (insert): Always adjust parent for item. Call addNotify() on item if
31057         we already have a peer.
31058         (remove(int)): Always clear item parent. Call removeNotify() on item
31059         if we had a peer.
31060   
31061 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31062   
31063         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31064         row == getRowCount().
31065   
31066 2006-02-14  Lillian Angel  <langel@redhat.com>
31067         
31068         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31069         (setVisible): New method to override super. Need to set the
31070         native bounds of the component, so it appears at the
31071         correct location.
31072
31073 2006-02-14  Mark Wielaard  <mark@klomp.org>
31074
31075         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31076         (remove): If menu component is the current MenuBar remove it,
31077         otherwise call super.remove().
31078         * java/awt/MenuBar.java (frame): Remove field.
31079         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31080
31081 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31082
31083         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31084         to NameServicePersistent.
31085         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31086         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31087
31088 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31089
31090         * NEWS: Updated tool status.
31091         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31092         (constructor, bind, rebind): Rewritten.  
31093         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31094         * tools/gnu/classpath/tools/giop/README: Updated.
31095         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31096         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31097         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31098         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31099         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31100         New files.
31101   
31102 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31103   
31104         * javax/swing/JComponent.java
31105         (getListeners): Check for PropertyChangeListener.class and delegate to 
31106         getPropertyChangeListeners() for that case.
31107   
31108 2006-02-13  Roman Kennke  <kennke@aicas.com>
31109   
31110         * javax/swing/plaf/basic/BasicTableUI.java
31111         (paint): Determine the cells that need painting based on the
31112         current clip. Use getCellRect() for calculating the cell
31113         bounds.
31114   
31115 2006-02-13  Roman Kennke  <kennke@aicas.com>
31116   
31117         * javax/swing/JTable.java
31118         (rectCache): New field.
31119         (getCellRect): Returns cached Rectangle instance.
31120   
31121 2006-02-13  Roman Kennke  <kennke@aicas.com>
31122   
31123         * javax/swing/JLayeredPane.java
31124         (removeAll): New method. Avoid potential memory leak.
31125         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31126         calculation.
31127   
31128 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31129   
31130         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31131         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31132   
31133 2006-02-13  Tom Tromey  <tromey@redhat.com>
31134   
31135         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31136         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31137   
31138 2006-02-13  Roman Kennke  <kennke@aicas.com>
31139   
31140         * javax/swing/RepaintManager.java
31141         (offscreenBuffers): New field.
31142         (doubleBuffer): Removed field.
31143         (repaintUnderway): New field.
31144         (commitRequests): New field.
31145         (RepaintManager): Initialize new fields.
31146         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31147         buffers when done.
31148         (getOffscreenBuffer): Returns the offscreen buffer for the
31149         corresponding root component.
31150         (commitBuffer): New method.
31151         (commitRemainingBuffers): New method.
31152         * javax/swing/JComponent.java
31153         (paint): Call paintDoubleBuffered with the current clip.
31154         (paintImmediately2): Don't paint on screen here.
31155         (paintDoubleBuffered): Rewritten for real double buffering.
31156         (paintSimple): Draw to screen in this method.
31157   
31158 2006-02-13  Roman Kennke  <kennke@aicas.com>
31159   
31160         * javax/swing/JRootPane.java
31161         (JRootPane): Set opaque property to true.
31162   
31163 2006-02-13  Tom Tromey  <tromey@redhat.com>
31164   
31165         * .classpath: Updated for external/relaxngDatatype.
31166   
31167 2006-02-13  Chris Burdess  <dog@gnu.org>
31168   
31169         * gnu/xml/stream/UnicodeReader.java,
31170           gnu/xml/validation/datatype/Annotation.java,
31171           gnu/xml/validation/datatype/AnySimpleType.java,
31172           gnu/xml/validation/datatype/AnyType.java,
31173           gnu/xml/validation/datatype/AnyURIType.java,
31174           gnu/xml/validation/datatype/AtomicSimpleType.java,
31175           gnu/xml/validation/datatype/Base64BinaryType.java,
31176           gnu/xml/validation/datatype/BooleanType.java,
31177           gnu/xml/validation/datatype/ByteType.java,
31178           gnu/xml/validation/datatype/DateTimeType.java,
31179           gnu/xml/validation/datatype/DateType.java,
31180           gnu/xml/validation/datatype/DecimalType.java,
31181           gnu/xml/validation/datatype/DoubleType.java,
31182           gnu/xml/validation/datatype/DurationType.java,
31183           gnu/xml/validation/datatype/EntitiesType.java,
31184           gnu/xml/validation/datatype/EntityType.java,
31185           gnu/xml/validation/datatype/EnumerationFacet.java,
31186           gnu/xml/validation/datatype/Facet.java,
31187           gnu/xml/validation/datatype/FloatType.java,
31188           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31189           gnu/xml/validation/datatype/GDayType.java,
31190           gnu/xml/validation/datatype/GMonthDayType.java,
31191           gnu/xml/validation/datatype/GMonthType.java,
31192           gnu/xml/validation/datatype/GYearMonthType.java,
31193           gnu/xml/validation/datatype/GYearType.java,
31194           gnu/xml/validation/datatype/HexBinaryType.java,
31195           gnu/xml/validation/datatype/IDRefType.java,
31196           gnu/xml/validation/datatype/IDRefsType.java,
31197           gnu/xml/validation/datatype/IDType.java,
31198           gnu/xml/validation/datatype/IntType.java,
31199           gnu/xml/validation/datatype/IntegerType.java,
31200           gnu/xml/validation/datatype/LanguageType.java,
31201           gnu/xml/validation/datatype/LengthFacet.java,
31202           gnu/xml/validation/datatype/ListSimpleType.java,
31203           gnu/xml/validation/datatype/LongType.java,
31204           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31205           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31206           gnu/xml/validation/datatype/MaxLengthFacet.java,
31207           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31208           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31209           gnu/xml/validation/datatype/MinLengthFacet.java,
31210           gnu/xml/validation/datatype/NCNameType.java,
31211           gnu/xml/validation/datatype/NMTokenType.java,
31212           gnu/xml/validation/datatype/NMTokensType.java,
31213           gnu/xml/validation/datatype/NameType.java,
31214           gnu/xml/validation/datatype/NegativeIntegerType.java,
31215           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31216           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31217           gnu/xml/validation/datatype/NormalizedStringType.java,
31218           gnu/xml/validation/datatype/NotationType.java,
31219           gnu/xml/validation/datatype/PatternFacet.java,
31220           gnu/xml/validation/datatype/PositiveIntegerType.java,
31221           gnu/xml/validation/datatype/QNameType.java,
31222           gnu/xml/validation/datatype/ShortType.java,
31223           gnu/xml/validation/datatype/SimpleType.java,
31224           gnu/xml/validation/datatype/StringType.java,
31225           gnu/xml/validation/datatype/TimeType.java,
31226           gnu/xml/validation/datatype/TokenType.java,
31227           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31228           gnu/xml/validation/datatype/Type.java,
31229           gnu/xml/validation/datatype/TypeBuilder.java,
31230           gnu/xml/validation/datatype/TypeLibrary.java,
31231           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31232           gnu/xml/validation/datatype/UnionSimpleType.java,
31233           gnu/xml/validation/datatype/UnsignedByteType.java,
31234           gnu/xml/validation/datatype/UnsignedIntType.java,
31235           gnu/xml/validation/datatype/UnsignedLongType.java,
31236           gnu/xml/validation/datatype/UnsignedShortType.java,
31237           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31238           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31239           RELAX NG datatype library implementation for XML Schema Datatypes.
31240
31241 2006-02-13  Chris Burdess  <dog@gnu.org>
31242
31243         * LICENCE,
31244           NEWS,
31245           configure.ac,
31246           doc/README.jaxp,
31247           external/Makefile.am,
31248           external/relaxngDatatype/.cvsignore,
31249           external/relaxngDatatype/Makefile.am,
31250           external/relaxngDatatype/README.txt,
31251           external/relaxngDatatype/copying.txt,
31252           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31253           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31254           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31255           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31256           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31257           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31258           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31259           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31260           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31261           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31262           lib/Makefile.am,
31263           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31264           datatypes library API.
31265   
31266 2006-02-13  Mark Wielaard  <mark@klomp.org>
31267   
31268         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31269         final.
31270         (gtkWidgetModifyFont(Font)): New protected helper method.
31271         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31272         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31273         protected and document.
31274         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31275         Likewise.
31276         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31277         Likewise.
31278         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31279         Likewise.
31280         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31281         (setFont): Removed method. Done in GtkMenuComponent.
31282         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31283         abstract and protected.
31284         (setFont): Made private, add implementation.
31285         (setFont(Font)): Implemented.
31286         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31287         Made protected and document.
31288         (create): Made protected.
31289         (setFont): Removed method. Done in GtkMenuComponent.
31290         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31291         (gtkWidgetModifyFont): Made protected and document.
31292         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31293         Removed, similar to GtkGenericPeer super class implementation.
31294         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31295         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31296         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31297         Removed.
31298   
31299 2006-02-13  Mark Wielaard  <mark@klomp.org>
31300   
31301         * java/lang/Math.java (static): Explicitly call
31302         System.loadLibrary("javalang").
31303   
31304 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31305   
31306         * javax/print/StreamPrintServiceFactory.java: New file.
31307   
31308 2006-02-13  Tom Tromey  <tromey@redhat.com>
31309   
31310         * tools/.cvsignore: Added Makefile.
31311   
31312 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31313   
31314         * java/awt/print/PrinterGraphics.java: Reformatted.
31315         * java/awt/print/Paper.java: Likewise.
31316         * java/awt/print/PageFormat.java: Likewise.
31317         * java/awt/print/Pageable.java: Likewise.
31318   
31319 2006-02-13  Lillian Angel  <langel@redhat.com>
31320   
31321         * java/awt/BorderLayout.java
31322         (layoutContainer): Rewrote part of this function to 
31323         properly set the bounds of the components.
31324         (setBounds): Removed method, not needed.
31325   
31326 2006-02-13  Roman Kennke  <kennke@aicas.com>
31327   
31328         * javax/swing/text/DefaultStyledDocument.java
31329         (ElementBuffer.clone): Fixed replace call.
31330         (clone): Removed method.
31331   
31332 2006-02-13  Roman Kennke  <kennke@aicas.com>
31333   
31334         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31335   
31336 2006-02-13  Roman Kennke  <kennke@aicas.com>
31337   
31338         * java/rmi/server/UnicastRemoteObject.java
31339         (exportObject(Remote)): Forward method call to export(Remote,int).
31340   
31341 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31342   
31343         * include/Makefile.am:
31344         Swapped Math.h for VMMath.h
31345         * include/java_lang_Math.h:
31346         Removed.
31347         * include/java_lang_VMMath.h:
31348         New autogenerated header for the new class.
31349         * java/lang/Math.java:
31350         (sin(double)): Changed to link to VMMath.
31351         (cos(double)): Changed to link to VMMath.
31352         (tan(double)): Changed to link to VMMath.
31353         (asin(double)): Changed to link to VMMath.
31354         (acos(double)): Changed to link to VMMath.
31355         (atan(double)): Changed to link to VMMath.
31356         (atan2(double)): Changed to link to VMMath.
31357         (exp(double)): Changed to link to VMMath.
31358         (log(double)): Changed to link to VMMath.
31359         (sqrt(double)): Changed to link to VMMath.
31360         (pow(double,double)): Changed to link to VMMath.
31361         (IEEEremainder(double,double)): Changed to link to VMMath.
31362         (ceil(double)): Changed to link to VMMath.
31363         (floor(double)): Changed to link to VMMath.
31364         (rint(double)): Changed to link to VMMath.
31365         * native/jni/java-lang/Makefile.am:
31366         Replaced java_lang_Math.c with java_lang_VMMath.c
31367         * native/jni/java-lang/java_lang_Math.c:
31368         Removed.
31369         * native/jni/java-lang/java_lang_VMMath.c:
31370         Renamed from java_lang_Math.c.
31371         * vm/reference/java/lang/VMMath.java:
31372         New class.
31373         (sin(double)): New native method.
31374         (cos(double)): New native method.
31375         (tan(double)): New native method.
31376         (asin(double)): New native method.
31377         (acos(double)): New native method.
31378         (atan(double)): New native method.
31379         (atan2(double)): New native method.
31380         (exp(double)): New native method.
31381         (log(double)): New native method.
31382         (sqrt(double)): New native method.
31383         (pow(double,double)): New native method.
31384         (IEEEremainder(double,double)): New native method.
31385         (ceil(double)): New native method.
31386         (floor(double)): New native method.
31387         (rint(double)): New native method.
31388         
31389 2006-02-13  Lillian Angel  <langel@redhat.com>
31390   
31391         * java/awt/Component.java
31392         (repaint): No need to call isShowing, it is done in the other repaint call.
31393         (repaint): Likewise.
31394         (repaint): Likewise.
31395   
31396 2006-02-13  Lillian Angel  <langel@redhat.com>
31397   
31398         * java/awt/Component.java
31399         (repaint): Reverted last change.
31400         (repaint): Likewise.
31401         (repaint): Likewise.
31402
31403 2006-02-13  Lillian Angel  <langel@redhat.com>
31404
31405         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31406         (handleEvent): Made more efficent by handling paint event and
31407         setting the clip for the graphics.
31408         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31409         (handleEvent): Likewise.
31410         * java/awt/Component.java
31411         (repaint): No need to call isShowing, it is done in the other repaint call.
31412         (repaint): Likewise.
31413         (repaint): Likewise.
31414   
31415 2006-02-13  Roman Kennke  <kennke@aicas.com>
31416   
31417         * javax/swing/text/AbstractDocument.java
31418         (setParent): Added API docs. Call setParent(null) on children before
31419         disconnecting this view from the View hierarchy.
31420   
31421 2006-02-13  Roman Kennke  <kennke@aicas.com>
31422   
31423         * javax/swing/text/AbstractDocument.java
31424         (readUnlock): Don't attempt to unlock when the current threads also
31425         holds a write lock.
31426   
31427 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31428   
31429         * javax/swing/plaf/metal/MetalBorders.java
31430         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31431         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31432         insets argument,
31433         (Flush3DBorder.borderInsets): New field,
31434         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31435         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31436         null insets argument, and populate result from borderInsets,
31437         (PaletteBorder.borderInsets): New field,
31438         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31439         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31440         null insets argument, and populate result from borderInsets,
31441         (InternalFrameBorder.borderInsets): New field,
31442         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31443         directly,
31444         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31445         for null insets argument, and populate result from borderInsets,
31446         (MenuItemBorder.borderInsets): Initialise to correct value.
31447
31448 2006-02-13  Roman Kennke  <kennke@aicas.com>
31449
31450         * javax/swing/text/AsyncBoxView.java: New file.
31451
31452 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31453
31454         Fixes bug #26166
31455         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31456         was moved to a new method parseCharClass.
31457         (parseCharClass): New method originally in initialize. Added parsing
31458         of nested character classes.
31459         (ParseCharClassResult): New inner class used as a return value of
31460         parseCharClass.
31461         (getCharExpression),(getNamedProperty): Made static.
31462         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31463         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31464         nested character classes.
31465         (RETokenOneOf): New constructor accepting the Vector addition.
31466         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31467         stands for only one character.
31468         (match): Added the processing of the Vector addition.
31469         (matchN), (matchP): Do not check next token if addition is used.
31470   
31471 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31472   
31473         * AUTHORS: add self.
31474   
31475 2006-02-12  Tom Tromey  <tromey@redhat.com>
31476   
31477         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31478         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31479         (securityContext): Likewise.
31480         (log): Likewise.
31481   
31482 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31483   
31484         Fixes PR 26218.
31485   
31486         * gnu/java/net/protocol/file/Connection.java (unquote):
31487         Convert Unicode characters outside basic plane to UTF-8,
31488         rather than throwing an exception.
31489   
31490 2006-02-12  Tom Tromey  <tromey@redhat.com>
31491   
31492         * javax/sound/sampled/LineEvent.java (readObject): New method.
31493         (writeObject): Likewise.
31494         (serialVersionUID): New field.
31495   
31496 2006-02-12  Mark Wielaard  <mark@klomp.org>
31497   
31498         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31499         Silently ignores null listener.
31500         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31501         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31502         array for null propertyName.
31503
31504 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31505
31506         * java/rmi/MarshalledObject.java: Added api docs to the class.
31507         * java/rmi/Remote.java: Added interface api docs.
31508         * java/rmi/package.html: Added package description.
31509         * java/rmi/AccessException.java: Minor api doc fixes.
31510         * java/rmi/NoSuchObjectException.java: Likewise.
31511         * java/rmi/AlreadyBoundException.java: Likewise.
31512         * java/rmi/RemoteException.java: Likewise.
31513         * java/rmi/NotBoundException.java: Likewise.
31514         * java/rmi/RMISecurityException.java: Likewise.
31515         * java/rmi/StubNotFoundException.java: Likewise.        
31516
31517 2006-02-12  Mark Wielaard  <mark@klomp.org>
31518
31519         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31520         q() to get EventQueue.
31521         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31522         (enableQueue): Remove static method.
31523         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31524         Don't call GtkGenericPeer.enableQueue().
31525
31526 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31527
31528         * java/rmi/MarshalledObject.java: Reformatted.
31529         * java/rmi/Naming.java: Likewise.       
31530
31531 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31532
31533         * java/io/InputStream.java
31534         (read(byte[],int,int)): Changed argument validation to prevent
31535         integer overflow. Remove redundant check.
31536   
31537 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31538   
31539         Fixes PR 26220
31540         * java/io/InputStreamReader.java
31541         (InputStreamReader(InputStream)): Use SystemProperties.
31542         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31543         Throw NullPointerException if in is null.
31544         Added maxBytesPerChar initialisation.
31545         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31546         Throw NullPointerException if in is null.
31547
31548 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31549
31550         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31551         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31552         (GnuDHPublicKey): New constructor.
31553         (getEncoded): Removed.
31554         (valueOf): Added support for ASN.1 encoding.
31555         (getEncoded(int)): Likewise.
31556         (equals): New method.
31557         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31558         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31559         (GnuDHPrivateKey(5)): New constructor.
31560         (getEncoded): Removed.
31561         (valueOf): Added support for ASN.1 encoding.
31562         (getEncoded(int)): Likewise.
31563         (equals): New method.
31564         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31565         (PREFERRED_ENCODING_FORMAT): New constant.
31566         (DEFAULT_ENCODING_FORMAT): Likewise.
31567         (preferredFormat): New field.
31568         (setup): Handle preferred encoding format identifier.
31569         (generate): Call constructors with format identifier.
31570         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31571         (GnuDHKey): Added an int argument.
31572         (getEncoded): New method.
31573         (getFormat): New implementation.
31574         (getEncoded(int)): New abstract method.
31575         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31576         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31577         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31578         key-pair generator and key-factory.
31579         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31580         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31581         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31582         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31583         (invokeConstructor): New method.
31584         (getConcreteClass): Likewise.
31585         (getConcreteCtor): Likewise.
31586         (invokeValueOf): Likewise.
31587         (getValueOfMethod): Likewise.
31588         (engineGeneratePublic): Add support for DH keys.
31589         (engineGeneratePrivate): Likewise.
31590         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31591         (decodeDHPublicKey(byte[])): Likewise.
31592         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31593         (decodeDHPrivateKey(byte[])): Likewise.
31594
31595 2006-02-11  Mark Wielaard  <mark@klomp.org>
31596
31597         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31598         Removed field.
31599         (repaint): Immediately post to queue when tm <= 0, otherwise call
31600         RepaintTimerTask.schedule().
31601         (RepaintTimerTask): Make static.
31602         (RepaintTimerTask.repaintTimer): New static final field.
31603         (RepaintTimerTask.awtComponent): New field.
31604         (schedule): New static method.
31605
31606 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31607
31608         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31609         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31610         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31611         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31612         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31613         Rewritten.
31614         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31615   
31616 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31617   
31618         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31619         (engineGeneratePublic): Added support for raw key-specifications.
31620         (engineGeneratePrivate): Likewise.
31621         (decodeDSSPublicKey): New method.
31622         (decodeRSAPublicKey): Likewise.
31623         (decodeDSSPrivateKey): Likewise.
31624         (decodeRSAPrivateKey): Likewise.
31625         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31626         (encodePrivateKey): Throw InvalidParameterException.
31627         (decodePublicKey): Likewise.
31628         (decodePrivateKey): Likewise.
31629         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31630         (encodePublicKey): Likewise.
31631         (encodePrivateKey): Likewise.
31632         (decodePublicKey): Likewise.
31633         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31634         (encodePrivateKey): Likewise.
31635         (decodePublicKey): Likewise.
31636         (decodePrivateKey): Likewise.
31637         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31638         (encodePublicKey): Likewise.
31639         (encodePrivateKey): Likewise.
31640         (decodePublicKey): Likewise.
31641   
31642 2006-02-10  Roman Kennke  <kennke@aicas.com>
31643   
31644         * javax/swing/text/StyleContext.java
31645         (registerStaticAttributeKey): New static method.
31646   
31647 2006-02-10  Roman Kennke  <kennke@aicas.com>
31648   
31649         * javax/swing/text/DefaultStyledDocument.java
31650         (ElementBuffer.clone): New method.
31651   
31652 2006-02-10  Roman Kennke  <kennke@aicas.com>
31653   
31654         * javax/swing/text/ParagraphView.java
31655         (findOffsetToCharactersInString): New method.
31656         (getClosestPositionTo): New method.
31657         (getPartialSize): New method.
31658         (getTabBase): New method.
31659         (adjustRow): New method.
31660         (breakView): New method.
31661         (getBreakWeight): New method.
31662   
31663 2006-02-10  Roman Kennke  <kennke@aicas.com>
31664   
31665         * javax/swing/text/GapContent.java
31666         (updateUndoPositions): New method.
31667         * javax/swing/text/StringContent.java
31668         (updateUndoPositions): New method.
31669   
31670 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
31671   
31672         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31673         Made it public.
31674         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31675         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31676         Added support for encoded key specifications.
31677         (engineGeneratePrivate): Likewise.
31678         (engineGetKeySpec): Likewise.
31679         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31680   
31681 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
31682   
31683         * javax/swing/text/Utilities.java:
31684         (getTabbedTextOffset): Fixed usage of variable p0.
31685         (getPositionAbove): Rewritten.
31686         (getPositionBelow): Rewritten.
31687   
31688 2006-02-09  Roman Kennke  <kennke@aicas.com>
31689   
31690         * javax/swing/text/BoxView.java
31691         (getAxis): Added @since tag.
31692         (setAxis): Added @since tag.
31693         (layoutChanged): Added @since tag.
31694         (isLayoutValid): Added @since tag.
31695         (paint): Don't call setSize here. This is done in RootView already.
31696         (getMaximumSpan): Reimplemented to return the requirements'
31697         maximum size. Added API docs.
31698         (getMinimumSpan): New method.
31699         (layout): Fixed layout order.
31700         (modelToView): Call layout instead of setSize here.
31701         (getResizeWeight): New method.
31702         (getChildAllocation): New method.
31703         (forwardUpdate): New method.
31704         (viewToModel): New method.
31705         (flipEastEndWestEnds): New method.
31706         * javax/swing/text/CompositeView.java
31707         (modelToView): Made this method more robust by returning a default
31708         location if it's not possible to calculate one via the children.
31709         This default location returns the left or right edge of this
31710         view.
31711         (createDefaultLocation): New helper method.
31712         * javax/swing/text/IconView.java
31713         (modelToView): Don't throw BadLocationException. This should
31714         really only be thrown if the position is outside the document
31715         model, not if it's outside the view's boundary.
31716   
31717 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31718   
31719         * tools/Makefile.am: Handle rmi and giop folders separately.
31720   
31721 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31722   
31723         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31724         * javax/swing/SpinnerNumberModel.java: Likewise.
31725   
31726 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31727   
31728         * javax/swing/SpinnerDateModel.java: Removed tabs,
31729         * javax/swing/SpinnerNumberModel.java: Likewise.
31730   
31731 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
31732   
31733         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31734         * doc/unicode/UnicodeData-4.0.0.txt: New file.
31735   
31736 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31737   
31738         Fixes bug #26081
31739         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
31740         (isRedirect): Removed, moved to Response.java.
31741         (connect): If error condition redirect responseSink to errorSink.
31742         (getInputStream): If error condition throw IOException, for the error
31743         codes 404 and 410 throw a FileNotFoundException.        
31744         * gnu/java/net/protocol/http/Response.java (isError): New method.
31745         (isRedirect): New method, moved from HTTPURLConnection.java.
31746   
31747 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31748   
31749         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31750         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31751         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
31752         Better diagnostic.
31753         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31754         Rewritten.
31755         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31756         AbstractMethodGenerator.
31757         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31758         tools/gnu/classpath/tools/rmi/RMIC.java,
31759         tools/gnu/classpath/tools/rmi/RMIC.txt,
31760         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31761         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31762         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31763         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31764         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31765         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
31766         New files.
31767         * NEWS: Corrected entry about the tools.
31768   
31769 2006-02-09  Lillian Angel  <langel@redhat.com>
31770   
31771         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31772         (handleEvent): Added more to check to prevent assertion errors.
31773         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31774         (handleEvent): Likewise.
31775         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31776         (handleEvent): Likewise.
31777   
31778 2006-02-09  Mark Wielaard  <mark@klomp.org>
31779   
31780         * javax/swing/JTable.java (tableChanged): Interpret null event as
31781         "everything changed".
31782   
31783 2006-02-09  Roman Kennke  <kennke@aicas.com>
31784   
31785         * javax/swing/text/DefaultCaret.java
31786         (DocumentHandler.removeUpdate): When update policy is
31787         'on eventqueue', and the update doesn't come from the
31788         event queue, check if the current dot location is still
31789         valid.
31790         (moveDot): Make sure the new dot location is valid.
31791         (setDot): Set the mark the same as the dot.
31792   
31793 2006-02-09  Roman Kennke  <kennke@aicas.com>
31794   
31795         * javax/swing/text/AbstractDocument.java
31796         (remove): Perform all operations within a write lock and in the
31797         correct order.
31798   
31799 2006-02-09  Mark Wielaard  <mark@klomp.org>
31800   
31801         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31802         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31803         creater than min, adjusting page_size if necessary.
31804         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31805   
31806 2006-02-09  Lillian Angel  <langel@redhat.com>
31807   
31808         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31809         (handleEvent): Added code to handle PaintEvent.UPDATE.
31810         Sun does not call update(Graphics g) on Panels.
31811         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31812         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31813         Sun does not call update(Graphics g) on Panels.
31814   
31815 2006-02-09  Roman Kennke  <kennke@aicas.com>
31816   
31817         * javax/swing/text/BoxView.java
31818         (myAxis): Made field private.
31819         (xLayoutValid): Replaced by layoutValid array.
31820         (yLayoutValid): Replaced by layoutValid array.
31821         (layoutValid): New field.
31822         (spansX): Replaced by spans array.
31823         (spansY): Replaced by spans array.
31824         (spans): New field.
31825         (offsetsX): Replaced by offsets array.
31826         (offsetsY): Replaced by offsets array.
31827         (offsets): New field.
31828         (requirements): New field.
31829         (BoxView): Initialize new fields.
31830         (layoutChanged): Rewritten to use the layoutValid array.
31831         (isLayoutValid): Rewritten to use the layoutValid array.
31832         (replace): Use the new arrays.
31833         (getPreferredSpan): Rewritten to call calculateXXXRequirements
31834         instead of baselineRequirements.
31835         (baselineRequirements): Rewritten to calculate baseline requirements.
31836         (baselineLayout): Rewritten to calculate baseline layout.
31837         (childAllocation): Use new arrays.
31838         (layout): Rewritten. Only update the layout if necessary.
31839         (layoutMajorAxis): Directly set layoutValid.
31840         (layoutMinorAxis): Directly set layoutValid. Use cached size
31841         requirements.
31842         (getWidth): Use new span array.
31843         (getHeight): Likewise.
31844         (setSize): Rewritten to simply call layout().
31845         (validateLayout): Removed unneeded method.
31846         (getSpan): Use new arrays.
31847         (getOffset): Use new arrays.
31848         (getAlignment): Use cached requirements if possible.
31849         (preferenceChanged): Use new arrays.
31850         * javax/swing/text/FlowView.java
31851         (FlowStrategy.insertUpdate): Do nothing here.
31852         (FlowStrategy.removeUpdate): Do nothing here.
31853         (FlowStrategy.changedUpdate): Do nothing here.
31854         (FlowStrategy.layoutRow): Rewritten.
31855         (FlowStrategy.createView): Rewritten.
31856         (FlowStrategy.adjustRow): New method.
31857         (LogicalView.getViewIndex): Fixed condition for finding child
31858         view.
31859         (layoutDirty): New field indicating the state of the layout.
31860         (FlowView): Initialize new field.
31861         (loadChildren): Set parent on logical view so that preferenceChanges
31862         get propagated upwards.
31863         (layout): Rewritten to match the specs.
31864         (insertUpdate): Set layout to dirty.
31865         (removeUpdate): Set layout to dirty.
31866         (changedUpdate): Set layout to dirty.
31867         * javax/swing/text/GlyphView.java
31868         (getBreakWeight): Rewritten to use the Utilities class. Commented
31869         out though because that is broken.
31870         (insertUpdate): Call preferenceChanged on this object instead of
31871         parent.
31872         * javax/swing/text/ParagraphView.java
31873         (Row.loadChildren): Overridden to be a noop to prevent initial
31874         creation of child views. This is carried out by the flow layout.
31875         * javax/swing/text/View.java
31876         (getPreferredSpan): Added API docs.
31877         (getResizeWeight): Added API docs.
31878         (getMaximumSpan): Added API docs. Rewritten to only have one exit
31879         point.
31880         (getMinimumSpan): Added API docs. Rewritten to return 0 when
31881         resizable instead of Integer.MAX_VALUE.
31882         (getAlignment): Added API docs.
31883         (replace): Added API docs.
31884         (forwardUpdate): Rewritten to only notify child views that need to
31885         be notified.
31886   
31887 2006-02-09  Roman Kennke  <kennke@aicas.com>
31888   
31889         * javax/swing/plaf/basic/BasicTextUI.java
31890         (RootView.paint): Call setSize() before painting the view.
31891   
31892 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31893   
31894         Fixes bug #26112
31895         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31896         flag which enables backslash escape in a replacement.
31897         (getReplacement): New public static method. 
31898         (substituteImpl),(substituteAllImpl): Use getReplacement.
31899         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31900         * java/util/regex/Matcher.java(appendReplacement)
31901         Use RE#getReplacement.
31902         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31903
31904 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
31905
31906         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31907         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31908         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31909         (PREFERRED_ENCODING_FORMAT): New constant.
31910         (DEFAULT_ENCODING_FORMAT): Likewise.
31911         (preferredFormat): New field.
31912         (setup): Add support for preferred encoding format.
31913         (generate): Call key constructors with explicit format identifier.
31914         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
31915         Call constructor with 3 arguments..
31916         (GnuRSAPublicKey(3)): New constructor.
31917         (valueOf): Added support for ASN.1 format.
31918         (getEncoded): Likewise.
31919         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31920         Call constructor with 5 arguments.
31921         (GnuRSAPrivateKey(5)): New constructor.
31922         (GnuRSAPrivateKey(9)): New constructor.
31923         (valueOf): Added support for ASN.1 format.
31924         (getEncoded): Likewise.
31925         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31926         (GnuRSAKey): Modified constructor.
31927         (getFormat): Return preferred format identifier.
31928         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31929         (decodePrivateKey): Fixed documentation.
31930         Check Version field.
31931         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31932         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31933         format.
31934         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31935         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31936         (engineGeneratePublic): Added support for RSA.
31937         (engineGeneratePrivate): Likewise.
31938
31939 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31940
31941         * java/net/URLConnection.java:
31942         (setAllowUserInteraction): Throw IllegalStateException if connected.
31943         (getRequestProperty): Document return value if key is null.
31944         * gnu/java/net/protocol/http/HTTPURLConnection.java:
31945         (getRequestProperty): Return null if key is null.
31946         (getRequestProperties): Throw IllegalStateException if connected.
31947         (setRequestProperty): Call super method for exception tests.
31948         (addRequestProperty): Likewise.
31949   
31950 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31951   
31952         * gnu/java/net/protocol/http/Request.java:
31953         (Request): Remove initialization of removed field.
31954         (requestBodyNegotiationThreshold): Removed now unused field.
31955         (setRequestBodyNegotiationThreshold): Remove now unused method.
31956         (dispatch): Do not use 'Expect 100-continue' header if content-length
31957         is over a treshold. If user specified 'Expect 100-continue' still
31958         initialize the expectingContinue variable.
31959
31960 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31961
31962         * javax/swing/SpinnerNumberModel.java
31963         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
31964         maximum and minimum to take null values,
31965         (setValue): Only fire ChangeEvent if new value is different to old 
31966         value,
31967         (setMinimum): Fixed test for updating value,
31968         (setMaximum): Likewise,
31969         (setStepSize): Likewise.
31970   
31971 2006-02-08  Tom Tromey  <tromey@redhat.com>
31972   
31973         * tools/.cvsignore: Added Makefile.in.
31974   
31975 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31976   
31977         * java/rmi/server/RemoteRef.java,
31978         java/rmi/server/RemoteStub.java: Commented.
31979   
31980 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31981   
31982         * javax/swing/SpinnerDateModel.java
31983         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31984         checks,
31985         (getPreviousValue): Check result against start, not end,
31986         (setValue): Check that value actually changes before firing 
31987         ChangeEvent.
31988
31989 2006-02-08  Lillian Angel  <langel@redhat.com>
31990
31991         * java/awt/Choice.java
31992         (select): Fixed up code, added some checks to prevent errors.
31993         (dispatchEventImpl): Removed. This function is not needed. It 
31994         causes several assertion errors.
31995   
31996 2006-02-08  Roman Kennke  <kennke@aicas.com>
31997   
31998         * javax/swing/text/PlainView.java
31999         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32000         drawing unnecessary characters.
32001   
32002 2006-02-08  Lillian Angel  <langel@redhat.com>
32003   
32004         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32005         (handleEvent): Fixed check to determine if height or
32006         width is less than 1.
32007   
32008 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32009   
32010         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32011   
32012 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32013   
32014         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32015         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32016         Documenting the code generator.
32017         * gnu/CORBA/IOR.java (toStringFormatted, 
32018         CodeSet_component.toStringFormatted): New methods.
32019         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32020         * tools/gnu/classpath/tools/giop/README: Rewritten.
32021         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32022         (printHelpAndExit): Removed.
32023         *tools/gnu/classpath/tools/giop/IorParser.java,
32024         tools/gnu/classpath/tools/giop/IorParser.txt,
32025         tools/gnu/classpath/tools/giop/NameService.java,
32026         tools/gnu/classpath/tools/giop/NamingService.txt,
32027         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32028         NEWS: Added note about GIOP tools.
32029
32030 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32031
32032         * .classpath: New source patch (tools).
32033         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32034         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32035         * tools/gnu/classpath/tools/Makefile.am,
32036         tools/gnu/classpath/tools/giop/GRMIC.java
32037         tools/gnu/classpath/tools/giop/GRMIC.txt,
32038         tools/gnu/classpath/tools/giop/README,
32039         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32040         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32041         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32042         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32043         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32044         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32045         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32046         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32047         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32048         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32049         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32050         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32051   
32052 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32053   
32054         * java/awt/BasicStroke.java: Updated API docs all over,
32055         * java/awt/doc-files/capjoin.png: New file.
32056   
32057 2006-02-07  Lillian Angel  <langel@redhat.com>
32058   
32059         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32060         (handleEvent): Added check. Should not paint or update the 
32061         component if it's width and height are both 0.  
32062   
32063 2006-02-07  Roman Kennke  <kennke@aicas.com>
32064   
32065         * javax/swing/text/AbstractDocument.java
32066         (insertString): Enclose locking/unlocking in try-finally block
32067         and also keep locked while notifying the listeners.
32068   
32069 2006-02-07  Roman Kennke  <kennke@aicas.com>
32070   
32071         * javax/swing/text/GlyphView.java
32072         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32073         element boundary).
32074         (getStartOffset): Return element boundary if startOffset < 0.
32075         (getEndOffset): Return element boundary if endOffset < 0.
32076         (createFragment): Set startOffset and endOffset fields of fragment
32077         if one of p0 or p1 is not at the element boundary.
32078   
32079 2006-02-07  Roman Kennke  <kennke@aicas.com>
32080   
32081         * javax/swing/CellRendererPane.java
32082         (paintComponent): Enclosed painting in try finally to properly
32083         clean up even when throwing an exception.
32084   
32085 2006-02-07  Roman Kennke  <kennke@aicas.com>
32086   
32087         * javax/swing/UIManager.java
32088         (listeners): Made this an instance of
32089         java.beans.PropertyChangeSupport instead of the obsoleted
32090         SwingPropertyChangeSupport.
32091
32092 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32093
32094         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32095         of actions "delete-next" and "delete-previous", added new TextAction
32096         implementations for "selection-begin", "selection-begin-line",
32097         "selection-end" and "selection-end-line".
32098   
32099 2006-02-07  Roman Kennke  <kennke@aicas.com>
32100   
32101         * javax/swing/plaf/basic/BasicTextUI.java
32102         (paint): Acquire read lock on the document before calling
32103         paintSafely.
32104         (paintSafely): Added comment about what this method does.
32105         (paintBackground): Implemented to actually paint the background.
32106         (update): Overridden to _not_ paint the background. This is done
32107         in paintBackground in this UI.
32108   
32109 2006-02-07  Roman Kennke  <kennke@aicas.com>
32110   
32111         * javax/swing/text/View.java
32112         (forwardUpdate): Don't notify newly added child views as specified.
32113   
32114 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32115   
32116         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32117   
32118 2006-02-07  Roman Kennke  <kennke@aicas.com>
32119   
32120         * javax/swing/text/DefaultStyledDocument.java
32121         (ElementBuffer.insert): Only register change when the element
32122         actually changed.
32123   
32124 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32125   
32126         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32127         method.
32128         (getEncodingShortName): Likewise.
32129         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32130         (PKCS8_FORMAT): Likewise.
32131         (ASN1_FORMAT): Likewise.
32132         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32133         constructor with 5 arguments.
32134         (DSSPublicKey(5)): New constructor.
32135         (valueOf): Handle ASN.1 encoding.
32136         (getEncoded): Likewise.
32137         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32138         constructor with 5 arguments.
32139         (DSSPrivateKey(5)): New constructor.
32140         (valueOf): Handle ASN.1 encoding.
32141         (getEncoded): Likewise.
32142         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32143         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32144         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32145         (PREFERRED_ENCODING_FORMAT): New constant.
32146         (DEFAULT_ENCODING_FORMAT): Likewise.
32147         (preferredFormat): New field.
32148         (setup): Handle preferred format ID.
32149         (generate): Use new ctors with 5 arguments.
32150         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32151         ID as an additional argument.
32152         (defaultFormat): new field.
32153         (getFormat): Returns the preferred format as a short string.
32154         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32155         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32156         Likewise
32157         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32158         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32159         encoding format.
32160         (initialize(int,boolean,SecureRandom)): Likewise.
32161         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32162         writeLength() instead of write().
32163         return buf.length + 1 instead of buf.length.
32164   
32165 2006-02-07  Roman Kennke  <kennke@aicas.com>
32166   
32167         * javax/swing/plaf/basic/BasicTextUI.java
32168         (RootView.preferenceChange): Changed view parameter to view so
32169         that it doesn't hide a field of that class.
32170         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32171         (RootView.modelToView): Removed unnecessary cast from View to View.
32172         (PropertyChangeHandler): Made inner class private.
32173         (updateHandler): Made field private.
32174         (getVisibleEditorRect): Removed unneeded local variable that
32175         shadowed a field with the same name and purpose.
32176   
32177 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32178   
32179         * javax/swing/text/JTextComponent.java:
32180         (getSelectedText): Calculate offset and use that as
32181         second argument.
32182   
32183 2006-02-07  Roman Kennke  <kennke@aicas.com>
32184   
32185         * javax/swing/JTextPane.java
32186         (setCharacterAttributes): Replace input attributes when
32187         replace==true.
32188   
32189 2006-02-07  Roman Kennke  <kennke@aicas.com>
32190   
32191         * java/awt/Component.java
32192         (firePropertyChange(String,byte,byte)): Made method public.
32193         (firePropertyChange(String,char,char)): Made method public.
32194         (firePropertyChange(String,short,short)): Made method public.
32195         (firePropertyChange(String,long,long)): Made method public.
32196         (firePropertyChange(String,float,float)): Made method public.
32197         (firePropertyChange(String,double,double)): Made method public.
32198   
32199 2006-02-06  Tom Tromey  <tromey@redhat.com>
32200   
32201         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32202         2006.
32203         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32204   
32205 2006-02-06  Anthony Green  <green@redhat.com>
32206   
32207         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32208   
32209 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32210   
32211         * .settings/org.eclipse.jdt.core.prefs:
32212         Force a line split on extends and implements.
32213         Force a white-space after unary operators.
32214         Don't force a new-line after @params.
32215         Add new-line at end-of-file.
32216         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32217   
32218 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32219   
32220         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32221         Registry constant.
32222         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32223         Likewise.
32224         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32225         Likewise.
32226         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32227         Likewise.
32228         * gnu/java/security/provider/EncodedKeyFactory.java
32229         (ID_DSA): Redefined in terms of Registry constant.
32230         (ID_DSA): Redefined in terms of Registry constant.
32231         (ID_DH): Redefined in terms of Registry constant.
32232         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32233         (PKCS8_ENCODING): Likewise.
32234         (ASN1_ENCODING): Likewise.
32235         (RAW_ENCODING_SHORT_NAME): Likewise.
32236         (X509_ENCODING_SORT_NAME): Likewise.
32237         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32238         (ASN1_ENCODING_SHORT_NAME): Likewise.
32239         (X509_ENCODING_ID): Likewise.
32240         (PKCS8_ENCODING_ID): Likewise.
32241         (ASN1_ENCODING_ID): Likewise.
32242         (DSA_OID_STRING): Likewise.
32243         (RSA_OID_STRING): Likewise.
32244         (DH_OID_STRING): Likewise.
32245
32246 2006-02-06  Roman Kennke  <kennke@aicas.com>
32247
32248         * javax/swing/text/GlyphView.java:
32249         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32250         Only fill background if there is a background set on the view.
32251         Call Utilities.drawTabbedText with the baseline height, rather than
32252         the upper left corner of the view rectangle.
32253         (getBackground): Return null if no background is set.
32254         * javax/swing/text/GlyphView.java:
32255         (setPropertiesFromAttributes): Use null for background when no
32256         background is set. StyleConstants.getBackground() doesn't work
32257         for this, because it returns Color.BLACK in that case.
32258   
32259 2006-02-06  Roman Kennke  <kennke@aicas.com>
32260   
32261         * java/awt/Container.java
32262         (changeSupport): Removed duplicate (from Component) field.
32263         (addPropertyChangeListener): Call super.
32264   
32265 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32266   
32267         * java/util/regex/Matcher.java(matches):
32268         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32269   
32270 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32271
32272         Fixes bug #25812
32273         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32274         * gnu/regexp/CharIndexedCharArray.java
32275         (lookBehind),(length): Implemented.
32276         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32277         * gnu/regexp/CharIndexedString.java: Likewise.
32278         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32279         * gnu/regexp/REToken.java(getMaximumLength): New method.
32280         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32281         maxLength.
32282         (initialize): Parse (?<=X), (?<!X), (?>X).
32283         (getMaximumLength): Implemented.
32284         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32285         * gnu/regexp/RETokenChar.java: Likewise.
32286         * gnu/regexp/RETokenEnd.java: Likewise.
32287         * gnu/regexp/RETokenEndSub.java: Likewise.
32288         * gnu/regexp/RETokenLookAhead.java: Likewise.
32289         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32290         * gnu/regexp/RETokenOneOf.java: Likewise.
32291         * gnu/regexp/RETokenPOSIX.java: Likewise.
32292         * gnu/regexp/RETokenRange.java: Likewise.
32293         * gnu/regexp/RETokenRepeated.java: Likewise.
32294         * gnu/regexp/RETokenStart.java: Likewise.
32295         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32296         * gnu/regexp/RETokenIndependent.java: New file.
32297         * gnu/regexp/RETokenLookBehind.java: New file.
32298   
32299 2006-02-06  Roman Kennke  <kennke@aicas.com>
32300   
32301         * java/awt/Component.java
32302         (firePropertyChange(String,byte,byte)): New method.
32303         (firePropertyChange(String,char,char)): New method.
32304         (firePropertyChange(String,short,short)): New method.
32305         (firePropertyChange(String,long,long)): New method.
32306         (firePropertyChange(String,float,float)): New method.
32307         (firePropertyChange(String,double,double)): New method.
32308
32309 2006-02-06  Roman Kennke  <kennke@aicas.com>
32310
32311         * javax/swing/JComponent.java
32312         (AccessibleJComponent.changeSupport): Changed to be a
32313         java.beans.PropertyChangeSupport rather than
32314         SwingPropertyChangeSupport.
32315         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32316         of above field.
32317         (changeSupport): Removed unneeded field.
32318         (removePropertyChangeListener): Removed unneeded methods.
32319         (addPropertyChangeListener): Removed unneeded methods.
32320         (getPropertyChangeListeners): Removed unneeded methods.
32321         (firePropertyChange(String,boolean,boolean)): Changed to simply
32322         call super. Added specnote.
32323         (firePropertyChange(String,char,char)): Changed to simply
32324         call super. Added specnote.
32325         (firePropertyChange(String,int,int)): Changed to simply
32326         call super. Added specnote.
32327         (firePropertyChange(String,byte,byte)): Removed.
32328         (firePropertyChange(String,Object,Object)): Removed.
32329         (firePropertyChange(String,double,double)): Removed.
32330         (firePropertyChange(String,float,float)): Removed.
32331         (firePropertyChange(String,long,long)): Removed.
32332         (firePropertyChange(String,short,short)): Removed.
32333   
32334 2006-02-06  Roman Kennke  <kennke@aicas.com>
32335   
32336         * javax/swing/event/SwingPropertyChangeSupport.java
32337         (listeners): Removed field.
32338         (propertyListeners): Removed field.
32339         (source): Removed field.
32340         (SwingPropertyChangeSupport()): Removed initialization of removed
32341         fields.
32342         (addPropertyChangeListener): Removed methods.
32343         (removePropertyChangeListener): Removed methods.
32344         (getPropertyChangeListeners): Removed methods.
32345         (firePropertyChange): Removed methods.
32346         (hasListeners): Removed methods.
32347   
32348 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32349   
32350         Fixes PR 25313
32351         * java/net/InetAddress.java
32352         (readResolve): Implemented.
32353   
32354 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32355   
32356         Fixes PR 26121
32357         * java/io/ObjectInputStream.java
32358         (readNextBlock()): Handle TC_RESET.
32359   
32360 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32361         
32362         * javax/print/attribute/standard/Compression.java,
32363         * javax/print/attribute/standard/Finishings.java, 
32364         * javax/print/attribute/standard/JobMediaSheets.java,
32365         * javax/print/attribute/standard/JobSheets.java,
32366         * javax/print/attribute/standard/JobState.java,
32367         * javax/print/attribute/standard/JobStateReason.java,
32368         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32369         * javax/print/attribute/standard/PrintQuality.java,
32370         * javax/print/attribute/standard/Media.java,
32371         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32372         * javax/print/attribute/standard/PrinterStateReason.java,
32373         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32374         (getName): Make method final.
32375         (getCategory): Likewise.
32376         * javax/print/attribute/standard/MediaSize.java: 
32377         (getName): Make method final.
32378         (getCategory): Likewise.
32379         (ISO): Added private default constructor.
32380         (NA): Likewise.
32381         (JIS): Likewise.
32382         (Other): Likewise.
32383         (Engineering): Likewise.
32384
32385 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32386         
32387         * native/jni/java-net/javanet.c (_javanet_connect):
32388         Throw ConnectException instead of IOException if connection failed.
32389         * native/jni/java-net/javanet.h:
32390         Add a define for java.net.ConnectException
32391   
32392 2006-02-05  Mark Wielaard  <mark@klomp.org>
32393   
32394         Fixes bug #26101
32395         reported by Egon Willighagen <egon.willighagen@gmail.com>
32396         * javax/swing/DefaultListCellRenderer.java
32397         (getListCellRendererComponent): Turn null value into empty string.
32398   
32399 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32400   
32401         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32402         a Unicode block if the name starts with "In".
32403         (UnicodeBlockHandler): New inner class.
32404   
32405 2006-02-04  Roman Kennke  <kennke@aicas.com>
32406   
32407         * java/awt/Container.java
32408         (getComponentZOrder): New method.
32409         (setComponentZOrder): New method.
32410         * javax/swing/JLayeredPane.java
32411         (setPosition): Reimplemented to use setComponentZOrder().
32412         (getIndexOf): Reimplemented to use getComponentZOrder().
32413         (addImpl): Pass layerContraint to super call. Important for possibly
32414         installed layout managers.
32415         (swapComponents): Remove unneeded method.
32416
32417 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32418
32419         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32420         DSAKeyPairGenerator.
32421         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32422         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32423         message.
32424         Surround call to adaptee in a try/catch.
32425         (initialize((DSAParams,SecureRandom)): New method.
32426         (initialize(int,boolean,SecureRandom)): New method.
32427         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32428         KeyPairGenerator rather than KeyPairGeneratorSpi.
32429         (KeyPairGeneratorAdapter): Call super with algorithm name.
32430
32431 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32432
32433         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32434         (getDefaultPRNG): New method.
32435         (parseO): Use method above.
32436         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32437         (getDefaultPRNG): New method.
32438         (createO): Use method above.
32439         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32440         (nextByte): Use above field.
32441         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32442         * gnu/java/security/sig/rsa/RSA.java: New class field.
32443         (newR): Use above field
32444         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32445         (encode): Use field.above.
32446         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32447         (getDefaultPRNG): new method.
32448         (nextRandomBytes): Use above method.
32449         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32450         * gnu/java/security/sig/BaseSignature.java: Likewise.
32451         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32452         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32453         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32454         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32455         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32456         (getDefaultPRNG): new method.
32457         (nextRandomBytes): Use above method.
32458         (STRICT_DEFAULTS): new class field.
32459         (USE_DEFAULTS): more documentation to clarify behavior.
32460         (setup): amended to handle new attribute.
32461         * gnu/java/security/util/PRNG.java: New file.
32462   
32463 2006-02-03  Lillian Angel  <langel@redhat.com>
32464   
32465         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32466         chooser field should be protected, not package-private. 
32467   
32468 2006-02-03  Lillian Angel  <langel@redhat.com>
32469         
32470         * javax/swing/text/DefaultStyledDocument.java
32471         (changeUpdate): Cleaned up code.
32472         (split): Likewise.
32473         (insertUpdate): Set offset to be equal to pos after
32474         insertContentTag call.
32475         (insertContentTag): If paragraph has no children, should use
32476         replace instead of Edit.
32477         (insertFracture): Moved around code to prevent any exception. Also,
32478         left side of tree should not be recreated if it has already been 
32479         edited. In that case, we should only be creating a new right branch
32480         when fracturing.
32481         (getEditForParagraphAndIndex): No need to check index. We should
32482         use the same edit for each paragraph.
32483   
32484 2006-02-03  Mark Wielaard  <mark@klomp.org>
32485   
32486         * javax/swing/event/SwingPropertyChangeSupport.java
32487         (propertyListeners): Change type to HashMap.
32488         (SwingPropertyChangeSupport): Allocate HashMap.
32489   
32490 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32491   
32492         * java/security/KeyPairGenerator.java (getInstance): Test for
32493         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32494   
32495 2006-02-02  Roman Kennke  <kennke@aicas.com>
32496   
32497         * javax/swing/RepaintManager.java
32498         Made fields private.
32499         (RepaintWorker.run): Enclosed work stuff in try finally block in
32500         order to clean up correctly if invalidation or painting fails,
32501         otherwise we would get no more RepaintWorkers onto the EventQueue.
32502         Also, now the RepaintWorker is marked 'dead' only after it has
32503         finished its work, avoid more than one RepaintWorker on the queue.
32504         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32505         instead of hierarchy depths.
32506         (workDirtyComponents): Removed unused field.
32507         (repaintOrder): Removed unused field.
32508         (workRepaintOrder): Removed unused field.
32509         (workInvalidComponents): Removed unused field.
32510         (RepaintManager()): Removed initialization of removed fields.
32511         (addInvalidComponent): Fine tuned synchronization.
32512         (removeInvalidComponent): Fine tune synchronization.
32513         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32514         synchronization. Don't manager repaintOrder here.
32515         (insertRepaintOrder): Removed method.
32516         (markCompletelyClean): Fine tuned synchronization.
32517         (validateInvalidComponents): Dont use a working copy of the
32518         invalidComponents list, instead fine tuned synchronization on this
32519         list. Also, don't search validateRoot, this is already done in
32520         addInvalidComponent().
32521         (paintDirtyRegions): Compute repaint order here, based on size of
32522         damaged regions. Fine tuned synchronization. Avoid use of working
32523         copies of dirtyComponent.
32524   
32525 2006-02-02  Lillian Angel  <langel@redhat.com>
32526   
32527         * javax/swing/text/DefaultStyledDocument.java
32528         (insertUpdate): JoinNextDirection should push the 
32529         'next' paragraph on the stack.
32530   
32531 2006-02-02  Lillian Angel  <langel@redhat.com>
32532   
32533         * javax/swing/text/DefaultStyledDocument.java
32534         (insertUpdate): Rewrote code for Originate. This prevents
32535         leaves being created multiple times. If it is on the last 
32536         ElementSpec, the leaves need to be created right then; 
32537         otherwise, only a branch is created.
32538         (insertContentTag): Rewrote to add new leaf directly if
32539         this is a branch with no children. Otherwise, it
32540         recreates the remainder of the tree as before.
32541   
32542 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32543   
32544         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32545         for making a list of REMatch instances.
32546         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32547         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32548         (match): Rewritten using REMatchList.
32549         (matchRest): Rewritten using REMatchList.
32550   
32551 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32552   
32553         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32554         (friendsMove):  Call repaint() only after endOfGame is assigned.
32555   
32556 2006-02-02  Mark Wielaard  <mark@klomp.org>
32557   
32558         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32559         * java/util/AbstractCollection.java (toString): Only use Iterator,
32560         check whether collection contains itself.
32561   
32562 2006-02-01  Casey Marshall  <csm@gnu.org>
32563   
32564         Partial fix for PR classpath/25143.
32565         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32566         (<init>): fill in `algName,' derive `algOid' from `algName.'
32567         (getOid): new method.
32568         (encode): embed NULL value for parameters if `params' is `null.'
32569   
32570 2006-02-01  Casey Marshall  <csm@gnu.org>
32571   
32572         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32573         <monoman@gmail.com>.    
32574         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32575         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32576   
32577 2006-02-01  Casey Marshall  <csm@gnu.org>
32578   
32579         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32580         * gnu/java/security/der/DERValue.java
32581         (getLength, getEncoded, getEncodedLength): throw an exception,
32582         don't initialize `encoded' to a bogus value.
32583         (toString): return a more helpful string.
32584
32585         Partial fix for PR classpath/25144.
32586         * gnu/java/security/der/DERWriter.java (write): if the value is
32587         the pseudo-value used for CONSTRUCTED, write the encoded value
32588         directly.
32589         
32590 2006-02-01  Tom Tromey  <tromey@redhat.com>
32591   
32592         * java/security/Security.java (loadProviders): Use system class
32593         loader.
32594   
32595 2006-02-01  Mark Wielaard  <mark@klomp.org>
32596   
32597         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32598         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32599         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32600         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32601         (UnicodeCategoriesHandler): New private static class.
32602         
32603 2006-02-01  Lillian Angel  <langel@redhat.com>
32604   
32605         * javax/swing/text/DefaultStyledDocument.java:
32606         Removed unneeded fields.
32607         (insertUpdate): Removed field initialization.
32608         (insertContentTag): Rewrote part of function. Still
32609         not complete.
32610   
32611 2006-02-01  Lillian Angel  <langel@redhat.com>
32612   
32613         * javax/swing/text/DefaultStyledDocument.java
32614         (insertParagraph): Cleaned up code.
32615         (insertFirstContentTag): Fixed call to recreateLeaves.
32616         (insertContentTag): Added check to code to determine where
32617         content should be inserted with respect to next element.
32618         (createFracture): Removed check, recreateLeaves is called in 
32619         other places when needed.
32620         (recreateLeaves): Added new parameter for paragraph instead
32621         of checking the stack. Removed editing for newBranch, replaced
32622         with a replace call.
32623
32624 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
32625
32626         * doc/unicode/Blocks-4.0.0.txt: New file.
32627         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
32628         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32629         * scripts/unicode-blocks.pl: Copied this over from the generics branch
32630         but replaced some 1.5-only features (such as enum).
32631   
32632 2006-01-31  Roman Kennke  <kennke@aicas.com>
32633   
32634         * javax/swing/text/PasswordView.java
32635         (drawSelectedText): Use drawEchoCharacter() method to draw echo
32636         character.
32637         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32638         character.
32639   
32640 2006-01-31  Roman Kennke  <kennke@aicas.com>
32641   
32642         * javax/swing/JTextField.java
32643         (getPreferredSize): Also include textfield's insets in width
32644         calculation.
32645   
32646 2006-01-31  Roman Kennke  <kennke@aicas.com>
32647   
32648         * javax/swing/plaf/basic/BasicTextUI.java
32649         (getPreferredSize): Include the textcomponent's insets in
32650         preferredSize.
32651   
32652 2006-01-31  Roman Kennke  <kennke@aicas.com>
32653   
32654         * javax/swing/table/DefaultTableCellRenderer.java
32655         (getTableCellRendererComponent): Moved setting of the value into
32656         setValue(). Removed (bogus) special handling of JTextField values.
32657         (setValue): Made ?: statement more clear by rewriting it
32658         with if .. else.
32659   
32660 2006-01-31  Roman Kennke  <kennke@aicas.com>
32661   
32662         * javax/swing/JLayeredPane.java
32663         (insertIndexForLayer): Fixed algorithm to correctly determine
32664         inser index for positions >= 0.
32665         (addImpl): Fixed API docs for the index parameter.
32666   
32667 2006-01-31  Mark Wielaard  <mark@klomp.org>
32668   
32669         * java/net/URI.java (getURIGroup): Check for null to see whether
32670         group actually exists.
32671   
32672 2006-01-31  Lillian Angel  <langel@redhat.com>
32673   
32674         * javax/swing/text/DefaultStyledDocument.java
32675         (changeUpdate): Fixed calls to split to incorporate 
32676         new parameter.
32677         (insertParagraph): Likewise. Uses 0 as editIndex
32678         because inserting into a new paragraph.
32679         (insertContentTag): Fixed check to use 
32680         recreateLeaves. Added a FIXME comment.
32681         (split): Added a new parameter for edits.
32682   
32683 2006-01-31  Roman Kennke  <kennke@aicas.com>
32684   
32685         * javax/swing/plaf/basic/BasicRootPaneUI.java
32686         (installDefaults): Don't install a background color here.
32687   
32688 2006-01-31  Lillian Angel  <langel@redhat.com>
32689   
32690         * javax/swing/text/DefaultStyledDocument.java
32691         (insert): Removed comment.
32692         (insertUpdate): Added comment.
32693         (recreateLeaves): Removed call to push newBranch onto the
32694         stack. This does not need to be done here.
32695   
32696 2006-01-31  Chris Burdess  <dog@gnu.org>
32697   
32698         * gnu/xml/stream/SAXParser.java,
32699           gnu/xml/stream/UnicodeReader.java,
32700           gnu/xml/stream/XIncludeFilter.java,
32701           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32702           only resolved the system ID not the stream. Make some utility methods
32703           public and static for use by other private XML APIs.
32704         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32705           called without throwing IllegalStateException.
32706         * java/util/logging/SimpleFormatter.java: Write thrown exception if
32707           provided.
32708
32709 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32710
32711         Fixes bug #22873
32712         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32713         for an invalid index and return null for a skipped group.
32714
32715 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32716
32717         Fixes bug #26002
32718         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32719         (NamedProperty): New inner class.
32720         (getNamedProperty): New method.
32721         (getRETokenNamedProperty): New Method.
32722         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32723         * gnu/regexp/RETokenNamedProperty.java: New file.
32724
32725 2006-01-31  Roman Kennke  <kennke@aicas.com>
32726
32727         * javax/swing/plaf/PlainView.java
32728         (paint): Call drawLine with baseline coordinates.
32729         (drawLine): Documented and indented this method.
32730         (drawUnselecetedText): Documented and indented this method.
32731         * javax/swing/plaf/text/Utilites.java
32732         (drawTabbedText): The coordinates denote the baseline of the text
32733         not the upper left corner.
32734   
32735 2006-01-31  Roman Kennke  <kennke@aicas.com>
32736   
32737         * javax/swing/plaf/basic/BasicTextUI.java
32738         (createKeymap): Don't store KeyBindings[] as focusInputMap in
32739         UIManager. Added FIXME regarding the implementation of this method.
32740   
32741 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32742   
32743         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32744         (ButtonDemo): Move content initialisation to new method,
32745         (initFrameContent): New method,
32746         (main): Call initFrameContent(),
32747         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32748         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32749         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32750         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32751         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32752   
32753 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32754   
32755         * examples/gnu/classpath/examples/swing/Demo.java
32756         (Demo): Set frame size,
32757         (mkButtonBar): Removed stacked sub-panels.
32758   
32759 2006-01-30  Lillian Angel  <langel@redhat.com>
32760   
32761         * javax/swing/text/DefaultStyledDocument.java:
32762         Added new fields.
32763         (insert): Initialized fields. Removed call to addEdit, 
32764         and created ElementEdit instead.
32765         (insertUpdate): Added check for fracturing. If the
32766         fracturing was not successful, we should push the
32767         last element back on the stack.
32768         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32769         Also, changed replace calls to use Edit.
32770         (insertFirstContentTag): Removed unneeded check and fixed call
32771         to recreateLeaves.
32772         (insertContent): Fixed check to use new fields. Added code in
32773         to check if leaves overlap.
32774         (createFracture): Fixed call to recreateLeaves.
32775         (recreateLeaves): Fixed code and cleaned it up a bit.
32776         (insertFracture): Set fracNotCreated field.
32777         (addEdit): Removed, this method is not needed.
32778   
32779 2006-01-30  Roman Kennke  <kennke@aicas.com>
32780   
32781         * javax/swing/JRootPane.java
32782         (RootLayout.prefSize): Removed caching for preferredSize.
32783         (RootLayout.invalidateLayout): Likewise.
32784         (RootLayout.preferredLayoutSize): Likewise.     
32785   
32786 2006-01-30  Roman Kennke  <kennke@aicas.com>
32787   
32788         PR classpath/26035
32789         * javax/swing/JFrame.java
32790         (frameInit): Handle the defaultLookAndFeelDecorated flag.
32791         * javax/swing/plaf/metal/MetalRootPaneUI.java
32792         (MetalFrameBorder): New inner class, provides the border for
32793         top level containers with L&F decorations.
32794         (MetalTitlePane): New inner class, provides the title pane for
32795         top level containers with L&F decorations.
32796         (MetalRootLayout): New inner class. Used to layout the root pane
32797         when L&F window decorations are enabled.
32798         (installUI): New method. Handles window decorations.
32799         (uninstallUI): New method. Handles window decorations.
32800         (propertyChange): Handles window decorations.
32801         (installWindowDecorations): New method. Handles window
32802         decorations.
32803         (uninstallWindowDecorations): New method. Handles window
32804         decorations.
32805         * javax/swing/plaf/metal/MetalLookAndFeel.java
32806         (getSupportsWindowDecorations): Overridden to return true.
32807
32808 2006-01-30  Mark Wielaard  <mark@klomp.org>
32809
32810         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32811         IllegalArgumentException when orientation is illegal.
32812         (JProgressBar(int, int, int)): Likewise and throw exception.
32813         (setOrientation): Likewise.
32814   
32815 2006-01-30  Roman Kennke  <kennke@aicas.com>
32816   
32817         * javax/swing/ViewportLayout.java
32818         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32819   
32820 2006-01-30  Mark Wielaard  <mark@klomp.org>
32821   
32822         * javax/swing/JProgressBar.java (orientation): Always set by
32823         constructor.
32824         (JProgressBar(int)): Document default on 'illegal' value.
32825         (JProgressBar(int, int, int)): Likewise and set orientation to
32826         HORIZONTAL when 'illegal'.
32827         (setOrientation): Likewise.
32828   
32829 2006-01-30  Roman Kennke  <kennke@aicas.com>
32830   
32831         * javax/swing/plaf/basic/BasicListUI.java
32832         (ListDataHandler.contentsChanged): Update the
32833         updateLayoutStateNeeded flag.
32834         (ListDataHandler.intervalAdded): Update the
32835         updateLayoutStateNeeded flag.
32836         (ListDataHandler.intervalRemoved): Update the
32837         updateLayoutStateNeeded flag.
32838         (PropertyChangeHandler.propertyChange): Correctly update the
32839         listeners on new list model.
32840         (maybeUpdateLayoutState): Don't consider the validation state
32841         of the list.
32842   
32843 2006-01-30  Mark Wielaard  <mark@klomp.org>
32844   
32845         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32846         sortKeys is null.
32847   
32848 2006-01-30  Roman Kennke  <kennke@aicas.com>
32849   
32850         * javax/swing/JLayeredPane.java
32851         (insertIndexForLayer): Fixed algorithm to correctly insert
32852         components within different layers and -1 position.
32853   
32854 2006-01-30  Mark Wielaard  <mark@klomp.org>
32855   
32856         * doc/api/Makefile.am (create_html): Add -validhtml.
32857   
32858 2006-01-30  Roman Kennke  <kennke@aicas.com>
32859   
32860         * javax/swing/JLayeredPane.java
32861         (insertIndexForLayer): Fixed algorithm to correctly insert
32862         components within same layer and -1 position.
32863   
32864 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32865   
32866         Fixes bug #24876
32867         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32868         New execution flag.
32869         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32870         implicit RETokenEnd at the end of the regexp chain.
32871         Do not select the longest match, but select the first match.
32872         (match): Do not take care of REMatch.empty.
32873         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32874         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32875         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32876         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32877         Do not take care of REMatch.empty. Set and check REMatch.empty
32878         when trying to match the single token.
32879
32880 2006-01-30  Mark Wielaard  <mark@klomp.org>
32881
32882         * java/awt/Cursor.java (toString): Include name and type.
32883
32884 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
32885
32886         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32887         the ipad buffer.
32888         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32889   
32890 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32891         
32892         PR 26027
32893         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
32894         Consider the validation state of the list. 
32895
32896 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
32897
32898         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32899         INSTANCE added.
32900         * java/beans/XMLDecoder.java:
32901         (setExceptionListener): Use shared DefaultExceptionListener
32902         instance.
32903         * java/beans/Encoder.java:
32904         (setExceptionListener): Use shared DefaultExceptionListener
32905         instance.
32906   
32907 2006-01-29  Roman Kennke  <kennke@aicas.com>
32908   
32909         * javax/swing/ScrollPaneLayout.java
32910         (minimumLayoutSize): Rewritten to match JDKs behaviour.
32911   
32912 2006-01-29  Mark Wielaard  <mark@klomp.org>
32913   
32914         * java/net/SocketPermission.java (setActions): Trim and lower case
32915         action.
32916   
32917 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
32918   
32919         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32920         incorrectly failing primality test for some known primes. Fixed.
32921         (passFermatLittleTheorem): Removed.
32922         (passMillerRabin): Removed.
32923         (isProbablePrime): Cache primes that pass the primality tests.
32924         Use BigInteger.isProbablePrime(int) for primality tests.
32925         (debugBI): New static debugging method.
32926   
32927 2006-01-28  Roman Kennke  <kennke@aicas.com>
32928   
32929         * javax/swing/plaf/basic/BasicListUI.java
32930         (updateLayoutState): Removed unneeded special case for VERTICAL.
32931   
32932 2006-01-28  Roman Kennke  <kennke@aicas.com>
32933   
32934         * javax/swing/plaf/basic/BasicListUI.java
32935         (getCellBounds): Determine correct list width when having a
32936         layoutOrientation of VERTICAL.
32937         (maybeUpdateLayoutState): Don't consider the validation state of
32938         the list.
32939   
32940 2006-01-28  Mark Wielaard  <mark@klomp.org>
32941   
32942         Reported by Dimitri Fontaine <dimitri@dalibo.com>
32943         * java/awt/print/NoPrinterJob.java: New (fake) class.
32944         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32945   
32946 2006-01-28  Mark Wielaard  <mark@klomp.org>
32947   
32948         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32949   
32950 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32951   
32952         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32953         (addChildren): New method.
32954   
32955 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
32956   
32957         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32958         constructor for cloning purposes.
32959         (clone): New implementation that ensures cloning.
32960         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32961         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32962           "GNU".
32963   
32964 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32965   
32966         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32967         Call updateCurrentVisiblePath.
32968   
32969 2006-01-27  Roman Kennke  <kennke@aicas.com>
32970   
32971         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32972   
32973 2006-01-27  Roman Kennke  <kennke@aicas.com>
32974   
32975         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32976         (createContent): Only create new content if we don't have one
32977         already.
32978         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32979         (createContent): Only create new content if we don't have one
32980         already.
32981         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32982         (createContent): Only create new content if we don't have one
32983         already.
32984         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32985         (createContent): Only create new content if we don't have one
32986         already.
32987         * examples/gnu/classpath/examples/swing/SliderDemo.java
32988         (createContent): Only create new content if we don't have one
32989         already.
32990         * examples/gnu/classpath/examples/swing/TableDemo.java
32991         (createContent): Only create new content if we don't have one
32992         already.
32993         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32994         (createContent): Only create new content if we don't have one
32995         already.
32996   
32997 2006-01-27  Lillian Angel  <langel@redhat.com>
32998   
32999         * javax/swing/text/DefaultStyledDocument.java
33000         (insertFirstContentTag): Removed check, not needed. This
33001         still needs to be fixed for some cases. Added call to
33002         recreateLeaves.
33003         (createFracture): Added call to recreateLeaves.
33004         (recreateLeaves): New method used to recreate all the
33005         leaves after the initial insertion. This still needs 
33006         more work.
33007         (handleInsertAfterNewline): Removed else, not needed.
33008   
33009 2006-01-27  Roman Kennke  <kennke@aicas.com>
33010   
33011         * javax/swing/JLayeredPane.java
33012         (inserIndexForLayer): Fixed direction of search.
33013   
33014 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33015   
33016         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33017         node into nodeStates.
33018   
33019 2006-01-27  Roman Kennke  <kennke@aicas.com>
33020   
33021         * javax/swing/JLayeredPane.java
33022         (FRAME_CONTENT_LAYER): Made field final.
33023         (componentToLayer): Made field private.
33024         (rectCache): Removed field.
33025         (layers): Removed field.
33026         (JLayeredPane()): Removed initialization of removed fields.
33027         (getLayer): Rewritten to make use of client properties in
33028         JComponents and to be more straighforward.
33029         (static getLayer): Rewritten to make use of client properties in
33030         JComponents.
33031         (layerToRange): Removed method.
33032         (incrLayer): Removed method.
33033         (decrLayer): Removed method.
33034         (highestLayer): Rewritten to be more straightforward.
33035         (lowestLayer): Rewritten to be more straightforward.
33036         (getPosition): Rewritten to be more straightforward.
33037         (getComponentsInLayer): Rewritten to be more straightforward.
33038         (getComponentCountInLayer): Rewritten to be more straightforward.
33039         (getIndexOf): Rewritten to be more straightforward.
33040         (inserIndexForLayer): Rewritten to be more straightforward.
33041         (remove): Rewritten to be more straightforward.
33042         (setLayer): Rewritten to be more straightforward.
33043         (addImpl): Rewritten to be more straightforward.
33044         (putLayer): Rewritten to be more straightforward.
33045
33046 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33047
33048         * java/lang/Character.java:
33049         (offsetByCodePoints(CharSequence, int, int)): New API method.
33050         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33051         (toChars): Throw the Exception that the docs say we throw.
33052         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33053         statement.
33054         * java/lang/String.java:
33055         (String(int[], int, int)): New API constructor.
33056   
33057 2006-01-27  Lillian Angel  <langel@redhat.com>
33058   
33059         * javax/swing/text/DefaultStyledDocument.java
33060         (insert): Moved this loop to insertUpdate.
33061         (insertUpdate): Likewise. Fixed variable
33062         names. Incremented pos if new paragraph
33063         is inserted.
33064         (split): Changed edits to use replace instead. Prevents
33065         assertion errors.
33066         (insertFirstContentTag): Removed else.
33067         (insertContentTag): Implemented else for JoinNextDirection.
33068         (createFracture): Fixed up code, still not fully complete.
33069         (insertFracture): Fixed to use return value from 
33070         recreateAfterFracture.
33071         (recreateAfterFracture): Changed to return an array of the
33072         elements to be added. This prevents an assertion error.
33073         (contains): New function checks if an element is already in 
33074         the Vector. Vector's contain function was not enough to use.
33075         (addAddedElement): Changed to use new contains function.
33076         (addAddedElements): Likewise.
33077         (addRemovedElement): Likewise.
33078         (addRemovedElements): Likewise.        
33079         
33080 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33081
33082         PR 25520
33083         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33084         If no user class loaders found on the stack, return the thread 
33085         context class loader. (currentClassLoader): Explained.
33086   
33087 2006-01-27  Roman Kennke  <kennke@aicas.com>
33088   
33089         * java/awt/Container.java
33090         (swapComponents): Removed unspecified method.
33091         * javax/swing/JLayeredPane.java
33092         (setPosition): Reimplemented correctly.
33093         (swapComponents): New helper method.
33094   
33095 2006-01-27  Mark Wielaard  <mark@klomp.org>
33096   
33097         * configure.ac: Set version to 0.21-pre.
33098   
33099 2006-01-27  Roman Kennke  <kennke@aicas.com>
33100   
33101         PR classpath/25968
33102         * javax/swing/JComponent.java
33103         (findOverlapFreeParent): Improved the algorithm to make better use
33104         of the optimizedDrawingEnabled flag.
33105         * javax/swing/JLayeredPane.java
33106         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33107         * javax/swing/JViewport.java
33108         (computeBlit): Fixed check to decide if blitting is possible or not,
33109         so that it doesn't blit if nothing was scrolled (in order to
33110         update the buffer when the view updates itself).
33111   
33112 2006-01-27  Roman Kennke  <kennke@aicas.com>
33113   
33114         * javax/swing/plaf/metal/MetalFileChooserUI.java
33115         (createList): Don't set scrollbar policy.
33116   
33117 2006-01-27  Roman Kennke  <kennke@aicas.com>
33118   
33119         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33120         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33121         Fixed to also handle non-Swing toplevel containers.
33122         (PopupMenuHandler.popupMenuWillBecomeVisible):
33123         Fixed to also handle non-Swing toplevel containers.
33124         * javax/swing/Popup.java
33125         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33126         popup.
33127   
33128 2006-01-27  Roman Kennke  <kennke@aicas.com>
33129   
33130         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33131         (InternalFramePropertyChangeListener): Don't implement
33132         VetoableChangeListener.
33133         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33134         (internalFrameVetoableChangeListener): Removed unneeded field.
33135         (installListeners): Don't install vetoableChangeListener.
33136         * javax/swing/event/DocumentEvent.java
33137         (EventType): Made class final.
33138   
33139 2006-01-27  Roman Kennke  <kennke@aicas.com>
33140   
33141         * javax/swing/SwingUtilities.java
33142         (calculateInsetArea): Removed unneeded method. The method
33143         calculateInnerArea has the same purpose and is actually specified.
33144         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33145         * javax/swing/plaf/basic/BasicMenuItemUI.java
33146         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33147         of SwingUtilities.calculateInsetArea().
33148   
33149 2006-01-27  Roman Kennke  <kennke@aicas.com>
33150   
33151         * javax/swing/plaf/basic/BasicTreeUI.java
33152         (installDefaults): Removed requestFocusInWindow() call.
33153         * javax/swing/JComponent.java
33154         (requestFocusInWindow(boolean)): Made method protected.
33155         (printComponent): Made method protected.
33156         (printChildren): Made method protected.
33157         (printComponent): Made method protected.
33158         (printBorder): Made method protected.
33159   
33160 2006-01-27  Roman Kennke  <kennke@aicas.com>
33161   
33162         * javax/swing/AbstractButton.java
33163         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33164         package private.
33165         * javax/swing/ImageIcon.java
33166         (component): Made field final.
33167         (tracker): Made field final.
33168         * javax/swing/JApplet.java
33169         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33170         * javax/swing/JCheckBox.java
33171         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33172         protected.
33173         * javax/swing/JDialog.java
33174         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33175         * javax/swing/JFrame.java
33176         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33177         * javax/swing/JLayeredPane.java
33178         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33179         protected.
33180         (DEFAULT_LAYER): Made field final.
33181         (PALETTE_LAYER): Made field final.
33182         (MODAL_LAYER): Made field final.
33183         (POPUP_LAYER): Made field final.
33184         (DRAG_LAYER): Made field final.
33185         * javax/swing/JMenu.java
33186         (ActionChangeListener): Made class private.
33187         * javax/swing/JOptionPane.java
33188         (UNITITIALIZED_VALUE): Made field final.
33189         * javax/swing/JPanel.java
33190         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33191         * javax/swing/JPopupMenu.java
33192         (ActionChangeListener): Made class private.
33193         * javax/swing/JTree.java
33194         (paramString): Made method protected.
33195         * javax/swing/JViewport.java
33196         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33197         * javax/swing/JWindow.java
33198         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33199         * javax/swing/RepaintManager.java
33200         (RepaintWorker): Made class private.
33201   
33202 2006-01-27  Roman Kennke  <kennke@aicas.com>
33203   
33204         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33205         (handleEvent): Removed debug statement.
33206   
33207 2006-01-27  Roman Kennke  <kennke@aicas.com>
33208   
33209         * java/awt/Component.java
33210         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33211         more than it helps.
33212   
33213 2006-01-26  Lillian Angel  <langel@redhat.com>
33214   
33215         * javax/swing/text/DefaultStyledDocument.java
33216         (createFracture): Commented out a known problem,
33217         added FIXME tag.
33218   
33219 2006-01-26  Lillian Angel  <langel@redhat.com>
33220   
33221         * javax/swing/text/DefaultStyledDocument.java
33222         (ElementBuffer): Added fields.
33223         (remove): Initialized pos.
33224         (change): Likewise.
33225         (insert): Likewise.
33226         (insertUpdate): Incremented pos. Fixed check, createFracture should
33227         be called on first tag if it is not ContentType.
33228         (insertFirstContentTag): Reworked to use proper offsets and
33229         set offset accordingly. This might need more work in the future.
33230         (insertContentTag): Likewise. Fixed to use pos, instead of 
33231         offset.
33232         (createFracture): Fixed to recreate other leaves. Still needs
33233         more work.
33234         (insertFracture): Reimplemented.
33235         (recreateAfterFracture): New method.
33236         (getParagraphElement): Reimplemented, more efficent.
33237
33238 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33239
33240         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33241         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33242         ordering for little-endian arms without VFP.
33243
33244 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33245
33246         PR classpath/25981
33247         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33248
33249 2006-01-26  Mark Wielaard  <mark@klomp.org>
33250
33251         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33252         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33253         Add trailing zeros to the fraction of the decimal with the smallest
33254         scale.
33255
33256 2006-01-26  Roman Kennke  <kennke@aicas.com>
33257
33258         * javax/swing/text/html/ObjectView.java: New file.
33259
33260 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33261
33262         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33263         Call startEditing when appropriate.
33264         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33265         (startEditing): Always edit if directly ordered from 
33266         MouseHandler.mousePressed.
33267         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33268         New field. (createTreeCellEditor): Set click count to start.
33269         (getTreeCellEditorComponent): Assing realEditor directly.
33270
33271 2006-01-25  Casey Marshall  <csm@gnu.org>
33272
33273         Merging GNU Crypto and Jessie.
33274
33275         * NEWS: mention the merge in the 0.21 notes.
33276         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33277         (SSL_RECORD_LAYER): new constants.
33278         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33279         to provider.
33280         * resource/java/security/classpath.security: add new providers.
33281         * gnu/javax/crypto/assembly/Assembly.java,
33282         gnu/javax/crypto/assembly/Cascade.java,
33283         gnu/javax/crypto/assembly/CascadeStage.java,
33284         gnu/javax/crypto/assembly/CascadeTransformer.java,
33285         gnu/javax/crypto/assembly/DeflateTransformer.java,
33286         gnu/javax/crypto/assembly/Direction.java,
33287         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33288         gnu/javax/crypto/assembly/ModeStage.java,
33289         gnu/javax/crypto/assembly/Operation.java,
33290         gnu/javax/crypto/assembly/PaddingTransformer.java,
33291         gnu/javax/crypto/assembly/Stage.java,
33292         gnu/javax/crypto/assembly/Transformer.java,
33293         gnu/javax/crypto/assembly/TransformerException.java,
33294         gnu/javax/crypto/cipher/Anubis.java,
33295         gnu/javax/crypto/cipher/BaseCipher.java,
33296         gnu/javax/crypto/cipher/Blowfish.java,
33297         gnu/javax/crypto/cipher/Cast5.java,
33298         gnu/javax/crypto/cipher/CipherFactory.java,
33299         gnu/javax/crypto/cipher/DES.java,
33300         gnu/javax/crypto/cipher/IBlockCipher.java,
33301         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33302         gnu/javax/crypto/cipher/Khazad.java,
33303         gnu/javax/crypto/cipher/NullCipher.java,
33304         gnu/javax/crypto/cipher/Rijndael.java,
33305         gnu/javax/crypto/cipher/Serpent.java,
33306         gnu/javax/crypto/cipher/Square.java,
33307         gnu/javax/crypto/cipher/TripleDES.java,
33308         gnu/javax/crypto/cipher/Twofish.java,
33309         gnu/javax/crypto/cipher/WeakKeyException.java,
33310         gnu/javax/crypto/jce/GnuCrypto.java,
33311         gnu/javax/crypto/jce/GnuSasl.java,
33312         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33313         gnu/javax/crypto/jce/cipher/AESSpi.java,
33314         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33315         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33316         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33317         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33318         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33319         gnu/javax/crypto/jce/cipher/DESSpi.java,
33320         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33321         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33322         gnu/javax/crypto/jce/cipher/PBES2.java,
33323         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33324         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33325         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33326         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33327         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33328         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33329         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33330         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33331         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33332         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33333         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33334         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33335         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33336         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33337         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33338         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33339         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33340         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33341         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33342         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33343         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33344         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33345         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33346         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33347         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33348         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33349         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33350         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33351         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33352         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33353         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33354         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33355         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33356         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33357         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33358         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33359         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33360         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33361         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33362         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33363         gnu/javax/crypto/jce/mac/MacAdapter.java,
33364         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33365         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33366         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33367         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33368         gnu/javax/crypto/jce/mac/OMacImpl.java,
33369         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33370         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33371         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33372         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33373         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33374         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33375         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33376         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33377         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33378         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33379         gnu/javax/crypto/jce/params/DEREncodingException.java,
33380         gnu/javax/crypto/jce/params/DERReader.java,
33381         gnu/javax/crypto/jce/params/DERWriter.java,
33382         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33383         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33384         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33385         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33386         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33387         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33388         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33389         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33390         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33391         gnu/javax/crypto/key/GnuSecretKey.java,
33392         gnu/javax/crypto/key/IKeyAgreementParty.java,
33393         gnu/javax/crypto/key/IncomingMessage.java,
33394         gnu/javax/crypto/key/KeyAgreementException.java,
33395         gnu/javax/crypto/key/KeyAgreementFactory.java,
33396         gnu/javax/crypto/key/OutgoingMessage.java,
33397         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33398         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33399         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33400         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33401         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33402         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33403         gnu/javax/crypto/key/dh/ElGamalSender.java,
33404         gnu/javax/crypto/key/dh/GnuDHKey.java,
33405         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33406         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33407         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33408         gnu/javax/crypto/key/dh/RFC2631.java,
33409         gnu/javax/crypto/key/srp6/SRP6Host.java,
33410         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33411         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33412         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33413         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33414         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33415         gnu/javax/crypto/key/srp6/SRP6User.java,
33416         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33417         gnu/javax/crypto/key/srp6/SRPKey.java,
33418         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33419         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33420         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33421         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33422         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33423         gnu/javax/crypto/keyring/BaseKeyring.java,
33424         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33425         gnu/javax/crypto/keyring/CertPathEntry.java,
33426         gnu/javax/crypto/keyring/CertificateEntry.java,
33427         gnu/javax/crypto/keyring/CompressedEntry.java,
33428         gnu/javax/crypto/keyring/EncryptedEntry.java,
33429         gnu/javax/crypto/keyring/Entry.java,
33430         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33431         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33432         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33433         gnu/javax/crypto/keyring/IKeyring.java,
33434         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33435         gnu/javax/crypto/keyring/IPublicKeyring.java,
33436         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33437         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33438         gnu/javax/crypto/keyring/MeteredInputStream.java,
33439         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33440         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33441         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33442         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33443         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33444         gnu/javax/crypto/keyring/Properties.java,
33445         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33446         gnu/javax/crypto/mac/BaseMac.java,
33447         gnu/javax/crypto/mac/HMac.java,
33448         gnu/javax/crypto/mac/HMacFactory.java,
33449         gnu/javax/crypto/mac/IMac.java,
33450         gnu/javax/crypto/mac/MacFactory.java,
33451         gnu/javax/crypto/mac/MacInputStream.java,
33452         gnu/javax/crypto/mac/MacOutputStream.java,
33453         gnu/javax/crypto/mac/OMAC.java,
33454         gnu/javax/crypto/mac/TMMH16.java,
33455         gnu/javax/crypto/mac/UHash32.java,
33456         gnu/javax/crypto/mac/UMac32.java,
33457         gnu/javax/crypto/mode/BaseMode.java,
33458         gnu/javax/crypto/mode/CBC.java,
33459         gnu/javax/crypto/mode/CFB.java,
33460         gnu/javax/crypto/mode/CTR.java,
33461         gnu/javax/crypto/mode/EAX.java,
33462         gnu/javax/crypto/mode/ECB.java,
33463         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33464         gnu/javax/crypto/mode/ICM.java,
33465         gnu/javax/crypto/mode/IMode.java,
33466         gnu/javax/crypto/mode/ModeFactory.java,
33467         gnu/javax/crypto/mode/OFB.java,
33468         gnu/javax/crypto/pad/BasePad.java,
33469         gnu/javax/crypto/pad/IPad.java,
33470         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33471         gnu/javax/crypto/pad/PKCS7.java,
33472         gnu/javax/crypto/pad/PadFactory.java,
33473         gnu/javax/crypto/pad/SSL3.java,
33474         gnu/javax/crypto/pad/TBC.java,
33475         gnu/javax/crypto/pad/TLS1.java,
33476         gnu/javax/crypto/pad/WrongPaddingException.java,
33477         gnu/javax/crypto/prng/ARCFour.java,
33478         gnu/javax/crypto/prng/CSPRNG.java,
33479         gnu/javax/crypto/prng/Fortuna.java,
33480         gnu/javax/crypto/prng/ICMGenerator.java,
33481         gnu/javax/crypto/prng/IPBE.java,
33482         gnu/javax/crypto/prng/PBKDF2.java,
33483         gnu/javax/crypto/prng/PRNGFactory.java,
33484         gnu/javax/crypto/prng/UMacGenerator.java,
33485         gnu/javax/crypto/sasl/AuthInfo.java,
33486         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33487         gnu/javax/crypto/sasl/ClientFactory.java,
33488         gnu/javax/crypto/sasl/ClientMechanism.java,
33489         gnu/javax/crypto/sasl/ConfidentialityException.java,
33490         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33491         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33492         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33493         gnu/javax/crypto/sasl/InputBuffer.java,
33494         gnu/javax/crypto/sasl/IntegrityException.java,
33495         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33496         gnu/javax/crypto/sasl/NoSuchUserException.java,
33497         gnu/javax/crypto/sasl/OutputBuffer.java,
33498         gnu/javax/crypto/sasl/SaslEncodingException.java,
33499         gnu/javax/crypto/sasl/SaslInputStream.java,
33500         gnu/javax/crypto/sasl/SaslOutputStream.java,
33501         gnu/javax/crypto/sasl/SaslUtil.java,
33502         gnu/javax/crypto/sasl/ServerFactory.java,
33503         gnu/javax/crypto/sasl/ServerMechanism.java,
33504         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33505         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33506         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33507         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33508         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33509         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33510         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33511         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33512         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33513         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33514         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33515         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33516         gnu/javax/crypto/sasl/plain/PlainClient.java,
33517         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33518         gnu/javax/crypto/sasl/plain/PlainServer.java,
33519         gnu/javax/crypto/sasl/srp/CALG.java,
33520         gnu/javax/crypto/sasl/srp/ClientStore.java,
33521         gnu/javax/crypto/sasl/srp/IALG.java,
33522         gnu/javax/crypto/sasl/srp/KDF.java,
33523         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33524         gnu/javax/crypto/sasl/srp/SRP.java,
33525         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33526         gnu/javax/crypto/sasl/srp/SRPClient.java,
33527         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33528         gnu/javax/crypto/sasl/srp/SRPServer.java,
33529         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33530         gnu/javax/crypto/sasl/srp/ServerStore.java,
33531         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33532         gnu/javax/net/ssl/Base64.java,
33533         gnu/javax/net/ssl/EntropySource.java,
33534         gnu/javax/net/ssl/NullManagerParameters.java,
33535         gnu/javax/net/ssl/PrivateCredentials.java,
33536         gnu/javax/net/ssl/SRPManagerParameters.java,
33537         gnu/javax/net/ssl/SRPTrustManager.java,
33538         gnu/javax/net/ssl/StaticTrustAnchors.java,
33539         gnu/javax/net/ssl/provider/Alert.java,
33540         gnu/javax/net/ssl/provider/AlertException.java,
33541         gnu/javax/net/ssl/provider/Certificate.java,
33542         gnu/javax/net/ssl/provider/CertificateRequest.java,
33543         gnu/javax/net/ssl/provider/CertificateType.java,
33544         gnu/javax/net/ssl/provider/CertificateVerify.java,
33545         gnu/javax/net/ssl/provider/CipherSuite.java,
33546         gnu/javax/net/ssl/provider/ClientHello.java,
33547         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33548         gnu/javax/net/ssl/provider/CompressionMethod.java,
33549         gnu/javax/net/ssl/provider/Constructed.java,
33550         gnu/javax/net/ssl/provider/ContentType.java,
33551         gnu/javax/net/ssl/provider/Context.java,
33552         gnu/javax/net/ssl/provider/DiffieHellman.java,
33553         gnu/javax/net/ssl/provider/DigestInputStream.java,
33554         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33555         gnu/javax/net/ssl/provider/Enumerated.java,
33556         gnu/javax/net/ssl/provider/Extension.java,
33557         gnu/javax/net/ssl/provider/Extensions.java,
33558         gnu/javax/net/ssl/provider/Finished.java,
33559         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33560         gnu/javax/net/ssl/provider/Handshake.java,
33561         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33562         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33563         gnu/javax/net/ssl/provider/Jessie.java,
33564         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33565         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33566         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33567         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33568         gnu/javax/net/ssl/provider/KeyPool.java,
33569         gnu/javax/net/ssl/provider/MacException.java,
33570         gnu/javax/net/ssl/provider/OverflowException.java,
33571         gnu/javax/net/ssl/provider/PRNG.java,
33572         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33573         gnu/javax/net/ssl/provider/Random.java,
33574         gnu/javax/net/ssl/provider/RecordInput.java,
33575         gnu/javax/net/ssl/provider/RecordInputStream.java,
33576         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33577         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33578         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33579         gnu/javax/net/ssl/provider/SSLHMac.java,
33580         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33581         gnu/javax/net/ssl/provider/SSLRandom.java,
33582         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33583         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33584         gnu/javax/net/ssl/provider/SSLSocket.java,
33585         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33586         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33587         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33588         gnu/javax/net/ssl/provider/SecurityParameters.java,
33589         gnu/javax/net/ssl/provider/ServerHello.java,
33590         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33591         gnu/javax/net/ssl/provider/Session.java,
33592         gnu/javax/net/ssl/provider/SessionContext.java,
33593         gnu/javax/net/ssl/provider/Signature.java,
33594         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33595         gnu/javax/net/ssl/provider/TLSHMac.java,
33596         gnu/javax/net/ssl/provider/TLSRandom.java,
33597         gnu/javax/net/ssl/provider/Util.java,
33598         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33599         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33600         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33601         gnu/javax/security/auth/Password.java,
33602         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33603         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33604         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33605         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33606         gnu/javax/security/auth/callback/GnuCallbacks.java,
33607         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33608         gnu/java/security/Registry.java,
33609         gnu/java/security/Properties.java,
33610         gnu/java/security/hash/BaseHash.java,
33611         gnu/java/security/hash/HashFactory.java,
33612         gnu/java/security/hash/Haval.java,
33613         gnu/java/security/hash/IMessageDigest.java,
33614         gnu/java/security/hash/MD2.java,
33615         gnu/java/security/hash/MD4.java,
33616         gnu/java/security/hash/MD5.java,
33617         gnu/java/security/hash/RipeMD128.java,
33618         gnu/java/security/hash/RipeMD160.java,
33619         gnu/java/security/hash/Sha160.java,
33620         gnu/java/security/hash/Sha256.java,
33621         gnu/java/security/hash/Sha384.java,
33622         gnu/java/security/hash/Sha512.java,
33623         gnu/java/security/hash/Tiger.java,
33624         gnu/java/security/hash/Whirlpool.java,
33625         gnu/java/security/jce/hash/HavalSpi.java,
33626         gnu/java/security/jce/hash/MD2Spi.java,
33627         gnu/java/security/jce/hash/MD4Spi.java,
33628         gnu/java/security/jce/hash/MD5Spi.java,
33629         gnu/java/security/jce/hash/MessageDigestAdapter.java,
33630         gnu/java/security/jce/hash/RipeMD128Spi.java,
33631         gnu/java/security/jce/hash/RipeMD160Spi.java,
33632         gnu/java/security/jce/hash/Sha160Spi.java,
33633         gnu/java/security/jce/hash/Sha256Spi.java,
33634         gnu/java/security/jce/hash/Sha384Spi.java,
33635         gnu/java/security/jce/hash/Sha512Spi.java,
33636         gnu/java/security/jce/hash/TigerSpi.java,
33637         gnu/java/security/jce/hash/WhirlpoolSpi.java,
33638         gnu/java/security/jce/prng/HavalRandomSpi.java,
33639         gnu/java/security/jce/prng/MD2RandomSpi.java,
33640         gnu/java/security/jce/prng/MD4RandomSpi.java,
33641         gnu/java/security/jce/prng/MD5RandomSpi.java,
33642         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33643         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33644         gnu/java/security/jce/prng/SecureRandomAdapter.java,
33645         gnu/java/security/jce/prng/Sha160RandomSpi.java,
33646         gnu/java/security/jce/prng/Sha256RandomSpi.java,
33647         gnu/java/security/jce/prng/Sha384RandomSpi.java,
33648         gnu/java/security/jce/prng/Sha512RandomSpi.java,
33649         gnu/java/security/jce/prng/TigerRandomSpi.java,
33650         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33651         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33652         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33653         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33654         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33655         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33656         gnu/java/security/jce/sig/SignatureAdapter.java,
33657         gnu/java/security/key/IKeyPairCodec.java,
33658         gnu/java/security/key/IKeyPairGenerator.java,
33659         gnu/java/security/key/KeyPairCodecFactory.java,
33660         gnu/java/security/key/KeyPairGeneratorFactory.java,
33661         gnu/java/security/key/dss/DSSKey.java,
33662         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33663         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33664         gnu/java/security/key/dss/DSSPrivateKey.java,
33665         gnu/java/security/key/dss/DSSPublicKey.java,
33666         gnu/java/security/key/dss/FIPS186.java,
33667         gnu/java/security/key/rsa/GnuRSAKey.java,
33668         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33669         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33670         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33671         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33672         gnu/java/security/prng/BasePRNG.java,
33673         gnu/java/security/prng/EntropySource.java,
33674         gnu/java/security/prng/IRandom.java,
33675         gnu/java/security/prng/LimitReachedException.java,
33676         gnu/java/security/prng/MDGenerator.java,
33677         gnu/java/security/prng/PRNGFactory.java,
33678         gnu/java/security/prng/RandomEvent.java,
33679         gnu/java/security/prng/RandomEventListener.java,
33680         gnu/java/security/sig/BaseSignature.java,
33681         gnu/java/security/sig/ISignature.java,
33682         gnu/java/security/sig/ISignatureCodec.java,
33683         gnu/java/security/sig/SignatureFactory.java,
33684         gnu/java/security/sig/dss/DSSSignature.java,
33685         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33686         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33687         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33688         gnu/java/security/sig/rsa/EMSA_PSS.java,
33689         gnu/java/security/sig/rsa/RSA.java,
33690         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33691         gnu/java/security/sig/rsa/RSAPSSSignature.java,
33692         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33693         gnu/java/security/util/Base64.java,
33694         gnu/java/security/util/ExpirableObject.java,
33695         gnu/java/security/util/Prime2.java,
33696         gnu/java/security/util/Sequence.java,
33697         gnu/java/security/util/SimpleList.java,
33698         gnu/java/security/util/Util.java,
33699         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33700         new files imported from GNU Crypto and Jessie.
33701
33702 2006-01-25  Tom Tromey  <tromey@redhat.com>
33703
33704         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33705         Fixed calculation of number of bytes to read.
33706         (size, count, meta, eof): Document.
33707
33708 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
33709
33710         * java/lang/Character.java:
33711         (codePointCount(char[], int, int)): New API method.
33712         (codePointCount(CharSequence, int, int)): Likewise.
33713   
33714 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33715   
33716         PR 25205
33717         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
33718         Rewritten.
33719         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
33720         action if not editing.
33721         * javax/swing/plaf/basic/BasicTreeUI.java 
33722         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33723         (CellEditorHandler.editingStopped): Delegate to stopEditing.
33724         (EditorUpdateTimer): Removed.
33725         (TreeAction.actionPerformed): Stop and not cancel the current editing 
33726         when starting editing another node.
33727         (editorTimer, newVal): Removed.
33728         (cancelEditing): Do not send the cancel message.
33729         (completeEditing): Obtain the edited value from the editor.
33730         (finish): New method.
33731         (paintRow): Do not paint the editing component here.
33732         (startEditing, stopEditing): Rewritten.
33733         * javax/swing/tree/DefaultTreeCellEditor.java
33734         (DefaultTextField): Added SVUID.
33735         (EditorContainer): Rewritten.
33736         (RealEditorListener): New inner class.
33737         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33738         (constructor): Add cell editor listener. Do not instantiate timer.
33739         (actionPerformed): Return without action.
33740         (cancelCellEditing): Rewritten.
33741         (createTreeCellEditor): Add cell editor listener to the editor.
33742         (getCellEditorValue): Request the value from the realEditor.
33743         (isCellEditable): Removed timer management.
33744         (prepareForEditing): Remove all components befor adding the 
33745         editingComponent.
33746         (startEditingTimer): Start only if it is not null.
33747         (stopCellEditing): Rewritten.
33748         (stopEditingTimer): New method.
33749         (valueChanged): Do not configure editing component here.
33750   
33751 2006-01-25  Roman Kennke  <kennke@aicas.com>
33752   
33753         * javax/swing/text/html/FormView.java: New file.
33754   
33755 2006-01-25  Roman Kennke  <kennke@aicas.com>
33756   
33757         * javax/swing/JSplitPane.java
33758         (addImpl): Call resetToPreferredSizes() when no dividerLocation
33759         has been set in order to set an initial layout.
33760         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33761         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33762         layout of the right component.
33763         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33764         dividerLocation to the size of the left component.
33765         (createDefaultNonContinuousLayoutDivider): Fetch the color from
33766         the UIManager.
33767         (setDividerLocation): Don't validate the location here. Sometimes
33768         the divider needs to be set to an invalid location.
33769         (startDragging): Don't revalidate and repaint here.
33770         (finishDraggingTo): Don't repaint here. Also, don't call
33771         dragDividerTo() here.
33772         * javax/swing/plaf/basic/BasicLookAndFeel.java
33773         (initComponentDefaults): Added SplitPaneDivider.draggingColor
33774         default value.
33775   
33776 2006-01-25  Roman Kennke  <kennke@aicas.com>
33777   
33778         * javax/swing/JSplitPane.java
33779         (addImpl): Removed invalidate() and layout() call.
33780         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33781         (PropertyHandler.propertyChange): Remove layoutContainer() and
33782         repaint() call.
33783   
33784 2006-01-25  Roman Kennke  <kennke@aicas.com>
33785   
33786         * configure.ac
33787         * native/Makefile.am
33788         * native/jni/classpath/Makefile.am
33789         * native/jni/classpath/jcl.c
33790         * native/jni/classpath/jcl.h
33791         * native/jni/classpath/native_state.c
33792         * native/jni/gtk-peer/Makefile.am
33793         * native/jni/java-io/Makefile.am
33794         * native/jni/java-io/java_io_VMFile.c
33795         * native/jni/java-io/java_io_VMObjectStreamClass.c
33796         * native/jni/java-lang/Makefile.am
33797         * native/jni/java-net/Makefile.am
33798         * native/jni/java-net/java_net_VMInetAddress.c
33799         * native/jni/java-net/javanet.c
33800         * native/jni/java-net/javanet.h
33801         * native/jni/java-nio/Makefile.am
33802         * native/jni/java-nio/gnu_java_nio_VMPipe.c
33803         * native/jni/java-nio/gnu_java_nio_VMSelector.c
33804         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33805         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33806         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33807         * native/jni/java-util/Makefile.am
33808         * native/jni/java-util/java_util_VMTimeZone.c
33809         * native/jni/midi-dssi/Makefile.am
33810         * native/jni/xmlj/Makefile.am
33811         * native/target/Makefile.am
33812         * native/target/Linux/target_native_math.h
33813         * native/target/Linux/target_native_memory.h
33814         * native/target/Linux/Makefile.am
33815         * native/target/Linux/target_native_io.h
33816         * native/target/Linux/target_native_math_float.h
33817         * native/target/Linux/target_native_math_int.h
33818         * native/target/generic/target_generic.c
33819         * native/target/generic/target_generic_io.c
33820         * native/target/generic/target_generic_math.h
33821         * native/target/generic/target_generic_memory.h
33822         * native/target/generic/target_generic_misc.c
33823         * native/target/generic/target_generic_network.c
33824         * native/target/generic/Makefile.am
33825         * native/target/generic/target_generic.h
33826         * native/target/generic/target_generic_file.h
33827         * native/target/generic/target_generic_io.h
33828         * native/target/generic/target_generic_math_float.h
33829         * native/target/generic/target_generic_math_int.h
33830         * native/target/generic/target_generic_misc.h
33831         * native/target/generic/target_generic_network.h:
33832         Reverted target native related changes back to the state of the
33833         0.20 release.
33834         * native/target/MinGW/.cvsignore
33835         * native/target/MinGW/Makefile.am
33836         * native/target/MinGW/target_native.h
33837         * native/target/MinGW/target_native_file.h
33838         * native/target/MinGW/target_native_io.h
33839         * native/target/MinGW/target_native_math.h
33840         * native/target/MinGW/target_native_memory.h
33841         * native/target/MinGW/target_native_misc.h
33842         * native/target/MinGW/target_native_network.h
33843         * native/target/RTEMS/.cvsignore
33844         * native/target/RTEMS/Makefile.am
33845         * native/target/RTEMS/target_native.h
33846         * native/target/RTEMS/target_native_file.h
33847         * native/target/RTEMS/target_native_io.h
33848         * native/target/RTEMS/target_native_math.h
33849         * native/target/RTEMS/target_native_memory.h
33850         * native/target/RTEMS/target_native_misc.h
33851         * native/target/RTEMS/target_native_network.h
33852         * native/target/SunOS/.cvsignore
33853         * native/target/SunOS/Makefile.am
33854         * native/target/SunOS/target_native.h
33855         * native/target/SunOS/target_native_file.h
33856         * native/target/SunOS/target_native_io.h
33857         * native/target/SunOS/target_native_math.h
33858         * native/target/SunOS/target_native_memory.h
33859         * native/target/SunOS/target_native_misc.h
33860         * native/target/SunOS/target_native_network.h
33861         * native/target/embOS/.cvsignore
33862         * native/target/embOS/Makefile.am
33863         * native/target/embOS/target_native.h
33864         * native/target/embOS/target_native_file.h
33865         * native/target/embOS/target_native_io.c
33866         * native/target/embOS/target_native_io.h
33867         * native/target/embOS/target_native_math.h
33868         * native/target/embOS/target_native_memory.h
33869         * native/target/embOS/target_native_misc.h
33870         * native/target/embOS/target_native_network.h
33871         * native/target/posix/.cvsignore
33872         * native/target/posix/Makefile.am
33873         * native/target/posix/target_posix.c
33874         * native/target/posix/target_posix.h
33875         * native/target/posix/target_posix_file.c
33876         * native/target/posix/target_posix_file.h
33877         * native/target/posix/target_posix_io.c
33878         * native/target/posix/target_posix_io.h
33879         * native/target/posix/target_posix_math.c
33880         * native/target/posix/target_posix_math.h
33881         * native/target/posix/target_posix_memory.c
33882         * native/target/posix/target_posix_memory.h
33883         * native/target/posix/target_posix_misc.c
33884         * native/target/posix/target_posix_misc.h
33885         * native/target/posix/target_posix_network.c
33886         * native/target/posix/target_posix_network.h:
33887         Removed.
33888   
33889 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33890   
33891         * javax/print/PrintService.java,
33892         * javax/print/DocPrintJob.java,
33893         * javax/print/CancelablePrintJob.java:
33894         Added and enhanced api documentation for class and methods.             
33895
33896 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33897
33898         * javax/print/SimpleDoc.java: Make class final.
33899         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33900         * javax/print/attribute/DateTimeSyntax.java: 
33901         (toString): New overridden method.
33902         * javax/print/attribute/standard/JobStateReasons.java:
33903         (add): Use the super.add method to avoid recursion.
33904         * javax/print/attribute/standard/PrinterStateReasons.java: 
33905         (put): Use the super.put method to avoid recursion.
33906
33907 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
33908
33909         * java/beans/XMLEncoder.java:
33910         (writeExpression): Added early return (fixes PR #25941).
33911         (setExceptionListener, anonymous Class): Removed printStackTrace
33912         call.
33913         * java/beans/Encoder: Removed unused imports.
33914         (setupDefaultPersistenceDelegates): Removed unneccessary
33915         PersistenceDelegates for subclasses.
33916         * java/beans/PersistenceDelegate:
33917         (initialize): Use local variable as first argument as it was
33918         intended once.
33919         * java/beans/DefaultPersistenceDelegate:
33920         (initialize): Added call to superclass' implementation, added
33921         early return.
33922   
33923 2006-01-24  Tom Tromey  <tromey@redhat.com>
33924   
33925         * java/util/regex/PatternSyntaxException.java: Added @since.
33926         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33927         * java/util/regex/MatchResult.java: New file.
33928   
33929 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33930   
33931         * javax/swing/text/StringContent.java: Added API docs all over, plus 
33932         minor reformatting.
33933   
33934 2006-01-24  Gary Benson  <gbenson@redhat.com>
33935   
33936         * java/net/SocketPermission.java: Implemented serialization.
33937   
33938 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33939   
33940         * javax/swing/text/StringContent.java
33941         (remove): Modified argument check to prevent removal of last character,
33942         (getChars): Removed null argument check to allow NullPointerException,
33943         added API docs,
33944         (checkLocation): Added API docs and white space.
33945   
33946 2006-01-23  Lillian Angel  <langel@redhat.com>
33947   
33948         * javax/swing/text/DefaultStyledDocument.java
33949         (insertUpdate): Should only call createFracture with 
33950         StartTagType. Added check.
33951         (insertContentTag): Should use the tags length for splitting.
33952         Also, added a check to determine if current's start and end offset are
33953         equal to the offset and endOffset. If so, only one leaf element
33954         should be added. 
33955         (createFracture): Removed FIXME. This function is complete.
33956         (split): Added calls to replace. Changed so the child is 
33957         added immediately to the paragraph. Prevents NPEs.
33958
33959 2006-01-23  Mark Wielaard  <mark@klomp.org>
33960
33961         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33962
33963 2006-01-23  Tom Tromey  <tromey@redhat.com>
33964
33965         * gnu/java/security/x509/X509Certificate.java (parse):
33966         Unconditionally read value; for version==1 case when reading
33967         algorithm ID.
33968
33969 2006-01-23  Roman Kennke  <kennke@aicas.com>
33970
33971         * javax/swing/plaf/synth/ColorType.java,
33972         * javax/swing/plaf/synth/Region.java,
33973         * javax/swing/plaf/synth/SynthConstants.java,
33974         * javax/swing/plaf/synth/SynthContext.java
33975         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33976         * javax/swing/plaf/synth/SynthLookAndFeel.java,
33977         * javax/swing/plaf/synth/SynthPainter.java,
33978         * javax/swing/plaf/synth/SynthStyle.java,
33979         * javax/swing/plaf/synth/SynthStyleFactory.java,
33980         * javax/swing/plaf/synth/package.html:
33981         New files. Added the public API and framework classes for the
33982         Synth look and feel.
33983   
33984 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
33985   
33986         * javax/swing/text/Segment.java: API docs all over.
33987   
33988 2006-01-23  Lillian Angel  <langel@redhat.com>
33989   
33990         * javax/swing/text/DefaultStyledDocument.java
33991         (split): Should not use createLeafElement and createBranchElement here.
33992         We should just instaniate the LeafElements and BranchElements instead 
33993         to avoid the case where create*Element is overridden.
33994   
33995 2006-01-23  Lillian Angel  <langel@redhat.com>
33996   
33997         * javax/swing/text/DefaultStyledDocument.java
33998         (insertFirstContentTag): Moved check outside of if-statement.
33999         This should be checked before creating the new leaf element.
34000         (insertFracture): Fixed check to prevent an NPE. The previous
34001         leaf should only be recreated if it has been created by
34002         insertFirstContentTag. Also, fixed up code: if the endOffset is
34003         greater than the offset, then we need to create a temp leaf
34004         as a place holder. Otherwise, the leaf elements should be
34005         created normally.
34006   
34007 2006-01-23  Gary Benson  <gbenson@redhat.com>
34008   
34009         * java/net/SocketPermission.java: Almost completely rewritten.
34010   
34011 2006-01-23  Lillian Angel  <langel@redhat.com>
34012         
34013         * javax/swing/text/DefaultStyledDocument.java
34014         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34015   
34016 2006-01-23  Lillian Angel  <langel@redhat.com>
34017   
34018         * javax/swing/text/DefaultStyledDocument.java:
34019         Formatted ElementBuffer and added new fields.
34020         (remove): Added check to determine if length is 0.
34021         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34022         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34023         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34024         that have been recreated.
34025         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34026         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34027         FIXME tags to the lines that need to be rewritten.      
34028
34029 2006-01-23  Mark Wielaard  <mark@klomp.org>
34030
34031         * examples/Makefile.am: Add support for fastjar.
34032
34033 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34034
34035         * gnu/regexp/REToken.java(empty): Made Cloneable.
34036         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34037         Use separate methods matchN and matchP depending on the
34038         boolean negative.
34039         (matchN): New method used when negative. Done as before.
34040         (matchP): New method used when not negative. Each token is
34041         tried not by itself but by a clone of it.
34042
34043 2006-01-23  Chris Burdess  <dog@gnu.org>
34044
34045         Fixes bug #25906
34046         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34047           class to avoid getLength method contention.
34048         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34049
34050 2006-01-23  Chris Burdess  <dog@gnu.org>
34051
34052         * native/jni/java-util/Makefile.am: Include library required
34053           explicitly by BSD systems.
34054         * native/target/generic/target_generic_misc.h: Remove old commented
34055           out code.
34056         * native/target/generic/target_generic_network.h: Fallbacks (to
34057           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34058
34059 2006-01-22  Tom Tromey  <tromey@redhat.com>
34060
34061         * native/target/posix/.cvsignore: Added .deps.
34062
34063 2006-01-22  Mark Wielaard  <mark@klomp.org>
34064
34065         Fixes bug #25832,
34066         reported by James Damour <James.Damour@corp.request.com>
34067         * java/awt/Container.java (addImpl): Use empty string as name when
34068         null constraints for LayoutManager.addLayoutComponent().
34069
34070 2006-01-22  Chris Burdess  <dog@gnu.org>
34071
34072         Fixes bug #25903
34073         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34074           representing current directory as base for relative URLs.
34075
34076 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34077
34078         Fixes bug #25837
34079         * gnu/regexp/REMatch.java(empty): New boolean indicating
34080         an empty string matched.
34081         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34082         string matched.
34083         (initialize): Support back reference \10, \11, and so on.
34084         (parseInt): renamed from getEscapedChar and returns int.
34085         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34086         when an empty string matched. Fixed a bug of the case where
34087         an empty string matched. Added special handling of {0}.
34088         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34089         when an empty string matched. Fixed the case insensitive matching.
34090   
34091 2006-01-21  Roman Kennke  <kennke@aicas.com>
34092   
34093         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34094         (paint): Added painting of border if one is installed.
34095   
34096 2006-01-21  Roman Kennke  <kennke@aicas.com>
34097   
34098         PR classpath/25843:
34099         * javax/swing/plaf/basic/BasicBorders.java
34100         (getSplitPaneDividerBorder): Use new border constructor
34101         without arguments.
34102         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34103         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34104         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34105         colors are fetched dynamically in the paintBorder method.
34106         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34107         the look and feel.
34108         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34109         unconditionally.
34110         * javax/swing/plaf/basic/BasicLookAndFeel.java
34111         (initComponentDefaults): Added default for SplitPaneDivider.border.
34112         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34113         (tmpBorder): Removed unneeded inner class.
34114         (BasicSplitPaneDivider): Removed setting of border.
34115         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34116         itself.
34117         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34118         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34119         to get behaviour right.
34120         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34121         implementation. This must be rewritten since the layout now works
34122         slightly different (basically, it shouldn't modify the sizes[]
34123         here but instead the dividerLocation.
34124         (dividerLocation): New field.
34125         (installDefaults): Initialize border on divider.
34126         (uninstallDefaults): Only remove background color and border from
34127         splitPane if they are instances of UIDefaults (== not set by
34128         application).
34129         (setDividerLocation): Set the dividerLocation field instead of
34130         doing stunt acts here.
34131         (getDividerLocation): Return dividerLocation field.
34132         (getMinimumDividerLocation): Fixed calculation of minimum location.
34133         
34134 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34135   
34136         * m4/acinclude.m4
34137         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34138   
34139         * lib/Makefile.am: Likewise. 
34140   
34141 2006-01-21  Roman Kennke  <kennke@aicas.com>
34142   
34143         * javax/swing/PopupFactory.java
34144         (getPopup): If there is no Swing root found in any way, use a
34145         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34146         for the Swing AWT peers.
34147   
34148 2006-01-20  Tom Tromey  <tromey@redhat.com>
34149   
34150         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34151         Read response body for redirect.
34152   
34153 2006-01-20  Chris Burdess  <dog@gnu.org>
34154   
34155         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34156           redirects on 304.
34157   
34158 2006-01-20  Lillian Angel  <langel@redhat.com>
34159   
34160         * javax/swing/text/DefaultStyledDocument.java
34161         (pad): Removed, not needed.
34162         (printElements): Likewise.
34163         (printEdit): Likewise.
34164   
34165 2006-01-20  Roman Kennke  <kennke@aicas.com>
34166   
34167         * javax/swing/text/DefaultFormatter.java
34168         (DefaultFormatter): Don't set a value class.
34169   
34170 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34171   
34172         * javax/swing/DefaultCellEditor.java: Commented.
34173   
34174 2006-01-19  Roman Kennke  <kennke@aicas.com>
34175   
34176         * javax/swing/JOptionPane.java
34177         Added cast to Frame for JDialog constructor.
34178   
34179 2006-01-19  Roman Kennke  <kennke@aicas.com>
34180   
34181         * javax/swing/JWindow.java
34182         (JWindow(Window)): Fixed to accept null owner argument.
34183         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34184         owner argument.
34185         * javax/swing/SwingUtilities.java
34186         (getOwnerFrame): Owner parameter and return value are fixed to
34187         be of type Window for compatibity with the above JWindow
34188         constructor.
34189         * javax/swing/JDialog.java
34190         (JDialog): Added cast to Frame to make sure the correct constructor
34191         is called.
34192         * javax/swing/JFileChooser.java
34193         (createDialog): Added cast to Frame for JDialog constructor.
34194   
34195 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34196   
34197         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34198   
34199 2006-01-19  Roman Kennke  <kennke@aicas.com>
34200   
34201         * javax/swing/JWindow.java: Added API docs to the constructors.
34202   
34203 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34204   
34205         * javax/swing/JTable.java: Commenting method headers.
34206         (EditorUpdateTimer): Removed.
34207   
34208 2006-01-19  Roman Kennke  <kennke@aicas.com>
34209   
34210         * javax/swing/JDialog.java
34211         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34212         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34213         SwingUtilities.getOwnerFrame() with the owner argument.
34214         * javax/swing/JFileChooser.java
34215         (showOpenDialog(Component)): Call pack() on the dialog instead of
34216         setting a fixed height.
34217         (showSaveDialog()): Likewise.
34218         (showDialog()): Likewise.
34219         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34220         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34221         with null.
34222         * javax/swing/JWindow.java
34223         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34224         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34225         argument.
34226         * javax/swing/SwingUtilities.java
34227         (getOwnerFrame): Changed to take a owner parameter that is returned
34228         as owner frame when not null.
34229   
34230 2006-01-19  Roman Kennke  <kennke@aicas.com>
34231   
34232         * gnu/java/awt/peer/swing/SwingFramePeer.java
34233         (handleMouseEvent): Fixed handling of mouse events.
34234         (handleMouseMotionEvent): Fixed handling of mouse events.
34235
34236 2006-01-19  Roman Kennke  <kennke@aicas.com>
34237
34238         * native/target/generic/target_generic_misc.c:
34239         (targetGenericMisc_formatString): Added missing method.
34240
34241 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34242
34243         * m4/acinclude.m4: Test also for ecj found before exiting configure
34244         with no javac found error message. 
34245
34246 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34247
34248         Fixes bug #23212
34249         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34250         \0123, \x1B, \u1234.
34251         (getEscapedChar): New method.
34252         (CharExpression): New inner class.
34253         (getCharExpression): New Method.
34254         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34255         RE_UNICODE_CHAR): New syntax bits.
34256
34257 2006-01-19  Roman Kennke  <kennke@aicas.com>
34258
34259         * native/target/Makefile.am: Fixed so that posix stuff is really
34260         only built when requested.
34261
34262 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34263
34264         * javax/swing/JTable.java (editingStopped, editingCancelled):
34265         Repaint the edited cell.
34266         (setValueAt): Do not add the value object to this container.
34267         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34268         (editingStopped): Use editingRow, editingColumn and not
34269         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34270         (doLayout): Move the editor component, if present, into the new
34271         location and call repaint(). (moveToCellBeingEdited): new method.
34272         (TableTextField): new inner class.
34273         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34274         (setValueAt): Repaint the changed segment.
34275         (createDefaultEditors): Implemented.
34276         (BooleanCellRenderer): Center the checkbox and use the default foreground
34277         and background colors.   
34278         * javax/swing/plaf/basic/BasicTableUI.java
34279         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34280         (paint): No need to allocate rectangle for each cell.   
34281         * javax/swing/DefaultCellEditor.java: Rewritten.         
34282         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34283         Use TableDemo.java table example.
34284         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34285
34286 2006-01-19  Roman Kennke  <kennke@aicas.com>
34287
34288         * configure.ac: Added/fixed --enable-posix-layer option to enable
34289         build of posix layer.
34290         * native/target/Makefile.am: Added build for posix layer.
34291
34292 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34293
34294         * configure.ac: Set TARGET to Linux per default.
34295         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34296         libtargetos.la.
34297         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34298         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34299         AM_CPPFLAGS.
34300         
34301 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34302
34303         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34304           what looked like proprietary documentation with original or new one.
34305         * java/security/spec/PSSParameterSpec.java: Likewise.
34306         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34307         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34308         * java/security/AlgorithmParameterGenerator.java: Likewise.
34309         * java/security/AlgorithmParameters.java: Likewise.
34310         * java/security/Identity.java: Likewise.
34311         * java/security/IdentityScope.java: Likewise.
34312         * java/security/KeyFactory.java: Likewise.
34313         * java/security/KeyPairGenerator.java: Likewise.
34314         * java/security/MessageDigest.java: Likewise.
34315         * java/security/Policy.java: Likewise.
34316         * java/security/ProtectionDomain.java: Likewise.
34317         * java/security/Security.java: Likewise.
34318         * java/security/Signature.java: Likewise.
34319         * java/security/SignatureSpi.java: Likewise.
34320         * java/security/SignedObject.java: Likewise.
34321         * java/security/Signer.java: Likewise.
34322   
34323 2006-01-18  Roman Kennke  <kennke@aicas.com>
34324   
34325         * configure.ac: Added --enable-posix-layer option to enable
34326         build of the posix target layer.
34327   
34328 2006-01-18  Roman Kennke  <kennke@aicas.com>
34329   
34330         * native/jni/java-net/java_net_VMInetAddress.c
34331         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34332         for INADDR_ANY.
34333   
34334 2006-01-18  Roman Kennke  <kennke@aicas.com>
34335   
34336         * native/jni/java-util/java_util_VMTimeZone.c:
34337         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34338         to use target native layer.
34339         (jint_to_charbuf): Removed unneeded helper function.
34340   
34341 2006-01-18  Roman Kennke  <kennke@aicas.com>
34342   
34343         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34344         Removed unnecessary include.
34345         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34346         Reorganized includes to only include sys/* headers when available.
34347         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34348         (get_pagesize): Return 0 when nothing else works.
34349         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34350         Replaced munmap() and strerror() with corresponding target macros.
34351         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34352         Replaced strerror() with corresponding target macro.
34353         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34354         Replaced strerror() with corresponding target macro.
34355         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34356         (Java_java_nio_VMDirectByteBuffer_allocate):
34357         Replaced malloc() with the corresponding target macro.
34358         (Java_java_nio_VMDirectByteBuffer_free):
34359         Replaced free() with the corresponding target macro.
34360         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34361         Add index to pointer when assigning the value.
34362         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34363         Replaced memcpy with corresponding target macro. Add index when
34364         doing the memcpy, not when fetching the pointer.
34365         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34366         Replaced memcpy with corresponding target macro.
34367         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34368         Replaced memmove with the corresponding target macro.
34369
34370 2006-01-17  Tom Tromey  <tromey@redhat.com>
34371
34372         PR classpath/20198:
34373         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34374         (JarURLLoader): Likewise.
34375         (addURLImpl): Canonicalize file URLs.
34376
34377 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34378
34379         * configure.ac: Set TARGET.
34380         * native/Makefile.am, native/jni/classpath/Makefile.am,
34381         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34382         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34383         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34384         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34385         native/target/Linux/Makefile.am,
34386         native/target/generic/Makefile.am,
34387         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34388         and target stuff linked in and link it against lib*.so libraries.
34389
34390 2006-01-17  Roman Kennke  <kennke@aicas.com>
34391
34392         * native/jni/java-net/javanet.c:
34393         (_javanet_connect): Changed type of some local variables to jint.
34394         Fixed error handling to throw a SocketTimeoutException if the
34395         connection attempt times out.
34396         (_javanet_bind): Changed type of some local variables to jint.
34397         (_javanet_accept): Likewise.
34398         (_javanet_recvfrom): Likewise.
34399         (_javanet_sendto): Fixed error handling to throw a
34400         PortUnreachableException when connection is refused.
34401         (_javanet_get_option): Changed type of some local variables to jint.
34402         Implemented SOCKOPT_SO_BROADCAST.
34403         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34404         target native macro.
34405         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34406         target native macro.
34407         * native/jni/java-net/javanet.h:
34408         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34409         SOCKOPT_SO_BROADCAST.
34410   
34411 2006-01-17  Lillian Angel  <langel@redhat.com>
34412   
34413         * javax/swing/text/DefaultStyledDocument.java
34414         (insert): Cleaned up loop. No need to make so many calls
34415         to getAddedElements and getRemovedElements.
34416         (insertFracture): Removed unneeded array.
34417   
34418 2006-01-17  Lillian Angel  <langel@redhat.com>
34419         
34420         * javax/swing/text/JTextComponent.java
34421         (AccessibleJTextComponent): Implemented.
34422         (getCaretPosition): Implemented.
34423         (getSelectedText): Implemented.
34424         (getSelectionStart): Implemented.
34425         (getSelectionEnd): Implemented.
34426         (getSelectionEnd): Implemented.
34427         (getCharCount): Implemented.
34428         (insertTextAtIndex): Implemented.
34429         (getTextRange): Implemented.
34430         (delete): Implemented.
34431         (cut): Implemented.
34432         (paste): Implemented.
34433         (replaceText): Implemented.
34434         (selectText): Implemented.
34435   
34436 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34437   
34438         * javax/swing/text/DefaultStyledDocument.java:
34439         (pad): New debugging method.
34440         (printElements): Likewise.
34441         (printPendingEdits): Likewise.
34442         (printElement): Likewise.
34443         (Edit): Improved docs, moved this class to be an inner class of
34444         ElementBuffer since it only applies within that scope.  Changed added 
34445         and removed to be Vectors instead of arrays because we need to be able 
34446         to add to them after construction.
34447         (ElementBuffer): Updated docs with link to article that helped in this
34448         classes implementation.
34449         (ElementBuffer.Edit.getRemovedElements): New method.
34450         (ElementBuffer.Edit.getAddedElements): Likewise.
34451         (ElementBuffer.Edit.addRemovedElement): Likewise.
34452         (ElementBuffer.Edit.addRemovedElements): Likewise.
34453         (ElementBuffer.Edit.addAddedElement): Likewise.
34454         (ElementBuffer.Edit.addAddedElements): Likewise.
34455         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34456         addAddedElements.
34457         (ElementBuffer.getEditForParagraphAndIndex): New method.
34458         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34459         BranchElement.  Corrected style of adding the edit to use the new Edit
34460         facilities.
34461         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34462         the new Edit facilities.
34463         (ElementBuffer.split): Likewise.
34464         (ElementBuffer.insertParagraph): Likewise.
34465         (ElementBuffer.insertContentTag): Likewise.
34466         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34467         not just the root and the first one. Apply the structural changes to 
34468         the tree at the same time as updating the DocumentEvent.
34469         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34470         handling of EndTags as the first ElementSpec.  Instead have to handle
34471         ContentTags as a special case if they are the first ElementSpec and if
34472         not have to fracture the tree.
34473         (ElementBuffer.createFracture): New method.  May not be complete yet.
34474         Added FIXME indicating what may remain to be done.
34475         (ElementBuffer.insertFirstContentTag): New method.
34476         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34477         be done.  Changed the adding of edits to use the new Edit facilities.
34478         Removed the adding of edits for Elements that weren't in the tree prior
34479         to the insertion.
34480         (insertUpdate): Removed incorrect condition for setting a StartTag's
34481         direction to JoinNextDirection.
34482         * javax/swing/text/StyleContent.java: 
34483         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34484         that was causing an ArrayOutOfBoundsException.
34485   
34486 2006-01-17  Roman Kennke  <kennke@aicas.com>
34487   
34488         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34489         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34490         exception messages a little.
34491         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34492         alternative implementation for systems without filesystems.
34493         Replaced snprintf with the corresponding target native macro.
34494         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34495         Only do something when we have a filesystem.
34496         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34497         alternative implementation for systems without filesystems.
34498         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34499         alternative implementation for systems without filesystems.
34500         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34501         alternative implementation for systems without filesystems.
34502         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34503         Only do something when we have a filesystem.
34504         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34505         Only do something when we have a filesystem.
34506         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34507         alternative implementation for systems without filesystems.
34508         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34509         Replaced ssize_t variables with jint. Provided
34510         alternative implementation for systems without filesystems.
34511         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34512         Replaced ssize_t variables with jint. Provided
34513         alternative implementation for systems without filesystems.
34514         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34515         Replaced ssize_t variables with jint. Provided
34516         alternative implementation for systems without filesystems.
34517         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34518         Only do something when we have a filesystem.
34519         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34520         Replaced ssize_t variables with jint. Provided
34521         alternative implementation for systems without filesystems.
34522         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34523         to use the corresponding target native macro.
34524         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34525         to use the corresponding target native macro.
34526   
34527 2006-01-17  Lillian Angel  <langel@redhat.com>
34528   
34529         * javax/swing/text/DefaultTextUI.java:
34530         Added deprecated tag.
34531         * javax/swing/text/JTextComponent.java
34532         (AccessibleJTextComponent): Fixed API doc and
34533         partiall9 implemented.
34534         (getCaretPosition): Fixed API doc and implemented.
34535         (getSelectedText): Fixed API doc.
34536         (getSelectionStart): Likewise.
34537         (getSelectionEnd): Likewise.
34538         (caretUpdate): Fixed API doc and
34539         partially implemented.
34540         (getAccessibleStateSet): Likewise.
34541         (getAccessibleRole): Fixed API doc and implemented.
34542         (getAccessibleEditableText): Implemented.
34543         (getAccessibleText): Fixed API doc and implemented.
34544         (insertUpdate): Fixed API doc.
34545         (changedUpdate): Likewise.
34546         (getIndexAtPoint): Likewise.
34547         (getRootEditorRect): Removed.
34548         (getCharacterBounds): Fixed API doc.
34549         (getCharCount): Likewise.
34550         (getCharacterAttribute): Likewise.
34551         (getAtIndex): Likewise.
34552         (getAfterIndex): Likewise.
34553         (getBeforeIndex): Likewise.
34554         (getAccessibleActionCount): Added function stub.
34555         (getAccessibleActionDescription): Added function,
34556         partially implemented.
34557         (doAccessibleAction): Added function stub.
34558         (setTextContents): Likewise.
34559         (insertTextAtIndex): Likewise.
34560         (delete): Likewise.
34561         (cut): Likewise.
34562         (paste): Likewise.
34563         (replaceText): Likewise.
34564         (selectText): Likewise.
34565         (setAttributes): Likewise.
34566         (getAccessibleContext): Implemented.
34567   
34568 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34569   
34570         Fixes bug #25817
34571         * gnu/regexp/RETokenRange.java(constructor):
34572         Keep lo and hi as they are.
34573         (match): Changed the case insensitive comparison.
34574   
34575 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34576   
34577         * gnu/regexp/RETokenChar.java(chain):
34578         Do not concatenate tokens whose insens flags are diffent.
34579   
34580 2006-01-17  Roman Kennke  <kennke@aicas.com>
34581   
34582         * native/target/generic/target_generic_network.c:
34583         (targetGenericNetwork_receive): Fixed signature to match the
34584         corresponding .h file.
34585         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34586         to match the corresponding .h file.
34587   
34588 2006-01-17  Roman Kennke  <kennke@aicas.com>
34589   
34590         * native/jni/classpath/jcl.c:
34591         (JCL_malloc): Replaced calls to malloc with the corresponding
34592         target layer macro.
34593         (JCL_free): Replaced calls to free with the corresponding
34594         target layer macro.
34595         * native/jni/classpath/native_state.c:
34596         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34597         calloc with the corresponding target layer macro.
34598         (remove_node): Replaced calls to free with the corresponding
34599         target layer macro.
34600         (add_node): Replaced calls to malloc with the corresponding
34601         target layer macro.
34602
34603 2006-01-17  Roman Kennke  <kennke@aicas.com>
34604
34605         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34606         (getFieldReference): Use MALLOC/FREE macros for portability instead
34607         of direct call to malloc() and free().
34608
34609 2006-01-17  Roman Kennke  <kennke@aicas.com>
34610
34611         * native/jni/classpath/jcl.c: Added missing imports.
34612         (JCL_realloc): Fixed signature to include oldsize. This is needed
34613         for some targets. Make this function use the MEMORY_REALLOC macro
34614         for portability.
34615         * native/jni/classpath/jcl.h
34616         (JCL_realloc): Adjusted signature.
34617         * native/jni/java-io/java_io_VMFile.c:
34618         (Java_java_io_VMFile_create): Use target layer macro for handling
34619         errno, for portability.
34620         (Java_java_io_VMFile_length): Release filename string in error cases
34621         before returning.
34622         (Java_java_io_VMFile_list): Initialize filename variable. Use new
34623         version of JCL_realloc.
34624         * native/jni/java-net/java_net_VMInetAddress.c:
34625         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34626         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34627         * native/jni/java-net/javanet.c:
34628         (_javanet_bind): Make errorstr variable const to avoid compiler
34629         warning.
34630         (_javanet_set_option): Fixed typo.
34631         (_javanet_get_option): Fixed typo.
34632         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34633         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34634         error_string variable const to avoid compiler warning.
34635         * native/target/generic/target_generic_file.h:
34636         Replaced // comments with /* */ comments to avoid compiler warnings.
34637         Added some spaces to make code better readable.
34638         * native/target/generic/target_generic_memory.h:
34639         Replaced // comments with /* */ comments to avoid compiler warnings.
34640         * native/target/generic/target_generic_misc.c:
34641         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34642         compiler warnings due to use of varargs.
34643         * native/target/generic/target_generic_misc.h:
34644         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34645         compiler warnings due to use of varargs.
34646         * native/target/generic/target_generic_network.h:
34647         Replaced // comments with /* */ comments to avoid compiler warnings.
34648         (targetGenericNetwork_receive): Fixed signature to use signed chars
34649         for buffer parameter to avoid warning when passing a jbyte to the
34650         function.
34651   
34652 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
34653   
34654         * javax/swing/text/StyleConstants.java
34655         (getAlignment): Removed isDefined() check, so that resolving parent is 
34656         used for lookup,
34657         (getBackground): Likewise, plus changed default value to Color.BLACK,
34658         (getBidiLevel): Removed isDefined() check,
34659         (getComponent): Likewise,
34660         (getFirstLineIndent): Likewise,
34661         (getFontFamily): Likewise,
34662         (getFontSize): Likewise,
34663         (getForeground): Likewise,
34664         (getIcon): Likewise,
34665         (getLeftIndent): Likewise,
34666         (getLineSpacing): Likewise,
34667         (getRightIndent): Likewise,
34668         (getSpaceAbove): Likewise,
34669         (getSpaceBelow): Likewise,
34670         (getTabSet): Likewise,
34671         (isBold): Likewise,
34672         (isItalic): Likewise,
34673         (isStrikeThrough): Likewise,
34674         (isSubscript): Likewise,
34675         (isSuperscript): Likewise,
34676         (isUnderline): Likewise.
34677
34678 2006-01-17  Gary Benson  <gbenson@redhat.com>
34679
34680         * java/lang/System.java (setSecurityManager): Catch
34681         ClassNotFoundException not Throwable.
34682
34683 2006-01-16  Anthony Green  <green@redhat.com>
34684
34685         PR classpath/25803
34686         * gnu/java/net/protocol/http/Request.java
34687           (createResponseBodyStream): Remove Content-Encoding for
34688           compressed streams.
34689   
34690 2006-01-16  Chris Burdess  <dog@gnu.org>
34691   
34692         * gnu/xml/stream/XMLParser.java,
34693           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34694           XMLStreamWriter arguments for conformance to the XML specifications.
34695         * gnu/xml/transform/Stylesheet.java,
34696           gnu/xml/transform/Template.java,
34697           gnu/xml/transform/TransformerImpl.java,
34698           gnu/xml/xpath/LangFunction.java,
34699           gnu/xml/xpath/Selector.java: better handling of template priorities;
34700           fix indents when pretty-printing; recursive tests for xml:lang.
34701         * gnu/xml/util/XHTMLWriter.java,
34702           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34703
34704 2006-01-16  Roman Kennke  <kennke@aicas.com>
34705
34706         * native/target/MinGW/.cvsignore: New file.
34707         * native/target/RTEMS/.cvsignore: New file.
34708         * native/target/SunOS/.cvsignore: New file.
34709         * native/target/embOS/.cvsignore: New file.
34710         * native/target/posix/.cvsignore: New file.
34711
34712 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34713
34714         * javax/swing/text/StyleConstants.java: Updated API docs all over.
34715
34716 2006-01-16  Roman Kennke  <kennke@aicas.com>
34717
34718         * configure.ac: Include new target native directories in build.
34719
34720 2006-01-16  Roman Kennke  <kennke@aicas.com>
34721
34722         * native/target/generic/target_generic_file.h: Added missing
34723         include.
34724         * native/target/generic/target_generic_network.c: Fixed several
34725         typos and includes.
34726         * native/target/generic/target_generic_network.h: Likewise.
34727
34728 2006-01-16  Roman Kennke  <kennke@aicas.com>
34729
34730         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34731         to include the new targets.
34732         * native/target/posix/Makefile.am: Fixed filenames.
34733
34734 2006-01-16  Roman Kennke  <kennke@aicas.com>
34735
34736         * native/target/Makefile.am: Include new targets.
34737         * native/target/Linux/Makefile.am: Include new memory layer.
34738         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34739         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34740         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34741         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34742         * native/target/generic/Makefile.am: Include new memory and math
34743         layer.
34744         * native/target/posix/Makefile.am: New file. Includes posix in dist.
34745   
34746 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34747   
34748         Fixes bug #22884
34749         * gnu/regexp/RE.java(initialize): Parse embedded flags.
34750         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34751   
34752 2006-01-16  Roman Kennke  <kennke@aicas.com>
34753   
34754         * native/target/generic/target_generic_network.c: Fixed typo.
34755         * native/target/generic/target_generic_network.h: Fixed typo.
34756   
34757 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
34758   
34759         * doc/vmintegration.texinfo: Updated subsection of the
34760         java.lang.InstrumentationImpl documentation.
34761   
34762 2006-01-16  Roman Kennke  <kennke@aicas.com>
34763   
34764         * native/target/RTEMS/target_native.h,
34765         * native/target/RTEMS/target_native_file.h,
34766         * native/target/RTEMS/target_native_io.h,
34767         * native/target/RTEMS/target_native_math.h,
34768         * native/target/RTEMS/target_native_memory.h,
34769         * native/target/RTEMS/target_native_misc.h,
34770         * native/target/RTEMS/target_native_network.h:
34771         New files. Implement the target native layer for the RTEMS platform.
34772   
34773 2006-01-16  Roman Kennke  <kennke@aicas.com>
34774   
34775         * native/target/SunOS/target_native.h,
34776         * native/target/SunOS/target_native_file.h,
34777         * native/target/SunOS/target_native_io.h,
34778         * native/target/SunOS/target_native_math.h,
34779         * native/target/SunOS/target_native_memory.h,
34780         * native/target/SunOS/target_native_misc.h,
34781         * native/target/SunOS/target_native_network.h:
34782         New files. Implement the target native layer for the SunOS platform.
34783   
34784 2006-01-16  Roman Kennke  <kennke@aicas.com>
34785   
34786         * native/target/MinGW/target_native.h,
34787         * native/target/MinGW/target_native_file.h,
34788         * native/target/MinGW/target_native_io.h,
34789         * native/target/MinGW/target_native_math.h,
34790         * native/target/MinGW/target_native_memory.h,
34791         * native/target/MinGW/target_native_misc.h,
34792         * native/target/MinGW/target_native_network.h:
34793         New files. Implement the target native layer for the MinGW
34794         platform.
34795   
34796 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34797   
34798         PR 25770
34799         * javax/swing/DefaultCellEditor.java
34800         (delegate): Assign new instance immediately.
34801         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34802         (getTableCellEditorComponent): Rewritten.
34803         (prepareAsJTextField):New method (add listener only once).
34804         * javax/swing/JTable.java
34805         (editingCanceled): Rewritten.
34806         (editingStopped ): Rewritten.
34807         (rowAtPoint): Mind row margin.
34808         (getCellRect): Mind row margin.
34809         (getDefaultEditor): Removing JTextComponent border.
34810         (editCellAt): Rewritten.
34811         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34812         Activate editing mode by the mouse clicks.
34813         (getMaximumSize): Mind row margin.
34814         (getPreferredSize): Mind row margin.
34815         (TableAction): Added 'stop editing' command. 
34816
34817 2006-01-16  Roman Kennke  <kennke@aicas.com>
34818
34819         * jni/java-io/java_io_VMFile.c
34820         (Java_java_io_VMFile_list): Use new 4 argument version of
34821         TARGET_NATIVE_FILE_READ_DIR macro.
34822         * target/Linux/target_native_io.h: Fixed comment at #endif.
34823         * target/Linux/target_native_memory.h: New file. Contains
34824         portability macros for memory operations.
34825         * target/generic/target_generic.c: New file. Contains some functions
34826         for portability.
34827         * target/generic/target_generic.h: Use posix target and shorter macro
34828         names if CP_NEW is set. 
34829         * target/generic/target_generic_file.h: Use posix target and shorter
34830         macro names if CP_NEW is set.
34831         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34832         * target/generic/target_generic_io.c: New file. Contains some
34833         functions for IO portability.
34834         * target/generic/target_generic_io.h: Use posix target and shorter
34835         macro names if CP_NEW is set.
34836         * target/generic/target_generic_misc.c: New file. Contains some
34837         functions for miscallaneaous portability issues.
34838         * target/generic/target_generic_misc.h: Use posix target and shorter
34839         macro names if CP_NEW is set.
34840         * target/generic/target_generic_network.c: New file. Contains some
34841         functions for networking portability.
34842         * target/generic/target_generic_network.h: Use posix target and
34843         shorter macro names if CP_NEW is set.
34844         * target/posix/Makefile.am,
34845         * target/posix/target_posix.c,
34846         * target/posix/target_posix.h,
34847         * target/posix/target_posix_file.c,
34848         * target/posix/target_posix_file.h,
34849         * target/posix/target_posix_io.c,
34850         * target/posix/target_posix_io.h,
34851         * target/posix/target_posix_math.c,
34852         * target/posix/target_posix_math.h,
34853         * target/posix/target_posix_memory.c,
34854         * target/posix/target_posix_memory.h,
34855         * target/posix/target_posix_misc.c,
34856         * target/posix/target_posix_misc.h,
34857         * target/posix/target_posix_network.c,
34858         * target/posix/target_posix_network.h:
34859         New files. This implements the target native layer macros for
34860         Posix-like systems.
34861
34862 2006-01-16  Gary Benson  <gbenson@redhat.com>
34863
34864         * java/net/SocketPermission.java (implies): Fix action checks.
34865
34866 2006-01-16  Roman Kennke  <kennke@aicas.com>
34867
34868         * native/target/generic/target_generic_math_float.h: Removed. This
34869         file has been replaced by target_generic_math.h.
34870         * native/target/generic/target_generic_math_int.h: Removed. This
34871         file has been replaced by target_generic_math.h.
34872         * native/target/generic/target_generic_math.h: New file. Replaces
34873         the old _int and _float versions.
34874         * native/target/Linux/target_native_math_float.h: Removed. This
34875         file has been replaced by target_native_math.h.
34876         * native/target/Linux/target_native_math_int.h: Removed. This
34877         file has been replaced by target_native_math.h.
34878         * native/target/Linux/target_native_math.h: New file. Replaces
34879         the old _int and _float versions.
34880         * native/target/Linux/Makefile.am: Adjusted for the changed
34881         filenames.
34882         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34883         instead of target_native_math_int.h.
34884         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34885         Likewise.
34886         * native/target/generic/target_generic_file.h: Likewise.
34887   
34888 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34889   
34890         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34891   
34892 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34893   
34894         * javax/swing/text/SimpleAttributeSet.java
34895         (SimpleAttributeSet()): Initialise storage directly,
34896         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34897         NullPointerException,
34898         (containsAttribute): If key is found locally, don't check resolving
34899         parent if the value doesn't match,
34900         (getAttribute): Removed redundant instanceof and cast.
34901   
34902 2006-01-16  Gary Benson  <gbenson@redhat.com>
34903   
34904         * java/lang/System.java (setSecurityManager): Ensure policy
34905         files are loaded before a security manager is put in place.
34906   
34907 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34908   
34909         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34910   
34911 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
34912   
34913         * javax/print/attribute/standard/MediaSize.java: 
34914         (static_initializer): Added comment.
34915         (MediaSize): Added javadoc to mention cache registration.
34916         (MediaSize): Likewise.
34917         (MediaSize): Likewise.
34918         (MediaSize): Likewise.
34919   
34920 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
34921   
34922         PR classpath/25202
34923         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34924         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34925         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34926         * javax/security/auth/login/AppConfigurationEntry.java: Updated
34927           copyright year.
34928           (toString): Added method implementation.
34929           (LoginModuleControlFlag.toString): Removed class name from result.
34930         * javax/security/auth/login/Configuration.java: Updated copyright year.
34931           (getConfig(): replaced calls to NullConfiguration with
34932           GnuConfiguration.
34933
34934 2006-01-15  Tom Tromey  <tromey@redhat.com>
34935
34936         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34937         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34938         * java/beans/PersistenceDelegate.java (initialize): Genericized.
34939         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34940         (setPersistenceDelegate): Likewise.
34941
34942 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
34943
34944         * javax/print/attribute/standard/PrinterStateReasons.java: 
34945         (printerStateReasonSet): Genericize the return type.
34946
34947 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34948
34949         * javax/swing/table/DefaultTableCellRenderer.java 
34950         (getTableCellRendererComponent): Render null as the empty cell.
34951
34952 2006-01-14  Anthony Green  <green@redhat.com>
34953
34954         * java/net/ServerSocket.java (accept): Remove bogus
34955         security check.
34956         (implAccept): Add FIXME comment.
34957
34958 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34959
34960         Fixes bug #25387
34961         * javax/print/Doc.java: Added and enhanced documentation.
34962         * javax/print/SimpleDoc.java: New file. 
34963   
34964 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34965   
34966         * javax/print/attribute/standard/MediaSize.java: 
34967         (Other.TABLOID): New MediaSize added in 1.5
34968   
34969 2006-01-14  Chris Burdess  <dog@gnu.org>
34970   
34971         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34972           correctly when I/O and runtime exceptions occur during parsing.
34973   
34974 2006-01-13  Roman Kennke  <kennke@aicas.com>
34975   
34976         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34977         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34978         * gnu/java/awt/peer/swing/SwingComponent.java,
34979         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34980         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34981         * gnu/java/awt/peer/swing/SwingFramePeer.java,
34982         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34983         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34984         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34985         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34986         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34987         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34988         * gnu/java/awt/peer/swing/SwingToolkit.java,
34989         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34990         * gnu/java/awt/peer/swing/package.html:
34991         New files. Implemented some basic AWT peers based on Swing.
34992   
34993 2006-01-13  Roman Kennke  <kennke@aicas.com>
34994   
34995         * java/awt/peer/ComponentPeer.java: Added API docs all over.
34996   
34997 2006-01-13  Roman Kennke  <kennke@aicas.com>
34998   
34999         * java/awt/MenuComponent.java: Reformatted to better match our
35000         coding style.
35001   
35002 2006-01-13  Roman Kennke  <kennke@aicas.com>
35003   
35004         * java/awt/Frame.java: Reformatted to better match our
35005         coding style.
35006   
35007 2006-01-13  Roman Kennke  <kennke@aicas.com>
35008   
35009         * java/awt/MenuBar.java
35010         (accessibleContext): Removed unnecessary field. This is already
35011         defined in MenuComponent.
35012         (setHelpMenu): Renamed the peer variable to myPeer because it was
35013         hiding a field of MenuComponent.
35014         (addNotify): Removed unnecessary cast.
35015   
35016 2006-01-13  Roman Kennke  <kennke@aicas.com>
35017   
35018         * java/awt/MenuBar.java: Reformatted to better match our
35019         coding style.
35020   
35021 2006-01-13  Roman Kennke  <kennke@aicas.com>
35022   
35023         * java/awt/MenuBar.java
35024         (frame): New field.
35025         (removeNotify): Clear frame field when beeing removed from the
35026         frame.
35027         * java/awt/Frame.java
35028         (setMenuBar): Store a reference of the frame in the MenuBar.
35029         * java/awt/MenuComponent.java
35030         (postEvent): Implemented to forward the call to the parent until
35031         a parent can handle the event.
35032         (dispatchEvent): Moved handling of old style events from
35033         dispatchEventImpl() to here.
35034         (dispatchEventImpl): Moved handling of old style events to
35035         dispatchEvent().
35036   
35037 2006-01-13  Roman Kennke  <kennke@aicas.com>
35038   
35039         * java/awt/Component.java
35040         (dispatchEvent): Moved handling of old style events from
35041         dispatchEventImpl() to this method.
35042         (translateEvent): Removed unnecessary cast.
35043         (dispatchEventImpl): Moved handling of old style events to
35044         dispatchEvent().
35045         
35046 2006-01-13  Lillian Angel  <langel@redhat.com>
35047   
35048         * javax/swing/text/DefaultStyledDocument.java
35049         (createDefaultRoot): Removed FIXME.
35050         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35051         removed FIXME.
35052   
35053 2006-01-13  Lillian Angel  <langel@redhat.com>
35054   
35055         * javax/swing/text/DefaultStyledDocument.java
35056         (Edit): New inner class.
35057         (changeUpdate): Changed addEdit call to add a new
35058         instance of Edit to the edits Vector, so addEdits can
35059         be done later.
35060         (split): Likewise.
35061         (insertParagraph): Likewise.
35062         (insertFracture): Likewise.
35063         (insertContentTag): Likewise.
35064         (insert): Added loop to go through edits Vector and perform
35065         addEdit on each object.
35066   
35067 2006-01-13  Chris Burdess  <dog@gnu.org>
35068   
35069         * gnu/xml/transform/AbstractNumberNode.java,
35070           gnu/xml/transform/ApplyImportsNode.java,
35071           gnu/xml/transform/ApplyTemplatesNode.java,
35072           gnu/xml/transform/AttributeNode.java,
35073           gnu/xml/transform/CallTemplateNode.java,
35074           gnu/xml/transform/ChooseNode.java,
35075           gnu/xml/transform/CommentNode.java,
35076           gnu/xml/transform/CopyNode.java,
35077           gnu/xml/transform/CopyOfNode.java,
35078           gnu/xml/transform/DocumentFunction.java,
35079           gnu/xml/transform/ElementNode.java,
35080           gnu/xml/transform/ForEachNode.java,
35081           gnu/xml/transform/IfNode.java,
35082           gnu/xml/transform/LiteralNode.java,
35083           gnu/xml/transform/MessageNode.java,
35084           gnu/xml/transform/OtherwiseNode.java,
35085           gnu/xml/transform/ParameterNode.java,
35086           gnu/xml/transform/ProcessingInstructionNode.java,
35087           gnu/xml/transform/Stylesheet.java,
35088           gnu/xml/transform/Template.java,
35089           gnu/xml/transform/TemplateNode.java,
35090           gnu/xml/transform/TextNode.java,
35091           gnu/xml/transform/TransformerImpl.java,
35092           gnu/xml/transform/ValueOfNode.java,
35093           gnu/xml/transform/WhenNode.java,
35094           gnu/xml/xpath/NodeTypeTest.java,
35095           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35096           with-param parameters when template does not define parameters; apply
35097           conflict resolution for templates; strip whitespace on documents
35098           retrieved via document() function; allow node() to match document
35099           nodes.
35100
35101 2006-01-13  Mark Wielaard  <mark@klomp.org>
35102
35103         * doc/www.gnu.org/announce/20060113.wml: New file.
35104         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35105         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35106   
35107 2006-01-13  Lillian Angel  <langel@redhat.com>
35108   
35109         * javax/swing/text/DefaultStyledDocument.java:
35110         Removed unused fields.
35111         (insert): Removed unused fields.
35112         (endEdit): Removed, not needed.
35113         (insertUpdate): Removed call to endEdit.
35114         (prepareContentInsertion): Removed, not needed.
35115         (insertContentTag): Removed call to prepareContentInsertion.
35116         (printElements): Removed, not needed.
35117         (attributeSetsAreSame): Removed, not needed.
35118   
35119 2005-01-13  Mark Wielaard  <mark@klomp.org>
35120
35121         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35122         Duplicate of toString(int, StringBuilder).
35123
35124 2005-01-13  Mark Wielaard  <mark@klomp.org>
35125
35126         * configure.ac: Set version to 0.20.
35127         * NEWS: Add entries for all the new work done.
35128
35129 2005-01-13  Mark Wielaard  <mark@klomp.org>
35130
35131         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35132
35133 2005-01-13  Mark Wielaard  <mark@klomp.org>
35134
35135         * java/util/regex/Pattern.java (Pattern): Chain REException.
35136
35137 2006-01-13  Chris Burdess  <dog@gnu.org>
35138
35139         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35140
35141 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35142
35143         * java/security/Security.java
35144         (getProperty): Added hack to skip security check when trusted
35145         code is direct caller.
35146
35147 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35148
35149         * java/io/PrintStream.java
35150         (line_separator, PrintStream(OutputStream,boolean)): Use
35151         SystemProperties.
35152
35153 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35154
35155         * gnu/java/nio/charset/Provider.java: Added comment about its
35156         special relation with CharsetProvider.
35157         (static): Removed.
35158         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35159         its special relation with CharsetProvider.
35160         (static): Removed.
35161         * java/nio/charset/spi/CharsetProvider.java
35162         (CharsetProvider): Add special case to skip security check for
35163         built in providers.
35164
35165 2005-01-13  Mark Wielaard  <mark@klomp.org>
35166
35167         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35168         name, accel, mnemonic and command are defined before setting.
35169
35170 2005-01-12  Mark Wielaard  <mark@klomp.org>
35171
35172         * javax/swing/plaf/metal/MetalFileChooserUI.java
35173         (FileRenderer.getListCellRendererComponent): Set empty name and null
35174         icon when File is null.
35175
35176 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35177
35178         * gnu/java/rmi/server/UnicastRef.java (newCall):
35179         Throw ConnectException after catching IOException.
35180
35181 2006-01-12  Lillian Angel  <langel@redhat.com>
35182
35183         * javax/swing/text/DefaultStyledDocument.java
35184         (insertUpdate): Removed unneeded check.
35185
35186 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35187
35188         * javax/swing/text/DefaultStyledDocument.java:
35189         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35190         and we haven't come immediately after a fracture, adjust the Element
35191         offsets.  Added comment explaining the situation.
35192         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35193         call to insertUpdate.  Fired the UndoableEditUpdate.
35194
35195 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35196
35197         Fixes bug #22802
35198         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35199         character classes within a subexpression.
35200
35201 2006-12-12  Lillian Angel  <langel@redhat.com>
35202
35203         * javax/swing/text/DefaultStyledDocument.java
35204         (insertUpdate): Added check to check if attribute set is 
35205         empty.
35206         (insertUpdate): Added check to determine if last character
35207         is a newline. If it is, we should not be fracturing.
35208         (insert): Added check to determine if attribute set is empty.
35209         If it is, insertUpdate should not be called.
35210
35211 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35212
35213         * configure.ac: Check for isnan.
35214
35215         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35216         define the macro.
35217
35218 2006-01-12  Chris Burdess  <dog@gnu.org>
35219
35220         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35221           1.1 character ranges.
35222
35223 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35224
35225         * javax/swing/TransferHandler.java:
35226         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35227         gnu/testlet/javax/swing/JTextField/CopyPaste.
35228
35229 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35230
35231         * resource/Makefile.am: Install 
35232         logging.properties into $(prefix)/lib.
35233         * resource/Makefile.am (securitydir): Changed to 
35234         $(prefix)/lib/security.
35235
35236 2006-01-12  Roman Kennke  <kennke@aicas.com>
35237
35238         * javax/swing/JTextField.java
35239         (createDefaultModel): Moved installation of the filterNewlines
35240         property to setDocument().
35241         (setDocument): New method. Installs the filterNewlines property
35242         on the document.
35243
35244 2006-01-12  Chris Burdess  <dog@gnu.org>
35245
35246         * gnu/xml/dom/DomNode.java,
35247           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35248           output.
35249         * gnu/xml/xpath/NameTest.java,
35250           gnu/xml/xpath/NamespaceTest.java,
35251           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35252           navigation.
35253         * gnu/xml/transform/MessageNode.java: Use standard logging system
35254           for outputting messages.
35255
35256 2006-01-12  Tom Tromey  <tromey@redhat.com>
35257
35258         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35259         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35260         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35261         (static initializer): Removed cache code.
35262         (checkCacheFor, addToCache): Removed.
35263         (getAllByName): Removed cache code.
35264         (lookup_time): Removed.
35265         (InetAddress): Updated.
35266
35267 2006-01-12  Chris Burdess  <dog@gnu.org>
35268
35269         * gnu/xml/dom/DomDocument.java,
35270           gnu/xml/dom/DomElement.java,
35271           gnu/xml/dom/DomNode.java,
35272           gnu/xml/stream/XMLParser.java,
35273           gnu/xml/transform/Bindings.java,
35274           gnu/xml/transform/ElementAvailableFunction.java,
35275           gnu/xml/transform/ElementNode.java,
35276           gnu/xml/transform/FunctionAvailableFunction.java,
35277           gnu/xml/transform/NamespaceProxy.java,
35278           gnu/xml/transform/StreamSerializer.java,
35279           gnu/xml/transform/Stylesheet.java,
35280           gnu/xml/transform/TransformerImpl.java,
35281           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35282           document and element nodes; correct coalescing semantics when parsing;
35283           attribute-sets can only refer to top-level variables and parameters;
35284           fix namespace retrieval during element-available and
35285           function-available functions; implement xsl:fallback for extension
35286           elements; tokenize whitespace correctly during whitespace stripping;
35287           correct following and previous node axes selectors.
35288
35289 2006-01-12  Roman Kennke  <kennke@aicas.com>
35290
35291         * java/util/Hashtable.java
35292         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35293         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35294
35295 2006-01-12  Lillian Angel  <langel@redhat.com>
35296
35297         * javax/swing/text/GapContent.java
35298         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35299
35300 2006-01-12  Mark Wielaard  <mark@klomp.org>
35301
35302         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35303         Throw UnknowHostException when name could not be resolved.
35304
35305 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35306
35307         * java/net/URL.java
35308         (static, getURLStreamHandler): Use SystemProperties.
35309
35310 2006-01-12  Mark Wielaard  <mark@klomp.org>
35311
35312         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35313         Use packet.getLength().
35314         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35315         (nativeReceive): Check whether the receiver wants zero bytes.
35316
35317 2006-01-12  Mark Wielaard  <mark@klomp.org>
35318
35319         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35320         other side orderly closed connection.
35321         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35322         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35323         when end of stream reached.
35324
35325 2006-01-12  Mark Wielaard  <mark@klomp.org>
35326
35327         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35328         Remove asserts.
35329         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35330         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35331         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35332         * native/jni/java-net/javanet.c: Likewise.
35333
35334 2006-01-12  Mark Wielaard  <mark@klomp.org>
35335
35336         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35337         PR classpath/23863.
35338
35339 2006-01-11  Chris Burdess  <dog@gnu.org>
35340
35341         * gnu/xml/transform/AttributeNode.java,
35342           gnu/xml/transform/ElementNode.java,
35343           gnu/xml/transform/LiteralNode.java,
35344           gnu/xml/transform/StreamSerializer.java,
35345           gnu/xml/transform/StrippingInstruction.java,
35346           gnu/xml/transform/Stylesheet.java,
35347           gnu/xml/transform/TransformerImpl.java,
35348           gnu/xml/transform/ValueOfNode.java,
35349           gnu/xml/xpath/Expr.java,
35350           gnu/xml/xpath/LocalNameFunction.java,
35351           gnu/xml/xpath/NameFunction.java,
35352           gnu/xml/xpath/NameTest.java,
35353           gnu/xml/xpath/NamespaceUriFunction.java,
35354           gnu/xml/xpath/NodeTypeTest.java,
35355           gnu/xml/xpath/SubstringFunction.java,
35356           javax/xml/namespace/QName.java: don't determine element namespace
35357           from namespace aliases when specified; better namespace handling
35358           when serializing elements; don't create HTML meta element unless
35359           head element exists; correct encoding of CDATA sections containing
35360           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35361           default encoding for HTML output; rewrite of XSLT
35362           strip-space/preserve-space handling; correct doctype-public and
35363           doctype-system output attributes; insert generated doctype before
35364           document element; fixed result tree whitespace stripping
35365           algorithm; fixed semantics of XPath name, local-name, and
35366           namespace-uri functions; name tests handle XML/XMLNS namespaces
35367           correctly; fixed semantics of processing-instruction node test.
35368         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35369           aid debugging.
35370
35371 2006-01-11  Lillian Angel  <langel@redhat.com>
35372
35373         * javax/swing/text/DefaultStyledDocument.java
35374         (insertFracture): Added calls to addEdit for each time a structure 
35375         is changed. addEdit is called on the newBranch, previous, and parent
35376         structures.
35377
35378 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35379
35380         * javax/swing/text/DefaultStyledDocument.java:
35381         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35382         This will have been taken care of in insertFracture.  Added a comment
35383         explaining that we need to add edits to the DocumentEvent and that
35384         this may be the place to do it.
35385
35386 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35387
35388         * javax/swing/text/DefaultStyledDocument.java:
35389         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35390         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35391         elementStack when there is a start tag with JoinNextDirection.
35392
35393 2006-01-11  Roman Kennke  <kennke@aicas.com>
35394
35395         Reported by: Fridjof Siebert <siebert@aicas.com>
35396         * java/util/Hashtable.java
35397         (KEYS): Removed unneeded field.
35398         (VALUES): Removed unneeded field.
35399         (ENTRIES): Removed unneeded field.
35400         (keys): Return a KeyEnumerator instance.
35401         (elements): Returns a ValueEnumerator instance.
35402         (toString): Use an EntryIterator instance.
35403         (keySet): Return a KeyIterator instance.
35404         (values): Return a ValueIterator instance.
35405         (entrySet): Return an EntryIterator instance.
35406         (hashCode): Use EntryIterator instance.
35407         (rehash): Changed this loop to avoid redundant reads and make
35408         it obvious that null checking is not needed.
35409         (writeObject): Use EntryIterator instance.
35410         (HashIterator): Removed class.
35411         (Enumerator): Removed class.
35412         (EntryIterator): New class.
35413         (KeyIterator): New class.
35414         (ValueIterator): New class.
35415         (EntryEnumerator): New class.
35416         (KeyEnumerator): New class.
35417         (ValueEnumerator): New class.
35418
35419 2006-01-11  Lillian Angel  <langel@redhat.com>
35420
35421         * javax/swing/text/DefaultStyledDocument.java
35422         (toString): Shouldn't append the '>' character here.
35423         (createDefaultRoot): Should not set the resolve parent. This
35424         causes problems when comparing attribute sets.
35425
35426 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35427
35428         * javax/swing/text/DefaultStyledDocument.java:
35429         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35430         end tags.
35431         (ElementBuffer.insertFracture): New method.
35432         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35433         JoinFractureDirection - this only applies to start tags, not content
35434         tags.
35435         (insertUpdate): Corrected conditions for setting direction to 
35436         JoinNextDirection.
35437
35438 2006-01-10  Roman Kennke  <kennke@aicas.com>
35439
35440         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35441         * ChangeLog-2005: New File.
35442
35443 2006-01-10  Roman Kennke  <kennke@aicas.com>
35444
35445         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35446         (get): Release the array with the correct pointer.
35447         (put): Release the array with the correct pointer. Copy the array
35448         around _before_ releasing it.
35449
35450 2006-01-10  Roman Kennke  <kennke@aicas.com>
35451
35452         * javax/swing/ViewportLayout.java
35453         (layoutContainer): Fixed condition, to avoid ClasscastException.
35454
35455 2006-01-10  Roman Kennke  <kennke@aicas.com>
35456
35457         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35458         (MouseHandler.mousePressed): Fixed indendation.
35459         (MouseHandler.mouseDragged): Fixed indendation.
35460
35461 2006-01-10  Roman Kennke  <kennke@aicas.com>
35462
35463         * javax/swing/plaf/basic/BasicLookAndFeel.java
35464         (playSound): Added @since 1.4 to the API docs.
35465
35466 2006-01-10  Roman Kennke  <kennke@aicas.com>
35467
35468         * javax/swing/plaf/basic/BasicListUI.java
35469         (maybeUpdateLayoutState): Also update the layout state, if the
35470         list has been invalidated since the last update.
35471
35472 2006-01-10  Roman Kennke  <kennke@aicas.com>
35473
35474         * javax/swing/plaf/ComponentUI.java
35475         (update): Fixed indendation.
35476
35477 2006-01-10  Roman Kennke  <kennke@aicas.com>
35478
35479         * javax/swing/ViewportLayout.java
35480         (layoutContainer): Fixed condition, so that Scrollable components
35481         are always forced to have to Viewport size, when they
35482         return true for getScrollableTracksViewportHeight() and ..Width().
35483
35484 2006-01-10  Roman Kennke  <kennke@aicas.com>
35485
35486         * javax/swing/RepaintManager.java
35487         (validateInvalidComponents): Fixed condition to avoid NPE.
35488
35489 2006-01-10  Roman Kennke  <kennke@aicas.com>
35490
35491         * javax/swing/JViewport.java:
35492         (static_initializer): Removed unused variable myScrollMode.
35493
35494 2006-01-10  Roman Kennke  <kennke@aicas.com>
35495
35496         * javax/swing/JTabbedPane.java:
35497         Cleared API docs a little.
35498
35499 2006-01-10  Roman Kennke  <kennke@aicas.com>
35500
35501         * java/util/StringTokenizer.java
35502         (StringTokenizer(String, String, boolean)):
35503         Don't trigger NPE here for conformance with the spec.
35504
35505 2006-01-10  Roman Kennke  <kennke@aicas.com>
35506
35507         * java/util/ArrayList.java
35508         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35509
35510 2006-01-10  Roman Kennke  <kennke@aicas.com>
35511
35512         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35513         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35514         field to avoid NPE.
35515
35516 2006-01-10  Roman Kennke  <kennke@aicas.com>
35517
35518         * native/jni/java-net/javanet.c
35519         (_javanet_shutdownOutput): Replaced strerror() with
35520         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35521         (_javanet_shutdownInput): Replaced strerror() with
35522         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35523
35524 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35525
35526         * java/beans/EventSetDescriptor.java: Reformatted and
35527         fixed API docs.
35528
35529 2006-01-10  Roman Kennke  <kennke@aicas.com>
35530
35531         * java/lang/SecurityManager.java
35532         Fully qualified AWT class references in API docs.
35533
35534 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35535
35536         * java/beans/EventSetDescriptor.java:
35537         (getGetListenerMethod): New method.
35538
35539 2006-01-10  Mark Wielaard  <mark@klomp.org>
35540
35541         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35542
35543 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35544
35545         PR classpath/25727
35546         * java/util/Hashtable.java
35547         (contains): Call equals on existing value.
35548         (containsKey, get, put, remove): Call equals on existing key.
35549         (getEntry): Call equals on existing entry.
35550
35551 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35552
35553         PR classpath/24618
35554         * java/util/AbstractMap.java
35555         (equals(Object,Object)): Test for identity first.
35556         * java/util/WeakHashMap.java
35557         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35558         (WeakBucket.WeakEntry.toString): Fixed string representation of
35559         null key.
35560         (internalGet): Use helper method to determine equality.
35561
35562 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35563
35564         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35565         constructors.
35566
35567 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35568
35569         * javax/swing/text/PlainDocument.java:
35570         (insertUpdate): Handle special case of an insertion immediately 
35571         following a newline character.
35572
35573 2006-01-09  Roman Kennke  <kennke@aicas.com>
35574
35575         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35576         (connect): Added stream parameter to _connect() call.
35577         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35578         (connect): Added stream parameter to _connect() call.
35579         * native/jni/java-net/javanet.c
35580         (_javanet_create_localfd): Added stream parameter. Look up
35581         fd field based on the stream parameter either in SocketImpl or
35582         in DatagramSocketImpl.
35583         (_javanet_connect): Added stream parameter. Call create_localfd
35584         using this stream parameter. Set localPort field either in
35585         SocketImpl or in DatagramSocketImpl, depending on the stream
35586         flag.
35587         * native/jni/java-net/javanet.c
35588         (_javanet_connect): Added stream parameter.
35589
35590 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35591
35592         * javax.management.Attribute.java: Grammar and 
35593         formatting fixes.
35594
35595 2006-01-09  Mark Wielaard  <mark@klomp.org>
35596
35597         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35598         exception when channel is not readable or writable.
35599         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35600         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35601         there is enough space to mmap().
35602
35603 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35604
35605         * java/beans/Introspector.java:
35606         (getBeanInfo(Class, int)): New method.
35607         (getBeanInfo(Class, Class): Moved common code in a new method.
35608         (merge): New method.
35609
35610 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35611
35612         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35613
35614 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35615
35616         * javax/swing/text/DefaultStyledDocument.java:
35617         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35618         inlined this method because it needs to change the value of the 
35619         finalStartTag and finalStartDirection variables.
35620         (checkForInsertAfterNewline): Removed this method.
35621         (handleInsertAfterNewline): Added case for making the start tag's 
35622         direction JoinNextDirection.
35623
35624 2006-01-09  Lillian Angel  <langel@redhat.com>
35625
35626         * javax/swing/plaf/basic/BasicTreeUI.java:
35627         Added new field.
35628         (setRowHeight): Row height is set to the max height of
35629         all the nodes, or 20 as a default value.
35630         (getPathBounds): Cleaned up code.
35631         (getMaxHeight): New helper function that gets the max 
35632         height of all the rows.
35633         (getClosestPathForLocation): Fixed to use getMaxHeight.
35634         (updateCachedPreferredSize): Likewise.
35635         (installUI): Shouldn't expand tree on startup.
35636         (getNodeDimensions): Fixed to use getMaxHeight. 
35637
35638 2006-01-09  Mark Wielaard  <mark@klomp.org>
35639
35640         * javax/swing/JList.java (setSelectedIndex): Clear selection when
35641         argument is negative.
35642
35643 2006-01-08  Mark Wielaard  <mark@klomp.org>
35644
35645         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35646
35647 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35648
35649         * javax.management.Attribute.java: New file. 
35650
35651 2006-01-09  Roman Kennke  <kennke@aicas.com>
35652
35653         * java/net/DatagramSocketImpl.java
35654         (localPort): Renamed to localport for correct access from native
35655         code.
35656
35657 2006-01-09  Roman Kennke  <kennke@aicas.com>
35658
35659         * javax/swing/Popup.java
35660         (LightweightPopup.hide): Repaint the layered pane when popup is
35661         removed.
35662
35663 2006-01-09  Roman Kennke  <kennke@aicas.com>
35664
35665         * java/awt/Container.java
35666         (remove): Don't repaint the container here.
35667
35668 2006-01-08  Tom Tromey  <tromey@redhat.com>
35669
35670         * java/lang/InheritableThreadLocal.java: Organized imports.
35671
35672 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35673
35674         Fixes bug #25679
35675         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35676         when an empty string matched an empty token.
35677
35678 2006-01-08  Chris Burdess  <dog@gnu.org>
35679
35680         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35681           content models from external entities.
35682         * gnu/xml/stream/UnicodeReader.java: Report error instead of
35683           attempting to continue with unpaired surrogates.
35684         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35685           resolving entities with character entity references; better
35686           checking of valid character ranges; don't report an error for URI
35687           fragments in notation declarations; check unbound namespace
35688           prefixes for elements and attributes, including XML 1.1 unbinding
35689           syntax; namespace-aware checking of attribute duplicates.
35690
35691 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
35692
35693         * java/beans/Statement.java: Doc fixes.
35694         (doExecute): Workaround for Class.forName call.
35695         (toString): Made output look more like on the JDK.
35696         * java/beans/Expression.java: Doc fixes.
35697         (toString): Made output look more like on the JDK.
35698         * java/beans/PersistenceDelegate.java,
35699         java/beans/DefaultPersistenceDelegate.java,
35700         java/beans/Encoder.java,
35701         java/beans/XMLEncoder.java: New file.
35702         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35703         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35704         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35705         gnu/java/beans/encoder/Context.java,
35706         gnu/java/beans/encoder/GenericScannerState.java,
35707         gnu/java/beans/encoder/IgnoringScannerState.java,
35708         gnu/java/beans/encoder/MapPersistenceDelegate.java,
35709         gnu/java/beans/encoder/ObjectId.java,
35710         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35711         gnu/java/beans/encoder/ReportingScannerState.java,
35712         gnu/java/beans/encoder/Root.java,
35713         gnu/java/beans/encoder/ScanEngine.java,
35714         gnu/java/beans/encoder/ScannerState.java,
35715         gnu/java/beans/encoder/StAXWriter.java,
35716         gnu/java/beans/encoder/Writer.java: New file.
35717         * gnu/java/beans/encoder/elements/Array_Get.java,
35718         gnu/java/beans/encoder/elements/Element.java,
35719         gnu/java/beans/encoder/elements/List_Set.java,
35720         gnu/java/beans/encoder/elements/Array_Set.java,
35721         gnu/java/beans/encoder/elements/NullObject.java,
35722         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35723         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35724         gnu/java/beans/encoder/elements/StringReference.java,
35725         gnu/java/beans/encoder/elements/ClassResolution.java,
35726         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35727         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35728         gnu/java/beans/encoder/elements/ObjectReference.java,
35729         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35730         gnu/java/beans/encoder/elements/List_Get.java,
35731         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35732
35733 2006-01-08  Chris Burdess  <dog@gnu.org>
35734
35735         * java/lang/Character.java (toChars,toCodePoint): Correct these
35736           methods to use algorithms from Unicode specification.
35737  
35738 2006-01-08  Mark Wielaard  <mark@klomp.org>
35739
35740         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35741
35742 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
35743
35744         Fixes bug #25711
35745         * examples/Makefile.am: Corrected DESTDIR install paths.
35746
35747 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35748
35749         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
35750         ASCII character (line 46).
35751
35752 2006-01-07  Roman Kennke  <kennke@aicas.com>
35753
35754         * javax/swing/text/TableView.java: New file.
35755
35756 2006-01-07  Chris Burdess  <dog@gnu.org>
35757
35758         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35759         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35760         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35761           available; correct handling of unparsed entity references;
35762           absolutize all base URIs; remove commented out code.
35763
35764 2006-01-07  Chris Burdess  <dog@gnu.org>
35765
35766         * gnu/xml/stream/SAXParser.java,
35767           gnu/xml/stream/XMLParser.java: Add SAX property to return base
35768           URI of the current event.
35769
35770 2006-01-07  Chris Burdess  <dog@gnu.org>
35771
35772         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35773           aware processing.
35774
35775 2006-01-07  Chris Burdess  <dog@gnu.org>
35776
35777         * gnu/xml/stream/SAXParser.java,
35778           gnu/xml/stream/XIncludeFilter.java,
35779           gnu/xml/stream/XMLParser.java: Updated documentation.
35780
35781 2006-01-07  Chris Burdess  <dog@gnu.org>
35782
35783         * AUTHORS: add self.
35784
35785 2006-01-06  Casey Marshall  <csm@gnu.org>
35786
35787         * AUTHORS: add myself.
35788
35789 2006-01-06  Casey Marshall  <csm@gnu.org>
35790
35791         PR classpath/25699
35792         * javax/crypto/CipherInputStream.java (logger): new constant.
35793         (cipher): make final.
35794         (outLength, inBuffer, inLength): removed.
35795         (isStream): make final.
35796         (VIRGIN, LIVING, DYING, DEAD, state): removed.
35797         (eof): new field.
35798         (<init>): call `super,' not `this;' remove `inBuffer' and
35799         `outBuffer' initialization; init `eof;' add debug logging.
35800         (<init>): call `this' with a new null cipher.
35801         (available): fix javadoc to reflect the real semantics; if we
35802         don't have a buffer, call `nextBlock.'
35803         (close): synchronize.
35804         (read): synchronize; fix testing for buffered data.
35805         (read): synchronize; add `skip' semantics if first argument is
35806         `null;' decrypt stream cipher data only if there is any; fix tests
35807         for buffered data.
35808         (skip): stop using `available' to see how many data are buffered.
35809         (nextBlock): simplify to use cipher-allocated output buffers
35810         instead of internally allocated ones.
35811
35812 2006-01-06  Tom Tromey  <tromey@redhat.com>
35813
35814         * java/lang/String.java (codePointCount): Fixed javadoc.
35815
35816 2006-01-06  Tom Tromey  <tromey@redhat.com>
35817
35818         * java/lang/String.java (contains): Added @since.
35819
35820 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35821
35822         Fixes bug #25616
35823         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35824         * gnu/regexp/RETokenRepeated.java(match): Break the loop
35825         when an empty string matched an empty token.
35826
35827 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
35828
35829         PR classpath/24858
35830         * gnu/java/util/WeakIdentityHashMap.java: New file.
35831         * java/lang/InheritableThreadLocal.java
35832         (newChildThread): Modified to remove key indirection.
35833         * java/lang/Thread.java
35834         (locals): Changed type to WeakIdentityHashMap.
35835         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35836         WeakHashMap.
35837         * java/lang/ThreadLocal.java
35838         (key, Key): Removed.
35839         (get, set): Changed to use "this" instead of "key".
35840
35841 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
35842
35843         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35844
35845         * native/fdlibm/java-assert.h: Removed file.
35846
35847         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35848         Replaced use of JvAssert by assert.
35849
35850 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35851
35852         * javax/swing/text/DefaultCaret.java:
35853         (setDot): Fixed paramater to Math.max to be this.dot and not the 
35854         parameter dot.
35855
35856 2006-01-05  Roman Kennke  <kennke@aicas.com>
35857
35858         * javax/swing/plaf/basic/BasicListUI.java
35859         (getCellHeight): New helper method.
35860         (getCellBounds): Use new helper method for determining the cell
35861         height.
35862         (paint): Don't call list.indexToLocation() but instead call
35863         directly into the same UI method.
35864         (locationToIndex): Fixed calculation of # visible rows and handling
35865         of cell heights.
35866         (indexToLocation): Fixed calculation of # visible rows and handling
35867         of cell heights.
35868
35869 2006-01-05  Roman Kennke  <kennke@aicas.com>
35870
35871         * javax/swing/plaf/metal/MetalFileChooserUI.java
35872         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35873         in the file chooser.
35874
35875 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35876
35877         * javax/swing/JTextPane.java:
35878         (replaceSelection): If the document is an AbstractDocument, use replace
35879         rather than remove and insert.
35880         * javax/swing/event/EventListenerList.java:
35881         (getListeners): Reversed the order of the listeners to match the 
35882         reference implementation.
35883         * javax/swing/text/AbstractDocument.java:
35884         (insertString): Add the UndoableEdit from the content.insertString call
35885         to the DocumentEvent.
35886         (DefaultDocumentEvent.toString): Implemented.
35887         * javax/swing/text/DefaultCaret.java:
35888         (setDot): Make sure dot is > 0 and less than the length of the 
35889         document.
35890         * javax/swing/text/DefaultStyledDocument.java:
35891         (ElementBuffer.insertUpdate): Set the modified tag of the document 
35892         event when we get start and end tags.  This ensures that we create the
35893         proper BranchElements in endEdit().
35894         (ElementBuffer.insertUpdate): Added FIXME to handle 
35895         JoinFractureDirection case.
35896         (insertUpdate): Added code to check if we're inserting immediately 
35897         after a newline and to handle this case (create start and end tags). 
35898         Only change the direction of the first and last tags if they are of 
35899         type ContentType.
35900         (checkForInsertAfterNewline): New helper method.
35901         (handleInsertAfterNewline): Likewise.
35902         * javax/swing/text/View.java:
35903         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
35904         container.
35905
35906 2006-01-05  Mark Wielaard  <mark@klomp.org>
35907
35908         * newsitems.txt: Add fosdem meeting.
35909         * events/events.wml: Likewise.
35910         * events/fosdem06.wml: New file.
35911         
35912 2006-01-05  Lillian Angel  <langel@redhat.com>
35913         
35914         * javax/swing/text/GapContent.java
35915         (createPosition): No positions should be created inside the
35916         gap. Fixed check to ensure this does not happen.
35917
35918 2006-01-05  Roman Kennke  <kennke@aicas.com>
35919
35920         * javax/swing/RepaintManager.java
35921         (validateInvalidComponents): Search for the validate root
35922         and start validating there.
35923
35924 2006-01-05  Roman Kennke  <kennke@aicas.com>
35925
35926         * javax/swing/plaf/basic/BasicListUI.java
35927         (ComponentHandler): Removed unneeded class.
35928         (ListDataHandler.contentsChanged): Revalidate instead of calling
35929         damageLayout().
35930         (ListDataHandler.intervalAdded): Revalidate instead of calling
35931         damageLayout().
35932         (ListDataHandler.intervalRemoved): Revalidate instead of calling
35933         damageLayout().
35934         (PropertyChangeHandler.propertyChange): Or flags together instead
35935         of adding them. Don't call damageLayout().
35936         (componentListener): Removed unnecessary field.
35937         (damageLayout): Removed unnecessary method.
35938         (installListeners): Don't install unnecessary listeners.
35939         (uninstallListeners): Dito.
35940         (getPreferredSize): Don't ask for the real list height and
35941         calculate with the previously calculated list height.
35942         (locationToIndex): Renamed list parameter to l so that it doesn't
35943         shadow the field with the same name.
35944         (indexToLocation): Renamed list parameter to l so that it doesn't
35945         shadow the field with the same name.
35946
35947 2006-01-04  Tom Tromey  <tromey@redhat.com>
35948
35949         * include/.cvsignore: Ignore config-int.h.
35950
35951 2006-01-04  Roman Kennke  <kennke@aicas.com>
35952
35953         * javax/swing/plaf/basic/BasicListUI.java
35954         (getPreferredSize): Rewritten to match the specs.
35955
35956 2006-01-04  Roman Kennke  <kennke@aicas.com>
35957
35958         * javax/swing/JFileChooser.java
35959         (showOpenDialog): Set fixed width on the dialog.
35960         (showSaveDialog): Set fixed width on the dialog.
35961         (showDialog): Set fixed width on the dialog.
35962
35963 2006-01-04  Roman Kennke  <kennke@aicas.com>
35964
35965         * javax/swing/plaf/basic/BasicListUI.java
35966         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35967         Adjusted iteration to not use visibleRowCount and instead iterate
35968         over the real number of elements in cellHeights.
35969         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35970         Adjusted iteration to not use visibleRowCount and instead iterate
35971         over the real number of elements in cellHeights.
35972
35973 2006-01-04  Roman Kennke  <kennke@aicas.com>
35974
35975         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35976         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35977         Added __attribute__((__unused__)) macros to avoid gcc warnings.
35978
35979 2006-01-04  Roman Kennke  <kennke@aicas.com>
35980
35981         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35982         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35983         New VM class.
35984         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35985         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35986         New file.
35987         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35988         Removed.
35989         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35990         * native/jni/java-net/Makefile.am: Adjusted for new source files.
35991         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35992         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35993         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35994         * include/gnu_java_net_PlainSocketImpl.h: Removed.
35995         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35996         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35997
35998 2006-01-04  Lillian Angel  <langel@redhat.com>
35999
36000         * javax/swing/plaf/metal/MetalFileChooserUI.java
36001         (propertyChange): Fixed to change the combo box label
36002         appropriately. Also, fixed to set the textfield's text
36003         correctly.
36004         (editFile): Fixed size of editing field.
36005         (installComponents): Correctly aligned all panels.
36006         (installStrings): Fixed to set the label's text
36007         appropriately depending on the dialog type.
36008
36009 2006-01-04  Lillian Angel  <langel@redhat.com>
36010
36011         PR classpath/25473 
36012         PR classpath/25479
36013         * javax/swing/JTree.java
36014         (JTree): Because some L&F defaults have been updated,
36015         the selectionMode for the tree needed to be set to SINGLE.
36016         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36017         Initialized accessoryPanel.
36018         * javax/swing/plaf/metal/MetalFileChooserUI.java
36019         (installComponents): Added accessoryPanel to the filechooser.
36020
36021 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36022
36023         * configure.ac: Added AX_CREATE_STDINT_H
36024
36025         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36026
36027         * m4/ax_create_stdint_h.m4: New file.
36028
36029         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36030         typedefs. Removed stdint.h and inttypes.h includes.
36031  
36032 2006-01-03  Mark Wielaard  <mark@klomp.org>
36033
36034         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36035         register keyboard action when accelerator is not null.
36036         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36037         re-register accelerator if not null.
36038         (installKeyboardActions): Only put accelerator in map when not null.
36039
36040 2006-01-04  Lillian Angel  <langel@redhat.com>
36041
36042         * javax/swing/plaf/basic/BasicLookAndFeel.java
36043         (initComponentDefaults): Removed unneeded default.
36044         * javax/swing/plaf/metal/MetalLookAndFeel.java
36045         (initComponentDefaults): Added and fixed several defaults.
36046
36047 2006-01-04  Roman Kennke  <kennke@aicas.com>
36048
36049         * javax/swing/plaf/basic/BasicHTML.java: New class.
36050
36051 2006-01-03  Tom Tromey  <tromey@redhat.com>
36052
36053         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36054         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36055
36056 2006-01-03  Mark Wielaard  <mark@klomp.org>
36057
36058         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36059
36060 2006-01-03  Mark Wielaard  <mark@klomp.org>
36061
36062         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36063         Always call createDefaultTheme().
36064         (createDefaultTheme): Check whether theme is still null.
36065
36066 2006-01-03  Mark Wielaard  <mark@klomp.org>
36067
36068         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36069         Color.WHITE if null.
36070
36071 2006-01-03  Lillian Angel  <langel@redhat.com>
36072
36073         * javax/swing/plaf/metal/MetalLookAndFeel.java
36074         (getDescription): Fixed to return the correct string.
36075         (getID): Likewise.
36076         (getName): Likewise.
36077         (getDefaults): Added check to avoid NPE.
36078         (getAcceleratorForeground): Likewise.
36079         (getAcceleratorSelectedForeground): Likewise.
36080         (getBlack): Likewise.
36081         (getControl): Likewise.
36082         (getControlDarkShadow): Likewise.
36083         (getControlDisabled): Likewise.
36084         (getControlHighlight): Likewise.
36085         (getControlInfo): Likewise.
36086         (getControlShadow): Likewise.
36087         (getControlTextColor): Likewise.
36088         (getControlTextFont): Likewise.
36089         (getDesktopColor): Likewise.
36090         (getFocusColor): Likewise.
36091         (getHighlightedTextColor): Likewise.
36092         (getInactiveControlTextColor): Likewise.
36093         (getInactiveSystemTextColor): Likewise.
36094         (getMenuBackground): Likewise.
36095         (getMenuDisabledForeground): Likewise.
36096         (getMenuForeground): Likewise.
36097         (getMenuSelectedBackground): Likewise.
36098         (getMenuSelectedForeground): Likewise.
36099         (getMenuTextFont): Likewise.
36100         (getPrimaryControl): Likewise.
36101         (getPrimaryControlDarkShadow): Likewise.
36102         (getPrimaryControlHighlight): Likewise.
36103         (getPrimaryControlInfo): Likewise.
36104         (getPrimaryControlShadow): Likewise.
36105         (getSeparatorBackground): Likewise.
36106         (getSeparatorForeground): Likewise.
36107         (getSubTextFont): Likewise.
36108         (getSystemTextColor): Likewise.
36109         (getSystemTextFont): Likewise.
36110         (getTextHighlightColor): Likewise.
36111         (getUserTextColor): Likewise.
36112         (getUserTextFont): Likewise.
36113         (getWhite): Likewise.
36114         (getWindowBackground): Likewise.
36115         (getWindowTitleBackground): Likewise.
36116         (getWindowTitleFont): Likewise.
36117         (getWindowTitleForeground): Likewise.
36118         (getWindowTitleInactiveBackground): Likewise.
36119         (getWindowTitleInactiveForeground): Likewise.
36120
36121 2006-01-03  Mark Wielaard  <mark@klomp.org>
36122
36123         * javax/swing/JTextArea.java
36124         (JTextArea(Document,text,int,int)): Only call setText() when text is
36125         not null.
36126
36127 2006-01-03  Lillian Angel  <langel@redhat.com>
36128
36129         * javax/swing/plaf/basic/BasicFileChooserUI.java
36130         (installStrings): Fixed installation of defaults that
36131         were changed in BasicLookAndFeel.
36132         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36133         (installDefaults): Fixed installation of defaults that
36134         were changed in BasicLookAndFeel.
36135
36136 2006-01-03  Lillian Angel  <langel@redhat.com>
36137
36138         * javax/swing/plaf/basic/BasicLookAndFeel.java
36139         (initComponentDefaults): Fixed several defaults that differed
36140         from the JDK.
36141
36142 2006-01-03  Lillian Angel  <langel@redhat.com>
36143
36144         * javax/swing/tree/DefaultTreeSelectionModel.java
36145         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36146
36147 2006-01-03  Lillian Angel  <langel@redhat.com>
36148
36149         * javax/swing/AbstractAction.java
36150         (AbstractAction): Fixed to pass in null. Should not be 
36151         an empty string. Removed TODO comment.
36152         (AbstractAction): Removed TODO comment.
36153         * javax/swing/JList.java
36154         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36155         * javax/swing/JMenuItem.java
36156         (JMenuItem): Set all defaults if the action passed in is not null.
36157         * javax/swing/JProgressBar.java
36158         (JProgressBar): Added check to prevent NPE.
36159
36160 2006-01-03  Lillian Angel  <langel@redhat.com>
36161
36162         * javax/swing/plaf/basic/BasicListUI.java
36163         (getPreferredSize): The JDK adds some extra space to 
36164         the list, so we should as well.
36165         * javax/swing/plaf/metal/MetalFileChooserUI.java
36166         (getPreferredSize): Should only take the fileListPanel's
36167         width into account when getting the size. Also, the buttonPanel's
36168         size should not be checked, since it is in the bottomPanel already.
36169         (getMinimumSize): Likewise.
36170
36171 2006-01-03  Lillian Angel  <langel@redhat.com>
36172
36173         * javax/swing/JList.java
36174         (init): visibleRowCount should be 7, like the JDK.
36175         * javax/swing/plaf/metal/MetalFileChooserUI.java
36176         (installComponents): No need to add the fileFilterCombo
36177         to a panel. It can be added to the row directly.
36178
36179 2006-01-03  Lillian Angel  <langel@redhat.com>
36180         
36181         PR classpath/25480 PR classpath/25478
36182         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36183         (updateViewport): Made changes suggested by
36184         Chris Lansdown.
36185         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36186         Removed unneeded import.
36187         (createList): Removed comment, JList wrapping 
36188         now works.
36189         (getPreferredSize): Made changes suggested by
36190         Chris Lansdown. Uses fileListPanel, instead
36191         of fileList.
36192         (getMinimumSize): Uses fileListPanel, instead
36193         of fileList.
36194         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36195         (paintFocus): Fixed height.
36196
36197 2006-01-03  Roman Kennke  <kennke@aicas.com>
36198
36199         * javax/swing/plaf/basic/BasicListUI.java
36200         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36201
36202 2006-01-03  Roman Kennke  <kennke@aicas.com>
36203
36204         * javax/swing/plaf/basic/BasicListUI.java
36205         (locationToIndex): Special case for when variable cell heights
36206         are possible. (cellHeights is used instead of cellHeight).
36207         (indexToLocation): Special case for when variable cell heights
36208         are possible. (cellHeights is used instead of cellHeight).
36209
36210 2006-01-03  Roman Kennke  <kennke@aicas.com>
36211
36212         * javax/swing/text/DefaultStyledDocument.java
36213         (ElementBuffer.remove): New method.
36214         (ElementBuffer.removeUpdate): New method.
36215         (removeUpdate): New method.
36216
36217 2006-01-03  Roman Kennke  <kennke@aicas.com>
36218
36219         * lib/Makefile.am:
36220         (dist-hook): Preserve attributes of Java sources when copying to
36221         dist dir.
36222
36223 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36224
36225         * AUTHORS: Added self.
36226         * java/security/Security.java (getProvider): Ensures provider's name is
36227           not null, not an empty string, and is trimmed before usage.
36228
36229 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36230
36231         * gnu/CORBA/Poa/AOM.java (add):
36232         Changed parameter Object into gnuServantObject.
36233         (Obj.object): Changed type to gnuServantObject.
36234         (findObject): Rewritten.
36235
36236 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36237
36238         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36239         buffering. Ability has gone in Qt-4.1.x.
36240
36241         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36242         to have the right include flags.
36243
36244 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36245
36246         * java/security/MessageDigest.java (getInstance(String,String)):
36247         Use trimmed copy of provider name.
36248         * gnu/java/security/Engine.java
36249         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36250         service and algorithm names.
36251
36252 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36253
36254         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36255         localhost is null or is an empty string. Trim hostname before
36256         lookup.
36257