OSDN Git Service

PR libgcj/30707:
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-02-06  Tom Tromey  <tromey@redhat.com>
2
3         PR libgcj/30707:
4         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
5         (printClass): Always print a header.
6
7 2007-02-05  Andrew Haley  <aph@redhat.com>
8
9         PR cp-tools/30706
10         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
11         (printClass): Replace '/' in filenames with '_'.
12         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
13         (printClass): Likewise.
14
15 2007-02-05  Tom Tromey  <tromey@redhat.com>
16
17         * java/net/Proxy.java (equals): Handle case where address==null.
18         (hashCode): Likewise.
19         (toString): Likewise.
20
21 2007-01-31  Tom Tromey  <tromey@redhat.com>
22
23         * resource/gnu/classpath/tools/jar/messages.properties
24         (Main.Stdin): New message.
25         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
26         '-@' option.
27         (readNames): New method.
28         (run): Use it.
29
30 2007-01-26  Andrew Haley  <aph@redhat.com>
31
32         * java/lang/SecurityManager.java: Load and initialize
33         java.security.Security.
34
35 2007-01-26  Tom Tromey  <tromey@redhat.com>
36
37         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
38         'volatile' after field type.
39
40 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
41
42         * java/util/Arrays.java (binarySearch): Change comparison order.
43
44 2007-01-17  Tom Tromey  <tromey@redhat.com>
45
46         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
47         (PathOptionGroup): Set default boot class path.
48
49 2006-12-14  Andrew Haley  <aph@redhat.com>
50
51         * tools/gnu/classpath/tools/jar/Creator.java: Close the
52         inputStream.
53
54 2006-10-12  Andrew Haley  <aph@redhat.com>
55
56         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
57         * java/lang/ThreadLocal.java: Likewise.
58
59 2006-09-13  Andrew Haley  <aph@redhat.com>
60
61         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
62         Revert previous gcj-specific disabling of checks.
63         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
64         Likewise.
65         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
66         Likewise.
67
68 2006-09-13  Andrew Haley  <aph@redhat.com>
69
70         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
71         capacity < 1.
72         (Iterator.remove()): Decrement index after removing element.
73
74 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
75
76         * javax/net/ssl/SSLSocketFactory.java (getDefault):
77         Chain exception cause.
78
79 2006-12-11  Roman Kennke  <kennke@aicas.com>
80
81         * .classpath: Include ASM in Eclipse classpath.
82
83 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
84
85         * gnu/java/lang/management/BeanImpl.java:
86         (translate(String)): Trim strings of whitespace.
87         * javax/management/MBeanAttributeInfo.java:
88         (MBeanAttributeInfo(String,String,Method,Method)):
89         Use Class.getName() for normal (non-parameterized) cases.
90         * javax/management/MBeanConstructorInfo.java:
91         (MBeanConstructorInfo(String, Constructor)):
92         Likewise.
93         * javax/management/MBeanOperationInfo.java:
94         (MBeanOperationInfo(String, Method)):
95         Likewise.
96
97 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
98
99         * java/lang/Class.java:
100         (getClasses()): Return Class<?>[].
101         (internalGetClasses()): Likewise.
102         (getConstructor(Class<?>...)): Add type parameter
103         to parameters.
104         (getDeclaredConstructor(Class<?>...)): Likewise.
105         (getDeclaredClasses()): Return Class<?>[].
106         (getDeclaredClasses(boolean)): Likewise.
107         (getDeclaredConstructors()): Return Constructor<?>[].
108         (getDeclaredConstructors(boolean)): Likewise.
109         (getDeclaredMethod(String,Class<?>...)): Add type
110         parameter to parameters.
111         (getInterfaces()): Return Class<?>[].
112         (getMethods(String,Class<?>...)): Add type
113         parameter to parameters.
114         * java/text/CollationKey.java:
115         Make non-final.
116         * java/text/DecimalFormatSymbols.java:
117         Likewise.
118         
119 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
120
121         * gnu/java/lang/management/BeanImpl.java:
122         (translate(String)): Handle Map and List as
123         Strings of the form "java.util.Map<K,V>" and
124         "java.util.List<E>"
125         * javax/management/MBeanAttributeInfo.java:
126         (MBeanAttributeInfo(String,String,Method,Method)):
127         Use generic parameter and return types.
128         * javax/management/MBeanConstructorInfo.java:
129         (MBeanConstructorInfo(String, Constructor)):
130         Use generic parameter types.
131         * javax/management/MBeanOperationInfo.java:
132         (MBeanOperationInfo(String, Method)):
133         Use generic parameter and return types.
134         
135 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
136
137         * gnu/java/lang/management/BeanImpl.java:
138         (translate(String)): Comment out code for using type
139         variables for Map and List.
140         * java/lang/Thread.java:
141         (Thread(ThreadGroup,Runnable,String,long)): Fix
142         incrementation of totalThreadsCreated to be prior to use.
143         
144 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
145
146         * javax/management/MBeanServerFactory.java:
147         (createMBeanServer(String)): Added security check.
148         (findMBeanServer(String)): Likewise.
149         (newMBeanServer(String)): Likewise.
150         (releaseMBeanServer(String)): Likewise.
151         * javax/management/MBeanServerPermission.java:
152         New file.
153         
154 2006-12-08  David Daney  <ddaney@avtrex.com>
155
156         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
157         Fix comment.
158
159 2006-12-08  David Daney  <ddaney@avtrex.com>
160
161         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
162
163 2006-12-08  David Daney  <ddaney@avtrex.com>
164
165         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
166         SocketException.
167         (HTTPConnection): Handle NumberFormatException in properties parsing.
168         (Pool.get): Set timeout on reused sockets.
169         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
170         Initialize.
171         (HTTPURLConnection): Cleanup properties handling.
172         (getConnection): Use both connection and read timeouts.
173         (setConnectTimeout): Removed.
174         (setReadTimeout): New method.
175         * java/net/URLConnection.java (timeout): Renamed to...
176         (connectTimeout): ... connectTimeout throughout.
177         (readTimeout): New field.
178         (getReadTimeout): New method.
179         (setReadTimeout): New method.
180
181 2006-12-08  Tania Bento  <tbento@redhat.com>
182
183         * java/awt/ScrollPane.java
184         (doLayout): Change the location of the scrollpane's child
185         to (0, 0).
186
187 2006-12-08  David Daney  <ddaney@avtrex.com>
188
189         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
190         New method.
191         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
192         SocketTimeoutException if a blocking socket timesout.
193         (Java_gnu_java_nio_VMChannel_readScattering): Same.
194         (Java_gnu_java_nio_VMChannel_read__I): Same.
195         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
196         (Java_gnu_java_nio_VMChannel_connect6): Same.
197
198 2006-12-08  Mark Wielaard  <mark@klomp.org>
199
200         * configure.ac (VERSION): Set to 0.93-generics.
201         * NEWS: Add release date.
202
203 2006-12-08  Tania Bento  <tbento@redhat.com>
204
205         * java/awt/ScrollPane.java
206         (getScrollPosition): Throw NullPointerException if scrollpane
207         does have a child.
208         (setScrollPosition(int, int)): Throw NullPointerException if
209         scrollpane does have a child.  Check that both ints are within
210         the allowed bounds; If they are not, scroll to the closest allowed
211         bound.
212
213 2006-12-07  Roman Kennke  <kennke@aicas.com>
214
215         * javax/swing/JEditorPane.java
216         (EditorKitMapping): New inner helper class.
217         (editorKits): New static field for caching editor kit instances.
218         (static_initiazer): Initialize static mappings here.
219         (createEditorKitForContentType): Try to use cached instance.
220         Use correct classloader for loading.
221         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
222         class.
223         (getEditorKitForContentType): Store the fetched editor kit.
224         Fallback to createDefaultEditorKit().
225         (init): Don't clean the static registry here.
226         (registerEditorKitForContentType(String,String,ClassLoader)):
227         Implemented.
228         (registerEditorKitForContentType(String,String)): Delegate to
229         the other version of this method with the thread's context
230         classloader.
231
232 2006-12-07  Mark Wielaard  <mark@klomp.org>
233
234         * examples/gnu/classpath/examples/swing/HtmlDemo.java
235         (setPage): Don't convert URL to String for setPage().
236
237 2006-12-07  Mark Wielaard  <mark@klomp.org>
238
239         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
240
241 2006-12-07  Mark Wielaard  <mark@klomp.org>
242
243         * tools/Makefile.am: Explicitly define  and use bootclasspath as
244         GLIBJ_BOOTCLASSPATH
245
246 2006-12-07  Mark Wielaard  <mark@klomp.org>
247
248         * javax/swing/JEditorPane.java (createEditorKitForContentType):
249         Always load from system class loader.
250
251 2006-12-07  Mark Wielaard  <mark@klomp.org>
252
253         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
254         private constructor.
255         (URL(URL,String,URLStreamHandler)): Call new constructor.
256         (URL(URL,String)): Likewise.
257         (URL(String)): Likewise.
258
259 2006-12-07  Tom Tromey  <tromey@redhat.com>
260
261         * NEWS: Mention ASM.
262         * INSTALL: Don't mention --with-asm.
263         * tools/external/README: New file.
264         * tools/toolwrapper.c (main): Don't use ASM_JAR.
265         * tools/gjavah.in: Don't use PATH_TO_ASM.
266         * tools/grmic.in: Likewise.
267         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
268         'asm'.
269         (javah, rmic): Removed variables.
270         (bin_PROGRAMS): Updated.
271         (gappletviewer_CFLAGS): Don't define ASM_JAR.
272         (gjarsigner_CFLAGS): Likewise.
273         (gkeytool_CFLAGS): Likewise.
274         (gjar_CFLAGS): Likewise.
275         (gnative2ascii_CFLAGS): Likewise.
276         (gserialver_CFLAGS): Likewise.
277         (grmiregistry_CFLAGS): Likewise.
278         (gtnameserv_CFLAGS): Likewise.
279         (gorbd_CFLAGS): Likewise.
280         (grmid_CFLAGS): Likewise.
281         (gjavah_CFLAGS): Likewise.
282         (grmic_CFLAGS): Likewise.
283         (bin_SCRIPTS): Updated.
284         (TOOLS_JAVA_FILES): Updated.
285         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
286         * configure.ac: Removed --with-asm.  Always build gjavah.
287
288 2006-12-06  Roman Kennke  <kennke@aicas.com>
289
290         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
291         New class.
292         * examples/gnu/classpath/examples/swing/HtmlDemo.java
293         (LoadActionListener): Call setPage() helper method.
294         (createContent): Register tweaked editor kit. For FormSubmitEvents
295         call submitForm(), otherwise setPage().
296         (postData): Helper method for posting form data.
297         (setPage): Helper method for navigating to a new URL.
298         (submitForm): Helper method for submitting a form.
299         * examples/gnu/classpath/examples/swing/forms.html:
300         Added text/password fields and select boxes.
301         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
302
303 2006-12-06  Roman Kennke  <kennke@aicas.com>
304
305         * javax/swing/text/html/FormView.java
306         (SubmitThread.postData): Implemented.
307         (SubmitThread.run): Pass data to postData().
308         (actionPerformed): Reset form when reset button is activated.
309         (createComponent): Add support for select lists and comboboxes.
310         Don't set value of text and password fields here, this is done
311         now in HTMLDocument for consistency.
312         (getElementFormData): Add support for fetching form data from
313         select lists and comboboxes as well as textareas.
314         (getSelectData): New helper method. Fetches form data from
315         select boxes.
316         (getTextAreaData): New helper method. Fetches form data from
317         textareas.
318         (resetForm): New helper method. Resets the entire form.
319         * javax/swing/text/html/HTMLDocument.java
320         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
321         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
322         (HTMLReader.FormAction.setModel): Initialize text and password
323         values here. Also, use the resetable special models.
324         Group radio buttons into ButtonGroup for exclusive selection.
325         (HTMLReader.FormTagAction): New class. Handles FORM tags.
326         (HTMLReader.buttonGroups): New field.
327         (HTMLReader.numOptions): New field.
328         (HTMLReader.option): New field.
329         (HTMLReader.selectModel): New field.
330         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
331         (HTMLReader.handleText): Handle OPTION text.
332         (HTMLReader.initTags): Map FORM tags to FormTagAction.
333         (HTMLReader.textAreaContent): Set initial content.
334         * javax/swing/text/html/Option.java
335         (Option): Make copy of attribute set. Initialize selected state.
336         (getValue): Fetch value from attribute set.
337         * javax/swing/text/html/ResetableModel.java: New interface.
338         * javax/swing/text/html/ResetablePlainDocument.java: New class.
339         Supports resetting the state.
340         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
341         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
342         * javax/swing/text/html/SelectListModel.java: Likewise.
343
344 2006-12-06  Roman Kennke  <kennke@aicas.com>
345
346         * javax/swing/text/DefaultCaret.java
347         (appear): Adjust visibility here.
348         (setDotImpl): Don't adjust visibility here.
349         (moveDotImpl): Don't adjust visibility here.
350
351 2006-12-06  Roman Kennke  <kennke@aicas.com>
352
353         * gnu/java/awt/peer/gtk/AsyncImage.java
354         (Loader.run): Synchronize on the AsyncImage to avoid threading
355         issues.
356         (addObservers): Check for obs==null outside and synchronize on
357         this inside to avoid locking issues.
358         (checkImage): New helper method.
359         (notifyObservers): Check that the correct lock is held and
360         remove actual locking.
361         * gnu/java/awt/peer/gtk/GtkToolkit.java
362         (checkImage): Added special handling for AsyncImages.
363         
364 2006-12-06  Roman Kennke  <kennke@aicas.com>
365
366         * examples/gnu/classpath/examples/swing/Demo.java
367         (getIcon): Made package private.
368         * examples/gnu/classpath/examples/swing/HtmlDemo.java
369         (hyperlinkUpdate): Convert URL to string.
370
371 2006-12-06  Mark Wielaard  <mark@klomp.org>
372
373         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
374         null Observer.
375
376 2006-12-06  Roman Kennke  <kennke@aicas.com>
377
378         * examples/gnu/classpath/examples/icons/back.png,
379         * examples/gnu/classpath/examples/icons/reload.png:
380         New icons for the HTML browser.
381         * examples/gnu/classpath/examples/swing/HtmlDemo.java
382         (history): New field. Manages the browsing history.
383         (HtmlDemo): Initialize history.
384         (createContent): Set location and add history. Add toolbar.
385         (createToolBar): New helper method.
386         (main): Make default size bigger.
387         * examples/gnu/classpath/examples/swing/frame1.html,
388         * examples/gnu/classpath/examples/swing/frame2.html,
389         * examples/gnu/classpath/examples/swing/frame3.html,
390         * examples/gnu/classpath/examples/swing/frame4.html,
391         * examples/gnu/classpath/examples/swing/frames.html,
392         * examples/gnu/classpath/examples/swing/tables.html:
393         New example pages.
394         * examples/gnu/classpath/examples/swing/welcome.html
395         Add a couple of links and new test pages.
396
397 2006-12-06  Roman Kennke  <kennke@aicas.com>
398
399         * javax/swing/JEditorPane.java
400         (getStream): Buffer the stream for efficiency.
401         (setPage): Don't scroll the view at this point.
402         * javax/swing/plaf/basic/BasicTextUI.java
403         (RootView.paint): Call RootView's setSize to get synchronization.
404         (RootView.setSize): Synchronize to prevent race in layout code.
405         * javax/swing/text/AbstractDocument.java
406         (notifyListeners): New field.
407         (fireChangedUpdate): Track notifyListener field.
408         (fireRemoveUpdate): Track notifyListener field.
409         (fireIndertUpdate): Track notifyListener field.
410         (writeLock): Check notifyListener and throw IllegalStateException.
411         * javax/swing/text/View.java
412         (preferenceChanged): Create local var for better thread safety and
413         more efficiency.
414
415 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
416
417         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
418         lightweight component, not just for non-Panel components.
419         (addImpl): Do not call doLayout.
420         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
421         (setNativeBounds): Ensure widget parent is a GtkFixed before
422         calling gtk_fixed_move.
423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
424         (setNativeBounds): Likewise.
425         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
426         (setNativeBounds): Likewise.
427
428 2006-12-06  Roman Kennke  <kennke@aicas.com>
429
430         * javax/swing/text/html/TableView.java
431         (RowView.layoutMajorAxis): Check column index for invalid value.
432         (updateGrid): Check column index for invalid value.
433
434 2006-12-06  Roman Kennke  <kennke@aicas.com>
435
436         * javax/swing/text/html/BlockView.java
437         (getAlignment): Align blocks horizontally by the superclass.
438         * javax/swing/text/html/HTMLEditorKit.java
439         (HTMLFactory.create): Replace equals comparison by == for efficiency.
440         Add mapping for misplaced tr, td and th tags. Include object mapping.
441         * javax/swing/text/html/TableView.java
442         (RowView.replace): Invalidate grid early.
443         (gridValid): Initialize with false.
444         (create): Only create RowView and CellView for correctly placed
445         tags. Avoid unnecessary casts.
446         (getAlignment): Removed.
447         (replace): Invalidate grid early.
448
449 2006-12-06  Francis Kung  <fkung@redhat.com>
450
451         * java/awt/geom/RectangularShape.java
452         (getBounds): Remove empty rectangle check.
453
454 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
455
456         Fixes PR 29853.
457         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
458         newValue are the same.
459         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
460
461 2006-12-06  Tania Bento  <tbento@redhat.com>
462
463         * javax/swing/border/CompoundBorder.java:
464         (isBorderOpaque): If inside border is null, return true if outside
465         border is opaque, false otherwise; if outside border is null, return
466         true if inside border is opaque, false otherwise; if inside or
467         outside border are both not null, then return true only if both the
468         inside and outside border are opaque, false otherwise.
469
470 2006-12-06  Tania Bento  <tbento@redhat.com>
471
472         * javax/swing/border/CompoundBorder.java:
473         (isBorderOpaque): If inside and outside border both have a null
474         value, return true.
475
476 2006-12-06  Chris Burdess  <dog@gnu.org>
477
478         Fixes PR 29272.
479         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
480         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
481
482 2006-12-06  Chris Burdess  <dog@gnu.org>
483
484         Fixes PR 29264.
485         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
486           writeDTD method.
487
488 2006-12-06  Chris Burdess  <dog@gnu.org>
489
490         Fixes PR 28816.
491         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
492           discover schema factory implementation class.
493
494 2006-12-05  Francis Kung  <fkung@redhat.com>
495
496         * java/awt/BasicStroke.java
497         (capEnd): Prevent division by zero.
498         * java/awt/geom/Arc2D.java
499         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
500         (ArcIterator.currentSegment): Handle a negative extent.
501
502 2006-12-05  Francis Kung  <fkung@redhat.com>
503
504         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
505         (constructor): Handle translated subimages properly, ie, if the image's
506         0,0 position is not the data buffer's first element.
507
508 2006-12-05  Roman Kennke  <kennke@aicas.com>
509
510         * gnu/java/awt/peer/gtk/AsyncImage.java
511         (Loader.run): Nullify observers after loading.
512         (observers): Made package private.
513         (addObserver): Check for null observers field. Create local
514         variable for thread safety.
515         (getHeight): Use addObserver() for checking state of field
516         and notifying observer when necessary.
517         (getWidth): Use addObserver() for checking state of field
518         and notifying observer when necessary.
519         (getProperty): Use addObserver() for checking state of field
520         and notifying observer when necessary.
521         (notifyObservers): Check for null observers field. Create local
522         variable for thread safety.
523
524 2006-12-05  Roman Kennke  <kennke@aicas.com>
525
526         * javax/swing/text/html/HTMLEditorKit.java
527         (HTMLFactory.create): Removed debug output.
528         * javax/swing/text/html/InlineView.java
529         (getBreakWeight): Likewise.
530         * javax/swing/text/html/StyleSheet.java
531         (addRule): Likewise.
532         (ListPainter.paint): Removed debug output.
533
534 2006-12-05  Roman Kennke  <kennke@aicas.com>
535
536         * javax/swing/text/html/BlockView.java
537         (painter): Made package visible.
538         * javax/swing/text/html/StyleSheet.java
539         (translateBorder): New helper method.
540         (translateHTMLToCSS): Add mappings for border attributes.
541         * javax/swing/text/html/TableView.java
542         Made class subclass of BlockView to get CSS goodness.
543         (CellView.rowSpan): New field.
544         (CellView.setPropertiesFromAttributes): Fetch rowspan.
545         (RowView.overlap): New field.
546         (RowView.rowIndex): New field.
547         (RowView.layoutMajorAxis): Skip overlapping cells.
548         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
549         (numColumns): New field.
550         (tmpRect): New field.
551         (TableView): Initialize tmpRect.
552         (calculateColumnRequirements): Adjusted and fixed for multirows.
553         (getAlignment): Overridden to center tables.
554         (paint): Overridden to fix clipping.
555         (getStyleSheet): Made protected.
556         (layoutMajorAxis): Invalidate rows.
557         (setPropertiesFromAttributes): Made protected and call super.
558         (updateGrid): Update the overlapping information for multirows.
559
560 2006-12-05  Roman Kennke  <kennke@aicas.com>
561
562         * gnu/java/awt/peer/gtk/AsyncImage.java
563         (addObserver): Check for null and ignore null observers.
564         (getWidth): Check for null and ignore null observers.
565         (getHeight): Check for null and ignore null observers.
566         (getProperty): Check for null and ignore null observers.
567
568 2006-12-05  Francis Kung  <fkung@redhat.com>
569
570         * java/awt/BasicStroke.java
571         (capEnd): Prevent division by zero.
572         * java/awt/geom/Arc2D.java
573         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
574         (ArcIterator.currentSegment): Handle a negative extent.
575
576 2006-12-05  Francis Kung  <fkung@redhat.com>
577
578         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
579         (constructor): Handle translated subimages properly, ie, if the image's
580         0,0 position is not the data buffer's first element.
581
582 2006-12-05  Roman Kennke  <kennke@aicas.com>
583
584         * javax/swing/text/html/ImageView.java
585         (imageUpdate): Use spans field to determine if the CSS width/height
586         are set. Call safePreferenceChanged to protect view structure
587         from threading issues.
588         (spans): Made package private.
589         (ImageView): Initialize loadOnDemand with false.
590         (loadImage): Call Toolkit.prepareImage() to make sure we have
591         our Observer registered.
592         (safePreferenceChanged): New helper method. Calls preferenceChanged
593         in a thread safe environment.
594
595 2006-12-05  Roman Kennke  <kennke@aicas.com>
596
597         * NEWS: Add entry about improved HTML support.
598
599 2006-12-05  Roman Kennke  <kennke@aicas.com>
600
601         * javax/swing/text/html/ImageView.java
602         (ImageView): Initialize spans array here.
603         (setPropertiesFromAttributes): Moved init of spans array to
604         constructor.
605
606 2006-12-05  Roman Kennke  <kennke@aicas.com>
607
608         * javax/swing/text/html/BlockView.java
609         (painter): Made package visible.
610         * javax/swing/text/html/StyleSheet.java
611         (translateBorder): New helper method.
612         (translateHTMLToCSS): Add mappings for border attributes.
613         * javax/swing/text/html/TableView.java
614         Made class subclass of BlockView to get CSS goodness.
615         (CellView.rowSpan): New field.
616         (CellView.setPropertiesFromAttributes): Fetch rowspan.
617         (RowView.overlap): New field.
618         (RowView.rowIndex): New field.
619         (RowView.layoutMajorAxis): Skip overlapping cells.
620         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
621         (numColumns): New field.
622         (tmpRect): New field.
623         (TableView): Initialize tmpRect.
624         (calculateColumnRequirements): Adjusted and fixed for multirows.
625         (getAlignment): Overridden to center tables.
626         (paint): Overridden to fix clipping.
627         (getStyleSheet): Made protected.
628         (layoutMajorAxis): Invalidate rows.
629         (setPropertiesFromAttributes): Made protected and call super.
630         (updateGrid): Update the overlapping information for multirows.
631
632 2006-12-05  Roman Kennke  <kennke@aicas.com>
633
634         * javax/swing/text/html/HTMLEditorKit.java
635         (HTMLFactory.create): Removed debug output.
636         * javax/swing/text/html/InlineView.java
637         (getBreakWeight): Likewise.
638         * javax/swing/text/html/StyleSheet.java
639         (addRule): Likewise.
640         (ListPainter.paint): Removed debug output.
641
642 2006-12-06  Roman Kennke  <kennke@aicas.com>
643
644         * javax/swing/text/html/BlockView.java
645         (getAlignment): Align blocks horizontally by the superclass.
646         * javax/swing/text/html/HTMLEditorKit.java
647         (HTMLFactory.create): Replace equals comparison by == for efficiency.
648         Add mapping for misplaced tr, td and th tags. Include object mapping.
649         * javax/swing/text/html/TableView.java
650         (RowView.replace): Invalidate grid early.
651         (gridValid): Initialize with false.
652         (create): Only create RowView and CellView for correctly placed
653         tags. Avoid unnecessary casts.
654         (getAlignment): Removed.
655         (replace): Invalidate grid early.
656
657
658 2006-12-06  Roman Kennke  <kennke@aicas.com>
659
660         * javax/swing/text/html/TableView.java
661         (RowView.layoutMajorAxis): Check column index for invalid value.
662         (updateGrid): Check column index for invalid value.
663
664 2006-12-06  Roman Kennke  <kennke@aicas.com>
665
666         * javax/swing/JEditorPane.java
667         (getStream): Buffer the stream for efficiency.
668         (setPage): Don't scroll the view at this point.
669         * javax/swing/plaf/basic/BasicTextUI.java
670         (RootView.paint): Call RootView's setSize to get synchronization.
671         (RootView.setSize): Synchronize to prevent race in layout code.
672         * javax/swing/text/AbstractDocument.java
673         (notifyListeners): New field.
674         (fireChangedUpdate): Track notifyListener field.
675         (fireRemoveUpdate): Track notifyListener field.
676         (fireIndertUpdate): Track notifyListener field.
677         (writeLock): Check notifyListener and throw IllegalStateException.
678         * javax/swing/text/View.java
679         (preferenceChanged): Create local var for better thread safety and
680         more efficiency.
681
682 2006-12-06  Roman Kennke  <kennke@aicas.com>
683
684         * examples/gnu/classpath/examples/icons/back.png,
685         * examples/gnu/classpath/examples/icons/reload.png:
686         New icons for the HTML browser.
687         * examples/gnu/classpath/examples/swing/HtmlDemo.java
688         (history): New field. Manages the browsing history.
689         (HtmlDemo): Initialize history.
690         (createContent): Set location and add history. Add toolbar.
691         (createToolBar): New helper method.
692         (main): Make default size bigger.
693         * examples/gnu/classpath/examples/swing/frame1.html,
694         * examples/gnu/classpath/examples/swing/frame2.html,
695         * examples/gnu/classpath/examples/swing/frame3.html,
696         * examples/gnu/classpath/examples/swing/frame4.html,
697         * examples/gnu/classpath/examples/swing/frames.html,
698         * examples/gnu/classpath/examples/swing/tables.html:
699         New example pages.
700         * examples/gnu/classpath/examples/swing/welcome.html
701         Add a couple of links and new test pages.
702
703 2006-12-06  Roman Kennke  <kennke@aicas.com>
704
705         * examples/gnu/classpath/examples/swing/Demo.java
706         (getIcon): Made package private.
707         * examples/gnu/classpath/examples/swing/HtmlDemo.java
708         (hyperlinkUpdate): Convert URL to string.
709
710 2006-12-06  Roman Kennke  <kennke@aicas.com>
711
712         * javax/swing/text/DefaultCaret.java
713         (appear): Adjust visibility here.
714         (setDotImpl): Don't adjust visibility here.
715         (moveDotImpl): Don't adjust visibility here.
716
717 2006-12-06  Roman Kennke  <kennke@aicas.com>
718
719         * javax/swing/text/html/FormView.java
720         (SubmitThread.postData): Implemented.
721         (SubmitThread.run): Pass data to postData().
722         (actionPerformed): Reset form when reset button is activated.
723         (createComponent): Add support for select lists and comboboxes.
724         Don't set value of text and password fields here, this is done
725         now in HTMLDocument for consistency.
726         (getElementFormData): Add support for fetching form data from
727         select lists and comboboxes as well as textareas.
728         (getSelectData): New helper method. Fetches form data from
729         select boxes.
730         (getTextAreaData): New helper method. Fetches form data from
731         textareas.
732         (resetForm): New helper method. Resets the entire form.
733         * javax/swing/text/html/HTMLDocument.java
734         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
735         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
736         (HTMLReader.FormAction.setModel): Initialize text and password
737         values here. Also, use the resetable special models.
738         Group radio buttons into ButtonGroup for exclusive selection.
739         (HTMLReader.FormTagAction): New class. Handles FORM tags.
740         (HTMLReader.buttonGroups): New field.
741         (HTMLReader.numOptions): New field.
742         (HTMLReader.option): New field.
743         (HTMLReader.selectModel): New field.
744         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
745         (HTMLReader.handleText): Handle OPTION text.
746         (HTMLReader.initTags): Map FORM tags to FormTagAction.
747         (HTMLReader.textAreaContent): Set initial content.
748         * javax/swing/text/html/Option.java
749         (Option): Make copy of attribute set. Initialize selected state.
750         (getValue): Fetch value from attribute set.
751         * javax/swing/text/html/ResetableModel.java: New interface.
752         * javax/swing/text/html/ResetablePlainDocument.java: New class.
753         Supports resetting the state.
754         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
755         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
756         * javax/swing/text/html/SelectListModel.java: Likewise.
757
758 2006-12-06  Roman Kennke  <kennke@aicas.com>
759
760         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
761         New class.
762         * examples/gnu/classpath/examples/swing/HtmlDemo.java
763         (LoadActionListener): Call setPage() helper method.
764         (createContent): Register tweaked editor kit. For FormSubmitEvents
765         call submitForm(), otherwise setPage().
766         (postData): Helper method for posting form data.
767         (setPage): Helper method for navigating to a new URL.
768         (submitForm): Helper method for submitting a form.
769         * examples/gnu/classpath/examples/swing/forms.html:
770         Added text/password fields and select boxes.
771         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
772
773 2006-12-07  Mark Wielaard  <mark@klomp.org>
774
775         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
776         private constructor.
777         (URL(URL,String,URLStreamHandler)): Call new constructor.
778         (URL(URL,String)): Likewise.
779         (URL(String)): Likewise.
780
781 2006-12-07  Mark Wielaard  <mark@klomp.org>
782
783         * javax/swing/JEditorPane.java (createEditorKitForContentType):
784         Always load from system class loader.
785
786 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
787
788         Fixes PR 29853.
789         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
790         newValue are the same.
791         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
792
793 2006-12-06  Chris Burdess  <dog@gnu.org>
794
795         Fixes PR 29272.
796         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
797         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
798
799 2006-12-06  Chris Burdess  <dog@gnu.org>
800
801         Fixes PR 29264.
802         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
803         writeDTD method.
804
805 2006-12-056  Chris Burdess  <dog@gnu.org>
806
807         Fixes PR 28816.
808         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
809         discover schema factory implementation class.
810
811 2006-12-05  Roman Kennke  <kennke@aicas.com>
812
813         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
814         asynchronous loading of images.
815         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
816         (drawImage): Fetch real image from possibly AsyncImage.
817         * gnu/java/awt/peer/gtk/ComponentGraphics.java
818         (drawImage): Fetch real image from possibly AsyncImage.
819         * gnu/java/awt/peer/gtk/GtkToolkit.java
820         (createImage(URL)): Create async image.
821         (imageOrError): Made method static for easy access from AsyncImage.
822         (prepareImage): For async images, register the observer to the
823         image.
824
825 2006-12-05  Roman Kennke  <kennke@aicas.com>
826
827         (paintComponent): Include paint area from event.
828         (updateComponent): Include paint area from event.
829
830 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
831
832         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
833         lightweight component, not just for non-Panel components.
834         (addImpl): Do not call doLayout.
835         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
836         (setNativeBounds): Ensure widget parent is a GtkFixed before
837         calling gtk_fixed_move.
838         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
839         (setNativeBounds): Likewise.
840         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
841         (setNativeBounds): Likewise.
842
843 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
844
845         * java/awt/Component.java (getFontImpl): Return a default font if
846         topmost parent's font is null.
847
848 2006-12-04  Mark Wielaard  <mark@klomp.org>
849
850         * javax/swing/text/html/CSS.java (parseMarginShorthand):
851         Remove debug output.
852
853 2006-12-04  Roman Kennke  <kennke@aicas.com>
854
855         * java/awt/font/TextLayout.java
856         (hitTestChar): Fixed conditions for inclusion of range.
857         Use layout information in the run for more efficiency.
858
859 2006-12-04  Roman Kennke  <kennke@aicas.com>
860
861         * javax/swing/text/GlyphView.java
862         (J2DGlyphPainter): New inner class.
863         (checkPainter): For Java2D capable environments create
864         a J2DGlyphPainter.
865
866 2006-12-04  Roman Kennke  <kennke@aicas.com>
867
868         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
869         (FreeTypeGlyphVector): Don't filter control chars here.
870         (getGlyphs): Filter control chars and replace them by
871         hair space char.
872
873 2006-12-04  Roman Kennke  <kennke@aicas.com>
874
875         * native/jni/java-nio/gnu_java_nio_VMChannel.c
876         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
877
878 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
879
880         * gnu/java/lang/management/BeanImpl.java:
881         (translate(String)): Don't assume the list uses "E",
882         just use the first and only type variable.
883         * java/lang/management/ManagementFactory.java:
884         (getPlatformMBeanServer()): Register logging bean.
885         * javax/management/openmbean/OpenType.java:
886         (OpenType(String,String,String)): Actually use
887         the string created to handle arrays.
888         
889 2006-12-04  Mark Wielaard  <mark@klomp.org>
890
891         * native/jni/java-nio/gnu_java_nio_VMChannel.c
892         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
893
894 2006-12-04  Mark Wielaard  <mark@klomp.org>
895
896         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
897         Make static.
898         * native/jni/java-nio/gnu_java_nio_VMChannel.c
899         (JCL_thread_interrupted): Only take JNIEnv.
900         (vm_channel_class): New static variable.
901         (initID): Set vm_channel_class.
902         Wrap all reads() and writes() in do-while blocks that check
903         interrupted status.
904
905 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
906
907         * gnu/javax/management/Server.java:
908         Make map final and initialise it.
909         (unregisterMBean(ObjectName)): Match against
910         delegate's object name and not the instance.
911         * java/lang/management/ManagementFactory.java:
912         Added constant fields.
913         (getPlatformMBeanServer()): Implemented.
914         * javax/management/MBeanServerFactory.java: New file.
915         
916 2006-12-04  Roman Kennke  <kennke@aicas.com>
917
918         * javax/swing/text/BoxView.java
919         (paint): Replaced painting algorithm with more simple and more
920         reliable painting of the box.
921         * javax/swing/text/html/BlockView.java
922         (PositionInfo): New inner class. Stores additional CSS
923         positioning information.
924         (positionInfo): New field.
925         (BlockView): Initialize positionInfo field.
926         (fetchLayoutInfo): New helper method. Fetches additional
927         CSS positioning information.
928         (layoutMajorAxis): Perform additional CSS layout.
929         (layoutMinorAxis): Perform additional CSS layout.
930         (positionView): New helper method.
931         (replace): Overridden to fetch additional layout information.
932         * javax/swing/text/html/CSS.java
933         (Attribute.POSITION): New field.
934         (Attribute.LEFT): New field.
935         (Attribute.RIGHT): New field.
936         (Attribute.TOP): New field.
937         (Attribute.BOTTOM): New field.
938         (getValue): Create Length for left, right, top and bottom
939         attributes.
940
941 2006-12-04  Roman Kennke  <kennke@aicas.com>
942
943         * gnu/javax/swing/text/html/parser/support/Parser.java
944         (Sgml): Consume any whitespace that immediately follows
945         and sgml insertion.
946         (parseDocument): Consume any initial whitespace.
947
948 2006-12-03  Mark Wielaard  <mark@klomp.org>
949
950         * gnu/javax/management/Server.java (beans): Initialize.
951         (registerMBean): Don't initialize beans.
952
953 2006-12-03  Mark Wielaard  <mark@klomp.org>
954
955         * java/util/logging/LogManager.java (getLevelProperty): Check
956         whether value is null before passing to Level.parse().
957
958 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
959
960         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
961         whether given a null lock and lockOwner.
962
963 2006-12-03  Mark Wielaard  <mark@klomp.org>
964
965         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
966         (PageLoader.page): Made package local.
967         (PageLoader.run): Don't reset loader.
968         (PageLoader.cancel): New method.
969         (loading): Renamed to loader.
970         (getPage): Return loader.page.
971         (setPage): Always set loader. Never reset to null.
972
973 2006-12-03  Mark Wielaard  <mark@klomp.org>
974
975         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
976         path[k] is null.
977         (isLastChild): Return false when path is null.
978
979 2006-12-03  Mark Wielaard  <mark@klomp.org>
980
981         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
982         to currentPaintArea.
983         (paintComponent): Work with local reference to currentPaintArea.
984         (updateComponent): Likewise.
985         (coalescePaintEvent): Set currentPaintArea.
986
987 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
988
989         * javax/management/MBeanServerBuilder.java: New file.
990         
991 2006-12-01  Mark Wielaard  <mark@klomp.org>
992
993         * java/text/DecimalFormat.java (parse): Always increment parsing
994         index and adjust pos result.
995
996 2006-12-01  Roman Kennke  <kennke@aicas.com>
997
998         * javax/swing/text/html/HTML.java
999         (Attribute.DYNAMIC_CLASS): New field.
1000         (Attribute.PSEUDO_CLASS): New field.
1001         * javax/swing/text/html/HTMLDocument.java
1002         (HTMLReader.CharacterAction.start): Initialize anchor with link
1003         pseudo attribute.
1004         (updateSpecialClass): New helper method. Updates the dynamic
1005         or pseudo class for anchor tags.
1006         * javax/swing/text/html/HTMLEditorKit.java
1007         (LinkController.lastAnchorElement): New field. For tracking
1008         enter/exit of anchors.
1009         (LinkController.activateLink): Set pseudo class to 'visited'.
1010         (LinkController.mouseMoved): Added support for tracking
1011         the 'hover' dynamic class.
1012         * javax/swing/text/html/InlineView.java
1013         (changedUpdate): Fetch new properties.
1014         * javax/swing/text/html/StyleSheet.java
1015         (attributeSetToMap): New helper method.
1016         (getRule): Also append dynamic and pseudo class to key.
1017         (resolveStyle): Resolve style based generally on all attributes.
1018         * javax/swing/text/html/TableView.java
1019         (RowView.layoutMajorAxis): Make sure the grid is valid.
1020         (updateGrid): Made package private.
1021         * gnu/javax/swing/text/html/css/Selector.java
1022         (calculateSpecificity): Added support for dynamic and pseudo classes.
1023         (matches): Changed to operate on general attributes.
1024         Added support for dynamic and pseudo classes.
1025
1026 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1027
1028         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1029         fractional portion in a separate method.
1030         Also fixes the handling of decimal separator and its associated field.
1031         (handleFractionalPart): new method, needed to relax a bit
1032         formatInternal.
1033         
1034 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1035
1036         * java/beans/beancontext/BeanContextServicesSupport.java:
1037         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1038         Class)): Implemented.
1039         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1040         Class, Object)): Implemented.
1041         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1042         Object, Object)): Implemented.
1043         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1044         Implemented.
1045         (initialiseBeanContextResources()): Implemented.
1046         (releaseBeanContextResoures()): Implemented.
1047         
1048 2006-12-01  Mark Wielaard  <mark@klomp.org>
1049
1050         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1051
1052 2006-12-01  Roman Kennke  <kennke@aicas.com>
1053
1054         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1055         handling border styles.
1056         * gnu/javax/swing/text/html/css/BorderWidth.java
1057         (isValid): New method.
1058         * gnu/javax/swing/text/html/css/Length.java
1059         (isValid): New method.
1060         * javax/swing/text/html/CSS.java
1061         (addInternal): Added shorthand parsing for border, padding and
1062         margin.
1063         (parseBackgroundShorthand): Added API docs.
1064         (parsePaddingShorthand): New method. Handles padding shorthand
1065         values.
1066         (parseMarginShorthand): New method. Handles margin shorthand
1067         values.
1068         (parseBorderShorthand): New method. Handles border shorthand
1069         values.
1070         * javax/swing/text/html/StyleSheet.java
1071         (translateHTMLToCSS): Set specific padding attributes.
1072         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1073         These shorthands are now handled in CSS.
1074         (BoxPainter.paint): Exclude the outer margin.
1075
1076 2006-12-01  Roman Kennke  <kennke@aicas.com>
1077
1078         * gnu/javax/swing/text/html/css/Length.java
1079         (emBase): New field.
1080         (exBase): New field.
1081         (isFontEMRelative): New field.
1082         (isFontEXRelative): New field.
1083         (Length): Recognize and setup EM and EX relative values.
1084         (getValue): Handle EM and EX relative values.
1085         (isEMRelative): New method.
1086         (isEXRelative): New method.
1087         (setEMBase): New method.
1088         (setEXBase): New method.
1089         (setFontBases): New method.
1090         * gnu/javax/swing/text/html/parser/support/Parser.java
1091         (_handleEmptyTag): Use new isBlock() helper method.
1092         (_handleEndTag_remaining): Use new isBlock() helper method.
1093         (_handleStartTag): Consume whitespace after block start tag.
1094         (Comment): Consume whitespace after a comment.
1095         (isBlock): New helper method.
1096         (readAttributes): Consider all characters in unquoted attribute
1097         values.
1098         * javax/swing/text/html/BlockView.java
1099         (layoutMinorAxis): Use cached span value.
1100         (paint): Added debug code (commented out).
1101         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1102         * javax/swing/text/html/CSSBorder.java
1103         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1104         with stylesheet.
1105         (getBorderWidth): Set the EM and EX base on the length values.
1106         * javax/swing/text/html/HTMLDocument.java
1107         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1108         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1109         (HTMLReader.inImpliedParagraph): Removed.
1110         (HTMLReader.inParagraph): Removed.
1111         (HTMLReader.parseStack): New field.
1112         (HTMLReader.addContent): Use new paragraph handling.
1113         (HTMLReader.addSpecialElement): Use new paragraph handling.
1114         (HTMLReader.blockClose): Use new paragraph handling.
1115         (HTMLReader.blockOpen): Use new paragraph handling.
1116         (HTMLReader.inImpliedParagraph): New helper method.
1117         (HTMLReader.inParagraph): New helper method.
1118         * javax/swing/text/html/ImageView.java
1119         (attributes): New field. Caches view attributes.
1120         (spans): New field. Caches CSS spans.
1121         (getAttributes): Correctly setup CSS view attributes.
1122         (getPreferredSpan): Use caches spans.
1123         (getStyleSheet): Use the view's getDocument() method.
1124         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1125         (updateSize): Use cached spans.
1126         * javax/swing/text/html/ParagraphView.java
1127         (setPropertiesFromAttributes): Setup EM and EX.
1128         * javax/swing/text/html/StyleSheet.java
1129         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1130         (getEMBase): New helper method.
1131         (getEXBase): New helper method.
1132         * javax/swing/text/html/TableView.java
1133         (width): New field. Caches the table width.
1134         (calculateMinorAxisRequirements): Use caches span.
1135         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1136         (updateGrid): Correctly setup EM/EX.
1137
1138 2006-11-30  Roman Kennke  <kennke@aicas.com>
1139
1140         * javax/swing/text/html/FormSubmitEvent.java: New class.
1141         * javax/swing/text/html/FormView.java
1142         (SubmitThread): New class for submitting data in a separate thread.
1143         (actionPerformed): Fetch the actual for data.
1144         (addData): New helper method.
1145         (getElementFormData): New helper method.
1146         (getFormData): New helper method.
1147         (getInputFormData): New helper method.
1148         (submitData): Implemented.
1149         * javax/swing/text/html/FrameView.java
1150         (createComponent): Add this as hyperlink listener.
1151         Set the target document as frame document.
1152         (getTopEditorPane): New helper method.
1153         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1154         (handleHyperlinkEvent): New helper method.
1155         (handleFormSubmitEvent): New helper method.
1156         * javax/swing/text/html/HTMLDocument.java
1157         (HTMLReader.BaseAction.start): Track the base target.
1158         (HTMLReader.BaseAction.end): Removed.
1159         (baseTarget): New field.
1160         (frameDocument): New field.
1161         (getBaseTarget): New property accessor.
1162         (isFrameDocument): New property accessor.
1163         (processHTMLFrameHyperlinkEvent): Implemented.
1164         (setFrameDocument): New property accessor.
1165         (updateFrame): New helper method.
1166         (updateFrameSet): New helper method.
1167         * javax/swing/text/html/HTMLEditorKit.java
1168         (LinkController.createHyperlinkEvent): Handle frame documents.
1169         (autoFormSubmission): New field.
1170         (HTMLEditorKit): Set autoFormSubmission to true.
1171         (isAutoFormSubmission): New property accessor.
1172         (setAutoFormSubmission): New property accessor.
1173
1174 2006-11-30  Roman Kennke  <kennke@aicas.com>
1175
1176         * javax/swing/text/ElementIterator.java
1177         (ElementRef): New inner class.
1178         (currentDepth): Removed.
1179         (currentElement): Removed.
1180         (previousItem): Removed.
1181         (stack): New field. Holds the iteration stack.
1182         (state): Removed.
1183         (ElementIterator(Document)): Removed init of removed fields.
1184         (ElementIterator(Element)): Removed init of removed fields.
1185         (current): Changed to stack based algorithm.
1186         (deepestLeaf): New helper method.
1187         (depth): Changed to stack based algorithm.
1188         (first): Changed to stack based algorithm.
1189         (next): Changed to stack based algorithm.
1190         (previous): Changed to stack based algorithm.
1191
1192 2006-11-30  Francis Kung  <fkung@redhat.com>
1193
1194         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1195         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1196
1197 2006-11-30  Francis Kung  <fkung@redhat.com>
1198
1199         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1200         (draw): Set transform in buffered composite.
1201         (drawComposite): Do not transform bounds; round bounds.
1202         (drawGlyphVector):  Set transform in buffered composite.
1203         (drawRenderedImage):  Set transform in buffered composite.
1204         (fill):  Set transform in buffered composite.
1205         (updateBufferedImage): Fix scanline & height calculations.
1206         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1207         (createPath): Simplify width & height calculation.
1208         (drawImage): Also transform width & height.
1209
1210 2006-11-30  Roman Kennke  <kennke@aicas.com>
1211
1212         * javax/swing/text/html/FrameSetView.java: New class. Implements
1213         HTML framesets.
1214         * javax/swing/text/html/FrameView.java: New class. Implements
1215         HTML frames.
1216         * javax/swing/text/html/HTMLDocument.java:
1217         (HTMLReader.addSpecialElement): Only add one artificial space.
1218         * javax/swing/text/html/HTMLEditorKit.java
1219         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1220         * gnu/javax/swing/text/html/parser/support/Parser.java
1221         (_handleEmptyTag): Also consume whitespace after frame tags.
1222
1223 2006-11-30  Gary Benson  <gbenson@redhat.com>
1224
1225         * java/lang/Thread.java: Javadoc fixes.
1226
1227 2006-11-29  Tom Tromey  <tromey@redhat.com>
1228
1229         PR classpath/28203:
1230         * java/lang/Class.java (getAnnotations): Rewrote.
1231
1232 2006-11-29  Tania Bento  <tbento@redhat.com>
1233
1234         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1235         (parseParams): Unescape 'val' before putting it into the Map.
1236         (unescapeString): New private method.
1237
1238 2006-11-29  Tom Tromey  <tromey@redhat.com>
1239
1240         * tools/gnu/classpath/tools/getopt/package.html: New file.
1241
1242 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1243
1244         * javax/swing/plaf/metal/MetalIconFactory.java
1245         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1246         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1247
1248 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1249
1250         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1251         with the default international currency sign \u00A4.
1252         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1253         table for string formatting.
1254         (formatInternal): likewise.
1255         (scanNegativePattern): likewise.
1256         (applyPattern): likewise.
1257         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1258         Locale is immutable and does not need clone.
1259
1260 2006-11-29  Francis Kung  <fkung@redhat.com>
1261
1262         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1263         (drawLine): Remove hard-coded pixel shifting.
1264
1265 2006-11-29  Roman Kennke  <kennke@aicas.com>
1266
1267         * java/awt/Component.java
1268         (isShowing): Simplified condition code and avoid unnecessary
1269         if-codepaths.
1270         (coalesceEvents): Always coalesce paint events and let the peer
1271         figure out the expanding of the repaint area.
1272         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1273         (currentPaintEvents): Removed. Replaced by paintArea.
1274         (paintArea): New field. Tracks the dirty area.
1275         (SwingComponentPeer): Removed init of currentPaintEvents.
1276         (coalescePaintEvent): Simplified to only union the dirty regions.
1277         (handleEvent): Paint dirty region that was tracked in paintArea.
1278         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1279         (paintArea): New field. Tracks the dirty region.
1280         (coalescePaintEvent): Implemented to track the dirty region.
1281         (paintComponent): Use the dirty region in paintArea. Protect
1282         state by putting the paint and dispose code in a try-finally.
1283         (updateComponent): Use the dirty region in paintArea. Protect
1284         state by putting the paint and dispose code in a try-finally.
1285
1286 2006-11-29  Roman Kennke  <kennke@aicas.com>
1287
1288         * java/awt/font/TextLayout.java
1289         (getVisualHighlightShape): Removed debug output.
1290
1291 2006-11-28  Andrew Haley  <aph@redhat.com>
1292
1293         * vm/reference/sun/reflect/misc/ReflectUtil.java
1294         (checkPackageAccess): Implement.
1295
1296 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1297
1298         * native/jni/java-lang/java_lang_VMDouble.c:
1299         (parseDoubleFromChars) New function. Factored out from ...
1300         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1301         (dtoa_toString): New function. Factored out from ...
1302         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1303         Changed conversion mode to 2, as modes 0 and 1 don't round
1304         as the API spec demands. Invoke conversion function as often
1305         as necessary with growing precision until a reversible
1306         representation of the double in form of a string is reached.
1307
1308 2006-11-28  Roman Kennke  <kennke@aicas.com>
1309
1310         * javax/swing/JComponent.java
1311         (putClientProperty): Do not fire event when both old and new
1312         value are == null.
1313
1314 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1315
1316         * java/lang/Enum.java:
1317         Make name and ordinal final.
1318         
1319 2006-11-27  Casey Marshall  <csm@gnu.org>
1320
1321         * java/util/jar/JarEntry.java (certs): removed.
1322         (jarfile): new field.
1323         (getCertificates): read the certificates from the containing JarFile.
1324         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1325         fill in 'certs,' fill in 'jarfile' for the entry.
1326         (getEntry): likewise.
1327         
1328 2006-11-27  Francis Kung  <fkung@redhat.com>
1329
1330         * java/awt/image/WritableRaster.java
1331         (createChild): Implemented.
1332
1333 2006-11-27  Roman Kennke  <kennke@aicas.com>
1334
1335         * java/awt/font/TextLayout.java
1336         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1337         (getVisualHighlightShape): Implemented.
1338         (layoutRuns): Fixed boundary so that the last run is also laid out.
1339         (left): New helper method.
1340         (right): New helper method.
1341
1342 2006-11-27  Roman Kennke  <kennke@aicas.com>
1343
1344         * java/awt/font/TextLayout.java
1345         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1346         (getCaretShape(TextHitInfo)): Use natural bounds.
1347         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1348         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1349         above with DEFAULT_CARET_POLICY.
1350         (getCaretShapes(int)): Use natural bounds.
1351
1352 2006-11-27  Roman Kennke  <kennke@aicas.com>
1353
1354         * java/awt/font/TextLayout.java
1355         (Run.font): New field.
1356         (Run.location): New field.
1357         (Run.Run): Initialize font.
1358         (font): Removed field. This is moved into Run as the actual font
1359         is something run-specific.
1360         (TextLayout(String,Font,FontRenderContext)): Set font on the
1361         single runs. Layout the runs here.
1362         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1363         (findRunAtIndex): New helper method.
1364         (getCaretInfo): Implemented.
1365         (layoutRuns): New helper method.
1366         (toString): Don't put font in output string.
1367
1368 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1369
1370         * AUTHORS: Added Jeroen Fritjers.
1371
1372 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1373
1374         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1375         for FieldPosition to be null.
1376         Check if the factional part is just 0 and can be omitted from the
1377         result.
1378         (scanNegativePattern): Fixed index out of bound exception when searching
1379         for international currency symbol in negative pattern.  
1380
1381 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1382
1383         * java/beans/beancontext/BeanContextSupport.java:
1384         (readObject(ObjectInputStream)): Implemented.
1385         (writeObject(ObjectOutputStream)): Likewise.
1386         (BCSChild.getTargetChild()): Added.
1387         (bcsPreDeserializationHook()): Implemented.
1388         (bcsPreSerializationHook()): Likewise.
1389         (childDeserializedHook(Object,BCSChild)): Likewise.
1390         (isSerializing()): Likewise.
1391         (readChildren(ObjectInputStream)): Likewise.
1392         (writeChildren(ObjectOutputStream)): Likewise.
1393         
1394 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1395             Ian Lance Taylor  <ian <at> airs.com>
1396             Paolo Bonzini <bonzini <at> gnu.org>
1397
1398         Fixes bug #25557.
1399
1400         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1401         increased portability.  Likewise, use -f instead of -e.
1402
1403 2006-11-26  Mark Wielaard  <mark@klomp.org>
1404
1405         * lib/Makefile.am (propertydirs): Removed.
1406         (resources): Explicitly create all dirs.
1407
1408 2006-11-26  Mark Wielaard  <mark@klomp.org>
1409
1410         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1411
1412 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1413
1414         * native/target/.cvsignore,
1415         native/target/generic/.cvsignore,
1416         native/target/Linux/.cvsignore:
1417         Removed no longer used files.
1418
1419         * native/target: Removed no longer used directory.
1420
1421 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1422
1423         Fixes bug #29133.
1424
1425         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1426         (Java_gnu_java_nio_VMSelector_select):
1427         Use strerror if strerror_r is not available.
1428
1429         Reported by:  Michael Franz <mvfranz@gmail.com>,
1430                       Riccardo Mottola <zuse@libero.it>
1431
1432 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1433
1434         Fixes bug #26756.
1435         
1436         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1437         STRICT_WARNING_CFLAGS since it caused the build to fail 
1438         on GNU/Linux.
1439
1440 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1441
1442         * doc/vmintegration.texinfo: Update VM Threading Model section.
1443
1444 2006-11-26  Tom Tromey  <tromey@redhat.com>
1445
1446         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1447         include ifaddrs.h.
1448         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1449         conditional.
1450         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1451         Conditionally include ifaddrs.h.
1452         (getif_address): Updated conditional.
1453         (getif_index): Likewise.
1454         * configure.ac: Check for ifaddrs.h.
1455
1456 2006-11-25  Mark Wielaard  <mark@klomp.org>
1457
1458         * java/io/File.java (list): Return empty list for unreadable dirs.
1459
1460 2006-11-25  Mark Wielaard  <mark@klomp.org>
1461
1462         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1463         Synchronize on font peer.
1464         (setFont): Likewise.
1465         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1466         synchronized.
1467         (getTextMetrics): Likewise.
1468
1469 2006-11-25  Roman Kennke  <kennke@aicas.com>
1470
1471         * javax/swing/text/GapContent.java
1472         (getPositionsInRange): Rewritten to use the more efficient
1473         binary search searchFirst() and avoid an NPE that was caused
1474         by GC'ed positions.
1475
1476 2006-11-25  Mark Wielaard  <mark@klomp.org>
1477
1478         * javax/swing/text/CompositeView.java (modelToView): Never return
1479         null.
1480
1481 2006-11-25  Mark Wielaard  <mark@klomp.org>
1482
1483         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1484         Check whether rowView instanceof RowView.
1485         (updateGrid): Likewise.
1486
1487 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1488
1489         PR28462
1490         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1491         * java/text/NumberFormat.java (format): all format methods, fixed
1492         FieldPosition argument should never be null.
1493         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1494         method is not final.
1495         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1496         locale.
1497         * AUTHORS: added my name to the file.
1498
1499 2006-11-25  Mark Wielaard  <mark@klomp.org>
1500
1501         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1502         getChildAllocation() returning null.
1503
1504 2006-11-25  Mark Wielaard  <mark@klomp.org>
1505
1506         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1507         Use clazzIndex for id substring.
1508
1509 2006-11-25  Mark Wielaard  <mark@klomp.org>
1510
1511         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1512         it is still running.
1513
1514 2006-11-25  Mark Wielaard  <mark@klomp.org>
1515
1516         Fixes bug #28822
1517         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1518         CREATE_API_DOCS
1519
1520 2006-11-24  Tania Bento  <tbento@redhat.com>
1521
1522         * java/awt/font/TextHitInfo.java
1523         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1524         (beforeOffset): Decreased first parameter by 1.
1525
1526 2006-11-24  Francis Kung  <fkung@redhat.com>
1527
1528         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1529         (constructor): Check sample model when setting fastCM flag.
1530         (updateBufferedImage): Check scanline and sample model offsets before
1531         copying data directly into the image data buffer.
1532
1533 2006-11-24  Francis Kung  <fkung@redhat.com>
1534
1535         * gnu/java/awt/java2d/QuadSegment.java
1536         (offsetSubdivided): Handle special straight-line cases.
1537
1538 2006-11-24  Roman Kennke  <kennke@aicas.com>
1539
1540         * java/awt/dnd/DropTarget.java
1541         (DropTargetAutoScroller.HYSTERESIS): New constant.
1542         (DropTargetAutoScroller.DELAY): New constant.
1543         (DropTargetAutoScroller.inner): New field. A cached
1544         Rectangle instance.
1545         (DropTargetAutoScroller.outer): New field. A cached
1546         Rectangle instance.
1547         (DropTargetAutoScroller.timer): New field. The actual timer.
1548         (DropTargetAutoScroller.DropTargetAutoScroller):
1549         Initialize timer.
1550         (DropTargetAutoScroller.actionPerformed): Implemented.
1551         (DropTargetAutoScroller.stop): Implemented.
1552         (DropTargetAutoScroller.updateLocation): Implemented.
1553         (clearAutoscroll): Stop the autoscroller before nullifying it.
1554         (createDropTargetAutoScroller): Don't set the field here,
1555         only return a new instance.
1556         (dragEnter): Only do something when active. Initialize
1557         auto scrolling.
1558         (dragExit): Only do something when active. Stop auto scrolling.
1559         (dragOver): Only do something when active. Update auto scrolling.
1560         (drop): Only do something when active. Update auto scrolling.
1561         (dropActionChanged): Only do something when active. Update
1562         auto scrolling.
1563         (initializeAutoScrolling): Check if component is an instance
1564         of Autoscroll, otherwise do nothing.
1565         (setActive): Disable autoscrolling when deactivating.
1566         (setComponent): When component is set to null, disable autoscrolling.
1567
1568 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1569
1570         * java/beans/beancontext/BeanContextServicesSupport.java
1571         (getChildBeanContextServicesListener): Implemented.
1572
1573 2006-11-23  Roman Kennke  <kennke@aicas.com>
1574
1575         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1576         (createGraphics): Use constructor to create new instance of
1577         BufferedImageGraphics.
1578         * java/awt/Toolkit.java
1579         (getDefaultToolkit): Really try to get a real toolkit. Only
1580         use HeadlessToolkit if no other is available.
1581         * gnu/java/awt/peer/gtk/GtkToolkit.java
1582         (checkHeadless): New helper method. Checks for headless environment
1583         and throws HeadlessException if appropriate.
1584         (createButton): Check for headless.
1585         (createCanvas): Check for headless.
1586         (createCheckbox): Check for headless.
1587         (createCheckboxMenuItem): Check for headless.
1588         (createChoice): Check for headless.
1589         (createDialog): Check for headless.
1590         (createDragGestureRecognizer): Check for headless.
1591         (createDragSourceContextPeer): Check for headless.
1592         (createEmbeddedWindow): Check for headless.
1593         (createFileDialog): Check for headless.
1594         (createFrame): Check for headless.
1595         (createCheckbox): Check for headless.
1596         (createLabel): Check for headless.
1597         (createList): Check for headless.
1598         (createMenu): Check for headless.
1599         (createMenuBar): Check for headless.
1600         (createMenuItem): Check for headless.
1601         (createPanel): Check for headless.
1602         (createPopupMenu): Check for headless.
1603         (createScrollbar): Check for headless.
1604         (createScrollPane): Check for headless.
1605         (createTextArea): Check for headless.
1606         (createTextField): Check for headless.
1607         (createWindow): Check for headless.
1608
1609 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
1610
1611         * java/beans/beancontext/BeanContextSupport.java
1612         (deserialize): Implemented,
1613         (serialize): Implemented.
1614
1615 2006-11-23  Roman Kennke  <kennke@aicas.com>
1616
1617         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1618         (createGraphics): Try to use Cairo graphics if available.
1619
1620 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1621
1622         * java/beans/beancontext/BeanContextSupport.java
1623         (toArray): Added API docs,
1624         (toArray(Object[])): Added API docs, removed NotImplementedException.
1625
1626 2006-11-22  Tania Bento  <tbento@redhat.com>
1627
1628         * javax/swing/JRootPane.java
1629         (setLayeredPane): Added documentation; throw 
1630         IllegalComponentStateException if layered pane parameter is null.
1631
1632 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1633
1634         * java/beans/beancontext/BeanContextSupport.java
1635         (avoidingGui): Removed NotImplementedException.
1636
1637 2006-11-22  Francis Kung  <fkung@redhat.com>
1638
1639         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1640         (drawGlyphVector): Clip updated area to glyph bounds.
1641         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1642         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1643         x-coordinate and y-coordinate pixel shifting.
1644         (shifted): Removed method.
1645         (shiftX): New method, recognising scaling transforms.
1646         (shiftY): New method, recognising scaling transforms.
1647         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1648
1649 2006-11-22  Roman Kennke  <kennke@aicas.com>
1650
1651         * java/awt/font/TextLayout.java
1652         (hash): New field. Caches the hash code.
1653         (hashCode): Implemented.
1654
1655 2006-11-22  Roman Kennke  <kennke@aicas.com>
1656
1657         * java/awt/image/ImageFilter.java
1658         Reformat whole class.
1659         (getFilterInstance): Don't touch the consumer field. Don't check
1660         consumer.
1661         (imageComplete): Don't check consumer.
1662         (setColorModel): Don't check consumer.
1663         (setDimensions): Don't check consumer.
1664         (setHints): Don't check consumer.
1665         (setPixels): Don't check consumer.
1666         (setProperties): Pass the original property too.
1667         * java/awt/image/IndexColorModel.java
1668         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1669         transparent pixel by calling the new helper method.
1670         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1671         transparent pixel by calling the new helper method.
1672         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1673         transparent pixel by calling the new helper method.
1674         (coerceData): Removed. This is not needed.
1675         (getAlpha): Simply return value from color map. The transparent
1676         pixel has to be there.
1677         (setTransparentPixel): New helper method. Inserts the transparent
1678         pixel.
1679         * java/awt/image/RGBImageFilter.java
1680         Reformat whole class.
1681         (convertColorModelToDefault): Removed. No longer needed.
1682         (filterIndexColorModel): Don't handle transparent pixels
1683         separately.
1684         (filterRGBPixels): Set pixels on consumer already.
1685         (makeColor): Removed. No longer needed.
1686         * java/awt/image/ReplicateScaleFilter.java
1687         (replicatePixels): Removed.
1688         (setDimension): Correctly compute destination size, avoid double
1689         calculations.
1690         (setPixels): Avoid double calculations. Fixed some boundary cases.
1691         (setupSources): New helper method.
1692         * java/awt/image/SampleModel.java
1693         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1694         and TYPE_DOUBLE.
1695         * java/awt/image/SinglePixelPackedSampleModel.java
1696         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1697         This is not needed as the superclass already copies line
1698         by line.
1699         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1700         removed some checks that the RI also doesn't perform. Call
1701         DataBuffer.setElem().
1702
1703 2006-11-22  Roman Kennke  <kennke@aicas.com>
1704
1705         * java/awt/text/TextLayout.java
1706         (getLogicalRangesForVisualSelection): Implemented.
1707
1708 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1709
1710         * sun/reflect/annotation/AnnotationParser.java,
1711         * sun/reflect/annotation/AnnotationType.java,
1712         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1713         * sun/reflect/annotation/ExceptionProxy.java:
1714         Stubbed.
1715         * sun/misc/ServiceConfigurationError.java,
1716         * sun/misc/Service.java:
1717         Implemented.
1718         
1719 2006-11-21  Roman Kennke  <kennke@aicas.com>
1720
1721         * java/awt/text/TextLayout.java
1722         (Run.isLeftToRight): New helper method.
1723         (logicalToVisual): New field. Maps logical indices to visual
1724         indices.
1725         (visualToLogical): New field. Maps visual indices to logical
1726         indices.
1727         (TextLayout): Setup mappings.
1728         (setupMappings): New method for setting up the mappings.
1729         (getCharacterLevel): Reorganized code.
1730         (getNextLeftHit(int)): Implemented.
1731         (getNextLeftHit(int,CaretPolicy)): New method.
1732         (getNextLeftHit(TextHitInfo)): Implemented.
1733         (getNextRightHit(int)): Implemented.
1734         (getNextRightHit(int,CaretPolicy)): New method.
1735         (getNextRightHit(TextHitInfo)): New method.
1736         (getVisualOtherHit): Implemented.
1737         (checkHitInfo): New helper methods for checking parameters.
1738         (hitToCaret): New helper method. Maps hit infos to caret locations.
1739         (caretToHit): New helper method. Maps caret locations to hit infos.
1740         (isCharacterLTR): New helper method.
1741         (CaretPolicy.getStrongCaret): Implemented.
1742
1743 2006-11-21  Francis Kung  <fkung@redhat.com>
1744
1745         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1746         (draw): Include stroke width when calculating bounds.
1747         (updateBufferedImage): Round bounds more generously, handle negative
1748         height/width values, and clip more intelligently.
1749         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1750         (createPath): Add shortcut optimization for lines.
1751         (draw): Include stroke width when calculating bounds.
1752         (drawLine): Delegate to main draw() method.
1753         (drawRect): Likewise.
1754         (fillRect): Delegate to main fill() method.
1755         (findStrokedBounds): New method.
1756         (setCustomPaint): Round bounds more generously.
1757         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1758         (drawLine): Removed.
1759         (drawRect): Removed.
1760         (fillRect): Removed.
1761
1762 2006-11-21  Francis Kung  <fkung@redhat.com>
1763
1764         * gnu/java/awt/java2d/TexturePaintContext.java
1765         (getRaster): Handle negative coordinate values.
1766         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1767         (setPaint): Moved custom paint processing to a new method.
1768         (setPaintPixels): Added x, y parameters.
1769         (getRealBounds): Added documentation.
1770         (copy): Copy clipping information.
1771         (drawLine): Process custom paints.
1772         (setCustomPaint): New method.
1773         (fill): Process custom paints.
1774         (drawGlyphVector): Process custom paints.
1775         (drawRect): Process custom paints.
1776         (draw): Process custom paints.
1777         * gnu/java/awt/peer/gtk/CairoSurface.java
1778         (cairoCM_opaque): New constant.
1779         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1780         (argb32): Removed constant.
1781         (rgb32): Removed constant.
1782         (BufferedImageGraphics(BufferedImage)): Updated constant names.
1783         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1784         (updateBufferedImage): Transform to device-space before updating.
1785         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1786         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1787         parameters.
1788         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1789         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1790         source at designated x, y origin.
1791
1792 2006-11-21  Roman Kennke  <kennke@aicas.com>
1793
1794         * java/awt/text/TextLayout.java
1795         (Run): New inner helper class.
1796         (length): New field.
1797         (naturalBounds): New field.
1798         (offset): New field.
1799         (runIndices): Removed. This is now encapsulate in a Run object.
1800         (runs): Changed to Run[].
1801         (string): Changed to char[].
1802         (totalAdvance): New field. Caches advance value.
1803         (TextLayout(String,Font,FontRenderContext)): Change to store
1804         string as char[] and run layout as Run[]. Clean out empty
1805         run items.
1806         (TextLayout(TextLayout,int,int)): Change to store
1807         string as char[] and run layout as Run[].
1808         (clone): Call private constructor for maximum efficiency.
1809         (determineWhitespace): Adapted to use char[] data.
1810         (draw): Adapted to use Run objects.
1811         (getAdvance): Cache computed total advance.
1812         (getBlackBoxBounds): Adapted to use Run objects.
1813         (getCaretInfo): Use natural layout bounds.
1814         (getCharacterCount): Return length field.
1815         (getLogicalHighlightShape): Adapted to use Run objects.
1816         (getNaturalBounds): New helper method. Calculates and returns the
1817         natural bounds of this text layout.
1818         (getOutline): Adapted to use Run objects.
1819         (getStringProperties): Adapted to use char[] data.
1820         (getVisibleAdvance): Adapted to use char[] and Run data.
1821         (handleJustify): Adapted to use char[] and Run data.
1822         (hitTestChar(float,float,Rectangle2D)): Implemented.
1823         (hitTestChar(float,float)): Use natural bounds.
1824         (setCharIndices): Adapted to use char[] and Run data.
1825         (toString): Adapted to use char[] and Run data.
1826         * java/text/Bidi.java
1827         (requiresBidi): Exclude paragraph separators from bidi-triggers.
1828
1829 2006-11-21  Roman Kennke  <kennke@aicas.com>
1830
1831         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1832         Removed. This is now an inner class in GdkFontPeer.
1833         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1834         (drawString(float,float)): Use text layout cache from
1835         GdkFontPeer.
1836         (getFontMetrics): Delegate to GdkFontPeer.
1837         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1838         (getGlyphCodes): Also check array size.
1839         (getGlyphPositions): Also check array size.
1840         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1841         (GdkFontLineMetrics.fm): Removed.
1842         (GdkFontLineMetrics.strikeThroughOffset): Removed.
1843         (GdkFontLineMetrics.strikeThroughThickness): Removed.
1844         (GdkFontLineMetrics.underlineOffset): Removed.
1845         (GdkFontLineMetrics.underlineThickness): Removed.
1846         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1847         FontMetrics argument. Don't init removed fields.
1848         (GdkFontLineMetrics.getAscent): Return font peer's field.
1849         (GdkFontLineMetrics.getDescent): Return font peer's field.
1850         (GdkFontLineMetrics.getHeight): Return font peer's field.
1851         (GdkFontLineMetrics.getLeading): Return font peer's field.
1852         (GdkFontLineMetrics.getNumChars): Reformat.
1853         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1854         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1855         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1856         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1857         (GdkFontMetrics): Moved class in here as inner class. 
1858         Make it use the font peer's fields and for the char(s) width
1859         and string width method, use TextLayout to measure the actual widths.
1860         (ascent): New field.
1861         (bundle): Removed.
1862         (DEFAULT_CTX): New constant field.
1863         (descent): New field.
1864         (FONT_METRICS_ASCENT): New constant.
1865         (FONT_METRICS_DESCENT): New constant.
1866         (FONT_METRICS_HEIGHT): New constant.
1867         (FONT_METRICS_MAX_ADVANCE): New constant.
1868         (FONT_METRICS_MAX_ASCENT): New constant.
1869         (FONT_METRICS_MAX_DESCENT): New constant.
1870         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1871         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1872         (height): New field.
1873         (maxAdvance): New field.
1874         (maxAscent): New field.
1875         (maxDescent): New field.
1876         (metrics): New field. Stores a FontMetrics for this font.
1877         (textLayoutCache): New field. Caches TextLayout instances.
1878         (underlineOffset): New field.
1879         (underlineThickness): New field.
1880         (cinit): Don't initialize resource bundle.
1881         (GdkFontPeer): Setup the metrics.
1882         (getFontMetrics): Return stored metrics if possible.
1883         (getLineMetrics): Adapt to new constructor.
1884         (initFont): New helper method.
1885         (setupMetrics): New helper method.
1886         * gnu/java/awt/peer/gtk/GtkToolkit.java
1887         (LRUCache): Made class a static class.
1888         (getFontMetrics): Delegate to GdkFontPeer.
1889         * native/jni/gtk-peer/gdkfont.h
1890         Added new constant defines.
1891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1892         (getFontMetrics): Rewritten to fetch the font metrics from
1893         FreeType.
1894
1895 2006-11-20  Tania Bento  <tbento@redhat.com>
1896
1897         * javax/swing/ButtonGroup.java:
1898         (setSelected): Select the ButtonModel if all conditions
1899         are met.
1900
1901 2006-11-20  Tania Bento  <tbento@redhat.com>
1902
1903         * javax/swing/JSlider.java:
1904         (updateLabelUIs): Removed casting.
1905
1906 2006-11-20  Mark Wielaard  <mark@klomp.org>
1907
1908         * gnu/java/util/regex/RE.java (messages): Don't initialize.
1909         (bundle): New static final String field.
1910         (getLocalizedMessage): Initialize messages when still null.
1911         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1912         (set): Use RE.getLocalizedMessage().
1913         (clear): Likewise.
1914         (setLineSeparator): Likewise.
1915
1916 2006-11-20  Roman Kennke  <kennke@aicas.com>
1917
1918         * javax/swing/text/html/StyleSheet.java
1919         (linked): New field.
1920         (styleSheet): Replaced by linked.
1921         (addStyleSheet): Use an arraylist for simplicity.
1922         (getRule): Removed useless instantiation.
1923         (getStyleSheets): Convert array list to array.
1924         (removeStyleSheet): Use an arraylist for simplicity.
1925         (resolveStyle): Include styles from linked lists.
1926
1927 2006-11-20  Roman Kennke  <kennke@aicas.com>
1928
1929         * javax/swing/text/BoxView.java
1930         (BoxView): Initialize with invalid req's.
1931         (forwardUpdate): Trigger repaint when children changed the
1932         major axis.
1933         (getResizeWeight): Return resizable when the pref differs from
1934         the min or the pref differs from the max size.
1935         (layoutMajorAxis): Actually sum up the preferred sizes.
1936         (paint): Made binary search more robust.
1937         (replace): Let arrays shrink when needed.
1938         (replaceLayoutArray): Let arrays shrink when needed.
1939         (setAxis): Trigger preferenceChanged.
1940         * javax/swing/text/CompositeView.java
1941         (getInsideAllocation): Call insets method to take account
1942         of overriding subclasses.
1943         * javax/swing/text/DefaultStyledDocument.java
1944         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1945         (ElementBuffer.insertUpdate): Only remove the found element, not
1946         all.
1947         * javax/swing/text/GlyphView.java
1948         (insertUpdate): Pass null in preferenceChanged.
1949         (removeUpdate): Pass null in preferenceChanged.
1950         (changedUpdate): Pass null in preferenceChanged.
1951         * javax/swing/text/Utilities.java
1952         (drawTabbedText): Avoid single calls to charWidth() and instead
1953         call charsWidth() on whole chunks.
1954         * javax/swing/text/html/HTMLDocument.java
1955         (BlockElement.getName): Fall back to super when necessary.
1956         (RunElement.getName): Fall back to super when necessary.
1957         (HTMLReader.MAX_THRESHOLD): New constant field.
1958         (HTMLReader.GROW_THRESHOLD): New constant field.
1959         (HTMLReader.theshold): New field.
1960         (HTMLReader.HTMLReader): Fetch threshold from document.
1961         (HTMLReader.addContent): Sucessivly grow the threshold.
1962         (createLeafElement): Don't create two elemens and don't set
1963         attribute.
1964         * javax/swing/text/html/TableView.java
1965         (RowView.replace): Invalidate grid.
1966         (gridValid): Made package private.
1967         (layoutMinorAxis): Mark all rows as invalid.
1968         (replace): Invalidate grid.
1969
1970 2006-11-20  Roman Kennke  <kennke@aicas.com>
1971
1972         * javax/swing/text/AbstractDocument.java
1973         (DefaultDocumentEvent.changes): Changed to be a HashMap.
1974         (DefaultDocumentEvent.modified): Made private.
1975         (DefaultDocumentEvent.THRESHOLD): New constant field.
1976         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
1977         changes table.
1978         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
1979         exceeding threshold.
1980         (DefaultDocumentEvent.getChange): Use iterative approach
1981         when we have no hashmap yet.
1982         (documentCV): Removed.
1983         (numWriters): Renamed from numWritersWaiting.
1984         (createPosition): Reformat.
1985         (getCurrentWriter): Synchronized.
1986         (readLock): Implement more straightforward.
1987         (readUnlock): Implement more straightforward.
1988         (writeLock): Implement more straightforward.
1989         (writeUnlock): Implement more straightforward.
1990         (remove): Write-lock here.
1991         (removeImpl): Don't write-lock here.
1992
1993 2006-11-20  Roman Kennke  <kennke@aicas.com>
1994
1995         * javax/swing/JEditorPane.java
1996         (setPage): Set priority on loading thread.
1997
1998 2006-11-20  Roman Kennke  <kennke@aicas.com>
1999
2000         * javax/swing/plaf/basic/BasicTextUI.java
2001         (RootView.paint): Avoid allocation.
2002         (cachedInsets): New field. Caches an Insets instance.
2003         (getNextVisualPositionFrom): Read-lock the document to avoid
2004         thread nastiness. Push allocation.
2005         (getPreferredSize): Push fake allocation when not yet laid out.
2006         (getVisibleEditorRect): Use cached insets.
2007         (viewToModel): Read-lock the document to avoid
2008         thread nastiness. Push allocation.
2009
2010 2006-11-20  Roman Kennke  <kennke@aicas.com>
2011
2012         * javax/swing/text/StyleContext.java
2013         (attributeSetPool): Synchronize this map.
2014         (addAttribute): Synchronize this method.
2015         (addAttributes: Synchronize this method.
2016         (readObject): Install synchronized map on target object.
2017         (removeAttribute): Synchronize this method.
2018         (removeAttributes): Synchronize this method.
2019         (removeAttributes): Synchronize this method.    
2020         
2021 2006-11-20  Roman Kennke  <kennke@aicas.com>
2022
2023         * javax/swing/text/GapContent.java
2024         (GapContentPosition.GapContentPosition): Removed constructor.
2025         (Mark): Made subclass of WeakReference to refer directly to
2026         the associated position.
2027         (Mark.refCount): Removed.
2028         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2029         New constructor. Used to reference a position and register the
2030         reference queue.
2031         (Mark.Mark(index)): Call super and don't adjust mark offset.
2032         (Mark.compareTo): Removed.
2033         (Mark.equals): Removed.
2034         (Mark.getOffset): Return at least null. Removed assert.
2035         (Mark.getPosition): New helper method.
2036         (garbageMarks): New field.
2037         (positions): Removed.
2038         (searchMark): New field.
2039         (GapContent): Removed init of positions map.
2040         (addImpl): New helper method.
2041         (adjustPositionsInRange): Removed.
2042         (compare): New helper method.
2043         (createPosition): Rewritten for new datastructures. This now
2044         performs a much more efficient binary search for finding
2045         a position at the requested offste.
2046         (garbageCollect): Rewritten to collect unused marks.
2047         (getPositionsInRange): Adjusted for new data structures.
2048         (removeImpl): New helper method.
2049         (replace): Use new addImpl() and removeImpl() helper method for
2050         correctly adjusting the positions and gap.
2051         (search): Rewritten. Implements a more suitable binary search.
2052         (searchFirst): New helper method.
2053         (setPositionsInRange): Removed.
2054         (shiftEnd): Update the marks here.
2055         (shiftGap): Update the marks here.
2056         (shiftGapEndUp): Update the marks here.
2057         (shiftGapStartDown): Update the marks here.
2058
2059 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2060
2061         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2062         digest algorithm implementations.
2063         (readSignatures): Parse the manifest once and reuse that data.
2064         Add support for line breaks.
2065         (verifyHashes): Use the parsed manifest entry.
2066         (readManifestEntry): Removed.
2067
2068 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2069
2070         * java/beans/beancontext/BeanContextServicesSupport.java:
2071         Added more documentation.
2072         (addService(Class,BeanContextServiceProvider,boolean)):
2073         Synchronized over global hierarchy lock.
2074         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2075         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2076         (childJustRemovedHook(Object,BCSChild)): Implemented.
2077         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2078         Implemented.
2079         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2080         Added revocation-only listeners.
2081         (getBeanContextServicesPeer()): Implemented.
2082         (getCurrentServiceClasses(Class)): Synchronized over global
2083         hierarchy lock.
2084         (getCurrentServiceSelectors(Class)): Synchronized over global
2085         hierarchy lock, and fixed FIXME.
2086         (getService(BeanContextChild,Object,Class,Object,
2087         BeanContextServiceRevokedListener)): Implemented.
2088         (hasService(Class)): Synchronized over global hierarchy lock.
2089         (releaseService(BeanContextChild,Object,Object)): Implemented.
2090         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2091         * java/beans/beancontext/BeanContextSupport.java:
2092         (remove(Object, boolean)): Documentation correction.
2093         
2094 2006-11-19  Roman Kennke  <kennke@aicas.com>
2095
2096         * javax/swing/JEditorPane.java
2097         (PageStream): New inner class.
2098         (PageLoader): New inner class.
2099         (loading): New field.
2100         (setPage): Implemented asynchronous loading.
2101         * javax/swing/text/DefaultStyledDocument.java
2102         (ElementBuffer.create): New helper method.
2103         (create): Use new ElementBuffer method instead of hack.
2104         * javax/swing/text/html/HTMLDocument.java
2105         (HTMLReader.flushImpl): New helper method.
2106         (HTMLReader.addContent): Use flushImpl().
2107         (HTMLReader.blockClose): Added null check.
2108         (HTMLReader.flush): Use flushImpl().
2109         * javax/swing/text/html/HTMLEditorKit.java
2110         (createDefaultDocument): Set load priority to 4 and token threshold
2111         to 100.
2112         * javax/swing/text/html/TableView.java
2113         (insertUpdate): Overridden to provide correct view factory.
2114         (removeUpdate): Overridden to provide correct view factory.
2115         (changedUpdate): Overridden to provide correct view factory.
2116
2117 2006-11-19  Roman Kennke  <kennke@aicas.com>
2118
2119         * javax/swing/text/BoxView.java
2120         (clipRect): New field.
2121         (tmpRect): New field.
2122         (layout): Reorganized code. Now uses layoutAxis() helper method.
2123         (layoutAxis): New helper method.
2124         (paint): Optimized by using cached Rectangle objects and
2125         a binary search for child views inside the clip.
2126         * javax/swing/text/CompositeView.java
2127         (insideAllocation): Made private and initialized in constructor.
2128         (getInsideAllocation): Removed initialization block for
2129         insideAllocation field. Avoid unnecessary allocations.
2130         * javax/swing/text/GlyphView.java
2131         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2132         The remaining stuff (background, underline and striking) is
2133         done in the GlpyhView itself. Avoid unnecessary allocations.
2134         (cached): A cached Segment instance.
2135         (getText): Return cached segment.
2136         (paint): Paint underline, strike and background here. Avoid
2137         unecessary allocs.
2138
2139 2006-11-19  Roman Kennke  <kennke@aicas.com>
2140
2141         * javax/swing/text/html/StyleSheet.java
2142         (getFontSize): Removed debug output.
2143         (ListPainter.tmpRect): New field.
2144         (ListPainter.paint): Align bullet vertically centered to
2145         the first line of the paragraph.
2146
2147 2006-11-17  Roman Kennke  <kennke@aicas.com>
2148
2149         * gnu/javax/swing/text/html/css/CSSParser.java
2150         (parseDeclaration): Trim string before reporting.
2151         * gnu/javax/swing/text/html/css/FontSize.java
2152         (size): New field.
2153         (isRelative): New field.
2154         (sizeIndex): New field.
2155         (FontSize): Initialize new fields.
2156         (getValue): Changed to call getValue(int).
2157         (getValue(int)): New method. Implements relative font sizes.
2158         (isRelative): New method.
2159         (mapAbsolute): Store index.
2160         (mapEM): New helper method.
2161         (mapLarger): New helper method.
2162         (mapPercent): New helper method.
2163         (mapRelative): New helper method.
2164         (mapSmaller): New helper method.
2165         (mapValue): New helper method.
2166         * javax/swing/text/html/CSS.java
2167         (parseBackgroundShorthand): Create CSSColor directly.
2168         * javax/swing/text/html/StyleSheet.java
2169         (addRule): Invalidate resolved styles.
2170         (getFont): Call new getFontSize() method to resolve relative
2171         font sizes.
2172         (getFontSize): New helper method. Resolves relative font sizes.
2173         (translateHTMLToCSS): Create CSS objects directly.
2174
2175 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2176
2177         * gnu/java/util/regex/RETokenNamedProperty.java:
2178         (getHandler(String)): Add support for 'all'.
2179
2180 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2181
2182         * gnu/javax/management/Server.java:
2183         Initial implementation of a GNU management server.
2184         * javax/management/MBeanPermission.java,
2185         * javax/management/MBeanRegistration.java,
2186         * javax/management/MBeanTrustPermission.java:
2187         Implemented.
2188         
2189 2006-11-17  Mark Wielaard  <mark@klomp.org>
2190
2191         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2192
2193 2006-11-17  Gary Benson  <gbenson@redhat.com>
2194
2195         * java/net/DatagramSocket.java (getLocalAddress, connect,
2196         receive): Perform security check on address not hostname.
2197
2198 2006-11-16  Roman Kennke  <kennke@aicas.com>
2199
2200         * gnu/javax/swing/text/html/parser/support/Parser.java
2201         (_handleText): Fixed condition for consuming whitespace.
2202         Removed validator check, this is superfluous now.
2203
2204 2006-11-16  Roman Kennke  <kennke@aicas.com>
2205
2206         * gnu/javax/swing/text/html/css/CSSParser.java
2207         (parseRuleset): Support 'combined' selectors.
2208         (main): Adapt callback for combined selectors support.
2209         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2210         (startStatement): Take selector array as argument, to
2211         support combined selectors.
2212         * javax/swing/text/html/BlockView.java
2213         (calculateMinorAxisRequirements): Fetch and apply alignment.
2214         * javax/swing/text/html/StyleSheet.java
2215         (CSSStyle): Inverted the constants for correct precedence.
2216         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2217         styles.
2218         (CSSStyleSheetParserCallback.style): Removed.
2219         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2220         (CSSStyleSheetParserCallback.end): Push multiple styles.
2221         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2222
2223 2006-11-16  Roman Kennke  <kennke@aicas.com>
2224
2225         * javax/swing/text/FlowView.java
2226         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2227         * javax/swing/text/GlyphView.java
2228         (tabExpander): New field.
2229         (tabX): New field.
2230         (breakView): Set tabX on broken view.
2231         (getPartialSpan): Let the painter fetch the span.
2232         (getTabbedSpan): Update the tab expander field. Maybe trigger
2233         relayout.
2234         (getTabExpander): Simply return the stored expander.
2235         * javax/swing/text/Utilities.java
2236         (getTabbedTextOffset): Made algoritm a little smarter and more
2237         efficient.
2238         (getTabbedTextWidth): Don't add single char widths, instead add
2239         chunks of characters.
2240         * javax/swing/text/html/ParagraphView.java
2241         (calculateMinorAxisRequirements): Adjust margin only when the
2242         CSS span is not fixed.
2243
2244 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2245
2246         * java/beans/beancontext/BeanContextSupport.java
2247         (getChildBeanContextMembershipListener): Implemented,
2248         (getChildPropertyChangeListener): Implemented,
2249         (getChildSerializable): Implemented,
2250         (getChildVetoableChangeListener): Implemented,
2251         (getChildVisibility): Implemented,
2252         (setDesignTime): Use same property name as Sun's implementation.
2253
2254 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2255
2256         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2257         * java/beans/Statement.java
2258         (toString): Updated to match reference implementation.
2259
2260 2006-11-15  Roman Kennke  <kennke@aicas.com>
2261
2262         * javax/swing/text/html/HTMLEditorKit.java
2263         (InsertHTMLTextAction.actionPerformed): Also try inserting
2264         the alternate tag. Adjust the selection accordingly.
2265         (InsertHTMLTextAction.adjustSelection): New helper method.
2266         Adjusts the selection after an insertion.
2267         (insertAtBoundary): Delegate to deprecated method.
2268         (insertAtBoundry): Implemented missing method.
2269         (tryInsert): New helper method.
2270         (defaultActions): Implemented to fill the array with
2271         a couple of InsertHTMLTextActions.
2272
2273 2006-11-15  Roman Kennke  <kennke@aicas.com>
2274
2275         * javax/swing/text/html/ImageView.java
2276         (Observer): New class. Observes image loading.
2277         (haveHeight): New field.
2278         (haveWidth): New field.
2279         (height): New field.
2280         (width): New field.
2281         (image): New field.
2282         (imageIcon): New field.
2283         (loading): New field.
2284         (observer): New field.
2285         (reloadImage): New field.
2286         (reloadProperties): New field.
2287         (ImageView): Initialize observer and some flags.
2288         (getImage): Update the image state and return the image.
2289         (loadImage): New helper method. Actually starts loading.
2290         (paint): Rewritten to paint the image directly, not via Icon.
2291         (reloadImage): Rewritten. Loads the image and its properties.
2292         (renderIcon): Removed. No more necessary.
2293         (setPropertiesFromAttributes): Don't nullify image here.
2294         Added comment about missing impl.
2295         (setSize): Added comment about missing impl.
2296         (updateSize): New helper method. Updates the size attributes.
2297         (updateState): New helper method. Makes sure the image
2298         and its properties are valid.
2299
2300 2006-11-15  Roman Kennke  <kennke@aicas.com>
2301
2302         * gnu/javax/swing/text/html/parser/support/Parser.java
2303         (_handleEndTag_remaining): Consume whitespace after a closing
2304         block like tag.
2305
2306 2006-11-15  Roman Kennke  <kennke@aicas.com>
2307
2308         * javax/swing/text/html/HTMLDocument.java
2309         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2310         directly.
2311         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2312         directly.
2313         (HTMLReader.parseStack): Removed.
2314         (HTMLReader.blockClose): Simply call addContent() with ' '
2315         instead of doing more complicated stuff. Removed parseStack
2316         handling.
2317         (HTMLReader.blockOpen): Removed parseStack handling.
2318         (getInsertingReader): Removed parseStack init.
2319         * gnu/javax/swing/text/html/parser/htmlValidator.java
2320         (closeTag): Return true only when the tag actually should be
2321         closed.
2322         * gnu/javax/swing/text/html/parser/support/Parser.java
2323         (_handleEndTag): Only actually close the tag when the validator
2324         allows it.
2325
2326 2006-11-15  Roman Kennke  <kennke@aicas.com>
2327
2328         * javax/swing/text/html/CSS.java
2329         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2330         attribute.
2331         * javax/swing/text/html/StyleSheet.java
2332         (BoxPainter.bottomPadding): New field.
2333         (BoxPainter.leftPadding): New field.
2334         (BoxPainter.rightPadding): New field.
2335         (BoxPainter.topPadding): New field.
2336         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2337         too.
2338         (BoxPainter.getInset): Recognize and include the padding.
2339         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2340          javax/swing/text/html/TableView.java
2341         (RowView.calculateMajorAxisRequirements): Adjust req's for
2342         cellSpacing.
2343         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2344         (cellSpacing): New field.
2345         (columnRequirements): Made package private to avoid accessor method.
2346         (calculateMinorAxisRequirements): Include cellSpacing.
2347         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2348         (layoutMajorAxis): Likewise.
2349         (layoutColumns): Respect cellSpacing.
2350         (setParent): Overridden to fetch the CSS attributes when view gets
2351         connected.
2352         (setPropertiesFromAttributes): New method. Fetches the cell
2353         spacing from the CSS attributes.
2354
2355 2006-11-15  Roman Kennke  <kennke@aicas.com>
2356
2357         * gnu/javax/swing/text/html/parser/support/Parser.java
2358         (_handleText): Consume whitespace directly before a closing tag.
2359         (restOfTag): Consume whitespace directly after opening.
2360         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2361         (preprocess): Don't perform array boundary checking by
2362         catch AIOOBE, instead check the boundary in loop condition.
2363         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2364         (TAG_CLOSE): New constants. Describes the token pattern for
2365         a closing tag.
2366
2367 2006-11-14  Roman Kennke  <kennke@aicas.com>
2368
2369         * javax/swing/text/html/ImageView.java
2370         (getPreferredSpan): Use CSS length values.
2371         * javax/swing/text/html/TableView.java
2372         (CellView.calculateMajorAxisRequirements): Overridden to
2373         set the maximum reqs to maximum.
2374         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2375         span to maximum.
2376         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2377         the total column reqs.
2378         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2379         the total column reqs.
2380         * gnu/javax/swing/text/html/css/CSSColor.java
2381         (convertValue): Catch NumberFormatExceptions for more robustness.
2382         * gnu/javax/swing/text/html/css/FontSize.java
2383         (mapPixels): Actually map px values. Catch NFE for more robustness.
2384
2385 2006-11-14  Roman Kennke  <kennke@aicas.com>
2386
2387         * gnu/java/awt/font/autofit/AxisHints.java,
2388         * gnu/java/awt/font/autofit/Constants.java,
2389         * gnu/java/awt/font/autofit/GlyphHints.java,
2390         * nu/java/awt/font/autofit/Latin.java,
2391         * nu/java/awt/font/autofit/LatinAxis.java,
2392         * gnu/java/awt/font/autofit/LatinMetrics.java,
2393         * gnu/java/awt/font/autofit/Scaler.java,
2394         * gnu/java/awt/font/autofit/Script.java,
2395         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2396         * gnu/java/awt/font/autofit/Segment.java,
2397         * gnu/java/awt/font/autofit/Width.java:
2398         New classes. This is some skeleton stuff for the FreeType-alike
2399         auto-gridfitter.
2400         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2401         * gnu/java/awt/font/opentype/OpenTypeFont.java
2402         (unitsPerEm): Made field public.
2403         (getRawGlyphOutline): New method. Fetches the raw outline.
2404         * gnu/java/awt/font/opentype/Scaler.java
2405         (getRawGlyphOutline): New method. Fetches the raw outline.
2406         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2407         (loadGlyph): New method. This is used to load raw outlines.
2408         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2409         (getRawOutline): New method. Fetches the raw outline.
2410         * gnu/java/awt/font/opentype/truetype/Zone.java:
2411         Made class public.
2412
2413 2006-11-14  Roman Kennke  <kennke@aicas.com>
2414
2415         * javax/swing/RepaintManager.java
2416         (RepaintManager): Fetch the default state for the double buffering
2417         from a system property gnu.swing.doublebuffering.
2418
2419 2006-11-14  Roman Kennke  <kennke@aicas.com>
2420
2421         * javax/swing/plaf/basic/BasicLabelUI.java
2422         (cachedInsets): New field.
2423         (getFontMetrics): New helper method. Fetches the font metrics
2424         from the component or the toolkit.
2425         (getPreferredSize): Use getFontMetrics() helper method for
2426         fetching the font metrics.
2427         (paint): Use getFontMetrics() helper method for
2428         fetching the font metrics. Only paint if icon or text
2429         are != null. Use cached insets.
2430         (paintDisabledText): Don't store/restore color object. The
2431         JComponent painting mechanism takes care of this by calling
2432         create().
2433         (paintEnabledText): Don't store/restore color object. The
2434         JComponent painting mechanism takes care of this by calling
2435         create().
2436
2437 2006-11-14  Roman Kennke  <kennke@aicas.com>
2438
2439         * gnu/java/awt/peer/GLightweightPeer.java
2440         (handleEvent): Try to do something reasonable and trigger painting
2441         for the lightweight component.
2442         (getFontMetrics): Fetch and return a font metrics object from
2443         the Toolkit.
2444
2445 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2446
2447         * gnu/java/util/regex/RETokenNamedProperty.java:
2448         (getHandler(String)): Add support for 'all'.
2449         
2450 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2451
2452         * AUTHORS: Add myself.
2453
2454 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2455
2456         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2457         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2458         Roman Kennke's entry.
2459
2460 2006-11-13  Roman Kennke  <kennke@aicas.com>
2461
2462         * java/awt/image/IndexColorModel.java
2463         (createCompatibleSampleModel): Implemented missing method.
2464
2465 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2466
2467         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2468         from big endian systems correctly.
2469
2470 2006-11-11  Roman Kennke  <kennke@aicas.com>
2471
2472         * gnu/javax/swing/text/html/css/CSSColor.java
2473         (isValidColor): New helper method. Checks strings if they
2474         form a valid color value.
2475         * gnu/javax/swing/text/html/css/Length.java
2476         (Length): Catch number format exceptions.
2477         * javax/swing/text/html/CSS.java
2478         (addInternal): New method. Checks for shorthand CSS attributes
2479         and parses them.
2480         (parseBackgroundShorthand): New method. Parses the background
2481         shorthand attribute.
2482         * javax/swing/text/html/HTMLDocument.java
2483         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2484         (HTMLReader.LinkAction.start): Implemented to load the linked
2485         stylesheet.
2486         (HTMLReader.LinkAction.end): Removed. This is not needed.
2487         * javax/swing/text/html/StyleSheet.java
2488         (CSSStyleSheetParserCallback.declaration): Push declaration
2489         through CSS.addInternal() to parse shorthand attributes.
2490         (addCSSAttribute): Push declaration through CSS.addInternal()
2491         to parse shorthand attributes.
2492         (importStyleSheet): Implemented. This adds a stylesheet from
2493         an URL.
2494         * javax/swing/text/html/TableView.java
2495         (calculateColumnRequirements): Increase column index for
2496         non CellView children to avoid endless loop.
2497         * javax/swing/text/CompositeView.java
2498         (setParent): Comparen with numChildren not with real arraylength.
2499
2500 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2501
2502         * java/beans/beancontext/BeanContextSupport.java
2503         (getChildBeanContextChild): Implemented.
2504
2505 2006-11-10  Roman Kennke  <kennke@aicas.com>
2506
2507         * javax/swing/text/View.java
2508         (updateLayout): Only repaint when needed.
2509
2510 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2511
2512         * java/util/Collections.java
2513         (sort(List)): Minor API doc addition,
2514         (sort(List, Comparator)): Likewise.
2515
2516 2006-11-10  David Fu  <fchoong@netbeans.jp>
2517
2518         * javax/swing/text/html/HTMLWriter.java
2519         (traverse): Removed Classpath specific handling of implied
2520         tags.
2521         (traverseHtmlFragment): Removed Classpath specific handling of
2522         implied tags.
2523
2524 2006-11-10  Roman Kennke  <kennke@aicas.com>
2525
2526         * javax/swing/text/ParagraphView.java
2527         (Row.getMaximumSize): Removed. This method is not necessary.
2528         * javax/swing/text/html/TableView.java
2529         (CellView): Moved attribute init to setPropertiesFromAttributes().
2530         (setPropertiesFromAttributes): Fetch attributes here.
2531         (RowView.RowView): Documented.
2532         (RowView.getMaximumSpan): Overridden to restrict the max span
2533         in the Y direction.
2534         (RowView.layoutMajorAxis): Correctly layout the spans.
2535         (columnWidths): New field. Stores the width attributes of
2536         the columns.
2537         (calculateColumnRequirements): Added support for relative
2538          (== percent) width attributes.
2539         (calculateMajorAxisRequirements): Removed.
2540         (calculateMinorAxisRequirements): Removed unnecessary code.
2541         (getMaximumSpan): Overridden to restrict the table's width.
2542         (layoutColumns): Documented. Implement more clever table layout,
2543         i.e. for relative columns etc.
2544         (layoutMinorAxis): Don't mark rows invalid.
2545         (updateGrid): Added docs. Initialize column widths.
2546
2547 2006-11-09  Roman Kennke  <kennke@aicas.com>
2548
2549         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2550         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2551         Implement basic headless toolkit.
2552         * java/awt/Toolkit.java
2553         (getDefaultToolkit): Check headless property and create
2554         headless toolkit when true.
2555
2556 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2557 2006-11-09  Roman Kennke  <kennke@aicas.com>
2558
2559         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2560         (SwingButton.button): New field.
2561         (SwingButton.SwingButton): Added constructor.
2562         (SwingButton.isShowing): Access button field instead of
2563         the surrounding class.
2564         (SwingButton.getParent): Access button field instead of
2565         the surrounding class.
2566         (SwingButtonPeer): Call new SwingButton constructor.
2567         * gnu/java/awt/peer/swing/SwingComponent.java:
2568         Several documentation updates.
2569         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2570         (currentPaintEvents): New field.
2571         (peerFont): New field.
2572         (SwingComponentPeer): Initialize currentPaintEvents fields.
2573         (coalescePaintEvents): Implemented.
2574         (dispose): Unregister peer from heavyweight list of its container.
2575         (getGraphics): Fetch graphics from parent component.
2576         (handleEvent): Discard paint event if its coalesced.
2577         (init): Register component with its container for proper painting.
2578         (paint): Call peerPaint().
2579         (peerPaint): Added argument that indicates if we should update.
2580         Call paint or update on the actual AWT component.
2581         (peerPaintComponent): New method. Paints the peer (Swing) component.
2582         (setFont): Set peerFont field.
2583         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2584         (backbuffer): New field.
2585         (focusOwner): New field.
2586         (heavyweightDescendents): New field.
2587         (SwingContainerPeer): Take Container as argument. Don't call init
2588         yet.
2589         (addHeavyweightDescendent): New method.
2590         (getFocusOwner): New helper method.
2591         (getInsets): Delegate to insets().
2592         (handleKeyEvent): Dispatch event to focus owner.
2593         (handleMouseEvent): Dispatch to child component.
2594         (isDoubleBuffering): New helper method.
2595         (peerPaint): Overridden to implement container painting with
2596         double buffering.
2597         (peerPaintChildren): New method. Paints the descendents of this
2598         container.
2599         (removeHeavyweightDescendent): New helper method.       
2600         * gnu/java/awt/peer/swing/SwingFramePeer.java
2601         (peerPaint): Removed.
2602         (peerPaintComponent): Overridden to paint the menu bar.
2603         * gnu/java/awt/peer/swing/SwingLabelPeer.java
2604         (SwingLabel.label): New field.
2605         (SwingLabel.SwingLabel): Added constructor with Label argument.
2606         (SwingLabel.getGraphics): Implemented to fetch the graphics from
2607         the actual AWT component.
2608         (SwingLabel.getParent): Implemented to fetch the parent from
2609         the AWT component.
2610         (SwingLabel.isShowing): Access the label field.
2611         (SwingLabelPeer): Set alignment from label.
2612         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2613         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2614         fixlet.
2615         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2616         Don't be a lighweight peer.
2617         (SwingPanelPeer): Call init.
2618         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2619         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2620         (SwingTextField.textField): New field.
2621         (SwingTextField.SwingTextField): New constructor.
2622         (SwingTextField.isShowing): Access field not enclosing class.
2623         (SwingTextField.getGraphics): New method.
2624         (SwingTextField.getParent): New method.
2625         (SwingTextFieldPeer): Call new constructor.
2626         (select): Renamed arguments.
2627         * gnu/java/awt/peer/swing/SwingWindowPeer.java
2628         (SwingWindowPeer): Call init.
2629
2630 2006-11-09  Tania Bento  <tbento@redhat.com>
2631
2632         * javax/swing/JLabel.java
2633         (JLabel(Icon)): Changed documentation; Changed text to null.
2634         (JLabel(Icon,int)): Likewise.
2635         (JLabel(text)): Changed documenation.
2636         (JLabel(text,int)): Likewise.
2637         (JLabel(text,Icon,int)): Changed documentation; Throw 
2638         IllegalArgumentException if int is not one of LEFT, RIGHT,
2639         CENTER, LEADING or TRAILING.
2640
2641 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2642
2643         * java/beans/beancontext/BeanContextSupport.java
2644         (BeanContextSupport): Use correct dtime default,
2645         (BeanContextSupport(BeanContext)): Likewise,
2646         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2647         locale argument,
2648         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2649         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2650
2651 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2652
2653         * java/beans/beancontext/BeanContextSupport.java
2654         (getBeanContextPeer): Implemented.
2655
2656 2006-11-09  Roman Kennke  <kennke@aicas.com>
2657
2658         * javax/swing/text/html/BlockView.java
2659         (cssHeight): Removed.
2660         (cssWidth): Removed.
2661         (cssSpans): New field. Replaces the two fields above.
2662         (BlockView): Allocate cssSpans array.
2663         (layoutMinorAxis): Fetch and use child span, not this view's span.
2664         (setCSSSpan): Adjusted to use cssSpans array.
2665         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2666
2667 2006-11-09  Roman Kennke  <kennke@aicas.com>
2668
2669         * javax/swing/text/html/InlineView.java
2670         (nowrap): New field.
2671         (getBreakWeight): Add support for nowrap.
2672         (setPropertiesFromAttributes): Fetch the nowrap setting.
2673
2674 2006-11-09  Roman Kennke  <kennke@aicas.com>
2675
2676         * gnu/javax/swing/text/html/css/CSSParser.java
2677         (parseRuleset): Use new Selector class.
2678         (parseValue): Parse multiple anys, not only one.
2679         (main): Allow stylesheet be specified on the command line.
2680         Use new Selector class.
2681         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2682         (startStatement): Use Selector class.
2683         * gnu/javax/swing/text/html/css/CSSScanner.java
2684         (readName): Actually read a character in the loop to avoid
2685         endless loop.
2686         * gnu/javax/swing/text/html/css/Length.java
2687         (getValue): Only multiply when we have a percentage value.
2688         * gnu/javax/swing/text/html/css/Selector.java:
2689         New class. Provides handling of CSS selectors.
2690         * javax/swing/text/html/StyleSheet.java
2691         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2692         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2693         (CSSStyle.PREC_NORM): New constant field.
2694         (CSSStyle.PREC_UA): New constant field.
2695         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2696         (CSSStyle.precedence): New field.
2697         (CSSStyle.priority): Removed.
2698         (CSSStyle.selector): New field.
2699         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2700         and precendence.
2701         (CSSStyle.compareTo): Adjusted to use the precedence and
2702         specificity of the selector.
2703         (CSSStyleSheetParserCallback.precedence): New field.
2704         (CSSStyleSheetParserCallback.selector): Removed.
2705         (CSSStyleSheetParserCallback.style): New field.
2706         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2707         Initialize with precedence.
2708         (CSSStyleSheetParserCallback.declaration): Don't look up
2709         existing rule, simply create new one.
2710         (CSSStyleSheetParserCallback.endStatement): Append style
2711         to stylesheet.
2712         (CSSStyleSheetParserCallback.startStatement): Use new Selector
2713         class.
2714         (css): Changed to be ArrayList.
2715         (addRule): Create parser with author-normal precendence.
2716         (getRule): Fixed implementation.
2717         (loadRules): Create parser with UA precendence.
2718         (resolveStyle): Use Selector class for resolving and matching
2719         stylesheet rules.
2720         (translateHTMLToCSS): Added mappings for a couple of HTML
2721         attributes.
2722
2723 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2724
2725         Fixes bug #29770
2726         * java/beans/SimpleBeanInfo.java
2727         (loadImage): Check for nulls.
2728
2729 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2730
2731         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2732         (getpeername): Added 16 byte offset to memcpy operation.
2733
2734 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2735
2736         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2737         (getsockname): Added 16 byte offset to memcpy operation.
2738
2739 2006-11-08  Mark Wielaard  <mark@klomp.org>
2740
2741         Fixes bug #29754
2742         * java/io/OutputStreamWriter.java
2743         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2744         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2745
2746 2006-11-08  Roman Kennke  <kennke@aicas.com>
2747
2748         * javax/swing/text/html/HTMLEditorKit.java
2749         (getParser): Use plain HTML_401F DTD.
2750         * javax/swing/text/html/HTMLDocument.java
2751         (HTMLReader.print): Removed method and all calls to it.
2752         (HTMLReader.printBuffer): Removed method and all calls to it.
2753         (HTMLReader.inImpliedParagraph): New field.
2754         (HTMLReader.inParagraph): New field.
2755         (HTMLReader.addContent): Create implied p-tag if necessary.
2756         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2757         (HTMLReader.blockClose): Close implied p-tag if necessary.
2758         (HTMLReader.blockOpen): Close implied p-tag if necessary.
2759         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2760
2761 2006-11-08  Roman Kennke  <kennke@aicas.com>
2762
2763         * javax/swing/text/html/HTMLEditorKit.java
2764         (HTMLFactory.create): Removed mapping for TD tag. This
2765         is done in TableView.
2766         * javax/swing/text/html/TableView.java:
2767         Implemented from scratch.
2768
2769 2006-11-07  Roman Kennke  <kennke@aicas.com>
2770
2771         * gnu/javax/swing/text/html/parser/support/Parser.java
2772         (_handleText): Check if text content is actually allowed before
2773         passing empty text fragments on to the parser callbacks.
2774
2775 2006-11-07  Mark Wielaard  <mark@klomp.org>
2776
2777         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2778         path.
2779         (flat): New method.
2780
2781 2006-11-07  Tania Bento  <tbento@redhat.com>
2782
2783         * java/awt/FlowLayout.java
2784         (getSize): If parent does not have a component, then a 
2785         different formula is used to calcuate the width.
2786
2787 2006-11-07  Roman Kennke  <kennke@aicas.com>
2788
2789         * javax/swing/text/html/HTMLEditorKit.java
2790         (HTMLFactory.create): Include ListView.
2791         * javax/swing/text/html/ListView.java
2792         (paint): Removed comment.
2793         * javax/swing/text/html/StyleSheet.java
2794         (CSSStyle.priority): New field.
2795         (CSSStyle.CSSStyle(int)): New constructor with priority.
2796         (CSSStyle.compareTo): New method. Used for sorting the styles.
2797         (CSSStyleSheetParserCallback.declaration): Store the style
2798         with the complete selector.
2799         (ListPainter.attributes): Renamed as field.
2800         (ListPainter.styleSheet): New field.
2801         (ListPainter.type): New field.
2802         (ListPainter.ListPainter): Pass StyleSheet to constructor.
2803         (ListPainter.paint): Provide simplistic implementation.
2804         (getListPainter): Pass StyleSheet to constructor.
2805         (resolveStyle): Fixed CSS style resolving.
2806
2807 2006-11-07  Roman Kennke  <kennke@aicas.com>
2808
2809         * gnu/javax/swing/text/html/css/BorderWidth.java:
2810         New class. Handles CSS border width values.
2811         * gnu/javax/swing/text/html/css/Length.java
2812         (floatValue): Made protected so that BorderWidth can access it.
2813         * javax/swing/text/html/CSS.java
2814         (Attribute.BORDER_BOTTOM_COLOR): New static field.
2815         (Attribute.BORDER_BOTTOM_STYLE): New static field.
2816         (Attribute.BORDER_LEFT_COLOR): New static field.
2817         (Attribute.BORDER_LEFT_STYLE): New static field.
2818         (Attribute.BORDER_RIGHT_COLOR): New static field.
2819         (Attribute.BORDER_RIGHT_STYLE): New static field.
2820         (Attribute.BORDER_TOP_COLOR): New static field.
2821         (Attribute.BORDER_TOP_STYLE): New static field.
2822         (getValue): Added some mappings for the border color and
2823         border width values.
2824         * javax/swing/text/html/CSSBorder.java: New class. Implements
2825         CSS borders.
2826         * javax/swing/text/html/StyleSheet.java
2827         (BoxPainter.background): New field.
2828         (BoxPainter.border): New field.
2829         (BoxPainter.bottomInset): Documented.
2830         (BoxPainter.leftInset): Documented.
2831         (BoxPainter.rightInset): Documented.
2832         (BoxPainter.topInset): Documented.
2833         (BoxPainter.BoxPainter): Added support for borders and background.
2834         (BoxPainter.getInset): Add border insets.
2835         (BoxPainter.paint): Implemented. Paints the background and the
2836         CSS border.
2837         (addRule): Be less picky about parse and IO exceptions.
2838         (getBoxPainter): Adjust to new BoxPainter constructor.
2839
2840 2006-11-07  Andreas  <a.tobler@schweiz.org>
2841
2842         * examples/Makefile.am: Add rule to install the *.html files we use
2843         in the Swing Demo.
2844
2845 2006-11-06  Francis Kung  <fkung@redhat.com>
2846
2847         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2848         (fillRect): Handle custom composites.
2849         (drawRenderedImage): Handle custom composites.
2850         (drawImage): Handle custom composites.
2851         (createBuffer): New method.
2852         (drawLine): Handle custom composites.
2853         (drawComposite): New method.
2854         (fill): Handle custom composites.
2855         (getNativeCM): New method.
2856         (drawGlyphVector): Handle custom composites.
2857         (drawRect): Handle custom composites.
2858         (draw): Handle custom composites.
2859         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2860         (drawComposite): Unset composite during draw call, to prevent parent
2861         from handling composite again.
2862         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2863         (getBufferCM): Added comments.
2864         (getNativeCM): Made abstract.
2865         (setComposite): Removed comments.
2866
2867 2006-11-06  Roman Kennke  <kennke@aicas.com>
2868
2869         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2870         Fixed initial window size and start document.
2871
2872 2006-11-06  Roman Kennke  <kennke@aicas.com>
2873
2874         * javax/swing/text/html/HTMLDocument.java
2875         (HTMLReader.addSpecialElement): Removed comment about
2876         htmlAttributeSet.
2877         (HTMLReader.handleComment): Create SimpleAttributeSet instead
2878         of htmlAttributeSet.
2879         * javax/swing/text/html/parser/DocumentParser.java
2880         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2881         of htmlAttributeSet.
2882         * javax/swing/text/html/parser/ParserDelegator.java
2883         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2884         of htmlAttributeSet.
2885         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2886         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2887         of htmlAttributeSet.
2888         * gnu/javax/swing/text/html/parser/support/Parser.java
2889         (getAttributes): Return a SimpleAttributeSet.
2890         (restOfTag): Don't set resolving parent here.
2891
2892 2006-11-06  Tania Bento  <tbento@redhat.com>
2893
2894         * java/awt/TextComponent.java
2895         (setSelectionStart): Added check.
2896
2897 2006-11-06  Tania Bento  <tbento@redhat.com>
2898
2899         * java/awt/TextField.java
2900         (minimumSize(int)): Check if minimum size has been previously
2901         set and changed values of Dimension returned if peer == null.
2902         (preferredSize(int)): Check if preferred size has been previously
2903         set and changed values of Dimension returned if peer == null.
2904
2905 2006-11-06  Roman Kennke  <kennke@aicas.com>
2906
2907         * javax/swing/JTree.java
2908         (TreeModelHandler.treeNodesRemoved): Implemented.
2909         (TreeModelHandler.treeStructureChanged): Implemented.
2910         (nodeStates): Made package private.
2911
2912 2006-11-06  Francis Kung  <fkung@redhat.com>
2913
2914         PR 29420
2915         * javax/swing/JTree.java
2916         (clearSelectionPathStates): New private method to clean up nodeStates.
2917         (removeSelectionPath): Call clearSelectionPathStates().
2918         (removeSelectionPaths): Call clearSelectionPathStates().
2919         (removeSelectionRow): Call clearSelectionPathStates().
2920         (setSelectionPath): Call clearSelectionPathStates().
2921         (setSelectionPaths): Call clearSelectionPathStates().
2922         (setSelectionRow): Call clearSelectionPathStates().
2923
2924 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2925
2926         Fixes bug #29703
2927         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2928
2929 2006-11-06  Roman Kennke  <kennke@aicas.com>
2930
2931         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2932         Changed to implement a minimalistic browser.
2933         * examples/gnu/classpath/examples/swing/forms.html,
2934         * examples/gnu/classpath/examples/swing/textstyles.html,
2935         * examples/gnu/classpath/examples/swing/welcome.html:
2936         Some example content.
2937
2938 2006-11-06  Roman Kennke  <kennke@aicas.com>
2939
2940         * javax/swing/text/ComponentView.java
2941         (setParent): Lock the document and repaint the hosting
2942         container.
2943         * javax/swing/text/FlowView.java
2944         (FlowStrategy.createView): Removed comment.
2945         (FlowView): Initialize span with Short.MAX_VALUE.
2946         (getFlowStart): Return 0 unconditionally.
2947         (layout): Moved code around to make it more readable.
2948         (loadChildren): Always set the parent.
2949         * javax/swing/text/GlyphView.java
2950         (DefaultGlyphPainter.fontMetrics): New field.
2951         (DefaultGlyphPainter.getAscent): Use new helper method to
2952         synchronize the font metrics.
2953         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2954         to synchronize the font metrics.
2955         (DefaultGlyphPainter.getDescent): Use new helper method to
2956         synchronize the font metrics.
2957         (DefaultGlyphPainter.getHeight): Use new helper method to
2958         synchronize the font metrics.
2959         (DefaultGlyphPainter.getSpan): Use new helper method to
2960         synchronize the font metrics.
2961         (DefaultGlyphPainter.modelToView): Use new helper method to
2962         synchronize the font metrics.
2963         (DefaultGlyphPainter.updateFontMetrics): New helper method for
2964         font metrics caching.
2965         (DefaultGlyphPainter.viewToModel): Use new helper method to
2966         synchronize the font metrics. Fixed view to model mapping.
2967         * javax/swing/text/View.java
2968         (removeAll): Pass null to replace().
2969         (setParent): Only reparent children that have this view as parent.
2970
2971 2006-11-05  Mark Wielaard  <mark@klomp.org>
2972
2973         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2974         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2975         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
2976         Removed.
2977         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
2978         Removed.
2979         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
2980         Remove gnu_java_nio_channels_FileChannelImpl.c.
2981
2982 2006-11-03  Roman Kennke  <kennke@aicas.com>
2983
2984         * javax/swing/text/html/BlockView.java
2985         (attributes): New field.
2986         (cssHeight): New field.
2987         (cssWidth): New field.
2988         (painter): New field.
2989         (calculateMajorAxisRequirements): Overridden to account for
2990         CSS settings.
2991         (calculateMinorAxisRequirements): Overridden to account for
2992         CSS settings.
2993         (layoutMinorAxis): Overridden to account for CSS settings.
2994         (changedUpdate): Formatting fixlet.
2995         (constrainSize): New helper method.
2996         (getAlignment): Fix alignment.
2997         (getAttributes): Cache attributes for better performance.
2998         (getStyleSheet): Fetch stylesheet from document rather than creating
2999         a new one.
3000         (paint): Remove comment.
3001         (setCSSSpan): New helper method.
3002         (setPropertiesFromAttributes): Implemented to fetch the
3003         recognized properties.
3004         * javax/swing/text/html/CSS.java
3005         (getValue): Added mapping for width and height attributes.
3006         * javax/swing/text/html/InlineView.java
3007         (longestWord): New field.
3008         (getLongestWord): New helper method.
3009         (calculateLongestWord): New helper method.
3010         (getMinimumSpan): Overridden to constrain the minimum span by the
3011         longest word.
3012         * javax/swing/text/html/ParagraphView.java
3013         (cssHeight): New field.
3014         (cssWidth): New field.
3015         (calculateMinorAxisRequirements): Overridden to account for
3016         CSS settings.
3017         (setCSSSpan): New helper method.
3018         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3019         null check.
3020         * gnu/javax/swing/text/html/css/Length.java
3021         (percentage): New field.
3022         (Length): Determine percentage values.
3023         (getValue(float)): New method for handling percentage values.
3024         (isPercentage): New method.
3025
3026 2006-11-03  Tania Bento  <tbento@redhat.com>
3027
3028         * java/awt/TextArea.java
3029         (getMinimumSize): Changed documentation.
3030         (getPreferredSize): Changed documentation.
3031         (getMinimumSize(int,int)): Changed documenation.
3032         (getPreferredSize(int,int)): Changed documenation.
3033         (minimumSize): Changed documentation.
3034         (preferredSize): Changed documenation.
3035         (minimumSize(int,int)): Changed documentation.  Checked if 
3036         minimum size had been previously set and changed values of
3037         Dimension returned if peer == null.
3038         (preferredSize(int, int)): Checked if preferred size had been
3039         previously set and changed values of Dimension returned if
3040         peer = null.
3041
3042 2006-11-03  Tania Bento  <tbento@redhat.com>
3043
3044         * java/awt/event/ComponentEvent.java
3045         (paramString): Changed format of string representation returned.
3046
3047 2006-11-03  Roman Kennke  <kennke@aicas.com>
3048
3049         * javax/swing/text/html/HTMLDocument.java
3050         (HTMLReader.FormAction.start): Added support for textarea.
3051         (HTMLReader.FormAction.end): Added support for textarea.
3052         (HTMLReader.HeadAction.end): Call super to actually close the
3053         block.
3054         (HTMLReader.inTextArea): New field.
3055         (HTMLReader.textAreaDocument): New field.
3056         (HTMLReader.handleText): Call textAreaContent when inside
3057         a textarea tag.
3058         (HTMLReader.textAreaContent): Implemented to initialize
3059         the text area's model.
3060         * javax/swing/text/html/FormView.java
3061         (createComponent): Added support for textarea tag.
3062
3063 2006-11-03  Roman Kennke  <kennke@aicas.com>
3064
3065         * javax/swing/text/html/HTMLDocument.java
3066         (HTMLReader.IsindexAction.start): Implemented.
3067
3068 2006-11-03  Roman Kennke  <kennke@aicas.com>
3069
3070         * javax/swing/text/html/StyleSheet.java
3071         (addRule): Implemented.
3072         * javax/swing/text/html/HTMLDocument.java
3073         (HTMLReader.inStyleTag): New field.
3074         (HTMLReader.styles): New field.
3075         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3076         if any.
3077         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3078         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3079         (HTMLReader.handleText): When inside a style tag, add
3080         content to the styles array.
3081
3082 2006-11-02  Roman Kennke  <kennke@aicas.com>
3083
3084         * javax/swing/text/html/FormView.java
3085         (maxIsPreferred): New field.
3086         (createComponent): Initialize components correctly.
3087         (getMaximumSpan): Return the preferred span for components
3088         that need this. The maxIsPreferred flag is set accordingly
3089         in createComponent.
3090         * javax/swing/text/html/HTMLDocument.java
3091         (HTMLReader.FormAction.start): Implemented to set the
3092         correct model as attribute.
3093         (HTMLReader.FormAction.setModel): New helper method.
3094         (HTMLReader.FormAction.end): Call super to finish the element.
3095         Added TODO about things left to do.
3096         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3097         than htmlAttributeSet.
3098         * javax/swing/text/html/HTMLEditorKit.java
3099         (HTMLFactory.create): Create BlockView for FORM tags.
3100         Create FormView for INPUT, TEXTAREA and SELECT tags.
3101
3102 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3103
3104         * java/awt/geom/GeneralPath.java: API doc fixes.
3105
3106 2006-11-02  Roman Kennke  <kennke@aicas.com>
3107
3108         * javax/swing/text/html/ImageView.java
3109         (getImageURL): Fetch attribute from element. Consider the
3110         base URL for relative image locations.
3111
3112 2006-11-02  Roman Kennke  <kennke@aicas.com>
3113
3114         * javax/swing/JEditorPane.java
3115         (setContentType): Strip off attributes.
3116         * javax/swing/text/html/HTMLEditorKit.java
3117         (LinkController.activateLink(int,JEditorPane,int,int): New
3118         method. Implements activation of a hyperlink.
3119         (LinkController.activateLinke(int,JEditorPane)): Delegate
3120         to the other activateLink() method.
3121         (LinkController.createHyperlinkEvent): New helper method.
3122         (LinkController.mouseClicked): Implemented to activate the link.
3123         (LinkController.mouseDragged): Added comment that this
3124         method does nothing.
3125         (LinkController.mouseMoved): Update cursor for hyperlinks.
3126         (mouseHandler): Renamed field to linkController.
3127         (HTMLEditorKit): Create a link controller.
3128         (clone): Give the clone a new link controller.
3129         (deinstall): De-install link controller as mouseMotionListener too.
3130         (install): Install link controller as mouseMotionListener too.
3131
3132 2006-11-02  Roman Kennke  <kennke@aicas.com>
3133
3134         PR 29644
3135         * javax/swing/text/FlowView.java
3136         (FlowStrategy.changedUpdate): Reversed condition. This caused
3137         wrong layout and bad performance.
3138         (FlowStrategy.insertUpdate): Reversed condition. This caused
3139         wrong layout and bad performance.
3140         (FlowStrategy.removeUpdate): Reversed condition. This caused
3141         wrong layout and bad performance.
3142         (LogicalView): Changed to be a subclass of CompositeView.
3143         (LogicalView()): Only take one Element argument.
3144         (LogicalView.childAllocation): New method for implementing
3145         the abstract CompositeView method.
3146         (LogicalView.forwardUpdateToView): Overridden for correct
3147         reparenting.
3148         (getMinimumSpan): Overridden to handle line breaking correctly.
3149         (getPreferredSpan): Implemented to handle line breaking correctly.
3150         (getViewAtPoint): New method for implementing
3151         the abstract CompositeView method.
3152         (getViewIndexAtPosition): Overridden to handle leaf elements
3153         correctly.
3154         (isAfter): New method for implementing
3155         the abstract CompositeView method.
3156         (isBefore): New method for implementing
3157         the abstract CompositeView method.
3158         (loadChildren): Overridden to handle leaf elements
3159         correctly.
3160         (paint): New method for implementing
3161         the abstract CompositeView method.
3162         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3163         (loadChildren): Initialize flow layout by sending a synthetic
3164         insertUpdate() to the layout strategy.
3165         * javax/swing/text/GlyphView.java
3166         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3167         font metrics if component is not available. Add initial offset
3168         to result.
3169         (breakView): Be more clever when breaking the view.
3170         (getBreakLocation): New helper method to determine a good
3171         break location.
3172         (getBreakWeight): Be more clever when breaking the view.
3173         (getTabbedSpan): Make sure we have a painter. Use view's
3174         start and end offset rather than the element's.
3175         * javax/swing/text/Utilities.java
3176         (drawTabbedText): Avoid useless add and sub with the y offset.
3177
3178 2006-11-02  Roman Kennke  <kennke@aicas.com>
3179
3180         PR 29644
3181         * gnu/java/awt/peer/ClasspathFontPeer.java
3182         (getStringBounds): Removed abstract method. This is replaced
3183         in java.awt.Font to use a TextLayout.
3184         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3185         (GtkWindowPeer): Set a font on the window object.
3186         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3187         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3188         Changed to take char,int,int instead of String. Filter
3189         control characters.
3190         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3191         Create char array out of string.
3192         (getLogicalBounds): Don't translate bounds. They already are
3193         translated.
3194         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3195         (stringWidth): Filter out control characters.
3196         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3197         (getStringBounds): Removed unneeded method.
3198         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3199         constructor.
3200         * gnu/java/awt/peer/qt/QtFontPeer.java
3201         (getStringBounds): Removed unneeded method.
3202         * gnu/java/awt/peer/x/XFontPeer.java
3203         (getStringBounds): Removed unneeded method.
3204         * gnu/java/awt/peer/x/XFontPeer2.java
3205         (getStringBounds): Removed unneeded method.
3206         * java/awt/Font.java
3207         (getStringBounds(char[],int,int,FontRenderContext)):
3208         Use TextLayout to determine the bounds.
3209         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3210         Delegate to the char[] version of this method.
3211         (getStringBounds(String,FontRenderContext)):
3212         Delegate to the char[] version of this method.
3213         (getStringBounds(String,int,int,FontRenderContext)):
3214         Delegate to the String version of this method.
3215
3216 2006-11-01  Tania Bento  <tbento@redhat.com>
3217
3218         * java/awt/ScrollPaneAdjustable.java
3219         (paramString): Changed format of string representation returned.
3220         (paramStringHelper): New private method.
3221
3222 2006-11-01  Tania Bento  <tbento@redhat.com>
3223
3224         * java/awt/GridBagLayout.java
3225         (toString): Implemented method.
3226
3227 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3228
3229         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3230         initialization to NP_Initialize.
3231         (NP_Initialize): Initialize GLib threading.
3232
3233 2006-10-31  Tania Bento  <tbento@redhat.com>
3234
3235         * javax/swing/JTextField.java
3236         (fireActionPerformed): When creating the new event, if
3237         actionCommand == null, then getText() is used.
3238
3239 2006-10-31  Francis Kung  <fkung@redhat.com>
3240
3241         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3242         (fillArc): Corrected arc type to Arc2D.PIE.
3243
3244 2006-10-31  Roman Kennke  <kennke@aicas.com>
3245
3246         * javax/swing/text/html/HTMLDocument.java
3247         (HTMLReader.PreAction.end): Implemented.
3248         (HTMLReader.PreAction.start): Implemented.
3249         (HTMLReader.inPreTag): New field.
3250         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3251         (HTMLReader.preContent): Implemented.
3252
3253 2006-10-31  Tania Bento  <tbento@redhat.com>
3254
3255         * javax/swing/JTextField.java
3256         (fireActionPerformed): When creating the new event, 
3257         actionCommand should be used as the command, not
3258         getText().
3259
3260 2006-10-31  Roman Kennke  <kennke@aicas.com>
3261
3262         * javax/swing/text/html/HTMLEditorKit.java
3263         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3264         HTML or Styled documents.
3265
3266 2006-10-31  David Fu  <fchoong@netbeans.jp>
3267
3268         * javax/swing/text/html/HTMLWriter.java: New class.
3269
3270 2006-10-30  Roman Kennke  <kennke@aicas.com>
3271
3272         * java/awt/dnd/DragSourceContext.java
3273         (dragExit): Use constant fields instead of 0.
3274         (updateCurrentCursor): Completed implementation.
3275
3276 2006-10-30  Roman Kennke  <kennke@aicas.com>
3277
3278         * java/awt/dnd/DragGestureRecognizer.java
3279         (resetRecognizer): Added API docs. Do not replace the events object
3280         but rather clear() it. Removed not implemented tag.
3281
3282 2006-10-30  Roman Kennke  <kennke@aicas.com>
3283
3284         * java/awt/datatransfer/DataFlavor.java
3285         (writeExternal): Remove not implemented tag.
3286
3287 2006-10-30  Roman Kennke  <kennke@aicas.com>
3288
3289         * java/awt/datatransfer/DataFlavor.java
3290         (javaFileListFlavor): Don't explicitly specify class.
3291         (plainTextFlavor): Don't explicitly specify class.
3292         (mimeType): Changed to type MimeType. Remove final.
3293         (representationClass): Remove final.
3294         (DataFlavor): Don't do anything here.
3295         (DataFlavor(Class,String,String)): Removed.
3296         (DataFlavor(Class,String)): Initialize here.
3297         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3298         (DataFlavor(String,String)): Initialize in init().
3299         (DataFlavor(String)): Initialize in init().
3300         (init): New initialization method.
3301         (getMimeType): Delegate to MimeType.toString().
3302         (getParameter(String,String)): Removed. Is now done in MimeType.
3303         (getParameter(String)): Delegate to MimeType.
3304         (getPrimaryType): Delegate to MimeType.
3305         (getRepresentationClassFromMime): Removed.
3306         (getRepresentationClassFromMimeThrows): Removed.
3307         (getSubType): Delegate to MimeType.
3308         (hashCode): Take MimeType.toString() for the hashCode.
3309         (isFlavorRemoveObjectType): Return true only when representation
3310         class is remove and serializable and the mime type is remote.
3311         (isFlavorSerializedObjectType): Return true only when representation
3312         class is serializable and the mime type is serialized.
3313         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3314         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3315         (readExternal): Implemented stub method.
3316         (writeExternal): Implemented stub method.
3317         * java/awt/datatransfer/MimeType.java: New helper class.
3318
3319 2006-10-28  Roman Kennke  <kennke@aicas.com>
3320
3321         * javax/swing/TransferHandler.java
3322         (importData): Implemented stub method. Added API docs.
3323
3324 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3325
3326         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3327         function.
3328         * native/jni/classpath/classpath_jawt.h: Likewise.
3329         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3330         initializer for surface_info_x11->depth.
3331
3332 2006-10-26  Tania Bento  <tbento@redhat.com>
3333         
3334         * java/awt/FileDialog.java:
3335         (setFile): Changed if-clause condition.
3336
3337 2006-10-25  Francis Kung  <fkung@redhat.com>
3338
3339         * include/gnu_java_nio_VMChannel.h,
3340         * include/java_net_VMNetworkInterface.h,
3341         * include/gnu_java_nio_EpollSelectorImpl.h,
3342         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3343         * include/gnu_java_nio_FileChannelImpl.h,
3344         * include/gnu_java_nio_KqueueSelectorImpl.h,
3345         * include/gnu_java_nio_VMPipe.h,
3346         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3347
3348 2006-10-25  Tania Bento  <tbento@redhat.com>
3349
3350         * java/awt/Dialog.java: Created new private variable
3351         next_dialog_number.
3352         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3353         Set cursor to default cursor.
3354         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3355         Same.
3356         (generateName): New method.
3357         (getUniqueLong): New private method.
3358         * java/awt/FileDialog.java: Created new private variable
3359         next_file_dialog_number.
3360         (setFile): If file == "", set it to null.
3361         (generateName): New method.
3362         (getUniqueLong): New private method.
3363
3364 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3365
3366         * java/net/MulticastSocket.java:
3367         (setNetworkInterface): Rewritten.
3368
3369 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3370
3371         * native/jni/java-net/javanet.h: Added declaration for
3372         _javanet_create_inetaddress.
3373         * native/jni/java-net/javanet.c:
3374         (_javanet_create_inetaddress): Removed static keyword.
3375
3376 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3377
3378         * gnu/java/net/PlainDatagramSocketImpl.java:
3379         (connect): Use VMChannel instance for connect call.
3380         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3381         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3382         (setOption): Handle multicast options.
3383         (getOption): Handle multicast options.
3384         * gnu/java/net/PlainSocketImpl.java:
3385         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3386         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3387         (setOption): Filter unappropriate options.
3388         (getOption): Filter unappropriate options.
3389         (connect): Use given SocketAddress.
3390         (close): Reset address and port.
3391         (getInetAddress): 
3392         * include/Makefile.am: Removed all occurences of
3393         gnu_java_net_VMPlainDatagramSocketImpl.h.
3394         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3395         * native/jni/java-net/Makefile.am: Removed
3396         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3397         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3398         Removed.
3399         as SocketException, declare to throw SocketException.
3400         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3401         for SocketException and ConnectException.
3402         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3403         of IOException.
3404         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3405         of IOException.
3406         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3407         (JCL_thread_interrupted): New function.
3408         (initIDs): Added initialisation for isThreadInterrupted method id.
3409         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3410         CPNET_IP_TTL to java_sockopt enum.
3411         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3412         case, handle SO_LINGER case properly.
3413         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3414         case, handle SO_LINGER case properly.
3415         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3416         function.
3417         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3418         function.
3419         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3420         function.
3421         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3422         IPV6_LEAVE_GROUP.
3423         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3424         * vm/reference/gnu/java/nio/VMChannel.java:
3425         (connect(int, byte[], int, int)): Declare to throw SocketException.
3426         (connect6): Declare to throw SocketException.
3427         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3428         (isThreadInterrupted): New method.
3429         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3430         field.
3431         (setTimeToLive): New method.
3432         (getTimeToLive): New method.
3433         (setMulticastInterface(int, InetAddress)): New method.
3434         (setMulticastInterface(int, int, Inet4Address): New method.
3435         (setMulticastInterface6(int, int, Inet6Address): New method.
3436         (setOptions): Handle SO_LINGER case.
3437         (getOptions): Add missing SO_REUSEADDR case.
3438         * java/net/Socket.java:
3439         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3440         when exception was thrown out of connect().
3441         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3442         Boolean.FALSE with Integer.valueOf(-1).
3443         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3444         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3445         * NEWS: Documented VM interface changes.
3446
3447 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3448
3449         * java/net/Inet6Address.java:
3450         (isMulticastAddress): Fixed check.
3451
3452 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3453
3454         Fixes PR29576
3455         * java/net/MulticastSocket.java:
3456         (getNetworkInterface): Return a special NetworkInterface instance
3457         if the socket's multicast interface is set to any.
3458
3459 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3460
3461         Fixes PR29576
3462         * java/net/NetworkInterface.java:
3463         (createAnyInterface): New method.
3464         (equals): Added if-statement to handle case where netif.name is null.
3465         * vm/reference/java/net/VMNetworkInterface.java:
3466         (hashCode): Rewritten.
3467         (VMNetworkInterface): New constructor.
3468
3469 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3470
3471         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3472         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3473         Add ASM_JAR to bootclasspath.
3474
3475 2006-10-24  Tania Bento  <tbento@redhat.com>
3476
3477         * java/awt/Scrollbar.java:
3478         (setLineIncrement): Removed unnecessary if-clause and if 
3479         lineIncrement == 0, then it should be set to 1, not 0.
3480         (setPageIncrement): Removed unnecessary if-clause and if
3481         pageIncrement == 0, then it should be set to 1, not 0.
3482         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3483         If maximum <= minimum, maximum should be set to mininum + 1. The
3484         actual value of maximum is maximum - visibleAmount, so I made 
3485         this change to the appropriate if-check. Remove the two unneccessary
3486         if-clauses.
3487
3488 2006-10-23  Francis Kung  <fkung@redhat.com>
3489
3490         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3491         (cairoSetFont): New method.
3492         (copy): Set font using setFont method.
3493         (setFont): Call cairoSetFont.
3494         (setup): Set font using setFont method.
3495         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3496         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3497         (install_font_peer): Removed.
3498         (cairoDrawGlyphVector): Removed call to install_font_peer.
3499         (cairoSetFont): New method.
3500
3501 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3502
3503         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3504         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3505         NativeEventLoopRunningEvent after GTK main loop start and stop.
3506         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3507         (getNextEvent): Set dispatchThread to null.
3508         (postEventImpl): Set nativeLoopRunning.
3509         (pop): Interrupt event dispatch thread.
3510         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3511
3512 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3513
3514         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3515         Added include.
3516         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3517         Likewise.
3518
3519 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3520
3521         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3522         * javax/crypto/CipherOutputStream.java: Re-implemented.
3523         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3524         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3525         decryption mode and check if it is a complete block.
3526         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3527         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3528         partially processed data into account.
3529
3530 2006-10-21  Tom Tromey  <tromey@redhat.com>
3531
3532         PR classpath/29086:
3533         * java/util/AbstractCollection.java (toArray): Removed cast.
3534
3535 2006-10-20  Tom Tromey  <tromey@redhat.com>
3536
3537         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3538         Don't use mangled class name for .h file.
3539         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3540         Don't use mangled class name for .c file.
3541         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3542         Handle classes from the default package.
3543
3544 2006-10-20  Francis Kung  <fkung@redhat.com>
3545
3546         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3547
3548 2006-10-19  Francis Kung  <fkung@redhat.com>
3549
3550         PR 29510
3551         * java/awt/image/BufferedImage.java
3552         (constructor): Updated some properties of default image types.
3553         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3554         (argb32): Updated field to match default in BufferedImage.
3555
3556 2006-10-18  Roman Kennke  <kennke@aicas.com>
3557
3558         PR 29419
3559         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3560         (copyArea): Changed size comparison to return when size == 0
3561         too.
3562         * javax/swing/JViewport.java
3563         (paintBackingStore): Check width and height of blitted area
3564         and only do blit if its > 0.
3565         (paintBlit): Check width and height of blitted area
3566         and only do blit if its > 0.
3567
3568 2006-10-18  Roman Kennke  <kennke@aicas.com>
3569
3570         PR 27091
3571         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3572         (maximize): New native method.
3573         (unmaximize): New native method.
3574         (iconify): New native method.
3575         (deiconify): New native method.
3576         (getState): Implemented.
3577         (setState): Implemented.
3578         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3579         (oldState): Rename to windowState and made protected, so that
3580         the FramePeer can access it.
3581         (postWindowEvent): Handle state change events more gently and
3582         correctly.
3583         * java/awt/Frame.java
3584         (getState): Fetch state from getExtendedState().
3585         (setExtendedState): Update the peer. Check if the state change
3586         is actually supported.
3587         (getExtendedState): Update the state from the peer.
3588         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3589         (maximize): New method.
3590         (unmaximize): New method.
3591         (iconify): New method.
3592         (deiconify): New method.
3593         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3594         (AWT_FRAME_NORMAL): New macro.
3595         (AWT_FRAME_ICONIFIED): New macro.
3596         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3597         (window_window_state_cb): Rewritten to handle window state changes
3598         more gently (mostly on the java side of the world).
3599         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3600
3601 2006-10-18  Tania Bento  <tbento@redhat.com>
3602
3603         * java/awt/CardLayout.java:
3604         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3605         its height and width if Container passed as argument is null.
3606         (gotoComponent): Consider the case where the component is not visible.
3607
3608 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3609
3610         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3611         Rename file...
3612         * resource/gnu/classpath/tools/appletviewer/messages.properties:
3613         New file.
3614         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3615         Remove file.
3616         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3617         Remove file.
3618         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3619         Likewise.
3620         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3621         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3622         Retrieve user-visible strings through Messages.getString.
3623         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3624         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3625         Likewise.
3626         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3627         Likewise.
3628         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3629         Likewise.
3630         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3631         Likewise.
3632         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3633         Likewise.
3634         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3635         Likewise.
3636
3637 2006-10-18  Roman Kennke  <kennke@aicas.com>
3638
3639         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3640         (AWT_WINDOW_OPENED): Remove unnecessary macro.
3641         (window_show_cb): Removed unnecessary function.
3642         (connect_signals): Don't connect signal for show.  *
3643         gnu/java/awt/peer/gtk/GtkWindowPeer.java
3644         (hasBeenShown): Removed. This is handled in java.awt.Window.
3645         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3646         in java.awt.Window.  * java/awt/Window.java
3647         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3648
3649 2006-10-18  Francis Kung  <fkung@redhat.com>
3650
3651         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3652         (drawRenderedImage):  New method.
3653         (drawImage): New method.
3654         (CairoSurfaceGraphics): Set clip.
3655         (createBuffer): New method.
3656         (getBufferCM): New method.
3657         (drawComposite): New method.
3658         (fill): New method.
3659         (getNativeCM): New method.
3660         (drawGlyphVector): New method.
3661         (draw): New method.
3662         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3663         (getNativeCM): Reflect renamed field.
3664         * gnu/java/awt/peer/gtk/CairoSurface.java
3665         (cairoCM_pre): Renamed from cairoColorModel.
3666         (cairoColorModel): Set premultiplication to false.
3667
3668 2006-10-18  Roman Kennke  <kennke@aicas.com>
3669
3670         PR 28769
3671         * javax/swing/JScrollPane.java
3672         (viewportBorder): Made field private.
3673         (wheelScrollingEnabled): Made field private.
3674         (JScrollPane): Enabled wheel scrolling by default.
3675         * javax/swing/JTree.java
3676         (TreeSelectionRedirector.valueChanged): Don't repaint anything
3677         here.
3678         (getScrollableUnitIncrement): Fixed thinko.
3679         * javax/swing/plaf/basic/BasicScrollBarUI.java
3680         (static scrollByBlock): New static method to avoid code duplication
3681         for the BasicScrollPane wheel scrolling.
3682         (static scrollByUnits): New static method to avoid code duplication
3683         for the BasicScrollPane wheel scrolling.
3684         (scrollByBlock): Delegate to static helper method.
3685         (scrollByUnit): Delegate to static helper method.
3686         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3687         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3688         static helper methods to avoid code duplication.
3689         (MouseWheelHandler.bounds): Removed.
3690         (MouseWheelHandler.getValue): Removed.
3691         (MouseWheelHandler.scroll): Removed.
3692
3693 2006-10-18  Roman Kennke  <kennke@aicas.com>
3694
3695         PR 29502
3696         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3697         (updateComponent): Don't override this here.
3698         * java/awt/Window.java
3699         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3700         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3701         flag.
3702         (addWindowStateListener): Ignore null listener. Set newEventsOnly
3703         flag.
3704
3705 2006-10-18  Roman Kennke  <kennke@aicas.com>
3706
3707         * javax/swing/JEditorPane.java
3708         (getStream): Try to detect and set the content type of the
3709         connection stream.
3710
3711 2006-10-18  Roman Kennke  <kennke@aicas.com>
3712
3713         * javax/swing/RepaintManager.java
3714         (RepaintWorkerEvent): Pass full set of params to super.
3715         (RepaintWorker.dispatch): Overridden to allow apps to call this
3716         via reflection.
3717         (addDirtyRegion): Synchronize a little more to protect the
3718         dirtyComponents field and avoid NPEs.
3719         (invokeLater): Pass full set of params to RepaintWorkerEvent
3720         constructor.
3721
3722 2006-10-18  Roman Kennke  <kennke@aicas.com>
3723
3724         * javax/swing/JEditorPane.java
3725         (page): Removed field. The page is now stored in the correct
3726         document property.
3727         (getPage): Fetch page URL from document property.
3728         (read): Set the document for this JEditorPane. Use a Reader
3729         for reading in the document.
3730         (setPage): Call getStream() to get the stream from which we read.
3731         Fire property change. Store page in document property.
3732
3733 2006-10-18  Roman Kennke  <kennke@aicas.com>
3734
3735         * java/awt/datatransfer/DataFlavor.java
3736         (DataFlavor(String)): Removed check for space in mime string.
3737
3738 2006-10-18  Roman Kennke  <kennke@aicas.com>
3739
3740         * java/awt/Container.java
3741         (validateTree): Call ContainerPeer.begin|endLayout() rather than
3742         begin|endValidate().
3743         (validate): Call ContainerPeer.begin|endValidate() here.
3744         Added some local vars to avoid NPEs.
3745
3746 2006-10-18  Roman Kennke  <kennke@aicas.com>
3747
3748         * native/target/.cvsignore
3749         * native/target/Linux/.cvsignore
3750         * native/target/generic/.cvsignore:
3751         Added to let CVS ignore the generated Makefile and Makefile.in
3752         files.
3753
3754 2006-10-18  Roman Kennke  <kennke@aicas.com>
3755
3756         PR 29448
3757         * java/awt/Window.java
3758         (eventTypeEnabled): Overridden to handle WindowEvents.
3759         (processEvent): Switch between processWindowEvent(),
3760         processWindowFocusEvent() and processWindowStateEvent() here,
3761         rather than simply calling processWindowEvent().
3762         (processWindowEvent): Only dispatch event to listener, do not
3763         switch to processWindowFocusEvent() or processWindowStateEvent()
3764         here.
3765         * javax/swing/JFrame.java
3766         (frameInit): Explicitly enable window and key events here.
3767         (processWindowEvent): Throw out some unnecessary code.
3768         * javax/swing/JWindow.java
3769         (windowInit): Explicitly enable key events here.
3770         * javax/swing/JDialog.java
3771         (close_action): Renamed to closeAction.
3772         (dialogInit): Explicitly enable window events here.
3773         (getDefaultCloseOperation): Renamed close_action to closeAction.
3774         (processWindowEvent): Throw out some unnecessary code.
3775         Renamed close_action to closeAction.
3776         (setDefaultCloseOperation): Renamed close_action to closeAction.
3777
3778 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3779
3780         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3781         to track native GTK event loop status.
3782         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3783         clear running flag when native GTK event loop starts and stops.
3784
3785 2006-10-17  Roman Kennke  <kennke@aicas.com>
3786
3787         * javax/swing/TransferHandler.java
3788         (exportToClipboard): Implemented.
3789
3790 2006-10-17  Francis Kung  <fkung@redhat.com>
3791
3792         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3793         region to account for pixel-shifting.
3794         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3795         proctected.
3796
3797 2006-10-17  Francis Kung  <fkung@redhat.com>
3798
3799         PR 29450
3800         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3801         (getLogicalBounds): Translate individual glyphs before appending bounds.
3802         (getOutline): Translate individual glyphs before appending outline.
3803
3804 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
3805
3806         PR 29014
3807         * java/awt/font/TextLayout.java
3808         (bidi): New field.
3809         (constructor): Store bidi in field.
3810         (getCharacterLevel): Implemented.
3811
3812 2006-10-17  Roman Kennke  <kennke@aicas.com>
3813
3814         * javax/swing/TransferHandler.java
3815         (PropertyTransferable): New inner class. Handles transfers
3816         from component properties.
3817         (createTransferable): Implemented.
3818
3819 2006-10-17  Francis Kung  <fkung@redhat.com>
3820
3821         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3822         (drawComposite): Ensure composite does not extend beyond buffer
3823         bounds.
3824         * java/awt/image/Raster.java
3825         (createChild): Ensure child does not extend beyond parent's
3826         bounds.
3827         * java/awt/image/WritableRaster.java
3828         (createWritableChild): Ensure child does not extend beyond
3829         parent's bounds.
3830
3831 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
3832
3833         * native/jni/classpath/jcl.c
3834         (JNI_OnLoad): Corrected calling convention.
3835
3836 2006-10-16  Roman Kennke  <kennke@aicas.com>
3837
3838         * javax/swing/TransferHandler.java
3839         (propertyName): New field.
3840         (TransferHandler(String)): Store property name in field.
3841         (canImport): Implemented stub method.
3842         (exportDone): This is a no-op. Removed not-implemented mark.
3843         (getPropertyDataFlavor): New helper method.
3844         (getPropertyDescriptor): New helper method.
3845
3846 2006-10-16  Roman Kennke  <kennke@aicas.com>
3847
3848         * javax/swing/AbstractButton.java
3849         (AccessibleJButton.getAfterIndex): Implemented.
3850         (AccessibleJButton.getAtIndex): Implemented.
3851         (AccessibleJButton.getBeforeIndex): Implemented.
3852         (AccessibleJButton.getCharacterAttribute): Completed incomplete
3853         method implementation.
3854
3855 2006-10-16  Roman Kennke  <kennke@aicas.com>
3856
3857         * javax/swing/JLabel.java
3858         (AccessibleJLabel.getIndexAtPoint): Implemented.
3859         (AccessibleJLabel.getCharacterBounds): Implemented.
3860         (AccessibleJLabel.getTextRectangle): New helper method.
3861
3862 2006-10-16  Roman Kennke  <kennke@aicas.com>
3863
3864         * javax/swing/filechooser/FileSystemView.java
3865         (getFileSystemView): Mark as implemented.
3866
3867 2006-10-14  Roman Kennke  <kennke@aicas.com>
3868
3869         PR 27957
3870         * javax/swing/JComponent.java
3871         (toolTipText): Removed field.
3872         (createToolTip): Don't set tooltip text here. This is done
3873         in the ToolTipManager.
3874         (setToolTipText): Set tooltip text as client property.
3875         (getToolTipText): Get tooltip text from client property.
3876         * javax/swing/ToolTipManager.java
3877         (currentComponent): Made field non-static and of type JComponent.
3878         (currentPoint): Made field non-static.
3879         (currentTip): Made field non-static.
3880         (popup): Made field non-static.
3881         (toolTipText): New field. Stores the current tooltip text.
3882         (checkTipUpdate): New helper method. Checks for updates of
3883         the tooltip text and triggers the appropriate actions.
3884         (getContentPaneDeepestComponent): Removed unneeded casts.
3885         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3886         text from component.
3887         (mouseMoved): Check for tooltip text updates.
3888         (showTip): Set tooltip text from current setting.
3889
3890 2006-10-14  Roman Kennke  <kennke@aicas.com>
3891
3892         PR 27956
3893         * javax/swing/JSlider.java
3894         (setPaintLabels): Call setLabelTable() instead of setting
3895         the field directly. This also updates the label's size.
3896
3897 2006-10-13  Tom Tromey  <tromey@redhat.com>
3898
3899         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3900         method.
3901
3902 2006-10-13  Tania Bento  <tbento@redhat.com>
3903
3904         * java/awt/ScrollPane.java
3905         (setLayout): Should throw AWTError whenever called.
3906
3907 2006-10-13  Roman Kennke  <kennke@aicas.com>
3908
3909         PR 29448
3910         * java/awt/Component.java
3911         (dispatchEventImpl): Special handle ComponentReshapeEvents to
3912         update the AWT's knowledge about a component's size.
3913         * gnu/java/awt/ComponentReshapeEvent.java: New class.
3914         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3915         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3916         to update the AWT's knowledge about the component bounds.
3917
3918 2006-10-13  Tania Bento  <tbento@redhat.com>
3919
3920         * java/awt/ScrollPaneAdjustable.java
3921         (setMaximum): Should throw AWTError whenever called.
3922         (setMinimum): Same.
3923         (setVisibleAmount): Same.
3924
3925 2006-10-13  Tania Bento  <tbento@redhat.com>
3926
3927         * java/awt/ScrollPane.java
3928         (addImpl): When calling super, index should be value passed, 
3929         not -1.
3930         (getIsValidString): New helper method for paramString().
3931         (getScrollbarDisplayString): New helper method for paramString(). 
3932         (paramString): Changed format of outputted string.
3933
3934 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
3935
3936         * javax/swing/tree/DefaultTreeSelectionModel.java
3937         (clone): Added cast to TreePath[].
3938
3939 2006-10-13  Roman Kennke  <kennke@aicas.com>
3940
3941         PR 27780
3942         * javax/swing/JMenuItem.java
3943         (isDragging): New field. Indicates if we are inside a mouse
3944         drag.
3945         (createMenuDragMouseEvent): Removed unneeded method.
3946         (processMenuDragMouseEvent): Track if we are dragging.
3947         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3948         * javax/swing/plaf/basic/BasicMenuItemUI.java
3949         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3950         MenuSelectionManager from event.
3951         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3952         MenuSelectionManager from event.
3953         (MenuDragMouseHandler.menuDragMouseExited): Fetch
3954         MenuSelectionManager from event.
3955         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3956         release inside menu item, otherwise clear selection.
3957         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3958         and getY(). Call doClick() rather than the doClick() of JMenuItem.
3959         (doClick): Perform an immediate click.
3960
3961 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3962
3963         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3964         return if object is not in the list.
3965
3966 2006-10-12  Andrew Haley  <aph@redhat.com>
3967
3968         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3969         * java/lang/ThreadLocal.java: Likewise.
3970
3971 2006-10-12  Roman Kennke  <kennke@aicas.com>
3972
3973         PR 27956
3974         * javax/swing/JSlider.java
3975         (LabelUIResource): New inner class. A JLabel as UIResource.
3976         (createStandardLabels): Don't set label bounds here.
3977         Create LabelUIResource instances.
3978         (setInverted): Repaint.
3979         (setLabelTable): Update the label UIs. Revalidate and repaint.
3980         (setMajorTickSpacing): Update the label table. Repaint if
3981         necessary.
3982         (setMinorTickSpacing): Repaint if necessary.
3983         (setOrientation): Revalidate.
3984         (setPaintLabels): Revalidate and repaint.
3985         (setPaintTicks): Revalidate and repaint.
3986         (setPaintTrack): Repaint.
3987         (updateLabelUIs): Set the label sizes here.
3988         (updateUI): Also update the label UIs.
3989         * javax/swing/plaf/basic/BasicSliderUI.java
3990         (ComponentHandler.componentResized): Don't revalidate.
3991         (FocusHandler.focusGained): Don't set field.
3992         (FocusHandler.focusLost): Don't set field.
3993         (PropertyChangeHandler.propertyChange): Calculate geometry
3994         and repaint for a couple more properties.
3995         (TrackListener.mouseReleased): Repaint.
3996         (hasFocus): Removed unneeded field.
3997         (calculateContentRect): No need to check for content size < 0.
3998         (calculateFocusRect): Use insets from insetCache.
3999         (calculateLabelRect): Fixed calculation of label rectangle.
4000         It is relative to the tick rectangle, rather than the content
4001         rectangle.
4002         (calculateTickRect): Small restructuring to avoid unnecessary
4003         comparisons.
4004         (calculateTrackRect): Fixed calculation of track rectangle.
4005         (getMaximumSize): Fixed. Fetch preferred size and set
4006         the height of width to Short.MAX_VALUE.
4007         (getMinimumHorizontalSize): Fixed to return UIManager value.
4008         (getMinimumVerticalSize): Fixed to return UIManager value.
4009         (getPreferredHorizontalSize): Fixed to return UIManager value.
4010         (getPreferredVerticalSize): Fixed to return UIManager value.
4011         (getMinimumSize): Fixed to return the UIManager value plus
4012         insets added.
4013         (getPreferredSize): Fixed to return the UIManager value plus
4014         insets added.
4015         (getWidthOfWidestLabel): Restructured for more cleanness and
4016         efficiency.
4017         (hitClip): New helper method.
4018         (paintHorizontalLabel): Replaced by more efficient and clean
4019         implementation.
4020         (paintVerticalLabel): Replaced by more efficient and clean
4021         implementation.
4022         (paintLabels): Replaced by more efficient and clean
4023         implementation.
4024         (paint): Check if rectangles intersect with clip for maximum
4025         efficiency.
4026         (recalculateIfInsetsChanged): Fixed. This method should
4027         recalculate only when the insets changed.
4028         (setThumbLocation): Repaint with a reasonable clip.
4029         (xPositionForValue): Made more clean and efficient.
4030         (yPositionForValue): Made more clean and efficient.
4031         * javax/swing/plaf/basic/BasicLookAndFeel.java
4032         (initComponenDefaults): Added Slider.horizontalSize,
4033         Slider.verticalSize, Slider.minimumHorizontalSize and
4034         Slider.minimumVerticalSize properties.
4035         * javax/swing/plaf/metal/MetalSliderUI.java
4036         (getTickLength): Add 1 for horizontal sliders and 3 for
4037         vertical sliders.
4038         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4039         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4040         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4041         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4042
4043 2006-10-12  Roman Kennke  <kennke@aicas.com>
4044
4045         PR 28696
4046         * javax/swing/text/FlowView.java
4047         (FlowStrategy.layout): Preserve logical views from getting lost.
4048         (FlowStrategy.layoutRow): Fix line breaking.
4049         (FlowStrategy.adjustRow): Fix line breaking.
4050         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4051         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4052         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4053         (createView): Don't check index.
4054         (contains): New helper method.
4055         (reparent): New helper method.
4056         (layoutDirty): Removed unneeded field.
4057         (FlowView): Removed layoutDirty field init.
4058         (changedUpdate): Removed layoutDirty handling.
4059         (insertUpdate): Removed layoutDirty handling.
4060         (removeUpdate): Removed layoutDirty handling.
4061         (layout): Use isLayoutValid() rather than the layoutDirty field.
4062         * javax/swing/text/GlyphView.java
4063         (startOffset): Removed.
4064         (endOffset): Removed.
4065         (offset): New field.
4066         (length): New field.
4067         (GlyphView): Initialize new fields. Removed old fields.
4068         (createFragment): Create fragment with new relative offsets.
4069         (getEndOffset): Work with new relative offsets.
4070         (getStartOffset): Work with new relative offsets.
4071         * javax/swing/text/ParagraphView.java
4072         (Row.getStartOffset): Overidden to determine the minimum start
4073         offset from the children.
4074         (Row.getEndOffset): Overidden to determine the maximum end
4075         offset from the children.
4076         * javax/swing/text/html/BRView.java
4077         Make subclass of InlineView.
4078         (getBreakWeight): Fall back to super for Y_AXIS.
4079
4080 2006-10-12  Roman Kennke  <kennke@aicas.com>
4081
4082         PR 28733
4083         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4084         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4085         one that avoids faulty state that could cause division by zero
4086         error.
4087
4088 2006-10-12  Roman Kennke  <kennke@aicas.com>
4089
4090         PR 28057
4091         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4092         (paint): Determine correct icon. Added support for HTML label.
4093         Added small optimizations.
4094         (getPreferredSize): Only consider the buttons iconTextGap, and
4095         only when the text is not null.
4096         * javax/swing/plaf/basic/BasicLookAndFeel.java
4097         (initComponentDefaults): Fetch border for RadioButton from
4098         BasicButtons.getRadioButtonBorder().
4099         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4100         (paintFocus): Paint focus rectangle one pixel smaller.
4101
4102 2006-10-12  Roman Kennke  <kennke@aicas.com>
4103
4104         PR 29418
4105         * javax/swing/tree/AbstractLayoutCache.java
4106         (getNodeDimensions): Don't throw InternalError, but instead
4107         return null.
4108         (getRowsForPaths): Check for null here.
4109         (isFixedRowHeight): Returns true when rowHeight > 0.
4110         (setSelectionModel): Set this as the row mapper for the selection
4111         model.
4112         * javax/swing/tree/VariableHeightLayoutCache.java
4113         (NodeRecord.NodeRecord): Initialize bounds field.
4114         (getBounds): Simply return the bounds field.
4115         (row2Node): Changed to be an ArrayList.
4116         (RECT_CACHE): New field. Caches a Rectangle instance.
4117         (countRows): Added y parameter and return value. The method
4118         now takes the current y position as parameter, and returns
4119         the updated y position.
4120         (getBounds): Fixed to return the correct bounds.
4121         (getPathForRow): Replaced by fixed implementation.
4122         (getPreferredHeight): Replaced by more efficient implementation.
4123         This simply fetches the last node record and returns its lower
4124         bounds.
4125         (getPreferredWidth): Added null check.
4126         (getVisibleChildCount): Added null check.
4127         (getVisiblePathsFrom): Added null check.
4128         (setExpandedState): Also expand the ancestors of the node
4129         to be expanded.
4130         (setModel): Set dirty flag rather than updating for real.
4131         (setNodeDimensions): Overridden to set the dirty flag.
4132         (setRowHeight): Overridden to set the dirty flag.
4133         (update): Don't special case the root here, this is done now
4134         in countRows().
4135
4136 2006-10-12  Roman Kennke  <kennke@aicas.com>
4137
4138         * javax/swing/JComponent.java
4139         (paintImmediately2): Added support for components which need
4140         to force themselves as paint root.
4141         (isPaintRoot): New method. This should be overridden by components
4142         which need to force themselves as paint root.
4143         * javax/swing/JViewport.java
4144         (isPaintRoot): Overridden to force the viewport as paint root
4145         when running in backingstore mode.
4146
4147 2006-10-12  Roman Kennke  <kennke@aicas.com>
4148
4149         * javax/swing/tree/DefaultTreeSelectionModel.java
4150         (PathPlaceHolder): New inner class. Wraps a path and its status
4151         wrt to its newness.
4152         (selectedPaths): New field. A supporting datastructure.
4153         (tmpPaths): New field. A supporting datastructure.
4154         (DefaultTreeSelectionModel): Initialize the list selection model,
4155         the leadIndex and the supporting datastructures.
4156         (addPropertyChangeListener): Create changeSupport object lazily.
4157         (addSelectionPaths): Mostly rewritten to handle the different
4158         selection modes correctly.
4159         (addSelectionPath): Delegate to addSelectionPaths().
4160         (arePathsContiguous): Replaced with more efficient implementation
4161         using BitSet
4162         (canPathBeAdded): Removed unneeded method.
4163         (canPathsBeAdded): Replaced with more efficient implementation.
4164         (clearSelection): Create correct event. Clear the fields correctly,
4165         including the supporting datastructures.
4166         (clone): Also clone the supporting datastructures and nullify
4167         changeSupport field.
4168         (getMaxSelectionRow): Delegate to list selection model.
4169         (getMinSelectionRow): Delegate to list selection model.
4170         (getPath): Removed unneeded method.
4171         (getPropertyChangeListeners): Handle null changeSupport field
4172         correctly.
4173         (getRow): Handle null rowMapper field correctly.
4174         (getSelectionRows): Handle invisible rows correctly.
4175         (insureRowContinuity): Replaced by more efficient and correct
4176         implementation.
4177         (isRowSelected): Delegate to list selection model.
4178         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4179         class.
4180         (removePropertyChangeListener): Handle null changeSupport field.
4181         (removeSelectionPaths): Mostly rewritten to handle the different
4182         selection modes correctly.
4183         (removeSelectionPath): Delegate to removeSelectionPaths().
4184         (resetRowSelection): Handle list selection model.
4185         (selectOne): Removed unneeded field.
4186         (setRowMapper): Reset the row selection.
4187         (setSelectionMode): Check for invalid mode and set to
4188         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4189         (setSelectionPaths): Mostly rewritten to handle the different
4190         selection modes correctly.
4191         (setSelectionPath): Delegate to setSelectionPaths().
4192         (updateLeadIndex): Made more efficient.
4193
4194 2006-10-11  Francis Kung  <fkung@redhat.com>
4195
4196         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4197         (buffer, locked): New fields.
4198         (constructors): Initialize new variables.
4199         (createBuffer): New method.
4200         (draw): Implement custom composites.
4201         (drawComposite): New method.
4202         (drawGlyphVector): Implement custom composites.
4203         (drawImage): Implement custom composites.
4204         (drawRenderedImage): Implement custom composites.
4205         (fill): Implement custom composites.
4206         (getBufferCM): New method.
4207         (getNativeCM): New method.
4208         (updateBufferedImage): Fix premultiplication.
4209         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4210         (copy): Copy composite.
4211         (drawImage): Set background properly.
4212         (getBufferCM): New method.
4213         (setComposite): Reset alpha composite when using custom composite.
4214         * gnu/java/awt/peer/gtk/CairoSurface.java
4215         (cairoColorModel): New field.
4216         (nativeColorModel): Renamed.
4217         (constructor): Use renamed createCairoSampleModel method.
4218         (createCairoSampleModel): New method.
4219         (createNativeSampleModel): Renamed.
4220         (getBufferedImage): Use renamed cairoColorModel field.
4221         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4222         (gdkColorModel): New field.
4223         (createGdkSampleModel): New method.
4224         (getPixels): Added comments.
4225         (getSnapshot): Use GDK colour and sample models.
4226         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4227         (createBuffer): Use GDK colour and sample models.
4228         (getNativeCM): Added comments.
4229         * java/awt/image/BufferedImage.java
4230         (constructor): Set premultiplied flag properly.
4231         
4232 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4233
4234         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4235         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4236
4237 2006-10-10  Francis Kung  <fkung@redhat.com>
4238
4239         PR 29372
4240         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4241         (createPath): Added isDraw parameter.
4242         (draw): Updated createPath call.
4243         (fill): Updated createPath call.
4244
4245 2006-10-10  Tom Tromey  <tromey@redhat.com>
4246
4247         PR classpath/29362:
4248         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4249         there is a stylesheet.
4250
4251 2006-10-10  Roman Kennke  <kennke@aicas.com>
4252
4253         * java/awt/Toolkit.java
4254         (getDefaultTookit): Make method synchronized to avoid
4255         accidentally creating more than one toolkits from different
4256         threads.
4257
4258 2006-10-10  Roman Kennke  <kennke@aicas.com>
4259
4260         * java/awt/LightweightDispatcher.java
4261         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4262         (redispatch): Transfer the button to the redispatched event.
4263
4264 2006-10-10  Francis Kung  <fkung@redhat.com>
4265
4266         * java/awt/image/ColorModel.java (coerceData): Implemented.
4267
4268 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4269
4270         * vm/reference/java/lang/VMClassLoader.java:
4271         (defineClassWithTransformers): Use proper class name format.
4272
4273 2006-10-09  Gary Benson  <gbenson@redhat.com>
4274
4275         * java/net/ServerSocket.java
4276         (implAccept): Add security check.
4277         (accept): Close socket if security check fails.
4278         (setSocketFactory): Add security check and already-set check.
4279
4280 2006-10-09  Roman Kennke  <kennke@aicas.com>
4281
4282         PR 29325
4283         * javax/swing/JSplitPane.java
4284         (dividerLocation): New field. Stores the divider location.
4285         (JSplitPane): Initialize dividerLocation with -1.
4286         (addImpl): Removed unneeded local variables.
4287         (getDividerLocation): Manage dividerLocation in the JSplitPane
4288         class, not in the UI.
4289         (setDividerLocation): Manage dividerLocation in the JSplitPane
4290         class, not in the UI. Only call the UI method for notification.
4291         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4292         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4293         location from the JSplitPane. Honour the minimumSize, but only
4294         if the divider location hasn't been set explicitly.
4295         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4296         statement.
4297         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4298         statement.
4299         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4300         the divider location.
4301         (dividerLocationSet): New field.
4302         (dividerLocation): Removed field.
4303         (createActionMap): Fetch and set divider location on the JSplitPane.
4304         (getDividerLocation): Return the actual real divider location.
4305         (getMaximumSize): Removed unneeded cast.
4306         (getPreferredSize): Removed unneeded cast.
4307         (getMinimumSize): Removed unneeded cast.
4308         (installUI): Initialize dividerLocationSet with false.
4309         (uninstallUI): Initialize dividerLocationSet with false.
4310         (setDividerLocation): Set dividerLocationSet to true.
4311
4312 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4313
4314         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4315         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4316         convert jstring into char *.
4317         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4318         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4319         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4320         (getif_address): Added const modifier to second argument.
4321         (getif_index): Dito.
4322
4323 2006-10-09  Roman Kennke  <kennke@aicas.com>
4324
4325         * javax/swing/JTree.java
4326         (isSelected): Added API docs.
4327
4328 2006-10-09  Roman Kennke  <kennke@aicas.com>
4329
4330         * javax/swing/JTree.java
4331         (isSelected): Delegate to the selection model directly.
4332
4333 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4334
4335         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4336         sizeof_struct_kevent to _sizeof_struct_kevent.
4337
4338 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4339
4340         * tools/gnu/classpath/tools/rmic/RMICException.java:
4341         javadoc corrections, reformatted.
4342
4343 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4344
4345         * gnu/java/lang/InstrumentationImpl.java:
4346         Made constructor package visible.
4347
4348 2006-10-05  Gary Benson  <gbenson@redhat.com>
4349
4350         * java/net/Socket.java
4351         (Socket): Perform security check on address not hostname.
4352
4353 2006-10-04  Roman Kennke  <kennke@aicas.com>
4354
4355         * javax/swing/tree/VariableHeightLayoutCache.java
4356         (getBounds): When rect is null, create a new Rectangle.
4357
4358 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4359
4360         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4361         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4362         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4363         (cpnio_select): Use CPNIO_EXPORT.
4364         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4365         inline instead of extern inline, as newer GCCs changed their
4366         behavior.
4367
4368 2006-10-04  Gary Benson  <gbenson@redhat.com>
4369
4370         * java/net/InetAddress.java: Updated javadoc.
4371         (<clinit>, getByLiteral): Throw InternalError on failures.
4372
4373 2006-10-03  Francis Kung  <fkung@redhat.com>
4374
4375         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4376         (compCtx): New field for composite context.
4377         (copy): Copy composite.
4378         (dispose): Dispose of composite context.
4379         (getNativeCM): New method.
4380         (setComposite): Discard old composite context and set up new context.
4381         (setRenderingHints): Update composite context.
4382         * gnu/java/awt/peer/gtk/CairoSurface.java
4383         (nativeColorModel): New field, renamed from nativeModel.
4384         (nativeModel): Renamed field to nativeColorModel.
4385         (CairoSurface(int, int)): Call new method to create sample model.
4386         (createNativeSampleModel): New method.
4387         (getBufferedImage): Updated variable name.
4388         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4389         (buffer): New field.
4390         (createBuffer): New method.
4391         (draw): New method.
4392         (drawComposite): New method.
4393         (drawGlyphVector): New method.
4394         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4395         (drawImage(Image, int, int, ImageObserver)): Check composite.
4396         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4397         (fill): New method.
4398         (getNativeCM): New method.
4399         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4400         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4401         intermediary pixbuf to grab on-screen pixels.
4402
4403 2006-10-03  Tom Tromey  <tromey@redhat.com>
4404
4405         PR classpath/28987:
4406         * java/util/IdentityHashMap.java (tombstone): Removed.
4407         (emptyslot): Removed.
4408         (nullslot): New field.
4409         (IdentityHashMap): Don't fill array.
4410         (clear): Fill with null.
4411         (hash): Now final.  Use linear probing.
4412         (xform): New method.
4413         (unxform): Likewise.
4414         (removeAtIndex): Likewise.
4415         (clone, containsKey, containsValue, entrySet, get, hashCode,
4416         keySet, put, remove, values): Updated.
4417         (IdentityIterator, IdentityEntry): Likewise.
4418         (writeObject): Likewise.
4419
4420 2006-10-03  Tom Tromey  <tromey@redhat.com>
4421
4422         * java/util/Locale.java (hashcode): Updated javadoc.
4423         (hashcodeCache): Removed.
4424         (Locale): Updated.
4425         (hashCode): Updated.
4426         (writeObject): New method.
4427         (readObject): Updated.
4428
4429 2006-10-02  Francis Kung  <fkung@redhat.com>
4430
4431         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4432         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4433         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4434         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4435         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4436         pre-multiply data before drawing.
4437         (fillRect): Draw using regular fill() method.
4438         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4439         * gnu/java/awt/peer/gtk/CairoSurface.java
4440         (nativeModel): Use correct value for alpha premultiplication (true).
4441         * java/awt/image/BufferedImage.java
4442         (coerceData): Update isPremultiplied field.
4443
4444 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4445
4446         * gnu/classpath/ListenerData.java:
4447         New class for holding listener data.
4448         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4449         ListenerData class moved to its own file.
4450         * javax/management/MBeanServerDelegate.java,
4451         * javax/management/MBeanServerDelegateMBean.java,
4452         * javax/management/MBeanServerNotification.java:
4453         Implemented.
4454
4455 2006-10-02  Tania Bento  <tbento@redhat.com>
4456
4457         * java/ast/Rectangle.java:
4458         (Rectangle(Rectangle)): Do not throw NPE.
4459         (Rectangle(Point, Dimension)): Same.
4460         (Rectangle(Point)): Same.
4461         (Rectangle(Dimension)): Same.
4462
4463 2006-09-29  Casey Marshall  <csm@gnu.org>
4464
4465         PR 29190
4466         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4467         `AbstractSelectionKey.'
4468         (cancel, isValid): removed.
4469         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4470         (events): new field.
4471         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4472         fields.
4473         (<clinit>): initialize those constants.
4474         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4475         (doSelect): deregister cancelled keys; remove keys attached to
4476         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4477         `events' buffer; reallocate `events' buffer if needed.
4478         (register): reallocate `events' buffer if needed.
4479         (reallocateBuffer): new method.
4480         (cancel): removed.
4481
4482 2006-09-29  Roman Kennke  <kennke@aicas.com>
4483
4484         PR 28929
4485         * javax/swing/JViewport.java
4486         (cinit): Renamed system property to gnu.swing.scrollmode
4487         to avoid bloat. Default to BACKINGSTORE, this is much
4488         more reliable.
4489         (repaint): Forward repaint() to parent as is specified.
4490
4491 2006-09-29  Tania Bento  <tbento@redhat.com>
4492
4493         * javax/swing/plaf/basic/BasicTableUI.java
4494         (getPreferredSize): The number of iterations for the for-loop should be
4495         the number of columns in the table's column model, not the number of
4496         columns of the table.
4497         * javax/swing/JTable.java
4498         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4499         lines that are not needed.
4500         (initializeLocalVars): dragEnabled should be set to false, not true.
4501         (getCellRenderer): Added a check to prevent an
4502         ArrayIndexOutOfBoundsException.
4503         (doLayout): The number of iterations for the for-loops should be the
4504         number of columns in the table's column model, not the number of columns
4505         of the table.
4506
4507 2006-09-29  Roman Kennke  <kennke@aicas.com>
4508
4509         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4510         API docs.
4511         (isOptimized): Initialize with true.
4512         (paintRaster): Removed unneeded field.
4513         (shapeCache): New static field. Caches certain shapes for reuse.
4514         (computeIntersection): Removed unneeded casts.
4515         (drawArc): Use shape cache.
4516         (drawImage): Removed unneeded statement.
4517         (drawLine): Use shape cache. Pass untranslated coordinates
4518         to rawDrawLine().
4519         (drawOval): Use shape cache.
4520         (drawPolygon): Use shape cache.
4521         (drawRect): Overridden to provide accelerated rectangle drawing
4522         if possible and to use the shape cache.
4523         (drawRoundRect): Use shape cache.
4524         (fillArc): Use shape cache.
4525         (fillOval): Use shape cache.
4526         (fillPolygon): Use shape cache.
4527         (fillRect): Pass untranslated coordinates to rawFillRect().
4528         Use shape cache.
4529         (fillRoundRect): Use shape cache.
4530         (fillScanlineAA): Removed unneeded statement.
4531         (fillScanline): Updated API docs.
4532         (fillShapeAntialias): Removed unnecessary cast.
4533         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4534         (fillShape): Updated API docs.
4535         (getShapeCache): New helper method.
4536         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4537         certain shapes for reuse in AbstractGraphics2D.
4538
4539 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4540
4541         * javax/management/BadBinaryOpValueExpException.java:
4542         (getExp()): Implemented.
4543         * javax/management/MBeanConnection.java:
4544         Renamed to MBeanServerConnection.
4545         * javax/management/MBeanServer.java:
4546         (setAttribute(Attribute)): Fixed...
4547         (setAttribute(ObjectName,Attribute)): to this.
4548         * javax/management/MBeanServerConnection.java:
4549         Renamed from MBeanConnection.
4550         * javax/management/QueryExp.java:
4551         Extend Serializable.
4552         * javax/management/ValueExp.java:
4553         Likewise.
4554         * javax/management/loading/ClassLoaderRepository.java:
4555         (loadClass(String)): Throw ClassNotFoundException.
4556         (loadClassBefore(ClassLoader,String)): Likewise.
4557         (loadClassWithout(String, ClassLoader): Fixed...
4558         (loadClassWithout(ClassLoader,String)): to this.
4559         
4560 2006-09-28  Roman Kennke  <kennke@aicas.com>
4561
4562         * javax/swing/tree/DefaultTreeCellRenderer.java
4563         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4564         property from UIManager.
4565         (paint): Rewritten to use super's implementation and only paint
4566         background and focus indicator before.
4567         (paintFocus): New helper method.
4568         (getXOffset): New helper method.
4569
4570 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4571         
4572         * javax/management/BadBinaryOpValueExpException.java,
4573         * javax/management/MBeanConnection.java,
4574         * javax/management/MBeanServer.java,
4575         * javax/management/ObjectInstance.java:
4576         Implemented.
4577         * javax/management/ObjectName.java:
4578         (setMBeanServer(MBeanServer)): Implemented.
4579         * javax/management/QueryExp.java,
4580         * javax/management/ValueExp.java,
4581         * javax/management/loading/ClassLoaderRepository.java:
4582         Implemented.
4583
4584 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4585
4586         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4587
4588 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4589
4590         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4591         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4592         * gnu/java/nio/EpollSelectorImpl.java:
4593         (doSelect): Use Integer.valueOf() instead of constructor call.
4594         (register): Use Integer.valueOf() instead of constructor call.
4595
4596 2006-09-27  Roman Kennke  <kennke@aicas.com>
4597
4598         * java/awt/Container.java
4599         (addContainerListener): Activate newEventsOnly for the component.
4600         Ignore null listeners.
4601
4602 2006-09-27  Roman Kennke  <kennke@aicas.com>
4603
4604         * java/awt/EventQueue.java
4605         (Queue): New inner class. Implements the actual queue.
4606         (LOW_PRIORITY): New constant field.
4607         (NORM_PRIORITY): New constant field.
4608         (queueHead): Removed. Moved into Queue.
4609         (queueTail): Removed. Moved into Queue.
4610         (queues): New field.
4611         (EventQueue): Initialize two internal queues, one for
4612         normal events, one for low priority events.
4613         (getNextEventImpl): New helper method, fetches the next event.
4614         (getNextEvent): Use getNextEventImpl() for fetching the event.
4615         (peekEvent): Use getNextEventImpl() for fetching the event.
4616         (peekEvent(int)): Search for event in all queues.
4617         (postEventImpl(AWTEvent)): Moved actual posting into
4618         postEventImpl(AWTEvent,int). Prioritize events here.
4619         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4620         event into correct queue. Re-enable event coalescing.
4621         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4622         * javax/swing/RepaintManager.java
4623         (RepaintWorkerEvent): New internal class. This is a low priority
4624         event for the repaint worker.
4625         (addDirtyRegion): Use new internal invokeLater() for sending
4626         a low priority event.
4627         (addInvalidComponent): Use new internal invokeLater() for sending
4628         a low priority event.
4629         (commitBuffer): Added some null checks.
4630         (invokeLater): New helper method. Sends a low priority
4631         repaint worker event on the event queue.
4632
4633 2006-09-27  Roman Kennke  <kennke@aicas.com>
4634
4635         PR 29036
4636         PR 29161
4637         * javax/swing/plaf/basic/BasicButtonUI.java
4638         (cachedInsets): New field.
4639         (installListeners): Fire synthetic property change to initialize
4640         TEXT_LAYOUT_CACHE for the button because the font has been
4641         installed before.
4642         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4643         (paint): Use cached insets.
4644         (paintText): Let new method forward to old one, not vice versa.
4645         * javax/swing/plaf/basic/BasicMenuItemUI.java
4646         (defaultAcceleratorLabelGap): Removed unused field.
4647         (MenuGap): Removed unused field.
4648         (propertyChangeListener): Made private.
4649         (getAcceleratorRect): Removed unused method.
4650         (getAcceleratorText): Removed unused method.
4651         (getPath): Removed unnecessary cast.
4652         (installListeners): Fire synthetic property change to initialize
4653         TEXT_LAYOUT_CACHE for the button because the font has been
4654         installed before.
4655         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4656         (layoutMenuItem): Removed unused statements.
4657         
4658 2006-09-27  Roman Kennke  <kennke@aicas.com>
4659
4660         PR 29218
4661         * javax/swing/tree/DefaultTreeModel.java
4662         (isLeaf): Check if the node allows children when
4663         asksAllowsChildren is true, otherwise fall back
4664         to return the node's leaf property.
4665
4666 2006-09-27  Mario Torre  <neugens@limasoftware.net>
4667
4668         * scripts/check_jni_methods.sh: removed methods from the
4669         ignore list:
4670         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4671         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4672         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4673         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4674         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4675         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4676         to better follow the GNU style.
4677         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4678         regenerated header file for GConfNativePeer.
4679
4680 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4681
4682         * INSTALL: Added information about grmic being built when ASM
4683         is available, added information about gconf dependency, indented
4684         Qt4 dependency section.
4685         * configure.ac: Added information about grmic being built when ASM
4686         is available.
4687
4688 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
4689
4690         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4691         DeleteGlobalRef on a local ref.
4692
4693 2006-09-24  Mario Torre  <neugens@limasoftware.net>
4694
4695         * scripts/check_jni_methods.sh: added two new methods in the
4696         ignore list:
4697         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4698         and
4699         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4700         * native/jni/gconf-peer/GConfNativePeer.c:
4701         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4702         refacored method name, renamed from
4703         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4704         Added code to unescape escaped GConf key names.
4705         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4706         refacored method name, renamed from
4707         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4708         Added code to unescape escaped GConf key names.
4709         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4710         new function.
4711         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4712         new function.
4713         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4714         version javadoc tag.
4715         (escapeString): new method.
4716         (unescapeString): likewise.
4717         (gconf_escape_key): new native method.
4718         (gconf_unescape_key): likewise.
4719         (gconf_client_suggest_sync): update native method signature, now
4720         explicity throws BackingStoreException.
4721         (gconf_client_all_nodes): update native method signature, now
4722         explicity throws BackingStoreException. Refactored method name,
4723         renamed from gconf_client_gconf_client_all_nodes.
4724         (gconf_client_all_keys): update native method signature, now
4725         explicity throws BackingStoreException. Refactored method name,
4726         renamed from gconf_client_gconf_client_all_keys.
4727         (getKeys): refactored to use the new method name
4728         gconf_client_all_keys.
4729         (getChildrenNodes): refactored to use the new method name
4730         gconf_client_all_nodes.
4731         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4732         version javadoc tag.
4733         (GConfBasedPreferences): Added code to escape node names from
4734         invalid characters so that GConf now accept invalid node names.
4735         (GConfBasedPreferences): Moved code to register the current
4736         node to the list of nodes watched by GConf outside the constructor.
4737         (childSpi): Added code to register the current node to the
4738         list of nodes watched by GConf.
4739         (getGConfKey): Added code to escape key names from
4740         invalid characters so that GConf now accept invalid key names.
4741
4742 2006-09-26  Tom Tromey  <tromey@redhat.com>
4743
4744         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4745         call mkdirs in output-directory case.
4746         (getPrintStream): Create output directory.
4747         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4748         Don't call mkdirs.
4749
4750 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
4751
4752         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4753         Accept three additional arguments.
4754         (writePreambleImpl): New method.
4755         (getPrintStreamImpl): Likewise.
4756         (printClass): Adapted to use new methods in Printer superclass.
4757         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4758         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4759         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4760         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4761         (force): Likewise.
4762         (getParser): Add support for -o option.
4763         Check that only one of -d or -o is defined.
4764         Add support for -jni option.
4765         Add support for -force option.
4766         (makeOutputFile): New method.
4767         (writeHeaders): Removed File argument from signature.
4768         (run): Take into account newly added fields.
4769         Invoke concrete PrintStream implementations with augmented constructors.
4770         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4771         (isDirectory): Likewise.
4772         (force): Likewise.
4773         (wrotePreamble): Likewise.
4774         (Printer): Changed ctor to accept three additional arguments.
4775         (printClass): Changed signature to accept one ClassWrapper argument.
4776         (writePreambleImpl): New abstract method.
4777         (getPrintStreamImpl): Likewise.
4778         (getPrintStream): New method.
4779         (writePreamble): Likewise.
4780
4781 2006-09-26  Tania Bento  <tbento@redhat.com>
4782
4783         * java/awt/GridLayout.java
4784         (toString): There is no common before hgap.
4785         * java/awt/Rectangle.java
4786         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4787         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
4788         Rectangle is null.
4789         (Rectangle(Point)): Throw NPE if Point is null.
4790         (Rectangle(Dimension)): Throw NPE if Dimension is null.
4791
4792 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4793
4794         * javax/swing/plaf/metal/MetalIconFactory.java
4795         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4796         returned by getShift(),
4797         (FileIcon16.getShift): Updated API docs,
4798         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4799         returned by getShift(),
4800         (FolderIcon16.getShift): Updated API docs,
4801         (TreeFolderIcon.getShift): Likewise,
4802         (TreeLeafIcon.getShift): Likewise.
4803
4804 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4805
4806         * javax/swing/plaf/metal/MetalIconFactory.java
4807         (FileIcon16.paintIcon): Fetch colors from look and feel,
4808         (FolderIcon16.paintIcon): Likewise.
4809
4810 2006-09-25  Casey Marshall  <csm@gnu.org>
4811
4812         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4813         `readScattering.'
4814         (write): revert back to using `writeGathering.'
4815         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4816         the first buffer that has data remaining, and start at that one.
4817
4818 2006-09-25  Tom Tromey  <tromey@redhat.com>
4819
4820         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4821         variable.
4822
4823 2006-09-25  Tom Tromey  <tromey@redhat.com>
4824
4825         * tools/.cvsignore: Updated.
4826
4827 2006-09-25  Tom Tromey  <tromey@redhat.com>
4828
4829         PR libgcj/29178:
4830         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4831         (Encoder.canEncode): Likewise.
4832         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4833         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4834         method.
4835         (Encoder.canEncode): Likewise.
4836         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4837         method.
4838         (Encoder.canEncode): Likewise.
4839
4840 2006-09-25  Tom Tromey  <tromey@redhat.com>
4841
4842         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4843         (Balloc): Updated.
4844
4845 2006-09-25  Francis Kung  <fkung@redhat.com>
4846
4847         * java/awt/image/ColorModel.java
4848         (coerceData): Made abstract.
4849         (coerceDataWorker): New protected method.
4850         * java/awt/image/ComponentColorModel.java
4851         (coerceData): Return new instance of proper ColorModel.
4852         * java/awt/image/DirectColorModel.java
4853         (coerceData): Return new instance of proper ColorModel.
4854         * java/awt/image/IndexColorModel.java
4855         (coerceData): New method.
4856
4857 2006-09-24  Casey Marshall  <csm@gnu.org>
4858
4859         * gnu/java/nio/FileChannelImpl.java
4860         (read): call `read' in a loop, don't use `readScattering.'
4861         (write): call `write' in a loop, don't use `writeGathering.'
4862
4863 2006-09-24  Mark Wielaard  <mark@klomp.org>
4864
4865         * configure.ac: Move -pedantic from WARNING to STRICT flags.
4866
4867 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4868
4869         * java/nio/channels/spi/AbstractSelectableChannel.java
4870         (register): Set interestOps and attachment when the key already
4871         exists.
4872
4873 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4874
4875         * java/net/ServerSocket.java
4876         (bind(SocketAddress,int)): Added support for null address.
4877         Throw proper exception if already bound.
4878         Handle unresolved addresses correctly. Ignore exceptions that
4879         happen during close in error path (to prevent losing the original
4880         exception.)
4881
4882 2006-09-24  Mark Wielaard  <mark@klomp.org>
4883
4884         Suggested by Aaron M. Ucko <ucko@debian.org>
4885         Fixes bug #29203
4886         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4887
4888 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4889
4890         * java/nio/channels/spi/AbstractSelectableChannel.java
4891         (implCloseChannel): Cancel all keys after closing the channel.
4892
4893 2006-09-22  Casey Marshall  <csm@gnu.org>
4894
4895         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4896         after we delete them.
4897         (selectedKeys): return an empty set if nothing's been selected.
4898         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4899         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4900         throw an exception on EBADF.
4901         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4902         throw exception on EINTR, just return 0.
4903         
4904 2006-09-22  Casey Marshall  <csm@gnu.org>
4905
4906         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4907         remove `const' from `filename.'
4908         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4909         `filename.'
4910         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4911
4912 2006-09-22  Casey Marshall  <csm@gnu.org>
4913
4914         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4915         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4916         allocate `filename,' and handle changes to `cpio_readDir.'
4917         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4918         available; copy the filename into the destination buffer; return
4919         an error code if readdir returns NULL, but errno is 0.
4920         * native/jni/native-lib/cpio.h (cpio_readDir): change second
4921         parameter to `const char *.'
4922
4923 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4924
4925         * javax/management/ObjectName.java:
4926         Implemented.
4927         
4928 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4929
4930         * resource/gnu/classpath/tools/orbd: New directory.
4931         * resource/gnu/classpath/tools/rmic: Likewise.
4932         * resource/gnu/classpath/tools/rmid: Likewise.
4933         * resource/gnu/classpath/tools/rmiregistry: Likewise.
4934         * resource/gnu/classpath/tools/tnameserv: Likewise.
4935         * tools/gnu/classpath/tools/giop: Move contents to...
4936         * tools/gnu/classpath/tools/orbd,
4937         tools/gnu/classpath/tools/tnameserv: New directories.
4938         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4939         * tools/gnu/classpath/tools/rmic: New directory.
4940         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4941         * tools/gnu/classpath/tools/rmid: New directory.
4942         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4943         * tools/gnu/classpath/tools/rmiregistry: New directory.
4944         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4945         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4946         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4947         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4948         Likewise.
4949         * resource/gnu/classpath/tools/tnameserv/messages.properties:
4950         Likewise.
4951         * tools/gnu/classpath/tools/orbd/Main.java,
4952         tools/gnu/classpath/tools/orbd/Messages.java,
4953         tools/gnu/classpath/tools/orbd/PersistentContext.java,
4954         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4955         tools/gnu/classpath/tools/orbd/PersistentMap.java,
4956         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4957         tools/gnu/classpath/tools/rmic/CompilationError.java,
4958         tools/gnu/classpath/tools/rmic/Generator.java,
4959         tools/gnu/classpath/tools/rmic/GiopIo.java,
4960         tools/gnu/classpath/tools/rmic/HashFinder.java,
4961         tools/gnu/classpath/tools/rmic/Main.java,
4962         tools/gnu/classpath/tools/rmic/Messages.java,
4963         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4964         tools/gnu/classpath/tools/rmic/RMICException.java,
4965         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4966         tools/gnu/classpath/tools/rmic/RmicBackend.java,
4967         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4968         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4969         tools/gnu/classpath/tools/rmic/Variables.java,
4970         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4971         tools/gnu/classpath/tools/rmic/templates,
4972         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4973         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4974         tools/gnu/classpath/tools/rmid/Main.java,
4975         tools/gnu/classpath/tools/rmid/Messages.java,
4976         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
4977         tools/gnu/classpath/tools/rmiregistry/Main.java,
4978         tools/gnu/classpath/tools/rmiregistry/Messages.java,
4979         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
4980         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
4981         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
4982         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
4983         tools/gnu/classpath/tools/tnameserv/Main.java,
4984         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
4985         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
4986         RMIC.java from cp-tools.
4987         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
4988         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
4989         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
4990         and grmic.
4991         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
4992         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
4993         Rename...
4994         (start): New method.
4995         * tools/Makefile.am: Add build support for new tool wrappers.
4996         * tools/gorbd.in: New file.
4997         * tools/grmic.in: Likewise.
4998         * tools/grmid.in: Likewise.
4999         * tools/grmiregistry.in: Likewise.
5000         * tools/gtnameserv.in: Likewise.
5001         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5002         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5003         file.
5004         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5005         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5006         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5007
5008 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5009
5010         Fixes bug #29047
5011         * gnu/java/util/regex/RETokenRepeated.java
5012         (findMatch): Rewriten without using recursive calls,
5013         (FindMatchControlStack): New class,
5014         (FindMatchControl): New class,
5015         (TryAnotherResult): New class,
5016         (tryAnother): New method.
5017
5018 2006-09-22  Gary Benson  <gbenson@redhat.com>
5019
5020         * java/net/SocketPermission.java
5021         (processHostport): Cope with IPv6 addresses with a
5022         one-digit first component.
5023
5024 2006-09-22  Roman Kennke  <kennke@aicas.com>
5025
5026         * java/awt/Component.java
5027         (enableEvents): Set newEventsOnly flag.
5028         * java/awt/Container.java
5029         (dispatchEventImpl): Consume event if lightweight dispatcher
5030         dispatched the event. Don't call processEvent() here, this
5031         is already done in Component.dispatchEventImpl(). For
5032         heavyweights or when the lightweight dispatcher could
5033         not dispatch, fall back to calling super.
5034         (dispatchNoLightweight): New helper method to avoid
5035         recursivly calling the lightweight dispatcher.
5036         * java/awt/LightweightDispatcher.java
5037         (dragButton): Removed field.
5038         (dragTarget): Removed field.
5039         (mouseEventTarget): New field.
5040         (convertPointToChild): Removed method.
5041         (dispatchEvent): Don't depend on component beeing
5042         a window.
5043         (findTarget): Improved algorithm for finding a target.
5044         Before we went down to the deepest component and went
5045         up again to find a suitable target. Now we go
5046         down only once, without going up.
5047         (handleMouseEvent): Broke method down into some smaller
5048         helper methods.
5049         (isDragging): New helper method.
5050         (isMouseListening): New helper method.
5051         (redispatch): New helper method.
5052         (trackEnterExit): New helper method.
5053
5054 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5055
5056         * javax/swing/SizeSequence.java
5057         (getSize): Return 0 if index is out of bounds.
5058
5059 2006-09-21  Tom Tromey  <tromey@redhat.com>
5060
5061         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5062         (PathOptionGroup): Make -I a joined option.
5063         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5064         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5065         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5066         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5067         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5068         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5069         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5070         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5071         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5072         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5073         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5074         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5075         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5076         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5077         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5078         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5079         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5080         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5081         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5082         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5083         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5084         unused entries.
5085         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5086         * tools/gnu/classpath/tools/common/Messages.java: New file.
5087         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5088         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5089         from getopt.
5090         (ClasspathToolParser): Add -J option here.
5091         (ClasspathToolParser): Call other constructor in this class.
5092         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5093         Handle joined options.
5094         (handleShortOptions): Likewise.
5095         (handleShortOption): Removed.
5096         (finalGroup): New field.
5097         (Parser): Initialize new field.  Don't add -J option.
5098         (addFinal): New method.
5099         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5100         isJoined.
5101         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5102         (Option): Check short option for validity.
5103         (Option): New constructors.
5104         (joined): New field.
5105
5106 2006-09-21  csm  <csm@pollux.local>
5107
5108         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5109         `InterruptedIOException;' try again if it gets thrown.
5110         (receive): likewise, but re-throw `SocketTimeoutException.'
5111         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5112         if we have nothing to select.
5113
5114 2006-09-21  Francis Kung  <fkung@redhat.com>
5115
5116         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5117         (getLogicalBounds): Respect glyph transformations.
5118         (getGlyphOutline): Added null pointer check.
5119         (getGlyphTransform): Do not generate identity transform (API permits null).
5120         (setGlyphPosition): Do not invalidate transform.
5121         (setGlyphTransform): Do not modify glyph position.
5122
5123 2006-09-21  Francis Kung  <fkung@redhat.com>
5124
5125         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5126
5127 2006-09-21  Francis Kung  <fkung@redhat.com>
5128
5129         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5130         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5131         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5132
5133 2006-09-21  Tania Bento  <tbento@redhat.com>
5134
5135         * javax/swing/JTabbedPane.java:
5136         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5137         (setModel): A ChangeListener should be created only if there does not 
5138         currently exist one.
5139
5140 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5141
5142         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5143         (MaximizeAction.actionPerformed): Change icon on maxButton.
5144
5145 2006-09-21  Roman Kennke  <kennke@aicas.com>
5146
5147         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5148         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5149         Use more efficient getViewPosition() and getViewSize() methods
5150         to avoid creating a rectangle.
5151         (HSBChangeListener.stateChanged): Update the view position
5152         unconditionally. Let the Viewport figure out if something
5153         changed.
5154         (VSBChangeListener.stateChanged): Update the view position
5155         unconditionally. Let the Viewport figure out if something
5156         changed.
5157         * javax/swing/JViewport.java
5158         (ViewListener.componentResized): Fire state change, because
5159         the extentSize changes.
5160         (extentSize): Removed unneeded field.
5161         (viewSize): Removed unneeded field.
5162         (getExtentSize): Return the viewport's size here.
5163         (getViewRect): Reformatted.
5164         (getViewSize): Reordered for only one return statement.
5165         (paintImmediately2): Fixed up javadoc.
5166         (paint): Removed unneeded statement.
5167         (setExtentSize): Set viewport size and check for actual change
5168         of value.
5169         (setViewPosition): Simplified condition. Set scrollUnderway
5170         true and don't set isViewSizeSet. Avoid creating one Point
5171         object.
5172         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5173         to false.
5174         * javax/swing/JScrollBar.java
5175         (ScrollBarListener): New class. Forwards change events from
5176         the model as adjustment events.
5177         (sbChangeListener): New field.
5178         (JScrollBar): Install listener on new model.
5179         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5180         method.
5181         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5182         method to allow custom isAdjusting value.
5183         (setMaximum): Only forward to model.
5184         (setMinimum): Only forward to model.
5185         (setValue): Only forward to model.
5186         (setVisibleAmount): Only forward to model.
5187         (setValues): Only forward to model.
5188         (setModel): Update the change listener.
5189
5190 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5191
5192         * java/util/Formatter.java (basicIntegralConversion): Removed 
5193         check for ZERO && !LEFT_JUSTIFY.
5194                 
5195 2006-09-20  Roman Kennke  <kennke@aicas.com>
5196
5197         PR 29036
5198         * javax/swing/plaf/metal/DefaultMetalTheme.java
5199         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5200         (BOLD_CONTROL_TEXT_FONT): New constant field.
5201         (PLAIN_MENU_TEXT_FONT): New constant field.
5202         (BOLD_MENU_TEXT_FONT): New constant field.
5203         (controlTextFont): Removed.
5204         (menuTextFont): Removed.
5205         (CONTROL_TEXT_FONT): New constant field.
5206         (MENU_TEXT_FONT): New constant field.
5207         (getControlTextFont): Use getFont() helper method for fetching
5208         the correct font.
5209         (getMenuTextFont): Use getFont() helper method for fetching
5210         the correct font.
5211         (getFont): New helper method.
5212         (isBoldMetal): New helper method.
5213
5214 2006-09-20  Casey Marshall  <csm@gnu.org>
5215
5216         * NEWS: mention epoll selector along with the kqueue one.
5217
5218 2006-09-20  Casey Marshall  <csm@gnu.org>
5219
5220         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5221         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5222
5223 2006-09-20  Francis Kung  <fkung@redhat.com>
5224
5225         PR 29011
5226         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5227         (getGlyphTransform): Use translation instead of scale.
5228         (performDefaultLayout): Increment position values instead of resetting, and
5229         pre-increment instead of post-increment.
5230         (setGlyphTransform): Handle null case with identity transform.
5231
5232 2006-09-20  Casey Marshall  <csm@gnu.org>
5233
5234         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5235         (AC_CHECK_FUNCS): check for `epoll_create.'
5236         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5237         * gnu/java/nio/EpollSelectorImpl.java: new file.
5238         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5239         field.
5240         (openSelector): return epoll selector if requested and available.
5241         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5242         (gnu_java_nio_EpollSelectorImpl.h): new target.
5243         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5244         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5245         gnu_java_nio_EpollSelectorImpl.c.
5246         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5247
5248 2006-09-20  Casey Marshall  <csm@gnu.org>
5249
5250         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5251         call `isConnected.'
5252         (isConnected): return false if `connectionPending' is true.
5253
5254 2006-09-20  Francis Kung  <fkung@redhat.com>
5255
5256         PR 29011
5257         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5258         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5259         (getGlyphOutline): Call getGylphTransform to generate transform.
5260         (getGylphPosition): Read position directly out of array.
5261         (getGlyphPositions): Read positions directly out of array.
5262         (getGlyphTransform): Generate transform based on gylphPositions array.
5263         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5264         (setGlyphPosition): Set position directly into array.
5265         (setGlyphTransform): Update positions array as well.
5266
5267 2006-09-20  David Daney  <ddaney@avtrex.com>
5268
5269         PR classpath/28661
5270         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5271         default content-type for POST method.
5272
5273 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5274
5275         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5276         (BasicRadioButtonUI): Don't fetch icon here,
5277         (installDefaults): Initialise icon here,
5278         (getDefaultIcon): Just return icon.
5279
5280 2006-09-20  Mark Wielaard  <mark@klomp.org>
5281
5282         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5283         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5284         (EXTRA_DIST): Include javanio.c.
5285
5286 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5287
5288         * java/awt/geom/RoundRectangle2D.java:
5289         (getPathIterator): Reimplemented,
5290         and updated various API doc comments.
5291
5292 2006-09-20  Roman Kennke  <kennke@aicas.com>
5293
5294         * java/awt/Container.java
5295         (addImpl): Set the new component's parent after it has been
5296         added to the array. Call addNotify() and invalidate()
5297         after the component has been added, so that the peer
5298         gets to know about the component structure when it is created.
5299         * java/awt/Window.java
5300         (dispatchEventImpl): Only revalidate when window is resized,
5301         let the other stuff be processed by the superclass.
5302         (dispose): Post WINDOW_CLOSED event only when some listener
5303         is registered or event is explicitly enabled.
5304         (show): Post WINDOW_OPENED event when appropriate.
5305
5306 2006-09-20  Roman Kennke  <kennke@aicas.com>
5307
5308         * java/awt/Component.java
5309         (addNotify): Invalidate here. Fetch peer font.
5310         (getFont): Delegate to helper method, to protect from
5311         overriding client code. Lock the tree while fetching the font.
5312         (getFontImpl): New helper method. Moved code from getFont() in
5313         here.
5314         (removeNotify): Nullify peerFont too.
5315         (setFont): Synchronize on tree and component to avoid threading
5316         issues. Update the peerFont correctly.
5317         (validate): Update the peer font if necessary, before validating.
5318         (getGraphics): Revert to recursive graphics fetching.
5319         Set component font on the Graphics object.
5320         (translateEvent): Removed unnecessary cast.
5321         * java/awt/Container.java
5322         (invalidateTree): Made final and private. Made implementation
5323         slightly more efficient.
5324         (setFont): Get old and new font via getFont() to account for
5325         the real font, and only invalidate the tree when they are not
5326         the same and not equal.
5327         (visitChild): Set the font of the child on the component graphics.
5328         * java/awt/Frame.java
5329         (setMenuBar): Create local reference of peer for thread safety.
5330         Only call simple invalidate, not invalidateTree().
5331
5332 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5333
5334         PR 29012
5335         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5336         (constructor): Copy image field.
5337
5338 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5339
5340         * javax/swing/JMenuBar.java
5341         (getHelpMenu): Implemented to throw an Error, and added API docs,
5342         (getMargin): Added API docs,
5343         (setMargin): Likewise.
5344
5345 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5346
5347         * javax/swing/AbstractButton.java
5348         (AbstractButton): Don't call updateUI(),
5349         * javax/swing/JButton.java
5350         (JButton(String, Icon)): Call setModel() before init(),
5351         * javax/swing/JMenuItem.java
5352         (JMenuItem()): Delegate to another constructor,
5353         (JMenuItem(Icon)): Likewise,
5354         (JMenuItem(Action)): Set model,
5355         (JMenuItem(String, Icon)): Likewise,
5356         * javax/swing/JToggleButton.java
5357         (init): Call setModel() before init().
5358
5359 2006-09-19  Mark Wielaard  <mark@klomp.org>
5360
5361         Fixes bug #29137
5362         * java/util/logging/LogManager.java (addLogger): Always check for
5363         existing children of a new Logger.
5364
5365 2006-09-19  Roman Kennke  <kennke@aicas.com>
5366
5367         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5368         (HSBChangeListener.stateChanged): Moved handling of header to
5369         syncScrollPaneWithViewport().
5370         (VSBChangeListener.stateChanged): Moved handling of header to
5371         syncScrollPaneWithViewport().
5372         (ViewportChangedHandler.stateChanged): Removed unused statements.
5373         (syncScrollPaneWithViewport): Added null checks. Use setValues
5374         rather then the single setter methods to avoid multiple
5375         adjustments and side effects. Also snyc the headers here.
5376         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5377         (uninstallUI): Removed unnecessary cast and this qualifier as well
5378         as the call to super.
5379
5380 2006-09-19  Gary Benson  <gbenson@redhat.com>
5381
5382         * java/net/ResolverCache.java: New class (a DNS cache).
5383         * java/net/InetAddress.java
5384         (internalGetCanonicalHostName, getAllByName): Use the above.
5385
5386 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5387
5388         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5389         * java/net/ServerSocket.java
5390         (port): New field.
5391         (bind): Set port field.
5392         (close): Set impl to null.
5393         (isClosed): Check impl and channel instead of using VMChannel.
5394         (toString): Use port field and getLocalPort() method.
5395         * java/net/Socket.java
5396         (isClosed): Check impl and channel instead of using VMChannel.
5397
5398 2006-09-18  Tom Tromey  <tromey@redhat.com>
5399
5400         * java/util/concurrent/CopyOnWriteArrayList.java
5401         (CopyOnWriteArrayList): New constructor.
5402
5403 2006-09-18  Casey Marshall  <csm@gnu.org>
5404
5405         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5406         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5407
5408 2006-09-18  Tom Tromey  <tromey@redhat.com>
5409
5410         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5411         isConnected): Removed old comment.
5412         (getRemoteSocketAddress): Uncommented.
5413         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5414         setTrafficClass, getTrafficClass, setReuseAddress,
5415         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5416         isOutputShutdown): Uncommented.
5417
5418 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5419
5420         Fixes PR 28589
5421         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5422           input stream during resolution.
5423
5424 2006-09-18  Roman Kennke  <kennke@aicas.com>
5425
5426         * java/awt/LightweightDispatcher.java
5427         (findTarget): Correctly translate child coordinates.
5428         Use Component.eventTypeEnabled() for checking if a component
5429         has a certain event enabled.
5430         (handleMouseEvent): Find the correct mouse event target.
5431         Use Component.eventTypeEnabled() for checking if a component
5432         has a certain event enabled.
5433
5434 2006-09-18  Roman Kennke  <kennke@aicas.com>
5435
5436         * java/awt/Component.java
5437         (show): Test for the peer beeing lightweight directly.
5438         (paintAll): Validate before painting. Don't paint when not
5439         showing. Call peer.paint() when the component is heavyweight.
5440         (repaint): Delegate to the parent when lightweight, rather
5441         than skipping to the nearest heavyweight.
5442         (createImage): Added null check to prevent NPE.
5443         (dispatchEvent): Moved old event dispatching and toolkit
5444         event dispatching to dispatchEventImpl.
5445         (addComponentListener): Don't enable event. Only add listener
5446         when not null. Switch to new event dispatching only.
5447         (addFocusListener): Likewise.
5448         (addHierarchyListener): Likewise.
5449         (addHierarchyBoundsListener): Likewise.
5450         (addKeyListener): Likewise.
5451         (addMouseListener): Likewise.
5452         (addMouseMotionListener): Likewise.
5453         (addMouseWheelListener): Likewise.
5454         (addInputMethodListener): Likewise.
5455         (coalesceEvents): For mouse events coalesce them only when
5456         their modifiers are equal. For paint events coalesce the events
5457         when one contains the other, without going through complicated
5458         heuristics.
5459         (dispatchEventImpl): Moved old event dispatching and toolkit
5460         event dispatching to dispatchEventImpl.
5461         (coalescePaintEvents): Removed.
5462         (HeavyweightInLightweightListener.componentHidden):
5463         Fixed condition.
5464         * java/awt/Container.java
5465         (addImpl): Don't enable events on lightweights.
5466         (remove): Reordered operations. Don't remove any listeners.
5467         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5468         Only removeNotify() when peer is != null. Only invalidate if 
5469         not already invalid. Only fire ContainerEvent if there is
5470         an interested listener or the event is enabled. Dispatch this
5471         event directly without the event queue.
5472         (removeAll): Likewise.
5473         (paintComponents): Only paint when showing. Also paint heavyweights.
5474         Don't paint the container itself.
5475         (removeNotify): Create local variables for improved thread safety.
5476         (addNotifyContainerChildren): Don't enable events for lightweights.
5477
5478 2006-09-18  Roman Kennke  <kennke@aicas.com>
5479
5480         * java/awt/EventQueue.java
5481         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5482         (next_in): Removed obsolete field.
5483         (next_out): Removed obsolete field.
5484         (queueHead): New field. Markes the head of the queue.
5485         (queueTail): New field. Markes the tail of the queue.
5486         (queue): Removed obsolete field.
5487         (EventQueue): Documented empty block.
5488         (getNextEvent): Changed array based implementation to single-linked
5489         list based implementation.
5490         (invokeAndWait): Use an Object as synchronization object rather
5491         than the current thread.
5492         (peekEvent(int)): Changed array based implementation to single-linked
5493         list based implementation.
5494         (peekEvent()): Changed array based implementation to single-linked
5495         list based implementation.
5496         (pop()): Changed array based implementation to single-linked
5497         list based implementation.
5498         (postEvent): Foward to postEventImpl.
5499         (postEventImpl): Changed array based implementation to single-linked
5500         list based implementation.
5501         (push): Changed array based implementation to single-linked
5502         list based implementation.
5503         * java/awt/AWTEvent.java
5504         (queueNext): New field. Implements a single-linked list for
5505         the EventQueue.
5506
5507 2006-09-17  Mark Wielaard  <mark@klomp.org>
5508
5509         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5510         resource from HTMLEditorKit.class.
5511
5512 2006-09-17  Mark Wielaard  <mark@klomp.org>
5513
5514         * javax/swing/plaf/basic/BasicToolBarUI.java
5515         (setBorderToNonRollover): Check whether border is null.
5516         (setBorderToRollover): Likewise.
5517
5518 2006-09-17  Mark Wielaard  <mark@klomp.org>
5519
5520         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5521
5522 2006-09-17  Mark Wielaard  <mark@klomp.org>
5523
5524         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5525         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5526         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5527         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5528         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5529
5530 2006-09-17  Casey Marshall  <csm@gnu.org>
5531
5532         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5533         unused.
5534
5535 2006-09-17  Chris Burdess  <dog@gnu.org>
5536
5537         Fixes PR 27610 27687.
5538         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5539         * gnu/xml/transform/SAXTemplatesHandler.java,
5540         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5541         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5542           SAXTransformerFactory.
5543
5544 2006-09-16  Casey Marshall  <csm@gnu.org>
5545
5546         * NEWS: updated.
5547         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5548         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5549         kqueue, and kevent.
5550         (HAVE_INET6): define if IPv6 is supported.
5551         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5552         (native_fd): removed.
5553         (impl): new field.
5554         (<init>): throw IOException; initialize fields.
5555         (finalize): removed.
5556         (getNativeFD): removed.
5557         (bind): use `PlainSocketImpl.bind.'
5558         (create): use `PlainSocketImpl.initSocket.'
5559         (disconnect): use `PlainSocketImpl.disconnect.'
5560         (getLocalPort): new method.
5561         (send): use `VMChannel.send.'
5562         (receive): use `VMChannel.receive.'
5563         (setOption): use `PlainSocketImpl.setOption.'
5564         (getOption): use `PlainSocketImpl.getOption.'
5565         (close): use `VMChannel.State.close.'
5566         (join): use `PlainSocketImpl.join.'
5567         (leave): use `PlainSocketImpl.leave.'
5568         (joinGroup, leaveGroup): implemented.
5569         * gnu/java/net/PlainSocketImpl.java: make non-final.
5570         (native_fd): removed.
5571         (impl): new field.
5572         (channel): new field.
5573         (<init>): initialize `impl.'
5574         (finalize, getNativeFD): removed.
5575         (setOption): use `PlainSocketImpl.setOption.'
5576         (getOption): use `PlainSocketImpl.getOption.'
5577         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5578         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5579         (create): create `channel,' initialize `impl's native state.
5580         (connect): use `connect(SocketAddress, int).'
5581         (connect): use `SocketChannelImpl.connect;' initialize `address'
5582         and `port.'
5583         (bind): use `VMPlainSocketImpl.bind.'
5584         (listen): use `VMPlainSocketImpl.listen.'
5585         (accept): use `SocketChannelImpl.accept.'
5586         (available): use `VMChannel.available.'
5587         (close): use `PlainSocketImpl.close.'
5588         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5589         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5590         getPort): new methods.
5591         (SocketInputStream.read): use `VMChannel.read.'
5592         (SocketInputStream.read): use `SocketChannel.read.'
5593         (SocketOutputStream.write): use `VMChannel.write.'
5594         (SocketOutputStream.write): use `SocketChannel.write.'
5595         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5596         (channel): new field.
5597         (<init>): initialize `channel.'
5598         (implCloseSelectableChannel): use `VMChannel.close.'
5599         (implConfigureBlocking): use `VMChannel.setBlocking.'
5600         (connect): use `VMChannel.connect.'
5601         (disconnect): use `VMChannel.disconnect.'
5602         (isConnected): use `VMChannel.getPeerAddress.'
5603         (write): use `VMChannel.write.'
5604         (write): use `VMChannel.writeGathering.'
5605         (read): use `VMChannel.read.'
5606         (read): use `VMChannel.readScattering.'
5607         (receive): use `VMChannel.receive.'
5608         (send): use `VMChannel.send.'
5609         (getVMChannel): new method.
5610         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5611         access native FD through VMChannel.State.
5612         * gnu/java/nio/FileChannelImpl.java: moved from
5613         gnu/java/nio/channels/FileChannelImpl.java.
5614         * gnu/java/nio/FileLockImpl.java: fix imports.
5615         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5616         * gnu/java/nio/KqueueSelectorImpl.java: new file.
5617         * gnu/java/nio/NIOSocket.java (impl): removed.
5618         (channel): new field.
5619         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5620         (getPlainSocketImpl, setChannel): removed.
5621         (isConnected): new method.
5622         * gnu/java/nio/NIOSocketImpl.java: new file.
5623         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5624         `VMChannelOwner.'
5625         (SourceChannelImpl.native_fd): removed.
5626         (SourceChannelImpl.<init>): init with a `VMChannel.'
5627         (SourceChannelImpl.getNativeFD): removed.
5628         (SourceChannelImpl.getVMChannel): new method.
5629         (SourceChannelImpl.implCloseSelectableChannel): implement.
5630         (SinkChannelImpl): implement `VMChannelOwner.'
5631         (SinkChannelImpl.native_fd): removed.
5632         (SinkChannelImpl.<init>): init with a `VMChannel.'
5633         (SinkChannelImpl.implCloseSelectableChannel): implement.
5634         (SinkChannelImpl.getNativeFD): removed.
5635         (SinkChannelImpl.getVMChannel): new method.
5636         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5637         deprecated.
5638         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5639         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5640         (openSelector): return kqueue selector if available.
5641         * gnu/java/nio/ServerSocketChannelImpl.java: implement
5642         `VMChannelOwner.'
5643         (channel): new field.
5644         (<init>): init `channel.'
5645         (finalizer): check if the `VMChannel.State' is valid.
5646         (implCloseSelectableChannel): use `VMChannel.close.'
5647         (implConfigureBlocking): use `VMChannel.setBlocking.'
5648         (accept): use `VMChannel.accept.'
5649         (getVMChannel): new method.
5650         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5651         access native FD through `VMChannel.State.'
5652         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5653         (impl): removed.
5654         (channel, connected, connectAddress): new field.
5655         (<init>): new constructors.
5656         (getPlainSocketImpl): removed.
5657         (implCloseSelectableChannel): use `VMChannel.close.'
5658         (implConfigureBlocking): use `VMChannel.setBlocking.'
5659         (connect): use `connect(SocketAddress,int).'
5660         (connect): use `VMChannel.connect.'
5661         (finishConnect): don't use a selector.
5662         (isConnected): use `VMChannel.getPeerAddress.'
5663         (read): use `VMChannel.read.'
5664         (read): use `VMChannel.readScattering.'
5665         (write): use `VMChannel.write.'
5666         (write): use `VMChannel.writeGathering.'
5667         (getVMChannel): new method.
5668         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5669         native FD from `VMChannel.State.'
5670         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5671         get native FD from `VMChannel.State.'
5672         * gnu/java/nio/VMChannelOwner.java: new file.
5673         * gnu/java/nio/channels/FileChannelImpl.java: removed.
5674         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5675         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5676         `gnu_java_nio_channels_FileChannelImpl.h.'
5677         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5678         * include/gnu_java_nio_FileChannelImpl.h: new file.
5679         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5680         * include/gnu_java_nio_VMChannel.h: regenerated.
5681         * include/gnu_java_nio_VMPipe.h: regenerated.
5682         * include/java_net_VMNetworkInterface.h: regenerated.
5683         * java/io/FileDescriptor.java: fix imports.
5684         * java/io/FileInputStream.java (<init>): handle exceptions.
5685         (read): wrap the destination arary.
5686         * java/io/FileOutputStream.java (<init>): handle exceptions.
5687         (write): wrap the source array.
5688         * java/io/RandomAccessFile.java (<init>): handle exceptions.
5689         * java/net/DatagramSocket.java (<init>): handle exceptions.
5690         (receive): handle length/port setting.
5691         (connect): bind to any address/port if the argument is null.
5692         * java/net/NetworkInterface.java (name, inetAddress): removed.
5693         (netif): new field.
5694         (<init>): make private.
5695         (getName): return `netif.name.'
5696         (getInetAddresses): access `netif.addresses.'
5697         (getDisplayName): return `netif.name.'
5698         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5699         (condense): removed.
5700         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5701         (equals): compare `netif' fields.
5702         (hashCode): get hash codes from `netif.'
5703         (toString): use a StringBuffer.
5704         * java/net/ServerSocket.java (close): don't set `impl' to null.
5705         (isClosed): use `VMChannel.State.isClosed.'
5706         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5707         the `SocketImpl' is a `PlainSocketImpl.'
5708         (close): just close the `impl.'
5709         (toString): use `super.toString' in the value we return.
5710         (isConnected): just access `impl,' not `getImpl.'
5711         (isBound): use `PlainSocketImpl' methods if we can.
5712         (isClosed): look at `VMChannel.State.'
5713         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5714         (JCL_NewRawDataObject): don't initialize cached fields here; throw
5715         an exception if they were not.
5716         (JCL_GetRawData): throw an exception if cached fields weren't
5717         created.
5718         * native/jni/java-lang/java_lang_VMProcess.c: handle
5719         FileChannelImpl move.
5720         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5721         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5722         THROW_NO_NETWORK): new macros.
5723         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5724         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5725         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5726         (java_sockopt): new enum.
5727         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5728         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5729         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5730         reimplemented.
5731         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5732         reimplemented.
5733         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5734         function.
5735         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5736         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5737         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5738         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5739         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5740         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5741         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5742         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5743         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5744         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5745         (getif_address): new function.
5746         (getif_index): new function.
5747         * native/jni/java-net/java_net_VMNetworkInterface.c
5748         (java_net_VMNetworkInterface_init,
5749         java_net_VMNetworkInterface_addAddress): new file-scope globals.
5750         (Java_java_net_VMNetworkInterface_initIds): new function.
5751         (struct netif_entry): new struct.
5752         (free_netif_list): new function.
5753         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5754         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5755         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5756         gnu_java_nio_channels_FileChannelImpl.c, add
5757         gnu_java_nio_KqueueSelectorImpl.c.
5758         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5759         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5760         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5761         ALIGN_DOWN): new macros.
5762         (JCL_init_buffer): get the address through GetDirectBufferAddress
5763         if possible.
5764         (Java_gnu_java_nio_VMChannel_stdin_1fd,
5765         Java_gnu_java_nio_VMChannel_stdout_1fd,
5766         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5767         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5768         value.
5769         (Java_gnu_java_nio_VMChannel_read): renamed...
5770         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5771         this; handle interrupted IO; add HAVE_READ check.
5772         (Java_gnu_java_nio_VMChannel_write): renamed...
5773         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5774         this; handle zero-length write; add HAVE_WRITE check.
5775         (Java_gnu_java_nio_VMChannel_receive): new function.
5776         (Java_gnu_java_nio_VMChannel_send): new function.
5777         (Java_gnu_java_nio_VMChannel_send6): new function.
5778         (Java_gnu_java_nio_VMChannel_read__I): new function.
5779         (Java_gnu_java_nio_VMChannel_write__II): new function.
5780         (Java_gnu_java_nio_VMChannel_socket): new function.
5781         (Java_gnu_java_nio_VMChannel_connect): new function.
5782         (Java_gnu_java_nio_VMChannel_connect6): new function.
5783         (Java_gnu_java_nio_VMChannel_getsockname): new function.
5784         (Java_gnu_java_nio_VMChannel_getpeername): new function.
5785         (Java_gnu_java_nio_VMChannel_accept): new function.
5786         (Java_gnu_java_nio_VMChannel_disconnect): new function.
5787         (Java_gnu_java_nio_VMChannel_close): new function.
5788         (Java_gnu_java_nio_VMChannel_available): new function.
5789         (FileChannel_mode): new enum.
5790         (Java_gnu_java_nio_VMChannel_open): new function.
5791         (Java_gnu_java_nio_VMChannel_position): new function.
5792         (Java_gnu_java_nio_VMChannel_seek): new function.
5793         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5794         (Java_gnu_java_nio_VMChannel_lock): new function.
5795         (Java_gnu_java_nio_VMChannel_unlock): new function.
5796         (Java_gnu_java_nio_VMChannel_size): new function.
5797         (Java_gnu_java_nio_VMChannel_map): new function.
5798         (Java_gnu_java_nio_VMChannel_flush): new function.
5799         * native/jni/java-nio/gnu_java_nio_VMPipe.c
5800         (Java_gnu_java_nio_VMPipe_init): removed.
5801         (Java_gnu_java_nio_VMPipe_pipe0): new function.
5802         * native/jni/java-nio/javanio.c: new file.
5803         * native/jni/java-nio/javanio.h: new file.
5804         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5805         systems without `gethostbyname_r.'
5806         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5807         field.
5808         (<init>, <init>): new constructors.
5809         (setOption, getOption): make instance methods; defer to native
5810         implementation.
5811         (connect): removed.
5812         (bind): make an instance method; defer to native methods.
5813         (accept): removed.
5814         (available): removed.
5815         (listen): make an instance method; defer to native method.
5816         (read): removed.
5817         (join, leave): new methods.
5818         (write): removed.
5819         (joinGroup, leaveGroup): new methods.
5820         (shutdownInput, shutdownOutput): make instance methods.
5821         (sendUrgentData): removed.
5822         (State): new class.
5823         * vm/reference/gnu/java/nio/VMChannel.java: make final.
5824         (fd): removed.
5825         (nfd): new field.
5826         (<init>): new, public constructors.
5827         (getVMChannel): methods removed.
5828         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5829         stderr_fd): new methods.
5830         (setBlocking): make an instance method.
5831         (available): new method.
5832         (read): get native fd from `nfd.'
5833         (read): new single-byte read method.
5834         (readScattering): get native fd from `nfd.'
5835         (receive): new method.
5836         (write, writeGathering): get native fd from `nfd.'
5837         (send): new method.
5838         (write): new single-byte write method.
5839         (initSocket): new method.
5840         (connect): new method.
5841         (disconnect): new method.
5842         (getLocalAddress): new method.
5843         (getPeerAddress): new method.
5844         (accept): new method.
5845         (openFile): new method.
5846         (position): new method.
5847         (seek): new method.
5848         (truncate): new method.
5849         (lock): new method.
5850         (unlock): new method.
5851         (size): new method.
5852         (map): new method.
5853         (flush): new method.
5854         (close): new method.
5855         (State): new class.
5856         (Kind): new class.
5857         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5858         (pipe, pipe0): new method.
5859         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5860         new fields.
5861         (<clinit>): call `initIds.'
5862         (initIds): new method.
5863         (getInterfaces): removed.
5864         (getVMInterfaces): new method.
5865         (addAddress): new method.
5866         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5867
5868 2006-09-16  Chris Burdess  <dog@gnu.org>
5869
5870         Fixes PR 28572.
5871         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5872           when in text output mode.
5873
5874 2006-09-16  Chris Burdess  <dog@gnu.org>
5875
5876         Fixes PR 27293.
5877         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5878
5879 2006-09-14  Michael Koch  <konqueror@gmx.de>
5880
5881         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5882
5883 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
5884
5885         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5886         Added !cl.isArray() to serialVersionUID mismatch check.
5887
5888 2006-09-14  Francis Kung  <fkung@redhat.com>
5889
5890         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5891         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5892         be compatibe with Cairo 1.2.x.
5893
5894 2006-09-14  Francis Kung  <fkung@redhat.com>
5895
5896         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5897         (cairoSurfaceSetFilter): Removed method.
5898         (drawImage): Pass interpolation type as argument to drawing methods.
5899         (drawPixels): Added interpolation parameter.
5900         (drawRaster): Pass interpolation type as argument to drawing method.
5901         (getInterpolation): New method.
5902         (setRenderingHint): Store hints, but do not set interpolation in cairo.
5903         (setRenderingHints): Store hints, but do not set interpolation in cairo.
5904         * gnu/java/awt/peer/gtk/CairoSurface.java
5905         (drawSurface): Added interpolation parameter.
5906         (nativeDrawSurface): Added interpolation parameter.
5907         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5908         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5909         parameter.
5910         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5911         * native/jni/gtk-peer/cairographics2d.h
5912         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5913         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5914         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5915         parameter.
5916         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5917         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5918         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5919         interpolation parameter.
5920
5921 2006-09-14  Gary Benson  <gbenson@redhat.com>
5922
5923         * java/net/InetAddress.java
5924         (internalGetCanonicalHostName): New method.
5925         (getCanonicalHostName): Use internalGetCanonicalHostName.
5926         (getByLiteral): New method.
5927         (getAllByName): Use getByLiteral.
5928         * java/net/SocketPermission.java
5929         (host): Replaced with...
5930         (hostname, address): New fields.
5931         (equals, hashcode): Reflect the above.
5932         (setHostPort): Parse host into hostname or address.
5933         (implies): Rewrite host checks.
5934
5935 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5936
5937         Fixes PR28699
5938         * java/awt/Menu.java
5939         (insert(MenuItem, int)): Fixed loop range,
5940         (insert(String, int)): Updated API docs.
5941
5942 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5943
5944         Fixes PR22800
5945         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5946         architectures (like Arm).
5947         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5948         Reverted SWAP_DOUBLE patch.
5949         (doubleToRawLongBits): Likewise.
5950         (longBitsToDouble): Likewise.
5951
5952 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5953
5954         * java/awt/Menu.java: Reformatted source file.
5955
5956 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5957
5958         * gnu/java/rmi/server/ActivatableRef.java
5959         (readExternal, writeExternal): Partial fix for serialization format.
5960
5961 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5962
5963         PR classpath/28984
5964         * java/io/InputStreamReader.java
5965         (read(char[],int,int)): Fixed bug.
5966
5967 2006-09-13  Francis Kung  <fkung@redhat.com>
5968
5969         * java/awt/image/BandCombineOp.java: Updated documentation.
5970         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5971
5972 2006-09-13  Tom Tromey  <tromey@redhat.com>
5973
5974         PR classpath/29034:
5975         * java/io/PipedReader.java (read): Return early if len==0.
5976         * java/io/PipedInputStream.java (read): Return early if len==0.
5977
5978 2006-09-13  Francis Kung  <fkung@redhat.com>
5979
5980         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
5981         Removed hard-coded max sample value.
5982         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
5983         Fixed finding of max sample value.
5984
5985 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5986
5987         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5988         (setPaint): Check null argument ('p').
5989
5990 2006-09-12  Francis Kung  <fkung@redhat.com>
5991
5992         PR 27940
5993         * gnu/java/awt/java2d/TexturePaintContext.java
5994         (constructor): Fixed typo, getMinY instead of getMaxX.
5995         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5996         (setPaint): Implemented support for custom Paint classes.
5997         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
5998         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
5999         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6000         to setPaintPixels, and added repeat parameter.
6001         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6002          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6003
6004 2006-09-12  Gary Benson  <gbenson@redhat.com>
6005
6006         * java/net/NetworkInterface.java (getInetAddresses):
6007         Fix port used in security check.
6008
6009 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6010
6011         * javax/swing/plaf/metal/DefaultMetalTheme.java
6012         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6013         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6014         (getControlTextFont): Check 'swing.boldMetal' setting before 
6015         initialising font,
6016         (getMenuTextFont): Likewise.
6017
6018 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6019
6020         * javax/swing/plaf/metal/OceanTheme.java
6021         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6022
6023 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6024
6025         * javax/swing/plaf/metal/MetalIconFactory.java
6026         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6027
6028 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6029
6030         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6031
6032 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6033
6034         * javax/swing/AbstractButton.java
6035         (AbstractButton): Initialise textIconGap field.
6036
6037 2006-09-11  Tom Tromey  <tromey@redhat.com>
6038
6039         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6040         "volatile" when needed.
6041
6042 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6043
6044         * java/text/AttributedCharacterIterator.java
6045         (LANGUAGE): Initialise with lower case string,
6046         (INPUT_METHOD_SEGMENT): Likewise,
6047         (READING): Likewise,
6048         * java/text/AttributedStringIterator.java
6049         (getRunLimit): Check all attributes for changes.
6050
6051 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6052
6053         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6054         renamed some variables (no underscores) and removed some spaces to
6055         match the common style,
6056         * java/text/AttributedString.java: Likewise,
6057         * java/text/AttributedStringIterator.java: Likewise.
6058
6059 2006-09-11  Gary Benson  <gbenson@redhat.com>
6060
6061         * java/net/Inet4Address.java
6062         (FAMILY): Renamed back to AF_INET.
6063         (<init>, writeReplace): Reflect the above.
6064         * java/net/Inet6Address.java
6065         (FAMILY): Renamed back to AF_INET6.
6066         (<init>): Reflect the above.
6067
6068 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6069
6070         Fixes PR29010
6071         * java/text/AttributedString.java
6072         (AttributedString(AttributedCharacterIterator, int, int, 
6073         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6074         attribute.
6075
6076 2006-09-11  Gary Benson  <gbenson@redhat.com>
6077
6078         * java/net/Inet4Address.java
6079         (AF_INET): Renamed to FAMILY.
6080         (<init>, writeReplace): Reflect the above.
6081         * java/net/Inet6Address.java
6082         (AF_INET6): Renamed to FAMILY.
6083         (<init>): Reflect the above.
6084
6085 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6086
6087         Fixes bug #28867
6088         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6089         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6090         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6091         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6092         (bind): Call getImpl().create(true).
6093
6094 2006-09-09  Chris Burdess  <dog@gnu.org>
6095
6096         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6097           an instance of org.w3c.dom.NodeList.
6098
6099 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6100
6101         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6102         missing security manager when run in standalone mode.
6103
6104 2006-09-08  Francis Kung  <fkung@redhat.com>
6105
6106         * java/awt/image/AffineTransformOp.java: Updated documentation.
6107         (createCompatibleDestRaster): Updated formatting.
6108         (filter(BufferedImage, BufferedImage)): Updated formatting.
6109         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6110         if colour model is compatible.
6111         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6112         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6113
6114 2006-09-08  Gary Benson  <gbenson@redhat.com>
6115
6116         * java/net/InetAddress.java
6117         (family): Updated javadoc and made private.
6118         (<init>): Add an address family argument.
6119         (readObject): Don't overwrite family.
6120         * java/net/Inet4Address.java
6121         (AF_INET): New constant.
6122         (<init>): Use AF_INET as the family.
6123         (writeReplace): Likewise.
6124         * java/net/Inet6Address.java
6125         (AF_INET6): New constant.
6126         (<init>): Use AF_INET6 as the family.
6127
6128 2006-09-08  Gary Benson  <gbenson@redhat.com>
6129
6130         * java/net/InetAddress.java
6131         (getHostName): Move lookup into getCanonicalHostName.
6132         (getCanonicalHostName): Move lookup from getHostName,
6133         Perform security check on canonical name (ie after lookup).
6134
6135 2006-09-08  Gary Benson  <gbenson@redhat.com>
6136
6137         * java/net/Inet4Address.java (isMulticastAddress,
6138         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6139         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6140         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6141         implementations from InetAddress.
6142         * java/net/InetAddress.java (isMulticastAddress,
6143         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6144         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6145         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6146         implementations with UnsupportedOperationExceptions.
6147         
6148 2006-09-08  Gary Benson  <gbenson@redhat.com>
6149
6150         * java/net/InetAddress.java
6151         (inaddr_any): Removed.
6152         (ANY_IF, LOCALHOST): Create using getByAddress.
6153         (<init>): Updated javadoc.
6154         (getHostName): Cache hostname even if the lookup failed.
6155         (getByAddress): Create Inet4Address objects when passed
6156         IPv4-mapped IPv6 addresses.
6157         (aton): Removed.
6158         (getAllByName): Create address objects using getByAddress.
6159         Do not perform security checks unless actually required.
6160         Do not strip whitespace from the hostname.
6161         (getInaddrAny): Removed.
6162         (getLocalHost): Return the loopback address if getByName
6163         throws a SecurityException.
6164         (readResolve): Updated javadoc.
6165         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6166         * include/java_net_VMInetAddress.h
6167         (Java_java_net_VMInetAddress_aton): Likewise.
6168         * native/jni/java-net/java_net_VMInetAddress.c
6169         (Java_java_net_VMInetAddress_aton): New method.
6170         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6171         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6172         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6173         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6174         * NEWS: Added note about updated VM interface.
6175
6176 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6177
6178         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6179         (setNorthPane): Assign component to titlePane.
6180
6181 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6182
6183         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6184         Remove unused variable alt_addr.
6185         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6186         Remove unused variables.
6187
6188 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6189
6190         * javax/swing/plaf/metal/MetalScrollBarUI.java
6191         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6192         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6193         (createIncreaseButton): Likewise.
6194
6195 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6196
6197         * java/awt/image/MemoryImageSource.java: Added API docs.
6198
6199 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6200
6201         * javax/swing/plaf/basic/BasicScrollBarUI.java
6202         (installDefaults): Call configureScrollBarColors().
6203
6204 2006-09-06  Francis Kung  <fkung@redhat.com>
6205
6206         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6207         (constructor): Make copy of arrays.
6208         (createCompatibleDestImage): Changed treatment of null ColorModel.
6209         (filter(BufferedImage, BufferedImage)): Re-implemented.
6210         (filter(Raster, WritableRaster, boolean[])): New method.
6211         (filter(Raster, WritableRaster)): Re-implemented.
6212         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6213         (getPoint2D): Cleaned up formatting.
6214         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6215
6216 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6217
6218         * javax/swing/UIManager.java
6219         (getBoolean(Object)): Reimplemented,
6220         (getBoolean(Object, Locale)): Likewise,
6221         (getBorder(Object)): Likewise,
6222         (getBorder(Object, Locale)): Likewise,
6223         (getColor(Object)): Likewise,
6224         (getColor(Object, Locale)): Likewise,
6225         (getDimension(Object)): Likewise,
6226         (getDimension(Object, Locale)): Likewise,
6227         (getFont(Object)): Likewise,
6228         (getFont(Object, Locale)): Likewise,
6229         (getIcon(Object)): Likewise,
6230         (getIcon(Object, Locale)): Likewise,
6231         (getInsets(Object)): Updated API docs,
6232         (getInsets(Object, Locale)): Likewise,
6233         (getInt(Object)): Reimplemented,
6234         (getInt(Object, Locale)): Likewise,
6235         (getString(Object)): Likewise,
6236         (getString(Object, Locale)): Likewise.
6237
6238 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6239
6240         * javax/swing/UIManager.java
6241         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6242         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6243
6244 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6245
6246         * javax/swing/plaf/metal/MetalLookAndFeel.java
6247         (initComponentDefaults): Corrected various font defaults.
6248
6249 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6250
6251         * java/awt/List.java: Added @since to various methods.
6252
6253 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6254
6255         * native/jni/native-lib/cpprocess.c:
6256         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6257         Add redirection of stdout to stderr.
6258         * native/jni/native-lib/cpprocess.h:
6259         Added redirect argument.
6260         * native/jni/java-lang/java_lang_VMProcess.c
6261         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6262         * vm/reference/java/lang/VMProcess.java: Likewise.
6263         * include/java_lang_VMProcess.h: Regenerated.
6264         
6265 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6266
6267         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6268         __attribute to __attribute__.
6269
6270         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6271         header include.
6272
6273 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6274
6275         * java/awt/List.java: Source code reformatted.
6276
6277 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6278
6279         * gnu/CORBA/CollocatedOrbs.java,
6280         gnu/CORBA/SafeForDirectCalls.java: New files.
6281         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6282         Implement gnu.CORBA.SafeForDirectCalls.
6283         * gnu/CORBA/NamingService/Ext.java: Likewise.
6284         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6285         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6286         of the local host. (ior_to_object): Return the local object
6287         where possible. (run): Register/unregister this ORB.
6288         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6289         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6290         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6291         (constructors): Initialize noRetain. (_invoke): Drop servant
6292         if noRetain is true. (getHandler): Always seach for the new servant
6293         if noRetain is true.
6294         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6295         * NEWS: Added note about the new feature.
6296
6297 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6298
6299         * java/awt/Choice.java
6300         (addItem): Fixed API doc glitch.
6301
6302 2006-09-05  Francis Kung  <fkung@redhat.com>
6303
6304         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6305         (createCompatibleDestImage): Re-implemented.
6306         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6307         compatibility, and use ColorConvertOp for color conversion if needed.
6308         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6309
6310 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6311
6312         gnu/CORBA/CDR/Vio.java,
6313         org/omg/CORBA_2_3/ORB.java,
6314         org/omg/CORBA_2_3/portable/InputStream.java,
6315         org/omg/CORBA_2_3/portable/OutputStream.java,
6316         org/omg/CosNaming/BindingIteratorHelper.java,
6317         org/omg/CosNaming/BindingTypeHelper.java,
6318         org/omg/CosNaming/NameComponentHelper.java,
6319         org/omg/CosNaming/NameHelper.java,
6320         org/omg/CosNaming/NamingContextExtHelper.java,
6321         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6322         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6323         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6324         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6325         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6326         org/omg/CosNaming/NamingContextHelper.java,
6327         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6328         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6329         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6330         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6331         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6332         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6333         org/omg/DynamicAny/AnySeqHelper.java,
6334         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6335         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6336         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6337         org/omg/DynamicAny/DynAnyHelper.java,
6338         org/omg/DynamicAny/DynAnyOperations.java,
6339         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6340         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6341         org/omg/DynamicAny/DynAnySeqHelper.java,
6342         org/omg/DynamicAny/DynArrayHelper.java,
6343         org/omg/DynamicAny/DynEnumHelper.java,
6344         org/omg/DynamicAny/DynFixedHelper.java,
6345         org/omg/DynamicAny/DynSequenceHelper.java,
6346         org/omg/DynamicAny/DynStructHelper.java,
6347         org/omg/DynamicAny/DynStructOperations.java,
6348         org/omg/DynamicAny/DynUnionHelper.java,
6349         org/omg/DynamicAny/DynValueHelper.java,
6350         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6351         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6352         org/omg/IOP/CodecFactoryHelper.java,
6353         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6354         org/omg/IOP/CodecOperations.java,
6355         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6356         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6357         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6358         org/omg/IOP/ComponentIdHelper.java,
6359         org/omg/IOP/ExceptionDetailMessage.java,
6360         org/omg/IOP/MultipleComponentProfileHelper.java,
6361         org/omg/IOP/ProfileIdHelper.java,
6362         org/omg/IOP/ServiceContextListHelper.java,
6363         org/omg/IOP/ServiceIdHelper.java,
6364         org/omg/IOP/TAG_CODE_SETS.java,
6365         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6366         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6367         org/omg/PortableInterceptor/CurrentHelper.java,
6368         org/omg/PortableInterceptor/IORInfo.java,
6369         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6370         org/omg/PortableInterceptor/ORBIdHelper.java,
6371         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6372         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6373         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6374         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6375         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6376         org/omg/PortableInterceptor/RequestInfoOperations.java,
6377         org/omg/PortableInterceptor/ServerIdHelper.java,
6378         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6379         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6380         org/omg/PortableServer/AdapterActivatorOperations.java,
6381         org/omg/PortableServer/CurrentHelper.java,
6382         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6383         org/omg/PortableServer/ForwardRequestHelper.java,
6384         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6385         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6386         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6387         org/omg/PortableServer/LifespanPolicyValue.java,
6388         org/omg/PortableServer/POA.java,
6389         org/omg/PortableServer/POAHelper.java,
6390         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6391         org/omg/PortableServer/POAManagerPackage/State.java,
6392         org/omg/PortableServer/POAOperations.java,
6393         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6394         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6395         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6396         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6397         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6398         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6399         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6400         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6401         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6402         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6403         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6404         org/omg/PortableServer/ServantActivatorHelper.java,
6405         org/omg/PortableServer/ServantLocatorHelper.java,
6406         org/omg/PortableServer/ServantLocatorOperations.java,
6407         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6408         org/omg/PortableServer/ThreadPolicyValue.java,
6409         org/omg/PortableServer/_ServantActivatorStub.java,
6410         org/omg/PortableServer/_ServantLocatorStub.java,
6411         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6412
6413 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6414
6415         * javax/rmi/CORBA/Tie.java,
6416         org/omg/CORBA/AnyHolder.java,
6417         org/omg/CORBA/AnySeqHelper.java,
6418         org/omg/CORBA/AnySeqHolder.java,
6419         org/omg/CORBA/BooleanHolder.java,
6420         org/omg/CORBA/BooleanSeqHelper.java,
6421         org/omg/CORBA/BooleanSeqHolder.java,
6422         org/omg/CORBA/ByteHolder.java,
6423         org/omg/CORBA/CharHolder.java,
6424         org/omg/CORBA/CharSeqHelper.java,
6425         org/omg/CORBA/CharSeqHolder.java,
6426         org/omg/CORBA/Context.java,
6427         org/omg/CORBA/CurrentHelper.java,
6428         org/omg/CORBA/CustomValue.java,
6429         org/omg/CORBA/DataOutputStream.java,
6430         org/omg/CORBA/DefinitionKindHelper.java,
6431         org/omg/CORBA/DomainManagerOperations.java,
6432         org/omg/CORBA/DoubleHolder.java,
6433         org/omg/CORBA/DoubleSeqHelper.java,
6434         org/omg/CORBA/DoubleSeqHolder.java,
6435         org/omg/CORBA/DynAny.java,
6436         org/omg/CORBA/DynSequence.java,
6437         org/omg/CORBA/DynValue.java,
6438         org/omg/CORBA/DynamicImplementation.java,
6439         org/omg/CORBA/FieldNameHelper.java,
6440         org/omg/CORBA/FixedHolder.java,
6441         org/omg/CORBA/FloatHolder.java,
6442         org/omg/CORBA/FloatSeqHelper.java,
6443         org/omg/CORBA/FloatSeqHolder.java,
6444         org/omg/CORBA/IdentifierHelper.java,
6445         org/omg/CORBA/IntHolder.java,
6446         org/omg/CORBA/LocalObject.java,
6447         org/omg/CORBA/LongHolder.java,
6448         org/omg/CORBA/LongLongSeqHelper.java,
6449         org/omg/CORBA/LongLongSeqHolder.java,
6450         org/omg/CORBA/LongSeqHelper.java,
6451         org/omg/CORBA/LongSeqHolder.java,
6452         org/omg/CORBA/ORB.java,
6453         org/omg/CORBA/ObjectHelper.java,
6454         org/omg/CORBA/ObjectHolder.java,
6455         org/omg/CORBA/OctetSeqHelper.java,
6456         org/omg/CORBA/OctetSeqHolder.java,
6457         org/omg/CORBA/PolicyErrorCodeHelper.java,
6458         org/omg/CORBA/PolicyErrorHelper.java,
6459         org/omg/CORBA/PolicyHelper.java,
6460         org/omg/CORBA/PolicyListHelper.java,
6461         org/omg/CORBA/PolicyTypeHelper.java,
6462         org/omg/CORBA/PrincipalHolder.java,
6463         org/omg/CORBA/RepositoryIdHelper.java,
6464         org/omg/CORBA/Request.java,
6465         org/omg/CORBA/ShortHolder.java,
6466         org/omg/CORBA/ShortSeqHelper.java,
6467         org/omg/CORBA/ShortSeqHolder.java,
6468         org/omg/CORBA/StringSeqHelper.java,
6469         org/omg/CORBA/StringSeqHolder.java,
6470         org/omg/CORBA/ULongLongSeqHelper.java,
6471         org/omg/CORBA/ULongLongSeqHolder.java,
6472         org/omg/CORBA/ULongSeqHelper.java,
6473         org/omg/CORBA/ULongSeqHolder.java,
6474         org/omg/CORBA/UShortSeqHelper.java,
6475         org/omg/CORBA/UShortSeqHolder.java,
6476         org/omg/CORBA/ValueBaseHelper.java,
6477         org/omg/CORBA/ValueBaseHolder.java,
6478         org/omg/CORBA/VersionSpecHelper.java,
6479         org/omg/CORBA/WCharSeqHelper.java,
6480         org/omg/CORBA/WCharSeqHolder.java,
6481         org/omg/CORBA/WStringSeqHelper.java,
6482         org/omg/CORBA/WStringSeqHolder.java,
6483         org/omg/CORBA/WrongTransactionHelper.java,
6484         org/omg/CORBA/_IDLTypeStub.java,
6485         org/omg/CORBA/_PolicyStub.java,
6486         org/omg/CORBA/portable/BoxedValueHelper.java,
6487         org/omg/CORBA/portable/Delegate.java,
6488         org/omg/CORBA/portable/ObjectImpl.java,
6489         org/omg/CORBA/portable/ServantObject.java,
6490         org/omg/CORBA/portable/StreamableValue.java,
6491         org/omg/CosNaming/BindingType.java,
6492         org/omg/CosNaming/IstringHelper.java,
6493         org/omg/DynamicAny/FieldNameHelper.java,
6494         org/omg/PortableServer/Servant.java: Documentation fixes.
6495
6496 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6497
6498         * java/awt/Rectangle.java
6499         (setRect(double, double, double, double)): Modified rounding of input
6500         values.
6501
6502 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6503
6504         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6505         Disallow H1 - H6 in the paragraphs.
6506         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6507         (preprocess): Leave at most one leading and/or trailing space.
6508         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6509         Do not add any text after closing the HTML tag.
6510
6511 2006-09-02  Roman Kennke  <kennke@aicas.com>
6512
6513         PR 28928
6514         * javax/swing/plaf/basic/BasicTextUI.java
6515         (RootView.getPreferredSpan): Default to 10 when there is no
6516         real view.
6517         (RootView.getMinimumSpan): Forward to view and default to 10
6518         when there is no real view.
6519         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6520         (getMaximumSize): Check for overflow.
6521         * javax/swing/text/FieldView.java
6522         (getResizeWeight): Removed unneeded assignment.
6523
6524 2006-09-01  Francis Kung  <fkung@redhat.com>
6525         * java/awt/image/ColorConvertOp.java
6526         (copyImage): Updated javadoc and comments.
6527         (copyRaster): Add javadoc.
6528         (createCompatibleColorModel): Add javadocs and comments.
6529         (createCompatibleDestImage): Use correct transfer type.
6530         (createCompatibleDestRaster): Add new parameter for transfer type.
6531         (filter): Use correct transfer type.
6532         * java/awt/image/ConvolveOp.java: Updated javadocs.
6533         (createCompatibleDestImage): Set new image properties correctly.
6534         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6535         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6536
6537 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6538
6539         * javax/swing/table/DefaultTableModel.java:
6540         (checkSize): Added null check for dataVector.
6541
6542 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6543
6544         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6545         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6546         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6547
6548 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6549
6550         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6551         (paintIcon): Removed unused import statements, lowered cast requirement
6552         from JCheckBox to AbstractButton.
6553
6554 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6555
6556         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6557         (initComponentDefaults): Added, changed and removed some
6558         tabbed pane properties.
6559
6560 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6561
6562         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6563         (createContent): Changed menu item name and tab naming.
6564
6565 2006-09-01  Roman Kennke  <kennke@aicas.com>
6566
6567         PR 28922
6568         * javax/swing/plaf/basic/BasicHTML.java
6569         (HTMLRootView.getAttributes): Overridden to return null.
6570         (HTMLRootView.getElement): Overridden to return the view's
6571         element.
6572
6573 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6574
6575         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6576         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6577         of accessing variable directly.
6578         (calculateTabAreaWidth): Dito.
6579
6580 2006-08-31  Keith Seitz  <keiths@redhat.com>
6581
6582         * include/jvmti.h: Include jvmti_md.h.
6583
6584 2006-08-31  Keith Seitz  <keiths@redhat.com>
6585
6586         From Martin Platter  <motse@complang.tuwien.ac.at>:
6587         * Makefile.am (include_HEADERS): Include jvmti.h.
6588         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6589         (jvmtiError): Remove superfluous comma after last entry.
6590         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6591         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6592         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6593         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6594         character pointer.
6595         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6596         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6597         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6598         character pointer.
6599
6600 2006-08-31  Roman Kennke  <kennke@aicas.com>
6601
6602         * javax/swing/text/BoxView.java
6603         (getWidth): Return the width with insets added, not with one
6604         added and one removed.
6605         (getHeight): Return the height with insets added, not with one
6606         added and one removed.
6607         * javax/swing/text/GlyphView.java
6608         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6609         * javax/swing/text/ParagraphView.java
6610         (Row.getAlignment): Adjust alignment with respect to
6611         the justification attribute.
6612         (Row.getLeftInset): Overridden to adjust for firstLineIndent
6613         attribute.
6614         * javax/swing/text/html/CSS.java
6615         (getValue): Convert length values.
6616         * javax/swing/text/html/Paragraph.java
6617         (painter): New field.
6618         (paint): Implemented to delegate painting to the BoxPainter too.
6619         (setPropertiesFromAttributes): Implemented to load attributes
6620         from CSS.
6621         * javax/swing/text/html/StyleSheet.java
6622         (BoxPainter.as): Removed field.
6623         (BoxPainter.leftInset): New field.
6624         (BoxPainter.bottomInset): New field.
6625         (BoxPainter.rightInset): New field.
6626         (BoxPainter.topInset): New field.
6627         (BoxPainter.BoxPainter): Implemented to load the insets from
6628         CSS.
6629         (BoxPainter.getInset): Implemented.
6630         * gnu/javax/swing/text/html/Length.java: New class.
6631         Converts CSS length units to usable values.
6632
6633 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6634
6635         * configure.ac: Add check for gethostbyname_r.
6636         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6637         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6638         SOCKET_NOSIGNAL according to the configure check.
6639         (cpnet_send): Use SOCKET_NOSIGNAL.
6640         (cpnet_sendTo): Likewise.
6641         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6642         defined.
6643         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6644         are not available.
6645
6646         * lib/Makefile.am (cssfiles): Add new rule to install css files.
6647
6648 2006-08-31  Roman Kennke  <kennke@aicas.com>
6649
6650         * javax/swing/JEditorPane.java
6651         (getPreferredSize): Replace preferred size with minimum
6652         UI size only if the scrollable does _not_ track the viewport
6653         size and only if the viewport's size is smaller than the
6654         scrollable's size.
6655         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6656         method calls.
6657         * javax/swing/plaf/basic/BasicTextUI.java
6658         (getPreferredSize): Read-lock the document to avoid
6659         concurrency problems.
6660         (getMaximumSize): Return maximum size of the view.
6661         Read-lock the document to avoid concurrency problems.
6662         (getMinimumSize): Return minimum size of the view.
6663         Read-lock the document to avoid concurrency problems.
6664
6665 2006-08-31  Gary Benson  <gbenson@redhat.com>
6666
6667         * java/net/SocketPermission.java
6668         (maybeBracketIPv6Address): Renamed to processHostport.
6669         (processHostport): Also translate "" to "localhost".
6670         (setHostPort): Remove special cases for empty hostport and for
6671         extra colons in hostport (processHostport handles these now).
6672
6673 2006-08-31  Mark Wielaard  <mark@klomp.org>
6674
6675         * javax/swing/text/ZoneView.java (Zone): Make static class.
6676         Constructor takes axis parameter.
6677         (createZone): Create Zone with getAxis() as major axis.
6678
6679 2006-08-30  Roman Kennke  <kennke@aicas.com>
6680
6681         * javax/swing/text/ZoneView.java
6682         (loadChildren): Implemented.
6683         (getViewIndexAtPosition): Implemented.
6684         (checkZoneAt): New helper method.
6685         (splitZone): New helper method.
6686         (getPreferredZoneEnd): New helper method.
6687
6688 2006-08-30  Roman Kennke  <kennke@aicas.com>
6689
6690         * javax/swing/text/ZoneView.java: New class.
6691
6692 2006-08-30  Roman Kennke  <kennke@aicas.com>
6693
6694         * javax/swing/JMenu.java
6695         (getMenu): Removed unneeded cast.
6696         (getPopupMenuOrigin): Made positioning algorithm better respect
6697         the screen bounds.
6698         (setMenuLocation): Also set the location on the popup if it's
6699         not null.
6700         (setModel): Use menuChangeListener so that we don't override
6701         the changeListener field from AbstractButton.
6702         (setPopupMenuVisible): Use custom location if set, otherwise
6703         fallback to getPopupMenuOrigin().
6704
6705 2006-08-29  Roman Kennke  <kennke@aicas.com>
6706
6707         * javax/swing/text/InternationalFormatter.java
6708         (stringToValue): Fixed bounds check.
6709         * javax/swing/text/MaskFormatter.java
6710         (MaskFormatter): Don't explicitly set allosInvalid property.
6711         (convertStringToValue): New helper method.
6712         (convertValueToString): New helper method.
6713         (convertValue): Removed. Replaced by the 2 convert* methods
6714         above.
6715         (getPadCharAt): Removed.
6716         (isCharValid): Removed.
6717         (pad): Removed.
6718         (stringToValue): Fixed stringToValue conversion.
6719         (stripLiterals): Removed.
6720         (valueToString): Fixed valueToString conversion.
6721         * javax/swing/text/DefaultFormatter.java
6722         (DefaultFormatter): Default to commitsOnValidEdit = false.
6723
6724 2006-08-29  Roman Kennke  <kennke@aicas.com>
6725
6726         * javax/swing/text/TextAction.java
6727         (getTextComponent): Check event for null and return null in
6728         this case.
6729         (augmentList): Augment Actions based on their names.
6730         * javax/swing/text/DefaultEditorKit.java
6731         (BeginAction.actionPerformed): Check target for null.
6732         (BeginLineAction.actionPerformed): Check target for null.
6733         (CopyAction.actionPerformed): Check target for null.
6734         (CutAction.actionPerformed): Check target for null.
6735         (EndAction.actionPerformed): Check target for null.
6736         (EndLineAction.actionPerformed): Check target for null.
6737         (InsertBreakAction.actionPerformed): Check target for null.
6738         (InsertTabAction.actionPerformed): Check target for null.
6739         (PasteAction.actionPerformed): Check target for null.
6740         (SelectAllAction.actionPerformed): Check target for null.
6741         (SelectionBeginAction.actionPerformed): Check target for null.
6742         (SelectionBeginLineAction.actionPerformed): Check target for null.
6743         (SelectionEndAction.actionPerformed): Check target for null.
6744         (SelectionEndLineAction.actionPerformed): Check target for null.
6745         (SelectLineAction.actionPerformed): Check target for null.
6746         (SelectWordAction.actionPerformed): Check target for null.
6747
6748 2006-08-29  Roman Kennke  <kennke@aicas.com>
6749
6750         * javax/swing/plaf/basic/BasicTextUI.java
6751         (FocusHandler): New class. This is moved from the anonymous
6752         inner focus listener class to a static member class, and
6753         is now shared between components.
6754         (DocumentHandler): This class is combined with the PropertyHandler
6755         into the Handler class.
6756         (PropertyChangeHandler): This class is combined with the
6757         DocumentHandler into the Handler class.
6758         (Handler): New class. This combines the Property and Document
6759         handler into one class.
6760         (RootView.changedUpdate): Only forward if real view != null.
6761         (RootView.insertUpdate): Only forward if real view != null.
6762         (RootView.removeUpdate): Only forward if real view != null.
6763         (documentHandler): Removed field and replaced by handler.
6764         (focuslistener): Made field static and renamed to focusListener.
6765         (handler): New field.
6766         (kit): Lazily initialize field.
6767         (rootView): Lazily initialize field.
6768         (updateHandler): Removed and replaced by handler.
6769         (getEditorKit): Lazily instantiate field.
6770         (installDefaults): Don't set margin twice. Install correct
6771         property for disabledTextColor. Moved caret and highlighter
6772         initialization to installFixedDefaults.
6773         (installFixedDefaults): New method. Installs defaults that
6774         can't be overridden by subclasses.
6775         (installListeners): Only install focus handler when new
6776         system property gnu.swing.text.no-xlike-clipboard is not set.
6777         Lazily initialize focus handler.
6778         (installUI): Lazily initialize rootView. Install handler
6779         both for property and document changes.
6780         (uninstallDefaults): Uninstall the UI defaults.
6781         (uninstallFixedDefaults): New method. Uninstalls the fixed
6782         defaults.
6783         (installListeners): Only uninstall focus handler when not null.
6784         (uninstallUI): Uninstall property and document listener here.
6785
6786 2006-08-29  Gary Benson  <gbenson@redhat.com>
6787
6788         * java/net/SocketPermission.java
6789         (maybeBracketIPv6Address): New method.
6790         (<init>): Pass the hostport argument through the above.
6791
6792         * java/net/NetworkInterface.java (getInetAddresses):
6793         Don't bracket IPv6 addresses.
6794
6795 2006-08-28  Roman Kennke  <kennke@aicas.com>
6796
6797         * javax/swing/text/BoxView.java
6798         (calculateMinorAxisRequirements): Initialize max size
6799         with Integer.MAX_VALUE.
6800         * javax/swing/text/Utilities.java
6801         (getBreakLocation): For simple chars, scan the text directly.
6802         * javax/swing/text/WrappedPlainView.java
6803         (tabBase): New field.
6804         (tabSize): New field.
6805         (calculateBreakPosition): Use Utilities. Fixed for correct
6806         break calculation.
6807         (changedUpdate): Update children directly.
6808         (insertUpdate): Update children directly. Notify children.
6809         (removeUpdate): Update children directly. Notify children.
6810         (updateChildren): New helper method.
6811         (nextTabStop): Fixed to return correct results.
6812         (paint): Update tabBase.
6813         (updateMetrics): Update tab size.
6814
6815 2006-08-28  Roman Kennke  <kennke@aicas.com>
6816
6817         * javax/swing/text/Position.java
6818         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6819         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6820
6821 2006-08-28  Roman Kennke  <kennke@aicas.com>
6822
6823         * javax/swing/text/View.java
6824         (height): Removed unneeded field.
6825         (width): Removed unneeded field.
6826         (getBreakWeight): Return GoodBreakWeight when pos is after
6827         the view's span.
6828         (getToolTipText): Check view index more carefully. Avoid
6829         Rectangle creation.
6830         (insertUpdate): Only execute method body if view count > 0.
6831         When updateChildren returns false, clear the ec variable.
6832         (updateChildren): Added null checks.
6833         (viewToModel): Initialize bias array correctly.
6834         * javax/swing/text/CompositeView.java
6835         (children): Made private.
6836         (numChildren): New field.
6837         (loadChildren): Check factory for null. Don't load children
6838         when factory is null.
6839         (replace): Removed null check. Nullify removed children. Made
6840         growing the array more efficient.
6841         (getViewCount): Return numChildren rather then the real array
6842         size.
6843         * javax/swing/text/BoxView.java
6844         (getViewAtPoint): Fixed algorithm for finding the view.
6845         (replace): Made array growing more efficient.
6846         (replaceLayoutArray): New helper method for growing/patching
6847         the layout arrays.
6848         (viewToModel): Make sure we have a valid layout.
6849
6850 2006-08-28  Tania Bento  <tbento@redhat.com>
6851
6852         * java/awt/MenuShortcut.java
6853         (MenuShortcut (int, boolean)): Set keyName.
6854         (toString): Modified string output.
6855         (setKeyName): New private method.
6856
6857 2006-08-28  Roman Kennke  <kennke@aicas.com>
6858
6859         * javax/swing/text/GapContent.java
6860         (Mark.getOffset): Made assert less strict, include boundary.
6861         (search): Made package private to avoid accessor method.
6862
6863 2006-08-28  Roman Kennke  <kennke@aicas.com>
6864
6865         * javax/swing/text/StringContent.java
6866         (InsertUndo.positions): New field.
6867         (InsertUndo.redo): Update the undo positions.
6868         (InsertUndo.undo): Fetch the undo positions.
6869         (Mark): New class. Layer of indirection to allow Positions
6870         to be GC'ed while we still hold references to the Mark.
6871         (RemoveUndo.len): New field.
6872         (RemoveUndo.positions): New field.
6873         (RemoveUndo.RemoveUndo): Fetch undo positions.
6874         (RemoveUndo.redo): Re-fetch positions and string.
6875         (RemoveUndo.undo): Update undo positions.
6876         (StickyPosition.mark): New field.
6877         (StickyPosition.offset): Removed field.
6878         (StickyPosition.StickyPosition): Create new Mark. Register
6879         Position in queueOfDeath. Update reference count on mark.
6880         (StickyPosition.getOffset): Return offset stored in mark.
6881         (StickyPosition.setOffset): Removed unneeded method.
6882         (UndoPosRef): New class. Handles undo/redo on positions/marks.
6883         (EMPTY): New field.
6884         (marks): New field. Stores the marks.
6885         (positions): Removed field.
6886         (queueOfDeath): New field. Used for GCing the positions.
6887         (StringContent): Initialize queueOfDeath.
6888         (createPosition): Lazily create marks vector.
6889         (garbageCollect): New helper method. Collects positions
6890         to be GCed and updates their marks.
6891         (getChars): Fixed bounds check.
6892         (getPositionsInRange): When v == null, create new Vector,
6893         otherwise use v. Store UndoPosRefs in vector.
6894         (getString): Added comment about bug in RI.
6895         (insertString): Use new helper method for replacing the array.
6896         Correctly update positions.
6897         (length): Removed this qualifier.
6898         (remove): Use new helper method for replacing the array.
6899         Correctly update positions.
6900         (replace): New helper method for growing or patching the array.
6901         (updateUndoPositions): Implemented. Updates the positions
6902         for undo/redo operations.
6903
6904 2006-08-27  Roman Kennke  <kennke@aicas.com>
6905
6906         * javax/swing/text/StyleContext.java
6907         (NamedStyle.attributes): Made field transient.
6908         (NamedStyle.changeEvent): Made field transient.
6909         (NamedStyle.name): Removed field. The name is stored as
6910         attribute.
6911         (NamedStyle.NamedStyle(String,Style)): Call setName() for
6912         storing the name and check for null name and resolveParent.
6913         Don't initialize changeEvent.
6914         (NamedStyle.copyAttributes): Return a new NamedStyle,
6915         rather than a plain copy of the attributes field.
6916         (NamedStyle.fireStateChange): Lazily create changeEvent
6917         field.
6918         (NamedStyle.getName): Fetch name from attributes.
6919         (NamedStyle.setName): Store name from attributes.
6920         (NamedStyle.readObject): Implemented for correct
6921         deserialization.
6922         (NamedStyle.writeObject): Implemented for correct
6923         serialization.
6924         (NamedStyle.setResolveParent): When new parent is null,
6925         remove resolveParent attribute. Use addAttribute() method
6926         rather than StyleContext addAttribute().
6927         (NamedStyle.toString): Fixed to produce output equal to the
6928         RI.
6929         (SmallAttributeSet.resolveParent): New field.
6930         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6931         the resolveParent field correctly.
6932         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6933         array but store it directly. Update
6934         the resolveParent field correctly.
6935         (SmallAttributeSet.clone): Return this as the object is
6936         immutable.
6937         (SmallAttributeSet.containsAttributes): Make sure that keys
6938         and values are the same.
6939         (SmallAttributeSet.containsAttribute):  Make sure that keys
6940         and values are the same.
6941         (SmallAttributeSet.copyAttributes): Return this as the object is
6942         immutable.
6943         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6944         are equal if they have the same number of attributes and
6945         one contains the other.
6946         (SmallAttributeSet.getAttribute): Improved lookup of
6947         resolveParent.
6948         (SmallAttributeSet.getResolveParent): Improved lookup of
6949         resolveParent.
6950         (SmallAttributeSet.isEqual): When comparing object is a
6951         SmallAttributeSet, consider them equal only if they are the
6952         same object.
6953         (SmallAttributeSet.toString): Fixed to produce output equal to the
6954         RI.
6955         (attributeSetPool): New field.
6956         (defaultStyleContext): Initialize lazily.
6957         (defaultStyle): Removed field. This is stored in the style context
6958         as attribute.
6959         (listenerList): Removed field. The NamedStyle stores the
6960         listeners.
6961         (readAttributeKeys): New static field. Used for looking up
6962         the serialization mappings when reading.
6963         (search): New field. Used as search key.
6964         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6965         (styles): New field. Stores the styles and listeners.
6966         (styleTable): Removed field. Replaced by styles field.
6967         (writeAttributeKeys): New static field. Used for looking up
6968         the serialization mappings when writing.
6969         (static_initializer): Register mappings for all keys in
6970         StyleConstants.
6971         (StyleContext): Initialize styles correctly.
6972         (addAttributes): Fixed caching of immutable attributes.
6973         (addAttribute): Fixed caching of immutable attributes.
6974         (removeAttributes): Fixed caching of immutable attributes.
6975         (removeAttribute): Fixed caching of immutable attributes.
6976         (addChangeListener): Add listener to styles field.
6977         (removeChangeListener): Remove listener from styles field.
6978         (getChangeListeners): Fetch listeners from styles field.
6979         (addStyle): Add style to styles field.
6980         (cleanupPool): New method.
6981         (getDefaultStyleContext): Lazily create context.
6982         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
6983         (getMutableAttributeSet): New helper method. Used for
6984         caching.
6985         (getStaticAttribute): Fetch key from readAttributeKeys.
6986         (getStyleNames): Return names from styles field.
6987         (getStyle): Lookup style in styles field.
6988         (removeStyle): Remove style from styles field.
6989         (readAttributeSet): Fixed deserialization.
6990         (writeAttributeSet): Fixed serialization.
6991         (readObject): Fixed deserialization.
6992         (writeObject): Fixed serialization.
6993         (reclaim): Simply cleanup the pool.
6994         (registerStaticAttributeKey): Store mapping in both ways.
6995         (searchImmutableSet): New helper method for caching.
6996         (toString): Fixed for output like the RI.
6997         * javax/swing/text/StyleConstants.java
6998         (keys): New field. Stores all known keys.
6999         (StyleConstants): Store created key in keys list.
7000         * javax/swing/event/EventListenerList.java
7001         (readObject): Fixed deserialization.
7002         (writeObject): Fixed serialization.
7003
7004 2006-08-25  Roman Kennke  <kennke@aicas.com>
7005
7006         * javax/swing/text/CompositeView.java
7007         (insets): Removed. Replaced by single short fields.
7008         (top): New field. Replaces insets.
7009         (bottom): New field. Replaces insets.
7010         (left): New field. Replaces insets.
7011         (right): New field. Replaces insets.
7012         (CompositeView): Initialize insets fields.
7013         (createDefaultLocation): Removed unneeded method.
7014         (getBottomInset): Return field directly.
7015         (getTopInset): Return field directly.
7016         (getLeftInset): Return field directly.
7017         (getRightInset): Return field directly.
7018         (getInsideAllocation): Adjusted to work on new insets fields.
7019         (getViewIndex): Fixed check.
7020         (loadChildren): Don't replace the old children.
7021         (replace): Make sure that there is an array to operate on.
7022         Only set parent to null, when it is this View.
7023         (setInsets): Adjusted to work with new insets fields.
7024         (setParagraphInsets): Fixed to pull insets directly from
7025         StyleConstants.
7026
7027 2006-08-25  Roman Kennke  <kennke@aicas.com>
7028
7029         * javax/swing/text/ComponentView.java
7030         (Interceptor): New inner helper class. Used to propagate
7031         invalidate requests and cache component layout sizes.
7032         (interceptor): New field.
7033         (getAlignment): Fetch alignment from interceptor container.
7034         (getComponent): Don't create component here. This is done
7035         in setParent().
7036         (getMaximumSpan): Fetch layout info from interceptor. Check
7037         for illegal axis.
7038         (getMinimumSpan): Fetch layout info from interceptor. Check
7039         for illegal axis.
7040         (getPreferredSpan): Fetch layout info from interceptor. Check
7041         for illegal axis.
7042         (modelToView): Fixed model to view mapping.
7043         (viewToModel): Fixed view to model mapping.
7044         (paint): Check for null. Set bounds on interceptor rather
7045         then component.
7046         (setParentImpl): Install interceptor between component
7047         and hosting container.
7048         (setParent): Call super.setParent() immediately.
7049
7050 2006-08-25  Roman Kennke  <kennke@aicas.com>
7051
7052         * javax/swing/text/LabelView.java
7053         (setPropertiesFromAttributes): Only set background when
7054         the corresponding attribute is actually defined, otherwise
7055         set to null, as the StyleConstants would return black.
7056         * javax/swing/text/DefaultStyledDocument.java
7057         (ElementBuffer.documentEvent): Removed obsolete field.
7058         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7059         to correctly update the element structure.
7060         (ElementBuffer.insertContentTag): Removed unused statement.
7061         (ElementBuffer.recreateAfterFracture): Removed
7062         unused obsolete method.
7063         (setCharacterAttributes): Removed unused statement.
7064
7065 2006-08-25  Roman Kennke  <kennke@aicas.com>
7066
7067         * examples/gnu/classpath/examples/swing/Demo.java
7068         (LaterMain.run): Removed unused local variable.
7069         (Demo): Don't put desktop in scrollpane.
7070         (addChildren): Removed unused method.
7071         (mkButtonBar): Added HTML demo.
7072         (mkMenuBar): Added HTML demo.
7073         (mkPanel): Removed unused method.
7074         (mkScrollPane): Removed unused method.
7075         (mkTree): Removed unused method.
7076         (valign2str): Removed unused method.
7077         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7078         Initialize text field with some HTML that already works.
7079         (DEBUG): New field. Set to true for debugging output.
7080         (createContent): Dump element tree after parsing.
7081
7082 2006-08-25  Roman Kennke  <kennke@aicas.com>
7083
7084         * javax/swing/text/html/CSS.java
7085         (getValue): Added color value conversion.
7086         * javax/swing/text/html/HTMLDocument.java
7087         (HTMLReader.ConvertAction): New class, converts HTML style tags
7088         to CSS attributes.
7089         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7090         * javax/swing/text/html/InlineView.java
7091         (setPropertiesFromAttributes): Implemented to fetch
7092         CSS character attributes.
7093         * javax/swing/text/html/StyleSheet.java
7094         (addCSSAttribute): Convert value.
7095         (getBackground): Implemented to fetch CSS background color
7096         attribute.
7097         (getForeground): Implemented to fetch CSS color
7098         attribute.
7099         (getFont): Adjust font size for superscript and subscript.
7100         (translateHTMLToCSS): Rudimentary implementation that
7101         copies the original attributes, so that any CSS attributes in
7102         there are preserved.
7103         (stringToColor): Use CSSColor for conversion.
7104         * gnu/javax/swing/text/html/css/CSSColor.java:
7105         New class. Converts CSS color values to RGB color values.
7106         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7107         Removed. This is more or less replaced by CSSColor and the
7108         ConvertAction in HTMLReader.
7109
7110 2006-08-25  Roman Kennke  <kennke@aicas.com>
7111
7112         * javax/swing/text/BoxView.java
7113         (childReqs): Removed obsolete field.
7114         (baselineLayout): Reimplemented for correct baseline layout.
7115         (baselineRequirements): Reimplemented for correct baseline
7116         layout.
7117         (updateChildRequirements): Removed obsolete method.
7118         * javax/swing/text/GlyphView.java
7119         (DefaultGlyphPainter.getSpan): Removed unused statement.
7120         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7121         specially. The subscript/superscript layout is performed
7122         via the alignment, the font is supplied by the StyleContext.
7123         (breakView): Removed unused statements.
7124         (getAlignment): Adjust alignment according to the
7125         superscript/subscript setting.
7126         (getFont): Reimplemented to fetch the font from the style
7127         context, or from the document if the stylecontext is not
7128         available.
7129         (getPreferredSpan): Adjust span for superscript. Use switch
7130         instead of if-else.
7131         * javax/swing/text/LabelView.java
7132         (setPropertiesFromAttributes): Fetch background and foreground
7133         from document / style context.
7134         (isSubscript): Resync properties if needed.
7135         * javax/swing/text/ParagraphView.java
7136         (Row.calculateMinorAxisRequirements): Overridden to perform
7137         a baseline layout.
7138         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7139
7140 2006-08-24  Roman Kennke  <kennke@aicas.com>
7141
7142         * javax/swing/text/Utilities.java
7143         (BUF_LENGTH): Removed unused field.
7144         (drawTabbedText): Removed unneeded cast.
7145         (getBreakLocation): Removed unneeded cast.
7146         Fixed offset to account for Segments not starting at 0.
7147
7148 2006-08-24  Roman Kennke  <kennke@aicas.com>
7149
7150         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7151         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7152         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7153         (ScrollingPane.updateUI): Likewise.
7154         (calculateTabWidth): Rewritten to correctly and efficiently
7155         layout the tab width.
7156         (layoutLabel): Call SwingUtilities method with the tabPane
7157         as argument.
7158         (paintContentBorderLeftEdge): Removed unused statement.
7159         (paintContentBorderRightEdge): Removed unused statement.
7160         (paintContentBorder): Removed unused statement.
7161
7162 2006-08-24  Roman Kennke  <kennke@aicas.com>
7163
7164         * javax/swing/plaf/basic/BasicTextUI.java
7165         (RootView.getAttributes): Overridden to return null,
7166         as the RootView has no parent.
7167
7168 2006-08-24  Roman Kennke  <kennke@aicas.com>
7169
7170         * javax/swing/text/html/CSSParser.java: Removed.
7171         * javax/swing/text/html/CSS.java
7172         (getValue): New helper method. Returns special converter
7173         instances for certain kinds of property values.
7174         * javax/swing/text/html/HTMLDocument.java
7175         (HTMLReader.CharacterAction.start): Don't translate tags
7176         here. Instead, store the attributes directly with the tag
7177         as key.
7178         (content): Removed field. The Content object is handled
7179         by AbstractDocument.
7180         (styleSheet): Removed field. The styleSheet is the styleContext
7181         of this document and handled by the DefaultStyledDocument already.
7182         (HTMLDocument(Content,StyleSheet): Simply call super here.
7183         The super classes already handle the content and styleContext.
7184         (HTMLDocument()): Call this() with a default GapContent and
7185         StyleSheet.
7186         (getStyleSheet): Return the styleContext here.
7187         (insertUpdate): New method. Overridden to add the
7188         CONTENT dummy tag to the element's attributes.
7189         (setBase): Set the base on the styleContext.
7190         * javax/swing/text/html/HTMLEditorKit.java
7191         (styleContext): Removed unneeded field.
7192         (styleSheet): Made field private.
7193         (HTMLEditorKit): Do nothing here. The StyleSheet is
7194         created lazily in getStyleSheet(). A styleContext is not
7195         needed here.
7196         (getStyleSheet): Create StyleSheet correctly.
7197         (insertHTML): Removed unneeded cast.
7198         * javax/swing/text/html/InlineView.java
7199         (attributes): New field.
7200         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7201         (getAttributes): Implemented to fetch the attributes from
7202         the stylesheet.
7203         * javax/swing/text/html/MultiAttributeSet.java: New class.
7204         Multiplexes between several AttributeSets.
7205         * javax/swing/text/html/MultiStyle.java: New class.
7206         Multiplexes between several Styles.
7207         * javax/swing/text/html/ParagraphView.java
7208         (attributes): New field.
7209         (getAttributes): Implemented to fetch the attributes from
7210         the stylesheet.
7211         * javax/swing/text/html/StyleSheet.java
7212         (CssParser): Removed inner class.
7213         (CSSStyle): New inner class. Represents a style defined
7214         by a CSS rule.
7215         (CSSStyleSheetParserCallback): New class, for parsing
7216         CSS stylesheets.
7217         (css): New field. Stores the CSS rules.
7218         (resolvedStyles): New field. Stores resolved styles.
7219         (StyleSheet): Initialize resolvedStyles map.
7220         (addRule): Removed bogus impl.
7221         (getFont): Implemented to fetch font, based on CSS rules.
7222         (getResolvedStyle): New helper method. Looks up resolved
7223         styles, and resolves a style if necessary.
7224         (resolveStyle): New pair of helper methods. Resolves
7225         CSS style rules.
7226         (getRule(String)): Provide rudimentary implementation.
7227         (getRule(Tag,Element)): Implemented.
7228         (getViewAttributes): Implemented.
7229         (loadRules): Implemented.
7230         (translateHTMLToCSS): Tagged as not implemented.
7231         * javax/swing/text/html/ViewAttributeSet.java: New class.
7232
7233 2006-08-24  Roman Kennke  <kennke@aicas.com>
7234
7235         * javax/swing/text/FlowView.java:
7236         (LogicalView.getAttributes): New method. Overrides super
7237         impl to return the attributes of the FlowView instance.
7238         * javax/swing/text/LabelView.java:
7239         (setPropertiesFromAttributes): Fetch attributes from
7240         View, rather then from the Element. (In the HTML
7241         package the getAttributes() method is overridden to
7242         return different attributes). Fetch font from the StyledDocument.
7243
7244 2006-08-24  Roman Kennke  <kennke@aicas.com>
7245
7246         * javax/swing/text/DefaultEditorKit.java:
7247         (DefaultKeyTypedAction.actionPerform): Also filter
7248         ALT and CTRL modifiers.
7249
7250 2006-08-24  Roman Kennke  <kennke@aicas.com>
7251
7252         * gnu/javax/swing/text/html/css/FontSize.java,
7253         * gnu/javax/swing/text/html/css/FontStyle.java,
7254         * gnu/javax/swing/text/html/css/FontWeight.java:
7255         New classes. Used to convert CSS font attributes to AWT/Swing
7256         Font constants.
7257
7258 2006-08-24  Francis Kung  <fkung@redhat.com>
7259         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7260         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7261         (srccs, dstcs, rasterValid): Variables removed.
7262         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7263         (copyRaster): Check for null rendering hints
7264         (createCompatibleColorModel): New private method.
7265         (createCompatibleDestImage): Re-implemented.
7266         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7267         (createCompatibleDestRaster(Raster)): Re-implemented.
7268         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7269         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7270         (getPoint2D): Clean up formatting.
7271         * java/awt/image/ComponentColorModel.java
7272         (constructor): use findBits method instead of passing null.
7273         (findBits): New method.
7274
7275 2006-08-24  Gary Benson  <gbenson@redhat.com>
7276
7277         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7278         addresses.
7279
7280 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7281
7282         * java/lang/ref/Reference.java
7283         (queue, nextOnQueue): Made volatile.
7284         (enqueue): Made thread safe.
7285         * java/lang/ref/ReferenceQueue.java
7286         (lock): New field.
7287         (poll): Removed synchronized.
7288         (enqueue): Changed to synchronize on lock object, to update Reference
7289         state and return success status.
7290         (dequeue, remove): Synchronize on lock object.
7291
7292 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7293
7294         * java/security/SecureClassLoader.java
7295         (protectionDomainCache): Changed to HashMap.
7296         (SecureClassLoader): Removed redundant security check.
7297         (defineClass(String,byte[],int,int,CodeSource): Moved
7298         protection domain lookup/construction to new method.
7299         (defineClass(String,ByteBuffer,CodeSource): New method.
7300         (getProtectionDomain): New method.
7301
7302 2006-08-23  Roman Kennke  <kennke@aicas.com>
7303
7304         * javax/swing/JComponent.java
7305         (isRepainting): Made package private.
7306         (paintChild): New field.
7307         (findOpaqueParent): Removed method. This is now in
7308         paintImmediately().
7309         (findOverlapFreeParent): Removed method. This is now
7310         in paintImmediately2().
7311         (findPaintRoot): Removed method. This is now
7312         in paintImmediately2().
7313         (isCompletelyObscured): Changed to take rectangle as single
7314         ints as argument.
7315         (isPaintingDoubleBuffered): Removed method. This is now
7316         in paintImmediately2().
7317         (isPartiallyObscured): New helper method.
7318         (onTop): New helper method for optimization.
7319         (paintChildren): Paint only to specific child when
7320         requested like this from paintImmediately2().
7321         (paintDoubleBuffered): Changed to take rectangle as single int
7322         arguments.
7323         (paintImmediately2): Changed to take rectangle as single int
7324         arguments. Optimized determination of paint root.
7325         (paintImmediately(Rectangle)): Change to delegate to
7326         paintImmediately(int,int,int,int).
7327         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7328         and start painting there.
7329         (paint): Call paintDoubleBuffered() with int arguments. Only
7330         paint component, when not completely occupied by opaque child.
7331         (processKeyBinding): Removed unnecessary cast.
7332         (isOccupiedByChild): New helper method.
7333         * javax/swing/RepaintManager.java
7334         (repaintUnderway): Removed obsolete field.
7335         (commitRequests): Removed obsolete field.
7336         (RepaintManager): Removed initialization of obsolete fields.
7337         (addDirtyRegion): Removed unused statement.
7338         (commitBuffer): Changed to take plain ints as argument.
7339         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7340         Compute offsets in place, rather than using SwingUtilities.
7341         (paintDirtyRegions): Removed unused field.
7342         * javax/swing/JMenuItem.java
7343         (onTop): Return true when not descendant of JInternalFrame.
7344         * javax/swing/JPopupMenu.java
7345         (onTop): Return true.
7346         * javax/swing/JToolTip.java
7347         (onTop): Return true.
7348         * javax/swing/JViewport.java
7349         (paintImmediately2): Change signature to match the
7350         corresponding JComponent method.
7351
7352 2006-08-23  Tania Bento  <tbento@redhat.com>
7353
7354         * java/awt/Color.java
7355         (brighter): Modified algorithm to correctly determine the
7356         new brighter colour.
7357
7358 2006-08-23  Roman Kennke  <kennke@aicas.com>
7359
7360         * java/awt/Container.java
7361         (maxSize): Removed field. This is already declared in Component.
7362         (validateTree): Check for ContainerPeer. Don't addNotify here.
7363         Only validate Component instances if they are invalid.
7364
7365 2006-08-22  Roman Kennke  <kennke@aicas.com>
7366
7367         * javax/swing/JComponent.java
7368         (preferredSize): Removed field.
7369         (maximumSize): Removed field.
7370         (minimumSize): Removed field.
7371         (getMaximumSize): Adjusted to delegate to Component, rather
7372         then managing the size in JComponent.
7373         (getMinimumSize): Adjusted to delegate to Component, rather
7374         then managing the size in JComponent.
7375         (getPreferredSize): Adjusted to delegate to Component, rather
7376         then managing the size in JComponent.
7377         (isMaximumSizeSet): Removed.
7378         (isMinimumSizeSet): Removed.
7379         (isPreferredSizeSet): Removed.
7380         (setMaximumSize): Removed.
7381         (setMinimumSize): Removed
7382         (setPreferredSize): Removed.
7383
7384 2006-08-22  Roman Kennke  <kennke@aicas.com>
7385
7386         * javax/swing/AbstractButton.java
7387         (ButtonChangeListener.stateChanged): Delegate to combined
7388         handler.
7389         (EventHandler): New inner class. Handles all three types
7390         of events on the model.
7391         (eventHandler): New field. Stores the combined event
7392         handler.
7393         (AbstractButton): Moved listener initialization to
7394         setModel().
7395         (createActionListener): Return combined handler.
7396         (createChangeListener): Return combined handler.
7397         (createItemListener): Return combined handler.
7398         (getEventHandler): New helper method for creating the combined
7399         handler.
7400         (setModel): Initialize listeners here.
7401         * javax/swing/plaf/basic/BasicButtonListener.java
7402         (ButtonAction): New class. Implements the keyboard action
7403         for buttons.
7404         (checkOpacity): Implemented.
7405         (createDefaultActionMap): New helper method.
7406         (installKeyboardActions): Rewritten to install InputMap
7407         and ActionMap according to 'new' keyboard input method.
7408         (mouseClicked): Commented as no-op.
7409         (mouseDragged): Commented as no-op.
7410         (mouseMoved): Commented as no-op.
7411         (propertyChange): Check for contentAreaFilled change and
7412         update opacity. Pull handling of HTLM in font and text handler.
7413         (stateChanged): Repaint button.
7414         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7415         * javax/swing/plaf/basic/BasicButtonUI.java
7416         (listener): Removed.
7417         (sharedListener): New static field. Stores the shared listener.
7418         (sharedUI): New static field. Stores the shared UI.
7419         (createButtonListener): Return shared instance here.
7420         (createUI): Return shared instance here.
7421         (getButtonListener): New helper method. Looks for the
7422         BasicButtonListener installed on a button and returns it.
7423         (installDefaults): Correctly install rollover property here.
7424         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7425         (installKeyboardActions): Fetch listener with new helper method.
7426         (installListeners): Don't use removed field. Check for null.
7427         (installUI): Added comment about order of method invocations.
7428         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7429         (uninstallKeyboardActions): Fetch listener with new helper method.
7430         (uninstallListeners): Fetch listener with new helper method.
7431         (paintIcon): Paint icon offset when pressed and armed.
7432         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7433         * javax/swing/plaf/metal/MetalButtonUI.java
7434         (sharedUI): New field. Stores the shared UI.
7435         (MetalButtonUI): Don't initialize fields here.
7436         (createButtonListener): Removed method. Use super impl.
7437         (createUI): Return shared instance.
7438         (getDisabledTextColor): Update field here.
7439         (getFocusColor): Update field here.
7440         (getSelectColor): Update field here.
7441         (installDefaults): Don't handle rollover property here.
7442         (uninstallDefaults): Don't handle rollover property here.
7443         (paintButtonPressed): Use accessor method to update the
7444         field value.
7445
7446 2006-08-21  Mark Wielaard  <mark@klomp.org>
7447
7448         Merge NATIVE_LAYER branch.
7449
7450         2006-08-20  Mark Wielaard  <mark@klomp.org>
7451
7452         * doc/tools.texinfo: Add file from trunk.
7453         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7454         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7455         headers.
7456         * native/jni/java-lang/java_lang_VMProcess.c
7457         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7458         * native/jni/java-net/java_net_VMInetAddress.c
7459         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7460         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7461         files.
7462         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7463         mask.
7464         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7465         theaddr.
7466         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7467         cpnet.h.
7468         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7469         don't implement.
7470         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7471         argument.
7472         * include/java_lang_VMProcess.h: Regenerated.
7473
7474         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7475
7476         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7477         (nativeReceive): Fixed the type of the arrays (use java types).
7478         (nativeSendTo): Force throwing an exception if port is 0.
7479
7480         * native/jni/java-net/javanet.c:
7481         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7482         returned.
7483         (_javanet_recvfrom): Likewise.
7484         (_javanet_sendto): Throw a NullPointerException if the socket is
7485         not connected and no address is given.
7486         
7487         * native/jni/java-net/javanet.h
7488         (NULL_EXCEPTION): Defined.
7489
7490         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7491
7492         * native/jni/java-net/java_net_VMInetAddress.c
7493         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7494         error.
7495
7496         * native/jni/java-net/javanet.c
7497         (_javanet_accept): Fixed bogus call to TARGET.
7498         (_javanet_create_inetaddress): Fixed address generation. Fixed
7499         bogus memory free.
7500         (_javanet_bind): set "Reuse address" flag.
7501
7502         * native/jni/native-lib/cpio.c
7503         (cpio_getModificationTime): Fixed type.
7504         (cpio_removeFile): Use rmdir too.
7505
7506         * native/jni/native-lib/cpnet.c
7507         (cpnet_getHostByName): Fixed error detection.
7508
7509         * native/jni/native-lib/cpnet.h
7510         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7511         memory.
7512         (cpnet_IPV4AddressToBytes): Fixed types.
7513         
7514         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7515
7516         * native/jni/native-lib/cpio.c
7517         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7518
7519         * native/jni/native-lib/cpnet.h:
7520         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7521         messed by signs in jbyte.
7522         
7523         * native/jni/native-lib/cpproc.h
7524         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7525
7526         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7527
7528         * native/jni/native-lib/cpnet.c
7529         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7530         (waitForWritable, waitForReadable): New functions.
7531         (socketTimeouts): New static global table to hold timeouts for all
7532         socket fds.
7533         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7534         Added waitForXXXX safeguards to handle socket timeouts.
7535
7536         * native/jni/java-net/javanet.c
7537         (_javanet_accept): Check for the right error value when a timeout
7538         occurs.
7539         
7540         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7541
7542         * native/jni/java-io/Makefile.am,
7543         native/jni/java-lang/Makefile.am,
7544         native/jni/java-net/Makefile.am,
7545         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7546
7547         * native/jni/native-lib/Makefile.am: Added cpproc.c
7548
7549         * native/jni/native-lib/cpio.c: Implemented missing functions for
7550         CPIO.
7551
7552         * native/jni/native-lib/cpnet.c
7553         (cpnet_getHostByName): Fixed address array initialization.
7554         
7555         * native/jni/native-lib/cpproc.c: Implemented.
7556         
7557         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7558
7559         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7560
7561         * m4/gcc_attribute.m4: New file from ac_archive.
7562         
7563         * native/jni/java-net/javanet.c: Adapted to cpnet API
7564         modification.
7565
7566         * native/jni/native-lib/cpnet.c: Implemented.
7567
7568         * native/jni/native-lib/cpnet.h
7569         (cpnet_openSocketDatagram,
7570         cpnet_openSocketStream): These calls need an address family now.
7571         (cpnet_IPV4AddressToBytes,
7572         cpnet_bytesToIPV4Address): Convert the address to network order.
7573         
7574         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7575
7576         * native/jni/java-io/java_io_VMFile.c,
7577         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7578         native/jni/midi-dssi/dssi_data.h,
7579         native/jni/native-lib/cpio.c,
7580         native/jni/native-lib/cpmath.h: Removed cpmath
7581         dependency. Fixed coding style.
7582
7583         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7584
7585         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7586         dependency. Simplified the JNI code by moving some part into the
7587         native layer.
7588
7589         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7590
7591         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7592
7593         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7594         errors. Removed any remaining TARGET invocations.
7595
7596         * native/jni/java-net/javanet.c
7597         (_javanet_create_inetaddress): Removed spurious arr and
7598         octets. Fixed compilation errors.
7599
7600         * native/jni/native-lib/cpnet.h
7601         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7602         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7603         cpnet_isIPV4Address): New functions.
7604         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7605         the rest.
7606         
7607         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7608
7609         * native/jni/java-io/java_io_VMFile.c,
7610         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7611         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7612         native/jni/java-net/javanet.c,
7613         native/jni/java-net/javanet.h: Adapted the VM layer code
7614         to the new native layer.
7615
7616         * native/jni/native-lib/cpnet.h
7617         (cpnet_addMembership,
7618         cpnet_dropMembership,
7619         cpnet_getAvailableBytes): Added the declarations of
7620         some new functions.
7621         (cpnet_newIPV6Address,
7622         cpnet_IPV6AddressToBytes,
7623         cpnet_bytesToIPV6Address): Implemented.
7624         (cpnet_newIPV4Address): Initialize the sin_family field.
7625
7626         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7627
7628         * native/target: Removed.
7629
7630         * configure.ac: Removed target from CLASSPATH_INCLUDES and
7631         Makefile generation.
7632
7633         * native/jni/native-lib/Makefile.am,
7634         native/jni/native-lib/cpnet.h,
7635         native/jni/native-lib/cpnet.c
7636         native/jni/native-lib/cpio.h,
7637         native/jni/native-lib/cpio.c,
7638         native/jni/native-lib/cpmath.h: Imported new native compatibility
7639         layer.
7640
7641 2006-08-21  Roman Kennke  <kennke@aicas.com>
7642
7643         * gnu/javax/swing/text/html/css/CSSParser.java:
7644         New class.
7645         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7646         New interface.
7647         * gnu/javax/swing/text/html/css/CSSParserException.java:
7648         New exception.
7649         * gnu/javax/swing/text/html/css/CSSScanner.java:
7650         Adjusted API comments. Made all constants package private.
7651         (EOF): New constant field.
7652         (parseBuffer): Made package private.
7653         (tokenEnd): Made package private.
7654         (CSSScanner): Initialize lookahead buffer with -1.
7655         (main): Print out to System.out rather then System.err.
7656         (nextToken): Push back character after IDENT.
7657
7658 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7659
7660         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7661
7662 2006-08-21  Roman Kennke  <kennke@aicas.com>
7663
7664         * gnu/javax/swing/text/html/css/CSSScanner.java
7665         (main): Use buffered input stream.
7666         (nextToken): Removed 65536 workaround. Use int value directly
7667         without cast to char.
7668         (readComment): Use int value directly without cast to char.
7669         Cast to char only when putting the character into the buffer.
7670         (readEscape): Likewise.
7671         (readIdent): Likewise.
7672         (readName): Likewise.
7673         (readNum): Likewise.
7674         (readString): Likewise.
7675         (readWhitespace): Likewise.
7676
7677 2006-08-21  Ingo Proetel  <proetel@aicas.com>
7678
7679         * java/io/InputStreamReader.java
7680         (bytesCache): New field.
7681         (cacheLock): New field.
7682         (read(byte[],int,int): Avoid allocations of new byte
7683         array on every call and reuse cached byte array if possible.
7684
7685 2006-08-21  Roman Kennke  <kennke@aicas.com>
7686
7687         * gnu/java/net/local/LocalSocketImpl.java
7688         Only load native lib if this is supported by runtime.
7689         * native/jni/java-net/local.c
7690         Include config.h unconditionally.
7691         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7692         Include config.h unconditionally.
7693
7694 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
7695
7696         * java/io/ObjectInputStream.java
7697         (objectLookupTable): Changed to be a Vector.
7698         (ObjectInputStream): Initialize objectLookupTable as Vector.
7699         (assignNewHandle): Store Object using handle index rather than
7700         Hashtable, using the new rememberHandle() method.
7701         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7702         with a caching in ObjectStreamClass.
7703         (inputGetObjectStreamClass): Replaced by hierarchy().
7704         (lookupHandle): New method. Looks up an object by it's handle
7705         index.
7706         (parseContent): Avoid creating of Integer objects. Use
7707         hierarchy() method for looking up the class hierarchy.
7708         (processResolution): Use rememberHandle() to store
7709         handle per index, rather than Hashtabling the object.
7710         (readFields): 
7711         (rememberHandle): New method.
7712         * java/io/ObjectOutputStream.java
7713         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7714         Hashtable for improved lookup performance.
7715         (ObjectOutputStream): Initialize OIDLookupTable as
7716         ObjectIdentityMap2Int.
7717         (assignNewHandle): Change to use ObjectIdentityMap2Int.
7718         (findHandle): Change to use ObjectIdentityMap2Int.
7719         (getBooleanField): Removed.
7720         (getByteField): Removed.
7721         (getCharField): Removed.
7722         (getDoubleField): Removed.
7723         (getField): Removed.
7724         (getFloatField): Removed.
7725         (getIntField): Removed.
7726         (getLongField): Removed.
7727         (getObjectField): Removed.
7728         (writeFields(Object,ObjectStreamClass)): Use new helper method.
7729         (writeFields(Object,ObjectStreamField)): New helper method.
7730         Use switch rather then if-else cascade.
7731         (writeObject): Use int handle, rather then Integer.
7732         * java/io/ObjectStreamClass.java
7733         (hierarchy): New field. Caches the class hierarchy.
7734         (methodCache): New field. Caches methods.
7735         (readObjectSignature): New field. Stores the read signature.
7736         (uidCache): New field. Caches UIDs.
7737         (writeObjectSignature): New field. Stores the write signature.
7738         (cacheMethods): Cache methods in methodCache.
7739         (calculateClassID): Outsourced from getClassUID()
7740         for computing the UIDs.
7741         (getClassUIDFromField): Outsourced from getClassUID() for
7742         fetching the UID from the class field.
7743         (getClassUID): Use cached uid if possible. Use new helper
7744         methods for fetching the UID from the field or computing
7745         from scratch.
7746         (getObjectStreamClasses): Removed. Replaced by more
7747         efficient hierarchy() method, that also caches the result.
7748         (hierarchy): Replaces getObjectStreamClasses() for caching
7749         the result.
7750         (loadedByBootOrApplicationClassLoader): New helper method.
7751         (setClass): Invalidate hierarchy cache.
7752         (setSuperclass): Invalidate hierarchy cache.
7753         * java/io/ObjectStreamField.java
7754         (field): Made field package private for access from other
7755         classes.
7756         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7757         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7758         hashtable for mapping objects to ints.
7759
7760 2006-08-21  Roman Kennke  <kennke@aicas.com>
7761
7762         * java/io/File.java
7763         (getAbsolutePath): Fetch absolute path from
7764         VMFile.getAbsolutePath(). Moved actual impl to there.
7765         (isAbsolute): Let VMFile determine the absoluteness.
7766         (toURL): Let VMFile convert the filename.
7767         * vm/reference/java/io/VMFile.java
7768         (getAbsolutePath): New method.
7769         (isAbsolute): New method.
7770         (toURL): New method.
7771
7772 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7773
7774         * NEWS: Added note about updated VM interface.
7775
7776 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7777
7778         * java/lang/management/ManagementFactory.java:
7779         Updated documentation.
7780         
7781 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7782
7783         Fixes bug #28412
7784         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7785         New methods.
7786         * gnu/java/util/regex/CharIndexedCharSequence.java,
7787         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7788         new methods above.
7789         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7790         (match): call the new method setHitEnd of the input,
7791         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7792         Some optimization commented out, Use CharIndexed#move1 instead of move.
7793         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7794         * gnu/java/util/regex/REToken.java(match): The method body has been
7795         moved to an internal private method, (matchFake): New method,
7796         (setHitEnd): New method.
7797         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7798         if the match is not complete, (matchOneString): Count the number of
7799         characters which matched the pattern.
7800         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7801         (setFake): New method, (match): Call super.match or super.matchFake.
7802         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7803         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7804         setHitEnd of the input,
7805         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7806         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7807         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7808
7809 2006-08-18  Tom Tromey  <tromey@redhat.com>
7810
7811         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7812         the 'int', not the cast char.
7813
7814 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7815
7816         * scripts/check_jni_methods.sh: Don't use the "set -C" command
7817         which isn't available in all shells.
7818
7819 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7820
7821         * lib/Makefile.am (resources): Fix some shell portability issues.
7822
7823 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7824
7825         * configure.ac (tool-wrappers): Check for ltdl support when tool
7826         wrapper binaries are enabled.
7827         * tools/Makefile.am (LIBJVM): Remove variable.
7828         (AM_CPPFLAGS): Add LIBJVM define.
7829         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7830         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7831         gjavah_LDFLAGS): Remove variables.
7832         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7833
7834 2006-08-18  Tom Tromey  <tromey@redhat.com>
7835
7836         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7837         debugging prints.
7838         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7839         print.
7840         (readEntries): Likewise.
7841
7842 2006-08-17  Roman Kennke  <kennke@aicas.com>
7843
7844         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7845         (layoutLabel): Reset the text and icon rectangles.
7846
7847 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7848
7849         PR classpath/28537
7850         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7851         Transform gappletviewer name using program_transform_name.
7852
7853 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7854
7855         * javax/swing/filechooser/FileSystemView.java
7856         (getFileSystemView): Always return UnixFileSystemView, since
7857         that's the only one we got. Marked with NotImplementedException.
7858         * javax/swing/plaf/basic/BasicFileChooserUI.java
7859         (mouseClicked, installUI): Don't parse path by hand.
7860
7861 2006-08-17  Roman Kennke  <kennke@aicas.com>
7862
7863         * javax/swing/JComponent.java
7864         (scrollRectToVisible): Handle intermediate non-JComponents
7865         more gracefully.
7866
7867 2006-08-17  Roman Kennke  <kennke@aicas.com>
7868
7869         * javax/swing/RepaintManager.java
7870         (blitBuffer): Removed. This is now done in commitBuffer().
7871         (commitBuffer): Always paint on the root window or applet.
7872         No need to look for intermediate heavyweights. Optimized
7873         rectangle translation.
7874         (commitRemainingBuffers): Removed. Not needed anymore.
7875         (getHeavyweightParent): Removed. Not needed anymore.
7876         (getOffscreenBuffer): Fetch offscreen image from the
7877         actual root component.
7878         (paintDirtyRegions): Don't call commitRemainingBuffers().
7879
7880 2006-08-17  Roman Kennke  <kennke@aicas.com>
7881
7882         * javax/swing/SwingUtilities.java
7883         (clipString): New helper method for trimming strings.
7884         (layoutCompoundLabelImpl): Fixed algorithm to conform
7885         testsuites. Trim text if it's too long. Avoid creating
7886         new Rectangles. Optimized for performance.
7887         (layoutCompoundLabel): Use switch rather then if-else-chain.
7888         * javax/swing/plaf/basic/BasicButtonUI.java
7889         (viewR): New field.
7890         (iconR): New field.
7891         (textR): New field.
7892         (paint): Reset and use cached rectangles. Only call paintIcon()
7893         if icon is not null. Don't call paintButtonPressed() when
7894         button is selected, only when it is both armed and pressed.
7895         * javax/swing/plaf/basic/BasicGraphicsUtils.java
7896         (getPreferredButtonSize): Reused cached rectangles rather
7897         then creating new ones. Don't create new Rectangle via
7898         Rectangle.union().
7899         * javax/swing/plaf/basic/BasicLabelUI.java
7900         (getPreferredSize): Correctly reset cached rectangles. Especially
7901         the view rect must have a big size to give it room for layouting.
7902         Short cut layout when text == null.
7903         (paint): Correctly reset cached rectangles.
7904         * javax/swing/plaf/basic/BasicMenuItemUI.java
7905         (resetRectangles): New helper method.
7906         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7907         (paintMenuItem): Correctly reset the cached rectangles.
7908         * javax/swing/plaf/basic/BasicRadioButtonUI.java
7909         (getPreferredSize): Use cached Rectangle objects and initialize
7910         them correctly.
7911         (paint): Use cached Rectangle objects and initialize
7912         them correctly.
7913
7914 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
7915
7916         * java/util/Calendar.java: API doc additions.
7917
7918 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7919
7920         * javax/swing/DefaultButtonModel.java:
7921         (setRollover): Simplified statement.
7922
7923 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7924
7925         * gnu/java/rmi/server/RMIClassLoaderImpl.java
7926         (loadClass): Rewritten to use getClassLoader.
7927         (loadProxyClass): Implemented.
7928         (getClassLoader): Fixed support for null or empty codebase.
7929         * gnu/java/rmi/server/RMIObjectInputStream.java
7930         (resolveClass): Use user class loader as default class loader.
7931         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7932         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7933         (loadClass): Simplified and use user class loader instead of
7934         context class loader as default.
7935         * java/io/ObjectInputStream.java
7936         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7937         * vm/reference/gnu/classpath/VMStackWalker.java
7938         (firstNonNullClassLoader): New method.
7939         * vm/reference/java/io/VMObjectInputStream.java
7940         (loaderAction, currentClassLoader): Removed.
7941
7942 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7943
7944         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7945         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7946         by current scroll offset, added method documention.
7947         (getTabBounds(int, Rectangle)): Added method documentation.
7948         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7949         (paintContentBorderLeftEdge): Changed y to 1.
7950
7951 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7952
7953         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7954         (MouseHandler.mouseReleased): Implemented.
7955         (MouseHandler.mousePressed): Added delegation to tabbed pane.
7956         (MouseHandler.mouseEntered): Dito.
7957         (MouseHandler.mouseExited): Dito.
7958         (MouseHandler.mouseMoved): Dito.
7959         (MouseHandler.redispatchEvent): New method.
7960         (PropertyChangeHandler.propertyChange): Added extra block level,
7961         added code to handle tab placement changes, added comment.
7962         (updateViewPosition): Set unneeded coordinate to 0, added comment.
7963
7964 2006-08-16  Roman Kennke  <kennke@aicas.com>
7965
7966         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7967         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7968         New file.
7969
7970 2006-08-16  Mark Wielaard  <mark@klomp.org>
7971
7972         * java/awt/Component.java (orientation): Renamed to
7973         componentOrientation.
7974         (setComponentOrientation): Use new field name.
7975         (getComponentOrientation): Likewise.
7976
7977 2006-08-16  Roman Kennke  <kennke@aicas.com>
7978
7979         PR 28750
7980         * javax/swing/plaf/basic/BasicTreeUI.java
7981         (CellEditorHandler.editingCancelled): Call completeEditing
7982         directly.
7983         (CellEditorHandler.editingStopped): Call completeEditing
7984         directly.
7985         (NodeDimensionHandler.getNodeDimensions): Rewritten
7986         to use the preferred sizes of the renderer and editor.
7987         (TreeExpansionHandler.treeCollapsed): Complete editing
7988         here.
7989         (TreeSelectionHandler.valueChanged): Complete editing
7990         here.
7991         (cancelEditing): Call completeEditing with false, false and
7992         false. Don't call finish (removed method).
7993         (completeEditing(boolean,boolean,boolean): Only do something when
7994         stopEditingInCompleteEditing is true. Nullify editingComponent
7995         and editingPath. Remove editingComponent from tree. Update
7996         the layout when necessary and repaint.
7997         (completeEditing): Stop editing when necessary.
7998         (editorRequestFocus): New helper method. Request focus
7999         on the actual editor.
8000         (finish) Removed. This is now done in completeEditing().
8001         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8002         (setLargeModel): Complete editing here.
8003         (setRootVisible): Complete editing here.
8004         (setRowHeight): Complete editing here.
8005         (setSelectionModel): Complete editing here.
8006         (startEditing): Correctly initialize and start editing.
8007         (updateExpandedDescendants): Complete editing here.
8008         * javax/swing/tree/DefaultTreeCellEditor.java
8009         (DefaultTextField): Fetch size from super and use renderer's height
8010         if appropriate.
8011         (EditorContainer.EditorContainer): Set layout to null, just
8012         to make sure.
8013         (EditorContainer.doLayout): Layout so that the editor
8014         is offset to the right of the icon.
8015         (EditorContainer.getPreferredSize): Implemented to
8016         provide a reasonable preferred size.
8017         (EditorContainer.paint): Position icon in the middle.
8018         Also paint border if appropriate.
8019         (EditorContainer.setBounds): Removed.
8020         (RealEditorListener): Removed.
8021         (DefaultTreeCellEditor): Set correct border.
8022         (cancelCellEditing): Message real editor. Call finish().
8023         (createCellEditor): Don't add listener.
8024         (determineOffset): Correctly determine offset, and update
8025         the icon.
8026         (finish): New helper method.
8027         (getTreeCellEditorComponent): Set correct font. Call
8028         prepareForEditing() and determineOffset() to correctly initialize
8029         the state.
8030         (stopCellEditing): Messsage realEditor to stop editing. Call
8031         finish to clean up.
8032         (stopEditingTimer): Removed.
8033         (valueChanged): Correctly reset lastPath.
8034         * javax/swing/tree/DefaultTreeCellRenderer.java
8035         (getPreferredSize): Return super plus some extra space for
8036         better readability.
8037
8038 2006-08-16  Roman Kennke  <kennke@aicas.com>
8039
8040         * javax/swing/plaf/metal/MetalTreeUI.java
8041         (LineStyleListener): New property listener, that updates
8042         the line style setting if the corresponding property
8043         changes.
8044         (lineStyleListener): New field.
8045         (lineStyle): New field.
8046         (LINE_STYLE_ANGLED): New constant field.
8047         (LINE_STYLE_HORIZONTAL): New constant field.
8048         (LINE_STYLE_NONE): New constant field.
8049         (LINE_STYLE_VALUE_ANGLED): New constant field.
8050         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8051         (LINE_STYLE_VALUE_NONE): New constant field.
8052         (LINE_STYLE_PROPERTY): New constant field.
8053         (decodeLineStyle): Implemented.
8054         (installUI): Install line style listener. Set initial
8055         lineStyle.
8056         (uninstallUI): Uninstall line style listener.
8057         (paintHorizontalPartOfLeg): Only call super for angled
8058         lineStyle.
8059         (paintVerticalPartOfLeg): Only call super for angled
8060         lineStyle.
8061         (paintHorizontalSeparators): Implemented.
8062         (paint): If lineStyle==HORIZONTAL, call
8063         paintHorizontalSeparators().
8064         * examples/gnu/classpath/examples/swing/TreeDemo.java
8065         (createContent): Add panel for selecting line styles.   
8066
8067 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8068         
8069         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8070         (createContent): Rewritten.
8071         (createPlacementChangingMenuItem): New method.
8072         (createLayoutPolicyChangingMenuItem): New method.
8073         (createTabbedPane): New method.
8074         (createTabContent): New method.
8075
8076 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8077
8078         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8079         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8080         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8081
8082 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8083
8084         * javax/swing/text/WrappedPlainView.java:
8085         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8086         (calculateBreakPosition): Add p0 to return value.
8087
8088 2006-08-15  Roman Kennke  <kennke@aicas.com>
8089
8090         * javax/swing/plaf/basic/BasicTreeUI.java
8091         (MouseHandler.selectedOnPress): New field.
8092         (MouseHandler.handleEvent): New helper method for handling
8093         selection and start/stop editing for mouse events.
8094         (MouseHandler.mouseDragged): Commented as no-op method.
8095         (MouseHandler.mouseMoved): Commented as no-op method.
8096         (MouseHandler.mousePressed): Use handleEvent() to handle
8097         selection and editing handling.
8098         (MouseHandler.mouseReleased): Use handleEvent() to handle
8099         selection and editing handling.
8100         (MouseInputHandler.MouseInputHandler): Register itself
8101         as mouse listener on source. Redispatch event to
8102         destination.
8103         (MouseInputHandler.dispatch): New helper method.
8104         (MouseInputHandler.mouseClicked): Dispatch event.
8105         (MouseInputHandler.mouseDragged): Dispatch event.
8106         (MouseInputHandler.mouseEntered): Stop dispatching
8107         if dragging stopped.
8108         (MouseInputHandler.mouseExited): Stop dispatching
8109         if dragging stopped.
8110         (MouseInputHandler.mouseMoved): Stop dispatching.
8111         (MouseInputHandler.mousePressed): Marked as no-op.
8112         (MouseInputHandler.mouseReleased): Dispatch and stop
8113         dispatching afterwards.
8114         (MouseInputHandler.removeFromSource): Implemented.
8115         (PropertyChangeHandler.propertyChange): Also handle
8116         editable property changes by calling setEditable().
8117         (SelectionModelPropertyChangeHandler.propertyChange):
8118         Reset row selection.
8119         (startEditTimer): Removed.
8120         (setCellEditor): Call updateEditor().
8121         (setEditable): Call updateEditor().
8122         (startEditingAtPath): Make path fully visible before starting
8123         editing.
8124         (startEditing): Maybe cancel previous edit session. Add
8125         editing component itself, not its parent container.
8126         Register MouseInputHandler for correctly redispatching
8127         initial events.
8128         (stopEditing): Message cellEditor and only completeEditing()
8129         when approved by cell editor.
8130         (updateCellEditor): Complete editing before updating
8131         the cell editor. Get cell editor from JTree if possible,
8132         otherwise create default editor. Update the listeners
8133         on the editor.
8134         * javax/swing/tree/DefaultTreeCellEditor.java
8135         (CLICK_COUNT_TO_START): Removed.
8136         (DefaultTreeCellEditor): Install correct border. Let setTree()
8137         update the listeners. Don't initialize lastPath and font yet.
8138         (actionPerformed): Implemented to start editing.
8139         (createTreeCellEditor): Set click count to start to 1, rather than
8140         3.
8141         (isCellEditable): Prepare editor here. Determine if we can
8142         start immediately, or if we trigger a timer to do so.
8143         (prepareForEditing): Don't removeAll() (not necessary),
8144         check editingComponent to be non-null.
8145         (setTree): Update listeners.
8146         (shouldStartEditingTimer): Check for left mouse button.
8147         (startEditingTimer): Lazily create timer.
8148
8149 2006-08-15  Lillian Angel  <langel@redhat.com>
8150
8151         * java/awt/dnd/DropTargetDragEvent.java
8152         (getTransferable): Implemented.
8153
8154 2006-08-15  Roman Kennke  <kennke@aicas.com>
8155
8156         * java/util/Vector.java
8157         (removeAll): Added comment about NPE.
8158         (retainAll): Added comment about NPE.
8159
8160 2006-08-15  Roman Kennke  <kennke@aicas.com>
8161
8162         * java/util/zip/ZipFile.java
8163         (UTF8DECODER): Removed.
8164         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8165         (utf8Decoder): New instance field.
8166         (decodeChars): Lazily create UTF8 decoder. Use instance
8167         field rather than a static field to avoid corruption.
8168
8169 2006-08-15  Roman Kennke  <kennke@aicas.com>
8170
8171         * java/io/PrintStream.java
8172         (line_separator): Provide default for system property.
8173         * java/io/FileDescriptor.java
8174         (valid): Create local copy of channel field for better
8175         threading safetly.
8176
8177 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8178
8179         * java/util/zip/ZipFile.java
8180         (PartialInputStream.UTF8DECODER): New constant field, used
8181         for decoding UTF8 strings.
8182         (readLeShort): Access buffer directly if it has enough bytes
8183         available.
8184         (readLeInt): Access buffer directly if it has enough bytes
8185         available.
8186         (decodeChars): New helper method for decoding UTF8 strings.
8187         (readString): Avoid NIO charset decoder if possible.
8188
8189 2006-08-15  Roman Kennke  <kennke@aicas.com>
8190
8191         * java/util/Vector.java
8192         (removeAll): Don't explicitly null-check here. The RI allows
8193         null arguments when Vector is empty. In other cases we
8194         implicitly throw an NPE.
8195         (retainAll): Don't explicitly null-check here. The RI allows
8196         null arguments when Vector is empty. In other cases we
8197         implicitly throw an NPE.
8198
8199 2006-08-14  Casey Marshall  <csm@gnu.org>
8200
8201         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8202         of changes made on this branch.
8203         Files modified:
8204         * gnu/classpath/debug/Component.java
8205         * gnu/classpath/debug/SystemLogger.java
8206         * gnu/java/security/action/GetPropertyAction.java
8207         * gnu/java/security/action/GetSecurityPropertyAction.java
8208         * gnu/javax/crypto/RSACipherImpl.java
8209         * gnu/javax/net/ssl/PrivateCredentials.java
8210         * gnu/javax/net/ssl/provider/Alert.java
8211         * gnu/javax/net/ssl/provider/AlertException.java
8212         * gnu/javax/net/ssl/provider/Certificate.java
8213         * gnu/javax/net/ssl/provider/CertificateRequest.java
8214         * gnu/javax/net/ssl/provider/CertificateType.java
8215         * gnu/javax/net/ssl/provider/CertificateVerify.java
8216         * gnu/javax/net/ssl/provider/CipherSuite.java
8217         * gnu/javax/net/ssl/provider/ClientHello.java
8218         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8219         * gnu/javax/net/ssl/provider/CompressionMethod.java
8220         * gnu/javax/net/ssl/provider/Constructed.java
8221         * gnu/javax/net/ssl/provider/ContentType.java
8222         * gnu/javax/net/ssl/provider/DiffieHellman.java
8223         * gnu/javax/net/ssl/provider/Extension.java
8224         * gnu/javax/net/ssl/provider/Finished.java
8225         * gnu/javax/net/ssl/provider/Handshake.java
8226         * gnu/javax/net/ssl/provider/Jessie.java
8227         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8228         * gnu/javax/net/ssl/provider/Random.java
8229         * gnu/javax/net/ssl/provider/ServerHello.java
8230         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8231         * gnu/javax/net/ssl/provider/Signature.java
8232         * gnu/javax/net/ssl/provider/Util.java
8233         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8234         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8235         * java/security/MessageDigest.java
8236         * java/security/MessageDigestSpi.java
8237         * java/security/Signature.java
8238         * java/security/SignatureSpi.java
8239         * javax/crypto/Mac.java
8240         * javax/crypto/MacSpi.java
8241         * javax/net/ssl/HandshakeCompletedEvent.java
8242         * javax/net/ssl/HttpsURLConnection.java
8243         * javax/net/ssl/SSLContext.java
8244         * javax/net/ssl/SSLContextSpi.java
8245         * javax/net/ssl/SSLSession.java
8246         Files added:
8247         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8248         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8249         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8250         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8251         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8252         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8253         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8254         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8255         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8256         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8257         * gnu/javax/net/ssl/provider/ServerNameList.java 
8258         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8259         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8260         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8261         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8262         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8263         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8264         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8265         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8266         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8267         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8268         * gnu/javax/net/ssl/provider/Record.java 
8269         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8270         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8271         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8272         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8273         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8274         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8275         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8276         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8277         * gnu/javax/net/ssl/provider/ExtensionList.java 
8278         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8279         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8280         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8281         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8282         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8283         * gnu/javax/net/ssl/provider/SessionImpl.java 
8284         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8285         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8286         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8287         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8288         * gnu/javax/net/ssl/provider/HelloRequest.java 
8289         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8290         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8291         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8292         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8293         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8294         * gnu/javax/net/ssl/provider/CertificateURL.java 
8295         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8296         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8297         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8298         * gnu/javax/net/ssl/provider/Builder.java 
8299         * gnu/javax/net/ssl/provider/Debug.java 
8300         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8301         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8302         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8303         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8304         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8305         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8306         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8307         * javax/net/ssl/SSLEngine.java 
8308         * javax/net/ssl/CertPathTrustManagerParameters.java 
8309         * javax/net/ssl/KeyStoreBuilderParameters.java 
8310         * javax/net/ssl/X509ExtendedKeyManager.java 
8311         * javax/net/ssl/SSLEngineResult.java 
8312         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8313         * gnu/javax/net/ssl/Session.java 
8314         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8315         * gnu/javax/net/ssl/SSLCipherSuite.java 
8316         * gnu/javax/net/ssl/AbstractSessionContext.java 
8317         * gnu/javax/net/ssl/SessionStoreException.java 
8318         * gnu/javax/net/ssl/SSLRecordHandler.java 
8319         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8320         * gnu/javax/crypto/key/GnuPBEKey.java 
8321         * gnu/java/security/util/ByteBufferOutputStream.java 
8322         * gnu/java/security/Requires.java 
8323         * gnu/javax/security/auth/callback/CertificateCallback.java 
8324         Files removed:
8325         * gnu/javax/net/ssl/provider/Context.java
8326         * gnu/javax/net/ssl/provider/DigestInputStream.java
8327         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8328         * gnu/javax/net/ssl/provider/Enumerated.java
8329         * gnu/javax/net/ssl/provider/Extensions.java
8330         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8331         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8332         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8333         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8334         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8335         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8336         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8337         * gnu/javax/net/ssl/provider/KeyPool.java
8338         * gnu/javax/net/ssl/provider/OverflowException.java
8339         * gnu/javax/net/ssl/provider/RecordInput.java
8340         * gnu/javax/net/ssl/provider/RecordInputStream.java
8341         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8342         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8343         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8344         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8345         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8346         * gnu/javax/net/ssl/provider/SSLSocket.java
8347         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8348         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8349         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8350         * gnu/javax/net/ssl/provider/SecurityParameters.java
8351         * gnu/javax/net/ssl/provider/Session.java
8352         * gnu/javax/net/ssl/provider/SessionContext.java
8353         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8354         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8355
8356 2006-08-14  Roman Kennke  <kennke@aicas.com>
8357
8358         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8359         (DividerLayout.layoutContainer): Removed debug output.
8360         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8361         (BasicHorizontalLayoutManager.axis): New field.
8362         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8363         New constructor.
8364         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8365         Call new axis constructor.
8366         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8367         handle direction.
8368         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8369         handle direction.
8370         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8371         Refactored to handle direction.
8372         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8373         to handle direction.
8374         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8375         handle direction.
8376         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8377         to handle direction.
8378         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8379         to handle direction.
8380         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8381         to handle direction.
8382         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8383         divider size.
8384         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8385         New explicit constructor. Calls super with vertical axis.
8386         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8387         to BasicHorizontalLayoutManager.
8388         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8389         moved to BasicHorizontalLayoutManager.
8390         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8391         Functionality moved to BasicHorizontalLayoutManager.
8392         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8393         moved to BasicHorizontalLayoutManager.
8394         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8395         moved to BasicHorizontalLayoutManager.
8396         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8397         Functionality moved to BasicHorizontalLayoutManager.
8398         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8399         moved to BasicHorizontalLayoutManager.
8400         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8401         moved to BasicHorizontalLayoutManager.
8402         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8403         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8404         (BUTTON_SPRITE_R): New constant field.
8405         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8406         L sprite for left buttons.
8407         
8408 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8409
8410         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8411         (query_formats): g_free 'name' after usage.
8412         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8413         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8414
8415 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8416
8417         PR classpath/27723
8418         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8419         seamonkey-plugin.
8420
8421 2006-08-14  Francis Kung  <fkung@redhat.com>
8422
8423         PR 28694
8424         * java/awt/image/ColorModel.java
8425         (coerceData): Added check for non-transparent images.
8426
8427 2006-08-14  Francis Kung  <fkung@redhat.com>
8428
8429         * java/awt/image/BandCombineOp.java
8430         (BandCombineOp): Perform checks on validity of matrix.
8431         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8432         (filter): Updated to work with new matrix storage.
8433         (getMatrix): Updated javadoc.
8434         (getPoint2D): Formatting change.
8435
8436 2006-08-14  Francis Kung  <fkung@redhat.com>
8437
8438         * java/awt/image/AffineTransformOp.java
8439         (AffineTransformOp): Updated javadoc.
8440         (createCompatibleDestImage): Match behaviour of reference implementation.
8441         (createCompatibleDestRaster): Formatting changes.
8442         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8443         (filter(Raster, WritableRaster)): Re-implemented.
8444         (filterBicubic): New private method.
8445         (filterBilinear): New private method.
8446         (filterNearest): New private method.
8447         (getBounds2D): No longer fixed around one point for rotations.
8448         (getInterpolationType): Add support for bicubic interpolation.
8449
8450 2006-08-14  Roman Kennke  <kennke@aicas.com>
8451
8452         * javax/swing/plaf/metal/MetalLookAndFeel.java
8453         (MetalLookAndFeel): Moved theme initialization to
8454         getDefaults().
8455         (createDefaultTheme): Forward to getCurrentTheme().
8456         (getDefaults): Initialize theme before doing anything else.
8457         (getCurrentTheme): Recognize swing.metalTheme property.
8458
8459 2006-08-14  Roman Kennke  <kennke@aicas.com>
8460
8461         * javax/swing/JTable
8462         (getScrollableUnitIncrement): Expose partially exposed
8463         row in scrolling direction.
8464
8465 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8466
8467         * javax/swing/JTable (getScrollableUnitIncrement): 
8468         Removing my name as the whole method body have been
8469         recently completely replaced.
8470
8471 2006-08-14  Roman Kennke  <kennke@aicas.com>
8472
8473         PR 28028
8474         * javax/swing/text/Utilities.java
8475         (getTabbedTextOffset): Don't add p0 here.
8476
8477 2006-08-14  Roman Kennke  <kennke@aicas.com>
8478
8479         PR 28719
8480         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8481         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8482         when wheel is going up.
8483
8484 2006-08-14  Roman Kennke  <kennke@aicas.com>
8485
8486         PR 28693
8487         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8488         (BasicOneTouchButton): New inner class.
8489         (DividerLayout.changeButtonOrientation): Removed.
8490         (DividerLayout.positionButtons): Moved into layoutContainer.
8491         (DividerLayout.layoutContainer): Reworked for correct layout.
8492         (OneTouchAction): New inner class.
8493         (centerOneTouchButtons): New field.
8494         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8495         UIManager.
8496         (createLeftOneTouchButton): Reimplemented to return
8497         BasicOneTouchButton.
8498         (createRightOneTouchButton): Reimplemented to return
8499         BasicOneTouchButton.
8500         (getPreferredSize): Reimplemented to return fixed preferredSize.
8501         (oneTouchExpandableChanged): Add OneTouchAction action to
8502         buttons. Don't install mouse listeners.
8503         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8504         (paint): Don't trigger extra paint for buttons.
8505         (propertyChange): Revalidate splitPane when orientation is changed.
8506         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8507         oneTouchExpandable is true.
8508         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8509         (installDefaults): Install dividerSize on the divider too.
8510         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8511         (MetalDividerLayout): Removed. Functionality is already
8512         in BasicSplitPaneDivider.DividerLayout.
8513         (MetalOneTouchButton): New inner class.
8514         (BUTTON_SPRITE): New constant field.
8515         (MetalSplitPaneDivider): Don't change layout.
8516         (createLeftOneTouchButton): Overridden to return custom button
8517         for Metal.
8518         (createRightOneTouchButton): Overridden to return custom button
8519         for Metal.
8520         (paint): Don't trigger button painting. Call super instead.
8521
8522 2006-08-13  Roman Kennke  <kennke@aicas.com>
8523
8524         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8525         (installKeyboardAction): Unmarked as stub. Added comment
8526         explaining that the RI seems to do nothing here.
8527         (uninstallKeyboardAction): Unmarked as stub. Added comment
8528         explaining that the RI seems to do nothing here.
8529
8530 2006-08-13  Roman Kennke  <kennke@aicas.com>
8531
8532         PR 28135
8533         * javax/swing/ScrollPaneLayout.java
8534         (layoutContainer): Consider the viewportBorder of the
8535         JScrollPane.
8536         (minimumLayoutSize): Consider the viewportBorder of the
8537         JScrollPane.
8538         (preferredLayoutSize): Consider the viewportBorder of the
8539         JScrollPane.
8540         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8541         (installDefaults): Also install viewportBorder if specified.
8542         (paint): Paint viewportBorder if present.
8543         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8544         Don't nullify foreground, background and font. Uninstall
8545         border via LookAndFeel helper method to avoid uninstall
8546         user set border.
8547
8548 2006-08-13  Roman Kennke  <kennke@aicas.com>
8549
8550         PR 28696
8551         * javax/swing/plaf/basic/BasicHTML.java
8552         (HTMLRootView.HTMLRootView): Trigger initial layout.
8553         (HTMLRootView.setSize): Overridden to forward to real view.
8554         * javax/swing/plaf/basic/BasicToolTipUI.java
8555         (PropertyChangeHandler): New inner class. Updates the HTML
8556         renderer.
8557         (propertyChangeHandler): New field.
8558         (getMaximumSize): Add HTML width delta.
8559         (getMinimumSize): Add HTML width delta.
8560         (getPreferredSize): Reimplemented to use HTML view for size
8561         calculation if appropriate, otherwise use simple stringWidth()
8562         measurement.
8563         (installListeners): Install propertyChangeHandler.
8564         (uninstallListeners): Uninstall propertyChangeHandler.
8565         (installUI): Update HTML renderer.
8566         (uninstallUI): Update HTML renderer.
8567         (paint): Reimplemented to use HTML view for rendering if
8568         appropriate, simple drawString otherwise.
8569         * javax/swing/plaf/metal/MetalToolTipUI.java
8570         (getPreferredSize): Call super and add accelerator delta.
8571         (paint): Simply call super.
8572
8573 2006-08-13  Roman Kennke  <kennke@aicas.com>
8574
8575         * javax/swing/JMenu.java
8576         (changeListener): Renamed to menuChangeListener to avoid
8577         shadowing changeListener field from AbstractButton.
8578
8579 2006-08-13  Roman Kennke  <kennke@aicas.com>
8580
8581         * javax/swing/JTree.java
8582         (getScrollableUnitIncrement): Fixed direction.
8583         (getScrollableBlockIncrement): Implemented to scroll one
8584         page.
8585         * javax/swing/tree/VariableHeightLayoutCache.java
8586         (distance): Consider y + height already outside the node.
8587
8588 2006-08-13  Roman Kennke  <kennke@aicas.com>
8589
8590         * javax/swing/JTable.java
8591         (getScrollableUnitIncrement): Fixed direction. Make it behave
8592         like the RI.
8593         (getScrollableBlockIncrement): Fixed direction. Make it behave
8594         like the RI.
8595
8596 2006-08-13  Roman Kennke  <kennke@aicas.com>
8597
8598         * javax/swing/JList.java
8599         (getScrollableUnitIncrement): Fixed direction. Implemented
8600         horizontal scrolling. Improved usability.
8601         (getScrollableBlockIncrement): Fixed direction. Improved usability.
8602
8603 2006-08-13  Roman Kennke  <kennke@aicas.com>
8604
8605         * javax/swing/plaf/basic/BasicScrollBarUI.java
8606         (scrollByUnit): Scroll by -unit when direction is not positive
8607         and +unit otherwise.
8608         (scrollByBlock): Scroll by -unit when direction is not positive
8609         and +unit otherwise.
8610
8611 2006-08-13  Roman Kennke  <kennke@aicas.com>
8612
8613         PR 28028
8614         * javax/swing/text/PlainView.java
8615         (paint): Limit painted area to the lines inside the clip
8616         and allocation.
8617
8618 2006-08-13  Roman Kennke  <kennke@aicas.com>
8619
8620         * javax/swing/plaf/basic/BasicTextUI.java
8621         (uninstallListeners): Unregister document listener.
8622
8623 2006-08-13  Sven de Marothy  <sven@physto.se>
8624
8625         * java/util/Locale.java
8626         (hashcodeCache): New field.
8627         (hashCode): use the above field instead of the serialized one
8628         (writeObject): Removed method.
8629         (readObject): Intern strings.
8630         (equals): Revert to previous method.
8631
8632 2006-08-13  Roman Kennke  <kennke@aicas.com>
8633
8634         * javax/swing/JTabbedPane.java
8635         (JTabbedPane): Call setModel() here and let this install the
8636         change listener correctly.
8637         (setModel): Correctly uninstall and reinstall ChangeListener when
8638         model changes.
8639
8640 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8641
8642         PR Classpath/23952
8643         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8644         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8645         (lastDefaultLocale): Removed.
8646         (emptyLocale): Likewise.
8647         (BundleKey.defaultLocale): New field.
8648         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8649         (BundleKey.set): Likewise.
8650         (BundleKey.equals): Take defaultLocal field into consideration.
8651         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8652
8653 2006-08-13  Roman Kennke  <kennke@aicas.com>
8654
8655         * javax/swing/JMenu.java
8656         (MenuChangeListener): New inner class, helps firing menu events.
8657         (changeListener): New field.
8658         (add(text)): Create new JMenuItem here and call add(JMenuItem).
8659         (add(Action)): Create Action using createActionComponent()
8660         and add via add(Component).
8661         (setModel): Install and uninstall MenuChangeListener here.
8662
8663 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8664
8665         PR Classpath/27372
8666         * java/math/BigInteger.java: Updated copyright year.
8667         (init): Consume as little bytes as possible.
8668         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8669         (valueOf(String, int)): Throw NumberFormatException for malformed strings
8670         as per RI's documentation.
8671
8672 2006-08-13  Sven de Marothy  <sven@physto.se>
8673
8674         * java/util/Locale.java
8675         (hashcode): Is a serialized field, not transient.
8676         (equals): Should NOT compare strings by reference.
8677         (readObject/writeObject): Use the default methods and handle the hash
8678         seperately.
8679
8680 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8681
8682         PR Classpath/28678
8683         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8684         Updated documentation.
8685         Formatting.
8686         (getInstance(String, String, Provider, Object[])): Likewise.
8687         Separate checks for null and empty string arguments.
8688         Include as much information as possible in the exception's message.
8689         Do not swallow original exception; instead use it as the cause of the
8690         resulting exception.
8691         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8692         (getInstance(String)): Updated documentation.
8693         Formatting.
8694         Store last exception caught when iterating through all providers.
8695         If no implementation found, raise last exception if one was caught.
8696         (getInstance(String, String)): Updated documentation.
8697         Formatting.
8698         Check for null or empty provider as per RI-5's documentation.
8699         (getInstance(String, Provider)): Updated documentation.
8700         Formatting.
8701         Use as much information as possible in the exception message.
8702         Do not swallow original exception; instead use it as the cause for the
8703         ultimate raised exception(s).
8704         * java/security/cert/CertificateFactory.java: Likewise.
8705         * java/security/cert/CertPathBuilder.java: Likewise.
8706         * java/security/cert/CertPathValidator.java: Likewise.
8707         * java/security/cert/CertStore.java: Likewise.
8708         * java/security/AlgorithmParameterGenerator.java: Likewise.
8709         * java/security/AlgorithmParameters.java: Likewise.
8710         * java/security/KeyFactory.java: Likewise.
8711         * java/security/KeyPairGenerator.java: Likewise.
8712         * java/security/KeyStore.java: Likewise.
8713         * java/security/MessageDigest.java: Likewise.
8714         * java/security/SecureRandom.java: Likewise.
8715         * java/security/Signature.java: Likewise.
8716         * javax/crypto/Cipher.java: Likewise.
8717         * javax/crypto/ExemptionMechanism.java: Likewise.
8718         * javax/crypto/KeyAgreement.java: Likewise.
8719         * javax/crypto/KeyGenerator.java: Likewise.
8720         * javax/crypto/Mac.java: Likewise.
8721         * javax/crypto/SecretKeyFactory.java: Likewise.
8722         * javax/net/ssl/KeyManagerFactory.java: Likewise.
8723         * javax/net/ssl/SSLContext.java: Likewise.
8724         * javax/net/ssl/TrustManagerFactory.java: Likewise.
8725
8726 2006-08-13  Roman Kennke  <kennke@aicas.com>
8727
8728         * javax/swing/JEditorPane.java
8729         (getScrollableTracksViewportHeight): Also check maximum size.
8730         * javax/swing/JTextPane.java
8731         (insertIcon): Use input attributes for adding the icon
8732         attribute.
8733         * javax/swing/plaf/basic/BasicTextUI.java
8734         (RootView.setSize): Overridden to forward to real view.
8735         (getPreferredSize): Trigger setSize() on the view.
8736         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8737         to viewToModel() call, rather then null.
8738         * javax/swing/text/ParagraphView.java
8739         (changedUpdate): Invalide layout. Call super.
8740         * javax/swing/text/SimpleAttributeSet.java
8741         (clone): Use super's clone method to create clone.
8742         * javax/swing/text/StyleConstants.java
8743         (setIcon): Also set element name attribute.
8744         * javax/swing/text/StyledEditorKit.java
8745         (BoldAction.actionPerformed): Actually set the bold attribute,
8746         not italic.
8747         (setCharacterAttributes): Replaced with more straightforward
8748         impl.
8749         * javax/swing/text/TextAction.java
8750         (getFocusedComponent): Implemented.
8751         * javax/swing/text/Utilities.java
8752         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8753         of null.
8754         * javax/swing/text/View.java
8755         (changedUpdate): Nullify element change when updateChildren
8756         says so.
8757
8758 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8759
8760         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8761         Fix documentation typos.
8762
8763 2006-08-11  David Daney  <ddaney@avtrex.com>
8764
8765         PR classpath/28580
8766         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
8767         createResponseBodyStream in more cases and with new parameter.
8768         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
8769         HEAD and !mayHaveBody responses specially.
8770         
8771 2006-08-11  Roman Kennke  <kennke@aicas.com>
8772
8773         * javax/swing/text/GlyphView.java
8774         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8775         * javax/swing/text/LabelView.java
8776         (valid): New flag indicating if the text attributes are valid.
8777         (LabelView): Initialize valid field with false.
8778         (setPropertiesFromAttributes): Call setter methods instead
8779         of setting properties directly. Set valid to true.
8780         (changedUpdate): Invalidate attributes. Call super.
8781         (getBackground): Sync attributes if necessary.
8782         (getForeground): Sync attributes if necessary.
8783         (getFont): Sync attributes if necessary.
8784         (isUnderline): Sync attributes if necessary.
8785         (isSuperscript): Sync attributes if necessary.
8786         (isStrikeThrough): Sync attributes if necessary.
8787         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8788         from toolkit if Container is not available yet.
8789
8790 2006-08-11  Roman Kennke  <kennke@aicas.com>
8791
8792         * javax/swing/text/PlainView.java
8793         (tabBase): New field.
8794         (tabSize): New field.
8795         (updateMetrics): Update tabSize.
8796         (lineToRect): Only allocate when really necessary.
8797         (modelToView): Use tabBase for offset calculations.
8798         (paint): Only allocate when really necessary. Update tabBase.
8799         (nextTabStop): Fixed tab calculation.
8800         (viewToModel): Correctly handle multiline text and locations
8801         outside the view's bounds. Set bias.
8802         (getLineLength): Use tabBase.
8803         * javax/swing/text/Utilities.java
8804         (drawTabbedText): Don't special case newlines. The views
8805         must take care of this.
8806
8807 2006-08-11  Roman Kennke  <kennke@aicas.com>
8808
8809         * javax/swing/text/GapContent.java
8810         (UndoPosRef): New inner class. Used for resetting positions
8811         after undo/redo operations.
8812         (InsertUndo.positions): New field.
8813         (InsertUndo.undo): Store positions in removed range.
8814         (InsertUndo.redo): Restore positions in re-inserted range.
8815         (UndoRemove.positions): New field.
8816         (UndoRemove.UndoRemove): Store positions in removed range.
8817         (UndoRemove.undo): Restore positions in re-inserted range.
8818         (UndoRemove.redo): Store positions in removed range.
8819         (insertString): Create InsertUndo instance before actually
8820         inserting the string.
8821         (remove): Create UndoRemove instance before actually
8822         removing.
8823         (getPositionsInRange): Don't clear the Vector. Return Vector
8824         of UndoPosRefs.
8825         (updateUndoPositions): Implemented to reset all UndoPosRefs
8826         in the vector.
8827
8828 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
8829
8830         * java/io/ObjectInputStream.java (readClassDescriptor):
8831         Use class's class loader to resolve field types.
8832         * java/io/ObjectStreamField.java
8833         (ObjectStreamField(String,String,ClassLoader)): Removed.
8834         (ObjectStreamField(String,String)): Don't try to resolve typename.
8835         (resolveType): New method.
8836
8837 2006-08-10  Roman Kennke  <kennke@aicas.com>
8838
8839         * javax/swing/text/BoxView.java
8840         (calculateMajorAxisRequirements): Sum up the preferred and
8841         maximum sizes.
8842         (isAfter): Also add in the rectangle's with/height.
8843         (childAllocation): Don't trigger layout here.
8844         (layoutMinorAxis): Removed debug output.
8845         (getWidth): Consider the insets.
8846         (getHeight): Consider the insets.
8847         (setSize): Consider the insets.
8848         (updateRequirements): Check axis and throw
8849         IllegalArgumentException.
8850
8851 2006-08-10  Roman Kennke  <kennke@aicas.com>
8852
8853         * javax/swing/text/AbstractDocument.java
8854         (BidiRootName): New constant field, denotes the element name
8855         for bidi root elements.
8856         (AsyncLoadPriority): New constant field, denotes the property
8857         to store the asynchronousLoadPriority.
8858         (I18N): New constant field, denotes the property for
8859         I18N support.
8860         (bidiRoot): Made field type BidiRootElement.
8861         (AbstractDocument): Build initial element structure for
8862         bidi.
8863         (getAsynchronousLoadPriority): Implemented. Returns the
8864         value stored in the document properties.
8865         (setAsynchronousLoadPriority): Implemented. Sets the
8866         value stored in the document properties.
8867         (getEndPosition): Implemented to use a Position from the
8868         content.
8869         (getStartPosition): Implemented to use a Position from the
8870         content.
8871         (insertStringImpl): Update the I18N setting if necessary.
8872         (insertUpdate): Update the bidi structure if necessary.
8873         (postRemoveUpdate): Update the bidi structure if necessary.
8874         (putProperty): Update the I18N setting and bidi structure
8875         if necessary.
8876         (updateBidi): New helper method for updating the bidi
8877         structure.
8878         (getBidis): New helper method. Fetches the Bidi analysers
8879         for the paragraphs of the range to check.
8880         (dump): Also dump the bidi structure.
8881         (AbstractElement.dump): Indent the '>' correctly.
8882         (AbstractElement.children): Check numChildren rather then
8883         children.length.
8884         (BidiRootElement): New inner class.
8885         (BidiElement): New inner class.
8886
8887 2006-08-10  Roman Kennke  <kennke@aicas.com>
8888
8889         * javax/swing/text/GapContent.java
8890         (getChars): Optimized to only copy array when really necessary.
8891         Respect the partialReturn property.
8892
8893 2006-08-10  Lillian Angel  <langel@redhat.com>
8894
8895         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8896         (getComponentPeer): Added check to prevent NPE.
8897
8898 2006-08-10  Gary Benson  <gbenson@redhat.com>
8899
8900         * java/security/AccessControlContext.java (<init>):
8901         Avoid a duplicated AccessController.getContext() call.
8902
8903 2006-08-09  Mark Wielaard  <mark@klomp.org>
8904   
8905         * doc/www.gnu.org/newsitems.txt: Add 0.92.
8906         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8907         * doc/www.gnu.org/announce/20060809.wml: New file.
8908
8909 2006-08-09  Mark Wielaard  <mark@klomp.org>
8910
8911         * configure.ac (VERSION): Set to 0.92-generics.
8912         * NEWS: Add updates for 0.92 release.
8913
8914 2006-08-09  Tom Tromey  <tromey@redhat.com>
8915
8916         PR classpath/28658:
8917         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8918         the pattern match any number of spaces in the text.
8919
8920 2006-08-09  Sven de Marothy  <sven@physto.se>
8921
8922         * java/awt/image/BufferedImage.java
8923         (BufferedImage): Reimplement predefined-type constructor.
8924         (observers/tileObservers): Field renamed to tileObservers.
8925         (createDefaultIndexedColorModel): New method.
8926
8927 2006-08-09  Tom Tromey  <tromey@redhat.com>
8928
8929         PR classpath/28666:
8930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8931         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8932         Create a 'short' array.
8933
8934 2006-08-09  Tom Tromey  <tromey@redhat.com>
8935
8936         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8937         handle arrays.
8938         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8939         (writeFields): Print "L" after int constant.  Don't mangle the field
8940         name.  Only print int/long fields.
8941
8942 2006-08-09  Tom Tromey  <tromey@redhat.com>
8943
8944         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8945         "javah".
8946
8947 2006-08-09  Sven de Marothy  <sven@physto.se>
8948
8949         * javax/swing/JTree.java
8950         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8951         (setSelectionModel): Null parameter should create an EmptySelectionM.
8952
8953 2006-08-09  Roman Kennke  <kennke@aicas.com>
8954
8955         * javax/swing/text/AbstractDocument.java
8956         (insertString): Perform modifications inside a write lock.
8957         (insertStringImpl): Don't lock here. This is already done
8958         in insertString().
8959         (replace): Perform modifications inside a write lock.
8960         (AbstractElement.AbstractElement): Call addAttributes() to
8961         add the attributes.
8962         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8963         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8964         (BranchElement.BranchElement): Set lastIndex to -1.
8965         (BranchElement.getElementIndex): Implemented more efficient
8966         search.
8967
8968 2006-08-09  Roman Kennke  <kennke@aicas.com>
8969
8970         * javax/swing/text/DefaultStyledDocument.java
8971         (Edit): Moved this inner class into ElementBuffer where it
8972         is actually needed.
8973         (edits): Moved this field into ElementBuffer.
8974         (getEditForParagraphAndIndex): Removed obsolete method.
8975         (insertUpdate): Added some optimizations and fixes. Split
8976         out handling insertion after newlines.
8977         (insertAfterNewline): New helper method. Handles insertions
8978         after a newline.
8979         (ElementBuffer.Edit): New inner class. Moved here from
8980         DefaultStyledDocument.
8981         (ElementBuffer.createdFracture): New field.
8982         (ElementBuffer.documentEvent): Made private.
8983         (ElementBuffer.edits): New field. Moved here from
8984         DefaultStyledDocument.
8985         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
8986         (ElementBuffer.fracturedChild): New field.
8987         (ElementBuffer.fracturedParent): New field.
8988         (ElementBuffer.insertPath): New field.
8989         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
8990         fracturedParent.
8991         (ElementBuffer.offsetLastIndex): New field.
8992         (ElementBuffer.offsetLastIndexReplace): New field.
8993         (ElementBuffer.recreateLeafs): New field.
8994         (ElementBuffer.ElementBuffer): Don't initialize stack here.
8995         (ElementBuffer.canJoin): New helper method.
8996         (ElementBuffer.changeUpdate): Changed to use elementStack with
8997         Edits rather than Elements. Let the split method do the work.
8998         (ElementBuffer.cloneAsNecessary): New helper method.
8999         (ElementBuffer.createFracture): Changed to fracture the bottommost
9000         child in the stack.
9001         (ElementBuffer.finishEdit): New helper method. Moved out
9002         from insertUpdate to perform the actual changes and update
9003         the event.
9004         (fracture): New helper method.
9005         (insertContentTag): Fixed some bugs and changed to use Edit
9006         instances in the stack, rather then Elements.
9007         (insertElement): New helper method. Moved out from insertUpdate()
9008         to process the ElementSpecs.
9009         (insertFirstContentTag): Fixed some problems and changed to use Edit
9010         instances in the stack, rather then Elements.
9011         (insertFracture): Removed. Basically moved into createFracture()
9012         and fracture().
9013         (insertParagraph): Removed.
9014         (insertUpdate): Split out the ElementSpec processing into
9015         insertElement(). Use Edit instances in the stack. Fixed some
9016         problems.
9017         (insert): Split out the preparation and finishing code into
9018         prepareEdit() and finishEdit().
9019         (join): New helper method.
9020         (pop): New helper method.
9021         (prepareEdit): New helper method.
9022         (recreateFracturedElement): New helper method.
9023         (recreateLeaves): Removed.
9024         (recreate): New helper method.
9025         (removeElements): New helper method. Split out from removeUpdate().
9026         (removeUpdate): Split out the actual removal. Use the
9027         Edit stack to perform removal and perform the remove actions
9028         and event updates afterwards, just like in insertImpl().
9029         (remove): Use prepareEdit() and finishEdit().
9030         (split): Replaced with more flexible impl.
9031
9032 2006-08-09  Sven de Marothy  <sven@physto.se>
9033
9034         * gnu/java/awt/peer/gtk/CairoSurface.java
9035         Change class to extend WritableRaster and not DataBuffer.
9036         (CairoDataBuffer): New inner class.
9037         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9038         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9039         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9040         Accomodate the above change.
9041
9042 2006-08-09  Sven de Marothy  <sven@physto.se>
9043
9044         * gnu/java/awt/peer/gtk/GtkMainThread.java
9045         New file.
9046         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9047         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9048         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9049         * gnu/java/awt/peer/gtk/GtkToolkit.java
9050         Minor style fixes; removed unused fields, 
9051         set fields to private where possible.
9052         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9053         Call GtkMainThread.createWindow().
9054         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9055         (dispose): New method.
9056         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9057         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9058         (gtkQuit): New native method.
9059
9060 2006-08-08  Lillian Angel  <langel@redhat.com>
9061
9062         * java/awt/Component.java
9063         (setDropTarget): Added check.
9064
9065 2006-08-08  Lillian Angel  <langel@redhat.com>
9066
9067         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9068         (GtkDragSourceContextPeer): Added FIXME. Changed call
9069         to setTarget. 
9070         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9071         (GtkDropTargetContextPeer): Removed target initialization.
9072         * java/awt/Component.java
9073         (setTarget): Removed commented out code.
9074
9075 2006-08-08  Mark Wielaard  <mark@klomp.org>
9076
9077         * javax/swing/text/DefaultHighlighter.java: Qualify
9078         Highlighter.HighlightPainter class name for gcj.
9079
9080 2006-08-05  Roman Kennke  <kennke@aicas.com>
9081
9082         * javax/swing/plaf/basic/BasicTableUI.java
9083         (MouseInputHandler.mousePressed): Request focus on list
9084         component.
9085
9086 2006-08-05  Roman Kennke  <kennke@aicas.com>
9087
9088         * javax/swing/plaf/basic/BasicListUI.java
9089         (MouseInputHandler.mousePressed): Request focus on list
9090         component.
9091
9092 2006-08-05  Roman Kennke  <kennke@aicas.com>
9093
9094         PR 28650
9095         * javax/swing/plaf/basic/BasicMenuBarUI.java
9096         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9097         than Tree.actionMap.
9098         * javax/swing/plaf/basic/BasicTreeUI.java
9099         (action): Removed obsolete field.
9100         (uninstallKeyboardActions): Removed action field handling.
9101         (installKeyboardActions): Removed action field handling.
9102         (createDefaultActions): Don't install removed TreeAction.
9103         (TreeAction): Removed obsolete inner class.
9104         (ActionListenerProxy): Removed obsolete inner class.
9105         (MouseHandler.mousePressed): Request focus on JTree component
9106         on mouse press.
9107
9108 2006-08-08  Roman Kennke  <kennke@aicas.com>
9109
9110         * javax/swing/plaf/basic/BasicListUI.java
9111         (MouseInputHandler.mousePressed): Request focus on list
9112         component.
9113
9114 2006-08-08  Roman Kennke  <kennke@aicas.com>
9115
9116         * javax/swing/plaf/basic/BasicTableUI.java
9117         (MouseInputHandler.mousePressed): Request focus on list
9118         component.
9119
9120 2006-08-08  Roman Kennke  <kennke@aicas.com>
9121
9122         * javax/swing/plaf/basic/BasicTextUI.java
9123         (damageRange(JTextComponent,int,int)): Call damageRange() with
9124         correct biases, rather than null.
9125         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9126         to use simpler modelToView() approach without much special
9127         casing. This seems not worth the effort and actually
9128         caused problems. Added locking of the document.
9129         * javax/swing/text/BoxView.java
9130         (requirementsValid): New field.
9131         (calculateMajorAxisRequirements): Rewritten without using
9132         SizeRequirements. The SizeRequirements algorithms are slightly
9133         different and too inefficient.
9134         (calculateMinorAxisRequirements): Rewritten without using
9135         SizeRequirements. The SizeRequirements algorithms are slightly
9136         different and too inefficient.
9137         (getAlignment): Simply return the alignment of the cached
9138         requirements.
9139         (getMaximumSpan): Add insets.
9140         (getMinimumSpan): Add insets.
9141         (getPreferredSpan): Add insets.
9142         (layoutMajorAxis): Rewritten without using
9143         SizeRequirements. The SizeRequirements algorithms are slightly
9144         different and too inefficient.
9145         (layoutMinorAxis): Rewritten without using
9146         SizeRequirements. The SizeRequirements algorithms are slightly
9147         different and too inefficient.
9148         (modelToView): Call setSize() rather than layout().
9149         (paint): Check clip for more efficient painting.
9150         (preferenceChanged): Invalidate requirements here.
9151         (replace): Invalidate requirements here.
9152         (updateRequirements): Update requirements only when requirements
9153         are marked invalid.
9154         * javax/swing/text/CompositeView.java
9155         (modelToView): Added some more checks and handling of corner cases.
9156         * javax/swing/text/FlowView.java
9157         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9158         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9159         * javax/swing/text/IconView.java
9160         (getAlignment): Implemented to return 1.0 for vertical alignment.
9161         * javax/swing/text/ParagraphView.java
9162         (Row.getMaximumSpan): Implemented to let Rows span the whole
9163         ParagraphView.
9164         (getAlignment): Fixed horizontal alignment and vertical alignment
9165         for empty paragraphs to be 0.5.
9166
9167 2006-08-08  Roman Kennke  <kennke@aicas.com>
9168
9169         * javax/swing/text/View.java
9170         (modelToView): Added special handling for corner case at the end
9171         of the view and for multiline views.
9172
9173 2006-08-08  Roman Kennke  <kennke@aicas.com>
9174
9175         * javax/swing/plaf/basic/BasicTextUI.java
9176         (modelToView): Read-lock the document. Set size of the
9177         root view before fetching the model-to-view mapping.
9178         (getViewIndex): Check of the position is inside the range and
9179         return -1 if this is not the case.
9180         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9181         view index.
9182         (getViewIndexAtPosition(int)): Delegate the index search to
9183         the element since we have a 1:1 mapping between elements and
9184         views here.
9185         * javax/swing/text/DefaultCaret.java
9186         (appear): Ignore BadLocationException.
9187         (paint): Ignore BadLocationException.
9188         * javax/swing/text/FlowView.java
9189         (changedUpdate): Also notify the layoutPool view.
9190         (removeUpdate): Also notify the layoutPool view.
9191         * javax/swing/text/ParagraphView.java
9192         (Row.getViewIndexAtPosition): Overridden to search linearily
9193         through the view instead of relying on a 1:1 model to view
9194         mapping.
9195         * javax/swing/text/View.java
9196         (removeUpdate): Clear ElementChange object if updateChildren
9197         returns false.
9198         (forwardUpdate): Special handle some boundary cases.
9199
9200 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9201
9202         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9203         (hasInheritedParameters): New method.
9204         (equals): Updated documentation.
9205         Take into consideration the outcome of hasInheritedParameters invocation.
9206         (toString): Call hasInheritedParameters and adjust the result accordingly.
9207         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9208         Updated documentation.
9209         Handle case of public keys with null p, q, and g MPIs.
9210         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9211
9212 2006-08-07  Tom Tromey  <tromey@redhat.com>
9213
9214         PR libgcj/23682:
9215         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9216         (attachment): Likewise.
9217         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9218         synchronized.
9219         (isValid): Likewise.
9220         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9221         (ch): Likewise.
9222         (interestOps): Synchronize.
9223         (readyOps): Likewise.
9224         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9225         interestOps call.
9226
9227 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9228
9229         Fixes PR 28608.
9230         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9231         the mark has been set.
9232         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9233         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9234         allocated data.
9235
9236 2006-08-07  Sven de Marothy  <sven@physto.se>
9237
9238         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9239         (drawGlyphVector): Synchronize against font object when drawing.
9240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9241         (nativeDrawGlyphVector): Use pango locking when drawing.
9242         (install_font_peer): Use pango locking when creating the cairo face.
9243
9244 2006-08-06  Roman Kennke  <kennke@aicas.com>
9245
9246         PR 28571
9247         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9248         (getPreferredSize): Renamed method to preferredSize(). That's
9249         the one that gets called from java.awt.*.
9250         * java/awt/peer/ComponentPeer.java
9251         (getPreferredSize): Added specnote about this method never
9252         beeing called in the RI.
9253         (getMinimumSize): Added specnote about this method never
9254         beeing called in the RI.
9255
9256 2006-08-03  Sven de Marothy  <sven@physto.se>
9257
9258         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9259         (grab, nativeGrab): New methods.
9260         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9261         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9262         (nativeGrab): New method.
9263         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9264         (print): Implement.
9265         * java/awt/Component.java
9266         (printAll): Should call peer print method.
9267
9268 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9269
9270         * java/net/URL.java (getContent(Class[])): Implement.
9271
9272 2006-08-06  Mark Wielaard  <mark@klomp.org>
9273
9274         PR 28555
9275         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9276         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9277         withParams is null.
9278         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9279         sortKeys is null.
9280
9281 2006-08-06  Roman Kennke  <kennke@aicas.com>
9282
9283         * NEWS: Added note about the X peers.
9284         * INSTALL: Added install notes about the X peers. 
9285
9286 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9287             Paul Jenner  <psj@harker.dyndns.org>
9288
9289         * README: Update bug, patches and cvs instructions plus new URLs of
9290         various external projects.
9291
9292 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9293
9294         * configure.ac (MOZILLA_FOUND): Fall back to
9295         mozilla-firefox-plugin.
9296
9297 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9298
9299         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9300         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9301         g_type_init earlier in function to correctly initialize the
9302         type system used by the backend.
9303
9304 2006-08-05  Roman Kennke  <kennke@aicas.com>
9305   
9306         * javax/swing/text/DefaultHighlight.java
9307         (DefaultHighlightPainter.paintHighlight): Removed method.
9308         (DefaultHighlightPainter.paintLayer): Implemented.
9309         (DefaultHighlightPainter.paint): Implemented more efficient
9310         painting for multiline-highlights.
9311         (HighlightEntry.p0): Changed to be a Position.
9312         (HighlightEntry.p1): Changed to be a Position.
9313         (HighlightEntry.HighlightEntry): Changed to take Position
9314         arfuments.
9315         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9316         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9317         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9318         and tracks the painted rectangle for efficient repainting.
9319         (addHighlight): Handle layered highlight.
9320         (changeHighlight): Handle layered highlight.
9321         (paintLayeredHighlights): Implemented.
9322         (paint): Paint only non-layered highlights here.
9323         (removeAllHighlights): Trigger correct repaint.
9324         (removeHighlight): Handle layered highlight here for
9325         more efficient repainting.
9326         * javax/swing/text/GlyphView.java
9327         (paint): Handle layered highlights.
9328         * javax/swing/text/PlainView.java
9329         (paint): Handle layered highlights.
9330         * javax/swing/text/WrappedPlainView.java
9331         (WrappedLine.paint): Handle layered highlights.
9332
9333 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9334   
9335         PR 26972
9336         * NEWS: As suggested by Paul Jennier, added note about the fix of
9337         the InitialContext.
9338
9339 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9340
9341         * NEWS: Added entry about the context factories for JNDI.
9342
9343 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9344
9345         PR 27383
9346         * gnu/CORBA/Connected_objects.java (size): New method.
9347         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9348         New method.
9349         * javax/naming/spi/NamingManager.java (getURLContext):
9350         Also search for the URL context factories in 
9351         gnu/javax/naming/jndi/url.
9352         * gnu/javax/naming/giop/ContextContinuation.java,
9353         gnu/javax/naming/giop/CorbalocParser.java,
9354         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9355         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9356         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9357         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9358         gnu/javax/naming/giop/ListEnumeration.java,
9359         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9360         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9361         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9362         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9363         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9364         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9365         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9366         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9367
9368 2006-08-06  Sven de Marothy  <sven@physto.se>
9369
9370         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9371         (drawGlyphVector): Synchronize against font object when drawing.
9372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9373         (nativeDrawGlyphVector): Use pango locking when drawing.
9374         (install_font_peer): Use pango locking when creating the cairo face.
9375
9376 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9377
9378         Fixes PR 28608.
9379         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9380         the mark has been set.
9381         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9382         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9383         allocated data.
9384
9385 2006-08-06  Mark Wielaard  <mark@klomp.org>
9386
9387         PR 28555
9388         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9389         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9390         withParams is null.
9391         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9392         sortKeys is null.
9393
9394 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9395             Paul Jenner  <psj@harker.dyndns.org>
9396
9397         * README: Update bug, patches and cvs instructions plus new URLs of
9398         various external projects.
9399   
9400 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9401
9402         * gnu/java/lang/management/BeanImpl.java:
9403         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9404         with open variant.
9405         (getCachedMBeanInfo()): Return open variant.
9406         (getMBeanInfo()): Likewise.
9407         (getTypeFromClass(Class)): Implemented.
9408         (translateSignature(MBeanParameterInfo)): Likewise.
9409         (translate(String)): Likewise.
9410         * javax/management/StandardMBean.java:
9411         (getMBeanInfo()): Return attribute names with capital letters,
9412         as in docs for java.lang.management.ManagementFactory, and
9413         ensure descriptions are not "".
9414         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9415         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9416         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9417         (toString()): Use Arrays.toString().
9418         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9419         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9420         Set open type here rather than in other constructors.
9421
9422 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9423
9424         * javax/management/MBeanFeatureInfo.java:
9425         Make string variable package-private.
9426         * javax/management/StandardMBean.java:
9427         (getMBeanInterface()): Made final.
9428         * javax/management/openmbean/SimpleType.java:
9429         Made final.
9430
9431 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9432
9433         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9434         code.
9435   
9436 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9437
9438         * examples/gnu/classpath/examples/swing/FillRect.java,
9439         * gnu/CORBA/Focused_ORB.java,
9440         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9441         * gnu/classpath/ByteArray.java,
9442         * gnu/classpath/ObjectPool.java,
9443         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9444         * gnu/java/awt/peer/x/fonts.properties,
9445         * gnu/java/security/util/Prime2.java,
9446         * gnu/javax/imageio/gif/GIFStream.java,
9447         * javax/swing/text/html/HTMLTableView.java,
9448         * native/cni/Makefile.am,
9449         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9450         * org/omg/CORBA/SendingContext/Runtime.java,
9451         * resource/gnu/regexp/MessagesBundle.properties,
9452         * resource/gnu/regexp/MessagesBundle_fr.properties,
9453         * resource/gnu/regexp/MessagesBundle_it.properties,
9454         * tools/appletviewer.in,
9455         * tools/jarsigner.in,
9456         * tools/keytool.in,
9457         * vm/reference/java/lang/management/VMThreadInfo.java:
9458         Removed.
9459         * examples/gnu/classpath/examples/awt/aicas.png,
9460         * examples/gnu/classpath/examples/awt/palme.gif,
9461         * examples/gnu/classpath/examples/java2d/aicas.png,
9462         * examples/gnu/classpath/examples/java2d/palme.gif,
9463         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9464         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9465         * java/awt/doc-files/capjoin.png,
9466         * java/awt/geom/doc-files/Area-1.png,
9467         * java/awt/geom/doc-files/Ellipse-1.png,
9468         * java/awt/geom/doc-files/GeneralPath-1.png:
9469         Added.
9470         
9471 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9472
9473         * configdiag.jnlp:
9474         Removed.
9475         
9476 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9477
9478         * gnu/java/lang/management/BeanImpl.java:
9479         (getAttribute(String)): Implemented.
9480
9481 2006-08-05  Roman Kennke  <kennke@aicas.com>
9482
9483         * javax/swing/text/JTextComponent.java
9484         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9485         (AccessibleJTextComponent.textComp): Removed field
9486         and replace with JTextComponent.this construct.
9487         (AccessibleJTextComponent.AccessibleJTextComponent):
9488         Fetch caret position.
9489         (caretUpdate): Implemented. Fires property change events and
9490         updates the caretDot field.
9491         (changedUpdate): Implemented. Fires property change events.
9492         (insertUpdate): Implemented. Fires property change events.
9493         (removeUpdate): Implemented. Fires property change events.
9494         (cut): Replaced textComp with JTextComponent.this construct.
9495         (paste): Replaced textComp with JTextComponent.this construct.
9496         (replaceText): Replaced textComp with JTextComponent.this construct.
9497         (selectText): Replaced textComp with JTextComponent.this construct.
9498         (getCaretPosition): Replaced textComp with JTextComponent.this
9499         construct.
9500         (getCharCount): Replaced textComp with JTextComponent.this construct.
9501         (getSelectedText): Replaced textComp with JTextComponent.this
9502         construct.
9503         (getSelectionEnd): Replaced textComp with JTextComponent.this
9504         construct.
9505         (getSelectionStart): Replaced textComp with JTextComponent.this
9506         construct.
9507         (getTextRange): Replaced textComp with JTextComponent.this
9508         construct.
9509         (doAccessibleAction): Implemented.
9510         (getAccessibleActionCount): Implemented.
9511         (getAccessibleActionDescription): Implemented.
9512         (getAccessibleStateSet): Implemented.
9513         (getAfterIndex): Implemented.
9514         (getBeforeIndex): Implemented.
9515         (getAtIndex): Implemented.
9516         (getAtIndexImpl): New helper method.
9517         (getCharacterAttribute): Implemented.
9518         (getCharacterBounds): Implemented.
9519         (getIndexAtPoint): Implemented. 
9520         (insertTextAtIndex): Implemented.
9521         (setAttributes): Implemented.
9522         (setTextContents): Implemented.
9523
9524 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9525   
9526         * configure.ac: Better handling of default-preferences-peer option.
9527
9528 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9529
9530         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9531         double[].
9532
9533 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9534
9535         * javax/management/openmbean/TabularData.java:
9536         Documentation corrections.
9537         * javax/management/openmbean/TabularDataSupport.java:
9538         New file.
9539
9540 2006-08-04  Francis Kung  <fkung@redhat.com>
9541
9542         * java/awt/BasicStroke.java
9543         (dashedStroke): Implemented.
9544
9545 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9546
9547         * javax/management/BadAttributeValueExpException.java,
9548         * javax/management/BadStringOperationException.java,
9549         * javax/management/InstanceAlreadyExistsException.java,
9550         * javax/management/InstanceNotFoundException.java,
9551         * javax/management/InvalidApplicationException.java,
9552         * javax/management/MBeanRegistrationException.java,
9553         * javax/management/MalformedObjectNameException.java,
9554         * javax/management/RuntimeErrorException.java,
9555         * javax/management/RuntimeMBeanException.java,
9556         * javax/management/ServiceNotFoundException.java:
9557         New files.
9558         
9559 2006-08-04  Roman Kennke  <kennke@aicas.com>
9560
9561         * javax/swing/SwingUtilities.java
9562         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9563          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9564         layoutCompoundLabelImpl().
9565         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9566          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9567         layoutCompoundLabelImpl().
9568         (layoutCompoundLabelImpl): New helper method. Moved impl from
9569         layoutCompoundLabel() to here and added handling of HTML.
9570         * javax/swing/plaf/basic/BasicButtonUI.java
9571         (installUI): Update HTML view if appropriate.
9572         (uninstallUI): New method. Do the usual uninstallUI things
9573         and uninstall HTML view.
9574         (getMinimumSize): New method. Adjusts the minimum size
9575         by the HTML view minimum size.
9576         (getMaximumSize): New method. Adjusts the maximum size
9577         by the HTML view maximum size.
9578         (getPreferredSize): Pass the button's iconTextGap to the
9579         BasicGraphicsUtils method.
9580         (paint): Let HTML view paint the text, if present.
9581         * javax/swing/plaf/basic/BasicButtonListener.java
9582         (propertyChange): Update the HTML view when the button's
9583         text is changed.
9584         
9585 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9586
9587         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9588         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9589         g_type_init earlier in function to correctly initialize the
9590         type system used by the backend.
9591
9592 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9593
9594         PR 26972
9595         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9596         Documented.
9597         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9598
9599 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9600
9601         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9602         Fixes PR27864.
9603         * gnu/xml/dom/DomIterator.java:
9604         (successor): Added if-statement.
9605
9606 2006-08-04  Mark Wielaard  <mark@klomp.org>
9607
9608         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9609
9610 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9611
9612         * javax/swing/plaf/metal/MetalMenuBarUI.java:
9613         (update): Check size and paint smaller gradient.
9614         * javax/swing/plaf/metal/MetalBorders.java:
9615         (MenuBarBorder): Removed borderColor field.
9616         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9617         MetalLookAndFeel.
9618
9619 2006-08-03  Roman Kennke  <kennke@aicas.com>
9620
9621         PR 27637
9622         * javax/swing/plaf/basic/BasicInternalFrameUI.java
9623         (ComponentHandler.componentResized): Reimplemented to handle
9624         arbitrary parents.
9625         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9626         component listener on changed ancestor.
9627         (installListeners): Install componentListener.
9628         (uninstallListeners): Uninstall componentListener.
9629
9630 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9631
9632         * StrictMath.java (cbrt): Return argument if it is a NaN.
9633         (cosh): Likewise.
9634         (expm1): Likewise.
9635         (sinh): Likewise.
9636   
9637 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9638   
9639         * java/lang/StrictMath.java (tanh): New method.
9640   
9641 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
9642   
9643         * scripts/import-cacerts.sh: Batch CA certificates import script.
9644   
9645 2006-08-03  Roman Kennke  <kennke@aicas.com>
9646
9647         PR 27606
9648         * javax/swing/plaf/basic/BasicListUI.java
9649         (paintCell): Pass row index to cell renderer.
9650         * javax/swing/plaf/basic/MetalFileChooserUI.java
9651         (DirectoryComboBoxRenderer.indentIcon): New field.
9652         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9653         Initialize indentIcon.
9654         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9655         Fall back to super and removed standard functionality.
9656         Handle indentation.
9657         (IndentIcon): New class. Wraps and indents another icon.
9658
9659 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9660
9661         * javax/management/MBeanConstructorInfo.java:
9662         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9663         Copy array rather than directly assigning.
9664         * javax/management/MBeanInfo.java:
9665         (MBeanInfo(String,String,MBeanAttributeInfo[],
9666         MBeanConstructorInfo[], MBeanOperationInfo[],
9667         MBeanNotificationInfo[])): Likewise.
9668         * javax/management/MBeanOperationInfo.java:
9669         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9670         Likewise.
9671         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9672         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9673         New files.
9674         * javax/management/openmbean/OpenMBeanInfo.java:
9675         Corrected documentation.
9676         * javax/management/openmbean/OpenMBeanInfoSupport.java:
9677         New file.
9678         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9679         Corrected documentation.
9680         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9681         New file.
9682         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9683         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9684         Call other constructor rather than reimplementing.
9685
9686 2006-08-02  Lillian Angel  <langel@redhat.com>
9687
9688         * java/awt/dnd/DragSource.java
9689         (isDragImageSupported): Implemented.
9690         (getDragThreshold): Changed default value.
9691         * java/awt/dnd/DropTarget.java
9692         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9693         (DropTarget): Likewise.
9694         (DropTarget): If FlavorMap passed in is null, we should use the system default.
9695         (addDropTargetListener): Added check to determine if new DropTargetListener
9696         is this class. If so, an IllegalArgumentException is thrown. If the 
9697         new listener is null, nothing happens.
9698
9699 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
9700
9701         * configure.ac (MOZILLA_FOUND): Fall back to
9702         mozilla-firefox-plugin.
9703
9704 2006-08-02  Sven de Marothy  <sven@physto.se>
9705
9706         * java/awt/geom/AffineTransform.java
9707         (hashCode): Tweak impl. 
9708         * java/awt/font/FontRenderContext.java
9709         (hashCode): Implement. 
9710
9711 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
9712
9713         * java/lang/StrictMath.java (sinh): New method.
9714
9715 2006-08-02  Roman Kennke  <kennke@aicas.com>
9716
9717         PR 27605
9718         * javax/swing/JComboBox.java
9719         (setSelectedItem): Fire ActionEvent here.
9720         * javax/swing/plaf/basic/BasicDirectoryModel.java
9721         (directories): Changed to type Vector.
9722         (files): New field.
9723         (loadThread): New field.
9724         (DirectoryLoadThread): New inner class. This loads the contents
9725         of directories asynchronously.
9726         (getDirectories): Return cached Vector.
9727         (getFiles): Return cached Vector.
9728         (getSize): Return plain size of contents Vector.
9729         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9730         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9731         (sort): Don't store sorted list in contents. This must be done
9732         asynchronously from the EventThread.
9733         (validateFileCache): Rewritten for asynchronous reading
9734         of directory contents.
9735         * javax/swing/plaf/basic/BasicFileChooserUI.java
9736         (installListeners): Install model as PropertyChangeListener.
9737         (uninstallListeners): Uninstall model as PropertyChangeListener.
9738         (createPropertyChangeListener): Return null just like the
9739         RI.
9740
9741 2006-08-02  Sven de Marothy  <sven@physto.se>
9742   
9743         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9744         (remove): Force event on removing item 0 when it's selected.
9745         (handleEvent): Always call Choice.selected().
9746         * java/awt/Choice.java:
9747         (remove): Simplify and correct.
9748   
9749 2006-08-02  Mark Wielaard  <mark@klomp.org>
9750   
9751         PR 28535
9752         * configure.ac (gconf-peer): Check for gdk-2.0.
9753         * native/jni/gconf-peer/Makefile.am
9754         (AM_LDFLAGS): Use GDK_LIBS.
9755         (AM_CFLAGS): Use GDK_CFLAGS.
9756   
9757 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9758   
9759         * java/net/URL.java (getContent(Class[])): Implement.
9760   
9761 2006-08-02  Roman Kennke  <kennke@aicas.com>
9762   
9763         PR 27624
9764         * javax/swing/JMenu.java
9765         (JMenu()): Removed setting of delay.
9766         (JMenu(String)): Removed setting of delay.
9767         (JMenu(Action)): Removed setting of delay.
9768         (JMenu(String,boolean)): Removed setting of delay.
9769         (setSelectedHelper): Removed unneeded method.
9770         (setSelected): Simply set the model state.
9771         (setPopupMenuVisible): Recognize the popup location
9772         determined by getPopupMenuOrigin().
9773         (getPopupMenuOrigin): Recognize the UI properties for
9774         X and Y offset.
9775         (menuSelectionChanged): Call setSelected() directly.
9776         * javax/swing/JPopupMenu.java
9777         (menuSelectionChanged): If invoker is a JMenu, then delegate
9778         to that to get the position right.
9779         * javax/swing/Popup.java
9780         (LightweightPopup.show): Insert the popup as first component
9781         in the layer, so that it overlaps it's caller.
9782         * javax/swing/plaf/basic/BasicMenuItemUI.java
9783         (getPath): Don't include the popup.
9784         * javax/swing/plaf/basic/BasicMenuUI.java
9785         (SelectMenuAction): New class. This invokes the popup when
9786         a menu is selected.
9787         (installDefaults): Install delay of 200 ms.
9788         (setupPostTimer): Implemented.
9789         (MouseInputHandler.mouseClicked): Do nothing here.
9790         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9791         magic to handle the selection. Open the menu via a timer.
9792         (MouseInputHandler.mousePressed): Use MenuSelectionManager
9793         magic to handle the selection. Open the menu via a timer.
9794         (MenuDragMouseHandler.menuMouseDragged): Probably use
9795         timer.
9796         (menuDragMouseEntered): Do nothing here.
9797   
9798 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9799         
9800         * javax/management/openmbean/InvalidOpenTypeException.java,
9801         * javax/management/openmbean/KeyAlreadyExistsException.java:
9802         New files.
9803
9804 2006-08-02  Roman Kennke  <kennke@aicas.com>
9805
9806         PR 27604
9807         * javax/swing/plaf/basic/BasicChooserUI.java
9808         (BasicFileView.getName): Fetch the real name from the
9809         file chooser's FileSystemView.
9810         * javax/swing/plaf/metal/MetalChooserUI.java
9811         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9812         Set the text fetched from the JFileChooser.getName().
9813         * javax/swing/FileSystemView.java
9814         (createFileObject): When file is a filesystem root,
9815         create a filesystem root object first.
9816         (getSystemDisplayName): Return the filename. Added specnote
9817         about ShellFolder class that is mentioned in the spec.
9818         * javax/swing/UnixFileSystemView.java
9819         (getSystemDisplayName): Implemented to return the real name
9820         of a file, special handling files like '.' or '..'.
9821
9822 2006-08-03  Mark Wielaard  <mark@klomp.org>
9823
9824         * examples/gnu/classpath/examples/icons/badge.png: Add file.
9825
9826 2006-08-03  Roman Kennke  <kennke@aicas.com>
9827
9828         PR 28562
9829         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9830         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9831         components when visual property chanegs.
9832
9833 2006-08-03  Roman Kennke  <kennke@aicas.com>
9834
9835         PR 28562
9836         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9837         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9838         component when visual properties change.
9839
9840 2006-08-03  Roman Kennke  <kennke@aicas.com>
9841
9842         PR 28534
9843         * javax/swing/JTree.java
9844         (JTree(TreeModel)): Set cell renderer to null.
9845         * javax/swing/plaf/basic/BasicTreeUI.java
9846         (setCellRenderer): Finish editing before setting the
9847         cell renderer. Refresh the layout. Don't set the
9848         currentCellRenderer field here (that's done in updateRenderer).
9849         (updateRenderer): Handle createdRenderer field here too.
9850         Set renderer to a default handler when the current renderer
9851         in the JTree is null.
9852
9853 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9854
9855         PR Classpath/23899
9856         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9857
9858 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9859
9860         PR Classpath/28556
9861         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9862         Updated documentation to clarify that RFC-2459 states that the parameters
9863         field of the AlgorithmIdentifier element MUST be NULL if present.
9864         Amended the code to reflect the specs.
9865         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9866
9867 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9868
9869         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9870         Call parameter 'defaultValue' not 'defValue'.
9871
9872 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9873
9874         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9875         New file.
9876
9877 2006-08-01  Roman Kennke  <kennke@aicas.com>
9878   
9879         PR 28562
9880         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9881         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9882         components when visual property chanegs.
9883   
9884 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9885
9886         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9887         (toString()): Corrected documentation.
9888         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9889         * javax/management/openmbean/OpenMBeanInfo.java,
9890         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9891         New files.
9892         * javax/management/openmbean/OpenMBeanParameterInfo.java:
9893         (toString()): Corrected documentation.
9894         
9895 2006-08-01  Tania Bento  <tbento@redhat.com>
9896
9897         * java/awt/Choice.java
9898         (remove(int)): Added documentation.
9899
9900 2006-08-01  Tania Bento  <tbento@redhat.com>
9901         
9902         * java/awt/Choice.java
9903         (remove(int)): An IllegalArgumentException should not be thrown
9904         if int is invalid.  Update selectedIndex and peer selection.
9905
9906 2006-08-01  Tania Bento  <tbento@redhat.com>
9907
9908         * java/awt/CardLayout.java
9909         (toString): Changed format of string outputted.
9910         (goToComponent): Changed the order of the if-clause.
9911
9912 2006-07-31  Tom Tromey  <tromey@redhat.com>
9913
9914         * INSTALL: Updated for ASM.
9915
9916 2006-07-31  Tom Tromey  <tromey@redhat.com>
9917
9918         PR libgcj/23682:
9919         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9920         (attachment): Likewise.
9921         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9922         synchronized.
9923         (isValid): Likewise.
9924         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9925         (ch): Likewise.
9926         (interestOps): Synchronize.
9927         (readyOps): Likewise.
9928         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9929         interestOps call.
9930
9931 2006-07-31  Roman Kennke  <kennke@aicas.com>
9932
9933         * NEWS: Added note about the X peers.
9934         * INSTALL: Added install notes about the X peers.
9935
9936 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
9937
9938         * StrictMath.java (getLowDWord): Return long instead of int.
9939         (getHighDWord): Likewise.
9940         (buildDouble): Take two long arguments.
9941         (cbrt): Adapted to int -> long change.
9942         (expm1): Likewise.
9943         (cosh): Likewise.
9944
9945 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
9946
9947         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9948         -avoid-version.
9949
9950 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
9951
9952         * java/security/Provider.java: Updated copyright year.
9953         Updated documentation.
9954         Formatting.
9955         (put): Updated documentation.
9956         Added security manager check.
9957         Canonicalize the key before adding its mapping.
9958         (get): Override superclass implementation to use canonicalized keys.
9959         (remove): Updated documentation.
9960         Added security manager check.
9961         Canonicalize the key before removing its mapping.
9962         (clear): Updated documentation.
9963         Added security manager check.
9964         (toCanonicalKey): New method.
9965
9966 2006-07-30  Matt Wringe  <mwringe@redhat.com>
9967
9968         * gnu/java/security/Engine.java
9969         (getInstance): Ignore self referencing aliases.
9970
9971 2006-07-30  Mark Wielaard  <mark@klomp.org>
9972
9973         * javax/swing/JComponent.java (getListeners): Revert
9974         un-genericization.
9975
9976 2006-07-30  Mark Wielaard  <mark@klomp.org>
9977
9978         * resource/java/security/classpath.security: Add /dev/urandom as
9979         default securerandom.source.
9980
9981 2006-07-30  Mark Wielaard  <mark@klomp.org>
9982
9983         * java/util/GregorianCalendar.java (maximums): Months can have up to
9984         6 weeks.
9985         (nonLeniencyCheck): weeks is either 5 or 6.
9986
9987 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9988         
9989         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
9990         * javax/management/openmbean/OpenMBeanParameterInfo.java:
9991         New files.
9992
9993 2006-07-30  Matt Wringe  <mwringe@redhat.com>
9994
9995         * gnu/java/security/Engine.java 
9996         (getInstance): Ignore self referencing aliases.
9997
9998 2006-07-30  Sven de Marothy  <sven@physto.se>
9999
10000         * java/awt/Choice.java:
10001         (accessibleAction): Call select() directly.
10002         (add, insert, remove): Reimplement.
10003         (dispatchEventImpl): Always call super.
10004         (processItemEvent): Does not set the index.
10005         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10006         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10007         (append): removed.
10008         (nativeAdd): Name changed to add.
10009         (selection_changed_cb): Simplify callback.
10010         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10011         (selected): New field.
10012         (add): Replaced with native impl.
10013         (handleEvent): New method.      
10014         
10015 2006-07-30  Sven de Marothy  <sven@physto.se>
10016
10017         * java/awt/Choice.java:
10018         Reformat, fix copyright year.
10019
10020 2006-07-29  Mark Wielaard  <mark@klomp.org>
10021
10022         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10023         static field isPaintingDoubleBuffered to not have the same name
10024         as a method.
10025
10026 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10027   
10028         * examples/gnu/classpath/examples/management/TestBeans.java:
10029         New file.
10030         * javax/management/MBeanAttributeInfo.java:
10031         (toString()): Implemented.
10032         * javax/management/MBeanConstructorInfo.java:
10033         (toString()): Implemented.
10034         * javax/management/MBeanFeatureInfo.java:
10035         (toString()): Implemented.
10036         * javax/management/MBeanInfo.java:
10037         (toString()): Implemented.
10038         * javax/management/MBeanNotificationInfo.java:
10039         (toString()): Implemented.
10040         * javax/management/MBeanOperationInfo.java:
10041         (toString()): Implemented.
10042         * javax/management/MBeanParameterInfo.java:
10043         (toString()): Implemented.
10044         * javax/management/StandardMBean.java:
10045         (getMBeanInfo()): Fix attribute naming.
10046
10047 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10048
10049         * gnu/java/lang/management/BeanImpl.java:
10050         Extended javax.management.StandardMBean.
10051         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10052         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10053         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10054         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10055         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10056         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10057         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10058         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10059         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10060         Call the superclass with the appropriate class.
10061         * java/lang/management/ManagementFactory.java:
10062         (getOperatingSystemMXBean()): Catch exception from
10063         StandardMBean.
10064         (getRuntimeMXBean()): Likewise.
10065         (getClassLoadingMXBean()): Likewise.
10066         (getThreadMXBean()): Likewise.
10067         (getMemoryMXBean()): Likewise.
10068         (getCompilationMXBean()): Likewise.
10069         (getMemoryPoolMXBeans()): Likewise.
10070         (getMemoryManagerMXBeans()): Likewise.
10071         (getGarbageCollectorMXBeans()): Likewise.
10072         * javax/management/MBeanFeatureInfo.java:
10073         hashCode()): Fixed to check for null values.
10074
10075 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10076
10077         * gnu/java/security/Engine.java
10078         (getInstance): Add case insentivity to algorithm names
10079         * java/security/Provider.java
10080         (put): Stop using canonical key naming
10081         (remove): Likewise
10082         (toCanonicalKey): Method removed
10083         (get): Method removed, no longer needs to overwrite
10084         parent implementation
10085
10086 2006-07-29  Mark Wielaard  <mark@klomp.org>
10087
10088         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10089         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10090         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10091         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10092         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10094         Removed.
10095
10096 2006-07-29  Sven de Marothy  <sven@physto.se>
10097
10098         * java/math/BigDecimal.java
10099         Adjust copyright date.
10100         (divide(BigDecimal): Implement.
10101         (precision): Reimplement.
10102         (numDigitsInBigInteger, numDigitsInLong): Removed.
10103         (toString): Get exponent from string length,
10104         fix negative values with exponential form.
10105         (toEngineeringString): Same as for toString.
10106         (setScale): Throw ArithmeticException if scale < 0.
10107
10108 2006-07-27  Francis Kung  <fkung@redhat.com>
10109
10110         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10111         (cp1): Renamed from first().
10112         (c2): Renamed from last().
10113         (first): Renamed to cp1().
10114         (getDisplacedSegments): Implemented.
10115         (last): Renamed to cp2().
10116         * gnu/java/awt/java2d/LineSegment.java
10117         (cp1): Renamed from first().
10118         (c2): Renamed from last().
10119         (first): Renamed to cp1().
10120         (last): Renamed to cp2().
10121         * gnu/java/awt/java2d/QuadSegment.java
10122         (cp1): Renamed from first().
10123         (c2): Renamed from last().
10124         (first): Renamed to cp1().
10125         (last): Renamed to cp2().
10126         * gnu/java/awt/java2d/Segment.java: Added comments.
10127         (first): New field.
10128         (Segment): Keep track of first element in list.
10129         (add): Update first & last element variables.
10130         (cp1): Renamed from first().
10131         (c2): Renamed from last().
10132         (first()): Renamed to cp1() to reduce ambiguity.
10133         (last()): Renamed to cp2() to reduce ambiguity.
10134         (reverseAll): Update first element variable..
10135         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10136         (draw): Remove flattening path iterator.
10137         * java/awt/BasicStroke.java: Clarified comments.
10138         (addSegments): Refactored some code into joinSegments and
10139         joinInnerSegments.
10140         (capEnd): Rename of Segment.first() and Segment.end().
10141         (joinInnerSegments): New method.
10142         (joinOuterSegments): New method.
10143         (joinSegments): Refactored some code into joinOuterSegments.
10144         (solidStroke): Connect segments together properly.
10145
10146 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10147
10148         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10149         -avoid-version.
10150         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10151         Likewise.
10152         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10153         Likewise.
10154         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10155         Likewise.
10156
10157 2006-07-28  Tom Tromey  <tromey@redhat.com>
10158
10159         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10160
10161 2006-07-28  Lillian Angel  <langel@redhat.com>
10162
10163         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10164         Removed function declarations.
10165         (connect_signals_for_widget): Removed implementation because
10166         stub functions have been removed.
10167         (drag_begin_cb): Removed function.
10168         (drag_motion_cb): Likewise.
10169         (drag_data_get_cb): Likewise.
10170         (drag_data_delete_cb): Likewise.
10171         (drag_drop_cb): Likewise.
10172         (drag_end_cb): Likewise.
10173         (drag_data_received_cb): Likewise.      
10174
10175 2006-07-28  Mark Wielaard  <mark@klomp.org>
10176
10177         * configure.ac: Set version to 0.93-pre.
10178
10179 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10180
10181         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10182
10183 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10184
10185         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10186         (getCallbackHandler): Fully qualify linked class in javadoc.
10187         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10188         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10189         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10190
10191 2006-07-27  Tom Tromey  <tromey@redhat.com>
10192
10193         PR classpath/28486:
10194         * java/net/URLStreamHandler.java (equals): Properly handle default
10195         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10196
10197 2006-07-27  Roman Kennke  <kennke@aicas.com>
10198
10199         * javax/swing/text/AbstractDocument.java
10200         (documentCV): Made field private.
10201         (bypass): Made field private.
10202         (bidiRoot): New field.
10203         (AbstractDocument): Initialize bidiRoot.
10204         (getBidiRootElement): Return bidiRoot.
10205         (getRootElements): Adjusted to also return the bidiRoot element.
10206         (BranchElement.startOffset): Removed unneeded field.
10207         (BranchElement.endOffset): Removed unneeded field.
10208         (BranchElement.BranchElement): Removed unneeded fields.
10209         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10210         done automatically when there's no element left in the array.
10211         (BranchElement.getStartOffset): Likewise.
10212         (BranchElement.replace): Reordered calculations to avoid double
10213         calculations.
10214         (removeImpl): Silently ignore requests with length <= 0.
10215         * javax/swing/text/GapContent.java
10216         (createPosition): Removed explicit check for correct offset.
10217         This class can deal with offsets outside the document.
10218         (shiftEnd): Update all positions, even those outside the
10219         document.
10220         (adjustPositionsInRange): Fixed to also adjust positions outside
10221         the document boundary.
10222
10223 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10224
10225     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10226     defining class.
10227     (getParameter): Returns _klass field instead of determining
10228     class from _instance.
10229     (setCatchLoc): New method.
10230     (writeData): Now assumes Location deals with empty locations instead of
10231     using null.
10232     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10233     locations and write out accordingly.
10234     (getEmptyLocation): New method. 
10235
10236 2006-07-27  Roman Kennke  <kennke@aicas.com>
10237
10238         * javax/swing/text/SimpleAttributeSet.java
10239         (EMPTY): Use EmptyAttributeSet for this field rather than
10240         SimpleAttributeSet.
10241         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10242         an empty and immutable AttributeSet.
10243
10244 2006-07-27  Roman Kennke  <kennke@aicas.com>
10245
10246         * java/awt/Component.java
10247         (reshape): Invalidate the component itself only when the
10248         size has changed. Invalidate the parent always. Fixed
10249         repainting. Pulled out the notification into
10250         notifyReshape().
10251         (notifyReshape): New helper method. Notify interested listeners
10252         about a reshape.
10253         (update): Simply call paint() without clearing the background.
10254         This is done in Container.update() if appropriate.
10255         (repaint): Delagate the repaint to the nearest heavyweight
10256         parent (for lightweights) and send an UPDATE event, rather than
10257         calling ComponentPeer.repaint().
10258         * java/awt/Container.java
10259         (backCleared): Removed field.
10260         (paint): Removed handling of backCleared flag.
10261         (update): Only paint if the container is actually
10262         showing. Removed handling of backCleared flag.
10263
10264 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10265
10266         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10267         authorship.
10268         (NavigateAction): New inner class.
10269         (NavigatePageDownAction): New inner class.
10270         (NavigatePageUpAction): New inner class.
10271         (RequestFocusAction): New inner class.
10272         (RequestFocusForVisibleComponentAction): New inner class.
10273         (FocusHandler.focusGained): Implemented.
10274         (FocusHandler.focusLost): Implemented.
10275         (MouseHandler.mouseReleased): Implemented.
10276         (MouseHandler.mousePressed): Rewritten.
10277         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10278         currentScrollLocation to 0.
10279         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10280         removed local variables, fixed indentation to stay under 80 column
10281         limit.
10282         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10283         one, set selectedIndex to 0 if its negative, corrected start values
10284         for normalization, suppressed padding when only one tab run,
10285         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10286         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10287         80 column limit, corrected the starting value for the bounds fixing
10288         phase.
10289         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10290         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10291         selectedRun, set start index for loop to 0.
10292         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10293         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10294         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10295         alignment and visibility handling.
10296         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10297         layout mode.
10298         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10299         (currentScrollOffset): New field.
10300         (tabRuns): Rewritten documentation.
10301         (selectedColor): New field.
10302         (tempTextRect): New field.
10303         (tempIconRect): New field.
10304         (scrollTab): New method.
10305         (updateButtons): New method.
10306         (updateViewPosition): New method.
10307         (createLayoutManager): Reordered method calls, predefine new fields,
10308         register proper listeners.
10309         (uninstallComponents): Implemented.
10310         (installDefaults): Corrected property names, fixed indentation,.
10311         (uninstallDefaults): Set new fields to null.
10312         (uninstallListeners): Remove listeners from components neccessary for
10313         scrolling tab layout.
10314         (installKeyboardActions): Implemented.
10315         (uninstallKeyboardActions): Implemented.
10316         (paint): Paint tab area background.
10317         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10318         objects.
10319         (getTabLabelShiftX): Rewritten.
10320         (getTabLabelShiftY): Rewritten.
10321         (paintFocusIndicator): Reindented.
10322         (paintTabBorder): Rewritten.
10323         (paintTabBackground): Corrected color usage, rewritten background
10324         rectangle painting.
10325         (paintContentBorderTopEdge): Rewritten.
10326         (paintContentBorderBottomEdge): Rewritten.
10327         (paintContentBorderLeftEdge): Rewritten.
10328         (paintContentBorderRightEdge): Rewritten.
10329         (tabForCoordinate): Return selected index when no tab could be
10330         found, removed FIXME note.
10331         (getRunForTab): Changed return value for first if-statement.
10332         (navigateSelectedTab): Fixed last argument for both
10333         getTabRunOffset() calls.
10334         (selectedNextTabInRun): Added scrolling code.
10335         (selectedPreviousTabInRun): Added scrolling code.
10336         (selectedNextTab): Added scrolling code.
10337         (selectedPreviousTab): Added scrolling code.
10338         (selectAdjacentRunTab): Added scrolling code.
10339         (getTextViewForTab): Added FIXME note.
10340         (calculateTabHeight): Changed FIXME note.
10341         (getTabRunOffset): Fixed indentation.
10342         (getNextTabIndexInRun): Corrected return value.
10343         (rotateInsets): Make TOP case the default in switch-statement.
10344         (getActionMap): New method.
10345         (createActionMap): New method.
10346         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10347         (createLayoutManager): Rewritten.
10348         (paintLeftTabBorder): Do not paint left line when previous tab
10349         is selected but current tab is the first in its run, do not paint
10350         left line when current tab is selected and is first in its run.
10351         (paintRightTabBorder): Added missing setColor() call, fixed color
10352         usage, do not paint right line if previous tab is selected but
10353         current tab is the first in its run.
10354         (paintBottomTabBorder): Do not paint left line if tab is selected
10355         and is the first tab in the last run.
10356         (paintFocusIndicator): New method.
10357         (getLabelShiftX): New method.
10358         (getLabelShiftY): New method.
10359
10360 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10361
10362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10363         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10364         g_assert from unused obj.
10365         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10366         obj as unused and remove g_assert on it.
10367
10368 2006-07-26  Roman Kennke  <kennke@aicas.com>
10369
10370         * javax/swing/RepaintManager.java
10371         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10372         for the component.
10373         (isCompletelyDirty): Consider a component completely dirty
10374         when it has a dirty region with Integer.MAX_VALUE.
10375
10376 2006-07-26  Roman Kennke  <kennke@aicas.com>
10377
10378         * java/awt/KeyboardFocusManager.java
10379         (getGlobalFocusOwner): Explicitly check for thread security.
10380         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10381         (getGlobalFocusedWindow): Explicitly check for thread security.
10382         (getGlobalActiveWindow): Explicitly check for thread security.
10383         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10384         (getGlobalObject): Added new argument for specifying if
10385         a security check should be performed or not.
10386         (setGlobalObject): Don't check for thread security when
10387         calling getGlobalObject.
10388
10389 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10390
10391         * javax/management/MBeanConstructorInfo.java:
10392         Documentation fix.
10393         * javax/management/MBeanInfo.java:
10394         (MBeanInfo(String,String,MBeanAttributeInfo[],
10395         MBeanConstructorInfo[], MBeanOperationInfo[],
10396         MBeanNotificationInfo[])): Implemented.
10397         (equals(Object)): Likewise.
10398         (getAttributes()): Likewise.
10399         (getConstructors()): Likewise.
10400         (getOperations()): Likewise.
10401         (hashCode()): Likewise.
10402         * javax/management/MBeanOperationInfo.java,
10403         * javax/management/NotCompliantMBeanException.java,
10404         * javax/management/StandardMBean.java:
10405         New files.
10406
10407 2006-07-26  Sven de Marothy  <sven@physto.se>
10408
10409         * java/awt/geom/GeneralPath.java: Fix severe typo.
10410         
10411 2006-07-26  Sven de Marothy  <sven@physto.se>
10412
10413         * include/java_lang_VMSystem.h
10414         * vm/reference/java/lang/VMSystem.java
10415         * native/jni/java-lang/java_lang_VMSystem.c
10416         (nanoTime, currentTimeMillis): Switch the former to native code and
10417         the latter to java.
10418         
10419 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10420
10421         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10422         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10423         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10424         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10425         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10426         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10427         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10428         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10429         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10430         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10431         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10432         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10433         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10434         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10435         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10436         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10437         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10438         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10439         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10440         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10441         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10442
10443 2006-07-26  Roman Kennke  <kennke@aicas.com>
10444
10445         * java/awt/KeyboardFocusManager.java
10446         (getFocusOwner): Don't check permanent owner.
10447         (getGlobalFocusOwner): Don't check permanent owner.
10448
10449 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10450
10451         * StrictMath.java (cosh): New method.
10452         (expm1): New method.
10453         (EXPM1_Q1): New field.
10454         (EXPM1_Q2): Likewise.
10455         (EXPM1_Q3): Likewise.
10456         (EXPM1_Q4): Likewise.
10457         (EXPM1_Q6): Likewise.
10458
10459 2006-07-26  Roman Kennke  <kennke@aicas.com>
10460
10461         * javax/swing/plaf/basic/BasicButtonListener.java
10462         (mousePressed): Request focus if appropriate.
10463         * javax/swing/text/DefaultCaret.java
10464         (mousePressed): Also handle the focus of the text component
10465         as specified. Don't consume events.
10466
10467 2006-07-26  Roman Kennke  <kennke@aicas.com>
10468
10469         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10470         (focusRequest): Removed field.
10471         (postFocusEvent(int,boolean,Component)): Removed.
10472         (postFocusEvent(int,boolean)): Reverted to post event using
10473         the heavyweight component.
10474         (requestFocus): Post focus event using the heavyweight
10475         component.
10476         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10477         (requestFocus): Post focus event using the heavyweight
10478         component.
10479         * java/awt/AWTEvent.java
10480         (isFocusManagerEvent): New field, indicating if this is
10481         an event that is redispatched by the KeyboardFocusManager.
10482         * java/awt/Component.java
10483         (requestFocusImpl): Register component for
10484         heavyweight->lightweight mapping.
10485         (dispatchEventImpl): Retarget focus events before dispatching
10486         to the KeyboardFocusManager. Use new AWTEvent flag instead
10487         of locking hack. Dispatch all events through the
10488         KeyboardFocusManager. Don't request focus on lightweight
10489         components.
10490         * java/awt/DefaultKeyboardFocusManager.java
10491         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10492         FOCUS_LOST.
10493         (handleFocusGained): Fixed handling of temporary vs permanent
10494         focus changes. Added some checks.
10495         (handleFocusLost): Fixed handling of temporary vs permanent
10496         focus changes. Added some checks.
10497         * java/awt/EventDispatchThread.java
10498         (run): Don't dispatch to KeyboardFocusManager here. This
10499         is done in Component.dispatchEventImpl().
10500         * java/awt/KeyboardFocusManager.java
10501         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10502         (focusRequests): New field.
10503         (retargetFocusEvent): New method. Retargets focus events
10504         that come from heavyweights to the correct lightweight component.
10505         (addLightweightFocusRequest): New method. Stores a mapping
10506         for later retargetting of heavyweight focus events.
10507         * java/awt/Window.java
10508         (addFocusListener): Removed bogus method. If at all, this
10509         should be performed in the KeyboardFocusManager.
10510         (Window): Don't install a focus listener on the Window.
10511
10512 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10513
10514         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10515         (drawLine): Apply shift to line coordinates.
10516
10517 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10518
10519         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10520         (copyimage): Do not call setRenderingHints() when the respective map
10521         does not exist.
10522         (filter): Removed code to clone the ColorModel instance.
10523         * java/awt/image/ColorModel.java:
10524         (cloneColorModel): Removed.
10525
10526 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10527
10528         * javax/swing/JTabbedPane.java:
10529         (setSelectedIndex): Removed updating of component visibility status,
10530         added note.
10531         (remove(Component)): Use indexOfComponent() to find whether we have
10532         to use super.remove(int) or removeTabAt().
10533
10534 2006-07-26  Roman Kennke  <kennke@aicas.com>
10535
10536         * javax/swing/JOptionPane.java
10537         (createDialog): Add property change handler for closing
10538         the dialog when the value property changes.
10539         (ValuePropertyHandler): New inner helper class.
10540         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10541         (OptionPaneCloseAction): New class.
10542         (messageForeground): Removed field.
10543         (messageBorder): Removed field.
10544         (buttonBorder): Removed field.
10545         (addIcon): Configure the new label.
10546         (addMessageComponents): Configure newly created labels.
10547         (burstStringInto): Likewise.
10548         (createButtonArea): Install border here.
10549         (createMessageArea): Install border and foreground here.
10550         (createSeparator): Added comment and removed
10551         NotImplementedException.
10552         (installComponents): Don't install the UI defaults for the
10553         message and button area here. This is moved to the
10554         corresponding create* methods. Adjusted comment about
10555         separator.
10556         (installDefaults): Removed initialization of removed fields.
10557         (installKeyboardActions): Implemented.
10558         (getActionMap): New helper method.
10559         (createDefaultActions): New helper method.
10560         (uninstallDefaults): Removed de-initialization of removed fields.
10561         (uninstallKeyboardActions): Implemented.
10562         (configureLabel): New helper method.
10563         * javax/swing/plaf/basic/BasicTableUI.java
10564         (getActionMap): Fixed the UI property names.
10565         * javax/swing/plaf/basic/BasicToolBarUI.java
10566         (getActionMap): Fixed the UI property names.
10567
10568 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10569
10570         * java/awt/image/BandedSampleModel.java
10571         (getDataElements): Check for negative x or y,
10572         (getPixels): Likewise,
10573         (getSamples): Likewise,
10574         (setSamples): Likewise.
10575
10576 2006-07-26  Roman Kennke  <kennke@aicas.com>
10577
10578         * javax/swing/plaf/basic/BasicToolBarUI.java
10579         (ToolBarAction): New inner class for handling keyboard
10580         actions.
10581         (installKeyboardActions): Implemented.
10582         (getActionMap): New helper method.
10583         (createDefaultActions): New helper method.
10584         (installListeners): Install focus listener on toolbar's
10585         children, rather than the toolbar itself.
10586         (navigateFocusedComp): Implemented.
10587         (uninstallKeyboardActions): Implemented.
10588         (uninstallListeners): Uninstall focus listener from
10589         toolbar's children, rather than the toolbar itself.
10590         (ToolBarContListener.componentAdded): Install focus
10591         listener on added child.
10592         (ToolBarContListener.componentRemoved): Uninstall focus
10593         listener from removed child.
10594         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10595         (ToolBarFocusListener.focusGained): Implemented.
10596         (ToolBarFocusListener.focusLost): Implemented.
10597
10598 2006-07-26  Roman Kennke  <kennke@aicas.com>
10599
10600         * java/awt/DefaultKeyboardFocusManager.java
10601         (dispatchEvent): Notify old focus owner when it has lost
10602         focus.
10603
10604 2006-07-26  Roman Kennke  <kennke@aicas.com>
10605
10606         * javax/swing/plaf/basic/BasicTableUI.java
10607         (FocusHandler.focusGained): Implemented to refresh the
10608         lead cell.
10609         (FocusHandler.focusLost): Implemented to refresh the
10610         lead cell.
10611         (FocusHandler.repaintLeadCell): New helper method.
10612         (MouseInputHandler.mouseEntered): Do nothing here.
10613         (MouseInputHandler.mouseExited): Do nothing here.
10614         (MouseInputHandler.mouseMoved): Do nothing here.
10615         (installKeyboardActions): Rewritten to use a shared InputMap
10616         and ActionMap and correctly install the maps via SwingUtilities
10617         methods.
10618         (getActionMap): New helper method.
10619         (createDefaultActions): New helper method.
10620         (ActionListenerProxy): Removed unneeded class.
10621         (TableAction): Made class static.
10622         (TableAction.actionPerformed): Determine table by fetching
10623         the event source. Pass the table to helper methods.
10624         Use __command__ hack to determine the action command.
10625         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10626         (TableAction.getLastVisibleColumnIndex): Get table as argument.
10627         (TableAction.getFirstVisibleRowIndex): Get table as argument.
10628         (TableAction.getLastVisibleRowIndex): Get table as argument.
10629         (TableAction.advanceMultipleSelection): Get table as argument.
10630         (uninstallDefaults): Do nothing here.
10631         (uninstallKeyboardActions): Uninstall the keyboard actions.
10632
10633 2006-07-26  Roman Kennke  <kennke@aicas.com>
10634
10635         * javax/swing/JComponent.java
10636         (processKeyBinding): Store the action command as property
10637         in the Action instance that we call. This allows for
10638         improvement on the side of the Action.
10639
10640 2006-07-26  Roman Kennke  <kennke@aicas.com>
10641
10642         * javax/swing/plaf/metal/MetalUtils.java
10643         (fillMetalPattern): Use fillRect() instead of drawLine() to
10644         fill single pixels.
10645
10646 2006-07-26  Roman Kennke  <kennke@aicas.com>
10647
10648         * javax/swing/text/GapContent.java
10649         (getChars): Check for negative length and throw
10650         BadLocationException.
10651
10652 2006-07-26  Roman Kennke  <kennke@aicas.com>
10653
10654         * javax/swing/plaf/basic/BasicMenuBarUI.java
10655         (FocusAction): Made class static.
10656
10657 2006-07-26  Roman Kennke  <kennke@aicas.com>
10658
10659         * javax/swing/plaf/basic/BasicLookAndFeel.java
10660         (initComponentDefaults): Add keyboard bindings for
10661         PopupMenu.
10662
10663 2006-07-26  Roman Kennke  <kennke@aicas.com>
10664
10665         * javax/swing/UIManager.java
10666         (getLookAndFeelDefaults): Return the look and feel defaults.
10667         (setLookAndFeel): Improved exception messsage.
10668
10669 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10670
10671         * javax/swing/text/StringContent.java
10672         (StringContent): Changed initialLength to 10.
10673
10674 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10675
10676         * java/util/Vector.java: Fixed API doc typo.
10677
10678 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10679
10680         * java/awt/image/BandedSampleModel.java
10681         (createCompatibleSampleModel): Fixed typo in loop increment, set
10682         correct scanlineStride, and updated API docs.
10683
10684 2006-07-25  Roman Kennke  <kennke@aicas.com>
10685
10686         * javax/swing/plaf/basic/BasicPopupMenuUI.java
10687         (NavigateAction): New inner class. This is responsible for
10688         keyboard navigation through menus.
10689         (KeyboardHelper): New inner class. This manages the
10690         keyboard mappings and focus when a popup opens or closes.
10691         (keyboardHelper): New static field.
10692         (numPopups): New static field.
10693         (installUI): Create KeyboardHelper for first popup.
10694         Call installKeyboardActions().
10695         (installKeyboardActions): Removed NotImplementedException.
10696         This method is a no-op.
10697         (installKeyboardActionsImpl): New method. Installs keyboard
10698         mapping when a popup is opened.
10699         (getActionMap): New helper method.
10700         (createDefaultActions): New helper method.
10701         (uninstallUI): Uninstall KeyboardHelper when last Popup is
10702         uninstalled. Call uninstallKeyboardActions().
10703         (uninstallKeyboardActions): Removed NotImplementedException.
10704         This method is a no-op.
10705         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10706         mapping when a popup is closed.
10707         
10708 2006-07-25  Roman Kennke  <kennke@aicas.com>
10709
10710         * java/awt/Component.java
10711         (requestFocus()): Reimplemented to use requestFocusImpl().
10712         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10713         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10714         (requestFocusInWindow(boolean)): Reimplemented to use
10715         requestFocusImpl().
10716         (requestFocusImpl): Reimplemented focus request to use
10717         new peer method. Also added some obvious additional checks
10718         for rejecting focus requests early.
10719         * java/awt/ComponentPeer.java
10720         (requestFocus(Component,boolean,boolean,long)): Documented
10721         this method.
10722         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10723         (requestFocus): New field.
10724         (gtkWidgetHasFocus): New native method.
10725         (gtkWidgetCanFocus): New native method.
10726         (requestFocus): Replaced with assert false to prevent
10727         usage of obsolete method.
10728         (postFocusEvent(int,boolean,Component)): New overloaded method
10729         for posting the focus event to a specific target.
10730         (postFocusEvent(int,boolean)): Post event to requestFocus
10731         component.
10732         (requestFocus(Component,boolean,boolean,long)): Implemented.
10733         (getWindowFor): New helper method.
10734         (isLightweightDescendant): New helper method.
10735         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10736         (gtkWindowHasFocus): New native method.
10737         (requestFocus(Component,boolean,boolean,long)): New method.
10738         Overrides GtkComponentPeer method to specially handly the
10739         case when a Window receives a focus request for a lightweight
10740         child.
10741         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10742         (gtkWidgetHasFocus): New native method.
10743         (gtkWidgetCanFocus): New native method.
10744         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10745         (gtkWindowHasFocus): New native method.
10746         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10747         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10748         Regenerated.
10749
10750 2006-07-25  Francis Kung  <fkung@redhat.com>
10751
10752         * java/awt/DefaultKeyboardFocusManager.java
10753         (dispatchEvent): Add check for valid component.
10754
10755 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10756
10757         * javax/management/MBeanConstructorInfo.java:
10758         New file.
10759         * javax/management/MBeanNotificationInfo.java:
10760         Documentation fix.
10761         * javax/management/MBeanParameterInfo.java:
10762         New file.
10763
10764 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10765
10766         * java/awt/peer/gtk/CairoGraphics.java:
10767         (drawLine): Added special case for 1 pixel lines.
10768
10769 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10770
10771         Fixes PR27844.
10772         * java/awt/peer/gtk/CairoGraphics.java:
10773         (drawLine): Removed calls to shifted().
10774
10775 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10776
10777         * javax/swing/JTabbedPane.java:
10778         (remove(Component)): Rewritten.
10779         (setSelectedIndex): Implemented updating of component visibility state.
10780
10781 2006-07-25  Sven de Marothy  <sven@physto.se>
10782
10783         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10784         (init): Default to the actual depth in the worst case.
10785         
10786         * java/awt/Font.java
10787         (createFont(int, File)): New method.
10788         
10789 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10790
10791         Fixes bug #28413
10792         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10793         New field.
10794         (RETokenEnd): New constructer to set check_java_line_terminators.
10795         (matchThis): Checck line terminators if check_java_line_terminators.
10796         * gnu/java/util/regex/RETokenStart.java: Likewise.
10797         * gnu/regexp/RE.java(initialize): Use the new constructors for
10798         RETokenEnd and RETokenStart if REG_MULTILINE is set.
10799         * java/util/regex/Pattern.java(Patteren): Changed so that
10800         gnu/regexp/RE.java may use the new the new constructors.
10801
10802 2006-07-25  Roman Kennke  <kennke@aicas.com>
10803
10804         * java/awt/Container.java
10805         (focusTraversalPolicyProvider): New field.
10806         (isFocusTraversalPolicyProvider): New method.
10807         (setFocusTraversalPolicyProvider): New method.
10808         * java/awt/ContainerOrderFocusTraversalPolicy.java
10809         (getFirstComponent): Use accept() instead of lengthy checks.
10810         Don't fetch getComponents() to avoid copying of array.
10811         Traverse down the hierarchy to find the first focused component.
10812         * java/awt/DefaultKeyboardFocusManager.java
10813         (dispatchEvent): Let the initial component request focus.
10814
10815 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10816
10817         * javax/swing/text/Segment.java
10818         (last): Update current index before returning DONE for zero count.
10819         
10820 2006-07-24  Mark Wielaard  <mark@klomp.org>
10821
10822         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10823
10824 2006-07-25  Roman Kennke  <kennke@aicas.com>
10825
10826         * javax/swing/plaf/basic/BasicMenuBarUI.java
10827         (FocusAction): New inner class. Used to grab focus.
10828         (installKeyboardActions): Implemented.
10829         (uninstallKeyboardActions): Implemented.
10830         (getActionMap): New helper method.
10831         (createDefaultActions): New helper method.
10832
10833 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10834
10835         * examples/gnu/classpath/examples/swing/Demo.java:
10836         (mkMenuBar): Install instantiable basic look and feel.
10837         (InstantiableBasicLookAndFeel): New inner class.
10838
10839 2006-07-25  Roman Kennke  <kennke@aicas.com>
10840
10841         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10842         (GlassPaneDispatcher.dragTarget): New field.
10843         (GlassPaneDispatcher.isDragging): New field.
10844         (GlassPaneDispatcher.pressedComponent): Removed field.
10845         (GlassPaneDispatcher.tempComponent): Removed field.
10846         (GlassPaneDispatcher.pressCount): Removed field.
10847         (GlassPaneDispatcher.mousePressed): Call
10848         borderListener.mousePressed() to activate the frame.
10849         (acquireComponentForMouseEvent): Removed method.
10850         (handleEvent): Rewritten.
10851         (redispatch): New method.
10852         (InternalFramePropertyChangeListener.propertyChange):
10853         Make glasspane invisible when frame is selected, and visible
10854         if it gets deselected.
10855         
10856 2006-07-25  Roman Kennke  <kennke@aicas.com>
10857
10858         * java/awt/LightweightDispatcher.java
10859         (handleMouseEvent): Dispatch event to real target if
10860         the dragTarget has become invisible in the meantime.
10861
10862 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10863
10864         * javax/swing/text/TabSet.java
10865         (equals): New method override for 1.5,
10866         (hashCode): Likewise,
10867         (toString): Added spaces to match reference implementation.
10868
10869 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10870
10871         * javax/management/IntrospectionException.java,
10872         * javax/management/MBeanAttributeInfo.java:
10873         New files.
10874         * javax/management/MBeanNotificationInfo.java:
10875         Documentation cleanups.
10876         
10877 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10878
10879         * javax/swing/text/TabSet.java
10880         (TabSet): Check for null argument,
10881         (getTab): Throw IllegalArgumentException for index out of bounds,
10882         (getTabIndexAfter): Changed test to '<=',
10883         and updated API docs all over,
10884         * javax/swing/text/TabStop.java: Updated API docs.
10885
10886 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10887
10888         * javax/swing/text/TabStop.java
10889         (toString): Don't use 'left ' prefix, and added space between tab
10890         location and '(w/leader)' suffix.
10891
10892 2006-07-24  Francis Kung  <fkung@redhat.com>
10893
10894         * javax/swing/JComboBox.java
10895         (DefaultKeySelectionManager): Implemented.
10896         (createDefaultKeySelectionManager): Implemented.
10897         (getKeySelectionManager): Implemented.
10898         (processKeyEvent): Removed duplicate code.
10899         * javax/swing/JPopupMenu.java
10900         (selectionModel): Changed visibility.
10901         * javax/swing/plaf/basic/BasicComboBoxUI.java
10902         (KeyHandler.keyPressed): Added navigation keys.
10903         (configureEditor): Add key listener.
10904         (installListeners): Install focus listener to combo box.
10905         (isNavigationKey): Added enter, escape, and tab.
10906         (selectPreviousPossibleValue): Added out of bounds check.
10907         (unconfigureEditor): Remove key listener.
10908         * javax/swing/plaf/metal/MetalComboBoxButton.java
10909         (paintComponent): Highlight combo box when in focus.
10910
10911 2006-07-24  Roman Kennke  <kennke@aicas.com>
10912
10913         * javax/swing/SwingUtilities.java
10914         (isLeftMouseButton): Fixed condition.
10915         * java/awt/LightweightDispatcher.java
10916         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10917         is dragged.
10918
10919 2006-07-24  Roman Kennke  <kennke@aicas.com>
10920
10921         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10922         (setPaint): Fixed scaleX and scaleY.
10923
10924 2006-07-24  Roman Kennke  <kennke@aicas.com>
10925
10926         * javax/swing/JTable.java
10927         (handleInsert): Repaint the whole table for variable row
10928         height tables and an optimized region otherwise.
10929         (handleDelete): Likewise.
10930         (handleUpdate): Likewise.
10931
10932 2006-07-24  Mario Torre  <neugens@limasoftware.net>
10933
10934         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10935         now explicity registerListeners on GtkMouseDragGestureRecognizer
10936         instance.
10937         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10938         (unregisterListeners): new method, overrided from base class
10939         to rise visibility (from protected to public).
10940         (registerListeners): Likewise.
10941         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10942         removed call to registerListeners from the constructor.
10943
10944 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10945
10946         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10947         * java/lang/management/MemoryPoolMXBean.java:
10948         (getType()): Changed return type to MemoryType.
10949         * java/lang/management/MemoryType.java:
10950         New file.
10951
10952 2006-07-23  Mark Wielaard  <mark@klomp.org>
10953
10954         * configure.ac: Check for moc and moc-qt4.
10955
10956 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
10957
10958         * java/awt/image/Kernel.java: API doc updates.
10959
10960 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
10961
10962         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10963         bit more.
10964
10965 2006-07-22  Mark Wielaard  <mark@klomp.org>
10966
10967         * java/lang/Iterable.java: Import all of java.util.
10968         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10969         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10970
10971 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10972
10973         * doc/vmintegration.texinfo:
10974         Document getType(String).
10975         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10976         * java/lang/management/MemoryPoolMXBean.java:
10977         (getType()): Implemented.
10978         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
10979         (getType(String)): Implemented.
10980         
10981 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10982
10983         * doc/vmintegration.texinfo:
10984         Move end of itemization block.
10985
10986 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
10987
10988         * javax/swing/plaf/metal/MetalLookAndFeel.java:
10989         (initComponentDefaults): Added new properties, added comments.
10990         
10991 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10992
10993         * doc/vmintegration.texinfo:
10994         Mention callback methods.
10995         * gnu/java/lang/management/MemoryMXBeanImpl.java:
10996         (fireNotification(String,String,long,long,long,long,long)):
10997         Made package-private.
10998         (fireThresholdExceededNotification(String,long,long,long,
10999         long,long)): Likewise.
11000         (fireCollectionThresholdExceededNotification(String,long,
11001         long,long,long,long)): Likewise.
11002         * java/lang/management/MemoryMXBean.java:
11003         Document notifications.
11004
11005 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11006
11007         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11008         (fireNotification(String,String,long,long,long,long,long)):
11009         Implemented.
11010         (fireThresholdExceededNotification(String,long,long,long,
11011         long,long)): Likewise.
11012         (fireCollectionThresholdExceededNotification(String,long,
11013         long,long,long,long)): Likewise.
11014         * java/lang/management/MemoryNotificationInfo.java:
11015         Use composite type from MemoryMXBeanImpl.
11016         * javax/management/openmbean/CompositeData.java:
11017         Correct documentation.
11018         * javax/management/openmbean/CompositeDataSupport.java,
11019         * javax/management/openmbean/InvalidKeyException.java:
11020         New files.
11021
11022 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11023
11024         * gnu/java/security/util/IntegerUtil.java: New file.
11025
11026 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11027
11028         PR Classpath/28100
11029         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11030         (KEY_SIZE): Likewise.
11031         (adjustParity(int,byte[],int): New method.
11032         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11033         (isParityAdjusted(int,byte[],int)): New method.
11034         (isParityAdjusted): Call above method with 3 as 1st argument.
11035         (keySizes): Add 8 and 16 as other valid key sizes.
11036         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11037
11038 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11039
11040         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11041         code for the pixel swap routine to be more efficient.
11042
11043 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11044
11045         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11046         (lastIndexOf(E, int)): Likewise.
11047         (add(E)): Increase the size of newData array by one.
11048         (add(int, E)): Likewise.
11049
11050 2006-07-20  Lillian Angel  <langel@redhat.com>
11051
11052         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11053         Removed unused fields.
11054         (GtkMouseDragGestureRecognizer): Removed initializations.
11055
11056 2006-07-20  Lillian Angel  <langel@redhat.com>
11057
11058         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11059         (GtkMouseDragGestureRecognizer): New constructor.
11060         (GtkMouseDragGestureRecognizer): New constructor.
11061         (GtkMouseDragGestureRecognizer): New constructor.
11062         (mouseClicked): Removed FIXME.
11063         (mousePressed): Implemented.
11064         (mouseReleased): Implemented.
11065         (mouseEntered): Implemented.
11066         (mouseDragged): Implemented to check mouse point and trigger origin.
11067         (mouseMoved): Removed FIXME.
11068         (getDropActionFromEvent): New helper function used to convert mouse event
11069         modifiers to a drop action.
11070         * java/awt/dnd/DragSource.java
11071         (getDragThreshold): Changed to return some arbitrary value for testing
11072         purposes.
11073
11074 2006-07-20  Roman Kennke  <kennke@aicas.com>
11075
11076         * java/awt/LightweightDispatcher.java
11077         (findTarget): Also consider components that have their eventMask
11078         set, for compatibility with stonage AWT. Optimized check
11079         for MouseListener.
11080         (handleMouseEvent): Likewise.
11081
11082 2006-07-20  Roman Kennke  <kennke@aicas.com>
11083
11084         * javax/swing/JTable.java
11085         (tableChanged): Split out handling of the event into multiple
11086         subroutines.
11087         (handleCompleteChange): New method. Clear the selection and
11088         check the lead/anchor indices.
11089         (handleInsert): New method. Check the lead/anchor indices.
11090         Optimized repainting.
11091         (handleDelete): New method. Check the lead/anchor indices.
11092         Optimized repainting.
11093         (handleUpdate): New method. Optimized repainting.
11094         (checkSelection): New helper method.
11095         (setSelectionModel): Update lead/anchor indices.
11096
11097 2006-07-20  Lillian Angel  <langel@redhat.com>
11098
11099         PR 28440
11100         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11101         (dispose): Reset all fields.
11102
11103 2006-07-20  Roman Kennke  <kennke@aicas.com>
11104
11105         * gnu/java/awt/peer/x/XToolkit.java
11106         (createImage(InputStream)): Only copy image to Pixmap if
11107         it's actually opaque. Transparent images are left as
11108         BufferedImage and composited later onto the screen.
11109         * gnu/java/awt/peer/x/XGraphics.java
11110         (XGraphics): Fetch some parameters for image rendering.
11111         (drawImage): Added special handling of transparent images.
11112         (getRGB): New helper method.
11113         (setRGB): New helper method.
11114
11115 2006-07-20  Roman Kennke  <kennke@aicas.com>
11116
11117         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11118         ImageInputStreams as normal InputStreams.
11119         * gnu/javax/imageio/gif/GIFStream.java:
11120         Moved to gnu/javax/imageio/IIOInputStream.java.
11121         * gnu/javax/imageio/gif/GIFImageReader.java
11122         (readImage): Use IIOInputStream.
11123         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11124         (canDecodeInput): Use IIOInputStream.
11125         * gnu/javax/imageio/png/PNGException.java: Make subclass
11126         of IOException.
11127         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11128         Implements the ImageIO ImageReader for PNG.
11129         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11130         Implements the ImageIO ImageReaderSpi for PNG.
11131         * javax/imageio/spi/IIORegistry.java:
11132         (IIORegistry): Add PNGImageReaderSpi.
11133
11134 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11135
11136         * java/awt/image/ComponentSampleModel.java
11137         (getPixel): Added argument check,
11138         (getSample): Modified exception message.
11139
11140 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11141
11142         PR Classpath/28422
11143         * java/awt/image/ConvolveOp.java
11144         (filter(Raster, WritableRaster)): Reimplemented,
11145         (fillEdge): New private method.
11146
11147 2006-07-19  Keith Seitz  <keiths@redhat.com>
11148
11149         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11150         (JVMTI_VERSION): Define.
11151
11152 2006-07-19  Roman Kennke  <kennke@aicas.com>
11153
11154         * resource/gnu/regexp/MessagesBundle.properties,
11155         * resource/gnu/regexp/MessagesBundle_fr.properties,
11156         * resource/gnu/regexp/MessagesBundle_it.properties:
11157         Moved to resource/gnu/java/util/regex.
11158         * resource/gnu/java/util/regex/MessagesBundle.properties,
11159         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11160         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11161         New files.
11162         * gnu/java/util/regex/RE.java
11163         Use new resource bundle location.
11164
11165 2006-07-19  Roman Kennke  <kennke@aicas.com>
11166
11167         * javax/swing/JComponent.java
11168         (paintChildren): Refactored. The paintChildrenOptimized method
11169         has been moved back in here. Added locking of the tree and
11170         only check for completely obscured child components
11171         when not optimized drawing enabled. Use Graphics.create() to
11172         protect from irreversible changes.
11173         (isCompletelyObscured): New helper method.
11174         (paintComponent): Also use Graphics.create() for Graphics2D,
11175         to protect from irreverible changes.
11176         (clipAndTranslateGraphics): Refactored to use more efficient
11177         iterative (vs recursive) approach.
11178         * javax/swing/RepaintManager.java
11179         (getOffscreenBuffer): Create image from root component.
11180         
11181 2006-07-19  Roman Kennke  <kennke@aicas.com>
11182
11183         * gnu/java/awt/peer/x/XGraphics.java
11184         (translate): Don't set the clip on the X server.
11185         (clipRect): Use setXClip() to set the clip on the X server.
11186         (hitClip): More efficient and correct implementation.
11187         (setClip): Use setXClip() to set the clip on the X server.
11188         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11189         (copyArea): Translate and clip the source rectangle correctly.
11190         (dispose): Only flush when object is not yet disposed.
11191         (clone): Use setXClip() to set the clip on the X server.
11192
11193 2006-07-19  Sven de Marothy  <sven@physto.se>
11194
11195         * gnu/javax/imageio/png/PNGChunk.java,
11196         * gnu/javax/imageio/png/PNGData.java,
11197         * gnu/javax/imageio/png/PNGDecoder.java,
11198         * gnu/javax/imageio/png/PNGEncoder.java,
11199         * gnu/javax/imageio/png/PNGException.java,
11200         * gnu/javax/imageio/png/PNGFile.java,
11201         * gnu/javax/imageio/png/PNGFilter.java,
11202         * gnu/javax/imageio/png/PNGGamma.java,
11203         * gnu/javax/imageio/png/PNGHeader.java,
11204         * gnu/javax/imageio/png/PNGICCProfile.java,
11205         * gnu/javax/imageio/png/PNGPalette.java,
11206         * gnu/javax/imageio/png/PNGPhys.java,
11207         * gnu/javax/imageio/png/PNGTime.java:
11208         New files.
11209
11210 2006-07-19  Sven de Marothy  <sven@physto.se>
11211
11212         * java/net/Inet6Address.java:
11213         (getScopedId, getScopedInterface): New methods.
11214         
11215 2006-07-19  Lillian Angel  <langel@redhat.com>
11216
11217         * examples/gnu/classpath/examples/awt/Demo.java
11218         (DragDropWindow): Fixed typo in Label text.
11219         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11220         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11221         (startDrag): Initialized context field.
11222         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11223         function.
11224         (dragEnter): New function.
11225         (dragExit): Likewise.
11226         (dragDropEnd): Likewise.
11227         (dragMouseMoved): Likewise.
11228         (dragOver): Likewise.
11229         (dragActionChanged): Likewise.
11230
11231 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11232
11233         PR Classpath/26302
11234         * resource/java/security/classpath.security: Updated copyright year.
11235         (auth.login.defaultCallbackHandler): New property; set to our default
11236         callback handler. This is needed by the LoginContext when no callback
11237         handler was specified.
11238         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11239         (LoginContext(4)): Assign passed parameters to local fields before invoking
11240         lookup method.
11241
11242 2006-07-19  Roman Kennke  <kennke@aicas.com>
11243
11244         * gnu/java/awt/peer/x/XGraphics.java
11245         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11246         Fixed ordering of parameters.
11247
11248 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11249
11250         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11251         (MemoryMXBeanImpl()): Implemented.
11252         (ListenerData): New private class.
11253         (addNotificationListener(NotificationListener,
11254         NotificationFilter, Object)): Implemented.
11255         (getNotificationInfo()): Likewise.
11256         (removeNotificationListener(NotificationListener)):
11257         Likewise.
11258         (removeNotificationListener(NotificationListener,
11259         NotificationFilter, Object)): Likewise.
11260         
11261 2006-07-18  Roman Kennke  <kennke@aicas.com>
11262
11263         * gnu/java/awt/peer/x/XFontPeer.java
11264         (encodeFont): Be more flexible with font sizes.
11265         (validSize): New helper method.
11266         * gnu/java/awt/peer/x/XGraphics.java
11267         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11268         Implemented.
11269         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11270         Implemented.
11271         * gnu/java/awt/peer/x/XImage.java
11272         (properties): New field.
11273         (getProperty): Implemented.
11274         * resource/gnu/java/awt/peer/x/fonts.properties:
11275         Added copyright header. Fixed font size field.
11276
11277 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11278
11279         * java/awt/image/BandedSampleModel.java
11280         (createDataBuffer): New method override,
11281         * java/awt/image/ByteLookupTable.java
11282         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11283         (ByteLookuptable(int, byte[])): Check for null array,
11284         * java/awt/image/ComponentSampleModel.java
11285         (createDataBuffer): Removed unnecessary braces,
11286         (getSample): Check (x, y) is within bounds,
11287         * java/awt/image/ShortLookupTable.java
11288         (ShortLookupTable(int, short[][])): Create new array to hold references,
11289         (ShortLookupTable(int, short[])): Check for null array,
11290         (getTable): Added API docs,
11291         (lookupPixel): Source reformatting.
11292
11293 2006-07-18  Tania Bento  <tbento@redhat.com>
11294         
11295         * java/awt/GridLayout.java
11296         (setHgap): Illegal Argument Exception should not be thrown if 
11297         hgap < 0.
11298         (setVgap): Illegal Argument Exception should not be thrown if 
11299         vgap < 0.
11300         (toString): Opening square braket ([) should appear before hgap
11301         value, not the name of the class.
11302
11303 2006-07-18  Roman Kennke  <kennke@aicas.com>
11304
11305         * lib/copy-vmresources.sh.in: Reverted.
11306         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11307         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11308
11309 2006-07-18  Roman Kennke  <kennke@aicas.com>
11310
11311         * lib/copy-vmresources.sh.in: Include properties from X peers.
11312
11313 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11314
11315         PR Classpath/27205
11316         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11317         certificate validity.
11318         (getIssuerName): New method.
11319         (getSubjectName): Likewise.
11320         (getNotAfterDate): Likewise.
11321         (getNotBeforeDate): Likewise.
11322         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11323         messages for newly added messages in SFHelper.
11324
11325 2006-07-18  Roman Kennke  <kennke@aicas.com>
11326
11327         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11328         * gnu/java/awt/peer/x/XEventPump.java
11329         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11330         * gnu/java/awt/peer/x/XFramePeer.java
11331         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11332         * gnu/java/awt/peer/x/XGraphics.java
11333         Made subclass of Graphics rather than Graphics2D. Removed
11334         all Graphics2D specific method stubs.
11335         (setColor): Map colors using the X color map that is
11336         stored in XToolkit.
11337         * gnu/java/awt/peer/x/XToolkit.java
11338         (colorMap): New field.
11339         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11340         instance.
11341         (createDialog): Implemented.
11342         (createImage(ImageProducer)): Implemented.
11343         (createImage(InputStream)): Use createImage(ImageProducer)
11344         to convert the BufferedImage to an XImage.
11345         * gnu/java/awt/peer/x/XWindowPeer.java
11346         (XWindowPeer): Removed debug output.
11347
11348 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11349
11350         * java/awt/image/BufferedImageOp.java: API docs added,
11351         * java/awt/image/RasterOp.java: Likewise.
11352
11353 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11354
11355         * java/awt/Graphics2D.java: API docs updated.
11356
11357 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11358
11359         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11360         source code.
11361
11362 2006-07-18  Sven de Marothy  <sven@physto.se>
11363
11364         * java/net/Inet6Address.java:
11365         Add 1.5 serialized fields.
11366         (getByAddress): New methods.
11367         (readObject, writeObject): New methods. 
11368         (equals): Reimplement.
11369
11370 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11371
11372         * java/awt/image/Raster.java: Added API docs and reformatted source
11373         code.
11374
11375 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11376
11377         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11378         imports.
11379         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11380         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11381         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11382         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11383         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11384         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11385         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11386         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11387         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11388         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11389         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11390         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11391         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11392         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11393         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11394         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11395         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11396         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11397         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11398         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11399         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11400
11401 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11402
11403         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11404         to make it compile again under jikes. Note added.
11405
11406 2006-07-17  Lillian Angel  <langel@redhat.com>
11407
11408         * examples/gnu/classpath/examples/awt/Demo.java
11409         (Demo): Added new window for DnD demo.
11410         (DragDropWindow): New class.
11411         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11412         Added new fields and declarations for native functions.
11413         (GtkDragSourceContextPeer): Implemented.
11414         (getComponentPeer): New function.
11415         (startDrag): Partially implemented.
11416         (getCursor): Implemented.
11417         (setCursor): Implemented.
11418         * include/GtkDragSourceContextPeer.h: New file.
11419         * include/Makefile.am: Added new header file.
11420         * java/awt/Component.java
11421         (addNotify): Added call to the dropTarget's addNotify.
11422         * java/awt/dnd/DragSource.java
11423         (startDrag): Fixed code to use shared instances of peer and
11424         context.
11425         (getDragThreshold): Added stub.
11426         * java/awt/dnd/DropTarget.java
11427         (DropTarget): Implemented fully.
11428         (addNotify): Added code to get the peer of the parent that is
11429         not lightweight.
11430         * java/awt/dnd/DropTargetDragEvent.java
11431         (getTransferable): Added stub.
11432         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11433         * native/jni/gtk-peer/Makefile.am: Added new c file.
11434         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11435         Changed to extend GtkGenericPeer.
11436         (GtkDropTargetContextPeer): New constructor.
11437         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11438         Changed to extend GtkGenericPeer.
11439         (GtkDropTargetContextPeer): New constructor.
11440
11441 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11442
11443         * java/awt/image/SinglePixelPackedSampleModel.java
11444         (createSubsetSampleModel): Added argument check and API docs.
11445
11446 2006-07-17  Roman Kennke  <kennke@aicas.com>
11447
11448         * gnu/java/awt/peer/x/XGraphics.java
11449         (copyArea): Implemented.
11450
11451 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11452
11453         * java/awt/image/SinglePixelPackedSampleModel.java
11454         (getSampleSize): Return copy of array,
11455         (getOffset): Added API docs,
11456         (getScanlineStride): Likewise,
11457         (hashCode): Implemented.
11458
11459 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11460
11461         * java/awt/image/MultiPixelPackedSampleModel.java
11462         (getOffset): Updated API docs and source reformatting,
11463         (getBitOffset): Source reformatting only,
11464         (getDataElements): Likewise,
11465         (getPixel): Likewise,
11466         (getPixels): Removed method override,
11467         (setDataElements): Reimplemented.
11468
11469 2006-07-17  Gary Benson  <gbenson@redhat.com>
11470
11471         * resource/META-INF/services/.cvsignore: New file.
11472         * lib/.cvsignore: Updated.      
11473
11474 2006-07-17  Roman Kennke  <kennke@aicas.com>
11475
11476         * javax/swing/plaf/basic/BasicButtonListener.java
11477         (propertyChange): Only do the text layout caching as long
11478         as the noGraphics2D property isn't set.
11479         * javax/swing/plaf/basic/BasicMenuItemUI.java
11480         (PropertyChangeHandler.propertyChange): Only do the text layout
11481         caching as long as the noGraphics2D property isn't set.
11482
11483 2006-07-17  Roman Kennke  <kennke@aicas.com>
11484
11485         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11486         (XGraphicsEnvironment): Make constructor public so that it
11487         can be called via Class.forName().newInstance().
11488         * gnu/java/awt/peer/x/XImage.java
11489         (XImage): Fetch GraphicsEnvironment via
11490         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11491         than the XToolkit method, to avoid double instantiation
11492         of the XGraphicsEnvironment.
11493         * gnu/java/awt/peer/x/XToolkit.java
11494         (env): Removed field.
11495         (getLocalGraphicsEnvironment): Removed impl. This method
11496         should not be called since we set the graphicsenv property
11497         in the constructor.
11498
11499 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11500
11501         * java/util/UUID.java:
11502         (compareTo(Object)): Call compareTo(UUID).
11503         (compareTo(UUID)): Implemented.
11504         
11505 2006-07-16  Tom Tromey  <tromey@redhat.com>
11506
11507         * java/lang/StrictMath.java (cbrt): Added '@since'.
11508
11509 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11510
11511         * java/lang/StrictMath.java (cbrt): New method.
11512         (getLowDWord): New helper method.
11513         (getHighDWord): Likewise.
11514         (buildDouble): Likewise.
11515         (CBRT_B1): New field.
11516         (CBRT_B2): Likewise.
11517         (CBRT_C): Likewise.
11518         (CBRT_D): Likewise.
11519         (CBRT_E): Likewise.
11520         (CBRT_F): Likewise.
11521         (CBRT_G): Likewise.
11522
11523 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11524
11525         * javax/management/MBeanInfo.java:
11526         (getNotifications()): Implemented.
11527         * javax/management/NotificationBroadcaster.java:
11528         (removeNotificationListener(NotificationListener)):
11529         Renamed from removeListener.
11530         * javax/management/NotificationEmitter.java:
11531         (removeNotificationListener(NotificationListener,
11532         NotificationFilter, Object)): Likewise.
11533         * javax/management/NotificationFilter.java:
11534         Implement Serializable.
11535         * javax/management/NotificationListener.java:
11536         Implement java.util.EventListener.
11537         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11538         Implement Serializable.
11539
11540 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11541
11542         * java/lang/management/MemoryNotificationInfo.java:
11543         New file.
11544         
11545 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11546
11547         PR 28392
11548         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11549         (tagIsValidForContext): If it is not possible to insert any tag, but 
11550         is possible to insert a P, insert a P.
11551         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11552         (newInstance): Removed print statement. (getBodyElements):
11553         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11554         valid body level tags (will be enclosed into P's).
11555
11556 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11557
11558         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11559         Condition the creation of .keystore (a default keystore) based on the
11560         createIfNotFound argument as well.
11561
11562 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11563
11564         PR 28392
11565         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11566         Removed heading p tag from the parsing example.
11567         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11568         (createHtmlContentModel): Explained.
11569         (defineElements): Call getBodyElements to get the body
11570         elements. (getBodyElements): New method. (model):
11571         Made protected from private.
11572         * gnu/javax/swing/text/html/parser/htmlValidator.java
11573         (openTag): Mind that current content model may be null.
11574         (tagIsValidForContext): If the tag is PCDATA, and it is not
11575         valid for context, but the paragraph (P) is valid for context,
11576         suggest to insert the P tag here.
11577         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11578         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11579         implied P tags here.
11580         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11581         Get the custom parser, using HTML_401Swing.java DTD.
11582         * javax/swing/text/html/parser/ParserDelegator.java:
11583         Removed the obsolete note that HTMLEditorKit does not exist.
11584         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11585         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11586
11587 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11588
11589         * javax/management/ListenerNotFoundException.java:
11590         New file.
11591         * javax/management/MBeanFeatureInfo.java:
11592         (hashCode()): Use summation instead of multiplication
11593         for consistency with other classes.
11594         * javax/management/MBeanNotificationInfo.java,
11595         * javax/management/Notification.java,
11596         * javax/management/NotificationBroadcaster.java,
11597         * javax/management/NotificationEmitter.java,
11598         * javax/management/NotificationFilter.java,
11599         * javax/management/NotificationListener.java:
11600         New files.
11601         * javax/management/OperationsException.java:
11602         (serialVersionUID): Added.
11603         
11604 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
11605             Mark Wielaard  <mark@klomp.org>
11606
11607         * java/io/PrintStream.java: Added four constructors, for File and
11608         String describing a filename with or without explicit encoding.
11609
11610 2006-07-16  Sven de Marothy  <sven@physto.se>
11611
11612         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11613         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11614         New files.
11615
11616 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11617
11618         PR Classpath/28391
11619         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
11620         New method.
11621         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11622         (setProviderClassNameParam): Made private.
11623         (setKeystoreTypeParam): Likewise.
11624         (setKeyPasswordParam): Likewise
11625         (setKeystorePasswordParam): Likewise.
11626         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11627         create or not the keystore if it's not there, and the second is the store's
11628         password to process before loading the keystore. Amended the code
11629         accordingly.
11630         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11631         setKeyStoreParams(5) with true as its first argument.
11632         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11633         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11634
11635 2006-07-16  Sven de Marothy  <sven@physto.se>
11636
11637         * java/util/UUID.java: New file.
11638
11639 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11640
11641         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11642         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11643         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11644         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11645         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11646         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11647         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11648         added Key Wrapping Algorithm SPIs.
11649
11650 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11651
11652         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11653         wrapping/unwrapping to invoke their engineGetOutputSize.
11654
11655 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11656
11657         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11658         (engineInit): If a SecureRandom was specified then use it.
11659         (nextRandomBytes): New method.
11660         (engineWrap): Use above method.
11661         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11662         (getDefaultPRNG): New method.
11663         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11664         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11665         New constant.
11666
11667 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11668
11669         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11670         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11671
11672 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11673
11674         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11675         offset into consideration.
11676
11677 2006-07-16  Mario Torre  <neugens@limasoftware.net>
11678
11679         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11680         Fixed comment. This functions now requires to be called
11681         with gdk lock held, the comment states that.
11682         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11683         Introduces gdk locks around critical regions of code.
11684         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11685         Likewise.
11686         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11687         Likewise.
11688         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11689         Likewise.
11690         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11691         Likewise.
11692         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11693         Likewise.
11694         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11695         Likewise.
11696         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11697         Likewise.
11698         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11699         Likewise.
11700         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11701         Likewise.
11702         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11703         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11704
11705 2006-07-15  Sven de Marothy  <sven@physto.se>
11706
11707         * javax/swing/JFileChooser.java
11708         Change default selection mode to FILES_ONLY.
11709         * javax/swing/plaf/basic/BasicDirectoryModel.java
11710         Document, fix selection mode filtering.
11711         (renameFile): Implement
11712         * javax/swing/plaf/basic/BasicFileChooserUI.java
11713         (selectedDir): New field to handle selected directories,
11714         disallow selecting of directories in FILES_ONLY mode.
11715         * javax/swing/plaf/metal/MetalFileChooserUI.java:
11716         (EditingActionListener.actionPerformed):
11717         Stop editing on all actions (e.g. return-key press)
11718
11719 2006-07-15  Mark Wielaard  <mark@klomp.org>
11720
11721         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11722         to code.
11723         (JNI Implementation): Mark JVMTI Implementation as next.
11724         (JVMTI Implementation): Mark JNI Implementation as prev.
11725
11726 2006-07-15  Mark Wielaard  <mark@klomp.org>
11727
11728         * include/Makefile.am: Remove
11729         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11730         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11731         * native/jni/gtk-peer/Makefile.am: Remove
11732         gnu_java_awt_peer_gtk_GdkTextLayout.c
11733         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11734         Removed.
11735
11736         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11737
11738 2006-07-15  Mark Wielaard  <mark@klomp.org>
11739
11740         * autogen.sh: Recognize autoconf 2.60.
11741
11742 2006-07-15  Keith Seitz  <keiths@redhat.com>
11743
11744         * NEWS: Update for JVMTI and jvmti.h.
11745         * doc/vmintegration.texinfo: Likewise.
11746         * include/jvmti.h: New file.
11747
11748 2006-07-15  Mark Wielaard  <mark@klomp.org>
11749
11750         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11751         Removed C++ style comment.
11752
11753 2006-07-15  Sven de Marothy  <sven@physto.se>
11754
11755         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11756         * java/awt/MouseInfo.java,
11757         * java/awt/PointerInfo.java,
11758         * java/awt/peer/MouseInfoPeer.java:
11759         New files.
11760
11761         * java/awt/Image.java
11762         (accelerationPriority): New field.
11763         (setAccelerationPriority, getAccelerationPriority): New methods..
11764
11765         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11766         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11767         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11768         (getMouseCoordinates): New method.
11769
11770         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11771         (updateAlwaysOnTop): Remove stub overload.
11772
11773         * gnu/java/awt/ClasspathToolkit.java,
11774         * gnu/java/awt/peer/gtk/GtkToolkit.java,
11775         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11776         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11777         (getMouseInfoPeer): New method.
11778         (getMouseNumberOfButtons): New method.
11779         
11780         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11781         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11782         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11783         (gtkWindowSetAlwaysOnTop): New method.
11784         (updateAlwaysOnTop): Implement.
11785
11786         * java/awt/Toolkit.java,
11787         (getMouseInfoPeer): New method.
11788
11789         * java/awt/Window.java
11790         (alwaysOnTop): New field.
11791         (isAlwaysOnTop, setAlwaysOnTop): New methods.
11792
11793         * java/awt/peer/WindowPeer.java: Doc fix.
11794
11795 2006-07-14  Sven de Marothy  <sven@physto.se>
11796
11797         * java/awt/font/TextLayout.java:
11798         (hitTestChar): Stub method.
11799         * java/awt/font/TextMeasurer.java:
11800         (getLayout): Throw exception on invalid argument.
11801         
11802 2006-07-14  Sven de Marothy  <sven@physto.se>
11803
11804         * java/awt/image/DataBuffer.java
11805         (DataBuffer): Call constructors in the correct order,
11806         
11807 2006-07-14  Mark Wielaard  <mark@klomp.org>
11808
11809         Revert to previous implementation.
11810         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11811         constraints insets.
11812
11813 2006-07-14  Roman Kennke  <kennke@aicas.com>
11814
11815         * gnu/java/awt/peer/x/XToolkit.java
11816         (XToolkit): Install properties to SystemProperties
11817         rather than System, to avoid SecurityManager.
11818         (getImage(String)): Return error image when string is invalid.
11819         (createImage(URL)): Moved image loading to helper method.
11820         (createImage(ImageProducer)): Implemented.
11821         (createImage(byte[],int,int)): Implemented.
11822         (createImage(InputStream)): New helper method.
11823
11824 2006-07-14  Tania Bento  <tbento@redhat.com>
11825
11826         * java/awt/FlowLayout.java
11827         (setHgap): No Excpetion should be thrown if hgap has
11828         a negative value.
11829         (setVgap): No Exception should be thrown if vgap has
11830         a negative value.
11831
11832 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11833
11834         * java/awt/image/MultiPixelPackedSampleModel.java: 
11835         Added API docs all over.
11836
11837 2006-07-14  Matt Wringe  <mwringe@redhat.com>
11838
11839         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
11840         (engineInit): Throw InvalidAlgorithmParameterException
11841         for invalid IVParameterSpec IV length.
11842
11843 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11844
11845         * java/awt/image/MultiPixelPackedSampleModel.java
11846         (createDataBuffer): Include dataBitOffset in calculating the size for
11847         the data buffer.
11848
11849 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11850
11851         * java/awt/image/MultiPixelPackedSampleModel.java
11852         (getSampleSize()): Return a copy of the array,
11853         (getTransferType()): New method override.
11854
11855 2006-07-14  Roman Kennke  <kennke@aicas.com>
11856
11857         * java/awt/CardLayout.java
11858         (show): Validate parent to make sure that the layout is
11859         valid.
11860
11861 2006-07-14  Roman Kennke  <kennke@aicas.com>
11862
11863         * java/awt/Component.java
11864         (enable): Added tree locking.
11865         (disable): Added tree locking.
11866         (show): Added tree locking.
11867         (hide): Added tree locking.
11868         (getLocationOnScreen): Added tree locking.
11869         (reshape): Added tree locking.
11870         (addHierarchyListener): Added tree locking.
11871         (removeHierarchyListener): Added tree locking.
11872         (addHierarchyBoundsListener): Added tree locking.
11873         (removeHierarchyBoundsListener): Added tree locking.
11874         (addNotify): Added tree locking.
11875         (removeNotify): Added tree locking.
11876         * java/awt/Container.java
11877         (invalidateTree): Added tree locking.
11878         (getAlignmentX): Added tree locking.
11879         (getAlignmentY): Added tree locking.
11880         (addNotify): Added tree locking.
11881         (setComponentZOrder): Added tree locking.
11882         (getComponentZOrder): Added tree locking.
11883
11884 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11885
11886         * java/awt/image/MultiPixelPackedSampleModel.java
11887         (createSubsetSampleModel): Restored argument check, but let null
11888         through.
11889
11890 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11891
11892         * java/awt/image/MultiPixelPackedSampleModel.java
11893         (createSubsetSampleModel): Removed argument check.
11894
11895 2006-07-14  Roman Kennke  <kennke@aicas.com>
11896
11897         * java/awt/Component.java
11898         (numHierarchyListeners): New field.
11899         (numHierarchyBoundsListeners): New field.
11900         (show): Fire hierarchy events here. Only fire component event
11901         if there is actually a listener for it.
11902         (hide): Fire hierarchy events here. Only fire component event
11903         if there is actually a listener for it.
11904         (reshape): Fire hierarchy events here. Only fire component event
11905         if there is actually a listener for it.
11906         (addHierarchyListeners): Update listener counters.
11907         (removeHierarchyListeners): Update listener counters.
11908         (addHierarchyBoundsListeners): Update listener counters.
11909         (removeHierarchyBoundsListeners): Update listener counters.
11910         (fireHierarchyEvent): New helper method for firing hierarchy
11911         events.
11912         * java/awt/Container.java
11913         (addImpl): Update listener counters. Fire hierarchy event.
11914         (remove): Update listener counters. Fire hierarchy event.
11915         (fireHierarchyEvent): New helper method for firing hierarchy
11916         events.
11917         (updateHierarchyListenerCount): New helper method for
11918         updating the listener counters.
11919
11920 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11921
11922         * java/awt/image/MultiPixelPackedSampleModel.java
11923         (equals): New method override,
11924         (hashCode): Likewise.
11925
11926 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11927
11928         * java/awt/image/MultiPixelPackedSampleModel.java
11929         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
11930         Corrected scanlineStride calculation.
11931
11932 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11933
11934         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11935         (AES_KWA): Likewise.
11936         (AES128_KWA): Likewise.
11937         (AES192_KWA): Likewise.
11938         (AES256_KWA): Likewise.
11939         (RIJNDAEL_KWA): Likewise.
11940         (TRIPLEDES_KWA): Likewise.
11941         (DESEDE_KWA): Likewise.
11942         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11943         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11944         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11945         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11946         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11947         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11948
11949 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11950
11951         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11952         (PADDING_BLOCK_SIZE): New constant.
11953         (init(Map attributes)): New method.
11954         * gnu/javax/crypto/pad/BasePad.java (init): New method.
11955
11956 2006-07-14  Mario Torre  <neugens@limasoftware.net>
11957
11958         * gnu/java/security/OID.java (OID): Private Constructor removed as
11959         it is not needed anymore.
11960         (clone): Fixed. Now uses super.clone instead of the private
11961         constructor as per specification of clone method.
11962         (serialVersionUID): added new field to allow serialization.
11963
11964 2006-07-13  Sven de Marothy  <sven@physto.se>
11965
11966         * gnu/javax/imageio/gif/GIFImageReader.java
11967         (read): Remove old debugging trace.
11968
11969 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
11970
11971         PR awt/28369:
11972         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11973         blue mask.
11974
11975 2006-07-13  Roman Kennke  <kennke@aicas.com>
11976
11977         * java/awt/Component.java
11978         (DEFAULT_MAX_SIZE): New static constant.
11979         (preferredSize): Return copy of the actual value computed
11980         by new helper method.
11981         (preferredSizeImpl): New helper method. Adds locking and
11982         correct handling of cached value.
11983         (minimumSize): Return copy of the actual value computed
11984         by new helper method.
11985         (minimumSizeImpl): New helper method. Adds locking and
11986         correct handling of cached value.
11987         (getMaximumSize):  Return copy of the actual value computed
11988         by new helper method.
11989         (maximumSizeImpl): New helper method. Adds locking and
11990         correct handling of cached value.
11991         (invalidate): Correct handling of cached layout information.
11992         Added locking.
11993         * java/awt/Container.java
11994         (preferredSize): Minimized locking. Corrected handling of cached
11995         values. Return copy of real value.
11996         (minimumSize): Minimized locking. Corrected handling of cached
11997         values. Return copy of real value.
11998         (getMaximumSize): Minimized locking. Corrected handling of cached
11999         values. Return copy of real value.
12000         
12001 2006-07-13  Tania Bento  <tbento@redhat.com>
12002
12003         * gnu/java/awt/peer/ClasspathFontPeer.java
12004         (isLogicalFontName): Return true if name == default.
12005         (logicalFontNameToFaceName): Check if name == default,
12006         and if so, return "Dialog.plain".
12007         (setStandardAttributes(String, Map)): If name == null, 
12008         it should be set to "Default", not "SansSerif".
12009         * java/awt/Canvas.java
12010         (generateName): Fixed documentation.
12011         * java/awt/CheckboxMenuItem.java
12012         Added static variable "next_chkmenuitem_number".
12013         (generateName): Added and implemented method.
12014         (getUniqueLong): Likewise.
12015         * java/awt/Choice.java
12016         Added static variable "next_choice_number".
12017         (generateName): Added and implemented method.
12018         (getUniqueLong): Likewise.
12019         * java/awt/Cursor.java
12020         (Cursor(int)): Set name depending on the type passed.
12021         * java/awt/List.java
12022         Added static variable "next_list_number".
12023         (generateName): Added and implemented method.
12024         (getUniqueLong): Likewise.
12025         * java/awt/Menu.java
12026         Added static variable "next_menu_number".
12027         (generateName): Added and implemented method.
12028         (getUniqueLong): Likewise.
12029         * java/awt/MenuBar.java
12030         Added static variable "next_menubar_number".
12031         (generateName): Added and implemented method.   
12032         (getUniqueLong): Likewise.
12033         * java/awt/MenuComponent.java
12034         (getName): Before returning name, check if name == null
12035         and name is not explicity set.  If this is the case,    
12036         name will be generated.
12037         (generateName): Added and implemented method.   
12038         * java/awt/MenuItem.java
12039         Added static variable "next_menuitem_number".
12040         (generateName): Added and implemented method.   
12041         (getUniqueLong): Likewise.
12042         * java/awt/PopupMenu.java
12043         Added static variable "next_popup_number".
12044         (generateName): Added and implemented method.
12045         (getUniqueLong): Likewise.
12046         * java/awt/ScrollPane.java
12047         Added static variable "next_scrollpane_number".
12048         (generateName): Added and implemented method.
12049         (getUniqueLong): Likewise.
12050         * java/awt/TextField.java
12051         Added static variable "next_textfield_number".
12052         (generateName): Added and implemented method.
12053         (getUniqueLong): Likewise.
12054
12055
12056 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12057
12058         * java/awt/image/SinglePixelPackedSampleModel.java
12059         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12060         mask correctly as an unsigned integer,
12061         (equals): New method override.
12062
12063 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12064
12065         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12066         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12067
12068 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12069
12070         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12071         code reformatting,
12072         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12073
12074 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12075
12076         * java/awt/image/BandedSampleModel.java: API doc updates.
12077
12078 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12079
12080         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12081         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12082         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12083         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12084         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12085         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12086         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12087         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12088         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12089         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12090         Implemented. (getInsertingReader): New method. 
12091         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12092         Added buttons to demonstrate the work of the insert actions.
12093
12094 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12095
12096         * java/awt/image/SampleModel.java: API doc updates and additions,
12097         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12098
12099 2006-07-12  Sven de Marothy  <sven@physto.se>
12100
12101         * javax/swing/JFileChooser.java:
12102         (createDialog): Close operation should cause a cancel.
12103
12104 2006-07-12  Francis Kung  <fkung@redhat.com>
12105
12106         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12107         (cairoArc): New native method.
12108         (cairoRestore): New native method.
12109         (cairoSave): New native method.
12110         (cairoScale): New native method.
12111         (createPath): New method to centralize code from draw and fill.
12112         (draw): Modified to use createPath method.
12113         (fill): Modified to use createPath method.
12114         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12115         function declarations.
12116         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12117         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12118         method.
12119         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12120         method.
12121         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12122         method.
12123         
12124 2006-07-12  Tom Tromey  <tromey@redhat.com>
12125
12126         PR libgcj/27271:
12127         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12128         on PartialInputStream.
12129         (PartialInputStream.dummyByteCount): New field.
12130         (PartialInputStream.fillBuffer): Handle dummy byte.
12131         (PartialInputStream.read): Likewise.
12132         (PartialInputStream.addDummyByte): New method.
12133
12134 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12135
12136         * native/jni/gconf-peer/GConfNativePeer.c
12137         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12138         Fixed C++ style comment.
12139
12140 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12141
12142         * java/util/Arrays.java
12143         (asList): Updated API docs.
12144
12145 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12146
12147         Fixes PR28350.
12148         * native/jni/gconf-peer/GConfNativePeer.c:
12149         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12150         Changed if-expression.
12151         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12152         Added check for _value not being NULL.
12153         
12154 2006-07-11  Roman Kennke  <kennke@aicas.com>
12155
12156         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12157         (read): Use fd when local sockets are disabled to make the
12158         compiler quite.
12159         (write): Likewise.
12160
12161 2006-07-11  Roman Kennke  <kennke@aicas.com>
12162
12163         * java/awt/image/MultiPixelPackedSampleModel.java
12164         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12165         division gets rounded up.
12166
12167 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12168
12169         * java/lang/management/ManageFactory.java:
12170         (getMemoryManagerMXBeans()): Use addAll, not add.
12171         
12172 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12173
12174         PR 27649:
12175         * gnu/classpath/ByteArray.java: Removed (moved).
12176         * gnu/java/security/util/ByteArray.java: New File.
12177         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12178         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12179
12180 2006-07-11  Roman Kennke  <kennke@aicas.com>
12181
12182         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12183         (available): Pass fd as argument and avoid JNI class/field
12184         lookup.
12185         (read): Likewise.
12186         (write): Likewise.
12187         * include/gnu_java_net_local_LocalSocketImpl.h:
12188         Regenerated.
12189         * gnu/java/net/local/LocalSocketImpl.h
12190         (available): Pass fd as argument and avoid JNI class/field
12191         lookup.
12192         (read): Likewise.
12193         (write): Likewise.      
12194
12195 2006-07-11  Sven de Marothy  <sven@physto.se>
12196
12197         * gnu/javax/sound/sampled/AU/AUReader.java:
12198         Correct file extension from .as to .au.
12199
12200 2006-07-11  Sven de Marothy  <sven@physto.se>
12201
12202         * gnu/javax/sound/sampled/AU/AUReader.java:
12203         New file.
12204         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12205         Added new provider.
12206
12207 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12208
12209         * javax/swing/JTable.java
12210         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12211         (setColumnSelectionAllowed): Likewise.
12212
12213 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12214
12215         PR 27649:
12216         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12217         AccessController.doPrivileged instead of SystemProperties.getProperty.
12218         * gnu/classpath/debug/SystemLogger.java: Likewise.
12219         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12220         repeated getProperty calls for "file.seperator".
12221         (refresh): Since already in privileged block, call System.getProperty
12222         instead of SystemProperties.getProperty.
12223         * gnu/java/security/key/dss/DSSKey.java
12224         (toString): Use AccessController.doPrivileged instead of
12225         SystemProperties.getProperty.
12226         * gnu/java/security/key/dss/DSSPrivateKey.java
12227         (toString): Likewise.
12228         * gnu/java/security/key/dss/DSSPublicKey.java
12229         (toString): Likewise.
12230         * gnu/java/security/key/rsa/GnuRSAKey.java
12231         (toString): Likewise.
12232         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12233         (toString): Likewise.
12234         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12235         (toString): Likewise.
12236         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12237         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12238         (toString): Likewise.
12239         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12240         (toString): Likewise.
12241         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12242         (toString): Likewise.
12243
12244 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12245
12246         * javax/swing/AbstractButton.java
12247         (disabledIcon): Fixed name (was 'disabeldIcon'),
12248         (getDisabledIcon): Updated for corrected field name,
12249         (setDisabledIcon): Fire a PropertyChangeEvent.
12250
12251 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12252
12253         * javax/swing/DefaultBoundedRangeModel.java
12254         (readObject): New private method,
12255         (writeObject): Likewise.
12256
12257 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12258
12259         * javax/swing/ButtonGroup.java
12260         (add): Ignore null argument,
12261         (remove): Ignore null argument.  If removing selected button, clear the
12262         sel field,
12263         (findButton): Changed case for method name, and documented,
12264         (setSelected): Updated for modification to findButton() method name,
12265         (isSelected): Updated API docs.
12266
12267 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12268
12269         * java/awt/image/BufferedImage.java
12270         (BufferedImage(int, int, int)): Use correct color space for 
12271         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12272         IllegalArgumentException for an unrecognised type.
12273
12274 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12275
12276         * java/lang/management/ManagementFactory.java:
12277         (getMemoryPoolMXBeans): Genericized fully.
12278         (getMemoryManagerMXBeans): Likewise.
12279         (getGarbageCollectorMXBeans): Likewise.
12280         
12281 2006-07-10  Tom Tromey  <tromey@redhat.com>
12282
12283         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12284         Genericized.
12285         (getMemoryManagerMXBeans): Likewise.
12286         (getGarbageCollectorMXBeans): Likewise.
12287
12288 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12289
12290         * java/awt/BasicStroke.java: Removed unused import.
12291         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12292         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12293         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12294
12295 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12296
12297         PR classpath/28212:
12298         * javax/crypto/spec/SecretKeySpec.java 
12299         (equals): Check object type. 
12300
12301 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12302
12303         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12304         communication/StructureToPassHelper.java,
12305         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12306         communication/StructureToReturnHelper.java,
12307         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12308         communication/TreeNodeHelper.java,
12309         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12310         communication/WeThrowThisExceptionHelper.java,
12311         gnu/CORBA/ForwardRequestHelper.java,
12312         org/omg/CORBA/CompletionStatusHelper.java,
12313         org/omg/CORBA/CurrentHelper.java,
12314         org/omg/CORBA/DefinitionKindHelper.java,
12315         org/omg/CORBA/IDLTypeHelper.java,
12316         org/omg/CORBA/NameValuePairHelper.java,
12317         org/omg/CORBA/ObjectHelper.java,
12318         org/omg/CORBA/ParameterModeHelper.java,
12319         org/omg/CORBA/PolicyErrorCodeHelper.java,
12320         org/omg/CORBA/PolicyErrorHelper.java,
12321         org/omg/CORBA/PolicyHelper.java,
12322         org/omg/CORBA/PolicyListHelper.java,
12323         org/omg/CORBA/PolicyTypeHelper.java,
12324         org/omg/CORBA/ServiceDetailHelper.java,
12325         org/omg/CORBA/ServiceInformationHelper.java,
12326         org/omg/CORBA/SetOverrideTypeHelper.java,
12327         org/omg/CORBA/StringValueHelper.java,
12328         org/omg/CORBA/UnionMemberHelper.java,
12329         org/omg/CORBA/UnknownUserExceptionHelper.java,
12330         org/omg/CORBA/VisibilityHelper.java,
12331         org/omg/CORBA/WStringValueHelper.java,
12332         org/omg/CORBA/WrongTransactionHelper.java,
12333         org/omg/CosNaming/BindingHelper.java,
12334         org/omg/CosNaming/BindingIteratorHelper.java,
12335         org/omg/CosNaming/BindingListHelper.java,
12336         org/omg/CosNaming/BindingTypeHelper.java,
12337         org/omg/CosNaming/NameComponentHelper.java,
12338         org/omg/CosNaming/NameHelper.java,
12339         org/omg/CosNaming/NamingContextExtHelper.java,
12340         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12341         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12342         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12343         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12344         org/omg/CosNaming/NamingContextHelper.java,
12345         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12346         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12347         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12348         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12349         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12350         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12351         org/omg/DynamicAny/AnySeqHelper.java,
12352         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12353         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12354         org/omg/DynamicAny/DynAnyHelper.java,
12355         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12356         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12357         org/omg/DynamicAny/DynAnySeqHelper.java,
12358         org/omg/DynamicAny/DynArrayHelper.java,
12359         org/omg/DynamicAny/DynEnumHelper.java,
12360         org/omg/DynamicAny/DynFixedHelper.java,
12361         org/omg/DynamicAny/DynSequenceHelper.java,
12362         org/omg/DynamicAny/DynStructHelper.java,
12363         org/omg/DynamicAny/DynUnionHelper.java,
12364         org/omg/DynamicAny/DynValueHelper.java,
12365         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12366         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12367         org/omg/DynamicAny/NameValuePairHelper.java,
12368         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12369         org/omg/IOP/CodecFactoryHelper.java,
12370         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12371         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12372         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12373         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12374         org/omg/IOP/ComponentIdHelper.java,
12375         org/omg/IOP/IORHelper.java,
12376         org/omg/IOP/MultipleComponentProfileHelper.java,
12377         org/omg/IOP/ProfileIdHelper.java,
12378         org/omg/IOP/ServiceContextHelper.java,
12379         org/omg/IOP/ServiceContextListHelper.java,
12380         org/omg/IOP/ServiceIdHelper.java,
12381         org/omg/IOP/TaggedComponentHelper.java,
12382         org/omg/IOP/TaggedProfileHelper.java,
12383         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12384         org/omg/PortableInterceptor/AdapterNameHelper.java,
12385         org/omg/PortableInterceptor/AdapterStateHelper.java,
12386         org/omg/PortableInterceptor/CurrentHelper.java,
12387         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12388         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12389         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12390         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12391         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12392         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12393         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12394         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12395         org/omg/PortableServer/CurrentHelper.java,
12396         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12397         org/omg/PortableServer/ForwardRequestHelper.java,
12398         org/omg/PortableServer/POAHelper.java,
12399         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12400         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12401         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12402         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12403         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12404         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12405         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12406         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12407         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12408         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12409         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12410         org/omg/PortableServer/ServantActivatorHelper.java,
12411         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12412         typecode caching and always use OrbRestricted.Singleton.
12413
12414 2006-07-09  Tom Tromey  <tromey@redhat.com>
12415
12416         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12417
12418 2006-07-09  Mark Wielaard  <mark@klomp.org>
12419
12420         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12421         New static final boolean field.
12422         (getComponentGraphics): Use hasXRenderExtension.
12423         (setClip): Override method for locking.
12424
12425 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12426
12427         * javax/swing/AbstractButton.java
12428         (setHorizontalTextPosition): Added check for illegal argument,
12429         (setVerticalTextPosition): Likewise.
12430
12431 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12432
12433         * javax/swing/Timer.java
12434         (setDelay): Throw IllegalArgumentException for negative delay,
12435         (setInitialDelay): Likewise,
12436         * javax/swing/ToolTipManager.java
12437         (setInitialDelay): Document IllegalArgumentException,
12438         (setDismissDelay): Likewise,
12439         (setReshowDelay): Likewise.
12440
12441 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12442
12443         * java/lang/management/MemoryUsage.java:
12444         (from(javax.management.openmbean.CompositeData)):
12445         Implemented.
12446         * java/lang/management/ThreadInfo.java:
12447         Changed to use open types throughout for the state.
12448         (ThreadInfo(long,String,String,long,long,String,
12449         long,String,long,long,boolean,StackTraceElement[])):
12450         New constructor.
12451         (checkAttribute(javax.management.openmbean.CompositeType,
12452         String, javax.management.openmbean.OpenType)): New method.
12453         (from(javax.management.openmbean.CompositeData)):
12454         Implemented.
12455         (getLockName()): Fixed to use new variable.
12456         (getLockOwnerId()): Likewise.
12457         (getLockOwnerName()): Likewise.
12458         (getThreadId()): Likewise.
12459         (getThreadName()): Likewise.
12460         (getThreadState()): Likewise.
12461         (toString()): Refactored to use new variables.
12462         * javax/management/openmbean/ArrayType.java:
12463         New file.
12464         * javax/management/openmbean/CompositeType.java:
12465         Variables should be transient, not volatile.
12466         * javax/management/openmbean/OpenDataException.java:
12467         (serialVersionUID): Added.
12468         * javax/management/openmbean/SimpleType.java:
12469         New file.
12470         * javax/management/openmbean/TabularType.java
12471         Variables should be transient, not volatile.
12472
12473 2006-07-09  Tom Tromey  <tromey@redhat.com>
12474
12475         * tools/.cvsignore: Updated for new tools.
12476
12477 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12478
12479         * javax/management/openmbean/CompositeData.java,
12480         * javax/management/openmbean/CompositeType.java,
12481         * javax/management/openmbean/OpenDataException.java,
12482         * javax/management/openmbean/OpenType.java,
12483         * javax/management/openmbean/TabularData.java,
12484         * javax/management/openmbean/TabularType.java,
12485         * javax/management/openmbean/package.html:
12486         New files.
12487
12488 2006-07-09  Mark Wielaard  <mark@klomp.org>
12489
12490         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12491         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12492         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12493
12494 2006-07-08  Anthony Green  <green@redhat.com>
12495
12496         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12497         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12498         New files.
12499
12500 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12501
12502         * native/jni/gconf-peer/GConfNativePeer.c:
12503         Fixed indentation to be more compliant to the GNU coding
12504         guidelines.
12505         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12506         Added explicit test for errors in the GConf backend.
12507         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12508         Added explicit test for errors in the GConf backend.
12509         Fixed Segmentation Fault when non valid key names are given as input.
12510         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12511         likewise.
12512         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12513         Added explicit test for errors in the GConf backend.
12514         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12515         Added javadoc comments for all native methods.
12516         (nodeExist): removed test to check for valid absolute path name
12517         for nodes.
12518         (startWatchingNode): likewise.
12519         (stopWatchingNode): likewise.
12520         (setString): likewise, plus fixed javadoc comments.
12521         (unset): likekwise.
12522         (getKey): likewise.
12523         (getKeys): likewise, also fixed javadoc comments.
12524         (getChildrenNodes): likewise.
12525         * gnu/java/util/prefs/GConfBasedPreferences.java:
12526         changed DEFAULT_USER_ROOT to /apps/classpath.
12527         (constructor): Test to check for a valid absolute path for nodes
12528         is now in the contructor for that node, instead of being on
12529         each method of the backend.
12530         (getGConfKey): removed empty new line.
12531
12532 2006-07-08  Mark Wielaard  <mark@klomp.org>
12533
12534         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12535
12536 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12537
12538         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12539         Handle the forced break in the same way as exceeding the
12540         available row space.
12541         * javax/swing/text/html/HRuleView.java: Rewritten.
12542         * javax/swing/text/html/HTMLDocument.java 
12543         (HTMLReader.addSpecialElement):Reserve two characters for
12544         the special elements.
12545         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12546         (text): Extended the HTML example to parse.
12547
12548 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12549
12550         * javax/swing/AbstractButton.java
12551         (setHorizontalAlignment): Check for illegal argument,
12552         (setVerticalAlignment): Likewise.
12553
12554 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12555
12556         * javax/swing/text/html/TableView.java
12557         (getStyleSheet): New method. (RowView.getStyleSheet):
12558         New method.
12559
12560 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12561
12562         * javax/swing/AbstractButton.java
12563         (setRolloverIcon): Call setRolloverEnabled(true),
12564         (setRolloverSelectedIcon): Likewise.
12565
12566 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12567
12568         * javax/swing/border/TitledBorder.java
12569         (setTitlePosition): Added message to exception,
12570         (setTitleJustification): Likewise.
12571
12572 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12573
12574         * javax/swing/plaf/metal/MetalLookAndFeel.java
12575         (createDefaultTheme): Corrected API docs,
12576         (initComponentDefaults): Added entry for 'TitledBorder.border',
12577         (getCurrentTheme): Initialise theme if it is null.
12578
12579 2006-07-07  Roman Kennke  <kennke@aicas.com>
12580
12581         * java/awt/Component.java
12582         (isValid): Return false when component has no peer,
12583         don't query the showing state.
12584
12585 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12586
12587         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12588         Advance the offset also in the case of the enforced break.
12589
12590 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12591
12592         * javax/swing/plaf/basic/BasicArrowButton.java
12593         (MAXIMUM_SIZE): Removed field,
12594         (MINIMUM_SIZE): Likewise,
12595         (PREFERRED_SIZE): Likewise,
12596         (getMaximumSize): Return new instance every time,
12597         (getMinimumSize): Likewise,
12598         (getPreferredSize): Likewise.
12599
12600 2006-07-07  Roman Kennke  <kennke@aicas.com>
12601
12602         * java/awt/LightweightDispatcher.java
12603         (findTarget):  Avoid array copying in
12604         Container.getComponents().
12605
12606 2006-07-07  Roman Kennke  <kennke@aicas.com>
12607
12608         * javax/swing/JComponent.java
12609         (paintChildrenWithOverlap): Avoid array copying in
12610         Container.getComponents().
12611         (paintChildrenOptimized): Avoid array copying in
12612         Container.getComponents().
12613         (fireAncestorEvent):  Avoid array copying in
12614         Container.getComponents().
12615         (findOverlapFreeParent): Avoid array copying in
12616         Container.getComponents().
12617
12618 2006-07-07  Matt Wringe <mwringe@redhat.com>
12619
12620         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12621         (passwordValid): New field.
12622         (setPassword): New method.
12623         (setSalt): Likewise.
12624         (setIterationCount): Likewise.
12625         (setKeyLength): Likewise.
12626         (PBEKeySpec(char[])): Use new setter methods.
12627         (PBEKeySpec(char[], byte[], int)): Likewise.
12628         (PBEKeySpec(char[], byte[], int, int)): Likewise.
12629         (clearPassword): Set passwordValid to false.
12630         (getPassword): Check that clearPassword() was not called earlier.
12631         Return a clone of the password.
12632         (getSalt): Return a clone of the salt if it was not null.
12633
12634 2006-07-07  Roman Kennke  <kennke@aicas.com>
12635
12636         * java/awt/Component.java
12637         (isValid): Always return false when component is
12638         not showing.
12639         (setFont): Always set font, even when setting
12640         the same or equal font again.
12641
12642 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12643
12644         * javax/swing/plaf/metal/MetalIconFactory.java
12645         (CheckBoxMenuItemIcon): Implement UIResource,
12646         (FileChooserDetailViewIcon): Likewise,
12647         (FileChooserHomeFolderIcon): Likewise,
12648         (FileChooserListViewIcon): Likewise,
12649         (FileChooserNewFolderIcon): Likewise,
12650         (FileChooserUpFolderIcon): Removed redundant 'implements',
12651         (RadioButtonMenuItemIcon): Implement UIResource,
12652         (HorizontalSliderThumbIcon): Likewise,
12653         (InternalFrameCloseIcon): Likewise,
12654         (InternalFrameDefaultMenuIcon): Likewise,
12655         (InternalFrameAltMaximizeIcon): Likewise,
12656         (InternalFrameMaximizeIcon): Likewise,
12657         (InternalFrameMinimizeIcon): Likewise,
12658         (VerticalSliderThumbIcon): Likewise,
12659         (TreeHardDriveIcon): Likewise,
12660         (TreeFloppyDriveIcon): Likewise,
12661         (TreeComputerIcon): Likewise,
12662         (horizontalSliderThumbIcon): New field,
12663         (verticalSliderThumbIcon): New field,
12664         (getHorizontalSliderThumbIcon): Cache icon,
12665         (getVerticalSliderThumbIcon): Likewise.
12666
12667 2006-07-06  Mark Wielaard  <mark@klomp.org>
12668
12669         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12670         (DISTCLEANFILES): Add standard.omit.
12671         (clean-local): Remove Makefile.deps, only remove dirs.
12672
12673 2006-07-06  Roman Kennke  <kennke@aicas.com>
12674
12675         * java/awt/Component.java
12676         (setFont): Only invalidate when component is valid.
12677         * java/awt/Container.java
12678         (setLayout): Only invalidate when component is valid.
12679
12680 2006-07-06  Lillian Angel  <langel@redhat.com>
12681
12682         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12683         New class not fully implemented.
12684         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12685         New class not fully implemented.
12686         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12687         New class not fully implemented.
12688         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12689         New class not fully implemented.
12690         * nu/java/awt/peer/gtk/GtkToolkit.java:
12691         Fixed Imports.
12692         (createDragSourceContextPeer): Implemented.
12693         (createDragGestureRecognizer): New function to override
12694         java.awt.Toolkit.createDragGestureRecognizer.
12695         * java/awt/dnd/DragSource.java
12696         (NoDragGestureRecognizer): Removed inner class.
12697         (createDragGestureRecognizer): Re-Implemented to 
12698         call Toolkit's createDragGestureRecognizer.
12699         (createDefaultDragGestureRecognizer): Re-Implemented to
12700         call Toolkit's createDragGestureRecognizer.
12701         * java/awt/dnd/DropTarget.java
12702         (addNotify): Added check to determine type of peer and call
12703         addDropTarget.
12704         (removeNotify): Added call to removeDropTarget.
12705
12706 2006-07-06  Tom Tromey  <tromey@redhat.com>
12707
12708         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12709         'queue'.
12710         (run): Wait on queue, not 'this'.
12711
12712 2006-07-06  Lillian Angel  <langel@redhat.com>
12713
12714         * java/awt/dnd/DragSource.java
12715         (startDrag): Implemented. Added comments describing
12716         what the function should do. Removed FIXME.
12717
12718 2006-07-06  Tania Bento  <tbento@redhat.com>
12719         
12720         * gnu/java/awt/Canvas.java
12721         Added new private variable 'next_canvas_number'.
12722         (generateName): Added.
12723         (getUniqueLong): Added.
12724
12725 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12726
12727         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12728         (getColor): Made public.
12729         * javax/swing/text/html/StyleSheet.java (stringToColor):
12730         Use CharacterAttributeTranslator.getColor(String)
12731
12732 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12733
12734         * javax/swing/text/html/HTMLEditorKit.java:
12735         (HTMLFactory.createElement): Update reference to the html table view.
12736         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12737         * javax/swing/text/html/TableView.java: New file.
12738
12739 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12740
12741         * javax/swing/text/html/HTMLEditorKit.java: 
12742         (HTMLFactory.createElement): Uncomment
12743         code for BRView and HRuleView.
12744         * javax/swing/text/html/BRView.java,
12745         javax/swing/text/html/HRuleView.java: New files.
12746
12747 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12748
12749         * java/lang/Thread.java:
12750         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12751         Added generic type signature.
12752
12753 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12754
12755         * NEWS: Updated.
12756         * doc/vmintegration.texinfo: Likewise.
12757         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12758         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12759         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12760         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12761         * java/lang/management/GarbageCollectorMXBean.java:
12762         New files.
12763         * java/lang/management/ManagementFactory.java:
12764         (getGarbageCollectorMXBeans()): Implemented.
12765         (getMemoryManagerMXBeans()): Likewise.
12766         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12767         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12768         New files.
12769         * vm/reference/java/lang/management/VMManagementFactory.java:
12770         (getMemoryManagerNames()): Added.
12771         (getGarbageCollectorNames()): Added.
12772         
12773 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12774
12775         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12776         from lib_LTLIBRARIES.
12777         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12778
12779 2006-07-05  Lillian Angel  <langel@redhat.com>
12780
12781         * java/awt/dnd/DragGestureEvent.java:
12782         Added new fields.
12783         (DragGestureEvent): Initialized new fields, added to check and 
12784         added documentation.
12785         (getSourceAsDragGestureRecognizer): Added documentation and 
12786         changed to use getSource.
12787         (getComponent): Added documentation and fixed to return the proper
12788         value.
12789         (getDragSource): Likewise.
12790         (getDragOrigin): Added documentation.
12791         (iterator): Implemented and added documentation.
12792         (toArray): Likewise.
12793         (toArray): Likewise.
12794         (getDragAction): Likewise.
12795         (getTriggerEvent): Likewise.
12796         (startDrag): Likewise.
12797         * java/awt/dnd/DragGestureRecognizer.java
12798         (resetRecognizer): Added FIXME.
12799         * java/awt/dnd/DragSource.java:
12800         Added new field.
12801         (DragSource): Set ds to be null if headless.
12802         (getDefaultDragSource): Added documentation and implemented.
12803         (isDragImageSupported): Marked as unimplemented.
12804         (startDrag): Likewise.
12805         (createDragSourceContext): Implemented.
12806         (NoDragGestureRecognizer): Formatted inner class.
12807         * java/awt/dnd/DropTarget.java
12808         (stop): Marked as unimplemented.
12809         (actionPerformed): Likewise.
12810         (addDropTargetListener): Added code to throw exception.
12811         (removeDropTargetListener): Added check, removed FIXME.
12812         (dragEnter): Implemented.
12813         (dragOver): Implemented.
12814         (dropActionChanged): Implemented.
12815         (dragExit): Implemented.
12816         (drop): Implemented.
12817         (addNotify): Implemented.
12818         (removeNotify): Implemented.
12819         (createDropTargetContext): Implemented.
12820         (createDropTargetAutoScroller): Implemented.
12821         (initializeAutoscrolling): Implemented.
12822         (updateAutoscroll): Implemented.
12823         (clearAutoscroll): Implemented.
12824         * java/awt/dnd/DropTargetContext.java
12825         (dropComplete): Implemented.
12826         (acceptDrag): Implemented.
12827         (rejectDrag): Implemented.
12828         (acceptDrop): Implemented.
12829         (rejectDrop): Implemented.
12830         (getCurrentDataFlavors): Implemented.
12831         (getTransferable): Partially implemented.
12832         * java/awt/dnd/DropTargetDragEvent.java
12833         (getDropAction): Uncommented correct code.
12834         * java/awt/dnd/DropTargetDropEvent.java
12835         (dropComplete) :Implemented.
12836         * java/awt/dnd/InvalidDnDOperationException.java
12837         (InvalidDnDOperationException): Added call to super.
12838
12839 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
12840
12841         * javax/swing/plaf/basic/BasicArrowButton.java:
12842         (paint): Removed getBounds() call, changed center point
12843         calculation.
12844
12845 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12846
12847         * javax/swing/InputMap.java
12848         (inputMap): Don't initialize yet,
12849         (InputMap): Removed TODO,
12850         (get): Check for null inputMap,
12851         (put): Return immediately for null keyStroke, check for null inputMap
12852         and initialize if necessary,
12853         (remove): Check for null inputMap,
12854         (size): Likewise,
12855         (clear): Likewise,
12856         (keys): Likewise,
12857         (allKeys): Likewise,
12858         (writeObject): Removed,
12859         (readObject): Removed.
12860
12861 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12862
12863         * gnu/classpath/examples/swing/TabbedPaneDemo.java
12864         (createContent): Use different labels for buttons.
12865
12866 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12867
12868         * NEWS: Updated.
12869         * doc/vmintegration.texinfo: Likewise.
12870         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12871         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12872         New files.
12873         * java/lang/management/ManagementFactory.java:
12874         (getMemoryPoolMXBeans()): Implemented.
12875         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12876         * vm/reference/java/lang/management/VMManagementFactory.java:
12877         New files.
12878         
12879 2006-07-04  Lillian Angel  <langel@redhat.com>
12880
12881         * java/awt/dnd/DragSourceContext.java:
12882         Removed FIXMEs from fields.
12883         (DragSourceContext): Added code to initialize cursor and sourceActions.
12884         (getDragSource): Added documentation.
12885         (getComponent): Likewise.
12886         (getTrigger): Likewise.
12887         (getSourceActions): Added documentation and implemented.
12888         (setCursor): Implemented. Added documentation.
12889         (getCursor): Implemented. Added documentation.
12890         (dragEnter): Added code to notify DragSource's listeners.
12891         (dragOver): Likewise.
12892         (dragExit): Likewise.
12893         (dropActionChanged): Likewise.
12894         (dragDropEnd): Likewise.
12895         (dragMouseMoved): Implemented.
12896         (getTransferable): Added API documentation.
12897         (updateCurrentCursor): Added API documentation and partially implemented.
12898
12899 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12900
12901         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12902
12903 2006-07-04  Lillian Angel  <langel@redhat.com>
12904
12905         * java/awt/dnd/DragSourceContext.java
12906         (DragSourceContext): Implemented fully. Fixed API docs.
12907         (transferablesFlavorsChanged): Implemented.
12908         (dragEnter): Implemented.
12909         (dragOver): Implemented.
12910         (dragExit): Implemented.
12911         (dropActionChanged): Implemented.
12912         (dragDropEnd): Implemented.
12913
12914 2006-07-04  Lillian Angel  <langel@redhat.com>
12915
12916         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12917         Fixed name of constant.
12918         (getIconWidth): Changed name of constant returned.
12919         (getIconHeight): Likewise.
12920         (paint): Likewise.
12921         (createSeparator): Marked as unimplemented.
12922         * javax/swing/plaf/basic/BasicTableUI.java
12923         (focusGained): Marked as unimplemented.
12924         (focusLost): Marked as unimplemented.
12925         (mouseEntered): Likewise.
12926         (mouseMoved): Likewise.
12927         (uninstallDefaults): Likewise.
12928         * javax/swing/plaf/basic/BasicToolBarUI.java
12929         (mouseClicked): Changed comment.
12930         (mouseEntered): Likewise.
12931         (mouseExited): Likewise.
12932         (mouseMoved): Likewise.
12933         (setOrientation): Implemented.
12934         (ToolBarFocusListener): Marked as unimplemented.
12935         (focusGained): Marked as unimplemented.
12936         (focusLost): Marked as unimplemented.
12937
12938 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12939
12940         PR 28061
12941         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12942         Mind the effect of the root visibility on the position of the control.
12943         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
12944         vertical line over first level nodes.
12945
12946 2006-07-04  Lillian Angel  <langel@redhat.com>
12947
12948         * javax/swing/plaf/basic/BasicMenuUI.java
12949         (installKeyboardActions): Implemented to call super. Nothing else
12950         needs to be done here.
12951         (setupPostTimer): Marked as unimplemented.
12952         (uninstallKeyboardActions): Implemented to call super. Nothing else
12953         needs to be done here.
12954         (mouseMoved): Removed TODO. Nothing to be done here.
12955         (ChangeHandler): Implemented.
12956         (menuDragMouseExited): Removed TODO. Nothing to be done here.
12957         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12958         (menuKeyReleased): Removed TODO. Nothing to be done here.
12959         (menuKeyTyped): Marked as unimplemented.
12960
12961 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12962
12963         PR 28061
12964         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12965         (getDefaults): Set hash color to black.
12966         * javax/swing/plaf/basic/BasicLookAndFeel.java
12967         (initComponentDefaults): Set hash color to grey blue.
12968         * javax/swing/plaf/basic/BasicTreeUI.java
12969         (instellDefaults): Set hash color.
12970         * javax/swing/plaf/metal/MetalIconFactory.java
12971         (TreeControlIcon.paint): Rewritten.
12972
12973 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12974
12975         PR 28061
12976         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12977         Always cancel the current editing session before doing anything else,
12978         return immediately if this fails.
12979         (TreeHomeAction): Ensure that the lead selection path is visible after
12980         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
12981         Likewise. TreeTraverseAction: Likewise.
12982
12983 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12984
12985         PR 28061
12986         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12987         Returned back the code to handle the start of the click-pause-click
12988         editing initiation, explained about this code. 
12989         (TreeStartEditingAction): New inner class.
12990         (stopEditingInCompleteEditing): Explained about this field.
12991         (completeEditing(boolean, boolean, boolean): Only return early
12992         if there is no current editing session.
12993         (createDefaultActions): Install TreeStartEditingAction and
12994         TreeCancelEditingAction.
12995
12996 2006-07-04  Mario Torre  <neugens@limasoftware.net>
12997
12998         * configure.ac: Added new option --enable-default-preferences-peer
12999         to pass user specified default preference backend.
13000         If the GConf peer is built, GConf become the default backend.
13001         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13002         new file. 
13003         * lib/Makefile.am: excludes files terminating in 'in' from
13004         the metafiles list.
13005         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13006         from copy into META-INF.
13007         * java/util/prefs/Preferences.java: added two new import
13008         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13009         (getFactory): Now try to check for
13010         a system defined default preference backend before to fall back on
13011         FileBasedPreference.
13012
13013 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13014
13015         PR 28061
13016         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13017         (EXPANDED): Initialise to Boolean.TRUE.
13018         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13019         First configure layout cache and then set the assigned value 
13020         as row mapper. Set the root visibility property.
13021         (toggleExpandState): Obtains expansion state from the layout cache.
13022
13023 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13024
13025         * java/lang/management/MemoryPoolMXBean.java:
13026         New file.
13027         
13028 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13029
13030         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13031
13032 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13033
13034         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13035         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13036         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13037         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13038         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13039         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13040         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13041         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13042         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13043         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13044         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13045         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13046         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13047         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13048         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13049         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13050         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13051         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13052         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13053         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13054         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13055         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13056         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13057         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13058         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13059         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13060         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13061         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13062         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13063         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13064         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13065         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13066         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13067         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13068         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13069         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13070         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13071         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13072         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13073         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13074         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13075         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13076         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13077         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13078         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13079         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13080         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13081
13082 2006-07-02  Anthony Green  <green@redhat.com>
13083
13084         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13085         sure that every track written ends with an End Of Track meta
13086         message.
13087
13088 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13089
13090         * java/lang/management/MemoryUsage.java:
13091         (toString()): Fix missing MB for maximum memory usage.
13092         
13093 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13094
13095         * NEWS:
13096         Updated to include VMCompilationMXBeanImpl.
13097         * doc/vmintegration.texinfo:
13098         Likewise, along with update to VMMemoryMXBeanImpl
13099         as below.
13100         * examples/gnu/classpath/examples/management/TestCompilation.java,
13101         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13102         * java/lang/management/CompilationMXBeanImpl.java:
13103         New files.
13104         * java/lang/management/ManagementFactory.java:
13105         (getCompilationMXBean()): Implemented.
13106         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13107         New file.
13108         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13109         (getHeapMemoryUsage()): Added default implementation.   
13110         
13111 2006-07-02  Anthony Green  <green@redhat.com>
13112
13113         * NEWS: Mention MIDI file reader/writer providers.
13114
13115 2006-07-02  Anthony Green  <green@redhat.com>
13116
13117         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13118         gnu/javax/sound/midi/file/MidiFileWriter.java,
13119         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13120
13121 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13122
13123         * NEWS:
13124         Updated to include VMMemoryMXBeanImpl.
13125         * doc/vmintegration.texinfo: Likewise.
13126         * examples/gnu/classpath/examples/management/TestMemory.java:
13127         New file.
13128         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13129         Remove redundant import.
13130         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13131         New file.
13132         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13133         Remove redundant import.
13134         * java/lang/management/ManagementFactory.java:
13135         (getMemoryMXBean()): Implemented.
13136         * java/lang/management/MemoryMXBean.java,
13137         * java/lang/management/MemoryUsage.java:
13138         New files.
13139         * java/lang/management/ThreadInfo.java:
13140         (toString()): Updated documentation.
13141         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13142         New file.
13143         
13144 2006-07-01  Anthony Green  <green@redhat.com>
13145
13146         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13147         gnu/javax/sound/midi/file/MidiFileReader.java,
13148         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13149         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13150
13151 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13152
13153         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13154         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13155         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13156         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13157         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13158         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13159         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13160
13161 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13162
13163         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13164         * gnu/javax/crypto/pad/IPad.java: Likewise.
13165         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13166         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13167         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13168         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13169         * gnu/javax/crypto/pad/TBC.java: Likewise.
13170         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13171         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13172
13173 2006-07-01  Anthony Green  <green@redhat.com>
13174
13175         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13176         status byte test.
13177         (setMessage): Fix it again, in a different setMessage method.
13178
13179 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13180
13181         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13182         * gnu/javax/crypto/mode/CBC.java: Likewise.
13183         * gnu/javax/crypto/mode/CFB.java: Likewise.
13184         * gnu/javax/crypto/mode/CTR.java: Likewise.
13185         * gnu/javax/crypto/mode/EAX.java: Likewise.
13186         * gnu/javax/crypto/mode/ECB.java: Likewise.
13187         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13188         * gnu/javax/crypto/mode/ICM.java: Likewise.
13189         * gnu/javax/crypto/mode/IMode.java: Likewise.
13190         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13191         * gnu/javax/crypto/mode/OFB.java: Likewise.
13192
13193 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13194
13195         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13196         * gnu/javax/crypto/mac/HMac.java: Likewise.
13197         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13198         * gnu/javax/crypto/mac/IMac.java: Likewise.
13199         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13200         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13201         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13202         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13203         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13204         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13205         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13206
13207 2006-07-01  Anthony Green  <green@redhat.com>
13208
13209         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13210
13211 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13212
13213         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13214         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13215         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13216         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13217         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13218         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13219         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13220         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13221         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13222         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13223         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13224         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13225         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13226         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13227         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13228         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13229         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13230         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13231         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13232         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13233         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13234         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13235         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13236         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13237
13238 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13239
13240         * javax/swing/AbstractCellEditor.java: Source code formatting,
13241         * javax/swing/AbstractSpinnerModel.java: Likewise,
13242         * javax/swing/Box.java: Likewise,
13243         * javax/swing/BoxLayout.java: Likewise,
13244         * javax/swing/DefaultListModel.java: Likewise,
13245         * javax/swing/GrayFilter.java: Likewise,
13246         * javax/swing/LookAndFeel.java: Likewise,
13247         * javax/swing/ProgressMonitor.java: Likewise,
13248         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13249         * javax/swing/ScrollPaneLayout.java: Likewise,
13250         * javax/swing/SpringLayout.java: Likewise,
13251         * javax/swing/event/EventListenerList.java: Likewise,
13252         * javax/swing/event/MenuEvent.java: Likewise,
13253         * javax/swing/event/TreeExpansionListener.java: Likewise.
13254
13255 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13256
13257         * NEWS:
13258         Mention threading bean and getState().
13259         * doc/vmintegration.texinfo:
13260         Update documentation for threading bean and new
13261         method of VMThread.
13262         
13263 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13264         
13265         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13266         * examples/gnu/classpath/examples/management/TestOS.java,
13267         * examples/gnu/classpath/examples/management/TestRuntime.java,
13268         * examples/gnu/classpath/examples/management/TestThread.java:
13269         New files.
13270         
13271 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13272
13273         * java/lang/ThreadGroup.java
13274         (getThreadFromId, getThreadFromIdImpl): New methods.
13275
13276 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13277
13278         * java/lang/Thread.java:
13279         Make thread IDs start from 1 in a more efficient way.
13280
13281 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13282
13283         * java/lang/Thread.java:
13284         Make thread IDs start from 1.
13285         
13286 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13287
13288         * gnu/java/lang/management/BeanImpl.java:
13289         New superclass for all bean implementations.
13290         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13291         Extend BeanImpl and call permission code there.
13292         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13293         Extend BeanImpl.
13294         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13295         Extend BeanImpl and call permission code there.
13296         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13297         New file.
13298         * java/lang/management/ManagementFactory.java:
13299         (getThreadMXBean()): Implemented.
13300         * java/lang/management/ThreadInfo.java:
13301         (ThreadInfo(Thread,int)): Replaced...
13302         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13303         boolean, boolean, StackTraceElement[])): with this.
13304         (getBlockedCount()): Refactored to use local variables.
13305         (getBlockedTime()): Likewise.
13306         (getLockName()): Likewise.
13307         (getLockOwnerId()): Likewise.
13308         (getLockOwnerName()): Likewise.
13309         (getStackTrace()): Likewise.
13310         (getWaitedCount()): Likewise.
13311         (getWaitedTime()): Likewise.
13312         (isInNative()): Likewise.
13313         (isSuspended()): Likewise.
13314         (toString()): Changed to use new local variables.
13315         * java/lang/management/ThreadMXBean.java:
13316         (getThreadInfo(long, int)): Corrected documentation.
13317         (getThreadInfo(long[], int)): Likewise.
13318         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13319         New file.
13320         * vm/reference/java/lang/management/VMThreadInfo.java:
13321         Removed.
13322
13323 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13324
13325         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13326         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13327         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13328         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13329         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13330         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13331         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13332         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13333         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13334         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13335         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13336         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13337         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13338         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13339         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13340         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13341         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13342         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13343         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13344         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13345         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13346         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13347         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13348         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13349         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13350         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13351         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13352         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13353         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13354         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13355         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13356         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13357
13358 2006-07-01  Roman Kennke  <kennke@aicas.com>
13359
13360         * gnu/java/awt/java2d/AbstractGraphics2D.java
13361         (transform): Make field protected.
13362         (getDestinationRaster): Provide default implementation for
13363         previously abstract method.
13364
13365 2006-06-30  Tania Bento  <tbento@redhat.com>
13366
13367         * java/awt/TextArea.java
13368         (TextArea(String, int, int, int)): No longer throws
13369         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13370         values are invalid.  
13371         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13372         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13373         gets set to the default value of 0 (SCROLLBARS_BOTH).
13374          (appendText): Added case when peer = null.
13375         (insertText): Added case when peer == null.
13376         (replaceText): Added case when peer == null.
13377         * java/awt/TextComponent.java
13378         (TextComponent(String)): If text == null, set it to "".
13379
13380 2006-06-30  Lillian Angel  <langel@redhat.com>
13381
13382         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13383         (create): Added synchronized block around groupMap.get calls.
13384         (setCheckboxGroup): Likewise.
13385
13386 2006-06-30  Lillian Angel  <langel@redhat.com>
13387
13388         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13389         (create): Changed to be non-synchronized.
13390         (setLabel): Likewise.
13391         (setCheckboxGroup): Likewise.
13392         (addToGroupMap): Likewise. Added synchronized block around
13393         code.
13394         (dispose): Changed to be non-synchronized.
13395
13396 2006-06-30  Lillian Angel  <langel@redhat.com>
13397
13398         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13399         Changed all return values of native functions to void.
13400         (create): Changed function to be synchronized. Removed
13401         call to put value in groupMap, this is now done from 
13402         the native code.
13403         (setState): Changed function to be synchronized.
13404         (setLabel): Changed function to be synchronized.
13405         (setCheckboxGroup): Changed function to be synchronized. Removed
13406         call to put value in groupMap, this is now done from
13407         the native code.
13408         (postItemEvent): Changed function to be synchronized.
13409         (addToGroupMap): New function. Called by native code to add
13410         new value to the group.
13411         (dispose): Changed function to be synchronized.
13412         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13413         all functions.
13414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13415         (cp_gtk_checkbox_init_jni): Added code to link to 
13416         java function.
13417         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13418         Changed return value to void. Added call
13419         to java function to set pointer in groupMap.
13420         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13421         changed check to an assert. Also, removed call to set/del pointer.
13422         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13423         Likewise. Also, added check to determine if native_group should be 
13424         set to NULL.
13425         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13426
13427 2006-06-30  Sven de Marothy  <sven@physto.se>
13428
13429         * gnu/java/awt/ClasspathToolkit.java,
13430         * gnu/java/awt/peer/x/XToolkit.java,
13431         * gnu/java/awt/peer/qt/QtToolkit.java,
13432         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13433         Remove ClasspathTextLayoutPeer.
13434         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13435         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13436         Files removed.
13437         
13438 2006-06-30  Sven de Marothy  <sven@physto.se>
13439
13440         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13441         (drawGlyphVector): Don't draw empty vectors.
13442
13443 2006-06-30  Lillian Angel  <langel@redhat.com>
13444             Tom Fitzsimmons <fitzsim@redhat.com>
13445
13446         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13447         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13448         Added current_group, groupMap fields. Added definitions for
13449         new native functions.
13450         (create): Removed FIXME. Added code to create the check button or
13451         radio button when appropriate. Updated groupMap to contain
13452         pointer to the newly created group.
13453         (setCheckboxGroup): Added code to handle all cases. Removing
13454         a button from a group, adding a button to a group, or changing the
13455         group of a button.
13456         (dispose): Changed to call super.
13457         * include/Makefile.am: Removed reference to 
13458         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13459         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13460         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13461         for new functions.
13462         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13463         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13464         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13465         Removed file.
13466         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13467         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13468         Renamed to checkbox_get_widget.
13469         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13470         Changed to use checkbox_get_widget.
13471         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13472         Removed.
13473         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13474         Changed to use checkbox_get_widget.
13475         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13476         Likewise.
13477         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13478         New function. Creates checkbutton without a group.
13479         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13480         Creates a radio button in a group, using groupPointer. If groupPointer
13481         is 0, then a new group is created.
13482         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13483         check button to a group, using groupPointer. A radio button is created
13484         in its place. If groupPointer is 0, then a new group is created.
13485         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13486         radio button is removed from the group. A check button is created in 
13487         its place.
13488         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13489         radio button is moved to a new group.
13490
13491 2006-06-30  Mark Wielaard  <mark@klomp.org>
13492
13493         * configure.ac: Move standard.omit creation after dirs are created.
13494         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13495         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13496         (clean-local): Remove standard.omit.
13497         * lib/gen-classlist.sh.in: Use omit file in build dir.
13498         * lib/standard.omit.in: Make exclude regex more explicit.
13499
13500 2006-06-30  Roman Kennke  <kennke@aicas.com>
13501
13502         * lib/Makefile.am: Added Escher dir/jar to classpath when
13503         requested.
13504         * configure.ac: Moved handling of standard.omit to a place
13505         where it actually gets executed.
13506
13507 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13508
13509         * java/awt/TextComponent.java: Reformatted source code,
13510         * java/awt/TextField.java: Likewise.
13511
13512 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13513
13514         * java/lang/Thread.java:
13515         (getState()): Handle case of no VMThread
13516         correctly.
13517
13518 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13519
13520         * java/lang/Thread.java,
13521         * java/lang/VMThread.java:
13522         Reverted patch from 2006-06-28.
13523         
13524 2006-06-29  Roman Kennke  <kennke@aicas.com>
13525
13526         * gnu/java/awt/peer/x/GLGraphics.java,
13527         * gnu/java/awt/peer/x/ImageConverter.java,
13528         * gnu/java/awt/peer/x/KeyboardMapping.java,
13529         * gnu/java/awt/peer/x/XEventPump.java,
13530         * gnu/java/awt/peer/x/XFontPeer.java,
13531         * gnu/java/awt/peer/x/XFontPeer2.java,
13532         * gnu/java/awt/peer/x/XFramePeer.java,
13533         * gnu/java/awt/peer/x/XGraphics.java,
13534         * gnu/java/awt/peer/x/XGraphics2D.java,
13535         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13536         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13537         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13538         * gnu/java/awt/peer/x/XImage.java,
13539         * gnu/java/awt/peer/x/XLightweightPeer.java,
13540         * gnu/java/awt/peer/x/XToolkit.java,
13541         * gnu/java/awt/peer/x/XWindowPeer.java,
13542         * gnu/java/awt/peer/x/fonts.properties: New files.
13543         * lib/standard.omit: Removed.
13544         * lib/standard.omit.in: Added.
13545         * configure.ac: Added configure option --with-escher. Added some
13546         configury for omitting gnu.java.awt.peer.x package when
13547         this option is not specified.
13548
13549 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13550
13551         * javax/swing/JComponent.java
13552         (JComponent()): Initialize the locale here, not the default locale,
13553         (getDefaultLocale): If null, return Locale.getDefault(),
13554         (setDefaultLocale): Added API docs.
13555
13556 2006-06-29  Tania Bento  <tbento@redhat.com>
13557
13558         * java/awt/Container.java
13559         (applyComponentOrientation): Implemented method.
13560
13561 2006-06-29  Gary Benson  <gbenson@redhat.com>
13562
13563         * java/io/File.java (listRoots): Merge security checks from libgcj.
13564
13565 2006-06-29  Gary Benson  <gbenson@redhat.com>
13566
13567         * java/io/FilePermission.java (implies): Work when path is "/".
13568
13569 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13570
13571         * java/lang/Thread.java:
13572         (Thread(ThreadGroup,Runnable,String,long)): Update
13573         state.
13574         (Thread(VMThread,String,int,boolean)): Likewise.
13575         (join(long,int)): Likewise.
13576         (resume()): Likewise.
13577         (sleep(long,int)): Likewise.
13578         (start()): Likewise.
13579         (stop()): Likewise.
13580         (suspend()): Likewise.
13581         (die()): Likewise.
13582         (getState()): Return either state or use VMThread.
13583         * java/lang/VMThread.java:
13584         (getState()): Added default implementation to return
13585         thread.state
13586         
13587 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13588
13589         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13590         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13591         endian swapping code.
13592
13593         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13594         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13595         without alpha information correctly on big endian systems.
13596
13597 2006-06-28  Roman Kennke  <kennke@aicas.com>
13598
13599         * gnu/java/net/local/LocalSocket.java
13600         (setSoTimeout): Don't throw exception and ignore request.
13601         (getSoTimeout): Don't throw exception and always return 0.
13602
13603 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13604
13605         * javax/swing/JComponent.java
13606         (getRegisteredKeyStrokes): Implemented.
13607
13608 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13609
13610         * javax/swing/JComponent.java
13611         (verifyInputWhenFocusTarget): Initialise to true.
13612
13613 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13614
13615         * java/beans/VetoableChangeSupport.java
13616         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13617         null listener,
13618         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13619         for null property name and/or listener,
13620         * javax/swing/JComponent.java
13621         (getListeners): Handle VetoableChangeListener.class as a special case,
13622         (getVetoableChangeListeners): Fetch these from the 
13623         vetoableChangeSupport object.
13624
13625 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13626
13627         * javax/swing/JComponent.java
13628         (componentPopupMenu): New field,
13629         (inheritsPopupMenu): New field,
13630         (getInheritsPopupMenu): Implemented,
13631         (setInheritsPopupMenu): Likewise,
13632         (getComponentPopupMenu): Likewise,
13633         (setComponentPopupMenu): Likewise,
13634         * javax/swing/JLabel.java
13635         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13636
13637 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
13638
13639         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13640         (toString): New method.
13641         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13642         (toString): New method.
13643         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13644         (toString): New method.
13645         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13646         Handle case when Q is null.
13647         (decodePrivateKey): Likewise.
13648         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13649         Likewise.
13650         (decodePublicKey): Likewise.
13651         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13652         aliases for all block ciphers.
13653         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13654         (engineDoPhase): Compute fully the shared secret.
13655         (checkState): New method.
13656         (reset): Likewise.
13657         (engineGenerateSecret()): Reset key-agreement before returning.
13658         (engineGenerateSecret(byte[],int)): Check for short-buffer.
13659         Reset key-agreement before returning.
13660         (engineGenerateSecret(String)): Reset key-agreement before returning.
13661         (engineInit(Key,SecureRandom)): Call reset() before returning.
13662         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13663         (engineInit): Replace printing to System.out with conditional logging.
13664         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13665         When the key-size is not specified, attempt best effort to find a suitable
13666         value among those advertised by the cipher before setting it to the length
13667         of provided key material.
13668
13669 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13670
13671         * javax/swing/table/DefaultTableColumnModel.java
13672         (changeEvent): Don't initialize yet, removed FIXME,
13673         (fireColumnModelChanged): Initialize changeEvent if necessary.
13674
13675 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13676
13677         * java/lang/Thread.java:
13678         (getAllStackTraces()): Implemented.
13679         (getStackTrace()): Likewise.
13680         
13681 2006-06-27  Tania Bento  <tbento@redhat.com>
13682
13683         * java/awt/Component.java
13684         (setComponentOrientation): NPE should not be thrown.
13685
13686 2006-06-27  Tom Tromey  <tromey@redhat.com>
13687
13688         * configure.ac: Create gjar, gnative2ascii, gserialver.
13689         * tools/gappletviewer.in: Quote $@.
13690         * tools/gkeytool.in: Likewise.
13691         * tools/gjarsigner.in: Likewise.
13692         * tools/gjar.in: New file.
13693         * tools/gnative2ascii.in: Likewise.
13694         * tools/gserialver.in: Likewise.
13695         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13696         gserialver.
13697         (bin_SCRIPTS): Likewise.
13698
13699 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13700
13701         * java/lang/management/ThreadMXBean.java:
13702         (getThreadInfo(long[])): Corrected return type.
13703         (getThreadInfo(long[], int)): Likewise.
13704
13705 2006-06-27  Mark Wielaard  <mark@klomp.org>
13706
13707         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13708         nothing when listener is null.
13709         (removeFlavorListener): Likewise.
13710
13711         * java/awt/datatransfer/DataFlavor.java
13712         (getRepresentationClassFromMime): Renamed to
13713         getRepresentationClassFromMimeThrows.
13714         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13715         (isRepresentationClassSerializable): Likewise.
13716         (isFlavorJavaFileListType): Likewise and check primary and
13717         subtype.
13718         (getParameter): Parameters are separated by semi-colons.
13719         (DataFlavor(Class,String,String)): Do some sanity checks.
13720         (DataFlavor(String,String,ClassLoader)): Call
13721         getRepresentationClassFromMimeThrows.
13722         (DataFlavor(String)): Likewise.
13723         (equals(DataFlavor)): Special case primary type text and charset
13724         parameter.
13725         
13726 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13727
13728         * java/awt/Component.java
13729         (setName): Fire required PropertyChangeEvent,
13730         * java/awt/Label.java
13731         (getText): Removed redundant brackets,
13732         (generateName): New method (override),
13733         (nextLabelNumber): New field,
13734         (getUniqueLong): New method.
13735
13736 2006-06-27  Roman Kennke  <kennke@aicas.com>
13737
13738         * gnu/java/awt/peer/swing/SwingComponentPeer.java
13739         (createImage): Delegate this to the parent.
13740         (handleEvent): Only handle PAINT/UPDATE events when the
13741         component is actually showing.
13742         (hide): Repaint the parent after hiding a component.
13743         (prepareImage): Have only one return point.
13744         (setVisible): Delegate to show() and hide().
13745         (createVolatileImage): Added null check to avoid NPE.
13746
13747 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13748
13749         * java/awt/Label.java: Reformatted source code.
13750
13751 2006-06-27  Roman Kennke  <kennke@aicas.com>
13752
13753         * java/awt/image/BufferedImage.java
13754         (getSource): Use a fixed DirectColorModel to deliver the
13755         RGB pixels to the ImageConsumer.
13756
13757 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13758
13759         * java/awt/Point.java
13760         (setLocation(double, double)): Round to nearest integer coordinates.
13761
13762 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13763
13764         * java/awt/Component.java
13765         (minSizeSet): New field,
13766         (maxSize): Likewise,
13767         (maxSizeSet): Likewise,
13768         (isMaximumSizeSet): Implemented,
13769         (isMinimumSizeSet): Likewise,
13770         (isPreferredSizeSet): Likewise,
13771         (setMaximumSize): Likewise,
13772         (setMinimumSize): Likewise,
13773         (setPreferredSize): Likewise. 
13774
13775 2006-06-27  Roman Kennke  <kennke@aicas.com>
13776
13777         * javax/imageio/spi/IIORegistry.java
13778         (IIORegistry): Added BMP codec.
13779
13780 2006-06-27  Mark Wielaard  <mark@klomp.org>
13781
13782         * javax/swing/JComponent.java
13783         (firePropertyChange(String,char,char)): New override method.
13784
13785 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13786
13787         * java/lang/Thread.java:
13788         (getState()): New method.
13789         * java/lang/management/ClassLoadingMXBean.java:
13790         Corrected class documentation.
13791         * java/lang/management/ManagementFactory.java:
13792         Added new temporary marked stub to get thread bean.
13793         * java/lang/management/OperatingSystemMXBean.java:
13794         Corrected class documentation.
13795         * java/lang/management/RuntimeMXBean.java:
13796         Corrected class documentation.
13797         * java/lang/management/ThreadInfo.java,
13798         * java/lang/management/ThreadMXBean.java:
13799         New classes.
13800         * vm/reference/java/lang/VMThread.java:
13801         (getState()): New method.
13802         * vm/reference/java/lang/management/VMThreadInfo.java:
13803         New VM class.
13804
13805 2006-06-26  Sven de Marothy  <sven@physto.se>
13806
13807         * gnu/javax/imageio/gif/GIFFile.java
13808         * gnu/javax/imageio/gif/GIFImageReader.java
13809         * gnu/javax/imageio/gif/GIFImageSpi.java
13810         * gnu/javax/imageio/gif/GIFStream.java
13811         New files.
13812         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13813
13814 2006-06-26  Tania Bento  <tbento@redhat.com>
13815
13816         * java/awt/List.java
13817         (List): A list should have at least 4 visible rows.     
13818         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13819         not an IllegalArgumentException.
13820         (makeVisible): Should not throw an IllegalArgumentException if
13821         the specified index is out of range.
13822
13823 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13824
13825         * javax/swing/JList.java
13826         (getNextMatch): Reimplemented to perform a circular search for the 
13827         matching item.
13828
13829 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13830
13831         * javax/swing/JList.java
13832         (init): Set default value for visibleRowCount to 8,
13833         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13834
13835 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13836
13837         * javax/swing/JList.java
13838         (valueIsAdjusting): Removed,
13839         (init): Removed initialization of valueIsAdjusting field,
13840         (getValueIsAdjusting): Fetch value from selection model,
13841         (setValueIsAdjusting): Store value in selection model.
13842
13843 2006-06-26  Roman Kennke  <kennke@aicas.com>
13844
13845         * javax/swing/plaf/basic/BasicListUI.java
13846         (installKeyboardActions): Rewritten to fit with the
13847         ActionMap/InputMap architecture.
13848         (uninstallKeyboardActions): Implemented.
13849         (ListAction): Made private. Added TODO for splitting
13850         up this bulk Action.
13851         (ListAction.ListAction): New constructor. This one
13852         takes a cmd parameter to be installed as actionCommand.
13853
13854 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13855
13856         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13857         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13858
13859 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13860
13861         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13862         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13863         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13864         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13865         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13866         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13867         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13868         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13869         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13870         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13871         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13872         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13873         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13874         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13875         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13876         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13877         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13878         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13879         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13880         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13881         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13882         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13883         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13884         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13885         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13886         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13887         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13888         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13889         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13890         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13891         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13892         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13893         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13894         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13895         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13896         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13897         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13898         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13899         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13900         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13901         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13902         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13903         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13904         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13905         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13906         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13907         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13908         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13909         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13910         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13911         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13912         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13913         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13914         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13915         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13916         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13917         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13918         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13919         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13920         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13921         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13922         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13923         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13924         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13925         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13926         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13927         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13928         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13929         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13930         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13931         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13932         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13933         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13934         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13935         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13936         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13937         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13938         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13939         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13940         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13941         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13942         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13943
13944 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13945
13946         * javax/swing/JList.java
13947         (setLayoutOrientation): Check for valid argument.
13948
13949 2006-06-26  Roman Kennke  <kennke@aicas.com>
13950
13951         * javax/swing/JComponent.java
13952         (firePropertyChange(String,int,int)): New method. Overrides
13953         Component method and makes it public.
13954         (firePropertyChange(String,boolean,boolean)): Likewise.
13955
13956 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
13957         
13958         * gnu/java/security/.cvsignore: New File.
13959         * gnu/java/security/Configuration.java.in: New File.
13960         * gnu/java/security/Properties.java: Change import from 
13961         gnu.classpath.Configuration to gnu.java.security.Configuration.
13962         * gnu/java/security/hash/Whirlpool.java: Likewise.
13963         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13964         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13965         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13966         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13967         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13968         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13969         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13970         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13971         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13972         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13973         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13974         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13975         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
13976         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
13977         * gnu/java/security/util/Base64.java: Likewise.
13978         * gnu/java/security/x509/X509CRL.java: Likewise.
13979         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
13980         * gnu/java/security/x509/ext/Extension.java: Likewise.
13981         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
13982         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
13983         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13984         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13985         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13986         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13987         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13988         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13989         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13990         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13991         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13992         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13993         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13994         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13995         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13996         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13997         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13998         * gnu/javax/crypto/pad/BasePad.java: Likewise.
13999         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14000         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14001         * gnu/javax/crypto/pad/TBC.java: Likewise.
14002         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14003         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14004         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14005         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14006         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14007         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14008         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14009         * gnu/javax/security/auth/login/GnuConfiguration.java 
14010         (getAppConfigurationEntry): Change reference to 
14011         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14012         (getConfigFromUserHome): Likewise.
14013         (getInputStreamFromURL): Likewise.
14014         (getUserHome): Likewise.
14015         (init): Likewise.
14016         (processSecurityProperties): Likewise.
14017         (processSystemProperty): Likewise.
14018         (processUserHome): Likewise.
14019         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14020         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14021         
14022
14023 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14024
14025         * javax/swing/text/DefaultCaret.java (isActive): New method.
14026
14027 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14028
14029         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14030         * java/lang/management/ClassLoadingMXBean.java:
14031         (getTotalLoadedClassCount()): Corrected return type.
14032         (getUnloadedClassCount()): Likewise.
14033         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14034         (getUnloadedClassCount()): Likewise.
14035         
14036 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14037
14038         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14039         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14040         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14041         * gnu/javax/crypto/cipher/Square.java: Likewise.
14042         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14043         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14044         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14045         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14046         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14047         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14048         * gnu/javax/crypto/cipher/DES.java: Likewise.
14049         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14050         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14051         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14052         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14053         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14054
14055 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14056
14057         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14058         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14059         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14060         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14061         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14062         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14063         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14064         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14065         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14066         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14067         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14068         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14069         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14070
14071 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14072
14073         * NEWS,
14074         * doc/vmintegration.texinfo:
14075         Updated with information on new VM interface.
14076         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14077         * java/lang/management/ClassLoadingMXBean.java:
14078         New files implementing the class loading bean.
14079         * java/lang/management/ManagementFactory.java:
14080         (getClassLoadingMXBean()): Implemented.
14081         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14082         New VM interface file.
14083
14084 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14085
14086         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14087         (isBootClassPathSupported()): Use SystemProperties
14088         rather than System.getProperty.
14089         
14090 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14091
14092         * gnu/java/security/Properties.java: Source formatting.
14093         * gnu/java/security/Registry.java: Likewise.
14094
14095 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14096
14097         * gnu/java/security/util/Util.java: Source formatting.
14098         * gnu/java/security/util/SimpleList.java: Likewise.
14099         * gnu/java/security/util/Sequence.java: Likewise.
14100         * gnu/java/security/util/PRNG.java: Likewise.
14101         * gnu/java/security/util/ExpirableObject.java: Likewise.
14102         * gnu/java/security/util/Base64.java: Likewise.
14103         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14104         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14105         * gnu/java/security/sig/ISignature.java: Likewise.
14106         * gnu/java/security/sig/BaseSignature.java: Likewise.
14107         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14108         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14109         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14110         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14111         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14112         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14113         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14114         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14115         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14116         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14117         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14118         * gnu/java/security/provider/Gnu.java: Likewise.
14119         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14120         * gnu/java/security/prng/RandomEvent.java: Likewise.
14121         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14122         * gnu/java/security/prng/MDGenerator.java: Likewise.
14123         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14124         * gnu/java/security/prng/IRandom.java: Likewise.
14125         * gnu/java/security/prng/EntropySource.java: Likewise.
14126         * gnu/java/security/prng/BasePRNG.java: Likewise.
14127
14128 2006-06-23  Francis Kung  <fkung@redhat.com>
14129
14130         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14131         (Harness.actionPerformed): Process additional options.
14132         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14133         (J2dBenchmarkWrapper.setAlias): New method.
14134         (J2dBenchmarkWrapper.setComposite): New method.
14135         (J2dBenchmarkWrapper.setFill): New method.
14136         (J2dBenchmarkWrapper.setRotation): New method.
14137         (J2dBenchmarkWrapper.setShear): New method.
14138         (J2dBenchmarkWrapper.setStroke): New method.
14139         (J2dBenchmarkWrapper.setTranslation): New method.
14140         (run): Add additional options to GUI.
14141         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14142         Added protected fields for various options.
14143         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14144         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14145         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14146         (getNextColor): Renamed to setRandom.
14147         (init): Load additional image for texturing if needed.
14148         (loadBufferedImage): New method.
14149         (main): Accept additional command-line switches.
14150         (prepareGraphics): New method.
14151         (resetGraphics): New method.
14152         (runTestSuite): Accept additional image-processing options.
14153         (setRandom): Renamed from getNextColor; generate various random options
14154         (test_drawArc): Rename getNextColor to setRandom.
14155         (test_drawCubic): Likewise.
14156         (test_drawEllipse): Likewise.
14157         (test_drawGeneralPath): Likewise.
14158         (test_drawImage): Likewise.
14159         (test_drawLine): Likewise.
14160         (test_drawQuadCurve): Likewise.
14161         (test_drawRectangle): Likewise.
14162         (test_drawRoundRectangle): Likewise.
14163         (test_drawTransparentImage): Likewise.
14164         (test_fillArc): Rename getNextColor to setRandom.
14165         (test_fillEllipse): Likewise.
14166         (test_fillGeneralPath): Likewise.
14167         (test_fillRectangle): Likewise.
14168         (test_fillRoundRectangle): Likewise.
14169         (TestRecorder.getAverage): Round the average time.
14170
14171 2006-06-23  Tom Tromey  <tromey@redhat.com>
14172
14173         * java/util/logging/LoggingMXBean.java: New file.
14174         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14175         (loggingBean): New field.
14176         (getLoggingMXBean): New method.
14177
14178 2006-06-23  Tania Bento  <tbento@redhat.com>
14179
14180         * java/awt/TextField.java
14181         (TextField): Default number of columns should be 0, not 1.
14182         (TextField): Check if number of columns given as argument
14183         is valid (>= 0) and set the number of columns accordingly.
14184         (TextField): Check if the string passed is null. If it is, 
14185         set columns to 0, else columns is set to the length of
14186         the string.
14187
14188 2006-06-23  Roman Kennke  <kennke@aicas.com>
14189
14190         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14191         (InternalFramePropertyChangeListener.propertyChange):
14192         Don't call getPropertyName() repeatedly. Added null checks
14193         to avoid NPEs. Call closeFrame() if the closed property
14194         changes.
14195
14196 2006-06-23  Roman Kennke  <kennke@aicas.com>
14197
14198         * javax/swing/JInternalFrame.java
14199         (maxTransition): Removed.
14200         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14201         Don't initialize storedBounds here.
14202         (dipose): Rewritten to correctly dispose the JInternalFrame.
14203         (getDesktopIcon): Don't initialize desktopIcon here.
14204         (getLayer): Delegate to JLayeredPane.getLayer().
14205         (getNormalBounds): Return bounds when storedBounds == null,
14206         otherwise storedBounds.
14207         (hide): Don't change selection. Also hide the desktopIcon.
14208         (moveToBack): Call getParent() only once.
14209         (moveToFront): Call getParent() only once.
14210         (pack): Call validate() to make sure that the layout is
14211         propagated to the children.
14212         (setClosed): Fire InternalFrameEvent first, before the
14213         PropertyVetoEvent.
14214         (setJMenuBar): Fire PropertyChangeEvent for this property.
14215         (setLayer): Delegate to JLayeredPane.
14216         (setLayeredPane): Check for null and throw IllegalArgumenException.
14217         (setMaximum): Remove handling of maxTransition and normalBounds.
14218         Should probably be done in the UI.
14219         (setNormalBounds): Store Rectangle object directly, not a copy.
14220         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14221         adding the RootPane doesn't add it to the contentPane.
14222         Fire PropertyChangeEvent.
14223         (setSelected): Added condition for when this property must not
14224         be changed.
14225         (show): Don't ask the DesktopPane to select the frame. Moved
14226         code around to fire InternalFrameEvent before actually calling
14227         super.show(). Also make the desktopIcon visible.
14228         (setTitle): Fire PropertyChangeEvent unconditionally.
14229
14230 2006-06-23  Roman Kennke  <kennke@aicas.com>
14231
14232         * javax/swing/JLayeredPane.java
14233         (getPosition): Moved code around to avoid unnecessary method calls.
14234         (setPosition): Delegate to setLayer().
14235         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14236         (insertIndexForLayer(Component,int,int)): New helper method
14237         to support the use of setComponentZOrder() which doesn't remove
14238         the component and thus the insertIndexForLayer must ignore
14239         the component to be moved to get the index right.
14240         (setLayer): Added check to prevent unnecessary execution of
14241         method body. Changed to update the component order here.
14242         Added repaint() to make sure that the update becomes visible.
14243         (addImpl): Call setLayer() only when a constraint has been specified.
14244         Validate and repaint the JLayeredPane.
14245
14246 2006-06-23  Roman Kennke  <kennke@aicas.com>
14247
14248         * java/awt/Container.java
14249         (getComponentZOrder): Use ncomponents instead of
14250         component.length so that we don't consider the empty space
14251         after the last component.
14252
14253 2006-06-22  Roman Kennke  <kennke@aicas.com>
14254
14255         * javax/swing/JComponent.java
14256         (vetoableChangeSupport): New field.
14257         (removeVetoableChangeListener): Rewritten to use
14258         vetoableChangeSupport.
14259         (addVetoableChangeListener): Rewritten to use
14260         vetoableChangeSupport.
14261         (fireVetoableChange): Rewritten to use
14262         vetoableChangeSupport.
14263         (addPropertyChangeListener): Removed. This is handled in
14264         Component already.
14265         (firePropertyChange(String,boolean,boolean)): Likewise.
14266         (firePropertyChange(String,char,char)): Likewise.
14267         (firePropertyChange(String,int,int)): Likewise.
14268         (revalidate): Don't do anything when the commponent has no
14269         parent.
14270
14271 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14272
14273         * javax/swing/JLabel.java: Updated API docs.
14274
14275 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14276
14277         * java/awt/Insets.java: Updated copyright year.
14278         (toString): Changed string, removed a line from the 
14279         documentation.
14280
14281 2006-06-22  Roman Kennke  <kennke@aicas.com>
14282
14283         * javax/swing/text/AbstractDocument.java
14284         (AbstractDocument): Set the i18n document property.
14285         (removeImpl): Added checks for correct boundaries.
14286
14287 2006-06-22  Roman Kennke  <kennke@aicas.com>
14288
14289         * javax/swing/text/PlainDocument.java
14290         (rootElement): Changed type to Element.
14291         (tabSize): Removed field. This is stored in the document properties
14292         instead.
14293         (PlainDocument): Set tabSize property. Init rootElement without
14294         cast.
14295         (insertUpdate): Rewritten. The previous implementation did not
14296         handle some corner cases properly and was a mess.
14297         (removeUpdate): Cast rootElement to BranchElement.
14298
14299 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14300
14301         * javax/swing/plaf/basic/BasicLabelUI.java
14302         (installKeyboardActions): Implemented,
14303         (uninstallKeyboardActions): Implemented,
14304         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14305         properties.
14306
14307 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14308
14309         * javax/swing/JMenu.java:
14310         (removeAll): Added check for popupMenu not being null.
14311
14312 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14313
14314         * javax/swing/JLabel.java
14315         (getText): Updated API docs,
14316         (setText): Corrected the check for an unchanged value, and the update 
14317         of the displayedMnemonicIndex.
14318
14319 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14320
14321         * javax/swing/JLabel.java
14322         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14323         field,
14324         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14325         where label text is null.
14326
14327 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14328
14329         * javax/swing/JLabel.java
14330         (setDisplayedMnemonic): Updated API docs,
14331         (getDisplayedMnemonic): Removed unnecessary type-cast,
14332         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14333         (getDisplayedMnemonicIndex): Updated API docs.
14334
14335 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14336
14337         * java/util/Collections (entrySet): Fixed compile error.
14338
14339 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14340
14341         * javax/swing/DefaultListSelectionModel.java
14342         (getSelectionMode): Updated API docs,
14343         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14344         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14345         setSelectionInterval(),
14346         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14347         SINGLE_INTERVAL_SELECTION cases.
14348
14349 2006-06-21  Roman Kennke  <kennke@aicas.com>
14350
14351         * javax/swing/text/AbstractDocument.java
14352         (BranchElement.numChildren): New field.
14353         (BranchElement.BranchElement): Initialize children array with
14354         one element (that's the least number of elements that makes sense).
14355         Initialize numChildren.
14356         (BranchElement.children): Use numChildren as boundary.
14357         (BranchElement.getElement): Use numChildren as boundary.
14358         (BranchElement.getElementCount): Use numChildren as boundary.
14359         (BranchElement.getElementIndex): Use numChildren as boundary.
14360         (BranchElement.getEndOffset): Use numChildren as boundary.
14361         (BranchElement.getStartOffset): Use numChildren as boundary.
14362         (BranchElement.positionToElement): Use numChildren as boundary.
14363         (BranchElement.replace): Handle the children array more efficiently
14364         by growing in blocks > 1, and reusing space from removed elements.
14365         (LeafElement.startDelta): Removed.
14366         (LeafElement.endDelta): Removed.
14367         (LeafElement.LeafElement): Removed handling of deltas.
14368         (LeafElement.getEndOffset): Likewise.
14369         (LeafElement.getStartOffset): Likewise.
14370         * javax/swing/text/JTextComponent.java
14371         (setDocument): Added locking of the old document to avoid dangling
14372         notification beeing delivered while the document is beeing
14373         disconnected.
14374         (getScrollableTracksViewportWidth): Fixed condition.
14375         * javax/swing/text/PlainDocument.java
14376         (createDefaultRoot): Create elements without AttributeSet.
14377         * javax/swing/text/rtf/RTFParser.java
14378         (parseFile): Handle slightly incorrect RTF gracefully.
14379         * javax/swing/text/rtf/RTFScanner.java
14380         (lastToken): New field.
14381         (readTokenImpl): New method.
14382         (peekToken): New method.
14383         (readToken): Changed to call readTokenImpl or return the lastToken
14384         if there's one present.
14385
14386 2006-06-21  Tania Bento  <tbento@redhat.com>
14387
14388         * javax/swing/JMenu.java
14389         (remove): An IllegalArgumentException should be thrown if
14390         either index < 0 or if index > 0 and there are no menu
14391         components. Also, a check was added that ensures there are
14392         menu components before removing the desired the component.
14393
14394 2006-06-21  Lillian Angel  <langel@redhat.com>
14395
14396         * javax/swing/text/DefaultCaret.java
14397         (install): Added check to prevent NPE.
14398         (propertyChange): Added checks to prevent NPEs.
14399
14400 2006-06-21  Tania Bento  <tbento@redhat.com>
14401
14402         * javax/swing/JMenu.java
14403         Changed instantiation of popupMenu to null.
14404         (JMenu): Instantiated popupMenu to new JPopupMenu.
14405         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14406         (add): Changed popupMenu to getPopupMenu().
14407         (add): Changed popupMenu to getPopupMenu().
14408         (add): Changed popupMenu to getPopupMenu().
14409         (add): Changed popupMenu to getPopupMenu().
14410         (remove): Changed popupMenu to getPopupMenu().
14411         (remove): Changed popupMenu to getPopupMenu().
14412         (insert): Changed popupMenu to getPopupMenu().
14413         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14414         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14415         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14416         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14417         (getMenuComponents): Changed popupMenu to getPopupMenu().
14418         (getPopupMenu): Check first if popupMenu is null and if so,
14419         instantiate it to a new JPopupMenu and set the invoker.
14420         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14421         (popupMenuWillBecomeVisible): Component Listener should only
14422         be added to the root container if the root container is not 
14423         null. This avoids a null pointer exception.
14424
14425 2006-06-21  Tania Bento  <tbento@redhat.com>
14426
14427         * javax/swing/JMenu.java
14428         (JMenu): Delay should be set to 200, not default of 0.
14429         (JMenu): Delay should be set to 200, not default of 0.
14430         (JMenu): Delay should be set to 200, not default of 0.
14431         (JMenu): Delay should be set to 200, not default of 0.  
14432         (remove): Added check that index >= 0 before removing
14433         the component.
14434         (getItem): Return null if item count equals 0.
14435         (isTearOff): Should throw new error and not return false.
14436         (getMenuComponent): Return null if popupMenu is null or
14437         if there are no menu components.
14438
14439 2006-06-21  Roman Kennke  <kennke@aicas.com>
14440
14441         * java/awt/font/FontRenderContext.java:
14442         (equals): Added special conditions for affineTransform beeing
14443         null.
14444
14445 2006-06-21  Roman Kennke  <kennke@aicas.com>
14446
14447         * javax/swing/UIManager.java
14448         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14449         must not be cleared.
14450
14451 2006-06-21  Roman Kennke  <kennke@aicas.com>
14452
14453         * javax/swing/plaf/metal/MetalUtils.java
14454         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14455         Graphics2D is available. Use fillRect instead of drawLine, this
14456         is much faster.
14457         (paintVerticalGradient): Use paintHorizontalGradient2D when
14458         Graphics2D is available. Use fillRect instead of drawLine, this
14459         is much faster.
14460         (paintHorizontalGradient2D): New method. Paints gradient
14461         using Graphics2D functions.
14462         (paintVerticalGradient2D): New method. Paints gradient
14463         using Graphics2D functions.
14464
14465 2006-06-21  Roman Kennke  <kennke@aicas.com>
14466
14467         * javax/swing/plaf/basic/BasicButtonListener.java
14468         (propertyChange): Create a TextLayout and store it in the button
14469         when the 'text' property changes.
14470         * javax/swing/plaf/basic/BasicButtonUI.java
14471         (paintText): Call BasicGraphicsUtils utility method for
14472         drawing strings, instead of Graphics.drawString().
14473         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14474         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14475         cached text layouts as client properties in JComponents.
14476         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14477         (drawStringUnderlineCharAt): New helper method.
14478         * javax/swing/plaf/basic/BasicMenuItemUI.java
14479         (PropertyChangeHandler.propertyChange): Update cached text layout
14480         when 'text' property changes. Use equals() instead of == for
14481         string comparison.
14482         (paintText): Use new BasicGraphicsUtils methods for painting
14483         the cached text layout.
14484         (installListeners): Call super.installListeners() and remove
14485         the unneeded listener installs.
14486         (uninstallListeners): Call super.uninstallListeners() and remove
14487         the unneeded listener uninstalls.
14488
14489 2006-06-21  Roman Kennke  <kennke@aicas.com>
14490
14491         * javax/swing/plaf/basic/BasicTextUI.java
14492         (PropertyChangeHandler.propertyChange): Handle document listener
14493         update here.
14494         (background): Removed unneeded fields.
14495         (inactiveBackground): Remove unneeded fields.
14496         (installUI): Install the document listener. Slightly changed
14497         order of operations. Don't trigger modelChanged().
14498         (installDefaults): Only install properties when the
14499         current properties are null or instances of UIResource.
14500         (installListeners): Removed unnecessary listener installs.
14501         (installDocumentListeners): Removed unneeded method.
14502         (uninstallListeners): Removed unnecessary listener uninstalls.
14503         (modelChanged): Removed call to installDocumentListeners().     
14504         * javax/swing/plaf/basic/BasicTextFieldUI.java
14505         (propertyChange): Update the colors by fetching them from
14506         SharedUIDefaults. Fixed conditions.
14507         * javax/swing/plaf/basic/SharedUIDefaults.java
14508         (getColor): New method.
14509
14510 2006-06-21  Roman Kennke  <kennke@aicas.com>
14511
14512         * javax/swing/SizeSequence.java
14513         (SizeSequence): Initialize array with correct number of entries.
14514
14515 2006-06-21  Roman Kennke  <kennke@aicas.com>
14516
14517         * javax/swing/JSplitPane.java
14518         (setDividerLocation): Substract divider size when computing
14519         the absolute size.
14520
14521 2006-06-21  Roman Kennke  <kennke@aicas.com>
14522
14523         * javax/swing/JComponent.java
14524         (paintChildrenWithOverlap): Determine opaque property by
14525         calling the corresponding Component method, without requiring
14526         a JComponent.
14527         (paintChildrenOptimized): Removed old unneeded code.
14528         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14529         method instead of SwingUtilities.convertRectangle(). This is
14530         more efficient.
14531
14532 2006-06-21  Roman Kennke  <kennke@aicas.com>
14533
14534         * javax/swing/AbstractButton.java
14535         (init): Call setText() instead of setting the property directly,
14536         so that listeners (especially in the UI) get notified.
14537
14538 2006-06-21  Roman Kennke  <kennke@aicas.com>
14539
14540         * javax/swing/UIManager.java
14541         (MultiplexUIDefaults): New inner class.
14542         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14543         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14544         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14545         directly. Print stacktrace if something goes wrong.
14546         (get): Delegate call to currentUIDefaults.
14547         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14548         it.
14549         (getUI): Delegate call to currentUIDefaults.
14550         (put): Delegate call to currentUIDefaults.
14551         (setLookAndFeel): Initialize currentUIDefaults with
14552         MultiplexUIDefaults. Set lookAndFeelDefaults.
14553         (setLookAndFeel): Use current thread's context classloader for
14554         loading the L&F.
14555
14556 2006-06-21  Roman Kennke  <kennke@aicas.com>
14557
14558         * javax/swing/text/GapContent.java
14559         (GapContentPosition.GapContentPosition): Replace
14560         Collections.binarySearch with call to local search() to make
14561         sure we find the first object that equals the searched object.
14562         (setPositionsInRange): Likewise.
14563         (adjustPositionsInRange): Likewise.
14564         (search): New helper method.
14565
14566 2006-06-21  Gary Benson  <gbenson@redhat.com>
14567
14568         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14569         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14570         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14571
14572 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14573
14574         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14575         APPLETVIEWER_EXECUTABLE to gappletviewer.
14576
14577 2006-06-20  Tom Tromey  <tromey@redhat.com>
14578
14579         PR classpath/28095:
14580         * java/net/URL.java (URL): Throw MalformedURLException if a
14581         RuntimeException is caught.  Chain exceptions.
14582
14583 2006-06-20  Lillian Angel  <langel@redhat.com>
14584
14585         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14586         (create): Added check to prevent Seg Fault. Should not
14587         set the label if it is null.
14588         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14589         (setText): Changed to be a non-native function. Calls
14590         setNativeText if the String parameter is non-null.
14591         (setNativeText): Replaces old native setText function.
14592         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14593         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14594         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14595         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14596         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14597         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14598
14599 2006-06-20  Lillian Angel  <langel@redhat.com>
14600
14601         * javax/swing/text/JTextComponent.java
14602         (AccessibleJTextComponent): Rewrote all javadocs
14603         for this inner class.
14604
14605 2006-06-20  Francis Kung  <fkung@redhat.com>
14606
14607         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14608         Changed many members to be protected.
14609         (J2dBenchmark): moved to init() instead.
14610         (init): New method.
14611         (main): Call init() after creating object
14612         (testComplete): New method.
14613         (test_drawArc): Use maxTests varialbe instead of constant.
14614         (test_drawCubicCurve): Likewise.
14615         (test_drawEllipse): Likewise.
14616         (test_drawGeneralPath): Likewise.
14617         (test_drawImage): Likewise.
14618         (test_drawLine): Likewise.
14619         (test_drawQuadCurve): Likewise.
14620         (test_drawRectangle): Likewise.
14621         (test_drawRoundRectangle): Likewise.
14622         (test_drawTransparentImage): Likewise.
14623         (test_fillArc): Likewise.
14624         (test_fillEllipse): Likewise.
14625         (test_fillGeneralPath): Likewise.
14626         (test_fillRectangle): Likewise.
14627         (test_fillRoundRectangle): Likewise.
14628         (GraphicsTest.runSetNoClipping): Added runCount parameter.
14629         (GraphicsTest.runSetWithClipping): Likewise.
14630         (GraphicsTest.runSetZeroClipping): Likewise.
14631         (GraphicsTest.run): Added checks for more option flags.
14632         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14633         New file.
14634
14635 2006-06-20  Roman Kennke  <kennke@aicas.com>
14636
14637         * javax/swing/text/GapContent.java
14638         (GapContentPosition.mark): New field.
14639         (GapContentPosition.index): Removed.
14640         (GapContentPosition.GapContentPosition): Changed to take the
14641         real offset as parameter. Added handling of reference counter.
14642         Try to cleanup before creating new instances.
14643         (getOffset): Delegate to the Mark method with same name.
14644         (Mark): New class, encapsulating a mark.
14645         (positionMarks): Removed field.
14646         (numMarks): Removed field.
14647         (marks): New field.
14648         (queueOfDeath): New field.
14649         (GapContent): Removed init of old fields, added init of new fields.
14650         (createPosition): Added check for validity of arguments.
14651         Create GapContentPosition directly with offset.
14652         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14653         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14654         (shiftGapStartDown): Call resetMarksAtZero().
14655         (shiftGapEndUp): Call resetMarksAtZero().
14656         (replace): Don't call resetMarksAtZero().
14657         (setPositionInRange): Replaced by simpler algorithm, similar to
14658         adjustPositionsInRange.
14659         (adjustPositionsInRange): Adapted to use of Mark objects.
14660         (resetMarksAtZero): Reset all marks that point to zero instead
14661         of only the first one.
14662         (dumpMarks): Adjusted to dump Mark objects.
14663         (insertMark): Removed.
14664         (garbageCollect): New method. Cleans up the marks list.
14665         (binarySearch): Removed.
14666
14667 2006-06-20  Lillian Angel  <langel@redhat.com>
14668
14669         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14670         (drawImage): Added call to updateColor because
14671         Cairo seems to lose the current color.
14672
14673 2006-06-20  Gary Benson  <gbenson@redhat.com>
14674
14675         * java/awt/Toolkit.java: Add security check.
14676         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14677         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14678
14679 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
14680
14681         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14682         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14683         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14684         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14685         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14686         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14687         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14688         * gnu/java/security/key/dss/FIPS186.java: Likewise.
14689         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14690         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14691         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14692         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14693         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14694         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14695         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14696         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14697         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14698         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14699         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14700
14701 2006-06-19  Lillian Angel  <langel@redhat.com>
14702
14703         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14704         (drawImage): Should always use getRGB to get the pixels.
14705         getData returns an incorrect array of pixels.
14706
14707 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14708
14709         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14710         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14711         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14712         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14713         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14714         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14715         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14716         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14717         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14718         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14719         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14720         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14721         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14722         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14723         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14724         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14725         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14726         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14727         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14728         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14729         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14730         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14731         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14732         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14733         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14734         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14735         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14736         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14737         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14738         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14739         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14740         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14741         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14742         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14743         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14744         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14745
14746 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14747
14748         * NEWS: Updated (delayed) for security tools and tools.texinfo.
14749
14750 2006-06-19  Roman Kennke  <kennke@aicas.com>
14751
14752         * gnu/java/awt/peer/gtk/ComponentGraphics.java
14753         (drawImage): Clip volatile image correctly.
14754         (drawVolatileImage): Added arguments for clipping.
14755         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14756         (drawVolatileImage): Added arguments for clipping. Clip image
14757         correctly.
14758         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14759
14760 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14761
14762         PR 28035
14763         * java/rmi/server/UID.java (constructor): Synchronized
14764         the whole constructor on the UID class.
14765
14766 2006-06-19  Roman Kennke  <kennke@aicas.com>
14767
14768         * javax/swing/RepaintManager.java
14769         (addInvalidComponent): Only add component that are displayable,
14770         that have displayable parents and that have a validateRoot.
14771         Also, don't validate components that have a CellRendererPane
14772         ancestor.
14773
14774 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
14775
14776         * javax/swing/plaf/IconUIResource.java
14777         (IconUIResource): Throw IllegalArgumentException for null icon.
14778
14779 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14780
14781         PR 28035
14782         * java/rmi/server/UID.java (constructor): First increment
14783         uidCounter, and then use the value.
14784
14785 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
14786
14787         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14788         * java/awt/GridBagConstraints.java: Indent.
14789
14790 2006-06-18  Tom Tromey  <tromey@redhat.com>
14791
14792         * native/jni/gconf-peer/.cvsignore: New file.
14793
14794 2006-06-18  Tom Tromey  <tromey@redhat.com>
14795
14796         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14797         Also handle short options.
14798
14799 2006-06-18  Jim Huang  <jserv@kaffe.org>
14800
14801         PR classpath/28076:
14802         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14803         Fixed typo.
14804
14805 2006-06-19  Mark Wielaard  <mark@klomp.org>
14806
14807         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14808         on gnu/java/util/prefs/gconf/%.class.
14809         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14810         chache typo, should be cache.
14811         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14812         Declare tmp early.
14813         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14814         Likewise.
14815         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14816         Don't return a value for void function.
14817         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14818         Likewise.
14819         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14820         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
14821         function.
14822         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14823         Mark clazz ad unused.
14824
14825 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14826
14827         * gnu/java/security/hash/Whirlpool.java: Source formatting.
14828         * gnu/java/security/hash/Tiger.java: Likewise.
14829         * gnu/java/security/hash/Sha512.java: Likewise.
14830         * gnu/java/security/hash/Sha384.java: Likewise.
14831         * gnu/java/security/hash/Sha256.java: Likewise.
14832         * gnu/java/security/hash/Sha160.java: Likewise.
14833         * gnu/java/security/hash/RipeMD160.java: Likewise.
14834         * gnu/java/security/hash/RipeMD128.java: Likewise.
14835         * gnu/java/security/hash/MD5.java: Likewise.
14836         * gnu/java/security/hash/MD4.java: Likewise.
14837         * gnu/java/security/hash/MD2.java: Likewise.
14838         * gnu/java/security/hash/IMessageDigest.java: Likewise.
14839         * gnu/java/security/hash/Haval.java: Likewise.
14840         * gnu/java/security/hash/HashFactory.java: Likewise.
14841         * gnu/java/security/hash/BaseHash.java: Likewise.
14842
14843 2006-06-18  Sven de Marothy  <sven@physto.se>
14844
14845         * java/awt/event/KeyEvent.java:
14846         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14847         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14848         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14849
14850 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14851
14852         * gnu/java/security/util/Prime2.java: Removed.
14853         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14854         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14855         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14856         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14857         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14858         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14859         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14860         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14861         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14862         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14863         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14864         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14865
14866 2006-06-18  Sven de Marothy  <sven@physto.se>
14867
14868         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14869         * java/awt/font/TextMeasurer.java: Fix copyright date, 
14870         remove commented-out code.
14871
14872 2006-06-18  Sven de Marothy  <sven@physto.se>
14873
14874         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14875         (FreetypeGlyphVector, clone): Implement cloning.
14876         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14877         * java/awt/font/TextMeasurer.java: Implement.
14878         * java/awt/font/LineBreakMeasurer.java: 
14879         Reimplement to use TextMeasurer.
14880         * java/awt/font/TextLayout.java
14881         New constructors.
14882         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14883         (getText, getFont): New private static methods.
14884         (setCharIndices): New method.
14885         * java/text/AttributedString.java
14886         (AttributedString): Fix constructor to stop at end point.
14887         
14888 2006-06-17  Tom Tromey  <tromey@redhat.com>
14889
14890         * lib/gen-classlist.sh.in: Search all top-level directories, not
14891         just 'org', in external.
14892
14893 2006-06-12  Mario torre  <neugens at limasoftware.net>
14894
14895         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14896         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14897         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14898         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14899         header file.
14900         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14901         * configure.ac: update to introduce new files. Added options
14902         to build gconf native peer used by the GConf preference backend.
14903         * include/Makefile.am: update to introduce new files.
14904         * native/jni/Makefile.am update to introduce new files.
14905         * scripts/check_jni_methods.sh: added three new ignored file
14906         from check.
14907         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14908         build gconf-peer shared library.
14909
14910 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14911
14912         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14913         Use Integer.valueOf() instead of new Integer().
14914         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14915         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14916         * gnu/java/security/util/Sequence.java: Likewise.
14917         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14918         * gnu/java/security/x509/X509Certificate.java: Likewise.
14919         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14920         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14921         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14922         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14923         * gnu/javax/crypto/cipher/DES.java: Likewise.
14924         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14925         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14926         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14927         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14928         * gnu/javax/crypto/cipher/Square.java: Likewise.
14929         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14930         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14931         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14932         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14933         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14934         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14935         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14936         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14937         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14938         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14939         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14940         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14941         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14942         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14943         * gnu/javax/crypto/mac/UHash32.java: Likewise.
14944         * gnu/javax/crypto/mac/UMac32.java: Likewise.
14945         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14946         * gnu/javax/crypto/mode/EAX.java: Likewise.
14947         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14948         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14949         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14950         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14951         * java/security/cert/X509CertSelector.java: Likewise.
14952
14953 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14954
14955         * javax/management/DynamicMBean.java:
14956         (setAttribute): Fixed to return void.
14957         * javax/management/MBeanFeatureInfo.java:
14958         New file.
14959         
14960 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14961
14962         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14963         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14964         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14965         into engineInitHandler and reuse the code in
14966         engineInit(int, Key, AlgorithmSpec, SecureRandom).
14967         (engineInitHandler): New method.
14968         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14969         null, use random or default information when possible.
14970
14971 2006-06-16  Francis Kung  <fkung@redhat.com>
14972
14973         * examples/gnu/classpath/examples/swing/Demo.java:
14974         (mkButtonBar): Rename FillRect to JNIOverhead.
14975         (mkMenuBar): Rename FillRect to JNIOverhead.
14976         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
14977         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
14978         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
14979         Moved from old FillRect.
14980
14981 2006-06-16  Tom Tromey  <tromey@redhat.com>
14982
14983         * tools/.cvsignore: Added new tool names.
14984
14985 2006-06-16  Keith Seitz  <keiths@redhat.com>
14986
14987         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
14988         instantiation so that EventManager is created when getDefault
14989         is first called.
14990         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
14991         of EventManager.
14992
14993 2006-06-16  Keith Seitz  <keiths@redhat.com>
14994
14995         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
14996         (_initCount): New field.
14997         (Jdwp): Don't set isDebugging until fully initialized.
14998         (subcomponentInitialized): New method.
14999         (run): Wait for PacketProcessor and JdwpConnection to
15000         startup, then set isDebugging, and then let this thread
15001         die.
15002         * gnu/classpath/jdwp/transport/JdwpConnection.java
15003         (run): Add synchronization notification.
15004         * gnu/classpath/jdwp/processor/PacketProcessor.java
15005         (run): Likewise.
15006
15007 2006-06-16  Tom Tromey  <tromey@redhat.com>
15008
15009         * NEWS: Updated for JSR 166.
15010
15011 2006-06-16  Tom Tromey  <tromey@redhat.com>
15012
15013         * lib/Makefile.am (compile_classpath): Added jsr166.
15014         * configure.ac: Added external/jsr166/Makefile.
15015         * external/Makefile.am (SUBDIRS): Added jsr166.
15016         * external/jsr166/Makefile.am: New file.
15017         * lib/gen-classlist.sh.in: Look in external/jsr166.
15018
15019 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15020
15021         * gnu/classpath/jdwp/event/ExceptionEvent:
15022         Added Object instance to javadoc in constructor
15023         * gnu/classpath/jdwp/event/MethodEntryEvent:
15024         Ditto.
15025         * gnu/classpath/jdwp/event/MethodExitEvent:
15026         Ditto,
15027         * gnu/classpath/jdwp/event/SingleStepEvent:
15028         Ditto. 
15029
15030 2006-06-16  Tom Tromey  <tromey@redhat.com>
15031
15032         Imported JSR 166 reference implementation:
15033         * .classpath: Added external/jsr166.
15034         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15035         * java/util/AbstractQueue.java: Removed.
15036         * java/util/Queue.java: Removed.
15037         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15038         (runPeriodic): Added explicit cast.
15039         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15040         elements.clone.
15041
15042 2006-06-16  Tom Tromey  <tromey@redhat.com>
15043
15044         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15045         Removed.
15046         (getCallerClass): Now static.
15047         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15048
15049 2006-06-16  Lillian Angel  <langel@redhat.com>
15050
15051         * java/awt/FileDialog.java
15052         (FileDialog): Added @since tag to API docs.
15053         (FileDialog): Likewise.
15054         (FileDialog): Likewise.
15055         * java/awt/Font.java:
15056         Added @since tag to TYPE1_FONT field docs.
15057         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15058         (isThumbRollover): Likewise.
15059         (setThumbRollover): Likewise.
15060         (getSupportsAbsolutePositioning): Likewise.
15061         * javax/swing/plaf/basic/BasicSliderUI.java:
15062         (isDragging): Likewise.
15063
15064 2006-06-16  Lillian Angel  <langel@redhat.com>
15065
15066         * java/awt/FileDialog.java
15067         (FileDialog): Implemented.
15068         (FileDialog): Implemented.
15069         (FileDialog): Implemented.
15070         * java/awt/Font.java:
15071         Added TYPE1_FONT constant field.
15072
15073 2006-06-16  Lillian Angel  <langel@redhat.com>
15074
15075         * java/awt/font/TextLayout.java:
15076         Removed unneeded imports.
15077         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15078         Added new thumbRollover field.
15079         (mouseMoved): Added code to set thumbRollover field.
15080         (isThumbRollover): New function.
15081         (setThumbRollover): New function.
15082         (getSupportsAbsolutePositioning): Implemented. This
15083         needs to be changed once the feature has been 
15084         implemented.
15085         * javax/swing/plaf/basic/BasicSliderUI.java:
15086         Added new dragging field.
15087         (mouseDragged): Initialized dragging field.
15088         (isDragging): New function.
15089         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15090         (focusGained): Marked as not implemented.
15091         (focusLost): Likewise.
15092
15093 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15094
15095         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15096         Added check for null ThreadId to avoid null pointer
15097         exception.
15098
15099 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15100
15101         * javax/swing/DefaultComboBoxModel.java
15102         (removeElementAt): Set new selected item by calling setSelectedItem().
15103
15104 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15105
15106         * javax/swing/DefaultButtonModel.java
15107         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15108
15109 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15110
15111         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15112         (ListDataEvent): Handle case where index0 > index1,
15113         (toString): Implemented.
15114
15115 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15116
15117         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15118         (update): Added subexpression to if-statement.
15119
15120 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15121
15122         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15123         (installDefaults): Removed unneccessary code.
15124         (paint): Removed complex if-cascade, revert to default icon if
15125         icon property is not set.
15126         (getPreferredSize): New method.
15127
15128 2006-06-16  Roman Kennke  <kennke@aicas.com>
15129
15130         PR 28027
15131         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15132         (drawImage): Don't use setClip() but instead clipRect() to
15133         intersect the current clip with a new one.
15134
15135 2006-06-15  Tom Tromey  <tromey@redhat.com>
15136
15137         * scripts/sanitize-jsr166: New file.
15138         * external/jsr166/IMPORTING: New file.
15139         * vm/reference/sun/reflect/Reflection.java: New file.
15140         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15141         * vm/reference/sun/misc/Unsafe.java: ...here.
15142
15143 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15144
15145         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15146         gjarsigner and keytool to gkeytool.
15147         * doc/tools.texinfo: Add note about tool exectable names.
15148         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15149         jarsigner to gjarsigner and keytool to gkeytool.
15150         * tools/appletviewer.in: Rename ...
15151         * tools/gappletviewer.in: New file.
15152         * tools/jarsigner.in: Rename ...
15153         * tools/gjarsigner.in: New file.
15154         * tools/keytool.in: Rename ...
15155         * tools/gkeytool.in: New file.
15156         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15157
15158 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15159
15160         * javax/management/AttributeList.java:
15161         Add serialization UID.
15162         * javax/management/DynamicMBean.java:
15163         New file.
15164         * javax/management/JMRuntimeException.java:
15165         Add serialization UID and correct name
15166         of serialized field.
15167         * javax/management/MBeanInfo.java: New file.
15168         
15169 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15170
15171         * javax/management/AttributeList.java,
15172         * javax/management/JMRuntimeException.java,
15173         * javax/management/RuntimeOperationsException.java:
15174         New files.
15175         
15176 2006-06-15  Lillian Angel  <langel@redhat.com>
15177
15178         * java/awt/font/TextLayout.java:
15179         DEFAULT_CARET_POLICY changed to be public static final.
15180
15181 2006-06-15  Tania Bento  <tbento@redhat.com>
15182
15183         * javax/swing/plaf/metal/MetalScrollButton.java
15184         (MetalScrollButton): Should set 'focusable' to false.
15185
15186 2006-06-15  Tania Bento  <tbento@redhat.com>
15187
15188         * javax/swing/plaf/basic/BasicArrowButton.java
15189         (BasicArrowButton): Should set 'focusable' to false.
15190         (BasicArrowButton): Should set 'focusable' to false.
15191
15192 2006-06-15  Mark Wielaard  <mark@klomp.org>
15193
15194         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15195         (getGraphicsConfiguration): Return default screen device.
15196         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15197         New field.
15198         (GtkVolatileImage): Record initiating component.
15199         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15200         (getDeviceConfiguration): Return configuration of image component.
15201
15202 2006-06-15  Mark Wielaard  <mark@klomp.org>
15203
15204         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15205         closed.
15206
15207 2006-06-15  Mark Wielaard  <mark@klomp.org>
15208
15209         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15210         with null argument.
15211
15212 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15213
15214         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15215         (matches): Added explicit brackets to return statement.
15216
15217 2006-06-15  Tania Bento  <tbento@redhat.com>
15218
15219         * javax/swing/JRadioButtonMenuItem.java
15220         (JRadioButtonMenuItem): Should set 'focusable' to false.
15221
15222 2006-06-15  Tania Bento  <tbento@redhat.com>
15223
15224         * javax/swing/JCheckBoxMenuItem.java
15225         (JCheckBoxMenuItem): Should set 'focusable' to false.
15226
15227 2006-06-15  Tania Bento  <tbento@redhat.com>
15228
15229         * javax/swing/AbstractButton.java:
15230         (AbstractButton): 'Focusable' should be set to true and not false.
15231
15232 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15233
15234         * java/lang/management/ManagementFactory.java:
15235         Add private constructor to prevent instance creation.
15236         * java/lang/management/ManagementPermission.java:
15237         Make final.
15238         
15239 2006-06-15  Francis Kung  <fkung@redhat.com>
15240
15241         * javax/swing/plaf/basic/BasicArrowButton.java:
15242         (BasicArrowButton): move client property for not triggering out 
15243         of consturctor
15244         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15245         (configureArrowButton): set client property for not triggering
15246         (installUI): set client property for not triggering
15247         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15248         (PopupHelper.mousePressed): check client property for triggering
15249
15250 2006-06-15  Roman Kennke  <kennke@aicas.com>
15251
15252         PR 28037
15253         * javax/swing/RepaintManager.java
15254         (blitBuffer): Substract coordinates the other way around.
15255
15256 2006-06-15  Roman Kennke  <kennke@aicas.com>
15257
15258         PR 28027
15259         * javax/swing/JComponent.java
15260         (paintImmediately2): Only paint component without double buffering
15261         when all of it's parents have also double buffering disabled.
15262         (isPaintingDoubleBuffered): New helper method.
15263
15264 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15265
15266         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15267         (draw(Shape)): Pass null transform to getPathIterator(),
15268         (getClip): Likewise,
15269         * gnu/java/print/PostscriptGraphics2D.java
15270         (drawStringShape): Pass null transform to getPathIterator(),
15271         (writeShape): Likewise,
15272         * java/awt/Shape.java: Small updates to API docs.
15273
15274 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15275
15276         * javax/naming/InitialContext.java:
15277         (list(javax.naming.Name)): Fixed generic type.
15278         (list(String)): Likewise.
15279         (listBindings(javax.naming.Name)): Likewise.
15280         (listBindings(String)): Likewise.
15281         
15282 2006-06-14  Roman Kennke  <kennke@aicas.com>
15283
15284         * javax/swing/plaf/basic/BasicComboBoxUI.java
15285         (getAccessibleChildrenCount): Implemented.
15286         (getAccessibleChild): Implemented.
15287         (isNavigationKey): Implemented.
15288         (KeyHandler.keyPressed): Implemented.
15289
15290 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15291
15292         * java/lang/management/ManagementPermission.java:
15293         Added serialization UID.
15294         * javax/management/Attribute.java: Likewise.
15295         * javax/management/MBeanException.java,
15296         * javax/management/ReflectionException.java:
15297         Added serialization UID and changed to extend
15298         javax.management.JMException.
15299         
15300 2006-06-14  Lillian Angel  <langel@redhat.com>
15301
15302         * java/awt/Component.java
15303         (ignoreOldMouseEvents): Made static.
15304         (translateEvent): Made static.
15305         * java/awt/TextComponent.java
15306         (ignoreOldMouseEvents): Made static.
15307
15308 2006-06-14  Mark Wielaard  <mark@klomp.org>
15309
15310         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15311         call super.
15312         (drawRect): Likewise.
15313         (fillRect): Likewise.
15314
15315 2006-06-14  Lillian Angel  <langel@redhat.com>
15316
15317         * java/awt/Component.java
15318         (ignoreOldMouseEvents): New helper function.
15319         (translateEvent): Changed to be non-static and use new helper.
15320         * java/awt/TextComponent.java
15321         (ignoreOldMouseEvents): New helper function.
15322
15323 2006-06-14  Roman Kennke  <kennke@aicas.com>
15324
15325         * javax/swing/RepaintManager.java
15326         (MERGE_REGIONS): New constant flag.
15327         (commitBuffer): Exclude the merging of regions by default. This
15328         was causing painting artifacts in some applications, especially
15329         when different areas of the GUI are updated synchronously.
15330
15331 2006-06-14  Roman Kennke  <kennke@aicas.com>
15332
15333         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15334         New file. This is a benchmark for AWT 1.1 style graphics operations.
15335         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15336         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15337
15338 2006-06-14  Tom Tromey  <tromey@redhat.com>
15339
15340         * java/io/File.java (getParent): Javadoc fix.
15341
15342 2006-06-14  Tom Tromey  <tromey@redhat.com>
15343
15344         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15345         jar.
15346         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15347         when index entry does not exist.
15348
15349 2006-06-14  Tania Bento  <tbento@redhat.com>
15350
15351         * javax/swing/AbstractButton.java
15352         (AbstractButton): Set focusable to false, not true.
15353
15354 2006-06-14  Tania Bento  <tbento@redhat.com>
15355
15356         * javax/swing/JMenuItem.java
15357         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15358
15359 2006-06-14  Tania Bento  <tbento@redhat.com>
15360
15361         * javax/swing/JCheckBoxMenuItem.java
15362         (JCheckBoxMenuItem): Added check to set the selected state.
15363
15364 2006-06-14  Roman Kennke  <kennke@aicas.com>
15365
15366         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15367         (cairoDrawLine): New native method.
15368         (cairoDrawRect): New native method.
15369         (cairoFillRect): New native method.
15370         (drawLine): Use special native method.
15371         (drawRect): Use special native method.
15372         (fillRect): Use special native method.
15373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15374         (cairoDrawLine): New native method.
15375         (cairoDrawRect): New native method.
15376         (cairoFillRect): New native method.
15377         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15378
15379 2006-06-14  Mark Wielaard  <mark@klomp.org>
15380
15381         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15382         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15383         cannot be allocated.
15384
15385 2006-06-14  Tom Tromey  <tromey@redhat.com>
15386
15387         PR java/28024:
15388         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15389         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15390
15391 2006-06-14  Roman Kennke  <kennke@aicas.com>
15392
15393         * javax/swing/JComponent.java
15394         (isRepainting): New flag.
15395         (paintImmediately2): Set isRepainting flag.
15396         (getRoot): Removed obsolete method.
15397         (paintDoubleBuffered): Differenciate between paint calls from
15398         RepaintManager and from AWT refresh. Call
15399         RepaintManager.commitBuffer with this and local coordinates.
15400         (findOpaqueParent): Stop searching at heavyweight component. These
15401         are always opaque.
15402         (paintChildrenOptimized): Don't paint heavyweight children. These
15403         should care for themselves.
15404         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15405         should care for themselves.
15406         * javax/swing/RepaintManager.java
15407         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15408         windows only.
15409         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15410         toplevel windows only.
15411         (getRoot): Removed obsolete method.
15412         (commitBuffer): Blit buffer on nearest heavyweight.
15413         (blitBuffer): New helper method.
15414         (getHeavyweightParent): New helper method.
15415         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15416         * javax/swing/SwingUtilities.java
15417         (convertRectangleToAncestor): New helper method.
15418
15419 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15420
15421         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15422         Condition all trace/debug code based on Configuration.DEBUG.
15423         Use logger instead of STDOUT and ot STDERR.
15424
15425 2006-06-13  Lillian Angel  <langel@redhat.com>
15426
15427         * native/plugin/gcjwebplugin.cc
15428         (NP_Initialize): Removed code to create whitelist file.
15429         (GCJ_New): Added code to create whitelist file.
15430         (plugin_user_trusts_documentbase): Fixed error message.
15431
15432 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15433
15434         * javax/swing/plaf/metal/MetalIconFactory.java
15435         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15436         prevent overwriting border,
15437         (VerticalSliderThumbIcon.gradientMask): Likewise.
15438
15439 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15440
15441         * javax/management/AttributeNotFoundException.java,
15442         * javax/management/InvalidAttributeValueException.java,
15443         * javax/management/JMException.java,
15444         * javax/management/MBeanException.java,
15445         * javax/management/OperationsException.java,
15446         * javax/management/ReflectionException.java:
15447         New files.
15448         
15449 2006-06-13  Roman Kennke  <kennke@aicas.com>
15450
15451         * java/awt/Component.java
15452         (dispatchEvent): Handle events even when consumed (this might be
15453         picked up later in the dispatching chain).
15454         * javax/swing/plaf/basic/BasicLookAndFeel.java
15455         (PopupHelper.mousePressed): Don't consume event. Only close popup
15456         when target component isn't flagged as DONT_CANCEL_POPUP.
15457         (DONT_CANCEL_POPUP): New package private constant for flagging
15458         special components that don't trigger popup closing.
15459         * javax/swing/plaf/basic/BasicArrowButton.java
15460         (BasicArrowButton): Set client property for not triggering closing
15461         of popups.
15462
15463 2006-06-13  Lillian Angel  <langel@redhat.com>
15464
15465         * java/awt/image/PixelGrabber.java
15466         (PixelGrabber): Added to API documentation.
15467
15468 2006-06-13  Keith Seitz  <keiths@redhat.com>
15469
15470         From Kyle Galloway  <kgallowa@redhat.com>:
15471         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15472         (ExceptionOnlyFilter): Allow null refId.
15473
15474         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15475         compatibility with filters.
15476         (getParameter): Modified to allow access to above. 
15477
15478 2006-06-13  Sven de Marothy  <sven@physto.se>
15479
15480         * gnu/java/awt/peer/gtk/CairoSurface.java
15481         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15482         (create): Use stride in ints.
15483
15484 2006-06-13  Keith Seitz  <keiths@redhat.com>
15485
15486         From Kyle Galloway  <kgallowa@redhat.com>:
15487         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15488
15489 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15490
15491         * javax/swing/plaf/basic/BasicSliderUI.java
15492         (calculateThumbSize): Removed unnecessary code,
15493         (calculateThumbLocation): Shift position by one,
15494         (calculateTickRect): Shift position by one when ticks are displayed,
15495         (calculateLabelRect): Calculate rect differently according to whether
15496         or not the labels are visible,
15497         (paintTrack): Shift track down one pixel.
15498
15499 2006-06-13  Lillian Angel  <langel@redhat.com>
15500
15501         * java/awt/image/PixelGrabber.java
15502         (PixelGrabber): Removed check to throw exception. JDK does
15503         not do this.
15504         (startGrabbing): Removed line to print stacktrace. 
15505
15506 2006-06-13  Mark Wielaard  <mark@klomp.org>
15507
15508         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15509         allocate unused AffineTransform. Add comment about conversion to
15510         BufferedImage.
15511         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15512         Recognize identity transform as "easy". Always convert to
15513         BufferedImage before calling super.
15514
15515 2006-06-13  Roman Kennke  <kennke@aicas.com>
15516
15517         * java/awt/Component.java
15518         (getGraphics): Translate child graphics correctly.
15519         (dispatchEvent): Only dispatch event if it hasn't been consumed
15520         yet by the global dispatcher.
15521         * javax/swing/plaf/basic/BasicLookAndFeel.java
15522         Added some API docs.
15523         (PopupHelper.mousePressed): Consume the event after closing
15524         opened menus.
15525
15526 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15527
15528         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15529         changes only,
15530         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15531         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15532         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15533         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15534         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15535         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15536         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15537         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15538         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15539         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15540         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15541         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15542         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15543         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15544         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15545         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15546
15547 2006-06-12  Sven de Marothy  <sven@physto.se>
15548
15549         * java/awt/font/LineBreakMeasurer.java): Implement.
15550
15551 2006-06-12  Keith Seitz  <keiths@redhat.com>
15552
15553         From Kyle Galloway  <kgallowa@redhat.com>:
15554         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15555
15556 2006-06-12  Keith Seitz  <keiths@redhat.com>
15557
15558         From Kyle Galloway  <kgallowa@redhat.com>:
15559         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15560
15561         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15562
15563 2006-06-12  Roman Kennke  <kennke@aicas.com>
15564
15565         * javax/swing/JComponent.java
15566         (paintDoubleBuffered): Correctly translate and clip the Graphics
15567         instance.
15568         (clipAndTranslateGraphics): New helper method.
15569
15570 2006-06-12  Roman Kennke  <kennke@aicas.com>
15571
15572         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15573         (copy): Use getClip() to copy the clip. Make copied transform
15574         null when original transform is null. Set clip here.
15575         (setTransform): Correctly update the clip.
15576         (setTransformImpl): New method. Updates the actual transform for
15577         Cairo.
15578         (transform): Correctly update the clip.
15579         (translate): Correctly update the clip.
15580         (clip): Handle null clip and argument correctly.
15581         (clipRect): Avoid creating new Rectangle objects.
15582         (getClip): Get the correct copy of the clip.
15583         (setClip): Correctly handle null argument.
15584         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15585         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15586         be null or whatever has been set in copy().
15587         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15588         (drawImage): Add translation to the image coordinates.
15589         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15590         (VolatileImageGraphics): Don't set clip here. The clip can either
15591         be null or whatever has been set in copy().
15592
15593 2006-06-12  Keith Seitz  <keiths@redhat.com>
15594
15595         From Kyle Galloway  <kgallowa@redhat.com>:
15596         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15597         (forCaught): Removed unused/unnecessary method.
15598         (forUncaught): Likewise.
15599         (matches): Implement.
15600
15601 2006-06-12  Keith Seitz  <keiths@redhat.com>
15602
15603         From Kyle Galloway  <kgallowa@redhat.com>:
15604         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15605
15606 2006-06-12  Keith Seitz  <keiths@redhat.com>
15607
15608         From Kyle Galloway  <kgallowa@redhat.com>:
15609         * gnu/classpath/jdwp/event/Event.java: Added constants for
15610         type.
15611         (getParameter): Changed parameter type from Class to int.
15612         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15613         Changed from Class type to constants.
15614         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15615         Likewise.
15616         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15617         Likewise.
15618         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15619         Likewise.
15620         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15621         Likewise.
15622         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15623         Likewise.
15624         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15625         Likewise.
15626         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15627         Likewise.
15628         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15629         Likewise.
15630         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15631         Likewise.
15632
15633 2006-06-12  Lillian Angel  <langel@redhat.com>
15634
15635         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15636         (StandaloneAppletWindow): Changed title of standalone window.
15637
15638 2006-06-12  Lillian Angel  <langel@redhat.com>
15639
15640         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15641         (layoutContainer): Added missing selectedComponent assignment.
15642
15643 2006-06-12  Lillian Angel  <langel@redhat.com>
15644
15645         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15646         (layoutContainer): Added check to prevent exception.
15647
15648 2006-06-12  Tom Tromey  <tromey@redhat.com>
15649
15650         * java/lang/Thread.java (uncaughtException): Javadoc fix.
15651
15652 2006-06-12  Mark Wielaard  <mark@klomp.org>
15653
15654         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15655         New static field.
15656         (ONE): Likewise.
15657         (lock): New method.
15658         (unlock): Likewise.
15659         (draw): Use lock() and unlock().
15660         (fill): Likewise.
15661         (drawRenderedImage): Likewise.
15662         (drawImage): Likewise.
15663         (drawGlyphVector): Likewise.
15664
15665 2006-06-12  Roman Kennke  <kennke@aicas.com>
15666
15667         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15668         (drawPixels): Include alpha in parameter list.
15669         (cairoFill): Include alpha in parameter list.
15670         (setComposite): Don't modify the color.
15671         (draw(Shape))): Use fill when the current composite has an alpha
15672         of != 1.0, so that the stroked shaped will be composited.
15673         (fill(Shape)): Call cairoFill() with alpha.
15674         (drawImage): Call drawPixels or drawSurface with alpha.
15675         (drawGlyphVector): When composite alpha is != 1.0, render the
15676         outline using fill() to enable compositing for text.
15677         (drawRaster): Call drawPixels with alpha.
15678         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15679         (nativeDrawSurface): Include alpha in parameter list.
15680         (drawSurface): Include alpha in parameter list. Pass it to
15681         nativeDrawSurface().
15682         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15683         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15684         Regenerated.
15685         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15686         (drawPixels): Handle possible alpha for compositing.
15687         (cairoFill): Likewise.
15688         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15689         (nativeDrawSurface): Handle possible alpha for compositing.
15690
15691 2006-06-12  Mark Wielaard  <mark@klomp.org>
15692
15693         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15694         Notify data when completely done. Wait for worker thread to finish.
15695         Rethrow any pending exceptions.
15696         (exception): New field.
15697         (run): Store pending exception.
15698
15699 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15700
15701         * java/lang/management/ManagementPermission.java:
15702         New file.
15703         
15704 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15705
15706         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15707
15708 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15709
15710         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15711         Use String.charAt().
15712
15713 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
15714
15715         * doc/tools.texinfo
15716         (Applet Tools): New chapter.
15717         (appletviewer Tool): New section.
15718         (gcjwebplugin): New section.
15719
15720 2006-06-11  Mark Wielaard  <mark@klomp.org>
15721
15722         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15723         Takes GdkPixbufWriter.
15724         (GdkPixbufWriter): Implements Runnable.
15725         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15726         data processing.
15727         (DATADONE): New static final field.
15728         (data): New field.
15729         (write(byte[])): New method.
15730         (run): Likewise.
15731         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15732         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15733         Get dataOutputWriteID from writeClass.
15734         (stream_save_request): Change stream field to writer.
15735         (save_to_stream): Remove FIXME, call writer.
15736         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15737         Store writer.
15738
15739 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15740
15741         * NEWS:
15742         Mention new VM interface and use of properties.
15743         * doc/vmintegration.texinfo:
15744         Update with new gnu.java.lang.management section.
15745         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15746         New file.
15747         * java/lang/management/ManagementFactory.java:
15748         (getRuntimeMXBean()): Implemented.
15749         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15750         New VM interface file.
15751         
15752 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15753
15754         PR Classpath/26065
15755         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15756         debug code based on Configuration.DEBUG.
15757         Use logger instead of STDOUT and ot STDERR.
15758         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15759         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15760         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15761         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15762         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15763         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15764         * gnu/javax/crypto/pad/TBC.java: Likewise.
15765         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15766         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15767         * gnu/javax/crypto/pad/BasePad.java: Likewise.
15768         * gnu/javax/crypto/mac/OMAC.java: Likewise.
15769         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15770         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15771         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15772         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15773         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15774         * gnu/javax/crypto/keyring/Entry.java: Likewise.
15775         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15776         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15777         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15778         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15779         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15780         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15781         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15782         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15783         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15784         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15785         * gnu/java/security/Properties.java: Likewise.
15786         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15787         * gnu/java/security/x509/X509CRL.java: Likewise.
15788         * gnu/java/security/x509/ext/Extension.java: Likewise.
15789         * gnu/java/security/util/Prime2.java: Likewise.
15790         * gnu/java/security/util/Base64.java: Likewise.
15791         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15792         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15793         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15794         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15795         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15796         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15797         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15798         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15799         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15800         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15801         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15802         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15803         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15804         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15805         * gnu/java/security/hash/Whirlpool.java: Likewise.
15806
15807 2006-06-11  Mark Wielaard  <mark@klomp.org>
15808
15809         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15810         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15811         Remove unused variable glyph_index.
15812
15813 2006-06-11  Mark Wielaard  <mark@klomp.org>
15814
15815         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15816         Don't recurse, return false if not an BufferedImage and no image
15817         source available.
15818         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15819         end_gdk_drawing() to finally block.
15820         (fill): Likewise.
15821         (drawRenderedImage): Likewise.
15822         (drawImage): Likewise.
15823         (drawGlyphVector): Likewise.
15824
15825 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15826
15827         * doc/tools.texinfo: Added text for new -cacert command.
15828         Re-structured sections.
15829         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15830         for -cacert command.
15831         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15832         (_CACERT): Likewise.
15833         (shutdownThread): New field.
15834         (Main): Install shutdown thread.
15835         (main): Uninstall shutdown thread.
15836         (start): Handle new -cacert command.
15837         (getParser): Likewise.
15838         (teardown): Increased visibility.
15839         (ShutdownHook): New inner class.
15840         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15841
15842 2006-06-11  Sven de Marothy  <sven@physto.se>
15843
15844         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15845         (setupGlyphMetrics): New method. Add glyphmetrics caching.
15846         (getOutline): Operate on the shape directly.
15847         * gnu/java/awt/peer/gtk/GdkFontPeer.java
15848         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15849         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15850         (getGlyph renamed getGlyphs)
15851         * java/awt/geom/AffineTransform.java
15852         (getTranslateInstance): Set fields directly.
15853         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15854         (getGlyphs): Get all glyph codes at once.
15855         
15856 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15857
15858         PR Classpath/27853
15859         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15860
15861 2006-06-11  Sven de Marothy  <sven@physto.se>
15862
15863         * java/awt/font/TextLayout.java
15864         (getLogicalHighlightShape): Add check.
15865         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15866         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15867
15868 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15869
15870         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15871         Check that every component of 'cn' starts with a valid Java identifier char.
15872
15873 2006-06-10  Tom Tromey  <tromey@redhat.com>
15874
15875         * java/io/File.java (pathSeparator): Typo fix.
15876
15877 2006-06-10  Mark Wielaard  <mark@klomp.org>
15878
15879         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15880         Removed.
15881         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15882         Mark all unused parameters.
15883         (cp_gtk_get_cairo_t): Removed.
15884         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15885         Don't mix declerations and statements.
15886         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15887         Mark all unused parameters.
15888         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15889         Get cairographics2d pointer directly.
15890         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15891         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15892         Use jlong to pass pointer.
15893         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15894         Mark all unused parameters.
15895         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15896         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15897         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15898         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15899         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15900         * include/java_io_VMFile.h: Regenerated.
15901
15902 2006-06-10  Roman Kennke  <kennke@aicas.com>
15903
15904         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15905         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15906         instead of setClip(), so that an already present clip is intersected
15907         and not resetted.
15908
15909 2006-06-10  Mark Wielaard  <mark@klomp.org>
15910
15911         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15912         Call getSize() to avoid accessor method.
15913
15914 2006-06-10  Mark Wielaard  <mark@klomp.org>
15915
15916         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15917         Qualify ElementSpec.
15918
15919 2006-06-10  Mark Wielaard  <mark@klomp.org>
15920
15921         * lib/.cvsignore: Add sun.
15922         * lib/Makefile.am (dist-hook): Likewise.
15923
15924 2006-06-10  Roman Kennke  <kennke@aicas.com>
15925
15926         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15927         * gnu/java/awt/peer/gtk/CairoSurface.java
15928         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15929         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15930         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15931         * native/jni/gtk-peer/cairographics2d.h
15932         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15933         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15934         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15936         Changed method signatures and calls to pass native pointers directly
15937         into the JNI code, in order to avoid costly lookups on each
15938         JNI call.
15939         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15940         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15941         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15942         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15943         Regenerated
15944
15945 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15946
15947         PR 27973
15948         * javax/swing/text/DefaultStyledDocument.java 
15949         (ElementBuffer.insertContentTag):
15950         Do not recreate leaves and do not remove elements here. 
15951
15952 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15953
15954         * javax/swing/text/html/HTMLDocument.java
15955         (HTMLReader.HiddenAction): Implemented.
15956
15957 2006-06-10  Roman Kennke  <kennke@aicas.com>
15958
15959         * javax/swing/RepaintManager.java
15960         (getVolatileOffscreenBuffer): Store the created buffer.
15961         * javax/swing/JComponent.java
15962         (paintDoubleBuffered): Try to use a volatile offscreen buffer
15963         for better performance.
15964
15965 2006-06-10  Roman Kennke  <kennke@aicas.com>
15966
15967         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15968         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15969         context correctly.
15970         (getRealBounds): Overridden to return the correct bounds.
15971
15972 2006-06-10  Roman Kennke  <kennke@aicas.com>
15973
15974         * javax/swing/plaf/metal/MetalButtonUI.java
15975         (update): Fixed to paint the gradient under the correct conditions.
15976         (updateWidthGradient): Removed.
15977         (isToolbarButton): New helper method.
15978         (isDrawingGradient): New helper method.
15979
15980 2006-06-09  Roman Kennke  <kennke@aicas.com>
15981
15982         * javax/swing/JTabbedPane.java
15983         (setSelectedIndex): Don't change the visibility of the components,
15984         this is done by the UI class.
15985         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15986         (TabbedPaneLayout.layoutContainer): Change visibility of component
15987         here, depending on the selected index. Only do this if the new
15988         selected component is not null. Some programs seem to expect
15989         this.
15990         (visibleComponent): New field.
15991         (getVisibleComponent): Changed to return visibleComponent field.
15992         (setVisibleComponent): Changed to set the visibility of
15993         the old and new visible component.
15994
15995 2006-06-09  Roman Kennke  <kennke@aicas.com>
15996
15997         * javax/swing/JComponent.java
15998         (paintChildrenOptimized): Paint component with a new Graphics
15999         object to protect the other painting code from modifications
16000         done in that object, and avoid cleanup ops on possibly dispose()ed
16001         Graphics object.
16002
16003 2006-06-09  Sven de Marothy  <sven@physto.se>
16004
16005         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16006         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16007         Use GTK locks while disposing (Xlib) surface.
16008
16009 2006-06-09  Tom Tromey  <tromey@redhat.com>
16010
16011         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16012         (uninstall-local): Delete 'sun' directory.
16013         (glibj.zip): Include 'sun' classes.
16014         (clean-local): Delete 'sun' directory.
16015         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16016
16017 2006-06-09  Roman Kennke  <kennke@aicas.com>
16018
16019         * gnu/java/awt/java2d/AbstractGraphics2D.java
16020         (drawImage): Fixed scaling.
16021         (fillShape): Removed offset handling.
16022         (fillShapeImpl): Limit scanlining to device bounds.
16023         (getSegments): Removed offset handling.
16024         * gnu/java/awt/java2d/PolyEdge.java
16025         (toString): Include isClip flag in output.
16026
16027 2006-06-08  Sven de Marothy  <sven@physto.se>
16028
16029         * java/awt/font/TextLayout.java
16030         (getOutline): Allow null transform.
16031
16032 2006-06-08  Sven de Marothy  <sven@physto.se>
16033
16034         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16035         (drawString): Use TextLayout instead of GlyphVector.
16036
16037 2006-06-08  Sven de Marothy  <sven@physto.se>
16038
16039         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16040         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16041         New constructor for bidirectionality.
16042         (getGlyphMetrics): Return whitespace glyphs.
16043         (getLogicalBounds): Offset rectangles to correct positions.
16044         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16045         (getBaselineFor): Default to ROMAN_BASELINE.
16046         (GdkFontLineMetrics): Guess some values for underline and 
16047         strikethrough.
16048         (layoutGlyphVector): Use bidirectionality.
16049         * java/awt/font/TextLayout.java: Implement, mostly.
16050         
16051 2006-06-09  Anthony Green  <green@redhat.com>
16052
16053         PR classpath/27888:
16054         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16055         * java/util/Collections.java (binarySearch): Use unsigned shift.
16056         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16057
16058 2006-06-09  Tom Tromey  <tromey@redhat.com>
16059
16060         * tools/.cvsignore: Added .deps.
16061
16062 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16063
16064         PR classpath/27966:
16065         * gnu/javax/security/auth/login/ConfigFileParser.java
16066         (validateClassName): Quote '.' in regexp.
16067
16068 2006-06-09  Tom Tromey  <tromey@redhat.com>
16069
16070         PR classpath/23863:
16071         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16072         finished.
16073         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16074         some includes.  Added <assert.h>.
16075         (_reent, _Bigint): New defines.
16076         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16077         (__ULong, __Long): New types.
16078         (_calloc_r): New function.
16079         (Balloc): Dynamically add new _freelist entries as needed.
16080         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16081         MAX_BIGNUMS to size _x[].
16082         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16083         _allocation_map, num.  Added _max_k.
16084
16085 2006-06-09  Roman Kennke  <kennke@aicas.com>
16086
16087         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16088         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16089         implementations.
16090
16091 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16092
16093         * java/awt/image/BufferedImage.java
16094         (BufferedImage(int, int, int)): Added API docs,
16095         (getProperty(String)): Return correct value for undefined properties,
16096         (getPropertyNames()): Added comments and removed FIXME.
16097
16098 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16099
16100         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16101         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16102
16103 2006-06-09  Francis Kung  <fkung@redhat.com>
16104
16105         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16106         (getPreferredSize): Return correct height for null or empty 
16107         items.
16108
16109 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16110
16111         * java/awt/datatransfer/DataFlavor.java
16112         (readExternal): Mark as stub,
16113         (writeExternal): Likewise,
16114         * java/awt/dnd/DropTargetContext.java
16115         (dropComplete): Mark as stub,
16116         (acceptDrag): Likewise,
16117         (rejectDrag): Likewise,
16118         (acceptDrop): Likewise,
16119         (rejectDrop): Likewise,
16120         (getCurrentDataFlavors): Likewise,
16121         (getTransferable): Likewise,
16122         * java/awt/dnd/DropTargetDropEvent.java
16123         (dropComplete): Mark as stub.
16124
16125 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16126
16127         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16128         (constructor): Do not lowercase the values.
16129         * javax/swing/text/html/HTMLDocument.java
16130         (HTMLReader.addSpecialElement): Implemented.
16131         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16132
16133 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16134
16135         On behalf of Matthew Wringe <mwringe@redhat.com>
16136         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16137         * gnu/javax/crypto/pad/ISO10126.java: New class.
16138         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16139         (getInstance): Added support for ISO-10126 scheme.
16140         (getNames): Likewise.
16141         Cache result for speed.
16142
16143 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16144
16145         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16146         flexible self-test by sub-classes.
16147         (test1BlockSize): New method.
16148
16149 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16150
16151         * javax/swing/plaf/basic/BasicLookAndFeel.java
16152         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16153         * javax/swing/plaf/basic/BasicScrollBarUI.java
16154         (installKeyboardActions): Implemented,
16155         (uninstallKeyboardActions): Implemented,
16156         (getInputMap): New method,
16157         (getActionMap): New method,
16158         (createActionMap): New method,
16159         (installUI): Call installKeyboardActions(),
16160         (uninstallUI): Call uninstallKeyboardActions().
16161         
16162 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16163
16164         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16165         (getActionMap): Use correct key to store action map.
16166
16167 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16168
16169         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16170         (executeInstruction): Added NOT support.
16171
16172 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16173
16174         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16175         New file.
16176
16177 2006-06-08  Tom Tromey  <tromey@redhat.com>
16178
16179         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16180         of 'types'.
16181
16182 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16183
16184         * java/lang/management/RuntimeMXBean.java:
16185         New file.
16186         
16187 2006-06-08  Lillian Angel  <langel@redhat.com>
16188
16189         * native/plugin/gcjwebplugin.cc:
16190         (NP_Shutdown): Freed whitelist_filename.
16191
16192 2006-06-08  Lillian Angel  <langel@redhat.com>
16193
16194         * native/plugin/Makefile.am:
16195         Removed DATA_DIRECTORY.
16196         * native/plugin/gcjwebplugin.cc:
16197         Added new global fields for whitelist_file
16198         and data_directory. Removed WHITELIST_FILE.
16199         (NP_Initialize): Initialized new fields. Also,
16200         Changed to use new fields.
16201         (NP_Shutdown): Freed data_directory.
16202         (GCJ_New): Changed to use new fields.
16203         (plugin_ask_user_about_documentbase): Likewise.
16204
16205 2006-06-08  Lillian Angel  <langel@redhat.com>
16206
16207         * native/plugin/Makefile.am:
16208         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16209         * native/plugin/gcjwebplugin.cc:
16210         Changed all instances of PLUGIN_DATA_DIRECTORY
16211         to DATA_DIRECTORY.
16212
16213 2006-06-08  Roman Kennke  <kennke@aicas.com>
16214
16215         * java/awt/LightweightDispatcher.java
16216         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16217         with convertPointToChild(). This is more efficient and avoids
16218         problems with getLocationOnScreen().
16219         (findTarget): Check for component beeing showing() early.
16220         Simplified AWTUtilities.convertPoint() to a simple substraction
16221         operation.
16222         (convertPointToChild): New helper method.
16223
16224 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16225
16226         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16227         message.
16228
16229 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16230             Lillian Angel  <langel@redhat.com>
16231
16232         * native/plugin/gcjwebplugin.cc
16233         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16234         Also, reset initialized field.
16235
16236 2006-06-08  Lillian Angel  <langel@redhat.com>
16237
16238         * javax/swing/plaf/basic/BasicProgressBarUI.java
16239         (paintString): Fixed to paint string at the correct location.
16240
16241 2006-06-08  Roman Kennke  <kennke@aicas.com>
16242
16243         * javax/swing/plaf/basic/BasicTreeUI.java
16244         (createDefaultActions): Added new actions.
16245         (TreePageAction.TreePageAction): Set action name.
16246         (TreePageAction.actionPerformed): Implemented.
16247         (TreePageAction.isEnabled): Implemented.
16248         (TreeToggleAction.TreePageAction): Set action name.
16249         (TreeToggleAction.actionPerformed): Implemented.
16250         (TreeToggleAction.isEnabled): Implemented.
16251         (TreeTraverseAction.TreeTraverseAction): Set action name.
16252         (TreeTraverseAction.actionPerformed): Use action name as command.
16253         (TreeTraverseAction.isEnabled): Implemented.
16254
16255 2006-06-08  Roman Kennke  <kennke@aicas.com>
16256
16257         * javax/swing/plaf/basic/BasicTreeUI.java
16258         (installKeyboardActions): Rewritten to correctly install the UI
16259         input and action maps.
16260         (getActionMap): New helper method.
16261         (createDefaultActionMap): New helper method.
16262         (TreeHomeAction.TreeHomeAction()): Implemented.
16263         (TreeHomeAction.actionPerformed): Implemented.
16264         (TreeHomeAction.isEnabled): Implemented.
16265         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16266         (TreeIncrementAction.actionPerformed): Use action name as command.
16267         (TreeIncrementAction.isEnabled): Implemented.
16268
16269 2006-06-08  Mark Wielaard  <mark@klomp.org>
16270
16271         PR 27917
16272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16273         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16274         and unref loader.
16275
16276 2006-06-08  Mark Wielaard  <mark@klomp.org>
16277
16278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16279         (attrs): Removed unused static.
16280
16281 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16282
16283         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16284         (getInputMap): New method,
16285         (getActionMap): New method,
16286         (createActionMap): New method,
16287         (installKeyboardActions): Implemented,
16288         (uninstallKeyboardActions): Implemented.
16289
16290 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16291
16292         * javax/swing/border/MatteBorder.java:
16293         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16294         throwing.
16295         (paintBorder): Added if-statement to abort painting early.
16296
16297 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16298
16299         Fixes PR27864.
16300         * gnu/xml/dom/DomIterator.java:
16301         (successor): Changed expression.
16302
16303 2006-06-08  Sven de Marothy  <sven@physto.se>
16304
16305         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16306         (defaultLayout): Do kerning.
16307         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16308         (getKerning): Correct class name, removed unused variable.
16309
16310 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16311
16312         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16313         libqtpeer.so unconditionally.
16314
16315 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16316
16317         * java/util/InputMismatchException.java:
16318         Documented.
16319         
16320 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16321
16322         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16323
16324 2006-06-07  Roman Kennke  <kennke@aicas.com>
16325
16326         * javax/swing/plaf/basic/BasicTreeUI.java
16327         (completeUIUninstall): Implemented.
16328         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16329         editing before uninstalling anything.
16330         (isToggleEvent): Implemented.
16331         (selectPathForEvent): Make use of isToggleEvent().
16332         (ComponentHandler.componentMoved): Implemented.
16333         (ComponentHandler.startTimer): Implemented.
16334         (ComponentHandler.getScrollPane): Implemented.
16335         (ComponentHandler.actionPerformed): Implemented.
16336
16337 2006-06-07  Francis Kung  <fkung@redhat.com>
16338
16339         * javax/swing/JMenuBar.java:
16340         (getSubElements): Do not return null values.
16341
16342 2006-06-07  Roman Kennke  <kennke@aicas.com>
16343
16344         PR 27902
16345         * gnu/regexp/BacktrackStack.java
16346         * gnu/regexp/CharIndexed.java
16347         * gnu/regexp/CharIndexedCharArray.java
16348         * gnu/regexp/CharIndexedCharSequence.java
16349         * gnu/regexp/CharIndexedInputStream.java
16350         * gnu/regexp/CharIndexedString.java
16351         * gnu/regexp/CharIndexedStringBuffer.java
16352         * gnu/regexp/RE.java
16353         * gnu/regexp/REException.java
16354         * gnu/regexp/REFilterInputStream.java
16355         * gnu/regexp/REMatch.java
16356         * gnu/regexp/REMatchEnumeration.java
16357         * gnu/regexp/RESyntax.java
16358         * gnu/regexp/REToken.java
16359         * gnu/regexp/RETokenAny.java
16360         * gnu/regexp/RETokenBackRef.java
16361         * gnu/regexp/RETokenChar.java
16362         * gnu/regexp/RETokenEnd.java
16363         * gnu/regexp/RETokenEndOfPreviousMatch.java
16364         * gnu/regexp/RETokenEndSub.java
16365         * gnu/regexp/RETokenIndependent.java
16366         * gnu/regexp/RETokenLookAhead.java
16367         * gnu/regexp/RETokenLookBehind.java
16368         * gnu/regexp/RETokenNamedProperty.java
16369         * gnu/regexp/RETokenOneOf.java
16370         * gnu/regexp/RETokenPOSIX.java
16371         * gnu/regexp/RETokenRange.java
16372         * gnu/regexp/RETokenRepeated.java
16373         * gnu/regexp/RETokenStart.java
16374         * gnu/regexp/RETokenWordBoundary.java
16375         * gnu/regexp/UncheckedRE.java
16376         * gnu/java/util/regex/BacktrackStack.java
16377         * gnu/java/util/regex/CharIndexed.java
16378         * gnu/java/util/regex/CharIndexedCharArray.java
16379         * gnu/java/util/regex/CharIndexedCharSequence.java
16380         * gnu/java/util/regex/CharIndexedInputStream.java
16381         * gnu/java/util/regex/CharIndexedString.java
16382         * gnu/java/util/regex/CharIndexedStringBuffer.java
16383         * gnu/java/util/regex/RE.java
16384         * gnu/java/util/regex/REException.java
16385         * gnu/java/util/regex/REFilterInputStream.java
16386         * gnu/java/util/regex/REMatch.java
16387         * gnu/java/util/regex/REMatchEnumeration.java
16388         * gnu/java/util/regex/RESyntax.java
16389         * gnu/java/util/regex/REToken.java
16390         * gnu/java/util/regex/RETokenAny.java
16391         * gnu/java/util/regex/RETokenBackRef.java
16392         * gnu/java/util/regex/RETokenChar.java
16393         * gnu/java/util/regex/RETokenEnd.java
16394         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16395         * gnu/java/util/regex/RETokenEndSub.java
16396         * gnu/java/util/regex/RETokenIndependent.java
16397         * gnu/java/util/regex/RETokenLookAhead.java
16398         * gnu/java/util/regex/RETokenLookBehind.java
16399         * gnu/java/util/regex/RETokenNamedProperty.java
16400         * gnu/java/util/regex/RETokenOneOf.java
16401         * gnu/java/util/regex/RETokenPOSIX.java
16402         * gnu/java/util/regex/RETokenRange.java
16403         * gnu/java/util/regex/RETokenRepeated.java
16404         * gnu/java/util/regex/RETokenStart.java
16405         * gnu/java/util/regex/RETokenWordBoundary.java
16406         * gnu/java/util/regex/UncheckedRE.java
16407         Moved gnu.regexp classes to gnu.java.util.regex package.
16408         * java/util/regex/Matcher.java
16409         * java/util/regex/Pattern.java
16410         Adjusted import statements for new package name for gnu regexp.
16411
16412 2006-06-07  Tom Tromey  <tromey@redhat.com>
16413
16414         PR classpath/27905:
16415         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16416         Added missing charsets.
16417         (charsetForName): Don't check 'extendedLoaded'.
16418
16419 2006-06-07  Roman Kennke  <kennke@aicas.com>
16420
16421         PR 27833
16422         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16423         (clip(Shape)): Implemented correctly, so that the current shape
16424         gets intersected by the parameter shape.
16425
16426 2006-06-07  Lillian Angel  <langel@redhat.com>
16427
16428         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16429         (getTabBounds): If this method is called with a tab index
16430         that is not in the rects array, we need to re-layout the container
16431         so it is created.
16432
16433 2006-06-07  Lillian Angel  <langel@redhat.com>
16434
16435         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16436         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16437         * java/lang/String.java
16438         (codePointCount): Fixed check to match API. Shouldn't throw exception
16439         if end == count. end is 1 more than the endIndex, so end == count is 
16440         possible.
16441
16442 2006-06-07  Gary Benson  <gbenson@redhat.com>
16443
16444         PR 24895
16445         * native/jni/java-io/java_io_VMFile.c
16446         (Java_java_io_VMFile_toCanonicalForm): New method.
16447         * configure.ac: Added checks for lstat and readlink.
16448         * include/java_io_VMFile.h: Added new method.
16449         * vm/reference/java/io/VMFile.java: Use new method.
16450         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16451         * NEWS: Documented the above.
16452         * java/io/File.java: Javadoc fix.
16453
16454 2006-06-07  Roman Kennke  <kennke@aicas.com>
16455
16456         PR 27920
16457         * javax/swing/JTree.java
16458         (JTree()): Initialize with default model.
16459         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16460         on the updateUI() / setModel() order.
16461         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16462         paths.
16463         * javax/swing/plaf/basic/BasicTreeUI.java
16464         (BasicTreeUI()): Initialize listeners in installListeners().
16465         (setModel): Complete editing on model change. Correctly resetup
16466         the listeners. Update the layout cache accordingly.
16467         (setShowRootHandles): Complete editing and update layout. Do not
16468         call back into the JTree, this could cause cycles.
16469         (prepareForUIInstall): Implemented. Moved some init code from
16470         installUI() to this method.
16471         (completeUIInstall): Implemented. Moved some init code from
16472         installUI() to this method.
16473         (createDefaultCellEditor): Check for type of renderer, and install
16474         with null renderer when not DefaultTreeCellRenderer.
16475         (updateLayoutCacheExpandedNodes): Added null check for tree root
16476         to avoid NPE.
16477         (updateRenderer): Call updateEditor().
16478         (installListeners): Initialize the listeners here. Added some null
16479         checks to avoid NPEs.
16480         (installUI): Moved some init code to prepareForUIInstall() and
16481         completeUIInstall().
16482         (completeEditing): Return immediately if editing component is null
16483         or if the setting is to not stop editing on complete editing.
16484         (checkForClickInExpandControl): Call handleExpandControlClick()
16485         instead of toggleExpandState() directly.
16486         (isLocationInExpandControl): Rewritten to correctly determine the
16487         expand click location.
16488         (MouseHandler.mousePressed): Rewritten to make better use of the
16489         instance methods of BasicTreeUI to handle the click.
16490         (PropertyHandler.propertyChange): Handle model and cell renderer
16491         updates.
16492         * javax/swing/tree/DefaultTreeCellEditor.java
16493         (DefaultTreeCellEditor): Removed initialization of the icon. This
16494         is done so that the constructor can deal with null renderer as the
16495         RI does. Maybe this needs more fixing.
16496         * javax/swing/tree/TreePath.java
16497         (isDescendant): Fixed this method. The previous version did too
16498         much and compared the wrong things, which lead to a ClassCastException
16499         in equals().
16500         * javax/swing/tree/VariableHeightLayoutCache.java
16501         (update): Do nothing when model is null.
16502         (setModel): Clear the tables and update the layout. Added null
16503         check to prevent NPE.
16504
16505 2006-06-07  Sven de Marothy  <sven@physto.se>
16506
16507         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16508
16509 2006-06-07  Sven de Marothy  <sven@physto.se>
16510
16511         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16512         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16513         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16514         New files.
16515
16516         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16517         (getGlyphVector): Removed native method.
16518         (createGlyphVector, getStringBounds): Use new GV class.
16519
16520         * include/Makefile.am
16521         * native/jni/gtk-peer/Makefile.am
16522         Add new files.
16523
16524         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16526         (getGlyphVector): Removed native method.
16527         
16528 2006-06-07  Chris Burdess  <dog@gnu.org>
16529
16530         * gnu/classpath/debug/TeeInputStream.java,
16531           gnu/classpath/debug/TeeOutputStream.java,
16532           gnu/classpath/debug/TeeReader.java,
16533           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16534         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16535           read more characters than absolutely necessary in tryRead method.
16536
16537 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16538
16539         * examples/gnu/classpath/examples/swing/Demo.java:
16540         (mkMenuBar): Put look and feel radio buttons into 
16541         appropriate button group.
16542
16543 2006-06-07  Chris Burdess  <dog@gnu.org>
16544
16545         * gnu/xml/stream/SAXParser.java,
16546           gnu/xml/stream/XMLParser.java: Add command line options for setting
16547           parsing parameters (for simpler debugging).
16548         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16549           closing output stream is propagated to application.
16550
16551 2006-06-06  Mark Wielaard  <mark@klomp.org>
16552
16553         PR 27917
16554         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16555         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16556         call disposeSurface.
16557         (disposeSurface): New native method.
16558         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16559         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16560         pattern_pixels.
16561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16562         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16563         cairo_pattern_destroy.
16564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16565         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16566         New function to destroy the surface.
16567         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16568         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16569         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16570
16571 2006-06-06  Mark Wielaard  <mark@klomp.org>
16572
16573         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16574         with JNICALL.
16575
16576 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16577
16578         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16579         (paint): If has focus, paint special background color,
16580         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16581         (FocusHandler.focusGained): Implemented,
16582         (FocusHandler.focusLost): Implemented.
16583
16584 2006-06-06  Tom Tromey  <tromey@redhat.com>
16585
16586         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16587         Javadoc fix.
16588         (writeAttributeSet): Implemented.
16589
16590 2006-06-06  Tom Tromey  <tromey@redhat.com>
16591
16592         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16593         Implement.
16594         (SpecialAction.end): Removed.
16595         (IsindexAction.end): Likewise.
16596
16597 2006-06-06  Tom Tromey  <tromey@redhat.com>
16598
16599         * include/jni.h (JDK1_1InitArgs): New struct.
16600         (JDK1_1AttachArgs): Likewise.
16601
16602 2006-06-06  Tom Tromey  <tromey@redhat.com>
16603
16604         * java/security/UnresolvedPermission.java (getUnresolvedType): New
16605         method.
16606         (getUnresolvedName): New method.
16607         (getUnresolvedActions): New method.
16608         (getUnresolvedCerts): New method.
16609
16610 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16611
16612         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16613         (getColor): Removed debugging code.
16614
16615 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16616
16617         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16618         (getColor): Added support for "rgb(red, green, blue)" notation.
16619         (translateTag): Use Boolean.TRUE, not new Boolean().
16620
16621 2006-06-06  Roman Kennke  <kennke@aicas.com>
16622
16623         PR 27651
16624         * javax/swing/JTree.java
16625         (JTree(TreeModel)): Call updateUI() before setModel().
16626         (setModel): Don't call updateUI here.
16627
16628 2006-06-06  Lillian Angel  <langel@redhat.com>
16629         
16630         * native/plugin/gcjwebplugin.cc:
16631         Fixed failure message and commenting.
16632         (NP_Initialize): Added more comments.
16633
16634 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16635
16636         * javax/swing/JSplitPane.java
16637         (AccessibleJSplitPane): API doc fixes,
16638         (setDividerLocation): Likewise,
16639         * javax/swing/plaf/basic/BasicLookAndFeel.java
16640         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16641         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16642         (getInputMap): New method,
16643         (getActionMap): New method,
16644         (createActionMap): New method,
16645         (installKeyboardActions): Implemented,
16646         (uninstallKeyboardActions): Implemented.
16647
16648 2006-06-06  Roman Kennke  <kennke@aicas.com>
16649
16650         PR 27523
16651         * javax/swing/MenuSelectionManager.java
16652         (processKeyEvent): Added check to avoid
16653         ArrayIndexOutOfBoundsException.
16654
16655 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16656
16657         * gnu/javax/swing/text/html/htmlAttributeSet.java
16658         (getAttributeNames): Rewritten
16659
16660 2006-06-06  Chris Burdess  <dog@gnu.org>
16661
16662         * gnu/xml/transform/TransformerImpl.java: Check type of created
16663           document (more cases).
16664
16665 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16666
16667         * gnu/javax/swing/text/html/htmlAttributeSet.java
16668         (clone): New method. (copyAttributes): New method.
16669         (getResolveParent): Comment fix. (getAttribute):
16670         Rewritten. (addAttribute): Rewritten.
16671         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16672         New file.
16673
16674 2006-06-06  Roman Kennke  <kennke@aicas.com>
16675
16676         PR 27522
16677         * javax/swing/JMenuBar.java
16678         (processKeyBindingHelper): Added null check to prevent NPE.
16679
16680 2006-06-06  Roman Kennke  <kennke@aicas.com>
16681
16682         * javax/swing/plaf/basic/BasicInternalFrameUI.java
16683         (ShowSystemMenuAction): New class.
16684         (installKeyboardActions): Implemented.
16685         (uninstallKeyboardActions): Implemented.
16686         * javax/swing/plaf/metal/MetalInternalFrameUI.java
16687         (installKeyboardActions): Overridden to remove showSystemMenu action.
16688
16689 2006-06-06  Chris Burdess  <dog@gnu.org>
16690
16691         * gnu/xml/transform/TransformerImpl.java: Check type of created
16692           document.
16693
16694 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16695
16696         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16697         (getScreenDevices): Added explicit cast.
16698
16699 2006-06-06  Roman Kennke  <kennke@aicas.com>
16700
16701         * javax/swing/plaf/basic/BasicTextUI.java
16702         (installKeyboardActions): Use shared input map. Correctly
16703         install the input/action maps in the component's input/action
16704         map hierarchies.
16705         (getActionMap): New helper method for fetching an ActionMap from
16706         the UIManager or creating a default one if there is none supplied
16707         by the UIManager.
16708         (createActionMap): Add the TransferHandler's actions here. Made
16709         method private.
16710         (getInputMap): Leave out unnecessary method parameter. Load
16711         shared input map.
16712         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16713
16714 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16715
16716         * configure.ac: Added missing [ to expression.
16717
16718 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16719
16720         * configure.ac: Added missing { to expression.
16721
16722 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16723
16724         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16725         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16726         * include/Makefile.am: Added
16727         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16728         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16729         (GdkGraphicsConfiguration): Rewritten.
16730         (getColorModel): Rewritten.
16731         (getColorModel(int)): Rewritten.
16732         (getBounds): Rewritten.
16733         (createCompatibleVolatileImage): Implemented.
16734         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16735         initializer.
16736         (getDefaultScreenDevice): Rewritten.
16737         (nativeGetDefaultScreenDevice): New method.
16738         (getScreenDevices): Rewritten.
16739         (nativeGetScreenDevices): New method.
16740         (nativeInitState): New method.
16741         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16742         rewritten.
16743         (X11DisplayMode): New inner class.
16744         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16745         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16746         * native/jni/gtk-peer/gdkdisplay.h: New file.
16747         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16748         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16749         New function.
16750         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16751         New function.
16752         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16753         _nativeGetScreenDevices):
16754         New function.
16755         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16756         _nativeGetDefaultScreenDevice):
16757         New function.
16758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16759         New file.
16760         * configure.ac: Added check for Xrandr library.
16761
16762 2006-06-06  Roman Kennke  <kennke@aicas.com>
16763
16764         * javax/swing/plaf/basic/BasicTableUI.java
16765         (getMaximumSize): Don't return null. Fixed calculation of
16766         table height.
16767         (getMinimumSize): Don't return null. Fixed calculation of
16768         table height.
16769         (getPreferredSize): Fixed calculation of with and height. Added
16770         API docs.
16771         (getHeight): New helper method.
16772
16773 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16774
16775         * javax/swing/JComponent.java
16776         (getInputMap(int)): Throw IllegalArgumentException for unknown 
16777         condition argument, and added API docs,
16778         (getInputMap()): Added API docs.
16779
16780 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16781
16782         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16783
16784 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16785
16786         * javax/swing/JTable.java
16787         (AccessibleJTableHeaderCell.header): New field,
16788         (AccessibleJTableHeaderCell.columnIndex): Likewise,
16789         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16790         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16791         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16792         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16793         (AccessibleJTable.getAccessibleChild(int)): Overridden,
16794         (AccessibleJTable.getAccessibleAt): Reimplemented.
16795
16796 2006-06-05  Sven de Marothy  <sven@physto.se>
16797
16798         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16799         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16800         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16801         (initFromVolatile): New method.
16802         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16803         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16804         Reimplement.
16805         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16806         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16807         (copyArea, drawVolatileImage): New methods.
16808         
16809 2006-06-05  Tania Bento  <tbento@redhat.com>
16810
16811         * javax/swing/JFrame.java
16812         (frameInit): Set background color and fixed layout parameters.
16813
16814 2006-06-05  Tom Tromey  <tromey@redhat.com>
16815
16816         * NEWS: Mention VMURLConnection.
16817
16818 2006-06-05  Lillian Angel  <langel@redhat.com>
16819
16820         * native/plugin/gcjwebplugin.cc:
16821         Added new field to keep track of initialization.
16822         (plugin_start_appletviewer): Fixed to return an error value, if
16823         an error was encountered when loading the appletviewer.
16824         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16825         has failed.
16826         (plugin_failed): New helper function. Shows a warning if the appletviewer
16827         has not been installed.
16828         (NP_Initialize): Added code to make sure this function is only called
16829         once.
16830
16831 2006-06-05  Lillian Angel  <langel@redhat.com>
16832
16833         * native/plugin/Makefile.am:
16834         Fixed to use a set plugin directory in the .mozilla directory.
16835         All applet logs are now stored here, instead of /tmp.
16836         * native/plugin/gcjwebplugin.cc:
16837         Added new fields for security warning.
16838         (GCJ_NEW): Added code to generate a security warning for all pages
16839         that spawn an appletviewer. This warning asks the user if they trust
16840         the applet and if they would like to add it to a 'whitelist'. This
16841         whitelist keeps track of all the addresses the user would like
16842         to trust indefinitely.
16843         (plugin_user_trusts_documentbase): New helper function.
16844         (plugin_add_documentbase_to_whitelist): New helper function.
16845         (plugin_ask_user_about_documentbase): New helper function.
16846         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
16847         has been set.
16848         (plugin_start_appletviewer): Likewise.
16849         (plugin_create_applet_tag):  Reset all fields to null after they have been
16850         freed.
16851         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
16852         if channel_error has been set.
16853         (plugin_stop_appletviewer): Likewise.
16854         (NP_Initialize): Likewise. Also, added code to determine if directory and file
16855         should be created.      
16856
16857 2006-06-05  Francis Kung  <fkung@redhat.com>
16858         
16859         PR 27507
16860         * gnu/java/awt/peer/gtk/GtkImage.java
16861         (getSource): Added check to determine if in
16862         errorLoading state.
16863         * gnu/java/awt/peer/gtk/GtkToolkit.java
16864         (createImage): Added check to prevent NPE.
16865
16866 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16867
16868         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16869         Create the ImageView, when applicable.
16870         * gnu/javax/swing/text/html/CombinedAttributes.java,
16871         javax/swing/text/html/ImageView.java: New files.
16872
16873 2006-06-05  Roman Kennke  <kennke@aicas.com>
16874
16875         PR 27834
16876         * javax/swing/text/GapContent.java
16877         (setPositionsInRange): Compare with startIndex and endIndex
16878         rather than start and end.
16879         (dumpMarks): Only dump real marks.
16880
16881 2006-06-05  Sven de Marothy  <sven@physto.se>
16882
16883         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
16884         (ComponentGraphics): Use 0,0 as clip origin.
16885         
16886 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16887
16888         * java/util/Formattable.java,
16889         * java/util/FormattableFlags.java,
16890         * java/util/Formatter.java:
16891         Documented.
16892
16893 2006-06-04  Tom Tromey  <tromey@redhat.com>
16894
16895         * javax/naming/Context.java (list): Genericized.
16896         (listBindings): Likewise.
16897         * javax/naming/Reference.java (addrs): Genericized.
16898         * javax/naming/InitialContext.java (myProps): Fixed type.
16899         (init): Genericized.
16900         
16901 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16902
16903         * java/util/DuplicateFormatFlagsException.java,
16904         * java/util/FormatFlagsConversionMismatchException.java,
16905         * java/util/FormatterClosedException.java,
16906         * java/util/IllegalFormatCodePointException.java,
16907         * java/util/IllegalFormatConversionException.java,
16908         * java/util/IllegalFormatException.java,
16909         * java/util/IllegalFormatFlagsException.java,
16910         * java/util/IllegalFormatPrecisionException.java,
16911         * java/util/IllegalFormatWidthException.java,
16912         * java/util/MissingFormatArgumentException.java,
16913         * java/util/MissingFormatWidthException.java,
16914         * java/util/UnknownFormatConversionException.java,
16915         * java/util/UnknownFormatFlagsException.java:
16916         Documented.
16917
16918 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16919
16920         * java/lang/System.java:
16921         (getenv()): Handle cases where split only
16922         returns an array of size 1.
16923         
16924 2006-06-04  Sven de Marothy  <sven@physto.se>
16925
16926         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16927         (createVolatileImage): Pass peer to VolatileImage constructor.
16928         * java/awt/Component.java
16929         (createVolatileImage): Call peer method directly.
16930         
16931 2006-06-04  Sven de Marothy  <sven@physto.se>
16932
16933         * gnu/java/awt/peer/gtk/CairoSurface.java
16934         (getFlippedBuffer): New method.
16935         (getGtkImage): Renamed method.
16936         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16937         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16938         Renamed getSharedImage to getGtkImage.
16939         * include/gnu_java_awt_peer_gtk_CairoSurface.h
16940         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16941         (getFlippedBuffer): New method
16942         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16943         Avoid window casts.
16944 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16945
16946         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16947         (drawVolatile): Add casts.
16948         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16949         (getOutline): Add casts.
16950         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16951         Comment out unused prototype.
16952         (getPixels): Add appropriate cast and comment out unused variable.
16953         
16954 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
16955
16956         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16957         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16958         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16959         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16960         (getSystemInstance): Fix javadoc @link.
16961         (counter): Increased visibility.
16962         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16963         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16964         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16965         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16966         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16967         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16968         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16969         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16970         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16971         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16972         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16973         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16974         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16975         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
16976         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16977         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
16978         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
16979         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
16980         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
16981         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
16982         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
16983         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
16984         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
16985         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
16986         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
16987         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
16988         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
16989         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
16990         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
16991         * gnu/javax/crypto/assembly/Direction.java: Likewise.
16992         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
16993
16994 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
16995
16996         * gnu/java/security/PolicyFile.java: Updated copyright year.
16997         (logger): Increased visibility.
16998         * gnu/java/security/x509/Util.java: Updated copyright year.
16999         (hexDump): Fix javadoc @link.
17000         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17001         Removed unused import.
17002         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17003         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17004         * gnu/java/security/util/ExpirableObject.java: Likewise.
17005         (destroy): Likewise.
17006         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17007         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17008         Updated copyright year.
17009         (checkCRL): Fix javadoc @param.
17010
17011 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17012
17013         * java/lang/annotation/IncompleteAnnotationException.java:
17014         Documented.
17015
17016 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17017
17018         * java/lang/ProcessBuilder.java:
17019         Documented.
17020         (environment): Create as a copy.
17021         * java/lang/System.java:
17022         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17023         New constructor.
17024         (EnvironmentMap.put(String,String)): Override superclass
17025         method with checks for nulls and non-Strings.
17026         
17027 2006-06-02  Sven de Marothy  <sven@physto.se>
17028
17029         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17030         (cairoPreserveClip, cairoResetClip): New methods.
17031         (setClip, clip): Reimplement.
17032         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17033         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17034         (cairoPreserveClip, cairoResetClip): New methods.
17035         
17036 2006-06-02  Sven de Marothy  <sven@physto.se>
17037
17038         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17039         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17040         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17041         New files.
17042         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17043         (drawImage): Overloads for VolatileImage drawing.
17044         (drawVolatile): New method.
17045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17046         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17047         (drawVolatile): New method.
17048         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17049         Unstub implementation.
17050         * include/Makefile.am
17051         * native/jni/gtk-peer/Makefile.am
17052         Add new files.
17053         * native/jni/gtk-peer/gtkpeer.h
17054         New prototype.
17055         
17056 2006-06-03  Roman Kennke  <kennke@aicas.com>
17057
17058         PR 27418
17059         * javax/swing/plaf/basic/BasicTextUI.java
17060         (damageRange): Added null check to avoid NPE.
17061
17062 2006-06-03  Roman Kennke  <kennke@aicas.com>
17063
17064         * javax/swing/text/PlainView.java
17065         (updateDamage): Check for valid longestLine and initialize if
17066         necessary.
17067
17068 2006-06-03  Mark Wielaard  <mark@klomp.org>
17069
17070         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17071         comments, not C++.
17072
17073 2006-06-02  Sven de Marothy  <sven@physto.se>
17074
17075         PR 27879 
17076         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17077         (copyArea): Implement.
17078         (copyAreaImpl, getRealBounds): New methods.
17079         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17080         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17081         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17082         (copyAreaImpl, getRealBounds): Implement.
17083         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17084         (nativeCopyArea): Reimplement.  
17085         
17086 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17087
17088         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17089         (XTEST_LIBS): New, substitute.
17090         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17091
17092 2006-06-02  Roman Kennke <kennke@aicas.com>
17093
17094         PR 26738
17095         * javax/swing/text/PlainView.java
17096         (updateDamage): Rewritten for correct repainting and revalidating.
17097         (findLongestLine): New helper method.
17098         (getLineLength): New helper method.
17099
17100 2006-06-02  Sven de Marothy  <sven@physto.se>
17101
17102         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17103         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17104         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17105         (nativeCopyArea): Change stride parameter to use # of ints.
17106         (setPixels): Add checks.
17107         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17108         (ComponentGraphics): Set background, clip.
17109         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17110         (Cairographics2D): Don't set clip.
17111         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17112         Add flush.
17113
17114 2006-06-02  Lillian Angel  <langel@redhat.com>
17115
17116         PR 24458
17117         * java/awt/DefaultKeyboardFocusManager.java
17118         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17119         to get the focused window.
17120
17121 2006-06-01  Miriam Schuster  <schmir11@web.de>
17122
17123         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17124         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17125
17126 2006-06-02  Roman Kennke <kennke@aicas.com>
17127
17128         * javax/swing/JTable.java
17129         (columnSelectionChanged): Don't return when there's only one
17130         column (might still need repainting). Correctly calculate
17131         repaint rectangle.
17132         (valueChanged): Use return value of SwingUtilities.computeUnion
17133         as dirty region.
17134
17135 2006-06-01  Keith Seitz  <keiths@redhat.com>
17136
17137         From Martin Platter  <motse@complang.tuwien.ac.at>:
17138         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17139         (executeSet): Fix buffer underflow reading reference ID.
17140         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17141         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17142         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17143         (executeSuperclass): Handle case of Object with ID zero.
17144
17145 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17146
17147         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17148         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17149         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17150         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17151         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17152         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17153         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17154         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17155         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17156         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17157         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17158
17159 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17160
17161         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17162         (Command): Add the shutdown hook.
17163         (doCommand): Remove the shutdown hook.
17164         (ShutdownHook): New class.
17165
17166 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17167
17168         * tools/jarsigner.in: Use @VM_BINARY@.
17169         * tools/keytool.in: Likewise.
17170
17171 2006-06-01  Sven de Marothy  <sven@physto.se>
17172
17173         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17174         (setColor): Update the cairo paint.
17175
17176 2006-06-01  Mark Wielaard  <mark@klomp.org>
17177
17178         * java/util/logging/LogManager.java (createInstance): Always add
17179         original exception on warning.
17180
17181 2006-06-01  Lillian Angel  <langel@redhat.com>
17182
17183         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17184         (prependCodebase): Fixed check. No dirname was ever considered to 
17185         be a file, so every applet fell into the if-statement causing a lot
17186         of classloading problems with the applets.
17187
17188 2006-06-01  Sven de Marothy  <sven@physto.se>
17189
17190         Patch submitted by Boris Dusek.
17191         * native/jni/qt-peer/qtmenupeer.cpp
17192         Fix segfault
17193
17194 2006-06-01  Roman Kennke <kennke@aicas.com>
17195
17196         * javax/swing/JTable.java
17197         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17198         why the behaviour is like it is.
17199         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17200         (AccessibleJTableHeader): New inner class.
17201         (AccessibleJTableHeaderCell): New inner class.
17202         (AccessibleJTable.lastSelectedRow): New field.
17203         (AccessibleJTable.lastSelectedColumn): New field.
17204         (AccessibleJTable.caption): New field.
17205         (AccessibleJTable.summary): New field.
17206         (AccessibleJTable.rowDescriptions): New field.
17207         (AccessibleJTable.columnDescriptions): New field.
17208         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17209         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17210         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17211         (AccessibleJTable.addAccessibleSelection): Implemented.
17212         (AccessibleJTable.removeAccessibleSelection): Implemented.
17213         (AccessibleJTable.clearAccessibleSelection): Implemented.
17214         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17215         (AccessibleJTable.valueChange): Implemented.
17216         (AccessibleJTable.tableRowsInserted): Implemented.
17217         (AccessibleJTable.tableRowsDeleted): Implemented.
17218         (AccessibleJTable.handleRowChange): New helper method.
17219         (AccessibleJTable.columnAdded): Implemented.
17220         (AccessibleJTable.columnMarginChanged): Implemented.
17221         (AccessibleJTable.columnMoved): Implemented.
17222         (AccessibleJTable.columnRemoved): Implemented.
17223         (AccessibleJTable.columnSelectionChanged): Implemented.
17224         (AccessibleJTable.handleColumnChange): New helper method.
17225         (AccessibleJTable.editingCanceled): Implemented.
17226         (AccessibleJTable.editingStopped): Implemented.
17227         (AccessibleJTable.getAccessibleRow): Implemented.
17228         (AccessibleJTable.getAccessibleColumn): Implemented.
17229         (AccessibleJTable.getAccessibleIndex): Implemented.
17230         (AccessibleJTable.getAccessibleCaption): Implemented.
17231         (AccessibleJTable.setAccessibleCaption): Implemented.
17232         (AccessibleJTable.getAccessibleSummary): Implemented.
17233         (AccessibleJTable.setAccessibleSummary): Implemented.
17234         (AccessibleJTable.getAccessibleRowCount): Implemented.
17235         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17236         (AccessibleJTable.getAccessibleAt): Implemented.
17237         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17238         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17239         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17240         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17241         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17242         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17243         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17244         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17245         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17246         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17247         (AccessibleJTable.isAccessibleSelected): Implemented.
17248         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17249         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17250         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17251         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17252         (getAccessibleContext): Register listeners for the accessibility
17253         class on the JTable.
17254
17255 2006-06-01  Sven de Marothy  <sven@physto.se>
17256
17257         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17258         (setPaint): Scale +1 pixel larger.
17259
17260 2006-06-01  Sven de Marothy  <sven@physto.se>
17261
17262         PR 27854
17263         * gnu/java/awt/Buffers.java (getData): Reimplement.
17264         * gnu/java/awt/peer/gtk/CairoSurface.java
17265         (getElem, setElem): Call native methods.
17266
17267 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17268
17269         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17270
17271 2006-06-01  Sven de Marothy  <sven@physto.se>
17272
17273         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17274         (drawImage): Check for zero size.
17275         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17276         (setFont): Declare new native method.
17277         (GdkTextLayout): Read some attributes.
17278         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17279         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17280         (setFont): New native method.
17281         
17282 2006-06-01  Sven de Marothy  <sven@physto.se>
17283
17284         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17285         (updateBufferedImage): Fix some errors.
17286
17287 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17288
17289         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17290         fixes,
17291         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17292         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17293         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17294         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17295         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17296         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17297         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17298         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17299         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17300         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17301         
17302 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17303
17304         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17305         * javax/swing/JEditorPane.java: Likewise,
17306         * javax/swing/JFormattedTextField.java: Likewise,
17307         * javax/swing/JLayeredPane.java: Likewise,
17308         * javax/swing/JScrollPane.java: Likewise,
17309         * javax/swing/JSlider.java: Likewise,
17310         * javax/swing/JSpinner.java: Likewise,
17311         * javax/swing/JTree.java: Likewise,
17312         * javax/swing/JViewport.java: Likewise,
17313         * javax/swing/UIDefaults.java: Likewise,
17314         * javax/swing/UIManager.java: Likewise.
17315         
17316 2006-06-01  Sven de Marothy  <sven@physto.se>
17317
17318         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17319         (BufferedImageGraphics): Cache surfaces.
17320         (updateBufferedImage): Copy directly for certain color models.
17321         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17322         (drawImage): Reimplement.
17323
17324 2006-06-01  Sven de Marothy  <sven@physto.se>
17325
17326         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17327         (setPixels): Don't swap, correct size.
17328
17329 2006-05-31  Anthony Green  <green@redhat.com>
17330
17331         PR 27828
17332         * java/net/InetSocketAddress.java: Defer getting the host
17333         name until somebody calls InetSocketAddress.getHostName().
17334         Fix "represenation" typo.
17335
17336 2006-06-01  Sven de Marothy  <sven@physto.se>
17337
17338         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17339         (updateBufferedImage): Simplify.
17340         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17341         (getPixels): Don't swap.
17342
17343 2006-06-01  Sven de Marothy  <sven@physto.se>
17344
17345         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17346         (setGradient): Reimplement.
17347         
17348 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17349
17350         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17351         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17352         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17353         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17354         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17355         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17356         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17357         Likewise.
17358
17359 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17360
17361         * javax/swing/table/JTableHeader.java
17362         (getColumnHeaderRenderer): New method,
17363         (getAccessibleColumnHeaderRenderer): Delegate part to new
17364         getColumnHeaderRenderer() method,
17365         (getLocale): Implemented.
17366
17367 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17368
17369         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17370         (cp_gtk_grab_current_drawable): Rename
17371         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17372         cp_gtk_grab_current_drawable, remove static declaration.
17373         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17374         function.
17375         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17376         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17377         Remove prototype of
17378         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17379         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17380         function.
17381         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17382         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17383         cp_gtk_grab_current_drawable here.
17384
17385 2006-05-31  Sven de Marothy  <sven@physto.se>
17386
17387         Should fix PR 27835
17388         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17389         (updateBufferedImage): Keep within image bounds.
17390
17391 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17392             Andreas Tobler  <a.tobler@schweiz.ch>
17393
17394         * configure.ac: Check for libXrender when the GTK peers are
17395         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17396         X_EXTRA_LIBS.
17397         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17398         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17399         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17400
17401 2006-05-31  Lillian Angel  <langel@redhat.com>
17402
17403         * javax/swing/plaf/basic/BasicProgressBarUI.java
17404         (paintString): Implemented to paint the string vertically.
17405
17406 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17407
17408         * javax/swing/JTable.java
17409         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17410         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17411         value,
17412         (AccessibleJTable.getAccessibleTable()): Likewise,
17413         (getAccessibleContext): Create new context if required.
17414
17415 2006-05-31  Roman Kennke <kennke@aicas.com>
17416
17417         * javax/swing/JTabbedPane.java
17418         (AccessibleJTabbedPane.stateChanged): Implemented.
17419         (Page.getAccessibleStateSet): Implemented.
17420         (Page.getAccessibleIndexInParent): Implemented.
17421         (getAccessibleContext): Add AccessibleJTabbedPane object
17422         as ChangeListener to the JTabbedPane.
17423
17424 2006-05-31  Roman Kennke <kennke@aicas.com>
17425
17426         * javax/swing/JMenuItem.java
17427         (getAccessibleContext): Register accessible object as ChangeListener
17428         to the JMenuItem.
17429         (AccessibleJMenuItem.armed): New field.
17430         (AccessibleJMenuItem.focusOwner): New field.
17431         (AccessibleJMenuItem.pressed): New field.
17432         (AccessibleJMenuItem.selected): New field.
17433         (stateChanged): Implemented.
17434
17435 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17436
17437         * javax/swing/ListSelectionModel.java: Added API docs all over.
17438
17439 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17440
17441         * examples/gnu/classpath/examples/swing/FillRect.java 
17442         (paintComponent): Optionally paint lines rather than rectangles.
17443         (createContent): Added option to test line painting.
17444
17445 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17446
17447         * javax/swing/event/EventListenerList.java
17448         (getListenerList): Updated API docs.
17449
17450 2006-05-30  Sven de Marothy  <sven@physto.se>
17451
17452         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17453         (drawImage): Clip scaled image to dest rectangle.
17454
17455 2006-05-30  Sven de Marothy  <sven@physto.se>
17456
17457         * gnu/java/awt/peer/gtk/CairoSurface.java:
17458         (CairoSurface): Convert pixels properly.
17459         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17460         Remove commented-out lines.
17461
17462 2006-05-30  Sven de Marothy  <sven@physto.se>
17463
17464         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17465         (drawImage): Use Toolkit to convert to BufferedImage.
17466         * gnu/java/awt/peer/gtk/CairoSurface.java
17467         (CairoSurface(GtkImage)): New Constructor.
17468         (getBufferedImage): New method.
17469         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17470         Don't fill background - FIXME.
17471         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17472         Remove unused methods.
17473         * gnu/java/awt/peer/gtk/GtkImage.java:
17474         (pixbuflock): New field. Methods change to use this lock.
17475         * gnu/java/awt/peer/gtk/GtkToolkit.java
17476         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17477         GtkPixbufDecoder.
17478         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17479         (setPixels): Correct length in bytes.
17480
17481 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17482
17483         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17484         System.loadLibrary unconditionally.
17485         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17486         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17487         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17488         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17489
17490 2006-05-30  Mark Wielaard  <mark@klomp.org>
17491
17492         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17493         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17494         Mark unused parameters, remove unused variables.
17495
17496 2006-05-30  Sven de Marothy  <sven@physto.se>
17497
17498         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17499         (copyArea): Implemented.
17500         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17501         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17502         (copyAreaNative): New method.
17503
17504 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17505
17506         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17507         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17508         for non big endian systems.
17509         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17510
17511 2006-05-30  Roman Kennke <kennke@aicas.com>
17512
17513         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17514         * java/awt/TexturePaint.java
17515         (createContext): Implemented.
17516
17517 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17518
17519         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17520         field early.
17521
17522 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17523
17524         * java/awt/Container.java:
17525         (removeAll): Reimplemented, added note.
17526
17527 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17528
17529         * java/awt/Container.java:
17530         (removeAll): Implemented different removal mechanism, added note.
17531
17532 2006-05-30  Lillian Angel  <langel@redhat.com>
17533
17534         PR 27785
17535         * java/awt/Component.java:
17536         (translateEvent): Added handling to translate WindowEvents
17537         * java/awt/Window.java:
17538         Removed unneeded imports.
17539
17540 2006-05-30  Mark Wielaard  <mark@klomp.org>
17541
17542         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17543         cairographics2d.h.
17544
17545 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17546
17547         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17548
17549 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17550
17551         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17552         (clearRect): Do not reuse the fg field, call updateColor.
17553         (drawRaster): Likewise.
17554         (setColor): Call updateColor.
17555         (updateColor): New method.
17556
17557 2006-05-30  Mark Wielaard  <mark@klomp.org>
17558
17559         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17560         (PTR_TO_JLONG): Likewise.
17561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17562         (getPointer): Use new conversion macros.
17563         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17565         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17566         Likewise.
17567         (setNativeObject): Likewise.
17568         (getNativeObject): Likewise.
17569         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17570         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17571         Mark static.
17572         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17573         Correctly cast XID and pointer values.
17574         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17575         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17576         Mark unused variables.
17577         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17578         Likewise.
17579         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17580         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17581         Remove unused cairographics2d struct.
17582         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17583         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17584         Use new conversion macros.
17585         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17586
17587 2006-05-30  Mark Wielaard  <mark@klomp.org>
17588
17589         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17590
17591 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17592
17593         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17594         (copy): Do not reuse the fd field.
17595         (setColor): Do not set the color if the parameter
17596         matches fd field.
17597         (translate(double, double): Rewritten to use
17598         AffineTransform.translate. 
17599
17600 2006-05-30  Sven de Marothy  <sven@physto.se>
17601
17602         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17603         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17604         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17605         New files.
17606         * include/Makefile.am
17607         * native/jni/gtk-peer/Makefile.am
17608         Add new files.
17609         * gnu/java/awt/peer/gtk/CairoSurface.java
17610         (getSharedGtkImage): New method.
17611         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17612         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17613         Fix copyArea.
17614         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17615         Support a non-xrender context.
17616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17617         Plug memory leak.
17618         * gnu/java/awt/peer/gtk/GtkImage.java
17619         * include/gnu_java_awt_peer_gtk_GtkImage.h
17620         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17621         (initFromBuffer): New method.   
17622         * native/jni/gtk-peer/gtkpeer.h: 
17623         Remove declarations of previouslyremoved methods.
17624
17625 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
17626
17627         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17628
17629 2006-05-29  Mark Wielaard  <mark@klomp.org>
17630
17631         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17632         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17633         arguments.
17634         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17635         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17636         early. Remove unused return statement in void function.
17637         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17638         ptr early.
17639         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17640         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17641         unused arguments.
17642         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17643         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17644         Likewise.
17645         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17646         Likewise.
17647
17648 2006-05-29  Sven de Marothy  <sven@physto.se>
17649
17650         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17651         (setPixels): Remove superfluous return statement.       
17652
17653 2006-05-29  Sven de Marothy  <sven@physto.se>
17654
17655         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17656         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17657         * gnu/java/awt/peer/gtk/CairoSurface.java
17658         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17659         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17660         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17661         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17662         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17663         * native/jni/gtk-peer/cairographics2d.h
17664         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17665         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17666         New files.
17667
17668         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17669         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17670         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17671         Removed
17672
17673         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17674         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17675         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17676         (releasePeerGraphicsResource): Moved to Font peer class.
17677
17678         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17679         (createGraphics): Use new context classes.
17680
17681         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17682         Use native BufferedImages where possible.
17683
17684         * gnu/java/awt/peer/gtk/GdkTextLayout.java
17685         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17686         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17687         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17688         renamed to cairoDrawGdkTextLayout.
17689         
17690         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17691         (getGraphics): Use ComponentGraphics context.
17692         (createImage): Use native BufferedImage.
17693         
17694         * gnu/java/awt/peer/gtk/GtkImage.java:
17695         * include/gnu_java_awt_peer_gtk_GtkImage.h
17696         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17697         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17698         Remove drawing methods.
17699                 
17700         * gnu/java/awt/print/JavaPrinterGraphics.java:
17701         Use CairoSurface instead of GtkImage.
17702         
17703         * include/Makefile.am
17704         * native/jni/gtk-peer/Makefile.am
17705         Update for new files.
17706
17707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17708         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17709         Remove superfluous GtkImage code for GdkPixmaps. 
17710
17711         * native/jni/gtk-peer/gtkpeer.h
17712         Remove graphics2d structure.
17713         
17714 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17715
17716         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17717         Do not reuse fg in the constructor.
17718
17719 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
17720
17721         * java/io/ObjectStreamConstants.java: Added API docs.
17722
17723 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17724
17725         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17726         Take no action if this color is already set.
17727
17728 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17729
17730         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17731         Rewritten. 
17732         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17733         Optionally paint with translation. (createContent): Added option
17734         to test painting with translation
17735
17736 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
17737
17738         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17739         pattern to the default value when null.
17740         Pass field pattern, and not parameter with same name to createFileStream.
17741
17742 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17743
17744         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17745         New class implementing the OS bean.
17746         * gnu/java/lang/management/package.html:
17747         New file to document the gnu.java.lang.management package.
17748         * java/lang/management/ManagementFactory.java:
17749         New class to provide access to the OS bean.
17750         * java/lang/management/OperatingSystemMXBean.java:
17751         New interface.
17752         * java/lang/management/package.html:
17753         New file to document the java.lang.management package.
17754         
17755 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17756
17757         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17758         (JKS): Likewise.
17759         (LIB): Likewise.
17760         (SECURITY): Likewise.
17761         (CACERTS): Likewise.
17762         (CACERTS_GKR): Likewise.
17763         (gkrCaCertsPathName): New field.
17764         (jksCaCertsPathName): Likewise.
17765         (selfSignedCertificate): Likewise.
17766         (start): Initialize trusted certificate key stores if -trustcacerts is
17767         specified.
17768         (ensureReplyIsOurs): Initialize selfSignedCertificate.
17769         (orderChain): Implemented.
17770         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17771         certificate key stores if -trustcacerts option is specified.
17772         (findTrustInCACerts): Removed.
17773         (getCertPathParameters): New method.
17774         (validate): New method.
17775         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17776
17777 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17778
17779         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17780         (PATTERN_KEY): Likewise.
17781         (DEFAULT_PATTERN): Likewise.
17782         (LIMIT_KEY): Likewise.
17783         (DEFAULT_LIMIT): Likewise.
17784         (COUNT_KEY): Likewise.
17785         (DEFAULT_COUNT): Likewise.
17786         (APPEND_KEY): Likewise.
17787         (DEFAULT_APPEND): Likewise.
17788         (FileHandler()): Use pattern value as set in logging.properties.
17789         Use constants defined above.
17790         (FileHandler(1)): Use constants defined above.
17791         (FileHandler(2)): Likewise.
17792         (FileHandler(3)): Likewise.
17793         (FileHandler(4)): Likewise.
17794         (createFileStream): Likewise.
17795
17796 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17797
17798         * java/util/logging/FileHandler.java: Reverted previous patch.
17799         * java/util/logging/LogManager.java: Likewise.
17800
17801 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17802
17803         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17804         (DEFAULT_PATTERN): Likewise.
17805         (FileHandler()): Use configured pattern property if any; otherwise use a
17806         default value as per RI documentation.
17807         * java/util/logging/LogManager.java (getStringProperty): New method.
17808
17809 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17810
17811         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17812
17813 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17814
17815         * configure.ac (FOUND_CACAO): New automake conditional.
17816         Add --enable-tool-wrappers.
17817         * NEWS: Introduce the --enable-tool-wrappers option.
17818         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17819         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
17820         rename ...
17821         * tools/toolwrapper.c: New file.
17822
17823 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
17824
17825         * java/awt/Graphics2D.java: Use full class name for 
17826         PrinterJob in javadoc.
17827
17828 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
17829
17830         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17831         (callMouseMethod): Likewise.
17832
17833 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17834
17835         * native/jni/java-net/java_net_VMURLConnection.c:
17836         Fix function declarations to specify unused parameters.
17837         * scripts/check_jni_methods.sh:
17838         Remove copies of the same function using uniq.
17839         
17840 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17841
17842         * vm/reference/java/net/VMURLConnection.java:
17843         Make package-private and final.
17844         
17845 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17846
17847         * examples/gnu/classpath/examples/swing/TableDemo.java
17848         (TModed): Added editor for the icons column.
17849         (createContent): Increase the row height by 2 px.
17850
17851 2006-05-26  Tom Tromey  <tromey@redhat.com>
17852
17853         PR classpath/27685:
17854         * java/math/BigInteger.java (modPow): Correctly handle negative
17855         exponent.
17856
17857 2006-05-26  Tom Tromey  <tromey@redhat.com>
17858
17859         * configure.ac: Check for magic.h and -lmagic.
17860         * vm/reference/java/net/VMURLConnection.java: New file.
17861         * include/java_net_VMURLConnection.h: New file.
17862         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17863         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17864         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17865         Mention new file.
17866         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17867         * native/jni/java-net/java_net_VMURLConnection.c: New file.
17868
17869 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17870
17871         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17872
17873 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17874
17875         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17876         libjawtgnu.la libjawt.la.
17877
17878 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17879
17880         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17881         gtkcairopeer.h.
17882
17883 2006-05-25  Lillian Angel  <langel@redhat.com>
17884         
17885         PR 26174
17886         * java/awt/Window.java
17887         (Window): Moved code to helper.
17888         (addWindowFocusListener): New function. Handles focus
17889         listener code. Added code to handle focus lost/gained
17890         from the window.
17891
17892 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17893
17894         * configure.ac:
17895         Make pkg-config check for GTK+ >= 2.8.
17896         
17897 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17898
17899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17900         (flush): Remove debugging printfs.
17901
17902 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17903
17904         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17905         (schedule_flush): New function.
17906         (end_drawing_operation): Call schedule_flush.
17907
17908 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17909
17910         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17911         paint performance demo.
17912         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17913
17914 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17915
17916         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
17917         Cairo version requirement.  Do not mention --enable-gtk-cairo
17918         configure option.
17919         * NEWS: Add entry for GdkGraphics2D.
17920         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17921         Cairo library and headers.
17922         * .externalToolBuilders/Configure.launch: Remove
17923         --enable-gtk-cairo from configure line.
17924         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17925         field.
17926         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17927         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17928         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17929         useGraphics2D references.  Always assume Graphics2D is enabled.
17930         * gnu/java/awt/peer/gtk/GdkGraphics.java,
17931         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17932         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17933         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17934         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
17935         useGraphics2D references.  Always assume Graphics2D is enabled.
17936         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17937         Graphics2D check.  Always assume Graphics2D is enabled.
17938         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17939         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17940         (realize): Remove method.
17941         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17942         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17943         (isRealized): Remove method.
17944         (realize): Implement as a native method.  Remove useGraphics2D
17945         references.  Always assume Graphics2D is enabled.
17946         * gnu/java/awt/peer/gtk/GtkImage.java,
17947         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17948         GdkGraphics references with GdkGraphics2D references.
17949         * gnu/java/awt/peer/gtk/GtkToolkit.java,
17950         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17951         useGraphics2D references.  Always assume Graphics2D is enabled.
17952         * include/Makefile.am (GTKPEER_H_FILES): Remove
17953         gnu_java_awt_peer_gtk_GdkGraphics.h.
17954         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17955         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17956         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17957         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17958         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17959         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17960         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17961         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
17962         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17963         (AM_LDFLAGS): Remove CAIRO_LIBS.
17964         (AM_CFLAGS): Remove CAIRO_CFLAGS.
17965         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
17966         to ...
17967         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17968
17969 2006-05-25  Lillian Angel  <langel@redhat.com>
17970
17971         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17972         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17973         Added check to prevent assertion error. If widget->window is null, then
17974         use the parent widget's window to set the cursor on.
17975
17976 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17977
17978         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
17979         Implemented.
17980
17981 2006-05-24  Lillian Angel  <langel@redhat.com>
17982
17983         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17984         (prependCodeBase): Added check to determine if the documentbase
17985         points to a directory or a file.
17986
17987 2006-05-24  Sven de Marothy  <sven@physto.se>
17988
17989         * java/awt/dnd/DragGestureRecognizer.java
17990         (resetRecognizer): Implement.
17991         (fireDragGestureRecognized): Implement.
17992
17993 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
17994
17995         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
17996         fixed source code formatting.
17997
17998 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17999
18000         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18001
18002 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18003
18004         Reported by Antony Balkisson.
18005         * javax/swing/JTable.java (selectAll): Return without action 
18006         if the table is empty.
18007
18008 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18009
18010         * examples/gnu/classpath/examples/swing/TableDemo.java:
18011         (SliderCell): New inner class. (setCustomEditors,
18012         setInformativeHeaders): New fields. (createContent):
18013         Rewritten.
18014         * javax/swing/DefaultCellEditor.java 
18015         (JComboBoxDelegate.shouldSelectCell): New method.
18016         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18017         * javax/swing/plaf/basic/BasicTableUI.java
18018         (MouseInputHandler.mouseClicked): Start editing on a single
18019         click if the cell editor is not a default cell editor.
18020
18021 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18022
18023         * javax/swing/naming/CompositeName.java,
18024         javax/swing/naming/CompoundName.java:
18025         Documented.
18026
18027 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18028
18029         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18030         ordering problem.
18031
18032 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18033
18034         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18035         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18036         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18037         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18038         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18039         * javax/swing/tree/ExpandVetoException.java: Likewise,
18040         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18041         * javax/swing/tree/RowMapper.java: Likewise,
18042         * javax/swing/tree/TreeNode.java: Likewise,
18043         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18044         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18045
18046 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18047
18048         * javax/swing/tree/DefaultTreeCellRenderer.java
18049         (DefaultTreeCellRenderer): Changed key for 
18050         setBackgroundNonSelectionColor(),
18051         plus API docs all over.
18052
18053 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18054         
18055         PR 27680
18056         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18057         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18058         Initialise in constructor. (columnMoved): Cancel editing.
18059         (createDefaultEditors): Rewritten. (editCellAt):
18060         Just invert the value if this is a boolean cell. 
18061         (initialiseLocalVars): Do not initialise renderer and editor tables.
18062         (setUI): Create editors and renderers here.
18063
18064 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18065
18066         * examples/gnu/classpath/examples/awt/Demo.java:
18067         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18068         instance as subframe.
18069         (ResolutionWindow): New inner class.
18070         (FullscreenWindow): New inner class.
18071
18072 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18073         
18074         PR 27680
18075         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18076         Set horizontal alignment to centered.
18077
18078 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18079
18080         * javax/accessibility/AccessibleContext.java
18081         (getAccessibleComponent): Fixed typo in docs,
18082         * javax/swing/JLabel.java:
18083         (AccessibleJLabel.getAccessibleName): Check for explicit 
18084         accessibleName,
18085         * javax/swing/JTableHeader.java
18086         (AccessibleJTableHeaderEntry.columnIndex): New field,
18087         (AccessibleJTableHeaderEntry.parent): New field,
18088         (AccessibleJTableHeaderEntry.table): New field,
18089         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18090         Implemented,
18091         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18092         utility method,
18093         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18094         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18095         (AccessibleJTableHeaderEntry.contains): Implemented,
18096         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18097         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18098         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18099         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18100         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18101         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18102         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18103         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18104         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18105         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18106         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18107         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18108         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18109         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18110         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18111         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18112         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18113         (AccessibleJTableHeaderEntry.getFont): Implemented,
18114         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18115         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18116         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18117         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18118         (AccessibleJTableHeaderEntry.getSize): Implemented,
18119         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18120         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18121         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18122         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18123         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18124         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18125         Implemented,
18126         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18127         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18128         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18129         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18130         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18131         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18132         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18133         (AccessibleJTableHeaderEntry.setFont): Implemented,
18134         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18135         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18136         (AccessibleJTableHeaderEntry.setSize): Implemented,
18137         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18138         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18139         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18140         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18141         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18142
18143 2006-05-22  Tom Tromey  <tromey@redhat.com>
18144
18145         * NEWS: Updated.
18146
18147 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18148
18149         * javax/swing/JLabel.java
18150         (AccessibleJLabel.getAccessibleName): New method (override),
18151         (setLabelFor): Fire 'labelFor' property change event before other
18152         events.
18153
18154 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18155
18156         * javax/swing/JLabel.java
18157         (AccessibleJLabel.getAccessibleRole): New method (override).
18158
18159 2006-05-22  Tom Tromey  <tromey@redhat.com>
18160
18161         * resource/gnu/classpath/tools/serialver/messages.properties: New
18162         file.
18163         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18164         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18165         field.
18166         (classpath): Likewise.
18167         (run): New method.
18168         (main): Use it.
18169         (addFileURL): New method.
18170         (getClassLoader): Likewise.
18171         (printMessage): Likewise.
18172
18173 2006-05-22  Tom Tromey  <tromey@redhat.com>
18174
18175         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18176
18177 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18178
18179         * javax/swing/JTable.java (doLayout): In the column
18180         resize mode, only repaing the changed part of the table.
18181         (getLeftResizingBoundary): New method.
18182
18183 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18184
18185         * javax/naming/spi/InitialContextFactory.java,
18186         javax/naming/spi/InitialContextFactoryBuilder.java,
18187         javax/naming/spi/NamingManager.java,
18188         javax/naming/spi/ObjectFactory.java,
18189         javax/naming/spi/ResolveResult.java,
18190         javax/naming/spi/Resolver.java,
18191         javax/naming/spi/StateFactory.java: Documented.
18192
18193 2006-05-21  Tom Tromey  <tromey@redhat.com>
18194
18195         PR classpath/27688:
18196         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18197         a WorkSet.
18198         (initSet): Removed.
18199         (shouldExtract): Removed.
18200         (run): Updated.
18201         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18202         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18203         method.
18204         (listJar): Use it.
18205         (allItems): New field.
18206         (run): Initialize it.
18207         (listJar): Use it.
18208
18209 2006-05-22  Sven de Marothy  <sven@physto.se>
18210
18211         * java/nio/CharBuffer.java
18212         (wrap): Fix bounds checking.
18213
18214 2004-08-26  Tom Tromey  <tromey@redhat.com>
18215
18216         * java/io/OutputStream.java 
18217         (OutputStream): Implements Closeable, Flushable.
18218
18219 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18220
18221         * java/io/ObjectOutputStream.java:
18222         (writeObject(Object)): Added enum support.
18223         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18224         * java/io/ObjectStreamClass.java:
18225         (isEnum()): New package-private method.
18226         (setFlags(Class)): Added enum support.
18227         * java/io/ObjectStreamConstants.java:
18228         (SC_ENUM): Added.
18229
18230 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18231
18232         * java/io/ObjectInputStream.java:
18233         (parseContent(byte)): Added enum support.
18234         * java/io/ObjectStreamConstants.java:
18235         (TC_ENUM): Added.
18236         (TC_MAX): Changed to new maximum, TC_ENUM.
18237
18238 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18239
18240         * java/beans/beancontext/BeanContextSupport.java:
18241         (instantiateChild(String)): Implemented.
18242         
18243 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18244
18245         * java/beans/beancontext/BeanContextSupport.java:
18246         (add(Object)): Add further documentation.
18247         (isEmpty()): Documented.
18248         (propertyChange(PropertyChangeEvent)): Implemented.
18249         (remove(Object)): Documented.
18250         (remove(Object,boolean)): Documented and implemented.
18251         (vetoableChange(PropertyChangeEvent)): Marked as
18252         implemented (only subclasses appear to need this).
18253         
18254 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18255
18256         * java/beans/beancontext/BeanContextSupport.java:
18257         (add(Object)): Implement support for the child being
18258         a BeanContextChild.
18259         (avoidingGui()): Implemented.
18260         (dontUseGui()): Likewise.
18261         (needsGui()): Likewise.
18262         (okToUseGui()): Likewise.
18263         
18264 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18265
18266         * javax/naming/Context.java,
18267         javax/naming/ContextNotEmptyException.java,
18268         javax/naming/Reference.java: Documented.
18269
18270 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18271
18272         * javax/swing/text/html/MinimalHTMLWriter.java
18273         (writeComponent, writeImage): Declare that the method
18274         may throw the IOException.
18275
18276 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18277         
18278         PR 26972
18279         * javax/naming/InitialContext.java (colon_list): Changed type to
18280         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18281         (merge): Rewritten.
18282
18283 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18284
18285         * javax/naming/InitialContext.java: Documented.
18286
18287 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18288
18289         * javax/naming/NameParser.java,
18290         javax/naming/NamingEnumeration.java,
18291         javax/naming/PartialResultException.java,
18292         javax/naming/SizeLimitExceededException.java,
18293         javax/naming/spi/ObjectFactory.java,
18294         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18295
18296 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18297
18298         * gnu/java/net/loader/JarURLLoader.java:
18299         Use Map.Entry instead of LinkedHashMap.Entry
18300         
18301 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18302
18303         * javax/naming/Context.java: Documented.
18304
18305 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18306
18307         * javax/naming/Referenceable.java: Documented.
18308         * javax/naming/spi/NamingManager.java: Documented.
18309
18310 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18311
18312         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18313         to messages.properties.
18314         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18315         Renamed to messages.properties.
18316         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18317         Likewise.
18318         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18319         Renamed from MessageBundle.properties.
18320         Added copyright notice.
18321         * resource/gnu/classpath/tools/keytool/messages.properties:
18322         Likewise.
18323         * tools/gnu/classpath/tools/jarsigner/Messages.java
18324         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18325         (getFormattedString): Fixed a spelling mistake.
18326         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18327
18328 2006-05-20  Sven de Marothy  <sven@physto.se>
18329
18330         * gnu/java/awt/font/opentype/NameDecoder.java
18331         Made class public.
18332         (getName): Use getShort instead of getChar(), fix PS name.
18333         (decodeName): New method.
18334         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18335         (getSubFamilyName): Implement.
18336         (getPostScriptName): Use the NameDecoder class instead.
18337         (parsePSName): Removed.
18338         (getName): Added
18339
18340 2006-05-20  Sven de Marothy  <sven@physto.se>
18341
18342         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18343         (getTrueTypeTable): New native method.
18344         (getPostScriptName): Reimplement.
18345         (parsePSName): New method.
18346         (getNumGlyphs): Implement.
18347         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18348         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18349         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18350         New function. File is now explicitly dependent on FT2.
18351         
18352 2006-05-20  Tom Tromey  <tromey@redhat.com>
18353
18354         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18355         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18356         file.
18357         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18358         (HandleFile): New class.
18359         (input, output, encoding, reversed): New fields.
18360         (createParser): New method.
18361         (run): Likewise.
18362         (main): Use 'run'.
18363         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18364         (notifyFile): Throws OptionException.
18365
18366 2006-05-20  Tom Tromey  <tromey@redhat.com>
18367
18368         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18369         from cp-tools.
18370
18371 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18372
18373         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18374         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18375         platforms.
18376         
18377 2006-05-20  Sven de Marothy  <sven@physto.se>
18378
18379         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18380         
18381 2006-05-20  Sven de Marothy  <sven@physto.se>
18382
18383         * gnu/java/awt/print/JavaPrinterJob.java 
18384         (print): Use PostScriptGraphics2D.
18385         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18386         
18387 2006-05-20  Sven de Marothy  <sven@physto.se>
18388
18389         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18390         
18391 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18392
18393         * gnu/java/security/OID.java: Updated copyright year.
18394         (OID): Removed unused Javadoc param tag.
18395         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18396         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18397
18398 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18399
18400         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18401         Formatting.
18402         Added trace/debug statements.
18403         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18404         Entry.  Also ensure that any previous entry for this alias is removed
18405         before a new one is added.
18406         (engineGetKey): Do not trace/log passwords.
18407         Trace key's class name only.
18408         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18409         Certificate Entry. Also ensure that previous entry for this alias is
18410         removed before a new one is added.
18411         (engineLoad): Do not trace/log passwords.
18412         (engineStore): Likewise.
18413         (engineSize): Use size of enumeration instead of collection size.
18414
18415 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18416
18417         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18418         (toString): New method.
18419         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18420         Do not trace/log passwords.
18421         Set masked to false before decoding envelope.
18422         Do not set payload to null.
18423         (encrypt): Set masked to true.
18424         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18425         Do not trace/log passwords.
18426         Set masked to false before decoding envelope.
18427         Do not set payload to null.
18428         Added trace/debug statements.
18429         (authenticate): Do not trace/log passwords.
18430         Set masked to true.
18431         Added trace/debug statements.
18432         (getMac): Added trace/debug statements.
18433         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18434         (remove(String)): Changed the signature to return a boolean.
18435         (toString): New method.
18436         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18437         Formatting
18438         (getCertificate): Likewise.
18439         (putCertificate): Likewise.
18440         (load): Likewise.
18441         Do not trace/log passwords.
18442         (store): Likewise.
18443         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18444         Do not trace/log passwords.
18445         Added more trace/logging statements.
18446         (putPrivateKey): Do not trace/log passwords.
18447         Trace only key's class name.
18448         Formatting.
18449         (containsPublicKey): Formatting.
18450         (getPublicKey): Likewise.
18451         Trace only key's class name.
18452         (putPublicKey): Trace only key's class name.
18453         (containsCertPath): Formatting.
18454         (getCertPath): Likewise.
18455         (putCertPath): Likewise.
18456         (load): Do not trace/log passwords.
18457         Formatting.
18458         (store): Likewise.
18459         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18460         (add): Do not set payload to null.
18461         Added trace/debug statements.
18462         (containsAlias): Added trace/debug statements.
18463         (get): Likewise.
18464         (remove(Entry)): Likewise.
18465         (remove(String)): Likewise.
18466         Changed the signature to return a boolean.
18467         Do not set payload to null unless really removed.
18468         (toString): New method.
18469         (decodeEnvelope): Clear entries before proceeding.
18470         (makeAliasList): Added trace/debug statements.
18471         Ensure only non-null aliases and alias-lists are added.
18472         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18473         (TYPES): New constant.
18474         (toString): New method.
18475         (defaultDecode): Add trace/debug statement.
18476
18477 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18478
18479         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18480         Increased visibility.
18481         (setup): Do not trace/log passwords.
18482         (parsed): Was not setting correct (rfc) field; fixed.
18483         (print1Chain): Formatting.
18484         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18485         Do not trace/log passwords.
18486         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18487         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18488         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18489         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18490         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18491         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18492         (orderChain): Added FIXME.
18493         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18494         Do not trace/log passwords.
18495         Removed commented out code.
18496         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18497         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18498         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18499         (setKeystoreURLParam): Likewise.
18500         (setKeystorePasswordParam): Do not trace/log passwords.
18501         (saveKeyStore): Likewise.
18502
18503 2006-05-19  Roman Kennke <kennke@aicas.com>
18504
18505         * gnu/java/awt/java2d/AbstractGraphics2D.java
18506         Added class docs.
18507         (pixel): Removed obsolete field.
18508         (draw(Shape)): Removed commented out code.
18509         (drawImage): Formatting.
18510         (drawString): Added optimization hook.
18511         (setPaint): Removed rawSetForeground().
18512         (getFontRenderContext): Return context with correct transform.
18513         (drawGlyphVector): Draw complete outline in one go.
18514         (copyArea): Added optimization hook.
18515         (clearRect): Added optimization hook.
18516         (drawImage): Added optimization hook.
18517         (fillShape): (Temporarily) Set antialiasing off by default for
18518         font rendering. Adjust the shape by some bits to improve rendering.
18519         Pass clip bounds to the render methods.
18520         (drawPixel): Removed.
18521         (rawSetPixel): Removed.
18522         (rawSetForeground): Removed.
18523         (rawDrawLine): Default impl calls standard pipeline.
18524         (rawDrawString): New method, calls standard pipeline for rendering.
18525         (rawClearRect): New method, calls standard pipeline for rendering.
18526         (rawFillRect): New method, calls standard pipeline for rendering.
18527         (rawDrawImage): New method, calls standard pipeline for rendering.
18528         (rawCopyArea): New method.
18529         (copyAreaImpl): New method.
18530         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18531         for rendering.
18532         (fillShapeAntialias): Fixed AA rendering.
18533         (fillScanlineAA): Fixed AA rendering.
18534         (getSegments): Take offset into account.
18535
18536 2006-05-19  Sven de Marothy  <sven@physto.se>
18537
18538         * javax/swing/text/AbstractWriter.java
18539         (getText): Fix parameters (start, length) not (start, end).
18540         
18541 2006-05-19  Tom Tromey  <tromey@redhat.com>
18542
18543         PR classpath/27444:
18544         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18545         Changed return type.
18546         * java/net/URLClassLoader.java (urlloaders): Removed.
18547         (addURLImpl): Updated.
18548         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18549         (indexSet): Likewise.
18550         (classPath): Changed type.
18551         (JarURLLoader): New constructor.
18552         (initialize): New method.
18553         (getResource): Use index set if it exists.
18554         (getClassPath): Updated.
18555         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18556         (prefixes): New field.
18557         (headers): Removed.
18558         (IndexListParser): Fill in prefixes.
18559         (clearAll): Clear prefixes.
18560         (getHeaders): Changed return type.
18561
18562 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18563
18564         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18565         (MouseInputHandler.mouseExitted): No nothing there.
18566         (MouseInputHandler.endDragging): Move column to the
18567         first/last position if released outside the horizontal
18568         table range.
18569
18570 2006-05-19  Lillian Angel  <langel@redhat.com>
18571
18572         * java/awt/font/GlyphVector.java
18573         (getGlyphCharIndex): Implemented.
18574         (getGlyphCharIndices): Implemented.
18575         (getGlyphOutline): Implemented.
18576         (getGlyphVisualBounds): Implemented.
18577         (getGlyphVisualBounds): Implemented.
18578         (getPixelBounds): Implemented.
18579         (getLayoutFlags): Implemented.
18580
18581 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18582
18583         * java/awt/LightweightDispatcher.java: Added field dragButton and
18584         documentation for it.
18585         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18586         added subexpression to if-clause in MOUSE_RELEASED case.
18587
18588 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18589
18590         * javax/swing/metal/MetalButtonUI.java:
18591         (update): Removed some subexpression from if-clause and call
18592         updateWithGradient.
18593         (updateWithGradient): New method.
18594
18595 2006-05-19  Roman Kennke <kennke@aicas.com>
18596
18597         * javax/swing/JComponent.java
18598         (findOverlapFreeParent): Implemented algorithm for finding
18599         overlapping in component hierarchy.
18600
18601 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
18602
18603         * java/lang/Thread.java
18604         (contextClassLoaderIsSystemClassLoader): New field.
18605         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18606         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18607         and set contextClassLoaderIsSystemClassLoader.
18608         (Thread(ThreadGroup,Runnable,String,long)):
18609         Set contextClassLoaderIsSystemClassLoader.
18610         (createAnonymousThreadName): New method.
18611         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18612         and fixed security check.
18613         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18614
18615 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18616
18617         * javax/swing/plaf/basic/BasicToolBarUI.java:
18618         (createNonRolloverBorder): Rewritten.
18619         (createRolloverBorder): Rewritten.
18620         (setToNonRolloverBorder): Store old border instance in hashtable.
18621         (setToRolloverBorder): Store old border instance in hashtable, use
18622         AbstractButton instead of JButton in statements.
18623         (setBorderToNormal): Rewritten.
18624         * javax/swing/plaf/metal/MetalLookAndFeel.java:
18625         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18626         ToolBar.nonrolloverBorder.
18627
18628 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
18629
18630         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18631         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18632
18633 2006-05-18  Lillian Angel  <langel@redhat.com>
18634
18635         * java/awt/font/GlyphMetrics.java
18636         (getLSB): Implemented.
18637         (getRSB): Implemented.
18638
18639 2006-05-18  Lillian Angel  <langel@redhat.com>
18640
18641         * java/awt/font/GraphicAttribute.java:
18642         Documented entire class.
18643         (GraphicAttribute): Added check for alignment.
18644         (getBounds): Implemented.
18645         (getJustificationInfo): Implemented.
18646
18647 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18648
18649         * java/awt/LightweightDispatcher.java:
18650         (handleMouseEvent): Added note, added subexpression to if-statement.
18651
18652 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18653
18654         * javax/swing/plaf/basic/BasicToolBarUI.java:
18655         (navigateFocusedComp): Marked as stub.
18656         (createRolloverBorder): Create a different Border instance, added note.
18657         * javax/swing/plaf/metal/MetalBorders.java:
18658         (ButtonBorder): Added documentation.
18659         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18660         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18661         subexpression into if-else cascade, added note.
18662
18663 2006-05-18  Lillian Angel  <langel@redhat.com>
18664
18665         * java/awt/font/ShapeGraphicAttribute.java:
18666         Documented entire class.
18667         (ShapeGraphicAttribute): Initialized bounds field.
18668         (draw): Implemented.
18669         (equals): Implemented.
18670         (getAdvance): Implemented.
18671         (getAscent): Implemented.
18672         (getBounds): Implemented.
18673         (getDescent): Implemented.
18674         (hashCode): Implemented.
18675
18676 2006-05-18  Roman Kennke <kennke@aicas.com>
18677
18678         * javax/swing/CellRendererPane.java
18679         (CellRendererPane): Set CellRendererPane to invisible.
18680
18681 2006-05-18  Roman Kennke <kennke@aicas.com>
18682
18683         * gnu/java/awt/peer/gtk/GdkGraphics.java
18684         (clipRect): Removed old intersection statement.
18685
18686 2006-05-18  Roman Kennke <kennke@aicas.com>
18687
18688         * gnu/java/awt/peer/gtk/GdkGraphics.java
18689         (clipRect): Don't use Rectangle.intersection() to avoid creating
18690         2 unnecessary Rectangle instances and fix a clipping problem.
18691         (computeIntersection): New helper method, adapted from SwingUtilities.
18692
18693 2006-05-18  Roman Kennke <kennke@aicas.com>
18694
18695         * javax/swing/JComponent.java
18696         (isCompletelyDirty): Removed.
18697         (paint): Don't mark children as clean, this is no longer necessary.
18698         (findOverlapFreeParent): Don't stop at Viewports, this breaks
18699         painting when something overlaps the viewport (like a popup/menu).
18700         * javax/swing/RepaintManager.java
18701         (currentRepaintManagers): Made package private to avoid accessor
18702         methods.
18703         (dirtyComponents): Made private.
18704         (dirtyComponentsWork): Made private.
18705         (markCompletelyDirty): Fixed bounds of dirtyrect to be
18706         component-local not parent-local. Do not set flag in JComponent.
18707         (markCompletelyClean): Don't set JComponent flag.
18708         (isCompletelyDirty): Rewritten to return true when the complete
18709         component is marked dirty.
18710         (paintDirtyRegions): Improved parent-merging so that the merged-in
18711         components don't get painted too. 'Outsourced' the compilation
18712         of the repaint root components.
18713         (compileRepaintRoots): New helper method.
18714
18715 2006-05-18  Roman Kennke <kennke@aicas.com>
18716
18717         PR 26368
18718         * javax/swing/text/GapContent.java
18719         (GapContentPosition(int)): Use adapted binarySearch method to
18720         allow for having a greater array than number of entries.
18721         (numMarks): New field, holds the end of the marks list.
18722         (GapContent): Initialize positionMarks with size of 10 instead of 0.
18723         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18724         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18725         (setPositionsInRange): Changed signature to narrow the purpose and
18726         special cases inside. Reimplemented to crunch together equal marks.
18727         (adjustPositionsInRange): Added assertion to make sure we do
18728         not accidentally change the order of the mark. Added some debug
18729         output for a special case of which I don't know if it even exists.
18730         (resetMarksAtZero): Made impl simpler.
18731         (dumpMarks): New debug helper method.
18732         (insertMark): Grow array in bigger chunks to avoid excessive copying.
18733         (binarySearch): New method. An adaption of Arrays.binarySearch()
18734         that allows for an maxIndex parameter.
18735
18736 2006-05-18  Roman Kennke <kennke@aicas.com>
18737
18738         * javax/swing/KeyboardManager.java
18739         (topLevelLookup): Use WeakHashMap to avoid memory leak.
18740
18741 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
18742
18743         * gnu/java/net/loader/JarURLLoader.java
18744         (JarURLLoader): Use a slightly more efficient URL constructor.
18745
18746 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
18747
18748         * gnu/java/awt/print/JavaPrinterGraphics.java
18749         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18750         (drawImage(Image, int, int, ImageObserver)): Likewise,
18751         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18752         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18753         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
18754         ImageObserver)): Likewise,
18755         (drawImage(Image, int, int, int, int, int, int, int, int, 
18756         ImageObserver)): Likewise.
18757
18758 2006-05-17  Tom Tromey  <tromey@redhat.com>
18759
18760         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18761         LinkedHashSet.
18762
18763 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18764
18765         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18766         * javax/swing/border/BevelBorder.java: Likewise,
18767         * javax/swing/border/CompoundBorder.java: Likewise,
18768         * javax/swing/border/TitledBorder.java: Likewise.
18769
18770 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18771
18772         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18773         * javax/swing/table/DefaultTableModel.java: Likewise,
18774         * javax/swing/table/TableCellEditor.java: Likewise,
18775         * javax/swing/table/TableCellRenderer.java: Likewise.
18776
18777 2006-05-17  Lillian Angel  <langel@redhat.com>
18778
18779         * java/awt/font/ImageGraphicAttribute.java:
18780         Documented entire class.
18781         (ImageGraphicAttribute): Changed to call this.
18782         (ImageGraphicAttribute): Implemented.
18783         (draw): Implemented.
18784         (equals): Implemented.
18785         (getAdvance): Implemented.
18786         (getAscent): Implemented.
18787         (getBounds): Implemented.
18788         (getDescent): Implemented.
18789         (hashCode): Implemented.
18790         * javax/swing/text/html/HTMLDocument.java
18791         (create): Removed. Sufficent enough for
18792         super to be called.
18793         (insert): Likewise.
18794         (insertUpdate): Likewise.
18795         (processHTMLFrameHyperlinkEvent): Marked as stub.
18796         (start): Removed FIXME.
18797         (end): Likewise.
18798         (start): Called super. 
18799         (end): Called super.
18800         (getElement): removed unneeded code.
18801         (setParagraphAttribute): Removed. Sufficent enough
18802         for super to be called.
18803         (fireChangedUpdate): Likewise.
18804         (fireUndoableEditUpdate): Likewise.     
18805
18806 2006-05-17  Lillian Angel  <langel@redhat.com>
18807
18808         * java/awt/TexturePaint.java:
18809         Added documentation for class and all functions.
18810         (getTransparency): Implemented.
18811
18812 2006-05-17  Roman Kennke <kennke@aicas.com>
18813
18814         * java/awt/LightweightDispatcher.java
18815         (findTarget): Translate point to child components.
18816
18817 2006-05-17  Roman Kennke <kennke@aicas.com>
18818
18819         PR 26368
18820         * javax/swing/text/GapContent.java
18821         (GapContentPosition): Do no more implement Comparable.
18822         (GapContentPosition.mark): Removed field.
18823         (GapContentPosition.index): New field to hold the index into
18824         the positions array.
18825         (GapContentPosition(int)): Rewritten to use the new indirection
18826         to the positions array.
18827         (GapContentPosition.compareTo): Removed.
18828         (GapContentPosition.getOffset): Synchronized. Fetch mark from
18829         positionMarks array.
18830         (WeakPositionComparator): Removed obsolete class.
18831         (positions): Changed type to WeakHashMap.
18832         (positionMarks): New field, holds the marks of the positions.
18833         (GapContent): Initialize new fields.
18834         (createPosition): Rewritten to use the new indirection
18835         to the positions array.
18836         (getPositionsInRange): Rewritten to use the new indirection
18837         to the positions array.
18838         (setPositionsInRange): Rewritten to use the new indirection
18839         to the positions array.
18840         (adjustPositionsInRange): Rewritten to use the new indirection
18841         to the positions array.
18842         (insertMark): New helper method.
18843         (clearPositionReferences): Removed obsolete methods.
18844
18845 2006-05-17  Lillian Angel  <langel@redhat.com>
18846
18847         * java/awt/GraphicsConfiguration.java
18848         (getImageCapabilities): Implemented.
18849         (getBufferCapabilities): Implemented.
18850
18851 2006-05-17  Lillian Angel  <langel@redhat.com>
18852
18853         * javax/swing/plaf/basic/BasicSliderUI.java
18854         (focusGained): Implemented.
18855         (focusLost): Implemented.
18856         (paint): Added code to paint the focus.
18857         * javax/swing/plaf/metal/MetalSliderUI.java
18858         (paintThumb): Added code to set the thumbColor.
18859         (paintFocus): Implemented properly.
18860
18861 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18862
18863         PR 27383
18864         * javax/naming/spi/NamingManager.java (getURLContext):
18865         Always search for the factory class in all possible places
18866         and use VMStackWalker.
18867         (forName): New method.
18868
18869 2006-05-17  Roman Kennke <kennke@aicas.com>
18870
18871         * java/awt/LightweightDispatcher.java
18872         (handleMouseEvent): Fixed search algorithm for finding the
18873         mouse event target.
18874         (findTarget): Fixed search algorithm for finding the
18875         mouse event target.
18876
18877 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18878
18879         * javax/naming/spi/NamingManager.java: Documented.
18880
18881 2006-05-17  Mark Wielaard  <mark@klomp.org>
18882
18883         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18884         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18885         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18886         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18887
18888 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18889
18890         Fixes PR 26947.
18891         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18892         year.
18893         (BorderListener.mouseClicked): Detect double-clicks in title pane,
18894         copied code from
18895         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18896
18897 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18898
18899         Fixes PR 27626.
18900         * java/awt/LightweightDispatcher.java:
18901         (handleMouseEvent): Moved assignment into switch-block, added notes.
18902
18903 2006-05-16  Lillian Angel  <langel@redhat.com>
18904
18905         * javax/swing/text/StyleContext.java:
18906         Changed staticAttributeKeys  to be a Hashtable.
18907         (getStaticAttribute): Implemented.
18908         (getStaticAttributeKey): Implemented.
18909         (readAttributeSet): Implemented.
18910         (writeAttributeSet): Added FIXME. Not sure how
18911         to implement this.
18912         (readAttributes): Implemented.
18913         (writeAttributes): Implemented.
18914         (registerStaticAttibuteKey): Fixed to add key to 
18915         the hash table.
18916
18917 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
18918
18919         * javax/swing/DefaultButtonModel.java
18920         (setGroup): Removed event notification.
18921
18922 2006-05-16  Lillian Angel  <langel@redhat.com>
18923
18924         * javax/swing/plaf/basic/BasicComboBoxUI.java
18925         (installKeyboardActions): Implemented.
18926         (uninstallKeyboardActions): Implemented.
18927         * javax/swing/plaf/basic/BasicComboPopup.java
18928         (uninstallKeyboardActions): Removed FIXME. Nothing
18929         to be done here.
18930         (installKeyboardActions): Likewise.
18931         * javax/swing/plaf/basic/BasicTextUI.java
18932         (uninstallKeyboardActions): Implemented.
18933         * javax/swing/plaf/basic/BasicTreeUI.java:
18934         Added field for hashColor.
18935         Marked stub methods.
18936         (getHashColor): Implemented to use field.
18937         (setHashColor): Likewise.
18938         (getRowX): Implemented.
18939         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
18940
18941 2006-05-16  Roman Kennke <kennke@aicas.com>
18942
18943         PR 26521
18944         * javax/swing/JTable.java
18945         (rowHeights): New field.
18946         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18947         in order to initialize rowHeights correctly.
18948         (tableChanged): Nullify rowHeights when model changes. Only
18949         create default columns from model when corresponding property
18950         is set. Sync table model with rowHeights as appropriate.
18951         (valueChanged): Call repaint with the correct rectangle.
18952         (rowAtPoint): Handle rowHeights.
18953         (getCellRect): Mostly rewritten. Check for boundaries
18954         of model and return (0,0,0,0) or (0,0,width,height) when outside.
18955         Handle component orientation. Round correctly.
18956         (getRowHeight(int)): Implemented for variable row height.
18957         (setRowHeight(int,int)): Implemented for variable row height.
18958         (setRowHeight(int)): Nullify rowHeights.
18959         (setModel): Notify tableChanged().
18960         * javax/swing/plaf/basic/BasicTableUI.java
18961         (installDefaults): Create rendererPane in installUI.
18962         (installUI): Create and install rendererPane.
18963         (uninstallUI): Uninstall rendererPane and nullify rendererPane
18964         and table.
18965         (paint): Correctly handle rowMargin.
18966
18967 2006-05-16  Tom Tromey  <tromey@redhat.com>
18968
18969         PR classpath/27563:
18970         * java/text/NumberFormat.java (getIntegerInstance): Use
18971         "integerFormat", not "numberFormat".
18972
18973 2006-05-16  Lillian Angel  <langel@redhat.com>
18974
18975         * javax/swing/JPopupMenu.java
18976         (addMenuKeyListener): Implemented.
18977         (removeMenuKeyListener): Implemented.
18978         (getMenuKeyListeners): Implemented.
18979         * javax/swing/ProgressMonitor.java:
18980         Added new protected field.
18981         (getAccessibleContext): Implemented.
18982
18983 2006-05-16  Lillian Angel  <langel@redhat.com>
18984
18985         * javax/swing/JFileChooser.java:
18986         Added new private field.
18987         (setDragEnabled): Implemented.
18988         (getDragEnabled): Implemented.
18989
18990 2006-05-16  Lillian Angel  <langel@redhat.com>
18991
18992         * java/awt/Window.java
18993         (applyResourceBundle): Implemented.
18994
18995 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
18996
18997         * javax/swing/DefaultButtonModel.java
18998         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
18999         states also.
19000
19001 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19002
19003         * javax/swing/JList.java (getSelectedValues):
19004         Ask the value for the indexed array element.
19005
19006 2006-05-16  Roman Kennke <kennke@aicas.com>
19007
19008         * javax/swing/JTable.java
19009         (valueChanged): Also repaint when table has only 1 row. Fixed
19010         repaint rectangle to span the entire changed rows.
19011
19012 2006-05-16  Roman Kennke <kennke@aicas.com>
19013
19014         PR 24031
19015         * javax/swing/JOptionPane.java
19016         (startModal): Rewritten. The events are now dispatched, even
19017         when the event dispatch thread gets blocked by the call
19018         to this method. Also, mouse events get intercepted outside the
19019         internal frame.
19020
19021 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19022
19023         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19024         (BorderListener.mouseDragged):Do not set cursor 
19025         if the frame is being dragged.
19026
19027 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19028
19029         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19030         (BorderListener): Rewritten. (InternalFrameBorder):
19031         Made package private.
19032         (InternalFrameBorder.offset):
19033         Renamed to cornerSize, made package private.
19034         (bSize): Made package private.
19035
19036 2006-05-16  Roman Kennke <kennke@aicas.com>
19037
19038         * javax/swing/JMenu.java
19039         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19040         (AccessibleJMenu.getAccessibleChild): Implemented.
19041         (AccessibleJMenu.getAccessibleSelection): Implemented.
19042         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19043         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19044         (AccessibleJMenu.getAccessibleRole): Documented.
19045         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19046         (AccessibleJMenu.addAccessibleSelection): Implemented.
19047         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19048         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19049         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19050         (createPath): New helper method.
19051
19052 2006-05-15  Tom Tromey  <tromey@redhat.com>
19053
19054         * java/text/MessageFormat.java (format): Now varargs.
19055
19056 2006-05-15  Tom Tromey  <tromey@redhat.com>
19057
19058         * java/lang/Thread.java (State): Fixed typo.
19059
19060 2006-05-15  Tom Tromey  <tromey@redhat.com>
19061
19062         * java/net/URLClassLoader.java: Moved inner classes to
19063         gnu.java.net.loader.
19064         (factoryCache): Changed type.
19065         (URL_LOADER_PREFIX): New constant.
19066         (URLClassLoader): Updated for new factoryCache.
19067         (addURLImpl): Use reflection to search for a loader.
19068         (findClass): Use getClass method on URLLoader.
19069         (getURLStreamHandler): Removed.
19070         * gnu/java/net/loader/URLLoader.java: New file, extracted
19071         from URLClassLoader.
19072         * gnu/java/net/loader/Resource.java: Likewise.
19073         * gnu/java/net/loader/FileResource.java: Likewise.
19074         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19075         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19076         * gnu/java/net/loader/JarURLResource.java: Likewise.
19077         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19078         * gnu/java/net/loader/RemoteResource.java: Likewise.
19079         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19080
19081 2006-05-15  Sven de Marothy  <sven@physto.se>
19082
19083         * native/target/generic/target_generic_network.h: 
19084         Add a pair of parenthesis.
19085
19086 2006-05-15  Mark Wielaard  <mark@klomp.org>
19087
19088         * java/awt/Graphics2D.java: Remove PrinterJob import.
19089
19090 2006-05-15  Mark Wielaard  <mark@klomp.org>
19091
19092         * doc/www.gnu.org/announce/20060515.wml: New file.
19093         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19094         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19095
19096 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19097
19098         * NEWS: Announce inclusion of gcjwebplugin.
19099         Announce inclusion of appletviewer.
19100         * INSTALL: Note gcjwebplugin dependencies.
19101
19102 2006-05-15  Mark Wielaard  <mark@klomp.org>
19103
19104         * configure.ac (VERSION): Set to 0.91-generics.
19105
19106 2006-05-15  Mark Wielaard  <mark@klomp.org>
19107
19108         * NEWS: Add release date and VMClassLoader.getBootPackages()
19109         changes.
19110
19111 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19112
19113         * README: Added CACAO to list of VMs.
19114
19115 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19116
19117         * javax/swing/RepaintManager.java (paintDirtyRegions):
19118         Break loop as soon as the component repaint is merged
19119         with some parent. (ComponentComparator): Removed.
19120         (comparator): Removed.
19121
19122 2006-05-15  Roman Kennke <kennke@aicas.com>
19123
19124         * javax/swing/border/TitledBorder.java
19125         (paintBorderWithTitle): Fixed indentation.
19126
19127 2006-05-15  Roman Kennke <kennke@aicas.com>
19128
19129         * javax/swing/border/TitledBorder.java
19130         (layoutBorderWithTitle): Fetch border using getBorder() instead
19131         of using the border field directly. Allows for the use of
19132         an UI supplied border in the case when a null border was set.
19133         Fixed component orientation.
19134         (paintBorderWithTitle): Fetch border using getBorder() instead
19135         of using the border field directly. Allows for the use of
19136         an UI supplied border in the case when a null border was set.
19137
19138 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19139
19140         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19141         (contains): New method.
19142
19143 2006-05-15  Tom Tromey  <tromey@redhat.com>
19144
19145         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19146         argument indices.
19147         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19148         argument indices.
19149
19150 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19151
19152         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19153          JViewport's.
19154         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19155         region. (paintDirtyRegions): Rewritten.
19156
19157 2006-05-15  Tom Tromey  <tromey@redhat.com>
19158
19159         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19160         MessageFormat.
19161         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19162         MessageFormat.
19163         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19164         (run): Use MessageFormat.
19165         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19166         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19167         (writeFile): Use MessageFormat.
19168
19169 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19170
19171         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19172         instead of directly calling the class loader.
19173
19174 2006-05-15  Tom Tromey  <tromey@redhat.com>
19175
19176         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19177         Removed old comment.
19178         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19179         Externalized strings.
19180         (getVersionString): Use MessageFormat.
19181         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19182         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19183         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19184         (getArgument): Use a MessageFormat.
19185         (handleLongOption): Likewise.
19186         (parse): Likewise.
19187
19188 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19189
19190         Fixes PR 27197.
19191         * javax/swing/text/FieldView.java:
19192         (paint): Calculate intersection between clip and allocation area and
19193         set that as new clip.
19194
19195 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19196
19197         * javax/swing/text/JTextComponent.java: Marked stub methods.
19198
19199 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19200
19201         * javax/swing/JTable.java: Marked stub methods.
19202
19203 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19204
19205         * tools/gnu/classpath/tools/jarsigner/Main.java:
19206         Increased visibility of fields used by parser anonymous classes.
19207         (KEYTOOL_TOOL): New constant.
19208         (cmdLineParser): Changed type to ToolParser.
19209         (fileAndAlias): new field.
19210         (main): Don't catch OptionException.
19211         (processArgs): Removed validation checks; now handled by ToolParser.
19212         (getParser): Removed.
19213         (ToolParserCallback): New inner class.
19214         (ToolParser): Likewise.
19215
19216 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19217
19218         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19219         Removed.
19220
19221 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19222
19223         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19224         endResizingFrame): Do not repaint, unless in the outline mode.
19225
19226 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19227
19228         * javax/swing/JTabbedPane.java
19229         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19230         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19231         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19232         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19233         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19234         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19235         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19236         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19237         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19238         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19239         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19240         (Page.getAccessibleName): Implemented.
19241
19242 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19243
19244         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19245         Do not repaint nor revalidate here.
19246
19247 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19248
19249         * javax/swing/RepaintManager.java (addDirtyRegion):
19250         If there is a lightweight parent, recursively add the corresponding
19251         region of the parent instead.
19252
19253 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19254
19255         * java/awt/Graphics2D.java: Added some API doc comments.
19256
19257 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19258
19259         * javax/swing/JTabbedPane.java
19260         (paramString): Reimplemented,
19261         (getAccessibleContext): Added API docs.
19262
19263 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19264
19265         * javax/swing/JFileChooser.java
19266         (paramString): Reimplemented,
19267         (getAccessibleContext): Updated API docs,
19268         (AccessibleJFileChooser): Added API docs.
19269
19270 2006-05-14  Tom Tromey  <tromey@redhat.com>
19271
19272         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19273         OptionException.
19274         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19275         OptionException.
19276         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19277         OptionException.
19278         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19279         validation to JarParser.
19280         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19281         (run): Moved validation to JarParser.  Don't throw OptionException.
19282         (initializeParser): Create a JarParser.
19283         (main): Don't catch OptionException.
19284         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19285         public.
19286         (validate): New method.
19287         (parse): Call it.  Print '-help' in error message when long-only.
19288
19289 2006-05-14  Tom Tromey  <tromey@redhat.com>
19290
19291         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19292         assignment.
19293
19294 2006-05-15  Sven de Marothy  <sven@physto.se>
19295
19296         * gnu/java/awt/print/JavaPrinterGraphics.java:
19297         Sweeping changes I can't be bothered to document in detail.
19298         * gnu/java/awt/print/JavaPrinterJob.java
19299         (getPageAttributes): New method.
19300         (setPageable,cancel,isCancelled): Implement.
19301
19302 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19303
19304         * javax/swing/JCheckBoxMenuItem.java
19305         (requestFocus): Fixed typo in API docs,
19306         (paramString): Just call super.paramString(),
19307         (getAccessibleContext): Added API docs,
19308         (AccessibleJCheckBoxMenuItem): Likewise.
19309
19310 2006-05-14  Tom Tromey  <tromey@redhat.com>
19311
19312         * tools/gnu/classpath/tools/jar/Indexer.java
19313         (writeCommandLineEntries): Simplify insertion.
19314         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19315         -m and -M.
19316
19317 2006-05-14  Tom Tromey  <tromey@redhat.com>
19318
19319         PR classpath/27514:
19320         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19321         constant.
19322         (JAR_INDEX_VERSION_KEY): Likewise.
19323         (IndexListParser): Updated.
19324         (getVersionInfo): Likewise.
19325         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19326         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19327         OptionException.
19328         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19329         -i.
19330         (ModeOption): New constructor.
19331         (parsed): Updated.  Use setArchiveFile.
19332         (setArchiveFile): New method.
19333         (run): Handle no-argument case.
19334         (main): Emit --help message on option error.
19335         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19336         (createManifest): New method.
19337         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19338         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19339         method.
19340         (writeManifest): Removed.
19341         (outputStream): Now a JarOutputStream.
19342         (writeCommandLineEntries): Changed parameters.  Updated callers.
19343         (run): Throws OptionException.
19344         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19345         * java/util/jar/Manifest.java (read): Typo fix.
19346
19347 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19348
19349         * javax/swing/JMenuItem.java
19350         (paramString): Fixed class name in API doc comment.
19351
19352 2006-05-14  Tom Tromey  <tromey@redhat.com>
19353
19354         * native/plugin/.cvsignore: Updated.
19355
19356 2006-05-14  Mark Wielaard  <mark@klomp.org>
19357
19358         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19359         comments.
19360
19361 2006-05-14  Chris Burdess  <dog@gnu.org>
19362
19363         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19364         nodes to be preserved during cloneNode.
19365
19366 2006-05-14  Mark Wielaard  <mark@klomp.org>
19367
19368         PR 27459
19369         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19370         inherited timeout on socket.
19371
19372 2006-05-14  Lillian Angel  <langel@redhat.com>
19373
19374         * java/util/SimpleTimeZone.java: Reverted patch.
19375         (SimpleTimeZone): Throw exception if startMonth ==
19376         endMonth.
19377         (SimpleTimeZone): Likewise.
19378         (checkRule): Rewritten to properly check all values (more
19379         efficently).
19380         This code is now more stable, at least less buggy than before.
19381         Fixed API documentation.
19382         (setStartRule): Moved checkRule call to end.
19383         (setStartRule): Likewise.
19384         (setEndRule): Likewise.
19385         (setEndRule): Likewise.
19386
19387 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19388
19389         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19390         Initialise to -1.
19391
19392 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19393
19394         PR classpath/27595
19395         * javax/swing/text/AbstractDocument.java:
19396         (insertString): Flipped if-expression and its blocks.
19397         (remove): Dito.
19398         (replace): Flipped if-expression and its blocks, added note, invoke
19399         insertString and remove instead of insertStringImpl and removeImpl.
19400
19401 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19402
19403         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19404
19405 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19406
19407         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19408         Added help text.
19409         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19410         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19411         Increased visibility of fields used by parser anonymous classes.
19412         (processArgs): Removed.
19413         (getParser): New method.
19414         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19415         (setup): Mark (Eclipse) strings that need not be externalised.
19416         (start): Likewise.
19417         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19418         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19419         command line option parsing.
19420         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19421         Increased visibility of fields used by parser anonymous classes.
19422         (processArgs): Removed.
19423         (setup): set 'all' local field.
19424         (getParser): New method.
19425         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19426         Increased visibility of fields used by parser anonymous classes.
19427         (processArgs): Removed.
19428         (getParser): New method.
19429         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19430         (setNewKeyPassword): Fixed comments.
19431         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19432         Increased visibility of fields used by parser anonymous classes.
19433         (processArgs): Removed.
19434         (getParser): New method.
19435         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19436         externalised.
19437         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19438         Increased visibility of fields used by parser anonymous classes.
19439         (processArgs): Removed.
19440         (setup): Mark (Eclipse) strings that need not be externalised.
19441         (getParser): New method.
19442         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19443         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19444         Increased visibility of fields used by parser anonymous classes.
19445         (processArgs): Removed.
19446         (getParser): New method.
19447         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19448         (ATTRIBUTES_OPT): New constant.
19449         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19450         Increased visibility of fields used by parser anonymous classes.
19451         (processArgs): Removed.
19452         (setup): Mark (Eclipse) strings that need not be externalised.
19453         (start): Likewise.
19454         Reduced logging level.
19455         (getParser): New method.
19456         * tools/gnu/classpath/tools/keytool/Command.java
19457         (processArgs): Made it concrete.
19458         (getParser): New abstract method.
19459         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19460
19461 2006-05-13  Casey Marshall  <csm@gnu.org>
19462
19463         Patch by Michael Barker <mike@middlesoft.co.uk>.
19464         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19465         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19466         gnu.java.nio.SocketChannelSelectionKeyImpl.
19467         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19468         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19469         VMChannel.
19470         * include/gnu_java_nio_VMChannel.h: new file.
19471         * java/nio/FileChannel.java (read,write): changed to call abstract
19472         method.
19473         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19474         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19475         `gnu_java_nio_VMChannel.c.'
19476         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19477
19478 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19479
19480         * javax/swing/text/AbstractDocument.java:
19481         (insertString): Flipped if-expression and its blocks.
19482         (remove): Dito.
19483         (replace): Flipped if-expression and its blocks, added note, invoke
19484         insertString and remove instead of insertStringImpl and removeImpl.
19485
19486 2006-05-13  Tom Tromey  <tromey@redhat.com>
19487
19488         * java/nio/ByteBufferImpl.java (compact): Always set position.
19489
19490 2006-05-13  Sven de Marothy  <sven@physto.se>
19491
19492         * gnu/java/awt/print/JavaPrinterGraphics.java
19493         (spoolPostScript): Use a faster writer.
19494
19495 2006-05-13  Sven de Marothy  <sven@physto.se>
19496
19497         * gnu/java/awt/print/JavaPrinterGraphics.java
19498         (colorTripleHex): Reimplement better.
19499
19500 2006-05-13  Sven de Marothy  <sven@physto.se>
19501
19502         * javax/swing/text/html/HTMLDocument.java
19503         (CharacterAction.start): Translate tag to StyleAttribute.
19504         (pushCharacterStyle): Push copy of attributes onto stack.
19505         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19506         New file
19507
19508 2006-05-13  Sven de Marothy  <sven@physto.se>
19509
19510         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19511         * java/awt/print/PrinterJob.java 
19512         (getPrinterJob): Return a JavaPrinterJob
19513         (setPrintService,getPrintService): Implement.
19514         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19515         (getPixels): Gtk_threads_enter required.
19516         * gnu/java/awt/print/JavaPrinterGraphics.java
19517         * gnu/java/awt/print/JavaPrinterJob.java
19518         * gnu/java/awt/print/SpooledDocumet.java: 
19519         New files.
19520         
19521 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19522
19523         * javax/swing/text/TextAction.java:
19524         (HorizontalMovementAction): New inner class.
19525         (VerticalMovementAction): New inner class.
19526         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19527         new inner classes to array 'defaultActions'.
19528         (SelectionBeginWordAction): New inner class.
19529         (SelectionEndWordAction): New inner class.
19530         (BeginWordAction): New inner class.
19531         (EndWordAction): New inner class.
19532         (PreviousWordAction.actionPerformed): Rewritten.
19533         (SelectLineAction): New inner class.
19534         (SelectWordAction): New inner class.
19535         (SelectionDownAction): Rewritten.
19536         (SelectionUpAction): Rewritten.
19537         (DownAction): Rewritten.
19538         (UpAction): Rewritten.
19539         (SelectionForwardAction): Rewritten.
19540         (SelectionBackwardAction): Rewritten.
19541         (ForwardAction): Rewritten.
19542         (BackwardAction): Rewritten.
19543         (BeginAction): New inner class.
19544         (EndAction): New inner class.
19545         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19546         Character.isISOControl.
19547
19548 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19549
19550         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19551         (WordFilter.getNextVisualPositionFrom): Added statement to check
19552         for variable pt not being null.
19553
19554 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19555
19556         * javax/swing/text/Utilities.java:
19557         (getNextWord): Fixed grammar in exception message.
19558         (getPreviousWord): Changed expression in first if-clause, added sub-
19559         expression to if-clause in while-loop.
19560         (getWordStart): Changed expression in if-clause.
19561         getNextVisualPositionFrom): Added package-private helper method.
19562
19563 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19564  
19565         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19566         Initialise to -1.
19567
19568 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19569
19570         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19571         Added help text.
19572         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19573         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19574         * tools/gnu/classpath/tools/jarsigner/Main.java:
19575         Increased visibility of fields used by parser anonymous classes.
19576         (HELP_PATH): Removed.
19577         (cmdLineParser): New field.
19578         (main): Handle JVM exit status.
19579         Handle command line parsing exceptions.
19580         (processArgs): Use getopt command line parser.
19581         (getParser): New method.
19582         (setupCommonParams): Removed checks now handled by processArgs().
19583         (setupSigningParams): Likewise.
19584         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19585         Reuse an existing message-bundle constant.
19586
19587 2006-05-12  Tom Tromey  <tromey@redhat.com>
19588
19589         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19590         Explicitly specify class for synchronization.
19591
19592 2006-05-12  Tom Tromey  <tromey@redhat.com>
19593
19594         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19595
19596 2006-05-12  Sven de Marothy  <sven@physto.se>
19597
19598         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19599         * gnu/java/net/protocol/http/HTTPURLConnection.java
19600         (setConnectTimeout): New method.
19601         (getConnection): Add timeout parameter.
19602         *  java/net/URLConnection.java  
19603         (getConnectTimeout, setConnectTimeout): Implement.
19604         * native/target/generic/target_generic_network.h: 
19605         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19606         
19607 2006-05-12  Sven de Marothy  <sven@physto.se>
19608   
19609         * gnu/javax/print/CupsServer.java
19610         (CupsServer): Make the Cups host configurable.
19611         * java/lang/System.java: Document the system property.
19612         
19613 2006-05-12  Roman Kennke <kennke@aicas.com>
19614   
19615         * javax/swing/border/TitledBorder.java
19616         (paintBorder): Rewritten for simplicity and correctness.
19617         (layoutBorderWithTitle): New helper method.
19618         (paintBorderWithTitle): New helper method.
19619         (getBorderInsets): Rewritten.
19620         (getMinimumSize): Rewritten.
19621         (getRealJustification): Removed.
19622         (getMeasurements): Removed.
19623         (Measurements): Removed.
19624   
19625 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19626   
19627         * javax/swing/plaf/basic/BasicPanelUI.java
19628         (sharedUI): New field,
19629         (createUI): Return a shared instance rather than a new instance,
19630         (installUI): Reformatted and added API docs,
19631         (installDefaults): Install border if one is defined,
19632         (uninstallDefaults): Uninstall border.
19633
19634 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19635
19636         * javax/swing/JProgressBar.java: Updated API docs all over.
19637
19638 2006-05-11  Lillian Angel  <langel@redhat.com>
19639
19640         * java/awt/ContainerOrderFocusTraversalPolicy.java
19641         (getComponentAfter): Should not throw exception if
19642         the ancestor is null. Added a check for this.
19643         Also, changed to use new helper function, we should
19644         iterate through all the components at least once.
19645         (getNextAvailableComponent): New helper function.
19646         (getPrevAvailableComponent): New helper function.
19647         (getComponentBefore): Should not throw exception if
19648         the ancestor is null. Added a check for this.
19649         Also, changed to use new helper function, we should
19650         iterate through all the components at least once.
19651         (getFirstComponent): Changed check to manually check
19652         fields. Calling accept() casts the object to a Component,
19653         so different values may be returned.
19654         (getLastComponent): Likewise.
19655
19656 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19657
19658         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19659         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19660         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19661         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19662         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19663         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19664         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19665         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19666         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19667         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19668         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19669         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19670         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19671         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19672         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19673         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19674         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19675         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19676
19677 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19678
19679         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19680         package-private, added field 'active'.
19681         (PropertyChangeHandler.propertyChange): Added variable 'name', added
19682         cases to update field 'active'.
19683         (mouseDragged): Added documentation, added if-clause to update
19684         selection or caret position.
19685         (mouseClicked): Added early return when text component is disabled.
19686         (focusGained): Moved statements into an if-clause.
19687         (focusLost): Added subexpression to if-clause.
19688         (install): Preset value of 'active'.
19689         (paint): Added subexpression to if-clause.
19690         (isVisible): Extended return expression.
19691         * javax/swing/text/JTextComponent.java:
19692         (copy): Copy only if component is enabled.
19693         (cut): Cut only if component is enabled and editable.
19694         (paste): Dito.
19695
19696 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19697
19698         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19699         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19700         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19701         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19702         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19703         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19704         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
19705
19706 2006-05-11  Roman Kennke <kennke@aicas.com>
19707
19708         * gnu/java/awt/font/GNUGlyphVector.java
19709         (GNUGlyphVector): Don't apply the font renderer context's
19710         transform.
19711   
19712 2006-05-11  Mark Wielaard  <mark@klomp.org>
19713
19714         * java/util/logging/Logger.java (global): Initialize inside static
19715         PrivilegedAction.
19716
19717 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19718   
19719         * javax/swing/JFrame.java
19720         (EXIT_ON_CLOSE): Added note to API docs,
19721         (close_action): Renamed closeAction,
19722         (JFrame()): Change title to "",
19723         (JFrame(String)): Added API docs,
19724         (getAccessibleContext): Likewise,
19725         (getDefaultCloseOperation): Updated for renamed field, added API docs,
19726         (processWindowEvent): Updated for renamed field,
19727         (setDefaultCloseOperation): Likewise, and updated API docs.
19728   
19729 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19730   
19731         * javax/swing/JFrame.java
19732         (paramString): Reimplemented,
19733         * javax/swing/SwingUtilities.java
19734         (convertWindowConstantToString): New method.
19735   
19736 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19737   
19738         * javax/swing/WindowConstants.java: Updated API docs.
19739   
19740 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19741   
19742         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19743         (createUI): Removed 'final' qualifier for parameter,
19744         (paint): Reformatted.
19745   
19746 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19747   
19748         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19749         (createUI): Removed 'final' qualifier on method argument.
19750   
19751 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19752   
19753         * javax/swing/plaf/basic/BasicCheckBoxUI.java
19754         (getDefaultIcon): Removed this redundant method.
19755
19756 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19757
19758         * javax/swing/plaf/basic/BasicRadioButtonUI.java
19759         (paint): Pass component size to paintFocus().
19760
19761 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19762
19763         * java/awt/Component.java:
19764         (dispatchEventImpl): Added comment.
19765   
19766   2006-05-11  Mark Wielaard  <mark@klomp.org>
19767   
19768         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19769         Option constructor null argument to String.
19770   
19771 2006-05-11  Mark Wielaard  <mark@klomp.org>
19772
19773         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19774         Fully qualify PathIterator constants
19775
19776 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19777
19778         * java/awt/Component.java:
19779         (dispatchEventImpl): Added subexpression to if-clause.  
19780
19781 2006-05-11  Mark Wielaard  <mark@klomp.org>
19782
19783         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19784         Map.Entry.
19785
19786 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19787
19788         * javax/swing/TransferHandler.java: Marked stub methods.
19789
19790 2006-05-10  Roman Kennke <kennke@aicas.com>
19791
19792         PR classpath/27481
19793         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19794         (installDefaults): Set background of content pane to null, if
19795         no custom color has been installed by the application yet.
19796
19797 2006-05-10  Roman Kennke <kennke@aicas.com>
19798
19799         PR classpath/27481
19800         * javax/swing/JRootPane.java
19801         (createContentPane): Don't set background to null.
19802
19803 2006-05-10  Sven de Marothy <sven@physto.se>
19804
19805         * java/awt/print/PrinterJob.java:
19806         (lookupPrintServices): Un-comment-out.
19807
19808 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
19809
19810         * tools/gnu/classpath/tools/getopt/OptionGroup.java
19811         (FILLER): New constant.
19812         (formatText(PrintStream,String,int)): New method.
19813         (formatText(PrintStream,String,int,Locale)): Likewise.
19814         (printHelp): Use formatText method.
19815         * tools/gnu/classpath/tools/getopt/Parser.java
19816         (MAX_LINE_LENGTH): New constant.
19817         (formatText(PrintStream,String)): New method.
19818         (formatText(PrintStream,String,Locale)): Likewise.
19819         (printHelp): New method.
19820         (printHelp(PrintStream)): Increased visibility to protected.
19821         Use formatText method.
19822
19823 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19824
19825         * javax/swing/plaf/metal/MetalRadioButtonUI.java
19826         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
19827         modify the lookup key.
19828
19829 2006-05-10  Lillian Angel  <langel@redhat.com>
19830
19831         * java/util/SimpleTimeZone.java: Reverted patch.
19832         (SimpleTimeZone): Throw exception if startMonth == 
19833         endMonth.
19834         (SimpleTimeZone): Likewise.
19835         (checkRule): Rewritten to properly check all values (more 
19836         efficently).
19837         This code is now more stable, at least less buggy than before. 
19838         Fixed API documentation.
19839         (setStartRule): Moved checkRule call to end.
19840         (setStartRule): Likewise.
19841         (setEndRule): Likewise.
19842         (setEndRule): Likewise.
19843
19844 2006-05-10  Roman Kennke <kennke@aicas.com>
19845
19846         * gnu/java/awt/peer/swing/SwingComponent.java:
19847         Some API comment fixlets.
19848         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19849         (createImage): Create a BufferedImage, not a Toolkit image.
19850         (paint): Removed bogus API comment.
19851         (prepareImage): Added checks to avoid NPE.
19852         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19853         (getInsets): Added check to avoid NPE.
19854         (handleMouseEvent): Added check to avoid NPE.
19855         * gnu/java/awt/peer/swing/SwingFramePeer.java:
19856         Some API comment fixlets.
19857         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19858         Some API comment fixlets.
19859         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19860         Changed start_pos name to startPos.
19861         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19862         Some API comment fixlets.
19863
19864 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19865
19866         * java/awt/BasicStroke.java
19867         (equals): Fixed typo in HTML tag for API doc comment.
19868
19869 2006-05-10  Gary Benson  <gbenson@redhat.com>
19870
19871         * java/lang/ThreadGroup.java (parent): Make package-private.
19872         * java/lang/SecurityManager.java (checkAccess(Thread)):
19873         Reference ThreadGroup.parent directly to avoid extra checks.
19874         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19875         Likewise.
19876
19877 2006-05-10  Roman Kennke <kennke@aicas.com>
19878
19879         Reported by Ingo Proetel (proetel@aicas.com)
19880         * java/awt/EventDispatchThread.java
19881         (DEFAULT_PRIORITY): New constant field.
19882         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19883         system property for adjusting the priority of the event
19884         dispatch thread.
19885
19886 2006-05-10  Roman Kennke <kennke@aicas.com>
19887
19888         Reported by Ingo Proetel (proetel@aicas.com)
19889         * java/awt/image/ColorModel.java
19890         (S_RGB_MODEL): New constant field.
19891         (getRGBDefault): Return constant SRGBColorModel.
19892         (SRGBColorModel): Specialized color model for sRGB.
19893
19894 2006-05-10  Roman Kennke <kennke@aicas.com>
19895
19896         * java/awt/ColorPaintContext.java
19897         (getRaster): Create Raster with (0,0) as source location.
19898
19899 2006-05-10  Roman Kennke <kennke@aicas.com>
19900
19901         * gnu/java/awt/java2d/AlphaCompositeContext.java
19902         (compose): Don't premultiply alpha to alpha itself.
19903
19904 2006-05-10  Roman Kennke <kennke@aicas.com>
19905
19906         * gnu/java/awt/java2d/AbstractGraphics2D.java
19907         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19908         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19909         New method.
19910         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19911         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19912         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19913         New method.
19914         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19915         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19916         New method.
19917         (scale): Inverse transform by doing 1/scale instead of -scale.
19918         (drawImage(Image,int,int,ImageObserver)): Implemented.
19919         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19920         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19921         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19922         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19923         Implemented.
19924         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19925         Implemented.
19926         (fillScanline): Work on translated destination raster for
19927         correct compositin.
19928         (init): Fetch the clip after the destination raster is initialized.
19929         * gnu/java/awt/java2d/ImagePaint.java: New file.
19930         * gnu/java/awt/java2d/RasterGraphics
19931         (drawImage): Removed.
19932
19933 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19934
19935         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19936         Clarify option descriptions.
19937         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19938         uppercase for metasyntactic variables.
19939
19940 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
19941
19942         PR classpath/24216
19943         * javax/swing/text/AbstractDocument.java:
19944         (insertString): Added more documentation, added argument check.
19945         (remove): Added more documentation.
19946         (removeImpl): Added argument check.
19947         (replace): Added more documentation, added argument check.
19948
19949 2006-05-09  Tom Tromey  <tromey@redhat.com>
19950
19951         * tools/.cvsignore: Added appletviewer.
19952
19953 2006-05-09  Tom Tromey  <tromey@redhat.com>
19954
19955         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19956         empty groups.
19957
19958 2006-05-09  Tom Tromey  <tromey@redhat.com>
19959
19960         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
19961         Special case for '-J'.  Use space instead of '='.
19962         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19963         comment.
19964
19965 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19966
19967         * configure.ac: Add --disable-plugin and --with-vm options.  Check
19968         for plugin support headers and libraries.
19969         * native/Makefile.am: Recurse into plugin directory.
19970         * native/plugin/.cvsignore: New file.
19971         * native/plugin/Makefile.am: New file.
19972         * native/plugin/gcjwebplugin.cc: New file.
19973         * tools/Makefile.am: Install appletviewer wrapper script.
19974         * tools/appletviewer.in: Replace VM location heuristic with
19975         VM_BINARY configure substitution.
19976
19977 2006-05-09  Tom Tromey  <tromey@redhat.com>
19978
19979         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
19980         an initial pass to look for short options.  Added 'longOnly' option.
19981         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
19982         option.
19983         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
19984         options into final group.  Added -J.
19985         (add): Insert new groups before final group.
19986         (printHelp): Updated.
19987
19988 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19989
19990         PR 27518
19991         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
19992         tools/gnu/classpath/tools/rmi/RMIC.java (main):
19993         Expect -classpath option.
19994         * tools/gnu/classpath/tools/rmi/RMIC.txt,
19995         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
19996         -classpath option.
19997         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
19998         (classLoader): New field. (loadClass, setClassPath):
19999         New methods.
20000
20001 2006-05-09  Roman Kennke <kennke@aicas.com>
20002
20003         * gnu/java/awt/java2d/RasterGraphics.java
20004         (RasterGraphics): Call init() and super().
20005         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20006         this.
20007
20008 2006-05-09  Gary Benson  <gbenson@redhat.com>
20009
20010         * java/lang/Thread.java (Thread): Always perform threadgroup
20011         access checks on thread creation.
20012
20013 2006-05-09  Chris Burdess  <dog@gnu.org>
20014
20015         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20016           be preserved during cloneNode.
20017
20018 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20019
20020         PR 27517
20021         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20022         Do not demand all thrown exceptions to be an instance of RemoteException.
20023
20024 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20025
20026         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20027         Use hash-style comments.
20028         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20029         Likewise.
20030
20031 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20032
20033         * javax/swing/JLabel.java
20034         (paramString): Added more attribute details,
20035         * javax/swing/SwingUtilities.java
20036         (convertHorizontalAlignmentCodeToString): New method,
20037         (convertVerticalAlignmentCodeToString): New method.
20038
20039 2006-05-08  Tom Tromey  <tromey@redhat.com>
20040
20041         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20042         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20043         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20044         ZipInputStream.
20045         (run): Updated.
20046         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20047         for verbose.
20048         (run): Use ZipInputStream.
20049         (initSet): New method.
20050         (shouldExtract): Likewise.
20051         (run): Use new methods.
20052         * tools/gnu/classpath/tools/jar/Creator.java
20053         (writeCommandLineEntries): New overload.
20054         (writeFile): Use System.err for verbose.
20055         (writeManifest): New method.
20056         (writtenItems): New field.
20057         (writeFile): Update it.
20058         (writeCommandLineEntries): Return void.  Call writeManifest.
20059         (addEntries): Don't add extra '/'.
20060         * NEWS: Mention jar.
20061
20062 2006-05-08  Lillian Angel  <langel@redhat.com>
20063
20064         * gnu/java/net/IndexListParser.java: New class.
20065         * java/net/URLClassLoader.java
20066         (JarURLLoader): Fixed code to use new class.
20067
20068 2006-05-08  Roman Kennke <kennke@aicas.com>
20069
20070         * javax/swing/JComboBox.java
20071         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20072         (AccessibleJComboBox.getAccessibleChild): Implemented.
20073         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20074         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20075         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20076         (AccessibleJComboBox.getAccessibleAction): Implemented.
20077         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20078         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20079         (AccessibleJComboBox.doAccessibleAction): Implemented.
20080         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20081         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20082         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20083         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20084         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20085
20086 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20087
20088         * configure.ac: Add support for building appletviewer.
20089         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20090         New file.
20091         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20092         New file.
20093         * tools/appletviewer.c: New file.
20094         * tools/appletviewer.in: New file.
20095         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20096         New file.
20097         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20098         New file.
20099         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20100         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20101         file.
20102         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20103         New file.
20104         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20105         New file.
20106         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20107         file.
20108         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20109         file.
20110         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20111         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20112         New file.
20113         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20114         New file.
20115         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20116         New file.
20117         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20118         New file.
20119         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20120         New file.
20121         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20122         New file.
20123         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20124         file.
20125
20126 2006-05-08  Tom Tromey  <tromey@redhat.com>
20127
20128         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20129         * tools/gnu/classpath/tools/jar/Action.java: New file.
20130         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20131         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20132         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20133         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20134         * tools/gnu/classpath/tools/jar/Main.java: New file.
20135         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20136         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20137         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20138         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20139         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20140         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20141         file.
20142
20143 2006-05-08  Lillian Angel  <langel@redhat.com>
20144
20145         * java/net/URLClassLoader.java
20146         (JarURLLoader): Added check to make sure the INDEX.LIST file
20147         exists.
20148
20149 2006-05-08  Roman Kennke <kennke@aicas.com>
20150
20151         * gnu/java/awt/java2d/AbstractGraphics2D.java
20152         (fill): Removed commented out code.
20153         (fillShape): Also determine the outline of the clip and feed
20154         it into the rendering method. Use new helper method for
20155         converting the shapes into lists of segments.
20156         (getUserBounds): Removed obsolete method.
20157         (rawFillShape): Respect the clip when rendering shapes.
20158         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20159         However, the implementation can't clip still.
20160         (getSegments): New helper method for converting a shape into
20161         a list of segments.
20162         (clipShape): Removed obsolete method.
20163         * gnu/java/awt/java2d/PolyEdge.java
20164         (isClip): New field.
20165         (PolyEdge): Added isField argument to constructor.
20166
20167 2006-05-08  Roman Kennke <kennke@aicas.com>
20168
20169         PR 27481
20170         * javax/swing/JRootPane.java
20171         (createContentPane): Set background of the content pane to null,
20172         so that the content pane inherits its background from the
20173         root pane.
20174
20175 2006-05-08  Roman Kennke <kennke@aicas.com>
20176
20177         PR 27480
20178         * javax/swing/ButtonGroup.java
20179         (add): Check if new button is selected and if so, deselect other
20180         buttons in the group.
20181
20182 2006-05-08  Lillian Angel  <langel@redhat.com>
20183
20184         PR 27444
20185         * java/net/URLClassLoader.java
20186         (JarURLLoader): Added code to go through 
20187         META-INF/INDEX.LIST file to load all jars listed.
20188
20189 2006-05-08  Roman Kennke <kennke@aicas.com>
20190
20191         PR 27461
20192         * javax/swing/ImageIcon.java
20193         (ImageIcon(URL)): Set description to URL.toString().
20194
20195 2006-05-08  Roman Kennke <kennke@aicas.com>
20196
20197         PR 27482
20198         * javax/swing/JTable.java
20199         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20200         null when cell value is null.
20201
20202 2006-05-08  Roman Kennke <kennke@aicas.com>
20203
20204         PR 27484
20205         * javax/swing/DefaultDesktopManager.java
20206         (closeFrame): Don't perform default close action on the frame
20207         to prevent endless loop.
20208
20209 2006-05-08  Roman Kennke <kennke@aicas.com>
20210
20211         PR 27485
20212         * javax/swing/table/DefaultTableModel.java
20213         (addExtraRows): New helper method.
20214         (checkSize): New helper method.
20215         (setRowCount): Use addExtraRows helper method.
20216         (addColumn): Use addExtraRows helper method.
20217         (getColumnName): Check and adjust size if necessary using
20218         checkSize().
20219
20220 2006-05-08  Roman Kennke <kennke@aicas.com>
20221
20222         PR 27486
20223         * javax/swing/JTable.java
20224         (setValueAt): Allow setting values even when table is editable.
20225
20226 2006-05-08  Tom Tromey  <tromey@redhat.com>
20227
20228         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20229         space to error message.
20230
20231 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20232
20233         * javax/swing/AbstractButton.java: Fixed comment typos.
20234
20235 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20236
20237         PR classpath/27435:
20238         * java/util/zip/DeflaterEngine.java:
20239         (deflateFast(boolean,boolean)): Empty buffer when full.
20240         
20241 2006-05-07  Sven de Marothy <sven@physto.se>
20242
20243         Fixed PR27343
20244         * java/util/Calendar.java (setTimeZone): Force recalculation.
20245         
20246 2006-05-07  Sven de Marothy <sven@physto.se>
20247
20248         Fixed PR27463
20249         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20250         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20251         
20252 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20253
20254         PR classpath/27311:
20255         * gnu/java/text/StringFormatBuffer.java:
20256         (toString()): Implemented so we can see the contents.
20257         * java/text/DecimalFormat.java:
20258         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20259         Don't calculate the exponent when the number is 0 or less.
20260         Also, use log10 instead of log now it's available.
20261         
20262 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20263
20264         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20265         Use instance's field creationDate not the constructor's argument.
20266         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20267         Removed unused imports.
20268         Sorted imports.
20269         (log): New field.
20270         (decrypt): Added trace/debug/timing statements.
20271         (encrypt): Likewise.
20272         Use PRNG instead of instantiating every time a new SecureRandom.
20273         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20274         Removed unused imports.
20275         Sorted imports.
20276         (log): New field.
20277         (verify): Added trace/debug/timing statements.
20278         (authenticate): Likewise.
20279         Use PRNG instead of instantiating every time a new SecureRandom.
20280
20281 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20282
20283         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20284         (THREAD_FORMAT): Likewise.
20285         (dateFormat): Added field.
20286         (threadFormat): Added field.
20287         (format): Initialize instance fields if null.
20288         Use StringBuilder instead of StringBuffer.
20289
20290 2006-05-07  Roman Kennke <kennke@aicas.com>
20291
20292         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20293
20294 2006-05-07  Roman Kennke <kennke@aicas.com>
20295
20296         * gnu/java/awt/java2d/AbstractGraphics2D.java
20297         (fillShape): Determine user space bounds of shape and feed them
20298         into the actual rendering pipeline.
20299         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20300         (rawSetForeground): Likewise.
20301         (getDestinationColorModel): Removed.
20302         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20303         (rawFillShape): Handle paint context.
20304         (fillScanline): Implement painting and compositing.
20305         (fillShapeAntialias): Handle paint context.
20306         (fillScanlineAA): Implemented preliminary antialiasing based on
20307         composite context. Not working yet.
20308         (fillScanlineAlpha): Removed.
20309         (init): Fetch destination raster.
20310         (getDestinationRaster): New abstract method.
20311         (updateRaster): New backend method.
20312
20313 2006-05-07  Roman Kennke <kennke@aicas.com>
20314
20315         * gnu/java/awt/java2d/AlphaCompositeContext.java
20316         (compose): Fixed loops, conditions and logic to make compositing
20317         work correctly.
20318
20319 2006-05-07  Roman Kennke <kennke@aicas.com>
20320
20321         * java/awt/ColorPaintContext.java
20322         (ColorPaintContext): Fixed filling of the raster.
20323
20324 2006-05-07  Sven de Marothy <sven@physto.se>
20325
20326         Fixed PR27455
20327         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20328         * java/awt/Component.java (processMouseEvent): 
20329         Do lightweight cursor handling.
20330         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20331         (endResizing,mouseMoved): Save and reset original cursor, not the 
20332         default one.
20333
20334 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20335
20336         PR 27298
20337         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20338         getNodeDimensions): Mind the size of the node icon. (getRowX):
20339         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20340         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20341         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20342         (installDefaults): assign totalChildIndent. (installUI): Call
20343         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20344         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20345         the tree.
20346
20347 2006-05-06  Sven de Marothy <sven@physto.se>
20348
20349         Fixed PR27454
20350         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20351         Check for zero image sizes.
20352         
20353 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20354
20355         Fixed PR27362
20356         * java/util/Calendar.java (clear(int)): Forced internal state
20357         completion before performing a field clearing.
20358
20359 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20360
20361         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20362         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20363         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20364         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20365         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20366         UnmodifiableMapEntry as part of their return value. 
20367
20368 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20369
20370         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20371         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20372         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20373         Generate jarsigner and keytool scripts.
20374         * tools/keytool.in: New file (renamed from keytool.sh.in).
20375         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20376         * tools/.cvsignore: Replaced *.sh with *
20377         * configure.ac: Replaced tools/*.sh with tools/*.
20378
20379 2006-05-05  Roman Kennke <kennke@aicas.com>
20380
20381         * java/awt/image/ColorModel.java
20382         (getNormalizedComponents): Implemented.
20383
20384 2006-05-05  Roman Kennke <kennke@aicas.com>
20385
20386         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20387         (paint): Query the button model for it's state, not the
20388         button itself.
20389
20390 2006-05-05  Roman Kennke <kennke@aicas.com>
20391
20392         * javax/swing/JTable.java
20393         (tableChanged): Sync selection model with table model changes.
20394
20395 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20396
20397         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20398         if there are no visible nodes to paint.
20399
20400 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20401
20402         * javax/swing/JOptionPane.java: API doc updates.
20403
20404 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20405
20406         * javax/swing/JToolBar.java
20407         (paramString): Reimplemented.
20408
20409 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20410
20411         * javax/swing/JScrollBar.java
20412         (paramString): Reimplemented.
20413
20414 2006-05-04  Tom Tromey  <tromey@redhat.com>
20415
20416         PR classpath/27375:
20417         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20418         (readEntries): Updated.
20419         (getEntries): Likewise.
20420         (getEntry): Likewise.
20421         (getInputStream): Likewise.
20422
20423 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20424
20425         * gnu/javax/imageio/jpeg/DCT.java,
20426         gnu/javax/imageio/jpeg/HuffmanTable.java,
20427         gnu/javax/imageio/jpeg/JPEGComponent.java,
20428         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20429         gnu/javax/imageio/jpeg/JPEGException.java,
20430         gnu/javax/imageio/jpeg/JPEGFrame.java,
20431         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20432         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20433         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20434         gnu/javax/imageio/jpeg/JPEGMarker.java,
20435         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20436         gnu/javax/imageio/jpeg/JPEGScan.java,
20437         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20438         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20439
20440 2006-05-04  Lillian Angel  <langel@redhat.com>
20441
20442         * javax/swing/JLabel.java
20443         (JLabel): Pass in an empty string for the text parameter.
20444         (JLabel): Likewise.
20445         (JLabel): Likewise.
20446
20447 2006-05-04  Roman Kennke <kennke@aicas.com>
20448
20449         * javax/swing/plaf/basic/BasicButtonListener.java
20450         (mouseEntered): Fixed conditions for changing states.
20451
20452 2006-05-04  Roman Kennke <kennke@aicas.com>
20453
20454         * javax/swing/JOptionPane.java
20455         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20456
20457 2006-05-04  Roman Kennke <kennke@aicas.com>
20458
20459         * javax/swing/JLabel.java
20460         (AccessibleJLabel.getSelectedText): Return null instead of "".
20461         (AccessibleJLabel.getSelectionStart): Added comment why
20462         return -1 is correct here.
20463         (AccessibleJLabel.getSelectionEnd): Added comment why
20464         return -1 is correct here.
20465         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20466         to do here.
20467         (AccessibleJLabel.getCharCount): Added comment about what
20468         to do here.
20469         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20470         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20471         (paramString): Return super.paramString() here, this provides
20472         a more meaningful output.
20473
20474 2006-05-04  Roman Kennke <kennke@aicas.com>
20475
20476         * javax/swing/JComponent.java
20477         (paint): Added null check to avoid NPE when clip == null.
20478
20479 2006-05-04  Roman Kennke <kennke@aicas.com>
20480
20481         * javax/swing/AbstractButton.java
20482         (addImpl): New method. Installs an OverlayLayout if no
20483         other layout has been installed before.
20484         (setLayout): New method. Detect if a client app installs a custom
20485         layout.
20486
20487 2006-05-04  Roman Kennke <kennke@aicas.com>
20488
20489         * javax/swing/table/DefaultTableCellRenderer.java
20490         (noFocusBorder): Fixed width of empty border to 1.
20491         (getTableCellRendererComponent): Don't change the colors for
20492         focuses cells. Fixed border for focused cells.
20493
20494 2006-05-04  Roman Kennke <kennke@aicas.com>
20495
20496         * javax/swing/JTable.java
20497         (moveToCellBeingEdited): Adjust bounding box of editing component
20498         to exactly cover the grid.
20499         * javax/swing/plaf/basic/BasicTableUI.java
20500         (paint): Paint grid to the bottom and right of the cells instead
20501         of left and top. Adjust bounding box of cells accordingly.
20502         * javax/swing/plaf/metal/MetalLookAndFeel.java
20503         (initComponentDefaults): Fixed color of JTable selection border.
20504         * javax/swing/plaf/metal/OceanTheme.java
20505         (addCustomEntriesToTable): Fixed color of JTable selection border.
20506
20507 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20508
20509         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20510         Use _alias instead of alias.
20511
20512 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20513
20514         * configure.ac:
20515         Set version to 0.92-pre.
20516         * NEWS:
20517         Add space for 0.92 entries.
20518
20519 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20520
20521         * include/Makefile.am:
20522         Added rules for gnu.java.net.local.LocalSocketImpl.h
20523         * include/java_lang_VMSystem.h:
20524         Regenerated correctly.
20525         
20526 2006-05-03  Sven de Marothy <sven@physto.se>
20527        
20528         PR 24023, 24701
20529         * java/awt/Image.java:
20530         (getScaledInstance): Default to AreaAveraging for "smooth", 
20531         don't thrown an error on illegal flag values.
20532         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20533
20534 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20535
20536         * javax/swing/text/FieldView.java:
20537         (adjustAllocation): Added if-block to return null when shape argument
20538         is null.
20539         * javax/swing/text/PlainView.java:
20540         (updateDamage): Added if-block to return early if a is null.
20541
20542 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20543
20544         * javax/swing/plaf/basic/BasicTextUI.java:
20545         (changeUpdate): Added note.
20546         (removeUpdate): Dito.
20547         (insertUpdate): Dito.
20548         (damageRange): Added if-block to return early.
20549         (modelToView): Added check of getVisibleEditorRect's return value.
20550         (getVisibleEditorRect): Return null instead of empty rectangle.
20551         * javax/swing/text/DefaultCaret.java:
20552         (clearHighlight): Removed if-clause to create a highlight entry if it
20553         did not exist before.
20554         * javax/swing/text/WrappedPlainView.java:
20555         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20556         removed 2nd part of if-expression.
20557         (WrappedLine.updateDamage): Added more documentation, added check
20558         whether allocation area rectangle is null.
20559
20560 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20561
20562         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20563         Reset to preferred sizes if the argument is negative.
20564
20565 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20566
20567         * javax/swing/JList.java: Added/updated API docs.
20568
20569 2006-05-03  Lillian Angel  <langel@redhat.com>
20570
20571         * javax/swing/JComponent.java
20572         (getRoot): New private function. Gets the root appropriate
20573         for painting. If an applet exists as a parent, then it is returned.
20574         (paintDoubleBuffered): Changed to use new function.
20575         * javax/swing/RepaintManager.java
20576         (getRoot): New private function. Gets the root appropriate
20577         for painting. If an applet exists as a parent, then it is returned.
20578         (getOffscreenBuffer): Changed to use new function.
20579         * javax/swing/SwingUtilties.java
20580         (getRoot): Reverted last patch to return Window, even if 
20581         an Applet exists.
20582
20583 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20584
20585         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20586         a pair of one public keyring and one private keyring.
20587         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20588         (containsCertificate): Added logging.
20589         (getCertificate): Likewise.
20590         (putCertificate): Likewsie.
20591         (load): Likewise.
20592         (store): Likewise.
20593         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20594         (containsPrivateKey): Added logging.
20595         (getPrivateKey): Likewise.
20596         (putPrivateKey): Likewise.
20597         (containsPublicKey): Likewise.
20598         (getPublicKey): Likewise.
20599         (putPublicKey): Likewise.
20600         (containsCertPath): Likewise.
20601         (getCertPath): Likewise.
20602         (putCertPath): Likewise.
20603         (load): Likewise.
20604         (store): Likewise.
20605
20606 2006-05-03  Roman Kennke <kennke@aicas.com>
20607
20608         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20609         * java/awt/AlphaComposite.java
20610         (createContext): Implemented.
20611
20612 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20613
20614         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20615         Set the current color again after drawing the raster.
20616
20617 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20618
20619         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20620         Do not check pos < currLineEnd if currLineStart == currLineEnd.
20621
20622 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20623
20624         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20625         Assign returned value to field handler.
20626         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20627         Likewise.
20628
20629 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20630
20631         * javax/swing/ScrollPaneLayout.java (layoutContainer):
20632         Return without action if there is no view in the viewport.
20633         * javax/swing/text/WrappedPlainView.java 
20634         (WrappedLine.getPreferredSpan): If metrics == null, update
20635         metrics.
20636         * javax/swing/tree/DefaultTreeModel.java (constructors):
20637         Do not call setRoot, assign the root node directly.
20638
20639 2006-05-02  Lillian Angel  <langel@redhat.com>
20640
20641         * javax/swing/SwingUtilities.java
20642         (getRoot): Should return the Applet if it exists.
20643         Only return the Window if an Applet has not been
20644         encountered.
20645
20646 2006-05-02  Lillian Angel  <langel@redhat.com>
20647
20648         * gnu/javax/swing/text/html/parser/support/Parser.java
20649         (readAttributes): Reverted Audrius' last patch. There is 
20650         a slight difference in code between the NUMTOKEN and SLASH case. 
20651
20652 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20653
20654         * javax/swing/text/JTextComponent.java:
20655         (setText): Throw InternalError from catch-block.
20656         * javax/swing/text/GapContent.java:
20657         (removed): Removed if-expression, changed '>' to '>='.
20658
20659 2006-05-02  Roman Kennke <kennke@aicas.com>
20660
20661         * gnu/java/awt/java2d/AbstractGraphics2D.java
20662         (AA_SAMPLING): New constant.
20663         (alpha): New field. Used in the antialiasing renderer.
20664         (edgeTable): New field. Used in the antialiasing renderer.
20665         (AbstractGraphics2D): Initialize rendering hints wrt
20666         anti-aliasing.
20667         (draw): Clip after stroking. Commented out clipping for now,
20668         it seems to be buggy.
20669         (fill): Commented out clipping for now, it seems to be buggy.
20670         (setComposite): Don't create composite context.
20671         (setPaint): Only change paint when parameter is not null.
20672         (translate): Call setClip() so subclasses can update their clip
20673         too.
20674         (clip): Call setClip() so subclasses can update their clip
20675         too.
20676         (drawGlyphVector): Added clipping, but left it commented out
20677         because it's buggy.
20678         (getClipBounds): Returns null when clip is null.
20679         (drawLine): Call rawDrawLine with translation applied.
20680         (filLRect): Call rawFillRect with translation applied.
20681         (fillShape): Added support for anti-aliasing.
20682         (rawSetForeground(int,int,int)): New method.
20683         (rawFillShape): A couple of painting fixes.
20684         (fillScanline): Implemented to call rawDrawLine.
20685         (fillShapeAntialias): New method. Implements an anti-aliasing
20686         shape filler.
20687         (fillScanlineAA): New method. Used for the anti-aliasing
20688         shape filler.
20689         (fillScanlineAlpha): New method. Used for the anti-aliasing
20690         shape filler.
20691         (init): Initialize clip with the device bounds.
20692         (updateOptimization): Fixed the optimization condition.
20693
20694 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20695
20696         * javax/swing/text/GapContent.java:
20697         (GapContent): Restrict size argument by 2.
20698         (insertString): Changed expression from >= to >.
20699         (remove): Changed right side of expression to 'length - 1', changed
20700         exception message.
20701         (getChars): Throw exception if where below 0.
20702         (replace): Replaced call to setPositionsInRange() with
20703         resetMarksAtZero(), removed note.
20704
20705 2006-05-02  Roman Kennke <kennke@aicas.com>
20706
20707         PR 27326
20708         * javax/swing/MenuSelectionManager.java
20709         (setSelectedPath): Rewritten.
20710
20711 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20712
20713         * gnu/javax/swing/text/html/parser/support/Parser.java
20714         (readAttributes): Merge case NUMTOKEN: and case SLASH:
20715         sections.
20716
20717 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20718
20719         * tools/.cvsignore: Added keytool.sh.
20720         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20721
20722 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20723
20724         * doc/tools.texinfo: New file.
20725         * doc/Makefile.am: Generate tools documentation.
20726
20727 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20728
20729         * tools/keytool.sh.in: New file.
20730         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20731         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20732         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20733         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20734         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20735         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20736         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20737         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20738         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20739         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20740         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20741         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20742         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20743         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20744         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20745         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20746         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20747         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20748
20749 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20750
20751         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20752         resemble more closely man-page style text.
20753         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20754         Mark (Eclipse) strings that need not be externalised.
20755         (writeSF): Likewise.
20756         (writeDSA): Likewise.
20757         Use package-private Messages class to provide i18n-ready strings.
20758         (startSigning):
20759         Use package-private Messages class to provide i18n-ready strings.
20760         (updateEntry): Likewise.
20761         Mark (Eclipse) strings that need not be externalised.
20762         (finishSigning): Likewise.
20763         * tools/gnu/classpath/tools/jarsigner/Main.java:
20764         Mark (Eclipse) strings that need not be externalised.
20765         (main): Do not use constant strings as class name.
20766         Use package-private Messages class to provide i18n-ready strings.
20767         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20768         (processArgs): Do not use constant strings as class name.
20769         Mark (Eclipse) strings that need not be externalised.
20770         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20771         (start): Do not use constant strings as class name.
20772         (teardown): Likewise.
20773         Use ProviderUtil.
20774         (setupCommonParams): Do not use constant strings as class name.
20775         Use package-private Messages class to provide i18n-ready strings.
20776         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20777         (installNewProvider): Do not use constant strings as class name.
20778         Use ProviderUtil.
20779         (setupSigningParams): Do not use constant strings as class name.
20780         Use package-private Messages class to provide i18n-ready strings.
20781         Mark (Eclipse) strings that need not be externalised.
20782         (getCallbackHandler): Use CallbackUtil.
20783         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20784         Use package-private Messages class to provide i18n-ready strings.
20785         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20786         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20787         (verifySF): Likewise.
20788         (verifySFEntries): Do not use constant strings as class name.
20789         Use Boolean.valueOf instead of new Boolean().
20790         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20791         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20792         New file.
20793         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20794         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20795
20796 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20797
20798         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20799         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20800         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20801
20802 2006-05-01  Tom Tromey  <tromey@redhat.com>
20803
20804         * java/nio/ByteBufferImpl.java (compact): Don't reset position
20805         in empty case.
20806         * gnu/java/nio/ChannelReader.java (read): Synchronize.
20807         (close): Synchronize.
20808         * java/nio/ShortBufferImpl.java (compact): Rewrote.
20809         * java/nio/LongBufferImpl.java (compact): Rewrote.
20810         * java/nio/IntBufferImpl.java (compact): Rewrote.
20811         * java/nio/FloatBufferImpl.java (compact): Rewrote.
20812         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20813         * java/nio/CharBufferImpl.java (compact): Rewrote.
20814         * gnu/java/nio/ChannelWriter.java: New file.
20815         * java/nio/channels/Channels.java (newWriter): Implemented.
20816
20817 2006-05-01  Lillian Angel  <langel@redhat.com>
20818
20819         * java/util/SimpleTimeZone.java
20820         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20821         (SimpleTimeZone): Likewise.
20822         (checkRule): Rewritten to properly check all values (more efficently). 
20823         This code is now more stable, at least less buggy than before. Fixed
20824         API documentation.
20825         (setStartRule): Moved checkRule call to end.
20826         (setStartRule): Likewise.
20827         (setEndRule): Likewise.
20828         (setEndRule): Likewise.
20829
20830 2006-05-01  Tom Tromey  <tromey@redhat.com>
20831
20832         * lib/.cvsignore: Added classes.2.
20833
20834 2006-05-01  Tom Tromey  <tromey@redhat.com>
20835
20836         * java/util/jar/JarFile.java (provider): Now package-private.
20837         * java/lang/Enum.java (compareTo): Javadoc fix.
20838         * java/lang/Boolean.java (compareTo): Javadoc fix.
20839
20840 2006-05-01  Lillian Angel  <langel@redhat.com>
20841
20842         * gnu/javax/swing/text/html/parser/support/Parser.java
20843         (readAttributes): Formatted function. Added handling for 
20844         SLASH token. The value of an attribute may start with a slash
20845         (i.e. a path). I added handling similar to to the NUMTOKEN code.
20846         We should not be skipping over these type of attributes.
20847
20848 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20849
20850         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20851         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20852         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20853         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20854         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20855         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20856         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20857         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20858         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20859         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20860         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20861         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20862         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20863         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20864         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20865         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20866         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20867         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20868         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20869         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20870         * include/gnu_java_awt_peer_gtk_GtkImage.h,
20871         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20872         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20873         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20874         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20875         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20876         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20877         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20878         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20879         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20880         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20881         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20882         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20883         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20884         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20885         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20886         * include/gnu_java_awt_peer_qt_MainQtThread.h,
20887         * include/gnu_java_awt_peer_qt_QMatrix.h,
20888         * include/gnu_java_awt_peer_qt_QPainterPath.h,
20889         * include/gnu_java_awt_peer_qt_QPen.h,
20890         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20891         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20892         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20893         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20894         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20895         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20896         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20897         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20898         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20899         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20900         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20901         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20902         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20903         * include/gnu_java_awt_peer_qt_QtGraphics.h,
20904         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20905         * include/gnu_java_awt_peer_qt_QtImage.h,
20906         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20907         * include/gnu_java_awt_peer_qt_QtListPeer.h,
20908         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20909         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20910         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20911         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20912         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20913         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20914         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20915         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20916         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20917         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20918         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20919         * include/gnu_java_awt_peer_qt_QtToolkit.h,
20920         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20921         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20922         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20923         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20924         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20925         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20926         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20927         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20928         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20929         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20930         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20931         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20932         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20933         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20934         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20935         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20936         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20937         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20938         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20939         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20940         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20941         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20942         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20943         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20944         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20945         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20946         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20947         * include/java_lang_VMProcess.h:
20948         Regenerated.
20949         * native/jni/java-lang/java_lang_VMProcess.c:
20950         Redirect when pipe_count is 2 not 3.    
20951
20952 2006-04-30  Sascha Brawer <sascha@brawer.ch>
20953
20954         * gnu/java/awt/font/FontDelegate.java,
20955         * gnu/java/awt/font/FontFactory.java,
20956         * gnu/java/awt/font/GNUGlyphVector.java,
20957         * gnu/java/awt/font/opentype/CharGlyphMap.java,
20958         * gnu/java/awt/font/opentype/GlyphNamer.java,
20959         * gnu/java/awt/font/opentype/MacResourceFork.java,
20960         * gnu/java/awt/font/opentype/NameDecoder.java,
20961         * gnu/java/awt/font/opentype/OpenTypeFont.java,
20962         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20963         * gnu/java/awt/font/opentype/Scaler.java,
20964         * gnu/java/awt/font/opentype/truetype/Fixed.java,
20965         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20966         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20967         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20968         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20969         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20970         * gnu/java/awt/font/opentype/truetype/Zone.java,
20971         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20972         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20973         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20974         New files. Imported font framework from:
20975         http://www.brawer.ch/software/fonts/
20976
20977 2006-04-30  Roman Kennke <kennke@aicas.com>
20978
20979         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20980         (lastTabInRun): Fix calculation of the last tab in a run. This
20981         has caused painting problems sometimes, making the
20982         last tab painted incorrectly.
20983
20984 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20985
20986         PR 27297
20987         * javax/swing/JComponent.java (paintChildrenWithOverlap):
20988         Use for and not while to prevent the endless loop.
20989
20990 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
20991
20992         * javax/swing/JList.java
20993         (paramString): Changed from public to protected.
20994
20995 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20996
20997         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
20998         (printHelpAndExit): Re-factored to use the above method.
20999
21000 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21001
21002         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21003         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21004         * tools/gnu/classpath/tools/jarsigner/Main.java:
21005         Changed license to GPL + Exception.
21006         (handler): New field.
21007         (getCallbackHandler): New method.
21008         (setupSigningParams): Use above method.
21009         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21010         Changed license to GPL + Exception.
21011         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21012         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21013         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21014         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21015
21016 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21017
21018         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21019         (handleConfirmation): Use print instead of println.
21020         (handleConfirmation): When case is YES_NO_OPTION, print default option
21021         if one was set.
21022         (handleLanguage): Use print instead of println.
21023
21024 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21025
21026         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21027         (putComponent): Handle O and OU components.
21028         (getDer): Use correct (it2) iterator.
21029         (readAttributeValue): Read next character and break if end-of-stream.
21030
21031 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21032
21033         * gnu/java/security/provider/Gnu.java (run):
21034         Add "RSA" as an alias to MD5withRSA.
21035         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21036         Always encode a NULL as the value of an algorithm parameters field.
21037         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21038         (encodePrivateKey): Added trace/log statements.
21039         (decodePrivateKey): Likewise.
21040         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21041         (setup): Added trace/log statements.
21042         (generate): Likewise.
21043         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21044         (toString): New method.
21045         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21046         (str): New field.
21047         (toString): New method.
21048         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21049         (getEncoded): Use defaultFormat.
21050         (toString): New method.
21051         * gnu/java/security/key/dss/DSSKey.java (toString):
21052         Include defaultFormat in string.
21053         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21054         Break if successfully decoded public key.
21055         (engineGeneratePrivate): Break if successfully decoded private key.
21056
21057 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21058
21059         * java/security/Security.java <clinit>: Add our Callback provider.
21060         * resource/java/security/classpath.security: Likewise
21061
21062 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21063
21064         PR 27296
21065         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21066         Decide about scroll bars from the preferred view size, not
21067         the current size.
21068         * javax/swing/ViewportLayout.java (layoutContainer):
21069         Do not change returned preferred size. Do not treat JScrollPane
21070         specially.
21071
21072 2006-04-28  Sven de Marothy <sven@physto.se>
21073
21074         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21075         * javax/swing/ProgressMonitor.java (actionPerformed): 
21076         Avoid divide-by-zero.
21077
21078 2006-04-28  Sven de Marothy <sven@physto.se>
21079
21080         * javax/swing/JSpinner.java: Fix default text justification.
21081         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21082
21083 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21084
21085         * javax/swing/JList.java
21086         (getMinSelectionIndex): Return correct value, added API docs,
21087         (getMaxSelectionIndex): Added API docs.
21088
21089 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21090
21091         * javax/swing/JList.java
21092         (JList(Object[])): Pass new model directly to init(),
21093         (JList(Vector)): Likewise,
21094         (JList(ListModel)): Renamed argument and updated API docs,
21095         (init): Throw IllegalArgumentException for null argument,
21096         (setListData(Object[])): Delegate model creation,
21097         (setListData(Vector)): Likewise,
21098         (createListModel(Object[])): New private method,
21099         (createListModel(Vector)): New private method,
21100         (paramString): Implemented.
21101
21102 2006-04-28  Tom Tromey  <tromey@redhat.com>
21103
21104         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21105         (isEnum): Rewrote.
21106         (isSynthetic): Likewise.
21107         (isAnnotation): Likewise.
21108         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21109         (isAnnotation): Likewise.
21110         (isEnum): Likewise.
21111
21112 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21113
21114         * javax/swing/text/View.java:
21115         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21116         view.
21117
21118 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21119
21120         * javax/swing/text/View.java:
21121         (getNextVisualPositionFrom): Rewritten.
21122         * javax/swing/text/CompositeView.java:
21123         (getNextEastWestVisualPositionFrom): Partly implemented.
21124         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21125
21126 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21127
21128         * javax/swing/JList.java
21129         (setFixedCellHeight): Use correct property name for event.
21130
21131 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21132
21133         * javax/swing/text/Utilities.java:
21134         (getNextWord): Use codePointAt instead of charAt, added note, changed
21135         if-expression, added throwing of exception.
21136         (getPreviousWord): Use codePointAt instead of charAt.
21137
21138 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21139
21140         * java/lang/StringBuilder.java
21141         (ensureCapacity, getChars, append(StringBuffer),
21142         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21143         insert(int,String), insert(int,char), trimToSize): Replaced
21144         System.arraycopy calls with VMSystem.arraycopy.
21145
21146 2006-04-27  Tom Tromey  <tromey@redhat.com>
21147
21148         * java/awt/image/renderable/RenderableImageProducer.java
21149         (requestTopDownLeftRightResend): Implemented.
21150         (run): Likewise.
21151         (startProduction): Add new consumer.
21152
21153 2006-04-27  Sven de Marothy  <sven@physto.se>
21154
21155         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21156
21157 2006-04-27  Roman Kennke <kennke@aicas.com>
21158
21159         * java/awt/LightweightDispatcher.java
21160         Dispatch events only to targets that have a mouselistener
21161         attached. Changed to also handle null targets.
21162
21163 2006-04-27  Roman Kennke <kennke@aicas.com>
21164
21165         * NEWS: Added entries about accessibility support and L&F
21166         window decorations.
21167
21168 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21169         
21170         * javax/swing/text/Utilities.java:
21171         (getTabbedTextOffset): Introduced width variable, rewritten the check
21172         which ends the loop.
21173         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21174         to false.
21175               
21176 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21177
21178         * examples/gnu/classpath/examples/swing/TreeDemo.java
21179         (createContent): Added root visibility and selection listener demos.
21180         * javax/swing/JTree.java (setRootVisible): If false, unselect
21181         the root node, if it is selected.
21182         * javax/swing/plaf/basic/BasicTreeUI.java 
21183         (TreeTraverseAction.actionPerformed): Do not select the root if it
21184         is not visible.
21185         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21186         removeSelectionPaths): Reset lead to null if the current lead path is
21187         removed from selection.
21188         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21189         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21190         Return the same path regardless is root visible or not. (update):
21191         Reduce the identation if the root is not visible.
21192         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21193         Return the same path regardless is root visible or not. (update):
21194         Reduce the identation if the root is not visible.
21195
21196 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21197
21198         * javax/swing/plaf/basic/BasicTreeUI.java
21199         (TreeAction.actionPerformed):Newly obtain the current lead
21200         path that must stay visible.
21201         (TreeTraverseAction.actionPerformed):Rewritten.
21202         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21203         Do not treat root specially. (setModel): Assume the root node
21204         initially expanded.
21205         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21206         Do not treat root specially. (setModel): Assume the root node
21207         initially expanded.
21208
21209 2006-04-26  Chris Burdess  <dog@gnu.org>
21210
21211         Fixes PR 27290
21212         * javax/xml/datatype/DatatypeFactory.java: Use complete
21213           implementation resolution mechanism.
21214
21215 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21216
21217         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21218         Implemented.
21219         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21220         Removed NoImplementException form the implemented method.
21221
21222 2006-04-26  Tom Tromey  <tromey@redhat.com>
21223
21224         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21225         throw IOException.
21226
21227 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21228
21229         * javax/swing/DefaultListSelectionModel.java
21230         (clone): Initialise empty listener list,
21231         (setSelectionMode): Throw IllegalArgumentException for bad input.
21232
21233 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21234
21235         * javax/swing/DefaultListSelectionModel.java
21236         (clearSelection): Clear the Bitset.
21237
21238 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21239
21240         * javax/swing/JTree.java (setLeadSelectionPath):
21241         Repaint the new and old lead pathes.
21242         * javax/swing/plaf/basic/BasicTreeUI.java
21243         (FocusHandler): Repaint the lead row when focus changes.
21244         (PropertyChangeHandler): Use existing constants, not the
21245         string literals for the property names.
21246         (TreeIncrementAction): Shrink the selection when moving
21247         from the selection edge to the selection anchor.
21248         (TreeSelectionHandler.valueChanged): Repaint the 
21249         new and old lead pathes.
21250         (paintRow): Treat row as focused only if it is the lead row.
21251         * javax/swing/tree/DefaultTreeCellRenderer.java
21252         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21253         (paint): Rewritten.
21254         * javax/swing/tree/DefaultTreeSelectionModel.java
21255         (addSelectionPath): Event construction fix (old and new lead were
21256         always the same).
21257         (addSelectionPaths): Likewise.
21258         * javax/swing/JComponent.java (setOpaque): Explained.
21259         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21260         Accept null.
21261         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21262         Accept null.
21263
21264 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21265
21266         * examples/gnu/classpath/examples/swing/TreeDemo.java
21267         (createContent): Call DefaultTreeModel.reload(), not the
21268         tree.repaint(). Expand the parent of the added node.
21269         * javax/swing/JTree.java (constructor): Do not call
21270         UpdateUI (and documented why). (treeDidChange):
21271         Added comment, excluding the misinterpretation of this method.
21272         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21273         focusListener, keyListener, mouseListener, propertyListener,
21274         selectionModelPropertyChangeListener, treeModelListener,
21275         treeSelectionListener): Made package private.
21276         (PropertyChangeHandler): If the model changes, install the
21277         listener on it. (installUI): Assign treeModel.
21278         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21279         comment, excluding misinterpretation.
21280         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21281         (reload(TreeNode)): Implemented.
21282
21283 2006-04-25  Tom Tromey  <tromey@redhat.com>
21284
21285         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21286         * javax/swing/tree/VariableHeightLayoutCache.java
21287         (getVisiblePathsFrom): Genericized.
21288         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21289         Genericized.
21290
21291 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21292
21293         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21294         If clicked on the other row, cancel the current editing session.
21295
21296 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21297
21298         * javax/swing/plaf/basic/BasicTreeUI.java
21299         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21300         (paintExpandControl): Always paint in one gap distance from the left
21301         border of the path bounds.
21302         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21303         into consideration.
21304         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21305         left edge.
21306
21307 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21308
21309         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21310
21311 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21312
21313         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21314         Allow slashes (/) in the unquoted parameter value. 
21315
21316 2006-04-25  Roman Kennke <kennke@aicas.com>
21317
21318         * gnu/java/awt/java2d/AbstractGraphics2D.java
21319         (drawString(String,int,int)): Implemented.
21320         (drawString(String,float,float)): Implemented.
21321         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21322         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21323         (getFontRenderContext): Implemented.
21324         (drawGlyphVector): Implemented.
21325         (getFont): Implemented.
21326         (setFont): Don't change font setting when null.
21327         (getFontMetrics): Implemented.
21328         (fillShape): Re-written to fill call rawFillShape() with a list
21329         of the edges instead of double arrays.
21330         (rawFillShape): Implemented using a polygon scanline conversion.
21331         (fillScanline): New helper method.
21332         (init): Initialize foreground black. Set font.
21333         * gnu/java/awt/java2d/PolyEdge.java: New file.
21334         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21335
21336 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21337
21338         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21339
21340 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21341
21342         * javax/swing/JTable.java: Fixed API doc tags,
21343         * javax/swing/text/AsyncBoxView.java: Likewise,
21344         * javax/swing/text/FlowView.java: Likewise.
21345
21346 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21347
21348         * javax/swing/table/DefaultTableColumnModel.java
21349         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21350
21351 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21352
21353         * javax/swing/table/DefaultTableColumnModel.java
21354         (DefaultTableColumnModel): Set selection model field and add 'this' as
21355         listener directly,
21356         (addColumn): Add 'this' as a PropertyChangeListener,
21357         (removeColumn): Remove column before firing event, and remove 'this' as
21358         a PropertyChangeListener,
21359         (setSelectionModel): Remove 'this' as a listener from old model, 
21360         (propertyChange): Check for 'width' property rather than
21361         TableColumn.COLUMN_WIDTH_PROPERTY.
21362
21363 2006-04-24  Chris Burdess  <dog@gnu.org>
21364
21365         Fixes PR 27262
21366         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21367           attributes when no doctype exists.
21368
21369 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21370
21371         * javax/swing/event/ChangeEvent.java: Updated API docs,
21372         * javax/swing/event/ChangeListener.java: Likewise,
21373         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21374         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21375         * javax/swing/table/TableColumnModel.java: Likewise.
21376
21377 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21378
21379         * javax/swing/text/Utilities.java:
21380         (getBreakLocation): Introduced shift variable, added notes.
21381         * javax/swing/text/WrappedPlainView.java:
21382         (calculateBreakPosition): Decrease allocation area bounds by insets,
21383         added early return when allocation area is empty, provide start offset
21384         as argument.
21385         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21386         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21387         numLines after loop.
21388         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21389         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21390         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21391         decreasing variable end by one, changed break condition in while-loop,
21392         added check for return value.
21393         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21394         allocation area is empty.
21395
21396 2006-04-24  Sven de Marothy  <sven@physto.se>
21397
21398         * gnu/java/awt/java2d/Segment.java: New file.
21399         * gnu/java/awt/java2d/CubicSegment.java: New file.
21400         * gnu/java/awt/java2d/QuadSegment.java: New file.
21401         * gnu/java/awt/java2d/LineSegment.java: New file.
21402         * java/awt/BasicStroke.java
21403         (start): New field.
21404         (end): New field.
21405         (createStrokedShape): Implemented.
21406         (solidStroke): New method.
21407         (dashedStroke): New method.
21408         (capEnds): New method.
21409         (convertPath): New method.
21410         (addSegments): New method.
21411         (capEnd): New method.
21412         (lineIntersection): New method.
21413         (joinSegments): New method.
21414
21415 2006-04-24  Roman Kennke <kennke@aicas.com>
21416
21417         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21418         Cloneable.
21419         (font): New field.
21420         (clip): Changed clip to be in user space not in target space.
21421         (isOptimized): Added flag to allow optimized drawing for
21422         primitive operations (e.g. for Swing).
21423         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21424         with the paint context etc.
21425         (draw): Clip the shape before drawing it.
21426         (fill): Clip the shape before drawing it.
21427         (setComposite): Update isOptimized flag.
21428         (setPaint): Likewise.
21429         (setStroke): Likewise.
21430         (translate): Update the clip.
21431         (rotate): Likewise.
21432         (scale): Likewise.
21433         (shear): Likewise.
21434         (transform): Likewise.
21435         (setTransform): Likewise.
21436         (clip): Added optimization for rectangle clips.
21437         (create): Implemented.
21438         (clone): New method.
21439         (setFont): Basic implementation.
21440         (setClip): Update opimization flag.
21441         (drawLine): Added possible optimization.
21442         (fillRect): Added possible optimization.
21443         (fillShape): Implemented shape-filling by filling the flattended
21444         shape using polygon fill.
21445         (drawPixel): Added basic painting.
21446         (rawSetPixel): Changed signature to only take coordinates.
21447         (rawSetForeground): New abstract method.
21448         (getUserBounds): Implemented default for this method.
21449         (rawDrawLine): New method.
21450         (rawFillRect): New method.
21451         (rawFillPolygon): New method.
21452         (init): New method.
21453         (updateOptimization): New method.
21454         (computeIntersection): New method.
21455         (updateClip): New method.
21456         (clipShape): New method.
21457
21458 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21459
21460         * java/lang/Package.java: Added compatibility constructor to ease
21461         VM interface migration.
21462
21463 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21464
21465         * java/lang/Class.java (getEnumConstants): Implemented without
21466         delegating to VMClass.
21467         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21468
21469 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21470
21471         * java/lang/ClassLoader.java (definePackage): Added argument to
21472         Package constructor.
21473         * java/lang/Package.java (Package): Added ClassLoader argument.
21474         (loader): New field.
21475         (getDeclaredAnnotations): Implemented without help from VMPackage.
21476         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21477         to Package constructor.
21478         * vm/reference/java/lang/VMPackage.java: Removed.
21479
21480 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21481
21482         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21483         (createContent): Added check box to swith between single and 
21484         multiple selection.
21485         * javax/swing/JTree.java (leadSelectionPath): Removed.
21486         (addSelectionInterval): Explained. (getLeadSelectionPath):
21487         Request the path from model. (getPathsBetweenRows): Explained.
21488         (setLeadSelectionPath): Set the path in model.
21489         * javax/swing/plaf/basic/BasicTreeUI.java 
21490         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21491         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21492         (MouseHandler.mousePressed): Call selectPathForEvent.
21493
21494 2006-04-23  Roman Kennke <kennke@aicas.com>
21495
21496         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21497
21498 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21499
21500         * NEWS:
21501         Mention changes to VMProcess and VMSystem.
21502         * doc/vmintegration.texinfo:
21503         Change documentation on VMProcess and VMSystem.
21504         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21505         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21506         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21507         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21508         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21509         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21510         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21511         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21512         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21513         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21514         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21515         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21516         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21517         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21518         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21519         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21520         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21521         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21522         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21523         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21524         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21525         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21526         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21527         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21528         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21529         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21530         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21531         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21532         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21533         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21534         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21535         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21536         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21537         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21538         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21539         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21540         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21541         * include/gnu_java_awt_peer_qt_QMatrix.h,
21542         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21543         * include/gnu_java_awt_peer_qt_QPen.h,
21544         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21545         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21546         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21547         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21548         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21549         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21550         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21551         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21552         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21553         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21554         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21555         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21556         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21557         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21558         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21559         * include/gnu_java_awt_peer_qt_QtImage.h,
21560         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21561         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21562         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21563         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21564         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21565         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21566         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21567         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21568         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21569         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21570         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21571         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21572         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21573         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21574         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21575         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21576         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21577         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21578         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21579         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21580         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21581         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21582         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21583         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21584         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21585         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21586         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21587         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21588         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21589         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21590         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21591         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21592         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21593         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21594         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21595         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21596         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21597         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21598         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21599         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21600         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21601         * include/java_lang_VMProcess.h,
21602         * include/java_lang_VMSystem.h:
21603         Regenerated with GCJ 4.1.
21604
21605 2006-04-22  Casey Marshall  <csm@gnu.org>
21606
21607         Fixes PR classpath/27228.
21608         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21609         (initialize): also accept `DHParameterSpec.'
21610         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21611         handle a passed-in `DHParameterSpec' properly.
21612         (generate): don't check if the random exponent is less than `q -
21613         1' if no `q' was specified.
21614
21615 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21616
21617         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21618         Only repaint the patches, speficied in the passed event.
21619         (expandPath): Do nothing if the path is already expanded.
21620         (scrollPathToVisible): Only scroll to visible, do nothing else.
21621         * javax/swing/plaf/basic/BasicTreeUI.java 
21622         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21623         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21624         (TreeTraverseAction.actionPerformed): Collapse the node on the
21625         action "selectParent". (selectPath): Rewritten.
21626         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21627         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21628         Do not reuse selection array.
21629         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21630         Accept null.
21631         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21632         Accept null.
21633
21634 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21635
21636         * javax/swing/tree/DefaultTreeSelectionModel.java
21637         (addSelectionPath): If the path cannot be added, set it.
21638         (addSelectionPaths): Call insureRowContinuity.
21639         (arePathsContiguous): Implemented.
21640         (canPathBeAdded): New private method.
21641         (canPathsBeAdded): Implemented.
21642         (canPathsBeRemoved): Implemented.
21643         (getPath): New private method.
21644         (insureRowContinuity): Implemented.
21645         (removeSelectionPath): Call insureRowContinuity.
21646         (removeSelectionPaths): Call insureRowContinuity.
21647         (resetRowSelection): Removed stub marking, not used in implementation 
21648         (nothing to do there).
21649         (selectOne): New private method.
21650         (setSelectionMode) Call insureRowContinuity.
21651         (setSelectionPaths) Remove the current selection by clearing it.
21652
21653 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
21654
21655         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21656         parameters consistendly, documented some methods.
21657         * java/sql/Blob.java: Likewise.
21658         * java/sql/CallableStatement.java: Likewise.
21659         * java/sql/Clob.java: Likewise.
21660         * java/sql/Connection.java: Likewise.
21661         * java/sql/DatabaseMetaData.java: Likewise.
21662         * java/sql/Date.java: Likewise.
21663         * java/sql/Driver.java: Likewise.
21664         * java/sql/PreparedStatement.java: Likewise.
21665         * java/sql/ResultSet.java: Likewise.
21666         * java/sql/ResultSetMetaData.java: Likewise.
21667         * java/sql/SQLData.java: Likewise.
21668         * java/sql/SQLOutput.java: Likewise.
21669         * java/sql/SQLWarning.java: Likewise.
21670         * java/sql/Statement.java: Likewise.
21671         * java/sql/Time.java: Likewise.
21672         * java/sql/Timestamp.java: Likewise.
21673
21674 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
21675
21676         * java/lang/reflect/AccessibleObject.java:
21677         Implemented AnnotatedElement.
21678         (getAnnotation, getAnnotations, getDeclaredAnnotations,
21679         isAnnotationPresent): New methods.
21680
21681 2006-04-21  Tom Tromey  <tromey@redhat.com>
21682
21683         PR classpath/27163:
21684         * gnu/java/net/protocol/ftp/FTPConnection.java
21685         (changeWorkingDirectory): Do nothing if path is empty.
21686
21687 2006-04-21  Tom Tromey  <tromey@redhat.com>
21688
21689         PR libgcj/27231:
21690         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21691         case where no '/' appears in 'location'.
21692
21693 2006-04-21  Tom Tromey  <tromey@redhat.com>
21694
21695         * java/security/Security.java (<clinit>): Add all default providers.
21696         * resource/java/security/classpath.security: Added comment.
21697
21698 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21699
21700         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21701         * javax/swing/SpinnerNumberModel.java: Likewise.
21702
21703 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21704
21705         * javax/swing/SpinnerDateModel.java
21706         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21707         checking to call compareTo() on start and end.
21708
21709 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21710
21711         * javax/swing/border/AbstractBorder.java: API doc updates,
21712         * javax/swing/border/BevelBorder.java: Likewise,
21713         * javax/swing/border/CompoundBorder.java: Likewise,
21714         * javax/swing/border/EtchedBorder.java: Likewise,
21715         * javax/swing/border/LineBorder.java: Likewise,
21716         * javax/swing/border/MatteBorder.java: Likewise,
21717         * javax/swing/border/TitledBorder.java: Likewise.
21718
21719 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21720
21721         * gnu/javax/crypto/cipher/Anubis.java:
21722         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21723         instance,
21724         * gnu/javax/crypto/cipher/Blowfish.java:
21725         (selfTest): Likewise,
21726         * gnu/javax/crypto/cipher/Cast5.java:
21727         (selfTest): Likewise,
21728         * gnu/javax/crypto/cipher/Khazad.java:
21729         (selfTest): Likewise,
21730         * gnu/javax/crypto/cipher/Rijndael.java:
21731         (selfTest): Likewise,
21732         * gnu/javax/crypto/cipher/Serpent.java:
21733         (selfTest): Likewise,
21734         * gnu/javax/crypto/cipher/Square.java:
21735         (selfTest): Likewise,
21736         * gnu/javax/crypto/cipher/Twofish.java:
21737         (selfTest): Likewise,
21738         * gnu/javax/crypto/mac/UMac32.java:
21739         (selfTest): Likewise,
21740         * gnu/javax/crypto/prng/CSPRNG.java:
21741         (getSystemInstance): Likewise.
21742
21743 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21744
21745         * gnu/java/security/hash/Haval.java:
21746         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
21747         instance,
21748         * gnu/java/security/hash/MD2.java:
21749         (selfTest): Likewise,
21750         * gnu/java/security/hash/MD4.java:
21751         (selfTest): Likewise,
21752         * gnu/java/security/hash/MD5.java:
21753         (selfTest): Likewise,
21754         * gnu/java/security/hash/RipeMD128.java:
21755         (selfTest): Likewise,
21756         * gnu/java/security/hash/RipeMD160.java:
21757         (selfTest): Likewise,
21758         * gnu/java/security/hash/Sha160.java:
21759         (selfTest): Likewise,
21760         * gnu/java/security/hash/Sha256.java:
21761         (selfTest): Likewise,
21762         * gnu/java/security/hash/Sha384.java:
21763         (selfTest): Likewise,
21764         * gnu/java/security/hash/Sha512.java:
21765         (selfTest): Likewise,
21766         * gnu/java/security/hash/Tiger.java:
21767         (selfTest): Likewise,
21768         * gnu/java/security/hash/Whirlpool.java:
21769         (selfTest): Likewise.
21770
21771 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21772
21773         * javax/swing/plaf/basic/BasicTreeUI.java 
21774         (PropertyChangeHandler.propertyChange): Set the row mapper
21775         for the selection model.
21776         * javax/swing/tree/AbstractLayoutCache.java 
21777         (NodeDimensions.getNodeDimensions): Explained.
21778         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21779         Implemented. (setRowHeight): Invalidate sizes. 
21780         * javax/swing/tree/DefaultTreeSelectionModel.java
21781         (addSelectionPath, addSelectionPaths): Update lead row.
21782         (removeSelectionPath, removeSelectionPaths): Do nothing if
21783         selection is empty.
21784         (clone): Only clone list selection model if it is not null.
21785         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
21786         setSelectionPath, setSelectionPaths, toString): Implemented.
21787         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21788         Pass the empty rectangle. (isFixedRowHeight): New method.
21789         * javax/swing/tree/VariableHeightLayoutCache.java
21790         (NodeRecord.getBounds): Pass the empty rectangle.
21791         
21792 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21793
21794         * gnu/java/security/Properties.java
21795         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21796
21797 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21798
21799         * gnu/classpath/jdwp/util/Value.java
21800         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
21801         creating new Boolean instances.
21802
21803 2006-04-20  Mark Wielaard  <mark@klomp.org>
21804
21805         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21806         PrivilegedAction. Access awt.toolkit through SystemProperties.
21807
21808 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21809
21810         * javax/swing/ActionMap.java: Removed unused imports,
21811         * javax/swing/DefaultListSelectionModel.java
21812         (clearSelection): Removed unused label,
21813         * javax/swing/JScrollPane.java: Removed unused imports,
21814         * javax/swing/UIManager.java: Likewise,
21815         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21816
21817 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21818
21819         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21820         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21821         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21822         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21823         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21824
21825 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21826
21827         * java/sql/Array.java: Fixed Eclipse API doc warnings,
21828         * java/sql/Blob.java: Likewise,
21829         * java/sql/CallableStatement.java: Likewise,
21830         * java/sql/Clob.java: Likewise,
21831         * java/sql/Connection.java: Likewise,
21832         * java/sql/DatabaseMetaData.java: Likewise,
21833         * java/sql/Date.java: Likewise,
21834         * java/sql/Driver.java: Likewise,
21835         * java/sql/PreparedStatement.java: Likewise,
21836         * java/sql/ResultSet.java: Likewise,
21837         * java/sql/ResultSetMetaData.java: Likewise,
21838         * java/sql/SQLData.java: Likewise,
21839         * java/sql/SQLOutput.java: Likewise,
21840         * java/sql/SQLWarning.java: Likewise,
21841         * java/sql/Statement.java: Likewise,
21842         * java/sql/Time.java: Likewise,
21843         * java/sql/Timestamp.java: Likewise.
21844
21845 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21846
21847         * java/sql/DriverManager.java
21848         (setLoginTimeout): Use incoming argument,
21849         (setLogStream): Likewise,
21850         (println): Fix API doc comment.
21851
21852 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21853
21854         * javax/swing/JMenuItem.java
21855         (paramString): Updated API docs,
21856         (getAccessibleContext): Added API docs,
21857         (AccessibleJMenuItem.stateChanged): Marked as stub,
21858         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21859         * javax/swing/JSlider.java
21860         (paramString): Fix for API docs,
21861         * javax/swing/JToolTip.java
21862         (getAccessibleContext): Fix for API docs.
21863
21864 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21865
21866         * javax/swing/JRadioButtonMenuItem.java
21867         (paramString): Reimplemented,
21868         (getAccessibleContext): API docs added,
21869         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
21870         Likewise,
21871         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21872
21873 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21874
21875         * javax/swing/plaf/basic/BasicTreeUI.java
21876         (finish): Invalidate path bounds.
21877         (getMaxHeight): Set the row height to the layout cache.
21878         (startEditing): Do not request to recalculated 
21879         row height and preferred size.
21880         * javax/swing/tree/DefaultTreeCellEditor.java
21881         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21882         with 0.
21883         * javax/swing/tree/FixedHeightLayoutCache.java:
21884         Rewritten.
21885
21886 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21887
21888         * javax/swing/JDesktopPane.java
21889         (paramString): Reimplemented,
21890         plus API doc updates in AccessibleJDesktopPane.
21891
21892 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21893
21894         * javax/swing/ImageIcon.java:
21895         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21896         (AccessibleImageIcon.getLocale): Declared exception and always return 
21897         null,
21898         (getAccessibleContext): Updated API docs,
21899         plus updated API docs all over AccessibleImageIcon.
21900
21901 2006-04-20  Roman Kennke  <kennke@aicas.com>
21902
21903         PR 27196
21904         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21905         (paintText): Fetch the ascent only once. Add the ascent to
21906         the text rect also when tabs are disabled.
21907
21908 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
21909
21910         * java/util/Locale.java (defaultLocale): Set to en_US per
21911         default and use user.country but prioritize user.region if
21912         defined.
21913         (getLocale(String language, String country)): Renamed region to
21914         country.
21915         (getLocale(String language, String region, String variant)):
21916         Likewise.
21917         (getAvailableLocales): Likewise.
21918
21919 2006-04-20  Roman Kennke  <kennke@aicas.com>
21920
21921         PR 27222
21922         * javax/swing/JList.java
21923         (JList()): Call init() with DefaultListModel instance.
21924         (JList(Object[])): Call init() with null.
21925         (JList(Vector)): Call init() with null.
21926         (JList(ListModel)): Call init() with model.
21927         (init): Changed to take the model as argument. Don't call
21928         setter methods and initialize stuff directly instead.
21929         (getCellBounds): Check if UI is null.
21930
21931 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
21932
21933         * javax/swing/text/WrappedPlainView.java: Initialize
21934         WrappedLine.numLines with -1.
21935         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21936         numLines is -1 and reculcalate the value appropriately.
21937         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21938         allocation area is empty.
21939
21940 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21941
21942         * javax/swing/JTabbedPane.java
21943         (AccessibleJTabbedPane.stateChanged): Marked as stub,
21944         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21945         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21946         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21947         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21948         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21949         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21950         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21951         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21952         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21953         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21954         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21955         (Page.getAccessibleStateSet): Likewise,
21956         (Page.getAccessibleIndexInParent): Likewise.
21957
21958 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21959
21960         * javax/swing/JProgressBar.java
21961         (paramString): Reimplemented.
21962
21963 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21964
21965         * javax/swing/JButton.java: Updated API docs all over.
21966
21967 2006-04-19  Roman Kennke  <kennke@aicas.com>
21968
21969         * java/awt/Toolkit.java
21970         (getDefaultToolkit): Use system classloader to load the
21971         toolkit.
21972
21973 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
21974
21975         * javax/swing/text/DefaultCaret.java:
21976         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
21977         instead of DefaultCaret.setDot.
21978
21979 2006-04-19  Roman Kennke  <kennke@aicas.com>
21980
21981         * native/jni/java-net/local.c
21982         (local_read): Handle EINTR correctly.
21983         (local_write): Likewise.
21984
21985 2006-04-19  Riccardo Mottola  <multix@gmail.com>
21986
21987         PR classpath/27062, PR classpath/25650:
21988         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
21989
21990 2006-04-19  Tom Tromey  <tromey@redhat.com>
21991
21992         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
21993         value of 'pureMinutes'.  PR classpath/27189.
21994
21995 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
21996
21997    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
21998    boot packages list from the META-INF/INDEX.LIST file if it exists. 
21999
22000 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22001
22002         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22003         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22004         (ITERATION_COUNT): Removed modifiers.
22005         (PASSWORD): Likewise.
22006         (SALT): Likewise.
22007         (PASSWORD_ENCODING): New property.
22008         (DEFAULT_PASSWORD_ENCODING): New constant.
22009         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22010         material (bytes) before a password (chars).
22011
22012 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22013
22014         * javax/swing/JMenu.java
22015         (getAccessibleChildrenCount): Marked as stub,
22016         (getAccessibleChild): Likewise,
22017         (getAccessibleSelection): Likewise,
22018         (getAccessibleSelection(int)): Likewise,
22019         (isAccessibleChildSelected): Likewise,
22020         (getAccessibleSelectionCount): Likewise,
22021         (addAccessibleSelection): Likewise,
22022         (removeAccessibleSelection): Likewise,
22023         (clearAccessibleSelection): Likewise,
22024         (selectAllAccessibleSelection): Likewise.
22025
22026 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22027
22028         * javax/swing/JSplitPane.java
22029         (getAccessibleContext): Added API docs,
22030         (paramString): Reimplemented,
22031         (setOrientation): Updated API docs,
22032         (setResizeWeight): Added argument checking and event notification.
22033
22034 2006-04-18  Casey Marshall  <csm@gnu.org>
22035
22036         Fixes PR classpath/25673        
22037         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22038         property is set. Update JavaDoc to reflect this.
22039
22040 2006-04-18  Lillian Angel  <langel@redhat.com>
22041
22042         * gnu/xml/dom/DomDocument.java
22043         (setCheckingCharacters): New function used to set
22044         checkingCharacters flag.
22045         * gnu/xml/dom/html2/DomHTMLParser.java
22046         (parseDocument): Added call to set checkingCharacters flag
22047         to false.
22048
22049 2006-04-18  Lillian Angel  <langel@redhat.com>
22050
22051         * gnu/xml/dom/DomDocument.java
22052         (checkNCName): Reverted last patch. Added check for colon at
22053         last position back in.
22054
22055 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22056
22057         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22058         New file.
22059         * examples/gnu/classpath/examples/swing/Demo.java:
22060         (mkMenuBar): Added NavigationFilter demo.
22061
22062 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22063
22064         * javax/swing/JSeparator.java: Updated API docs all over, plus
22065         (setOrientation): Fire PropertyChangeEvent,
22066         (paramString): Reimplemented.
22067
22068 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22069
22070         * javax/swing/plaf/basic/BasicTextUI.java:
22071         (getNextVisualPositionFrom): Implemented.
22072
22073 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22074
22075         * javax/swing/JPanel.java: Updated API docs all over, plus
22076         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22077         double-buffer flag.
22078
22079 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22080
22081         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22082         New file.
22083         * examples/gnu/classpath/examples/swing/Demo.java:
22084         (mkMenuBar): Added DocumenFilter demo.
22085
22086 2006-04-18  Tom Tromey  <tromey@redhat.com>
22087
22088         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22089
22090 2006-04-18  Mark Wielaard  <mark@klomp.org>
22091
22092         Reported by John Sullivan (johns@fsf.org)
22093         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22094
22095 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22096
22097         * javax/swing/JInternalFrame.java
22098         (JDesktopIcon.getAccessibleContext): Added API docs,
22099         (getDefaultCloseOperation): Likewise,
22100         (paramString): Added 'title' attribute,
22101         (setDefaultCloseOperation): Added API docs.
22102
22103 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22104
22105         * javax/swing/JSlider.java
22106         (paramString): Reimplemented.
22107
22108 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22109
22110         * javax/swing/JComboBox.java
22111         (paramString): Reimplemented,
22112         (getAccessibleContext): Added API docs,
22113         (AccessibleJComboBox.getAccessibleRole): Likewise.
22114
22115 2006-04-18  Roman Kennke  <kennke@aicas.com>
22116
22117         * javax/swing/RepaintManager.java
22118         (dirtyComponentsWork): New field.
22119         (ComponentComparator): Use dirtyComponentsWork instead of
22120         dirtyComponents.
22121         (RepaintManager): Initialize new field.
22122         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22123         and work on the copy.
22124
22125 2006-04-18  Roman Kennke  <kennke@aicas.com>
22126
22127         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22128         (setBounds): Call reshape().
22129         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22130         (SwingContainerPeer): Changed argument to be a Component
22131         instead a Container.
22132         (getInsets): Call insets().
22133         (handleMouseEvent): Added null check to avoid NPE.
22134         (handleMouseMotionEvent): Added null check to avoid NPE.
22135         
22136 2006-04-18  Roman Kennke  <kennke@aicas.com>
22137
22138         PR 27185
22139         * javax/swing/JComponent.java
22140         (paintChildrenWithOverlap): When one child is not opaque, propagate
22141         the dirty rectangles to the next child.
22142         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22143         This actually didn't work right and probably gained nothing.
22144
22145 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22146
22147         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22148         (moveToCellBeingEdited): Do not clone the rectangle here.
22149
22150 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22151
22152         * javax/swing/plaf/basic/BasicSliderUI.java
22153         (getActionMap): Fixed lookup key,
22154         (createActionMap): Modified actions to fetch slider/ui from the event
22155         source.
22156
22157 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22158
22159         * java/lang/Enum.java: Documented.
22160
22161 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22162
22163         * gnu/java/lang/InstrumentationImpl.java:
22164         Moved from java.lang.
22165         * java/lang/InstrumentationImpl.java:
22166         Removed.
22167         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22168         Moved from java.lang.
22169         * vm/reference/java/lang/VMClassLoader.java:
22170         Corrected reference to InstrumentationImpl.
22171         * vm/reference/java/lang/VMInstrumentationImpl.java:
22172         Removed.
22173         
22174 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22175
22176         * java/lang/annotation/Annotation.java:
22177         Documented.
22178         
22179 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22180
22181         * javax/swing/JToolBar.java
22182         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22183         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22184         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22185         (getAccessibleContext): Likewise.
22186
22187 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22188
22189         * configure.ac:
22190         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22191
22192         * native/fdlibm/Makefile.am,
22193         native/jni/classpath/Makefile.am:
22194         Don't use -module and -version-info for convenience libraries LDFLAGS.
22195         Fixes libtool warnings.
22196
22197 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22198
22199         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22200         (installKeyboardActions): Marked as stub,
22201         (uninstallKeyboardActions): Likewise,
22202         * javax/swing/plaf/basic/BasicComboPopup.java:
22203         (installKeyboardActions): Marked as stub,
22204         (uninstallKeyboardActions): Likewise,
22205         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22206         (installKeyboardActions): Marked as stub,
22207         (uninstallKeyboardActions): Likewise,
22208         * javax/swing/plaf/basic/BasicLabelUI.java:
22209         (installKeyboardActions): Marked as stub,
22210         (uninstallKeyboardActions): Likewise,
22211         * javax/swing/plaf/basic/BasicListUI.java:
22212         (installKeyboardActions): Marked as stub,
22213         (uninstallKeyboardActions): Likewise,
22214         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22215         (installKeyboardActions): Marked as stub,
22216         (uninstallKeyboardActions): Likewise,
22217         * javax/swing/plaf/basic/BasicMenuUI.java:
22218         (installKeyboardActions): Marked as stub,
22219         (uninstallKeyboardActions): Likewise,
22220         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22221         (installKeyboardActions): Marked as stub,
22222         (uninstallKeyboardActions): Likewise,
22223         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22224         (installKeyboardActions): Marked as stub,
22225         (uninstallKeyboardActions): Likewise,
22226         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22227         (installKeyboardActions): Marked as stub,
22228         (uninstallKeyboardActions): Likewise,
22229         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22230         (installKeyboardActions): Marked as stub,
22231         (uninstallKeyboardActions): Likewise,
22232         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22233         (installKeyboardActions): Marked as stub,
22234         (uninstallKeyboardActions): Likewise,
22235         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22236         (installKeyboardActions): Marked as stub,
22237         (uninstallKeyboardActions): Likewise,
22238         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22239         (installKeyboardActions): Marked as stub,
22240         (uninstallKeyboardActions): Likewise,
22241         * javax/swing/plaf/basic/BasicTableUI.java:
22242         (installKeyboardActions): Marked as stub,
22243         (uninstallKeyboardActions): Likewise,
22244         * javax/swing/plaf/basic/BasicTextUI.java:
22245         (installKeyboardActions): Marked as stub,
22246         (uninstallKeyboardActions): Likewise,
22247         * javax/swing/plaf/basic/BasicToolBarUI.java:
22248         (installKeyboardActions): Marked as stub,
22249         (uninstallKeyboardActions): Likewise.   
22250
22251 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22252
22253         * javax/swing/plaf/basic/BasicSliderUI.java
22254         (installKeyboardActions): Implemented,
22255         (uninstallKeyboardActions): Implemented,
22256         (scrollByBlock): Accept any value for direction,
22257         (scrollByUnit): Likewise,
22258         (getInputMap): New method,
22259         (getActionMap): New method,
22260         (createActionMap): New method.
22261
22262
22263 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22264         
22265         * doc/vmintegration.texinfo:
22266         Fix sectioning.
22267
22268 2006-04-16  Tom Tromey  <tromey@redhat.com>
22269
22270         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22271
22272 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22273
22274         * NEWS:
22275         Mention generics additions to the VM interface.
22276         * doc/vmintegration.texinfo:
22277         Added information on VMClass 1.5 additions and
22278         VMSecureRandom.
22279         
22280 2006-04-16  Casey Marshall  <csm@gnu.org>
22281
22282         * NEWS: add an entry mentioning local socket support.
22283
22284 2006-04-16  Casey Marshall  <csm@gnu.org>
22285
22286         * configure.ac (--enable-local-sockets): new enable argument.
22287         (ENABLE_LOCAL_SOCKETS): new define.
22288         * native/jni/java-net/Makefile.am (local_sources): new variable.
22289         (lib_javanet_la_SOURCES): append `local_sources.'
22290         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22291         * native/jni/java-net/local.c,
22292         * native/jni/java-net/local.h,
22293         * include/gnu_java_net_local_LocalSocketImpl.h,
22294         * gnu/java/net/local/LocalServerSocket.java,
22295         * gnu/java/net/local/LocalSocket.java,
22296         * gnu/java/net/local/LocalSocketAddress.java,
22297         * gnu/java/net/local/LocalSocketImpl.java: new files.
22298
22299 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22300
22301         * javax/accessibility/AccessibleAction.java:
22302         (DECREMENT): Added field.
22303         (INCREMENT): Likewise.
22304         (TOGGLE_EXPAND): Likewise.
22305         * javax/accessibility/AccessibleRole.java:
22306         (EDITBAR): Added field.
22307         (FOOTER): Likewise.
22308         (HEADER): Likewise.
22309         (PARAGRAPH): Likewise.
22310         (PROGRESS_MONITOR): Likewise.
22311         (RULER): Likewise.
22312         * javax/accessibility/AccessibleState.java:
22313         (INDETERMINATE): Added field.
22314         (MANAGES_DESCENDANTS): Likewise.
22315         (TRUNCATED): Likewise.
22316
22317 2006-04-14  Tom Tromey  <tromey@redhat.com>
22318
22319         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22320         Genericized.
22321         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22322         Genericized.
22323
22324 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22325
22326         * javax/swing/text/DefaultCaret.java:
22327         (getBypass): New method.
22328         (moveDot): Rewritten.
22329         (moveDotImpl): New method.
22330         (setDot): Rewritten.
22331         (setDotImpl): New method.
22332         (DefaultCaret.Bypass): New class.
22333
22334 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22335
22336         * javax/swing/text/AbstractDocument.java:
22337         (getBypass): New method.
22338         (insertString): Rewritten.
22339         (remove): Rewritten.
22340         (replace): Rewritten.
22341         (insertStringImpl): New method.
22342         (removeImpl): New method.
22343         (replaceImpl): New method.
22344         (AbstractDocument.Bypass): New class.
22345
22346 2006-04-14  Casey Marshall  <csm@gnu.org>
22347
22348         Fixes PR classpath/24642
22349         * NEWS: add note about SecureRandom changes, and addition of
22350         VMSecureRandom.
22351         * java/security/SecureRandom.java (isSeeded): new field.
22352         (setSeed, setSeed): set `isSeeded' to `true.'
22353         (nextBytes): seed this instance if `isSeeded' is false.
22354         (getSeed): call `generateSeed.'
22355         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22356         (generateSeed, generateSeed): new methods.
22357         * vm/reference/java/security/VMSecureRandom.java: new file.
22358
22359 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22360
22361         * javax/swing/text/FieldView.java:
22362         (paint): Apply clipping rectangle of the allocation area
22363         before painting the text.
22364         * javax/swing/text/DefaultHighlighter.java:
22365         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22366         compute union and intersection, calculate intersection with allocation
22367         area before painting, adjust x and width when painting multiple lines
22368         by the range of the allocation area.
22369
22370 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22371
22372         * javax/swing/text/DefaultHighlighter.java:
22373         (paintLayeredHighlights): Marked as stub.
22374
22375 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22376
22377         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22378         (propertyChanged): Added note, change color only if current background
22379         is a ColorUIResource instance.
22380
22381 2006-04-14  Tom Tromey  <tromey@redhat.com>
22382
22383         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22384         a stub.
22385         (next): Likewise.
22386
22387 2006-04-14  Tom Tromey  <tromey@redhat.com>
22388
22389         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22390
22391 2006-04-14  Mark Wielaard  <mark@klomp.org>
22392
22393         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22394         thread group when exceptionHandler isn't set.
22395         * vm/reference/java/lang/VMThread.java (run): Use result of
22396         thread.getUncaughtExceptionHandler directly.
22397
22398 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22399
22400         * javax/swing/JSplitPane.java
22401         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22402         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22403         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22404         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22405         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22406         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22407         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22408
22409 2006-04-10  Tom Tromey  <tromey@redhat.com>
22410
22411         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22412         Fixed parameter bounds.
22413
22414 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22415         
22416         * gnu/javax/crypto/assembly/Assembly.java,
22417         * gnu/javax/crypto/assembly/Cascade.java,
22418         * gnu/javax/crypto/assembly/CascadeStage.java,
22419         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22420         * gnu/javax/crypto/assembly/Direction.java,
22421         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22422         * gnu/javax/crypto/assembly/ModeStage.java,
22423         * gnu/javax/crypto/assembly/Operation.java,
22424         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22425         * gnu/javax/crypto/assembly/Stage.java,
22426         * gnu/javax/crypto/assembly/Transformer.java,
22427         * gnu/javax/crypto/cipher/Square.java,
22428         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22429         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22430         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22431         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22432         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22433         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22434         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22435         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22436         * gnu/javax/crypto/jce/cipher/PBES2.java,
22437         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22438         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22439         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22440         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22441         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22442         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22443         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22444         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22445         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22446         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22447         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22448         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22449         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22450         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22451         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22452         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22453         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22454         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22455         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22456         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22457         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22458         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22459         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22460         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22461         * gnu/javax/crypto/pad/WrongPaddingException.java,
22462         * gnu/javax/crypto/prng/ICMGenerator.java,
22463         * gnu/javax/crypto/prng/IPBE.java,
22464         * gnu/javax/crypto/prng/PBKDF2.java,
22465         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22466         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22467         * gnu/javax/crypto/sasl/srp/IALG.java,
22468         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22469         Remove CVS revision tags.
22470
22471 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22472
22473         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22474         Removed debugging code.
22475
22476 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22477  
22478         * javax/swing/JTree.java (getPreferredSize): Return the
22479         cloned instance.
22480         * javax/swing/ViewportLayout.java (layoutContainer):
22481         Do not manage the view size and location if the view is
22482         in the scroll pane. Also manage size and location for
22483         Scrollable, if it is not in the scroll pane.
22484         * javax/swing/plaf/basic/BasicTreeUI.java,
22485         * javax/swing/tree/FixedHeightLayoutCache.java,
22486         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22487         * gnu/javax/swing/tree/GnuPath.java: New file.
22488
22489 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22490
22491         * javax/swing/JToolBar.java
22492         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22493
22494 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22495
22496         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22497         (createCustomColoredPanel): Set background color as demo intends,
22498         changed custom selection color to red.
22499         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22500         Replaced various single variables with a Compound instance, added
22501         custom highlighter demo.
22502         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22503         TextAreaDemo).
22504         (TextFieldDemo.Compound): New class.
22505         (createTextFieldCompound): New method.
22506         (createLeftAlignedPanel): Rewritten.
22507         (createRightAlignedPanel): Rewritten.
22508         (createCenteredPanel): Rewritten.
22509         (createCustomColoredPanel): Removed.
22510         (createCustomColoredPanel1): New method.
22511         (createCustomColoredPanel2): New method.
22512         (createCustomBordersPanel): New method.
22513         (createMiscPanel): Rewritten.
22514         (actionPerformed): Rewritten.
22515         (createContent): Add panels of new compounds to main panel, put
22516         main panel in a JScrollPane.
22517         * examples/gnu/classpath/examples/swing/Demo.java:
22518         (Demo): Put desktop in a scrollpane.
22519         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22520         method via reflection.
22521
22522 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22523
22524         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22525         (createUI): Return new instance rather than shared instance.
22526
22527 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22528
22529         * javax/swing/text/FieldView.java:
22530         (checkContainer): Call updateVisibility() at the end.
22531
22532 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22533
22534         * java/awt/event/MouseEvent.java:
22535         (paramString): Add value of 'consumed' variable in string.
22536
22537 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22538
22539         PR 26967
22540         * javax/swing/JTextField.java: Removed scrollOffset variable.
22541         (JTextField): Moved up initialization of horizontalVisibility field.
22542         (getScrollOffset): Implemented.
22543         (setScrollOffset): Implemented.
22544         (getHorizonztalVisibility): Removed note.
22545         (scrollRectToVisible): New method.
22546         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22547         (checkContainer): New method.
22548         (updateVisibility): New method.
22549         (calculateHorizontalSpan): New method.
22550         (adjustAllocation): Removed unneeded local variables, added code
22551         to handle scrolling.
22552         (getPreferredSpan): Use new method calculateHorizontalSpan,
22553         avoid calculation by returning cached value cachedSpan.
22554         (paint): Added check whether the hosted component is a JTextField.
22555         (insertUpdate): Invalidate cached span value, update visibility
22556         if neccessary.
22557         (removeUpdate): Dito.
22558         (changeUpdate): Dito.
22559
22560 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22561
22562         * javax/swing/JInternalFrame.java
22563         (setTitle): Set old value to 'this.title', not 'title'.
22564
22565 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22566
22567         * javax/swing/JInternalFrame.java
22568         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22569         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22570         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22571         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22572         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22573         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22574         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22575         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22576         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22577         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22578         Implemented,
22579         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22580         Implemented,
22581         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22582         Implemented,
22583         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22584         Implemented,
22585         (JInternalFrame()): Use "" for default title,
22586         (getAccessibleContext): Updated API docs,
22587         (getDesktopIcon): Likewise,
22588         (getLayer): Check for layer in client properties, and return 
22589         DEFAULT_LAYER if no setting is found,
22590         (getTitle): Updated API docs,
22591         (setDesktopIcon): Fire property change event.
22592
22593 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22594
22595         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22596         Mind that the presence of one scroll bar may cause the
22597         need for another.
22598
22599 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
22600
22601         * gnu/regexp/REToken.java(unicodeAware): New field,
22602         (toLowerCase, toUpperCase): New methods.
22603         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22604         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22605         Use toLowerCase and toUpperCase defined in REToken instead of
22606         those defined in java.lang.Character.
22607         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22608         (initialize): Sets unicodeAware of the generated REToken to false if
22609         REG_ICASE_USASCII is set.
22610         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22611         to lower case and keep the original value.
22612         (matchOneString): Use the new method charEquals to compare characters.
22613         (charEquals): New method to compare characters.
22614         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22615
22616 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
22617
22618         * javax/swing/event/InternalFrameEvent.java:
22619         (paramString): Implemented,
22620         updated API docs all over.
22621         
22622 2006-04-12  Casey Marshall  <csm@gnu.org>
22623
22624         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22625         (Generator.setup): call `fillBlock.'
22626
22627 2006-04-12  Casey Marshall  <csm@gnu.org>
22628
22629         Fixes PR classpath/24481.
22630         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22631         initialize the adaptee.
22632         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22633         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22634         addRandomBytes): new methods.
22635
22636 2006-04-12  Tom Tromey  <tromey@redhat.com>
22637
22638         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22639         length strings.
22640
22641 2006-04-12  Lillian Angel  <langel@redhat.com>
22642
22643         * gnu/xml/dom/DomDocument.java
22644         (checkNCName): Removed unneeded part of check.
22645         * gnu/xml/dom/DomNode.java
22646         (dispatchEvent): Added code to grow ancestors array
22647         if needed. Changed checks to use depth of node instead.
22648         Fixes an infinite loop and segmentation fault.
22649         * gnu/xml/dom/html2/DomHTMLParser.java
22650         (handleEndTag): No need to use/make a copy of the node.
22651         Causes an infinite loop.
22652
22653 2006-04-12  Tom Tromey  <tromey@redhat.com>
22654
22655         PR classpath/27131:
22656         * java/util/BitSet.java (get): Early return if to==from.
22657
22658 2006-04-12  Mark Wielaard  <mark@klomp.org>
22659
22660         * java/security/SecureRandom.java (algorithm): New private field.
22661         (SecureRandom): Initialize algorithm.
22662         (SecureRandom(SecureRandomSpi,Provider,String)): New private
22663         constructor.
22664         (getInstance): Call 3 argument constructor.
22665         (getAlgorithm): New method.
22666
22667 2006-04-12  Mark Wielaard  <mark@klomp.org>
22668
22669         Port UncaughtExceptionHandler support from generics branch.
22670         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22671
22672 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22673
22674         * java/lang/Thread.java:
22675         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22676         Added docs and security check.
22677         (getUncaughtExceptionHandler()): Documented.
22678         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22679         Added docs and security check.
22680         (getDefaultUncaughtExceptionHandler()): Documented.
22681         (getId()): Documented.
22682
22683 2006-04-12  Tom Tromey  <tromey@redhat.com>
22684
22685         * vm/reference/java/lang/VMThread.java (run): Use thread's
22686         uncaught handler.
22687         * java/lang/Thread.java (defaultHandler): New field.
22688         (setDefaultUncaughtExceptionHandler,
22689         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22690         getUncaughtExceptionHandler): New methods.
22691         * java/lang/ThreadGroup.java (ThreadGroup): Implements
22692         UncaughtExceptionHandler.
22693         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22694
22695 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
22696
22697         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22698         buffer. Loop only once to determine Utf8 length when possible. Make
22699         the inner loop bounded by buf.length.
22700         (getUTFlength): New private method.
22701         (buf): New private field.
22702
22703 2006-04-11  Lillian Angel  <langel@redhat.com>
22704
22705         * gnu/xml/dom/DomNodeIterator.java
22706         (nextNode): Moved line of code to avoid an infinite loop.
22707         * gnu/xml/dom/html2/DomHTMLAppletElement.java
22708         (getCls): New function.
22709         (setCls): Likewise.
22710         (getSrc): Likewise.
22711         (setSrc): Likewise.
22712         * gnu/xml/dom/html2/DomHTMLDocument.java:
22713         Added DomHTMLEmbedElement to map.
22714         (getApplets): Added node name, 'embed'.
22715         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22716         New class.
22717         * gnu/xml/dom/html2/DomHTMLObjectElement.java
22718         (getJavaCode): New function.
22719         (setJavaCode): Likewise.
22720         (getObject): Likewise.
22721         (setObject): Likewise.
22722         (getJavaObject): Likewise.
22723         (setJavaObject): Likewise.
22724         (getJavaArchive): Likewise.
22725         (setJavaArchive): Likewise.
22726         (getJavaCodeBase): Likewise.
22727         (setJavaCodeBase): Likewise.
22728         (getJavaType): Likewise.
22729         (setJavaType): Likewise.
22730         (setMayscript): Likewise.
22731         (getMayscript): Likewise.
22732         (setScriptable): Likewise.
22733         (getScriptable): Likewise.
22734         * gnu/xml/dom/html2/DomHTMLParser.java
22735         (parseDocument): Should not check for well formedness
22736         when parsing an html document.
22737         * java/awt/Window.java
22738         (dispatchEvent): Added check to avoid NPE.
22739
22740 2006-04-10  Tom Tromey  <tromey@redhat.com>
22741
22742         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22743         name.
22744         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22745         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22746
22747 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
22748
22749         * javax/swing/plaf/basic/BasicTextUI.java:
22750         (getNextVisualPositionFrom): Marked as stub.
22751
22752 2006-04-10  Roman Kennke  <kennke@aicas.com>
22753
22754         * javax/swing/plaf/basic/BasicLookAndFeel.java
22755         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22756         and create the defaults as strings constants.
22757         (loadSystemColors): Implemented stubbed method.
22758
22759 2006-04-10  Tom Tromey  <tromey@redhat.com>
22760
22761         * .settings/org.eclipse.core.resources.prefs: Set encoding for
22762         ChangeLog.
22763
22764 2006-04-10  Tom Tromey  <tromey@redhat.com>
22765
22766         * java/io/CharArrayWriter.java (append): Javadoc fix.
22767         (append): Likewise.
22768
22769 2006-04-10  Tom Tromey  <tromey@redhat.com>
22770
22771         * javax/accessibility/AccessibleTextSequence.java: New file.
22772         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22773         field.
22774         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22775         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22776         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22777         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22778         * javax/accessibility/AccessibleExtendedText.java: New file.
22779         * javax/accessibility/AccessibleContext.java
22780         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22781         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22782         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22783         * javax/accessibility/AccessibleAttributeSequence.java: New file.
22784         * javax/accessibility/AccessibleStreamable.java: New file.
22785         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22786         fix.
22787
22788 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22789
22790         * javax/swing/tree/AbstractLayoutCache.java 
22791         (getNodeDimensions, getRowsForPath): Implemented.
22792         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22793         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22794
22795 2006-04-10  Roman Kennke  <kennke@aicas.com>
22796
22797         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22798
22799 2006-04-10  Roman Kennke  <kennke@aicas.com>
22800
22801         * javax/swing/JInternalFrame.java
22802         (AccessibleJInternalFrame): Marked all stubbed methods as such
22803         by adding throws NotImplementedException.
22804
22805 2006-04-10  Roman Kennke  <kennke@aicas.com>
22806
22807         * javax/swing/JFileChooser.java
22808         (getAccessibleContext): Don't create a new instance on each
22809         call, instead store the accessible context in the
22810         accessibleContext field.
22811
22812 2006-04-10  Roman Kennke  <kennke@aicas.com>
22813
22814         * javax/swing/JComboBox.java
22815         (AccessibleJComboBox): Marked all stubbed methods as such
22816         by adding throws NotImplementedException.
22817
22818 2006-04-10  Roman Kennke  <kennke@aicas.com>
22819
22820         * javax/swing/ActionMap.java
22821         (readObject): Removed.
22822         (writeObject): Removed.
22823
22824 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22825
22826         * javax/swing/tree/DefaultTreeSelectionModel.java
22827         (addSelectionPaths, setSelectionPaths): Call 
22828         insureUniqueness. (clone, setRowMapper): Implemented.
22829         * TreePath (path): Marked final.
22830
22831 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22832
22833         * javax/swing/tree/DefaultTreeSelectionModel.java:
22834         Documented and autoformatted. (insureUniqueness):
22835         Removed stub marking.
22836
22837 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
22838
22839         * javax/swing/SizeSequence.java
22840         (sizes): Don't initialise here,
22841         (SizeSequence(int, int)): Initialise sizes field,
22842         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22843         (setSize): Do nothing when index is out of bounds,
22844         (getIndex): Implemented,
22845         (setSizes): Reimplemented,
22846         (getSizes): Likewise,
22847         (insertEntries): Likewise,
22848         (removeEntries): Likewise,
22849         plus added API docs all over.
22850
22851 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
22852
22853         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22854         one way message and retry after any IOException.
22855
22856 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22857
22858         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22859         Set the byte order.
22860
22861 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
22862
22863         * org/omg/PortableServer/ServantLocatorPOA.java: 
22864         (preinvoke, postinvoke): Remove default implementation.
22865         * org/omg/PortableServer/ServantActivatorPOA.java: 
22866         (incarnate, etherealize): Remove default implementation.        
22867         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
22868         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22869         (make_object): Moved method from ObjectReferenceFactoryOperations.
22870         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
22871         Removed unspecified interface.  
22872         * org/omg/DynamicAny/_DynAnyStub.java:
22873         (_DynAnyStub(Delegate)): Removed constructor.
22874         * org/omg/DynamicAny/_DynArrayStub.java,
22875         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22876         * org/omg/DynamicAny/_DynEnumStub.java,
22877         * org/omg/DynamicAny/_DynFixedStub.java,
22878         * org/omg/DynamicAny/_DynSequenceStub.java,
22879         * org/omg/DynamicAny/_DynStructStub.java,
22880         * org/omg/DynamicAny/_DynUnionStub.java,
22881         * org/omg/DynamicAny/_DynValueStub.java: 
22882         Extend from ObjectImpl and not from _DynAnyStub.
22883         (type, next, destroy, copy, rewind, assign, component_count, 
22884         current_component, equal, from_any, get_any, get_boolean, get_char, 
22885         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
22886         get_reference, get_short, get_string, get_typecode, get_ulong, 
22887         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22888         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22889         insert_long, insert_longlong, insert_octet, insert_reference, 
22890         insert_short, insert_string, insert_typecode, insert_ulong, 
22891         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
22892         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
22893         * org/omg/CosNaming/_BindingIteratorStub.java:
22894         (_BindingIteratorStub(Delegate)): Made package private.
22895         * org/omg/CosNaming/_NamingContextExtStub.java:
22896         (_NamingContextExtStub(Delegate)): Made package private.
22897         * org/omg/CosNaming/_NamingContextStub.java:
22898         (_NamingContextStub(Delegate)): Made package private.
22899         (throw4, throw5): Likewise.
22900         * gnu/CORBA/NamingService/NameParser.java (resolve): 
22901         Adapt to package private constructor. Use _set_delegate instead.        
22902         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22903         * org/omg/CORBA/ORB.java: 
22904         (create_recursive_sequence_tc): Made abstract.
22905         (get_default_context): Likewise.
22906         * gnu/CORBA/OrbRestricted.java: 
22907         (create_recursive_sequence_tc): New moved method.
22908         (get_default_context): Likewise.        
22909         * org/omg/CORBA/ParameterMode.java: 
22910         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
22911
22912 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22913
22914         * gnu/CORBA/GIOP/MessageHeader.java (write): 
22915         More informative exception.
22916         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22917         * gnu/CORBA/SocketRepository.java (get_socket):
22918         Removed debugging code.
22919
22920 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22921
22922         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22923         one way message, but ignore if EOF was received.
22924         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22925         Minor.EOF if the end of file is received instead of the header.
22926
22927 2006-04-09  Roman Kennke  <kennke@aicas.com>
22928
22929         * javax/swing/plaf/metal/MetalRootPaneUI.java
22930         (MetalTitlePane.IconifyAction): New inner class.
22931         (MetalTitlePane.MaximizeAction): New inner class.
22932         (MetalTitlePane.createActions): Create iconifyAction and
22933         maximizeAction.
22934         (MetalRootLayout.titlePane): New field.
22935         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22936         constructor.
22937         (MetalRootLayout.preferredLayoutSize): Changed to not make
22938         assumptions about the actual component order.
22939         (MetalRootLayout.layoutContainer): Changed to not make
22940         assumptions about the actual component order.
22941         (installWindowDecorations): Pass the titlePane as parameter to
22942         the MetalRootLayout constructor.
22943         (uninstallWindowDecorations): Changed to not make
22944         assumptions about the actual component order.
22945
22946 2006-04-08  Roman Kennke  <kennke@aicas.com>
22947
22948         * javax/swing/plaf/metal/MetalRootPaneUI.java
22949         (MetalTitlePane.MouseHandler): New inner class to handle dragging
22950         of frames.
22951         (MetalTitlePane.installListeners): Don't register a focus listener
22952         on the window. This is a potential memory leak and must be
22953         implemented on a different way. Install mouse listener here.
22954         (installWindowDecorations): Fixed assertion condition. Always
22955         insert the window decoration at index#1 in the layered 
22956         pane.
22957
22958 2006-04-08  Roman Kennke  <kennke@aicas.com>
22959
22960         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22961         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22962         Only resize window if actual width or height value changes.
22963         Avoids nasty flicker when only setLocation() is beeing called
22964         on a window.
22965
22966 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22967
22968         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22969         exception if the magic sequence does not match.
22970
22971 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22972
22973         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22974         response for the one way messages.
22975
22976 2006-04-08  Roman Kennke  <kennke@aicas.com>
22977
22978         * javax/swing/MenuSelectionManager.java
22979         (processKeyEvent): Implemented stub method.
22980         * javax/swing/JMenu.java
22981         (processKeyEvent): Implemented stub method.
22982         * javax/swing/JMenu.java
22983         (processKeyEvent): Implemented stub method.
22984         (processMenuKeyEvent): Implemented stub method.
22985
22986 2006-04-08  Roman Kennke  <kennke@aicas.com>
22987
22988         * javax/swing/AbstractAction.java
22989         (readObject): Removed unneeded method.
22990         (writeObject): Removed unneeded method.
22991
22992 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
22993
22994         * javax/swing/plaf/synth/SynthPainter.java: 
22995         (paintSplitPaneDividerBorder): Removed.
22996
22997 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
22998
22999         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23000         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23001         No longer constants.
23002         (static_initializer): Added to initialize above fields.
23003         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23004         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23005         (static_initializer): Added to initialize above fields.
23006
23007 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23008
23009         * java/awt/Dialog.java: Improved documentation all over.
23010         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23011         (Dialog(Dialog)): Likewise.
23012
23013 2006-04-08  Mark Wielaard  <mark@klomp.org>
23014
23015         * java/util/jar/JarFile.java (provider): New static field.
23016         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23017         to `getInstance.'
23018
23019 2006-04-08  Mark Wielaard  <mark@klomp.org>
23020
23021         PR 27081
23022         * java/lang/StackTraceElement.java (toString): Don't add space
23023         between type and source indicator.
23024
23025 2006-04-07  Casey Marshall  <csm@gnu.org>
23026
23027         Fixes PR classpath/24464        
23028         * java/util/jar/JarFile.java (verify, verifyHashes,
23029         EntryInputStream.<init>): pass the Gnu provider directly to
23030         `getInstance.'
23031
23032 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23033
23034         PR classpath/27071
23035         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23036         (DIGEST0): Use version 3 test vector.
23037         (Sd): Removed.
23038         (S_box): New field: Version 3 S-box values.
23039         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23040         (transform): Formating.
23041         (padBuffer): Likewise.
23042         (getResult): Likewise.
23043         (selfTest): Likewise.
23044
23045 2006-04-07  Tom Tromey  <tromey@redhat.com>
23046
23047         * java/util/InvalidPropertiesFormatException.java
23048         (serialVersionUID): New field.
23049         (readObject, writeObject): New methods.
23050         * java/util/Arrays.java (toString): Javadoc fixes.
23051         * java/net/URLConnection.java: Cleaned up imports.
23052         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23053         * java/lang/reflect/MalformedParameterizedTypeException.java
23054         (serialVersionUID): New field.
23055         * java/lang/reflect/GenericSignatureFormatError.java
23056         (serialVersionUID): New field.
23057         * java/lang/Class.java (Class): Javado fixes.
23058         (getComponentType): Likewise.
23059         (getGenericInterfaces): Likewise.
23060         (getTypeParameters): Likewise.
23061         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23062         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23063         New field.
23064         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23065         field.
23066         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23067         New field.
23068
23069 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23070
23071         * java/awt/Dialog.java 
23072         (AccessibleAWTDialog): Added api docs
23073         (AccessibleAWTDialog.getAccessibleStateSet):
23074          Renamed from getAccessibleState.
23075         * java/awt/Frame.java 
23076         (AccessibleAWTFrame): Added api docs
23077         (AccessibleAWTFrame.getAccessibleStateSet):
23078          Renamed from getAccessibleState.
23079
23080 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23081
23082         * java/awt/Dialog.java: Reformatted.
23083
23084 2006-04-07  Lillian Angel  <langel@redhat.com>
23085
23086         * java/awt/Component.java
23087         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23088         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23089
23090 2006-04-07  Tom Tromey  <tromey@redhat.com>
23091
23092         * java/beans/beancontext/BeanContextMembershipEvent.java
23093         (serialVersionUID): New field.
23094         * java/beans/beancontext/BeanContextServicesSupport.java
23095         (addBeanContextServicesListener): Synchronize.
23096         (addService): Implemented.
23097         (createBCSChild): Implemented.
23098         (BCSSChild): Added arguments.
23099         (fireServiceAdded): Implemented.
23100         (fireServiceRevoked): Implemented.
23101         (getCurrentServiceSelectors): Implemented.
23102         (hasService): Implemented.
23103         (removeBeanContextServicesListener): Implemented.
23104         (serviceAvailable): Implemented.
23105         (serviceRevoked): Implemented.
23106         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23107         arguments.
23108         (createBCSChild): Implemented.
23109         (BeanContextSupport): 
23110         (addBeanContextMembershipListener): Synchronize.
23111         (fireChildrenAdded): Implemented.
23112         (fireChildrenRemoved): Implemented.
23113         (BeanContextSupport): Use default locale.
23114         (isEmpty): Implemented.
23115         (isDesignTime): Implemented.
23116         (size): Implemented.
23117         (toArray): Synchronized.
23118         (toArray): Likewise.
23119         (iterator): Likewise.
23120         (BCSIterator): Implemented.
23121         (bcsChildren): Implemented.
23122         (validatePendingAdd): Implemented.
23123         (validatePendingRemove): Likewise.
23124         (childJustAddedHook): Implemented.
23125         (childJustRemovedHook): Likewise.
23126         (classEquals): Likewise.
23127         (toArray): Mark as stub.
23128         (setDesignTime): Implemented.
23129         (copyChildren): Implemented.
23130         (containsKey): Implemented.
23131         (contains): Likewise.
23132         (containsAll): Likewise.
23133         (getResource): Implemented.
23134         (getResourceAsStream): Likewise.
23135         (removeBeanContextMembershipListener): Likewise.
23136         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23137         (serialVersionUID): New field.
23138         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23139         (serialVersionUID): New field.
23140         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23141         fix.
23142
23143 2006-04-06  Roman Kennke  <kennke@aicas.com>
23144
23145         PR 26937
23146         * javax/swing/MenuSelectionManager.java
23147         (setSelectedPath): Search one more item in the loop.
23148         
23149 2006-04-06  Tom Tromey  <tromey@redhat.com>
23150
23151         * java/awt/image/renderable/RenderableImageProducer.java
23152         (image, context, consumers): New fields.
23153         (RenderableImageProducer): Implemented.
23154         (setRenderContext): Likewise.
23155         (addConsumer): Likewise.
23156         (isConsumer): Likewise.
23157         (removeConsumer): Likewise.
23158         (startProduction): Likewise.
23159
23160 2006-04-06  Roman Kennke  <kennke@aicas.com>
23161
23162         * java/awt/Component.java
23163         (AccessibleAWTComponent.getBounds): Return the component
23164         bounds regardless of its showing state.
23165         (AccessibleAWTComponent.getLocation): Return the component
23166         location regardless of its showing state.
23167         (AccessibleAWTComponent.getSize): Return the component
23168         size regardless of its showing state.
23169
23170 2006-04-06  Roman Kennke  <kennke@aicas.com>
23171
23172         * javax/swing/JRootPane.java
23173         (getAccessibleContext): New method. Provides an accessibleContext
23174         for JRootPanes.
23175
23176 2006-04-06  Roman Kennke  <kennke@aicas.com>
23177
23178         * java/awt/Toolkit.java
23179         (initAccessibility): Use the 'gnu.classpath.home.url' property
23180         to determine the system confiuration directory.
23181         * java/awt/Component.java
23182         (dispatchEvent): Trigger Toolkit dispatching here.
23183         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23184         so it can't be overridden by subclasses and is performed in
23185         any case.
23186
23187 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23188         
23189         * javax/naming/Binding.java: Added API docs.
23190         * javax/naming/NameClassPair.java: Added API docs.
23191         (fullName): New field.
23192         (setNameInNamespace): New 1.5 method.
23193         (getNameInNamespace): Likewise.
23194
23195 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23196
23197         * javax/naming/CompositeName.java: 
23198         (readObject): New deserialization method.
23199         (writeObject): New serialization method.
23200
23201 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23202
23203         * javax/security/auth/x500/X500Principal.java
23204         (readAttributeValue) Check for separator after quoted value was
23205         failing in all cases.
23206
23207 2006-04-06  Mark Wielaard  <mark@klomp.org>
23208
23209         * java/lang/Class.java (getClassLoader): Don't do security check
23210         when loader is null.
23211
23212 2006-04-06  Roman Kennke  <kennke@aicas.com>
23213
23214         * java/awt/Toolkit.java
23215         (getDefaultToolkit): Initialize accessibility after setting
23216         up the toolkit.
23217         (initAccessibility): New helper method to setup accessibility.
23218
23219 2006-04-06  Roman Kennke  <kennke@aicas.com>
23220
23221         * javax/swing/AbstractButton.java
23222         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23223         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23224         stub.
23225         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23226         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23227         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23228         (AccessibleAbstractButton.getCharCount): Implemented stub.
23229         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23230         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23231         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23232         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23233         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23234         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23235         private method.
23236
23237 2006-04-06  Roman Kennke  <kennke@aicas.com>
23238
23239         * java/awt/Component.java
23240         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23241         state here. This is only done in JComponent.
23242         * javax/swing/JComponent.java
23243         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23244         here.
23245         (getNextFocusableComponent): Implemented stub method.
23246         (grabFocus): Implemented stub method.
23247         (unregisterKeyboardAction): Implemented stub method.
23248         (setNextFocusableComponent): Implemented stub method.
23249         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23250         This is a helper class for providing compatibility with the older
23251         Swing focus API.
23252
23253 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23254
23255         Fixes bug #26995
23256         * javax/naming/directory/BasicAttribute.java,
23257         * javax/naming/directory/BasicAttributes.java: 
23258         (readObject): New deserialization method.
23259         (writeObject): New serialization method.
23260
23261 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23262
23263         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23264         (getErrorHandler): Made method abstract.
23265         (setErrorHanlder): Likewise.
23266         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23267         (getErrorHandler): Implement abstract method from superclass.
23268         (setErrorHandler): Likewise.
23269         (errorHandler): New field.
23270         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23271         (getErrorHandler): Implement abstract method from superclass.
23272         (setErrorHandler): Likewise.
23273         (errorHandler): New field.      
23274         * javax/xml/XMLConstants.java: Corrected since tag.
23275         (XMLConstants): Added private constructor.
23276         * javax/xml/datatype/Duration.java: Corrected since tag.
23277         (multiply): Made method abstract.
23278         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23279         (DatatypeConstants): Added private constructor.
23280         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23281         (XPathConstants): Added private constructor.
23282
23283 2006-04-05  Tom Tromey  <tromey@redhat.com>
23284
23285         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23286
23287 2006-04-05  Tom Tromey  <tromey@redhat.com>
23288
23289         PR libgcj/26625:
23290         * lib/Makefile.am (compile-classes): Touch the output file.
23291
23292 2006-04-05  Roman Kennke  <kennke@aicas.com>
23293
23294         * javax/swing/AbstractButton.java
23295         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23296         of the focused state. This is already done in AccessibleAWTComponent.
23297
23298 2006-04-05  Roman Kennke  <kennke@aicas.com>
23299
23300         * javax/swing/JComponent.java
23301         (accessibleContext): Fixed API doc for this field.
23302         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23303         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23304         Implemented and added API docs.
23305         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23306         Implemented and added API docs.
23307         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23308         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23309         Implemented and added API docs.
23310         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23311         Implemented and added API docs.
23312         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23313         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23314         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23315         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23316         (AccessibleJComponent.getAccessibleStateSet): Simply return
23317         super here. Added comment about this.
23318
23319 2006-04-05  Roman Kennke  <kennke@aicas.com>
23320
23321         * javax/swing/JComponent.java
23322         (AccessibleJComponent.addPropertyChangeListener): Install
23323         ContainerHandler and FocusHandler here.
23324         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23325         ContainerHandler and FocusHandler here.
23326         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23327         by super.getAccessibleChildrenCount().
23328         (AccessibleJComponent.getAccessibleChild): Replaced
23329         by super.getAccessibleChild().
23330         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23331         adding OPAQUE to the supported states.
23332         (AccessibleJComponent.getAccessibleName): Added titled border
23333         and label fallbacks.
23334         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23335         and label fallbacks.
23336         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23337         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23338         explaining why return null seems correct here.
23339         * javax/swing/JLabel.java
23340         (LABEL_PROPERTY): New constant.
23341         (setLabelFor): Store label in labeled component's client properties
23342         for the AccessibleJComponent to read.
23343
23344 2006-04-05  Tom Tromey  <tromey@redhat.com>
23345
23346         * java/util/zip/ZipFile.java (available): Defer to super if
23347         entry's size is unknown.
23348
23349 2006-04-05  Tom Tromey  <tromey@redhat.com>
23350
23351         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23352         property with mime.types name.
23353         * gnu/classpath/SystemProperties.java: Set
23354         gnu.classpath.mime.types.file if not already set.
23355         * java/net/URLConnection.java (defaultFactory): New field.
23356         (guessContentTypeFromStream): Mark as unimplemented.
23357         (getContentHandler): Updated with libgcj's implementation.
23358         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23359         from libgcj.
23360
23361 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23362
23363         PR classpath/27028
23364         PR classpath/24752
23365         * java/util/AbstractList.java (hasNext): Don't throw
23366         ConcurrentModificationException. Update Javadoc.
23367         (hasPrevious): Likewise.
23368         (nextIndex): Likewise.
23369         (previousIndex): Likewise.
23370         * java/util/HashMap.java (hasNext): Likewise.
23371         * java/util/Hashtable.java (hasNext): Likewise.
23372         * java/util/IdentityHashMap.java (hasNext): Likewise.
23373         * java/util/LinkedHashMap.java (hasNext): Likewise.
23374         * java/util/LinkedList.java (nextIndex): Likewise.
23375         (previousIndex): Likewise.
23376         (hasNext): Likewise.
23377         (hasPrevious): Likewise.
23378         * java/util/TreeMap.java (hasNext): Likewise.
23379         * java/util/WeakHashMap.java (hasNext): Likewise.
23380
23381 2006-04-05  Roman Kennke  <kennke@aicas.com>
23382
23383         * javax/swing/AbstractButton.java
23384         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23385         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23386         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23387         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23388         (AccessibleAbstractButton.getAccessibleActionDescription):
23389         Implemented stub.
23390         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23391         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23392         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23393         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23394         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23395         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23396
23397 2006-04-05  Roman Kennke  <kennke@aicas.com>
23398
23399         * javax/swing/JComboBox.java
23400         (selectWithKeyChar): Implemented stubbed method.
23401
23402 2006-04-05  Roman Kennke  <kennke@aicas.com>
23403
23404         * javax/swing/LookAndFeel.java
23405         (installProperty): New method. Allows primitive typed properties
23406         to be handled like UIResources.
23407         * javax/swing/AbstractButton.java
23408         (clientBorderPaintedSet): New field.
23409         (clientRolloverEnabledSet): New field.
23410         (clientIconTextGapSet): New field.
23411         (clientContentAreaFilledSet): New field.
23412         (setRolloverEnabled): Set the client field to true.
23413         (setBorderPainted): Likewise.
23414         (setIconTextGap): Likewise.
23415         (setContentAreaFilled): Likewise.
23416         (setUIProperty): New helper method.
23417         * javax/swing/JComponent.java
23418         (clientOpaqueSet): New field.
23419         (clientAutoscrollsSet): New field.
23420         (setAutoscrolls): Set the client field to true.
23421         (setOpaque): Likewise.
23422         (setUIProperty): New helper method.
23423         * javax/swing/JDesktopPane.java
23424         (clientDragModeSet): New field.
23425         (setDragMode): Set the client field to true.
23426         (setUIProperty): New helper method.
23427         * javax/swing/JSplitPane.java
23428         (clientDividerSizeSet): New field.
23429         (clientOneTouchExpandableSet): New field.
23430         (setDividerSize): Set the client field to true.
23431         (setOneTouchExpandable): Likewise.
23432         (setUIProperty): New helper method.
23433         * javax/swing/JTable.java
23434         (clientRowHeightSet): New field.
23435         (setRowHeight): Set the client field to true.
23436         (setUIProperty): New helper method.
23437         * javax/swing/JTree.java
23438         (clientRowHeightSet): New field.
23439         (clientScrollsOnExpandSet): New field.
23440         (clientShowsRootHandlesSet): New field.
23441         (setRowHeight): Set the client field to true.
23442         (setShowsRootHandles): Likewise.
23443         (setScrollsOnExpand): Likewise.
23444         (setUIProperty): New helper method.
23445
23446 2006-04-05  Roman Kennke  <kennke@aicas.com>
23447
23448         * java/awt/Component.java
23449         (getFont): Don't request the font from the peer's graphics. The
23450         graphics should instead get the font from the Component, which might
23451         result in a loop.
23452         (getFocusCycleAncestor): Don't special case Window.
23453         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23454         to here. Correctly determine the focus cycle root.
23455         (transferFocusBackward): Likewise.
23456         (transferFocusUpCycle): Likewise.
23457         * java/awt/Container.java
23458         (transferFocusDownCycle): Moved implementation from
23459         DefaultKeyboardFocusManager to here.
23460         * java/awt/DefaultKeyboardFocusManager.java
23461         (focusPreviousComponent): Moved implementation to
23462         Component.transferFocusBackward().
23463         (focusNextComponent): Moved implementation to
23464         Component.nextFocus().
23465         (upFocusCycle): Moved implementation to
23466         Component.transferFocusUpCycle().
23467         (downFocusCycle): Moved implementation to
23468         Container.transferFocusDownCycle().
23469
23470 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23471
23472         * java/awt/image/ComponentSampleModel.java
23473         (equals): Implemented,
23474         (hashCode): Likewise.
23475
23476 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23477
23478         * java/lang/Class.java
23479         (cast): New method.
23480
23481 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23482
23483         * java/awt/image/ComponentSampleModel.java
23484         (getBankIndices): Return a copy of the array, not a reference to the
23485         original,
23486         (getBandOffsets): Likewise.
23487
23488 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23489
23490         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23491
23492 2006-04-04  Tom Tromey  <tromey@redhat.com>
23493
23494         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23495
23496 2006-04-04  Tom Tromey  <tromey@redhat.com>
23497
23498         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23499         (MimeTypeMapper): Initialize.
23500         (fillFromFile): New method.
23501         (main): New method.
23502         (mime_strings): Updated.
23503
23504 2006-04-04  Tom Tromey  <tromey@redhat.com>
23505
23506         * lib/gen-classlist.sh.in: Correct handle generated files.
23507
23508 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23509
23510         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23511         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23512         * gnu/regexp/CharIndexedCharSequence.java: New file.
23513         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23514         gnu.regexp.CharIndexedCharSequence.
23515         * gnu/regexp/CharIndexedString.java: Likewise.
23516         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23517         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23518         using CharIndexedCharSequence. Use setAnchor when the input
23519         object is already a CharIndexed.
23520         * java/util/regex/Matcher.java(inputCharIndexed): New field
23521         to be used as a parameter of the RE#getMatch.
23522
23523 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23524
23525         * java/awt/image/SampleModel.java: Reformatted.
23526
23527 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23528
23529         * java/awt/image/ComponentSampleModel.java
23530         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23531         documentation,
23532         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23533         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23534         of the bandOffsets and bankIndices arguments, added API documentation,
23535         * java/awt/image/SampleModel.java
23536         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23537         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23538         less than or equal to zero, added API documentation.
23539
23540 2006-04-04  Lillian Angel  <langel@redhat.com>
23541
23542         * java/util/zip/ZipFile.java
23543         (getInputStream): Fixed to return size of ZipEntry
23544         minus the total bytes read. This guarantees that the 
23545         right value is returned even if some bytes have already
23546         been read.
23547
23548 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23549
23550         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23551         Remove static modifier.
23552
23553 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23554
23555         * java/awt/image/ComponentSampleModel.java: Reformatted.
23556
23557 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23558
23559         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23560         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23561         retrieval instructions to javadoc header.
23562         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23563         compressionType field.
23564         * lib/Makefile.am (propertydirs): Add javax directory.
23565         (propertyfiles): Likewise.
23566         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23567         New file.
23568
23569 2006-04-03  Tom Tromey  <tromey@redhat.com>
23570
23571         PR classpath/26971:
23572         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23573         (BasicAttributeEnumeration.where): Initialize to 0.
23574         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23575
23576 2006-04-03  Lillian Angel  <langel@redhat.com>
23577
23578         PR classpath/24596 and PR classpath/26930
23579         * java/util/zip/ZipFile.java
23580         (getInputStream): Override available function for 
23581         InflaterInputStream instance.
23582
23583 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23584
23585         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23586
23587 2006-04-03  Tom Tromey  <tromey@redhat.com>
23588
23589         * javax/security/auth/kerberos/ServicePermission.java: New file.
23590         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23591         * javax/security/auth/kerberos/KerberosKey.java: New file.
23592         * javax/security/auth/kerberos/KeyImpl.java: New file.
23593         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23594         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23595
23596 2006-04-03  Sven de Marothy  <sven@physto.se>
23597
23598         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23599         non-GtkImage images.
23600
23601 2006-04-03  Mark Wielaard  <mark@klomp.org>
23602
23603         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23604         as temporary file name.
23605
23606 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23607
23608         * INSTALL: Documented --with-glibj-zip option.
23609
23610 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23611
23612         Fixed all pscan warnings.
23613
23614         * native/jni/classpath/jcl.c (JCL_ThrowException),
23615         native/jni/classpath/jcl.h (DBG),
23616         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23617         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23618         Use "%s" format in fprintf and snprintf explicitely when printing a single 
23619         string to prevent format string exploits.
23620         
23621         * native/jni/java-net/javanet.h (DBG): Removed duplicate
23622         definition. Included jcl.h instead.
23623  
23624 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
23625
23626         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23627         (provider): Made it protected.
23628         (providerInstalled): New field.
23629         (Main): Made it a 0-arguments constructor.
23630         Removed throws clasue.
23631         (main): Removed throws clause.
23632         Call processArgs(args) after constructing instance.
23633         Call teardown() before existing.
23634         (processArgs): Added javadoc.
23635         Reduced to throws Exception.
23636         (start): Likewise.
23637         (teardown): New method.
23638         (setupCommonParams): Added javadoc.
23639         Install designated provider if not already installed.
23640         (installNewProvider): New method.
23641         (setupSigningParams): Added javadoc.
23642         Instantiate the KeyStore using type only.
23643         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23644         Removed unused imports.
23645         (start): Reduced to throws Exception.
23646         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23647         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23648         Re-organized imports.
23649         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23650         Test ignoring case.
23651         (getNames): Add "dsa" as an algorithm provided by this Factory.
23652         (makeInstance): Construct IllegalArgumentException with 2 arguments.
23653
23654 2006-04-03  Roman Kennke  <kennke@aicas.com>
23655
23656         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23657         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23658         Replaced g_free() with pango_item_free() to avoid problems
23659         with the allocator.
23660
23661 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
23662
23663         Fixes bug #26668
23664         * java/util/logging/Level.java (parse): Document.
23665         * java/util/logging/LogManager.java (rootLogger): Removed.
23666         (LogManager): Just set loggers to new HashMap.
23667         (getLogManager): Make synchronized. Create and init LogManager if it
23668         doesn't exist yet.
23669         (static): Removed block.
23670         (MANAGER_PROPERTY): New private final string.
23671         (makeLogManager): Use new property string, move warning to
23672         createInstance() method.
23673         (CONFIG_PROPERTY): New private final string.
23674         (initLogManager): New method.
23675         (addLogger): Use Logger.root, not rootLogger.
23676         (findAncestor): Likewise.
23677         (readConfiguration): Move warning to createInstance() method.
23678         Add handlers directly to Logger.root. Warn about bad level values.
23679         (getClassProperty): Use new locateClass() method.
23680         (getInstanceProperty): Only catch specific newInstance Errors.
23681         (createInstance): Make private and takes a string to use in warning
23682         messages. Use new locateClass() method and generate appropriate
23683         warning message.
23684         (warn): New methods.
23685         (locateClass): Locates a class through the context class loader and
23686         system class loader as backup.
23687         * java/util/logging/Logger.java (root): New static final field.
23688         (Logger): Set parent to root.
23689         (setParent): Directly check root field.
23690
23691 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23692
23693         * java/util/Collections.java:
23694         (binarySearch(List, T)): Fixed signature.
23695         (unmodifiableList(List)): Likewise.
23696         (UnmodifiableList(List)): Fixed constructor.
23697         (UnmodifiableRandomAccessList(List)): Likewise.
23698         (unmodifiableMap(Map)): Fixed signature.
23699         (UnmodifiableMap(Map)): Fixed constructor.
23700         (unmodifiableSortedMap(Map)): Fixed signature.
23701         (UnmodifiableSortedMap(Map)): Fixed constructor.
23702         
23703 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23704
23705         * java/io/ObjectOutputStream.java:
23706         (writeObject(Object)): Added enum support.
23707         (writeClassDescriptor(ObjectStreamClass)): Likewise.
23708         * java/io/ObjectStreamClass.java:
23709         (isEnum()): New package-private method.
23710         (setFlags(Class)): Added enum support.
23711         * java/io/ObjectStreamConstants.java:
23712         (SC_ENUM): Added.
23713         
23714 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23715
23716         * javax/swing/text/Segment.java:
23717         (setPosition): Make exception message more verbose.
23718         * javax/swing/text/WrappedPlainView.java:
23719         (insertUpdate): Removed unneeded repaint call.
23720         (changeUpdate): Dito.
23721         (removeUpdate): Dito.
23722         (WrappedLine.determineNumLines): Do not return numLines, break
23723         from loop if no new break point has been calculated.
23724         (WrappedLine.updateDamage): Rewritten.
23725         (WrappedLine.insertUpdate): Removed unneeded update code.
23726         (WrappedLine.removeUpdate): Removed unneeded update code, added
23727         comment.        
23728
23729 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23730
23731         * configure.ac (with-glibj-zip): Added new option.
23732
23733         * examples/Makefile.am,
23734         lib/Makefile.am,
23735         tools/Makefile.am: Adapted build classpath to use glibj.zip,
23736         in addition to classes in lib directory.
23737
23738 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23739
23740         * tools/gnu/classpath/tools/giop/GRMIC.java,
23741         tools/gnu/classpath/tools/giop/IorParser.java,
23742         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23743         tools/gnu/classpath/tools/giop/grmic/Generator.java,
23744         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23745         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23746         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23747         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23748         tools/gnu/classpath/tools/rmi/RMIC.java,
23749         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23750         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23751         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23752         linking exception from the licensing header.
23753         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23754         Added licensing header.
23755
23756 2006-04-02  Mark Wielaard  <mark@klomp.org>
23757
23758         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23759         (jarsigner): Removed.
23760
23761 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23762
23763         * configure.ac: don't check for isnan function.
23764         * native/fdlibm/fdlibm.h: Always use the isnan macro.
23765
23766 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23767
23768         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23769         * tools/Makefile.am: Generate jarsigner shell script.
23770         * tools/jarsigner.sh.in: New template.
23771         * tools/.cvsignore: Added jarsigner.sh.
23772
23773 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23774
23775         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23776         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23777         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23778         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23779         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23780         Re-organised imports.
23781
23782 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
23783
23784         PR classpath/25924:
23785         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23786         Handle case where alpha==0.
23787
23788 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23789
23790         PR #26676
23791         * javax/swing/text/Utilities.java:
23792         (getTabbedTextOffset): Added check to decrement pos not below zero,
23793         changed '>' comparison to '>='.
23794         * javax/swing/text/WrappedPlainView.java:
23795         (lineHeight): New field.
23796         (calculateBreakPosition): Throw InternalError in catch block, removed
23797         unneeded brackets, use specific version of
23798         Utilities.getTabbedTextOffset.
23799         (paint): Set various properties neccessary for drawing.
23800         (WrappedLine.paint): Removed code to set field of outer class.
23801         (WrappedLine.modelToView): Removed unneeded expression from
23802         if-statement.
23803         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23804         -1 from return statement, copy only a subset into the Segment, removed
23805         special handling of mark value - just return it, simplified
23806         incrementation of currLineStart.
23807         (WrappedLine.insertUpdate): Recalculate numLines, report preference
23808         change to parent view.
23809         (WrappedLine.removeUpdate): Dito.
23810
23811 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23812
23813         * javax/swing/text/Segment.java:
23814         (toString): Return empty string when array is null.
23815
23816 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23817
23818         * javax/swing/plaf/basic/BasicTextUI.java:
23819         (damageRange): Use SwingUtilities.computeUnion to avoid
23820         unneccessary Rectangle instantiation.
23821
23822 2006-04-01  Tom Tromey  <tromey@redhat.com>
23823
23824         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23825
23826 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23827
23828         * javax/swing/text/CompositeView.java: Fixed copyright header.
23829         * javax/swing/text/BoxView.java: Fixed copyright header.
23830         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23831         * javax/swing/text/Utilities.java: Fixed copyright header.
23832
23833 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23834
23835         * javax/swing/text/CompositeView.java:
23836         (modelToView): Throw BadLocationException when no child
23837         view can be found, restructed to throw exception as early
23838         as possible.
23839         (viewToModel): Use mutable allocation as argument for viewToModel
23840         call on child view.
23841         * javax/swing/text/BoxView.java:
23842         (getViewAtPoint): Call setBounds() r before method returns with
23843         suitable child view.
23844         * javax/swing/text/Utilities.java:
23845         (getPositionBelow): Added try-catch-block around modelToView call,
23846         added method return when BadLocationException was thrown.
23847         * javax/swing/text/WrappedPlainView.java:
23848         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23849         added note about meaning of rect.x and rect.width, removed unneeded
23850         checks, added code to not return the last possible document offset.
23851
23852 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23853
23854         * javax/swing/text/WrappedPlainView.java:
23855         (WrappedLine.viewToModel): Change < to <= in if-statement,
23856         removed addition of currLineStart to return value.
23857         * javax/swing/text/BoxView.java:
23858         (getViewAtPoint): Use copy instead of r for method call
23859         which modifies the second argument.
23860
23861 2006-04-01  Mark Wielaard  <mark@klomp.org>
23862
23863         Fixes PR26973
23864         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23865
23866 2006-03-31  Tom Tromey  <tromey@redhat.com>
23867
23868         * lib/split-for-gcj.sh: Updated for multi-field format.
23869         * lib/Makefile.am (CLEANFILES): Added classes.2.
23870         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
23871         classes.2 using multiple fields.
23872
23873 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23874
23875         * javax/swing/JTable.java (columnSelectionChanged):
23876         Removed print statement.
23877         * javax/swing/DefaultListSelectionModel.java
23878         (addSelectionInterval, removeSelectionInterval):
23879         Fire the difference between selection. (setLeadSelectionIndex):
23880         Fire the difference and mark current and previous lead
23881         selection indexes for repaint.
23882
23883 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
23884
23885         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23886         unnecessary copying.
23887         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23888
23889 2006-03-31  Lillian Angel  <langel@redhat.com>
23890
23891         * java/awt/Component.java
23892         (translateEvent): oldKey should be the value of the
23893         key char.
23894
23895 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23896
23897         * javax/swing/JTable.java (columnSelectionChanged):
23898         Treat second repaint parameter as width.
23899
23900 2006-03-31  Lillian Angel  <langel@redhat.com>
23901         
23902         PR classpath/26924
23903         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23904         (realize): New native function.
23905         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23906         Added new function declaration.
23907         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23908         (realize): New function.
23909
23910 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
23911         
23912         * javax/swing/text/GapContent.java:
23913         (replace): Move all Position instances from gap's end to
23914         it's start before increasing the gap start.
23915         * javax/swing/plaf/basic/BasicTextAreaUI.java:
23916         (propertyChanged): Update the view only instead of
23917         indicating a document change.
23918
23919 2006-03-31  Roman Kennke  <kennke@aicas.com>
23920
23921         * javax/swing/JTextField.java
23922         (fireActionPerformed): Put the textfields text in the action
23923         instead of the action name.
23924
23925 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
23926
23927         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23928         Check for null jar-file argument.
23929         (setupSigningParams): Check for null alias argument.
23930
23931 2006-03-31  Roman Kennke  <kennke@aicas.com>
23932
23933         * javax/swing/JComponent.java
23934         (paintChildren): Split up in two cases, depending on the
23935         optimizedDrawingEnabled flag.
23936         (paintChildrenWithOverlap): New method. Paints children when
23937         not optimizedDrawingEnabled. This implements better painting
23938         algorithm for overlapping components, so that the painted
23939         regions are minimized.
23940         (paintChildrenOptimized): New method. Paints children when
23941         when optimizedDrawingEnabled. This implements a painting
23942         algorithm that is optimized for the case when all children
23943         are guaranteed to be tiled.
23944
23945 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
23946
23947         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23948         Attributes.putValue(String,String).
23949         (finishSigning): Likewise.
23950         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23951         (SIGNATURE_VERSION): Likewise.
23952         (readSFManifest): Use local string constant.
23953         (readMainSection): Likewise.
23954         (readVersionInfo): Likewise.
23955         * java/util/jar/Attributes.java (MANIFEST_VERSION):
23956         Redefined using JarUtils constant.
23957         (SIGNATURE_VERSION): Likewise.
23958         (putValue(Name,String)): Made it private.
23959
23960 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23961
23962         * javax/swing/DefaultListSelectionModel.java (fireDifference):
23963         New method. (clearSelection): Rewritten. (setSelectionInterval):
23964         Fire the difference between current and new selection.
23965         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23966         Only repaint the region, where selection has been changed.
23967         * javax/swing/plaf/basic/BasicTableUI.java 
23968         (TableAction.actionPerformed): Do not change the column selection
23969         when only row selection change is wanted (and in reverse) and 
23970         do not call the repaint() here.
23971
23972 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
23973
23974         Fixes bug #26951
23975         * javax/swing/DefaultComboBoxModel.java
23976         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
23977         vector.size(),
23978         (addElement): Call list.addElement() rather than list.add(), and only
23979         update selected item if it is currently null,
23980         (removeElementAt): Update selected item, then remove the element.
23981
23982 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
23983
23984         Fixes bug #26955
23985         * java/awt/geom/Point2D.java
23986         (distanceSq(double, double)): Fixed order of arguments,
23987         (distanceSq(Point2D)): Likewise,
23988         (distance(double, double)): Likewise,
23989         (distance(Point2D)): Likewise.
23990
23991 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
23992
23993         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
23994         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
23995         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
23996         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
23997         DCLuminanceLengths, DCLuminanceValues): Remove fields.
23998
23999 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24000
24001         * javax.swing.JTable (constructor): Initialize column
24002         model column margin and table row margin before setting the
24003         table column model. (initialiseLocalVars): Do not call 
24004         setIntercellSpacing.
24005
24006 2006-03-30  Chris Burdess  <dog@gnu.org>
24007
24008         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24009           method signature.
24010         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24011
24012 2006-03-30  Mark Wielaard  <mark@klomp.org>
24013
24014         PR 26848
24015         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24016         adjust bounds. On resize invalidate and validate container.
24017         Always pass on ComponentEvents to Container super class.
24018         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24019         menuBar and pass to GtkWindowPeer super class.
24020         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24021         bounds and pass to GtkWindowPeer super class.
24022         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24023         New fields for local bounds.
24024         (getX, getY): New methods.
24025         (getWidth): Don't call into awtComponent.
24026         (getHeight): Likewise.
24027         (create): Cache local bounds.
24028         (setLocation): Documented, made protected and just call
24029         nativeSetLocation.
24030         (setLocationUnlocked): Removed unused method.
24031         (setBoundsUnlocked): Likewise.
24032         (setBounds): Check whether bounds actually changed and cache local
24033         bounds.
24034         (setSize): Documented and made protected.
24035         (setResizable): Documented and cache local bounds.
24036         (postConfigureEvent): Update local bounds. Don't call awtComponent
24037         directly but post ComponentEvents.
24038         (show): Cache local bounds.
24039         (getBounds): Override to return cached bounds.
24040
24041 2006-03-30  Lillian Angel  <langel@redhat.com>
24042
24043         * gnu/java/awt/peer/gtk/GdkGraphics.java
24044         (drawImage): Added check to prevent NPE.
24045         (drawImage): Likewise.
24046         (drawImage): Likewise.
24047         * java/awt/Choice.java
24048         (dispatchEventImpl): New function. selectedIndex was
24049         not being updated properly otherwise.
24050
24051 2006-03-30  Roman Kennke  <kennke@aicas.com>
24052
24053         * javax/swing/JTabbedPane.java
24054         (removeTabAt): Removed debug code.
24055
24056 2006-03-30  Roman Kennke  <kennke@aicas.com>
24057
24058         PR 26045
24059         * javax/swing/plaf/basic/BasicTextUI.java
24060         (installKeyboardActions): Simply call getKeymap() and install this.
24061         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24062
24063 2006-03-30  Roman Kennke  <kennke@aicas.com>
24064
24065         * javax/swing/JTabbedPane.java
24066         (removeTabAt): Adjust selection correctly when removing a tab
24067         before the selected tab. Also remove the component from the
24068         container, not only the tab object. Repaint and revalidate the
24069         component after the removal.
24070         (removeAll): Set selection to -1 before removing the tabs.
24071
24072 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24073
24074         * java/io/ObjectInputStream.java:
24075         (parseContent(byte)): Added enum support.
24076         * java/io/ObjectStreamConstants.java:
24077         (TC_ENUM): Added.
24078         (TC_MAX): Changed to new maximum, TC_ENUM.
24079         
24080 2006-03-29  Lillian Angel  <langel@redhat.com>
24081
24082         Partial fix for bug #26929
24083         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24084         (updateComponent): Removed. We want to clear the panel
24085         before painting.
24086         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24087         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24088         Should set the background to the saved background color.
24089
24090 2006-03-29  Mark Wielaard  <mark@klomp.org>
24091
24092         Partial fix for bug #26848 (pack).
24093         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24094         Always show instances of Window.
24095
24096 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24097
24098         * javax/swing/JSlider.java
24099         (setPaintLabels): Only create standard labels if labelTable is null,
24100         * javax/swing/plaf/basic/BasicSliderUI.java
24101         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24102         "paintTicks" property change,
24103         (calculateThumbSize): Updated API docs,
24104         (calculateContentRect): Likewise,
24105         (calculateTrackBuffer): Take into account the lowest and highest 
24106         labels when calculating buffer space,
24107         (calculateTrackRect): Include labels, if visible, in the calculation of
24108         the trackRect position,
24109         (calculateTickRect): Height is zero if ticks are not painted,
24110         (calculateLabelRect): Use max dimensions of actual labels,
24111         (getWidthOfHighValueLabel): Use preferred size,
24112         (getWidthOfLowValueLabel): Likewise,
24113         (getHeightOfHighValueLabel): Likewise,
24114         (getHeightOfLowValueLabel): Likewise,
24115         (drawInverted): Just return slider setting,
24116         (getHighestValueLabel): Updated API docs,
24117         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24118         to xPositionForValue() and yPositionForValue(),
24119         (paintHorizontalLabel): Removed full qualification of class name,
24120         (paintVerticalLabel): Likewise,
24121         (xPositionForValue): Reimplemented,
24122         (yPositionForValue): Reimplemented,
24123         * javax/swing/plaf/metal/MetalSliderUI.java
24124         (paintTrack): Made track one pixel longer.
24125
24126 2006-03-29  Tom Tromey  <tromey@redhat.com>
24127
24128         PR gcc/26901:
24129         * tools/Makefile.am (JCOMPILER): Added encoding options.
24130         * examples/Makefile.am (JCOMPILER): Added encoding options.
24131
24132 2006-03-29  Gary Benson  <gbenson@redhat.com>
24133
24134         Partial fix for PR classpath/24895
24135         * java/io/FilePermission.java (implies): Canonicalize paths.
24136
24137 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24138
24139         PR 26888
24140         * javax/swing/text/GapContent.java:
24141         (replace): Added call to resetMarksAtZero.
24142
24143 2006-03-29  Roman Kennke  <kennke@aicas.com>
24144
24145         PR 23527
24146         * javax/swing/plaf/basic/BasicMenuItemUI.java
24147         (cachedRect): New field.
24148         (BasicMenuItemUI): Initialize cachedRect field.
24149         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24150         to determine layout. Store maximum accelerator and text width
24151         in client properties of parent to allow correct alignment
24152         of accelerators among menu items of one menu.
24153         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24154         method. Align accelerators according to the values calculated
24155         in getPreferredMenuItemSize.
24156         (getAcceleratorString) New helper method.
24157         (layoutMenuItem): New helper method.
24158
24159 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24160
24161         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24162         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24163         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24164         Avoid NPEs.
24165         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24166         readExternal, writeExternal): New methods.
24167         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24168         two stages, invokeCommon(Remote, ...) and 
24169         invokeCommen(UnicastConnection, ...).
24170         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24171         also the ActivatableRef. toString(): Documented.
24172         * gnu/java/rmi/server/ActivatableRef.java,
24173         tools/gnu/classpath/tools/rmi/Persistent.java,
24174         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24175         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24176         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24177         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24178         tools/gnu/classpath/tools/rmi/RMID.java,
24179         tools/gnu/classpath/tools/rmi/RMID.txt,
24180         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24181         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24182         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24183         tools/gnu/classpath/tools/rmi/registry/package.html,
24184         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24185         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24186         New files.
24187         * tools/README: Documented.
24188         * NEWS: Added entry about the activation.
24189
24190 2006-03-29  Roman Kennke  <kennke@aicas.com>
24191
24192         PR 23527
24193         * javax/swing/plaf/basic/BasicMenuItemUI.java
24194         (viewRect): New field.
24195         (textRect): New field.
24196         (accelRect): New field.
24197         (iconRect): New field.
24198         (arrowIconRect): New field.
24199         (checkIconRect): New field.
24200         (BasicMenuItemUI): Initialize new fields.
24201         (paintMenuItem): Rewritten to correctly layout and paint
24202         the menu item in a more straightforward way. Use cached rectangle
24203         objects for layout.
24204         (paintAccelerator): Pulled inside the paintMenuItem method.
24205
24206 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24207
24208         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24209         Do not use initCause with UnexpectedException.
24210         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24211         Likewise. 
24212
24213 2006-03-29  Mark Wielaard  <mark@klomp.org>
24214
24215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24216         (setCursorID): Removed unused static variable.
24217
24218 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24219
24220         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24221
24222 2006-03-29  Mark Wielaard  <mark@klomp.org>
24223
24224         Fixes bug #26527
24225         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24226         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24227
24228 2006-03-28  Roman Kennke  <kennke@aicas.com>
24229
24230         * javax/swing/UIManager.java
24231         (installLookAndFeel): Implemented.
24232         (setInstalledLookAndFeels): Implemented.
24233
24234 2006-03-28  Roman Kennke  <kennke@aicas.com>
24235
24236         * javax/swing/plaf/metal/MetalButtonUI.java
24237         (update): Paint gradient only when the background color
24238         is not a UIResource and if the button is neither armed nor
24239         pressed and if the button is contentAreaFilled.
24240
24241 2006-03-28  Roman Kennke  <kennke@aicas.com>
24242
24243         * javax/swing/JLayeredPane.java
24244         (addImpl): Repaint added component.
24245
24246 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24247
24248         * java/util/regex/Matcher.java: Reverted.
24249
24250 2006-03-28  Roman Kennke  <kennke@aicas.com>
24251
24252         * javax/swing/text/AsyncBoxView.java
24253         (setEstimatedMajorSpan): Made method protected.
24254         (getEstimatedMajorSpan): Made method protected.
24255         * javax/swing/text/BoxView.java
24256         (flipEastAndWestAtEnds): Fixed typo.
24257         * javax/swing/text/InternationalFormatter.java
24258         (getActions): Made method protected.
24259         * javax/swing/text/Position.java
24260         (Bias): Made class final.
24261         * javax/swing/text/html/HTML.java
24262         (MEDIA): Made field package private. Not specified.
24263         (NOBR): Made field package private. Not specified.
24264         * javax/swing/text/html/NullView.java
24265         Made class package private.
24266         * javax/swing/text/html/parser/Entity.java
24267         Made class non-serializable as specified.
24268
24269 2006-03-28  Roman Kennke  <kennke@aicas.com>
24270
24271         * javax/swing/plaf/metal/MetalButtonUI.java
24272         (update): Don't paint gradient if the background color is
24273         no UIResource. Removed double getModel() call. Don't check for
24274         OceanTheme.
24275
24276 2006-03-28  Roman Kennke  <kennke@aicas.com>
24277
24278         * javax/swing/plaf/basic/BasicMenuItemUI.java
24279         (paint): Call paintMenuItem with the selectionBackground as
24280         parameter.
24281         (paintBackground): Fixed the condition and color for the background
24282         painting.
24283
24284 2006-03-28  Roman Kennke  <kennke@aicas.com>
24285
24286         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24287         (tabsOpaque): New field.
24288         (paintLeftTabBorder): Paint some parts only when the tabs are
24289         opaque. Determine the tab background using the paintLeftTabBorder()
24290         helper method.
24291         (paintRightTabBorder): Likewise.
24292         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24293
24294 2006-03-27  Tom Tromey  <tromey@redhat.com>
24295
24296         PR classpath/25189:
24297         * java/lang/Enum.java (valueOf): Ensure that the named field
24298         is an enum constant.
24299         (compareTo): Check class of enum.
24300
24301 2006-03-27  Tom Tromey  <tromey@redhat.com>
24302
24303         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24304
24305 2006-03-27  Tom Tromey  <tromey@redhat.com>
24306
24307         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24308         New constant.
24309         (getModifiersInternal): Renamed from getModifiers.
24310         (getModifiers): New method.
24311         (isBridge): Likewise.
24312         (isSynthetic): Likewise.
24313         (isVarArgs): Likewise.
24314         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24315         New constant.
24316         (getModifiersInternal): Renamed from getModifiers.
24317         (getModifiers): New method.
24318         (isSynthetic): Likewise.
24319         (isEnumConstant): Likewise.
24320         * vm/reference/java/lang/reflect/Constructor.java
24321         (getModifiersInternal): Renamed from getModifiers.
24322         (getModifiers): New method
24323         (CONSTRUCTOR_MODIFIERS): New constant.
24324         (isSynthetic): New method.
24325         (isVarArgs): Likewise.
24326         * java/lang/reflect/Member.java (isSynthetic): New method.
24327
24328 2006-03-28  Tom Tromey  <tromey@redhat.com>
24329
24330         * java/net/Proxy.java (TYPE): Added missing ";".
24331
24332 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24333
24334         * java/math/RoundingMode.java:
24335         Fixed serialization UID.
24336         * java/net/Proxy.java:
24337         (Type): Likewise.
24338         
24339 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24340
24341         * java/io/CharArrayWriter.java:
24342         (append(char)): Documented.
24343         (append(CharSequence)): Likewise.
24344         (append(CharSequence,int,int)): Likewise.
24345         
24346 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24347
24348         * vm/reference/java/lang/reflect/Constructor.java
24349         (getTypeParameters): Check return value of getSignature for null.
24350         * vm/reference/java/lang/reflect/Method.java
24351         (getTypeParameters): Check return value of getSignature for null.
24352
24353 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24354
24355         * java/rmi/activation/ActivationGroup_Stub.java:
24356         Made final.
24357         
24358 2006-03-27  Tom Tromey  <tromey@redhat.com>
24359        
24360         * java/io/CharArrayWriter.java (append): New overloads.
24361         
24362 2006-03-27  Lillian Angel  <langel@redhat.com>
24363
24364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24365         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24366         Added check for colormap. Prevents assertion error.
24367         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24368         Likewise.
24369         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24370         Likewise.
24371         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24372         Likewise.
24373         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24374         Likewise.
24375         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24376         Likewise.
24377
24378 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24379
24380         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24381         AC_MSG_ERROR instead of echoing the error message 
24382         that no compiler has been found manually.
24383
24384 2006-03-27  Roman Kennke  <kennke@aicas.com>
24385
24386         * javax/swing/RepaintManager.java
24387         (commitBuffer): Use simple drawImage() method instead of the
24388         scaling version.
24389
24390 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24391
24392         * javax/swing/text/PlainView.java:
24393         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24394         for painting the selected line.
24395
24396 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24397
24398         * javax/swing/plaf/basic/BasicSliderUI.java
24399         (getThumbSize): Removed TODO and updated API docs.
24400
24401 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24402
24403         * javax/swing/text/DefaultCaret.java:
24404         (mouseClicked): Word selection rewritten.
24405         (paint): Draw line inside the bounding rectangle.
24406         (damage): Retrieve caret height from line height.
24407
24408 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24409
24410         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24411         for null args.
24412         Check for -help option.
24413         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24414
24415 2006-03-27  Roman Kennke  <kennke@aicas.com>
24416
24417         * javax/swing/text/FieldView.java
24418         (getPreferredSpan): Don't include trailing newline in
24419         calculations.
24420         * javax/swing/text/PlainView.java
24421         (drawLine): Don't include trailing newline.
24422         (determineMaxLineLength): Don't include trailing newline.
24423         (getLineBuffer): Made method final.
24424
24425 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24426
24427         * javax/swing/JSlider.java
24428         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24429         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24430         NotImplementedException,
24431         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24432
24433 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24434
24435         * java/lang/ProcessBuilder.java:
24436         Made final.
24437
24438 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24439
24440         * gnu/java/net/protocol/http/Headers.java:
24441         Match layout of file on HEAD.
24442         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24443         Likewise.
24444         * java/awt/datatransfer/DataFlavor.java
24445         Likewise.
24446
24447 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24448
24449         * gnu/java/security/jce/hash/HavalSpi.java,
24450         * gnu/java/security/jce/hash/MD2Spi.java,
24451         * gnu/java/security/jce/hash/MD4Spi.java,
24452         * gnu/java/security/jce/hash/MD5Spi.java,
24453         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24454         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24455         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24456         * gnu/java/security/jce/hash/Sha160Spi.java,
24457         * gnu/java/security/jce/hash/Sha256Spi.java,
24458         * gnu/java/security/jce/hash/Sha384Spi.java,
24459         * gnu/java/security/jce/hash/Sha512Spi.java,
24460         * gnu/java/security/jce/hash/TigerSpi.java,
24461         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24462         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24463         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24464         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24465         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24466         * gnu/java/security/jce/sig/SignatureAdapter.java,
24467         * gnu/java/security/key/IKeyPairCodec.java,
24468         * gnu/java/security/key/IKeyPairGenerator.java,
24469         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24470         * gnu/java/security/key/dss/DSSKey.java,
24471         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24472         * gnu/java/security/key/dss/DSSPrivateKey.java,
24473         * gnu/java/security/key/dss/DSSPublicKey.java,
24474         * gnu/java/security/key/dss/FIPS186.java,
24475         * gnu/java/security/key/rsa/GnuRSAKey.java,
24476         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24477         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24478         * gnu/java/security/sig/ISignature.java,
24479         * gnu/java/security/sig/ISignatureCodec.java,
24480         * gnu/java/security/sig/dss/DSSSignature.java,
24481         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24482         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24483         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24484         * gnu/java/security/util/Util.java:
24485         Remove CVS revision tags.
24486
24487 2006-03-26  Tom Tromey  <tromey@redhat.com>
24488
24489         * java/io/InputStream.java (InputStream): Implements Closeable.
24490         
24491 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24492
24493         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24494         New methods.
24495         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24496         getAnchor): New methods.
24497         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24498         getAnchor): New methods.
24499         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24500         getAnchor): New methods.
24501         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24502         getAnchor): New methods.
24503         * gnu/regexp/REMatch.java(start1): New field.
24504         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24505         (match): set the starting position to start1[] instead of start[],
24506         (getMatchImpl): Set the found REMatch to the input,
24507         (makeCharIndexed): Made public.
24508         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24509         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24510         set the value of start[] copying from start1[].
24511         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24512         offset.
24513         * java/util/regex/Matcher.java(inputCharIndexed): New field
24514         to be used as a parameter of the RE#getMatch.
24515
24516 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24517
24518         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24519         Documented the default jre spawning strategy (none).
24520         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24521         getSystem): Obtain the acticivation system from the 
24522         DefaultActivationSystem.
24523
24524 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24525
24526         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24527         Ask user for keystore password if one was not provided.
24528
24529 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24530
24531         * tools/README: Added Security tools section.
24532         Documented the jarsigner tool.
24533
24534 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24535
24536         * javax/swing/JScrollBar.java
24537         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24538         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24539         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24540         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24541         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24542         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24543         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24544         (getAccessibleContext): Updated API docs.
24545
24546 2006-03-25  Tom Tromey  <tromey@redhat.com>
24547
24548         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24549         change or if generator script changes.
24550
24551 2006-03-25  Tom Tromey  <tromey@redhat.com>
24552
24553         * javax/naming/ldap/StartTlsRequest.java: New file.
24554         * javax/naming/ldap/StartTlsResponse.java: New file.
24555
24556 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24557
24558     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24559     to validate all components of a resource path.
24560     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24561     allowed to walk through every component of a resource path.
24562     
24563 2006-03-25  Michael Koch  <konqueror@gmx.de>
24564
24565         * NEWS: Added item for CLDR 1.3 update.
24566
24567 2006-03-25  Michael Koch  <konqueror@gmx.de>
24568
24569         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24570         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24571         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24572         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24573         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24574         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24575         Removed locales.
24576
24577 2006-03-25  Michael Koch  <konqueror@gmx.de>
24578
24579         * resource/gnu/java/locale/LocaleInformation_az.properties,
24580         resource/gnu/java/locale/LocaleInformation_bs.properties,
24581         resource/gnu/java/locale/LocaleInformation_byn.properties,
24582         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24583         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24584         resource/gnu/java/locale/LocaleInformation_gez.properties,
24585         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24586         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24587         resource/gnu/java/locale/LocaleInformation_haw.properties,
24588         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24589         resource/gnu/java/locale/LocaleInformation_kok.properties,
24590         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24591         resource/gnu/java/locale/LocaleInformation_sid.properties,
24592         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24593         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24594         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24595         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24596         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24597         resource/gnu/java/locale/LocaleInformation_syr.properties,
24598         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24599         resource/gnu/java/locale/LocaleInformation_tig.properties,
24600         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24601         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24602         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24603         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24604         resource/gnu/java/locale/LocaleInformation_wal.properties,
24605         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24606         New locales.
24607
24608 2006-03-25  Michael Koch  <konqueror@gmx.de>
24609
24610         * resource/gnu/java/locale/LocaleInformation_fa.properties,
24611         resource/gnu/java/locale/LocaleInformation_kn.properties,
24612         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24613         resource/gnu/java/locale/LocaleInformation_ko.properties,
24614         resource/gnu/java/locale/LocaleInformation_sl.properties,
24615         resource/gnu/java/locale/LocaleInformation_so.properties,
24616         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24617         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24618         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24619         resource/gnu/java/locale/LocaleInformation_sr.properties:
24620         Random fixes I forgot to commit before.
24621
24622 2006-03-25  Michael Koch  <konqueror@gmx.de>
24623
24624         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24625         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24626         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24627         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24628         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24629         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24630         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24631         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24632         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24633         resource/gnu/java/locale/LocaleInformation_en.properties,
24634         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24635         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24636         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24637         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24638         resource/gnu/java/locale/LocaleInformation_fa.properties,
24639         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24640         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24641         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24642         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24643         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24644         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24645         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24646         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24647         resource/gnu/java/locale/LocaleInformation_pa.properties,
24648         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24649         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24650         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24651         resource/gnu/java/locale/LocaleInformation_sa.properties,
24652         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24653         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24654         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24655         Updated currency formats.
24656
24657 2006-03-25  Roman Kennke  <kennke@aicas.com>
24658
24659         * javax/swing/text/AbstractDocument.java
24660         (getAttributeContext): Made method final.
24661         (getCurrentWriter): Likewise.
24662         (getEndPosition): Likewise.
24663         (getProperty): Likewise.
24664         (getStartPosition): Likewise.
24665         (putProperty): Likewise.
24666         (readLock): Likewise.
24667         (readUnlock): Likewise.
24668         (writeLock): Likewise.
24669         (writeUnlock): Likewise.
24670
24671 2006-03-25  Roman Kennke  <kennke@aicas.com>
24672
24673         * javax/swing/InputMap.java
24674         (allKeys): Check if parent keys is null.
24675         * javax/swing/KeyboardManager.java
24676         (registerEntireMap): Also register map's parent keys.
24677         * javax/swing/plaf/metal/MetalRootPaneUI.java
24678         (propertyChange): Also call super.propertyChange().
24679
24680 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24681
24682         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24683         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24684         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24685         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24686         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24687         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24688
24689 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24690
24691         * gnu/java/util/jar/JarUtils.java: New file.
24692         * java/util/jar/Manifest.java (CRLF): Removed.
24693         (read_main_section): Likewise.
24694         (read_version_info): Likewise.
24695         (expect_header(String,BufferedReader)): Likewise.
24696         (expect_header(String,BufferedReader,String)): Likewise.
24697         (read_header_value): Likewise.
24698         (read_attributes): Likewise.
24699         (read_attribute): Likewise.
24700         (read_individual_sections): Likewise.
24701         (read_section_name): Likewise.
24702         (write_main_section): Likewise.
24703         (write_version_info): Likewise.
24704         (write_header): Likewise.
24705         (write_main_attributes): Likewise.
24706         (write_attribute_entry): Likewise.
24707         (write_individual_sections): Likewise.
24708         (write_entry_attributes): Likewise.
24709         (read): use JarUtils.
24710         (write): Likewise.
24711
24712 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24713
24714         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24715         (DEBUG): Removed.
24716         (debug): Likewise.
24717         (SignerInfo(BERReader)): Updated javadoc.
24718         Use JDK logging.
24719         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24720         New constructor.
24721         (encode): New method.
24722         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24723         (PKCS7_DATA): Removed.
24724         (DEBUG): Likewise.
24725         (debug): Likewise.
24726         (PKCS7SignedData(BERReader)): Updated javadoc.
24727         Use JDK logging.
24728         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24729         constructor.
24730         (encode): New method.
24731         * gnu/java/security/pkcs/PKCS7Data.java: New file.
24732         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24733         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24734         (decodePrivateKey): Decode x from an OCTET STRING.
24735         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24736         (toString): New method.
24737         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24738         (str): Likewise.
24739         (toString): New method.
24740         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24741         (toString): New method.
24742         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24743
24744 2006-03-25  Roman Kennke  <kennke@aicas.com>
24745
24746         * java/util/GregorianCalender.java
24747         (computeTime): Fix comparison to correctly calculate the
24748         calendar.
24749
24750 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
24751
24752         Fixes bug #26837
24753         * java/awt/Window.java:         
24754         (setFocusCycleRoot): New overriden method.
24755         (isFocusCycleRoot): Likewise.
24756         (getFocusCycleRootAncestor): Likewise.
24757         * java/awt/Container.java:
24758         (getFocusTraversalPolicy): Check also for anchestor == null.
24759
24760 2006-03-25  Mark Wielaard  <mark@klomp.org>
24761
24762         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24763         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24764         close root tag.
24765
24766 2006-03-24  Tom Tromey  <tromey@redhat.com>
24767
24768         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24769         Rewrote.
24770         (writeChar): Removed useless cast.
24771         (writeChars(String)): Implemented.
24772         (writeDouble): Rewrote.
24773         (writeFloat): Likewise.
24774         (writeUTF): Implemented.
24775         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24776         to big endian.
24777
24778 2006-03-24  Roman Kennke  <kennke@aicas.com>
24779
24780         * javax/swing/JButton.java
24781         (def): Replaced field with defaultCapable field.
24782         (is_def): Removed field.
24783         (JButton): Initialize defaultCapable with true.
24784         (isDefaultButton): Documented and implemented method by querying
24785         the button's root pane if present.
24786         (isDefaultCapable): Changed def field to defaultCapable.
24787         Added documentation.
24788         (paramString): Call isDefaultButton() instead of accessing field,
24789         which got removed.
24790         (setDefaultCapable): Changed def field to defaultCapable.
24791         Added documentation.
24792         * javax/swing/JRootPane.java
24793         (setDefaultButton): Only change the default button if the
24794         new button is defaultCapable.
24795         * javax/swing/plaf/basic/BasicRootPaneUI.java
24796         (DefaultPressAction): New class.
24797         (DefaultReleaseAction): New class.
24798         (installKeyboardActions): Implemented.
24799         (uninstallKeyboardActions): Implemented.
24800         (propertyChange): Implemented.
24801         * javax/swing/plaf/metal/MetalBorders.java
24802         (ButtonBorder.paintBorder): 'Outsourced' default theme
24803         painting to paintDefaultButtonBorder().
24804         (ButtonBorder.paintDefaultButtonBorder): New helper method
24805         to paint the border in the default theme. This also fixes
24806         painting of the border for default buttons.
24807         (ButtonBorder.paintOceanButtonBorder): Added support for
24808         default button painting. Fixed border for pressed/default state.
24809         * javax/swing/plaf/metal/MetalButtonUI.java
24810         (update): Only paint gradient when in OceanTheme and when the
24811         button is not armed.
24812
24813 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24814
24815         * gnu/java/rmi/activation/ActivationSystemTransient.java:
24816         Inherit from Activator.
24817
24818 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24819
24820         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24821         Print debug message if debug flag is set.
24822         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24823         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24824         detail, do not call iniCause(). (exportClass): New method.
24825         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24826         Ignore null (bootstrap) class loader.
24827         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24828         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
24829         visibility to protected.
24830         * java/rmi/activation/Activatable.java (export, register): Rewritten.
24831         (toStub): New method.
24832         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24833         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
24834         Explained property java.rmi.activation.port.
24835
24836 2006-03-24  Tom Tromey  <tromey@redhat.com>
24837
24838         * .externalToolBuilders/CreateLocaleData.launch: Updated.
24839         * gnu/java/locale/.cvsignore: New file.
24840         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24841         * java/util/Locale.java (getAvailableLocales): Clone result.
24842         (getISOCountries): Likewise.
24843         (getISOLanguages): Likewise.
24844         * scripts/generate-locale-list.sh: Make class public.  Added new
24845         array.
24846         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24847         (getLocaleCount): Likewise.
24848         * java/text/Collator.java (getInstance): Javadoc typo fix.
24849         (getAvailableLocales): Wrote.
24850
24851 2006-03-24  Roman Kennke  <kennke@aicas.com>
24852
24853         * javax/swing/JTabbedPane.java
24854         (getSelectedComponent): Return null when no component is
24855         selected.
24856
24857 2006-03-24  Mark Wielaard  <mark@klomp.org>
24858
24859         * NEWS: Add cursor and selection improvements.
24860
24861 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24862
24863         * java/awt/Component.java
24864         (getAccessibleName): Just return accessibleName,
24865         * javax/swing/AbstractButton.java
24866         (getAccessibleStateSet): Mark as stub,
24867         (getAccessibleName): Implemented,
24868         (getAcessibleIcon): Mark as stub,
24869         (getAccessibleRelationSet): Likewise,
24870         (getAccessibleAction): Likewise,
24871         (getAccessibleValue): Likewise,
24872         (getAccessibleActionCount): Likewise,
24873         (getAccessibleActionDescription): Likewise,
24874         (doAccessibleAction): Likewise,
24875         (getCurrentAccessibleValue): Likewise,
24876         (setCurrentAccessibleValue): Likewise,
24877         (getMinimumAccessibleValue): Likewise,
24878         (getMaximumAccessibleValue): Likewise,
24879         (getAccessibleText): Likewise,
24880         (getIndexAtPoint): Likewise,
24881         (getCharacterBounds): Likewise,
24882         (getCharCount): Likewise,
24883         (getCaretPosition): Likewise,
24884         (getAtIndex): Likewise,
24885         (getAfterIndex): Likewise,
24886         (getBeforeIndex): Likewise,
24887         (getCharacterAttribute): Likewise,
24888         (getSelectionStart): Likewise,
24889         (getSelectionEnd): Likewise,
24890         (getSelectedText): Likewise,
24891         (getTextRectangle): Likewise,
24892         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24893         (getIconTextGap): Added @since 1.4,
24894         (setContentAreaFilled): Reordered code to make event sequence match
24895         reference implementation,
24896         * javax/swing/JButton.java
24897         (getSelectedObjects): Removed,
24898         *javax/swing/JComponent.java
24899         (getAccessibleName): Call super.
24900
24901 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24902
24903         * javax/swing/JProgressBar.java
24904         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24905         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24906         (AccessibleJProgressBar.getAccessibleValue): Implemented,
24907         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24908         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24909         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24910         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24911         (getAccessibleContext): Added API docs.
24912
24913 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24914
24915         * javax/swing/plaf/basic/BasicTextUI.java:
24916         (FocusListener.focusLost): Put current selection into the system
24917         clipboard.
24918
24919 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24920
24921         * java/awt/Component.java:
24922         (processMouseEvent): Remove call to consume event.
24923         (dispatchEventImpl): Handle specific events first, do focus request
24924         only when mouse event was not yet consumed.
24925         * javax/swing/text/DefaultCaret.java:
24926         (mousePressed): Rewritten.
24927         (setDot): Changed order of operations.
24928         (moveDot): Dito.
24929
24930 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24931
24932         * javax/swing/JComponent.java
24933         (AccessibleJComponent.changeSupport): Removed field,
24934         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24935         (AccessibleJComponent.addPropertyChangeListener): Call super,
24936         (AccessibleJComponent.removePropertyChangeListener): Likewise,
24937         * javax/swing/JSlider.java
24938         (AccessibleJSlider.getAccessibleStateSet): Implemented,
24939         (AccessibleJSlider.getAccessibleRole): Likewise,
24940         (AccessibleJSlider.getAccessibleValue): Likewise,
24941         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24942         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24943         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24944         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24945         (getAccessibleContext): Added API docs.
24946
24947 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24948
24949         * gnu/java/rmi/activation/ActivationSystemTransient.java
24950         (debug): Made public. (constructor): Made protected.
24951         (activate, getActivationDesc): Throw more informative exceptions.
24952         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24953         New method.
24954         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
24955         Stub, implemented.
24956         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24957         Documented.
24958         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24959         Better exception.
24960         * java/rmi/activation/Activatable.java (obtainId): Use the activation
24961         system, passed in the activation descriptor field.
24962         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24963         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24964         to package private final. (equals): Compare uid, not the system. 
24965         (hashCode): Forward to uid.hashCode(). toString(): New method.
24966         * java/rmi/activation/ActivationID.java (readObject, writeObject):
24967         Rewritten. (equals): Compare UID only. toString(): New method.
24968         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24969         UID (space). (hashCode, toString): Rewritten.
24970         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
24971         New method. (invoke): Treat null as an empty array for parameters.
24972         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24973         Include count, do not include the static machineId.
24974
24975 2006-03-23  Tom Tromey  <tromey@redhat.com>
24976
24977         * java/net/URLConnection.java (getContent(Class[])): Implemented.
24978
24979 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24980
24981         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
24982         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
24983         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
24984         (force): New field. (setForce): New method. (compile): Handle -force.
24985         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
24986         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
24987
24988 2006-03-23  Roman Kennke  <kennke@aicas.com>
24989
24990         * javax/swing/JTabbedPane.java
24991         (Page.getBackground): Return the JTabbedPane's background,
24992         rather than the page's component background.
24993         (Page.getForeground): Return the JTabbedPane's foreground,
24994         rather than the page's component foreground.
24995         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
24996         (uninstallUI): Don't set colors to null.
24997         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24998         (paintTabBackground): Correctly determine the tab background.
24999         (getUnselectedBackground): New helper method to
25000         handle the UI property 'TabbedPane.unselectedBackground'
25001         correctly.
25002
25003 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25004
25005         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25006         (BorderListener.showingResizeCursor): New field.
25007         (BorderListener.mouseMoved, BorderListner.mouseExited):
25008         Implemented.
25009
25010 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25011
25012         * javax/swing/JComboBox.java
25013         (selectWithKeyChar): Mark as stub,
25014         * javax/swing/JFileChooser.java
25015         (setDragEnabled): Mark as stub,
25016         (getDragEnabled): Likewise,
25017         * javax/swing/JSlider.java
25018         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25019         (AccessibleJSlider.getAccessibleRole): Likewise,
25020         (AccessibleJSlider.getAccessibleValue): Likewise,
25021         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25022         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25023         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25024         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25025         * javax/swing/UIManager.java
25026         (installLookAndFeel): Mark as stub,
25027         (setInstalledLookAndFeels): Likewise.
25028
25029 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25030
25031         * javax/swing/filechooser/UnixFileSystemView.java
25032         (getSystemDisplayName): Mark as stub,
25033         (getSystemIcon): Likewise,
25034         (getSystemTypeDescription): Likewise.
25035
25036 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25037
25038         * javax/swing/tree/AbstractLayoutCache.java
25039         (getNodeDimensions): Mark as stub,
25040         (getPreferredHeight): Likewise,
25041         (getPreferredWidth): Likewise,
25042         (getRowsForPaths): Likewise,
25043         (isFixedRowHeight): Likewise,
25044         * javax/swing/tree/DefaultTreeModel.java
25045         (reload()): Mark as stub,
25046         (reload(TreeNode)): Likewise,
25047         (nodeStructureChanged): Likewise,
25048         * javax/swing/tree/DefaultTreeSelectionModel.java
25049         (clone): Mark as stub,
25050         (setRowMapper): Likewise,
25051         (setSelectionPaths): Likewise,
25052         (isRowSelected): Likewise,
25053         (resetRowSelection): Likewise,
25054         (insureRowContinuity): Likewise,
25055         (arePathsContiguous): Likewise,
25056         (canPathsBeAdded): Likewise,
25057         (canPathsBeRemoved): Likewise,
25058         (notifyPathChange): Likewise,
25059         (updateLeadIndex): Likewise,
25060         (insureUniqueness): Likewise,
25061         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25062         stubs,
25063         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25064
25065 2006-03-22  Tom Tromey  <tromey@redhat.com>
25066
25067         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25068         stub.
25069         (getStaticAttributeKey): Likewise.
25070         (readAttributeSet): Likewise.
25071         (writeAttributeSet): Likewise.
25072         (readAttributes): Likewise.
25073         (writeAttributes): Likewise.
25074         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25075         as stub.
25076         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25077         Mark as stub.
25078         (fireChangedUpdate): Likewise.
25079         (start): Likewise.
25080         (end): Likewise.
25081         (handleEndOfLineString): Likewise.
25082         (textAreaContent): Likewise.
25083         (preContent): Likewise.
25084         (addSpecialElement): Likewise.
25085         (setInnerHTML): Likewise.
25086         (setOuterHTML): Likewise.
25087         (insertBeforeStart): Likewise.
25088         (insertBeforeEnd): Likewise.
25089         (insertAfterEnd): Likewise.
25090         (insertAfterStart): Likewise.
25091         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25092         Mark all methods as stub.s
25093         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25094         as stub.
25095         (paintHorizontalSeparators): Likewise.
25096         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25097         Mark as stub.
25098         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25099         stub.
25100         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25101         as stubs.
25102         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25103         methods as stubs.
25104
25105 2006-03-22  Mark Wielaard  <mark@klomp.org>
25106
25107         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25108
25109 2006-03-22  Mark Wielaard  <mark@klomp.org>
25110
25111         Fixes bug #26527
25112         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25113         Takes GtkImage, x and y coordinates.
25114         (gtkWidgetSetCursorUnlocked): Likewise.
25115         (GtkComponentPeer): Set cursor when set.
25116         (setCursor): Handle GtkCursor.
25117         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25118         New method.
25119         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25120         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25121         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25122         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25123
25124 2006-03-23  Roman Kennke  <kennke@aicas.com>
25125
25126         PR 26805
25127         * gnu/java/security/Registry.java
25128         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25129         * gnu/javax/crypto/pad/PadFactory.java
25130         (getInstance): For PKCS#5, also return PKCS#7 pad
25131         algorithm.
25132         (getNames): Added PKCS#5.
25133         * javax/crypto/KeyGenerator.java
25134         (getInstance): Initialize key generator before returning
25135         it.
25136
25137 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25138
25139         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25140         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25141         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25142         if COMMENTS is set.
25143
25144 2006-03-22  Tom Tromey  <tromey@redhat.com>
25145
25146         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25147         (getBoolean): Likewise.
25148         (getString): Likewise.
25149         (getIcon): Likewise.
25150
25151 2006-03-22  Mark Wielaard  <mark@klomp.org>
25152
25153         Fixes bug #26301
25154         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25155         (GLightweightPeer(Component)): Install MouseListener.
25156         (setCursor): Implement.
25157         (mouseEntered): New method.
25158
25159 2006-03-22  Tom Tromey  <tromey@redhat.com>
25160
25161         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25162         constant.
25163         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25164         protected.
25165         (getFontForState): Likewise.
25166         (getInsets): Added 'result' argument.
25167         (getPainter): Renamed.
25168
25169 2006-03-22  Tom Tromey  <tromey@redhat.com>
25170
25171         * javax/swing/plaf/synth/SynthPainter.java
25172         (paintScrollBarThumbBackground): Added 'orientation' argument.
25173         (paintScrollBarThumbBorder): Likewise.
25174         (paintSliderThumbBackground): Likewise.
25175         (paintSliderThumbBorder): Likewise.
25176         (paintTabbedPaneTabBackground): Added 'index' argument.
25177         (paintTabbedPaneTabBorder): Likewise.
25178
25179 2006-03-22  Tom Tromey  <tromey@redhat.com>
25180
25181         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25182         (toString): New method.
25183
25184 2006-03-22  Tom Tromey  <tromey@redhat.com>
25185
25186         * doc/hacking.texinfo (Source Code Style Guide): Mention
25187         NotImplementedException.
25188         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25189         (flushBefore): Mark as stub.
25190         (read): Likewise.
25191         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25192         Mark as stub.
25193         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25194         as stub.
25195         (write): Likewise.
25196         (writeBit): Likewise.
25197         (writeChars): Likewise.
25198         (writeUTF): Likewise.
25199         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25200         as stub.
25201         (read): Likewise.
25202         * java/net/URLConnection.java (getContent): Mark as stub.
25203         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25204         * java/awt/TexturePaint.java (createContext): Mark as stub.
25205         (getTransparency): Mark as stub.
25206         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25207         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25208         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25209         stub.
25210         (getImageCapabilities): Likewise.
25211         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25212         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25213         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25214         methods as stubs.
25215         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25216         (getAdvanceBetween): Likewise.
25217         (getLayout): Likewise.
25218         (insertChar): Likewise.
25219         (getLineBreakIndex): Likewise.
25220         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25221         (getAdvance): Likewise.
25222         (getAscent): Likewise.
25223         (getDescent): Likewise.
25224         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25225         (insertChar): Likewise.
25226         (nextLayout): Likewise.
25227         (nextLayout): Likewise.
25228         (nextOffset): Likewise.
25229         (nextOffset): Likewise.
25230         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25231         (equals): Likewise.
25232         (getAdvance): Likewise.
25233         (getAscent): Likewise.
25234         (getBounds): Likewise.
25235         (getDescent): Likewise.
25236         (hashCode): Likewise.
25237         (ImageGraphicAttribute): Likewise.
25238         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25239         (getJustificationInfo): Likewise.
25240         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25241         (getGlyphCharIndices): Likewise.
25242         (getGlyphOutline): Likewise.
25243         (getGlyphPixelBounds): Likewise.
25244         (getLayoutFlags): Likewise.
25245         (getPixelBounds): Likewise.
25246         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25247         (getRSB): Likewise.
25248         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25249         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25250         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25251         Mark as stub.
25252         (resetRecognizer): Likewise.
25253         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25254         Mark as stub.
25255         (getNativesForFlavor): Likewise.
25256         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25257         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25258         as stub.
25259         (getRegion): Likewise.
25260         (createUI): Likewise.
25261         (initialize): Likewise.
25262         (uninitialize): Likewise.
25263         (getDefaults): Likewise.
25264         (load): Likewise.
25265         (shouldUpdateStyleOnAncestorChanged): Likewise.
25266         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25267         Mark as stub.
25268         (getPreferredSize): Likewise.
25269         (getMaximumSize): Likewise.
25270         (paintText): Likewise.
25271         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25272         as stub.
25273         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25274
25275 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25276
25277         * java/io/ObjectStreamConstants.java: Added since tag.
25278         (PROTOCOL_VERSION_1): Added javadoc.
25279         (PROTOCOL_VERSION_2): Likewise.
25280         * java/io/ObjectOutputStream.java: 
25281         (setDefaultProtocolVersion): Removed.
25282         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25283         
25284 2006-03-21  Lillian Angel  <langel@redhat.com>
25285
25286         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25287         (BMPInfoHeader): Removed debug lines.
25288         * gnu/javax/imageio/bmp/EncodeRLE4.java
25289         (encode): Implemented.
25290         (uncompress): New function implemented to
25291         uncompress the image before encoding.
25292         * gnu/javax/imageio/bmp/EncodeRLE8.java
25293         (encode): Implemented.
25294         (uncompress): New function implemented to
25295         uncompress the image before encoding.
25296
25297 2006-03-21  Roman Kennke  <kennke@aicas.com>
25298
25299         * javax/swing/text/html/FormView.java
25300         (getImageData): New helper method.
25301
25302 2006-03-21  Tom Tromey  <tromey@redhat.com>
25303
25304         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25305         fix.
25306         (Unsafe): Now final.
25307
25308 2006-03-21  Roman Kennke  <kennke@aicas.com>
25309
25310         * javax/swing/text/html/FormView.java
25311         (MouseEventListener): New inner class.
25312
25313 2006-03-21  Roman Kennke  <kennke@aicas.com>
25314
25315         * javax/swing/text/html/ListView.java: New file.
25316
25317 2006-03-21  Tom Tromey  <tromey@redhat.com>
25318
25319         * java/text/Bidi.java: Completed.
25320
25321 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25322
25323         * javax/swing/JTable.java:
25324         (columnAtPoint): Removed the null check, this method should throw a NPE
25325         if the argument is null.
25326
25327 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25328
25329         * javax/swing/text/DefaultHighlighter.java:
25330         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25331
25332 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25333
25334         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25335         the textcomponent having a selection.
25336         (clearSelection): Clear 'componentWithSelection' variable.
25337         (handleSelection): Clear selection of current component having a
25338         selection before setting a new selection in another component.
25339         (mouseDragged): Only react on left mouse button.
25340         (mouseClicked): Only react on left mouse button.
25341
25342 2006-03-21  Roman Kennke  <kennke@aicas.com>
25343
25344         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25345         (paintContentBorderTopEdge): Implemented.
25346         (paintContentBorderBottomEdge): Implemented.
25347         (paintContentBorderLeftEdge): Implemented.
25348         (paintContentBorderRightEdge): Implemented.
25349         (isLastTabInRun): New helper method.
25350
25351 2006-03-21  Roman Kennke  <kennke@aicas.com>
25352
25353         * javax/swing/JTabbedPane.java
25354         (Page.getForeground): Fall back to returning the tabbed pane's
25355         foreground if no foreground has been exclicitly set.
25356
25357 2006-03-21  Roman Kennke  <kennke@aicas.com>
25358
25359         * javax/swing/plaf/metal/MetalComboBoxButton.java
25360         (setEnabled): Update colors of button correctly.
25361         * javax/swing/plaf/metal/MetalComboBoxUI.java
25362         (MetalPropertyChangeListener.propertyChange): Update the colors
25363         of the list and the button when any of the color properties
25364         of the ComboBox change.
25365
25366 2006-03-21  Roman Kennke  <kennke@aicas.com>
25367
25368         * javax/swing/plaf/basic/BasicButtonUI.java
25369         (uninstallDefaults): Only nullify button colors if they are
25370         not UIResource instances.
25371
25372 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25373
25374         * javax/swing/JComponent.java
25375         (AccessibleJComponent.getAccessibleDescription): Call super,
25376         * javax/swing/JToolTip.java: API doc updates all over, plus
25377         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25378         (AccessibleJToolTip.getAccessibleRole): Implemented,
25379         (getAccessibleContext): Implemented,
25380         (paramString): Reimplemented,
25381         (setComponent): Fire PropertyChangeEvent,
25382         (setTipText): Likewise.
25383
25384 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25385
25386         * java/util/Formatter.java:
25387         Make the class final.
25388         
25389 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25390
25391         * java/lang/System.java:
25392         (nanoTime()): Documented.
25393         * java/lang/Thread.java:
25394         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25395         Added docs and security check.
25396         (getUncaughtExceptionHandler()): Documented.
25397         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25398         Added docs and security check.
25399         (getDefaultUncaughtExceptionHandler()): Documented.
25400         (getId()): Documented.
25401         (Thread.State): Documented.
25402         * vm/reference/gnu/classpath/Unsafe.java:
25403         Documented.
25404         (getUnsafe()): Updated to handle security.
25405         
25406 2006-03-20  Tom Tromey  <tromey@redhat.com>
25407
25408         * java/lang/System.java:
25409         (nanoTime()): Implemented.
25410         * java/lang/Thread.java:
25411         (getId()): Implemented.
25412         * java/util/AbstractMap.java:
25413         (SimpleImmutableEntry): New 1.6 class.
25414         (BasicMapEntry): Modified to be SimpleEntry.
25415         * java/util/Collections.java:
25416         Modified to use SimpleEntry.
25417         * java/util/EnumMap.java: Likewise.
25418         * java/util/HashMap.java: Likewise.
25419         * java/util/Hashtable.java: Likewise.
25420         * java/util/TreeMap.java: Likewise.
25421         * vm/reference/gnu/classpath/Unsafe.java:
25422         New class to handle low-level facilities for concurrency.
25423         * vm/reference/java/lang/VMSystem.java:
25424         (nanoTime()): Implemented.
25425         
25426 2006-03-20  Tom Tromey  <tromey@redhat.com>
25427
25428         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25429         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25430         (CertStoreSpi): Updated throws clause.
25431         * java/security/cert/CertPathValidatorSpi.java: Added import for
25432         javadoc.
25433         (engineValidate): Updated 'throws' clause.
25434         * java/security/cert/PKIXParameters.java: Javadoc fix.
25435         * java/security/cert/X509CertSelector.java
25436         (setAuthorityKeyIdentifier): Javadoc fix.
25437
25438 2006-03-20  Tom Tromey  <tromey@redhat.com>
25439
25440         * .classpath: Build gnu.javax.swing.plaf.
25441
25442 2006-03-20  Lillian Angel  <langel@redhat.com>
25443
25444         * gnu/javax/imageio/bmp/BMPDecoder.java:
25445         Removed unneeded import.
25446         * gnu/javax/imageio/bmp/BMPEncoder.java:
25447         New class.
25448         * gnu/javax/imageio/bmp/BMPFileHeader.java
25449         (BMPFileHeader): New constructor used to create info header
25450         for an output stream.
25451         (write): Fixed indexes.
25452         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25453         Initialized writerSpiNames field.
25454         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25455         New class.
25456         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25457         New class.
25458         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25459         Change visibility for fields.
25460         (BMPInfoHeader): New constructor used to create
25461         file header for an output stream.
25462         (intToDWord): New method. Converts an int to a
25463         double word.
25464         (intToWord): New method. Converts an int to a word.
25465         * gnu/javax/imageio/bmp/DecodeBF32.java:
25466         Removed unneeded imports.
25467         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25468         New class.
25469         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25470         New class.
25471         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25472         New class.
25473         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25474         New class.
25475         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25476         New class.
25477         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25478         New class.
25479         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25480         New class.
25481         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25482         New class.
25483         * javax/imageio/ImageIO.java:
25484         Fixed comment.
25485
25486 2006-03-20  Roman Kennke  <kennke@aicas.com>
25487
25488         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25489         (TabbedPaneLayout.normalizeTabRuns): New method.
25490         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25491         (paintTabBorder): Replaced if-else chain with switch.
25492         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25493         Ocean theme.
25494         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25495         Ocean theme.
25496         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25497         Ocean theme.
25498         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25499         Ocean theme.
25500         (paintTabBackground): Fetch background color from the TabbedPane.
25501         Fixed painting and improved by not using fillPolygon, and instead
25502         using fillRectangle. Replaced if-else chain with switch.
25503         (calculateMaxTabHeight): Added overridden method with FIXME.
25504         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25505         placement.
25506         (paintContentBorderTopEdge): Added stub with FIXME.
25507         (paintContentBorderBottomEdge): Added stub with FIXME.
25508         (paintContentBorderLeftEdge): Added stub with FIXME.
25509         (paintContentBorderRightEdge): Added stub with FIXME.
25510
25511 2006-03-20  Roman Kennke  <kennke@aicas.com>
25512
25513         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25514         (tabsOpaque): New field.
25515         (installDefaults): Fetch tabsOpaque property from UIManager.
25516         (paintTab): Fill tab background when tabsOpaque property is true.
25517         * javax/swing/plaf/basic/BasicLookAndFeel.java
25518         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25519
25520 2006-03-20  Roman Kennke  <kennke@aicas.com>
25521
25522         * javax/swing/JTabbedPane.java
25523         (Pane.getBackground): When no background was explicitly set, return
25524         the JTabbedPane's background.
25525
25526 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25527
25528         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25529         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25530         * org/omg/CORBA/BAD_INV_ORDER.java,
25531         * org/omg/CORBA/BAD_CONTEXT.java,
25532         * org/omg/CORBA/BAD_OPERATION.java,
25533         * org/omg/CORBA/BAD_PARAM.java,
25534         * org/omg/CORBA/BAD_QOS.java,
25535         * org/omg/CORBA/BAD_TYPECODE.java,
25536         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25537         * org/omg/CORBA/COMM_FAILURE.java,
25538         * org/omg/CORBA/CurrentHolder.java,
25539         * org/omg/CORBA/DATA_CONVERSION.java,
25540         * org/omg/CORBA/FREE_MEM.java,
25541         * org/omg/CORBA/IMP_LIMIT.java,
25542         * org/omg/CORBA/INITIALIZE.java,
25543         * org/omg/CORBA/INTERNAL.java,
25544         * org/omg/CORBA/INTF_REPOS.java,
25545         * org/omg/CORBA/INVALID_ACTIVITY.java,
25546         * org/omg/CORBA/INVALID_TRANSACTION.java,
25547         * org/omg/CORBA/INV_FLAG.java,
25548         * org/omg/CORBA/INV_IDENT.java,
25549         * org/omg/CORBA/INV_OBJREF.java,
25550         * org/omg/CORBA/INV_POLICY.java,
25551         * org/omg/CORBA/MARSHAL.java,
25552         * org/omg/CORBA/NO_RESOURCES.java,
25553         * org/omg/CORBA/NO_MEMORY.java,
25554         * org/omg/CORBA/NO_IMPLEMENT.java,
25555         * org/omg/CORBA/NO_PERMISSION.java,
25556         * org/omg/CORBA/NO_RESPONSE.java,
25557         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25558         * org/omg/CORBA/OBJ_ADAPTER.java,
25559         * org/omg/CORBA/ParameterModeHolder.java,
25560         * org/omg/CORBA/PolicyError.java,
25561         * org/omg/CORBA/PolicyErrorHolder.java,
25562         * org/omg/CORBA/PolicyHolder.java,
25563         * org/omg/CORBA/PolicyListHolder.java,
25564         * org/omg/CORBA/REBIND.java,
25565         * org/omg/CORBA/TIMEOUT.java,
25566         * org/omg/CORBA/TRANSACTION_MODE.java,
25567         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25568         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25569         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25570         * org/omg/CORBA/TRANSIENT.java,
25571         * org/omg/CORBA/TypeCodeHolder.java,
25572         * org/omg/CORBA/UNKNOWN.java,
25573         * org/omg/CORBA/UnionMember.java,
25574         * org/omg/CORBA/UnknownUserException.java,
25575         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25576         * org/omg/CORBA/WrongTransactionHolder.java,
25577         * org/omg/IOP/IOR.java,
25578         * org/omg/IOP/IORHolder.java,
25579         * org/omg/IOP/MultipleComponentProfileHolder.java,
25580         * org/omg/IOP/ServiceContextHolder.java,
25581         * org/omg/IOP/ServiceContextListHolder.java,
25582         * org/omg/IOP/TaggedComponentHolder.java,
25583         * org/omg/IOP/TaggedProfileHolder.java,
25584         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25585         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25586         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25587         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25588         Made class final, various javadoc fixlets.      
25589         * org/omg/CORBA/CompletionStatus.java, 
25590         * org/omg/CORBA/PERSIST_STORE.java,
25591         * org/omg/CORBA/ValueMember.java,
25592         * org/omg/PortableInterceptor/ForwardRequest.java,
25593         * org/omg/PortableInterceptor/InvalidSlot.java,
25594         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25595         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25596         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25597         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25598         * org/omg/IOP/Encoding.java,
25599         * org/omg/IOP/TaggedComponent.java,
25600         * org/omg/IOP/TaggedProfile.java: Made class final.
25601         * org/omg/CORBA/SystemException.java: Made class abstract.      
25602         * org/omg/CORBA/UserException.java: Made class abstract.
25603         (UserException): Now protected.
25604         (UserException(String)): Likewise.
25605         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25606         (typecode): Removed unused private variable.
25607
25608 2006-03-20  Chris Burdess  <dog@gnu.org>
25609
25610         Fixes PR 26761
25611         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25612
25613 2006-03-20  Roman Kennke  <kennke@aicas.com>
25614
25615         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25616         (paintTabArea): Look up tab run indices in tabRuns array instead
25617         of using the index directly.
25618
25619 2006-03-20  Roman Kennke  <kennke@aicas.com>
25620
25621         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25622         (paintTab): Fixed painting.
25623         (paintText): Fixed text painting.
25624         (paintFocusIndicator): Fixed painting of the focus rectangle.
25625         (paintContentBorder): Fixed painting of the content area.
25626
25627 2006-03-20  Mark Wielaard  <mark@klomp.org>
25628
25629         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25630         static lock Object field.
25631         (produce): Synchronize on pixbufLock when calling initState(),
25632         pumpBytes() and pumpDone().
25633         (finalize): Likewise when calling finish().
25634         (GdkPixbufWriter.write): Likewise when calling streamImage().
25635         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25636         when calling loadPixbuf. Chain exception.
25637         (GtkImage(byte[])): Likewise when calling loadImageFromData.
25638         (GtkImage(URL)): Likewise.
25639         (GtkImage(int,int)): Likewise when calling createPixmap().
25640         (GtkImage(GtkImage,int,int,int)): Likewise when calling
25641         createScaledPixmap().
25642         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25643         (setImage): Likewise when calling createPixmap() and setPixels().
25644         (getSource): Likewise when calling getPixels().
25645         (flush): Likewise when calling freePixmap().
25646         (finalize): Likewise.
25647         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25648         drawPixelsScaledFlipped().
25649         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25650         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25651         gdk_threads_enter/leave().
25652         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25653         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25654         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25655         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25656         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25657         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25658         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25659         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25660         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25661         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25662         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25663         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25664         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25665
25666 2006-03-20  Roman Kennke  <kennke@aicas.com>
25667
25668         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25669         (calculateTabHeight): Not need to use SwingUtilities here.
25670         (getTabInsets): Do not rotate insets.
25671
25672 2006-03-20  Roman Kennke  <kennke@aicas.com>
25673
25674         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25675         (paint): Make sure the layout is valid before painting.
25676         (paintTabArea): Made tab painting more straightforward and efficient.
25677
25678 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25679
25680         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25681         (getScrollableUnitIncrement): Rewritten.
25682         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25683         (getScrollableUnitIncrement): Rewritten.
25684         * javax/swing/plaf/basic/BasicScrollPaneUI.java
25685         (ROWS_PER_WHEEL_CLICK): New field. 
25686         (MouseWheelHandler.mouseWheelMoved): Rewritten.
25687
25688 2006-03-20  Roman Kennke  <kennke@aicas.com>
25689
25690         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25691         (paint): Make sure the layout is valid before painting.
25692         (paintTabArea): Made tab painting more straightforward and efficient.
25693
25694 2006-03-20  Roman Kennke  <kennke@aicas.com>
25695
25696         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25697         (MouseHandler.mousePressed): Rewritten for clearer and simpler
25698         code.
25699         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25700         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25701         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25702         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25703         bounds here. That is moved into layoutContainer().
25704         (calculateSize): Correctly respect insets. Made code slightly more
25705         clear and efficient.
25706         (calculateTabRects): Rewritten completely. The old code was
25707         not quite right and unstable in some situations.
25708         (layoutContainer): Moved layout of tabbed pane's subcomponents
25709         here.
25710         (tabRunsDirty): New field.
25711         (rolloverTab): New field.
25712         (tabForCoordinate): Rewritten for simplicity and correctness.
25713         (setRolloverTab): New method.
25714         (getRolloverTab): New method.
25715
25716 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25717
25718         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25719         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25720         (getScrollableUnitIncrement
25721         * javax/swing/Scrollable.java: Documented.
25722         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25723         (MouseWheelHandler):Rewritten.
25724
25725 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25726
25727         * doc/vmintegration.texinfo:
25728         Updated with gnu.classpath.Unsafe
25729         
25730 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25731
25732         * NEWS:
25733         Updated with VMArray and Unsafe changes.
25734         
25735 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25736
25737         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25738         (getScrollableUnitIncrement): Rewritten.
25739         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25740         (getScrollableUnitIncrement): Rewritten. 
25741         (getScrollableBlockIncrement): Rewritten.
25742         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25743         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
25744         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
25745         New field. (installListeners): Install wheel listeners. 
25746         (uninstallListeners): Uninstall wheel listeners.
25747         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25748         of the MouseWheelListener. (installListeners): Do not install wheel
25749         listener. (ROWS_PER_WHEEL_CLICK): Removed.
25750
25751 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25752
25753         * vm/reference/gnu/classpath/Unsafe.java:
25754         Documented.
25755         (getUnsafe()): Updated to handle security.
25756
25757 2006-03-19  Tom Tromey  <tromey@redhat.com>
25758
25759         * vm/reference/gnu/classpath/Unsafe.java:
25760         New class to handle low-level facilities for concurrency.
25761
25762 2006-03-19  Mark Wielaard  <mark@klomp.org>
25763
25764         * include/Makefile.am: Rename PlainDatagramSocketImpl to
25765         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25766         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25767         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25768
25769 2006-03-19  Mark Wielaard  <mark@klomp.org>
25770
25771         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25772         familyName.
25773         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25774
25775 2006-03-19  Michael Koch  <konqueror@gmx.de>
25776
25777         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25778         resource/gnu/java/locale/LocaleInformation_am.properties,
25779         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25780         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25781         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25782         resource/gnu/java/locale/LocaleInformation_bg.properties,
25783         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25784         resource/gnu/java/locale/LocaleInformation_ca.properties,
25785         resource/gnu/java/locale/LocaleInformation_cs.properties,
25786         resource/gnu/java/locale/LocaleInformation_cy.properties,
25787         resource/gnu/java/locale/LocaleInformation_da.properties,
25788         resource/gnu/java/locale/LocaleInformation_de.properties,
25789         resource/gnu/java/locale/LocaleInformation_dv.properties,
25790         resource/gnu/java/locale/LocaleInformation_el.properties,
25791         resource/gnu/java/locale/LocaleInformation_en.properties,
25792         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25793         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25794         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25795         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25796         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25797         resource/gnu/java/locale/LocaleInformation_es.properties,
25798         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25799         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25800         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25801         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25802         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25803         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25804         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25805         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25806         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25807         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25808         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25809         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25810         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25811         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25812         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25813         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25814         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25815         resource/gnu/java/locale/LocaleInformation_es_US.properties,
25816         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25817         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25818         resource/gnu/java/locale/LocaleInformation_fa.properties,
25819         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25820         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25821         resource/gnu/java/locale/LocaleInformation_fi.properties,
25822         resource/gnu/java/locale/LocaleInformation_fr.properties,
25823         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25824         resource/gnu/java/locale/LocaleInformation_ga.properties,
25825         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25826         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25827         resource/gnu/java/locale/LocaleInformation_hr.properties,
25828         resource/gnu/java/locale/LocaleInformation_hu.properties,
25829         resource/gnu/java/locale/LocaleInformation_id.properties,
25830         resource/gnu/java/locale/LocaleInformation_is.properties,
25831         resource/gnu/java/locale/LocaleInformation_it.properties,
25832         resource/gnu/java/locale/LocaleInformation_ja.properties,
25833         resource/gnu/java/locale/LocaleInformation_kk.properties,
25834         resource/gnu/java/locale/LocaleInformation_kl.properties,
25835         resource/gnu/java/locale/LocaleInformation_km.properties,
25836         resource/gnu/java/locale/LocaleInformation_ky.properties,
25837         resource/gnu/java/locale/LocaleInformation_lo.properties,
25838         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25839         resource/gnu/java/locale/LocaleInformation_lt.properties,
25840         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25841         resource/gnu/java/locale/LocaleInformation_lv.properties,
25842         resource/gnu/java/locale/LocaleInformation_mk.properties,
25843         resource/gnu/java/locale/LocaleInformation_mn.properties,
25844         resource/gnu/java/locale/LocaleInformation_mr.properties,
25845         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25846         resource/gnu/java/locale/LocaleInformation_ms.properties,
25847         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25848         resource/gnu/java/locale/LocaleInformation_mt.properties,
25849         resource/gnu/java/locale/LocaleInformation_nb.properties,
25850         resource/gnu/java/locale/LocaleInformation_nl.properties,
25851         resource/gnu/java/locale/LocaleInformation_nn.properties,
25852         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25853         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25854         resource/gnu/java/locale/LocaleInformation_pa.properties,
25855         resource/gnu/java/locale/LocaleInformation_pl.properties,
25856         resource/gnu/java/locale/LocaleInformation_pt.properties,
25857         resource/gnu/java/locale/LocaleInformation_ru.properties,
25858         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25859         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25860         resource/gnu/java/locale/LocaleInformation_sa.properties,
25861         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25862         resource/gnu/java/locale/LocaleInformation_sk.properties,
25863         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25864         resource/gnu/java/locale/LocaleInformation_sv.properties,
25865         resource/gnu/java/locale/LocaleInformation_sw.properties,
25866         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25867         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25868         resource/gnu/java/locale/LocaleInformation_te.properties,
25869         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25870         resource/gnu/java/locale/LocaleInformation_th.properties,
25871         resource/gnu/java/locale/LocaleInformation_ti.properties,
25872         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25873         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25874         resource/gnu/java/locale/LocaleInformation_tr.properties,
25875         resource/gnu/java/locale/LocaleInformation_tt.properties,
25876         resource/gnu/java/locale/LocaleInformation_uk.properties,
25877         resource/gnu/java/locale/LocaleInformation_ur.properties,
25878         resource/gnu/java/locale/LocaleInformation_uz.properties,
25879         resource/gnu/java/locale/LocaleInformation_zh.properties,
25880         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25881         More updates for CLDR 1.3.
25882         
25883 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25884
25885         * doc/vmintegration.texinfo:
25886         Updated to include VMArray.
25887         * include/Makefile.am:
25888         Replace java_lang_reflect_Array.h with
25889         java_lang_reflect_VMArray.h
25890         * include/java_lang_reflect_VMArray.h:
25891         New autogenerated header.
25892         * include/java_lang_reflect_Array.h:
25893         Removed.
25894         * java/lang/reflect/Array.java:
25895         (newInstance(Class,int)): Calls VMArray.
25896         (createMultiArray(Class,int[],int)): Likewise.
25897         (createObjectArray(Class,int)): Removed.
25898         * native/jni/java-lang/Makefile.am:
25899         Replaced java_lang_reflect_Array.c with
25900         java_lang_reflect_VMArray.c
25901         * native/jni/java-lang/java_lang_reflect_VMArray.c:
25902         Renamed from java_lang_reflect_Array.c.
25903         * vm/reference/java/lang/reflect/VMArray.java:
25904         (createObjectArray(Class,int)): Native method moved
25905         from java.lang.reflect.Array.
25906
25907 2006-03-19  Roman Kennke  <kennke@aicas.com>
25908
25909         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25910         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25911         New class.
25912         * examples/gnu/classpath/examples/swing/Demo.java
25913         (mkButtonBar): Hook up theme editor.
25914         (mkMenuBar): Hook up theme editor.
25915
25916 2006-03-19  Roman Kennke  <kennke@aicas.com>
25917
25918         * javax/swing/plaf/basic/BasicFileChooserUI.java
25919         (ApproveSelectionAction.actionPerformed): Added case for when
25920         nothing has been selected but the user has typed a filename
25921         into the textfield.
25922         (getFileName): Return the value of the text field.
25923
25924 2006-03-19  Roman Kennke  <kennke@aicas.com>
25925
25926         * javax/swing/JColorChooser.java
25927         (createDialog): Create JDialog instead of ModalDialog. Make this
25928         dialog modal by calling setModal(true).
25929         (ModalDialog): Removed unnecessary inner class.
25930
25931 2006-03-19  Tom Tromey  <tromey@redhat.com>
25932
25933         * java/awt/font/NumericShaper.java: Rewrote.
25934
25935 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25936
25937         * javax/swing/plaf/basic/BasicTableUI.java:
25938         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25939         New field. MouseInputHandler.mouseWheelMoved): New method.
25940         (installListeners): Register MouseInputHandler as
25941         wheel listener also.
25942         
25943 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25944
25945         PR 26746
25946         * javax/swing/ViewportLayout.java (layoutContainer):
25947         If Scrollable tracks dimension, set view size to the port size. 
25948         If port is larger than the view, move the view to the top/left.
25949
25950 2006-03-19  Roman Kennke  <kennke@aicas.com>
25951
25952         * javax/swing/MenuSelectionManager.java
25953         (isComponentPartOfCurrentMenu): Also consider the first element
25954         in a menu selection list. Make a isDescendentFrom check instead
25955         of simple equals to also catch sub components.
25956
25957 2006-03-19  Roman Kennke  <kennke@aicas.com>
25958
25959         * javax/swing/JComboBox.java
25960         (actionPerformed): Fetch selected item directly from the editor
25961         instead of trying to get it from the event.
25962
25963 2006-03-19  Roman Kennke  <kennke@aicas.com>
25964
25965         * javax/swing/plaf/basic/BasicComboBoxEditor.java
25966         (listener): Removed field.
25967         (BasicComboBoxEditor): Removed initialization of listener field.
25968         (addActionListener): Add listener directly to editor.
25969         (removeActionListener): Remove listener directly from editor.
25970         (ComboBoxEditorListener): Removed class.
25971         * javax/swing/plaf/basic/BasicComboBoxUI.java
25972         (getPreferredSize): Fixed to return the minimumSize.
25973         (getMinimumSize): Improved code for more clearness.
25974         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25975         (rectangleForCurrentValue): Correctly respect insets.
25976         (getDefaultSize): Return preferredSize here. Dont override height
25977         with 100.
25978         (getDisplaySize): Moved around code for more clearness. Added
25979         handling of prototype renderer.
25980         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
25981         arrowButton bounds since the former depends on the latter.
25982         * javax/swing/plaf/metal/MetalComboBoxButton.java:
25983         (MetalComboBoxButton): Make button rollover disabled.
25984         (isFocusTraversable): Return false unconditionally.
25985         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
25986         (EditorTextField): New class. Fixes the size properties.
25987         (MetalComboBoxEditor): Create instance of EditorTextField.
25988         * javax/swing/plaf/metal/MetalComboBoxUI.java:
25989         (getMinimumSize): Fixed editable size.
25990
25991 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25992
25993         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
25994
25995 2006-03-18  Roman Kennke  <kennke@aicas.com>
25996
25997         * javax/swing/plaf/metal/MetalToolBarUI.java
25998         (update): Added overridden method to support OceanTheme.
25999
26000 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26001
26002         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26003         Activate the cell editing on character keystroke.
26004
26005 2006-03-18  Mark Wielaard  <mark@klomp.org>
26006
26007         * java/awt/Component.java (eventTypeEnabled): Handle
26008         MouseEvent.MOUSE_WHEEL.
26009         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26010         New callback method.
26011         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26012         (AWT_MOUSE_WHEEL): New constant.
26013         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26014         (postMouseWheelEventID): New static variable.
26015         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26016         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26017         (button_number): Renamed to ...
26018         (button_number_direction): variable to hold button number or scroll
26019         direction.
26020         (component_button_press_cb): Use button_number_direction.
26021         (component_scroll_cb): New static callback function.
26022
26023 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26024
26025         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26026         Return without action.
26027
26028 2006-03-18  Mark Wielaard  <mark@klomp.org>
26029
26030         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26031         Don't cast graphics object to GdkGraphics.
26032         (updateComponent): Likewise.
26033
26034 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26035
26036         * examples/gnu/classpath/examples/swing/TableDemo.java
26037         (TModel.getColumnClass): Set second column to Icon.
26038         (TModel.isCellEditable): Say icons are not editable.
26039         (createContent): Fill the in second column with some icons from 
26040         MetalIconFactory.
26041
26042 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26043
26044         * examples/gnu/classpath/examples/swing/Demo.java
26045         (mkButtonBar): Set maximal button bar height to the preferred height.
26046
26047 2006-03-18  Roman Kennke  <kennke@aicas.com>
26048
26049         * javax/swing/plaf/basic/BasicComboPopup.java
26050         (show): Substract insets from scroller width.
26051         (getPopupHeightForRowCount): If height==0, return a default of 100
26052         instead for empty ComboBoxes.
26053
26054 2006-03-18  Roman Kennke  <kennke@aicas.com>
26055
26056         * javax/swing/plaf/basic/BasicLookAndFeel.java
26057         (PopupHelper.autoClosePopups): Removed field.
26058         (PopupHelper.mousePressed): Removed processing of registered
26059         autoclose popups.
26060         (registerForAutoClose): Removed unneeded method.
26061         (autoClosePopups): Removed unneeded method.
26062         (registerForAutoClose): Removed unneeded method.
26063
26064 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26065
26066         * javax.swing.JTable.java (TableTextField): Set border.
26067         (moveToCellBeingEdited): Do not adjust the editor boundaries
26068
26069 2006-03-18  Michael Koch  <konqueror@gmx.de>
26070
26071         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26072         resource/gnu/java/locale/LocaleInformation_af.properties,
26073         resource/gnu/java/locale/LocaleInformation_am.properties,
26074         resource/gnu/java/locale/LocaleInformation_ar.properties,
26075         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26076         resource/gnu/java/locale/LocaleInformation_be.properties,
26077         resource/gnu/java/locale/LocaleInformation_bg.properties,
26078         resource/gnu/java/locale/LocaleInformation_bn.properties,
26079         resource/gnu/java/locale/LocaleInformation_ca.properties,
26080         resource/gnu/java/locale/LocaleInformation_cs.properties,
26081         resource/gnu/java/locale/LocaleInformation_cy.properties,
26082         resource/gnu/java/locale/LocaleInformation_da.properties,
26083         resource/gnu/java/locale/LocaleInformation_de.properties,
26084         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26085         resource/gnu/java/locale/LocaleInformation_dz.properties,
26086         resource/gnu/java/locale/LocaleInformation_en.properties,
26087         resource/gnu/java/locale/LocaleInformation_eo.properties,
26088         resource/gnu/java/locale/LocaleInformation_es.properties,
26089         resource/gnu/java/locale/LocaleInformation_et.properties,
26090         resource/gnu/java/locale/LocaleInformation_eu.properties,
26091         resource/gnu/java/locale/LocaleInformation_fa.properties,
26092         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26093         resource/gnu/java/locale/LocaleInformation_fi.properties,
26094         resource/gnu/java/locale/LocaleInformation_fo.properties,
26095         resource/gnu/java/locale/LocaleInformation_fr.properties,
26096         resource/gnu/java/locale/LocaleInformation_ga.properties,
26097         resource/gnu/java/locale/LocaleInformation_gl.properties,
26098         resource/gnu/java/locale/LocaleInformation_gu.properties,
26099         resource/gnu/java/locale/LocaleInformation_he.properties,
26100         resource/gnu/java/locale/LocaleInformation_hi.properties,
26101         resource/gnu/java/locale/LocaleInformation_hr.properties,
26102         resource/gnu/java/locale/LocaleInformation_hu.properties,
26103         resource/gnu/java/locale/LocaleInformation_hy.properties,
26104         resource/gnu/java/locale/LocaleInformation_id.properties,
26105         resource/gnu/java/locale/LocaleInformation_is.properties,
26106         resource/gnu/java/locale/LocaleInformation_it.properties,
26107         resource/gnu/java/locale/LocaleInformation_ja.properties,
26108         resource/gnu/java/locale/LocaleInformation_ka.properties,
26109         resource/gnu/java/locale/LocaleInformation_km.properties,
26110         resource/gnu/java/locale/LocaleInformation_ko.properties,
26111         resource/gnu/java/locale/LocaleInformation_lo.properties,
26112         resource/gnu/java/locale/LocaleInformation_lt.properties,
26113         resource/gnu/java/locale/LocaleInformation_lv.properties,
26114         resource/gnu/java/locale/LocaleInformation_mk.properties,
26115         resource/gnu/java/locale/LocaleInformation_mr.properties,
26116         resource/gnu/java/locale/LocaleInformation_ms.properties,
26117         resource/gnu/java/locale/LocaleInformation_mt.properties,
26118         resource/gnu/java/locale/LocaleInformation_nb.properties,
26119         resource/gnu/java/locale/LocaleInformation_nl.properties,
26120         resource/gnu/java/locale/LocaleInformation_nn.properties,
26121         resource/gnu/java/locale/LocaleInformation_om.properties,
26122         resource/gnu/java/locale/LocaleInformation_pl.properties,
26123         resource/gnu/java/locale/LocaleInformation_ps.properties,
26124         resource/gnu/java/locale/LocaleInformation_pt.properties,
26125         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26126         resource/gnu/java/locale/LocaleInformation_ro.properties,
26127         resource/gnu/java/locale/LocaleInformation_ru.properties,
26128         resource/gnu/java/locale/LocaleInformation_sk.properties,
26129         resource/gnu/java/locale/LocaleInformation_sl.properties,
26130         resource/gnu/java/locale/LocaleInformation_so.properties,
26131         resource/gnu/java/locale/LocaleInformation_sq.properties,
26132         resource/gnu/java/locale/LocaleInformation_sr.properties,
26133         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26134         resource/gnu/java/locale/LocaleInformation_sv.properties,
26135         resource/gnu/java/locale/LocaleInformation_sw.properties,
26136         resource/gnu/java/locale/LocaleInformation_ta.properties,
26137         resource/gnu/java/locale/LocaleInformation_te.properties,
26138         resource/gnu/java/locale/LocaleInformation_th.properties,
26139         resource/gnu/java/locale/LocaleInformation_tr.properties,
26140         resource/gnu/java/locale/LocaleInformation_uk.properties,
26141         resource/gnu/java/locale/LocaleInformation_uz.properties,
26142         resource/gnu/java/locale/LocaleInformation_vi.properties,
26143         resource/gnu/java/locale/LocaleInformation_zh.properties,
26144         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26145         Updated to use the new localized strings for currencies, languages,
26146         variants, territories, etc.
26147
26148 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26149
26150         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26151         (start, end): Added comment about the negative values of them,
26152         (finish): Saves the input text in matchedCharIndexed,
26153         (toString): If the start or end index is out of bounds of the
26154         matched text, get the substring from matchedCharIndexed.
26155         Added special handlings in case start/end index < -1,
26156         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26157         Added special handlings in case start/end index < -1,
26158         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26159         found match, but keep the index as the original match.
26160         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26161         found match, but keep the index as the original match.
26162         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26163         in case start/end index < -1.
26164         
26165 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26166
26167         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26168         Set to false.   
26169
26170 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26171          
26172         * javax/swing/text/DefaultCaret.java:
26173         (mouseClicked) Use setDot() and moveDot() instead of
26174         JTextComponent.select().
26175
26176 2006-03-17  Roman Kennke  <kennke@aicas.com>
26177
26178         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26179         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26180         border painting for the Ocean theme.
26181         (MetalComboBoxEditor): Create editor directly instead of going
26182         to super.
26183         
26184 2006-03-17  Roman Kennke  <kennke@aicas.com>
26185
26186         * javax/swing/text/JTextComponent.java
26187         (JTextComponent): Make text components opaque.
26188
26189 2006-03-17  Roman Kennke  <kennke@aicas.com>
26190
26191         * javax/swing/plaf/metal/MetalComboBoxUI.java
26192         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26193         layoutComboBox().
26194         (MetalPropertyChangeListener.propertyChange): Update focusable
26195         flag according to the enable and editable state.
26196         (editablePropertyChanged): Removed unnecessary code.
26197         (getMinimumSize): Rewritten to correctly compute the
26198         size, respecting the insets of the components and the icon,
26199         the visual properties of the combobox, etc.
26200         (configureEditor): Update listeners correctly.
26201         (unconfigureEditor): Update listeners correctly.
26202         (layoutComboBox): Implemented.
26203
26204 2006-03-17  Roman Kennke  <kennke@aicas.com>
26205
26206         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26207         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26208         instead of Flush3DBorder.
26209         (paintBorder): Fixed border painting.
26210         (editorBorderInsets): Fixed border's insets.
26211
26212 2006-03-17  Roman Kennke  <kennke@aicas.com>
26213
26214         * javax/swing/plaf/metal/MetalComboBoxButton.java
26215         (rendererPane): Documented.
26216         (MetalComboBoxButton): Set enabled flag from ComboBox.
26217         Set focusable flag from ComboBox's enabled flag.
26218         (isFocusTraversable): Make button focus traversable if
26219         ComboBox is not editable but enable.
26220         (paintComponent): Fixed painting to correctly adjust
26221         the boxes of the renderer and button.
26222
26223 2006-03-17  Roman Kennke  <kennke@aicas.com>
26224
26225         * javax/swing/plaf/basic/BasicButtonUI.java
26226         (installDefaults): Only install UI margin if installed margin.
26227         is null or a UIResource.         
26228         (uninstallDefaults): Only uninstall margin if it's       
26229         a UIResource.    
26230          
26231  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26232          
26233          * javax/swing/text/DefaultCaret.java:   
26234          (mouseClicked) Use setDot() and moveDot() instead of    
26235          JTextComponent.select().        
26236  
26237 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26238
26239         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26240         inner classes into package-private inner classes, added actions
26241         for caret movement and selection to the next and previous word
26242         and an action which selects the whole text.
26243
26244 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26245
26246         * javax/swing/Spring.java: Uncomment springdebug methods and
26247         rename them toString.
26248         * javax/swing/SpringLayout.java: Likewise.
26249
26250 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26251
26252         * javax/swing/text/FieldView.java:
26253         (viewToModel): Added call to adjust allocation area.
26254
26255 2006-03-17  Roman Kennke  <kennke@aicas.com>
26256
26257         * javax/swing/plaf/basic/BasicComboBoxUI.java
26258         (mouseListener): Removed field.
26259         (buttonBackground): Removed field.
26260         (buttonShadow): Removed field.
26261         (buttonDarkShadow): Removed field.
26262         (buttonHighlight): Removed field.
26263         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26264         (installUI): Initialize and configure renderer and editor here.
26265         (uninstallUI): Close popup before uninitializing.
26266         Message popup that we are uninitializing. Clear layout.
26267         (installDefaults): Install UI border. Don't install colors.
26268         (installListeners): Install listeners fetched from the popup.
26269         Remove handling of mouseListener.
26270         (uninstallDefaults): Uninstall border. Don't handle colors.
26271         (uninstallListeners): Don't handle mouseListener. Uninstall
26272         listener from the popup.
26273         (createMouseListener): Removed method.
26274         (createRenderer): Create UIResource.
26275         (installComponents): Cleaned up.
26276         (uninstallComponents): Only remove renderer when it is
26277         a UIResource.
26278         (addEditor): Remove editor before adding new one.
26279         Fetch editor from comboBox.
26280         (removeEditor): Only do something when editor != null. Unconfigure
26281         editor before removing.
26282         (configureEditor): Add key listener. Call comboBox.configureEditor.
26283         (unconfigureEditor): Removed key listener.
26284         (configureArrowButton): Only handle when arrowButton != null.
26285         Add mouse listeners to arrow button.
26286         (unconfigureArrowButton): Remove listeners.
26287         (createArrowButton): Don't handle colors here.
26288         (setPopupVisible): Don't handle focus here.
26289         (paint): Only paint when comboBox is not editable. Update
26290         hasFocus flag.
26291         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26292         (getMinimumSize): Respect insets here.
26293         (getMaximumSize): Return preferredSize with width of 32767.
26294         (getInsets): Return ComboBox insets.
26295         (paintCurrentValue): Paint using currentValuePane.
26296         Install correct colors. Don't revalidate.
26297         (paintCurrentValueBackground): Implemented.
26298         (getDefaultSize): Reimplemented using a default renderer.
26299         (getDisplaySize): Reimplemented to use renderer.
26300         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26301         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26302         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26303         (FocusHandler.focusGained): Don't invalidate minimumSize.
26304         (FocusHandler.focusLost): Don't invalidate minimumSize.
26305         Only close popup if focus change is not temporary.
26306         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26307         Reconfigure editor if not null.
26308         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26309         editor if necessary.
26310         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26311         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26312         (MouseHandler): Removed unnecessary class.
26313
26314 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26315
26316         * examples/gnu/classpath/examples/swing/Demo.java:
26317         (Demo): Set default closing operation to shutdown the runtime.
26318
26319 2006-03-17  Roman Kennke  <kennke@aicas.com>
26320
26321         * javax/swing/plaf/basic/BasicComboPopup.java
26322         (BasicComboPopup): Create listeners here.
26323         Configure components here.
26324         (show): Correctly calculate bounds using computePopupBounds().
26325         Make scroller fixed-size. Removed special autocloser handling.
26326         (hide): Rewritten to use MenuSelectionHandler.
26327         (createList): Don't set selection mode here.
26328         (configureList): Correctly install colors and fonts and selectionMode.
26329         (createScroller): Set scrollpane policies.
26330         (configureScroller): Make scroller and scrollbar not-focusable.
26331         (configurePopup): Make popup opaque and borderPainted.
26332         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26333         (delegateFocus): Implemented.
26334         (convertMouseEvent): Implemented.
26335         (updateListBoxSelectionForEvent): Implemented to also handle
26336         autoscrolling.
26337         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26338         Only open popup on left mouse-click.
26339         (InvocationMouseHandler.mouseReleased): Rewritten.
26340         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26341         support autoscrolling.
26342         (ItemHandler.itemStateChanged): Implemented to sync selection with
26343         the comboBox.
26344         (ListMouseHandler.mouseReleased): Fetch selected index directly
26345         from list.
26346         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26347         the list box.
26348         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26349         When model changes, then update listeners correctly.
26350         (uninstallListeners): Don't uninstall list listeners.
26351         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26352         from comboBox.
26353         (syncSelection): New helper method.
26354
26355 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26356
26357         * javax/swing/text/PlainView.java:
26358         (drawLine): Rewritten.
26359         (drawSelectedText): Corrected last argument for
26360         Utilities.drawTabbedText() call.
26361         (paint): Store start and end of selection in object variables,
26362         store constant values of for-loop in local variables.
26363         * javax/swing/text/Utilities.java:
26364         (drawTabbedText): Add 'pixelWidth' to the return value, store
26365         constant value of for-loop in local variable.
26366
26367 2006-03-17  Roman Kennke  <kennke@aicas.com>
26368
26369         * javax/swing/plaf/basic/BasicComboPopup.java
26370         (BasicComboPopup): Create listeners here.
26371         Configure components here.
26372         (show): Correctly calculate bounds using computePopupBounds().
26373         Make scroller fixed-size. Removed special autocloser handling.
26374         (hide): Rewritten to use MenuSelectionHandler.
26375         (createList): Don't set selection mode here.
26376         (configureList): Correctly install colors and fonts and selectionMode.
26377         (createScroller): Set scrollpane policies.
26378         (configureScroller): Make scroller and scrollbar not-focusable.
26379         (configurePopup): Make popup opaque and borderPainted.
26380         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26381         (delegateFocus): Implemented.
26382         (convertMouseEvent): Implemented.
26383         (updateListBoxSelectionForEvent): Implemented to also handle
26384         autoscrolling.
26385         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26386         Only open popup on left mouse-click.
26387         (InvocationMouseHandler.mouseReleased): Rewritten.
26388         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26389         support autoscrolling.
26390         (ItemHandler.itemStateChanged): Implemented to sync selection with
26391         the comboBox.
26392         (ListMouseHandler.mouseReleased): Fetch selected index directly
26393         from list.
26394         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26395         the list box.
26396         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26397         When model changes, then update listeners correctly.
26398         (uninstallListeners): Don't uninstall list listeners.
26399         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26400         from comboBox.
26401         (syncSelection): New helper method.
26402
26403 2006-03-17  Roman Kennke  <kennke@aicas.com>
26404
26405         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26406         (noFocusBorder): Make border with insets of (1,1,1,1).
26407         (BasicComboBoxRenderer): Make renderer opaque.
26408         No need to explicitly set alignment.
26409         (getListCellRendererComponent): Rewritten to correctly initialize
26410         color and font.
26411
26412 2006-03-17  Roman Kennke  <kennke@aicas.com>
26413
26414         * javax/swing/JPopupMenu.java
26415         (setVisible): Handle JPopupMenu opening and closing via
26416         the MenuSelectionHandler.
26417
26418 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26419
26420         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26421         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26422         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26423         Likewise.       
26424         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26425         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26426         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26427         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26428         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26429         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26430         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26431         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26432         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26433         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26434
26435 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26436
26437         * java/rmi/activation/Activatable.java: Implemented.
26438         java/rmi/activation/ActivationDesc.java: Implemented.
26439         java/rmi/activation/ActivationGroup.java: Implemented.
26440         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26441         java/rmi/activation/ActivationID.java: Implemented.
26442         java/rmi/activation/ActivationSystem.java: Implemented.
26443         * gnu/java/rmi/server/UnicastServerRef.java 
26444         (exportObject, incommingMessageCall): Documented.
26445         * java/rmi/activation/package.html: Documented.
26446         * java/rmi/server/ObjID.java (objNum, space): Made package
26447         protected.
26448         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26449         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26450         Iteration bug fix.
26451         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26452         gnu/java/rmi/activation/BidiTable.java: New file.
26453         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26454         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26455         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26456
26457 2006-03-17  Mark Wielaard  <mark@klomp.org>
26458
26459         * java/security/BasicPermission.java (BasicPermission): Check
26460         name equals empty string to force NullPointerException.
26461
26462 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26463
26464         PR classpath/26606
26465         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26466         * javax/swing/Spring.java: Complete implementation
26467         * javax/swing/SpringLayout.java: Likewise.
26468
26469 2006-03-16  Keith Seitz  <keiths@redhat.com>
26470
26471         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26472         all references.
26473         (run): Remove catch clause for InterruptedException. It is no
26474         longer necessary.
26475
26476 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26477
26478         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26479         (getFontMetrics): Handle monospaced fonts specially.
26480
26481 2006-03-16  Keith Seitz  <keiths@redhat.com>
26482
26483         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26484         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26485         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26486         Don't suspend the current thread unless it is not part of the JDWP
26487         thread group.
26488
26489 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26490
26491         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26492         return 0.
26493         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26494         font metrics through toolkit.
26495         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26496         Likewise.
26497         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26498         (getFontMetrics): To calculate Java logical ascent and descent
26499         values, average Pango ink and logical values.
26500
26501 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26502
26503         * java/lang/Character.java: Updated header comment.
26504
26505 2006-03-16  Tom Tromey  <tromey@redhat.com>
26506
26507         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26508         constructor.
26509         * javax/sound/sampled/FloatControl.java: Now abstract.
26510         * javax/sound/sampled/EnumControl.java: Now abstract.
26511         * javax/sound/sampled/CompoundControl.java: Now abstract.
26512         * javax/sound/sampled/BooleanControl.java: Now abstract.
26513
26514 2006-03-16  Tom Tromey  <tromey@redhat.com>
26515
26516         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26517
26518 2006-03-16  Roman Kennke  <kennke@aicas.com>
26519
26520         * java/util/zip/ZipFile.java
26521         (openFile): New helper method.
26522         (ZipFile): Use new openFile method to ensure the proper
26523         exception is thrown. This applies for all overloaded constructors.
26524
26525 2006-03-16  Roman Kennke  <kennke@aicas.com>
26526
26527         * java/text/DateFormatSymbols.java
26528         (setAmPmStrings): Added null check and throw NPE.
26529         (setEras): Likewise.
26530         (setLocalPatternChars): Likewise.
26531         (setMonths): Likewise.
26532         (setShortMonths): Likewise.
26533         (setShortWeekdays): Likewise.
26534         (setWeekdays): Likewise.
26535         (setZoneStrings): Likewise.
26536
26537 2006-03-16  Roman Kennke  <kennke@aicas.com>
26538
26539         * javax/swing/DefaultDesktopManager.java
26540         (iconifyFrame): Repaint after removing the frame.
26541         (removeIconFor): Repaint after removing the icon.
26542
26543 2006-03-16  Roman Kennke  <kennke@aicas.com>
26544
26545         * javax/swing/JInternalFrame.java
26546         (remove): Respect the rootPaneCheckingEnabled flag here.
26547
26548 2006-03-16  Roman Kennke  <kennke@aicas.com>
26549
26550         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26551         Moved from examples into gnu.javax.swing.. namespace.
26552         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26553         Moved to gnu.javax.swing.. namespace.
26554         * examples/gnu/classpath/examples/swing/Demo.java:
26555         (themesMenu): New field. Used to disable theme switch in
26556         non-Metal-L&Fs.
26557         (mkMenuBar): Added L&F menu.
26558         (ChangeThemeAction.actionPerformed): Only switch theme when
26559         in Metal L&F.
26560         (ChangeLAFAction): New class used for changing themes.
26561         * javax/swing/UIManager.java
26562         (installed): Added GNU L&F as installed L&F.
26563
26564 2006-03-16  Mark Wielaard  <mark@klomp.org>
26565
26566         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26567         * examples/gnu/classpath/examples/icons/badge.png: Added.
26568         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26569         from icon directory.
26570
26571 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26572
26573         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26574         example.
26575         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26576         * examples/gnu/classpath/examples/awt/Demo.java: Add
26577         AnimationApplet demo.
26578         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26579         demo.
26580
26581 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26582
26583         PR classpath/26486
26584         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26585         method.
26586         (handleEvent): Likewise.
26587         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26588         Remove field.
26589         (beginNativeRepaint): Remove method.
26590         (endNativeRepaint): Likewise.
26591         (handleEvent): Call paintComponent and updateComponent.
26592         (paintComponent): New method.
26593         (updateComponent): Likewise.
26594         (repaint): Return early if width or height is less than one.
26595         (postExposeEvent): Remove isInRepaint reference.
26596         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26597         Remove method.
26598         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26599         from GtkWindowPeer.
26600         (postMouseEvent): Likewise.
26601         (postExposeEvent): Likewise.
26602         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26603         Override to do nothing.
26604         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26605         from GtkWindowPeer.
26606         (postMouseEvent): Likewise.
26607         (postExposeEvent): Likewise.
26608         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26609         paint and update handling from GtkComponentPeer.
26610         (updateComponent): Override to call paintComponent.
26611         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26612         gdk_flush calls with schedule_flush calls.
26613         (flush): New function.
26614         (schedule_flush): Likewise.
26615
26616 2006-03-15  Tom Tromey  <tromey@redhat.com>
26617
26618         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26619         constructor.
26620         (BCSIterator): Likewise.
26621         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26622         New constructor.
26623         (BCSSProxyServiceProvider): Likewise.
26624         (BCSSServiceProvider): Likewise.
26625
26626 2006-03-15  Tom Tromey  <tromey@redhat.com>
26627
26628         * javax/sound/midi/Track.java (Track): New constructor.
26629         (events): Now package-private.
26630         * javax/sound/midi/MidiUnavailableException.java
26631         (MidiUnavailableException): Removed invalid constructors.
26632         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26633         * javax/sound/midi/InvalidMidiDataException.java
26634         (InvalidMidiDataException): Removed invalid constructors.
26635         * javax/sound/midi/Sequencer.java (hashCode): Now final.
26636         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26637         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26638         (SYSTEM_EXCLUSIVE): Removed.
26639         (getDataLength): Updated.
26640         * javax/sound/midi/MidiDevice.java (Info): Now protected.
26641         (equals): Now final
26642         (getName): Now final.
26643         (getVendor): Now final.
26644         (getDescription): Likewise.
26645         (hashCode): Likewise.
26646         (getVersion): Likewise.
26647         (toString): Likewise.
26648         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26649         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26650         (getEarlyReflectionDelay): Likewise.
26651         (getEarlyReflectionIntensity): Likewise.
26652         (getLateReflectionDelay): Likewise.
26653         (getLateReflectionIntensity): Likewise.
26654         (toString): Likewise.
26655         * javax/sound/sampled/Port.java (toString): Now final.
26656         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26657         (getLine): Likewise.
26658         (getType): Likewise.
26659         * javax/sound/sampled/Mixer.java (Info): Now protected.
26660         (getDescription): Now final.
26661         (getName): Likewise.
26662         (getVendor): Likewise.
26663         (getVersion): Likewise.
26664         (toString): Likewise.
26665         * javax/sound/sampled/Control.java: Now abstract.
26666         (Type.toString): Now final.
26667
26668 2006-03-15  Keith Seitz  <keiths@redhat.com>
26669
26670         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26671         of this redundant variable.
26672         (LineTable): Assert that the number of line numbers and the number of
26673         code indicies is the same.
26674
26675 2006-03-15  Tom Tromey  <tromey@redhat.com>
26676
26677         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26678         final.
26679         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26680         fix.
26681         * java/util/zip/ZipFile.java (ENDNRD): New constant.
26682         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26683         * java/util/zip/Inflater.java (end): Not deprecated.
26684         * java/util/zip/Deflater.java (end): Not deprecated.
26685         * java/text/Bidi.java (Bidi): Now final.
26686         * java/nio/MappedByteBuffer.java (finalize): Now protected.
26687
26688 2006-03-15  Keith Seitz  <keiths@redhat.com>
26689
26690         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26691         (Location): Index is a long, not an int.
26692         (getMethod): New method.
26693         (getIndex): New method.
26694         (toString): New method.
26695
26696 2006-03-15  Tom Tromey  <tromey@redhat.com>
26697
26698         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26699         * java/awt/image/LookupOp.java (filter): Now final.
26700         (getBounds2D): Likewise.
26701         (getPoint2D): Likewise.
26702         (getTable): Likewise.
26703         (getRenderingHints): Likewise.
26704         * java/awt/image/ConvolveOp.java (filter): Now final.
26705         (getBounds2D): Likewise.
26706         (getKernel): Likewise.
26707         (getPoint2D): Likewise.
26708         (getRenderingHints): Likewise.
26709         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26710         (getMatrix): Likewise.
26711         (getBounds2D): Likewise.
26712         (getRenderingHints): Likewise.
26713         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26714         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26715         private.
26716         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26717         protected.
26718         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26719         protected.
26720         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26721
26722 2006-03-15  Keith Seitz  <keiths@redhat.com>
26723
26724         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26725         Update javadoc.
26726         (matches): Implement.
26727
26728 2006-03-15  Keith Seitz  <keiths@redhat.com>
26729
26730         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26731         
26732         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26733
26734 2006-03-15  Tom Tromey  <tromey@redhat.com>
26735
26736         * java/lang/StrictMath.java (signum): New methods.
26737
26738 2006-03-15  Tom Tromey  <tromey@redhat.com>
26739
26740         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26741
26742 2006-03-15  Lillian Angel  <langel@redhat.com>
26743
26744         PR classpath/24211
26745         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26746         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26747         Added check to avoid segmentation fault.
26748
26749 2006-03-15  Lillian Angel  <langel@redhat.com>
26750
26751         * java/awt/Container.java
26752         (getComponentAt): Fixed documentation.
26753         (getComponentAt): Likewise.
26754
26755 2006-03-15  Roman Kennke  <kennke@aicas.com>
26756
26757         * javax/swing/JComponent.java
26758         (dragBuffer): New field.
26759         (dragBufferInitialized): New field.
26760         (paint): Added facility for buffered dragging of components.
26761         (initializeDragBuffer): New method.
26762         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26763         API docs.
26764         * javax/swing/plaf/basic/BasicInternalFrameUI.java
26765         (BorderListener.mouseDragged): Turn on buffered dragging.
26766         (BorderListener.mouseReleased): Turn off buffered dragging.
26767
26768 2006-03-15  Lillian Angel  <langel@redhat.com>
26769
26770         * java/awt/Container.java
26771         (getComponentAt): Fixed documentation.
26772         (getComponentAt): Likewise.
26773         (findComponentAt): Likewise.
26774         (findComponentAt): Likewise.
26775
26776 2006-03-15  Roman Kennke  <kennke@aicas.com>
26777
26778         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26779         (PropertyChangeHandler.propertyChange): Call enableActions().
26780         Fixed 'iconable' property name.
26781
26782 2006-03-15  Chris Burdess  <dog@gnu.org>
26783
26784         Fixes PR 26700
26785         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26786
26787 2006-03-15  Roman Kennke  <kennke@aicas.com>
26788
26789         * examples/gnu/classpath/examples/swing/Demo.java:
26790         (desktop): New field.
26791         (mkMenuBar): Added new subdemos.
26792         (mkButtonWorld): Removed.
26793         (CheckCellRenderer): Moved to ListDemo.
26794         (LabelCellRenderer): Moved to ListDemo.
26795         (mkTreeWorld): Moved to TreeDemo.
26796         (mkDesktopWorld): Removed.
26797         (mkTabWorld): Moved to TabbedPaneDemo.
26798         (mkTabbedPane): Removed.
26799         (Demo): Replaced 'worlds' tabbed pane with desktop.
26800         (PopupAction): Made class non-static.
26801         (PopupAction.actionPerformed): Bring up subdemos in internal
26802         frame.
26803         (mkButtonBar): Added new demos.
26804         (createDesktop): New method.
26805         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26806         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26807         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26808         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26809         * examples/gnu/classpath/examples/swing/badge.png: New image file.
26810
26811 2006-03-15  Lillian Angel  <langel@redhat.com>
26812         
26813         * java/awt/Container.java
26814         (getComponentAt): Fixed mistake in comments.
26815         (getComponentAt): Likewise.
26816         (locate): Likewise. Also, handled lightweight components.
26817         Heavyweights take precedence over lightweights, so we should
26818         iterate through the heavyweights first.
26819
26820 2006-03-15  Lillian Angel  <langel@redhat.com>
26821
26822         * java/awt/Container.java
26823         (getComponentAt): Added API documentation.
26824         (getComponentAt): Likewise.
26825         (locate): Likewise. Also, removed lines to ignore
26826         invisible components.
26827         (findComponentAt): Added API documentation.
26828         (findComponentAt): Added API documentation.
26829         (findComponentForMouseEvent): Removed, never used.
26830
26831 2006-03-15  Roman Kennke  <kennke@aicas.com>
26832
26833         * javax/swing/Popup.java
26834         (LightweightPopup.show): Repaint the panel after showing it.
26835
26836 2006-03-15  Lillian Angel  <langel@redhat.com>
26837
26838         * java/awt/Component.java
26839         (show): repaint should only be called if the component
26840         isShowing and isLightweight.
26841
26842 2006-03-15  Roman Kennke  <kennke@aicas.com>
26843
26844         * javax/swing/JInternalFrame.java
26845         (setClosable): Made this property bound.
26846         (setResizable): Made this property bound.
26847         (setIconifiable): Made this property bound.
26848         (setMaximizable): Made this property bound.
26849
26850 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26851
26852         * javax/swing/table/TableColumn.java
26853         (sizeWidthToFit): Implemented.
26854
26855 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26856
26857         * javax/swing/table/TableColumn.java: API docs updated all over, plus
26858         (setIdentifier): Fire required PropertyChangeEvent,
26859         (setCellEditor): Likewise.
26860
26861 2006-03-15  Roman Kennke  <kennke@aicas.com>
26862
26863         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26864         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26865         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26866         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26867         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26868         * examples/gnu/classpath/examples/swing/SliderDemo.java,
26869         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26870         * examples/gnu/classpath/examples/swing/TableDemo.java,
26871         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26872         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26873         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26874         * examples/gnu/classpath/examples/swing/Demo.java:
26875         Cleaned up. Reworked handling of Sub-demos to load lazily.
26876         * examples/gnu/classpath/examples/swing/DemoFactory.java:
26877         New interface. Used for loading the subdemos lazily.
26878
26879 2006-03-15  Roman Kennke  <kennke@aicas.com>
26880
26881         * javax/swing/plaf/basic/BasicToolBarUI.java
26882         (PropertyListener.propertyChange): Added null check to avoid NPE.
26883
26884 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26885
26886         * javax/swing/table/TableColumn.java
26887         (COLUMN_WIDTH_PROPERTY): Updated API docs,
26888         (width): Likewise.
26889         (minWidth): Likewise,
26890         (preferredWidth): Likewise,
26891         (maxWidth): Likewise,
26892         (headerRenderer): Likewise,
26893         (cellRenderer): Likewise,
26894         (cellEditor): Likewise,
26895         (changeSupport): Likewise,
26896         (firePropertyChange(String, Object, Object)): Removed,
26897         (firePropertyChange(String, int. int)): Likewise,
26898         (firePropertyChange(String, boolean, boolean)): Likewise,
26899         (setModelIndex): Fire property change,
26900         (setHeaderValue): Call changeSupport directly to generate event,
26901         (setHeaderRenderer): Likewise,
26902         (setCellRenderer): Likewise,
26903         (setWidth): Likewise,
26904         (setPreferredWidth): Likewise,
26905         (setMinWidth): Likewise,
26906         (setMaxWidth): Likewise,
26907         (createDefaultHeaderRenderer): Added API docs.
26908
26909 2006-03-14  Roman Kennke  <kennke@aicas.com>
26910
26911         * examples/gnu/classpath/examples/swing/Demo.java
26912         Removed static initializer.
26913         (mkMenuBar): Made method non-static. Added themes menu.
26914         (ChangeThemeAction): New inner class, used to change themes.
26915
26916 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26917
26918         * javax/swing/table/TableColumn.java
26919         (setMaxWidth): Updated width and preferredWidth if necessary,
26920         (getMaxWidth): Updated API docs.
26921
26922 2006-03-14  Roman Kennke  <kennke@aicas.com>
26923
26924         * javax/swing/plaf/basic/BasicSliderUI.java
26925         (TrackListener.mouseDragged): Only process event when slider is
26926         enabled.
26927         (TrackListener.mouseReleased): Only process event when slider is
26928         enabled.
26929         (TrackListener.mousePressed): Only process event when slider is
26930         enabled.
26931
26932 2006-03-14  Roman Kennke  <kennke@aicas.com>
26933
26934         * NEWS: Added note about OceanTheme support.
26935
26936 2006-03-14  Roman Kennke  <kennke@aicas.com>
26937
26938         * javax/swing/plaf/metal/MetalIconFactory.java
26939         (HorizontalSliderThumbIcon.gradientMask): New field
26940         (HorizontalSliderThumbIcon.paintIcon): Added support for the
26941         OceanTheme.
26942         (VerticalSliderThumbIcon.gradientMask): New field
26943         (VerticalSliderThumbIcon.paintIcon): Added support for the
26944         OceanTheme.
26945         * javax/swing/plaf/metal/MetalUtils.java
26946         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26947         (paintVerticalGradient): Fixed painting of 'masked' gradients.
26948
26949 2006-03-14  Mark Wielaard  <mark@klomp.org>
26950
26951         Fixes bug #26641
26952         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26953         of handleMouseEvent.
26954         (handleMouseEvent): Return boolean to indicate whether we handled the
26955         event by passing it to a lightweight.
26956
26957 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
26958
26959         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26960         * org/omg/PortableServer/ServantActivatorPOA.java,
26961         * org/omg/PortableServer/ServantLocatorPOA.java: 
26962         Make class abstract and minor api docs fixlets.
26963         * org/omg/PortableServer/ForwardRequest.java, 
26964         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
26965         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
26966         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
26967         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
26968         * org/omg/PortableServer/POAPackage/NoServant.java, 
26969         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
26970         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
26971         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
26972         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
26973         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
26974         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
26975         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
26976         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
26977         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
26978         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
26979
26980 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
26981
26982         * NEWS: Added entry about printing support.
26983
26984 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26985
26986         * javax/swing/table/TableColumn.java
26987         (COLUMN_WIDTH_PROPERTY): Updated API docs,
26988         (isResizable): Likewise,
26989         (setWidth): Likewise,
26990         (getWidth): Likewise,
26991         (setPreferredWidth): Likewise,
26992         (getPreferredWidth): Likewise,
26993         (setMinWidth): Check for negative argument and update width and 
26994         preferredWidth if necessary,
26995         (getMinWidth): Updated API docs.
26996
26997 2006-03-14  Lillian Angel  <langel@redhat.com>
26998         
26999         * java/awt/Container.java
27000         (addImpl): Removed call to repaint. No need to repaint here.
27001
27002 2006-03-14  Roman Kennke  <kennke@aicas.com>
27003
27004         * javax/swing/plaf/metal/MetalSliderUI.java
27005         (paintTrack): Added OceanTheme support.
27006
27007 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27008
27009         * javax/swing/table/TableColumn.java
27010         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27011         (isResizable): Updated API docs.
27012
27013 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27014
27015         * javax/swing/LookAndFeel.java: Updated API docs.
27016
27017 2006-03-14  Roman Kennke  <kennke@aicas.com>
27018
27019         * javax/swing/plaf/metal/MetalUtils.java
27020         (paintGradient): Added support for 'masked' gradients.
27021         (paintHorizontalGradient): Likewise.
27022         (paintVerticalGradient): Likewise.
27023         * javax/swing/plaf/metal/MetalIconFactory.java
27024         (RadioButtonIcon.gradientMask): New field.
27025         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27026
27027 2006-03-14  Mark Wielaard  <mark@klomp.org>
27028
27029         Fixes bug #26645.
27030         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27031         New field.
27032         (removeActionListener): Add listener to ComboBoxEditorListener.
27033         (removeActionListener): Remove listener from ComboBoxEditorListener.
27034         (ComboBoxEditorListener): New static helper class.
27035
27036 2006-03-14  Roman Kennke  <kennke@aicas.com>
27037
27038         * javax/swing/plaf/metal/MetalBorders.java
27039         (getToolBarButtonBorder): Don't create a UIResource border
27040         here.
27041         * javax/swing/plaf/metal/MetalToolBarUI.java
27042         (installUI): New overridden method. Installs the rollover property.
27043         (uninstallUI): New overridden method. Resets the rollover property.
27044         * javax/swing/plaf/metal/MetalUtils.java
27045         (paintGradient): Fetch Float values from the UIManager. Adjusted
27046         method signatures accordingly.
27047         (paintHorizontalGradient): Adjusted signature to accept float
27048         instead of double.
27049         (paintVerticalGradient): Adjusted signature to accept float
27050         instead of double.
27051         * javax/swing/plaf/metal/OceanTheme.java
27052         (addCustomEntriesToTable): Added missing UIDefaults entries,
27053         except of Icons. Fixed gradient entries to use Float instead
27054         of Double.
27055
27056 2006-03-14  Roman Kennke  <kennke@aicas.com>
27057
27058         * javax/swing/JInternalFrame.java
27059         (JInternalFrame): Make JInternalFrame opaque.
27060         * javax/swing/JToolBarFrame.java
27061         (JToolBar): Make JToolBar opaque.
27062
27063 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27064
27065         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27066         * javax/swing/tree/TreePath.java: Likewise.
27067
27068 2006-03-13  Tom Tromey  <tromey@redhat.com>
27069
27070         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27071         Genericized.
27072         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27073         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27074
27075 2006-03-13  Keith Seitz  <keiths@redhat.com>
27076
27077         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27078         (executeMethods): Output number of methods.
27079
27080 2006-03-13  Roman Kennke  <kennke@aicas.com>
27081
27082         * javax/swing/plaf/basic/BasicButtonUI.java
27083         (uninstallDefaults): Only uninstall border if it's a UIResource.
27084         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27085         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27086         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27087         (installUI): Don't touch the opaque flag of the glassPane and
27088         the frame. Don't invalidate.
27089         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27090         (installUI): Don't touch the opaque flag of the glassPane.
27091         * javax/swing/plaf/basic/BasicMenuBarUI.java
27092         (properyChangeListener): Made field private.
27093         (ChangeHandler): Made class private.
27094         (ContainerHandler): Made class private.
27095         (PropertyChangeHandler): Made class private.
27096         * javax/swing/plaf/basic/BasicMenuUI.java
27097         (MenuHandler): Made class private.
27098         (PropertyChangeHandler): Removed unneeded class.
27099         (MenuDragMouseHandler): Made class private.
27100         (MenuKeyHandler): Made class private.
27101         * javax/swing/plaf/basic/BasicPanelUI.java
27102         (installDefaults): Made method protected. Don't set opaque
27103         flag.
27104         * javax/swing/plaf/basic/BasicScrollBarUI.java
27105         (TrackListener.shouldScroll): Made method private.
27106         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27107         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27108         Made constructor package private.
27109         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27110         (cellBorder): Made field private.
27111         * javax/swing/plaf/basic/BasicTextUI.java
27112         (installDefaults): Don't make component opaque.
27113         * javax/swing/plaf/basic/BasicToolBarUI.java
27114         (createNonRollOverBorder): Don't create UIResource border.
27115         (createRollOverBorder): Don't create UIResource border.
27116         (installComponents): Moved setRolloverBorders call here.
27117         (installDefaults): Moved setRolloverBorders call from here.
27118         (installUI): Don't make toolbar opaque.
27119         (setBorderToNonRollover): Handle AbstractButton instead of
27120         JButton here.
27121         (uninstallComponents): Don't nullify class fields here.
27122
27123 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27124
27125         * javax/swing/SwingUtilities.java
27126         (calculateInnerArea): handle null component, and replace 
27127         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27128         creation.
27129
27130 2006-03-13  Roman Kennke  <kennke@aicas.com>
27131
27132         * javax/swing/JColorChooser.java
27133         (updateUI): Don't call revalidate().
27134         * javax/swing/JComboBox.java
27135         (updateUI): Don't call invalidate().
27136         * javax/swing/JDesktopPane.java
27137         (updateUI): Don't call invalidate().
27138         * javax/swing/JFileChooser.java
27139         (updateUI): Don't call revalidate().
27140         * javax/swing/JMenu.java
27141         (updateUI): Don't call invalidate().
27142         * javax/swing/JMenuBar.java
27143         (updateUI): Don't call invalidate().
27144         * javax/swing/JMenuItem.java
27145         (updateUI): Don't call invalidate().
27146         * javax/swing/JOptionPane.java
27147         (updateUI): Don't call invalidate().
27148         * javax/swing/JPopupMenu.java
27149         (updateUI): Don't call invalidate().
27150         * javax/swing/JProgressBar.java
27151         (updateUI): Don't call invalidate().
27152         * javax/swing/JScrollBar.java
27153         (updateUI): Don't call invalidate() and repaint().
27154         * javax/swing/JScrollPane.java
27155         (updateUI): Rewritten to be like the other updateUI()
27156         methods.
27157         * javax/swing/JSlider.java
27158         (updateUI): Don't call invalidate() and repaint().
27159         * javax/swing/JSplitPane.java
27160         (updateUI): Don't call invalidate() and repaint().
27161         * javax/swing/JTabbedPane.java
27162         (updateUI): Don't call invalidate().
27163         * javax/swing/JTable.java
27164         (updateUI): Don't call revalidate() and repaint().
27165         * javax/swing/JToolBar.java
27166         (updateUI): Don't call revalidate() and repaint().
27167         * javax/swing/JToolTip.java
27168         (updateUI): Don't call revalidate() and repaint().
27169
27170 2006-03-13  Roman Kennke  <kennke@aicas.com>
27171
27172         * javax/swing/SwingUtilities.java
27173         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27174         menus and non-Swing components is improved.
27175         (updateComponentTreeUIImpl): New helper method.
27176         (replaceUIActionMap): Added check for uiActionMap==parent to
27177         avoid loop.
27178         (replaceUIInputMap): Added check for uiInputMap==parent to
27179         avoid loop.
27180
27181 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27182
27183         * gnu/classpath/debug/Component.java: 
27184         (IPP) New component for IPP debugging. 
27185         (EVERYTHING): Adapted to include IPP.
27186         * javax/print/PrintServiceLookup.java: 
27187         (registerServiceProvider): New method.
27188         (registerService): Likewise.
27189         (lookupPrintServices): Likewise.
27190         (lookupMultiDocPrintServices): Likewise.
27191         (lookupDefaultPrintService): Likewise.
27192         (static_initializer): Likewise.
27193         (printServiceLookups): New field for found service providers.
27194         (printServices): New field for application registered providers.
27195         (systemProvider): New field for the system provider.    
27196         * javax/print/ServiceUI.java: New file. 
27197         * javax/print/package.html: Added more usage content.
27198         * javax/print/event/package.html: Likewise.
27199         * javax/print/attribute/package.html: Likewise.
27200         * javax/print/attribute/standard/package.html: Likewise.
27201         * gnu/javax/print/PrintUriException.java,
27202         gnu/javax/print/PrintFlavorException.java,
27203         gnu/javax/print/PrinterDialog.java,
27204         gnu/javax/print/PrintAttributeException.java,
27205         gnu/javax/print/CupsPrintServiceLookup.java,
27206         gnu/javax/print/CupsServer.java,
27207         gnu/javax/print/CupsPrintService.java,
27208         gnu/javax/print/CupsMediaMapping.java,
27209         gnu/javax/print/CupsIppOperation.java:
27210         New implementation files of the Java Print Service API.
27211         * gnu/javax/print/ipp/IppValueTag.java,
27212         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27213         gnu/javax/print/ipp/IppStatusCode.java,
27214         gnu/javax/print/ipp/IppUtilities.java,
27215         gnu/javax/print/ipp/IppResponse.java,
27216         gnu/javax/print/ipp/IppException.java,
27217         gnu/javax/print/ipp/IppPrintService.java,
27218         gnu/javax/print/ipp/IppRequest.java,
27219         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27220         gnu/javax/print/ipp/IppDelimiterTag.java,
27221         gnu/javax/print/ipp/DocPrintJobImpl.java:
27222         New files of the IPP client implementation.
27223         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27224         gnu/javax/print/ipp/attribute/StatusMessage.java,
27225         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27226         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27227         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27228         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27229         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27230         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27231         New attribute syntax/role files of the printing implementation.
27232         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27233         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27234         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27235         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27236         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27237         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27238         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27239         gnu/javax/print/ipp/attribute/supported/
27240         OrientationRequestedSupported.java, 
27241         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27242         gnu/javax/print/ipp/attribute/supported/
27243         MultipleDocumentHandlingSupported.java, 
27244         gnu/javax/print/ipp/attribute/supported/
27245         MultipleDocumentJobsSupported.java, 
27246         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27247         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27248         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27249         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27250         gnu/javax/print/ipp/attribute/supported/
27251         GeneratedNaturalLanguageSupported.java,
27252         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27253         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27254         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27255         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27256         New supported attribute files.
27257         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27258         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27259         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27260         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27261         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27262         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27263         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27264         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27265         New printer description attribute files.
27266         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27267         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27268         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27269         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27270         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27271         gnu/javax/print/ipp/attribute/job/JobId.java,
27272         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27273         gnu/javax/print/ipp/attribute/job/JobUri.java,
27274         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27275         New job description attribute files.
27276         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27277         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27278         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27279         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27280         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27281         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27282         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27283         gnu/javax/print/ipp/attribute/defaults/
27284         MultipleDocumentHandlingDefault.java,
27285         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27286         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27287         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27288         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27289         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27290         New default printing attribute files.
27291         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27292         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27293         * examples/gnu/classpath/examples/print/Demo.java: 
27294         New demo application of the current implemented functionality.
27295
27296 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27297
27298         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27299         java/rmi/activation/ActivationDesc.java.java,
27300         java/rmi/activation/ActivationGroup.java,
27301         java/rmi/activation/ActivationID.java,
27302         java/rmi/activation/ActivationMonitor.java,
27303         java/rmi/activation/ActivationSystem.java,
27304         java/rmi/activation/package.html: Documenting.
27305
27306 2006-03-13  Roman Kennke  <kennke@aicas.com>
27307
27308         * javax/swing/JInternalFrame.java
27309         (setSelected): Repaint frame when it is showing and the selection
27310         state changes.
27311
27312 2006-03-13  Roman Kennke  <kennke@aicas.com>
27313
27314         * javax/swing/AbstractButton.java
27315         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27316         instead of null.
27317
27318 2006-03-13  Roman Kennke  <kennke@aicas.com>
27319
27320         * javax/accessibility/AccessibleContext.java
27321         (getAccessibleRelationSet): Return empty set instead of null.
27322
27323 2006-03-13  Roman Kennke  <kennke@aicas.com>
27324
27325         * javax/swing/ImageIcon.java
27326         (loadImage): Remove completed images from the MediaTracker. This
27327         avoids a potential memory leak.
27328
27329 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27330
27331         * javax/print/MultiDocPrintService.java, 
27332         * javax/print/MultiDocPrintJob.java, 
27333         * javax/print/MultiDoc.java: Added and enhanced documentation.
27334
27335 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27336
27337         * java/rmi/activation/ActivationID.java (uid): New field.
27338         (writeExternal, readExternal): New methods. 
27339         (equals, hashCode): Rewritten.
27340         * java/rmi/activation/ActivationInstantiator.java,
27341         * java/rmi/activation/ActivationSystem.java,
27342         * java/rmi/activation/Activator.java,
27343         * java/rmi/activation/Activatable.java,
27344         * java/rmi/activation/ActivationGroup.java,
27345         * java/rmi/activation/ActivationGroupDesc.java: 
27346         Documented and autoformatted.
27347         * java/rmi/activation/package.html: Added content.
27348         
27349 2006-03-12  Chris Burdess  <dog@gnu.org>
27350
27351         Fixes PR 26652
27352         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27353           encoding are specified.
27354
27355 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27356
27357         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27358         (changeEvent): Initialise in fireStateChange(),
27359         (setSelectedIndex): Check if change is made before firing event,
27360         (clearSelection): Delegate to setSelectedIndex(),
27361         (fireStateChanged): Initialise changeEvent if necessary,
27362         * javax/swing/SingleSelectionModel.java: API docs all over.
27363
27364 2006-03-11  Tom Tromey  <tromey@redhat.com>
27365
27366         * java/util/zip/InflaterInputStream.java: Reverted previous
27367         patch.
27368
27369 2006-03-11  Mark Wielaard  <mark@klomp.org>
27370
27371         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27372         Compare name.
27373
27374 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27375
27376         * javax/swing/event/TreeSelectionEvent.java
27377         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27378         not one of the added/removed paths,
27379         (cloneWithSource): Reformatted.
27380
27381 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27382
27383         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27384         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27385
27386 2006-03-10  Casey Marshall  <csm@gnu.org>
27387
27388         Fixes PR 23768.
27389         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27390         reset `state.'
27391         (doFinal, update): new methods.
27392         (init, init, init, init): initialize `state' after trying the
27393         implementation, which can throw an exception.
27394         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27395         methods.
27396
27397 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27398
27399         * gnu/regexp/BacktrackStack.java: New file.
27400         * gnu/regexp/RE.java(findMatch): New method.
27401         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27402         REMatchList): Removed. (backtrackStack): New field.
27403         * gnu/regexp/REToken.java(match): Changed from an abstract
27404         method to an ordinary method defined with the new method
27405         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27406         findFixedLengthMatches, backtrack, toString): New methods.
27407         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27408         * gnu/regexp/RETokenBackRef.java: Likewise.
27409         * gnu/regexp/RETokenChar.java: Likewise.
27410         * gnu/regexp/RETokenEnd.java: Likewise.
27411         * gnu/regexp/RETokenEndSub.java: Likewise.
27412         * gnu/regexp/RETokenIndependent.java: Likewise.
27413         * gnu/regexp/RETokenLookAhead.java: Likewise.
27414         * gnu/regexp/RETokenLookBehind.java: Likewise.
27415         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27416         * gnu/regexp/RETokenPOSIX.java: Likewise.
27417         * gnu/regexp/RETokenRange.java: Likewise.
27418         * gnu/regexp/RETokenStart.java: Likewise.
27419         * gnu/regexp/RETokenWordBoundary.java: Likewise
27420         * gnu/regexp/RETokenOneOf.java: Rewriten.
27421         * gnu/regexp/RETokenRepeated.java: Rewriten.
27422
27423 2006-03-10  Roman Kennke  <kennke@aicas.com>
27424
27425         * javax/swing/plaf/metal/MetalBorders.java
27426         (RolloverButtonBorder.paintBorder): Only call super here.
27427         * javax/swing/plaf/metal/MetalButtonListener.java
27428         (propertyChange): Only call super here.
27429         * javax/swing/plaf/metal/MetalButtonUI.java
27430         (update): Changed condition from isOpaque() to isContentAreaFilled()
27431         for the gradient fill.
27432         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27433         (paintText): API doc fix. Makes paintText not deprecated as specified
27434         but adds comment that this is obsolete.
27435         * javax/swing/plaf/metal/MetalUtils.java
27436         (fillMetalPattern): Fixed condition so that the Java2D is not
27437         used when the noGraphics2D property is set.
27438
27439 2006-03-10  Roman Kennke  <kennke@aicas.com>
27440
27441         * javax/swing/plaf/metal/MetalLookAndFeel.java
27442         (createDefaultTheme): Set OceanTheme as default metal theme.
27443
27444 2006-03-10  Roman Kennke  <kennke@aicas.com>
27445
27446         * javax/swing/text/WrappedPlainView.java
27447         (metrics): Made field package private to avoid accessor method.
27448         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27449         The drawLine (righly) interprets the y parameter as the baseline.
27450         * javax/swing/text/Utilities.java
27451         (getBreakLocation): Don't consider the offset. The returned value
27452         for getTabbedTextOffset is already relative to the offset.
27453
27454 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27455
27456         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27457         (dateFormat): Made private.
27458         (put): Replace only the last occurance and the value.
27459         (putAll): Save one iteration. Clarified documentation.
27460
27461 2006-03-10  Tom Tromey  <tromey@redhat.com>
27462
27463         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27464         implementation.
27465         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27466         not '8'.
27467
27468 2006-03-10  Lillian Angel  <langel@redhat.com>
27469
27470         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27471         (comboboxgroup_get_widget): New function.
27472         (removed): Fixed to use new function to get the correct widget.
27473         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27474         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27475         function.
27476
27477 2006-03-10  Lillian Angel  <langel@redhat.com>
27478
27479         * java/awt/GridBagLayout.java
27480         (ArrangeGrid): Added checks to determine if component
27481         is placed last in a row or column. If so, the location
27482         of the last component should be used to get the location
27483         of the current component.
27484
27485 2006-03-10  Lillian Angel  <langel@redhat.com>
27486
27487         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27488         (nativeSetCheckboxGroup): No need to use new function here.
27489         Should just pass in pointer.
27490
27491 2006-03-10  Lillian Angel  <langel@redhat.com>
27492
27493         * java/awt/GridBagLayout.java
27494         (distributeSizeAndWeight): Change else if to else. This
27495         allows for components to be added to a new row when 
27496         their gridheight is REMAINDER.
27497
27498 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27499
27500         * java/rmi/activation/ActivationDesc.java,
27501         java/rmi/activation/ActivationGroupID.java,
27502         java/rmi/activation/Activator.java,
27503         java/rmi/server/Operation.java,
27504         java/rmi/server/RemoteServer.java: Documented and formatted.
27505
27506 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27507
27508         * javax/swing/JToggleButton.java: Fixed API doc tags,
27509         * javax/swing/OverlayLayout.java: Likewise.
27510
27511 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27512
27513         * javax/swing/DefaultCellEditor.java
27514         (cancelCellEditing): Removed spurious API doc tag.
27515
27516 2006-03-10  Lillian Angel  <langel@redhat.com>
27517
27518         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27519         (create): Put checkbox widget into an event box so it paints properly.
27520         (connectSignals): Fixed to use new function.
27521         (nativeSetCheckboxGroup): Likewise.
27522         (gtkToggleButtonSetActive): Likewise.
27523         (gtkWidgetModifyFont): Likewise.
27524         (gtkButtonSetLabel): Likewise.
27525         (combobox_get_widget): New function.
27526
27527 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27528
27529         * javax/swing/text/rtf/package.html: New file.
27530         
27531 2006-03-10  Roman Kennke  <kennke@aicas.com>
27532
27533         * javax/swing/plaf/metal/OceanTheme.java
27534         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27535         * javax/swing/plaf/metal/MetalScrollBarUI.java
27536         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27537         (paintThumbHorizontal): Added handling of OceanTheme.
27538         (paintThumbVertical): Added handling of OceanTheme.
27539
27540 2006-03-10  Roman Kennke  <kennke@aicas.com>
27541
27542         Reported by Fridjof Siebert <siebert@aicas.com>
27543         * java/awt/MediaTracker.java
27544         (removeImage): Only set prev to e when the the images of the
27545         entries are not the same. This avoids a potentially corrupt list.
27546
27547 2006-03-10  Chris Burdess  <dog@gnu.org>
27548
27549         PR 26620:
27550         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27551           checking while reindenting.
27552
27553 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27554
27555         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27556
27557 2006-03-09  Tom Tromey  <tromey@redhat.com>
27558
27559         PR classpath/26585:
27560         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27561         subdir.  Added README.
27562         (install-data-local): Removed.
27563         (uninstall-local): Likewise.
27564         (EXTRA_DIST): Removed.
27565
27566 2006-03-09  Tom Tromey  <tromey@redhat.com>
27567
27568         PR classpath/26623:
27569         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27570         Renamed.
27571         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27572         Renamed.
27573         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27574         Renamed.
27575         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27576         Renamed.
27577         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27578         Renamed.
27579         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27580         Renamed.
27581         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27582         Renamed.
27583         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27584         Renamed.
27585         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27586         Renamed.
27587         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27588         Renamed.
27589         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27590         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27591
27592 2006-03-09  Keith Seitz  <keiths@redhat.com>
27593
27594         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27595         (executeVariableTable): Use VMMethod instead of reflection.
27596         (executeLineTable): Likewise.
27597         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27598         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27599         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27600         (getLineTable): Removed. Now resides in VMMethod.
27601         (getVarTable): Likewise.
27602         (getAllClassMethods): New method.
27603         
27604 2006-03-09  Keith Seitz  <keiths@redhat.com>
27605
27606         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27607         * gnu/classpath/jdwp/event/ThreadStartEvent.java
27608         (ThreadStartEvent): Likewise.
27609         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27610         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27611         (ConditionalFilter): Likewise.
27612         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27613         (ExceptionOnlyFilter): Likewise.
27614         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27615         (FieldOnlyFilter): Likewise.
27616         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27617         (getSize): Likewise.
27618         (StepFilter): Likewise.
27619         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27620         * gnu/classpath/jdwp/transport/JdwpPacket.java
27621         (JdwpPacket): Likewise.
27622         (fromBytes): Likewise.
27623         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27624         (JdwpReplyPacket): Likewise.
27625         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27626         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27627         (getReferenceType): Likewise.
27628         (newObjectId): Likewise.
27629         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27630         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27631         (getFrames): Fix typo in parameter name and update javadoc.
27632         (getClassMethod): Update javadoc.
27633
27634 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
27635
27636         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27637         * javax/swing/event/TreeSelectionListener.java: Likewise.
27638
27639 2006-03-09  Lillian Angel  <langel@redhat.com>
27640
27641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27642         (getHScrollbarHeight): Fixed property name.
27643         (getVScrollbarHeight): Likewise.
27644
27645 2006-03-09  Lillian Angel  <langel@redhat.com>
27646
27647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27648         (get_widget): New function.
27649         (gtkWidgetSetParent): Changed to use new function.
27650         (gtkWidgetSetCursorUnlocked): Likewise.
27651         (gtkWidgetSetSensitive): Likewise.
27652         (gtkWidgetRequestFocus): Likewise.
27653         (gtkWindowGetLocationOnScreen): Likewise.
27654         (gtkWidgetGetDimensions): Likewise.
27655         (gtkWidgetGetPreferredDimensions): Likewise.
27656         (setNativeBounds): Likewise.
27657         (gtkWidgetGetBackground): Likewise.
27658         (gtkWidgetGetForeground): Likewise.
27659         (gtkWidgetSetBackground): Likewise.
27660         (gtkWidgetSetForeground): Likewise.
27661         (setVisibleNativeUnlocked): Likewise.
27662         (isEnabled): Likewise.
27663         (isRealized): Likewise.
27664         (setNativeEventMask): Likewise.
27665
27666 2006-03-09  Lillian Angel  <langel@redhat.com>
27667
27668         PR Classpath\22163
27669         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27670         (create): Added combobox widget to an event box.
27671         (connectSignals): Added call to choice_get_widget to get the
27672         combobox out of the event box.
27673         (append): Likewise.
27674         (nativeRemoveAll): Likewise.
27675         (nativeRemove): Likwise.
27676         (nativeAdd): Likewise.
27677         (selectNative): Likewise.
27678         (choice_get_widget): New function.
27679         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27680         (create): Added list scroll window widget to an event box.
27681         (connectSignals): Changed call to use new function to get the
27682         correct widget out of the event box.
27683         (getWidgetModifyFont): Likewise.
27684         (getWidgetRequestFocus): Likewise.
27685         (append): Likewise.
27686         (add): Likewise.
27687         (delItems): Likewise.
27688         (select): Likewise.
27689         (deselect): Likewise.
27690         (getSize): Likewise.
27691         (getSelectedIndexes): Likewise.
27692         (makeVisible): Likewise.
27693         (setMultipleMode): Likewise.
27694         (list_get_widget): New function.
27695         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27696         (create): Added scrollpane to an eventbox.
27697         (setScrollPosition): Changed call to use new function to get the
27698         correct widget out of the event box.
27699         (gtkScrolledWindowSetHScrollIncrement): Likewise.
27700         (gtkScrolledWindowSetVScrollIncrement): Likewise.
27701         (getHScrollbarHeight): Likewise.
27702         (getVScrollbarWidth): Likewise.
27703         (setPolicy): Likewise.
27704         (scrollpane_get_widget): New function.
27705         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27706         (connectSignals): Changed call to use new function to get the
27707         correct widget out of the event box.
27708         (create): Added scrollbar to an eventbox.
27709         (setLineIncrement): Changed call to use new function to get the
27710         correct widget out of the event box.
27711         (setPageIncrement): Likewise.
27712         (setBarValues): Likewise.
27713         (scrollbar_get_widget): New function.
27714         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27715         (create): Added text area scroll window widget to an event box.
27716         (connectSignals): Changed call to use new function to get the
27717         correct widget out of the event box.
27718         (insert): Likewise.
27719         (replaceRange): Likewise.
27720         (gtkWidgetModifyFont): Likewise.
27721         (gtkWidgetRequestFocus): Likewise.
27722         (getHScrollbarHeight): Likewise.
27723         (getVScrollbarWidth): Likewise.
27724         (getCaretPosition): Likewise.
27725         (setCaretPosition):Likewise.
27726         (getSelectionStart): Likewise.
27727         (getSelectionEnd): Likewise.
27728         (select): Likewise.
27729         (setEditable): Likewise.
27730         (getText): Likewise.
27731         (setText): Likewise.
27732         (textarea_get_widget): New function.
27733
27734 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27735
27736         * java/rmi/dgc/VMID.java: 
27737         (equals, hashCode, static initializer): Rewritten.
27738         * java/rmi/dgc/package.html: Documented.
27739         
27740 2006-03-09  Mark Wielaard  <mark@klomp.org>
27741
27742         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27743         New static field.
27744         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27745         (canCache): Likewise.
27746         (GtkClipboard): Take String argument.
27747         (getInstance): Removed.
27748         (getClipboardInstance, getSelectionInstance): New static methods.
27749         (setSystemContents): Make synchronized. Takes boolean argument.
27750         (initNativeState): Add clipboard and selection.
27751         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27752         (announceClipboardChange, announcePrimaryChange): New static field.
27753         (announce): Take GtkClipboard as argument.
27754         (run): Check which clipboard to announce change for.
27755         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27756         boolean field.
27757         (GtkSelection): Take GtkClipboard as argument.
27758         (requestText, requestImage, requestURIs, requestBytes): Add boolean
27759         clipboard argument.
27760         (requestMimeTypes): Likewise.
27761         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27762         New method.
27763         * java/awt/Toolkit.java (getSystemSelection): Document.
27764         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27765         (cp_gtk_selection_instance): New var.
27766         (current_selection, owner): Removed.
27767         (clipboard_owner_change_cb): Use clipboard argument.
27768         (initNativeState): Store clipboard and selection instances. Cache
27769         setSystemContentsID, provideContentID, provideTextID, provideImageID,
27770         and provideURIsID.
27771         (clipboard_get_func): Use clipboard argument.
27772         (clipboard_clear_func): Likewise. Always call method.
27773         (advertiseContent): Don't cache method ids here. Check whether to
27774         use clpboard or selection. Don't set owner or current_selection.
27775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27776         (requestText, requestImage, requestURIs, requestBytes): Use extra
27777         boolean argument to select clipboard.
27778         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27779         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27780         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27781         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27782
27783 2006-03-09  Keith Seitz  <keiths@redhat.com>
27784
27785         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27786         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27787         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27788         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27789         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27790         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27791         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27792         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27793         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27794
27795 2006-03-09  Mark Wielaard  <mark@klomp.org>
27796
27797         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27798         bounds for index is valid.
27799         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27800         (paint): Likewise.
27801         (getCellBounds): Update documentation.
27802
27803 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
27804
27805         * .classpath: added exclude pattern on source folders
27806         (Makefiles, README and .cvsignore)
27807
27808 2006-03-08  Michael Koch  <konqueror@gmx.de>
27809
27810         * java/net/Proxy.java (NO_PROXY): Made final.
27811         (equals): Likewise.
27812         (hashCode): Likewise.
27813
27814 2006-03-08  Keith Seitz  <keiths@redhat.com>
27815
27816         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27817         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27818         (getClassMethod): New method.
27819
27820 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27821
27822         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27823     
27824 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27825
27826         * java/rmi/server/ObjID.java: Documented and autoformatted.
27827
27828 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27829
27830         PR 26584
27831         * tools/Makefile.am (install-data-local,
27832         uninstall-local): Install/uninstall the tools/README only.
27833         * tools/gnu/classpath/tools/giop/README: Updated.
27834         * tools/README: New file.
27835
27836 2006-03-08  Lillian Angel  <langel@redhat.com>
27837
27838         * java/awt/GridBagLayout.java
27839         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27840         then the next item should be set to current_y (not 0).
27841
27842 2006-03-08  Lillian Angel  <langel@redhat.com>
27843
27844         * java/awt/GridBagLayout.java
27845         (GetLayoutInfo): If gridy is RELATIVE and there is no component
27846         in the bottom-most spot of the column, we need to place that component
27847         at the y-location of the other components in that row. If there are
27848         no other components in that row, then place it at y = 0.
27849
27850 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
27851
27852         * javax/swing/ProgressMonitor.java: Updated API docs,
27853         * javax/swing/ProgressMonitorInputStream.java: Likewise.
27854
27855 2006-03-08  Michael Koch  <konqueror@gmx.de>
27856
27857         * java/net/InetSocketAddress.java
27858         (InetSocketAddress(String,int,resolve)): New private contructor.
27859         (InetSocketAddress(String,int)): Use new private constructor.
27860         (createUnresolved): New method.
27861
27862 2006-03-07  Michael Koch  <konqueror@gmx.de>
27863
27864         * gnu/java/net/DefaultProxySelector.java,
27865         java/net/Proxy.java, java/net/ProxySelector.java:
27866         New files.
27867
27868 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27869
27870         * java/rmi/server/UID.java (constructor): Assign last and time fields
27871         after pause.
27872
27873 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27874
27875         * java/rmi/server/UID.java: New file (replacing). 
27876
27877 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
27878
27879         * java/util/jar/Manifest.java: Removed unused imports.
27880         (CRLF): New constant.
27881         (read): Added method documentation.
27882         Use UTF-8 encoding instead of 8859_1.
27883         (write): Added method documentation.
27884         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27885         (write_main_section): Replace PrintWriter arg with OutputStream.
27886         Replace JarException with IOException.
27887         (write_version_info): Likewise.
27888         (write_main_attributes): Likewise.
27889         (write_attribute_entry): Likewise.
27890         (write_individual_sections): Likewise.
27891         (write_entry_attributes): Likewise.
27892         (write_header): Replace PrintWriter arg with OutputStream.
27893         Re-implemented.
27894
27895 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27896
27897         * javax/swing/tree/DefaultMutableTreeNode.java
27898         (getFirstChild): Updated API docs,
27899         (getLastChild): Likewise,
27900         (getChildAfter): Likewise,
27901         (getChildBefore): Likewise,
27902         (isNodeSibling): Return true if node == this,
27903         (getSiblingCount): Updated API docs,
27904         (getNextSibling): Likewise,
27905         (getPreviousSibling): Likewise,
27906         (isLeaf): Likewise,
27907         (getFirstLeaf): Likewise,
27908         (getLastLeaf): Likewise,
27909         (getNextLeaf): Implemented,
27910         (getPreviousLeaf): Implemented.
27911
27912 2006-03-07  Tom Tromey  <tromey@redhat.com>
27913
27914         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27915         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27916         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27917         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27918         field.
27919
27920 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27921
27922         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27923         (clone): Reimplemented,
27924         (add): Throw IllegalArgumentException if child is an ancestor,
27925         (remove(int)): Set child's parent to null,
27926         (remove(MutableTreeNode)): Check arguments and set child's parent to 
27927         null,
27928         (insert): Check allowsChildren flag, check for null argument, and
27929         check for a node that is an ancestor,
27930         (getIndex): Throw IllegalArgumentException for null argument,
27931         (setAllowsChildren): If setting to false, remove existing children,
27932         (removeAllChildren): Set parent to null for removed children.
27933
27934 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27935
27936         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27937         over.
27938
27939 2006-03-06  Tom Tromey  <tromey@redhat.com>
27940
27941         * java/lang/StrictMath.java (ulp): New methods.
27942         * java/lang/Math.java (ulp): New methods.
27943
27944 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27945
27946         * gnu/java/rmi/server/UnicastRef.java,
27947         * gnu/java/rmi/server/UnicastServer.java: Formatted.
27948         
27949 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27950
27951         * gnu/java/rmi/server/CombinedClassLoader.java 
27952         (findClass, findLibrary, findResouce, findResources): check
27953         all loaders in array.
27954         
27955 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27956
27957         PR 25526
27958         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27959         (RefProtector):    new inner class. (dirty): Rewritten.
27960         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27961         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27962         new methods. (readExternal): Create LeaseRenewingTask if non local.
27963         * gnu/java/rmi/server/UnicastServer.java (objects):
27964         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27965         (getExported): New method.
27966         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27967         
27968 2006-03-06  Mark Wielaard  <mark@klomp.org>
27969
27970         * doc/www.gnu.org/announce/20060306.wml: New file.
27971         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27972         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27973         
27974 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
27975
27976         * javax/swing/plaf/metal/MetalLookAndFeel.java
27977         (initComponentDefaults): Use Boolean.TRUE for
27978         'CheckBoxMenuItem.borderPainted'.
27979         
27980 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
27981
27982         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27983         (dateFormat): Made private.
27984         (put): Replace only the last occurance and the value.
27985         (putAll): Reimplemented with the put method.
27986         
27987 2006-03-06  Lillian Angel  <langel@redhat.com>
27988
27989         PR classpath/26569
27990         * java/awt/List.java
27991         (preferredSize): Return the size of the list if the peer is 
27992         null.
27993         * gnu/java/awt/peer/gtk/GtkListPeer.java
27994         (preferredSize): Code was returning the minimum size of the 
27995         list. Added adjustment to the width of the list so it is a 
27996         proper size.
27997         
27998 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
27999
28000         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28001         (getRequestProperty): Remove duplicated null check.
28002         * java/net/URLConnection.java:
28003         (URLConnection): Javadoc fix.
28004         (addRequestProperty): Likewise.
28005         (getDefaultRequestProperty): Likewise.
28006         (getHeaderField): Likewise.
28007         (getHeaderFieldDate): Likewise.
28008         (getHeaderFieldKey): Likewise.
28009         (getHeaderFields): Likewise.
28010         (getRequestProperties): Likewise.
28011         (getRequestProperty): Likewise.
28012         (setDefaultRequestProperty): Likewise.
28013         (setRequestProperty): Likewise.
28014         
28015 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28016       
28017         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28018         * examples/gnu/classpath/examples/swing/Demo.java:
28019         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28020         textarea example.
28021         (mkMenuBar): Added entry for text area example.
28022         
28023 2006-03-06  Tom Tromey  <tromey@redhat.com>
28024
28025         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28026         (FORMATTED_TEXT_FIELD): Likewise.
28027         
28028 2006-03-06  Tom Tromey  <tromey@redhat.com>
28029
28030         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28031         
28032 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28033
28034         * examples/gnu/classpath/examples/swing/Demo.java:
28035         (mkMenuBar): Added menu entry that will display the VM's name,
28036         version and distributor.
28037         
28038 2006-03-06  Tom Tromey  <tromey@redhat.com>
28039          
28040         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28041         Javadoc fix.
28042         (getName): Likewise.
28043         
28044 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28045
28046         * java/util/jar/Manifest.java: Removed unused imports.
28047         (CRLF): New constant.
28048         (read): Added method documentation.
28049         Use UTF-8 encoding instead of 8859_1.
28050         (write): Added method documentation.
28051         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28052         (write_main_section): Replace PrintWriter arg with OutputStream.
28053         Replace JarException with IOException.
28054         (write_version_info): Likewise.
28055         (write_main_attributes): Likewise.
28056         (write_attribute_entry): Likewise.
28057         (write_individual_sections): Likewise.
28058         (write_entry_attributes): Likewise.
28059         (write_header): Replace PrintWriter arg with OutputStream.
28060         Re-implemented.
28061         
28062 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28063
28064         
28065         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28066         API doc tag warnings,
28067         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28068         
28069 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28070
28071         * gnu/java/net/protocol/file/Connection.java (unquote):
28072         Update position in buffer after decoding a unicode character
28073         outside of the basic plane.
28074         
28075 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28076
28077         * java/net/URI.java
28078         (quote): Pass Unicode characters outside the basic plane through.
28079         
28080 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28081        
28082         * javax/swing/plaf/basic/BasicTextUI.java:
28083         (damageRange): Rewritten if-expressions to correctly identify the
28084         break condition.
28085
28086 2006-03-06  Mark Wielaard  <mark@klomp.org>
28087
28088         * configure.ac: Set version to 0.90-generics.
28089         * NEWS: Fix typos.
28090
28091 2006-03-06  Mark Wielaard  <mark@klomp.org>
28092
28093         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28094         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28095         (isnan): Define explicitly isnan if it is not a macro.
28096
28097 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28098
28099         * javax/swing/text/GapContent.java:
28100         (insertString): Throw exception when argument is below
28101         zero.
28102
28103 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28104
28105         * javax/swing/text/PlainDocument.java:
28106         (insertUpdate): Extended if-expression, added
28107         code to generate another Element when newly inserted characters
28108         and old ones will be on the same line.
28109
28110 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28111
28112         * javax/swing/text/DefaultCaret.java:
28113         (mouseDragged): Do selection when shift is pressed.
28114         (mouseClicked): Implemented.
28115
28116 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28117
28118         * javax/swing/text/PlainDocument.java: Fix copyright header,
28119         added author tags.
28120         (insertUpdate): Do not copy the whole document any more, added some
28121         more variables to prevent needless method calls.
28122
28123 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28124
28125         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28126         is required on Darwin.
28127         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28128         (AM_CFLAGS): Likewise.
28129
28130 2006-03-06  Mark Wielaard  <mark@klomp.org>
28131
28132         * NEWS: Add updates for 0.90 release.
28133
28134 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28135
28136         * javax/swing/text/GapContent.java:
28137         (insertString): Throw exception when argument is below
28138         zero.
28139
28140 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28141
28142         
28143         * javax/swing/filechooser/FileFilter.java:
28144         (accept): Fixed API doc tag,
28145        (getDescription): Likewise,
28146         * javax/swing/filechooser/FileView.java:       
28147         (isTraversable): Fixed API doc tag.
28148
28149 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28150
28151         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28152         added API docs all over.
28153
28154 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28155
28156         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28157         and corrected a bad API doc tag.
28158
28159 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28160
28161         * javax/swing/undo/StateEditable.java
28162         (restoreState): Fixed bad API doc tag,
28163         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28164         AbstractUndoableEdit.java,
28165         * javax/swing/undo/UndoableEditSupport.java
28166         (createCompoundEdit): Fixed bad API doc tag,
28167         * javax/swing/undo/UndoManager.java
28168         (editToBeUndone): Fixed bad API doc tag,
28169         (editToBeRedone): Likewise.
28170
28171 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28172
28173         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28174         * javax/swing/FocusManager.java: Likewise.
28175
28176
28177 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28178
28179         
28180         * javax/swing/plaf/metal/MetalComboBoxButton.java
28181         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28182         JList)): Fixed API doc tag,
28183         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28184         (createLayout): Fixed API doc warning.
28185         
28186 2006-03-05  Tom Tromey  <tromey@redhat.com>
28187
28188         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28189         ClassHelper.getUserName.
28190         * vm/reference/java/lang/reflect/Method.java (toString): Use
28191         ClassHelper.getUserName.
28192         (getUserTypeName): Removed.
28193         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28194         * vm/reference/java/lang/reflect/Field.java (toString): Use
28195         ClassHelper.getUserName.
28196
28197 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28198
28199         Fixes PR 22813
28200         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28201         Allows directories as valid resources.
28202
28203 2006-03-05  Mark Wielaard  <mark@klomp.org>
28204
28205         * configure.ac (VERSION): Set to 0.90-pre-generics.
28206         * Merge with CVS trunk from classpath-0_90-branch-point.
28207
28208 2006-03-04  Tom Tromey  <tromey@redhat.com>
28209
28210         * javax/swing/SpringLayout.java (Constraints): New constructor.
28211         * javax/swing/Spring.java (width): New method.
28212         (height): Likewise.
28213         (scale): Likewise.
28214
28215 2006-03-04  Mark Wielaard  <mark@klomp.org>
28216
28217         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28218         existing connection from pool before returning.
28219
28220 2006-03-04  Mark Wielaard  <mark@klomp.org>
28221
28222         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28223         exceptions thrown by handlers while cleaning up and rethrow original
28224         exception.
28225
28226 2006-03-04  Tom Tromey  <tromey@redhat.com>
28227
28228         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28229         method.
28230         (findConstructor): Likewise.
28231         (instantiateClass): Likewise.
28232
28233 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28234
28235         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28236         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28237         lease value and not always the default one.
28238         (LeaseRecord): Remember the array of objects, marked as dirty.
28239         java/rmi/dgc/Lease.java: Boilerplate fix.
28240
28241 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28242
28243         * java/util/jar/Attributes.java (putValue): Made it public and updated
28244         method documentation.
28245
28246 2006-03-04  Mark Wielaard  <mark@klomp.org>
28247
28248         * java/awt/Container.java (remove(int)): Always call removeNotify()
28249         on removed Component.
28250
28251 2006-03-04  Mark Wielaard  <mark@klomp.org>
28252
28253         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28254         * javax/swing/JEditorPane.java (setText): Check for empty String
28255         with equals(), not equality (==).
28256
28257 2006-03-04  Mark Wielaard  <mark@klomp.org>
28258
28259         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28260         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28261
28262 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28263
28264         * javax/swing/text/GapContent.java
28265         (getArray): Mark as final.
28266
28267 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28268
28269         * javax/swing/text/StyleConstants.java
28270         (CharacterConstants.Background): Marked final,
28271         (CharacterConstants.BidiLevel): Likewise,
28272         (CharacterConstants.Bold): Likewise,
28273         (CharacterConstants.ComponentAttribute): Likewise,
28274         (CharacterConstants.Family): Likewise,
28275         (CharacterConstants.Size): Likewise,
28276         (CharacterConstants.Foreground): Likewise,
28277         (CharacterConstants.IconAttribute): Likewise,
28278         (CharacterConstants.Italic): Likewise,
28279         (CharacterConstants.StrikeThrough): Likewise,
28280         (CharacterConstants.Subscript): Likewise,
28281         (CharacterConstants.Superscript): Likewise,
28282         (CharacterConstants.Underline): Likewise,
28283         (ColorConstants.Foreground): Likewise,
28284         (ColorConstants.Background): Likewise,
28285         (FontConstants.Bold): Likewise,
28286         (FontConstants.Family): Likewise,
28287         (FontConstants.Italic): Likewise,
28288         (FontConstants.Size): Likewise,
28289         (ParagraphConstants.Alignment): Likewise,
28290         (ParagraphConstants.FirstLineIndent): Likewise,
28291         (ParagraphConstants.LeftIndent): Likewise,
28292         (ParagraphConstants.LineSpacing): Likewise,
28293         (ParagraphConstants.Orientation): Likewise,
28294         (ParagraphConstants.RightIndent): Likewise,
28295         (ParagraphConstants.SpaceAbove): Likewise,
28296         (ParagraphConstants.SpaceBelow): Likewise,
28297         (ParagraphConstants.TabSet): Likewise.  
28298
28299 2006-03-03  Tom Tromey  <tromey@redhat.com>
28300
28301         * javax/net/ssl/SSLException.java: Added missing @since.
28302         Wrote javadoc.
28303
28304 2006-03-03  Tom Tromey  <tromey@redhat.com>
28305
28306         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28307         (serialVersionUID): New field.
28308
28309 2006-03-03  Tom Tromey  <tromey@redhat.com>
28310
28311         * java/security/spec/InvalidKeySpecException.java
28312         (InvalidKeySpecException): New constructors.
28313         * java/security/cert/CertificateParsingException.java
28314         (CertificateParsingException): New constructors.
28315         * java/security/cert/CertificateEncodingException.java
28316         (CertificateEncodingException): New constructors.
28317         * java/security/cert/CertificateException.java (CertificateException):
28318         New constructors.
28319         * java/security/cert/CRLException.java (CRLException): New
28320         constructors.
28321
28322 2006-03-03  Tom Tromey  <tromey@redhat.com>
28323
28324         * java/security/SignatureException.java (SignatureException): New
28325         constructors.
28326         * java/security/ProviderException.java (ProviderException): New
28327         constructors.
28328         * java/security/NoSuchAlgorithmException.java
28329         (NoSuchAlgorithmException): New constructors.
28330         * java/security/KeyStoreException.java (KeyStoreException): New
28331         constructors.
28332         * java/security/KeyManagementException.java (KeyManagementException):
28333         New constructors.
28334         * java/security/InvalidKeyException.java (InvalidKeyException): New
28335         constructors.
28336         * java/security/KeyException.java (KeyException): New constructors.
28337         * java/security/InvalidAlgorithmParameterException.java
28338         (InvalidAlgorithmParameterException): New constructors.
28339         * java/security/DigestException.java (DigestException): New
28340         constructors.
28341         * java/security/GeneralSecurityException.java
28342         (GeneralSecurityException): New constructors.
28343
28344 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28345
28346         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28347         warnings,
28348         * javax/swing/event/DocumentEvent.java: Likewise,
28349         * javax/swing/event/EventListenerList.java: Likewise,
28350         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28351         * javax/swing/event/MenuKeyEvent.java: Likewise,
28352         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28353         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28354         * javax/swing/event/TreeModelEvent.java: Likewise,
28355         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28356         * javax/swing/event/UndoableEditEvent.java: Likewise.
28357
28358 2006-03-03  Tom Tromey  <tromey@redhat.com>
28359
28360         * java/awt/Insets.java (set): New method.
28361         (equals): Added @since.
28362
28363 2006-03-03  David Daney  <ddaney@avtrex.com>
28364
28365         * gnu/java/net/protocol/http/HTTPURLConnection.java
28366         (getRequestProperties): Rewrote.
28367         (addRequestProperty): Rewrote.
28368         (getHeaderFields): Rewrote.
28369         (getHeaderField): Rewrote.
28370         (getHeaderFieldKey): Rewrote.
28371         (getHeaderField): Removed useless cast.
28372         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28373         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28374         interface.
28375         (notifyHeaderHandlers): Use new Headers interface.
28376
28377 2006-03-03  Tom Tromey  <tromey@redhat.com>
28378
28379         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28380         * javax/naming/spi/ResolveResult.java,
28381         javax/naming/event/NamingExceptionEvent.java,
28382         javax/naming/event/NamingEvent.java,
28383         javax/naming/directory/SearchResult.java,
28384         javax/naming/directory/SearchControls.java,
28385         javax/naming/directory/SchemaViolationException.java,
28386         javax/naming/directory/NoSuchAttributeException.java,
28387         javax/naming/directory/ModificationItem.java,
28388         javax/naming/directory/InvalidSearchFilterException.java,
28389         javax/naming/directory/InvalidSearchControlsException.java,
28390         javax/naming/directory/InvalidAttributesException.java,
28391         javax/naming/directory/InvalidAttributeIdentifierException.java,
28392         javax/naming/directory/AttributeModificationException.java,
28393         javax/naming/directory/AttributeInUseException.java,
28394         javax/naming/TimeLimitExceededException.java,
28395         javax/naming/SizeLimitExceededException.java,
28396         javax/naming/PartialResultException.java,
28397         javax/naming/Reference.java,
28398         javax/naming/ServiceUnavailableException.java,
28399         javax/naming/OperationNotSupportedException.java,
28400         javax/naming/NotContextException.java,
28401         javax/naming/NoPermissionException.java,
28402         javax/naming/NoInitialContextException.java,
28403         javax/naming/NameNotFoundException.java,
28404         javax/naming/NameAlreadyBoundException.java,
28405         javax/naming/NameClassPair.java,
28406         javax/naming/MalformedLinkException.java,
28407         javax/naming/LinkLoopException.java,
28408         javax/naming/LinkException.java,
28409         javax/naming/LimitExceededException.java,
28410         javax/naming/InvalidNameException.java,
28411         javax/naming/InterruptedNamingException.java,
28412         javax/naming/InsufficientResourcesException.java,
28413         javax/naming/ContextNotEmptyException.java,
28414         javax/naming/ConfigurationException.java,
28415         javax/naming/CannotProceedException.java,
28416         javax/naming/CommunicationException.java,
28417         javax/naming/Binding.java,
28418         javax/naming/AuthenticationNotSupportedException.java,
28419         javax/naming/AuthenticationException.java: Added serialVersionUID.
28420
28421 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28422
28423         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28424
28425 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28426
28427         * javax/swing/event/TableModelListener.java: Updated API docs.
28428
28429 2006-03-03  Mark Wielaard  <mark@klomp.org>
28430
28431         * java/awt/Component.java (addNotify): Expand documentation.
28432
28433 2006-03-03  Mark Wielaard  <mark@klomp.org>
28434
28435         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28436         Always call setParentAndBounds().
28437         (setComponentBounds): Always call setBounds().
28438         (setBounds): Call setVisible().
28439         (setVisible): If no pixels are showing then don't make it visible.
28440         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28441         to call setParentAndBounds() anymore.
28442
28443 2006-03-03  Roman Kennke  <kennke@aicas.com>
28444
28445         * javax/swing/JInternalFrame.java
28446         (JInternalFrame): Set frame invisible.
28447         (show): Reformatted.
28448         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28449         (installDefaults): Do not set invisible here.
28450
28451 2006-03-03  Roman Kennke  <kennke@aicas.com>
28452
28453         * java/awt/Toolkit.java
28454         (getScreenInsets): Return (0,0,0,0) here.
28455
28456 2006-03-03  Roman Kennke  <kennke@aicas.com>
28457
28458         * javax/swing/text/FlowView.java
28459         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28460         (FlowStrategy.getLogicalView): Made method protected.
28461
28462 2006-03-03  Chris Burdess  <dog@gnu.org>
28463
28464         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28465           gnu/xml/validation/relaxng/AttributePattern.java,
28466           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28467           gnu/xml/validation/relaxng/ChoicePattern.java,
28468           gnu/xml/validation/relaxng/DataPattern.java,
28469           gnu/xml/validation/relaxng/Define.java,
28470           gnu/xml/validation/relaxng/ElementPattern.java,
28471           gnu/xml/validation/relaxng/EmptyPattern.java,
28472           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28473           gnu/xml/validation/relaxng/Grammar.java,
28474           gnu/xml/validation/relaxng/GrammarException.java,
28475           gnu/xml/validation/relaxng/GrammarValidator.java,
28476           gnu/xml/validation/relaxng/GroupPattern.java,
28477           gnu/xml/validation/relaxng/InterleavePattern.java,
28478           gnu/xml/validation/relaxng/ListPattern.java,
28479           gnu/xml/validation/relaxng/NSNameNameClass.java,
28480           gnu/xml/validation/relaxng/NameClass.java,
28481           gnu/xml/validation/relaxng/NameNameClass.java,
28482           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28483           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28484           gnu/xml/validation/relaxng/Param.java,
28485           gnu/xml/validation/relaxng/Pattern.java,
28486           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28487           gnu/xml/validation/relaxng/RefPattern.java,
28488           gnu/xml/validation/relaxng/TextPattern.java,
28489           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28490           builder and data model.
28491         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28492           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28493           gnu/xml/validation/xmlschema/AttributeUse.java,
28494           gnu/xml/validation/xmlschema/ComplexType.java,
28495           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28496           gnu/xml/validation/xmlschema/Particle.java,
28497           gnu/xml/validation/xmlschema/ValidationException.java,
28498           gnu/xml/validation/xmlschema/XMLSchema.java,
28499           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28500           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28501           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28502           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28503           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28504           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28505           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28506           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28507           W3C XML Schema builder and schema components.
28508         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28509           XML Schema namespace URIs.
28510
28511 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28512
28513         * NEWS: Add entry for --enable-collections.
28514         * configure.ac: Add --enable-collections option.
28515         * lib/Makefile.am (collections.jar): New target.
28516         (glibj_DATA): Add $(COLLECTIONS).
28517         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28518         configure substitution.
28519         (classpath): Read from command line.
28520         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28521
28522 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28523
28524         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28525
28526 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28527
28528         * javax/swing/event/ListSelectionEvent.java
28529         (toString): Implemented,
28530         plus updated API docs all over.
28531
28532 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28533
28534         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28535         API doc warnings,
28536         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28537
28538 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28539
28540         * gnu/java/rmi/dgc/DGCImpl.java,
28541         java/rmi/dgc/DGC.java,
28542         java/rmi/dgc/Lease.java: Formatted and commented.
28543
28544 2006-03-03  Roman Kennke  <kennke@aicas.com>
28545
28546         * NEWS: Added comment about text highlighting and copy+paste
28547         in Swing.
28548
28549 2006-03-03  Roman Kennke  <kennke@aicas.com>
28550
28551         * javax/swing/JTabbedPane.java
28552         (remove(int)): Call super.remove(int) instead of remove(Component).
28553         Avoids a stack overflow.
28554
28555 2006-03-03  Roman Kennke  <kennke@aicas.com>
28556
28557         * javax/swing/JTable.java
28558         (distributeSpillResizing): Avoid ArithmeticException by checking
28559         divisor.
28560
28561 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28562
28563         * javax/swing/text/package.html: Added package description.
28564
28565 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28566
28567         * javax/swing/CellRendererPane.java: Minor API doc fix,
28568         * javax/swing/ComboBoxModel.java: Updated API docs.
28569
28570 2006-03-03  Chris Burdess  <dog@gnu.org>
28571
28572         Fixes PR 26503
28573         * gnu/xml/stream/EntityReferenceImpl.java,
28574           gnu/xml/stream/FilteredEventReader.java,
28575           gnu/xml/stream/SAXParser.java,
28576           gnu/xml/stream/XIncludeFilter.java,
28577           gnu/xml/stream/XMLEventAllocatorImpl.java,
28578           gnu/xml/stream/XMLEventFactoryImpl.java,
28579           gnu/xml/stream/XMLEventImpl.java,
28580           gnu/xml/stream/XMLEventReaderImpl.java,
28581           gnu/xml/stream/XMLEventWriterImpl.java,
28582           gnu/xml/stream/XMLInputFactoryImpl.java,
28583           gnu/xml/stream/XMLOutputFactoryImpl.java,
28584           gnu/xml/stream/XMLParser.java,
28585           javax/xml/stream/EventFilter.java,
28586           javax/xml/stream/Location.java,
28587           javax/xml/stream/StreamFilter.java,
28588           javax/xml/stream/XMLEventFactory.java,
28589           javax/xml/stream/XMLEventReader.java,
28590           javax/xml/stream/XMLEventWriter.java,
28591           javax/xml/stream/XMLInputFactory.java,
28592           javax/xml/stream/XMLOutputFactory.java,
28593           javax/xml/stream/XMLReporter.java,
28594           javax/xml/stream/XMLResolver.java,
28595           javax/xml/stream/XMLStreamConstants.java,
28596           javax/xml/stream/XMLStreamReader.java,
28597           javax/xml/stream/events/EntityDeclaration.java,
28598           javax/xml/stream/events/EntityReference.java,
28599           javax/xml/stream/events/XMLEvent.java,
28600           javax/xml/stream/util/EventReaderDelegate.java,
28601           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28602           StAX API as specified in JWSDP 2.0.
28603         * gnu/xml/stream/EndEntityImpl.java,
28604           gnu/xml/stream/LocationImpl.java,
28605           gnu/xml/stream/StartEntityImpl.java,
28606           gnu/xml/stream/XMLStreamReaderImpl.java,
28607           javax/xml/stream/XMLFilter.java,
28608           javax/xml/stream/XMLIterator.java,
28609           javax/xml/stream/events/EndEntity.java,
28610           javax/xml/stream/events/StartEntity.java: Removed legacy files.
28611
28612 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28613
28614         * javax/swing/CellEditor.java: API doc updates,
28615         * javax/swing/DefaultCellEditor.java: Likewise.
28616
28617 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28618
28619         * javax/swing/AbstractListModel.java:
28620         (AbstractListModel): Added API docs,
28621         (fireContentsChanged): Minor API doc correction,
28622         (fireIntervalAdded): Likewise,
28623         (fireIntervalRemoved): Likewise.
28624
28625 2006-03-03  Roman Kennke  <kennke@aicas.com>
28626
28627         * NEWS: Added paragraph about Swing improvements.
28628
28629 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28630
28631         * javax/swing/AbstractAction.java: Updated API docs all over,
28632         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28633         (stopCellEditing): Minor API doc correction,
28634         * javax/swing/UnsupportedLookAndFeelException.java
28635         (UnsupportedLookAndFeelException): Changed argument name, updated API
28636         docs.
28637
28638 2006-03-03  Roman Kennke  <kennke@aicas.com>
28639
28640         * javax/swing/plaf/metal/MetalUtils.java
28641         (fillMetalPattern): Added switch to not use Graphics2D methods,
28642         even if they are available.
28643
28644 2006-03-03  Roman Kennke  <kennke@aicas.com>
28645
28646         * javax/swing/plaf/basic/BasicHTML.java
28647         (isHTMLString): Check for string beeing null.
28648         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28649         (BasicInternalFrameListener.internalFrameActivated): Implemented.
28650         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28651         (InternalFrameLayout): Don't touch the glass pane here.
28652         (installUI): Fix handling of glass pane.
28653         * javax/swing/plaf/basic/BasicLabelUI.java
28654         (vr): New field.
28655         (ir): New field.
28656         (tr): New field.
28657         (BasicLabelUI): Initialize new fields.
28658         (getPreferredSize): Avoid creating new Rectangles by using
28659         SwingUtilities method.
28660         (paint): Avoid creating new Rectangles by reusing
28661         new fields. Added some preliminary handling of HTML inside the
28662         label.
28663         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28664         (uninstallComponents): Clear HTML renderer.
28665         (propertyChange): Check for HTML text and install renderer if
28666         appropriate.
28667         * javax/swing/plaf/basic/BasicListUI.java
28668         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28669         method.
28670         * javax/swing/plaf/basic/BasicTextUI.java
28671         (RootView.getStartOffset): Implemented.
28672         (RootView.getEndOffset): Implemented.
28673         (RootView.getDocument): Implemented.
28674
28675 2006-03-03  Roman Kennke  <kennke@aicas.com>
28676
28677         * javax/swing/text/DefaultStyledDocument.java
28678         (ElementBuffer.inserUpdate): Added check for zero-length
28679         element.
28680         * javax/swing/text/DefaultStyledDocument.java
28681         (setIndex): Improved exception message.
28682         * javax/swing/text/TableView.java
28683         Made class abstract.
28684         (TableRow.replace): Probably extend columnRequirements
28685         arrays.
28686         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28687         of super.layoutMajorAxis.
28688         (columnRequirements): Made field package private.
28689         (TableView): Do not load any child views here.
28690         (layoutColumns): Implemented this method.
28691         (updateColumnRequirements): New helper method.
28692         * javax/swing/text/Utilities.java
28693         (getBreakLocation): Also take offset into account when
28694         finding end location.
28695         * javax/swing/text/html/HTMLDocument.java
28696         (HTMLReader.parseStack): New field.
28697         (HTMLReader.blockOpen): Properly handle p-implied tags.
28698         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28699         (HTMLReader.addContent): Insert p-implied when adding content to
28700         a block element.
28701         * javax/swing/text/html/HTMLEditorKit.java
28702         (HTMLFactory.create): Create HTMLTableView for <table> tags and
28703         ParagraphView for TD tags. Print out warning for tags that don't have
28704         matching view yet and create NullView for them.
28705         (read): Only set document base when document != null.
28706         * javax/swing/text/html/HTMLTableView.java:
28707         New class
28708
28709 2006-03-03  Roman Kennke  <kennke@aicas.com>
28710
28711         * javax/swing/plaf/basic/BasicHTML.java
28712         (HTMLRootView): New inner class.
28713         (createHTMLView): Embed view inside a HTMLRootView.
28714
28715 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
28716
28717         * gnu/java/net/protocol/jar/Connection.java: 
28718         (connect): Throw FileNotFoundException.
28719         (getInputStream): Remove duplicated code.
28720
28721 2006-03-03  Roman Kennke  <kennke@aicas.com>
28722
28723         * javax/swing/RepaintManager.java
28724         (commitBuffer): Added null check for clip.
28725
28726 2006-03-02  Lillian Angel <langel@redhat.com>
28727
28728         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28729         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28730         to use GtkWidget instead of GTKMenu.
28731
28732 2006-03-02  Lillian Angel <langel@redhat.com>
28733
28734         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28735         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
28736         use the submenu to get the list of children. This now works
28737         in the same way as addItem.
28738
28739 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
28740
28741         * java/lang/StringBuilder.java:
28742         (codePointAt): New method.
28743         (codePointBefore): Likewise.
28744         (codePointCount): Likewise.
28745         (trimToSize): Likewise.
28746
28747 2006-03-02  Tom Tromey  <tromey@redhat.com>
28748
28749         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28750
28751 2006-03-02  Tom Tromey  <tromey@redhat.com>
28752
28753         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28754         (getProviderInstance): 
28755
28756 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
28757
28758         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28759         Fix regression caused by move to VM variant.
28760         PR classpath/22926.
28761         
28762 2006-03-01  Tom Tromey  <tromey@redhat.com>
28763
28764         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28765         * vm/reference/java/net/VMInetAddress.java: Organized imports.
28766         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28767         imports for javadoc.
28768         (getProxyClass): Javadoc fixes.
28769         (getProxyData): Likewise.
28770         (generateProxyClass): Likewise.
28771         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28772         (setOut): Likewise.
28773         (setErr): Likewise.
28774         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28775         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28776         fix.
28777         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28778         javadoc.
28779         (getModifiers): Likewise.
28780         (getDeclaredClasses): Javadoc fix.
28781         (getDeclaredFields): Likewise.
28782         (getDeclaredMethods): Likewise.
28783         (getDeclaredConstructors): Likewise.
28784         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28785         Javadoc fix.
28786
28787 2006-03-01  Tom Tromey  <tromey@redhat.com>
28788
28789         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28790         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28791         (getVersion): Javadoc fix.
28792         (get): Likewise.
28793         * gnu/java/net/protocol/http/Headers.java: Organized imports.
28794         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28795
28796 2006-03-01  David Daney  <ddaney@avtrex.com>
28797
28798         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28799         as relative if it contains a colon but no protocol handler can be
28800         found.
28801
28802 2006-03-01  Roman Kennke  <kennke@aicas.com>
28803
28804         * javax/swing/text/AbstractDocument.java
28805         (LeafElement.LeafElement): Handle delta with respect to content
28806         length not document length.
28807         * javax/swing/text/CompositeView.java
28808         (getViewIndex): Handle bias correctly.
28809         * javax/swing/text/DefaultCaret.java
28810         (paint): Align caret position to document bounds to avoid trouble
28811         when removing large portions of content.
28812         * javax/swing/text/DefaultStyledDocument.java
28813         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28814         (ElementBuffer.createFracture): Copy old childs attribute. The
28815         ElementSpec usually doesn't carry attribute information.
28816         Use pos instead of offset.
28817         (ElementBuffer.insertFracture): Use pos instead of offset.
28818         (createDefaultRootElement): Don't use create* and instead directly
28819         instantiate the elements.
28820         (handleInsertAfterNewline): Compare the paragraphs startOffset
28821         rather than previous paragraphs endOffset.
28822         * javax/swing/text/JTextComponent.java
28823         (getScrollableTracksViewportWidth): Remove unnecessary cast to
28824         JViewport.
28825         (getScrollableTracksViewportHeight): Remove unnecessary cast to
28826         JViewport.
28827         * javax/swing/text/PlainView.java
28828         (damageLineRange): Avoid creating new Rectangle by using
28829         SwingUtilities.
28830         * javax/swing/text/View.java
28831         (forwardUpdate): Correct the use of bias.
28832         (modelToView): Avoid new Rectangles by using SwingUtilities.
28833         (dump): Made (temprorarily) protected for use in BasicTextUI.
28834         (dump(int)): Dump out the element of the view.
28835
28836 2006-03-01  Lillian Angel  <langel@redhat.com>
28837
28838         * NEWS: javax.imageio.plugins.bmp implementation.
28839
28840 2006-03-01  Lillian Angel  <langel@redhat.com>
28841
28842         * javax/imageio/ImageWriteParam.java: 
28843         Added documentation for fields.
28844         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28845         New class implemented.
28846
28847 2006-03-01  Tom Tromey  <tromey@redhat.com>
28848
28849         * NEWS: Mention java.util.prefs update.
28850
28851 2006-03-01  Tom Tromey  <tromey@redhat.com>
28852
28853         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28854         * java/nio/charset/UnmappableCharacterException.java:
28855         (serialVersionUID): New field.
28856         * java/nio/charset/MalformedInputException.java:
28857         (serialVersionUID): New field.
28858         * java/nio/charset/CoderMalfunctionError.java:
28859         (serialVersionUID): New field.
28860         * java/nio/charset/CharacterCodingException.java:
28861         (serialVersionUID): New field.
28862         * java/nio/channels/UnsupportedAddressTypeException.java:
28863         (serialVersionUID): New field.
28864         * java/nio/channels/UnresolvedAddressException.java:
28865         (serialVersionUID): New field.
28866         * java/nio/channels/OverlappingFileLockException.java:
28867         (serialVersionUID): New field.
28868         * java/nio/channels/NotYetConnectedException.java:
28869         (serialVersionUID): New field.
28870         * java/nio/channels/NotYetBoundException.java
28871         (serialVersionUID): New field.
28872         * java/nio/channels/NonWritableChannelException.java
28873         (serialVersionUID): New field.
28874         * java/nio/channels/NonReadableChannelException.java
28875         (serialVersionUID): New field.
28876         * java/nio/channels/NoConnectionPendingException.java
28877         (serialVersionUID): New field.
28878         * java/nio/channels/IllegalSelectorException.java
28879         (serialVersionUID): New field.
28880         * java/nio/channels/IllegalBlockingModeException.java
28881         (serialVersionUID): New field.
28882         * java/nio/channels/FileLockInterruptionException.java
28883         (serialVersionUID): New field.
28884         * java/nio/channels/ConnectionPendingException.java
28885         (serialVersionUID): New field.
28886         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28887         New field.
28888         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28889         New field.
28890         * java/nio/channels/ClosedByInterruptException.java
28891         (serialVersionUID): New field.
28892         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
28893         New field.
28894         * java/nio/channels/AsynchronousCloseException.java
28895         (serialVersionUID): New field.
28896         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28897         New field.
28898         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28899         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28900         * java/nio/BufferUnderflowException.java (serialVersionUID): New
28901         field.
28902         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28903         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28904         Javadoc fix.  Added import.
28905         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28906         (validOps): Likewise.
28907         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28908         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28909         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28910         * java/nio/channels/Channels.java: Added import.
28911         * java/nio/channels/FileChannel.java (lock): Typo fix.
28912         (tryLock): Likewise.
28913
28914 2006-03-01  Tom Tromey  <tromey@redhat.com>
28915
28916         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28917         FileBasedFactory.
28918         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28919         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28920         (clear): Likewise.
28921         (putSpi): Likewise.
28922         (newNode): Likewise.
28923         (node): Likewise.
28924         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28925         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28926         field.
28927         (systemRoot): Use it.
28928         (userPreferences): New field.
28929         (userRoot): Use it.
28930
28931 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
28932
28933         * java/util/ResourceBundle.java
28934         (tryBundle): Catch and ignore all Exceptions.
28935
28936 2006-02-28  Roman Kennke  <kennke@aicas.com>
28937
28938         * javax/swing/plaf/basic/BasicScrollBarUI.java
28939         (getPreferredSize): Fixed add a fixed space between the buttons
28940         instead of something related to min/max.
28941         (installComponents): Create and install buttons here.
28942         (installDefaults): Don't create buttons here.
28943         * javax/swing/plaf/metal/MetalScrollBarUI.java
28944         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28945         (getPreferredSize): New method.
28946
28947 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
28948
28949         * examples/gnu/classpath/examples/swing/Demo.java
28950         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
28951         connected 'Spinner' action to SpinnerDemo, 
28952         (mkCheckbox): Removed,
28953         (mkRadio): Likewise,
28954         (mkSpinner): Likewise,
28955         (mkToggle): Likewise,
28956         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28957         connected 'Spinner' action to SpinnerDemo.
28958
28959 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
28960
28961         * javax/print/ServiceUIFactory.java: Added documentation to class.
28962
28963 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
28964
28965         PR classpath/26434
28966         * javax/swing/DefaultListSelectionModel.java:
28967         (addSelectionInterval): Return early if either of the arguments is -1.
28968         (removeSelectionInterval): Likewise.
28969         (setSelectionInterval): Likewise.
28970
28971 2006-02-28  Lillian Angel  <langel@redhat.com>
28972
28973         * javax/swing/text/DefaultFormatter.java
28974         (stringToValue): Added NPE check.
28975
28976 2006-02-28  Roman Kennke  <kennke@aicas.com>
28977
28978         PR classpath/25675
28979         * javax/swing/JList.java
28980         (getPreferredScrollableViewportSize): Restored specified behaviour.
28981         * javax/swing/plaf/metal/MetalFileChooserUI.java
28982         (createList): Set filelist panel's preferredSize, so that it doesn't
28983         get size into infinity for big lists.
28984
28985 2006-02-28  Lillian Angel  <langel@redhat.com>
28986
28987         * javax/swing/ViewportLayout.java
28988         (layoutContainer): Should not extend container to be 
28989         minimum size. Mauve test shows that the preferred size
28990         and the size of the viewport can be set smaller than
28991         the minimum.
28992
28993 2006-02-28  Lillian Angel  <langel@redhat.com>
28994
28995         PR classpath/25675
28996         * javax/swing/JList.java
28997         (getPreferredScrollableViewportSize): Added a check to determine
28998         if orientation is VERTICAL_WRAP. If it is, we should only 
28999         show 3 columns. 
29000
29001 2006-02-28  Lillian Angel  <langel@redhat.com>
29002
29003         PR classpath/26003
29004         * javax/swing/ViewportLayout.java:
29005         Patch submitted by Audrius Meskauskas
29006         (addLayoutComponent): Added documentation.
29007         (removeLayoutComponent): Likewise.
29008         (preferredLayoutSize): Likewise.
29009         (minimumLayoutSize): Likewise.
29010         (layoutContainer): Fixed code, so view is set
29011         to the right position when inside a scrollpane. 
29012
29013 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29014
29015         * java/math/BigInteger.java:
29016         Committed patch by Rafael: 
29017         developer.classpath.org/pipermail/classpath-patches/
29018         2006-February/000473.html
29019         (signum): Return early 0 if words == null and ival == 0.
29020         (readObject): Handle special case of magnitude.length or signum being
29021         0.
29022         (writeObject): If signum is zero return a zero-sized byte[].
29023
29024 2006-02-28  Lillian Angel  <langel@redhat.com>
29025
29026         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29027         (create): Initially set the directory to the current working directory.
29028         (setDirectory): Removed else-if. No need for this check.
29029
29030 2006-02-28  Tom Tromey  <tromey@redhat.com>
29031
29032         * .project: Run java builder before header generation.
29033
29034 2006-02-28  Tom Tromey  <tromey@redhat.com>
29035
29036         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29037         Javadoc fix.
29038         * gnu/java/util/prefs/EventDispatcher.java: New file.
29039         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29040         (NodeWriter): Specify UTF-8.
29041         (writeHeader): Emit DOCTYPE.
29042         * java/util/prefs/Preferences.java (getFactory): Add cause to
29043         exception.
29044         (exportNode): Documented.
29045         (exportSubtree): Likewise.
29046         (importPreferences): Likewise.
29047         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29048         (writeObject): Likewise.
29049         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29050         (writeObject): Likewise.
29051         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29052         (nodeListeners): New field.
29053         (preferenceListeners): Likewise.
29054         (addNodeChangeListener): Implemented.
29055         (addPreferenceChangeListener): Likewise.
29056         (removeNodeChangeListener): Likewise.
29057         (removePreferenceChangeListener): Likewise.
29058         (fire): New methods.
29059         (put): Fire event.
29060         (remove): Likewise.
29061         (purge): Likewise.  Fixed synchronization.
29062         (removeNode): Fixed synchronization.
29063         (getNode): Fire event.
29064         (flushNode): Fixed synchronization.
29065
29066 2006-02-28  Roman Kennke  <kennke@aicas.com>
29067
29068         * javax/swing/text/BranchElement.java
29069         (startOffset): New field.
29070         (endOffset): New field.
29071         (BranchElement): Initialize new fields.
29072         (getEndOffset): Rewritten to possibly return cached values
29073         if element has no children.
29074         (getStartOffset): Rewritten to possibly return cached values
29075         if element has no children.
29076         * javax/swing/text/LeafElement.java
29077         (startDelta): New field.
29078         (endDelta): New field.
29079         (LeafElement): Handle possible delta of start/endOffset when
29080         these parameters lie outside the document range.
29081         (getStartOffset): Handle possible startDelta.
29082         (getEndOffset): Handle possible startDelta.
29083
29084 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29085
29086         * NEWS: Added line about Unicode 4.0.0 support.
29087
29088 2006-02-28  Roman Kennke  <kennke@aicas.com>
29089
29090         * javax/swing/SwingUtilities.java
29091         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29092
29093 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29094
29095         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29096
29097 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29098
29099         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29100         Amended class documentation.
29101         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29102         STRING.
29103         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29104         a BIT STRING construct.
29105         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29106         documentation.
29107         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29108         STRING.
29109         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29110         a BIT STRING construct.
29111         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29112         (engineVerify): Added logging.
29113
29114 2006-02-28  Roman Kennke  <kennke@aicas.com>
29115
29116         * java/awt/Component.java
29117         (dispatchEventImpl): Let the Toolkit dispatch global events.
29118         * java/awt/Container.java
29119         (dispatchEventImpl): Let the LightweightDispatcher handle events
29120         first.
29121         * java/awt/EventQueue.java
29122         (dispatchEvent): Don't do the global event dispatching here. This
29123         is moved to the Component.
29124         (globalDispatchEvent): Moved this method to Toolkit.
29125         * java/awt/LightweightDispatcher.java
29126         (instances): New field.
29127         (getInstance): New method. Delivers an instance of
29128         LightweightDispatcher.
29129         (LightweightDispatcher): Made default constructor private.
29130         (dispatchEvent): New method. Replaces the eventDispatched method.
29131         This now returns true when the event was actually dispatched.
29132         (eventDispatched): Replaced by dispatchEvent.
29133         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29134         received the last MOUSE_RELEASED.
29135         * java/awt/Toolkit.java
29136         (Toolkit): Don't register LightweightDispatcher as global event
29137         handler.
29138         (globalDispatchEvent): Moved here from EventQueue.
29139
29140 2006-02-27  David Daney  <ddaney@avtrex.com>
29141
29142         PR classpath/25851
29143         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29144         up.
29145         (getRequestProperties): Rewrote.
29146
29147 2006-02-27  David Daney  <ddaney@avtrex.com>
29148
29149         PR classpath/26312
29150         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29151         up.
29152         (ChunkedInputStream): Extend InputStream.
29153         (in): New field.
29154         (headers): Moved to top of class.
29155         (constructor): Save referenct to in.
29156         (read(byte[])): Removed method.
29157         (read(byte[], int, int)): Made synchronized and throw IOException
29158         on error parsing chunk header.
29159         (available): New method.
29160         (close): New method.
29161
29162 2006-02-27  David Daney  <ddaney@avtrex.com>
29163
29164         * gnu/java/net/protocol/http/HTTPURLConnection.java
29165         (imports): Cleaned up.
29166         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29167         (constructor): ... Here, using SystemProperties instead of System.
29168         
29169 2006-02-27  Lillian Angel  <langel@redhat.com>
29170
29171         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29172         (setDirectory): GtkFileChooser requires an absolute directory
29173         name. Added a check to make the directory passed to nativeSetDirectory
29174         is absolute.
29175
29176 2006-02-27  Roman Kennke  <kennke@aicas.com>
29177
29178         * javax/swing/SwingUtilities.java
29179         (computeIntersection): Changed to store result in rect, instead of
29180         creating new Rectangle instances. Fixed API docs accordingly.
29181         (computeUnion): Changed to store result in rect, instead of
29182         creating new Rectangle instances. Fixed API docs accordingly.
29183
29184 2006-02-27  Roman Kennke  <kennke@aicas.com>
29185
29186         * javax/swing/JViewport.java
29187         (static_init): Changed default scrollmode to BLIT.
29188         (paintSimple): Added some clipping to avoid painting problems.
29189         (paintBlit): Added some clipping to avoid painting problems.
29190
29191 2006-02-27  Roman Kennke  <kennke@aicas.com>
29192
29193         * javax/swing/JComponent.java
29194         (rectCache): Made field static to save memory.
29195         (getVisibleRect): Don't use rectCache and create new Rectangle
29196         instance instead.
29197         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29198         (repaint(long,int,int,int,int)): Directly call
29199         RepaintManager.addDirtyRegion(). The visibleRect check is now
29200         performed in the RepaintManager.
29201
29202 2006-02-27  Roman Kennke  <kennke@aicas.com>
29203
29204         * javax/swing/RepaintManager.java
29205         (currentRepaintManagers): Made field private.
29206         (rectCache): New field.
29207         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29208         component. Changed Rectangle handling to avoid unnecessary new
29209         Rectangle instances.
29210         (getOffscreenBuffer): Create buffer with size of the root window.
29211         Respect the maximum buffer size here.
29212         (commitBuffer): Align the regions so that they are inside the buffer
29213         image and inside the clip. This avoids problems with a bug in GTKImage.
29214         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29215
29216 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29217
29218         * native/fdlibm/e_acos.c,
29219         * native/fdlibm/e_asin.c,
29220         * native/fdlibm/e_atan2.c,
29221         * native/fdlibm/e_cosh.c,
29222         * native/fdlibm/e_exp.c,
29223         * native/fdlibm/e_fmod.c,
29224         * native/fdlibm/e_hypot.c,
29225         * native/fdlibm/e_log.c,
29226         * native/fdlibm/e_log10.c,
29227         * native/fdlibm/e_rem_pio2.c,
29228         * native/fdlibm/e_remainder.c,
29229         * native/fdlibm/e_sinh.c,
29230         * native/fdlibm/e_sqrt.c,
29231         * native/fdlibm/k_cos.c,
29232         * native/fdlibm/k_sin.c,
29233         * native/fdlibm/k_tan.c,
29234         * native/fdlibm/s_atan.c,
29235         * native/fdlibm/s_cbrt.c,
29236         * native/fdlibm/s_ceil.c,
29237         * native/fdlibm/s_copysign.c,
29238         * native/fdlibm/s_cos.c,
29239         * native/fdlibm/s_expm1.c,
29240         * native/fdlibm/s_fabs.c,
29241         * native/fdlibm/s_finite.c,
29242         * native/fdlibm/s_floor.c,
29243         * native/fdlibm/s_log1p.c,
29244         * native/fdlibm/s_rint.c,
29245         * native/fdlibm/s_scalbn.c,
29246         * native/fdlibm/s_sin.c,
29247         * native/fdlibm/s_tan.c,
29248         * native/fdlibm/s_tanh.c:
29249         Fixed to call our macros rather than __HI and __LO.
29250         * native/fdlibm/fdlibm.h:
29251         Reintroduced previous extraction code.
29252         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29253         (GET_HIGH_WORD(i,d)): Readded.
29254         (GET_LOW_WORD(i,d)): Readded.
29255         (INSERT_WORDS(d,ix0,ix1)): Readded.
29256         (SET_HIGH_WORD(d,i)): Readded.
29257         (SET_LOW_WORD(d,i)): Readded.
29258         * native/jni/gtk-peer/gthread-jni.c:
29259         Use Glib macros to convert integers/pointers portably.
29260         
29261 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29262
29263         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29264         as the fallback SPI.
29265         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29266         ones referencing GNU-CRYPTO classes.
29267         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29268         (engineValidate): Use GNU-CRYPTO class.
29269         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29270         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29271         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29272         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29273         * gnu/java/security/provider/DSAParameters: Likewise.
29274         * gnu/java/security/provider/DSASignature: Likewise.
29275         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29276         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29277         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29278         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29279         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29280         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29281         * gnu/java/security/provider/MD2withRSA: Likewise.
29282         * gnu/java/security/provider/MD4withRSA: Likewise.
29283         * gnu/java/security/provider/MD5: Likewise.
29284         * gnu/java/security/provider/MD5withRSA: Likewise.
29285         * gnu/java/security/provider/RSA: Likewise.
29286         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29287         * gnu/java/security/provider/SHA: Likewise.
29288         * gnu/java/security/provider/SHA1PRNG: Likewise.
29289         * gnu/java/security/provider/SHA1withRSA: Likewise.
29290         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29291
29292 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29293
29294         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29295         (engineGeneratePublic): Added logging.
29296         (engineGeneratePrivate): Likewise.
29297         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29298         (encodePublicKey): Added logging.
29299         Clarified in method documentation that params is optional, but is
29300         always NULL if present.
29301         (decodePublicKey): Added logging.
29302         Handle optional NULL element.
29303
29304 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29305
29306         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29307
29308 2006-03-03  Tom Tromey  <tromey@redhat.com>
29309
29310         * java/awt/MenuBar.java (shortcuts): Genericized.
29311
29312 2006-03-03  Tom Tromey  <tromey@redhat.com>
29313
29314         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29315         Genericized.
29316         (getListenerType): Likewise.
29317         * java/beans/Introspector.java (getBeanInfo): Genericized.
29318         * java/beans/DefaultPersistenceDelegate.java (initialize):
29319         Genericized.
29320
29321 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29322
29323         * java/math/BigDecimal.java:
29324         (precision): Fixed overflow problem with large numbers.
29325         (longValueExact): New method.
29326         (intValueExact): Likewise.
29327         (byteValueExact): Likewise.
29328         (shortValueExact): Likewise.
29329
29330 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29331
29332         * java/math/BigDecimal.java:
29333         (remainder(BigDecimal)): New method.
29334         (divideAndRemainder(BigDecimal)): Likewise.
29335         (divideToIntegralValue(BigDecimal)): Likewise.
29336         (floor): New implementation method.
29337
29338 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29339
29340         * java/math/BigDecimal.java:
29341         (divide(BigDecimal, int, RoundingMode)): New method.
29342         (divide(BigDecimal, RoundingMode)): Likewise.
29343         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29344         when the new scale is < 0.
29345         (setScale(int, RoundingMode)): New method.
29346         (ulp): Likewise.
29347
29348 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29349
29350         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29351         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29352         (add(BigDecimal, MathContext)): New method.
29353         (subtract(BigDecimal, MathContext)): Likewise.
29354         (precision): Fixed to correctly handle BigIntegers with more than 19
29355         digits.
29356         (pow(int, MathContext)): New method.
29357
29358 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29359
29360         * java/math/BigDecimal.java: Added @throws clause to constructors.
29361         (mathContext): Removed this unneeded field.
29362         (BigDecimal(int, MathContext)): New constructor.
29363         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29364         (multiply(BigDecimal, MathContext)): New method.
29365         (negate(MathContext)): Likewise.
29366         (plus(MathContext)): Likewise.
29367         (numDigitsInLong): Fixed to properly handle negatives.
29368         
29369 2006-02-25  Chris Burdess  <dog@gnu.org>
29370   
29371         * gnu/java/net/CRLFInputStream.java,
29372           gnu/java/net/LineInputStream.java: Streams that use mark
29373           capabilities on the underlying stream do not expose mark
29374           functionality themselves.
29375         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29376           off > 0.
29377
29378 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29379
29380         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29381         option flags passed to match methods.
29382         (MF_FIND_ALL): New flag.
29383         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29384         do not try other possibilties once a match is found.
29385         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29386         so that all possibilities can be found.
29387         (match): Rewritten using new methods matchMinimum and _match.
29388         (_match): New method which performs a depth-first recursive search.
29389         (matchMinimum): New method.
29390         (initVisited), (visitedContains), (addVisited): New methods for
29391         manipulating an array of icharacter positions which _match has
29392         already visited.
29393
29394 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29395
29396         * java/math/BigDecimal.java:
29397         (BigDecimal(long, MathContext)): New constructor.
29398         (BigDecimal(BigInteger, MathContext)): Likewise.
29399         (BigDecimal(String, MathContext)): Likewise.
29400         (BigDecimal(double, MathContext)): Likewise.
29401         (round): Fixed a typo where the precision field was used instead of a
29402         call to the precision method, and also store the new precision in the
29403         returned BigDecimal.
29404         (abs(MathContext)): New method.
29405
29406 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29407
29408         * java/math/BigDecimal.java
29409         (toBigInteger): Fixed problem where this method couldn't handle 
29410         negative values for scale.
29411         (toBigIntegerExact): New method.
29412         (stripTrailingZeros): Likewise.
29413
29414 2006-02-24  David Daney  <ddaney@avtrex.com>
29415
29416         PR classpath/26082
29417         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29418         type Pool.
29419         (Pool): New inner class.
29420         (timeLastUsed): New field.
29421         (setPool): Changed parameter type to Pool.
29422         (release): Moved pool management logic to new class Pool.
29423         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29424         Removed.
29425         (maxConnections) : Removed.
29426         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29427         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29428   
29429 2006-02-24  Lillian Angel  <langel@redhat.com>
29430   
29431         * java/awt/Container.java:
29432         Added new field. True if Container has been cleared and
29433         heavyweights need to be repainted.
29434         (paint): Fixed comment. Fixed to use backCleared and 
29435         reset backCleared.
29436         (update): Set backCleared to true after the background
29437         of the container has been cleared.
29438   
29439 2006-02-24  Lillian Angel  <langel@redhat.com>
29440   
29441         * java/awt/TextField.java
29442         (addNotify): Added call to super.
29443   
29444 2006-02-24  Lillian Angel  <langel@redhat.com>
29445   
29446         * java/awt/Component.java
29447         (reshape): Reverted last patch. Should have check here.
29448         (addNotify): Added check. If parent is lightweight, then
29449         initialize listener on the parent.
29450         (HeavyweightInLightweightListener): New class.
29451   
29452 2006-02-24  Roman Kennke  <kennke@aicas.com>
29453   
29454         * javax/swing/plaf/basic/BasicComboPopup.java
29455         (show): Register the popup with the autocloser after it has been
29456         opened completely, by putting the registration on the eventqueue.
29457   
29458 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29459   
29460         * gnu/java/security/prng/BasePRNG.java:
29461         (clone()): Added cast of buffer to byte[].
29462         * gnu/javax/crypto/mac/TMMH16.java:
29463         (clone()): Fixed casting of cloned arrays.
29464         * native/fdlibm/fdlibm.h:
29465         Added missing defines from old fdlibm.h needed by Darwin.
29466         (GET_FLOAT_WORD(i,d)): Re-added.
29467         (SET_FLOAT_WORD(d,i)): Re-added.
29468         
29469 2006-02-24  Roman Kennke  <kennke@aicas.com>
29470   
29471         * java/awt/Container.java:
29472         (dispatcher): Removed field.
29473         (dispatchEventImpl): Removed lightweight dispatching.
29474         (addNotifyContainerChildren): Removed LightweightDispatcher
29475         handling.
29476         (LightweightDispatcher): Removed class.
29477         * java/awt/LightweightDispatcher.java: New class.
29478         * java/awt/Toolkit.java
29479         (Toolkit): Install LightweightDispatcher in global listener
29480         array.
29481   
29482 2006-02-24  Chris Burdess  <dog@gnu.org>
29483   
29484         Fixes PR 26324
29485         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29486           off > 0.
29487   
29488 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29489   
29490         * NEWS: Mentions the VMMath runtime changes.
29491         * doc/vmintegration.texinfo: Updated to include
29492         VMMath.
29493   
29494 2006-02-24  Roman Kennke  <kennke@aicas.com>
29495   
29496         * javax/swing/plaf/basic/BasicLookAndFeel.java
29497         (PopupHelper.autoClosePopups): New field.
29498         (PopupHelper.mousePressed): Also autoclose any registered popups.
29499         (PopupHelper.registerForAutoClose): New method.
29500         (PopupHelper.autoClosePopups): New method.
29501         (popupHelper): Changed type of field to PopupHelper.
29502         (registerForAutoClose): New method.
29503         * javax/swing/plaf/basic/BasicComboPopup.java
29504         (show): Register this popup for autoclosing.
29505   
29506 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29507   
29508         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29509         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29510         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29511   
29512 2006-02-24  Roman Kennke  <kennke@aicas.com>
29513   
29514         Reported by Ingo Proetel <proetel@aicas.com>
29515         * java/util/logging/LogManager.java
29516         (addLogger): Search the parent loggers for log level
29517         configuration and inherit that.
29518         (readConfiguration): Provide minimal default configuration
29519         if no configuration can be found otherwise.
29520
29521 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29522
29523         * java/math/BigDecimal.java:
29524         (toString): Fixed a problem where the negative sign was being displayed
29525         twice in the exponent.
29526         (toEngineeringString): New method.
29527         (toPlainString): Likewise.
29528         (pow): Likewise.
29529
29530 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29531
29532         * java/math/BigDecimal.java:
29533         (toString): Rewrote this method to behave as specified.  Added API
29534         comments to explain behaviour.
29535         (scaleByPowerOfTen): New method.
29536
29537 2006-02-23  Roman Kennke  <kennke@aicas.com>
29538   
29539         * javax/swing/JRootPane.java
29540         (isOptimizedDrawingEnabled): Implemented to return true
29541         when the glassPane is not visible.
29542   
29543 2006-02-23  Roman Kennke  <kennke@aicas.com>
29544   
29545         * javax/swing/plaf/basic/BasicLookAndFeel.java
29546         (PopupHelper): New inner class.
29547         (popupHelper): New field.
29548         (initialize): New method.
29549         (uninitialize): New method.
29550         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29551         (mouseInputListener): Removed field.
29552         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29553         handling of GlassPane.
29554         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29555         handling of GlassPane.
29556         (MouseInputHandler): Removed class.
29557
29558 2006-02-23  Roman Kennke  <kennke@aicas.com>
29559
29560         * java/awt/AWTEvent.java
29561         (eventIdToMask): New utility method.
29562         * java/awt/EventQueue.java
29563         (dispatchEvent): Also globally dispatch events via the toolkit.
29564         (globalDispatchEvent): New method.
29565         * java/awt/Toolkit.java
29566         (awtEventListeners): New field.
29567         (Toolkit()): Initialize new field.
29568         (createComponent): Create GLightweightPeer here.
29569         (addAWTEventListener): Implemented and documented.
29570         (removeAWTEventListener): Implemented and documented.
29571         (getAWTEventListeners): Implemented and documented both method
29572         variants.
29573         * java/awt/event/AWTEventListenerProxy.java
29574         (eventDispatched): Don't filter events here.
29575
29576 2006-02-23  Chris Burdess  <dog@gnu.org>
29577
29578         Fixes PR 26410
29579         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29580           gnu/xml/dom/JAXPFactory.java,
29581           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29582           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29583           implement DocumentBuilderFactory.get/setFeature methods.
29584
29585 2006-02-23  Lillian Angel  <langel@redhat.com>
29586
29587         * gnu/java/awt/peer/GLightweightPeer.java
29588         (repaint): Scott's proposed fix. Send repaint to the
29589         component's parent.
29590         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29591         (setBounds): Removed next_parent, not needed. Removed
29592         lightweightChild, we always need to compensate for the
29593         menu bar's height.
29594         * java/awt/Component.java
29595         (setBounds): Removed check. Caused lots of problems, because some
29596         components were not being invalidated. Components should be
29597         invalidated when they are resized or moved, and in some cases,
29598         when a parent is resized/moved, the components do not know
29599         about it and do not adjust.
29600         * java/awt/Graphics.java
29601         (hitClip): Scott's proposed fix. Added check to handle a 
29602         null clip.
29603   
29604 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29605   
29606         * javax/print/attribute/standard/MediaSize.java: 
29607         (media): Field renamed to mediaName for serialization.
29608         (MediaSize): Adapted to new fieldname.
29609         (getMediaSizeName): Likewise.
29610         * javax/print/attribute/HashAttributeSet.java: 
29611         (interfaceName): Field renamed to myInterface for serialization.
29612         (HashAttributeSet): Adapted to the new fieldname.
29613         (add): Likewise.
29614         (addAll): Likewise.
29615         (addInternal): Likewise.
29616         (attributeMap): Made transient.
29617         (readObject): New serialization method.
29618         (writeObject): Likewise.
29619         * javax/print/attribute/AttributeSetUtilities.java: 
29620         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29621         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29622         (SynchronizedAttributeSet.addAll): Likewise.
29623         (SynchronizedAttributeSet.clear): Likewise.
29624         (SynchronizedAttributeSet.containsKey): Likewise.
29625         (SynchronizedAttributeSet.containsValue): Likewise.     
29626         (SynchronizedAttributeSet.equals): Likewise.
29627         (SynchronizedAttributeSet.get): Likewise.
29628         (SynchronizedAttributeSet.hashCode): Likewise.  
29629         (SynchronizedAttributeSet.isEmpty): Likewise.
29630         (SynchronizedAttributeSet.remove): Likewise.    
29631         (SynchronizedAttributeSet.size): Likewise.      
29632         (SynchronizedAttributeSet.toArray): Likewise.   
29633         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29634         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29635         (UnmodifiableAttributeSet.addAll): Likewise.
29636         (UnmodifiableAttributeSet.clear): Likewise.
29637         (UnmodifiableAttributeSet.containsKey): Likewise.
29638         (UnmodifiableAttributeSet.containsValue): Likewise.     
29639         (UnmodifiableAttributeSet.equals): Likewise.
29640         (UnmodifiableAttributeSet.get): Likewise.
29641         (UnmodifiableAttributeSet.hashCode): Likewise.  
29642         (UnmodifiableAttributeSet.isEmpty): Likewise.
29643         (UnmodifiableAttributeSet.remove): Likewise.    
29644         (UnmodifiableAttributeSet.size): Likewise.      
29645         (UnmodifiableAttributeSet.toArray): Likewise.   
29646         * javax/print/attribute/standard/MediaPrintableArea.java: 
29647         (width): Field renamed to w for serialization.
29648         (height): Field renamed to h for serialization. 
29649         (MediaPrintableArea): Adapted to the new fieldnames.    
29650         (MediaPrintableArea): Likewise.
29651         (equals): Likewise.
29652         (hashCode): Likewise.
29653         (getHeight): Likewise.
29654         (getWidth): Likewise.
29655   
29656 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29657   
29658         * include/java_lang_VMMath.h:
29659         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29660         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29661         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29662         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29663         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29664         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29665         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29666         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29667         * java/lang/Math.java:
29668         (cbrt(double)): Implemented.
29669         (cosh(double)): Implemented.
29670         (expm1(double)): Implemented.
29671         (hypot(double,double)): Implemented.
29672         (log10(double)): Implemented.
29673         (log1p(double)): Implemented.
29674         (signum(double)): Implemented.
29675         (signum(float)): Implemented.
29676         (sinh(double)): Implemented.
29677         (tanh(double)): Implemented.
29678         * native/fdlibm/Makefile.am:
29679         Added new files from fdlibm 5.3.
29680         * native/fdlibm/e_acos.c,
29681         * native/fdlibm/e_asin.c,
29682         * native/fdlibm/e_atan2.c,
29683         * native/fdlibm/e_exp.c,
29684         * native/fdlibm/e_fmod.c,       
29685         * native/fdlibm/e_log.c,
29686         * native/fdlibm/e_rem_pio2.c,
29687         * native/fdlibm/e_remainder.c,
29688         * native/fdlibm/e_scalb.c,
29689         * native/fdlibm/e_sqrt.c,
29690         * native/fdlibm/k_cos.c,
29691         * native/fdlibm/k_rem_pio2.c,
29692         * native/fdlibm/k_sin.c,
29693         * native/fdlibm/k_tan.c,
29694         * native/fdlibm/s_atan.c,
29695         * native/fdlibm/s_ceil.c,
29696         * native/fdlibm/s_copysign.c,
29697         * native/fdlibm/s_cos.c,
29698         * native/fdlibm/s_fabs.c,
29699         * native/fdlibm/s_finite.c,
29700         * native/fdlibm/s_floor.c,
29701         * native/fdlibm/s_rint.c,
29702         * native/fdlibm/s_scalbn.c,
29703         * native/fdlibm/s_sin.c,
29704         * native/fdlibm/s_tan.c,
29705         * native/fdlibm/w_acos.c,
29706         * native/fdlibm/w_asin.c,
29707         * native/fdlibm/w_atan2.c,
29708         * native/fdlibm/w_acos.c,
29709         * native/fdlibm/w_exp.c,
29710         * native/fdlibm/w_fmod.c,
29711         * native/fdlibm/w_log.c,
29712         * native/fdlibm/w_pow.c,
29713         * native/fdlibm/w_remainder.c,
29714         * native/fdlibm/w_sqrt.c:
29715         Updated to fdlibm 5.3.
29716         * native/fdlibm/e_cosh.c,
29717         * native/fdlibm/e_hypot.c,
29718         * native/fdlibm/e_log10.c,
29719         * native/fdlibm/e_sinh.c,
29720         * native/fdlibm/s_cbrt.c,
29721         * native/fdlibm/s_expm1.c,
29722         * native/fdlibm/s_log1p.c,
29723         * native/fdlibm/s_tanh.c,
29724         * native/fdlibm/w_cosh.c,
29725         * native/fdlibm/w_hypot.c,
29726         * native/fdlibm/w_log10.c,
29727         * native/fdlibm/w_sinh.c:
29728         Imported from fdlibm 5.3.
29729         * native/fdlibm/fdlibm.h:
29730         Imported from fdlibm 5.3 with Classpath additions.
29731         * native/fdlibm/namespace.h:
29732         Updated from new math_symbols file.
29733         * native/jni/java-lang/java_lang_VMMath.c:
29734         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29735         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29736         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29737         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29738         Implemented.
29739         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29740         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29741         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29742         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29743         * scripts/math_symbols:
29744         Added tanh, expm1, log10 and log1p.
29745         * vm/reference/java/lang/VMMath.java:
29746         (cbrt(double)): Implemented.
29747         (cosh(double)): Implemented.
29748         (expm1(double)): Implemented.
29749         (hypot(double,double)): Implemented.
29750         (log10(double)): Implemented.
29751         (log1p(double)): Implemented.
29752         (sinh(double)): Implemented.
29753         (tanh(double)): Implemented.
29754         
29755 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29756
29757         * javax/print/DocFlavor.java: Added documentation all over.
29758         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29759         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29760         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29761         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29762         (URL.TEXT_HTML_HOST): Likewise.
29763         (URL.TEXT_PLAIN_HOST): Likewise.
29764         (hostEncoding): Initialize with host default charset encoding.
29765         (mediaSubtype): Made transient.
29766         (mediaType): Likewise.
29767         (params): Made transient. Changed type to TreeMap.
29768         (className): Removed, changed to myClassName.
29769         (myClassName): New field as defined in serialized form.
29770         (DocFlavor): Adapted to new variable types, names.
29771         (parseMimeType): Reimplemented.
29772         (getParameter): Search with lowercase name.
29773         (getRepresentationClassName): Adapted to changed variable name.
29774         (hashCode): Likewise.
29775         (toString): Reimplemented.
29776         (readObject): New method for serialization.
29777         (writeObject): Likewise.
29778   
29779 2006-02-23  Roman Kennke  <kennke@aicas.com>
29780   
29781         * javax/swing/RepaintManager.java
29782         (commitBuffer): Clip the repaint area with the current clip.
29783   
29784 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
29785   
29786         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29787         (DEFAULT_PRIME_SIZE): Made public.
29788         (DEFAULT_EXPONENT_SIZE): Likewise.
29789         (setup): Handle DHParameterSpec as well.
29790         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29791         defaultFormat instead of Raw.
29792         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29793         (checkIsConstructed): Removed.
29794         (checkIsBigInteger): Likewise.
29795         (decodePublicKey): Use DerUtil.
29796         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29797         (checkIsConstructed): Removed.
29798         (checkIsBigInteger): Likewise.
29799         (decodePrivateKey): Use DerUtil.
29800         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29801         KeyAgreement.DH.
29802         Added mappings for AlgorithmParameters.DH and
29803         AlgorithmParameterGenerator.DH.
29804         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29805         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29806         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29807         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29808         Return result.
29809         (engineGeneratePublic): Likewise.
29810         * gnu/java/security/util/DerUtil.java: New file.
29811         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29812         Include only valid RSA PKCS1 (v1.5) signature names.
29813         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29814         (RSAPKCS1V1_5SignatureX509Codec): Removed.
29815         (checkIsConstructed): Likewise.
29816         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29817         (checkIsConstructed): Removed.
29818         (checkIsBigInteger): Likewise.
29819         (decodeSignature): Use DerUtil.
29820         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29821         (checkIsConstructed): Removed.
29822         (checkIsBigInteger): Likewise.
29823         (decodePublicKey): Use DerUtil.
29824         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29825         (checkIsConstructed): Removed.
29826         (checkIsBigInteger): Likewise.
29827         (decodePrivateKey): Use DerUtil.
29828         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29829         (checkIsConstructed): Removed.
29830         (checkIsBigInteger): Likewise.
29831         (decodePublicKey): Use DerUtil.
29832         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29833         (checkIsConstructed): Removed.
29834         (checkIsBigInteger): Likewise.
29835         (decodePrivateKey): Use DerUtil.
29836         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29837         (DEFAULT_MODULUS_LENGTH): Made it public.
29838         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29839         defaultFormat instead of Raw.
29840         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29841         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29842         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29843         Return result.
29844         (engineGeneratePublic): Likewise.
29845         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29846
29847 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
29848
29849         * java/math/BigDecimal.java:
29850         (BigDecimal(char[], int, int, MathContext)): New constructor.
29851         (BigDecimal(char[], MathContext)): Likewise.
29852         (BigDecimal(char[])): Likewise.
29853         (BigDecimal(char[], int, int)): Likewise.
29854         (BigDecimal(String)): Fixed handling of exponent and scale.
29855
29856 2006-02-22  Mark Wielaard  <mark@klomp.org>
29857
29858         * java/awt/Checkbox.java (setState): Check that state actually changed
29859         before calling peer.
29860         (dispatchEventImpl): Set new state if ItemEvent.
29861         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29862         (create): Set currentState.
29863         (setState): Make synchronized, check and set currentState before
29864         calling gtkToggleButtonSetActive.
29865         (postItemEvent): Make synchronized, check and set currentState before
29866         posting ItemEvent.
29867         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29868         (postItemEventID): Method now takes boolean.
29869         (item_toggled_cb): Likewise.
29870   
29871 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29872   
29873         * javax/swing/text/DefaultHighlighter.java:
29874         (changeHighlight): Added code to minimize the damaged area.
29875   
29876 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29877   
29878         * javax/swing/text/PlainView.java:
29879         (getPreferredSpan): Added missing 'break'.
29880         statement which corrects an unwanted fall through.
29881         (updateDamage): Update maxLineLength correctly when text is
29882         removed, call preferenceChanged accordingly.
29883         (viewToModel): Restrict line number to be within 0 and the
29884         number of elements-1.
29885   
29886 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29887   
29888         * javax/swing/text/Utilities.java:
29889         (getPositionAbove): Prefer first value by changing comparison
29890         from < to <=.
29891         (getPositionBelow): Dito.
29892   
29893 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29894   
29895         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29896         behavior when magic caret position is null.
29897   
29898 2006-02-22  Roman Kennke  <kennke@aicas.com>
29899   
29900         * javax/swing/JTextField.java
29901         (isValidateRoot): New method.
29902   
29903 2006-02-22  Roman Kennke  <kennke@aicas.com>
29904   
29905         * javax/swing/JEditorPane.java
29906         (getPreferredSize): Rewritten to behave like the reference impl.
29907         (getScrollableTracksViewportWidth): Likewise.
29908         (getScrollableTracksViewportHeight): Likewise.
29909   
29910 2006-02-22  Roman Kennke  <kennke@aicas.com>
29911   
29912         * javax/swing/RepaintManager.java
29913         (addInvalidComponent): Also consider the component itself.
29914   
29915 2006-02-22  Mark Wielaard  <mark@klomp.org>
29916   
29917         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29918         qualify AbstractDocument.AttributeContext.
29919         (blockOpen): Likewise.
29920   
29921 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29922
29923         * java/math/BigDecimal.java:
29924         (mathContext): New field.
29925         (precision): Likewise.
29926         (BigDecimal(int)): New constructor.
29927         (BigDecimal(long)): Likewise.
29928         (BigDecimal(BigInteger)): Added API docs.
29929         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29930         and added API docs.
29931         (plus): New method.
29932         (round): Likewise.
29933         (precision): Likewise.
29934         (valueOf): Likewise.
29935         (numDigitsInLong): New implementation method.
29936
29937 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29938
29939         * java/math/MathContext.java: New class.
29940         * java/math/RoundingMode: New Enum.
29941
29942 2006-02-21  Mark Wielaard  <mark@klomp.org>
29943   
29944         * java/awt/Component.java (translateEvent): Translate
29945         AdjustmentEvents to 1.0 Events.
29946         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29947         Call setValue() before processing event.
29948         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29949         whether we are currently changing and being called back from the
29950         Scrollbar component.
29951         (setBarValues): New native method.
29952         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29953         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29954         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29955         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29956         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29957   
29958 2006-02-21  Roman Kennke  <kennke@aicas.com>
29959   
29960         * javax/swing/text/View.java
29961         (setParent): Set child parent to null when disconnecting
29962         the view from the View hierarchy.
29963   
29964 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29965   
29966         * javax/print/StreamPrintService.java: Added and enhanced documentation.
29967   
29968 2006-02-21  Roman Kennke  <kennke@aicas.com>
29969   
29970         * javax/swing/text/WrappedPlainView.java
29971         (calculateBreakPosition): Changed to use the view's allocation instead
29972         of the container's preferredSize.
29973   
29974 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29975   
29976         * java/awt/CardLayout.java:
29977         (first): Updated api documentation.
29978         (last): Likewise.
29979         (next): Likewise.
29980         (previous): Likewise.
29981         (show): Clarified api docs. Return if name is null. Throw
29982         IllegalArgumentException if layout of container is not this.
29983         (gotoComponent): Updated api documentation. Throw
29984         IllegalArgumentException if layout of container is not this.
29985   
29986 2006-02-21  Roman Kennke  <kennke@aicas.com>
29987   
29988         * javax/swing/text/NavigationFilter.java
29989         (getNextVisualPositionFrom): New method.
29990   
29991 2006-02-21  Roman Kennke  <kennke@aicas.com>
29992   
29993         * javax/swing/plaf/basic/BasicTextUI.java
29994         (RootView.setView): Call setParent() on the view with this as
29995         argument instead of null.
29996         (setView): Don't set root view's parent here.
29997   
29998 2006-02-21  Roman Kennke  <kennke@aicas.com>
29999   
30000         * javax/swing/text/AbstractDocument.java
30001         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30002         the resolving parent.
30003         (AbstractElement.getResolveParent): Fixed to handle possible null
30004         parent.
30005         * javax/swing/text/BoxView.java
30006         (childReqs): New field.
30007         (paint): Added debugging code (commented out).
30008         (getPreferredSpan): Rewritten to use new update* methods.
30009         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30010         for the minor axis and preferredSpan for the major axis.
30011         (getMinimumSpan): Rewritten to use new update* methods.
30012         (baselineRequirements): Rewritten to avoid creation of 
30013         unnecessary SizeRequirements objects.
30014         (baselineLayout): Rewritten to use new update* methods.
30015         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30016         unnecessary SizeRequirements objects.
30017         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30018         unnecessary SizeRequirements objects.
30019         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30020         into warnings.
30021         (layoutMajorAxis): Rewritten to use new update* methods.
30022         (layoutMinorAxis): Rewritten to use new update* methods.
30023         (getChildRequirements): Replaced by the update* methods.
30024         (getAlignment): Use update* methods.
30025         (updateChildRequirements): New methods. Updates the child requirements
30026         if necessary.
30027         (updateRequirements): New methods. Updates the BoxView requirements
30028         if necessary.
30029         * javax/swing/text/DefaultStyledDocument.java
30030         (ElementBuffer.insert): Added warning for illegal replacement operation.
30031         * javax/swing/text/FlowView.java
30032         (layoutRow): When offset doesn't change, return -1.
30033         (LogicalView): Now subclasses BoxView.
30034         (loadChildren): Let the CompositeView.setParent() load the children
30035         of the logicalView.
30036         (calculateMinorRequirements): New overridden method.
30037         * javax/swing/text/GlyphView.java
30038         (DefaultGlyphPainter.paint): Fixed typo.
30039         (startOffset): Made field private.
30040         (endOffset): Made field private.
30041         (paint): Call getStartOffset() and getEndOffset() instead of the
30042         element methods.
30043         (isStrikeThrough): Fixed typo.
30044         (breakView): Use Utilities.getBreakLocation() to determine best
30045         break location.
30046         (changedUpdate): Call preferencedChange on this instead of parent.
30047         (removeUpdate): Call preferencedChange on this instead of parent.
30048         * javax/swing/text/ParagraphView.java
30049         (Row.getAlignment): For Y_AXIS, call super.
30050         (getAlignment): Likewise.
30051         * javax/swing/text/Utilities.java
30052         (getBreakLocation): Set Segment object directly on the BreakIterator.
30053         * javax/swing/text/html/HTML.java
30054         (Attribute): Made class non-serializable and final as specified.
30055         (Attribute(String)): Made constructor private.
30056         (Attribute.compareTo): Removed.
30057         (Attribute.equals): Removed.
30058         (Attribute.hashCode): Removed.
30059         (Tag): Made class non-comparable and non-serializable as specified.
30060         (Tag.compareTo): Removed.
30061         (Tag.equals): Removed.
30062         (Tag.hashCode): Removed.
30063         * javax/swing/text/html/HTMLDocument.java
30064         (HTMLReader.blockOpen): Add tag as name attribute to element.
30065         * javax/swing/text/html/HTMLEditorKit.java
30066         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30067         fallback.
30068         * javax/swing/text/html/InlineView.java
30069         (setPropertiesFromAttributes): Call super.
30070         * javax/swing/text/html/NullView.java: New class.
30071   
30072 2006-02-21  Roman Kennke  <kennke@aicas.com>
30073   
30074         PR classpath/26368
30075         * javax/swing/text/GapContent.java
30076         (GapContentPosition): Made class private.
30077         (InsertUndo): Made class private.
30078         (UndoRemove): Made class private.
30079         (WeakPositionComparator): New inner class.
30080         (positions): Made field private.
30081         (createPosition): Clear up GC'ed positions before creating
30082         a new one. Store position as WeakReference.
30083         (getPositionsInRange): Changed to handle WeakReference
30084         positions.
30085         (setPositionsInRange): Changed to handle WeakReference
30086         positions.
30087         (adjustPositionsInRange): Changed to handle WeakReference
30088         positions.
30089         (dumpPositions): Handle WeakReference positions.
30090         (clearPositionReferences): New method.
30091   
30092 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30093   
30094         * javax/swing/plaf/basic/BasicTextUI.java:
30095         (paint): Remove unneccessary part of the if-expression.
30096         (damageRange): Added case where the range spans multiple lines.
30097         * javax/swing/text/DefaultCaret.java:
30098         (clearHighlight): New method.
30099         (handleHighlight): Removed unneccessary part of the if-expression.
30100         (setDot): Use clearHighlight method.
30101         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30102         of Vector.
30103         (paint): Prevented calling size() on every loop iteration, fixed
30104         calculation of allocation area bounds.
30105         (getHighlights): Implemented.
30106         (removeHighlight): Mark damaged area in textcomponent.
30107         (addHighlight): Mark damaged area in textcomponent.
30108         (changeHighlight): Mark damaged area in textcomponent.
30109         (DefaultHighlighter.HighlightEntry): Made it a real
30110         Highlighter.Highlight implementation.
30111         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30112         calculations.
30113
30114 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30115
30116         * java/util/zip/ZipConstants.java
30117         (LOCSIG): Change type to long.
30118         (EXTSIG): Likewise.
30119         (CENSIG): Likewise.
30120         (ENDSIG): Likewise.
30121         * java/util/zip/ZipOutputStream.java
30122         (writeLeInt(long)): New method.
30123   
30124 2006-02-21  Michael Koch  <konqueror@gmx.de>
30125   
30126         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30127   
30128 2006-02-20  Mark Wielaard  <mark@klomp.org>
30129   
30130         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30131         (begin_drawing_operation): Output stacktrace and return on bad cairo
30132         status.
30133         (end_drawing_operation): Likewise. And reset cairo_t.
30134   
30135 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30136   
30137         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30138         in backward selection action.
30139   
30140 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30141   
30142         * java/lang/reflect/Proxy.java:
30143         (ProxyData.getProxyData): Skipped overriding of core methods.
30144         (ProxyData.isCoreObjectMethod): New method.
30145   
30146 2006-02-20  Mark Wielaard  <mark@klomp.org>
30147   
30148         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30149   
30150 2006-02-20  Roman Kennke  <kennke@aicas.com>
30151   
30152         * javax/swing/text/html/Option.java: New class.
30153   
30154 2006-02-20  Lillian Angel  <langel@redhat.com>
30155   
30156         * java/swt/Window.java
30157         (show): Calling show() on the owned windows caused problems.
30158         Changed back to get the peer and call setVisible.
30159   
30160 2006-02-20  Roman Kennke  <kennke@aicas.com>
30161   
30162         * javax/swing/plaf/basic/BasicTextUI.java
30163         (damageRange): Implemented this method.
30164   
30165 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30166   
30167         * javax/swing/text/GapContent.java:
30168         (shiftGapEndUp): Corrected new mark value.
30169         * javax/swing/text/AbstractDocument.java:
30170         (remove): Changed order of operations.
30171   
30172 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30173   
30174         * javax/swing/text/GapContent.java:
30175         (shiftGapEndUp): Reverted.
30176         * javax/swing/text/AbstractDocument.java:
30177         (remove): Reverted.
30178   
30179 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30180   
30181         * javax/swing/text/GapContent.java:
30182         (shiftGapEndUp): Corrected new mark value.
30183         * javax/swing/text/AbstractDocument.java:
30184         (remove): Changed order of operations.
30185   
30186 2006-02-20  Mark Wielaard  <mark@klomp.org>
30187   
30188         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30189         parent field.
30190         (insert): Likewise.
30191         (addNotify): Add the item after addNotifying it.
30192         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30193         there is a peer. Use getParent() and setParent() to manipulate parent
30194         field.
30195         (add(Menu)): Use getParent() and setParent() to manipulate parent
30196         field. Call addNotify() and addMenu() when there is a peer.
30197         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30198         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30199         when there is a peer.
30200         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30201         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30202         (setFont): Call setFont(Font).
30203         (setFont(Font)): Document. Only set font when not null.
30204         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30205         protected.
30206         (connectSignals): Likewise.
30207         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30208         connectSignals().
30209         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30210         protected.
30211         (postMenuActionEvent): Document.
30212         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30213         protected.
30214         (addItem): Document. Made private.
30215         (addTearOff): Made private.
30216         (connectSignals): New protected overridden method.
30217         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30218         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30219         (create): Document.
30220         (addMenu): Made private, take GtkMenuPeer as argument and document.
30221         (GtkMenuBarPeer): Document.
30222         (nativeSetHelpMenu): Removed.
30223         (addHelpMenu): Implement.
30224         (delMenu): Document.
30225         (addMenu): Implement.
30226         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30227         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30228         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30229         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30230         Removed.
30231   
30232 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30233   
30234         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30235         Expect that proxy interfaces may have different class loaders.
30236         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30237         * java/rmi/registry/Registry.java,
30238         * java/rmi/server/UnicastRemoteObject.java: 
30239         Documented about proxy stubs.
30240         * gnu/java/rmi/server/CombinedClassLoader.java,
30241         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30242         * NEWS: Added entry.
30243
30244 2006-02-19  Mark Wielaard  <mark@klomp.org>
30245
30246         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30247         Parent and Bounds of our children if either or parent is showing, or
30248         we are a Window and are showing ourselves now.
30249   
30250 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30251   
30252         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30253         New method.
30254         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30255         Another stub name fix.
30256   
30257 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30258   
30259         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30260         Call convertStubName. (convertStubName): New method.
30261         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30262         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30263         (convertStubName): New method.
30264         (getMethodHashCode): 
30265         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30266         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30267
30268 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30269
30270         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30271
30272 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30273
30274         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30275
30276 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30277
30278         * javax/swing/JViewport.java (paintBackingStore): If the component has
30279         not been scrolled, only repaint the buffer part, indicated by
30280         the parameter graphics clip. 
30281      
30282 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30283
30284         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30285         internal format.
30286         (writePrivateKey): Likewise.
30287         (writeKey): New method.
30288         (getKeyType): Likewise.
30289         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30290         internal format.
30291         (readPrivateKey): Likewise.
30292         (getKeyPairCodec): New method.
30293         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30294         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30295         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30296         (RSA_PSS_ENCODING): Likewise..
30297         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30298         (RSA_PSS_SIG): Redefined using other constants.
30299         (RSA_PKCS1_V1_5_SIG): Likewise.
30300         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30301         * gnu/java/security/util/FormatUtil.java: New file.
30302         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30303         (getInstance): Let RSASignatureFactory handle RSA signature names.
30304         (getNames): Handle new RSA signature (with format) names.
30305         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30306         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30307         for null md.
30308         (name): Include hash algorithm name.
30309         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30310         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30311         (RSAPSSSignature): Call constructor with IMessageDigest.
30312         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30313         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30314         file.
30315         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30316         Likewise.
30317         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30318         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30319         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30320         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30321         hash algorithm name to exception.
30322         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30323         * gnu/java/security/key/KeyPairCodecFactory.java
30324         (names): New class field.
30325         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30326         (getInstance(String,String)): New method.
30327         (getInstance(String,int)): New method.
30328         (getInstance(byte[])): Removed.
30329         (getInstance(Key)): Handle new formats.
30330         (getNames): Likewise.
30331         (getEncodingName(int)): Moved to FormatUtil.
30332         (getEncodingShortName(int)): Likewise.
30333         (getRawCodec(String)): New method.
30334         (getX509Codec(String)): Likewise.
30335         (getPKCS8Codec(String)): Likewise.
30336         (getRawCodec(Key)): Likewise.
30337         (getX509Codec(Key)): Likewise.
30338         (getPKCS8Codec(Key)): Likewise.
30339         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30340         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30341         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30342         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30343         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30344         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30345         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30346         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30347         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30348
30349 2006-02-18  Mark Wielaard  <mark@klomp.org>
30350
30351         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30352         DragSource.
30353         (NoDragGestureRecognizer): New static class.
30354         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30355         Toolkit doesn't support drag and drop.
30356
30357 2006-02-18  Mark Wielaard  <mark@klomp.org>
30358
30359         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30360         (AbstractAction(String)): Just call putValue() for NAME.
30361         (putValue): Nothing to do is old and new value are both null.
30362
30363 2006-02-18  Mark Wielaard  <mark@klomp.org>
30364
30365         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30366         through getContentPane().
30367         (preferredLayoutSize): Likewise.
30368
30369 2006-02-18  Mark Wielaard  <mark@klomp.org>
30370
30371         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30372         actually set before painting.
30373
30374 2006-02-18  Mark Wielaard  <mark@klomp.org>
30375
30376         * javax/swing/text/html/HTMLDocument.java (addContent):
30377         Fully qualify AbstractDocument.AttributeContext and
30378         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30379
30380 2006-02-18  Mark Wielaard  <mark@klomp.org>
30381
30382         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30383         (getRepresentationClassFromMime): Add exception cause to
30384         IllegalArgumentException.
30385   
30386 2006-02-17  Lillian Angel  <langel@redhat.com>
30387   
30388         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30389         Removed unneeded import.
30390         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30391         Removed unneeded imports.
30392         * java/awt/BorderLayout.java:
30393         Fixed comment, this is not yet handled in the JDK 1.5.
30394         * java/awt/Container.java:
30395         Removed unneeded import.
30396   
30397 2006-02-17  Lillian Angel  <langel@redhat.com>
30398   
30399         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30400         (setBounds): Removed check. Coordinates should always be changed
30401         to incorporate the parent's coordinates.
30402         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30403         (setMenuBar): Added checks. Don't validate component if it has 
30404         not been validated yet, it will be validated later. Only validate
30405         if it has already been validated, in that case it needs to be
30406         revalidated.
30407         * java/awt/Window.java
30408         (show): Added check. If the window is visible, then bring it to the
30409         front. Otherwise, iterate through all its children windows and show them.
30410         No need to do both.
30411
30412 2006-02-17  Roman Kennke  <kennke@aicas.com>
30413
30414         * javax/swing/text/html/ParagraphView.java: New file.
30415
30416 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30417
30418         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30419         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30420         same location where was the initial text.
30421         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30422
30423 2006-02-17  Chris Burdess  <dog@gnu.org>
30424
30425         Fixes PRs 26319, 26320, 26321, 26322, 26325
30426         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30427           rethrowing exception.
30428         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30429           1.1-style prefix unbinding in 1.0 document" error for xmlns
30430           prefixes, not xmlns attributes. Fix a problem with empty namespace
30431           stack at the end of a document. Permit parameter entity references
30432           in element and attribute-list definition name area. Corrected
30433           normalisation of whitespace character entity references in CDATA
30434           attribute values. Fixed number of characters read following a
30435           reset when detecting end of character data with characters after a
30436           Unicode surrogate pair.
30437   
30438 2006-02-17  Roman Kennke  <kennke@aicas.com>
30439   
30440         * javax/swing/text/html/HTMLEditorKit.java
30441         (HTMLFactory.create): Create InlineView for content tags.
30442         * javax/swing/text/html/HTMLDocument.java
30443         (HTMLReader.flush): Call create() on first flush and insert
30444         on subsequent flushes.
30445   
30446 2006-02-17  Roman Kennke  <kennke@aicas.com>
30447   
30448         * javax/swing/text/AbstractDocument.java
30449         (BranchElement.getStartOffset): Implemented workaround for wrong
30450         NPE.
30451         (BranchElement.getEndOffset): Implemented workaround for wrong
30452         NPE.
30453         (ElementBuffer.split): Use createBranchElement() instead of
30454         new BranchElement().
30455         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30456         new BranchElement().
30457         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30458         instead of new BranchElement().
30459         (createDefaultRoot): Use createBranchElement() and createLeafElement
30460         instead of the constructors.
30461         (create): Rewritten.
30462   
30463 2006-02-17  Keith Seitz  <keiths@redhat.com>
30464   
30465         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30466         (SIZE): New constant.
30467         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30468         (executeIDsizes): Use SIZE constant.
30469         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30470         (SIZE): New constant.
30471
30472 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30473
30474         * javax/swing/JTable.java (IconCellRenderer): Set the component
30475         text to empty string. (createDefaultRenderers): Register
30476         IconCellRenderer also for ImageIcon. 
30477         (getCellEditor(int, int), getCellRenderer(int, int)):
30478         Use model index for data model and column index for column model.
30479         (getColumnClass): Convert to model index before requesting class
30480         from model. 
30481   
30482 2006-02-17  Roman Kennke  <kennke@aicas.com>
30483   
30484         * javax/swing/text/html/HTMLDocument.java
30485         (createDefaultRoot): Implemented.
30486         (createLeafElement): Implemented.
30487         (createBranchElement): Implemented.
30488         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30489         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30490         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30491         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30492         (HTMLReader.blockOpen): Add name attribute with the current tag.
30493         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30494   
30495 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30496   
30497         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30498         Rewritten.
30499         * javax/swing/table/JTableHeader.java: Documenting related methods.
30500   
30501 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30502   
30503         Fixes PR 25752
30504         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30505         (connect): Changed to use SystemProperties.
30506         (getInputStream): Try changeWorkingDirectory to figure out if
30507         url is a directory, if not use retrieve.
30508         (getOutputStream): Don't worry about directories, simply always
30509         try to do a store.
30510   
30511 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30512   
30513         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30514         (ActiveModeDTP): Mark accept thread as daemon.
30515   
30516 2006-02-17  Michael Koch  <konqueror@gmx.de>
30517   
30518         * tools/.cvsignore: Ignore tools.zip.
30519   
30520 2006-02-16  Keith Seitz  <keiths@redhat.com>
30521   
30522         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30523         Set the ID's reference.
30524         (<clinit>): Remove comments for field, method, and frame ID types,
30525         which will not be handled by VMIdManager.
30526   
30527 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30528   
30529         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30530         Use model index, not the column number.
30531         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30532         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30533         movement by painting draggingHeaderRect.
30534         * NEWS: Added entry about JTable columns. 
30535   
30536 2006-02-16  Keith Seitz  <keiths@redhat.com>
30537   
30538         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30539         default size of eight bytes.
30540         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30541         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30542         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30543         (executeIDsizes): Use new static methods.
30544         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30545         method.
30546         
30547 2006-02-16  David Daney  <ddaney@avtrex.com>
30548   
30549         PR classpath/26312
30550         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30551         return value with 0xff.
30552   
30553 2006-02-16  Keith Seitz  <keiths@redhat.com>
30554   
30555         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30556         (matches): Use Iterator instead of ListIterator.
30557   
30558 2006-02-16  Keith Seitz  <keiths@redhat.com>
30559   
30560         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30561         processor thread for easier debugging.
30562         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30563         main thread.
30564   
30565 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30566   
30567         * javax/swing/JTable.java 
30568         (TableColumnPropertyChangeHandler.propertyChange): Return without
30569         action if table header resizing column in not null. (doLayout):
30570         Only repaint the header if it is not null.      
30571         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30572         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30573         Rewritten. (MouseInputHandler.endResizing): New method.
30574   
30575 2006-02-16  Roman Kennke  <kennke@aicas.com>
30576   
30577         * javax/swing/text/html/InlineView.java: New file.
30578   
30579 2006-02-16  Roman Kennke  <kennke@aicas.com>
30580   
30581         * javax/swing/JTabbedPane.java
30582         (AccessibleJTable.getAccessibleChild): Implemented to return
30583         the Page instance for the specified index.
30584         (Page): Changed to implement Accessible and extend
30585         AccessibleContext.
30586         (Page.getAccessibleContext): New method.
30587         (Page.getAccessibleRole): New method.
30588         (Page.getAccessibleStateSet): New method.
30589         (Page.getAccessibleIndexInParent): New method.
30590         (Page.getAccessibleChildrenCount): New method.
30591         (Page.getAccessibleChild): New methdod.
30592         (Page.getLocale): New method.
30593   
30594 2006-02-16  Roman Kennke  <kennke@aicas.com>
30595   
30596         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30597         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30598         tabCount gets greater than tabRuns.length.
30599         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30600         when tabCount gets greater than tabRuns.length.
30601         (paintTabArea): Don't set tabCount == runCount.
30602   
30603 2006-02-16  Roman Kennke  <kennke@aicas.com>
30604   
30605         * javax/swing/plaf/basic/BasicTextUI.java
30606         (installUI): Moved installation of PropertyChangeListener
30607         to installListeners(). Call modelChanged() after everything is
30608         is installed.
30609         (installListeners): Install PropertyChangeListener here.
30610         (uninstallUI): Moved uninstallation of PropertyChangeListener
30611         to uninstallListeners.
30612         (uninstallListeners): Uninstall PropertyChangeListener here.
30613
30614 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30615
30616         * javax/swing/JTable.java (doLayout): 
30617         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30618         on exit.
30619         javax/swing/plaf/basic/BasicTableHeaderUI.java 
30620         (MouseInputHandler.mouseDragged): Do not repaint the header.
30621   
30622 2006-02-16  Roman Kennke  <kennke@aicas.com>
30623   
30624         * javax/swing/JViewport.java
30625         (static_initializer): Set default scrollMode to backingstore.
30626   
30627 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30628   
30629         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30630         returned by getCellRect. To not translate the component.
30631   
30632 2006-02-16  Roman Kennke  <kennke@aicas.com>
30633   
30634         * javax/swing/JComponent.java
30635         (rectCache): Made field non-static to avoid nasty interferences.
30636         (computeVisibleRect): Avoid creation of new Rectangles and double
30637         calculations on ints by using Swing.computeIntersection() instead
30638         of Rectangle2D.intersect().
30639         (repaint): Interect the dirty region with the visible rectangle
30640         of this component to avoid unnecessary painting.
30641   
30642 2006-02-16  Gary Benson  <gbenson@redhat.com>
30643   
30644         * java/lang/Thread.java (stop): Add a missing access check.
30645   
30646 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
30647   
30648         * javax/swing/text/JTextComponent.java:
30649         (replaceSelection): Added code to update the magic caret position.
30650         * javax/swing/text/DefaultEditorKit.java: Added code to update
30651         the magic caret position of the text component in all relevant
30652         movement actions, make use of the magic caret position in up
30653         and down movements and selections, simplified some actions
30654         (code-wise).
30655
30656 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
30657
30658         * gnu/java/lang/CharData.java: Regenerated from 
30659         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30660         and scripts/unicode-muncher.pl.
30661         * java/lang/Character.java: 
30662         (PrivateUseCharacters): New private static class.
30663         (UnassignedCharacters): Likewise.
30664         (blocks): Changed from char[] to char[][] to reflect the changes in 
30665         gnu/java/lang/CharData.  There is now one char[] per Unicode code
30666         plane.
30667         (data): Likewise.
30668         (numValue): Likewise.
30669         (upper): Likewise.
30670         (lower): Likewise.
30671         (direction): Likewise.
30672         (readChar): Replaced this method with new method readCodePoint.
30673         (readCodePoint): New method.
30674         (isLowerCase(char)): Redirected to new isLowerCase(int).
30675         (isLowerCase(int)): New method.
30676         (isUpperCase(char)): Redirected to new isUpperCase(int).
30677         (isUpperCase(int)): New method.
30678         (isTitleCase(char)): Redirected to new isTitleCase(int).
30679         (isTitleCase(int)): New method.
30680         (isDigit(char)): Redirected to new isDigit(int).
30681         (isDigit(int)): New method.
30682         (isDefined(char)): Redirected to new isDefined(int).
30683         (isDefined(int)): New method.
30684         (isLetter(char)): Redirected to new isLetter(int).
30685         (isLetter(int)): New method.
30686         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30687         (isLetterOrDigit(int)): New method.
30688         (isJavaIdentifierStart(char)): Redirected to new 
30689         isJavaIdentifierStart(int).
30690         (isJavaIdentifierStart(int)): New method.
30691         (isJavaIdentifierPart(char)): Redirected to new 
30692         isJavaIdentifierPart(int).
30693         (isJavaIdentifierPart(int)): New method.
30694         (isUnicodeIdentifierStart(char)): Redirected to new
30695         isUnicodeIdentifierStart(int).
30696         (isUnicodeIdentifierStart(int)): New method.
30697         (isUnicodeIdentifierPart(char)): Redirected to new 
30698         isUnicodeIdentifierPart(int).
30699         (isUnicodeIdentifierPart(int)): New method.
30700         (isIdentifierIgnorable(char)): Redirected to new
30701         isIdentifierIgnorable(int).
30702         (isIdentifierIgnorable(int)): New method.
30703         (toLowerCase(char)): Changed access to lower to correspond with new
30704         char[][] type of lower.
30705         (toLowerCase(int)) New method.
30706         (toUpperCase(char)): Changed access to upper to correspond with new
30707         char[][] type of upper.
30708         (toUpperCase(int)): New method.
30709         (toTitleCase(int)): New method.
30710         (digit(char, int)): Replaced call to readChar with call to 
30711         readCodePoint and changed access to numValue to reflect new char[][]
30712         type of numValue. 
30713         (digit(int, int)): New method.
30714         (getNumericValue(char)): Changed access to numValue to reflect new
30715         char[][] type of numValue.
30716         (getNumericValue(int)): New method.
30717         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30718         (isSpaceChar(int)): New method.
30719         (isWhitespace(char)): Redirected to new isWhitespace(int).
30720         (isWhitespace(int)): New method.
30721         (isISOControl(char)): Redirected to new isISOControl(int).
30722         (isISOControl(int)): New method.
30723         (getType(char)): Redirected to new getType(int).
30724         (getType(int)): New method.
30725         (getDirectionality(char)): Redirected to new getDirectionality(int).
30726         (getDirectionality(int)): New method.
30727         (isMirrored(char)): Changed call to readChar to readCodePoint.
30728         (isMirrored(int)): New method.
30729         * java/lang/String.java:
30730         (upperCaseExpansion): Changed access to Character.direction to reflect
30731         new char[][] type of direction.
30732         (offsetByCodePoints): New method.
30733         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
30734         4.0.0 which introduced supplementary character assignments.  
30735
30736 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30737
30738         * javax/swing/JTable.java,
30739         javax/swing/plaf/basic/BasicTableHeaderUI.java,
30740         javax/swing/table/DefaultTableModel.java: Documented.
30741   
30742 2006-02-15  Lillian Angel  <langel@redhat.com>
30743   
30744         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30745         Removed duplicate methods.
30746   
30747 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30748   
30749         * javax/swing/JTable.java (distributeSpillResizing): New method.
30750         (doLayout): Use distributeSpillResizing when resizing.
30751         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30752         Rewritten. (installListeners): Add mouse motion listener. 
30753         (uninstallListeners): Remove mouse motion listener. 
30754   
30755 2006-02-15  Lillian Angel  <langel@redhat.com>
30756   
30757         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30758         (setVisible): Removed method.
30759         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30760         (setLocation): New method.
30761         (setLocationUnlocked): New method.
30762         (show): Changed to use setLocation instead of setBounds.
30763         * java/awt/Component.java
30764         (show): Should call peer.show(), not peer.setVisible(), so the
30765         location of the component is correctly set.
30766         (preferredSize): Added curly braces so else statements are
30767         properly associated with if's.
30768         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30769         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
30770         New function.
30771         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30772         LocationUnlocked): New function.
30773         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30774         Added declarations for Java_gnu_java_awt_peer_gtk_
30775         GtkWindowPeer_nativeSetLocation and 
30776         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30777         _nativeSetLocationUnlocked.
30778   
30779 2006-02-15  Mark Wielaard  <mark@klomp.org>
30780   
30781         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30782         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30783         Downcast gtk_plug_new result when used.
30784   
30785 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
30786   
30787         * java/io/ObjectOutputStream.java (writeClassDescriptor):
30788         Call assignNewHandle() after writing Proxy class.
30789   
30790 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
30791   
30792         Fixes bug #14144
30793         * java/io/ObjectInputStream.java (readClassDescriptor):
30794         Class doesn't have to be abstract for first_nonserial.
30795   
30796 2006-02-15  Roman Kennke  <kennke@aicas.com>
30797   
30798         * javax/swing/JInternalFrame.java
30799         (setClosed): Call dispose to actually make the frame invisible
30800         and unselected.
30801   
30802 2006-02-15  Roman Kennke  <kennke@aicas.com>
30803   
30804         * javax/swing/JInternalFrame.java
30805         (dispose): Call setVisible(false) instead of hide.
30806         (doDefaultCloseOperation): Likewise.
30807   
30808 2006-02-15  Roman Kennke  <kennke@aicas.com>
30809   
30810         * javax/swing/JComponent.java
30811         (paintChildren): Also check for the visibility of a child component
30812         to avoid artifacts.
30813         (repaint): Simply add this component to the RepaintManager rather than
30814         trying to do useless optimization here.
30815   
30816 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30817   
30818         * javax/swing/JSpinner.java
30819         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
30820         PropertyChangeListener,
30821         (DefaultEditor.getSpinner): Updated API docs,
30822         (DefaultEditor.dismiss): Likewise,
30823         (DefaultEditor.getTextField): Likewise,
30824         (DefaultEditor.layoutContainer): Likewise,
30825         (DefaultEditor.minimumLayoutSize): Likewise,
30826         (DefaultEditor.preferredLayoutSize): Likewise,
30827         (DefaultEditor.propertyChange): Implemented,
30828         (DefaultEditor.stateChanged): Implemented,
30829         (DefaultEditor.removeLayoutComponent): Updated API docs,
30830         (DefaultEditor.addLayoutComponent): Likewise,
30831         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30832         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30833         (NumberEditor.getFormat): Implemented,
30834         (NumberEditor.getModel): Updated API docs,
30835         (NumberEditorFormatter): New static inner class,
30836         (ListEditor.getModel): Updated API docs,
30837         (DateEditor.dateFormat): Removed,
30838         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30839         (DateEditor.DateEditor(JSpinner, String)): Likewise,
30840         (DateEditor.init): Removed,
30841         (DateEditor.getFormat): Reimplemented,
30842         (DateEditorFormatter): New static inner class,
30843         (ModelListener): New inner class,
30844         (model): Updated API docs,
30845         (editor): Likewise,
30846         (listener): Removed,
30847         (JSpinner()): Updated API docs,
30848         (JSpinner(SpinnerModel)): Set up ModelListener,
30849         (setEditor): Fire property change,
30850         (getModel): Updated API docs,
30851         (setModel): Removed check for null editor,
30852         (setValue): Updated API docs,
30853         (getUIClassID): Updated API docs,
30854         (createEditor): Handle SpinnerListModel case,
30855         * javax/swing/plaf/basic/BasicSpinnerUI.java
30856         (createUI): Updated API docs,
30857         (createPropertyChangeListener): Added FIXME,
30858         (installDefaults): Set text field border to null,
30859         (DefaultLayoutManager): Updated API docs,
30860         (DefaultLayoutManager.layoutContainer): Modified layout,
30861         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30862         (DefaultLayoutManager.preferredLayoutSize): Likewise,
30863         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30864         (DefaultLayoutManager.addLayoutComponent): Likewise,
30865         (DefaultLayoutManager.minSize): Renamed prefSize,
30866         (DefaultLayoutManager.setBounds): Reformatted,
30867         (DefaultLayoutManager.editor): Added API docs,
30868         (DefaultLayoutManager.next): Likewise,
30869         (DefaultLayoutManager.previous): Likewise,
30870         * javax/swing/plaf/metal/MetalLookAndFeel.java
30871         (initComponentDefaults): Added entry for 'Spinner.border',
30872         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30873
30874 2006-02-15  Chris Burdess  <dog@gnu.org>
30875
30876         * gnu/xml/validation/datatype/BooleanType.java,
30877           gnu/xml/validation/datatype/ByteType.java,
30878           gnu/xml/validation/datatype/DateTimeType.java,
30879           gnu/xml/validation/datatype/DateType.java,
30880           gnu/xml/validation/datatype/DecimalType.java,
30881           gnu/xml/validation/datatype/DoubleType.java,
30882           gnu/xml/validation/datatype/DurationType.java,
30883           gnu/xml/validation/datatype/FloatType.java,
30884           gnu/xml/validation/datatype/GDayType.java,
30885           gnu/xml/validation/datatype/GMonthDayType.java,
30886           gnu/xml/validation/datatype/GMonthType.java,
30887           gnu/xml/validation/datatype/GYearMonthType.java,
30888           gnu/xml/validation/datatype/GYearType.java,
30889           gnu/xml/validation/datatype/IntType.java,
30890           gnu/xml/validation/datatype/IntegerType.java,
30891           gnu/xml/validation/datatype/LongType.java,
30892           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30893           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30894           gnu/xml/validation/datatype/MinExclusiveFacet.java,
30895           gnu/xml/validation/datatype/MinInclusiveFacet.java,
30896           gnu/xml/validation/datatype/NegativeIntegerType.java,
30897           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30898           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30899           gnu/xml/validation/datatype/PositiveIntegerType.java,
30900           gnu/xml/validation/datatype/ShortType.java,
30901           gnu/xml/validation/datatype/SimpleType.java,
30902           gnu/xml/validation/datatype/TimeType.java,
30903           gnu/xml/validation/datatype/TypeBuilder.java,
30904           gnu/xml/validation/datatype/UnsignedByteType.java,
30905           gnu/xml/validation/datatype/UnsignedIntType.java,
30906           gnu/xml/validation/datatype/UnsignedLongType.java,
30907           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30908           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30909           minInclusive facets use the value space of the base type, and
30910           implement.
30911
30912 2006-02-15  Mark Wielaard  <mark@klomp.org>
30913
30914         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30915         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30916         gtk_plug_new() returns a GtkWindow.
30917
30918 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30919
30920         * javax/swing/SpinnerNumberModel.java
30921         (getNextValue): Check for null maximum,
30922         (getPreviousValue): Check for null minimum.
30923   
30924 2006-02-15  Roman Kennke  <kennke@aicas.com>
30925   
30926         * javax/swing/plaf/basic/BasicTableUI.java
30927         (paint): Paint vertical and horizontal lines one pixel shifted
30928         left/top.
30929   
30930 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
30931   
30932         * java/util/zip/ZipFile.java
30933         (checkZipFile): Inlined readLeInt and rewritten for robustness.
30934         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30935         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30936         (readEntries): Rewritten to use PartialInputStream.
30937         (locBuf, checkLocalHeader): Removed.
30938         (getInputStream): Rewritten to use new PartialInputStream.
30939         (PartialInputStream): Rewritten to do buffering.
30940
30941 2006-02-15  Michael Koch  <konqueror@gmx.de>
30942
30943         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30944         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30945         Make sure the embedded window gets no decorations.
30946         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30947         (window_get_frame_extents): Return early of the window has no
30948         decorations.
30949   
30950 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30951   
30952         * examples/gnu/classpath/examples/swing/TableDemo.java
30953         (TModel, createContent): Explain which value appears in the header.
30954         * javax/swing/JTable.java (setColumnModel): Only set the
30955         column header value if the getHeaderValue() returns null.
30956
30957 2006-02-14  Mark Wielaard  <mark@klomp.org>
30958
30959         Fixes bug #23931
30960         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30961         (getErrorImage): New static method.
30962         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30963         (bufferedImageOrError): Renamed to ...
30964         (imageOrError): Renamed from bufferedImageOrError, takes Image.
30965         Returns GtkImage.getErrorImage() when argument null.
30966         (createImage(String)): Always use imageOrError.
30967         (createImage(URL)): Likewise.
30968         (createImage(ImageProducer)): Likewise.
30969         (createImage(byte[],int,int)): Likewise.
30970
30971 2006-02-14  Roman Kennke  <kennke@aicas.com>
30972
30973         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30974         unneeded imports.
30975         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
30976         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
30977         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
30978         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
30979         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
30980
30981 2006-02-14  Roman Kennke  <kennke@aicas.com>
30982
30983         * javax/swing/text/AsyncBoxView.java
30984         (ChildState.locator): Removed wrong field.
30985         (ChildState): Removed initialization of removed field.
30986         (locator): Changed access modifier to be protected as specified.
30987
30988 2006-02-14  Roman Kennke  <kennke@aicas.com>
30989
30990         * javax/swing/ToolTipManager.java: Removed unneeded imports.
30991         * javax/swing/Timer.java: Some small reindention.
30992         (task): Made package private to avoid synthetic accessor method.
30993   
30994 2006-02-14  Roman Kennke  <kennke@aicas.com>
30995   
30996         * javax/swing/SwingUtilities.java
30997         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
30998         no icon.
30999   
31000 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31001   
31002         * examples/gnu/classpath/examples/swing/TableDemo.java:
31003         Making the columns variable width.
31004         * javax/swing/JTable.java (distributeSpill, doLayout):
31005           Call getPreferredSize and not getSize().
31006   
31007 2006-02-14  Roman Kennke  <kennke@aicas.com>
31008   
31009         * javax/swing/DefaultCellEditor.java
31010         (DefaultCellEditor): API doc fixlet.
31011   
31012 2006-02-14  Roman Kennke  <kennke@aicas.com>
31013   
31014         * javax/swing/JViewport.java
31015         (isPaintRoot): New field.
31016         (repaint): Only call super here. Also added a comment regarding
31017         the diversion from the JDK.
31018         (paintBlit): Implemented real blitting.
31019         (paintImmediately2): New method. Overrides the same package private
31020         method in JComponent.
31021   
31022 2006-02-14  Roman Kennke  <kennke@aicas.com>
31023   
31024         * javax/swing/plaf/basic/BasicTableUI.java
31025         (paint): Check for boundary cases when determining the painting
31026         area.
31027   
31028 2006-02-14  Mark Wielaard  <mark@klomp.org>
31029   
31030         * java/awt/Menu.java (add): Always set parent of item to this. Call
31031         addNotify() on item when we have a MenuPeer already.
31032         (insert): Always adjust parent for item. Call addNotify() on item if
31033         we already have a peer.
31034         (remove(int)): Always clear item parent. Call removeNotify() on item
31035         if we had a peer.
31036   
31037 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31038   
31039         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31040         row == getRowCount().
31041   
31042 2006-02-14  Lillian Angel  <langel@redhat.com>
31043         
31044         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31045         (setVisible): New method to override super. Need to set the
31046         native bounds of the component, so it appears at the
31047         correct location.
31048
31049 2006-02-14  Mark Wielaard  <mark@klomp.org>
31050
31051         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31052         (remove): If menu component is the current MenuBar remove it,
31053         otherwise call super.remove().
31054         * java/awt/MenuBar.java (frame): Remove field.
31055         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31056
31057 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31058
31059         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31060         to NameServicePersistent.
31061         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31062         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31063
31064 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31065
31066         * NEWS: Updated tool status.
31067         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31068         (constructor, bind, rebind): Rewritten.  
31069         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31070         * tools/gnu/classpath/tools/giop/README: Updated.
31071         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31072         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31073         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31074         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31075         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31076         New files.
31077   
31078 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31079   
31080         * javax/swing/JComponent.java
31081         (getListeners): Check for PropertyChangeListener.class and delegate to 
31082         getPropertyChangeListeners() for that case.
31083   
31084 2006-02-13  Roman Kennke  <kennke@aicas.com>
31085   
31086         * javax/swing/plaf/basic/BasicTableUI.java
31087         (paint): Determine the cells that need painting based on the
31088         current clip. Use getCellRect() for calculating the cell
31089         bounds.
31090   
31091 2006-02-13  Roman Kennke  <kennke@aicas.com>
31092   
31093         * javax/swing/JTable.java
31094         (rectCache): New field.
31095         (getCellRect): Returns cached Rectangle instance.
31096   
31097 2006-02-13  Roman Kennke  <kennke@aicas.com>
31098   
31099         * javax/swing/JLayeredPane.java
31100         (removeAll): New method. Avoid potential memory leak.
31101         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31102         calculation.
31103   
31104 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31105   
31106         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31107         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31108   
31109 2006-02-13  Tom Tromey  <tromey@redhat.com>
31110   
31111         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31112         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31113   
31114 2006-02-13  Roman Kennke  <kennke@aicas.com>
31115   
31116         * javax/swing/RepaintManager.java
31117         (offscreenBuffers): New field.
31118         (doubleBuffer): Removed field.
31119         (repaintUnderway): New field.
31120         (commitRequests): New field.
31121         (RepaintManager): Initialize new fields.
31122         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31123         buffers when done.
31124         (getOffscreenBuffer): Returns the offscreen buffer for the
31125         corresponding root component.
31126         (commitBuffer): New method.
31127         (commitRemainingBuffers): New method.
31128         * javax/swing/JComponent.java
31129         (paint): Call paintDoubleBuffered with the current clip.
31130         (paintImmediately2): Don't paint on screen here.
31131         (paintDoubleBuffered): Rewritten for real double buffering.
31132         (paintSimple): Draw to screen in this method.
31133   
31134 2006-02-13  Roman Kennke  <kennke@aicas.com>
31135   
31136         * javax/swing/JRootPane.java
31137         (JRootPane): Set opaque property to true.
31138   
31139 2006-02-13  Tom Tromey  <tromey@redhat.com>
31140   
31141         * .classpath: Updated for external/relaxngDatatype.
31142   
31143 2006-02-13  Chris Burdess  <dog@gnu.org>
31144   
31145         * gnu/xml/stream/UnicodeReader.java,
31146           gnu/xml/validation/datatype/Annotation.java,
31147           gnu/xml/validation/datatype/AnySimpleType.java,
31148           gnu/xml/validation/datatype/AnyType.java,
31149           gnu/xml/validation/datatype/AnyURIType.java,
31150           gnu/xml/validation/datatype/AtomicSimpleType.java,
31151           gnu/xml/validation/datatype/Base64BinaryType.java,
31152           gnu/xml/validation/datatype/BooleanType.java,
31153           gnu/xml/validation/datatype/ByteType.java,
31154           gnu/xml/validation/datatype/DateTimeType.java,
31155           gnu/xml/validation/datatype/DateType.java,
31156           gnu/xml/validation/datatype/DecimalType.java,
31157           gnu/xml/validation/datatype/DoubleType.java,
31158           gnu/xml/validation/datatype/DurationType.java,
31159           gnu/xml/validation/datatype/EntitiesType.java,
31160           gnu/xml/validation/datatype/EntityType.java,
31161           gnu/xml/validation/datatype/EnumerationFacet.java,
31162           gnu/xml/validation/datatype/Facet.java,
31163           gnu/xml/validation/datatype/FloatType.java,
31164           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31165           gnu/xml/validation/datatype/GDayType.java,
31166           gnu/xml/validation/datatype/GMonthDayType.java,
31167           gnu/xml/validation/datatype/GMonthType.java,
31168           gnu/xml/validation/datatype/GYearMonthType.java,
31169           gnu/xml/validation/datatype/GYearType.java,
31170           gnu/xml/validation/datatype/HexBinaryType.java,
31171           gnu/xml/validation/datatype/IDRefType.java,
31172           gnu/xml/validation/datatype/IDRefsType.java,
31173           gnu/xml/validation/datatype/IDType.java,
31174           gnu/xml/validation/datatype/IntType.java,
31175           gnu/xml/validation/datatype/IntegerType.java,
31176           gnu/xml/validation/datatype/LanguageType.java,
31177           gnu/xml/validation/datatype/LengthFacet.java,
31178           gnu/xml/validation/datatype/ListSimpleType.java,
31179           gnu/xml/validation/datatype/LongType.java,
31180           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31181           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31182           gnu/xml/validation/datatype/MaxLengthFacet.java,
31183           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31184           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31185           gnu/xml/validation/datatype/MinLengthFacet.java,
31186           gnu/xml/validation/datatype/NCNameType.java,
31187           gnu/xml/validation/datatype/NMTokenType.java,
31188           gnu/xml/validation/datatype/NMTokensType.java,
31189           gnu/xml/validation/datatype/NameType.java,
31190           gnu/xml/validation/datatype/NegativeIntegerType.java,
31191           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31192           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31193           gnu/xml/validation/datatype/NormalizedStringType.java,
31194           gnu/xml/validation/datatype/NotationType.java,
31195           gnu/xml/validation/datatype/PatternFacet.java,
31196           gnu/xml/validation/datatype/PositiveIntegerType.java,
31197           gnu/xml/validation/datatype/QNameType.java,
31198           gnu/xml/validation/datatype/ShortType.java,
31199           gnu/xml/validation/datatype/SimpleType.java,
31200           gnu/xml/validation/datatype/StringType.java,
31201           gnu/xml/validation/datatype/TimeType.java,
31202           gnu/xml/validation/datatype/TokenType.java,
31203           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31204           gnu/xml/validation/datatype/Type.java,
31205           gnu/xml/validation/datatype/TypeBuilder.java,
31206           gnu/xml/validation/datatype/TypeLibrary.java,
31207           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31208           gnu/xml/validation/datatype/UnionSimpleType.java,
31209           gnu/xml/validation/datatype/UnsignedByteType.java,
31210           gnu/xml/validation/datatype/UnsignedIntType.java,
31211           gnu/xml/validation/datatype/UnsignedLongType.java,
31212           gnu/xml/validation/datatype/UnsignedShortType.java,
31213           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31214           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31215           RELAX NG datatype library implementation for XML Schema Datatypes.
31216
31217 2006-02-13  Chris Burdess  <dog@gnu.org>
31218
31219         * LICENCE,
31220           NEWS,
31221           configure.ac,
31222           doc/README.jaxp,
31223           external/Makefile.am,
31224           external/relaxngDatatype/.cvsignore,
31225           external/relaxngDatatype/Makefile.am,
31226           external/relaxngDatatype/README.txt,
31227           external/relaxngDatatype/copying.txt,
31228           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31229           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31230           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31231           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31232           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31233           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31234           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31235           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31236           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31237           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31238           lib/Makefile.am,
31239           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31240           datatypes library API.
31241   
31242 2006-02-13  Mark Wielaard  <mark@klomp.org>
31243   
31244         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31245         final.
31246         (gtkWidgetModifyFont(Font)): New protected helper method.
31247         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31248         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31249         protected and document.
31250         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31251         Likewise.
31252         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31253         Likewise.
31254         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31255         Likewise.
31256         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31257         (setFont): Removed method. Done in GtkMenuComponent.
31258         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31259         abstract and protected.
31260         (setFont): Made private, add implementation.
31261         (setFont(Font)): Implemented.
31262         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31263         Made protected and document.
31264         (create): Made protected.
31265         (setFont): Removed method. Done in GtkMenuComponent.
31266         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31267         (gtkWidgetModifyFont): Made protected and document.
31268         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31269         Removed, similar to GtkGenericPeer super class implementation.
31270         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31271         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31272         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31273         Removed.
31274   
31275 2006-02-13  Mark Wielaard  <mark@klomp.org>
31276   
31277         * java/lang/Math.java (static): Explicitly call
31278         System.loadLibrary("javalang").
31279   
31280 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31281   
31282         * javax/print/StreamPrintServiceFactory.java: New file.
31283   
31284 2006-02-13  Tom Tromey  <tromey@redhat.com>
31285   
31286         * tools/.cvsignore: Added Makefile.
31287   
31288 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31289   
31290         * java/awt/print/PrinterGraphics.java: Reformatted.
31291         * java/awt/print/Paper.java: Likewise.
31292         * java/awt/print/PageFormat.java: Likewise.
31293         * java/awt/print/Pageable.java: Likewise.
31294   
31295 2006-02-13  Lillian Angel  <langel@redhat.com>
31296   
31297         * java/awt/BorderLayout.java
31298         (layoutContainer): Rewrote part of this function to 
31299         properly set the bounds of the components.
31300         (setBounds): Removed method, not needed.
31301   
31302 2006-02-13  Roman Kennke  <kennke@aicas.com>
31303   
31304         * javax/swing/text/DefaultStyledDocument.java
31305         (ElementBuffer.clone): Fixed replace call.
31306         (clone): Removed method.
31307   
31308 2006-02-13  Roman Kennke  <kennke@aicas.com>
31309   
31310         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31311   
31312 2006-02-13  Roman Kennke  <kennke@aicas.com>
31313   
31314         * java/rmi/server/UnicastRemoteObject.java
31315         (exportObject(Remote)): Forward method call to export(Remote,int).
31316   
31317 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31318   
31319         * include/Makefile.am:
31320         Swapped Math.h for VMMath.h
31321         * include/java_lang_Math.h:
31322         Removed.
31323         * include/java_lang_VMMath.h:
31324         New autogenerated header for the new class.
31325         * java/lang/Math.java:
31326         (sin(double)): Changed to link to VMMath.
31327         (cos(double)): Changed to link to VMMath.
31328         (tan(double)): Changed to link to VMMath.
31329         (asin(double)): Changed to link to VMMath.
31330         (acos(double)): Changed to link to VMMath.
31331         (atan(double)): Changed to link to VMMath.
31332         (atan2(double)): Changed to link to VMMath.
31333         (exp(double)): Changed to link to VMMath.
31334         (log(double)): Changed to link to VMMath.
31335         (sqrt(double)): Changed to link to VMMath.
31336         (pow(double,double)): Changed to link to VMMath.
31337         (IEEEremainder(double,double)): Changed to link to VMMath.
31338         (ceil(double)): Changed to link to VMMath.
31339         (floor(double)): Changed to link to VMMath.
31340         (rint(double)): Changed to link to VMMath.
31341         * native/jni/java-lang/Makefile.am:
31342         Replaced java_lang_Math.c with java_lang_VMMath.c
31343         * native/jni/java-lang/java_lang_Math.c:
31344         Removed.
31345         * native/jni/java-lang/java_lang_VMMath.c:
31346         Renamed from java_lang_Math.c.
31347         * vm/reference/java/lang/VMMath.java:
31348         New class.
31349         (sin(double)): New native method.
31350         (cos(double)): New native method.
31351         (tan(double)): New native method.
31352         (asin(double)): New native method.
31353         (acos(double)): New native method.
31354         (atan(double)): New native method.
31355         (atan2(double)): New native method.
31356         (exp(double)): New native method.
31357         (log(double)): New native method.
31358         (sqrt(double)): New native method.
31359         (pow(double,double)): New native method.
31360         (IEEEremainder(double,double)): New native method.
31361         (ceil(double)): New native method.
31362         (floor(double)): New native method.
31363         (rint(double)): New native method.
31364         
31365 2006-02-13  Lillian Angel  <langel@redhat.com>
31366   
31367         * java/awt/Component.java
31368         (repaint): No need to call isShowing, it is done in the other repaint call.
31369         (repaint): Likewise.
31370         (repaint): Likewise.
31371   
31372 2006-02-13  Lillian Angel  <langel@redhat.com>
31373   
31374         * java/awt/Component.java
31375         (repaint): Reverted last change.
31376         (repaint): Likewise.
31377         (repaint): Likewise.
31378
31379 2006-02-13  Lillian Angel  <langel@redhat.com>
31380
31381         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31382         (handleEvent): Made more efficent by handling paint event and
31383         setting the clip for the graphics.
31384         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31385         (handleEvent): Likewise.
31386         * java/awt/Component.java
31387         (repaint): No need to call isShowing, it is done in the other repaint call.
31388         (repaint): Likewise.
31389         (repaint): Likewise.
31390   
31391 2006-02-13  Roman Kennke  <kennke@aicas.com>
31392   
31393         * javax/swing/text/AbstractDocument.java
31394         (setParent): Added API docs. Call setParent(null) on children before
31395         disconnecting this view from the View hierarchy.
31396   
31397 2006-02-13  Roman Kennke  <kennke@aicas.com>
31398   
31399         * javax/swing/text/AbstractDocument.java
31400         (readUnlock): Don't attempt to unlock when the current threads also
31401         holds a write lock.
31402   
31403 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31404   
31405         * javax/swing/plaf/metal/MetalBorders.java
31406         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31407         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31408         insets argument,
31409         (Flush3DBorder.borderInsets): New field,
31410         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31411         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31412         null insets argument, and populate result from borderInsets,
31413         (PaletteBorder.borderInsets): New field,
31414         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31415         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31416         null insets argument, and populate result from borderInsets,
31417         (InternalFrameBorder.borderInsets): New field,
31418         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31419         directly,
31420         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31421         for null insets argument, and populate result from borderInsets,
31422         (MenuItemBorder.borderInsets): Initialise to correct value.
31423
31424 2006-02-13  Roman Kennke  <kennke@aicas.com>
31425
31426         * javax/swing/text/AsyncBoxView.java: New file.
31427
31428 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31429
31430         Fixes bug #26166
31431         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31432         was moved to a new method parseCharClass.
31433         (parseCharClass): New method originally in initialize. Added parsing
31434         of nested character classes.
31435         (ParseCharClassResult): New inner class used as a return value of
31436         parseCharClass.
31437         (getCharExpression),(getNamedProperty): Made static.
31438         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31439         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31440         nested character classes.
31441         (RETokenOneOf): New constructor accepting the Vector addition.
31442         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31443         stands for only one character.
31444         (match): Added the processing of the Vector addition.
31445         (matchN), (matchP): Do not check next token if addition is used.
31446   
31447 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31448   
31449         * AUTHORS: add self.
31450   
31451 2006-02-12  Tom Tromey  <tromey@redhat.com>
31452   
31453         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31454         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31455         (securityContext): Likewise.
31456         (log): Likewise.
31457   
31458 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31459   
31460         Fixes PR 26218.
31461   
31462         * gnu/java/net/protocol/file/Connection.java (unquote):
31463         Convert Unicode characters outside basic plane to UTF-8,
31464         rather than throwing an exception.
31465   
31466 2006-02-12  Tom Tromey  <tromey@redhat.com>
31467   
31468         * javax/sound/sampled/LineEvent.java (readObject): New method.
31469         (writeObject): Likewise.
31470         (serialVersionUID): New field.
31471   
31472 2006-02-12  Mark Wielaard  <mark@klomp.org>
31473   
31474         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31475         Silently ignores null listener.
31476         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31477         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31478         array for null propertyName.
31479
31480 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31481
31482         * java/rmi/MarshalledObject.java: Added api docs to the class.
31483         * java/rmi/Remote.java: Added interface api docs.
31484         * java/rmi/package.html: Added package description.
31485         * java/rmi/AccessException.java: Minor api doc fixes.
31486         * java/rmi/NoSuchObjectException.java: Likewise.
31487         * java/rmi/AlreadyBoundException.java: Likewise.
31488         * java/rmi/RemoteException.java: Likewise.
31489         * java/rmi/NotBoundException.java: Likewise.
31490         * java/rmi/RMISecurityException.java: Likewise.
31491         * java/rmi/StubNotFoundException.java: Likewise.        
31492
31493 2006-02-12  Mark Wielaard  <mark@klomp.org>
31494
31495         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31496         q() to get EventQueue.
31497         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31498         (enableQueue): Remove static method.
31499         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31500         Don't call GtkGenericPeer.enableQueue().
31501
31502 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31503
31504         * java/rmi/MarshalledObject.java: Reformatted.
31505         * java/rmi/Naming.java: Likewise.       
31506
31507 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31508
31509         * java/io/InputStream.java
31510         (read(byte[],int,int)): Changed argument validation to prevent
31511         integer overflow. Remove redundant check.
31512   
31513 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31514   
31515         Fixes PR 26220
31516         * java/io/InputStreamReader.java
31517         (InputStreamReader(InputStream)): Use SystemProperties.
31518         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31519         Throw NullPointerException if in is null.
31520         Added maxBytesPerChar initialisation.
31521         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31522         Throw NullPointerException if in is null.
31523
31524 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31525
31526         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31527         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31528         (GnuDHPublicKey): New constructor.
31529         (getEncoded): Removed.
31530         (valueOf): Added support for ASN.1 encoding.
31531         (getEncoded(int)): Likewise.
31532         (equals): New method.
31533         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31534         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31535         (GnuDHPrivateKey(5)): New constructor.
31536         (getEncoded): Removed.
31537         (valueOf): Added support for ASN.1 encoding.
31538         (getEncoded(int)): Likewise.
31539         (equals): New method.
31540         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31541         (PREFERRED_ENCODING_FORMAT): New constant.
31542         (DEFAULT_ENCODING_FORMAT): Likewise.
31543         (preferredFormat): New field.
31544         (setup): Handle preferred encoding format identifier.
31545         (generate): Call constructors with format identifier.
31546         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31547         (GnuDHKey): Added an int argument.
31548         (getEncoded): New method.
31549         (getFormat): New implementation.
31550         (getEncoded(int)): New abstract method.
31551         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31552         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31553         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31554         key-pair generator and key-factory.
31555         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31556         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31557         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31558         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31559         (invokeConstructor): New method.
31560         (getConcreteClass): Likewise.
31561         (getConcreteCtor): Likewise.
31562         (invokeValueOf): Likewise.
31563         (getValueOfMethod): Likewise.
31564         (engineGeneratePublic): Add support for DH keys.
31565         (engineGeneratePrivate): Likewise.
31566         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31567         (decodeDHPublicKey(byte[])): Likewise.
31568         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31569         (decodeDHPrivateKey(byte[])): Likewise.
31570
31571 2006-02-11  Mark Wielaard  <mark@klomp.org>
31572
31573         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31574         Removed field.
31575         (repaint): Immediately post to queue when tm <= 0, otherwise call
31576         RepaintTimerTask.schedule().
31577         (RepaintTimerTask): Make static.
31578         (RepaintTimerTask.repaintTimer): New static final field.
31579         (RepaintTimerTask.awtComponent): New field.
31580         (schedule): New static method.
31581
31582 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31583
31584         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31585         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31586         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31587         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31588         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31589         Rewritten.
31590         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31591   
31592 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31593   
31594         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31595         (engineGeneratePublic): Added support for raw key-specifications.
31596         (engineGeneratePrivate): Likewise.
31597         (decodeDSSPublicKey): New method.
31598         (decodeRSAPublicKey): Likewise.
31599         (decodeDSSPrivateKey): Likewise.
31600         (decodeRSAPrivateKey): Likewise.
31601         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31602         (encodePrivateKey): Throw InvalidParameterException.
31603         (decodePublicKey): Likewise.
31604         (decodePrivateKey): Likewise.
31605         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31606         (encodePublicKey): Likewise.
31607         (encodePrivateKey): Likewise.
31608         (decodePublicKey): Likewise.
31609         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31610         (encodePrivateKey): Likewise.
31611         (decodePublicKey): Likewise.
31612         (decodePrivateKey): Likewise.
31613         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31614         (encodePublicKey): Likewise.
31615         (encodePrivateKey): Likewise.
31616         (decodePublicKey): Likewise.
31617   
31618 2006-02-10  Roman Kennke  <kennke@aicas.com>
31619   
31620         * javax/swing/text/StyleContext.java
31621         (registerStaticAttributeKey): New static method.
31622   
31623 2006-02-10  Roman Kennke  <kennke@aicas.com>
31624   
31625         * javax/swing/text/DefaultStyledDocument.java
31626         (ElementBuffer.clone): New method.
31627   
31628 2006-02-10  Roman Kennke  <kennke@aicas.com>
31629   
31630         * javax/swing/text/ParagraphView.java
31631         (findOffsetToCharactersInString): New method.
31632         (getClosestPositionTo): New method.
31633         (getPartialSize): New method.
31634         (getTabBase): New method.
31635         (adjustRow): New method.
31636         (breakView): New method.
31637         (getBreakWeight): New method.
31638   
31639 2006-02-10  Roman Kennke  <kennke@aicas.com>
31640   
31641         * javax/swing/text/GapContent.java
31642         (updateUndoPositions): New method.
31643         * javax/swing/text/StringContent.java
31644         (updateUndoPositions): New method.
31645   
31646 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
31647   
31648         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31649         Made it public.
31650         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31651         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31652         Added support for encoded key specifications.
31653         (engineGeneratePrivate): Likewise.
31654         (engineGetKeySpec): Likewise.
31655         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31656   
31657 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
31658   
31659         * javax/swing/text/Utilities.java:
31660         (getTabbedTextOffset): Fixed usage of variable p0.
31661         (getPositionAbove): Rewritten.
31662         (getPositionBelow): Rewritten.
31663   
31664 2006-02-09  Roman Kennke  <kennke@aicas.com>
31665   
31666         * javax/swing/text/BoxView.java
31667         (getAxis): Added @since tag.
31668         (setAxis): Added @since tag.
31669         (layoutChanged): Added @since tag.
31670         (isLayoutValid): Added @since tag.
31671         (paint): Don't call setSize here. This is done in RootView already.
31672         (getMaximumSpan): Reimplemented to return the requirements'
31673         maximum size. Added API docs.
31674         (getMinimumSpan): New method.
31675         (layout): Fixed layout order.
31676         (modelToView): Call layout instead of setSize here.
31677         (getResizeWeight): New method.
31678         (getChildAllocation): New method.
31679         (forwardUpdate): New method.
31680         (viewToModel): New method.
31681         (flipEastEndWestEnds): New method.
31682         * javax/swing/text/CompositeView.java
31683         (modelToView): Made this method more robust by returning a default
31684         location if it's not possible to calculate one via the children.
31685         This default location returns the left or right edge of this
31686         view.
31687         (createDefaultLocation): New helper method.
31688         * javax/swing/text/IconView.java
31689         (modelToView): Don't throw BadLocationException. This should
31690         really only be thrown if the position is outside the document
31691         model, not if it's outside the view's boundary.
31692   
31693 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31694   
31695         * tools/Makefile.am: Handle rmi and giop folders separately.
31696   
31697 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31698   
31699         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31700         * javax/swing/SpinnerNumberModel.java: Likewise.
31701   
31702 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31703   
31704         * javax/swing/SpinnerDateModel.java: Removed tabs,
31705         * javax/swing/SpinnerNumberModel.java: Likewise.
31706   
31707 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
31708   
31709         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31710         * doc/unicode/UnicodeData-4.0.0.txt: New file.
31711   
31712 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31713   
31714         Fixes bug #26081
31715         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
31716         (isRedirect): Removed, moved to Response.java.
31717         (connect): If error condition redirect responseSink to errorSink.
31718         (getInputStream): If error condition throw IOException, for the error
31719         codes 404 and 410 throw a FileNotFoundException.        
31720         * gnu/java/net/protocol/http/Response.java (isError): New method.
31721         (isRedirect): New method, moved from HTTPURLConnection.java.
31722   
31723 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31724   
31725         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31726         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31727         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
31728         Better diagnostic.
31729         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31730         Rewritten.
31731         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31732         AbstractMethodGenerator.
31733         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31734         tools/gnu/classpath/tools/rmi/RMIC.java,
31735         tools/gnu/classpath/tools/rmi/RMIC.txt,
31736         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31737         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31738         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31739         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31740         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31741         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
31742         New files.
31743         * NEWS: Corrected entry about the tools.
31744   
31745 2006-02-09  Lillian Angel  <langel@redhat.com>
31746   
31747         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31748         (handleEvent): Added more to check to prevent assertion errors.
31749         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31750         (handleEvent): Likewise.
31751         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31752         (handleEvent): Likewise.
31753   
31754 2006-02-09  Mark Wielaard  <mark@klomp.org>
31755   
31756         * javax/swing/JTable.java (tableChanged): Interpret null event as
31757         "everything changed".
31758   
31759 2006-02-09  Roman Kennke  <kennke@aicas.com>
31760   
31761         * javax/swing/text/DefaultCaret.java
31762         (DocumentHandler.removeUpdate): When update policy is
31763         'on eventqueue', and the update doesn't come from the
31764         event queue, check if the current dot location is still
31765         valid.
31766         (moveDot): Make sure the new dot location is valid.
31767         (setDot): Set the mark the same as the dot.
31768   
31769 2006-02-09  Roman Kennke  <kennke@aicas.com>
31770   
31771         * javax/swing/text/AbstractDocument.java
31772         (remove): Perform all operations within a write lock and in the
31773         correct order.
31774   
31775 2006-02-09  Mark Wielaard  <mark@klomp.org>
31776   
31777         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31778         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31779         creater than min, adjusting page_size if necessary.
31780         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31781   
31782 2006-02-09  Lillian Angel  <langel@redhat.com>
31783   
31784         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31785         (handleEvent): Added code to handle PaintEvent.UPDATE.
31786         Sun does not call update(Graphics g) on Panels.
31787         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31788         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31789         Sun does not call update(Graphics g) on Panels.
31790   
31791 2006-02-09  Roman Kennke  <kennke@aicas.com>
31792   
31793         * javax/swing/text/BoxView.java
31794         (myAxis): Made field private.
31795         (xLayoutValid): Replaced by layoutValid array.
31796         (yLayoutValid): Replaced by layoutValid array.
31797         (layoutValid): New field.
31798         (spansX): Replaced by spans array.
31799         (spansY): Replaced by spans array.
31800         (spans): New field.
31801         (offsetsX): Replaced by offsets array.
31802         (offsetsY): Replaced by offsets array.
31803         (offsets): New field.
31804         (requirements): New field.
31805         (BoxView): Initialize new fields.
31806         (layoutChanged): Rewritten to use the layoutValid array.
31807         (isLayoutValid): Rewritten to use the layoutValid array.
31808         (replace): Use the new arrays.
31809         (getPreferredSpan): Rewritten to call calculateXXXRequirements
31810         instead of baselineRequirements.
31811         (baselineRequirements): Rewritten to calculate baseline requirements.
31812         (baselineLayout): Rewritten to calculate baseline layout.
31813         (childAllocation): Use new arrays.
31814         (layout): Rewritten. Only update the layout if necessary.
31815         (layoutMajorAxis): Directly set layoutValid.
31816         (layoutMinorAxis): Directly set layoutValid. Use cached size
31817         requirements.
31818         (getWidth): Use new span array.
31819         (getHeight): Likewise.
31820         (setSize): Rewritten to simply call layout().
31821         (validateLayout): Removed unneeded method.
31822         (getSpan): Use new arrays.
31823         (getOffset): Use new arrays.
31824         (getAlignment): Use cached requirements if possible.
31825         (preferenceChanged): Use new arrays.
31826         * javax/swing/text/FlowView.java
31827         (FlowStrategy.insertUpdate): Do nothing here.
31828         (FlowStrategy.removeUpdate): Do nothing here.
31829         (FlowStrategy.changedUpdate): Do nothing here.
31830         (FlowStrategy.layoutRow): Rewritten.
31831         (FlowStrategy.createView): Rewritten.
31832         (FlowStrategy.adjustRow): New method.
31833         (LogicalView.getViewIndex): Fixed condition for finding child
31834         view.
31835         (layoutDirty): New field indicating the state of the layout.
31836         (FlowView): Initialize new field.
31837         (loadChildren): Set parent on logical view so that preferenceChanges
31838         get propagated upwards.
31839         (layout): Rewritten to match the specs.
31840         (insertUpdate): Set layout to dirty.
31841         (removeUpdate): Set layout to dirty.
31842         (changedUpdate): Set layout to dirty.
31843         * javax/swing/text/GlyphView.java
31844         (getBreakWeight): Rewritten to use the Utilities class. Commented
31845         out though because that is broken.
31846         (insertUpdate): Call preferenceChanged on this object instead of
31847         parent.
31848         * javax/swing/text/ParagraphView.java
31849         (Row.loadChildren): Overridden to be a noop to prevent initial
31850         creation of child views. This is carried out by the flow layout.
31851         * javax/swing/text/View.java
31852         (getPreferredSpan): Added API docs.
31853         (getResizeWeight): Added API docs.
31854         (getMaximumSpan): Added API docs. Rewritten to only have one exit
31855         point.
31856         (getMinimumSpan): Added API docs. Rewritten to return 0 when
31857         resizable instead of Integer.MAX_VALUE.
31858         (getAlignment): Added API docs.
31859         (replace): Added API docs.
31860         (forwardUpdate): Rewritten to only notify child views that need to
31861         be notified.
31862   
31863 2006-02-09  Roman Kennke  <kennke@aicas.com>
31864   
31865         * javax/swing/plaf/basic/BasicTextUI.java
31866         (RootView.paint): Call setSize() before painting the view.
31867   
31868 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31869   
31870         Fixes bug #26112
31871         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31872         flag which enables backslash escape in a replacement.
31873         (getReplacement): New public static method. 
31874         (substituteImpl),(substituteAllImpl): Use getReplacement.
31875         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31876         * java/util/regex/Matcher.java(appendReplacement)
31877         Use RE#getReplacement.
31878         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31879
31880 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
31881
31882         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31883         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31884         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31885         (PREFERRED_ENCODING_FORMAT): New constant.
31886         (DEFAULT_ENCODING_FORMAT): Likewise.
31887         (preferredFormat): New field.
31888         (setup): Add support for preferred encoding format.
31889         (generate): Call key constructors with explicit format identifier.
31890         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
31891         Call constructor with 3 arguments..
31892         (GnuRSAPublicKey(3)): New constructor.
31893         (valueOf): Added support for ASN.1 format.
31894         (getEncoded): Likewise.
31895         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31896         Call constructor with 5 arguments.
31897         (GnuRSAPrivateKey(5)): New constructor.
31898         (GnuRSAPrivateKey(9)): New constructor.
31899         (valueOf): Added support for ASN.1 format.
31900         (getEncoded): Likewise.
31901         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31902         (GnuRSAKey): Modified constructor.
31903         (getFormat): Return preferred format identifier.
31904         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31905         (decodePrivateKey): Fixed documentation.
31906         Check Version field.
31907         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31908         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31909         format.
31910         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31911         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31912         (engineGeneratePublic): Added support for RSA.
31913         (engineGeneratePrivate): Likewise.
31914
31915 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31916
31917         * java/net/URLConnection.java:
31918         (setAllowUserInteraction): Throw IllegalStateException if connected.
31919         (getRequestProperty): Document return value if key is null.
31920         * gnu/java/net/protocol/http/HTTPURLConnection.java:
31921         (getRequestProperty): Return null if key is null.
31922         (getRequestProperties): Throw IllegalStateException if connected.
31923         (setRequestProperty): Call super method for exception tests.
31924         (addRequestProperty): Likewise.
31925   
31926 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31927   
31928         * gnu/java/net/protocol/http/Request.java:
31929         (Request): Remove initialization of removed field.
31930         (requestBodyNegotiationThreshold): Removed now unused field.
31931         (setRequestBodyNegotiationThreshold): Remove now unused method.
31932         (dispatch): Do not use 'Expect 100-continue' header if content-length
31933         is over a treshold. If user specified 'Expect 100-continue' still
31934         initialize the expectingContinue variable.
31935
31936 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31937
31938         * javax/swing/SpinnerNumberModel.java
31939         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
31940         maximum and minimum to take null values,
31941         (setValue): Only fire ChangeEvent if new value is different to old 
31942         value,
31943         (setMinimum): Fixed test for updating value,
31944         (setMaximum): Likewise,
31945         (setStepSize): Likewise.
31946   
31947 2006-02-08  Tom Tromey  <tromey@redhat.com>
31948   
31949         * tools/.cvsignore: Added Makefile.in.
31950   
31951 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31952   
31953         * java/rmi/server/RemoteRef.java,
31954         java/rmi/server/RemoteStub.java: Commented.
31955   
31956 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31957   
31958         * javax/swing/SpinnerDateModel.java
31959         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31960         checks,
31961         (getPreviousValue): Check result against start, not end,
31962         (setValue): Check that value actually changes before firing 
31963         ChangeEvent.
31964
31965 2006-02-08  Lillian Angel  <langel@redhat.com>
31966
31967         * java/awt/Choice.java
31968         (select): Fixed up code, added some checks to prevent errors.
31969         (dispatchEventImpl): Removed. This function is not needed. It 
31970         causes several assertion errors.
31971   
31972 2006-02-08  Roman Kennke  <kennke@aicas.com>
31973   
31974         * javax/swing/text/PlainView.java
31975         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
31976         drawing unnecessary characters.
31977   
31978 2006-02-08  Lillian Angel  <langel@redhat.com>
31979   
31980         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31981         (handleEvent): Fixed check to determine if height or
31982         width is less than 1.
31983   
31984 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31985   
31986         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
31987   
31988 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31989   
31990         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
31991         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
31992         Documenting the code generator.
31993         * gnu/CORBA/IOR.java (toStringFormatted, 
31994         CodeSet_component.toStringFormatted): New methods.
31995         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
31996         * tools/gnu/classpath/tools/giop/README: Rewritten.
31997         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
31998         (printHelpAndExit): Removed.
31999         *tools/gnu/classpath/tools/giop/IorParser.java,
32000         tools/gnu/classpath/tools/giop/IorParser.txt,
32001         tools/gnu/classpath/tools/giop/NameService.java,
32002         tools/gnu/classpath/tools/giop/NamingService.txt,
32003         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32004         NEWS: Added note about GIOP tools.
32005
32006 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32007
32008         * .classpath: New source patch (tools).
32009         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32010         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32011         * tools/gnu/classpath/tools/Makefile.am,
32012         tools/gnu/classpath/tools/giop/GRMIC.java
32013         tools/gnu/classpath/tools/giop/GRMIC.txt,
32014         tools/gnu/classpath/tools/giop/README,
32015         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32016         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32017         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32018         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32019         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32020         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32021         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32022         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32023         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32024         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32025         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32026         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32027   
32028 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32029   
32030         * java/awt/BasicStroke.java: Updated API docs all over,
32031         * java/awt/doc-files/capjoin.png: New file.
32032   
32033 2006-02-07  Lillian Angel  <langel@redhat.com>
32034   
32035         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32036         (handleEvent): Added check. Should not paint or update the 
32037         component if it's width and height are both 0.  
32038   
32039 2006-02-07  Roman Kennke  <kennke@aicas.com>
32040   
32041         * javax/swing/text/AbstractDocument.java
32042         (insertString): Enclose locking/unlocking in try-finally block
32043         and also keep locked while notifying the listeners.
32044   
32045 2006-02-07  Roman Kennke  <kennke@aicas.com>
32046   
32047         * javax/swing/text/GlyphView.java
32048         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32049         element boundary).
32050         (getStartOffset): Return element boundary if startOffset < 0.
32051         (getEndOffset): Return element boundary if endOffset < 0.
32052         (createFragment): Set startOffset and endOffset fields of fragment
32053         if one of p0 or p1 is not at the element boundary.
32054   
32055 2006-02-07  Roman Kennke  <kennke@aicas.com>
32056   
32057         * javax/swing/CellRendererPane.java
32058         (paintComponent): Enclosed painting in try finally to properly
32059         clean up even when throwing an exception.
32060   
32061 2006-02-07  Roman Kennke  <kennke@aicas.com>
32062   
32063         * javax/swing/UIManager.java
32064         (listeners): Made this an instance of
32065         java.beans.PropertyChangeSupport instead of the obsoleted
32066         SwingPropertyChangeSupport.
32067
32068 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32069
32070         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32071         of actions "delete-next" and "delete-previous", added new TextAction
32072         implementations for "selection-begin", "selection-begin-line",
32073         "selection-end" and "selection-end-line".
32074   
32075 2006-02-07  Roman Kennke  <kennke@aicas.com>
32076   
32077         * javax/swing/plaf/basic/BasicTextUI.java
32078         (paint): Acquire read lock on the document before calling
32079         paintSafely.
32080         (paintSafely): Added comment about what this method does.
32081         (paintBackground): Implemented to actually paint the background.
32082         (update): Overridden to _not_ paint the background. This is done
32083         in paintBackground in this UI.
32084   
32085 2006-02-07  Roman Kennke  <kennke@aicas.com>
32086   
32087         * javax/swing/text/View.java
32088         (forwardUpdate): Don't notify newly added child views as specified.
32089   
32090 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32091   
32092         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32093   
32094 2006-02-07  Roman Kennke  <kennke@aicas.com>
32095   
32096         * javax/swing/text/DefaultStyledDocument.java
32097         (ElementBuffer.insert): Only register change when the element
32098         actually changed.
32099   
32100 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32101   
32102         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32103         method.
32104         (getEncodingShortName): Likewise.
32105         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32106         (PKCS8_FORMAT): Likewise.
32107         (ASN1_FORMAT): Likewise.
32108         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32109         constructor with 5 arguments.
32110         (DSSPublicKey(5)): New constructor.
32111         (valueOf): Handle ASN.1 encoding.
32112         (getEncoded): Likewise.
32113         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32114         constructor with 5 arguments.
32115         (DSSPrivateKey(5)): New constructor.
32116         (valueOf): Handle ASN.1 encoding.
32117         (getEncoded): Likewise.
32118         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32119         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32120         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32121         (PREFERRED_ENCODING_FORMAT): New constant.
32122         (DEFAULT_ENCODING_FORMAT): Likewise.
32123         (preferredFormat): New field.
32124         (setup): Handle preferred format ID.
32125         (generate): Use new ctors with 5 arguments.
32126         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32127         ID as an additional argument.
32128         (defaultFormat): new field.
32129         (getFormat): Returns the preferred format as a short string.
32130         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32131         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32132         Likewise
32133         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32134         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32135         encoding format.
32136         (initialize(int,boolean,SecureRandom)): Likewise.
32137         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32138         writeLength() instead of write().
32139         return buf.length + 1 instead of buf.length.
32140   
32141 2006-02-07  Roman Kennke  <kennke@aicas.com>
32142   
32143         * javax/swing/plaf/basic/BasicTextUI.java
32144         (RootView.preferenceChange): Changed view parameter to view so
32145         that it doesn't hide a field of that class.
32146         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32147         (RootView.modelToView): Removed unnecessary cast from View to View.
32148         (PropertyChangeHandler): Made inner class private.
32149         (updateHandler): Made field private.
32150         (getVisibleEditorRect): Removed unneeded local variable that
32151         shadowed a field with the same name and purpose.
32152   
32153 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32154   
32155         * javax/swing/text/JTextComponent.java:
32156         (getSelectedText): Calculate offset and use that as
32157         second argument.
32158   
32159 2006-02-07  Roman Kennke  <kennke@aicas.com>
32160   
32161         * javax/swing/JTextPane.java
32162         (setCharacterAttributes): Replace input attributes when
32163         replace==true.
32164   
32165 2006-02-07  Roman Kennke  <kennke@aicas.com>
32166   
32167         * java/awt/Component.java
32168         (firePropertyChange(String,byte,byte)): Made method public.
32169         (firePropertyChange(String,char,char)): Made method public.
32170         (firePropertyChange(String,short,short)): Made method public.
32171         (firePropertyChange(String,long,long)): Made method public.
32172         (firePropertyChange(String,float,float)): Made method public.
32173         (firePropertyChange(String,double,double)): Made method public.
32174   
32175 2006-02-06  Tom Tromey  <tromey@redhat.com>
32176   
32177         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32178         2006.
32179         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32180   
32181 2006-02-06  Anthony Green  <green@redhat.com>
32182   
32183         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32184   
32185 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32186   
32187         * .settings/org.eclipse.jdt.core.prefs:
32188         Force a line split on extends and implements.
32189         Force a white-space after unary operators.
32190         Don't force a new-line after @params.
32191         Add new-line at end-of-file.
32192         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32193   
32194 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32195   
32196         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32197         Registry constant.
32198         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32199         Likewise.
32200         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32201         Likewise.
32202         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32203         Likewise.
32204         * gnu/java/security/provider/EncodedKeyFactory.java
32205         (ID_DSA): Redefined in terms of Registry constant.
32206         (ID_DSA): Redefined in terms of Registry constant.
32207         (ID_DH): Redefined in terms of Registry constant.
32208         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32209         (PKCS8_ENCODING): Likewise.
32210         (ASN1_ENCODING): Likewise.
32211         (RAW_ENCODING_SHORT_NAME): Likewise.
32212         (X509_ENCODING_SORT_NAME): Likewise.
32213         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32214         (ASN1_ENCODING_SHORT_NAME): Likewise.
32215         (X509_ENCODING_ID): Likewise.
32216         (PKCS8_ENCODING_ID): Likewise.
32217         (ASN1_ENCODING_ID): Likewise.
32218         (DSA_OID_STRING): Likewise.
32219         (RSA_OID_STRING): Likewise.
32220         (DH_OID_STRING): Likewise.
32221
32222 2006-02-06  Roman Kennke  <kennke@aicas.com>
32223
32224         * javax/swing/text/GlyphView.java:
32225         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32226         Only fill background if there is a background set on the view.
32227         Call Utilities.drawTabbedText with the baseline height, rather than
32228         the upper left corner of the view rectangle.
32229         (getBackground): Return null if no background is set.
32230         * javax/swing/text/GlyphView.java:
32231         (setPropertiesFromAttributes): Use null for background when no
32232         background is set. StyleConstants.getBackground() doesn't work
32233         for this, because it returns Color.BLACK in that case.
32234   
32235 2006-02-06  Roman Kennke  <kennke@aicas.com>
32236   
32237         * java/awt/Container.java
32238         (changeSupport): Removed duplicate (from Component) field.
32239         (addPropertyChangeListener): Call super.
32240   
32241 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32242   
32243         * java/util/regex/Matcher.java(matches):
32244         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32245   
32246 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32247
32248         Fixes bug #25812
32249         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32250         * gnu/regexp/CharIndexedCharArray.java
32251         (lookBehind),(length): Implemented.
32252         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32253         * gnu/regexp/CharIndexedString.java: Likewise.
32254         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32255         * gnu/regexp/REToken.java(getMaximumLength): New method.
32256         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32257         maxLength.
32258         (initialize): Parse (?<=X), (?<!X), (?>X).
32259         (getMaximumLength): Implemented.
32260         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32261         * gnu/regexp/RETokenChar.java: Likewise.
32262         * gnu/regexp/RETokenEnd.java: Likewise.
32263         * gnu/regexp/RETokenEndSub.java: Likewise.
32264         * gnu/regexp/RETokenLookAhead.java: Likewise.
32265         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32266         * gnu/regexp/RETokenOneOf.java: Likewise.
32267         * gnu/regexp/RETokenPOSIX.java: Likewise.
32268         * gnu/regexp/RETokenRange.java: Likewise.
32269         * gnu/regexp/RETokenRepeated.java: Likewise.
32270         * gnu/regexp/RETokenStart.java: Likewise.
32271         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32272         * gnu/regexp/RETokenIndependent.java: New file.
32273         * gnu/regexp/RETokenLookBehind.java: New file.
32274   
32275 2006-02-06  Roman Kennke  <kennke@aicas.com>
32276   
32277         * java/awt/Component.java
32278         (firePropertyChange(String,byte,byte)): New method.
32279         (firePropertyChange(String,char,char)): New method.
32280         (firePropertyChange(String,short,short)): New method.
32281         (firePropertyChange(String,long,long)): New method.
32282         (firePropertyChange(String,float,float)): New method.
32283         (firePropertyChange(String,double,double)): New method.
32284
32285 2006-02-06  Roman Kennke  <kennke@aicas.com>
32286
32287         * javax/swing/JComponent.java
32288         (AccessibleJComponent.changeSupport): Changed to be a
32289         java.beans.PropertyChangeSupport rather than
32290         SwingPropertyChangeSupport.
32291         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32292         of above field.
32293         (changeSupport): Removed unneeded field.
32294         (removePropertyChangeListener): Removed unneeded methods.
32295         (addPropertyChangeListener): Removed unneeded methods.
32296         (getPropertyChangeListeners): Removed unneeded methods.
32297         (firePropertyChange(String,boolean,boolean)): Changed to simply
32298         call super. Added specnote.
32299         (firePropertyChange(String,char,char)): Changed to simply
32300         call super. Added specnote.
32301         (firePropertyChange(String,int,int)): Changed to simply
32302         call super. Added specnote.
32303         (firePropertyChange(String,byte,byte)): Removed.
32304         (firePropertyChange(String,Object,Object)): Removed.
32305         (firePropertyChange(String,double,double)): Removed.
32306         (firePropertyChange(String,float,float)): Removed.
32307         (firePropertyChange(String,long,long)): Removed.
32308         (firePropertyChange(String,short,short)): Removed.
32309   
32310 2006-02-06  Roman Kennke  <kennke@aicas.com>
32311   
32312         * javax/swing/event/SwingPropertyChangeSupport.java
32313         (listeners): Removed field.
32314         (propertyListeners): Removed field.
32315         (source): Removed field.
32316         (SwingPropertyChangeSupport()): Removed initialization of removed
32317         fields.
32318         (addPropertyChangeListener): Removed methods.
32319         (removePropertyChangeListener): Removed methods.
32320         (getPropertyChangeListeners): Removed methods.
32321         (firePropertyChange): Removed methods.
32322         (hasListeners): Removed methods.
32323   
32324 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32325   
32326         Fixes PR 25313
32327         * java/net/InetAddress.java
32328         (readResolve): Implemented.
32329   
32330 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32331   
32332         Fixes PR 26121
32333         * java/io/ObjectInputStream.java
32334         (readNextBlock()): Handle TC_RESET.
32335   
32336 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32337         
32338         * javax/print/attribute/standard/Compression.java,
32339         * javax/print/attribute/standard/Finishings.java, 
32340         * javax/print/attribute/standard/JobMediaSheets.java,
32341         * javax/print/attribute/standard/JobSheets.java,
32342         * javax/print/attribute/standard/JobState.java,
32343         * javax/print/attribute/standard/JobStateReason.java,
32344         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32345         * javax/print/attribute/standard/PrintQuality.java,
32346         * javax/print/attribute/standard/Media.java,
32347         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32348         * javax/print/attribute/standard/PrinterStateReason.java,
32349         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32350         (getName): Make method final.
32351         (getCategory): Likewise.
32352         * javax/print/attribute/standard/MediaSize.java: 
32353         (getName): Make method final.
32354         (getCategory): Likewise.
32355         (ISO): Added private default constructor.
32356         (NA): Likewise.
32357         (JIS): Likewise.
32358         (Other): Likewise.
32359         (Engineering): Likewise.
32360
32361 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32362         
32363         * native/jni/java-net/javanet.c (_javanet_connect):
32364         Throw ConnectException instead of IOException if connection failed.
32365         * native/jni/java-net/javanet.h:
32366         Add a define for java.net.ConnectException
32367   
32368 2006-02-05  Mark Wielaard  <mark@klomp.org>
32369   
32370         Fixes bug #26101
32371         reported by Egon Willighagen <egon.willighagen@gmail.com>
32372         * javax/swing/DefaultListCellRenderer.java
32373         (getListCellRendererComponent): Turn null value into empty string.
32374   
32375 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32376   
32377         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32378         a Unicode block if the name starts with "In".
32379         (UnicodeBlockHandler): New inner class.
32380   
32381 2006-02-04  Roman Kennke  <kennke@aicas.com>
32382   
32383         * java/awt/Container.java
32384         (getComponentZOrder): New method.
32385         (setComponentZOrder): New method.
32386         * javax/swing/JLayeredPane.java
32387         (setPosition): Reimplemented to use setComponentZOrder().
32388         (getIndexOf): Reimplemented to use getComponentZOrder().
32389         (addImpl): Pass layerContraint to super call. Important for possibly
32390         installed layout managers.
32391         (swapComponents): Remove unneeded method.
32392
32393 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32394
32395         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32396         DSAKeyPairGenerator.
32397         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32398         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32399         message.
32400         Surround call to adaptee in a try/catch.
32401         (initialize((DSAParams,SecureRandom)): New method.
32402         (initialize(int,boolean,SecureRandom)): New method.
32403         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32404         KeyPairGenerator rather than KeyPairGeneratorSpi.
32405         (KeyPairGeneratorAdapter): Call super with algorithm name.
32406
32407 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32408
32409         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32410         (getDefaultPRNG): New method.
32411         (parseO): Use method above.
32412         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32413         (getDefaultPRNG): New method.
32414         (createO): Use method above.
32415         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32416         (nextByte): Use above field.
32417         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32418         * gnu/java/security/sig/rsa/RSA.java: New class field.
32419         (newR): Use above field
32420         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32421         (encode): Use field.above.
32422         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32423         (getDefaultPRNG): new method.
32424         (nextRandomBytes): Use above method.
32425         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32426         * gnu/java/security/sig/BaseSignature.java: Likewise.
32427         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32428         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32429         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32430         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32431         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32432         (getDefaultPRNG): new method.
32433         (nextRandomBytes): Use above method.
32434         (STRICT_DEFAULTS): new class field.
32435         (USE_DEFAULTS): more documentation to clarify behavior.
32436         (setup): amended to handle new attribute.
32437         * gnu/java/security/util/PRNG.java: New file.
32438   
32439 2006-02-03  Lillian Angel  <langel@redhat.com>
32440   
32441         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32442         chooser field should be protected, not package-private. 
32443   
32444 2006-02-03  Lillian Angel  <langel@redhat.com>
32445         
32446         * javax/swing/text/DefaultStyledDocument.java
32447         (changeUpdate): Cleaned up code.
32448         (split): Likewise.
32449         (insertUpdate): Set offset to be equal to pos after
32450         insertContentTag call.
32451         (insertContentTag): If paragraph has no children, should use
32452         replace instead of Edit.
32453         (insertFracture): Moved around code to prevent any exception. Also,
32454         left side of tree should not be recreated if it has already been 
32455         edited. In that case, we should only be creating a new right branch
32456         when fracturing.
32457         (getEditForParagraphAndIndex): No need to check index. We should
32458         use the same edit for each paragraph.
32459   
32460 2006-02-03  Mark Wielaard  <mark@klomp.org>
32461   
32462         * javax/swing/event/SwingPropertyChangeSupport.java
32463         (propertyListeners): Change type to HashMap.
32464         (SwingPropertyChangeSupport): Allocate HashMap.
32465   
32466 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32467   
32468         * java/security/KeyPairGenerator.java (getInstance): Test for
32469         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32470   
32471 2006-02-02  Roman Kennke  <kennke@aicas.com>
32472   
32473         * javax/swing/RepaintManager.java
32474         Made fields private.
32475         (RepaintWorker.run): Enclosed work stuff in try finally block in
32476         order to clean up correctly if invalidation or painting fails,
32477         otherwise we would get no more RepaintWorkers onto the EventQueue.
32478         Also, now the RepaintWorker is marked 'dead' only after it has
32479         finished its work, avoid more than one RepaintWorker on the queue.
32480         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32481         instead of hierarchy depths.
32482         (workDirtyComponents): Removed unused field.
32483         (repaintOrder): Removed unused field.
32484         (workRepaintOrder): Removed unused field.
32485         (workInvalidComponents): Removed unused field.
32486         (RepaintManager()): Removed initialization of removed fields.
32487         (addInvalidComponent): Fine tuned synchronization.
32488         (removeInvalidComponent): Fine tune synchronization.
32489         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32490         synchronization. Don't manager repaintOrder here.
32491         (insertRepaintOrder): Removed method.
32492         (markCompletelyClean): Fine tuned synchronization.
32493         (validateInvalidComponents): Dont use a working copy of the
32494         invalidComponents list, instead fine tuned synchronization on this
32495         list. Also, don't search validateRoot, this is already done in
32496         addInvalidComponent().
32497         (paintDirtyRegions): Compute repaint order here, based on size of
32498         damaged regions. Fine tuned synchronization. Avoid use of working
32499         copies of dirtyComponent.
32500   
32501 2006-02-02  Lillian Angel  <langel@redhat.com>
32502   
32503         * javax/swing/text/DefaultStyledDocument.java
32504         (insertUpdate): JoinNextDirection should push the 
32505         'next' paragraph on the stack.
32506   
32507 2006-02-02  Lillian Angel  <langel@redhat.com>
32508   
32509         * javax/swing/text/DefaultStyledDocument.java
32510         (insertUpdate): Rewrote code for Originate. This prevents
32511         leaves being created multiple times. If it is on the last 
32512         ElementSpec, the leaves need to be created right then; 
32513         otherwise, only a branch is created.
32514         (insertContentTag): Rewrote to add new leaf directly if
32515         this is a branch with no children. Otherwise, it
32516         recreates the remainder of the tree as before.
32517   
32518 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32519   
32520         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32521         for making a list of REMatch instances.
32522         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32523         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32524         (match): Rewritten using REMatchList.
32525         (matchRest): Rewritten using REMatchList.
32526   
32527 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32528   
32529         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32530         (friendsMove):  Call repaint() only after endOfGame is assigned.
32531   
32532 2006-02-02  Mark Wielaard  <mark@klomp.org>
32533   
32534         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32535         * java/util/AbstractCollection.java (toString): Only use Iterator,
32536         check whether collection contains itself.
32537   
32538 2006-02-01  Casey Marshall  <csm@gnu.org>
32539   
32540         Partial fix for PR classpath/25143.
32541         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32542         (<init>): fill in `algName,' derive `algOid' from `algName.'
32543         (getOid): new method.
32544         (encode): embed NULL value for parameters if `params' is `null.'
32545   
32546 2006-02-01  Casey Marshall  <csm@gnu.org>
32547   
32548         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32549         <monoman@gmail.com>.    
32550         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32551         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32552   
32553 2006-02-01  Casey Marshall  <csm@gnu.org>
32554   
32555         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32556         * gnu/java/security/der/DERValue.java
32557         (getLength, getEncoded, getEncodedLength): throw an exception,
32558         don't initialize `encoded' to a bogus value.
32559         (toString): return a more helpful string.
32560
32561         Partial fix for PR classpath/25144.
32562         * gnu/java/security/der/DERWriter.java (write): if the value is
32563         the pseudo-value used for CONSTRUCTED, write the encoded value
32564         directly.
32565         
32566 2006-02-01  Tom Tromey  <tromey@redhat.com>
32567   
32568         * java/security/Security.java (loadProviders): Use system class
32569         loader.
32570   
32571 2006-02-01  Mark Wielaard  <mark@klomp.org>
32572   
32573         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32574         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32575         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32576         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32577         (UnicodeCategoriesHandler): New private static class.
32578         
32579 2006-02-01  Lillian Angel  <langel@redhat.com>
32580   
32581         * javax/swing/text/DefaultStyledDocument.java:
32582         Removed unneeded fields.
32583         (insertUpdate): Removed field initialization.
32584         (insertContentTag): Rewrote part of function. Still
32585         not complete.
32586   
32587 2006-02-01  Lillian Angel  <langel@redhat.com>
32588   
32589         * javax/swing/text/DefaultStyledDocument.java
32590         (insertParagraph): Cleaned up code.
32591         (insertFirstContentTag): Fixed call to recreateLeaves.
32592         (insertContentTag): Added check to code to determine where
32593         content should be inserted with respect to next element.
32594         (createFracture): Removed check, recreateLeaves is called in 
32595         other places when needed.
32596         (recreateLeaves): Added new parameter for paragraph instead
32597         of checking the stack. Removed editing for newBranch, replaced
32598         with a replace call.
32599
32600 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
32601
32602         * doc/unicode/Blocks-4.0.0.txt: New file.
32603         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
32604         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32605         * scripts/unicode-blocks.pl: Copied this over from the generics branch
32606         but replaced some 1.5-only features (such as enum).
32607   
32608 2006-01-31  Roman Kennke  <kennke@aicas.com>
32609   
32610         * javax/swing/text/PasswordView.java
32611         (drawSelectedText): Use drawEchoCharacter() method to draw echo
32612         character.
32613         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32614         character.
32615   
32616 2006-01-31  Roman Kennke  <kennke@aicas.com>
32617   
32618         * javax/swing/JTextField.java
32619         (getPreferredSize): Also include textfield's insets in width
32620         calculation.
32621   
32622 2006-01-31  Roman Kennke  <kennke@aicas.com>
32623   
32624         * javax/swing/plaf/basic/BasicTextUI.java
32625         (getPreferredSize): Include the textcomponent's insets in
32626         preferredSize.
32627   
32628 2006-01-31  Roman Kennke  <kennke@aicas.com>
32629   
32630         * javax/swing/table/DefaultTableCellRenderer.java
32631         (getTableCellRendererComponent): Moved setting of the value into
32632         setValue(). Removed (bogus) special handling of JTextField values.
32633         (setValue): Made ?: statement more clear by rewriting it
32634         with if .. else.
32635   
32636 2006-01-31  Roman Kennke  <kennke@aicas.com>
32637   
32638         * javax/swing/JLayeredPane.java
32639         (insertIndexForLayer): Fixed algorithm to correctly determine
32640         inser index for positions >= 0.
32641         (addImpl): Fixed API docs for the index parameter.
32642   
32643 2006-01-31  Mark Wielaard  <mark@klomp.org>
32644   
32645         * java/net/URI.java (getURIGroup): Check for null to see whether
32646         group actually exists.
32647   
32648 2006-01-31  Lillian Angel  <langel@redhat.com>
32649   
32650         * javax/swing/text/DefaultStyledDocument.java
32651         (changeUpdate): Fixed calls to split to incorporate 
32652         new parameter.
32653         (insertParagraph): Likewise. Uses 0 as editIndex
32654         because inserting into a new paragraph.
32655         (insertContentTag): Fixed check to use 
32656         recreateLeaves. Added a FIXME comment.
32657         (split): Added a new parameter for edits.
32658   
32659 2006-01-31  Roman Kennke  <kennke@aicas.com>
32660   
32661         * javax/swing/plaf/basic/BasicRootPaneUI.java
32662         (installDefaults): Don't install a background color here.
32663   
32664 2006-01-31  Lillian Angel  <langel@redhat.com>
32665   
32666         * javax/swing/text/DefaultStyledDocument.java
32667         (insert): Removed comment.
32668         (insertUpdate): Added comment.
32669         (recreateLeaves): Removed call to push newBranch onto the
32670         stack. This does not need to be done here.
32671   
32672 2006-01-31  Chris Burdess  <dog@gnu.org>
32673   
32674         * gnu/xml/stream/SAXParser.java,
32675           gnu/xml/stream/UnicodeReader.java,
32676           gnu/xml/stream/XIncludeFilter.java,
32677           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32678           only resolved the system ID not the stream. Make some utility methods
32679           public and static for use by other private XML APIs.
32680         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32681           called without throwing IllegalStateException.
32682         * java/util/logging/SimpleFormatter.java: Write thrown exception if
32683           provided.
32684
32685 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32686
32687         Fixes bug #22873
32688         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32689         for an invalid index and return null for a skipped group.
32690
32691 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32692
32693         Fixes bug #26002
32694         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32695         (NamedProperty): New inner class.
32696         (getNamedProperty): New method.
32697         (getRETokenNamedProperty): New Method.
32698         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32699         * gnu/regexp/RETokenNamedProperty.java: New file.
32700
32701 2006-01-31  Roman Kennke  <kennke@aicas.com>
32702
32703         * javax/swing/plaf/PlainView.java
32704         (paint): Call drawLine with baseline coordinates.
32705         (drawLine): Documented and indented this method.
32706         (drawUnselecetedText): Documented and indented this method.
32707         * javax/swing/plaf/text/Utilites.java
32708         (drawTabbedText): The coordinates denote the baseline of the text
32709         not the upper left corner.
32710   
32711 2006-01-31  Roman Kennke  <kennke@aicas.com>
32712   
32713         * javax/swing/plaf/basic/BasicTextUI.java
32714         (createKeymap): Don't store KeyBindings[] as focusInputMap in
32715         UIManager. Added FIXME regarding the implementation of this method.
32716   
32717 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32718   
32719         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32720         (ButtonDemo): Move content initialisation to new method,
32721         (initFrameContent): New method,
32722         (main): Call initFrameContent(),
32723         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32724         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32725         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32726         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32727         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32728   
32729 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32730   
32731         * examples/gnu/classpath/examples/swing/Demo.java
32732         (Demo): Set frame size,
32733         (mkButtonBar): Removed stacked sub-panels.
32734   
32735 2006-01-30  Lillian Angel  <langel@redhat.com>
32736   
32737         * javax/swing/text/DefaultStyledDocument.java:
32738         Added new fields.
32739         (insert): Initialized fields. Removed call to addEdit, 
32740         and created ElementEdit instead.
32741         (insertUpdate): Added check for fracturing. If the
32742         fracturing was not successful, we should push the
32743         last element back on the stack.
32744         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32745         Also, changed replace calls to use Edit.
32746         (insertFirstContentTag): Removed unneeded check and fixed call
32747         to recreateLeaves.
32748         (insertContent): Fixed check to use new fields. Added code in
32749         to check if leaves overlap.
32750         (createFracture): Fixed call to recreateLeaves.
32751         (recreateLeaves): Fixed code and cleaned it up a bit.
32752         (insertFracture): Set fracNotCreated field.
32753         (addEdit): Removed, this method is not needed.
32754   
32755 2006-01-30  Roman Kennke  <kennke@aicas.com>
32756   
32757         * javax/swing/JRootPane.java
32758         (RootLayout.prefSize): Removed caching for preferredSize.
32759         (RootLayout.invalidateLayout): Likewise.
32760         (RootLayout.preferredLayoutSize): Likewise.     
32761   
32762 2006-01-30  Roman Kennke  <kennke@aicas.com>
32763   
32764         PR classpath/26035
32765         * javax/swing/JFrame.java
32766         (frameInit): Handle the defaultLookAndFeelDecorated flag.
32767         * javax/swing/plaf/metal/MetalRootPaneUI.java
32768         (MetalFrameBorder): New inner class, provides the border for
32769         top level containers with L&F decorations.
32770         (MetalTitlePane): New inner class, provides the title pane for
32771         top level containers with L&F decorations.
32772         (MetalRootLayout): New inner class. Used to layout the root pane
32773         when L&F window decorations are enabled.
32774         (installUI): New method. Handles window decorations.
32775         (uninstallUI): New method. Handles window decorations.
32776         (propertyChange): Handles window decorations.
32777         (installWindowDecorations): New method. Handles window
32778         decorations.
32779         (uninstallWindowDecorations): New method. Handles window
32780         decorations.
32781         * javax/swing/plaf/metal/MetalLookAndFeel.java
32782         (getSupportsWindowDecorations): Overridden to return true.
32783
32784 2006-01-30  Mark Wielaard  <mark@klomp.org>
32785
32786         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32787         IllegalArgumentException when orientation is illegal.
32788         (JProgressBar(int, int, int)): Likewise and throw exception.
32789         (setOrientation): Likewise.
32790   
32791 2006-01-30  Roman Kennke  <kennke@aicas.com>
32792   
32793         * javax/swing/ViewportLayout.java
32794         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32795   
32796 2006-01-30  Mark Wielaard  <mark@klomp.org>
32797   
32798         * javax/swing/JProgressBar.java (orientation): Always set by
32799         constructor.
32800         (JProgressBar(int)): Document default on 'illegal' value.
32801         (JProgressBar(int, int, int)): Likewise and set orientation to
32802         HORIZONTAL when 'illegal'.
32803         (setOrientation): Likewise.
32804   
32805 2006-01-30  Roman Kennke  <kennke@aicas.com>
32806   
32807         * javax/swing/plaf/basic/BasicListUI.java
32808         (ListDataHandler.contentsChanged): Update the
32809         updateLayoutStateNeeded flag.
32810         (ListDataHandler.intervalAdded): Update the
32811         updateLayoutStateNeeded flag.
32812         (ListDataHandler.intervalRemoved): Update the
32813         updateLayoutStateNeeded flag.
32814         (PropertyChangeHandler.propertyChange): Correctly update the
32815         listeners on new list model.
32816         (maybeUpdateLayoutState): Don't consider the validation state
32817         of the list.
32818   
32819 2006-01-30  Mark Wielaard  <mark@klomp.org>
32820   
32821         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32822         sortKeys is null.
32823   
32824 2006-01-30  Roman Kennke  <kennke@aicas.com>
32825   
32826         * javax/swing/JLayeredPane.java
32827         (insertIndexForLayer): Fixed algorithm to correctly insert
32828         components within different layers and -1 position.
32829   
32830 2006-01-30  Mark Wielaard  <mark@klomp.org>
32831   
32832         * doc/api/Makefile.am (create_html): Add -validhtml.
32833   
32834 2006-01-30  Roman Kennke  <kennke@aicas.com>
32835   
32836         * javax/swing/JLayeredPane.java
32837         (insertIndexForLayer): Fixed algorithm to correctly insert
32838         components within same layer and -1 position.
32839   
32840 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32841   
32842         Fixes bug #24876
32843         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32844         New execution flag.
32845         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32846         implicit RETokenEnd at the end of the regexp chain.
32847         Do not select the longest match, but select the first match.
32848         (match): Do not take care of REMatch.empty.
32849         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32850         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32851         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32852         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32853         Do not take care of REMatch.empty. Set and check REMatch.empty
32854         when trying to match the single token.
32855
32856 2006-01-30  Mark Wielaard  <mark@klomp.org>
32857
32858         * java/awt/Cursor.java (toString): Include name and type.
32859
32860 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
32861
32862         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32863         the ipad buffer.
32864         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32865   
32866 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32867         
32868         PR 26027
32869         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
32870         Consider the validation state of the list. 
32871
32872 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
32873
32874         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32875         INSTANCE added.
32876         * java/beans/XMLDecoder.java:
32877         (setExceptionListener): Use shared DefaultExceptionListener
32878         instance.
32879         * java/beans/Encoder.java:
32880         (setExceptionListener): Use shared DefaultExceptionListener
32881         instance.
32882   
32883 2006-01-29  Roman Kennke  <kennke@aicas.com>
32884   
32885         * javax/swing/ScrollPaneLayout.java
32886         (minimumLayoutSize): Rewritten to match JDKs behaviour.
32887   
32888 2006-01-29  Mark Wielaard  <mark@klomp.org>
32889   
32890         * java/net/SocketPermission.java (setActions): Trim and lower case
32891         action.
32892   
32893 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
32894   
32895         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32896         incorrectly failing primality test for some known primes. Fixed.
32897         (passFermatLittleTheorem): Removed.
32898         (passMillerRabin): Removed.
32899         (isProbablePrime): Cache primes that pass the primality tests.
32900         Use BigInteger.isProbablePrime(int) for primality tests.
32901         (debugBI): New static debugging method.
32902   
32903 2006-01-28  Roman Kennke  <kennke@aicas.com>
32904   
32905         * javax/swing/plaf/basic/BasicListUI.java
32906         (updateLayoutState): Removed unneeded special case for VERTICAL.
32907   
32908 2006-01-28  Roman Kennke  <kennke@aicas.com>
32909   
32910         * javax/swing/plaf/basic/BasicListUI.java
32911         (getCellBounds): Determine correct list width when having a
32912         layoutOrientation of VERTICAL.
32913         (maybeUpdateLayoutState): Don't consider the validation state of
32914         the list.
32915   
32916 2006-01-28  Mark Wielaard  <mark@klomp.org>
32917   
32918         Reported by Dimitri Fontaine <dimitri@dalibo.com>
32919         * java/awt/print/NoPrinterJob.java: New (fake) class.
32920         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32921   
32922 2006-01-28  Mark Wielaard  <mark@klomp.org>
32923   
32924         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32925   
32926 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32927   
32928         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32929         (addChildren): New method.
32930   
32931 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
32932   
32933         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32934         constructor for cloning purposes.
32935         (clone): New implementation that ensures cloning.
32936         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32937         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32938           "GNU".
32939   
32940 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32941   
32942         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32943         Call updateCurrentVisiblePath.
32944   
32945 2006-01-27  Roman Kennke  <kennke@aicas.com>
32946   
32947         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32948   
32949 2006-01-27  Roman Kennke  <kennke@aicas.com>
32950   
32951         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32952         (createContent): Only create new content if we don't have one
32953         already.
32954         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32955         (createContent): Only create new content if we don't have one
32956         already.
32957         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32958         (createContent): Only create new content if we don't have one
32959         already.
32960         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32961         (createContent): Only create new content if we don't have one
32962         already.
32963         * examples/gnu/classpath/examples/swing/SliderDemo.java
32964         (createContent): Only create new content if we don't have one
32965         already.
32966         * examples/gnu/classpath/examples/swing/TableDemo.java
32967         (createContent): Only create new content if we don't have one
32968         already.
32969         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32970         (createContent): Only create new content if we don't have one
32971         already.
32972   
32973 2006-01-27  Lillian Angel  <langel@redhat.com>
32974   
32975         * javax/swing/text/DefaultStyledDocument.java
32976         (insertFirstContentTag): Removed check, not needed. This
32977         still needs to be fixed for some cases. Added call to
32978         recreateLeaves.
32979         (createFracture): Added call to recreateLeaves.
32980         (recreateLeaves): New method used to recreate all the
32981         leaves after the initial insertion. This still needs 
32982         more work.
32983         (handleInsertAfterNewline): Removed else, not needed.
32984   
32985 2006-01-27  Roman Kennke  <kennke@aicas.com>
32986   
32987         * javax/swing/JLayeredPane.java
32988         (inserIndexForLayer): Fixed direction of search.
32989   
32990 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32991   
32992         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
32993         node into nodeStates.
32994   
32995 2006-01-27  Roman Kennke  <kennke@aicas.com>
32996   
32997         * javax/swing/JLayeredPane.java
32998         (FRAME_CONTENT_LAYER): Made field final.
32999         (componentToLayer): Made field private.
33000         (rectCache): Removed field.
33001         (layers): Removed field.
33002         (JLayeredPane()): Removed initialization of removed fields.
33003         (getLayer): Rewritten to make use of client properties in
33004         JComponents and to be more straighforward.
33005         (static getLayer): Rewritten to make use of client properties in
33006         JComponents.
33007         (layerToRange): Removed method.
33008         (incrLayer): Removed method.
33009         (decrLayer): Removed method.
33010         (highestLayer): Rewritten to be more straightforward.
33011         (lowestLayer): Rewritten to be more straightforward.
33012         (getPosition): Rewritten to be more straightforward.
33013         (getComponentsInLayer): Rewritten to be more straightforward.
33014         (getComponentCountInLayer): Rewritten to be more straightforward.
33015         (getIndexOf): Rewritten to be more straightforward.
33016         (inserIndexForLayer): Rewritten to be more straightforward.
33017         (remove): Rewritten to be more straightforward.
33018         (setLayer): Rewritten to be more straightforward.
33019         (addImpl): Rewritten to be more straightforward.
33020         (putLayer): Rewritten to be more straightforward.
33021
33022 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33023
33024         * java/lang/Character.java:
33025         (offsetByCodePoints(CharSequence, int, int)): New API method.
33026         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33027         (toChars): Throw the Exception that the docs say we throw.
33028         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33029         statement.
33030         * java/lang/String.java:
33031         (String(int[], int, int)): New API constructor.
33032   
33033 2006-01-27  Lillian Angel  <langel@redhat.com>
33034   
33035         * javax/swing/text/DefaultStyledDocument.java
33036         (insert): Moved this loop to insertUpdate.
33037         (insertUpdate): Likewise. Fixed variable
33038         names. Incremented pos if new paragraph
33039         is inserted.
33040         (split): Changed edits to use replace instead. Prevents
33041         assertion errors.
33042         (insertFirstContentTag): Removed else.
33043         (insertContentTag): Implemented else for JoinNextDirection.
33044         (createFracture): Fixed up code, still not fully complete.
33045         (insertFracture): Fixed to use return value from 
33046         recreateAfterFracture.
33047         (recreateAfterFracture): Changed to return an array of the
33048         elements to be added. This prevents an assertion error.
33049         (contains): New function checks if an element is already in 
33050         the Vector. Vector's contain function was not enough to use.
33051         (addAddedElement): Changed to use new contains function.
33052         (addAddedElements): Likewise.
33053         (addRemovedElement): Likewise.
33054         (addRemovedElements): Likewise.        
33055         
33056 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33057
33058         PR 25520
33059         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33060         If no user class loaders found on the stack, return the thread 
33061         context class loader. (currentClassLoader): Explained.
33062   
33063 2006-01-27  Roman Kennke  <kennke@aicas.com>
33064   
33065         * java/awt/Container.java
33066         (swapComponents): Removed unspecified method.
33067         * javax/swing/JLayeredPane.java
33068         (setPosition): Reimplemented correctly.
33069         (swapComponents): New helper method.
33070   
33071 2006-01-27  Mark Wielaard  <mark@klomp.org>
33072   
33073         * configure.ac: Set version to 0.21-pre.
33074   
33075 2006-01-27  Roman Kennke  <kennke@aicas.com>
33076   
33077         PR classpath/25968
33078         * javax/swing/JComponent.java
33079         (findOverlapFreeParent): Improved the algorithm to make better use
33080         of the optimizedDrawingEnabled flag.
33081         * javax/swing/JLayeredPane.java
33082         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33083         * javax/swing/JViewport.java
33084         (computeBlit): Fixed check to decide if blitting is possible or not,
33085         so that it doesn't blit if nothing was scrolled (in order to
33086         update the buffer when the view updates itself).
33087   
33088 2006-01-27  Roman Kennke  <kennke@aicas.com>
33089   
33090         * javax/swing/plaf/metal/MetalFileChooserUI.java
33091         (createList): Don't set scrollbar policy.
33092   
33093 2006-01-27  Roman Kennke  <kennke@aicas.com>
33094   
33095         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33096         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33097         Fixed to also handle non-Swing toplevel containers.
33098         (PopupMenuHandler.popupMenuWillBecomeVisible):
33099         Fixed to also handle non-Swing toplevel containers.
33100         * javax/swing/Popup.java
33101         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33102         popup.
33103   
33104 2006-01-27  Roman Kennke  <kennke@aicas.com>
33105   
33106         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33107         (InternalFramePropertyChangeListener): Don't implement
33108         VetoableChangeListener.
33109         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33110         (internalFrameVetoableChangeListener): Removed unneeded field.
33111         (installListeners): Don't install vetoableChangeListener.
33112         * javax/swing/event/DocumentEvent.java
33113         (EventType): Made class final.
33114   
33115 2006-01-27  Roman Kennke  <kennke@aicas.com>
33116   
33117         * javax/swing/SwingUtilities.java
33118         (calculateInsetArea): Removed unneeded method. The method
33119         calculateInnerArea has the same purpose and is actually specified.
33120         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33121         * javax/swing/plaf/basic/BasicMenuItemUI.java
33122         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33123         of SwingUtilities.calculateInsetArea().
33124   
33125 2006-01-27  Roman Kennke  <kennke@aicas.com>
33126   
33127         * javax/swing/plaf/basic/BasicTreeUI.java
33128         (installDefaults): Removed requestFocusInWindow() call.
33129         * javax/swing/JComponent.java
33130         (requestFocusInWindow(boolean)): Made method protected.
33131         (printComponent): Made method protected.
33132         (printChildren): Made method protected.
33133         (printComponent): Made method protected.
33134         (printBorder): Made method protected.
33135   
33136 2006-01-27  Roman Kennke  <kennke@aicas.com>
33137   
33138         * javax/swing/AbstractButton.java
33139         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33140         package private.
33141         * javax/swing/ImageIcon.java
33142         (component): Made field final.
33143         (tracker): Made field final.
33144         * javax/swing/JApplet.java
33145         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33146         * javax/swing/JCheckBox.java
33147         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33148         protected.
33149         * javax/swing/JDialog.java
33150         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33151         * javax/swing/JFrame.java
33152         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33153         * javax/swing/JLayeredPane.java
33154         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33155         protected.
33156         (DEFAULT_LAYER): Made field final.
33157         (PALETTE_LAYER): Made field final.
33158         (MODAL_LAYER): Made field final.
33159         (POPUP_LAYER): Made field final.
33160         (DRAG_LAYER): Made field final.
33161         * javax/swing/JMenu.java
33162         (ActionChangeListener): Made class private.
33163         * javax/swing/JOptionPane.java
33164         (UNITITIALIZED_VALUE): Made field final.
33165         * javax/swing/JPanel.java
33166         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33167         * javax/swing/JPopupMenu.java
33168         (ActionChangeListener): Made class private.
33169         * javax/swing/JTree.java
33170         (paramString): Made method protected.
33171         * javax/swing/JViewport.java
33172         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33173         * javax/swing/JWindow.java
33174         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33175         * javax/swing/RepaintManager.java
33176         (RepaintWorker): Made class private.
33177   
33178 2006-01-27  Roman Kennke  <kennke@aicas.com>
33179   
33180         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33181         (handleEvent): Removed debug statement.
33182   
33183 2006-01-27  Roman Kennke  <kennke@aicas.com>
33184   
33185         * java/awt/Component.java
33186         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33187         more than it helps.
33188   
33189 2006-01-26  Lillian Angel  <langel@redhat.com>
33190   
33191         * javax/swing/text/DefaultStyledDocument.java
33192         (createFracture): Commented out a known problem,
33193         added FIXME tag.
33194   
33195 2006-01-26  Lillian Angel  <langel@redhat.com>
33196   
33197         * javax/swing/text/DefaultStyledDocument.java
33198         (ElementBuffer): Added fields.
33199         (remove): Initialized pos.
33200         (change): Likewise.
33201         (insert): Likewise.
33202         (insertUpdate): Incremented pos. Fixed check, createFracture should
33203         be called on first tag if it is not ContentType.
33204         (insertFirstContentTag): Reworked to use proper offsets and
33205         set offset accordingly. This might need more work in the future.
33206         (insertContentTag): Likewise. Fixed to use pos, instead of 
33207         offset.
33208         (createFracture): Fixed to recreate other leaves. Still needs
33209         more work.
33210         (insertFracture): Reimplemented.
33211         (recreateAfterFracture): New method.
33212         (getParagraphElement): Reimplemented, more efficent.
33213
33214 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33215
33216         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33217         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33218         ordering for little-endian arms without VFP.
33219
33220 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33221
33222         PR classpath/25981
33223         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33224
33225 2006-01-26  Mark Wielaard  <mark@klomp.org>
33226
33227         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33228         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33229         Add trailing zeros to the fraction of the decimal with the smallest
33230         scale.
33231
33232 2006-01-26  Roman Kennke  <kennke@aicas.com>
33233
33234         * javax/swing/text/html/ObjectView.java: New file.
33235
33236 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33237
33238         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33239         Call startEditing when appropriate.
33240         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33241         (startEditing): Always edit if directly ordered from 
33242         MouseHandler.mousePressed.
33243         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33244         New field. (createTreeCellEditor): Set click count to start.
33245         (getTreeCellEditorComponent): Assing realEditor directly.
33246
33247 2006-01-25  Casey Marshall  <csm@gnu.org>
33248
33249         Merging GNU Crypto and Jessie.
33250
33251         * NEWS: mention the merge in the 0.21 notes.
33252         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33253         (SSL_RECORD_LAYER): new constants.
33254         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33255         to provider.
33256         * resource/java/security/classpath.security: add new providers.
33257         * gnu/javax/crypto/assembly/Assembly.java,
33258         gnu/javax/crypto/assembly/Cascade.java,
33259         gnu/javax/crypto/assembly/CascadeStage.java,
33260         gnu/javax/crypto/assembly/CascadeTransformer.java,
33261         gnu/javax/crypto/assembly/DeflateTransformer.java,
33262         gnu/javax/crypto/assembly/Direction.java,
33263         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33264         gnu/javax/crypto/assembly/ModeStage.java,
33265         gnu/javax/crypto/assembly/Operation.java,
33266         gnu/javax/crypto/assembly/PaddingTransformer.java,
33267         gnu/javax/crypto/assembly/Stage.java,
33268         gnu/javax/crypto/assembly/Transformer.java,
33269         gnu/javax/crypto/assembly/TransformerException.java,
33270         gnu/javax/crypto/cipher/Anubis.java,
33271         gnu/javax/crypto/cipher/BaseCipher.java,
33272         gnu/javax/crypto/cipher/Blowfish.java,
33273         gnu/javax/crypto/cipher/Cast5.java,
33274         gnu/javax/crypto/cipher/CipherFactory.java,
33275         gnu/javax/crypto/cipher/DES.java,
33276         gnu/javax/crypto/cipher/IBlockCipher.java,
33277         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33278         gnu/javax/crypto/cipher/Khazad.java,
33279         gnu/javax/crypto/cipher/NullCipher.java,
33280         gnu/javax/crypto/cipher/Rijndael.java,
33281         gnu/javax/crypto/cipher/Serpent.java,
33282         gnu/javax/crypto/cipher/Square.java,
33283         gnu/javax/crypto/cipher/TripleDES.java,
33284         gnu/javax/crypto/cipher/Twofish.java,
33285         gnu/javax/crypto/cipher/WeakKeyException.java,
33286         gnu/javax/crypto/jce/GnuCrypto.java,
33287         gnu/javax/crypto/jce/GnuSasl.java,
33288         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33289         gnu/javax/crypto/jce/cipher/AESSpi.java,
33290         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33291         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33292         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33293         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33294         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33295         gnu/javax/crypto/jce/cipher/DESSpi.java,
33296         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33297         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33298         gnu/javax/crypto/jce/cipher/PBES2.java,
33299         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33300         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33301         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33302         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33303         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33304         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33305         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33306         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33307         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33308         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33309         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33310         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33311         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33312         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33313         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33314         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33315         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33316         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33317         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33318         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33319         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33320         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33321         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33322         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33323         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33324         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33325         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33326         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33327         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33328         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33329         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33330         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33331         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33332         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33333         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33334         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33335         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33336         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33337         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33338         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33339         gnu/javax/crypto/jce/mac/MacAdapter.java,
33340         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33341         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33342         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33343         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33344         gnu/javax/crypto/jce/mac/OMacImpl.java,
33345         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33346         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33347         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33348         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33349         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33350         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33351         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33352         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33353         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33354         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33355         gnu/javax/crypto/jce/params/DEREncodingException.java,
33356         gnu/javax/crypto/jce/params/DERReader.java,
33357         gnu/javax/crypto/jce/params/DERWriter.java,
33358         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33359         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33360         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33361         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33362         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33363         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33364         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33365         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33366         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33367         gnu/javax/crypto/key/GnuSecretKey.java,
33368         gnu/javax/crypto/key/IKeyAgreementParty.java,
33369         gnu/javax/crypto/key/IncomingMessage.java,
33370         gnu/javax/crypto/key/KeyAgreementException.java,
33371         gnu/javax/crypto/key/KeyAgreementFactory.java,
33372         gnu/javax/crypto/key/OutgoingMessage.java,
33373         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33374         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33375         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33376         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33377         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33378         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33379         gnu/javax/crypto/key/dh/ElGamalSender.java,
33380         gnu/javax/crypto/key/dh/GnuDHKey.java,
33381         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33382         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33383         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33384         gnu/javax/crypto/key/dh/RFC2631.java,
33385         gnu/javax/crypto/key/srp6/SRP6Host.java,
33386         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33387         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33388         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33389         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33390         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33391         gnu/javax/crypto/key/srp6/SRP6User.java,
33392         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33393         gnu/javax/crypto/key/srp6/SRPKey.java,
33394         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33395         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33396         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33397         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33398         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33399         gnu/javax/crypto/keyring/BaseKeyring.java,
33400         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33401         gnu/javax/crypto/keyring/CertPathEntry.java,
33402         gnu/javax/crypto/keyring/CertificateEntry.java,
33403         gnu/javax/crypto/keyring/CompressedEntry.java,
33404         gnu/javax/crypto/keyring/EncryptedEntry.java,
33405         gnu/javax/crypto/keyring/Entry.java,
33406         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33407         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33408         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33409         gnu/javax/crypto/keyring/IKeyring.java,
33410         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33411         gnu/javax/crypto/keyring/IPublicKeyring.java,
33412         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33413         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33414         gnu/javax/crypto/keyring/MeteredInputStream.java,
33415         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33416         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33417         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33418         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33419         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33420         gnu/javax/crypto/keyring/Properties.java,
33421         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33422         gnu/javax/crypto/mac/BaseMac.java,
33423         gnu/javax/crypto/mac/HMac.java,
33424         gnu/javax/crypto/mac/HMacFactory.java,
33425         gnu/javax/crypto/mac/IMac.java,
33426         gnu/javax/crypto/mac/MacFactory.java,
33427         gnu/javax/crypto/mac/MacInputStream.java,
33428         gnu/javax/crypto/mac/MacOutputStream.java,
33429         gnu/javax/crypto/mac/OMAC.java,
33430         gnu/javax/crypto/mac/TMMH16.java,
33431         gnu/javax/crypto/mac/UHash32.java,
33432         gnu/javax/crypto/mac/UMac32.java,
33433         gnu/javax/crypto/mode/BaseMode.java,
33434         gnu/javax/crypto/mode/CBC.java,
33435         gnu/javax/crypto/mode/CFB.java,
33436         gnu/javax/crypto/mode/CTR.java,
33437         gnu/javax/crypto/mode/EAX.java,
33438         gnu/javax/crypto/mode/ECB.java,
33439         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33440         gnu/javax/crypto/mode/ICM.java,
33441         gnu/javax/crypto/mode/IMode.java,
33442         gnu/javax/crypto/mode/ModeFactory.java,
33443         gnu/javax/crypto/mode/OFB.java,
33444         gnu/javax/crypto/pad/BasePad.java,
33445         gnu/javax/crypto/pad/IPad.java,
33446         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33447         gnu/javax/crypto/pad/PKCS7.java,
33448         gnu/javax/crypto/pad/PadFactory.java,
33449         gnu/javax/crypto/pad/SSL3.java,
33450         gnu/javax/crypto/pad/TBC.java,
33451         gnu/javax/crypto/pad/TLS1.java,
33452         gnu/javax/crypto/pad/WrongPaddingException.java,
33453         gnu/javax/crypto/prng/ARCFour.java,
33454         gnu/javax/crypto/prng/CSPRNG.java,
33455         gnu/javax/crypto/prng/Fortuna.java,
33456         gnu/javax/crypto/prng/ICMGenerator.java,
33457         gnu/javax/crypto/prng/IPBE.java,
33458         gnu/javax/crypto/prng/PBKDF2.java,
33459         gnu/javax/crypto/prng/PRNGFactory.java,
33460         gnu/javax/crypto/prng/UMacGenerator.java,
33461         gnu/javax/crypto/sasl/AuthInfo.java,
33462         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33463         gnu/javax/crypto/sasl/ClientFactory.java,
33464         gnu/javax/crypto/sasl/ClientMechanism.java,
33465         gnu/javax/crypto/sasl/ConfidentialityException.java,
33466         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33467         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33468         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33469         gnu/javax/crypto/sasl/InputBuffer.java,
33470         gnu/javax/crypto/sasl/IntegrityException.java,
33471         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33472         gnu/javax/crypto/sasl/NoSuchUserException.java,
33473         gnu/javax/crypto/sasl/OutputBuffer.java,
33474         gnu/javax/crypto/sasl/SaslEncodingException.java,
33475         gnu/javax/crypto/sasl/SaslInputStream.java,
33476         gnu/javax/crypto/sasl/SaslOutputStream.java,
33477         gnu/javax/crypto/sasl/SaslUtil.java,
33478         gnu/javax/crypto/sasl/ServerFactory.java,
33479         gnu/javax/crypto/sasl/ServerMechanism.java,
33480         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33481         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33482         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33483         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33484         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33485         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33486         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33487         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33488         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33489         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33490         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33491         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33492         gnu/javax/crypto/sasl/plain/PlainClient.java,
33493         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33494         gnu/javax/crypto/sasl/plain/PlainServer.java,
33495         gnu/javax/crypto/sasl/srp/CALG.java,
33496         gnu/javax/crypto/sasl/srp/ClientStore.java,
33497         gnu/javax/crypto/sasl/srp/IALG.java,
33498         gnu/javax/crypto/sasl/srp/KDF.java,
33499         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33500         gnu/javax/crypto/sasl/srp/SRP.java,
33501         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33502         gnu/javax/crypto/sasl/srp/SRPClient.java,
33503         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33504         gnu/javax/crypto/sasl/srp/SRPServer.java,
33505         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33506         gnu/javax/crypto/sasl/srp/ServerStore.java,
33507         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33508         gnu/javax/net/ssl/Base64.java,
33509         gnu/javax/net/ssl/EntropySource.java,
33510         gnu/javax/net/ssl/NullManagerParameters.java,
33511         gnu/javax/net/ssl/PrivateCredentials.java,
33512         gnu/javax/net/ssl/SRPManagerParameters.java,
33513         gnu/javax/net/ssl/SRPTrustManager.java,
33514         gnu/javax/net/ssl/StaticTrustAnchors.java,
33515         gnu/javax/net/ssl/provider/Alert.java,
33516         gnu/javax/net/ssl/provider/AlertException.java,
33517         gnu/javax/net/ssl/provider/Certificate.java,
33518         gnu/javax/net/ssl/provider/CertificateRequest.java,
33519         gnu/javax/net/ssl/provider/CertificateType.java,
33520         gnu/javax/net/ssl/provider/CertificateVerify.java,
33521         gnu/javax/net/ssl/provider/CipherSuite.java,
33522         gnu/javax/net/ssl/provider/ClientHello.java,
33523         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33524         gnu/javax/net/ssl/provider/CompressionMethod.java,
33525         gnu/javax/net/ssl/provider/Constructed.java,
33526         gnu/javax/net/ssl/provider/ContentType.java,
33527         gnu/javax/net/ssl/provider/Context.java,
33528         gnu/javax/net/ssl/provider/DiffieHellman.java,
33529         gnu/javax/net/ssl/provider/DigestInputStream.java,
33530         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33531         gnu/javax/net/ssl/provider/Enumerated.java,
33532         gnu/javax/net/ssl/provider/Extension.java,
33533         gnu/javax/net/ssl/provider/Extensions.java,
33534         gnu/javax/net/ssl/provider/Finished.java,
33535         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33536         gnu/javax/net/ssl/provider/Handshake.java,
33537         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33538         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33539         gnu/javax/net/ssl/provider/Jessie.java,
33540         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33541         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33542         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33543         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33544         gnu/javax/net/ssl/provider/KeyPool.java,
33545         gnu/javax/net/ssl/provider/MacException.java,
33546         gnu/javax/net/ssl/provider/OverflowException.java,
33547         gnu/javax/net/ssl/provider/PRNG.java,
33548         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33549         gnu/javax/net/ssl/provider/Random.java,
33550         gnu/javax/net/ssl/provider/RecordInput.java,
33551         gnu/javax/net/ssl/provider/RecordInputStream.java,
33552         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33553         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33554         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33555         gnu/javax/net/ssl/provider/SSLHMac.java,
33556         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33557         gnu/javax/net/ssl/provider/SSLRandom.java,
33558         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33559         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33560         gnu/javax/net/ssl/provider/SSLSocket.java,
33561         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33562         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33563         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33564         gnu/javax/net/ssl/provider/SecurityParameters.java,
33565         gnu/javax/net/ssl/provider/ServerHello.java,
33566         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33567         gnu/javax/net/ssl/provider/Session.java,
33568         gnu/javax/net/ssl/provider/SessionContext.java,
33569         gnu/javax/net/ssl/provider/Signature.java,
33570         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33571         gnu/javax/net/ssl/provider/TLSHMac.java,
33572         gnu/javax/net/ssl/provider/TLSRandom.java,
33573         gnu/javax/net/ssl/provider/Util.java,
33574         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33575         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33576         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33577         gnu/javax/security/auth/Password.java,
33578         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33579         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33580         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33581         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33582         gnu/javax/security/auth/callback/GnuCallbacks.java,
33583         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33584         gnu/java/security/Registry.java,
33585         gnu/java/security/Properties.java,
33586         gnu/java/security/hash/BaseHash.java,
33587         gnu/java/security/hash/HashFactory.java,
33588         gnu/java/security/hash/Haval.java,
33589         gnu/java/security/hash/IMessageDigest.java,
33590         gnu/java/security/hash/MD2.java,
33591         gnu/java/security/hash/MD4.java,
33592         gnu/java/security/hash/MD5.java,
33593         gnu/java/security/hash/RipeMD128.java,
33594         gnu/java/security/hash/RipeMD160.java,
33595         gnu/java/security/hash/Sha160.java,
33596         gnu/java/security/hash/Sha256.java,
33597         gnu/java/security/hash/Sha384.java,
33598         gnu/java/security/hash/Sha512.java,
33599         gnu/java/security/hash/Tiger.java,
33600         gnu/java/security/hash/Whirlpool.java,
33601         gnu/java/security/jce/hash/HavalSpi.java,
33602         gnu/java/security/jce/hash/MD2Spi.java,
33603         gnu/java/security/jce/hash/MD4Spi.java,
33604         gnu/java/security/jce/hash/MD5Spi.java,
33605         gnu/java/security/jce/hash/MessageDigestAdapter.java,
33606         gnu/java/security/jce/hash/RipeMD128Spi.java,
33607         gnu/java/security/jce/hash/RipeMD160Spi.java,
33608         gnu/java/security/jce/hash/Sha160Spi.java,
33609         gnu/java/security/jce/hash/Sha256Spi.java,
33610         gnu/java/security/jce/hash/Sha384Spi.java,
33611         gnu/java/security/jce/hash/Sha512Spi.java,
33612         gnu/java/security/jce/hash/TigerSpi.java,
33613         gnu/java/security/jce/hash/WhirlpoolSpi.java,
33614         gnu/java/security/jce/prng/HavalRandomSpi.java,
33615         gnu/java/security/jce/prng/MD2RandomSpi.java,
33616         gnu/java/security/jce/prng/MD4RandomSpi.java,
33617         gnu/java/security/jce/prng/MD5RandomSpi.java,
33618         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33619         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33620         gnu/java/security/jce/prng/SecureRandomAdapter.java,
33621         gnu/java/security/jce/prng/Sha160RandomSpi.java,
33622         gnu/java/security/jce/prng/Sha256RandomSpi.java,
33623         gnu/java/security/jce/prng/Sha384RandomSpi.java,
33624         gnu/java/security/jce/prng/Sha512RandomSpi.java,
33625         gnu/java/security/jce/prng/TigerRandomSpi.java,
33626         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33627         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33628         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33629         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33630         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33631         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33632         gnu/java/security/jce/sig/SignatureAdapter.java,
33633         gnu/java/security/key/IKeyPairCodec.java,
33634         gnu/java/security/key/IKeyPairGenerator.java,
33635         gnu/java/security/key/KeyPairCodecFactory.java,
33636         gnu/java/security/key/KeyPairGeneratorFactory.java,
33637         gnu/java/security/key/dss/DSSKey.java,
33638         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33639         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33640         gnu/java/security/key/dss/DSSPrivateKey.java,
33641         gnu/java/security/key/dss/DSSPublicKey.java,
33642         gnu/java/security/key/dss/FIPS186.java,
33643         gnu/java/security/key/rsa/GnuRSAKey.java,
33644         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33645         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33646         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33647         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33648         gnu/java/security/prng/BasePRNG.java,
33649         gnu/java/security/prng/EntropySource.java,
33650         gnu/java/security/prng/IRandom.java,
33651         gnu/java/security/prng/LimitReachedException.java,
33652         gnu/java/security/prng/MDGenerator.java,
33653         gnu/java/security/prng/PRNGFactory.java,
33654         gnu/java/security/prng/RandomEvent.java,
33655         gnu/java/security/prng/RandomEventListener.java,
33656         gnu/java/security/sig/BaseSignature.java,
33657         gnu/java/security/sig/ISignature.java,
33658         gnu/java/security/sig/ISignatureCodec.java,
33659         gnu/java/security/sig/SignatureFactory.java,
33660         gnu/java/security/sig/dss/DSSSignature.java,
33661         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33662         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33663         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33664         gnu/java/security/sig/rsa/EMSA_PSS.java,
33665         gnu/java/security/sig/rsa/RSA.java,
33666         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33667         gnu/java/security/sig/rsa/RSAPSSSignature.java,
33668         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33669         gnu/java/security/util/Base64.java,
33670         gnu/java/security/util/ExpirableObject.java,
33671         gnu/java/security/util/Prime2.java,
33672         gnu/java/security/util/Sequence.java,
33673         gnu/java/security/util/SimpleList.java,
33674         gnu/java/security/util/Util.java,
33675         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33676         new files imported from GNU Crypto and Jessie.
33677
33678 2006-01-25  Tom Tromey  <tromey@redhat.com>
33679
33680         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33681         Fixed calculation of number of bytes to read.
33682         (size, count, meta, eof): Document.
33683
33684 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
33685
33686         * java/lang/Character.java:
33687         (codePointCount(char[], int, int)): New API method.
33688         (codePointCount(CharSequence, int, int)): Likewise.
33689   
33690 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33691   
33692         PR 25205
33693         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
33694         Rewritten.
33695         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
33696         action if not editing.
33697         * javax/swing/plaf/basic/BasicTreeUI.java 
33698         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33699         (CellEditorHandler.editingStopped): Delegate to stopEditing.
33700         (EditorUpdateTimer): Removed.
33701         (TreeAction.actionPerformed): Stop and not cancel the current editing 
33702         when starting editing another node.
33703         (editorTimer, newVal): Removed.
33704         (cancelEditing): Do not send the cancel message.
33705         (completeEditing): Obtain the edited value from the editor.
33706         (finish): New method.
33707         (paintRow): Do not paint the editing component here.
33708         (startEditing, stopEditing): Rewritten.
33709         * javax/swing/tree/DefaultTreeCellEditor.java
33710         (DefaultTextField): Added SVUID.
33711         (EditorContainer): Rewritten.
33712         (RealEditorListener): New inner class.
33713         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33714         (constructor): Add cell editor listener. Do not instantiate timer.
33715         (actionPerformed): Return without action.
33716         (cancelCellEditing): Rewritten.
33717         (createTreeCellEditor): Add cell editor listener to the editor.
33718         (getCellEditorValue): Request the value from the realEditor.
33719         (isCellEditable): Removed timer management.
33720         (prepareForEditing): Remove all components befor adding the 
33721         editingComponent.
33722         (startEditingTimer): Start only if it is not null.
33723         (stopCellEditing): Rewritten.
33724         (stopEditingTimer): New method.
33725         (valueChanged): Do not configure editing component here.
33726   
33727 2006-01-25  Roman Kennke  <kennke@aicas.com>
33728   
33729         * javax/swing/text/html/FormView.java: New file.
33730   
33731 2006-01-25  Roman Kennke  <kennke@aicas.com>
33732   
33733         * javax/swing/JSplitPane.java
33734         (addImpl): Call resetToPreferredSizes() when no dividerLocation
33735         has been set in order to set an initial layout.
33736         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33737         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33738         layout of the right component.
33739         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33740         dividerLocation to the size of the left component.
33741         (createDefaultNonContinuousLayoutDivider): Fetch the color from
33742         the UIManager.
33743         (setDividerLocation): Don't validate the location here. Sometimes
33744         the divider needs to be set to an invalid location.
33745         (startDragging): Don't revalidate and repaint here.
33746         (finishDraggingTo): Don't repaint here. Also, don't call
33747         dragDividerTo() here.
33748         * javax/swing/plaf/basic/BasicLookAndFeel.java
33749         (initComponentDefaults): Added SplitPaneDivider.draggingColor
33750         default value.
33751   
33752 2006-01-25  Roman Kennke  <kennke@aicas.com>
33753   
33754         * javax/swing/JSplitPane.java
33755         (addImpl): Removed invalidate() and layout() call.
33756         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33757         (PropertyHandler.propertyChange): Remove layoutContainer() and
33758         repaint() call.
33759   
33760 2006-01-25  Roman Kennke  <kennke@aicas.com>
33761   
33762         * configure.ac
33763         * native/Makefile.am
33764         * native/jni/classpath/Makefile.am
33765         * native/jni/classpath/jcl.c
33766         * native/jni/classpath/jcl.h
33767         * native/jni/classpath/native_state.c
33768         * native/jni/gtk-peer/Makefile.am
33769         * native/jni/java-io/Makefile.am
33770         * native/jni/java-io/java_io_VMFile.c
33771         * native/jni/java-io/java_io_VMObjectStreamClass.c
33772         * native/jni/java-lang/Makefile.am
33773         * native/jni/java-net/Makefile.am
33774         * native/jni/java-net/java_net_VMInetAddress.c
33775         * native/jni/java-net/javanet.c
33776         * native/jni/java-net/javanet.h
33777         * native/jni/java-nio/Makefile.am
33778         * native/jni/java-nio/gnu_java_nio_VMPipe.c
33779         * native/jni/java-nio/gnu_java_nio_VMSelector.c
33780         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33781         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33782         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33783         * native/jni/java-util/Makefile.am
33784         * native/jni/java-util/java_util_VMTimeZone.c
33785         * native/jni/midi-dssi/Makefile.am
33786         * native/jni/xmlj/Makefile.am
33787         * native/target/Makefile.am
33788         * native/target/Linux/target_native_math.h
33789         * native/target/Linux/target_native_memory.h
33790         * native/target/Linux/Makefile.am
33791         * native/target/Linux/target_native_io.h
33792         * native/target/Linux/target_native_math_float.h
33793         * native/target/Linux/target_native_math_int.h
33794         * native/target/generic/target_generic.c
33795         * native/target/generic/target_generic_io.c
33796         * native/target/generic/target_generic_math.h
33797         * native/target/generic/target_generic_memory.h
33798         * native/target/generic/target_generic_misc.c
33799         * native/target/generic/target_generic_network.c
33800         * native/target/generic/Makefile.am
33801         * native/target/generic/target_generic.h
33802         * native/target/generic/target_generic_file.h
33803         * native/target/generic/target_generic_io.h
33804         * native/target/generic/target_generic_math_float.h
33805         * native/target/generic/target_generic_math_int.h
33806         * native/target/generic/target_generic_misc.h
33807         * native/target/generic/target_generic_network.h:
33808         Reverted target native related changes back to the state of the
33809         0.20 release.
33810         * native/target/MinGW/.cvsignore
33811         * native/target/MinGW/Makefile.am
33812         * native/target/MinGW/target_native.h
33813         * native/target/MinGW/target_native_file.h
33814         * native/target/MinGW/target_native_io.h
33815         * native/target/MinGW/target_native_math.h
33816         * native/target/MinGW/target_native_memory.h
33817         * native/target/MinGW/target_native_misc.h
33818         * native/target/MinGW/target_native_network.h
33819         * native/target/RTEMS/.cvsignore
33820         * native/target/RTEMS/Makefile.am
33821         * native/target/RTEMS/target_native.h
33822         * native/target/RTEMS/target_native_file.h
33823         * native/target/RTEMS/target_native_io.h
33824         * native/target/RTEMS/target_native_math.h
33825         * native/target/RTEMS/target_native_memory.h
33826         * native/target/RTEMS/target_native_misc.h
33827         * native/target/RTEMS/target_native_network.h
33828         * native/target/SunOS/.cvsignore
33829         * native/target/SunOS/Makefile.am
33830         * native/target/SunOS/target_native.h
33831         * native/target/SunOS/target_native_file.h
33832         * native/target/SunOS/target_native_io.h
33833         * native/target/SunOS/target_native_math.h
33834         * native/target/SunOS/target_native_memory.h
33835         * native/target/SunOS/target_native_misc.h
33836         * native/target/SunOS/target_native_network.h
33837         * native/target/embOS/.cvsignore
33838         * native/target/embOS/Makefile.am
33839         * native/target/embOS/target_native.h
33840         * native/target/embOS/target_native_file.h
33841         * native/target/embOS/target_native_io.c
33842         * native/target/embOS/target_native_io.h
33843         * native/target/embOS/target_native_math.h
33844         * native/target/embOS/target_native_memory.h
33845         * native/target/embOS/target_native_misc.h
33846         * native/target/embOS/target_native_network.h
33847         * native/target/posix/.cvsignore
33848         * native/target/posix/Makefile.am
33849         * native/target/posix/target_posix.c
33850         * native/target/posix/target_posix.h
33851         * native/target/posix/target_posix_file.c
33852         * native/target/posix/target_posix_file.h
33853         * native/target/posix/target_posix_io.c
33854         * native/target/posix/target_posix_io.h
33855         * native/target/posix/target_posix_math.c
33856         * native/target/posix/target_posix_math.h
33857         * native/target/posix/target_posix_memory.c
33858         * native/target/posix/target_posix_memory.h
33859         * native/target/posix/target_posix_misc.c
33860         * native/target/posix/target_posix_misc.h
33861         * native/target/posix/target_posix_network.c
33862         * native/target/posix/target_posix_network.h:
33863         Removed.
33864   
33865 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33866   
33867         * javax/print/PrintService.java,
33868         * javax/print/DocPrintJob.java,
33869         * javax/print/CancelablePrintJob.java:
33870         Added and enhanced api documentation for class and methods.             
33871
33872 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33873
33874         * javax/print/SimpleDoc.java: Make class final.
33875         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33876         * javax/print/attribute/DateTimeSyntax.java: 
33877         (toString): New overridden method.
33878         * javax/print/attribute/standard/JobStateReasons.java:
33879         (add): Use the super.add method to avoid recursion.
33880         * javax/print/attribute/standard/PrinterStateReasons.java: 
33881         (put): Use the super.put method to avoid recursion.
33882
33883 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
33884
33885         * java/beans/XMLEncoder.java:
33886         (writeExpression): Added early return (fixes PR #25941).
33887         (setExceptionListener, anonymous Class): Removed printStackTrace
33888         call.
33889         * java/beans/Encoder: Removed unused imports.
33890         (setupDefaultPersistenceDelegates): Removed unneccessary
33891         PersistenceDelegates for subclasses.
33892         * java/beans/PersistenceDelegate:
33893         (initialize): Use local variable as first argument as it was
33894         intended once.
33895         * java/beans/DefaultPersistenceDelegate:
33896         (initialize): Added call to superclass' implementation, added
33897         early return.
33898   
33899 2006-01-24  Tom Tromey  <tromey@redhat.com>
33900   
33901         * java/util/regex/PatternSyntaxException.java: Added @since.
33902         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33903         * java/util/regex/MatchResult.java: New file.
33904   
33905 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33906   
33907         * javax/swing/text/StringContent.java: Added API docs all over, plus 
33908         minor reformatting.
33909   
33910 2006-01-24  Gary Benson  <gbenson@redhat.com>
33911   
33912         * java/net/SocketPermission.java: Implemented serialization.
33913   
33914 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33915   
33916         * javax/swing/text/StringContent.java
33917         (remove): Modified argument check to prevent removal of last character,
33918         (getChars): Removed null argument check to allow NullPointerException,
33919         added API docs,
33920         (checkLocation): Added API docs and white space.
33921   
33922 2006-01-23  Lillian Angel  <langel@redhat.com>
33923   
33924         * javax/swing/text/DefaultStyledDocument.java
33925         (insertUpdate): Should only call createFracture with 
33926         StartTagType. Added check.
33927         (insertContentTag): Should use the tags length for splitting.
33928         Also, added a check to determine if current's start and end offset are
33929         equal to the offset and endOffset. If so, only one leaf element
33930         should be added. 
33931         (createFracture): Removed FIXME. This function is complete.
33932         (split): Added calls to replace. Changed so the child is 
33933         added immediately to the paragraph. Prevents NPEs.
33934
33935 2006-01-23  Mark Wielaard  <mark@klomp.org>
33936
33937         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33938
33939 2006-01-23  Tom Tromey  <tromey@redhat.com>
33940
33941         * gnu/java/security/x509/X509Certificate.java (parse):
33942         Unconditionally read value; for version==1 case when reading
33943         algorithm ID.
33944
33945 2006-01-23  Roman Kennke  <kennke@aicas.com>
33946
33947         * javax/swing/plaf/synth/ColorType.java,
33948         * javax/swing/plaf/synth/Region.java,
33949         * javax/swing/plaf/synth/SynthConstants.java,
33950         * javax/swing/plaf/synth/SynthContext.java
33951         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33952         * javax/swing/plaf/synth/SynthLookAndFeel.java,
33953         * javax/swing/plaf/synth/SynthPainter.java,
33954         * javax/swing/plaf/synth/SynthStyle.java,
33955         * javax/swing/plaf/synth/SynthStyleFactory.java,
33956         * javax/swing/plaf/synth/package.html:
33957         New files. Added the public API and framework classes for the
33958         Synth look and feel.
33959   
33960 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
33961   
33962         * javax/swing/text/Segment.java: API docs all over.
33963   
33964 2006-01-23  Lillian Angel  <langel@redhat.com>
33965   
33966         * javax/swing/text/DefaultStyledDocument.java
33967         (split): Should not use createLeafElement and createBranchElement here.
33968         We should just instaniate the LeafElements and BranchElements instead 
33969         to avoid the case where create*Element is overridden.
33970   
33971 2006-01-23  Lillian Angel  <langel@redhat.com>
33972   
33973         * javax/swing/text/DefaultStyledDocument.java
33974         (insertFirstContentTag): Moved check outside of if-statement.
33975         This should be checked before creating the new leaf element.
33976         (insertFracture): Fixed check to prevent an NPE. The previous
33977         leaf should only be recreated if it has been created by
33978         insertFirstContentTag. Also, fixed up code: if the endOffset is
33979         greater than the offset, then we need to create a temp leaf
33980         as a place holder. Otherwise, the leaf elements should be
33981         created normally.
33982   
33983 2006-01-23  Gary Benson  <gbenson@redhat.com>
33984   
33985         * java/net/SocketPermission.java: Almost completely rewritten.
33986   
33987 2006-01-23  Lillian Angel  <langel@redhat.com>
33988         
33989         * javax/swing/text/DefaultStyledDocument.java
33990         (insertFracture): Set temp leaf's attributes to prevent an NPE.
33991   
33992 2006-01-23  Lillian Angel  <langel@redhat.com>
33993   
33994         * javax/swing/text/DefaultStyledDocument.java:
33995         Formatted ElementBuffer and added new fields.
33996         (remove): Added check to determine if length is 0.
33997         (insertFirstContentTag): Initialized firstCreated to the element that is created 
33998         by the first tag encountered. Removed check in JoinPreviousDirection case, no
33999         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34000         that have been recreated.
34001         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34002         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34003         FIXME tags to the lines that need to be rewritten.      
34004
34005 2006-01-23  Mark Wielaard  <mark@klomp.org>
34006
34007         * examples/Makefile.am: Add support for fastjar.
34008
34009 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34010
34011         * gnu/regexp/REToken.java(empty): Made Cloneable.
34012         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34013         Use separate methods matchN and matchP depending on the
34014         boolean negative.
34015         (matchN): New method used when negative. Done as before.
34016         (matchP): New method used when not negative. Each token is
34017         tried not by itself but by a clone of it.
34018
34019 2006-01-23  Chris Burdess  <dog@gnu.org>
34020
34021         Fixes bug #25906
34022         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34023           class to avoid getLength method contention.
34024         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34025
34026 2006-01-23  Chris Burdess  <dog@gnu.org>
34027
34028         * native/jni/java-util/Makefile.am: Include library required
34029           explicitly by BSD systems.
34030         * native/target/generic/target_generic_misc.h: Remove old commented
34031           out code.
34032         * native/target/generic/target_generic_network.h: Fallbacks (to
34033           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34034
34035 2006-01-22  Tom Tromey  <tromey@redhat.com>
34036
34037         * native/target/posix/.cvsignore: Added .deps.
34038
34039 2006-01-22  Mark Wielaard  <mark@klomp.org>
34040
34041         Fixes bug #25832,
34042         reported by James Damour <James.Damour@corp.request.com>
34043         * java/awt/Container.java (addImpl): Use empty string as name when
34044         null constraints for LayoutManager.addLayoutComponent().
34045
34046 2006-01-22  Chris Burdess  <dog@gnu.org>
34047
34048         Fixes bug #25903
34049         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34050           representing current directory as base for relative URLs.
34051
34052 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34053
34054         Fixes bug #25837
34055         * gnu/regexp/REMatch.java(empty): New boolean indicating
34056         an empty string matched.
34057         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34058         string matched.
34059         (initialize): Support back reference \10, \11, and so on.
34060         (parseInt): renamed from getEscapedChar and returns int.
34061         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34062         when an empty string matched. Fixed a bug of the case where
34063         an empty string matched. Added special handling of {0}.
34064         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34065         when an empty string matched. Fixed the case insensitive matching.
34066   
34067 2006-01-21  Roman Kennke  <kennke@aicas.com>
34068   
34069         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34070         (paint): Added painting of border if one is installed.
34071   
34072 2006-01-21  Roman Kennke  <kennke@aicas.com>
34073   
34074         PR classpath/25843:
34075         * javax/swing/plaf/basic/BasicBorders.java
34076         (getSplitPaneDividerBorder): Use new border constructor
34077         without arguments.
34078         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34079         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34080         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34081         colors are fetched dynamically in the paintBorder method.
34082         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34083         the look and feel.
34084         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34085         unconditionally.
34086         * javax/swing/plaf/basic/BasicLookAndFeel.java
34087         (initComponentDefaults): Added default for SplitPaneDivider.border.
34088         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34089         (tmpBorder): Removed unneeded inner class.
34090         (BasicSplitPaneDivider): Removed setting of border.
34091         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34092         itself.
34093         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34094         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34095         to get behaviour right.
34096         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34097         implementation. This must be rewritten since the layout now works
34098         slightly different (basically, it shouldn't modify the sizes[]
34099         here but instead the dividerLocation.
34100         (dividerLocation): New field.
34101         (installDefaults): Initialize border on divider.
34102         (uninstallDefaults): Only remove background color and border from
34103         splitPane if they are instances of UIDefaults (== not set by
34104         application).
34105         (setDividerLocation): Set the dividerLocation field instead of
34106         doing stunt acts here.
34107         (getDividerLocation): Return dividerLocation field.
34108         (getMinimumDividerLocation): Fixed calculation of minimum location.
34109         
34110 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34111   
34112         * m4/acinclude.m4
34113         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34114   
34115         * lib/Makefile.am: Likewise. 
34116   
34117 2006-01-21  Roman Kennke  <kennke@aicas.com>
34118   
34119         * javax/swing/PopupFactory.java
34120         (getPopup): If there is no Swing root found in any way, use a
34121         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34122         for the Swing AWT peers.
34123   
34124 2006-01-20  Tom Tromey  <tromey@redhat.com>
34125   
34126         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34127         Read response body for redirect.
34128   
34129 2006-01-20  Chris Burdess  <dog@gnu.org>
34130   
34131         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34132           redirects on 304.
34133   
34134 2006-01-20  Lillian Angel  <langel@redhat.com>
34135   
34136         * javax/swing/text/DefaultStyledDocument.java
34137         (pad): Removed, not needed.
34138         (printElements): Likewise.
34139         (printEdit): Likewise.
34140   
34141 2006-01-20  Roman Kennke  <kennke@aicas.com>
34142   
34143         * javax/swing/text/DefaultFormatter.java
34144         (DefaultFormatter): Don't set a value class.
34145   
34146 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34147   
34148         * javax/swing/DefaultCellEditor.java: Commented.
34149   
34150 2006-01-19  Roman Kennke  <kennke@aicas.com>
34151   
34152         * javax/swing/JOptionPane.java
34153         Added cast to Frame for JDialog constructor.
34154   
34155 2006-01-19  Roman Kennke  <kennke@aicas.com>
34156   
34157         * javax/swing/JWindow.java
34158         (JWindow(Window)): Fixed to accept null owner argument.
34159         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34160         owner argument.
34161         * javax/swing/SwingUtilities.java
34162         (getOwnerFrame): Owner parameter and return value are fixed to
34163         be of type Window for compatibity with the above JWindow
34164         constructor.
34165         * javax/swing/JDialog.java
34166         (JDialog): Added cast to Frame to make sure the correct constructor
34167         is called.
34168         * javax/swing/JFileChooser.java
34169         (createDialog): Added cast to Frame for JDialog constructor.
34170   
34171 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34172   
34173         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34174   
34175 2006-01-19  Roman Kennke  <kennke@aicas.com>
34176   
34177         * javax/swing/JWindow.java: Added API docs to the constructors.
34178   
34179 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34180   
34181         * javax/swing/JTable.java: Commenting method headers.
34182         (EditorUpdateTimer): Removed.
34183   
34184 2006-01-19  Roman Kennke  <kennke@aicas.com>
34185   
34186         * javax/swing/JDialog.java
34187         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34188         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34189         SwingUtilities.getOwnerFrame() with the owner argument.
34190         * javax/swing/JFileChooser.java
34191         (showOpenDialog(Component)): Call pack() on the dialog instead of
34192         setting a fixed height.
34193         (showSaveDialog()): Likewise.
34194         (showDialog()): Likewise.
34195         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34196         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34197         with null.
34198         * javax/swing/JWindow.java
34199         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34200         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34201         argument.
34202         * javax/swing/SwingUtilities.java
34203         (getOwnerFrame): Changed to take a owner parameter that is returned
34204         as owner frame when not null.
34205   
34206 2006-01-19  Roman Kennke  <kennke@aicas.com>
34207   
34208         * gnu/java/awt/peer/swing/SwingFramePeer.java
34209         (handleMouseEvent): Fixed handling of mouse events.
34210         (handleMouseMotionEvent): Fixed handling of mouse events.
34211
34212 2006-01-19  Roman Kennke  <kennke@aicas.com>
34213
34214         * native/target/generic/target_generic_misc.c:
34215         (targetGenericMisc_formatString): Added missing method.
34216
34217 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34218
34219         * m4/acinclude.m4: Test also for ecj found before exiting configure
34220         with no javac found error message. 
34221
34222 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34223
34224         Fixes bug #23212
34225         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34226         \0123, \x1B, \u1234.
34227         (getEscapedChar): New method.
34228         (CharExpression): New inner class.
34229         (getCharExpression): New Method.
34230         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34231         RE_UNICODE_CHAR): New syntax bits.
34232
34233 2006-01-19  Roman Kennke  <kennke@aicas.com>
34234
34235         * native/target/Makefile.am: Fixed so that posix stuff is really
34236         only built when requested.
34237
34238 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34239
34240         * javax/swing/JTable.java (editingStopped, editingCancelled):
34241         Repaint the edited cell.
34242         (setValueAt): Do not add the value object to this container.
34243         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34244         (editingStopped): Use editingRow, editingColumn and not
34245         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34246         (doLayout): Move the editor component, if present, into the new
34247         location and call repaint(). (moveToCellBeingEdited): new method.
34248         (TableTextField): new inner class.
34249         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34250         (setValueAt): Repaint the changed segment.
34251         (createDefaultEditors): Implemented.
34252         (BooleanCellRenderer): Center the checkbox and use the default foreground
34253         and background colors.   
34254         * javax/swing/plaf/basic/BasicTableUI.java
34255         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34256         (paint): No need to allocate rectangle for each cell.   
34257         * javax/swing/DefaultCellEditor.java: Rewritten.         
34258         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34259         Use TableDemo.java table example.
34260         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34261
34262 2006-01-19  Roman Kennke  <kennke@aicas.com>
34263
34264         * configure.ac: Added/fixed --enable-posix-layer option to enable
34265         build of posix layer.
34266         * native/target/Makefile.am: Added build for posix layer.
34267
34268 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34269
34270         * configure.ac: Set TARGET to Linux per default.
34271         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34272         libtargetos.la.
34273         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34274         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34275         AM_CPPFLAGS.
34276         
34277 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34278
34279         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34280           what looked like proprietary documentation with original or new one.
34281         * java/security/spec/PSSParameterSpec.java: Likewise.
34282         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34283         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34284         * java/security/AlgorithmParameterGenerator.java: Likewise.
34285         * java/security/AlgorithmParameters.java: Likewise.
34286         * java/security/Identity.java: Likewise.
34287         * java/security/IdentityScope.java: Likewise.
34288         * java/security/KeyFactory.java: Likewise.
34289         * java/security/KeyPairGenerator.java: Likewise.
34290         * java/security/MessageDigest.java: Likewise.
34291         * java/security/Policy.java: Likewise.
34292         * java/security/ProtectionDomain.java: Likewise.
34293         * java/security/Security.java: Likewise.
34294         * java/security/Signature.java: Likewise.
34295         * java/security/SignatureSpi.java: Likewise.
34296         * java/security/SignedObject.java: Likewise.
34297         * java/security/Signer.java: Likewise.
34298   
34299 2006-01-18  Roman Kennke  <kennke@aicas.com>
34300   
34301         * configure.ac: Added --enable-posix-layer option to enable
34302         build of the posix target layer.
34303   
34304 2006-01-18  Roman Kennke  <kennke@aicas.com>
34305   
34306         * native/jni/java-net/java_net_VMInetAddress.c
34307         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34308         for INADDR_ANY.
34309   
34310 2006-01-18  Roman Kennke  <kennke@aicas.com>
34311   
34312         * native/jni/java-util/java_util_VMTimeZone.c:
34313         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34314         to use target native layer.
34315         (jint_to_charbuf): Removed unneeded helper function.
34316   
34317 2006-01-18  Roman Kennke  <kennke@aicas.com>
34318   
34319         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34320         Removed unnecessary include.
34321         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34322         Reorganized includes to only include sys/* headers when available.
34323         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34324         (get_pagesize): Return 0 when nothing else works.
34325         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34326         Replaced munmap() and strerror() with corresponding target macros.
34327         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34328         Replaced strerror() with corresponding target macro.
34329         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34330         Replaced strerror() with corresponding target macro.
34331         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34332         (Java_java_nio_VMDirectByteBuffer_allocate):
34333         Replaced malloc() with the corresponding target macro.
34334         (Java_java_nio_VMDirectByteBuffer_free):
34335         Replaced free() with the corresponding target macro.
34336         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34337         Add index to pointer when assigning the value.
34338         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34339         Replaced memcpy with corresponding target macro. Add index when
34340         doing the memcpy, not when fetching the pointer.
34341         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34342         Replaced memcpy with corresponding target macro.
34343         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34344         Replaced memmove with the corresponding target macro.
34345
34346 2006-01-17  Tom Tromey  <tromey@redhat.com>
34347
34348         PR classpath/20198:
34349         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34350         (JarURLLoader): Likewise.
34351         (addURLImpl): Canonicalize file URLs.
34352
34353 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34354
34355         * configure.ac: Set TARGET.
34356         * native/Makefile.am, native/jni/classpath/Makefile.am,
34357         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34358         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34359         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34360         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34361         native/target/Linux/Makefile.am,
34362         native/target/generic/Makefile.am,
34363         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34364         and target stuff linked in and link it against lib*.so libraries.
34365
34366 2006-01-17  Roman Kennke  <kennke@aicas.com>
34367
34368         * native/jni/java-net/javanet.c:
34369         (_javanet_connect): Changed type of some local variables to jint.
34370         Fixed error handling to throw a SocketTimeoutException if the
34371         connection attempt times out.
34372         (_javanet_bind): Changed type of some local variables to jint.
34373         (_javanet_accept): Likewise.
34374         (_javanet_recvfrom): Likewise.
34375         (_javanet_sendto): Fixed error handling to throw a
34376         PortUnreachableException when connection is refused.
34377         (_javanet_get_option): Changed type of some local variables to jint.
34378         Implemented SOCKOPT_SO_BROADCAST.
34379         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34380         target native macro.
34381         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34382         target native macro.
34383         * native/jni/java-net/javanet.h:
34384         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34385         SOCKOPT_SO_BROADCAST.
34386   
34387 2006-01-17  Lillian Angel  <langel@redhat.com>
34388   
34389         * javax/swing/text/DefaultStyledDocument.java
34390         (insert): Cleaned up loop. No need to make so many calls
34391         to getAddedElements and getRemovedElements.
34392         (insertFracture): Removed unneeded array.
34393   
34394 2006-01-17  Lillian Angel  <langel@redhat.com>
34395         
34396         * javax/swing/text/JTextComponent.java
34397         (AccessibleJTextComponent): Implemented.
34398         (getCaretPosition): Implemented.
34399         (getSelectedText): Implemented.
34400         (getSelectionStart): Implemented.
34401         (getSelectionEnd): Implemented.
34402         (getSelectionEnd): Implemented.
34403         (getCharCount): Implemented.
34404         (insertTextAtIndex): Implemented.
34405         (getTextRange): Implemented.
34406         (delete): Implemented.
34407         (cut): Implemented.
34408         (paste): Implemented.
34409         (replaceText): Implemented.
34410         (selectText): Implemented.
34411   
34412 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34413   
34414         * javax/swing/text/DefaultStyledDocument.java:
34415         (pad): New debugging method.
34416         (printElements): Likewise.
34417         (printPendingEdits): Likewise.
34418         (printElement): Likewise.
34419         (Edit): Improved docs, moved this class to be an inner class of
34420         ElementBuffer since it only applies within that scope.  Changed added 
34421         and removed to be Vectors instead of arrays because we need to be able 
34422         to add to them after construction.
34423         (ElementBuffer): Updated docs with link to article that helped in this
34424         classes implementation.
34425         (ElementBuffer.Edit.getRemovedElements): New method.
34426         (ElementBuffer.Edit.getAddedElements): Likewise.
34427         (ElementBuffer.Edit.addRemovedElement): Likewise.
34428         (ElementBuffer.Edit.addRemovedElements): Likewise.
34429         (ElementBuffer.Edit.addAddedElement): Likewise.
34430         (ElementBuffer.Edit.addAddedElements): Likewise.
34431         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34432         addAddedElements.
34433         (ElementBuffer.getEditForParagraphAndIndex): New method.
34434         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34435         BranchElement.  Corrected style of adding the edit to use the new Edit
34436         facilities.
34437         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34438         the new Edit facilities.
34439         (ElementBuffer.split): Likewise.
34440         (ElementBuffer.insertParagraph): Likewise.
34441         (ElementBuffer.insertContentTag): Likewise.
34442         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34443         not just the root and the first one. Apply the structural changes to 
34444         the tree at the same time as updating the DocumentEvent.
34445         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34446         handling of EndTags as the first ElementSpec.  Instead have to handle
34447         ContentTags as a special case if they are the first ElementSpec and if
34448         not have to fracture the tree.
34449         (ElementBuffer.createFracture): New method.  May not be complete yet.
34450         Added FIXME indicating what may remain to be done.
34451         (ElementBuffer.insertFirstContentTag): New method.
34452         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34453         be done.  Changed the adding of edits to use the new Edit facilities.
34454         Removed the adding of edits for Elements that weren't in the tree prior
34455         to the insertion.
34456         (insertUpdate): Removed incorrect condition for setting a StartTag's
34457         direction to JoinNextDirection.
34458         * javax/swing/text/StyleContent.java: 
34459         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34460         that was causing an ArrayOutOfBoundsException.
34461   
34462 2006-01-17  Roman Kennke  <kennke@aicas.com>
34463   
34464         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34465         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34466         exception messages a little.
34467         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34468         alternative implementation for systems without filesystems.
34469         Replaced snprintf with the corresponding target native macro.
34470         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34471         Only do something when we have a filesystem.
34472         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34473         alternative implementation for systems without filesystems.
34474         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34475         alternative implementation for systems without filesystems.
34476         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34477         alternative implementation for systems without filesystems.
34478         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34479         Only do something when we have a filesystem.
34480         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34481         Only do something when we have a filesystem.
34482         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34483         alternative implementation for systems without filesystems.
34484         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34485         Replaced ssize_t variables with jint. Provided
34486         alternative implementation for systems without filesystems.
34487         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34488         Replaced ssize_t variables with jint. Provided
34489         alternative implementation for systems without filesystems.
34490         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34491         Replaced ssize_t variables with jint. Provided
34492         alternative implementation for systems without filesystems.
34493         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34494         Only do something when we have a filesystem.
34495         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34496         Replaced ssize_t variables with jint. Provided
34497         alternative implementation for systems without filesystems.
34498         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34499         to use the corresponding target native macro.
34500         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34501         to use the corresponding target native macro.
34502   
34503 2006-01-17  Lillian Angel  <langel@redhat.com>
34504   
34505         * javax/swing/text/DefaultTextUI.java:
34506         Added deprecated tag.
34507         * javax/swing/text/JTextComponent.java
34508         (AccessibleJTextComponent): Fixed API doc and
34509         partiall9 implemented.
34510         (getCaretPosition): Fixed API doc and implemented.
34511         (getSelectedText): Fixed API doc.
34512         (getSelectionStart): Likewise.
34513         (getSelectionEnd): Likewise.
34514         (caretUpdate): Fixed API doc and
34515         partially implemented.
34516         (getAccessibleStateSet): Likewise.
34517         (getAccessibleRole): Fixed API doc and implemented.
34518         (getAccessibleEditableText): Implemented.
34519         (getAccessibleText): Fixed API doc and implemented.
34520         (insertUpdate): Fixed API doc.
34521         (changedUpdate): Likewise.
34522         (getIndexAtPoint): Likewise.
34523         (getRootEditorRect): Removed.
34524         (getCharacterBounds): Fixed API doc.
34525         (getCharCount): Likewise.
34526         (getCharacterAttribute): Likewise.
34527         (getAtIndex): Likewise.
34528         (getAfterIndex): Likewise.
34529         (getBeforeIndex): Likewise.
34530         (getAccessibleActionCount): Added function stub.
34531         (getAccessibleActionDescription): Added function,
34532         partially implemented.
34533         (doAccessibleAction): Added function stub.
34534         (setTextContents): Likewise.
34535         (insertTextAtIndex): Likewise.
34536         (delete): Likewise.
34537         (cut): Likewise.
34538         (paste): Likewise.
34539         (replaceText): Likewise.
34540         (selectText): Likewise.
34541         (setAttributes): Likewise.
34542         (getAccessibleContext): Implemented.
34543   
34544 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34545   
34546         Fixes bug #25817
34547         * gnu/regexp/RETokenRange.java(constructor):
34548         Keep lo and hi as they are.
34549         (match): Changed the case insensitive comparison.
34550   
34551 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34552   
34553         * gnu/regexp/RETokenChar.java(chain):
34554         Do not concatenate tokens whose insens flags are diffent.
34555   
34556 2006-01-17  Roman Kennke  <kennke@aicas.com>
34557   
34558         * native/target/generic/target_generic_network.c:
34559         (targetGenericNetwork_receive): Fixed signature to match the
34560         corresponding .h file.
34561         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34562         to match the corresponding .h file.
34563   
34564 2006-01-17  Roman Kennke  <kennke@aicas.com>
34565   
34566         * native/jni/classpath/jcl.c:
34567         (JCL_malloc): Replaced calls to malloc with the corresponding
34568         target layer macro.
34569         (JCL_free): Replaced calls to free with the corresponding
34570         target layer macro.
34571         * native/jni/classpath/native_state.c:
34572         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34573         calloc with the corresponding target layer macro.
34574         (remove_node): Replaced calls to free with the corresponding
34575         target layer macro.
34576         (add_node): Replaced calls to malloc with the corresponding
34577         target layer macro.
34578
34579 2006-01-17  Roman Kennke  <kennke@aicas.com>
34580
34581         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34582         (getFieldReference): Use MALLOC/FREE macros for portability instead
34583         of direct call to malloc() and free().
34584
34585 2006-01-17  Roman Kennke  <kennke@aicas.com>
34586
34587         * native/jni/classpath/jcl.c: Added missing imports.
34588         (JCL_realloc): Fixed signature to include oldsize. This is needed
34589         for some targets. Make this function use the MEMORY_REALLOC macro
34590         for portability.
34591         * native/jni/classpath/jcl.h
34592         (JCL_realloc): Adjusted signature.
34593         * native/jni/java-io/java_io_VMFile.c:
34594         (Java_java_io_VMFile_create): Use target layer macro for handling
34595         errno, for portability.
34596         (Java_java_io_VMFile_length): Release filename string in error cases
34597         before returning.
34598         (Java_java_io_VMFile_list): Initialize filename variable. Use new
34599         version of JCL_realloc.
34600         * native/jni/java-net/java_net_VMInetAddress.c:
34601         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34602         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34603         * native/jni/java-net/javanet.c:
34604         (_javanet_bind): Make errorstr variable const to avoid compiler
34605         warning.
34606         (_javanet_set_option): Fixed typo.
34607         (_javanet_get_option): Fixed typo.
34608         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34609         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34610         error_string variable const to avoid compiler warning.
34611         * native/target/generic/target_generic_file.h:
34612         Replaced // comments with /* */ comments to avoid compiler warnings.
34613         Added some spaces to make code better readable.
34614         * native/target/generic/target_generic_memory.h:
34615         Replaced // comments with /* */ comments to avoid compiler warnings.
34616         * native/target/generic/target_generic_misc.c:
34617         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34618         compiler warnings due to use of varargs.
34619         * native/target/generic/target_generic_misc.h:
34620         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34621         compiler warnings due to use of varargs.
34622         * native/target/generic/target_generic_network.h:
34623         Replaced // comments with /* */ comments to avoid compiler warnings.
34624         (targetGenericNetwork_receive): Fixed signature to use signed chars
34625         for buffer parameter to avoid warning when passing a jbyte to the
34626         function.
34627   
34628 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
34629   
34630         * javax/swing/text/StyleConstants.java
34631         (getAlignment): Removed isDefined() check, so that resolving parent is 
34632         used for lookup,
34633         (getBackground): Likewise, plus changed default value to Color.BLACK,
34634         (getBidiLevel): Removed isDefined() check,
34635         (getComponent): Likewise,
34636         (getFirstLineIndent): Likewise,
34637         (getFontFamily): Likewise,
34638         (getFontSize): Likewise,
34639         (getForeground): Likewise,
34640         (getIcon): Likewise,
34641         (getLeftIndent): Likewise,
34642         (getLineSpacing): Likewise,
34643         (getRightIndent): Likewise,
34644         (getSpaceAbove): Likewise,
34645         (getSpaceBelow): Likewise,
34646         (getTabSet): Likewise,
34647         (isBold): Likewise,
34648         (isItalic): Likewise,
34649         (isStrikeThrough): Likewise,
34650         (isSubscript): Likewise,
34651         (isSuperscript): Likewise,
34652         (isUnderline): Likewise.
34653
34654 2006-01-17  Gary Benson  <gbenson@redhat.com>
34655
34656         * java/lang/System.java (setSecurityManager): Catch
34657         ClassNotFoundException not Throwable.
34658
34659 2006-01-16  Anthony Green  <green@redhat.com>
34660
34661         PR classpath/25803
34662         * gnu/java/net/protocol/http/Request.java
34663           (createResponseBodyStream): Remove Content-Encoding for
34664           compressed streams.
34665   
34666 2006-01-16  Chris Burdess  <dog@gnu.org>
34667   
34668         * gnu/xml/stream/XMLParser.java,
34669           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34670           XMLStreamWriter arguments for conformance to the XML specifications.
34671         * gnu/xml/transform/Stylesheet.java,
34672           gnu/xml/transform/Template.java,
34673           gnu/xml/transform/TransformerImpl.java,
34674           gnu/xml/xpath/LangFunction.java,
34675           gnu/xml/xpath/Selector.java: better handling of template priorities;
34676           fix indents when pretty-printing; recursive tests for xml:lang.
34677         * gnu/xml/util/XHTMLWriter.java,
34678           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34679
34680 2006-01-16  Roman Kennke  <kennke@aicas.com>
34681
34682         * native/target/MinGW/.cvsignore: New file.
34683         * native/target/RTEMS/.cvsignore: New file.
34684         * native/target/SunOS/.cvsignore: New file.
34685         * native/target/embOS/.cvsignore: New file.
34686         * native/target/posix/.cvsignore: New file.
34687
34688 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34689
34690         * javax/swing/text/StyleConstants.java: Updated API docs all over.
34691
34692 2006-01-16  Roman Kennke  <kennke@aicas.com>
34693
34694         * configure.ac: Include new target native directories in build.
34695
34696 2006-01-16  Roman Kennke  <kennke@aicas.com>
34697
34698         * native/target/generic/target_generic_file.h: Added missing
34699         include.
34700         * native/target/generic/target_generic_network.c: Fixed several
34701         typos and includes.
34702         * native/target/generic/target_generic_network.h: Likewise.
34703
34704 2006-01-16  Roman Kennke  <kennke@aicas.com>
34705
34706         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34707         to include the new targets.
34708         * native/target/posix/Makefile.am: Fixed filenames.
34709
34710 2006-01-16  Roman Kennke  <kennke@aicas.com>
34711
34712         * native/target/Makefile.am: Include new targets.
34713         * native/target/Linux/Makefile.am: Include new memory layer.
34714         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34715         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34716         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34717         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34718         * native/target/generic/Makefile.am: Include new memory and math
34719         layer.
34720         * native/target/posix/Makefile.am: New file. Includes posix in dist.
34721   
34722 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34723   
34724         Fixes bug #22884
34725         * gnu/regexp/RE.java(initialize): Parse embedded flags.
34726         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34727   
34728 2006-01-16  Roman Kennke  <kennke@aicas.com>
34729   
34730         * native/target/generic/target_generic_network.c: Fixed typo.
34731         * native/target/generic/target_generic_network.h: Fixed typo.
34732   
34733 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
34734   
34735         * doc/vmintegration.texinfo: Updated subsection of the
34736         java.lang.InstrumentationImpl documentation.
34737   
34738 2006-01-16  Roman Kennke  <kennke@aicas.com>
34739   
34740         * native/target/RTEMS/target_native.h,
34741         * native/target/RTEMS/target_native_file.h,
34742         * native/target/RTEMS/target_native_io.h,
34743         * native/target/RTEMS/target_native_math.h,
34744         * native/target/RTEMS/target_native_memory.h,
34745         * native/target/RTEMS/target_native_misc.h,
34746         * native/target/RTEMS/target_native_network.h:
34747         New files. Implement the target native layer for the RTEMS platform.
34748   
34749 2006-01-16  Roman Kennke  <kennke@aicas.com>
34750   
34751         * native/target/SunOS/target_native.h,
34752         * native/target/SunOS/target_native_file.h,
34753         * native/target/SunOS/target_native_io.h,
34754         * native/target/SunOS/target_native_math.h,
34755         * native/target/SunOS/target_native_memory.h,
34756         * native/target/SunOS/target_native_misc.h,
34757         * native/target/SunOS/target_native_network.h:
34758         New files. Implement the target native layer for the SunOS platform.
34759   
34760 2006-01-16  Roman Kennke  <kennke@aicas.com>
34761   
34762         * native/target/MinGW/target_native.h,
34763         * native/target/MinGW/target_native_file.h,
34764         * native/target/MinGW/target_native_io.h,
34765         * native/target/MinGW/target_native_math.h,
34766         * native/target/MinGW/target_native_memory.h,
34767         * native/target/MinGW/target_native_misc.h,
34768         * native/target/MinGW/target_native_network.h:
34769         New files. Implement the target native layer for the MinGW
34770         platform.
34771   
34772 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34773   
34774         PR 25770
34775         * javax/swing/DefaultCellEditor.java
34776         (delegate): Assign new instance immediately.
34777         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34778         (getTableCellEditorComponent): Rewritten.
34779         (prepareAsJTextField):New method (add listener only once).
34780         * javax/swing/JTable.java
34781         (editingCanceled): Rewritten.
34782         (editingStopped ): Rewritten.
34783         (rowAtPoint): Mind row margin.
34784         (getCellRect): Mind row margin.
34785         (getDefaultEditor): Removing JTextComponent border.
34786         (editCellAt): Rewritten.
34787         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34788         Activate editing mode by the mouse clicks.
34789         (getMaximumSize): Mind row margin.
34790         (getPreferredSize): Mind row margin.
34791         (TableAction): Added 'stop editing' command. 
34792
34793 2006-01-16  Roman Kennke  <kennke@aicas.com>
34794
34795         * jni/java-io/java_io_VMFile.c
34796         (Java_java_io_VMFile_list): Use new 4 argument version of
34797         TARGET_NATIVE_FILE_READ_DIR macro.
34798         * target/Linux/target_native_io.h: Fixed comment at #endif.
34799         * target/Linux/target_native_memory.h: New file. Contains
34800         portability macros for memory operations.
34801         * target/generic/target_generic.c: New file. Contains some functions
34802         for portability.
34803         * target/generic/target_generic.h: Use posix target and shorter macro
34804         names if CP_NEW is set. 
34805         * target/generic/target_generic_file.h: Use posix target and shorter
34806         macro names if CP_NEW is set.
34807         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34808         * target/generic/target_generic_io.c: New file. Contains some
34809         functions for IO portability.
34810         * target/generic/target_generic_io.h: Use posix target and shorter
34811         macro names if CP_NEW is set.
34812         * target/generic/target_generic_misc.c: New file. Contains some
34813         functions for miscallaneaous portability issues.
34814         * target/generic/target_generic_misc.h: Use posix target and shorter
34815         macro names if CP_NEW is set.
34816         * target/generic/target_generic_network.c: New file. Contains some
34817         functions for networking portability.
34818         * target/generic/target_generic_network.h: Use posix target and
34819         shorter macro names if CP_NEW is set.
34820         * target/posix/Makefile.am,
34821         * target/posix/target_posix.c,
34822         * target/posix/target_posix.h,
34823         * target/posix/target_posix_file.c,
34824         * target/posix/target_posix_file.h,
34825         * target/posix/target_posix_io.c,
34826         * target/posix/target_posix_io.h,
34827         * target/posix/target_posix_math.c,
34828         * target/posix/target_posix_math.h,
34829         * target/posix/target_posix_memory.c,
34830         * target/posix/target_posix_memory.h,
34831         * target/posix/target_posix_misc.c,
34832         * target/posix/target_posix_misc.h,
34833         * target/posix/target_posix_network.c,
34834         * target/posix/target_posix_network.h:
34835         New files. This implements the target native layer macros for
34836         Posix-like systems.
34837
34838 2006-01-16  Gary Benson  <gbenson@redhat.com>
34839
34840         * java/net/SocketPermission.java (implies): Fix action checks.
34841
34842 2006-01-16  Roman Kennke  <kennke@aicas.com>
34843
34844         * native/target/generic/target_generic_math_float.h: Removed. This
34845         file has been replaced by target_generic_math.h.
34846         * native/target/generic/target_generic_math_int.h: Removed. This
34847         file has been replaced by target_generic_math.h.
34848         * native/target/generic/target_generic_math.h: New file. Replaces
34849         the old _int and _float versions.
34850         * native/target/Linux/target_native_math_float.h: Removed. This
34851         file has been replaced by target_native_math.h.
34852         * native/target/Linux/target_native_math_int.h: Removed. This
34853         file has been replaced by target_native_math.h.
34854         * native/target/Linux/target_native_math.h: New file. Replaces
34855         the old _int and _float versions.
34856         * native/target/Linux/Makefile.am: Adjusted for the changed
34857         filenames.
34858         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34859         instead of target_native_math_int.h.
34860         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34861         Likewise.
34862         * native/target/generic/target_generic_file.h: Likewise.
34863   
34864 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34865   
34866         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34867   
34868 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34869   
34870         * javax/swing/text/SimpleAttributeSet.java
34871         (SimpleAttributeSet()): Initialise storage directly,
34872         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34873         NullPointerException,
34874         (containsAttribute): If key is found locally, don't check resolving
34875         parent if the value doesn't match,
34876         (getAttribute): Removed redundant instanceof and cast.
34877   
34878 2006-01-16  Gary Benson  <gbenson@redhat.com>
34879   
34880         * java/lang/System.java (setSecurityManager): Ensure policy
34881         files are loaded before a security manager is put in place.
34882   
34883 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34884   
34885         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34886   
34887 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
34888   
34889         * javax/print/attribute/standard/MediaSize.java: 
34890         (static_initializer): Added comment.
34891         (MediaSize): Added javadoc to mention cache registration.
34892         (MediaSize): Likewise.
34893         (MediaSize): Likewise.
34894         (MediaSize): Likewise.
34895   
34896 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
34897   
34898         PR classpath/25202
34899         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34900         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34901         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34902         * javax/security/auth/login/AppConfigurationEntry.java: Updated
34903           copyright year.
34904           (toString): Added method implementation.
34905           (LoginModuleControlFlag.toString): Removed class name from result.
34906         * javax/security/auth/login/Configuration.java: Updated copyright year.
34907           (getConfig(): replaced calls to NullConfiguration with
34908           GnuConfiguration.
34909
34910 2006-01-15  Tom Tromey  <tromey@redhat.com>
34911
34912         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34913         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34914         * java/beans/PersistenceDelegate.java (initialize): Genericized.
34915         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34916         (setPersistenceDelegate): Likewise.
34917
34918 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
34919
34920         * javax/print/attribute/standard/PrinterStateReasons.java: 
34921         (printerStateReasonSet): Genericize the return type.
34922
34923 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34924
34925         * javax/swing/table/DefaultTableCellRenderer.java 
34926         (getTableCellRendererComponent): Render null as the empty cell.
34927
34928 2006-01-14  Anthony Green  <green@redhat.com>
34929
34930         * java/net/ServerSocket.java (accept): Remove bogus
34931         security check.
34932         (implAccept): Add FIXME comment.
34933
34934 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34935
34936         Fixes bug #25387
34937         * javax/print/Doc.java: Added and enhanced documentation.
34938         * javax/print/SimpleDoc.java: New file. 
34939   
34940 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34941   
34942         * javax/print/attribute/standard/MediaSize.java: 
34943         (Other.TABLOID): New MediaSize added in 1.5
34944   
34945 2006-01-14  Chris Burdess  <dog@gnu.org>
34946   
34947         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34948           correctly when I/O and runtime exceptions occur during parsing.
34949   
34950 2006-01-13  Roman Kennke  <kennke@aicas.com>
34951   
34952         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34953         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34954         * gnu/java/awt/peer/swing/SwingComponent.java,
34955         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34956         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34957         * gnu/java/awt/peer/swing/SwingFramePeer.java,
34958         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34959         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34960         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34961         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34962         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34963         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34964         * gnu/java/awt/peer/swing/SwingToolkit.java,
34965         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34966         * gnu/java/awt/peer/swing/package.html:
34967         New files. Implemented some basic AWT peers based on Swing.
34968   
34969 2006-01-13  Roman Kennke  <kennke@aicas.com>
34970   
34971         * java/awt/peer/ComponentPeer.java: Added API docs all over.
34972   
34973 2006-01-13  Roman Kennke  <kennke@aicas.com>
34974   
34975         * java/awt/MenuComponent.java: Reformatted to better match our
34976         coding style.
34977   
34978 2006-01-13  Roman Kennke  <kennke@aicas.com>
34979   
34980         * java/awt/Frame.java: Reformatted to better match our
34981         coding style.
34982   
34983 2006-01-13  Roman Kennke  <kennke@aicas.com>
34984   
34985         * java/awt/MenuBar.java
34986         (accessibleContext): Removed unnecessary field. This is already
34987         defined in MenuComponent.
34988         (setHelpMenu): Renamed the peer variable to myPeer because it was
34989         hiding a field of MenuComponent.
34990         (addNotify): Removed unnecessary cast.
34991   
34992 2006-01-13  Roman Kennke  <kennke@aicas.com>
34993   
34994         * java/awt/MenuBar.java: Reformatted to better match our
34995         coding style.
34996   
34997 2006-01-13  Roman Kennke  <kennke@aicas.com>
34998   
34999         * java/awt/MenuBar.java
35000         (frame): New field.
35001         (removeNotify): Clear frame field when beeing removed from the
35002         frame.
35003         * java/awt/Frame.java
35004         (setMenuBar): Store a reference of the frame in the MenuBar.
35005         * java/awt/MenuComponent.java
35006         (postEvent): Implemented to forward the call to the parent until
35007         a parent can handle the event.
35008         (dispatchEvent): Moved handling of old style events from
35009         dispatchEventImpl() to here.
35010         (dispatchEventImpl): Moved handling of old style events to
35011         dispatchEvent().
35012   
35013 2006-01-13  Roman Kennke  <kennke@aicas.com>
35014   
35015         * java/awt/Component.java
35016         (dispatchEvent): Moved handling of old style events from
35017         dispatchEventImpl() to this method.
35018         (translateEvent): Removed unnecessary cast.
35019         (dispatchEventImpl): Moved handling of old style events to
35020         dispatchEvent().
35021         
35022 2006-01-13  Lillian Angel  <langel@redhat.com>
35023   
35024         * javax/swing/text/DefaultStyledDocument.java
35025         (createDefaultRoot): Removed FIXME.
35026         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35027         removed FIXME.
35028   
35029 2006-01-13  Lillian Angel  <langel@redhat.com>
35030   
35031         * javax/swing/text/DefaultStyledDocument.java
35032         (Edit): New inner class.
35033         (changeUpdate): Changed addEdit call to add a new
35034         instance of Edit to the edits Vector, so addEdits can
35035         be done later.
35036         (split): Likewise.
35037         (insertParagraph): Likewise.
35038         (insertFracture): Likewise.
35039         (insertContentTag): Likewise.
35040         (insert): Added loop to go through edits Vector and perform
35041         addEdit on each object.
35042   
35043 2006-01-13  Chris Burdess  <dog@gnu.org>
35044   
35045         * gnu/xml/transform/AbstractNumberNode.java,
35046           gnu/xml/transform/ApplyImportsNode.java,
35047           gnu/xml/transform/ApplyTemplatesNode.java,
35048           gnu/xml/transform/AttributeNode.java,
35049           gnu/xml/transform/CallTemplateNode.java,
35050           gnu/xml/transform/ChooseNode.java,
35051           gnu/xml/transform/CommentNode.java,
35052           gnu/xml/transform/CopyNode.java,
35053           gnu/xml/transform/CopyOfNode.java,
35054           gnu/xml/transform/DocumentFunction.java,
35055           gnu/xml/transform/ElementNode.java,
35056           gnu/xml/transform/ForEachNode.java,
35057           gnu/xml/transform/IfNode.java,
35058           gnu/xml/transform/LiteralNode.java,
35059           gnu/xml/transform/MessageNode.java,
35060           gnu/xml/transform/OtherwiseNode.java,
35061           gnu/xml/transform/ParameterNode.java,
35062           gnu/xml/transform/ProcessingInstructionNode.java,
35063           gnu/xml/transform/Stylesheet.java,
35064           gnu/xml/transform/Template.java,
35065           gnu/xml/transform/TemplateNode.java,
35066           gnu/xml/transform/TextNode.java,
35067           gnu/xml/transform/TransformerImpl.java,
35068           gnu/xml/transform/ValueOfNode.java,
35069           gnu/xml/transform/WhenNode.java,
35070           gnu/xml/xpath/NodeTypeTest.java,
35071           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35072           with-param parameters when template does not define parameters; apply
35073           conflict resolution for templates; strip whitespace on documents
35074           retrieved via document() function; allow node() to match document
35075           nodes.
35076
35077 2006-01-13  Mark Wielaard  <mark@klomp.org>
35078
35079         * doc/www.gnu.org/announce/20060113.wml: New file.
35080         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35081         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35082   
35083 2006-01-13  Lillian Angel  <langel@redhat.com>
35084   
35085         * javax/swing/text/DefaultStyledDocument.java:
35086         Removed unused fields.
35087         (insert): Removed unused fields.
35088         (endEdit): Removed, not needed.
35089         (insertUpdate): Removed call to endEdit.
35090         (prepareContentInsertion): Removed, not needed.
35091         (insertContentTag): Removed call to prepareContentInsertion.
35092         (printElements): Removed, not needed.
35093         (attributeSetsAreSame): Removed, not needed.
35094   
35095 2005-01-13  Mark Wielaard  <mark@klomp.org>
35096
35097         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35098         Duplicate of toString(int, StringBuilder).
35099
35100 2005-01-13  Mark Wielaard  <mark@klomp.org>
35101
35102         * configure.ac: Set version to 0.20.
35103         * NEWS: Add entries for all the new work done.
35104
35105 2005-01-13  Mark Wielaard  <mark@klomp.org>
35106
35107         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35108
35109 2005-01-13  Mark Wielaard  <mark@klomp.org>
35110
35111         * java/util/regex/Pattern.java (Pattern): Chain REException.
35112
35113 2006-01-13  Chris Burdess  <dog@gnu.org>
35114
35115         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35116
35117 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35118
35119         * java/security/Security.java
35120         (getProperty): Added hack to skip security check when trusted
35121         code is direct caller.
35122
35123 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35124
35125         * java/io/PrintStream.java
35126         (line_separator, PrintStream(OutputStream,boolean)): Use
35127         SystemProperties.
35128
35129 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35130
35131         * gnu/java/nio/charset/Provider.java: Added comment about its
35132         special relation with CharsetProvider.
35133         (static): Removed.
35134         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35135         its special relation with CharsetProvider.
35136         (static): Removed.
35137         * java/nio/charset/spi/CharsetProvider.java
35138         (CharsetProvider): Add special case to skip security check for
35139         built in providers.
35140
35141 2005-01-13  Mark Wielaard  <mark@klomp.org>
35142
35143         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35144         name, accel, mnemonic and command are defined before setting.
35145
35146 2005-01-12  Mark Wielaard  <mark@klomp.org>
35147
35148         * javax/swing/plaf/metal/MetalFileChooserUI.java
35149         (FileRenderer.getListCellRendererComponent): Set empty name and null
35150         icon when File is null.
35151
35152 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35153
35154         * gnu/java/rmi/server/UnicastRef.java (newCall):
35155         Throw ConnectException after catching IOException.
35156
35157 2006-01-12  Lillian Angel  <langel@redhat.com>
35158
35159         * javax/swing/text/DefaultStyledDocument.java
35160         (insertUpdate): Removed unneeded check.
35161
35162 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35163
35164         * javax/swing/text/DefaultStyledDocument.java:
35165         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35166         and we haven't come immediately after a fracture, adjust the Element
35167         offsets.  Added comment explaining the situation.
35168         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35169         call to insertUpdate.  Fired the UndoableEditUpdate.
35170
35171 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35172
35173         Fixes bug #22802
35174         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35175         character classes within a subexpression.
35176
35177 2006-12-12  Lillian Angel  <langel@redhat.com>
35178
35179         * javax/swing/text/DefaultStyledDocument.java
35180         (insertUpdate): Added check to check if attribute set is 
35181         empty.
35182         (insertUpdate): Added check to determine if last character
35183         is a newline. If it is, we should not be fracturing.
35184         (insert): Added check to determine if attribute set is empty.
35185         If it is, insertUpdate should not be called.
35186
35187 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35188
35189         * configure.ac: Check for isnan.
35190
35191         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35192         define the macro.
35193
35194 2006-01-12  Chris Burdess  <dog@gnu.org>
35195
35196         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35197           1.1 character ranges.
35198
35199 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35200
35201         * javax/swing/TransferHandler.java:
35202         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35203         gnu/testlet/javax/swing/JTextField/CopyPaste.
35204
35205 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35206
35207         * resource/Makefile.am: Install 
35208         logging.properties into $(prefix)/lib.
35209         * resource/Makefile.am (securitydir): Changed to 
35210         $(prefix)/lib/security.
35211
35212 2006-01-12  Roman Kennke  <kennke@aicas.com>
35213
35214         * javax/swing/JTextField.java
35215         (createDefaultModel): Moved installation of the filterNewlines
35216         property to setDocument().
35217         (setDocument): New method. Installs the filterNewlines property
35218         on the document.
35219
35220 2006-01-12  Chris Burdess  <dog@gnu.org>
35221
35222         * gnu/xml/dom/DomNode.java,
35223           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35224           output.
35225         * gnu/xml/xpath/NameTest.java,
35226           gnu/xml/xpath/NamespaceTest.java,
35227           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35228           navigation.
35229         * gnu/xml/transform/MessageNode.java: Use standard logging system
35230           for outputting messages.
35231
35232 2006-01-12  Tom Tromey  <tromey@redhat.com>
35233
35234         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35235         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35236         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35237         (static initializer): Removed cache code.
35238         (checkCacheFor, addToCache): Removed.
35239         (getAllByName): Removed cache code.
35240         (lookup_time): Removed.
35241         (InetAddress): Updated.
35242
35243 2006-01-12  Chris Burdess  <dog@gnu.org>
35244
35245         * gnu/xml/dom/DomDocument.java,
35246           gnu/xml/dom/DomElement.java,
35247           gnu/xml/dom/DomNode.java,
35248           gnu/xml/stream/XMLParser.java,
35249           gnu/xml/transform/Bindings.java,
35250           gnu/xml/transform/ElementAvailableFunction.java,
35251           gnu/xml/transform/ElementNode.java,
35252           gnu/xml/transform/FunctionAvailableFunction.java,
35253           gnu/xml/transform/NamespaceProxy.java,
35254           gnu/xml/transform/StreamSerializer.java,
35255           gnu/xml/transform/Stylesheet.java,
35256           gnu/xml/transform/TransformerImpl.java,
35257           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35258           document and element nodes; correct coalescing semantics when parsing;
35259           attribute-sets can only refer to top-level variables and parameters;
35260           fix namespace retrieval during element-available and
35261           function-available functions; implement xsl:fallback for extension
35262           elements; tokenize whitespace correctly during whitespace stripping;
35263           correct following and previous node axes selectors.
35264
35265 2006-01-12  Roman Kennke  <kennke@aicas.com>
35266
35267         * java/util/Hashtable.java
35268         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35269         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35270
35271 2006-01-12  Lillian Angel  <langel@redhat.com>
35272
35273         * javax/swing/text/GapContent.java
35274         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35275
35276 2006-01-12  Mark Wielaard  <mark@klomp.org>
35277
35278         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35279         Throw UnknowHostException when name could not be resolved.
35280
35281 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35282
35283         * java/net/URL.java
35284         (static, getURLStreamHandler): Use SystemProperties.
35285
35286 2006-01-12  Mark Wielaard  <mark@klomp.org>
35287
35288         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35289         Use packet.getLength().
35290         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35291         (nativeReceive): Check whether the receiver wants zero bytes.
35292
35293 2006-01-12  Mark Wielaard  <mark@klomp.org>
35294
35295         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35296         other side orderly closed connection.
35297         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35298         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35299         when end of stream reached.
35300
35301 2006-01-12  Mark Wielaard  <mark@klomp.org>
35302
35303         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35304         Remove asserts.
35305         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35306         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35307         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35308         * native/jni/java-net/javanet.c: Likewise.
35309
35310 2006-01-12  Mark Wielaard  <mark@klomp.org>
35311
35312         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35313         PR classpath/23863.
35314
35315 2006-01-11  Chris Burdess  <dog@gnu.org>
35316
35317         * gnu/xml/transform/AttributeNode.java,
35318           gnu/xml/transform/ElementNode.java,
35319           gnu/xml/transform/LiteralNode.java,
35320           gnu/xml/transform/StreamSerializer.java,
35321           gnu/xml/transform/StrippingInstruction.java,
35322           gnu/xml/transform/Stylesheet.java,
35323           gnu/xml/transform/TransformerImpl.java,
35324           gnu/xml/transform/ValueOfNode.java,
35325           gnu/xml/xpath/Expr.java,
35326           gnu/xml/xpath/LocalNameFunction.java,
35327           gnu/xml/xpath/NameFunction.java,
35328           gnu/xml/xpath/NameTest.java,
35329           gnu/xml/xpath/NamespaceUriFunction.java,
35330           gnu/xml/xpath/NodeTypeTest.java,
35331           gnu/xml/xpath/SubstringFunction.java,
35332           javax/xml/namespace/QName.java: don't determine element namespace
35333           from namespace aliases when specified; better namespace handling
35334           when serializing elements; don't create HTML meta element unless
35335           head element exists; correct encoding of CDATA sections containing
35336           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35337           default encoding for HTML output; rewrite of XSLT
35338           strip-space/preserve-space handling; correct doctype-public and
35339           doctype-system output attributes; insert generated doctype before
35340           document element; fixed result tree whitespace stripping
35341           algorithm; fixed semantics of XPath name, local-name, and
35342           namespace-uri functions; name tests handle XML/XMLNS namespaces
35343           correctly; fixed semantics of processing-instruction node test.
35344         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35345           aid debugging.
35346
35347 2006-01-11  Lillian Angel  <langel@redhat.com>
35348
35349         * javax/swing/text/DefaultStyledDocument.java
35350         (insertFracture): Added calls to addEdit for each time a structure 
35351         is changed. addEdit is called on the newBranch, previous, and parent
35352         structures.
35353
35354 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35355
35356         * javax/swing/text/DefaultStyledDocument.java:
35357         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35358         This will have been taken care of in insertFracture.  Added a comment
35359         explaining that we need to add edits to the DocumentEvent and that
35360         this may be the place to do it.
35361
35362 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35363
35364         * javax/swing/text/DefaultStyledDocument.java:
35365         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35366         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35367         elementStack when there is a start tag with JoinNextDirection.
35368
35369 2006-01-11  Roman Kennke  <kennke@aicas.com>
35370
35371         Reported by: Fridjof Siebert <siebert@aicas.com>
35372         * java/util/Hashtable.java
35373         (KEYS): Removed unneeded field.
35374         (VALUES): Removed unneeded field.
35375         (ENTRIES): Removed unneeded field.
35376         (keys): Return a KeyEnumerator instance.
35377         (elements): Returns a ValueEnumerator instance.
35378         (toString): Use an EntryIterator instance.
35379         (keySet): Return a KeyIterator instance.
35380         (values): Return a ValueIterator instance.
35381         (entrySet): Return an EntryIterator instance.
35382         (hashCode): Use EntryIterator instance.
35383         (rehash): Changed this loop to avoid redundant reads and make
35384         it obvious that null checking is not needed.
35385         (writeObject): Use EntryIterator instance.
35386         (HashIterator): Removed class.
35387         (Enumerator): Removed class.
35388         (EntryIterator): New class.
35389         (KeyIterator): New class.
35390         (ValueIterator): New class.
35391         (EntryEnumerator): New class.
35392         (KeyEnumerator): New class.
35393         (ValueEnumerator): New class.
35394
35395 2006-01-11  Lillian Angel  <langel@redhat.com>
35396
35397         * javax/swing/text/DefaultStyledDocument.java
35398         (toString): Shouldn't append the '>' character here.
35399         (createDefaultRoot): Should not set the resolve parent. This
35400         causes problems when comparing attribute sets.
35401
35402 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35403
35404         * javax/swing/text/DefaultStyledDocument.java:
35405         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35406         end tags.
35407         (ElementBuffer.insertFracture): New method.
35408         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35409         JoinFractureDirection - this only applies to start tags, not content
35410         tags.
35411         (insertUpdate): Corrected conditions for setting direction to 
35412         JoinNextDirection.
35413
35414 2006-01-10  Roman Kennke  <kennke@aicas.com>
35415
35416         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35417         * ChangeLog-2005: New File.
35418
35419 2006-01-10  Roman Kennke  <kennke@aicas.com>
35420
35421         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35422         (get): Release the array with the correct pointer.
35423         (put): Release the array with the correct pointer. Copy the array
35424         around _before_ releasing it.
35425
35426 2006-01-10  Roman Kennke  <kennke@aicas.com>
35427
35428         * javax/swing/ViewportLayout.java
35429         (layoutContainer): Fixed condition, to avoid ClasscastException.
35430
35431 2006-01-10  Roman Kennke  <kennke@aicas.com>
35432
35433         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35434         (MouseHandler.mousePressed): Fixed indendation.
35435         (MouseHandler.mouseDragged): Fixed indendation.
35436
35437 2006-01-10  Roman Kennke  <kennke@aicas.com>
35438
35439         * javax/swing/plaf/basic/BasicLookAndFeel.java
35440         (playSound): Added @since 1.4 to the API docs.
35441
35442 2006-01-10  Roman Kennke  <kennke@aicas.com>
35443
35444         * javax/swing/plaf/basic/BasicListUI.java
35445         (maybeUpdateLayoutState): Also update the layout state, if the
35446         list has been invalidated since the last update.
35447
35448 2006-01-10  Roman Kennke  <kennke@aicas.com>
35449
35450         * javax/swing/plaf/ComponentUI.java
35451         (update): Fixed indendation.
35452
35453 2006-01-10  Roman Kennke  <kennke@aicas.com>
35454
35455         * javax/swing/ViewportLayout.java
35456         (layoutContainer): Fixed condition, so that Scrollable components
35457         are always forced to have to Viewport size, when they
35458         return true for getScrollableTracksViewportHeight() and ..Width().
35459
35460 2006-01-10  Roman Kennke  <kennke@aicas.com>
35461
35462         * javax/swing/RepaintManager.java
35463         (validateInvalidComponents): Fixed condition to avoid NPE.
35464
35465 2006-01-10  Roman Kennke  <kennke@aicas.com>
35466
35467         * javax/swing/JViewport.java:
35468         (static_initializer): Removed unused variable myScrollMode.
35469
35470 2006-01-10  Roman Kennke  <kennke@aicas.com>
35471
35472         * javax/swing/JTabbedPane.java:
35473         Cleared API docs a little.
35474
35475 2006-01-10  Roman Kennke  <kennke@aicas.com>
35476
35477         * java/util/StringTokenizer.java
35478         (StringTokenizer(String, String, boolean)):
35479         Don't trigger NPE here for conformance with the spec.
35480
35481 2006-01-10  Roman Kennke  <kennke@aicas.com>
35482
35483         * java/util/ArrayList.java
35484         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35485
35486 2006-01-10  Roman Kennke  <kennke@aicas.com>
35487
35488         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35489         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35490         field to avoid NPE.
35491
35492 2006-01-10  Roman Kennke  <kennke@aicas.com>
35493
35494         * native/jni/java-net/javanet.c
35495         (_javanet_shutdownOutput): Replaced strerror() with
35496         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35497         (_javanet_shutdownInput): Replaced strerror() with
35498         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35499
35500 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35501
35502         * java/beans/EventSetDescriptor.java: Reformatted and
35503         fixed API docs.
35504
35505 2006-01-10  Roman Kennke  <kennke@aicas.com>
35506
35507         * java/lang/SecurityManager.java
35508         Fully qualified AWT class references in API docs.
35509
35510 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35511
35512         * java/beans/EventSetDescriptor.java:
35513         (getGetListenerMethod): New method.
35514
35515 2006-01-10  Mark Wielaard  <mark@klomp.org>
35516
35517         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35518
35519 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35520
35521         PR classpath/25727
35522         * java/util/Hashtable.java
35523         (contains): Call equals on existing value.
35524         (containsKey, get, put, remove): Call equals on existing key.
35525         (getEntry): Call equals on existing entry.
35526
35527 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35528
35529         PR classpath/24618
35530         * java/util/AbstractMap.java
35531         (equals(Object,Object)): Test for identity first.
35532         * java/util/WeakHashMap.java
35533         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35534         (WeakBucket.WeakEntry.toString): Fixed string representation of
35535         null key.
35536         (internalGet): Use helper method to determine equality.
35537
35538 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35539
35540         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35541         constructors.
35542
35543 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35544
35545         * javax/swing/text/PlainDocument.java:
35546         (insertUpdate): Handle special case of an insertion immediately 
35547         following a newline character.
35548
35549 2006-01-09  Roman Kennke  <kennke@aicas.com>
35550
35551         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35552         (connect): Added stream parameter to _connect() call.
35553         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35554         (connect): Added stream parameter to _connect() call.
35555         * native/jni/java-net/javanet.c
35556         (_javanet_create_localfd): Added stream parameter. Look up
35557         fd field based on the stream parameter either in SocketImpl or
35558         in DatagramSocketImpl.
35559         (_javanet_connect): Added stream parameter. Call create_localfd
35560         using this stream parameter. Set localPort field either in
35561         SocketImpl or in DatagramSocketImpl, depending on the stream
35562         flag.
35563         * native/jni/java-net/javanet.c
35564         (_javanet_connect): Added stream parameter.
35565
35566 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35567
35568         * javax.management.Attribute.java: Grammar and 
35569         formatting fixes.
35570
35571 2006-01-09  Mark Wielaard  <mark@klomp.org>
35572
35573         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35574         exception when channel is not readable or writable.
35575         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35576         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35577         there is enough space to mmap().
35578
35579 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35580
35581         * java/beans/Introspector.java:
35582         (getBeanInfo(Class, int)): New method.
35583         (getBeanInfo(Class, Class): Moved common code in a new method.
35584         (merge): New method.
35585
35586 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35587
35588         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35589
35590 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35591
35592         * javax/swing/text/DefaultStyledDocument.java:
35593         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35594         inlined this method because it needs to change the value of the 
35595         finalStartTag and finalStartDirection variables.
35596         (checkForInsertAfterNewline): Removed this method.
35597         (handleInsertAfterNewline): Added case for making the start tag's 
35598         direction JoinNextDirection.
35599
35600 2006-01-09  Lillian Angel  <langel@redhat.com>
35601
35602         * javax/swing/plaf/basic/BasicTreeUI.java:
35603         Added new field.
35604         (setRowHeight): Row height is set to the max height of
35605         all the nodes, or 20 as a default value.
35606         (getPathBounds): Cleaned up code.
35607         (getMaxHeight): New helper function that gets the max 
35608         height of all the rows.
35609         (getClosestPathForLocation): Fixed to use getMaxHeight.
35610         (updateCachedPreferredSize): Likewise.
35611         (installUI): Shouldn't expand tree on startup.
35612         (getNodeDimensions): Fixed to use getMaxHeight. 
35613
35614 2006-01-09  Mark Wielaard  <mark@klomp.org>
35615
35616         * javax/swing/JList.java (setSelectedIndex): Clear selection when
35617         argument is negative.
35618
35619 2006-01-08  Mark Wielaard  <mark@klomp.org>
35620
35621         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35622
35623 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35624
35625         * javax.management.Attribute.java: New file. 
35626
35627 2006-01-09  Roman Kennke  <kennke@aicas.com>
35628
35629         * java/net/DatagramSocketImpl.java
35630         (localPort): Renamed to localport for correct access from native
35631         code.
35632
35633 2006-01-09  Roman Kennke  <kennke@aicas.com>
35634
35635         * javax/swing/Popup.java
35636         (LightweightPopup.hide): Repaint the layered pane when popup is
35637         removed.
35638
35639 2006-01-09  Roman Kennke  <kennke@aicas.com>
35640
35641         * java/awt/Container.java
35642         (remove): Don't repaint the container here.
35643
35644 2006-01-08  Tom Tromey  <tromey@redhat.com>
35645
35646         * java/lang/InheritableThreadLocal.java: Organized imports.
35647
35648 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35649
35650         Fixes bug #25679
35651         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35652         when an empty string matched an empty token.
35653
35654 2006-01-08  Chris Burdess  <dog@gnu.org>
35655
35656         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35657           content models from external entities.
35658         * gnu/xml/stream/UnicodeReader.java: Report error instead of
35659           attempting to continue with unpaired surrogates.
35660         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35661           resolving entities with character entity references; better
35662           checking of valid character ranges; don't report an error for URI
35663           fragments in notation declarations; check unbound namespace
35664           prefixes for elements and attributes, including XML 1.1 unbinding
35665           syntax; namespace-aware checking of attribute duplicates.
35666
35667 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
35668
35669         * java/beans/Statement.java: Doc fixes.
35670         (doExecute): Workaround for Class.forName call.
35671         (toString): Made output look more like on the JDK.
35672         * java/beans/Expression.java: Doc fixes.
35673         (toString): Made output look more like on the JDK.
35674         * java/beans/PersistenceDelegate.java,
35675         java/beans/DefaultPersistenceDelegate.java,
35676         java/beans/Encoder.java,
35677         java/beans/XMLEncoder.java: New file.
35678         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35679         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35680         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35681         gnu/java/beans/encoder/Context.java,
35682         gnu/java/beans/encoder/GenericScannerState.java,
35683         gnu/java/beans/encoder/IgnoringScannerState.java,
35684         gnu/java/beans/encoder/MapPersistenceDelegate.java,
35685         gnu/java/beans/encoder/ObjectId.java,
35686         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35687         gnu/java/beans/encoder/ReportingScannerState.java,
35688         gnu/java/beans/encoder/Root.java,
35689         gnu/java/beans/encoder/ScanEngine.java,
35690         gnu/java/beans/encoder/ScannerState.java,
35691         gnu/java/beans/encoder/StAXWriter.java,
35692         gnu/java/beans/encoder/Writer.java: New file.
35693         * gnu/java/beans/encoder/elements/Array_Get.java,
35694         gnu/java/beans/encoder/elements/Element.java,
35695         gnu/java/beans/encoder/elements/List_Set.java,
35696         gnu/java/beans/encoder/elements/Array_Set.java,
35697         gnu/java/beans/encoder/elements/NullObject.java,
35698         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35699         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35700         gnu/java/beans/encoder/elements/StringReference.java,
35701         gnu/java/beans/encoder/elements/ClassResolution.java,
35702         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35703         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35704         gnu/java/beans/encoder/elements/ObjectReference.java,
35705         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35706         gnu/java/beans/encoder/elements/List_Get.java,
35707         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35708
35709 2006-01-08  Chris Burdess  <dog@gnu.org>
35710
35711         * java/lang/Character.java (toChars,toCodePoint): Correct these
35712           methods to use algorithms from Unicode specification.
35713  
35714 2006-01-08  Mark Wielaard  <mark@klomp.org>
35715
35716         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35717
35718 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
35719
35720         Fixes bug #25711
35721         * examples/Makefile.am: Corrected DESTDIR install paths.
35722
35723 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35724
35725         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
35726         ASCII character (line 46).
35727
35728 2006-01-07  Roman Kennke  <kennke@aicas.com>
35729
35730         * javax/swing/text/TableView.java: New file.
35731
35732 2006-01-07  Chris Burdess  <dog@gnu.org>
35733
35734         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35735         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35736         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35737           available; correct handling of unparsed entity references;
35738           absolutize all base URIs; remove commented out code.
35739
35740 2006-01-07  Chris Burdess  <dog@gnu.org>
35741
35742         * gnu/xml/stream/SAXParser.java,
35743           gnu/xml/stream/XMLParser.java: Add SAX property to return base
35744           URI of the current event.
35745
35746 2006-01-07  Chris Burdess  <dog@gnu.org>
35747
35748         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35749           aware processing.
35750
35751 2006-01-07  Chris Burdess  <dog@gnu.org>
35752
35753         * gnu/xml/stream/SAXParser.java,
35754           gnu/xml/stream/XIncludeFilter.java,
35755           gnu/xml/stream/XMLParser.java: Updated documentation.
35756
35757 2006-01-07  Chris Burdess  <dog@gnu.org>
35758
35759         * AUTHORS: add self.
35760
35761 2006-01-06  Casey Marshall  <csm@gnu.org>
35762
35763         * AUTHORS: add myself.
35764
35765 2006-01-06  Casey Marshall  <csm@gnu.org>
35766
35767         PR classpath/25699
35768         * javax/crypto/CipherInputStream.java (logger): new constant.
35769         (cipher): make final.
35770         (outLength, inBuffer, inLength): removed.
35771         (isStream): make final.
35772         (VIRGIN, LIVING, DYING, DEAD, state): removed.
35773         (eof): new field.
35774         (<init>): call `super,' not `this;' remove `inBuffer' and
35775         `outBuffer' initialization; init `eof;' add debug logging.
35776         (<init>): call `this' with a new null cipher.
35777         (available): fix javadoc to reflect the real semantics; if we
35778         don't have a buffer, call `nextBlock.'
35779         (close): synchronize.
35780         (read): synchronize; fix testing for buffered data.
35781         (read): synchronize; add `skip' semantics if first argument is
35782         `null;' decrypt stream cipher data only if there is any; fix tests
35783         for buffered data.
35784         (skip): stop using `available' to see how many data are buffered.
35785         (nextBlock): simplify to use cipher-allocated output buffers
35786         instead of internally allocated ones.
35787
35788 2006-01-06  Tom Tromey  <tromey@redhat.com>
35789
35790         * java/lang/String.java (codePointCount): Fixed javadoc.
35791
35792 2006-01-06  Tom Tromey  <tromey@redhat.com>
35793
35794         * java/lang/String.java (contains): Added @since.
35795
35796 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35797
35798         Fixes bug #25616
35799         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35800         * gnu/regexp/RETokenRepeated.java(match): Break the loop
35801         when an empty string matched an empty token.
35802
35803 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
35804
35805         PR classpath/24858
35806         * gnu/java/util/WeakIdentityHashMap.java: New file.
35807         * java/lang/InheritableThreadLocal.java
35808         (newChildThread): Modified to remove key indirection.
35809         * java/lang/Thread.java
35810         (locals): Changed type to WeakIdentityHashMap.
35811         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35812         WeakHashMap.
35813         * java/lang/ThreadLocal.java
35814         (key, Key): Removed.
35815         (get, set): Changed to use "this" instead of "key".
35816
35817 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
35818
35819         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35820
35821         * native/fdlibm/java-assert.h: Removed file.
35822
35823         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35824         Replaced use of JvAssert by assert.
35825
35826 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35827
35828         * javax/swing/text/DefaultCaret.java:
35829         (setDot): Fixed paramater to Math.max to be this.dot and not the 
35830         parameter dot.
35831
35832 2006-01-05  Roman Kennke  <kennke@aicas.com>
35833
35834         * javax/swing/plaf/basic/BasicListUI.java
35835         (getCellHeight): New helper method.
35836         (getCellBounds): Use new helper method for determining the cell
35837         height.
35838         (paint): Don't call list.indexToLocation() but instead call
35839         directly into the same UI method.
35840         (locationToIndex): Fixed calculation of # visible rows and handling
35841         of cell heights.
35842         (indexToLocation): Fixed calculation of # visible rows and handling
35843         of cell heights.
35844
35845 2006-01-05  Roman Kennke  <kennke@aicas.com>
35846
35847         * javax/swing/plaf/metal/MetalFileChooserUI.java
35848         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35849         in the file chooser.
35850
35851 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35852
35853         * javax/swing/JTextPane.java:
35854         (replaceSelection): If the document is an AbstractDocument, use replace
35855         rather than remove and insert.
35856         * javax/swing/event/EventListenerList.java:
35857         (getListeners): Reversed the order of the listeners to match the 
35858         reference implementation.
35859         * javax/swing/text/AbstractDocument.java:
35860         (insertString): Add the UndoableEdit from the content.insertString call
35861         to the DocumentEvent.
35862         (DefaultDocumentEvent.toString): Implemented.
35863         * javax/swing/text/DefaultCaret.java:
35864         (setDot): Make sure dot is > 0 and less than the length of the 
35865         document.
35866         * javax/swing/text/DefaultStyledDocument.java:
35867         (ElementBuffer.insertUpdate): Set the modified tag of the document 
35868         event when we get start and end tags.  This ensures that we create the
35869         proper BranchElements in endEdit().
35870         (ElementBuffer.insertUpdate): Added FIXME to handle 
35871         JoinFractureDirection case.
35872         (insertUpdate): Added code to check if we're inserting immediately 
35873         after a newline and to handle this case (create start and end tags). 
35874         Only change the direction of the first and last tags if they are of 
35875         type ContentType.
35876         (checkForInsertAfterNewline): New helper method.
35877         (handleInsertAfterNewline): Likewise.
35878         * javax/swing/text/View.java:
35879         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
35880         container.
35881
35882 2006-01-05  Mark Wielaard  <mark@klomp.org>
35883
35884         * newsitems.txt: Add fosdem meeting.
35885         * events/events.wml: Likewise.
35886         * events/fosdem06.wml: New file.
35887         
35888 2006-01-05  Lillian Angel  <langel@redhat.com>
35889         
35890         * javax/swing/text/GapContent.java
35891         (createPosition): No positions should be created inside the
35892         gap. Fixed check to ensure this does not happen.
35893
35894 2006-01-05  Roman Kennke  <kennke@aicas.com>
35895
35896         * javax/swing/RepaintManager.java
35897         (validateInvalidComponents): Search for the validate root
35898         and start validating there.
35899
35900 2006-01-05  Roman Kennke  <kennke@aicas.com>
35901
35902         * javax/swing/plaf/basic/BasicListUI.java
35903         (ComponentHandler): Removed unneeded class.
35904         (ListDataHandler.contentsChanged): Revalidate instead of calling
35905         damageLayout().
35906         (ListDataHandler.intervalAdded): Revalidate instead of calling
35907         damageLayout().
35908         (ListDataHandler.intervalRemoved): Revalidate instead of calling
35909         damageLayout().
35910         (PropertyChangeHandler.propertyChange): Or flags together instead
35911         of adding them. Don't call damageLayout().
35912         (componentListener): Removed unnecessary field.
35913         (damageLayout): Removed unnecessary method.
35914         (installListeners): Don't install unnecessary listeners.
35915         (uninstallListeners): Dito.
35916         (getPreferredSize): Don't ask for the real list height and
35917         calculate with the previously calculated list height.
35918         (locationToIndex): Renamed list parameter to l so that it doesn't
35919         shadow the field with the same name.
35920         (indexToLocation): Renamed list parameter to l so that it doesn't
35921         shadow the field with the same name.
35922
35923 2006-01-04  Tom Tromey  <tromey@redhat.com>
35924
35925         * include/.cvsignore: Ignore config-int.h.
35926
35927 2006-01-04  Roman Kennke  <kennke@aicas.com>
35928
35929         * javax/swing/plaf/basic/BasicListUI.java
35930         (getPreferredSize): Rewritten to match the specs.
35931
35932 2006-01-04  Roman Kennke  <kennke@aicas.com>
35933
35934         * javax/swing/JFileChooser.java
35935         (showOpenDialog): Set fixed width on the dialog.
35936         (showSaveDialog): Set fixed width on the dialog.
35937         (showDialog): Set fixed width on the dialog.
35938
35939 2006-01-04  Roman Kennke  <kennke@aicas.com>
35940
35941         * javax/swing/plaf/basic/BasicListUI.java
35942         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35943         Adjusted iteration to not use visibleRowCount and instead iterate
35944         over the real number of elements in cellHeights.
35945         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35946         Adjusted iteration to not use visibleRowCount and instead iterate
35947         over the real number of elements in cellHeights.
35948
35949 2006-01-04  Roman Kennke  <kennke@aicas.com>
35950
35951         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35952         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35953         Added __attribute__((__unused__)) macros to avoid gcc warnings.
35954
35955 2006-01-04  Roman Kennke  <kennke@aicas.com>
35956
35957         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35958         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35959         New VM class.
35960         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35961         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35962         New file.
35963         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35964         Removed.
35965         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35966         * native/jni/java-net/Makefile.am: Adjusted for new source files.
35967         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35968         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35969         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35970         * include/gnu_java_net_PlainSocketImpl.h: Removed.
35971         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35972         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35973
35974 2006-01-04  Lillian Angel  <langel@redhat.com>
35975
35976         * javax/swing/plaf/metal/MetalFileChooserUI.java
35977         (propertyChange): Fixed to change the combo box label
35978         appropriately. Also, fixed to set the textfield's text
35979         correctly.
35980         (editFile): Fixed size of editing field.
35981         (installComponents): Correctly aligned all panels.
35982         (installStrings): Fixed to set the label's text
35983         appropriately depending on the dialog type.
35984
35985 2006-01-04  Lillian Angel  <langel@redhat.com>
35986
35987         PR classpath/25473 
35988         PR classpath/25479
35989         * javax/swing/JTree.java
35990         (JTree): Because some L&F defaults have been updated,
35991         the selectionMode for the tree needed to be set to SINGLE.
35992         * javax/swing/plaf/basic/BasicFileChooserUI.java:
35993         Initialized accessoryPanel.
35994         * javax/swing/plaf/metal/MetalFileChooserUI.java
35995         (installComponents): Added accessoryPanel to the filechooser.
35996
35997 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
35998
35999         * configure.ac: Added AX_CREATE_STDINT_H
36000
36001         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36002
36003         * m4/ax_create_stdint_h.m4: New file.
36004
36005         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36006         typedefs. Removed stdint.h and inttypes.h includes.
36007  
36008 2006-01-03  Mark Wielaard  <mark@klomp.org>
36009
36010         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36011         register keyboard action when accelerator is not null.
36012         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36013         re-register accelerator if not null.
36014         (installKeyboardActions): Only put accelerator in map when not null.
36015
36016 2006-01-04  Lillian Angel  <langel@redhat.com>
36017
36018         * javax/swing/plaf/basic/BasicLookAndFeel.java
36019         (initComponentDefaults): Removed unneeded default.
36020         * javax/swing/plaf/metal/MetalLookAndFeel.java
36021         (initComponentDefaults): Added and fixed several defaults.
36022
36023 2006-01-04  Roman Kennke  <kennke@aicas.com>
36024
36025         * javax/swing/plaf/basic/BasicHTML.java: New class.
36026
36027 2006-01-03  Tom Tromey  <tromey@redhat.com>
36028
36029         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36030         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36031
36032 2006-01-03  Mark Wielaard  <mark@klomp.org>
36033
36034         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36035
36036 2006-01-03  Mark Wielaard  <mark@klomp.org>
36037
36038         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36039         Always call createDefaultTheme().
36040         (createDefaultTheme): Check whether theme is still null.
36041
36042 2006-01-03  Mark Wielaard  <mark@klomp.org>
36043
36044         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36045         Color.WHITE if null.
36046
36047 2006-01-03  Lillian Angel  <langel@redhat.com>
36048
36049         * javax/swing/plaf/metal/MetalLookAndFeel.java
36050         (getDescription): Fixed to return the correct string.
36051         (getID): Likewise.
36052         (getName): Likewise.
36053         (getDefaults): Added check to avoid NPE.
36054         (getAcceleratorForeground): Likewise.
36055         (getAcceleratorSelectedForeground): Likewise.
36056         (getBlack): Likewise.
36057         (getControl): Likewise.
36058         (getControlDarkShadow): Likewise.
36059         (getControlDisabled): Likewise.
36060         (getControlHighlight): Likewise.
36061         (getControlInfo): Likewise.
36062         (getControlShadow): Likewise.
36063         (getControlTextColor): Likewise.
36064         (getControlTextFont): Likewise.
36065         (getDesktopColor): Likewise.
36066         (getFocusColor): Likewise.
36067         (getHighlightedTextColor): Likewise.
36068         (getInactiveControlTextColor): Likewise.
36069         (getInactiveSystemTextColor): Likewise.
36070         (getMenuBackground): Likewise.
36071         (getMenuDisabledForeground): Likewise.
36072         (getMenuForeground): Likewise.
36073         (getMenuSelectedBackground): Likewise.
36074         (getMenuSelectedForeground): Likewise.
36075         (getMenuTextFont): Likewise.
36076         (getPrimaryControl): Likewise.
36077         (getPrimaryControlDarkShadow): Likewise.
36078         (getPrimaryControlHighlight): Likewise.
36079         (getPrimaryControlInfo): Likewise.
36080         (getPrimaryControlShadow): Likewise.
36081         (getSeparatorBackground): Likewise.
36082         (getSeparatorForeground): Likewise.
36083         (getSubTextFont): Likewise.
36084         (getSystemTextColor): Likewise.
36085         (getSystemTextFont): Likewise.
36086         (getTextHighlightColor): Likewise.
36087         (getUserTextColor): Likewise.
36088         (getUserTextFont): Likewise.
36089         (getWhite): Likewise.
36090         (getWindowBackground): Likewise.
36091         (getWindowTitleBackground): Likewise.
36092         (getWindowTitleFont): Likewise.
36093         (getWindowTitleForeground): Likewise.
36094         (getWindowTitleInactiveBackground): Likewise.
36095         (getWindowTitleInactiveForeground): Likewise.
36096
36097 2006-01-03  Mark Wielaard  <mark@klomp.org>
36098
36099         * javax/swing/JTextArea.java
36100         (JTextArea(Document,text,int,int)): Only call setText() when text is
36101         not null.
36102
36103 2006-01-03  Lillian Angel  <langel@redhat.com>
36104
36105         * javax/swing/plaf/basic/BasicFileChooserUI.java
36106         (installStrings): Fixed installation of defaults that
36107         were changed in BasicLookAndFeel.
36108         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36109         (installDefaults): Fixed installation of defaults that
36110         were changed in BasicLookAndFeel.
36111
36112 2006-01-03  Lillian Angel  <langel@redhat.com>
36113
36114         * javax/swing/plaf/basic/BasicLookAndFeel.java
36115         (initComponentDefaults): Fixed several defaults that differed
36116         from the JDK.
36117
36118 2006-01-03  Lillian Angel  <langel@redhat.com>
36119
36120         * javax/swing/tree/DefaultTreeSelectionModel.java
36121         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36122
36123 2006-01-03  Lillian Angel  <langel@redhat.com>
36124
36125         * javax/swing/AbstractAction.java
36126         (AbstractAction): Fixed to pass in null. Should not be 
36127         an empty string. Removed TODO comment.
36128         (AbstractAction): Removed TODO comment.
36129         * javax/swing/JList.java
36130         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36131         * javax/swing/JMenuItem.java
36132         (JMenuItem): Set all defaults if the action passed in is not null.
36133         * javax/swing/JProgressBar.java
36134         (JProgressBar): Added check to prevent NPE.
36135
36136 2006-01-03  Lillian Angel  <langel@redhat.com>
36137
36138         * javax/swing/plaf/basic/BasicListUI.java
36139         (getPreferredSize): The JDK adds some extra space to 
36140         the list, so we should as well.
36141         * javax/swing/plaf/metal/MetalFileChooserUI.java
36142         (getPreferredSize): Should only take the fileListPanel's
36143         width into account when getting the size. Also, the buttonPanel's
36144         size should not be checked, since it is in the bottomPanel already.
36145         (getMinimumSize): Likewise.
36146
36147 2006-01-03  Lillian Angel  <langel@redhat.com>
36148
36149         * javax/swing/JList.java
36150         (init): visibleRowCount should be 7, like the JDK.
36151         * javax/swing/plaf/metal/MetalFileChooserUI.java
36152         (installComponents): No need to add the fileFilterCombo
36153         to a panel. It can be added to the row directly.
36154
36155 2006-01-03  Lillian Angel  <langel@redhat.com>
36156         
36157         PR classpath/25480 PR classpath/25478
36158         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36159         (updateViewport): Made changes suggested by
36160         Chris Lansdown.
36161         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36162         Removed unneeded import.
36163         (createList): Removed comment, JList wrapping 
36164         now works.
36165         (getPreferredSize): Made changes suggested by
36166         Chris Lansdown. Uses fileListPanel, instead
36167         of fileList.
36168         (getMinimumSize): Uses fileListPanel, instead
36169         of fileList.
36170         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36171         (paintFocus): Fixed height.
36172
36173 2006-01-03  Roman Kennke  <kennke@aicas.com>
36174
36175         * javax/swing/plaf/basic/BasicListUI.java
36176         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36177
36178 2006-01-03  Roman Kennke  <kennke@aicas.com>
36179
36180         * javax/swing/plaf/basic/BasicListUI.java
36181         (locationToIndex): Special case for when variable cell heights
36182         are possible. (cellHeights is used instead of cellHeight).
36183         (indexToLocation): Special case for when variable cell heights
36184         are possible. (cellHeights is used instead of cellHeight).
36185
36186 2006-01-03  Roman Kennke  <kennke@aicas.com>
36187
36188         * javax/swing/text/DefaultStyledDocument.java
36189         (ElementBuffer.remove): New method.
36190         (ElementBuffer.removeUpdate): New method.
36191         (removeUpdate): New method.
36192
36193 2006-01-03  Roman Kennke  <kennke@aicas.com>
36194
36195         * lib/Makefile.am:
36196         (dist-hook): Preserve attributes of Java sources when copying to
36197         dist dir.
36198
36199 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36200
36201         * AUTHORS: Added self.
36202         * java/security/Security.java (getProvider): Ensures provider's name is
36203           not null, not an empty string, and is trimmed before usage.
36204
36205 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36206
36207         * gnu/CORBA/Poa/AOM.java (add):
36208         Changed parameter Object into gnuServantObject.
36209         (Obj.object): Changed type to gnuServantObject.
36210         (findObject): Rewritten.
36211
36212 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36213
36214         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36215         buffering. Ability has gone in Qt-4.1.x.
36216
36217         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36218         to have the right include flags.
36219
36220 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36221
36222         * java/security/MessageDigest.java (getInstance(String,String)):
36223         Use trimmed copy of provider name.
36224         * gnu/java/security/Engine.java
36225         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36226         service and algorithm names.
36227
36228 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36229
36230         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36231         localhost is null or is an empty string. Trim hostname before
36232         lookup.
36233