OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2006-12-14  Andrew Haley  <aph@redhat.com>
2
3         * tools/gnu/classpath/tools/jar/Creator.java: Close the
4         inputStream.
5
6 2006-10-12  Andrew Haley  <aph@redhat.com>
7
8         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
9         * java/lang/ThreadLocal.java: Likewise.
10
11 2006-09-13  Andrew Haley  <aph@redhat.com>
12
13         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
14         Revert previous gcj-specific disabling of checks.
15         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
16         Likewise.
17         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
18         Likewise.
19
20 2006-09-13  Andrew Haley  <aph@redhat.com>
21
22         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
23         capacity < 1.
24         (Iterator.remove()): Decrement index after removing element.
25
26 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
27
28         * javax/net/ssl/SSLSocketFactory.java (getDefault):
29         Chain exception cause.
30
31 2006-12-11  Roman Kennke  <kennke@aicas.com>
32
33         * .classpath: Include ASM in Eclipse classpath.
34
35 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
36
37         * gnu/java/lang/management/BeanImpl.java:
38         (translate(String)): Trim strings of whitespace.
39         * javax/management/MBeanAttributeInfo.java:
40         (MBeanAttributeInfo(String,String,Method,Method)):
41         Use Class.getName() for normal (non-parameterized) cases.
42         * javax/management/MBeanConstructorInfo.java:
43         (MBeanConstructorInfo(String, Constructor)):
44         Likewise.
45         * javax/management/MBeanOperationInfo.java:
46         (MBeanOperationInfo(String, Method)):
47         Likewise.
48
49 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
50
51         * java/lang/Class.java:
52         (getClasses()): Return Class<?>[].
53         (internalGetClasses()): Likewise.
54         (getConstructor(Class<?>...)): Add type parameter
55         to parameters.
56         (getDeclaredConstructor(Class<?>...)): Likewise.
57         (getDeclaredClasses()): Return Class<?>[].
58         (getDeclaredClasses(boolean)): Likewise.
59         (getDeclaredConstructors()): Return Constructor<?>[].
60         (getDeclaredConstructors(boolean)): Likewise.
61         (getDeclaredMethod(String,Class<?>...)): Add type
62         parameter to parameters.
63         (getInterfaces()): Return Class<?>[].
64         (getMethods(String,Class<?>...)): Add type
65         parameter to parameters.
66         * java/text/CollationKey.java:
67         Make non-final.
68         * java/text/DecimalFormatSymbols.java:
69         Likewise.
70         
71 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
72
73         * gnu/java/lang/management/BeanImpl.java:
74         (translate(String)): Handle Map and List as
75         Strings of the form "java.util.Map<K,V>" and
76         "java.util.List<E>"
77         * javax/management/MBeanAttributeInfo.java:
78         (MBeanAttributeInfo(String,String,Method,Method)):
79         Use generic parameter and return types.
80         * javax/management/MBeanConstructorInfo.java:
81         (MBeanConstructorInfo(String, Constructor)):
82         Use generic parameter types.
83         * javax/management/MBeanOperationInfo.java:
84         (MBeanOperationInfo(String, Method)):
85         Use generic parameter and return types.
86         
87 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
88
89         * gnu/java/lang/management/BeanImpl.java:
90         (translate(String)): Comment out code for using type
91         variables for Map and List.
92         * java/lang/Thread.java:
93         (Thread(ThreadGroup,Runnable,String,long)): Fix
94         incrementation of totalThreadsCreated to be prior to use.
95         
96 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
97
98         * javax/management/MBeanServerFactory.java:
99         (createMBeanServer(String)): Added security check.
100         (findMBeanServer(String)): Likewise.
101         (newMBeanServer(String)): Likewise.
102         (releaseMBeanServer(String)): Likewise.
103         * javax/management/MBeanServerPermission.java:
104         New file.
105         
106 2006-12-08  David Daney  <ddaney@avtrex.com>
107
108         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
109         Fix comment.
110
111 2006-12-08  David Daney  <ddaney@avtrex.com>
112
113         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
114
115 2006-12-08  David Daney  <ddaney@avtrex.com>
116
117         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
118         SocketException.
119         (HTTPConnection): Handle NumberFormatException in properties parsing.
120         (Pool.get): Set timeout on reused sockets.
121         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
122         Initialize.
123         (HTTPURLConnection): Cleanup properties handling.
124         (getConnection): Use both connection and read timeouts.
125         (setConnectTimeout): Removed.
126         (setReadTimeout): New method.
127         * java/net/URLConnection.java (timeout): Renamed to...
128         (connectTimeout): ... connectTimeout throughout.
129         (readTimeout): New field.
130         (getReadTimeout): New method.
131         (setReadTimeout): New method.
132
133 2006-12-08  Tania Bento  <tbento@redhat.com>
134
135         * java/awt/ScrollPane.java
136         (doLayout): Change the location of the scrollpane's child
137         to (0, 0).
138
139 2006-12-08  David Daney  <ddaney@avtrex.com>
140
141         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
142         New method.
143         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
144         SocketTimeoutException if a blocking socket timesout.
145         (Java_gnu_java_nio_VMChannel_readScattering): Same.
146         (Java_gnu_java_nio_VMChannel_read__I): Same.
147         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
148         (Java_gnu_java_nio_VMChannel_connect6): Same.
149
150 2006-12-08  Mark Wielaard  <mark@klomp.org>
151
152         * configure.ac (VERSION): Set to 0.93-generics.
153         * NEWS: Add release date.
154
155 2006-12-08  Tania Bento  <tbento@redhat.com>
156
157         * java/awt/ScrollPane.java
158         (getScrollPosition): Throw NullPointerException if scrollpane
159         does have a child.
160         (setScrollPosition(int, int)): Throw NullPointerException if
161         scrollpane does have a child.  Check that both ints are within
162         the allowed bounds; If they are not, scroll to the closest allowed
163         bound.
164
165 2006-12-07  Roman Kennke  <kennke@aicas.com>
166
167         * javax/swing/JEditorPane.java
168         (EditorKitMapping): New inner helper class.
169         (editorKits): New static field for caching editor kit instances.
170         (static_initiazer): Initialize static mappings here.
171         (createEditorKitForContentType): Try to use cached instance.
172         Use correct classloader for loading.
173         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
174         class.
175         (getEditorKitForContentType): Store the fetched editor kit.
176         Fallback to createDefaultEditorKit().
177         (init): Don't clean the static registry here.
178         (registerEditorKitForContentType(String,String,ClassLoader)):
179         Implemented.
180         (registerEditorKitForContentType(String,String)): Delegate to
181         the other version of this method with the thread's context
182         classloader.
183
184 2006-12-07  Mark Wielaard  <mark@klomp.org>
185
186         * examples/gnu/classpath/examples/swing/HtmlDemo.java
187         (setPage): Don't convert URL to String for setPage().
188
189 2006-12-07  Mark Wielaard  <mark@klomp.org>
190
191         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
192
193 2006-12-07  Mark Wielaard  <mark@klomp.org>
194
195         * tools/Makefile.am: Explicitly define  and use bootclasspath as
196         GLIBJ_BOOTCLASSPATH
197
198 2006-12-07  Mark Wielaard  <mark@klomp.org>
199
200         * javax/swing/JEditorPane.java (createEditorKitForContentType):
201         Always load from system class loader.
202
203 2006-12-07  Mark Wielaard  <mark@klomp.org>
204
205         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
206         private constructor.
207         (URL(URL,String,URLStreamHandler)): Call new constructor.
208         (URL(URL,String)): Likewise.
209         (URL(String)): Likewise.
210
211 2006-12-07  Tom Tromey  <tromey@redhat.com>
212
213         * NEWS: Mention ASM.
214         * INSTALL: Don't mention --with-asm.
215         * tools/external/README: New file.
216         * tools/toolwrapper.c (main): Don't use ASM_JAR.
217         * tools/gjavah.in: Don't use PATH_TO_ASM.
218         * tools/grmic.in: Likewise.
219         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
220         'asm'.
221         (javah, rmic): Removed variables.
222         (bin_PROGRAMS): Updated.
223         (gappletviewer_CFLAGS): Don't define ASM_JAR.
224         (gjarsigner_CFLAGS): Likewise.
225         (gkeytool_CFLAGS): Likewise.
226         (gjar_CFLAGS): Likewise.
227         (gnative2ascii_CFLAGS): Likewise.
228         (gserialver_CFLAGS): Likewise.
229         (grmiregistry_CFLAGS): Likewise.
230         (gtnameserv_CFLAGS): Likewise.
231         (gorbd_CFLAGS): Likewise.
232         (grmid_CFLAGS): Likewise.
233         (gjavah_CFLAGS): Likewise.
234         (grmic_CFLAGS): Likewise.
235         (bin_SCRIPTS): Updated.
236         (TOOLS_JAVA_FILES): Updated.
237         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
238         * configure.ac: Removed --with-asm.  Always build gjavah.
239
240 2006-12-06  Roman Kennke  <kennke@aicas.com>
241
242         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
243         New class.
244         * examples/gnu/classpath/examples/swing/HtmlDemo.java
245         (LoadActionListener): Call setPage() helper method.
246         (createContent): Register tweaked editor kit. For FormSubmitEvents
247         call submitForm(), otherwise setPage().
248         (postData): Helper method for posting form data.
249         (setPage): Helper method for navigating to a new URL.
250         (submitForm): Helper method for submitting a form.
251         * examples/gnu/classpath/examples/swing/forms.html:
252         Added text/password fields and select boxes.
253         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
254
255 2006-12-06  Roman Kennke  <kennke@aicas.com>
256
257         * javax/swing/text/html/FormView.java
258         (SubmitThread.postData): Implemented.
259         (SubmitThread.run): Pass data to postData().
260         (actionPerformed): Reset form when reset button is activated.
261         (createComponent): Add support for select lists and comboboxes.
262         Don't set value of text and password fields here, this is done
263         now in HTMLDocument for consistency.
264         (getElementFormData): Add support for fetching form data from
265         select lists and comboboxes as well as textareas.
266         (getSelectData): New helper method. Fetches form data from
267         select boxes.
268         (getTextAreaData): New helper method. Fetches form data from
269         textareas.
270         (resetForm): New helper method. Resets the entire form.
271         * javax/swing/text/html/HTMLDocument.java
272         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
273         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
274         (HTMLReader.FormAction.setModel): Initialize text and password
275         values here. Also, use the resetable special models.
276         Group radio buttons into ButtonGroup for exclusive selection.
277         (HTMLReader.FormTagAction): New class. Handles FORM tags.
278         (HTMLReader.buttonGroups): New field.
279         (HTMLReader.numOptions): New field.
280         (HTMLReader.option): New field.
281         (HTMLReader.selectModel): New field.
282         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
283         (HTMLReader.handleText): Handle OPTION text.
284         (HTMLReader.initTags): Map FORM tags to FormTagAction.
285         (HTMLReader.textAreaContent): Set initial content.
286         * javax/swing/text/html/Option.java
287         (Option): Make copy of attribute set. Initialize selected state.
288         (getValue): Fetch value from attribute set.
289         * javax/swing/text/html/ResetableModel.java: New interface.
290         * javax/swing/text/html/ResetablePlainDocument.java: New class.
291         Supports resetting the state.
292         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
293         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
294         * javax/swing/text/html/SelectListModel.java: Likewise.
295
296 2006-12-06  Roman Kennke  <kennke@aicas.com>
297
298         * javax/swing/text/DefaultCaret.java
299         (appear): Adjust visibility here.
300         (setDotImpl): Don't adjust visibility here.
301         (moveDotImpl): Don't adjust visibility here.
302
303 2006-12-06  Roman Kennke  <kennke@aicas.com>
304
305         * gnu/java/awt/peer/gtk/AsyncImage.java
306         (Loader.run): Synchronize on the AsyncImage to avoid threading
307         issues.
308         (addObservers): Check for obs==null outside and synchronize on
309         this inside to avoid locking issues.
310         (checkImage): New helper method.
311         (notifyObservers): Check that the correct lock is held and
312         remove actual locking.
313         * gnu/java/awt/peer/gtk/GtkToolkit.java
314         (checkImage): Added special handling for AsyncImages.
315         
316 2006-12-06  Roman Kennke  <kennke@aicas.com>
317
318         * examples/gnu/classpath/examples/swing/Demo.java
319         (getIcon): Made package private.
320         * examples/gnu/classpath/examples/swing/HtmlDemo.java
321         (hyperlinkUpdate): Convert URL to string.
322
323 2006-12-06  Mark Wielaard  <mark@klomp.org>
324
325         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
326         null Observer.
327
328 2006-12-06  Roman Kennke  <kennke@aicas.com>
329
330         * examples/gnu/classpath/examples/icons/back.png,
331         * examples/gnu/classpath/examples/icons/reload.png:
332         New icons for the HTML browser.
333         * examples/gnu/classpath/examples/swing/HtmlDemo.java
334         (history): New field. Manages the browsing history.
335         (HtmlDemo): Initialize history.
336         (createContent): Set location and add history. Add toolbar.
337         (createToolBar): New helper method.
338         (main): Make default size bigger.
339         * examples/gnu/classpath/examples/swing/frame1.html,
340         * examples/gnu/classpath/examples/swing/frame2.html,
341         * examples/gnu/classpath/examples/swing/frame3.html,
342         * examples/gnu/classpath/examples/swing/frame4.html,
343         * examples/gnu/classpath/examples/swing/frames.html,
344         * examples/gnu/classpath/examples/swing/tables.html:
345         New example pages.
346         * examples/gnu/classpath/examples/swing/welcome.html
347         Add a couple of links and new test pages.
348
349 2006-12-06  Roman Kennke  <kennke@aicas.com>
350
351         * javax/swing/JEditorPane.java
352         (getStream): Buffer the stream for efficiency.
353         (setPage): Don't scroll the view at this point.
354         * javax/swing/plaf/basic/BasicTextUI.java
355         (RootView.paint): Call RootView's setSize to get synchronization.
356         (RootView.setSize): Synchronize to prevent race in layout code.
357         * javax/swing/text/AbstractDocument.java
358         (notifyListeners): New field.
359         (fireChangedUpdate): Track notifyListener field.
360         (fireRemoveUpdate): Track notifyListener field.
361         (fireIndertUpdate): Track notifyListener field.
362         (writeLock): Check notifyListener and throw IllegalStateException.
363         * javax/swing/text/View.java
364         (preferenceChanged): Create local var for better thread safety and
365         more efficiency.
366
367 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
368
369         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
370         lightweight component, not just for non-Panel components.
371         (addImpl): Do not call doLayout.
372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
373         (setNativeBounds): Ensure widget parent is a GtkFixed before
374         calling gtk_fixed_move.
375         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
376         (setNativeBounds): Likewise.
377         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
378         (setNativeBounds): Likewise.
379
380 2006-12-06  Roman Kennke  <kennke@aicas.com>
381
382         * javax/swing/text/html/TableView.java
383         (RowView.layoutMajorAxis): Check column index for invalid value.
384         (updateGrid): Check column index for invalid value.
385
386 2006-12-06  Roman Kennke  <kennke@aicas.com>
387
388         * javax/swing/text/html/BlockView.java
389         (getAlignment): Align blocks horizontally by the superclass.
390         * javax/swing/text/html/HTMLEditorKit.java
391         (HTMLFactory.create): Replace equals comparison by == for efficiency.
392         Add mapping for misplaced tr, td and th tags. Include object mapping.
393         * javax/swing/text/html/TableView.java
394         (RowView.replace): Invalidate grid early.
395         (gridValid): Initialize with false.
396         (create): Only create RowView and CellView for correctly placed
397         tags. Avoid unnecessary casts.
398         (getAlignment): Removed.
399         (replace): Invalidate grid early.
400
401 2006-12-06  Francis Kung  <fkung@redhat.com>
402
403         * java/awt/geom/RectangularShape.java
404         (getBounds): Remove empty rectangle check.
405
406 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
407
408         Fixes PR 29853.
409         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
410         newValue are the same.
411         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
412
413 2006-12-06  Tania Bento  <tbento@redhat.com>
414
415         * javax/swing/border/CompoundBorder.java:
416         (isBorderOpaque): If inside border is null, return true if outside
417         border is opaque, false otherwise; if outside border is null, return
418         true if inside border is opaque, false otherwise; if inside or
419         outside border are both not null, then return true only if both the
420         inside and outside border are opaque, false otherwise.
421
422 2006-12-06  Tania Bento  <tbento@redhat.com>
423
424         * javax/swing/border/CompoundBorder.java:
425         (isBorderOpaque): If inside and outside border both have a null
426         value, return true.
427
428 2006-12-06  Chris Burdess  <dog@gnu.org>
429
430         Fixes PR 29272.
431         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
432         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
433
434 2006-12-06  Chris Burdess  <dog@gnu.org>
435
436         Fixes PR 29264.
437         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
438           writeDTD method.
439
440 2006-12-06  Chris Burdess  <dog@gnu.org>
441
442         Fixes PR 28816.
443         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
444           discover schema factory implementation class.
445
446 2006-12-05  Francis Kung  <fkung@redhat.com>
447
448         * java/awt/BasicStroke.java
449         (capEnd): Prevent division by zero.
450         * java/awt/geom/Arc2D.java
451         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
452         (ArcIterator.currentSegment): Handle a negative extent.
453
454 2006-12-05  Francis Kung  <fkung@redhat.com>
455
456         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
457         (constructor): Handle translated subimages properly, ie, if the image's
458         0,0 position is not the data buffer's first element.
459
460 2006-12-05  Roman Kennke  <kennke@aicas.com>
461
462         * gnu/java/awt/peer/gtk/AsyncImage.java
463         (Loader.run): Nullify observers after loading.
464         (observers): Made package private.
465         (addObserver): Check for null observers field. Create local
466         variable for thread safety.
467         (getHeight): Use addObserver() for checking state of field
468         and notifying observer when necessary.
469         (getWidth): Use addObserver() for checking state of field
470         and notifying observer when necessary.
471         (getProperty): Use addObserver() for checking state of field
472         and notifying observer when necessary.
473         (notifyObservers): Check for null observers field. Create local
474         variable for thread safety.
475
476 2006-12-05  Roman Kennke  <kennke@aicas.com>
477
478         * javax/swing/text/html/HTMLEditorKit.java
479         (HTMLFactory.create): Removed debug output.
480         * javax/swing/text/html/InlineView.java
481         (getBreakWeight): Likewise.
482         * javax/swing/text/html/StyleSheet.java
483         (addRule): Likewise.
484         (ListPainter.paint): Removed debug output.
485
486 2006-12-05  Roman Kennke  <kennke@aicas.com>
487
488         * javax/swing/text/html/BlockView.java
489         (painter): Made package visible.
490         * javax/swing/text/html/StyleSheet.java
491         (translateBorder): New helper method.
492         (translateHTMLToCSS): Add mappings for border attributes.
493         * javax/swing/text/html/TableView.java
494         Made class subclass of BlockView to get CSS goodness.
495         (CellView.rowSpan): New field.
496         (CellView.setPropertiesFromAttributes): Fetch rowspan.
497         (RowView.overlap): New field.
498         (RowView.rowIndex): New field.
499         (RowView.layoutMajorAxis): Skip overlapping cells.
500         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
501         (numColumns): New field.
502         (tmpRect): New field.
503         (TableView): Initialize tmpRect.
504         (calculateColumnRequirements): Adjusted and fixed for multirows.
505         (getAlignment): Overridden to center tables.
506         (paint): Overridden to fix clipping.
507         (getStyleSheet): Made protected.
508         (layoutMajorAxis): Invalidate rows.
509         (setPropertiesFromAttributes): Made protected and call super.
510         (updateGrid): Update the overlapping information for multirows.
511
512 2006-12-05  Roman Kennke  <kennke@aicas.com>
513
514         * gnu/java/awt/peer/gtk/AsyncImage.java
515         (addObserver): Check for null and ignore null observers.
516         (getWidth): Check for null and ignore null observers.
517         (getHeight): Check for null and ignore null observers.
518         (getProperty): Check for null and ignore null observers.
519
520 2006-12-05  Francis Kung  <fkung@redhat.com>
521
522         * java/awt/BasicStroke.java
523         (capEnd): Prevent division by zero.
524         * java/awt/geom/Arc2D.java
525         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
526         (ArcIterator.currentSegment): Handle a negative extent.
527
528 2006-12-05  Francis Kung  <fkung@redhat.com>
529
530         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
531         (constructor): Handle translated subimages properly, ie, if the image's
532         0,0 position is not the data buffer's first element.
533
534 2006-12-05  Roman Kennke  <kennke@aicas.com>
535
536         * javax/swing/text/html/ImageView.java
537         (imageUpdate): Use spans field to determine if the CSS width/height
538         are set. Call safePreferenceChanged to protect view structure
539         from threading issues.
540         (spans): Made package private.
541         (ImageView): Initialize loadOnDemand with false.
542         (loadImage): Call Toolkit.prepareImage() to make sure we have
543         our Observer registered.
544         (safePreferenceChanged): New helper method. Calls preferenceChanged
545         in a thread safe environment.
546
547 2006-12-05  Roman Kennke  <kennke@aicas.com>
548
549         * NEWS: Add entry about improved HTML support.
550
551 2006-12-05  Roman Kennke  <kennke@aicas.com>
552
553         * javax/swing/text/html/ImageView.java
554         (ImageView): Initialize spans array here.
555         (setPropertiesFromAttributes): Moved init of spans array to
556         constructor.
557
558 2006-12-05  Roman Kennke  <kennke@aicas.com>
559
560         * javax/swing/text/html/BlockView.java
561         (painter): Made package visible.
562         * javax/swing/text/html/StyleSheet.java
563         (translateBorder): New helper method.
564         (translateHTMLToCSS): Add mappings for border attributes.
565         * javax/swing/text/html/TableView.java
566         Made class subclass of BlockView to get CSS goodness.
567         (CellView.rowSpan): New field.
568         (CellView.setPropertiesFromAttributes): Fetch rowspan.
569         (RowView.overlap): New field.
570         (RowView.rowIndex): New field.
571         (RowView.layoutMajorAxis): Skip overlapping cells.
572         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
573         (numColumns): New field.
574         (tmpRect): New field.
575         (TableView): Initialize tmpRect.
576         (calculateColumnRequirements): Adjusted and fixed for multirows.
577         (getAlignment): Overridden to center tables.
578         (paint): Overridden to fix clipping.
579         (getStyleSheet): Made protected.
580         (layoutMajorAxis): Invalidate rows.
581         (setPropertiesFromAttributes): Made protected and call super.
582         (updateGrid): Update the overlapping information for multirows.
583
584 2006-12-05  Roman Kennke  <kennke@aicas.com>
585
586         * javax/swing/text/html/HTMLEditorKit.java
587         (HTMLFactory.create): Removed debug output.
588         * javax/swing/text/html/InlineView.java
589         (getBreakWeight): Likewise.
590         * javax/swing/text/html/StyleSheet.java
591         (addRule): Likewise.
592         (ListPainter.paint): Removed debug output.
593
594 2006-12-06  Roman Kennke  <kennke@aicas.com>
595
596         * javax/swing/text/html/BlockView.java
597         (getAlignment): Align blocks horizontally by the superclass.
598         * javax/swing/text/html/HTMLEditorKit.java
599         (HTMLFactory.create): Replace equals comparison by == for efficiency.
600         Add mapping for misplaced tr, td and th tags. Include object mapping.
601         * javax/swing/text/html/TableView.java
602         (RowView.replace): Invalidate grid early.
603         (gridValid): Initialize with false.
604         (create): Only create RowView and CellView for correctly placed
605         tags. Avoid unnecessary casts.
606         (getAlignment): Removed.
607         (replace): Invalidate grid early.
608
609
610 2006-12-06  Roman Kennke  <kennke@aicas.com>
611
612         * javax/swing/text/html/TableView.java
613         (RowView.layoutMajorAxis): Check column index for invalid value.
614         (updateGrid): Check column index for invalid value.
615
616 2006-12-06  Roman Kennke  <kennke@aicas.com>
617
618         * javax/swing/JEditorPane.java
619         (getStream): Buffer the stream for efficiency.
620         (setPage): Don't scroll the view at this point.
621         * javax/swing/plaf/basic/BasicTextUI.java
622         (RootView.paint): Call RootView's setSize to get synchronization.
623         (RootView.setSize): Synchronize to prevent race in layout code.
624         * javax/swing/text/AbstractDocument.java
625         (notifyListeners): New field.
626         (fireChangedUpdate): Track notifyListener field.
627         (fireRemoveUpdate): Track notifyListener field.
628         (fireIndertUpdate): Track notifyListener field.
629         (writeLock): Check notifyListener and throw IllegalStateException.
630         * javax/swing/text/View.java
631         (preferenceChanged): Create local var for better thread safety and
632         more efficiency.
633
634 2006-12-06  Roman Kennke  <kennke@aicas.com>
635
636         * examples/gnu/classpath/examples/icons/back.png,
637         * examples/gnu/classpath/examples/icons/reload.png:
638         New icons for the HTML browser.
639         * examples/gnu/classpath/examples/swing/HtmlDemo.java
640         (history): New field. Manages the browsing history.
641         (HtmlDemo): Initialize history.
642         (createContent): Set location and add history. Add toolbar.
643         (createToolBar): New helper method.
644         (main): Make default size bigger.
645         * examples/gnu/classpath/examples/swing/frame1.html,
646         * examples/gnu/classpath/examples/swing/frame2.html,
647         * examples/gnu/classpath/examples/swing/frame3.html,
648         * examples/gnu/classpath/examples/swing/frame4.html,
649         * examples/gnu/classpath/examples/swing/frames.html,
650         * examples/gnu/classpath/examples/swing/tables.html:
651         New example pages.
652         * examples/gnu/classpath/examples/swing/welcome.html
653         Add a couple of links and new test pages.
654
655 2006-12-06  Roman Kennke  <kennke@aicas.com>
656
657         * examples/gnu/classpath/examples/swing/Demo.java
658         (getIcon): Made package private.
659         * examples/gnu/classpath/examples/swing/HtmlDemo.java
660         (hyperlinkUpdate): Convert URL to string.
661
662 2006-12-06  Roman Kennke  <kennke@aicas.com>
663
664         * javax/swing/text/DefaultCaret.java
665         (appear): Adjust visibility here.
666         (setDotImpl): Don't adjust visibility here.
667         (moveDotImpl): Don't adjust visibility here.
668
669 2006-12-06  Roman Kennke  <kennke@aicas.com>
670
671         * javax/swing/text/html/FormView.java
672         (SubmitThread.postData): Implemented.
673         (SubmitThread.run): Pass data to postData().
674         (actionPerformed): Reset form when reset button is activated.
675         (createComponent): Add support for select lists and comboboxes.
676         Don't set value of text and password fields here, this is done
677         now in HTMLDocument for consistency.
678         (getElementFormData): Add support for fetching form data from
679         select lists and comboboxes as well as textareas.
680         (getSelectData): New helper method. Fetches form data from
681         select boxes.
682         (getTextAreaData): New helper method. Fetches form data from
683         textareas.
684         (resetForm): New helper method. Resets the entire form.
685         * javax/swing/text/html/HTMLDocument.java
686         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
687         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
688         (HTMLReader.FormAction.setModel): Initialize text and password
689         values here. Also, use the resetable special models.
690         Group radio buttons into ButtonGroup for exclusive selection.
691         (HTMLReader.FormTagAction): New class. Handles FORM tags.
692         (HTMLReader.buttonGroups): New field.
693         (HTMLReader.numOptions): New field.
694         (HTMLReader.option): New field.
695         (HTMLReader.selectModel): New field.
696         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
697         (HTMLReader.handleText): Handle OPTION text.
698         (HTMLReader.initTags): Map FORM tags to FormTagAction.
699         (HTMLReader.textAreaContent): Set initial content.
700         * javax/swing/text/html/Option.java
701         (Option): Make copy of attribute set. Initialize selected state.
702         (getValue): Fetch value from attribute set.
703         * javax/swing/text/html/ResetableModel.java: New interface.
704         * javax/swing/text/html/ResetablePlainDocument.java: New class.
705         Supports resetting the state.
706         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
707         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
708         * javax/swing/text/html/SelectListModel.java: Likewise.
709
710 2006-12-06  Roman Kennke  <kennke@aicas.com>
711
712         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
713         New class.
714         * examples/gnu/classpath/examples/swing/HtmlDemo.java
715         (LoadActionListener): Call setPage() helper method.
716         (createContent): Register tweaked editor kit. For FormSubmitEvents
717         call submitForm(), otherwise setPage().
718         (postData): Helper method for posting form data.
719         (setPage): Helper method for navigating to a new URL.
720         (submitForm): Helper method for submitting a form.
721         * examples/gnu/classpath/examples/swing/forms.html:
722         Added text/password fields and select boxes.
723         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
724
725 2006-12-07  Mark Wielaard  <mark@klomp.org>
726
727         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
728         private constructor.
729         (URL(URL,String,URLStreamHandler)): Call new constructor.
730         (URL(URL,String)): Likewise.
731         (URL(String)): Likewise.
732
733 2006-12-07  Mark Wielaard  <mark@klomp.org>
734
735         * javax/swing/JEditorPane.java (createEditorKitForContentType):
736         Always load from system class loader.
737
738 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
739
740         Fixes PR 29853.
741         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
742         newValue are the same.
743         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
744
745 2006-12-06  Chris Burdess  <dog@gnu.org>
746
747         Fixes PR 29272.
748         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
749         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
750
751 2006-12-06  Chris Burdess  <dog@gnu.org>
752
753         Fixes PR 29264.
754         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
755         writeDTD method.
756
757 2006-12-056  Chris Burdess  <dog@gnu.org>
758
759         Fixes PR 28816.
760         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
761         discover schema factory implementation class.
762
763 2006-12-05  Roman Kennke  <kennke@aicas.com>
764
765         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
766         asynchronous loading of images.
767         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
768         (drawImage): Fetch real image from possibly AsyncImage.
769         * gnu/java/awt/peer/gtk/ComponentGraphics.java
770         (drawImage): Fetch real image from possibly AsyncImage.
771         * gnu/java/awt/peer/gtk/GtkToolkit.java
772         (createImage(URL)): Create async image.
773         (imageOrError): Made method static for easy access from AsyncImage.
774         (prepareImage): For async images, register the observer to the
775         image.
776
777 2006-12-05  Roman Kennke  <kennke@aicas.com>
778
779         (paintComponent): Include paint area from event.
780         (updateComponent): Include paint area from event.
781
782 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
783
784         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
785         lightweight component, not just for non-Panel components.
786         (addImpl): Do not call doLayout.
787         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
788         (setNativeBounds): Ensure widget parent is a GtkFixed before
789         calling gtk_fixed_move.
790         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
791         (setNativeBounds): Likewise.
792         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
793         (setNativeBounds): Likewise.
794
795 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
796
797         * java/awt/Component.java (getFontImpl): Return a default font if
798         topmost parent's font is null.
799
800 2006-12-04  Mark Wielaard  <mark@klomp.org>
801
802         * javax/swing/text/html/CSS.java (parseMarginShorthand):
803         Remove debug output.
804
805 2006-12-04  Roman Kennke  <kennke@aicas.com>
806
807         * java/awt/font/TextLayout.java
808         (hitTestChar): Fixed conditions for inclusion of range.
809         Use layout information in the run for more efficiency.
810
811 2006-12-04  Roman Kennke  <kennke@aicas.com>
812
813         * javax/swing/text/GlyphView.java
814         (J2DGlyphPainter): New inner class.
815         (checkPainter): For Java2D capable environments create
816         a J2DGlyphPainter.
817
818 2006-12-04  Roman Kennke  <kennke@aicas.com>
819
820         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
821         (FreeTypeGlyphVector): Don't filter control chars here.
822         (getGlyphs): Filter control chars and replace them by
823         hair space char.
824
825 2006-12-04  Roman Kennke  <kennke@aicas.com>
826
827         * native/jni/java-nio/gnu_java_nio_VMChannel.c
828         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
829
830 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
831
832         * gnu/java/lang/management/BeanImpl.java:
833         (translate(String)): Don't assume the list uses "E",
834         just use the first and only type variable.
835         * java/lang/management/ManagementFactory.java:
836         (getPlatformMBeanServer()): Register logging bean.
837         * javax/management/openmbean/OpenType.java:
838         (OpenType(String,String,String)): Actually use
839         the string created to handle arrays.
840         
841 2006-12-04  Mark Wielaard  <mark@klomp.org>
842
843         * native/jni/java-nio/gnu_java_nio_VMChannel.c
844         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
845
846 2006-12-04  Mark Wielaard  <mark@klomp.org>
847
848         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
849         Make static.
850         * native/jni/java-nio/gnu_java_nio_VMChannel.c
851         (JCL_thread_interrupted): Only take JNIEnv.
852         (vm_channel_class): New static variable.
853         (initID): Set vm_channel_class.
854         Wrap all reads() and writes() in do-while blocks that check
855         interrupted status.
856
857 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
858
859         * gnu/javax/management/Server.java:
860         Make map final and initialise it.
861         (unregisterMBean(ObjectName)): Match against
862         delegate's object name and not the instance.
863         * java/lang/management/ManagementFactory.java:
864         Added constant fields.
865         (getPlatformMBeanServer()): Implemented.
866         * javax/management/MBeanServerFactory.java: New file.
867         
868 2006-12-04  Roman Kennke  <kennke@aicas.com>
869
870         * javax/swing/text/BoxView.java
871         (paint): Replaced painting algorithm with more simple and more
872         reliable painting of the box.
873         * javax/swing/text/html/BlockView.java
874         (PositionInfo): New inner class. Stores additional CSS
875         positioning information.
876         (positionInfo): New field.
877         (BlockView): Initialize positionInfo field.
878         (fetchLayoutInfo): New helper method. Fetches additional
879         CSS positioning information.
880         (layoutMajorAxis): Perform additional CSS layout.
881         (layoutMinorAxis): Perform additional CSS layout.
882         (positionView): New helper method.
883         (replace): Overridden to fetch additional layout information.
884         * javax/swing/text/html/CSS.java
885         (Attribute.POSITION): New field.
886         (Attribute.LEFT): New field.
887         (Attribute.RIGHT): New field.
888         (Attribute.TOP): New field.
889         (Attribute.BOTTOM): New field.
890         (getValue): Create Length for left, right, top and bottom
891         attributes.
892
893 2006-12-04  Roman Kennke  <kennke@aicas.com>
894
895         * gnu/javax/swing/text/html/parser/support/Parser.java
896         (Sgml): Consume any whitespace that immediately follows
897         and sgml insertion.
898         (parseDocument): Consume any initial whitespace.
899
900 2006-12-03  Mark Wielaard  <mark@klomp.org>
901
902         * gnu/javax/management/Server.java (beans): Initialize.
903         (registerMBean): Don't initialize beans.
904
905 2006-12-03  Mark Wielaard  <mark@klomp.org>
906
907         * java/util/logging/LogManager.java (getLevelProperty): Check
908         whether value is null before passing to Level.parse().
909
910 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
911
912         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
913         whether given a null lock and lockOwner.
914
915 2006-12-03  Mark Wielaard  <mark@klomp.org>
916
917         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
918         (PageLoader.page): Made package local.
919         (PageLoader.run): Don't reset loader.
920         (PageLoader.cancel): New method.
921         (loading): Renamed to loader.
922         (getPage): Return loader.page.
923         (setPage): Always set loader. Never reset to null.
924
925 2006-12-03  Mark Wielaard  <mark@klomp.org>
926
927         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
928         path[k] is null.
929         (isLastChild): Return false when path is null.
930
931 2006-12-03  Mark Wielaard  <mark@klomp.org>
932
933         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
934         to currentPaintArea.
935         (paintComponent): Work with local reference to currentPaintArea.
936         (updateComponent): Likewise.
937         (coalescePaintEvent): Set currentPaintArea.
938
939 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
940
941         * javax/management/MBeanServerBuilder.java: New file.
942         
943 2006-12-01  Mark Wielaard  <mark@klomp.org>
944
945         * java/text/DecimalFormat.java (parse): Always increment parsing
946         index and adjust pos result.
947
948 2006-12-01  Roman Kennke  <kennke@aicas.com>
949
950         * javax/swing/text/html/HTML.java
951         (Attribute.DYNAMIC_CLASS): New field.
952         (Attribute.PSEUDO_CLASS): New field.
953         * javax/swing/text/html/HTMLDocument.java
954         (HTMLReader.CharacterAction.start): Initialize anchor with link
955         pseudo attribute.
956         (updateSpecialClass): New helper method. Updates the dynamic
957         or pseudo class for anchor tags.
958         * javax/swing/text/html/HTMLEditorKit.java
959         (LinkController.lastAnchorElement): New field. For tracking
960         enter/exit of anchors.
961         (LinkController.activateLink): Set pseudo class to 'visited'.
962         (LinkController.mouseMoved): Added support for tracking
963         the 'hover' dynamic class.
964         * javax/swing/text/html/InlineView.java
965         (changedUpdate): Fetch new properties.
966         * javax/swing/text/html/StyleSheet.java
967         (attributeSetToMap): New helper method.
968         (getRule): Also append dynamic and pseudo class to key.
969         (resolveStyle): Resolve style based generally on all attributes.
970         * javax/swing/text/html/TableView.java
971         (RowView.layoutMajorAxis): Make sure the grid is valid.
972         (updateGrid): Made package private.
973         * gnu/javax/swing/text/html/css/Selector.java
974         (calculateSpecificity): Added support for dynamic and pseudo classes.
975         (matches): Changed to operate on general attributes.
976         Added support for dynamic and pseudo classes.
977
978 2006-12-01  Mario Torre  <neugens@limasoftware.net>
979
980         * java/text/DecimalFormat.java (formatInternal): move the formatting of
981         fractional portion in a separate method.
982         Also fixes the handling of decimal separator and its associated field.
983         (handleFractionalPart): new method, needed to relax a bit
984         formatInternal.
985         
986 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
987
988         * java/beans/beancontext/BeanContextServicesSupport.java:
989         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
990         Class)): Implemented.
991         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
992         Class, Object)): Implemented.
993         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
994         Object, Object)): Implemented.
995         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
996         Implemented.
997         (initialiseBeanContextResources()): Implemented.
998         (releaseBeanContextResoures()): Implemented.
999         
1000 2006-12-01  Mark Wielaard  <mark@klomp.org>
1001
1002         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1003
1004 2006-12-01  Roman Kennke  <kennke@aicas.com>
1005
1006         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1007         handling border styles.
1008         * gnu/javax/swing/text/html/css/BorderWidth.java
1009         (isValid): New method.
1010         * gnu/javax/swing/text/html/css/Length.java
1011         (isValid): New method.
1012         * javax/swing/text/html/CSS.java
1013         (addInternal): Added shorthand parsing for border, padding and
1014         margin.
1015         (parseBackgroundShorthand): Added API docs.
1016         (parsePaddingShorthand): New method. Handles padding shorthand
1017         values.
1018         (parseMarginShorthand): New method. Handles margin shorthand
1019         values.
1020         (parseBorderShorthand): New method. Handles border shorthand
1021         values.
1022         * javax/swing/text/html/StyleSheet.java
1023         (translateHTMLToCSS): Set specific padding attributes.
1024         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1025         These shorthands are now handled in CSS.
1026         (BoxPainter.paint): Exclude the outer margin.
1027
1028 2006-12-01  Roman Kennke  <kennke@aicas.com>
1029
1030         * gnu/javax/swing/text/html/css/Length.java
1031         (emBase): New field.
1032         (exBase): New field.
1033         (isFontEMRelative): New field.
1034         (isFontEXRelative): New field.
1035         (Length): Recognize and setup EM and EX relative values.
1036         (getValue): Handle EM and EX relative values.
1037         (isEMRelative): New method.
1038         (isEXRelative): New method.
1039         (setEMBase): New method.
1040         (setEXBase): New method.
1041         (setFontBases): New method.
1042         * gnu/javax/swing/text/html/parser/support/Parser.java
1043         (_handleEmptyTag): Use new isBlock() helper method.
1044         (_handleEndTag_remaining): Use new isBlock() helper method.
1045         (_handleStartTag): Consume whitespace after block start tag.
1046         (Comment): Consume whitespace after a comment.
1047         (isBlock): New helper method.
1048         (readAttributes): Consider all characters in unquoted attribute
1049         values.
1050         * javax/swing/text/html/BlockView.java
1051         (layoutMinorAxis): Use cached span value.
1052         (paint): Added debug code (commented out).
1053         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1054         * javax/swing/text/html/CSSBorder.java
1055         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1056         with stylesheet.
1057         (getBorderWidth): Set the EM and EX base on the length values.
1058         * javax/swing/text/html/HTMLDocument.java
1059         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1060         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1061         (HTMLReader.inImpliedParagraph): Removed.
1062         (HTMLReader.inParagraph): Removed.
1063         (HTMLReader.parseStack): New field.
1064         (HTMLReader.addContent): Use new paragraph handling.
1065         (HTMLReader.addSpecialElement): Use new paragraph handling.
1066         (HTMLReader.blockClose): Use new paragraph handling.
1067         (HTMLReader.blockOpen): Use new paragraph handling.
1068         (HTMLReader.inImpliedParagraph): New helper method.
1069         (HTMLReader.inParagraph): New helper method.
1070         * javax/swing/text/html/ImageView.java
1071         (attributes): New field. Caches view attributes.
1072         (spans): New field. Caches CSS spans.
1073         (getAttributes): Correctly setup CSS view attributes.
1074         (getPreferredSpan): Use caches spans.
1075         (getStyleSheet): Use the view's getDocument() method.
1076         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1077         (updateSize): Use cached spans.
1078         * javax/swing/text/html/ParagraphView.java
1079         (setPropertiesFromAttributes): Setup EM and EX.
1080         * javax/swing/text/html/StyleSheet.java
1081         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1082         (getEMBase): New helper method.
1083         (getEXBase): New helper method.
1084         * javax/swing/text/html/TableView.java
1085         (width): New field. Caches the table width.
1086         (calculateMinorAxisRequirements): Use caches span.
1087         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1088         (updateGrid): Correctly setup EM/EX.
1089
1090 2006-11-30  Roman Kennke  <kennke@aicas.com>
1091
1092         * javax/swing/text/html/FormSubmitEvent.java: New class.
1093         * javax/swing/text/html/FormView.java
1094         (SubmitThread): New class for submitting data in a separate thread.
1095         (actionPerformed): Fetch the actual for data.
1096         (addData): New helper method.
1097         (getElementFormData): New helper method.
1098         (getFormData): New helper method.
1099         (getInputFormData): New helper method.
1100         (submitData): Implemented.
1101         * javax/swing/text/html/FrameView.java
1102         (createComponent): Add this as hyperlink listener.
1103         Set the target document as frame document.
1104         (getTopEditorPane): New helper method.
1105         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1106         (handleHyperlinkEvent): New helper method.
1107         (handleFormSubmitEvent): New helper method.
1108         * javax/swing/text/html/HTMLDocument.java
1109         (HTMLReader.BaseAction.start): Track the base target.
1110         (HTMLReader.BaseAction.end): Removed.
1111         (baseTarget): New field.
1112         (frameDocument): New field.
1113         (getBaseTarget): New property accessor.
1114         (isFrameDocument): New property accessor.
1115         (processHTMLFrameHyperlinkEvent): Implemented.
1116         (setFrameDocument): New property accessor.
1117         (updateFrame): New helper method.
1118         (updateFrameSet): New helper method.
1119         * javax/swing/text/html/HTMLEditorKit.java
1120         (LinkController.createHyperlinkEvent): Handle frame documents.
1121         (autoFormSubmission): New field.
1122         (HTMLEditorKit): Set autoFormSubmission to true.
1123         (isAutoFormSubmission): New property accessor.
1124         (setAutoFormSubmission): New property accessor.
1125
1126 2006-11-30  Roman Kennke  <kennke@aicas.com>
1127
1128         * javax/swing/text/ElementIterator.java
1129         (ElementRef): New inner class.
1130         (currentDepth): Removed.
1131         (currentElement): Removed.
1132         (previousItem): Removed.
1133         (stack): New field. Holds the iteration stack.
1134         (state): Removed.
1135         (ElementIterator(Document)): Removed init of removed fields.
1136         (ElementIterator(Element)): Removed init of removed fields.
1137         (current): Changed to stack based algorithm.
1138         (deepestLeaf): New helper method.
1139         (depth): Changed to stack based algorithm.
1140         (first): Changed to stack based algorithm.
1141         (next): Changed to stack based algorithm.
1142         (previous): Changed to stack based algorithm.
1143
1144 2006-11-30  Francis Kung  <fkung@redhat.com>
1145
1146         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1147         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1148
1149 2006-11-30  Francis Kung  <fkung@redhat.com>
1150
1151         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1152         (draw): Set transform in buffered composite.
1153         (drawComposite): Do not transform bounds; round bounds.
1154         (drawGlyphVector):  Set transform in buffered composite.
1155         (drawRenderedImage):  Set transform in buffered composite.
1156         (fill):  Set transform in buffered composite.
1157         (updateBufferedImage): Fix scanline & height calculations.
1158         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1159         (createPath): Simplify width & height calculation.
1160         (drawImage): Also transform width & height.
1161
1162 2006-11-30  Roman Kennke  <kennke@aicas.com>
1163
1164         * javax/swing/text/html/FrameSetView.java: New class. Implements
1165         HTML framesets.
1166         * javax/swing/text/html/FrameView.java: New class. Implements
1167         HTML frames.
1168         * javax/swing/text/html/HTMLDocument.java:
1169         (HTMLReader.addSpecialElement): Only add one artificial space.
1170         * javax/swing/text/html/HTMLEditorKit.java
1171         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1172         * gnu/javax/swing/text/html/parser/support/Parser.java
1173         (_handleEmptyTag): Also consume whitespace after frame tags.
1174
1175 2006-11-30  Gary Benson  <gbenson@redhat.com>
1176
1177         * java/lang/Thread.java: Javadoc fixes.
1178
1179 2006-11-29  Tom Tromey  <tromey@redhat.com>
1180
1181         PR classpath/28203:
1182         * java/lang/Class.java (getAnnotations): Rewrote.
1183
1184 2006-11-29  Tania Bento  <tbento@redhat.com>
1185
1186         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1187         (parseParams): Unescape 'val' before putting it into the Map.
1188         (unescapeString): New private method.
1189
1190 2006-11-29  Tom Tromey  <tromey@redhat.com>
1191
1192         * tools/gnu/classpath/tools/getopt/package.html: New file.
1193
1194 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1195
1196         * javax/swing/plaf/metal/MetalIconFactory.java
1197         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1198         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1199
1200 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1201
1202         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1203         with the default international currency sign \u00A4.
1204         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1205         table for string formatting.
1206         (formatInternal): likewise.
1207         (scanNegativePattern): likewise.
1208         (applyPattern): likewise.
1209         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1210         Locale is immutable and does not need clone.
1211
1212 2006-11-29  Francis Kung  <fkung@redhat.com>
1213
1214         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1215         (drawLine): Remove hard-coded pixel shifting.
1216
1217 2006-11-29  Roman Kennke  <kennke@aicas.com>
1218
1219         * java/awt/Component.java
1220         (isShowing): Simplified condition code and avoid unnecessary
1221         if-codepaths.
1222         (coalesceEvents): Always coalesce paint events and let the peer
1223         figure out the expanding of the repaint area.
1224         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1225         (currentPaintEvents): Removed. Replaced by paintArea.
1226         (paintArea): New field. Tracks the dirty area.
1227         (SwingComponentPeer): Removed init of currentPaintEvents.
1228         (coalescePaintEvent): Simplified to only union the dirty regions.
1229         (handleEvent): Paint dirty region that was tracked in paintArea.
1230         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1231         (paintArea): New field. Tracks the dirty region.
1232         (coalescePaintEvent): Implemented to track the dirty region.
1233         (paintComponent): Use the dirty region in paintArea. Protect
1234         state by putting the paint and dispose code in a try-finally.
1235         (updateComponent): Use the dirty region in paintArea. Protect
1236         state by putting the paint and dispose code in a try-finally.
1237
1238 2006-11-29  Roman Kennke  <kennke@aicas.com>
1239
1240         * java/awt/font/TextLayout.java
1241         (getVisualHighlightShape): Removed debug output.
1242
1243 2006-11-28  Andrew Haley  <aph@redhat.com>
1244
1245         * vm/reference/sun/reflect/misc/ReflectUtil.java
1246         (checkPackageAccess): Implement.
1247
1248 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1249
1250         * native/jni/java-lang/java_lang_VMDouble.c:
1251         (parseDoubleFromChars) New function. Factored out from ...
1252         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1253         (dtoa_toString): New function. Factored out from ...
1254         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1255         Changed conversion mode to 2, as modes 0 and 1 don't round
1256         as the API spec demands. Invoke conversion function as often
1257         as necessary with growing precision until a reversible
1258         representation of the double in form of a string is reached.
1259
1260 2006-11-28  Roman Kennke  <kennke@aicas.com>
1261
1262         * javax/swing/JComponent.java
1263         (putClientProperty): Do not fire event when both old and new
1264         value are == null.
1265
1266 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1267
1268         * java/lang/Enum.java:
1269         Make name and ordinal final.
1270         
1271 2006-11-27  Casey Marshall  <csm@gnu.org>
1272
1273         * java/util/jar/JarEntry.java (certs): removed.
1274         (jarfile): new field.
1275         (getCertificates): read the certificates from the containing JarFile.
1276         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1277         fill in 'certs,' fill in 'jarfile' for the entry.
1278         (getEntry): likewise.
1279         
1280 2006-11-27  Francis Kung  <fkung@redhat.com>
1281
1282         * java/awt/image/WritableRaster.java
1283         (createChild): Implemented.
1284
1285 2006-11-27  Roman Kennke  <kennke@aicas.com>
1286
1287         * java/awt/font/TextLayout.java
1288         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1289         (getVisualHighlightShape): Implemented.
1290         (layoutRuns): Fixed boundary so that the last run is also laid out.
1291         (left): New helper method.
1292         (right): New helper method.
1293
1294 2006-11-27  Roman Kennke  <kennke@aicas.com>
1295
1296         * java/awt/font/TextLayout.java
1297         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1298         (getCaretShape(TextHitInfo)): Use natural bounds.
1299         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1300         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1301         above with DEFAULT_CARET_POLICY.
1302         (getCaretShapes(int)): Use natural bounds.
1303
1304 2006-11-27  Roman Kennke  <kennke@aicas.com>
1305
1306         * java/awt/font/TextLayout.java
1307         (Run.font): New field.
1308         (Run.location): New field.
1309         (Run.Run): Initialize font.
1310         (font): Removed field. This is moved into Run as the actual font
1311         is something run-specific.
1312         (TextLayout(String,Font,FontRenderContext)): Set font on the
1313         single runs. Layout the runs here.
1314         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1315         (findRunAtIndex): New helper method.
1316         (getCaretInfo): Implemented.
1317         (layoutRuns): New helper method.
1318         (toString): Don't put font in output string.
1319
1320 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1321
1322         * AUTHORS: Added Jeroen Fritjers.
1323
1324 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1325
1326         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1327         for FieldPosition to be null.
1328         Check if the factional part is just 0 and can be omitted from the
1329         result.
1330         (scanNegativePattern): Fixed index out of bound exception when searching
1331         for international currency symbol in negative pattern.  
1332
1333 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1334
1335         * java/beans/beancontext/BeanContextSupport.java:
1336         (readObject(ObjectInputStream)): Implemented.
1337         (writeObject(ObjectOutputStream)): Likewise.
1338         (BCSChild.getTargetChild()): Added.
1339         (bcsPreDeserializationHook()): Implemented.
1340         (bcsPreSerializationHook()): Likewise.
1341         (childDeserializedHook(Object,BCSChild)): Likewise.
1342         (isSerializing()): Likewise.
1343         (readChildren(ObjectInputStream)): Likewise.
1344         (writeChildren(ObjectOutputStream)): Likewise.
1345         
1346 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1347             Ian Lance Taylor  <ian <at> airs.com>
1348             Paolo Bonzini <bonzini <at> gnu.org>
1349
1350         Fixes bug #25557.
1351
1352         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1353         increased portability.  Likewise, use -f instead of -e.
1354
1355 2006-11-26  Mark Wielaard  <mark@klomp.org>
1356
1357         * lib/Makefile.am (propertydirs): Removed.
1358         (resources): Explicitly create all dirs.
1359
1360 2006-11-26  Mark Wielaard  <mark@klomp.org>
1361
1362         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1363
1364 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1365
1366         * native/target/.cvsignore,
1367         native/target/generic/.cvsignore,
1368         native/target/Linux/.cvsignore:
1369         Removed no longer used files.
1370
1371         * native/target: Removed no longer used directory.
1372
1373 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1374
1375         Fixes bug #29133.
1376
1377         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1378         (Java_gnu_java_nio_VMSelector_select):
1379         Use strerror if strerror_r is not available.
1380
1381         Reported by:  Michael Franz <mvfranz@gmail.com>,
1382                       Riccardo Mottola <zuse@libero.it>
1383
1384 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1385
1386         Fixes bug #26756.
1387         
1388         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1389         STRICT_WARNING_CFLAGS since it caused the build to fail 
1390         on GNU/Linux.
1391
1392 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1393
1394         * doc/vmintegration.texinfo: Update VM Threading Model section.
1395
1396 2006-11-26  Tom Tromey  <tromey@redhat.com>
1397
1398         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1399         include ifaddrs.h.
1400         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1401         conditional.
1402         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1403         Conditionally include ifaddrs.h.
1404         (getif_address): Updated conditional.
1405         (getif_index): Likewise.
1406         * configure.ac: Check for ifaddrs.h.
1407
1408 2006-11-25  Mark Wielaard  <mark@klomp.org>
1409
1410         * java/io/File.java (list): Return empty list for unreadable dirs.
1411
1412 2006-11-25  Mark Wielaard  <mark@klomp.org>
1413
1414         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1415         Synchronize on font peer.
1416         (setFont): Likewise.
1417         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1418         synchronized.
1419         (getTextMetrics): Likewise.
1420
1421 2006-11-25  Roman Kennke  <kennke@aicas.com>
1422
1423         * javax/swing/text/GapContent.java
1424         (getPositionsInRange): Rewritten to use the more efficient
1425         binary search searchFirst() and avoid an NPE that was caused
1426         by GC'ed positions.
1427
1428 2006-11-25  Mark Wielaard  <mark@klomp.org>
1429
1430         * javax/swing/text/CompositeView.java (modelToView): Never return
1431         null.
1432
1433 2006-11-25  Mark Wielaard  <mark@klomp.org>
1434
1435         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1436         Check whether rowView instanceof RowView.
1437         (updateGrid): Likewise.
1438
1439 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1440
1441         PR28462
1442         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1443         * java/text/NumberFormat.java (format): all format methods, fixed
1444         FieldPosition argument should never be null.
1445         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1446         method is not final.
1447         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1448         locale.
1449         * AUTHORS: added my name to the file.
1450
1451 2006-11-25  Mark Wielaard  <mark@klomp.org>
1452
1453         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1454         getChildAllocation() returning null.
1455
1456 2006-11-25  Mark Wielaard  <mark@klomp.org>
1457
1458         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1459         Use clazzIndex for id substring.
1460
1461 2006-11-25  Mark Wielaard  <mark@klomp.org>
1462
1463         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1464         it is still running.
1465
1466 2006-11-25  Mark Wielaard  <mark@klomp.org>
1467
1468         Fixes bug #28822
1469         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1470         CREATE_API_DOCS
1471
1472 2006-11-24  Tania Bento  <tbento@redhat.com>
1473
1474         * java/awt/font/TextHitInfo.java
1475         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1476         (beforeOffset): Decreased first parameter by 1.
1477
1478 2006-11-24  Francis Kung  <fkung@redhat.com>
1479
1480         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1481         (constructor): Check sample model when setting fastCM flag.
1482         (updateBufferedImage): Check scanline and sample model offsets before
1483         copying data directly into the image data buffer.
1484
1485 2006-11-24  Francis Kung  <fkung@redhat.com>
1486
1487         * gnu/java/awt/java2d/QuadSegment.java
1488         (offsetSubdivided): Handle special straight-line cases.
1489
1490 2006-11-24  Roman Kennke  <kennke@aicas.com>
1491
1492         * java/awt/dnd/DropTarget.java
1493         (DropTargetAutoScroller.HYSTERESIS): New constant.
1494         (DropTargetAutoScroller.DELAY): New constant.
1495         (DropTargetAutoScroller.inner): New field. A cached
1496         Rectangle instance.
1497         (DropTargetAutoScroller.outer): New field. A cached
1498         Rectangle instance.
1499         (DropTargetAutoScroller.timer): New field. The actual timer.
1500         (DropTargetAutoScroller.DropTargetAutoScroller):
1501         Initialize timer.
1502         (DropTargetAutoScroller.actionPerformed): Implemented.
1503         (DropTargetAutoScroller.stop): Implemented.
1504         (DropTargetAutoScroller.updateLocation): Implemented.
1505         (clearAutoscroll): Stop the autoscroller before nullifying it.
1506         (createDropTargetAutoScroller): Don't set the field here,
1507         only return a new instance.
1508         (dragEnter): Only do something when active. Initialize
1509         auto scrolling.
1510         (dragExit): Only do something when active. Stop auto scrolling.
1511         (dragOver): Only do something when active. Update auto scrolling.
1512         (drop): Only do something when active. Update auto scrolling.
1513         (dropActionChanged): Only do something when active. Update
1514         auto scrolling.
1515         (initializeAutoScrolling): Check if component is an instance
1516         of Autoscroll, otherwise do nothing.
1517         (setActive): Disable autoscrolling when deactivating.
1518         (setComponent): When component is set to null, disable autoscrolling.
1519
1520 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1521
1522         * java/beans/beancontext/BeanContextServicesSupport.java
1523         (getChildBeanContextServicesListener): Implemented.
1524
1525 2006-11-23  Roman Kennke  <kennke@aicas.com>
1526
1527         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1528         (createGraphics): Use constructor to create new instance of
1529         BufferedImageGraphics.
1530         * java/awt/Toolkit.java
1531         (getDefaultToolkit): Really try to get a real toolkit. Only
1532         use HeadlessToolkit if no other is available.
1533         * gnu/java/awt/peer/gtk/GtkToolkit.java
1534         (checkHeadless): New helper method. Checks for headless environment
1535         and throws HeadlessException if appropriate.
1536         (createButton): Check for headless.
1537         (createCanvas): Check for headless.
1538         (createCheckbox): Check for headless.
1539         (createCheckboxMenuItem): Check for headless.
1540         (createChoice): Check for headless.
1541         (createDialog): Check for headless.
1542         (createDragGestureRecognizer): Check for headless.
1543         (createDragSourceContextPeer): Check for headless.
1544         (createEmbeddedWindow): Check for headless.
1545         (createFileDialog): Check for headless.
1546         (createFrame): Check for headless.
1547         (createCheckbox): Check for headless.
1548         (createLabel): Check for headless.
1549         (createList): Check for headless.
1550         (createMenu): Check for headless.
1551         (createMenuBar): Check for headless.
1552         (createMenuItem): Check for headless.
1553         (createPanel): Check for headless.
1554         (createPopupMenu): Check for headless.
1555         (createScrollbar): Check for headless.
1556         (createScrollPane): Check for headless.
1557         (createTextArea): Check for headless.
1558         (createTextField): Check for headless.
1559         (createWindow): Check for headless.
1560
1561 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
1562
1563         * java/beans/beancontext/BeanContextSupport.java
1564         (deserialize): Implemented,
1565         (serialize): Implemented.
1566
1567 2006-11-23  Roman Kennke  <kennke@aicas.com>
1568
1569         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1570         (createGraphics): Try to use Cairo graphics if available.
1571
1572 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1573
1574         * java/beans/beancontext/BeanContextSupport.java
1575         (toArray): Added API docs,
1576         (toArray(Object[])): Added API docs, removed NotImplementedException.
1577
1578 2006-11-22  Tania Bento  <tbento@redhat.com>
1579
1580         * javax/swing/JRootPane.java
1581         (setLayeredPane): Added documentation; throw 
1582         IllegalComponentStateException if layered pane parameter is null.
1583
1584 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1585
1586         * java/beans/beancontext/BeanContextSupport.java
1587         (avoidingGui): Removed NotImplementedException.
1588
1589 2006-11-22  Francis Kung  <fkung@redhat.com>
1590
1591         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1592         (drawGlyphVector): Clip updated area to glyph bounds.
1593         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1594         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1595         x-coordinate and y-coordinate pixel shifting.
1596         (shifted): Removed method.
1597         (shiftX): New method, recognising scaling transforms.
1598         (shiftY): New method, recognising scaling transforms.
1599         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1600
1601 2006-11-22  Roman Kennke  <kennke@aicas.com>
1602
1603         * java/awt/font/TextLayout.java
1604         (hash): New field. Caches the hash code.
1605         (hashCode): Implemented.
1606
1607 2006-11-22  Roman Kennke  <kennke@aicas.com>
1608
1609         * java/awt/image/ImageFilter.java
1610         Reformat whole class.
1611         (getFilterInstance): Don't touch the consumer field. Don't check
1612         consumer.
1613         (imageComplete): Don't check consumer.
1614         (setColorModel): Don't check consumer.
1615         (setDimensions): Don't check consumer.
1616         (setHints): Don't check consumer.
1617         (setPixels): Don't check consumer.
1618         (setProperties): Pass the original property too.
1619         * java/awt/image/IndexColorModel.java
1620         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1621         transparent pixel by calling the new helper method.
1622         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1623         transparent pixel by calling the new helper method.
1624         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1625         transparent pixel by calling the new helper method.
1626         (coerceData): Removed. This is not needed.
1627         (getAlpha): Simply return value from color map. The transparent
1628         pixel has to be there.
1629         (setTransparentPixel): New helper method. Inserts the transparent
1630         pixel.
1631         * java/awt/image/RGBImageFilter.java
1632         Reformat whole class.
1633         (convertColorModelToDefault): Removed. No longer needed.
1634         (filterIndexColorModel): Don't handle transparent pixels
1635         separately.
1636         (filterRGBPixels): Set pixels on consumer already.
1637         (makeColor): Removed. No longer needed.
1638         * java/awt/image/ReplicateScaleFilter.java
1639         (replicatePixels): Removed.
1640         (setDimension): Correctly compute destination size, avoid double
1641         calculations.
1642         (setPixels): Avoid double calculations. Fixed some boundary cases.
1643         (setupSources): New helper method.
1644         * java/awt/image/SampleModel.java
1645         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1646         and TYPE_DOUBLE.
1647         * java/awt/image/SinglePixelPackedSampleModel.java
1648         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1649         This is not needed as the superclass already copies line
1650         by line.
1651         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1652         removed some checks that the RI also doesn't perform. Call
1653         DataBuffer.setElem().
1654
1655 2006-11-22  Roman Kennke  <kennke@aicas.com>
1656
1657         * java/awt/text/TextLayout.java
1658         (getLogicalRangesForVisualSelection): Implemented.
1659
1660 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1661
1662         * sun/reflect/annotation/AnnotationParser.java,
1663         * sun/reflect/annotation/AnnotationType.java,
1664         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1665         * sun/reflect/annotation/ExceptionProxy.java:
1666         Stubbed.
1667         * sun/misc/ServiceConfigurationError.java,
1668         * sun/misc/Service.java:
1669         Implemented.
1670         
1671 2006-11-21  Roman Kennke  <kennke@aicas.com>
1672
1673         * java/awt/text/TextLayout.java
1674         (Run.isLeftToRight): New helper method.
1675         (logicalToVisual): New field. Maps logical indices to visual
1676         indices.
1677         (visualToLogical): New field. Maps visual indices to logical
1678         indices.
1679         (TextLayout): Setup mappings.
1680         (setupMappings): New method for setting up the mappings.
1681         (getCharacterLevel): Reorganized code.
1682         (getNextLeftHit(int)): Implemented.
1683         (getNextLeftHit(int,CaretPolicy)): New method.
1684         (getNextLeftHit(TextHitInfo)): Implemented.
1685         (getNextRightHit(int)): Implemented.
1686         (getNextRightHit(int,CaretPolicy)): New method.
1687         (getNextRightHit(TextHitInfo)): New method.
1688         (getVisualOtherHit): Implemented.
1689         (checkHitInfo): New helper methods for checking parameters.
1690         (hitToCaret): New helper method. Maps hit infos to caret locations.
1691         (caretToHit): New helper method. Maps caret locations to hit infos.
1692         (isCharacterLTR): New helper method.
1693         (CaretPolicy.getStrongCaret): Implemented.
1694
1695 2006-11-21  Francis Kung  <fkung@redhat.com>
1696
1697         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1698         (draw): Include stroke width when calculating bounds.
1699         (updateBufferedImage): Round bounds more generously, handle negative
1700         height/width values, and clip more intelligently.
1701         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1702         (createPath): Add shortcut optimization for lines.
1703         (draw): Include stroke width when calculating bounds.
1704         (drawLine): Delegate to main draw() method.
1705         (drawRect): Likewise.
1706         (fillRect): Delegate to main fill() method.
1707         (findStrokedBounds): New method.
1708         (setCustomPaint): Round bounds more generously.
1709         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1710         (drawLine): Removed.
1711         (drawRect): Removed.
1712         (fillRect): Removed.
1713
1714 2006-11-21  Francis Kung  <fkung@redhat.com>
1715
1716         * gnu/java/awt/java2d/TexturePaintContext.java
1717         (getRaster): Handle negative coordinate values.
1718         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1719         (setPaint): Moved custom paint processing to a new method.
1720         (setPaintPixels): Added x, y parameters.
1721         (getRealBounds): Added documentation.
1722         (copy): Copy clipping information.
1723         (drawLine): Process custom paints.
1724         (setCustomPaint): New method.
1725         (fill): Process custom paints.
1726         (drawGlyphVector): Process custom paints.
1727         (drawRect): Process custom paints.
1728         (draw): Process custom paints.
1729         * gnu/java/awt/peer/gtk/CairoSurface.java
1730         (cairoCM_opaque): New constant.
1731         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1732         (argb32): Removed constant.
1733         (rgb32): Removed constant.
1734         (BufferedImageGraphics(BufferedImage)): Updated constant names.
1735         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1736         (updateBufferedImage): Transform to device-space before updating.
1737         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1738         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1739         parameters.
1740         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1741         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1742         source at designated x, y origin.
1743
1744 2006-11-21  Roman Kennke  <kennke@aicas.com>
1745
1746         * java/awt/text/TextLayout.java
1747         (Run): New inner helper class.
1748         (length): New field.
1749         (naturalBounds): New field.
1750         (offset): New field.
1751         (runIndices): Removed. This is now encapsulate in a Run object.
1752         (runs): Changed to Run[].
1753         (string): Changed to char[].
1754         (totalAdvance): New field. Caches advance value.
1755         (TextLayout(String,Font,FontRenderContext)): Change to store
1756         string as char[] and run layout as Run[]. Clean out empty
1757         run items.
1758         (TextLayout(TextLayout,int,int)): Change to store
1759         string as char[] and run layout as Run[].
1760         (clone): Call private constructor for maximum efficiency.
1761         (determineWhitespace): Adapted to use char[] data.
1762         (draw): Adapted to use Run objects.
1763         (getAdvance): Cache computed total advance.
1764         (getBlackBoxBounds): Adapted to use Run objects.
1765         (getCaretInfo): Use natural layout bounds.
1766         (getCharacterCount): Return length field.
1767         (getLogicalHighlightShape): Adapted to use Run objects.
1768         (getNaturalBounds): New helper method. Calculates and returns the
1769         natural bounds of this text layout.
1770         (getOutline): Adapted to use Run objects.
1771         (getStringProperties): Adapted to use char[] data.
1772         (getVisibleAdvance): Adapted to use char[] and Run data.
1773         (handleJustify): Adapted to use char[] and Run data.
1774         (hitTestChar(float,float,Rectangle2D)): Implemented.
1775         (hitTestChar(float,float)): Use natural bounds.
1776         (setCharIndices): Adapted to use char[] and Run data.
1777         (toString): Adapted to use char[] and Run data.
1778         * java/text/Bidi.java
1779         (requiresBidi): Exclude paragraph separators from bidi-triggers.
1780
1781 2006-11-21  Roman Kennke  <kennke@aicas.com>
1782
1783         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1784         Removed. This is now an inner class in GdkFontPeer.
1785         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1786         (drawString(float,float)): Use text layout cache from
1787         GdkFontPeer.
1788         (getFontMetrics): Delegate to GdkFontPeer.
1789         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1790         (getGlyphCodes): Also check array size.
1791         (getGlyphPositions): Also check array size.
1792         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1793         (GdkFontLineMetrics.fm): Removed.
1794         (GdkFontLineMetrics.strikeThroughOffset): Removed.
1795         (GdkFontLineMetrics.strikeThroughThickness): Removed.
1796         (GdkFontLineMetrics.underlineOffset): Removed.
1797         (GdkFontLineMetrics.underlineThickness): Removed.
1798         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
1799         FontMetrics argument. Don't init removed fields.
1800         (GdkFontLineMetrics.getAscent): Return font peer's field.
1801         (GdkFontLineMetrics.getDescent): Return font peer's field.
1802         (GdkFontLineMetrics.getHeight): Return font peer's field.
1803         (GdkFontLineMetrics.getLeading): Return font peer's field.
1804         (GdkFontLineMetrics.getNumChars): Reformat.
1805         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
1806         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
1807         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
1808         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
1809         (GdkFontMetrics): Moved class in here as inner class. 
1810         Make it use the font peer's fields and for the char(s) width
1811         and string width method, use TextLayout to measure the actual widths.
1812         (ascent): New field.
1813         (bundle): Removed.
1814         (DEFAULT_CTX): New constant field.
1815         (descent): New field.
1816         (FONT_METRICS_ASCENT): New constant.
1817         (FONT_METRICS_DESCENT): New constant.
1818         (FONT_METRICS_HEIGHT): New constant.
1819         (FONT_METRICS_MAX_ADVANCE): New constant.
1820         (FONT_METRICS_MAX_ASCENT): New constant.
1821         (FONT_METRICS_MAX_DESCENT): New constant.
1822         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
1823         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
1824         (height): New field.
1825         (maxAdvance): New field.
1826         (maxAscent): New field.
1827         (maxDescent): New field.
1828         (metrics): New field. Stores a FontMetrics for this font.
1829         (textLayoutCache): New field. Caches TextLayout instances.
1830         (underlineOffset): New field.
1831         (underlineThickness): New field.
1832         (cinit): Don't initialize resource bundle.
1833         (GdkFontPeer): Setup the metrics.
1834         (getFontMetrics): Return stored metrics if possible.
1835         (getLineMetrics): Adapt to new constructor.
1836         (initFont): New helper method.
1837         (setupMetrics): New helper method.
1838         * gnu/java/awt/peer/gtk/GtkToolkit.java
1839         (LRUCache): Made class a static class.
1840         (getFontMetrics): Delegate to GdkFontPeer.
1841         * native/jni/gtk-peer/gdkfont.h
1842         Added new constant defines.
1843         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1844         (getFontMetrics): Rewritten to fetch the font metrics from
1845         FreeType.
1846
1847 2006-11-20  Tania Bento  <tbento@redhat.com>
1848
1849         * javax/swing/ButtonGroup.java:
1850         (setSelected): Select the ButtonModel if all conditions
1851         are met.
1852
1853 2006-11-20  Tania Bento  <tbento@redhat.com>
1854
1855         * javax/swing/JSlider.java:
1856         (updateLabelUIs): Removed casting.
1857
1858 2006-11-20  Mark Wielaard  <mark@klomp.org>
1859
1860         * gnu/java/util/regex/RE.java (messages): Don't initialize.
1861         (bundle): New static final String field.
1862         (getLocalizedMessage): Initialize messages when still null.
1863         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
1864         (set): Use RE.getLocalizedMessage().
1865         (clear): Likewise.
1866         (setLineSeparator): Likewise.
1867
1868 2006-11-20  Roman Kennke  <kennke@aicas.com>
1869
1870         * javax/swing/text/html/StyleSheet.java
1871         (linked): New field.
1872         (styleSheet): Replaced by linked.
1873         (addStyleSheet): Use an arraylist for simplicity.
1874         (getRule): Removed useless instantiation.
1875         (getStyleSheets): Convert array list to array.
1876         (removeStyleSheet): Use an arraylist for simplicity.
1877         (resolveStyle): Include styles from linked lists.
1878
1879 2006-11-20  Roman Kennke  <kennke@aicas.com>
1880
1881         * javax/swing/text/BoxView.java
1882         (BoxView): Initialize with invalid req's.
1883         (forwardUpdate): Trigger repaint when children changed the
1884         major axis.
1885         (getResizeWeight): Return resizable when the pref differs from
1886         the min or the pref differs from the max size.
1887         (layoutMajorAxis): Actually sum up the preferred sizes.
1888         (paint): Made binary search more robust.
1889         (replace): Let arrays shrink when needed.
1890         (replaceLayoutArray): Let arrays shrink when needed.
1891         (setAxis): Trigger preferenceChanged.
1892         * javax/swing/text/CompositeView.java
1893         (getInsideAllocation): Call insets method to take account
1894         of overriding subclasses.
1895         * javax/swing/text/DefaultStyledDocument.java
1896         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
1897         (ElementBuffer.insertUpdate): Only remove the found element, not
1898         all.
1899         * javax/swing/text/GlyphView.java
1900         (insertUpdate): Pass null in preferenceChanged.
1901         (removeUpdate): Pass null in preferenceChanged.
1902         (changedUpdate): Pass null in preferenceChanged.
1903         * javax/swing/text/Utilities.java
1904         (drawTabbedText): Avoid single calls to charWidth() and instead
1905         call charsWidth() on whole chunks.
1906         * javax/swing/text/html/HTMLDocument.java
1907         (BlockElement.getName): Fall back to super when necessary.
1908         (RunElement.getName): Fall back to super when necessary.
1909         (HTMLReader.MAX_THRESHOLD): New constant field.
1910         (HTMLReader.GROW_THRESHOLD): New constant field.
1911         (HTMLReader.theshold): New field.
1912         (HTMLReader.HTMLReader): Fetch threshold from document.
1913         (HTMLReader.addContent): Sucessivly grow the threshold.
1914         (createLeafElement): Don't create two elemens and don't set
1915         attribute.
1916         * javax/swing/text/html/TableView.java
1917         (RowView.replace): Invalidate grid.
1918         (gridValid): Made package private.
1919         (layoutMinorAxis): Mark all rows as invalid.
1920         (replace): Invalidate grid.
1921
1922 2006-11-20  Roman Kennke  <kennke@aicas.com>
1923
1924         * javax/swing/text/AbstractDocument.java
1925         (DefaultDocumentEvent.changes): Changed to be a HashMap.
1926         (DefaultDocumentEvent.modified): Made private.
1927         (DefaultDocumentEvent.THRESHOLD): New constant field.
1928         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
1929         changes table.
1930         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
1931         exceeding threshold.
1932         (DefaultDocumentEvent.getChange): Use iterative approach
1933         when we have no hashmap yet.
1934         (documentCV): Removed.
1935         (numWriters): Renamed from numWritersWaiting.
1936         (createPosition): Reformat.
1937         (getCurrentWriter): Synchronized.
1938         (readLock): Implement more straightforward.
1939         (readUnlock): Implement more straightforward.
1940         (writeLock): Implement more straightforward.
1941         (writeUnlock): Implement more straightforward.
1942         (remove): Write-lock here.
1943         (removeImpl): Don't write-lock here.
1944
1945 2006-11-20  Roman Kennke  <kennke@aicas.com>
1946
1947         * javax/swing/JEditorPane.java
1948         (setPage): Set priority on loading thread.
1949
1950 2006-11-20  Roman Kennke  <kennke@aicas.com>
1951
1952         * javax/swing/plaf/basic/BasicTextUI.java
1953         (RootView.paint): Avoid allocation.
1954         (cachedInsets): New field. Caches an Insets instance.
1955         (getNextVisualPositionFrom): Read-lock the document to avoid
1956         thread nastiness. Push allocation.
1957         (getPreferredSize): Push fake allocation when not yet laid out.
1958         (getVisibleEditorRect): Use cached insets.
1959         (viewToModel): Read-lock the document to avoid
1960         thread nastiness. Push allocation.
1961
1962 2006-11-20  Roman Kennke  <kennke@aicas.com>
1963
1964         * javax/swing/text/StyleContext.java
1965         (attributeSetPool): Synchronize this map.
1966         (addAttribute): Synchronize this method.
1967         (addAttributes: Synchronize this method.
1968         (readObject): Install synchronized map on target object.
1969         (removeAttribute): Synchronize this method.
1970         (removeAttributes): Synchronize this method.
1971         (removeAttributes): Synchronize this method.    
1972         
1973 2006-11-20  Roman Kennke  <kennke@aicas.com>
1974
1975         * javax/swing/text/GapContent.java
1976         (GapContentPosition.GapContentPosition): Removed constructor.
1977         (Mark): Made subclass of WeakReference to refer directly to
1978         the associated position.
1979         (Mark.refCount): Removed.
1980         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
1981         New constructor. Used to reference a position and register the
1982         reference queue.
1983         (Mark.Mark(index)): Call super and don't adjust mark offset.
1984         (Mark.compareTo): Removed.
1985         (Mark.equals): Removed.
1986         (Mark.getOffset): Return at least null. Removed assert.
1987         (Mark.getPosition): New helper method.
1988         (garbageMarks): New field.
1989         (positions): Removed.
1990         (searchMark): New field.
1991         (GapContent): Removed init of positions map.
1992         (addImpl): New helper method.
1993         (adjustPositionsInRange): Removed.
1994         (compare): New helper method.
1995         (createPosition): Rewritten for new datastructures. This now
1996         performs a much more efficient binary search for finding
1997         a position at the requested offste.
1998         (garbageCollect): Rewritten to collect unused marks.
1999         (getPositionsInRange): Adjusted for new data structures.
2000         (removeImpl): New helper method.
2001         (replace): Use new addImpl() and removeImpl() helper method for
2002         correctly adjusting the positions and gap.
2003         (search): Rewritten. Implements a more suitable binary search.
2004         (searchFirst): New helper method.
2005         (setPositionsInRange): Removed.
2006         (shiftEnd): Update the marks here.
2007         (shiftGap): Update the marks here.
2008         (shiftGapEndUp): Update the marks here.
2009         (shiftGapStartDown): Update the marks here.
2010
2011 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2012
2013         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2014         digest algorithm implementations.
2015         (readSignatures): Parse the manifest once and reuse that data.
2016         Add support for line breaks.
2017         (verifyHashes): Use the parsed manifest entry.
2018         (readManifestEntry): Removed.
2019
2020 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2021
2022         * java/beans/beancontext/BeanContextServicesSupport.java:
2023         Added more documentation.
2024         (addService(Class,BeanContextServiceProvider,boolean)):
2025         Synchronized over global hierarchy lock.
2026         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2027         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2028         (childJustRemovedHook(Object,BCSChild)): Implemented.
2029         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2030         Implemented.
2031         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2032         Added revocation-only listeners.
2033         (getBeanContextServicesPeer()): Implemented.
2034         (getCurrentServiceClasses(Class)): Synchronized over global
2035         hierarchy lock.
2036         (getCurrentServiceSelectors(Class)): Synchronized over global
2037         hierarchy lock, and fixed FIXME.
2038         (getService(BeanContextChild,Object,Class,Object,
2039         BeanContextServiceRevokedListener)): Implemented.
2040         (hasService(Class)): Synchronized over global hierarchy lock.
2041         (releaseService(BeanContextChild,Object,Object)): Implemented.
2042         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2043         * java/beans/beancontext/BeanContextSupport.java:
2044         (remove(Object, boolean)): Documentation correction.
2045         
2046 2006-11-19  Roman Kennke  <kennke@aicas.com>
2047
2048         * javax/swing/JEditorPane.java
2049         (PageStream): New inner class.
2050         (PageLoader): New inner class.
2051         (loading): New field.
2052         (setPage): Implemented asynchronous loading.
2053         * javax/swing/text/DefaultStyledDocument.java
2054         (ElementBuffer.create): New helper method.
2055         (create): Use new ElementBuffer method instead of hack.
2056         * javax/swing/text/html/HTMLDocument.java
2057         (HTMLReader.flushImpl): New helper method.
2058         (HTMLReader.addContent): Use flushImpl().
2059         (HTMLReader.blockClose): Added null check.
2060         (HTMLReader.flush): Use flushImpl().
2061         * javax/swing/text/html/HTMLEditorKit.java
2062         (createDefaultDocument): Set load priority to 4 and token threshold
2063         to 100.
2064         * javax/swing/text/html/TableView.java
2065         (insertUpdate): Overridden to provide correct view factory.
2066         (removeUpdate): Overridden to provide correct view factory.
2067         (changedUpdate): Overridden to provide correct view factory.
2068
2069 2006-11-19  Roman Kennke  <kennke@aicas.com>
2070
2071         * javax/swing/text/BoxView.java
2072         (clipRect): New field.
2073         (tmpRect): New field.
2074         (layout): Reorganized code. Now uses layoutAxis() helper method.
2075         (layoutAxis): New helper method.
2076         (paint): Optimized by using cached Rectangle objects and
2077         a binary search for child views inside the clip.
2078         * javax/swing/text/CompositeView.java
2079         (insideAllocation): Made private and initialized in constructor.
2080         (getInsideAllocation): Removed initialization block for
2081         insideAllocation field. Avoid unnecessary allocations.
2082         * javax/swing/text/GlyphView.java
2083         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2084         The remaining stuff (background, underline and striking) is
2085         done in the GlpyhView itself. Avoid unnecessary allocations.
2086         (cached): A cached Segment instance.
2087         (getText): Return cached segment.
2088         (paint): Paint underline, strike and background here. Avoid
2089         unecessary allocs.
2090
2091 2006-11-19  Roman Kennke  <kennke@aicas.com>
2092
2093         * javax/swing/text/html/StyleSheet.java
2094         (getFontSize): Removed debug output.
2095         (ListPainter.tmpRect): New field.
2096         (ListPainter.paint): Align bullet vertically centered to
2097         the first line of the paragraph.
2098
2099 2006-11-17  Roman Kennke  <kennke@aicas.com>
2100
2101         * gnu/javax/swing/text/html/css/CSSParser.java
2102         (parseDeclaration): Trim string before reporting.
2103         * gnu/javax/swing/text/html/css/FontSize.java
2104         (size): New field.
2105         (isRelative): New field.
2106         (sizeIndex): New field.
2107         (FontSize): Initialize new fields.
2108         (getValue): Changed to call getValue(int).
2109         (getValue(int)): New method. Implements relative font sizes.
2110         (isRelative): New method.
2111         (mapAbsolute): Store index.
2112         (mapEM): New helper method.
2113         (mapLarger): New helper method.
2114         (mapPercent): New helper method.
2115         (mapRelative): New helper method.
2116         (mapSmaller): New helper method.
2117         (mapValue): New helper method.
2118         * javax/swing/text/html/CSS.java
2119         (parseBackgroundShorthand): Create CSSColor directly.
2120         * javax/swing/text/html/StyleSheet.java
2121         (addRule): Invalidate resolved styles.
2122         (getFont): Call new getFontSize() method to resolve relative
2123         font sizes.
2124         (getFontSize): New helper method. Resolves relative font sizes.
2125         (translateHTMLToCSS): Create CSS objects directly.
2126
2127 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2128
2129         * gnu/java/util/regex/RETokenNamedProperty.java:
2130         (getHandler(String)): Add support for 'all'.
2131
2132 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2133
2134         * gnu/javax/management/Server.java:
2135         Initial implementation of a GNU management server.
2136         * javax/management/MBeanPermission.java,
2137         * javax/management/MBeanRegistration.java,
2138         * javax/management/MBeanTrustPermission.java:
2139         Implemented.
2140         
2141 2006-11-17  Mark Wielaard  <mark@klomp.org>
2142
2143         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2144
2145 2006-11-17  Gary Benson  <gbenson@redhat.com>
2146
2147         * java/net/DatagramSocket.java (getLocalAddress, connect,
2148         receive): Perform security check on address not hostname.
2149
2150 2006-11-16  Roman Kennke  <kennke@aicas.com>
2151
2152         * gnu/javax/swing/text/html/parser/support/Parser.java
2153         (_handleText): Fixed condition for consuming whitespace.
2154         Removed validator check, this is superfluous now.
2155
2156 2006-11-16  Roman Kennke  <kennke@aicas.com>
2157
2158         * gnu/javax/swing/text/html/css/CSSParser.java
2159         (parseRuleset): Support 'combined' selectors.
2160         (main): Adapt callback for combined selectors support.
2161         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2162         (startStatement): Take selector array as argument, to
2163         support combined selectors.
2164         * javax/swing/text/html/BlockView.java
2165         (calculateMinorAxisRequirements): Fetch and apply alignment.
2166         * javax/swing/text/html/StyleSheet.java
2167         (CSSStyle): Inverted the constants for correct precedence.
2168         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2169         styles.
2170         (CSSStyleSheetParserCallback.style): Removed.
2171         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2172         (CSSStyleSheetParserCallback.end): Push multiple styles.
2173         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2174
2175 2006-11-16  Roman Kennke  <kennke@aicas.com>
2176
2177         * javax/swing/text/FlowView.java
2178         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2179         * javax/swing/text/GlyphView.java
2180         (tabExpander): New field.
2181         (tabX): New field.
2182         (breakView): Set tabX on broken view.
2183         (getPartialSpan): Let the painter fetch the span.
2184         (getTabbedSpan): Update the tab expander field. Maybe trigger
2185         relayout.
2186         (getTabExpander): Simply return the stored expander.
2187         * javax/swing/text/Utilities.java
2188         (getTabbedTextOffset): Made algoritm a little smarter and more
2189         efficient.
2190         (getTabbedTextWidth): Don't add single char widths, instead add
2191         chunks of characters.
2192         * javax/swing/text/html/ParagraphView.java
2193         (calculateMinorAxisRequirements): Adjust margin only when the
2194         CSS span is not fixed.
2195
2196 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2197
2198         * java/beans/beancontext/BeanContextSupport.java
2199         (getChildBeanContextMembershipListener): Implemented,
2200         (getChildPropertyChangeListener): Implemented,
2201         (getChildSerializable): Implemented,
2202         (getChildVetoableChangeListener): Implemented,
2203         (getChildVisibility): Implemented,
2204         (setDesignTime): Use same property name as Sun's implementation.
2205
2206 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2207
2208         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2209         * java/beans/Statement.java
2210         (toString): Updated to match reference implementation.
2211
2212 2006-11-15  Roman Kennke  <kennke@aicas.com>
2213
2214         * javax/swing/text/html/HTMLEditorKit.java
2215         (InsertHTMLTextAction.actionPerformed): Also try inserting
2216         the alternate tag. Adjust the selection accordingly.
2217         (InsertHTMLTextAction.adjustSelection): New helper method.
2218         Adjusts the selection after an insertion.
2219         (insertAtBoundary): Delegate to deprecated method.
2220         (insertAtBoundry): Implemented missing method.
2221         (tryInsert): New helper method.
2222         (defaultActions): Implemented to fill the array with
2223         a couple of InsertHTMLTextActions.
2224
2225 2006-11-15  Roman Kennke  <kennke@aicas.com>
2226
2227         * javax/swing/text/html/ImageView.java
2228         (Observer): New class. Observes image loading.
2229         (haveHeight): New field.
2230         (haveWidth): New field.
2231         (height): New field.
2232         (width): New field.
2233         (image): New field.
2234         (imageIcon): New field.
2235         (loading): New field.
2236         (observer): New field.
2237         (reloadImage): New field.
2238         (reloadProperties): New field.
2239         (ImageView): Initialize observer and some flags.
2240         (getImage): Update the image state and return the image.
2241         (loadImage): New helper method. Actually starts loading.
2242         (paint): Rewritten to paint the image directly, not via Icon.
2243         (reloadImage): Rewritten. Loads the image and its properties.
2244         (renderIcon): Removed. No more necessary.
2245         (setPropertiesFromAttributes): Don't nullify image here.
2246         Added comment about missing impl.
2247         (setSize): Added comment about missing impl.
2248         (updateSize): New helper method. Updates the size attributes.
2249         (updateState): New helper method. Makes sure the image
2250         and its properties are valid.
2251
2252 2006-11-15  Roman Kennke  <kennke@aicas.com>
2253
2254         * gnu/javax/swing/text/html/parser/support/Parser.java
2255         (_handleEndTag_remaining): Consume whitespace after a closing
2256         block like tag.
2257
2258 2006-11-15  Roman Kennke  <kennke@aicas.com>
2259
2260         * javax/swing/text/html/HTMLDocument.java
2261         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2262         directly.
2263         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2264         directly.
2265         (HTMLReader.parseStack): Removed.
2266         (HTMLReader.blockClose): Simply call addContent() with ' '
2267         instead of doing more complicated stuff. Removed parseStack
2268         handling.
2269         (HTMLReader.blockOpen): Removed parseStack handling.
2270         (getInsertingReader): Removed parseStack init.
2271         * gnu/javax/swing/text/html/parser/htmlValidator.java
2272         (closeTag): Return true only when the tag actually should be
2273         closed.
2274         * gnu/javax/swing/text/html/parser/support/Parser.java
2275         (_handleEndTag): Only actually close the tag when the validator
2276         allows it.
2277
2278 2006-11-15  Roman Kennke  <kennke@aicas.com>
2279
2280         * javax/swing/text/html/CSS.java
2281         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2282         attribute.
2283         * javax/swing/text/html/StyleSheet.java
2284         (BoxPainter.bottomPadding): New field.
2285         (BoxPainter.leftPadding): New field.
2286         (BoxPainter.rightPadding): New field.
2287         (BoxPainter.topPadding): New field.
2288         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2289         too.
2290         (BoxPainter.getInset): Recognize and include the padding.
2291         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2292          javax/swing/text/html/TableView.java
2293         (RowView.calculateMajorAxisRequirements): Adjust req's for
2294         cellSpacing.
2295         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2296         (cellSpacing): New field.
2297         (columnRequirements): Made package private to avoid accessor method.
2298         (calculateMinorAxisRequirements): Include cellSpacing.
2299         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2300         (layoutMajorAxis): Likewise.
2301         (layoutColumns): Respect cellSpacing.
2302         (setParent): Overridden to fetch the CSS attributes when view gets
2303         connected.
2304         (setPropertiesFromAttributes): New method. Fetches the cell
2305         spacing from the CSS attributes.
2306
2307 2006-11-15  Roman Kennke  <kennke@aicas.com>
2308
2309         * gnu/javax/swing/text/html/parser/support/Parser.java
2310         (_handleText): Consume whitespace directly before a closing tag.
2311         (restOfTag): Consume whitespace directly after opening.
2312         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2313         (preprocess): Don't perform array boundary checking by
2314         catch AIOOBE, instead check the boundary in loop condition.
2315         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2316         (TAG_CLOSE): New constants. Describes the token pattern for
2317         a closing tag.
2318
2319 2006-11-14  Roman Kennke  <kennke@aicas.com>
2320
2321         * javax/swing/text/html/ImageView.java
2322         (getPreferredSpan): Use CSS length values.
2323         * javax/swing/text/html/TableView.java
2324         (CellView.calculateMajorAxisRequirements): Overridden to
2325         set the maximum reqs to maximum.
2326         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2327         span to maximum.
2328         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2329         the total column reqs.
2330         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2331         the total column reqs.
2332         * gnu/javax/swing/text/html/css/CSSColor.java
2333         (convertValue): Catch NumberFormatExceptions for more robustness.
2334         * gnu/javax/swing/text/html/css/FontSize.java
2335         (mapPixels): Actually map px values. Catch NFE for more robustness.
2336
2337 2006-11-14  Roman Kennke  <kennke@aicas.com>
2338
2339         * gnu/java/awt/font/autofit/AxisHints.java,
2340         * gnu/java/awt/font/autofit/Constants.java,
2341         * gnu/java/awt/font/autofit/GlyphHints.java,
2342         * nu/java/awt/font/autofit/Latin.java,
2343         * nu/java/awt/font/autofit/LatinAxis.java,
2344         * gnu/java/awt/font/autofit/LatinMetrics.java,
2345         * gnu/java/awt/font/autofit/Scaler.java,
2346         * gnu/java/awt/font/autofit/Script.java,
2347         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2348         * gnu/java/awt/font/autofit/Segment.java,
2349         * gnu/java/awt/font/autofit/Width.java:
2350         New classes. This is some skeleton stuff for the FreeType-alike
2351         auto-gridfitter.
2352         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2353         * gnu/java/awt/font/opentype/OpenTypeFont.java
2354         (unitsPerEm): Made field public.
2355         (getRawGlyphOutline): New method. Fetches the raw outline.
2356         * gnu/java/awt/font/opentype/Scaler.java
2357         (getRawGlyphOutline): New method. Fetches the raw outline.
2358         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2359         (loadGlyph): New method. This is used to load raw outlines.
2360         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2361         (getRawOutline): New method. Fetches the raw outline.
2362         * gnu/java/awt/font/opentype/truetype/Zone.java:
2363         Made class public.
2364
2365 2006-11-14  Roman Kennke  <kennke@aicas.com>
2366
2367         * javax/swing/RepaintManager.java
2368         (RepaintManager): Fetch the default state for the double buffering
2369         from a system property gnu.swing.doublebuffering.
2370
2371 2006-11-14  Roman Kennke  <kennke@aicas.com>
2372
2373         * javax/swing/plaf/basic/BasicLabelUI.java
2374         (cachedInsets): New field.
2375         (getFontMetrics): New helper method. Fetches the font metrics
2376         from the component or the toolkit.
2377         (getPreferredSize): Use getFontMetrics() helper method for
2378         fetching the font metrics.
2379         (paint): Use getFontMetrics() helper method for
2380         fetching the font metrics. Only paint if icon or text
2381         are != null. Use cached insets.
2382         (paintDisabledText): Don't store/restore color object. The
2383         JComponent painting mechanism takes care of this by calling
2384         create().
2385         (paintEnabledText): Don't store/restore color object. The
2386         JComponent painting mechanism takes care of this by calling
2387         create().
2388
2389 2006-11-14  Roman Kennke  <kennke@aicas.com>
2390
2391         * gnu/java/awt/peer/GLightweightPeer.java
2392         (handleEvent): Try to do something reasonable and trigger painting
2393         for the lightweight component.
2394         (getFontMetrics): Fetch and return a font metrics object from
2395         the Toolkit.
2396
2397 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2398
2399         * gnu/java/util/regex/RETokenNamedProperty.java:
2400         (getHandler(String)): Add support for 'all'.
2401         
2402 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2403
2404         * AUTHORS: Add myself.
2405
2406 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2407
2408         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2409         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2410         Roman Kennke's entry.
2411
2412 2006-11-13  Roman Kennke  <kennke@aicas.com>
2413
2414         * java/awt/image/IndexColorModel.java
2415         (createCompatibleSampleModel): Implemented missing method.
2416
2417 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2418
2419         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2420         from big endian systems correctly.
2421
2422 2006-11-11  Roman Kennke  <kennke@aicas.com>
2423
2424         * gnu/javax/swing/text/html/css/CSSColor.java
2425         (isValidColor): New helper method. Checks strings if they
2426         form a valid color value.
2427         * gnu/javax/swing/text/html/css/Length.java
2428         (Length): Catch number format exceptions.
2429         * javax/swing/text/html/CSS.java
2430         (addInternal): New method. Checks for shorthand CSS attributes
2431         and parses them.
2432         (parseBackgroundShorthand): New method. Parses the background
2433         shorthand attribute.
2434         * javax/swing/text/html/HTMLDocument.java
2435         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2436         (HTMLReader.LinkAction.start): Implemented to load the linked
2437         stylesheet.
2438         (HTMLReader.LinkAction.end): Removed. This is not needed.
2439         * javax/swing/text/html/StyleSheet.java
2440         (CSSStyleSheetParserCallback.declaration): Push declaration
2441         through CSS.addInternal() to parse shorthand attributes.
2442         (addCSSAttribute): Push declaration through CSS.addInternal()
2443         to parse shorthand attributes.
2444         (importStyleSheet): Implemented. This adds a stylesheet from
2445         an URL.
2446         * javax/swing/text/html/TableView.java
2447         (calculateColumnRequirements): Increase column index for
2448         non CellView children to avoid endless loop.
2449         * javax/swing/text/CompositeView.java
2450         (setParent): Comparen with numChildren not with real arraylength.
2451
2452 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2453
2454         * java/beans/beancontext/BeanContextSupport.java
2455         (getChildBeanContextChild): Implemented.
2456
2457 2006-11-10  Roman Kennke  <kennke@aicas.com>
2458
2459         * javax/swing/text/View.java
2460         (updateLayout): Only repaint when needed.
2461
2462 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2463
2464         * java/util/Collections.java
2465         (sort(List)): Minor API doc addition,
2466         (sort(List, Comparator)): Likewise.
2467
2468 2006-11-10  David Fu  <fchoong@netbeans.jp>
2469
2470         * javax/swing/text/html/HTMLWriter.java
2471         (traverse): Removed Classpath specific handling of implied
2472         tags.
2473         (traverseHtmlFragment): Removed Classpath specific handling of
2474         implied tags.
2475
2476 2006-11-10  Roman Kennke  <kennke@aicas.com>
2477
2478         * javax/swing/text/ParagraphView.java
2479         (Row.getMaximumSize): Removed. This method is not necessary.
2480         * javax/swing/text/html/TableView.java
2481         (CellView): Moved attribute init to setPropertiesFromAttributes().
2482         (setPropertiesFromAttributes): Fetch attributes here.
2483         (RowView.RowView): Documented.
2484         (RowView.getMaximumSpan): Overridden to restrict the max span
2485         in the Y direction.
2486         (RowView.layoutMajorAxis): Correctly layout the spans.
2487         (columnWidths): New field. Stores the width attributes of
2488         the columns.
2489         (calculateColumnRequirements): Added support for relative
2490          (== percent) width attributes.
2491         (calculateMajorAxisRequirements): Removed.
2492         (calculateMinorAxisRequirements): Removed unnecessary code.
2493         (getMaximumSpan): Overridden to restrict the table's width.
2494         (layoutColumns): Documented. Implement more clever table layout,
2495         i.e. for relative columns etc.
2496         (layoutMinorAxis): Don't mark rows invalid.
2497         (updateGrid): Added docs. Initialize column widths.
2498
2499 2006-11-09  Roman Kennke  <kennke@aicas.com>
2500
2501         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2502         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2503         Implement basic headless toolkit.
2504         * java/awt/Toolkit.java
2505         (getDefaultToolkit): Check headless property and create
2506         headless toolkit when true.
2507
2508 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2509 2006-11-09  Roman Kennke  <kennke@aicas.com>
2510
2511         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2512         (SwingButton.button): New field.
2513         (SwingButton.SwingButton): Added constructor.
2514         (SwingButton.isShowing): Access button field instead of
2515         the surrounding class.
2516         (SwingButton.getParent): Access button field instead of
2517         the surrounding class.
2518         (SwingButtonPeer): Call new SwingButton constructor.
2519         * gnu/java/awt/peer/swing/SwingComponent.java:
2520         Several documentation updates.
2521         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2522         (currentPaintEvents): New field.
2523         (peerFont): New field.
2524         (SwingComponentPeer): Initialize currentPaintEvents fields.
2525         (coalescePaintEvents): Implemented.
2526         (dispose): Unregister peer from heavyweight list of its container.
2527         (getGraphics): Fetch graphics from parent component.
2528         (handleEvent): Discard paint event if its coalesced.
2529         (init): Register component with its container for proper painting.
2530         (paint): Call peerPaint().
2531         (peerPaint): Added argument that indicates if we should update.
2532         Call paint or update on the actual AWT component.
2533         (peerPaintComponent): New method. Paints the peer (Swing) component.
2534         (setFont): Set peerFont field.
2535         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2536         (backbuffer): New field.
2537         (focusOwner): New field.
2538         (heavyweightDescendents): New field.
2539         (SwingContainerPeer): Take Container as argument. Don't call init
2540         yet.
2541         (addHeavyweightDescendent): New method.
2542         (getFocusOwner): New helper method.
2543         (getInsets): Delegate to insets().
2544         (handleKeyEvent): Dispatch event to focus owner.
2545         (handleMouseEvent): Dispatch to child component.
2546         (isDoubleBuffering): New helper method.
2547         (peerPaint): Overridden to implement container painting with
2548         double buffering.
2549         (peerPaintChildren): New method. Paints the descendents of this
2550         container.
2551         (removeHeavyweightDescendent): New helper method.       
2552         * gnu/java/awt/peer/swing/SwingFramePeer.java
2553         (peerPaint): Removed.
2554         (peerPaintComponent): Overridden to paint the menu bar.
2555         * gnu/java/awt/peer/swing/SwingLabelPeer.java
2556         (SwingLabel.label): New field.
2557         (SwingLabel.SwingLabel): Added constructor with Label argument.
2558         (SwingLabel.getGraphics): Implemented to fetch the graphics from
2559         the actual AWT component.
2560         (SwingLabel.getParent): Implemented to fetch the parent from
2561         the AWT component.
2562         (SwingLabel.isShowing): Access the label field.
2563         (SwingLabelPeer): Set alignment from label.
2564         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2565         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2566         fixlet.
2567         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2568         Don't be a lighweight peer.
2569         (SwingPanelPeer): Call init.
2570         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2571         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2572         (SwingTextField.textField): New field.
2573         (SwingTextField.SwingTextField): New constructor.
2574         (SwingTextField.isShowing): Access field not enclosing class.
2575         (SwingTextField.getGraphics): New method.
2576         (SwingTextField.getParent): New method.
2577         (SwingTextFieldPeer): Call new constructor.
2578         (select): Renamed arguments.
2579         * gnu/java/awt/peer/swing/SwingWindowPeer.java
2580         (SwingWindowPeer): Call init.
2581
2582 2006-11-09  Tania Bento  <tbento@redhat.com>
2583
2584         * javax/swing/JLabel.java
2585         (JLabel(Icon)): Changed documentation; Changed text to null.
2586         (JLabel(Icon,int)): Likewise.
2587         (JLabel(text)): Changed documenation.
2588         (JLabel(text,int)): Likewise.
2589         (JLabel(text,Icon,int)): Changed documentation; Throw 
2590         IllegalArgumentException if int is not one of LEFT, RIGHT,
2591         CENTER, LEADING or TRAILING.
2592
2593 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2594
2595         * java/beans/beancontext/BeanContextSupport.java
2596         (BeanContextSupport): Use correct dtime default,
2597         (BeanContextSupport(BeanContext)): Likewise,
2598         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2599         locale argument,
2600         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2601         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2602
2603 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2604
2605         * java/beans/beancontext/BeanContextSupport.java
2606         (getBeanContextPeer): Implemented.
2607
2608 2006-11-09  Roman Kennke  <kennke@aicas.com>
2609
2610         * javax/swing/text/html/BlockView.java
2611         (cssHeight): Removed.
2612         (cssWidth): Removed.
2613         (cssSpans): New field. Replaces the two fields above.
2614         (BlockView): Allocate cssSpans array.
2615         (layoutMinorAxis): Fetch and use child span, not this view's span.
2616         (setCSSSpan): Adjusted to use cssSpans array.
2617         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2618
2619 2006-11-09  Roman Kennke  <kennke@aicas.com>
2620
2621         * javax/swing/text/html/InlineView.java
2622         (nowrap): New field.
2623         (getBreakWeight): Add support for nowrap.
2624         (setPropertiesFromAttributes): Fetch the nowrap setting.
2625
2626 2006-11-09  Roman Kennke  <kennke@aicas.com>
2627
2628         * gnu/javax/swing/text/html/css/CSSParser.java
2629         (parseRuleset): Use new Selector class.
2630         (parseValue): Parse multiple anys, not only one.
2631         (main): Allow stylesheet be specified on the command line.
2632         Use new Selector class.
2633         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2634         (startStatement): Use Selector class.
2635         * gnu/javax/swing/text/html/css/CSSScanner.java
2636         (readName): Actually read a character in the loop to avoid
2637         endless loop.
2638         * gnu/javax/swing/text/html/css/Length.java
2639         (getValue): Only multiply when we have a percentage value.
2640         * gnu/javax/swing/text/html/css/Selector.java:
2641         New class. Provides handling of CSS selectors.
2642         * javax/swing/text/html/StyleSheet.java
2643         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2644         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2645         (CSSStyle.PREC_NORM): New constant field.
2646         (CSSStyle.PREC_UA): New constant field.
2647         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2648         (CSSStyle.precedence): New field.
2649         (CSSStyle.priority): Removed.
2650         (CSSStyle.selector): New field.
2651         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2652         and precendence.
2653         (CSSStyle.compareTo): Adjusted to use the precedence and
2654         specificity of the selector.
2655         (CSSStyleSheetParserCallback.precedence): New field.
2656         (CSSStyleSheetParserCallback.selector): Removed.
2657         (CSSStyleSheetParserCallback.style): New field.
2658         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2659         Initialize with precedence.
2660         (CSSStyleSheetParserCallback.declaration): Don't look up
2661         existing rule, simply create new one.
2662         (CSSStyleSheetParserCallback.endStatement): Append style
2663         to stylesheet.
2664         (CSSStyleSheetParserCallback.startStatement): Use new Selector
2665         class.
2666         (css): Changed to be ArrayList.
2667         (addRule): Create parser with author-normal precendence.
2668         (getRule): Fixed implementation.
2669         (loadRules): Create parser with UA precendence.
2670         (resolveStyle): Use Selector class for resolving and matching
2671         stylesheet rules.
2672         (translateHTMLToCSS): Added mappings for a couple of HTML
2673         attributes.
2674
2675 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2676
2677         Fixes bug #29770
2678         * java/beans/SimpleBeanInfo.java
2679         (loadImage): Check for nulls.
2680
2681 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2682
2683         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2684         (getpeername): Added 16 byte offset to memcpy operation.
2685
2686 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2687
2688         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2689         (getsockname): Added 16 byte offset to memcpy operation.
2690
2691 2006-11-08  Mark Wielaard  <mark@klomp.org>
2692
2693         Fixes bug #29754
2694         * java/io/OutputStreamWriter.java
2695         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2696         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2697
2698 2006-11-08  Roman Kennke  <kennke@aicas.com>
2699
2700         * javax/swing/text/html/HTMLEditorKit.java
2701         (getParser): Use plain HTML_401F DTD.
2702         * javax/swing/text/html/HTMLDocument.java
2703         (HTMLReader.print): Removed method and all calls to it.
2704         (HTMLReader.printBuffer): Removed method and all calls to it.
2705         (HTMLReader.inImpliedParagraph): New field.
2706         (HTMLReader.inParagraph): New field.
2707         (HTMLReader.addContent): Create implied p-tag if necessary.
2708         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2709         (HTMLReader.blockClose): Close implied p-tag if necessary.
2710         (HTMLReader.blockOpen): Close implied p-tag if necessary.
2711         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2712
2713 2006-11-08  Roman Kennke  <kennke@aicas.com>
2714
2715         * javax/swing/text/html/HTMLEditorKit.java
2716         (HTMLFactory.create): Removed mapping for TD tag. This
2717         is done in TableView.
2718         * javax/swing/text/html/TableView.java:
2719         Implemented from scratch.
2720
2721 2006-11-07  Roman Kennke  <kennke@aicas.com>
2722
2723         * gnu/javax/swing/text/html/parser/support/Parser.java
2724         (_handleText): Check if text content is actually allowed before
2725         passing empty text fragments on to the parser callbacks.
2726
2727 2006-11-07  Mark Wielaard  <mark@klomp.org>
2728
2729         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2730         path.
2731         (flat): New method.
2732
2733 2006-11-07  Tania Bento  <tbento@redhat.com>
2734
2735         * java/awt/FlowLayout.java
2736         (getSize): If parent does not have a component, then a 
2737         different formula is used to calcuate the width.
2738
2739 2006-11-07  Roman Kennke  <kennke@aicas.com>
2740
2741         * javax/swing/text/html/HTMLEditorKit.java
2742         (HTMLFactory.create): Include ListView.
2743         * javax/swing/text/html/ListView.java
2744         (paint): Removed comment.
2745         * javax/swing/text/html/StyleSheet.java
2746         (CSSStyle.priority): New field.
2747         (CSSStyle.CSSStyle(int)): New constructor with priority.
2748         (CSSStyle.compareTo): New method. Used for sorting the styles.
2749         (CSSStyleSheetParserCallback.declaration): Store the style
2750         with the complete selector.
2751         (ListPainter.attributes): Renamed as field.
2752         (ListPainter.styleSheet): New field.
2753         (ListPainter.type): New field.
2754         (ListPainter.ListPainter): Pass StyleSheet to constructor.
2755         (ListPainter.paint): Provide simplistic implementation.
2756         (getListPainter): Pass StyleSheet to constructor.
2757         (resolveStyle): Fixed CSS style resolving.
2758
2759 2006-11-07  Roman Kennke  <kennke@aicas.com>
2760
2761         * gnu/javax/swing/text/html/css/BorderWidth.java:
2762         New class. Handles CSS border width values.
2763         * gnu/javax/swing/text/html/css/Length.java
2764         (floatValue): Made protected so that BorderWidth can access it.
2765         * javax/swing/text/html/CSS.java
2766         (Attribute.BORDER_BOTTOM_COLOR): New static field.
2767         (Attribute.BORDER_BOTTOM_STYLE): New static field.
2768         (Attribute.BORDER_LEFT_COLOR): New static field.
2769         (Attribute.BORDER_LEFT_STYLE): New static field.
2770         (Attribute.BORDER_RIGHT_COLOR): New static field.
2771         (Attribute.BORDER_RIGHT_STYLE): New static field.
2772         (Attribute.BORDER_TOP_COLOR): New static field.
2773         (Attribute.BORDER_TOP_STYLE): New static field.
2774         (getValue): Added some mappings for the border color and
2775         border width values.
2776         * javax/swing/text/html/CSSBorder.java: New class. Implements
2777         CSS borders.
2778         * javax/swing/text/html/StyleSheet.java
2779         (BoxPainter.background): New field.
2780         (BoxPainter.border): New field.
2781         (BoxPainter.bottomInset): Documented.
2782         (BoxPainter.leftInset): Documented.
2783         (BoxPainter.rightInset): Documented.
2784         (BoxPainter.topInset): Documented.
2785         (BoxPainter.BoxPainter): Added support for borders and background.
2786         (BoxPainter.getInset): Add border insets.
2787         (BoxPainter.paint): Implemented. Paints the background and the
2788         CSS border.
2789         (addRule): Be less picky about parse and IO exceptions.
2790         (getBoxPainter): Adjust to new BoxPainter constructor.
2791
2792 2006-11-07  Andreas  <a.tobler@schweiz.org>
2793
2794         * examples/Makefile.am: Add rule to install the *.html files we use
2795         in the Swing Demo.
2796
2797 2006-11-06  Francis Kung  <fkung@redhat.com>
2798
2799         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2800         (fillRect): Handle custom composites.
2801         (drawRenderedImage): Handle custom composites.
2802         (drawImage): Handle custom composites.
2803         (createBuffer): New method.
2804         (drawLine): Handle custom composites.
2805         (drawComposite): New method.
2806         (fill): Handle custom composites.
2807         (getNativeCM): New method.
2808         (drawGlyphVector): Handle custom composites.
2809         (drawRect): Handle custom composites.
2810         (draw): Handle custom composites.
2811         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
2812         (drawComposite): Unset composite during draw call, to prevent parent
2813         from handling composite again.
2814         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2815         (getBufferCM): Added comments.
2816         (getNativeCM): Made abstract.
2817         (setComposite): Removed comments.
2818
2819 2006-11-06  Roman Kennke  <kennke@aicas.com>
2820
2821         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2822         Fixed initial window size and start document.
2823
2824 2006-11-06  Roman Kennke  <kennke@aicas.com>
2825
2826         * javax/swing/text/html/HTMLDocument.java
2827         (HTMLReader.addSpecialElement): Removed comment about
2828         htmlAttributeSet.
2829         (HTMLReader.handleComment): Create SimpleAttributeSet instead
2830         of htmlAttributeSet.
2831         * javax/swing/text/html/parser/DocumentParser.java
2832         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2833         of htmlAttributeSet.
2834         * javax/swing/text/html/parser/ParserDelegator.java
2835         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2836         of htmlAttributeSet.
2837         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
2838         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
2839         of htmlAttributeSet.
2840         * gnu/javax/swing/text/html/parser/support/Parser.java
2841         (getAttributes): Return a SimpleAttributeSet.
2842         (restOfTag): Don't set resolving parent here.
2843
2844 2006-11-06  Tania Bento  <tbento@redhat.com>
2845
2846         * java/awt/TextComponent.java
2847         (setSelectionStart): Added check.
2848
2849 2006-11-06  Tania Bento  <tbento@redhat.com>
2850
2851         * java/awt/TextField.java
2852         (minimumSize(int)): Check if minimum size has been previously
2853         set and changed values of Dimension returned if peer == null.
2854         (preferredSize(int)): Check if preferred size has been previously
2855         set and changed values of Dimension returned if peer == null.
2856
2857 2006-11-06  Roman Kennke  <kennke@aicas.com>
2858
2859         * javax/swing/JTree.java
2860         (TreeModelHandler.treeNodesRemoved): Implemented.
2861         (TreeModelHandler.treeStructureChanged): Implemented.
2862         (nodeStates): Made package private.
2863
2864 2006-11-06  Francis Kung  <fkung@redhat.com>
2865
2866         PR 29420
2867         * javax/swing/JTree.java
2868         (clearSelectionPathStates): New private method to clean up nodeStates.
2869         (removeSelectionPath): Call clearSelectionPathStates().
2870         (removeSelectionPaths): Call clearSelectionPathStates().
2871         (removeSelectionRow): Call clearSelectionPathStates().
2872         (setSelectionPath): Call clearSelectionPathStates().
2873         (setSelectionPaths): Call clearSelectionPathStates().
2874         (setSelectionRow): Call clearSelectionPathStates().
2875
2876 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
2877
2878         Fixes bug #29703
2879         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2880
2881 2006-11-06  Roman Kennke  <kennke@aicas.com>
2882
2883         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
2884         Changed to implement a minimalistic browser.
2885         * examples/gnu/classpath/examples/swing/forms.html,
2886         * examples/gnu/classpath/examples/swing/textstyles.html,
2887         * examples/gnu/classpath/examples/swing/welcome.html:
2888         Some example content.
2889
2890 2006-11-06  Roman Kennke  <kennke@aicas.com>
2891
2892         * javax/swing/text/ComponentView.java
2893         (setParent): Lock the document and repaint the hosting
2894         container.
2895         * javax/swing/text/FlowView.java
2896         (FlowStrategy.createView): Removed comment.
2897         (FlowView): Initialize span with Short.MAX_VALUE.
2898         (getFlowStart): Return 0 unconditionally.
2899         (layout): Moved code around to make it more readable.
2900         (loadChildren): Always set the parent.
2901         * javax/swing/text/GlyphView.java
2902         (DefaultGlyphPainter.fontMetrics): New field.
2903         (DefaultGlyphPainter.getAscent): Use new helper method to
2904         synchronize the font metrics.
2905         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
2906         to synchronize the font metrics.
2907         (DefaultGlyphPainter.getDescent): Use new helper method to
2908         synchronize the font metrics.
2909         (DefaultGlyphPainter.getHeight): Use new helper method to
2910         synchronize the font metrics.
2911         (DefaultGlyphPainter.getSpan): Use new helper method to
2912         synchronize the font metrics.
2913         (DefaultGlyphPainter.modelToView): Use new helper method to
2914         synchronize the font metrics.
2915         (DefaultGlyphPainter.updateFontMetrics): New helper method for
2916         font metrics caching.
2917         (DefaultGlyphPainter.viewToModel): Use new helper method to
2918         synchronize the font metrics. Fixed view to model mapping.
2919         * javax/swing/text/View.java
2920         (removeAll): Pass null to replace().
2921         (setParent): Only reparent children that have this view as parent.
2922
2923 2006-11-05  Mark Wielaard  <mark@klomp.org>
2924
2925         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
2926         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
2927         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
2928         Removed.
2929         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
2930         Removed.
2931         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
2932         Remove gnu_java_nio_channels_FileChannelImpl.c.
2933
2934 2006-11-03  Roman Kennke  <kennke@aicas.com>
2935
2936         * javax/swing/text/html/BlockView.java
2937         (attributes): New field.
2938         (cssHeight): New field.
2939         (cssWidth): New field.
2940         (painter): New field.
2941         (calculateMajorAxisRequirements): Overridden to account for
2942         CSS settings.
2943         (calculateMinorAxisRequirements): Overridden to account for
2944         CSS settings.
2945         (layoutMinorAxis): Overridden to account for CSS settings.
2946         (changedUpdate): Formatting fixlet.
2947         (constrainSize): New helper method.
2948         (getAlignment): Fix alignment.
2949         (getAttributes): Cache attributes for better performance.
2950         (getStyleSheet): Fetch stylesheet from document rather than creating
2951         a new one.
2952         (paint): Remove comment.
2953         (setCSSSpan): New helper method.
2954         (setPropertiesFromAttributes): Implemented to fetch the
2955         recognized properties.
2956         * javax/swing/text/html/CSS.java
2957         (getValue): Added mapping for width and height attributes.
2958         * javax/swing/text/html/InlineView.java
2959         (longestWord): New field.
2960         (getLongestWord): New helper method.
2961         (calculateLongestWord): New helper method.
2962         (getMinimumSpan): Overridden to constrain the minimum span by the
2963         longest word.
2964         * javax/swing/text/html/ParagraphView.java
2965         (cssHeight): New field.
2966         (cssWidth): New field.
2967         (calculateMinorAxisRequirements): Overridden to account for
2968         CSS settings.
2969         (setCSSSpan): New helper method.
2970         (setPropertiesFromAttributes): Fetch CSS width and height. Added
2971         null check.
2972         * gnu/javax/swing/text/html/css/Length.java
2973         (percentage): New field.
2974         (Length): Determine percentage values.
2975         (getValue(float)): New method for handling percentage values.
2976         (isPercentage): New method.
2977
2978 2006-11-03  Tania Bento  <tbento@redhat.com>
2979
2980         * java/awt/TextArea.java
2981         (getMinimumSize): Changed documentation.
2982         (getPreferredSize): Changed documentation.
2983         (getMinimumSize(int,int)): Changed documenation.
2984         (getPreferredSize(int,int)): Changed documenation.
2985         (minimumSize): Changed documentation.
2986         (preferredSize): Changed documenation.
2987         (minimumSize(int,int)): Changed documentation.  Checked if 
2988         minimum size had been previously set and changed values of
2989         Dimension returned if peer == null.
2990         (preferredSize(int, int)): Checked if preferred size had been
2991         previously set and changed values of Dimension returned if
2992         peer = null.
2993
2994 2006-11-03  Tania Bento  <tbento@redhat.com>
2995
2996         * java/awt/event/ComponentEvent.java
2997         (paramString): Changed format of string representation returned.
2998
2999 2006-11-03  Roman Kennke  <kennke@aicas.com>
3000
3001         * javax/swing/text/html/HTMLDocument.java
3002         (HTMLReader.FormAction.start): Added support for textarea.
3003         (HTMLReader.FormAction.end): Added support for textarea.
3004         (HTMLReader.HeadAction.end): Call super to actually close the
3005         block.
3006         (HTMLReader.inTextArea): New field.
3007         (HTMLReader.textAreaDocument): New field.
3008         (HTMLReader.handleText): Call textAreaContent when inside
3009         a textarea tag.
3010         (HTMLReader.textAreaContent): Implemented to initialize
3011         the text area's model.
3012         * javax/swing/text/html/FormView.java
3013         (createComponent): Added support for textarea tag.
3014
3015 2006-11-03  Roman Kennke  <kennke@aicas.com>
3016
3017         * javax/swing/text/html/HTMLDocument.java
3018         (HTMLReader.IsindexAction.start): Implemented.
3019
3020 2006-11-03  Roman Kennke  <kennke@aicas.com>
3021
3022         * javax/swing/text/html/StyleSheet.java
3023         (addRule): Implemented.
3024         * javax/swing/text/html/HTMLDocument.java
3025         (HTMLReader.inStyleTag): New field.
3026         (HTMLReader.styles): New field.
3027         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3028         if any.
3029         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3030         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3031         (HTMLReader.handleText): When inside a style tag, add
3032         content to the styles array.
3033
3034 2006-11-02  Roman Kennke  <kennke@aicas.com>
3035
3036         * javax/swing/text/html/FormView.java
3037         (maxIsPreferred): New field.
3038         (createComponent): Initialize components correctly.
3039         (getMaximumSpan): Return the preferred span for components
3040         that need this. The maxIsPreferred flag is set accordingly
3041         in createComponent.
3042         * javax/swing/text/html/HTMLDocument.java
3043         (HTMLReader.FormAction.start): Implemented to set the
3044         correct model as attribute.
3045         (HTMLReader.FormAction.setModel): New helper method.
3046         (HTMLReader.FormAction.end): Call super to finish the element.
3047         Added TODO about things left to do.
3048         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3049         than htmlAttributeSet.
3050         * javax/swing/text/html/HTMLEditorKit.java
3051         (HTMLFactory.create): Create BlockView for FORM tags.
3052         Create FormView for INPUT, TEXTAREA and SELECT tags.
3053
3054 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3055
3056         * java/awt/geom/GeneralPath.java: API doc fixes.
3057
3058 2006-11-02  Roman Kennke  <kennke@aicas.com>
3059
3060         * javax/swing/text/html/ImageView.java
3061         (getImageURL): Fetch attribute from element. Consider the
3062         base URL for relative image locations.
3063
3064 2006-11-02  Roman Kennke  <kennke@aicas.com>
3065
3066         * javax/swing/JEditorPane.java
3067         (setContentType): Strip off attributes.
3068         * javax/swing/text/html/HTMLEditorKit.java
3069         (LinkController.activateLink(int,JEditorPane,int,int): New
3070         method. Implements activation of a hyperlink.
3071         (LinkController.activateLinke(int,JEditorPane)): Delegate
3072         to the other activateLink() method.
3073         (LinkController.createHyperlinkEvent): New helper method.
3074         (LinkController.mouseClicked): Implemented to activate the link.
3075         (LinkController.mouseDragged): Added comment that this
3076         method does nothing.
3077         (LinkController.mouseMoved): Update cursor for hyperlinks.
3078         (mouseHandler): Renamed field to linkController.
3079         (HTMLEditorKit): Create a link controller.
3080         (clone): Give the clone a new link controller.
3081         (deinstall): De-install link controller as mouseMotionListener too.
3082         (install): Install link controller as mouseMotionListener too.
3083
3084 2006-11-02  Roman Kennke  <kennke@aicas.com>
3085
3086         PR 29644
3087         * javax/swing/text/FlowView.java
3088         (FlowStrategy.changedUpdate): Reversed condition. This caused
3089         wrong layout and bad performance.
3090         (FlowStrategy.insertUpdate): Reversed condition. This caused
3091         wrong layout and bad performance.
3092         (FlowStrategy.removeUpdate): Reversed condition. This caused
3093         wrong layout and bad performance.
3094         (LogicalView): Changed to be a subclass of CompositeView.
3095         (LogicalView()): Only take one Element argument.
3096         (LogicalView.childAllocation): New method for implementing
3097         the abstract CompositeView method.
3098         (LogicalView.forwardUpdateToView): Overridden for correct
3099         reparenting.
3100         (getMinimumSpan): Overridden to handle line breaking correctly.
3101         (getPreferredSpan): Implemented to handle line breaking correctly.
3102         (getViewAtPoint): New method for implementing
3103         the abstract CompositeView method.
3104         (getViewIndexAtPosition): Overridden to handle leaf elements
3105         correctly.
3106         (isAfter): New method for implementing
3107         the abstract CompositeView method.
3108         (isBefore): New method for implementing
3109         the abstract CompositeView method.
3110         (loadChildren): Overridden to handle leaf elements
3111         correctly.
3112         (paint): New method for implementing
3113         the abstract CompositeView method.
3114         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3115         (loadChildren): Initialize flow layout by sending a synthetic
3116         insertUpdate() to the layout strategy.
3117         * javax/swing/text/GlyphView.java
3118         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3119         font metrics if component is not available. Add initial offset
3120         to result.
3121         (breakView): Be more clever when breaking the view.
3122         (getBreakLocation): New helper method to determine a good
3123         break location.
3124         (getBreakWeight): Be more clever when breaking the view.
3125         (getTabbedSpan): Make sure we have a painter. Use view's
3126         start and end offset rather than the element's.
3127         * javax/swing/text/Utilities.java
3128         (drawTabbedText): Avoid useless add and sub with the y offset.
3129
3130 2006-11-02  Roman Kennke  <kennke@aicas.com>
3131
3132         PR 29644
3133         * gnu/java/awt/peer/ClasspathFontPeer.java
3134         (getStringBounds): Removed abstract method. This is replaced
3135         in java.awt.Font to use a TextLayout.
3136         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3137         (GtkWindowPeer): Set a font on the window object.
3138         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3139         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3140         Changed to take char,int,int instead of String. Filter
3141         control characters.
3142         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3143         Create char array out of string.
3144         (getLogicalBounds): Don't translate bounds. They already are
3145         translated.
3146         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3147         (stringWidth): Filter out control characters.
3148         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3149         (getStringBounds): Removed unneeded method.
3150         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3151         constructor.
3152         * gnu/java/awt/peer/qt/QtFontPeer.java
3153         (getStringBounds): Removed unneeded method.
3154         * gnu/java/awt/peer/x/XFontPeer.java
3155         (getStringBounds): Removed unneeded method.
3156         * gnu/java/awt/peer/x/XFontPeer2.java
3157         (getStringBounds): Removed unneeded method.
3158         * java/awt/Font.java
3159         (getStringBounds(char[],int,int,FontRenderContext)):
3160         Use TextLayout to determine the bounds.
3161         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3162         Delegate to the char[] version of this method.
3163         (getStringBounds(String,FontRenderContext)):
3164         Delegate to the char[] version of this method.
3165         (getStringBounds(String,int,int,FontRenderContext)):
3166         Delegate to the String version of this method.
3167
3168 2006-11-01  Tania Bento  <tbento@redhat.com>
3169
3170         * java/awt/ScrollPaneAdjustable.java
3171         (paramString): Changed format of string representation returned.
3172         (paramStringHelper): New private method.
3173
3174 2006-11-01  Tania Bento  <tbento@redhat.com>
3175
3176         * java/awt/GridBagLayout.java
3177         (toString): Implemented method.
3178
3179 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3180
3181         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3182         initialization to NP_Initialize.
3183         (NP_Initialize): Initialize GLib threading.
3184
3185 2006-10-31  Tania Bento  <tbento@redhat.com>
3186
3187         * javax/swing/JTextField.java
3188         (fireActionPerformed): When creating the new event, if
3189         actionCommand == null, then getText() is used.
3190
3191 2006-10-31  Francis Kung  <fkung@redhat.com>
3192
3193         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3194         (fillArc): Corrected arc type to Arc2D.PIE.
3195
3196 2006-10-31  Roman Kennke  <kennke@aicas.com>
3197
3198         * javax/swing/text/html/HTMLDocument.java
3199         (HTMLReader.PreAction.end): Implemented.
3200         (HTMLReader.PreAction.start): Implemented.
3201         (HTMLReader.inPreTag): New field.
3202         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3203         (HTMLReader.preContent): Implemented.
3204
3205 2006-10-31  Tania Bento  <tbento@redhat.com>
3206
3207         * javax/swing/JTextField.java
3208         (fireActionPerformed): When creating the new event, 
3209         actionCommand should be used as the command, not
3210         getText().
3211
3212 2006-10-31  Roman Kennke  <kennke@aicas.com>
3213
3214         * javax/swing/text/html/HTMLEditorKit.java
3215         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3216         HTML or Styled documents.
3217
3218 2006-10-31  David Fu  <fchoong@netbeans.jp>
3219
3220         * javax/swing/text/html/HTMLWriter.java: New class.
3221
3222 2006-10-30  Roman Kennke  <kennke@aicas.com>
3223
3224         * java/awt/dnd/DragSourceContext.java
3225         (dragExit): Use constant fields instead of 0.
3226         (updateCurrentCursor): Completed implementation.
3227
3228 2006-10-30  Roman Kennke  <kennke@aicas.com>
3229
3230         * java/awt/dnd/DragGestureRecognizer.java
3231         (resetRecognizer): Added API docs. Do not replace the events object
3232         but rather clear() it. Removed not implemented tag.
3233
3234 2006-10-30  Roman Kennke  <kennke@aicas.com>
3235
3236         * java/awt/datatransfer/DataFlavor.java
3237         (writeExternal): Remove not implemented tag.
3238
3239 2006-10-30  Roman Kennke  <kennke@aicas.com>
3240
3241         * java/awt/datatransfer/DataFlavor.java
3242         (javaFileListFlavor): Don't explicitly specify class.
3243         (plainTextFlavor): Don't explicitly specify class.
3244         (mimeType): Changed to type MimeType. Remove final.
3245         (representationClass): Remove final.
3246         (DataFlavor): Don't do anything here.
3247         (DataFlavor(Class,String,String)): Removed.
3248         (DataFlavor(Class,String)): Initialize here.
3249         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3250         (DataFlavor(String,String)): Initialize in init().
3251         (DataFlavor(String)): Initialize in init().
3252         (init): New initialization method.
3253         (getMimeType): Delegate to MimeType.toString().
3254         (getParameter(String,String)): Removed. Is now done in MimeType.
3255         (getParameter(String)): Delegate to MimeType.
3256         (getPrimaryType): Delegate to MimeType.
3257         (getRepresentationClassFromMime): Removed.
3258         (getRepresentationClassFromMimeThrows): Removed.
3259         (getSubType): Delegate to MimeType.
3260         (hashCode): Take MimeType.toString() for the hashCode.
3261         (isFlavorRemoveObjectType): Return true only when representation
3262         class is remove and serializable and the mime type is remote.
3263         (isFlavorSerializedObjectType): Return true only when representation
3264         class is serializable and the mime type is serialized.
3265         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3266         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3267         (readExternal): Implemented stub method.
3268         (writeExternal): Implemented stub method.
3269         * java/awt/datatransfer/MimeType.java: New helper class.
3270
3271 2006-10-28  Roman Kennke  <kennke@aicas.com>
3272
3273         * javax/swing/TransferHandler.java
3274         (importData): Implemented stub method. Added API docs.
3275
3276 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3277
3278         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3279         function.
3280         * native/jni/classpath/classpath_jawt.h: Likewise.
3281         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3282         initializer for surface_info_x11->depth.
3283
3284 2006-10-26  Tania Bento  <tbento@redhat.com>
3285         
3286         * java/awt/FileDialog.java:
3287         (setFile): Changed if-clause condition.
3288
3289 2006-10-25  Francis Kung  <fkung@redhat.com>
3290
3291         * include/gnu_java_nio_VMChannel.h,
3292         * include/java_net_VMNetworkInterface.h,
3293         * include/gnu_java_nio_EpollSelectorImpl.h,
3294         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3295         * include/gnu_java_nio_FileChannelImpl.h,
3296         * include/gnu_java_nio_KqueueSelectorImpl.h,
3297         * include/gnu_java_nio_VMPipe.h,
3298         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3299
3300 2006-10-25  Tania Bento  <tbento@redhat.com>
3301
3302         * java/awt/Dialog.java: Created new private variable
3303         next_dialog_number.
3304         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3305         Set cursor to default cursor.
3306         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3307         Same.
3308         (generateName): New method.
3309         (getUniqueLong): New private method.
3310         * java/awt/FileDialog.java: Created new private variable
3311         next_file_dialog_number.
3312         (setFile): If file == "", set it to null.
3313         (generateName): New method.
3314         (getUniqueLong): New private method.
3315
3316 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3317
3318         * java/net/MulticastSocket.java:
3319         (setNetworkInterface): Rewritten.
3320
3321 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3322
3323         * native/jni/java-net/javanet.h: Added declaration for
3324         _javanet_create_inetaddress.
3325         * native/jni/java-net/javanet.c:
3326         (_javanet_create_inetaddress): Removed static keyword.
3327
3328 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3329
3330         * gnu/java/net/PlainDatagramSocketImpl.java:
3331         (connect): Use VMChannel instance for connect call.
3332         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3333         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3334         (setOption): Handle multicast options.
3335         (getOption): Handle multicast options.
3336         * gnu/java/net/PlainSocketImpl.java:
3337         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3338         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3339         (setOption): Filter unappropriate options.
3340         (getOption): Filter unappropriate options.
3341         (connect): Use given SocketAddress.
3342         (close): Reset address and port.
3343         (getInetAddress): 
3344         * include/Makefile.am: Removed all occurences of
3345         gnu_java_net_VMPlainDatagramSocketImpl.h.
3346         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3347         * native/jni/java-net/Makefile.am: Removed
3348         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3349         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3350         Removed.
3351         as SocketException, declare to throw SocketException.
3352         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3353         for SocketException and ConnectException.
3354         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3355         of IOException.
3356         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3357         of IOException.
3358         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3359         (JCL_thread_interrupted): New function.
3360         (initIDs): Added initialisation for isThreadInterrupted method id.
3361         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3362         CPNET_IP_TTL to java_sockopt enum.
3363         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3364         case, handle SO_LINGER case properly.
3365         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3366         case, handle SO_LINGER case properly.
3367         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3368         function.
3369         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3370         function.
3371         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3372         function.
3373         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3374         IPV6_LEAVE_GROUP.
3375         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3376         * vm/reference/gnu/java/nio/VMChannel.java:
3377         (connect(int, byte[], int, int)): Declare to throw SocketException.
3378         (connect6): Declare to throw SocketException.
3379         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3380         (isThreadInterrupted): New method.
3381         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3382         field.
3383         (setTimeToLive): New method.
3384         (getTimeToLive): New method.
3385         (setMulticastInterface(int, InetAddress)): New method.
3386         (setMulticastInterface(int, int, Inet4Address): New method.
3387         (setMulticastInterface6(int, int, Inet6Address): New method.
3388         (setOptions): Handle SO_LINGER case.
3389         (getOptions): Add missing SO_REUSEADDR case.
3390         * java/net/Socket.java:
3391         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3392         when exception was thrown out of connect().
3393         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3394         Boolean.FALSE with Integer.valueOf(-1).
3395         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3396         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3397         * NEWS: Documented VM interface changes.
3398
3399 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3400
3401         * java/net/Inet6Address.java:
3402         (isMulticastAddress): Fixed check.
3403
3404 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3405
3406         Fixes PR29576
3407         * java/net/MulticastSocket.java:
3408         (getNetworkInterface): Return a special NetworkInterface instance
3409         if the socket's multicast interface is set to any.
3410
3411 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3412
3413         Fixes PR29576
3414         * java/net/NetworkInterface.java:
3415         (createAnyInterface): New method.
3416         (equals): Added if-statement to handle case where netif.name is null.
3417         * vm/reference/java/net/VMNetworkInterface.java:
3418         (hashCode): Rewritten.
3419         (VMNetworkInterface): New constructor.
3420
3421 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3422
3423         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3424         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3425         Add ASM_JAR to bootclasspath.
3426
3427 2006-10-24  Tania Bento  <tbento@redhat.com>
3428
3429         * java/awt/Scrollbar.java:
3430         (setLineIncrement): Removed unnecessary if-clause and if 
3431         lineIncrement == 0, then it should be set to 1, not 0.
3432         (setPageIncrement): Removed unnecessary if-clause and if
3433         pageIncrement == 0, then it should be set to 1, not 0.
3434         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3435         If maximum <= minimum, maximum should be set to mininum + 1. The
3436         actual value of maximum is maximum - visibleAmount, so I made 
3437         this change to the appropriate if-check. Remove the two unneccessary
3438         if-clauses.
3439
3440 2006-10-23  Francis Kung  <fkung@redhat.com>
3441
3442         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3443         (cairoSetFont): New method.
3444         (copy): Set font using setFont method.
3445         (setFont): Call cairoSetFont.
3446         (setup): Set font using setFont method.
3447         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3448         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3449         (install_font_peer): Removed.
3450         (cairoDrawGlyphVector): Removed call to install_font_peer.
3451         (cairoSetFont): New method.
3452
3453 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3454
3455         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3456         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3457         NativeEventLoopRunningEvent after GTK main loop start and stop.
3458         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3459         (getNextEvent): Set dispatchThread to null.
3460         (postEventImpl): Set nativeLoopRunning.
3461         (pop): Interrupt event dispatch thread.
3462         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3463
3464 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3465
3466         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3467         Added include.
3468         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3469         Likewise.
3470
3471 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3472
3473         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3474         * javax/crypto/CipherOutputStream.java: Re-implemented.
3475         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3476         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3477         decryption mode and check if it is a complete block.
3478         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3479         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3480         partially processed data into account.
3481
3482 2006-10-21  Tom Tromey  <tromey@redhat.com>
3483
3484         PR classpath/29086:
3485         * java/util/AbstractCollection.java (toArray): Removed cast.
3486
3487 2006-10-20  Tom Tromey  <tromey@redhat.com>
3488
3489         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3490         Don't use mangled class name for .h file.
3491         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3492         Don't use mangled class name for .c file.
3493         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3494         Handle classes from the default package.
3495
3496 2006-10-20  Francis Kung  <fkung@redhat.com>
3497
3498         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3499
3500 2006-10-19  Francis Kung  <fkung@redhat.com>
3501
3502         PR 29510
3503         * java/awt/image/BufferedImage.java
3504         (constructor): Updated some properties of default image types.
3505         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3506         (argb32): Updated field to match default in BufferedImage.
3507
3508 2006-10-18  Roman Kennke  <kennke@aicas.com>
3509
3510         PR 29419
3511         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3512         (copyArea): Changed size comparison to return when size == 0
3513         too.
3514         * javax/swing/JViewport.java
3515         (paintBackingStore): Check width and height of blitted area
3516         and only do blit if its > 0.
3517         (paintBlit): Check width and height of blitted area
3518         and only do blit if its > 0.
3519
3520 2006-10-18  Roman Kennke  <kennke@aicas.com>
3521
3522         PR 27091
3523         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3524         (maximize): New native method.
3525         (unmaximize): New native method.
3526         (iconify): New native method.
3527         (deiconify): New native method.
3528         (getState): Implemented.
3529         (setState): Implemented.
3530         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3531         (oldState): Rename to windowState and made protected, so that
3532         the FramePeer can access it.
3533         (postWindowEvent): Handle state change events more gently and
3534         correctly.
3535         * java/awt/Frame.java
3536         (getState): Fetch state from getExtendedState().
3537         (setExtendedState): Update the peer. Check if the state change
3538         is actually supported.
3539         (getExtendedState): Update the state from the peer.
3540         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3541         (maximize): New method.
3542         (unmaximize): New method.
3543         (iconify): New method.
3544         (deiconify): New method.
3545         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3546         (AWT_FRAME_NORMAL): New macro.
3547         (AWT_FRAME_ICONIFIED): New macro.
3548         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3549         (window_window_state_cb): Rewritten to handle window state changes
3550         more gently (mostly on the java side of the world).
3551         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3552
3553 2006-10-18  Tania Bento  <tbento@redhat.com>
3554
3555         * java/awt/CardLayout.java:
3556         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3557         its height and width if Container passed as argument is null.
3558         (gotoComponent): Consider the case where the component is not visible.
3559
3560 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3561
3562         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3563         Rename file...
3564         * resource/gnu/classpath/tools/appletviewer/messages.properties:
3565         New file.
3566         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3567         Remove file.
3568         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3569         Remove file.
3570         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3571         Likewise.
3572         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3573         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3574         Retrieve user-visible strings through Messages.getString.
3575         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3576         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3577         Likewise.
3578         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3579         Likewise.
3580         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3581         Likewise.
3582         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3583         Likewise.
3584         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3585         Likewise.
3586         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3587         Likewise.
3588
3589 2006-10-18  Roman Kennke  <kennke@aicas.com>
3590
3591         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3592         (AWT_WINDOW_OPENED): Remove unnecessary macro.
3593         (window_show_cb): Removed unnecessary function.
3594         (connect_signals): Don't connect signal for show.  *
3595         gnu/java/awt/peer/gtk/GtkWindowPeer.java
3596         (hasBeenShown): Removed. This is handled in java.awt.Window.
3597         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3598         in java.awt.Window.  * java/awt/Window.java
3599         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3600
3601 2006-10-18  Francis Kung  <fkung@redhat.com>
3602
3603         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3604         (drawRenderedImage):  New method.
3605         (drawImage): New method.
3606         (CairoSurfaceGraphics): Set clip.
3607         (createBuffer): New method.
3608         (getBufferCM): New method.
3609         (drawComposite): New method.
3610         (fill): New method.
3611         (getNativeCM): New method.
3612         (drawGlyphVector): New method.
3613         (draw): New method.
3614         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3615         (getNativeCM): Reflect renamed field.
3616         * gnu/java/awt/peer/gtk/CairoSurface.java
3617         (cairoCM_pre): Renamed from cairoColorModel.
3618         (cairoColorModel): Set premultiplication to false.
3619
3620 2006-10-18  Roman Kennke  <kennke@aicas.com>
3621
3622         PR 28769
3623         * javax/swing/JScrollPane.java
3624         (viewportBorder): Made field private.
3625         (wheelScrollingEnabled): Made field private.
3626         (JScrollPane): Enabled wheel scrolling by default.
3627         * javax/swing/JTree.java
3628         (TreeSelectionRedirector.valueChanged): Don't repaint anything
3629         here.
3630         (getScrollableUnitIncrement): Fixed thinko.
3631         * javax/swing/plaf/basic/BasicScrollBarUI.java
3632         (static scrollByBlock): New static method to avoid code duplication
3633         for the BasicScrollPane wheel scrolling.
3634         (static scrollByUnits): New static method to avoid code duplication
3635         for the BasicScrollPane wheel scrolling.
3636         (scrollByBlock): Delegate to static helper method.
3637         (scrollByUnit): Delegate to static helper method.
3638         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3639         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3640         static helper methods to avoid code duplication.
3641         (MouseWheelHandler.bounds): Removed.
3642         (MouseWheelHandler.getValue): Removed.
3643         (MouseWheelHandler.scroll): Removed.
3644
3645 2006-10-18  Roman Kennke  <kennke@aicas.com>
3646
3647         PR 29502
3648         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3649         (updateComponent): Don't override this here.
3650         * java/awt/Window.java
3651         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3652         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3653         flag.
3654         (addWindowStateListener): Ignore null listener. Set newEventsOnly
3655         flag.
3656
3657 2006-10-18  Roman Kennke  <kennke@aicas.com>
3658
3659         * javax/swing/JEditorPane.java
3660         (getStream): Try to detect and set the content type of the
3661         connection stream.
3662
3663 2006-10-18  Roman Kennke  <kennke@aicas.com>
3664
3665         * javax/swing/RepaintManager.java
3666         (RepaintWorkerEvent): Pass full set of params to super.
3667         (RepaintWorker.dispatch): Overridden to allow apps to call this
3668         via reflection.
3669         (addDirtyRegion): Synchronize a little more to protect the
3670         dirtyComponents field and avoid NPEs.
3671         (invokeLater): Pass full set of params to RepaintWorkerEvent
3672         constructor.
3673
3674 2006-10-18  Roman Kennke  <kennke@aicas.com>
3675
3676         * javax/swing/JEditorPane.java
3677         (page): Removed field. The page is now stored in the correct
3678         document property.
3679         (getPage): Fetch page URL from document property.
3680         (read): Set the document for this JEditorPane. Use a Reader
3681         for reading in the document.
3682         (setPage): Call getStream() to get the stream from which we read.
3683         Fire property change. Store page in document property.
3684
3685 2006-10-18  Roman Kennke  <kennke@aicas.com>
3686
3687         * java/awt/datatransfer/DataFlavor.java
3688         (DataFlavor(String)): Removed check for space in mime string.
3689
3690 2006-10-18  Roman Kennke  <kennke@aicas.com>
3691
3692         * java/awt/Container.java
3693         (validateTree): Call ContainerPeer.begin|endLayout() rather than
3694         begin|endValidate().
3695         (validate): Call ContainerPeer.begin|endValidate() here.
3696         Added some local vars to avoid NPEs.
3697
3698 2006-10-18  Roman Kennke  <kennke@aicas.com>
3699
3700         * native/target/.cvsignore
3701         * native/target/Linux/.cvsignore
3702         * native/target/generic/.cvsignore:
3703         Added to let CVS ignore the generated Makefile and Makefile.in
3704         files.
3705
3706 2006-10-18  Roman Kennke  <kennke@aicas.com>
3707
3708         PR 29448
3709         * java/awt/Window.java
3710         (eventTypeEnabled): Overridden to handle WindowEvents.
3711         (processEvent): Switch between processWindowEvent(),
3712         processWindowFocusEvent() and processWindowStateEvent() here,
3713         rather than simply calling processWindowEvent().
3714         (processWindowEvent): Only dispatch event to listener, do not
3715         switch to processWindowFocusEvent() or processWindowStateEvent()
3716         here.
3717         * javax/swing/JFrame.java
3718         (frameInit): Explicitly enable window and key events here.
3719         (processWindowEvent): Throw out some unnecessary code.
3720         * javax/swing/JWindow.java
3721         (windowInit): Explicitly enable key events here.
3722         * javax/swing/JDialog.java
3723         (close_action): Renamed to closeAction.
3724         (dialogInit): Explicitly enable window events here.
3725         (getDefaultCloseOperation): Renamed close_action to closeAction.
3726         (processWindowEvent): Throw out some unnecessary code.
3727         Renamed close_action to closeAction.
3728         (setDefaultCloseOperation): Renamed close_action to closeAction.
3729
3730 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3731
3732         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3733         to track native GTK event loop status.
3734         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3735         clear running flag when native GTK event loop starts and stops.
3736
3737 2006-10-17  Roman Kennke  <kennke@aicas.com>
3738
3739         * javax/swing/TransferHandler.java
3740         (exportToClipboard): Implemented.
3741
3742 2006-10-17  Francis Kung  <fkung@redhat.com>
3743
3744         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3745         region to account for pixel-shifting.
3746         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3747         proctected.
3748
3749 2006-10-17  Francis Kung  <fkung@redhat.com>
3750
3751         PR 29450
3752         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3753         (getLogicalBounds): Translate individual glyphs before appending bounds.
3754         (getOutline): Translate individual glyphs before appending outline.
3755
3756 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
3757
3758         PR 29014
3759         * java/awt/font/TextLayout.java
3760         (bidi): New field.
3761         (constructor): Store bidi in field.
3762         (getCharacterLevel): Implemented.
3763
3764 2006-10-17  Roman Kennke  <kennke@aicas.com>
3765
3766         * javax/swing/TransferHandler.java
3767         (PropertyTransferable): New inner class. Handles transfers
3768         from component properties.
3769         (createTransferable): Implemented.
3770
3771 2006-10-17  Francis Kung  <fkung@redhat.com>
3772
3773         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3774         (drawComposite): Ensure composite does not extend beyond buffer
3775         bounds.
3776         * java/awt/image/Raster.java
3777         (createChild): Ensure child does not extend beyond parent's
3778         bounds.
3779         * java/awt/image/WritableRaster.java
3780         (createWritableChild): Ensure child does not extend beyond
3781         parent's bounds.
3782
3783 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
3784
3785         * native/jni/classpath/jcl.c
3786         (JNI_OnLoad): Corrected calling convention.
3787
3788 2006-10-16  Roman Kennke  <kennke@aicas.com>
3789
3790         * javax/swing/TransferHandler.java
3791         (propertyName): New field.
3792         (TransferHandler(String)): Store property name in field.
3793         (canImport): Implemented stub method.
3794         (exportDone): This is a no-op. Removed not-implemented mark.
3795         (getPropertyDataFlavor): New helper method.
3796         (getPropertyDescriptor): New helper method.
3797
3798 2006-10-16  Roman Kennke  <kennke@aicas.com>
3799
3800         * javax/swing/AbstractButton.java
3801         (AccessibleJButton.getAfterIndex): Implemented.
3802         (AccessibleJButton.getAtIndex): Implemented.
3803         (AccessibleJButton.getBeforeIndex): Implemented.
3804         (AccessibleJButton.getCharacterAttribute): Completed incomplete
3805         method implementation.
3806
3807 2006-10-16  Roman Kennke  <kennke@aicas.com>
3808
3809         * javax/swing/JLabel.java
3810         (AccessibleJLabel.getIndexAtPoint): Implemented.
3811         (AccessibleJLabel.getCharacterBounds): Implemented.
3812         (AccessibleJLabel.getTextRectangle): New helper method.
3813
3814 2006-10-16  Roman Kennke  <kennke@aicas.com>
3815
3816         * javax/swing/filechooser/FileSystemView.java
3817         (getFileSystemView): Mark as implemented.
3818
3819 2006-10-14  Roman Kennke  <kennke@aicas.com>
3820
3821         PR 27957
3822         * javax/swing/JComponent.java
3823         (toolTipText): Removed field.
3824         (createToolTip): Don't set tooltip text here. This is done
3825         in the ToolTipManager.
3826         (setToolTipText): Set tooltip text as client property.
3827         (getToolTipText): Get tooltip text from client property.
3828         * javax/swing/ToolTipManager.java
3829         (currentComponent): Made field non-static and of type JComponent.
3830         (currentPoint): Made field non-static.
3831         (currentTip): Made field non-static.
3832         (popup): Made field non-static.
3833         (toolTipText): New field. Stores the current tooltip text.
3834         (checkTipUpdate): New helper method. Checks for updates of
3835         the tooltip text and triggers the appropriate actions.
3836         (getContentPaneDeepestComponent): Removed unneeded casts.
3837         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
3838         text from component.
3839         (mouseMoved): Check for tooltip text updates.
3840         (showTip): Set tooltip text from current setting.
3841
3842 2006-10-14  Roman Kennke  <kennke@aicas.com>
3843
3844         PR 27956
3845         * javax/swing/JSlider.java
3846         (setPaintLabels): Call setLabelTable() instead of setting
3847         the field directly. This also updates the label's size.
3848
3849 2006-10-13  Tom Tromey  <tromey@redhat.com>
3850
3851         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
3852         method.
3853
3854 2006-10-13  Tania Bento  <tbento@redhat.com>
3855
3856         * java/awt/ScrollPane.java
3857         (setLayout): Should throw AWTError whenever called.
3858
3859 2006-10-13  Roman Kennke  <kennke@aicas.com>
3860
3861         PR 29448
3862         * java/awt/Component.java
3863         (dispatchEventImpl): Special handle ComponentReshapeEvents to
3864         update the AWT's knowledge about a component's size.
3865         * gnu/java/awt/ComponentReshapeEvent.java: New class.
3866         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3867         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
3868         to update the AWT's knowledge about the component bounds.
3869
3870 2006-10-13  Tania Bento  <tbento@redhat.com>
3871
3872         * java/awt/ScrollPaneAdjustable.java
3873         (setMaximum): Should throw AWTError whenever called.
3874         (setMinimum): Same.
3875         (setVisibleAmount): Same.
3876
3877 2006-10-13  Tania Bento  <tbento@redhat.com>
3878
3879         * java/awt/ScrollPane.java
3880         (addImpl): When calling super, index should be value passed, 
3881         not -1.
3882         (getIsValidString): New helper method for paramString().
3883         (getScrollbarDisplayString): New helper method for paramString(). 
3884         (paramString): Changed format of outputted string.
3885
3886 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
3887
3888         * javax/swing/tree/DefaultTreeSelectionModel.java
3889         (clone): Added cast to TreePath[].
3890
3891 2006-10-13  Roman Kennke  <kennke@aicas.com>
3892
3893         PR 27780
3894         * javax/swing/JMenuItem.java
3895         (isDragging): New field. Indicates if we are inside a mouse
3896         drag.
3897         (createMenuDragMouseEvent): Removed unneeded method.
3898         (processMenuDragMouseEvent): Track if we are dragging.
3899         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
3900         * javax/swing/plaf/basic/BasicMenuItemUI.java
3901         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
3902         MenuSelectionManager from event.
3903         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
3904         MenuSelectionManager from event.
3905         (MenuDragMouseHandler.menuDragMouseExited): Fetch
3906         MenuSelectionManager from event.
3907         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
3908         release inside menu item, otherwise clear selection.
3909         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
3910         and getY(). Call doClick() rather than the doClick() of JMenuItem.
3911         (doClick): Perform an immediate click.
3912
3913 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3914
3915         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
3916         return if object is not in the list.
3917
3918 2006-10-12  Andrew Haley  <aph@redhat.com>
3919
3920         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
3921         * java/lang/ThreadLocal.java: Likewise.
3922
3923 2006-10-12  Roman Kennke  <kennke@aicas.com>
3924
3925         PR 27956
3926         * javax/swing/JSlider.java
3927         (LabelUIResource): New inner class. A JLabel as UIResource.
3928         (createStandardLabels): Don't set label bounds here.
3929         Create LabelUIResource instances.
3930         (setInverted): Repaint.
3931         (setLabelTable): Update the label UIs. Revalidate and repaint.
3932         (setMajorTickSpacing): Update the label table. Repaint if
3933         necessary.
3934         (setMinorTickSpacing): Repaint if necessary.
3935         (setOrientation): Revalidate.
3936         (setPaintLabels): Revalidate and repaint.
3937         (setPaintTicks): Revalidate and repaint.
3938         (setPaintTrack): Repaint.
3939         (updateLabelUIs): Set the label sizes here.
3940         (updateUI): Also update the label UIs.
3941         * javax/swing/plaf/basic/BasicSliderUI.java
3942         (ComponentHandler.componentResized): Don't revalidate.
3943         (FocusHandler.focusGained): Don't set field.
3944         (FocusHandler.focusLost): Don't set field.
3945         (PropertyChangeHandler.propertyChange): Calculate geometry
3946         and repaint for a couple more properties.
3947         (TrackListener.mouseReleased): Repaint.
3948         (hasFocus): Removed unneeded field.
3949         (calculateContentRect): No need to check for content size < 0.
3950         (calculateFocusRect): Use insets from insetCache.
3951         (calculateLabelRect): Fixed calculation of label rectangle.
3952         It is relative to the tick rectangle, rather than the content
3953         rectangle.
3954         (calculateTickRect): Small restructuring to avoid unnecessary
3955         comparisons.
3956         (calculateTrackRect): Fixed calculation of track rectangle.
3957         (getMaximumSize): Fixed. Fetch preferred size and set
3958         the height of width to Short.MAX_VALUE.
3959         (getMinimumHorizontalSize): Fixed to return UIManager value.
3960         (getMinimumVerticalSize): Fixed to return UIManager value.
3961         (getPreferredHorizontalSize): Fixed to return UIManager value.
3962         (getPreferredVerticalSize): Fixed to return UIManager value.
3963         (getMinimumSize): Fixed to return the UIManager value plus
3964         insets added.
3965         (getPreferredSize): Fixed to return the UIManager value plus
3966         insets added.
3967         (getWidthOfWidestLabel): Restructured for more cleanness and
3968         efficiency.
3969         (hitClip): New helper method.
3970         (paintHorizontalLabel): Replaced by more efficient and clean
3971         implementation.
3972         (paintVerticalLabel): Replaced by more efficient and clean
3973         implementation.
3974         (paintLabels): Replaced by more efficient and clean
3975         implementation.
3976         (paint): Check if rectangles intersect with clip for maximum
3977         efficiency.
3978         (recalculateIfInsetsChanged): Fixed. This method should
3979         recalculate only when the insets changed.
3980         (setThumbLocation): Repaint with a reasonable clip.
3981         (xPositionForValue): Made more clean and efficient.
3982         (yPositionForValue): Made more clean and efficient.
3983         * javax/swing/plaf/basic/BasicLookAndFeel.java
3984         (initComponenDefaults): Added Slider.horizontalSize,
3985         Slider.verticalSize, Slider.minimumHorizontalSize and
3986         Slider.minimumVerticalSize properties.
3987         * javax/swing/plaf/metal/MetalSliderUI.java
3988         (getTickLength): Add 1 for horizontal sliders and 3 for
3989         vertical sliders.
3990         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
3991         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
3992         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
3993         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
3994
3995 2006-10-12  Roman Kennke  <kennke@aicas.com>
3996
3997         PR 28696
3998         * javax/swing/text/FlowView.java
3999         (FlowStrategy.layout): Preserve logical views from getting lost.
4000         (FlowStrategy.layoutRow): Fix line breaking.
4001         (FlowStrategy.adjustRow): Fix line breaking.
4002         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4003         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4004         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4005         (createView): Don't check index.
4006         (contains): New helper method.
4007         (reparent): New helper method.
4008         (layoutDirty): Removed unneeded field.
4009         (FlowView): Removed layoutDirty field init.
4010         (changedUpdate): Removed layoutDirty handling.
4011         (insertUpdate): Removed layoutDirty handling.
4012         (removeUpdate): Removed layoutDirty handling.
4013         (layout): Use isLayoutValid() rather than the layoutDirty field.
4014         * javax/swing/text/GlyphView.java
4015         (startOffset): Removed.
4016         (endOffset): Removed.
4017         (offset): New field.
4018         (length): New field.
4019         (GlyphView): Initialize new fields. Removed old fields.
4020         (createFragment): Create fragment with new relative offsets.
4021         (getEndOffset): Work with new relative offsets.
4022         (getStartOffset): Work with new relative offsets.
4023         * javax/swing/text/ParagraphView.java
4024         (Row.getStartOffset): Overidden to determine the minimum start
4025         offset from the children.
4026         (Row.getEndOffset): Overidden to determine the maximum end
4027         offset from the children.
4028         * javax/swing/text/html/BRView.java
4029         Make subclass of InlineView.
4030         (getBreakWeight): Fall back to super for Y_AXIS.
4031
4032 2006-10-12  Roman Kennke  <kennke@aicas.com>
4033
4034         PR 28733
4035         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4036         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4037         one that avoids faulty state that could cause division by zero
4038         error.
4039
4040 2006-10-12  Roman Kennke  <kennke@aicas.com>
4041
4042         PR 28057
4043         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4044         (paint): Determine correct icon. Added support for HTML label.
4045         Added small optimizations.
4046         (getPreferredSize): Only consider the buttons iconTextGap, and
4047         only when the text is not null.
4048         * javax/swing/plaf/basic/BasicLookAndFeel.java
4049         (initComponentDefaults): Fetch border for RadioButton from
4050         BasicButtons.getRadioButtonBorder().
4051         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4052         (paintFocus): Paint focus rectangle one pixel smaller.
4053
4054 2006-10-12  Roman Kennke  <kennke@aicas.com>
4055
4056         PR 29418
4057         * javax/swing/tree/AbstractLayoutCache.java
4058         (getNodeDimensions): Don't throw InternalError, but instead
4059         return null.
4060         (getRowsForPaths): Check for null here.
4061         (isFixedRowHeight): Returns true when rowHeight > 0.
4062         (setSelectionModel): Set this as the row mapper for the selection
4063         model.
4064         * javax/swing/tree/VariableHeightLayoutCache.java
4065         (NodeRecord.NodeRecord): Initialize bounds field.
4066         (getBounds): Simply return the bounds field.
4067         (row2Node): Changed to be an ArrayList.
4068         (RECT_CACHE): New field. Caches a Rectangle instance.
4069         (countRows): Added y parameter and return value. The method
4070         now takes the current y position as parameter, and returns
4071         the updated y position.
4072         (getBounds): Fixed to return the correct bounds.
4073         (getPathForRow): Replaced by fixed implementation.
4074         (getPreferredHeight): Replaced by more efficient implementation.
4075         This simply fetches the last node record and returns its lower
4076         bounds.
4077         (getPreferredWidth): Added null check.
4078         (getVisibleChildCount): Added null check.
4079         (getVisiblePathsFrom): Added null check.
4080         (setExpandedState): Also expand the ancestors of the node
4081         to be expanded.
4082         (setModel): Set dirty flag rather than updating for real.
4083         (setNodeDimensions): Overridden to set the dirty flag.
4084         (setRowHeight): Overridden to set the dirty flag.
4085         (update): Don't special case the root here, this is done now
4086         in countRows().
4087
4088 2006-10-12  Roman Kennke  <kennke@aicas.com>
4089
4090         * javax/swing/JComponent.java
4091         (paintImmediately2): Added support for components which need
4092         to force themselves as paint root.
4093         (isPaintRoot): New method. This should be overridden by components
4094         which need to force themselves as paint root.
4095         * javax/swing/JViewport.java
4096         (isPaintRoot): Overridden to force the viewport as paint root
4097         when running in backingstore mode.
4098
4099 2006-10-12  Roman Kennke  <kennke@aicas.com>
4100
4101         * javax/swing/tree/DefaultTreeSelectionModel.java
4102         (PathPlaceHolder): New inner class. Wraps a path and its status
4103         wrt to its newness.
4104         (selectedPaths): New field. A supporting datastructure.
4105         (tmpPaths): New field. A supporting datastructure.
4106         (DefaultTreeSelectionModel): Initialize the list selection model,
4107         the leadIndex and the supporting datastructures.
4108         (addPropertyChangeListener): Create changeSupport object lazily.
4109         (addSelectionPaths): Mostly rewritten to handle the different
4110         selection modes correctly.
4111         (addSelectionPath): Delegate to addSelectionPaths().
4112         (arePathsContiguous): Replaced with more efficient implementation
4113         using BitSet
4114         (canPathBeAdded): Removed unneeded method.
4115         (canPathsBeAdded): Replaced with more efficient implementation.
4116         (clearSelection): Create correct event. Clear the fields correctly,
4117         including the supporting datastructures.
4118         (clone): Also clone the supporting datastructures and nullify
4119         changeSupport field.
4120         (getMaxSelectionRow): Delegate to list selection model.
4121         (getMinSelectionRow): Delegate to list selection model.
4122         (getPath): Removed unneeded method.
4123         (getPropertyChangeListeners): Handle null changeSupport field
4124         correctly.
4125         (getRow): Handle null rowMapper field correctly.
4126         (getSelectionRows): Handle invisible rows correctly.
4127         (insureRowContinuity): Replaced by more efficient and correct
4128         implementation.
4129         (isRowSelected): Delegate to list selection model.
4130         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4131         class.
4132         (removePropertyChangeListener): Handle null changeSupport field.
4133         (removeSelectionPaths): Mostly rewritten to handle the different
4134         selection modes correctly.
4135         (removeSelectionPath): Delegate to removeSelectionPaths().
4136         (resetRowSelection): Handle list selection model.
4137         (selectOne): Removed unneeded field.
4138         (setRowMapper): Reset the row selection.
4139         (setSelectionMode): Check for invalid mode and set to
4140         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4141         (setSelectionPaths): Mostly rewritten to handle the different
4142         selection modes correctly.
4143         (setSelectionPath): Delegate to setSelectionPaths().
4144         (updateLeadIndex): Made more efficient.
4145
4146 2006-10-11  Francis Kung  <fkung@redhat.com>
4147
4148         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4149         (buffer, locked): New fields.
4150         (constructors): Initialize new variables.
4151         (createBuffer): New method.
4152         (draw): Implement custom composites.
4153         (drawComposite): New method.
4154         (drawGlyphVector): Implement custom composites.
4155         (drawImage): Implement custom composites.
4156         (drawRenderedImage): Implement custom composites.
4157         (fill): Implement custom composites.
4158         (getBufferCM): New method.
4159         (getNativeCM): New method.
4160         (updateBufferedImage): Fix premultiplication.
4161         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4162         (copy): Copy composite.
4163         (drawImage): Set background properly.
4164         (getBufferCM): New method.
4165         (setComposite): Reset alpha composite when using custom composite.
4166         * gnu/java/awt/peer/gtk/CairoSurface.java
4167         (cairoColorModel): New field.
4168         (nativeColorModel): Renamed.
4169         (constructor): Use renamed createCairoSampleModel method.
4170         (createCairoSampleModel): New method.
4171         (createNativeSampleModel): Renamed.
4172         (getBufferedImage): Use renamed cairoColorModel field.
4173         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4174         (gdkColorModel): New field.
4175         (createGdkSampleModel): New method.
4176         (getPixels): Added comments.
4177         (getSnapshot): Use GDK colour and sample models.
4178         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4179         (createBuffer): Use GDK colour and sample models.
4180         (getNativeCM): Added comments.
4181         * java/awt/image/BufferedImage.java
4182         (constructor): Set premultiplied flag properly.
4183         
4184 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4185
4186         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4187         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4188
4189 2006-10-10  Francis Kung  <fkung@redhat.com>
4190
4191         PR 29372
4192         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4193         (createPath): Added isDraw parameter.
4194         (draw): Updated createPath call.
4195         (fill): Updated createPath call.
4196
4197 2006-10-10  Tom Tromey  <tromey@redhat.com>
4198
4199         PR classpath/29362:
4200         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4201         there is a stylesheet.
4202
4203 2006-10-10  Roman Kennke  <kennke@aicas.com>
4204
4205         * java/awt/Toolkit.java
4206         (getDefaultTookit): Make method synchronized to avoid
4207         accidentally creating more than one toolkits from different
4208         threads.
4209
4210 2006-10-10  Roman Kennke  <kennke@aicas.com>
4211
4212         * java/awt/LightweightDispatcher.java
4213         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4214         (redispatch): Transfer the button to the redispatched event.
4215
4216 2006-10-10  Francis Kung  <fkung@redhat.com>
4217
4218         * java/awt/image/ColorModel.java (coerceData): Implemented.
4219
4220 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4221
4222         * vm/reference/java/lang/VMClassLoader.java:
4223         (defineClassWithTransformers): Use proper class name format.
4224
4225 2006-10-09  Gary Benson  <gbenson@redhat.com>
4226
4227         * java/net/ServerSocket.java
4228         (implAccept): Add security check.
4229         (accept): Close socket if security check fails.
4230         (setSocketFactory): Add security check and already-set check.
4231
4232 2006-10-09  Roman Kennke  <kennke@aicas.com>
4233
4234         PR 29325
4235         * javax/swing/JSplitPane.java
4236         (dividerLocation): New field. Stores the divider location.
4237         (JSplitPane): Initialize dividerLocation with -1.
4238         (addImpl): Removed unneeded local variables.
4239         (getDividerLocation): Manage dividerLocation in the JSplitPane
4240         class, not in the UI.
4241         (setDividerLocation): Manage dividerLocation in the JSplitPane
4242         class, not in the UI. Only call the UI method for notification.
4243         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4244         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4245         location from the JSplitPane. Honour the minimumSize, but only
4246         if the divider location hasn't been set explicitly.
4247         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4248         statement.
4249         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4250         statement.
4251         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4252         the divider location.
4253         (dividerLocationSet): New field.
4254         (dividerLocation): Removed field.
4255         (createActionMap): Fetch and set divider location on the JSplitPane.
4256         (getDividerLocation): Return the actual real divider location.
4257         (getMaximumSize): Removed unneeded cast.
4258         (getPreferredSize): Removed unneeded cast.
4259         (getMinimumSize): Removed unneeded cast.
4260         (installUI): Initialize dividerLocationSet with false.
4261         (uninstallUI): Initialize dividerLocationSet with false.
4262         (setDividerLocation): Set dividerLocationSet to true.
4263
4264 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4265
4266         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4267         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4268         convert jstring into char *.
4269         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4270         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4271         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4272         (getif_address): Added const modifier to second argument.
4273         (getif_index): Dito.
4274
4275 2006-10-09  Roman Kennke  <kennke@aicas.com>
4276
4277         * javax/swing/JTree.java
4278         (isSelected): Added API docs.
4279
4280 2006-10-09  Roman Kennke  <kennke@aicas.com>
4281
4282         * javax/swing/JTree.java
4283         (isSelected): Delegate to the selection model directly.
4284
4285 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4286
4287         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4288         sizeof_struct_kevent to _sizeof_struct_kevent.
4289
4290 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4291
4292         * tools/gnu/classpath/tools/rmic/RMICException.java:
4293         javadoc corrections, reformatted.
4294
4295 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4296
4297         * gnu/java/lang/InstrumentationImpl.java:
4298         Made constructor package visible.
4299
4300 2006-10-05  Gary Benson  <gbenson@redhat.com>
4301
4302         * java/net/Socket.java
4303         (Socket): Perform security check on address not hostname.
4304
4305 2006-10-04  Roman Kennke  <kennke@aicas.com>
4306
4307         * javax/swing/tree/VariableHeightLayoutCache.java
4308         (getBounds): When rect is null, create a new Rectangle.
4309
4310 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4311
4312         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4313         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4314         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4315         (cpnio_select): Use CPNIO_EXPORT.
4316         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4317         inline instead of extern inline, as newer GCCs changed their
4318         behavior.
4319
4320 2006-10-04  Gary Benson  <gbenson@redhat.com>
4321
4322         * java/net/InetAddress.java: Updated javadoc.
4323         (<clinit>, getByLiteral): Throw InternalError on failures.
4324
4325 2006-10-03  Francis Kung  <fkung@redhat.com>
4326
4327         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4328         (compCtx): New field for composite context.
4329         (copy): Copy composite.
4330         (dispose): Dispose of composite context.
4331         (getNativeCM): New method.
4332         (setComposite): Discard old composite context and set up new context.
4333         (setRenderingHints): Update composite context.
4334         * gnu/java/awt/peer/gtk/CairoSurface.java
4335         (nativeColorModel): New field, renamed from nativeModel.
4336         (nativeModel): Renamed field to nativeColorModel.
4337         (CairoSurface(int, int)): Call new method to create sample model.
4338         (createNativeSampleModel): New method.
4339         (getBufferedImage): Updated variable name.
4340         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4341         (buffer): New field.
4342         (createBuffer): New method.
4343         (draw): New method.
4344         (drawComposite): New method.
4345         (drawGlyphVector): New method.
4346         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4347         (drawImage(Image, int, int, ImageObserver)): Check composite.
4348         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4349         (fill): New method.
4350         (getNativeCM): New method.
4351         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4352         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4353         intermediary pixbuf to grab on-screen pixels.
4354
4355 2006-10-03  Tom Tromey  <tromey@redhat.com>
4356
4357         PR classpath/28987:
4358         * java/util/IdentityHashMap.java (tombstone): Removed.
4359         (emptyslot): Removed.
4360         (nullslot): New field.
4361         (IdentityHashMap): Don't fill array.
4362         (clear): Fill with null.
4363         (hash): Now final.  Use linear probing.
4364         (xform): New method.
4365         (unxform): Likewise.
4366         (removeAtIndex): Likewise.
4367         (clone, containsKey, containsValue, entrySet, get, hashCode,
4368         keySet, put, remove, values): Updated.
4369         (IdentityIterator, IdentityEntry): Likewise.
4370         (writeObject): Likewise.
4371
4372 2006-10-03  Tom Tromey  <tromey@redhat.com>
4373
4374         * java/util/Locale.java (hashcode): Updated javadoc.
4375         (hashcodeCache): Removed.
4376         (Locale): Updated.
4377         (hashCode): Updated.
4378         (writeObject): New method.
4379         (readObject): Updated.
4380
4381 2006-10-02  Francis Kung  <fkung@redhat.com>
4382
4383         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4384         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4385         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4386         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4387         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4388         pre-multiply data before drawing.
4389         (fillRect): Draw using regular fill() method.
4390         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4391         * gnu/java/awt/peer/gtk/CairoSurface.java
4392         (nativeModel): Use correct value for alpha premultiplication (true).
4393         * java/awt/image/BufferedImage.java
4394         (coerceData): Update isPremultiplied field.
4395
4396 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4397
4398         * gnu/classpath/ListenerData.java:
4399         New class for holding listener data.
4400         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4401         ListenerData class moved to its own file.
4402         * javax/management/MBeanServerDelegate.java,
4403         * javax/management/MBeanServerDelegateMBean.java,
4404         * javax/management/MBeanServerNotification.java:
4405         Implemented.
4406
4407 2006-10-02  Tania Bento  <tbento@redhat.com>
4408
4409         * java/ast/Rectangle.java:
4410         (Rectangle(Rectangle)): Do not throw NPE.
4411         (Rectangle(Point, Dimension)): Same.
4412         (Rectangle(Point)): Same.
4413         (Rectangle(Dimension)): Same.
4414
4415 2006-09-29  Casey Marshall  <csm@gnu.org>
4416
4417         PR 29190
4418         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4419         `AbstractSelectionKey.'
4420         (cancel, isValid): removed.
4421         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4422         (events): new field.
4423         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4424         fields.
4425         (<clinit>): initialize those constants.
4426         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4427         (doSelect): deregister cancelled keys; remove keys attached to
4428         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4429         `events' buffer; reallocate `events' buffer if needed.
4430         (register): reallocate `events' buffer if needed.
4431         (reallocateBuffer): new method.
4432         (cancel): removed.
4433
4434 2006-09-29  Roman Kennke  <kennke@aicas.com>
4435
4436         PR 28929
4437         * javax/swing/JViewport.java
4438         (cinit): Renamed system property to gnu.swing.scrollmode
4439         to avoid bloat. Default to BACKINGSTORE, this is much
4440         more reliable.
4441         (repaint): Forward repaint() to parent as is specified.
4442
4443 2006-09-29  Tania Bento  <tbento@redhat.com>
4444
4445         * javax/swing/plaf/basic/BasicTableUI.java
4446         (getPreferredSize): The number of iterations for the for-loop should be
4447         the number of columns in the table's column model, not the number of
4448         columns of the table.
4449         * javax/swing/JTable.java
4450         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4451         lines that are not needed.
4452         (initializeLocalVars): dragEnabled should be set to false, not true.
4453         (getCellRenderer): Added a check to prevent an
4454         ArrayIndexOutOfBoundsException.
4455         (doLayout): The number of iterations for the for-loops should be the
4456         number of columns in the table's column model, not the number of columns
4457         of the table.
4458
4459 2006-09-29  Roman Kennke  <kennke@aicas.com>
4460
4461         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4462         API docs.
4463         (isOptimized): Initialize with true.
4464         (paintRaster): Removed unneeded field.
4465         (shapeCache): New static field. Caches certain shapes for reuse.
4466         (computeIntersection): Removed unneeded casts.
4467         (drawArc): Use shape cache.
4468         (drawImage): Removed unneeded statement.
4469         (drawLine): Use shape cache. Pass untranslated coordinates
4470         to rawDrawLine().
4471         (drawOval): Use shape cache.
4472         (drawPolygon): Use shape cache.
4473         (drawRect): Overridden to provide accelerated rectangle drawing
4474         if possible and to use the shape cache.
4475         (drawRoundRect): Use shape cache.
4476         (fillArc): Use shape cache.
4477         (fillOval): Use shape cache.
4478         (fillPolygon): Use shape cache.
4479         (fillRect): Pass untranslated coordinates to rawFillRect().
4480         Use shape cache.
4481         (fillRoundRect): Use shape cache.
4482         (fillScanlineAA): Removed unneeded statement.
4483         (fillScanline): Updated API docs.
4484         (fillShapeAntialias): Removed unnecessary cast.
4485         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4486         (fillShape): Updated API docs.
4487         (getShapeCache): New helper method.
4488         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4489         certain shapes for reuse in AbstractGraphics2D.
4490
4491 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4492
4493         * javax/management/BadBinaryOpValueExpException.java:
4494         (getExp()): Implemented.
4495         * javax/management/MBeanConnection.java:
4496         Renamed to MBeanServerConnection.
4497         * javax/management/MBeanServer.java:
4498         (setAttribute(Attribute)): Fixed...
4499         (setAttribute(ObjectName,Attribute)): to this.
4500         * javax/management/MBeanServerConnection.java:
4501         Renamed from MBeanConnection.
4502         * javax/management/QueryExp.java:
4503         Extend Serializable.
4504         * javax/management/ValueExp.java:
4505         Likewise.
4506         * javax/management/loading/ClassLoaderRepository.java:
4507         (loadClass(String)): Throw ClassNotFoundException.
4508         (loadClassBefore(ClassLoader,String)): Likewise.
4509         (loadClassWithout(String, ClassLoader): Fixed...
4510         (loadClassWithout(ClassLoader,String)): to this.
4511         
4512 2006-09-28  Roman Kennke  <kennke@aicas.com>
4513
4514         * javax/swing/tree/DefaultTreeCellRenderer.java
4515         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4516         property from UIManager.
4517         (paint): Rewritten to use super's implementation and only paint
4518         background and focus indicator before.
4519         (paintFocus): New helper method.
4520         (getXOffset): New helper method.
4521
4522 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4523         
4524         * javax/management/BadBinaryOpValueExpException.java,
4525         * javax/management/MBeanConnection.java,
4526         * javax/management/MBeanServer.java,
4527         * javax/management/ObjectInstance.java:
4528         Implemented.
4529         * javax/management/ObjectName.java:
4530         (setMBeanServer(MBeanServer)): Implemented.
4531         * javax/management/QueryExp.java,
4532         * javax/management/ValueExp.java,
4533         * javax/management/loading/ClassLoaderRepository.java:
4534         Implemented.
4535
4536 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4537
4538         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4539
4540 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4541
4542         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4543         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4544         * gnu/java/nio/EpollSelectorImpl.java:
4545         (doSelect): Use Integer.valueOf() instead of constructor call.
4546         (register): Use Integer.valueOf() instead of constructor call.
4547
4548 2006-09-27  Roman Kennke  <kennke@aicas.com>
4549
4550         * java/awt/Container.java
4551         (addContainerListener): Activate newEventsOnly for the component.
4552         Ignore null listeners.
4553
4554 2006-09-27  Roman Kennke  <kennke@aicas.com>
4555
4556         * java/awt/EventQueue.java
4557         (Queue): New inner class. Implements the actual queue.
4558         (LOW_PRIORITY): New constant field.
4559         (NORM_PRIORITY): New constant field.
4560         (queueHead): Removed. Moved into Queue.
4561         (queueTail): Removed. Moved into Queue.
4562         (queues): New field.
4563         (EventQueue): Initialize two internal queues, one for
4564         normal events, one for low priority events.
4565         (getNextEventImpl): New helper method, fetches the next event.
4566         (getNextEvent): Use getNextEventImpl() for fetching the event.
4567         (peekEvent): Use getNextEventImpl() for fetching the event.
4568         (peekEvent(int)): Search for event in all queues.
4569         (postEventImpl(AWTEvent)): Moved actual posting into
4570         postEventImpl(AWTEvent,int). Prioritize events here.
4571         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4572         event into correct queue. Re-enable event coalescing.
4573         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4574         * javax/swing/RepaintManager.java
4575         (RepaintWorkerEvent): New internal class. This is a low priority
4576         event for the repaint worker.
4577         (addDirtyRegion): Use new internal invokeLater() for sending
4578         a low priority event.
4579         (addInvalidComponent): Use new internal invokeLater() for sending
4580         a low priority event.
4581         (commitBuffer): Added some null checks.
4582         (invokeLater): New helper method. Sends a low priority
4583         repaint worker event on the event queue.
4584
4585 2006-09-27  Roman Kennke  <kennke@aicas.com>
4586
4587         PR 29036
4588         PR 29161
4589         * javax/swing/plaf/basic/BasicButtonUI.java
4590         (cachedInsets): New field.
4591         (installListeners): Fire synthetic property change to initialize
4592         TEXT_LAYOUT_CACHE for the button because the font has been
4593         installed before.
4594         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4595         (paint): Use cached insets.
4596         (paintText): Let new method forward to old one, not vice versa.
4597         * javax/swing/plaf/basic/BasicMenuItemUI.java
4598         (defaultAcceleratorLabelGap): Removed unused field.
4599         (MenuGap): Removed unused field.
4600         (propertyChangeListener): Made private.
4601         (getAcceleratorRect): Removed unused method.
4602         (getAcceleratorText): Removed unused method.
4603         (getPath): Removed unnecessary cast.
4604         (installListeners): Fire synthetic property change to initialize
4605         TEXT_LAYOUT_CACHE for the button because the font has been
4606         installed before.
4607         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4608         (layoutMenuItem): Removed unused statements.
4609         
4610 2006-09-27  Roman Kennke  <kennke@aicas.com>
4611
4612         PR 29218
4613         * javax/swing/tree/DefaultTreeModel.java
4614         (isLeaf): Check if the node allows children when
4615         asksAllowsChildren is true, otherwise fall back
4616         to return the node's leaf property.
4617
4618 2006-09-27  Mario Torre  <neugens@limasoftware.net>
4619
4620         * scripts/check_jni_methods.sh: removed methods from the
4621         ignore list:
4622         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4623         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4624         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4625         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4626         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4627         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4628         to better follow the GNU style.
4629         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4630         regenerated header file for GConfNativePeer.
4631
4632 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4633
4634         * INSTALL: Added information about grmic being built when ASM
4635         is available, added information about gconf dependency, indented
4636         Qt4 dependency section.
4637         * configure.ac: Added information about grmic being built when ASM
4638         is available.
4639
4640 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
4641
4642         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4643         DeleteGlobalRef on a local ref.
4644
4645 2006-09-24  Mario Torre  <neugens@limasoftware.net>
4646
4647         * scripts/check_jni_methods.sh: added two new methods in the
4648         ignore list:
4649         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4650         and
4651         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4652         * native/jni/gconf-peer/GConfNativePeer.c:
4653         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4654         refacored method name, renamed from
4655         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4656         Added code to unescape escaped GConf key names.
4657         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4658         refacored method name, renamed from
4659         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4660         Added code to unescape escaped GConf key names.
4661         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4662         new function.
4663         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4664         new function.
4665         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4666         version javadoc tag.
4667         (escapeString): new method.
4668         (unescapeString): likewise.
4669         (gconf_escape_key): new native method.
4670         (gconf_unescape_key): likewise.
4671         (gconf_client_suggest_sync): update native method signature, now
4672         explicity throws BackingStoreException.
4673         (gconf_client_all_nodes): update native method signature, now
4674         explicity throws BackingStoreException. Refactored method name,
4675         renamed from gconf_client_gconf_client_all_nodes.
4676         (gconf_client_all_keys): update native method signature, now
4677         explicity throws BackingStoreException. Refactored method name,
4678         renamed from gconf_client_gconf_client_all_keys.
4679         (getKeys): refactored to use the new method name
4680         gconf_client_all_keys.
4681         (getChildrenNodes): refactored to use the new method name
4682         gconf_client_all_nodes.
4683         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4684         version javadoc tag.
4685         (GConfBasedPreferences): Added code to escape node names from
4686         invalid characters so that GConf now accept invalid node names.
4687         (GConfBasedPreferences): Moved code to register the current
4688         node to the list of nodes watched by GConf outside the constructor.
4689         (childSpi): Added code to register the current node to the
4690         list of nodes watched by GConf.
4691         (getGConfKey): Added code to escape key names from
4692         invalid characters so that GConf now accept invalid key names.
4693
4694 2006-09-26  Tom Tromey  <tromey@redhat.com>
4695
4696         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4697         call mkdirs in output-directory case.
4698         (getPrintStream): Create output directory.
4699         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4700         Don't call mkdirs.
4701
4702 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
4703
4704         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4705         Accept three additional arguments.
4706         (writePreambleImpl): New method.
4707         (getPrintStreamImpl): Likewise.
4708         (printClass): Adapted to use new methods in Printer superclass.
4709         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4710         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4711         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4712         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4713         (force): Likewise.
4714         (getParser): Add support for -o option.
4715         Check that only one of -d or -o is defined.
4716         Add support for -jni option.
4717         Add support for -force option.
4718         (makeOutputFile): New method.
4719         (writeHeaders): Removed File argument from signature.
4720         (run): Take into account newly added fields.
4721         Invoke concrete PrintStream implementations with augmented constructors.
4722         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4723         (isDirectory): Likewise.
4724         (force): Likewise.
4725         (wrotePreamble): Likewise.
4726         (Printer): Changed ctor to accept three additional arguments.
4727         (printClass): Changed signature to accept one ClassWrapper argument.
4728         (writePreambleImpl): New abstract method.
4729         (getPrintStreamImpl): Likewise.
4730         (getPrintStream): New method.
4731         (writePreamble): Likewise.
4732
4733 2006-09-26  Tania Bento  <tbento@redhat.com>
4734
4735         * java/awt/GridLayout.java
4736         (toString): There is no common before hgap.
4737         * java/awt/Rectangle.java
4738         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4739         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
4740         Rectangle is null.
4741         (Rectangle(Point)): Throw NPE if Point is null.
4742         (Rectangle(Dimension)): Throw NPE if Dimension is null.
4743
4744 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4745
4746         * javax/swing/plaf/metal/MetalIconFactory.java
4747         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4748         returned by getShift(),
4749         (FileIcon16.getShift): Updated API docs,
4750         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4751         returned by getShift(),
4752         (FolderIcon16.getShift): Updated API docs,
4753         (TreeFolderIcon.getShift): Likewise,
4754         (TreeLeafIcon.getShift): Likewise.
4755
4756 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4757
4758         * javax/swing/plaf/metal/MetalIconFactory.java
4759         (FileIcon16.paintIcon): Fetch colors from look and feel,
4760         (FolderIcon16.paintIcon): Likewise.
4761
4762 2006-09-25  Casey Marshall  <csm@gnu.org>
4763
4764         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4765         `readScattering.'
4766         (write): revert back to using `writeGathering.'
4767         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4768         the first buffer that has data remaining, and start at that one.
4769
4770 2006-09-25  Tom Tromey  <tromey@redhat.com>
4771
4772         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4773         variable.
4774
4775 2006-09-25  Tom Tromey  <tromey@redhat.com>
4776
4777         * tools/.cvsignore: Updated.
4778
4779 2006-09-25  Tom Tromey  <tromey@redhat.com>
4780
4781         PR libgcj/29178:
4782         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4783         (Encoder.canEncode): Likewise.
4784         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4785         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4786         method.
4787         (Encoder.canEncode): Likewise.
4788         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4789         method.
4790         (Encoder.canEncode): Likewise.
4791
4792 2006-09-25  Tom Tromey  <tromey@redhat.com>
4793
4794         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4795         (Balloc): Updated.
4796
4797 2006-09-25  Francis Kung  <fkung@redhat.com>
4798
4799         * java/awt/image/ColorModel.java
4800         (coerceData): Made abstract.
4801         (coerceDataWorker): New protected method.
4802         * java/awt/image/ComponentColorModel.java
4803         (coerceData): Return new instance of proper ColorModel.
4804         * java/awt/image/DirectColorModel.java
4805         (coerceData): Return new instance of proper ColorModel.
4806         * java/awt/image/IndexColorModel.java
4807         (coerceData): New method.
4808
4809 2006-09-24  Casey Marshall  <csm@gnu.org>
4810
4811         * gnu/java/nio/FileChannelImpl.java
4812         (read): call `read' in a loop, don't use `readScattering.'
4813         (write): call `write' in a loop, don't use `writeGathering.'
4814
4815 2006-09-24  Mark Wielaard  <mark@klomp.org>
4816
4817         * configure.ac: Move -pedantic from WARNING to STRICT flags.
4818
4819 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4820
4821         * java/nio/channels/spi/AbstractSelectableChannel.java
4822         (register): Set interestOps and attachment when the key already
4823         exists.
4824
4825 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4826
4827         * java/net/ServerSocket.java
4828         (bind(SocketAddress,int)): Added support for null address.
4829         Throw proper exception if already bound.
4830         Handle unresolved addresses correctly. Ignore exceptions that
4831         happen during close in error path (to prevent losing the original
4832         exception.)
4833
4834 2006-09-24  Mark Wielaard  <mark@klomp.org>
4835
4836         Suggested by Aaron M. Ucko <ucko@debian.org>
4837         Fixes bug #29203
4838         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
4839
4840 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
4841
4842         * java/nio/channels/spi/AbstractSelectableChannel.java
4843         (implCloseChannel): Cancel all keys after closing the channel.
4844
4845 2006-09-22  Casey Marshall  <csm@gnu.org>
4846
4847         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
4848         after we delete them.
4849         (selectedKeys): return an empty set if nothing's been selected.
4850         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
4851         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
4852         throw an exception on EBADF.
4853         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
4854         throw exception on EINTR, just return 0.
4855         
4856 2006-09-22  Casey Marshall  <csm@gnu.org>
4857
4858         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4859         remove `const' from `filename.'
4860         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
4861         `filename.'
4862         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
4863
4864 2006-09-22  Casey Marshall  <csm@gnu.org>
4865
4866         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
4867         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
4868         allocate `filename,' and handle changes to `cpio_readDir.'
4869         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
4870         available; copy the filename into the destination buffer; return
4871         an error code if readdir returns NULL, but errno is 0.
4872         * native/jni/native-lib/cpio.h (cpio_readDir): change second
4873         parameter to `const char *.'
4874
4875 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4876
4877         * javax/management/ObjectName.java:
4878         Implemented.
4879         
4880 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
4881
4882         * resource/gnu/classpath/tools/orbd: New directory.
4883         * resource/gnu/classpath/tools/rmic: Likewise.
4884         * resource/gnu/classpath/tools/rmid: Likewise.
4885         * resource/gnu/classpath/tools/rmiregistry: Likewise.
4886         * resource/gnu/classpath/tools/tnameserv: Likewise.
4887         * tools/gnu/classpath/tools/giop: Move contents to...
4888         * tools/gnu/classpath/tools/orbd,
4889         tools/gnu/classpath/tools/tnameserv: New directories.
4890         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
4891         * tools/gnu/classpath/tools/rmic: New directory.
4892         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
4893         * tools/gnu/classpath/tools/rmid: New directory.
4894         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
4895         * tools/gnu/classpath/tools/rmiregistry: New directory.
4896         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
4897         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
4898         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
4899         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
4900         Likewise.
4901         * resource/gnu/classpath/tools/tnameserv/messages.properties:
4902         Likewise.
4903         * tools/gnu/classpath/tools/orbd/Main.java,
4904         tools/gnu/classpath/tools/orbd/Messages.java,
4905         tools/gnu/classpath/tools/orbd/PersistentContext.java,
4906         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
4907         tools/gnu/classpath/tools/orbd/PersistentMap.java,
4908         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
4909         tools/gnu/classpath/tools/rmic/CompilationError.java,
4910         tools/gnu/classpath/tools/rmic/Generator.java,
4911         tools/gnu/classpath/tools/rmic/GiopIo.java,
4912         tools/gnu/classpath/tools/rmic/HashFinder.java,
4913         tools/gnu/classpath/tools/rmic/Main.java,
4914         tools/gnu/classpath/tools/rmic/Messages.java,
4915         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
4916         tools/gnu/classpath/tools/rmic/RMICException.java,
4917         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
4918         tools/gnu/classpath/tools/rmic/RmicBackend.java,
4919         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
4920         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
4921         tools/gnu/classpath/tools/rmic/Variables.java,
4922         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
4923         tools/gnu/classpath/tools/rmic/templates,
4924         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
4925         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
4926         tools/gnu/classpath/tools/rmid/Main.java,
4927         tools/gnu/classpath/tools/rmid/Messages.java,
4928         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
4929         tools/gnu/classpath/tools/rmiregistry/Main.java,
4930         tools/gnu/classpath/tools/rmiregistry/Messages.java,
4931         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
4932         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
4933         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
4934         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
4935         tools/gnu/classpath/tools/tnameserv/Main.java,
4936         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
4937         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
4938         RMIC.java from cp-tools.
4939         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
4940         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
4941         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
4942         and grmic.
4943         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
4944         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
4945         Rename...
4946         (start): New method.
4947         * tools/Makefile.am: Add build support for new tool wrappers.
4948         * tools/gorbd.in: New file.
4949         * tools/grmic.in: Likewise.
4950         * tools/grmid.in: Likewise.
4951         * tools/grmiregistry.in: Likewise.
4952         * tools/gtnameserv.in: Likewise.
4953         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
4954         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
4955         file.
4956         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
4957         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
4958         * tools/gnu/classpath/tools/common/Persistent.java: New file.
4959
4960 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4961
4962         Fixes bug #29047
4963         * gnu/java/util/regex/RETokenRepeated.java
4964         (findMatch): Rewriten without using recursive calls,
4965         (FindMatchControlStack): New class,
4966         (FindMatchControl): New class,
4967         (TryAnotherResult): New class,
4968         (tryAnother): New method.
4969
4970 2006-09-22  Gary Benson  <gbenson@redhat.com>
4971
4972         * java/net/SocketPermission.java
4973         (processHostport): Cope with IPv6 addresses with a
4974         one-digit first component.
4975
4976 2006-09-22  Roman Kennke  <kennke@aicas.com>
4977
4978         * java/awt/Component.java
4979         (enableEvents): Set newEventsOnly flag.
4980         * java/awt/Container.java
4981         (dispatchEventImpl): Consume event if lightweight dispatcher
4982         dispatched the event. Don't call processEvent() here, this
4983         is already done in Component.dispatchEventImpl(). For
4984         heavyweights or when the lightweight dispatcher could
4985         not dispatch, fall back to calling super.
4986         (dispatchNoLightweight): New helper method to avoid
4987         recursivly calling the lightweight dispatcher.
4988         * java/awt/LightweightDispatcher.java
4989         (dragButton): Removed field.
4990         (dragTarget): Removed field.
4991         (mouseEventTarget): New field.
4992         (convertPointToChild): Removed method.
4993         (dispatchEvent): Don't depend on component beeing
4994         a window.
4995         (findTarget): Improved algorithm for finding a target.
4996         Before we went down to the deepest component and went
4997         up again to find a suitable target. Now we go
4998         down only once, without going up.
4999         (handleMouseEvent): Broke method down into some smaller
5000         helper methods.
5001         (isDragging): New helper method.
5002         (isMouseListening): New helper method.
5003         (redispatch): New helper method.
5004         (trackEnterExit): New helper method.
5005
5006 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5007
5008         * javax/swing/SizeSequence.java
5009         (getSize): Return 0 if index is out of bounds.
5010
5011 2006-09-21  Tom Tromey  <tromey@redhat.com>
5012
5013         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5014         (PathOptionGroup): Make -I a joined option.
5015         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5016         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5017         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5018         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5019         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5020         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5021         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5022         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5023         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5024         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5025         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5026         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5027         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5028         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5029         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5030         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5031         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5032         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5033         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5034         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5035         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5036         unused entries.
5037         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5038         * tools/gnu/classpath/tools/common/Messages.java: New file.
5039         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5040         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5041         from getopt.
5042         (ClasspathToolParser): Add -J option here.
5043         (ClasspathToolParser): Call other constructor in this class.
5044         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5045         Handle joined options.
5046         (handleShortOptions): Likewise.
5047         (handleShortOption): Removed.
5048         (finalGroup): New field.
5049         (Parser): Initialize new field.  Don't add -J option.
5050         (addFinal): New method.
5051         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5052         isJoined.
5053         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5054         (Option): Check short option for validity.
5055         (Option): New constructors.
5056         (joined): New field.
5057
5058 2006-09-21  csm  <csm@pollux.local>
5059
5060         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5061         `InterruptedIOException;' try again if it gets thrown.
5062         (receive): likewise, but re-throw `SocketTimeoutException.'
5063         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5064         if we have nothing to select.
5065
5066 2006-09-21  Francis Kung  <fkung@redhat.com>
5067
5068         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5069         (getLogicalBounds): Respect glyph transformations.
5070         (getGlyphOutline): Added null pointer check.
5071         (getGlyphTransform): Do not generate identity transform (API permits null).
5072         (setGlyphPosition): Do not invalidate transform.
5073         (setGlyphTransform): Do not modify glyph position.
5074
5075 2006-09-21  Francis Kung  <fkung@redhat.com>
5076
5077         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5078
5079 2006-09-21  Francis Kung  <fkung@redhat.com>
5080
5081         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5082         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5083         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5084
5085 2006-09-21  Tania Bento  <tbento@redhat.com>
5086
5087         * javax/swing/JTabbedPane.java:
5088         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5089         (setModel): A ChangeListener should be created only if there does not 
5090         currently exist one.
5091
5092 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5093
5094         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5095         (MaximizeAction.actionPerformed): Change icon on maxButton.
5096
5097 2006-09-21  Roman Kennke  <kennke@aicas.com>
5098
5099         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5100         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5101         Use more efficient getViewPosition() and getViewSize() methods
5102         to avoid creating a rectangle.
5103         (HSBChangeListener.stateChanged): Update the view position
5104         unconditionally. Let the Viewport figure out if something
5105         changed.
5106         (VSBChangeListener.stateChanged): Update the view position
5107         unconditionally. Let the Viewport figure out if something
5108         changed.
5109         * javax/swing/JViewport.java
5110         (ViewListener.componentResized): Fire state change, because
5111         the extentSize changes.
5112         (extentSize): Removed unneeded field.
5113         (viewSize): Removed unneeded field.
5114         (getExtentSize): Return the viewport's size here.
5115         (getViewRect): Reformatted.
5116         (getViewSize): Reordered for only one return statement.
5117         (paintImmediately2): Fixed up javadoc.
5118         (paint): Removed unneeded statement.
5119         (setExtentSize): Set viewport size and check for actual change
5120         of value.
5121         (setViewPosition): Simplified condition. Set scrollUnderway
5122         true and don't set isViewSizeSet. Avoid creating one Point
5123         object.
5124         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5125         to false.
5126         * javax/swing/JScrollBar.java
5127         (ScrollBarListener): New class. Forwards change events from
5128         the model as adjustment events.
5129         (sbChangeListener): New field.
5130         (JScrollBar): Install listener on new model.
5131         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5132         method.
5133         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5134         method to allow custom isAdjusting value.
5135         (setMaximum): Only forward to model.
5136         (setMinimum): Only forward to model.
5137         (setValue): Only forward to model.
5138         (setVisibleAmount): Only forward to model.
5139         (setValues): Only forward to model.
5140         (setModel): Update the change listener.
5141
5142 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5143
5144         * java/util/Formatter.java (basicIntegralConversion): Removed 
5145         check for ZERO && !LEFT_JUSTIFY.
5146                 
5147 2006-09-20  Roman Kennke  <kennke@aicas.com>
5148
5149         PR 29036
5150         * javax/swing/plaf/metal/DefaultMetalTheme.java
5151         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5152         (BOLD_CONTROL_TEXT_FONT): New constant field.
5153         (PLAIN_MENU_TEXT_FONT): New constant field.
5154         (BOLD_MENU_TEXT_FONT): New constant field.
5155         (controlTextFont): Removed.
5156         (menuTextFont): Removed.
5157         (CONTROL_TEXT_FONT): New constant field.
5158         (MENU_TEXT_FONT): New constant field.
5159         (getControlTextFont): Use getFont() helper method for fetching
5160         the correct font.
5161         (getMenuTextFont): Use getFont() helper method for fetching
5162         the correct font.
5163         (getFont): New helper method.
5164         (isBoldMetal): New helper method.
5165
5166 2006-09-20  Casey Marshall  <csm@gnu.org>
5167
5168         * NEWS: mention epoll selector along with the kqueue one.
5169
5170 2006-09-20  Casey Marshall  <csm@gnu.org>
5171
5172         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5173         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5174
5175 2006-09-20  Francis Kung  <fkung@redhat.com>
5176
5177         PR 29011
5178         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5179         (getGlyphTransform): Use translation instead of scale.
5180         (performDefaultLayout): Increment position values instead of resetting, and
5181         pre-increment instead of post-increment.
5182         (setGlyphTransform): Handle null case with identity transform.
5183
5184 2006-09-20  Casey Marshall  <csm@gnu.org>
5185
5186         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5187         (AC_CHECK_FUNCS): check for `epoll_create.'
5188         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5189         * gnu/java/nio/EpollSelectorImpl.java: new file.
5190         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5191         field.
5192         (openSelector): return epoll selector if requested and available.
5193         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5194         (gnu_java_nio_EpollSelectorImpl.h): new target.
5195         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5196         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5197         gnu_java_nio_EpollSelectorImpl.c.
5198         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5199
5200 2006-09-20  Casey Marshall  <csm@gnu.org>
5201
5202         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5203         call `isConnected.'
5204         (isConnected): return false if `connectionPending' is true.
5205
5206 2006-09-20  Francis Kung  <fkung@redhat.com>
5207
5208         PR 29011
5209         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5210         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5211         (getGlyphOutline): Call getGylphTransform to generate transform.
5212         (getGylphPosition): Read position directly out of array.
5213         (getGlyphPositions): Read positions directly out of array.
5214         (getGlyphTransform): Generate transform based on gylphPositions array.
5215         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5216         (setGlyphPosition): Set position directly into array.
5217         (setGlyphTransform): Update positions array as well.
5218
5219 2006-09-20  David Daney  <ddaney@avtrex.com>
5220
5221         PR classpath/28661
5222         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5223         default content-type for POST method.
5224
5225 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5226
5227         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5228         (BasicRadioButtonUI): Don't fetch icon here,
5229         (installDefaults): Initialise icon here,
5230         (getDefaultIcon): Just return icon.
5231
5232 2006-09-20  Mark Wielaard  <mark@klomp.org>
5233
5234         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5235         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5236         (EXTRA_DIST): Include javanio.c.
5237
5238 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5239
5240         * java/awt/geom/RoundRectangle2D.java:
5241         (getPathIterator): Reimplemented,
5242         and updated various API doc comments.
5243
5244 2006-09-20  Roman Kennke  <kennke@aicas.com>
5245
5246         * java/awt/Container.java
5247         (addImpl): Set the new component's parent after it has been
5248         added to the array. Call addNotify() and invalidate()
5249         after the component has been added, so that the peer
5250         gets to know about the component structure when it is created.
5251         * java/awt/Window.java
5252         (dispatchEventImpl): Only revalidate when window is resized,
5253         let the other stuff be processed by the superclass.
5254         (dispose): Post WINDOW_CLOSED event only when some listener
5255         is registered or event is explicitly enabled.
5256         (show): Post WINDOW_OPENED event when appropriate.
5257
5258 2006-09-20  Roman Kennke  <kennke@aicas.com>
5259
5260         * java/awt/Component.java
5261         (addNotify): Invalidate here. Fetch peer font.
5262         (getFont): Delegate to helper method, to protect from
5263         overriding client code. Lock the tree while fetching the font.
5264         (getFontImpl): New helper method. Moved code from getFont() in
5265         here.
5266         (removeNotify): Nullify peerFont too.
5267         (setFont): Synchronize on tree and component to avoid threading
5268         issues. Update the peerFont correctly.
5269         (validate): Update the peer font if necessary, before validating.
5270         (getGraphics): Revert to recursive graphics fetching.
5271         Set component font on the Graphics object.
5272         (translateEvent): Removed unnecessary cast.
5273         * java/awt/Container.java
5274         (invalidateTree): Made final and private. Made implementation
5275         slightly more efficient.
5276         (setFont): Get old and new font via getFont() to account for
5277         the real font, and only invalidate the tree when they are not
5278         the same and not equal.
5279         (visitChild): Set the font of the child on the component graphics.
5280         * java/awt/Frame.java
5281         (setMenuBar): Create local reference of peer for thread safety.
5282         Only call simple invalidate, not invalidateTree().
5283
5284 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5285
5286         PR 29012
5287         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5288         (constructor): Copy image field.
5289
5290 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5291
5292         * javax/swing/JMenuBar.java
5293         (getHelpMenu): Implemented to throw an Error, and added API docs,
5294         (getMargin): Added API docs,
5295         (setMargin): Likewise.
5296
5297 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5298
5299         * javax/swing/AbstractButton.java
5300         (AbstractButton): Don't call updateUI(),
5301         * javax/swing/JButton.java
5302         (JButton(String, Icon)): Call setModel() before init(),
5303         * javax/swing/JMenuItem.java
5304         (JMenuItem()): Delegate to another constructor,
5305         (JMenuItem(Icon)): Likewise,
5306         (JMenuItem(Action)): Set model,
5307         (JMenuItem(String, Icon)): Likewise,
5308         * javax/swing/JToggleButton.java
5309         (init): Call setModel() before init().
5310
5311 2006-09-19  Mark Wielaard  <mark@klomp.org>
5312
5313         Fixes bug #29137
5314         * java/util/logging/LogManager.java (addLogger): Always check for
5315         existing children of a new Logger.
5316
5317 2006-09-19  Roman Kennke  <kennke@aicas.com>
5318
5319         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5320         (HSBChangeListener.stateChanged): Moved handling of header to
5321         syncScrollPaneWithViewport().
5322         (VSBChangeListener.stateChanged): Moved handling of header to
5323         syncScrollPaneWithViewport().
5324         (ViewportChangedHandler.stateChanged): Removed unused statements.
5325         (syncScrollPaneWithViewport): Added null checks. Use setValues
5326         rather then the single setter methods to avoid multiple
5327         adjustments and side effects. Also snyc the headers here.
5328         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5329         (uninstallUI): Removed unnecessary cast and this qualifier as well
5330         as the call to super.
5331
5332 2006-09-19  Gary Benson  <gbenson@redhat.com>
5333
5334         * java/net/ResolverCache.java: New class (a DNS cache).
5335         * java/net/InetAddress.java
5336         (internalGetCanonicalHostName, getAllByName): Use the above.
5337
5338 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5339
5340         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5341         * java/net/ServerSocket.java
5342         (port): New field.
5343         (bind): Set port field.
5344         (close): Set impl to null.
5345         (isClosed): Check impl and channel instead of using VMChannel.
5346         (toString): Use port field and getLocalPort() method.
5347         * java/net/Socket.java
5348         (isClosed): Check impl and channel instead of using VMChannel.
5349
5350 2006-09-18  Tom Tromey  <tromey@redhat.com>
5351
5352         * java/util/concurrent/CopyOnWriteArrayList.java
5353         (CopyOnWriteArrayList): New constructor.
5354
5355 2006-09-18  Casey Marshall  <csm@gnu.org>
5356
5357         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5358         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5359
5360 2006-09-18  Tom Tromey  <tromey@redhat.com>
5361
5362         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5363         isConnected): Removed old comment.
5364         (getRemoteSocketAddress): Uncommented.
5365         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5366         setTrafficClass, getTrafficClass, setReuseAddress,
5367         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5368         isOutputShutdown): Uncommented.
5369
5370 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5371
5372         Fixes PR 28589
5373         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5374           input stream during resolution.
5375
5376 2006-09-18  Roman Kennke  <kennke@aicas.com>
5377
5378         * java/awt/LightweightDispatcher.java
5379         (findTarget): Correctly translate child coordinates.
5380         Use Component.eventTypeEnabled() for checking if a component
5381         has a certain event enabled.
5382         (handleMouseEvent): Find the correct mouse event target.
5383         Use Component.eventTypeEnabled() for checking if a component
5384         has a certain event enabled.
5385
5386 2006-09-18  Roman Kennke  <kennke@aicas.com>
5387
5388         * java/awt/Component.java
5389         (show): Test for the peer beeing lightweight directly.
5390         (paintAll): Validate before painting. Don't paint when not
5391         showing. Call peer.paint() when the component is heavyweight.
5392         (repaint): Delegate to the parent when lightweight, rather
5393         than skipping to the nearest heavyweight.
5394         (createImage): Added null check to prevent NPE.
5395         (dispatchEvent): Moved old event dispatching and toolkit
5396         event dispatching to dispatchEventImpl.
5397         (addComponentListener): Don't enable event. Only add listener
5398         when not null. Switch to new event dispatching only.
5399         (addFocusListener): Likewise.
5400         (addHierarchyListener): Likewise.
5401         (addHierarchyBoundsListener): Likewise.
5402         (addKeyListener): Likewise.
5403         (addMouseListener): Likewise.
5404         (addMouseMotionListener): Likewise.
5405         (addMouseWheelListener): Likewise.
5406         (addInputMethodListener): Likewise.
5407         (coalesceEvents): For mouse events coalesce them only when
5408         their modifiers are equal. For paint events coalesce the events
5409         when one contains the other, without going through complicated
5410         heuristics.
5411         (dispatchEventImpl): Moved old event dispatching and toolkit
5412         event dispatching to dispatchEventImpl.
5413         (coalescePaintEvents): Removed.
5414         (HeavyweightInLightweightListener.componentHidden):
5415         Fixed condition.
5416         * java/awt/Container.java
5417         (addImpl): Don't enable events on lightweights.
5418         (remove): Reordered operations. Don't remove any listeners.
5419         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5420         Only removeNotify() when peer is != null. Only invalidate if 
5421         not already invalid. Only fire ContainerEvent if there is
5422         an interested listener or the event is enabled. Dispatch this
5423         event directly without the event queue.
5424         (removeAll): Likewise.
5425         (paintComponents): Only paint when showing. Also paint heavyweights.
5426         Don't paint the container itself.
5427         (removeNotify): Create local variables for improved thread safety.
5428         (addNotifyContainerChildren): Don't enable events for lightweights.
5429
5430 2006-09-18  Roman Kennke  <kennke@aicas.com>
5431
5432         * java/awt/EventQueue.java
5433         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5434         (next_in): Removed obsolete field.
5435         (next_out): Removed obsolete field.
5436         (queueHead): New field. Markes the head of the queue.
5437         (queueTail): New field. Markes the tail of the queue.
5438         (queue): Removed obsolete field.
5439         (EventQueue): Documented empty block.
5440         (getNextEvent): Changed array based implementation to single-linked
5441         list based implementation.
5442         (invokeAndWait): Use an Object as synchronization object rather
5443         than the current thread.
5444         (peekEvent(int)): Changed array based implementation to single-linked
5445         list based implementation.
5446         (peekEvent()): Changed array based implementation to single-linked
5447         list based implementation.
5448         (pop()): Changed array based implementation to single-linked
5449         list based implementation.
5450         (postEvent): Foward to postEventImpl.
5451         (postEventImpl): Changed array based implementation to single-linked
5452         list based implementation.
5453         (push): Changed array based implementation to single-linked
5454         list based implementation.
5455         * java/awt/AWTEvent.java
5456         (queueNext): New field. Implements a single-linked list for
5457         the EventQueue.
5458
5459 2006-09-17  Mark Wielaard  <mark@klomp.org>
5460
5461         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5462         resource from HTMLEditorKit.class.
5463
5464 2006-09-17  Mark Wielaard  <mark@klomp.org>
5465
5466         * javax/swing/plaf/basic/BasicToolBarUI.java
5467         (setBorderToNonRollover): Check whether border is null.
5468         (setBorderToRollover): Likewise.
5469
5470 2006-09-17  Mark Wielaard  <mark@klomp.org>
5471
5472         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5473
5474 2006-09-17  Mark Wielaard  <mark@klomp.org>
5475
5476         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5477         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5478         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5479         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5480         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5481
5482 2006-09-17  Casey Marshall  <csm@gnu.org>
5483
5484         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5485         unused.
5486
5487 2006-09-17  Chris Burdess  <dog@gnu.org>
5488
5489         Fixes PR 27610 27687.
5490         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5491         * gnu/xml/transform/SAXTemplatesHandler.java,
5492         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5493         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5494           SAXTransformerFactory.
5495
5496 2006-09-16  Casey Marshall  <csm@gnu.org>
5497
5498         * NEWS: updated.
5499         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5500         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5501         kqueue, and kevent.
5502         (HAVE_INET6): define if IPv6 is supported.
5503         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5504         (native_fd): removed.
5505         (impl): new field.
5506         (<init>): throw IOException; initialize fields.
5507         (finalize): removed.
5508         (getNativeFD): removed.
5509         (bind): use `PlainSocketImpl.bind.'
5510         (create): use `PlainSocketImpl.initSocket.'
5511         (disconnect): use `PlainSocketImpl.disconnect.'
5512         (getLocalPort): new method.
5513         (send): use `VMChannel.send.'
5514         (receive): use `VMChannel.receive.'
5515         (setOption): use `PlainSocketImpl.setOption.'
5516         (getOption): use `PlainSocketImpl.getOption.'
5517         (close): use `VMChannel.State.close.'
5518         (join): use `PlainSocketImpl.join.'
5519         (leave): use `PlainSocketImpl.leave.'
5520         (joinGroup, leaveGroup): implemented.
5521         * gnu/java/net/PlainSocketImpl.java: make non-final.
5522         (native_fd): removed.
5523         (impl): new field.
5524         (channel): new field.
5525         (<init>): initialize `impl.'
5526         (finalize, getNativeFD): removed.
5527         (setOption): use `PlainSocketImpl.setOption.'
5528         (getOption): use `PlainSocketImpl.getOption.'
5529         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5530         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5531         (create): create `channel,' initialize `impl's native state.
5532         (connect): use `connect(SocketAddress, int).'
5533         (connect): use `SocketChannelImpl.connect;' initialize `address'
5534         and `port.'
5535         (bind): use `VMPlainSocketImpl.bind.'
5536         (listen): use `VMPlainSocketImpl.listen.'
5537         (accept): use `SocketChannelImpl.accept.'
5538         (available): use `VMChannel.available.'
5539         (close): use `PlainSocketImpl.close.'
5540         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5541         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5542         getPort): new methods.
5543         (SocketInputStream.read): use `VMChannel.read.'
5544         (SocketInputStream.read): use `SocketChannel.read.'
5545         (SocketOutputStream.write): use `VMChannel.write.'
5546         (SocketOutputStream.write): use `SocketChannel.write.'
5547         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5548         (channel): new field.
5549         (<init>): initialize `channel.'
5550         (implCloseSelectableChannel): use `VMChannel.close.'
5551         (implConfigureBlocking): use `VMChannel.setBlocking.'
5552         (connect): use `VMChannel.connect.'
5553         (disconnect): use `VMChannel.disconnect.'
5554         (isConnected): use `VMChannel.getPeerAddress.'
5555         (write): use `VMChannel.write.'
5556         (write): use `VMChannel.writeGathering.'
5557         (read): use `VMChannel.read.'
5558         (read): use `VMChannel.readScattering.'
5559         (receive): use `VMChannel.receive.'
5560         (send): use `VMChannel.send.'
5561         (getVMChannel): new method.
5562         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5563         access native FD through VMChannel.State.
5564         * gnu/java/nio/FileChannelImpl.java: moved from
5565         gnu/java/nio/channels/FileChannelImpl.java.
5566         * gnu/java/nio/FileLockImpl.java: fix imports.
5567         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5568         * gnu/java/nio/KqueueSelectorImpl.java: new file.
5569         * gnu/java/nio/NIOSocket.java (impl): removed.
5570         (channel): new field.
5571         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5572         (getPlainSocketImpl, setChannel): removed.
5573         (isConnected): new method.
5574         * gnu/java/nio/NIOSocketImpl.java: new file.
5575         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5576         `VMChannelOwner.'
5577         (SourceChannelImpl.native_fd): removed.
5578         (SourceChannelImpl.<init>): init with a `VMChannel.'
5579         (SourceChannelImpl.getNativeFD): removed.
5580         (SourceChannelImpl.getVMChannel): new method.
5581         (SourceChannelImpl.implCloseSelectableChannel): implement.
5582         (SinkChannelImpl): implement `VMChannelOwner.'
5583         (SinkChannelImpl.native_fd): removed.
5584         (SinkChannelImpl.<init>): init with a `VMChannel.'
5585         (SinkChannelImpl.implCloseSelectableChannel): implement.
5586         (SinkChannelImpl.getNativeFD): removed.
5587         (SinkChannelImpl.getVMChannel): new method.
5588         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5589         deprecated.
5590         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5591         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5592         (openSelector): return kqueue selector if available.
5593         * gnu/java/nio/ServerSocketChannelImpl.java: implement
5594         `VMChannelOwner.'
5595         (channel): new field.
5596         (<init>): init `channel.'
5597         (finalizer): check if the `VMChannel.State' is valid.
5598         (implCloseSelectableChannel): use `VMChannel.close.'
5599         (implConfigureBlocking): use `VMChannel.setBlocking.'
5600         (accept): use `VMChannel.accept.'
5601         (getVMChannel): new method.
5602         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5603         access native FD through `VMChannel.State.'
5604         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5605         (impl): removed.
5606         (channel, connected, connectAddress): new field.
5607         (<init>): new constructors.
5608         (getPlainSocketImpl): removed.
5609         (implCloseSelectableChannel): use `VMChannel.close.'
5610         (implConfigureBlocking): use `VMChannel.setBlocking.'
5611         (connect): use `connect(SocketAddress,int).'
5612         (connect): use `VMChannel.connect.'
5613         (finishConnect): don't use a selector.
5614         (isConnected): use `VMChannel.getPeerAddress.'
5615         (read): use `VMChannel.read.'
5616         (read): use `VMChannel.readScattering.'
5617         (write): use `VMChannel.write.'
5618         (write): use `VMChannel.writeGathering.'
5619         (getVMChannel): new method.
5620         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5621         native FD from `VMChannel.State.'
5622         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5623         get native FD from `VMChannel.State.'
5624         * gnu/java/nio/VMChannelOwner.java: new file.
5625         * gnu/java/nio/channels/FileChannelImpl.java: removed.
5626         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5627         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5628         `gnu_java_nio_channels_FileChannelImpl.h.'
5629         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5630         * include/gnu_java_nio_FileChannelImpl.h: new file.
5631         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5632         * include/gnu_java_nio_VMChannel.h: regenerated.
5633         * include/gnu_java_nio_VMPipe.h: regenerated.
5634         * include/java_net_VMNetworkInterface.h: regenerated.
5635         * java/io/FileDescriptor.java: fix imports.
5636         * java/io/FileInputStream.java (<init>): handle exceptions.
5637         (read): wrap the destination arary.
5638         * java/io/FileOutputStream.java (<init>): handle exceptions.
5639         (write): wrap the source array.
5640         * java/io/RandomAccessFile.java (<init>): handle exceptions.
5641         * java/net/DatagramSocket.java (<init>): handle exceptions.
5642         (receive): handle length/port setting.
5643         (connect): bind to any address/port if the argument is null.
5644         * java/net/NetworkInterface.java (name, inetAddress): removed.
5645         (netif): new field.
5646         (<init>): make private.
5647         (getName): return `netif.name.'
5648         (getInetAddresses): access `netif.addresses.'
5649         (getDisplayName): return `netif.name.'
5650         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5651         (condense): removed.
5652         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5653         (equals): compare `netif' fields.
5654         (hashCode): get hash codes from `netif.'
5655         (toString): use a StringBuffer.
5656         * java/net/ServerSocket.java (close): don't set `impl' to null.
5657         (isClosed): use `VMChannel.State.isClosed.'
5658         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5659         the `SocketImpl' is a `PlainSocketImpl.'
5660         (close): just close the `impl.'
5661         (toString): use `super.toString' in the value we return.
5662         (isConnected): just access `impl,' not `getImpl.'
5663         (isBound): use `PlainSocketImpl' methods if we can.
5664         (isClosed): look at `VMChannel.State.'
5665         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5666         (JCL_NewRawDataObject): don't initialize cached fields here; throw
5667         an exception if they were not.
5668         (JCL_GetRawData): throw an exception if cached fields weren't
5669         created.
5670         * native/jni/java-lang/java_lang_VMProcess.c: handle
5671         FileChannelImpl move.
5672         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5673         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5674         THROW_NO_NETWORK): new macros.
5675         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5676         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5677         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5678         (java_sockopt): new enum.
5679         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5680         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5681         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5682         reimplemented.
5683         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5684         reimplemented.
5685         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5686         function.
5687         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5688         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5689         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5690         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5691         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5692         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5693         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5694         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5695         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5696         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5697         (getif_address): new function.
5698         (getif_index): new function.
5699         * native/jni/java-net/java_net_VMNetworkInterface.c
5700         (java_net_VMNetworkInterface_init,
5701         java_net_VMNetworkInterface_addAddress): new file-scope globals.
5702         (Java_java_net_VMNetworkInterface_initIds): new function.
5703         (struct netif_entry): new struct.
5704         (free_netif_list): new function.
5705         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5706         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5707         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5708         gnu_java_nio_channels_FileChannelImpl.c, add
5709         gnu_java_nio_KqueueSelectorImpl.c.
5710         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5711         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5712         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5713         ALIGN_DOWN): new macros.
5714         (JCL_init_buffer): get the address through GetDirectBufferAddress
5715         if possible.
5716         (Java_gnu_java_nio_VMChannel_stdin_1fd,
5717         Java_gnu_java_nio_VMChannel_stdout_1fd,
5718         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5719         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5720         value.
5721         (Java_gnu_java_nio_VMChannel_read): renamed...
5722         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5723         this; handle interrupted IO; add HAVE_READ check.
5724         (Java_gnu_java_nio_VMChannel_write): renamed...
5725         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5726         this; handle zero-length write; add HAVE_WRITE check.
5727         (Java_gnu_java_nio_VMChannel_receive): new function.
5728         (Java_gnu_java_nio_VMChannel_send): new function.
5729         (Java_gnu_java_nio_VMChannel_send6): new function.
5730         (Java_gnu_java_nio_VMChannel_read__I): new function.
5731         (Java_gnu_java_nio_VMChannel_write__II): new function.
5732         (Java_gnu_java_nio_VMChannel_socket): new function.
5733         (Java_gnu_java_nio_VMChannel_connect): new function.
5734         (Java_gnu_java_nio_VMChannel_connect6): new function.
5735         (Java_gnu_java_nio_VMChannel_getsockname): new function.
5736         (Java_gnu_java_nio_VMChannel_getpeername): new function.
5737         (Java_gnu_java_nio_VMChannel_accept): new function.
5738         (Java_gnu_java_nio_VMChannel_disconnect): new function.
5739         (Java_gnu_java_nio_VMChannel_close): new function.
5740         (Java_gnu_java_nio_VMChannel_available): new function.
5741         (FileChannel_mode): new enum.
5742         (Java_gnu_java_nio_VMChannel_open): new function.
5743         (Java_gnu_java_nio_VMChannel_position): new function.
5744         (Java_gnu_java_nio_VMChannel_seek): new function.
5745         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5746         (Java_gnu_java_nio_VMChannel_lock): new function.
5747         (Java_gnu_java_nio_VMChannel_unlock): new function.
5748         (Java_gnu_java_nio_VMChannel_size): new function.
5749         (Java_gnu_java_nio_VMChannel_map): new function.
5750         (Java_gnu_java_nio_VMChannel_flush): new function.
5751         * native/jni/java-nio/gnu_java_nio_VMPipe.c
5752         (Java_gnu_java_nio_VMPipe_init): removed.
5753         (Java_gnu_java_nio_VMPipe_pipe0): new function.
5754         * native/jni/java-nio/javanio.c: new file.
5755         * native/jni/java-nio/javanio.h: new file.
5756         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5757         systems without `gethostbyname_r.'
5758         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5759         field.
5760         (<init>, <init>): new constructors.
5761         (setOption, getOption): make instance methods; defer to native
5762         implementation.
5763         (connect): removed.
5764         (bind): make an instance method; defer to native methods.
5765         (accept): removed.
5766         (available): removed.
5767         (listen): make an instance method; defer to native method.
5768         (read): removed.
5769         (join, leave): new methods.
5770         (write): removed.
5771         (joinGroup, leaveGroup): new methods.
5772         (shutdownInput, shutdownOutput): make instance methods.
5773         (sendUrgentData): removed.
5774         (State): new class.
5775         * vm/reference/gnu/java/nio/VMChannel.java: make final.
5776         (fd): removed.
5777         (nfd): new field.
5778         (<init>): new, public constructors.
5779         (getVMChannel): methods removed.
5780         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5781         stderr_fd): new methods.
5782         (setBlocking): make an instance method.
5783         (available): new method.
5784         (read): get native fd from `nfd.'
5785         (read): new single-byte read method.
5786         (readScattering): get native fd from `nfd.'
5787         (receive): new method.
5788         (write, writeGathering): get native fd from `nfd.'
5789         (send): new method.
5790         (write): new single-byte write method.
5791         (initSocket): new method.
5792         (connect): new method.
5793         (disconnect): new method.
5794         (getLocalAddress): new method.
5795         (getPeerAddress): new method.
5796         (accept): new method.
5797         (openFile): new method.
5798         (position): new method.
5799         (seek): new method.
5800         (truncate): new method.
5801         (lock): new method.
5802         (unlock): new method.
5803         (size): new method.
5804         (map): new method.
5805         (flush): new method.
5806         (close): new method.
5807         (State): new class.
5808         (Kind): new class.
5809         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
5810         (pipe, pipe0): new method.
5811         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
5812         new fields.
5813         (<clinit>): call `initIds.'
5814         (initIds): new method.
5815         (getInterfaces): removed.
5816         (getVMInterfaces): new method.
5817         (addAddress): new method.
5818         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
5819
5820 2006-09-16  Chris Burdess  <dog@gnu.org>
5821
5822         Fixes PR 28572.
5823         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
5824           when in text output mode.
5825
5826 2006-09-16  Chris Burdess  <dog@gnu.org>
5827
5828         Fixes PR 27293.
5829         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
5830
5831 2006-09-14  Michael Koch  <konqueror@gmx.de>
5832
5833         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
5834
5835 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
5836
5837         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
5838         Added !cl.isArray() to serialVersionUID mismatch check.
5839
5840 2006-09-14  Francis Kung  <fkung@redhat.com>
5841
5842         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5843         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
5844         be compatibe with Cairo 1.2.x.
5845
5846 2006-09-14  Francis Kung  <fkung@redhat.com>
5847
5848         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
5849         (cairoSurfaceSetFilter): Removed method.
5850         (drawImage): Pass interpolation type as argument to drawing methods.
5851         (drawPixels): Added interpolation parameter.
5852         (drawRaster): Pass interpolation type as argument to drawing method.
5853         (getInterpolation): New method.
5854         (setRenderingHint): Store hints, but do not set interpolation in cairo.
5855         (setRenderingHints): Store hints, but do not set interpolation in cairo.
5856         * gnu/java/awt/peer/gtk/CairoSurface.java
5857         (drawSurface): Added interpolation parameter.
5858         (nativeDrawSurface): Added interpolation parameter.
5859         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
5860         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5861         parameter.
5862         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5863         * native/jni/gtk-peer/cairographics2d.h
5864         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
5865         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
5866         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
5867         parameter.
5868         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
5869         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
5870         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
5871         interpolation parameter.
5872
5873 2006-09-14  Gary Benson  <gbenson@redhat.com>
5874
5875         * java/net/InetAddress.java
5876         (internalGetCanonicalHostName): New method.
5877         (getCanonicalHostName): Use internalGetCanonicalHostName.
5878         (getByLiteral): New method.
5879         (getAllByName): Use getByLiteral.
5880         * java/net/SocketPermission.java
5881         (host): Replaced with...
5882         (hostname, address): New fields.
5883         (equals, hashcode): Reflect the above.
5884         (setHostPort): Parse host into hostname or address.
5885         (implies): Rewrite host checks.
5886
5887 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5888
5889         Fixes PR28699
5890         * java/awt/Menu.java
5891         (insert(MenuItem, int)): Fixed loop range,
5892         (insert(String, int)): Updated API docs.
5893
5894 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5895
5896         Fixes PR22800
5897         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
5898         architectures (like Arm).
5899         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
5900         Reverted SWAP_DOUBLE patch.
5901         (doubleToRawLongBits): Likewise.
5902         (longBitsToDouble): Likewise.
5903
5904 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
5905
5906         * java/awt/Menu.java: Reformatted source file.
5907
5908 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5909
5910         * gnu/java/rmi/server/ActivatableRef.java
5911         (readExternal, writeExternal): Partial fix for serialization format.
5912
5913 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
5914
5915         PR classpath/28984
5916         * java/io/InputStreamReader.java
5917         (read(char[],int,int)): Fixed bug.
5918
5919 2006-09-13  Francis Kung  <fkung@redhat.com>
5920
5921         * java/awt/image/BandCombineOp.java: Updated documentation.
5922         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
5923
5924 2006-09-13  Tom Tromey  <tromey@redhat.com>
5925
5926         PR classpath/29034:
5927         * java/io/PipedReader.java (read): Return early if len==0.
5928         * java/io/PipedInputStream.java (read): Return early if len==0.
5929
5930 2006-09-13  Francis Kung  <fkung@redhat.com>
5931
5932         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
5933         Removed hard-coded max sample value.
5934         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
5935         Fixed finding of max sample value.
5936
5937 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5938
5939         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5940         (setPaint): Check null argument ('p').
5941
5942 2006-09-12  Francis Kung  <fkung@redhat.com>
5943
5944         PR 27940
5945         * gnu/java/awt/java2d/TexturePaintContext.java
5946         (constructor): Fixed typo, getMinY instead of getMaxX.
5947         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5948         (setPaint): Implemented support for custom Paint classes.
5949         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
5950         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
5951         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
5952         to setPaintPixels, and added repeat parameter.
5953         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
5954          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
5955
5956 2006-09-12  Gary Benson  <gbenson@redhat.com>
5957
5958         * java/net/NetworkInterface.java (getInetAddresses):
5959         Fix port used in security check.
5960
5961 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5962
5963         * javax/swing/plaf/metal/DefaultMetalTheme.java
5964         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
5965         (MENU_TEXT_FONT): Renamed 'menuTextFont',
5966         (getControlTextFont): Check 'swing.boldMetal' setting before 
5967         initialising font,
5968         (getMenuTextFont): Likewise.
5969
5970 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5971
5972         * javax/swing/plaf/metal/OceanTheme.java
5973         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
5974
5975 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5976
5977         * javax/swing/plaf/metal/MetalIconFactory.java
5978         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
5979
5980 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5981
5982         * javax/swing/AbstractSpinnerModel.java: API doc updates.
5983
5984 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
5985
5986         * javax/swing/AbstractButton.java
5987         (AbstractButton): Initialise textIconGap field.
5988
5989 2006-09-11  Tom Tromey  <tromey@redhat.com>
5990
5991         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
5992         "volatile" when needed.
5993
5994 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
5995
5996         * java/text/AttributedCharacterIterator.java
5997         (LANGUAGE): Initialise with lower case string,
5998         (INPUT_METHOD_SEGMENT): Likewise,
5999         (READING): Likewise,
6000         * java/text/AttributedStringIterator.java
6001         (getRunLimit): Check all attributes for changes.
6002
6003 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6004
6005         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6006         renamed some variables (no underscores) and removed some spaces to
6007         match the common style,
6008         * java/text/AttributedString.java: Likewise,
6009         * java/text/AttributedStringIterator.java: Likewise.
6010
6011 2006-09-11  Gary Benson  <gbenson@redhat.com>
6012
6013         * java/net/Inet4Address.java
6014         (FAMILY): Renamed back to AF_INET.
6015         (<init>, writeReplace): Reflect the above.
6016         * java/net/Inet6Address.java
6017         (FAMILY): Renamed back to AF_INET6.
6018         (<init>): Reflect the above.
6019
6020 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6021
6022         Fixes PR29010
6023         * java/text/AttributedString.java
6024         (AttributedString(AttributedCharacterIterator, int, int, 
6025         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6026         attribute.
6027
6028 2006-09-11  Gary Benson  <gbenson@redhat.com>
6029
6030         * java/net/Inet4Address.java
6031         (AF_INET): Renamed to FAMILY.
6032         (<init>, writeReplace): Reflect the above.
6033         * java/net/Inet6Address.java
6034         (AF_INET6): Renamed to FAMILY.
6035         (<init>): Reflect the above.
6036
6037 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6038
6039         Fixes bug #28867
6040         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6041         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6042         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6043         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6044         (bind): Call getImpl().create(true).
6045
6046 2006-09-09  Chris Burdess  <dog@gnu.org>
6047
6048         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6049           an instance of org.w3c.dom.NodeList.
6050
6051 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6052
6053         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6054         missing security manager when run in standalone mode.
6055
6056 2006-09-08  Francis Kung  <fkung@redhat.com>
6057
6058         * java/awt/image/AffineTransformOp.java: Updated documentation.
6059         (createCompatibleDestRaster): Updated formatting.
6060         (filter(BufferedImage, BufferedImage)): Updated formatting.
6061         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6062         if colour model is compatible.
6063         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6064         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6065
6066 2006-09-08  Gary Benson  <gbenson@redhat.com>
6067
6068         * java/net/InetAddress.java
6069         (family): Updated javadoc and made private.
6070         (<init>): Add an address family argument.
6071         (readObject): Don't overwrite family.
6072         * java/net/Inet4Address.java
6073         (AF_INET): New constant.
6074         (<init>): Use AF_INET as the family.
6075         (writeReplace): Likewise.
6076         * java/net/Inet6Address.java
6077         (AF_INET6): New constant.
6078         (<init>): Use AF_INET6 as the family.
6079
6080 2006-09-08  Gary Benson  <gbenson@redhat.com>
6081
6082         * java/net/InetAddress.java
6083         (getHostName): Move lookup into getCanonicalHostName.
6084         (getCanonicalHostName): Move lookup from getHostName,
6085         Perform security check on canonical name (ie after lookup).
6086
6087 2006-09-08  Gary Benson  <gbenson@redhat.com>
6088
6089         * java/net/Inet4Address.java (isMulticastAddress,
6090         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6091         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6092         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6093         implementations from InetAddress.
6094         * java/net/InetAddress.java (isMulticastAddress,
6095         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6096         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6097         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6098         implementations with UnsupportedOperationExceptions.
6099         
6100 2006-09-08  Gary Benson  <gbenson@redhat.com>
6101
6102         * java/net/InetAddress.java
6103         (inaddr_any): Removed.
6104         (ANY_IF, LOCALHOST): Create using getByAddress.
6105         (<init>): Updated javadoc.
6106         (getHostName): Cache hostname even if the lookup failed.
6107         (getByAddress): Create Inet4Address objects when passed
6108         IPv4-mapped IPv6 addresses.
6109         (aton): Removed.
6110         (getAllByName): Create address objects using getByAddress.
6111         Do not perform security checks unless actually required.
6112         Do not strip whitespace from the hostname.
6113         (getInaddrAny): Removed.
6114         (getLocalHost): Return the loopback address if getByName
6115         throws a SecurityException.
6116         (readResolve): Updated javadoc.
6117         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6118         * include/java_net_VMInetAddress.h
6119         (Java_java_net_VMInetAddress_aton): Likewise.
6120         * native/jni/java-net/java_net_VMInetAddress.c
6121         (Java_java_net_VMInetAddress_aton): New method.
6122         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6123         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6124         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6125         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6126         * NEWS: Added note about updated VM interface.
6127
6128 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6129
6130         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6131         (setNorthPane): Assign component to titlePane.
6132
6133 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6134
6135         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6136         Remove unused variable alt_addr.
6137         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6138         Remove unused variables.
6139
6140 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6141
6142         * javax/swing/plaf/metal/MetalScrollBarUI.java
6143         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6144         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6145         (createIncreaseButton): Likewise.
6146
6147 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6148
6149         * java/awt/image/MemoryImageSource.java: Added API docs.
6150
6151 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6152
6153         * javax/swing/plaf/basic/BasicScrollBarUI.java
6154         (installDefaults): Call configureScrollBarColors().
6155
6156 2006-09-06  Francis Kung  <fkung@redhat.com>
6157
6158         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6159         (constructor): Make copy of arrays.
6160         (createCompatibleDestImage): Changed treatment of null ColorModel.
6161         (filter(BufferedImage, BufferedImage)): Re-implemented.
6162         (filter(Raster, WritableRaster, boolean[])): New method.
6163         (filter(Raster, WritableRaster)): Re-implemented.
6164         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6165         (getPoint2D): Cleaned up formatting.
6166         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6167
6168 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6169
6170         * javax/swing/UIManager.java
6171         (getBoolean(Object)): Reimplemented,
6172         (getBoolean(Object, Locale)): Likewise,
6173         (getBorder(Object)): Likewise,
6174         (getBorder(Object, Locale)): Likewise,
6175         (getColor(Object)): Likewise,
6176         (getColor(Object, Locale)): Likewise,
6177         (getDimension(Object)): Likewise,
6178         (getDimension(Object, Locale)): Likewise,
6179         (getFont(Object)): Likewise,
6180         (getFont(Object, Locale)): Likewise,
6181         (getIcon(Object)): Likewise,
6182         (getIcon(Object, Locale)): Likewise,
6183         (getInsets(Object)): Updated API docs,
6184         (getInsets(Object, Locale)): Likewise,
6185         (getInt(Object)): Reimplemented,
6186         (getInt(Object, Locale)): Likewise,
6187         (getString(Object)): Likewise,
6188         (getString(Object, Locale)): Likewise.
6189
6190 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6191
6192         * javax/swing/UIManager.java
6193         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6194         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6195
6196 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6197
6198         * javax/swing/plaf/metal/MetalLookAndFeel.java
6199         (initComponentDefaults): Corrected various font defaults.
6200
6201 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6202
6203         * java/awt/List.java: Added @since to various methods.
6204
6205 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6206
6207         * native/jni/native-lib/cpprocess.c:
6208         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6209         Add redirection of stdout to stderr.
6210         * native/jni/native-lib/cpprocess.h:
6211         Added redirect argument.
6212         * native/jni/java-lang/java_lang_VMProcess.c
6213         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6214         * vm/reference/java/lang/VMProcess.java: Likewise.
6215         * include/java_lang_VMProcess.h: Regenerated.
6216         
6217 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6218
6219         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6220         __attribute to __attribute__.
6221
6222         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6223         header include.
6224
6225 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6226
6227         * java/awt/List.java: Source code reformatted.
6228
6229 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6230
6231         * gnu/CORBA/CollocatedOrbs.java,
6232         gnu/CORBA/SafeForDirectCalls.java: New files.
6233         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6234         Implement gnu.CORBA.SafeForDirectCalls.
6235         * gnu/CORBA/NamingService/Ext.java: Likewise.
6236         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6237         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6238         of the local host. (ior_to_object): Return the local object
6239         where possible. (run): Register/unregister this ORB.
6240         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6241         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6242         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6243         (constructors): Initialize noRetain. (_invoke): Drop servant
6244         if noRetain is true. (getHandler): Always seach for the new servant
6245         if noRetain is true.
6246         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6247         * NEWS: Added note about the new feature.
6248
6249 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6250
6251         * java/awt/Choice.java
6252         (addItem): Fixed API doc glitch.
6253
6254 2006-09-05  Francis Kung  <fkung@redhat.com>
6255
6256         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6257         (createCompatibleDestImage): Re-implemented.
6258         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6259         compatibility, and use ColorConvertOp for color conversion if needed.
6260         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6261
6262 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6263
6264         gnu/CORBA/CDR/Vio.java,
6265         org/omg/CORBA_2_3/ORB.java,
6266         org/omg/CORBA_2_3/portable/InputStream.java,
6267         org/omg/CORBA_2_3/portable/OutputStream.java,
6268         org/omg/CosNaming/BindingIteratorHelper.java,
6269         org/omg/CosNaming/BindingTypeHelper.java,
6270         org/omg/CosNaming/NameComponentHelper.java,
6271         org/omg/CosNaming/NameHelper.java,
6272         org/omg/CosNaming/NamingContextExtHelper.java,
6273         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6274         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6275         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6276         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6277         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6278         org/omg/CosNaming/NamingContextHelper.java,
6279         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6280         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6281         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6282         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6283         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6284         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6285         org/omg/DynamicAny/AnySeqHelper.java,
6286         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6287         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6288         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6289         org/omg/DynamicAny/DynAnyHelper.java,
6290         org/omg/DynamicAny/DynAnyOperations.java,
6291         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6292         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6293         org/omg/DynamicAny/DynAnySeqHelper.java,
6294         org/omg/DynamicAny/DynArrayHelper.java,
6295         org/omg/DynamicAny/DynEnumHelper.java,
6296         org/omg/DynamicAny/DynFixedHelper.java,
6297         org/omg/DynamicAny/DynSequenceHelper.java,
6298         org/omg/DynamicAny/DynStructHelper.java,
6299         org/omg/DynamicAny/DynStructOperations.java,
6300         org/omg/DynamicAny/DynUnionHelper.java,
6301         org/omg/DynamicAny/DynValueHelper.java,
6302         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6303         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6304         org/omg/IOP/CodecFactoryHelper.java,
6305         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6306         org/omg/IOP/CodecOperations.java,
6307         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6308         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6309         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6310         org/omg/IOP/ComponentIdHelper.java,
6311         org/omg/IOP/ExceptionDetailMessage.java,
6312         org/omg/IOP/MultipleComponentProfileHelper.java,
6313         org/omg/IOP/ProfileIdHelper.java,
6314         org/omg/IOP/ServiceContextListHelper.java,
6315         org/omg/IOP/ServiceIdHelper.java,
6316         org/omg/IOP/TAG_CODE_SETS.java,
6317         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6318         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6319         org/omg/PortableInterceptor/CurrentHelper.java,
6320         org/omg/PortableInterceptor/IORInfo.java,
6321         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6322         org/omg/PortableInterceptor/ORBIdHelper.java,
6323         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6324         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6325         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6326         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6327         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6328         org/omg/PortableInterceptor/RequestInfoOperations.java,
6329         org/omg/PortableInterceptor/ServerIdHelper.java,
6330         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6331         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6332         org/omg/PortableServer/AdapterActivatorOperations.java,
6333         org/omg/PortableServer/CurrentHelper.java,
6334         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6335         org/omg/PortableServer/ForwardRequestHelper.java,
6336         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6337         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6338         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6339         org/omg/PortableServer/LifespanPolicyValue.java,
6340         org/omg/PortableServer/POA.java,
6341         org/omg/PortableServer/POAHelper.java,
6342         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6343         org/omg/PortableServer/POAManagerPackage/State.java,
6344         org/omg/PortableServer/POAOperations.java,
6345         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6346         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6347         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6348         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6349         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6350         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6351         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6352         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6353         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6354         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6355         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6356         org/omg/PortableServer/ServantActivatorHelper.java,
6357         org/omg/PortableServer/ServantLocatorHelper.java,
6358         org/omg/PortableServer/ServantLocatorOperations.java,
6359         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6360         org/omg/PortableServer/ThreadPolicyValue.java,
6361         org/omg/PortableServer/_ServantActivatorStub.java,
6362         org/omg/PortableServer/_ServantLocatorStub.java,
6363         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6364
6365 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6366
6367         * javax/rmi/CORBA/Tie.java,
6368         org/omg/CORBA/AnyHolder.java,
6369         org/omg/CORBA/AnySeqHelper.java,
6370         org/omg/CORBA/AnySeqHolder.java,
6371         org/omg/CORBA/BooleanHolder.java,
6372         org/omg/CORBA/BooleanSeqHelper.java,
6373         org/omg/CORBA/BooleanSeqHolder.java,
6374         org/omg/CORBA/ByteHolder.java,
6375         org/omg/CORBA/CharHolder.java,
6376         org/omg/CORBA/CharSeqHelper.java,
6377         org/omg/CORBA/CharSeqHolder.java,
6378         org/omg/CORBA/Context.java,
6379         org/omg/CORBA/CurrentHelper.java,
6380         org/omg/CORBA/CustomValue.java,
6381         org/omg/CORBA/DataOutputStream.java,
6382         org/omg/CORBA/DefinitionKindHelper.java,
6383         org/omg/CORBA/DomainManagerOperations.java,
6384         org/omg/CORBA/DoubleHolder.java,
6385         org/omg/CORBA/DoubleSeqHelper.java,
6386         org/omg/CORBA/DoubleSeqHolder.java,
6387         org/omg/CORBA/DynAny.java,
6388         org/omg/CORBA/DynSequence.java,
6389         org/omg/CORBA/DynValue.java,
6390         org/omg/CORBA/DynamicImplementation.java,
6391         org/omg/CORBA/FieldNameHelper.java,
6392         org/omg/CORBA/FixedHolder.java,
6393         org/omg/CORBA/FloatHolder.java,
6394         org/omg/CORBA/FloatSeqHelper.java,
6395         org/omg/CORBA/FloatSeqHolder.java,
6396         org/omg/CORBA/IdentifierHelper.java,
6397         org/omg/CORBA/IntHolder.java,
6398         org/omg/CORBA/LocalObject.java,
6399         org/omg/CORBA/LongHolder.java,
6400         org/omg/CORBA/LongLongSeqHelper.java,
6401         org/omg/CORBA/LongLongSeqHolder.java,
6402         org/omg/CORBA/LongSeqHelper.java,
6403         org/omg/CORBA/LongSeqHolder.java,
6404         org/omg/CORBA/ORB.java,
6405         org/omg/CORBA/ObjectHelper.java,
6406         org/omg/CORBA/ObjectHolder.java,
6407         org/omg/CORBA/OctetSeqHelper.java,
6408         org/omg/CORBA/OctetSeqHolder.java,
6409         org/omg/CORBA/PolicyErrorCodeHelper.java,
6410         org/omg/CORBA/PolicyErrorHelper.java,
6411         org/omg/CORBA/PolicyHelper.java,
6412         org/omg/CORBA/PolicyListHelper.java,
6413         org/omg/CORBA/PolicyTypeHelper.java,
6414         org/omg/CORBA/PrincipalHolder.java,
6415         org/omg/CORBA/RepositoryIdHelper.java,
6416         org/omg/CORBA/Request.java,
6417         org/omg/CORBA/ShortHolder.java,
6418         org/omg/CORBA/ShortSeqHelper.java,
6419         org/omg/CORBA/ShortSeqHolder.java,
6420         org/omg/CORBA/StringSeqHelper.java,
6421         org/omg/CORBA/StringSeqHolder.java,
6422         org/omg/CORBA/ULongLongSeqHelper.java,
6423         org/omg/CORBA/ULongLongSeqHolder.java,
6424         org/omg/CORBA/ULongSeqHelper.java,
6425         org/omg/CORBA/ULongSeqHolder.java,
6426         org/omg/CORBA/UShortSeqHelper.java,
6427         org/omg/CORBA/UShortSeqHolder.java,
6428         org/omg/CORBA/ValueBaseHelper.java,
6429         org/omg/CORBA/ValueBaseHolder.java,
6430         org/omg/CORBA/VersionSpecHelper.java,
6431         org/omg/CORBA/WCharSeqHelper.java,
6432         org/omg/CORBA/WCharSeqHolder.java,
6433         org/omg/CORBA/WStringSeqHelper.java,
6434         org/omg/CORBA/WStringSeqHolder.java,
6435         org/omg/CORBA/WrongTransactionHelper.java,
6436         org/omg/CORBA/_IDLTypeStub.java,
6437         org/omg/CORBA/_PolicyStub.java,
6438         org/omg/CORBA/portable/BoxedValueHelper.java,
6439         org/omg/CORBA/portable/Delegate.java,
6440         org/omg/CORBA/portable/ObjectImpl.java,
6441         org/omg/CORBA/portable/ServantObject.java,
6442         org/omg/CORBA/portable/StreamableValue.java,
6443         org/omg/CosNaming/BindingType.java,
6444         org/omg/CosNaming/IstringHelper.java,
6445         org/omg/DynamicAny/FieldNameHelper.java,
6446         org/omg/PortableServer/Servant.java: Documentation fixes.
6447
6448 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6449
6450         * java/awt/Rectangle.java
6451         (setRect(double, double, double, double)): Modified rounding of input
6452         values.
6453
6454 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6455
6456         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6457         Disallow H1 - H6 in the paragraphs.
6458         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6459         (preprocess): Leave at most one leading and/or trailing space.
6460         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6461         Do not add any text after closing the HTML tag.
6462
6463 2006-09-02  Roman Kennke  <kennke@aicas.com>
6464
6465         PR 28928
6466         * javax/swing/plaf/basic/BasicTextUI.java
6467         (RootView.getPreferredSpan): Default to 10 when there is no
6468         real view.
6469         (RootView.getMinimumSpan): Forward to view and default to 10
6470         when there is no real view.
6471         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6472         (getMaximumSize): Check for overflow.
6473         * javax/swing/text/FieldView.java
6474         (getResizeWeight): Removed unneeded assignment.
6475
6476 2006-09-01  Francis Kung  <fkung@redhat.com>
6477         * java/awt/image/ColorConvertOp.java
6478         (copyImage): Updated javadoc and comments.
6479         (copyRaster): Add javadoc.
6480         (createCompatibleColorModel): Add javadocs and comments.
6481         (createCompatibleDestImage): Use correct transfer type.
6482         (createCompatibleDestRaster): Add new parameter for transfer type.
6483         (filter): Use correct transfer type.
6484         * java/awt/image/ConvolveOp.java: Updated javadocs.
6485         (createCompatibleDestImage): Set new image properties correctly.
6486         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6487         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6488
6489 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6490
6491         * javax/swing/table/DefaultTableModel.java:
6492         (checkSize): Added null check for dataVector.
6493
6494 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6495
6496         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6497         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6498         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6499
6500 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6501
6502         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6503         (paintIcon): Removed unused import statements, lowered cast requirement
6504         from JCheckBox to AbstractButton.
6505
6506 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6507
6508         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6509         (initComponentDefaults): Added, changed and removed some
6510         tabbed pane properties.
6511
6512 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6513
6514         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6515         (createContent): Changed menu item name and tab naming.
6516
6517 2006-09-01  Roman Kennke  <kennke@aicas.com>
6518
6519         PR 28922
6520         * javax/swing/plaf/basic/BasicHTML.java
6521         (HTMLRootView.getAttributes): Overridden to return null.
6522         (HTMLRootView.getElement): Overridden to return the view's
6523         element.
6524
6525 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6526
6527         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6528         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6529         of accessing variable directly.
6530         (calculateTabAreaWidth): Dito.
6531
6532 2006-08-31  Keith Seitz  <keiths@redhat.com>
6533
6534         * include/jvmti.h: Include jvmti_md.h.
6535
6536 2006-08-31  Keith Seitz  <keiths@redhat.com>
6537
6538         From Martin Platter  <motse@complang.tuwien.ac.at>:
6539         * Makefile.am (include_HEADERS): Include jvmti.h.
6540         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6541         (jvmtiError): Remove superfluous comma after last entry.
6542         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6543         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6544         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6545         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6546         character pointer.
6547         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6548         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6549         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6550         character pointer.
6551
6552 2006-08-31  Roman Kennke  <kennke@aicas.com>
6553
6554         * javax/swing/text/BoxView.java
6555         (getWidth): Return the width with insets added, not with one
6556         added and one removed.
6557         (getHeight): Return the height with insets added, not with one
6558         added and one removed.
6559         * javax/swing/text/GlyphView.java
6560         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6561         * javax/swing/text/ParagraphView.java
6562         (Row.getAlignment): Adjust alignment with respect to
6563         the justification attribute.
6564         (Row.getLeftInset): Overridden to adjust for firstLineIndent
6565         attribute.
6566         * javax/swing/text/html/CSS.java
6567         (getValue): Convert length values.
6568         * javax/swing/text/html/Paragraph.java
6569         (painter): New field.
6570         (paint): Implemented to delegate painting to the BoxPainter too.
6571         (setPropertiesFromAttributes): Implemented to load attributes
6572         from CSS.
6573         * javax/swing/text/html/StyleSheet.java
6574         (BoxPainter.as): Removed field.
6575         (BoxPainter.leftInset): New field.
6576         (BoxPainter.bottomInset): New field.
6577         (BoxPainter.rightInset): New field.
6578         (BoxPainter.topInset): New field.
6579         (BoxPainter.BoxPainter): Implemented to load the insets from
6580         CSS.
6581         (BoxPainter.getInset): Implemented.
6582         * gnu/javax/swing/text/html/Length.java: New class.
6583         Converts CSS length units to usable values.
6584
6585 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6586
6587         * configure.ac: Add check for gethostbyname_r.
6588         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6589         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6590         SOCKET_NOSIGNAL according to the configure check.
6591         (cpnet_send): Use SOCKET_NOSIGNAL.
6592         (cpnet_sendTo): Likewise.
6593         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6594         defined.
6595         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6596         are not available.
6597
6598         * lib/Makefile.am (cssfiles): Add new rule to install css files.
6599
6600 2006-08-31  Roman Kennke  <kennke@aicas.com>
6601
6602         * javax/swing/JEditorPane.java
6603         (getPreferredSize): Replace preferred size with minimum
6604         UI size only if the scrollable does _not_ track the viewport
6605         size and only if the viewport's size is smaller than the
6606         scrollable's size.
6607         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6608         method calls.
6609         * javax/swing/plaf/basic/BasicTextUI.java
6610         (getPreferredSize): Read-lock the document to avoid
6611         concurrency problems.
6612         (getMaximumSize): Return maximum size of the view.
6613         Read-lock the document to avoid concurrency problems.
6614         (getMinimumSize): Return minimum size of the view.
6615         Read-lock the document to avoid concurrency problems.
6616
6617 2006-08-31  Gary Benson  <gbenson@redhat.com>
6618
6619         * java/net/SocketPermission.java
6620         (maybeBracketIPv6Address): Renamed to processHostport.
6621         (processHostport): Also translate "" to "localhost".
6622         (setHostPort): Remove special cases for empty hostport and for
6623         extra colons in hostport (processHostport handles these now).
6624
6625 2006-08-31  Mark Wielaard  <mark@klomp.org>
6626
6627         * javax/swing/text/ZoneView.java (Zone): Make static class.
6628         Constructor takes axis parameter.
6629         (createZone): Create Zone with getAxis() as major axis.
6630
6631 2006-08-30  Roman Kennke  <kennke@aicas.com>
6632
6633         * javax/swing/text/ZoneView.java
6634         (loadChildren): Implemented.
6635         (getViewIndexAtPosition): Implemented.
6636         (checkZoneAt): New helper method.
6637         (splitZone): New helper method.
6638         (getPreferredZoneEnd): New helper method.
6639
6640 2006-08-30  Roman Kennke  <kennke@aicas.com>
6641
6642         * javax/swing/text/ZoneView.java: New class.
6643
6644 2006-08-30  Roman Kennke  <kennke@aicas.com>
6645
6646         * javax/swing/JMenu.java
6647         (getMenu): Removed unneeded cast.
6648         (getPopupMenuOrigin): Made positioning algorithm better respect
6649         the screen bounds.
6650         (setMenuLocation): Also set the location on the popup if it's
6651         not null.
6652         (setModel): Use menuChangeListener so that we don't override
6653         the changeListener field from AbstractButton.
6654         (setPopupMenuVisible): Use custom location if set, otherwise
6655         fallback to getPopupMenuOrigin().
6656
6657 2006-08-29  Roman Kennke  <kennke@aicas.com>
6658
6659         * javax/swing/text/InternationalFormatter.java
6660         (stringToValue): Fixed bounds check.
6661         * javax/swing/text/MaskFormatter.java
6662         (MaskFormatter): Don't explicitly set allosInvalid property.
6663         (convertStringToValue): New helper method.
6664         (convertValueToString): New helper method.
6665         (convertValue): Removed. Replaced by the 2 convert* methods
6666         above.
6667         (getPadCharAt): Removed.
6668         (isCharValid): Removed.
6669         (pad): Removed.
6670         (stringToValue): Fixed stringToValue conversion.
6671         (stripLiterals): Removed.
6672         (valueToString): Fixed valueToString conversion.
6673         * javax/swing/text/DefaultFormatter.java
6674         (DefaultFormatter): Default to commitsOnValidEdit = false.
6675
6676 2006-08-29  Roman Kennke  <kennke@aicas.com>
6677
6678         * javax/swing/text/TextAction.java
6679         (getTextComponent): Check event for null and return null in
6680         this case.
6681         (augmentList): Augment Actions based on their names.
6682         * javax/swing/text/DefaultEditorKit.java
6683         (BeginAction.actionPerformed): Check target for null.
6684         (BeginLineAction.actionPerformed): Check target for null.
6685         (CopyAction.actionPerformed): Check target for null.
6686         (CutAction.actionPerformed): Check target for null.
6687         (EndAction.actionPerformed): Check target for null.
6688         (EndLineAction.actionPerformed): Check target for null.
6689         (InsertBreakAction.actionPerformed): Check target for null.
6690         (InsertTabAction.actionPerformed): Check target for null.
6691         (PasteAction.actionPerformed): Check target for null.
6692         (SelectAllAction.actionPerformed): Check target for null.
6693         (SelectionBeginAction.actionPerformed): Check target for null.
6694         (SelectionBeginLineAction.actionPerformed): Check target for null.
6695         (SelectionEndAction.actionPerformed): Check target for null.
6696         (SelectionEndLineAction.actionPerformed): Check target for null.
6697         (SelectLineAction.actionPerformed): Check target for null.
6698         (SelectWordAction.actionPerformed): Check target for null.
6699
6700 2006-08-29  Roman Kennke  <kennke@aicas.com>
6701
6702         * javax/swing/plaf/basic/BasicTextUI.java
6703         (FocusHandler): New class. This is moved from the anonymous
6704         inner focus listener class to a static member class, and
6705         is now shared between components.
6706         (DocumentHandler): This class is combined with the PropertyHandler
6707         into the Handler class.
6708         (PropertyChangeHandler): This class is combined with the
6709         DocumentHandler into the Handler class.
6710         (Handler): New class. This combines the Property and Document
6711         handler into one class.
6712         (RootView.changedUpdate): Only forward if real view != null.
6713         (RootView.insertUpdate): Only forward if real view != null.
6714         (RootView.removeUpdate): Only forward if real view != null.
6715         (documentHandler): Removed field and replaced by handler.
6716         (focuslistener): Made field static and renamed to focusListener.
6717         (handler): New field.
6718         (kit): Lazily initialize field.
6719         (rootView): Lazily initialize field.
6720         (updateHandler): Removed and replaced by handler.
6721         (getEditorKit): Lazily instantiate field.
6722         (installDefaults): Don't set margin twice. Install correct
6723         property for disabledTextColor. Moved caret and highlighter
6724         initialization to installFixedDefaults.
6725         (installFixedDefaults): New method. Installs defaults that
6726         can't be overridden by subclasses.
6727         (installListeners): Only install focus handler when new
6728         system property gnu.swing.text.no-xlike-clipboard is not set.
6729         Lazily initialize focus handler.
6730         (installUI): Lazily initialize rootView. Install handler
6731         both for property and document changes.
6732         (uninstallDefaults): Uninstall the UI defaults.
6733         (uninstallFixedDefaults): New method. Uninstalls the fixed
6734         defaults.
6735         (installListeners): Only uninstall focus handler when not null.
6736         (uninstallUI): Uninstall property and document listener here.
6737
6738 2006-08-29  Gary Benson  <gbenson@redhat.com>
6739
6740         * java/net/SocketPermission.java
6741         (maybeBracketIPv6Address): New method.
6742         (<init>): Pass the hostport argument through the above.
6743
6744         * java/net/NetworkInterface.java (getInetAddresses):
6745         Don't bracket IPv6 addresses.
6746
6747 2006-08-28  Roman Kennke  <kennke@aicas.com>
6748
6749         * javax/swing/text/BoxView.java
6750         (calculateMinorAxisRequirements): Initialize max size
6751         with Integer.MAX_VALUE.
6752         * javax/swing/text/Utilities.java
6753         (getBreakLocation): For simple chars, scan the text directly.
6754         * javax/swing/text/WrappedPlainView.java
6755         (tabBase): New field.
6756         (tabSize): New field.
6757         (calculateBreakPosition): Use Utilities. Fixed for correct
6758         break calculation.
6759         (changedUpdate): Update children directly.
6760         (insertUpdate): Update children directly. Notify children.
6761         (removeUpdate): Update children directly. Notify children.
6762         (updateChildren): New helper method.
6763         (nextTabStop): Fixed to return correct results.
6764         (paint): Update tabBase.
6765         (updateMetrics): Update tab size.
6766
6767 2006-08-28  Roman Kennke  <kennke@aicas.com>
6768
6769         * javax/swing/text/Position.java
6770         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6771         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6772
6773 2006-08-28  Roman Kennke  <kennke@aicas.com>
6774
6775         * javax/swing/text/View.java
6776         (height): Removed unneeded field.
6777         (width): Removed unneeded field.
6778         (getBreakWeight): Return GoodBreakWeight when pos is after
6779         the view's span.
6780         (getToolTipText): Check view index more carefully. Avoid
6781         Rectangle creation.
6782         (insertUpdate): Only execute method body if view count > 0.
6783         When updateChildren returns false, clear the ec variable.
6784         (updateChildren): Added null checks.
6785         (viewToModel): Initialize bias array correctly.
6786         * javax/swing/text/CompositeView.java
6787         (children): Made private.
6788         (numChildren): New field.
6789         (loadChildren): Check factory for null. Don't load children
6790         when factory is null.
6791         (replace): Removed null check. Nullify removed children. Made
6792         growing the array more efficient.
6793         (getViewCount): Return numChildren rather then the real array
6794         size.
6795         * javax/swing/text/BoxView.java
6796         (getViewAtPoint): Fixed algorithm for finding the view.
6797         (replace): Made array growing more efficient.
6798         (replaceLayoutArray): New helper method for growing/patching
6799         the layout arrays.
6800         (viewToModel): Make sure we have a valid layout.
6801
6802 2006-08-28  Tania Bento  <tbento@redhat.com>
6803
6804         * java/awt/MenuShortcut.java
6805         (MenuShortcut (int, boolean)): Set keyName.
6806         (toString): Modified string output.
6807         (setKeyName): New private method.
6808
6809 2006-08-28  Roman Kennke  <kennke@aicas.com>
6810
6811         * javax/swing/text/GapContent.java
6812         (Mark.getOffset): Made assert less strict, include boundary.
6813         (search): Made package private to avoid accessor method.
6814
6815 2006-08-28  Roman Kennke  <kennke@aicas.com>
6816
6817         * javax/swing/text/StringContent.java
6818         (InsertUndo.positions): New field.
6819         (InsertUndo.redo): Update the undo positions.
6820         (InsertUndo.undo): Fetch the undo positions.
6821         (Mark): New class. Layer of indirection to allow Positions
6822         to be GC'ed while we still hold references to the Mark.
6823         (RemoveUndo.len): New field.
6824         (RemoveUndo.positions): New field.
6825         (RemoveUndo.RemoveUndo): Fetch undo positions.
6826         (RemoveUndo.redo): Re-fetch positions and string.
6827         (RemoveUndo.undo): Update undo positions.
6828         (StickyPosition.mark): New field.
6829         (StickyPosition.offset): Removed field.
6830         (StickyPosition.StickyPosition): Create new Mark. Register
6831         Position in queueOfDeath. Update reference count on mark.
6832         (StickyPosition.getOffset): Return offset stored in mark.
6833         (StickyPosition.setOffset): Removed unneeded method.
6834         (UndoPosRef): New class. Handles undo/redo on positions/marks.
6835         (EMPTY): New field.
6836         (marks): New field. Stores the marks.
6837         (positions): Removed field.
6838         (queueOfDeath): New field. Used for GCing the positions.
6839         (StringContent): Initialize queueOfDeath.
6840         (createPosition): Lazily create marks vector.
6841         (garbageCollect): New helper method. Collects positions
6842         to be GCed and updates their marks.
6843         (getChars): Fixed bounds check.
6844         (getPositionsInRange): When v == null, create new Vector,
6845         otherwise use v. Store UndoPosRefs in vector.
6846         (getString): Added comment about bug in RI.
6847         (insertString): Use new helper method for replacing the array.
6848         Correctly update positions.
6849         (length): Removed this qualifier.
6850         (remove): Use new helper method for replacing the array.
6851         Correctly update positions.
6852         (replace): New helper method for growing or patching the array.
6853         (updateUndoPositions): Implemented. Updates the positions
6854         for undo/redo operations.
6855
6856 2006-08-27  Roman Kennke  <kennke@aicas.com>
6857
6858         * javax/swing/text/StyleContext.java
6859         (NamedStyle.attributes): Made field transient.
6860         (NamedStyle.changeEvent): Made field transient.
6861         (NamedStyle.name): Removed field. The name is stored as
6862         attribute.
6863         (NamedStyle.NamedStyle(String,Style)): Call setName() for
6864         storing the name and check for null name and resolveParent.
6865         Don't initialize changeEvent.
6866         (NamedStyle.copyAttributes): Return a new NamedStyle,
6867         rather than a plain copy of the attributes field.
6868         (NamedStyle.fireStateChange): Lazily create changeEvent
6869         field.
6870         (NamedStyle.getName): Fetch name from attributes.
6871         (NamedStyle.setName): Store name from attributes.
6872         (NamedStyle.readObject): Implemented for correct
6873         deserialization.
6874         (NamedStyle.writeObject): Implemented for correct
6875         serialization.
6876         (NamedStyle.setResolveParent): When new parent is null,
6877         remove resolveParent attribute. Use addAttribute() method
6878         rather than StyleContext addAttribute().
6879         (NamedStyle.toString): Fixed to produce output equal to the
6880         RI.
6881         (SmallAttributeSet.resolveParent): New field.
6882         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
6883         the resolveParent field correctly.
6884         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
6885         array but store it directly. Update
6886         the resolveParent field correctly.
6887         (SmallAttributeSet.clone): Return this as the object is
6888         immutable.
6889         (SmallAttributeSet.containsAttributes): Make sure that keys
6890         and values are the same.
6891         (SmallAttributeSet.containsAttribute):  Make sure that keys
6892         and values are the same.
6893         (SmallAttributeSet.copyAttributes): Return this as the object is
6894         immutable.
6895         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
6896         are equal if they have the same number of attributes and
6897         one contains the other.
6898         (SmallAttributeSet.getAttribute): Improved lookup of
6899         resolveParent.
6900         (SmallAttributeSet.getResolveParent): Improved lookup of
6901         resolveParent.
6902         (SmallAttributeSet.isEqual): When comparing object is a
6903         SmallAttributeSet, consider them equal only if they are the
6904         same object.
6905         (SmallAttributeSet.toString): Fixed to produce output equal to the
6906         RI.
6907         (attributeSetPool): New field.
6908         (defaultStyleContext): Initialize lazily.
6909         (defaultStyle): Removed field. This is stored in the style context
6910         as attribute.
6911         (listenerList): Removed field. The NamedStyle stores the
6912         listeners.
6913         (readAttributeKeys): New static field. Used for looking up
6914         the serialization mappings when reading.
6915         (search): New field. Used as search key.
6916         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
6917         (styles): New field. Stores the styles and listeners.
6918         (styleTable): Removed field. Replaced by styles field.
6919         (writeAttributeKeys): New static field. Used for looking up
6920         the serialization mappings when writing.
6921         (static_initializer): Register mappings for all keys in
6922         StyleConstants.
6923         (StyleContext): Initialize styles correctly.
6924         (addAttributes): Fixed caching of immutable attributes.
6925         (addAttribute): Fixed caching of immutable attributes.
6926         (removeAttributes): Fixed caching of immutable attributes.
6927         (removeAttribute): Fixed caching of immutable attributes.
6928         (addChangeListener): Add listener to styles field.
6929         (removeChangeListener): Remove listener from styles field.
6930         (getChangeListeners): Fetch listeners from styles field.
6931         (addStyle): Add style to styles field.
6932         (cleanupPool): New method.
6933         (getDefaultStyleContext): Lazily create context.
6934         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
6935         (getMutableAttributeSet): New helper method. Used for
6936         caching.
6937         (getStaticAttribute): Fetch key from readAttributeKeys.
6938         (getStyleNames): Return names from styles field.
6939         (getStyle): Lookup style in styles field.
6940         (removeStyle): Remove style from styles field.
6941         (readAttributeSet): Fixed deserialization.
6942         (writeAttributeSet): Fixed serialization.
6943         (readObject): Fixed deserialization.
6944         (writeObject): Fixed serialization.
6945         (reclaim): Simply cleanup the pool.
6946         (registerStaticAttributeKey): Store mapping in both ways.
6947         (searchImmutableSet): New helper method for caching.
6948         (toString): Fixed for output like the RI.
6949         * javax/swing/text/StyleConstants.java
6950         (keys): New field. Stores all known keys.
6951         (StyleConstants): Store created key in keys list.
6952         * javax/swing/event/EventListenerList.java
6953         (readObject): Fixed deserialization.
6954         (writeObject): Fixed serialization.
6955
6956 2006-08-25  Roman Kennke  <kennke@aicas.com>
6957
6958         * javax/swing/text/CompositeView.java
6959         (insets): Removed. Replaced by single short fields.
6960         (top): New field. Replaces insets.
6961         (bottom): New field. Replaces insets.
6962         (left): New field. Replaces insets.
6963         (right): New field. Replaces insets.
6964         (CompositeView): Initialize insets fields.
6965         (createDefaultLocation): Removed unneeded method.
6966         (getBottomInset): Return field directly.
6967         (getTopInset): Return field directly.
6968         (getLeftInset): Return field directly.
6969         (getRightInset): Return field directly.
6970         (getInsideAllocation): Adjusted to work on new insets fields.
6971         (getViewIndex): Fixed check.
6972         (loadChildren): Don't replace the old children.
6973         (replace): Make sure that there is an array to operate on.
6974         Only set parent to null, when it is this View.
6975         (setInsets): Adjusted to work with new insets fields.
6976         (setParagraphInsets): Fixed to pull insets directly from
6977         StyleConstants.
6978
6979 2006-08-25  Roman Kennke  <kennke@aicas.com>
6980
6981         * javax/swing/text/ComponentView.java
6982         (Interceptor): New inner helper class. Used to propagate
6983         invalidate requests and cache component layout sizes.
6984         (interceptor): New field.
6985         (getAlignment): Fetch alignment from interceptor container.
6986         (getComponent): Don't create component here. This is done
6987         in setParent().
6988         (getMaximumSpan): Fetch layout info from interceptor. Check
6989         for illegal axis.
6990         (getMinimumSpan): Fetch layout info from interceptor. Check
6991         for illegal axis.
6992         (getPreferredSpan): Fetch layout info from interceptor. Check
6993         for illegal axis.
6994         (modelToView): Fixed model to view mapping.
6995         (viewToModel): Fixed view to model mapping.
6996         (paint): Check for null. Set bounds on interceptor rather
6997         then component.
6998         (setParentImpl): Install interceptor between component
6999         and hosting container.
7000         (setParent): Call super.setParent() immediately.
7001
7002 2006-08-25  Roman Kennke  <kennke@aicas.com>
7003
7004         * javax/swing/text/LabelView.java
7005         (setPropertiesFromAttributes): Only set background when
7006         the corresponding attribute is actually defined, otherwise
7007         set to null, as the StyleConstants would return black.
7008         * javax/swing/text/DefaultStyledDocument.java
7009         (ElementBuffer.documentEvent): Removed obsolete field.
7010         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7011         to correctly update the element structure.
7012         (ElementBuffer.insertContentTag): Removed unused statement.
7013         (ElementBuffer.recreateAfterFracture): Removed
7014         unused obsolete method.
7015         (setCharacterAttributes): Removed unused statement.
7016
7017 2006-08-25  Roman Kennke  <kennke@aicas.com>
7018
7019         * examples/gnu/classpath/examples/swing/Demo.java
7020         (LaterMain.run): Removed unused local variable.
7021         (Demo): Don't put desktop in scrollpane.
7022         (addChildren): Removed unused method.
7023         (mkButtonBar): Added HTML demo.
7024         (mkMenuBar): Added HTML demo.
7025         (mkPanel): Removed unused method.
7026         (mkScrollPane): Removed unused method.
7027         (mkTree): Removed unused method.
7028         (valign2str): Removed unused method.
7029         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7030         Initialize text field with some HTML that already works.
7031         (DEBUG): New field. Set to true for debugging output.
7032         (createContent): Dump element tree after parsing.
7033
7034 2006-08-25  Roman Kennke  <kennke@aicas.com>
7035
7036         * javax/swing/text/html/CSS.java
7037         (getValue): Added color value conversion.
7038         * javax/swing/text/html/HTMLDocument.java
7039         (HTMLReader.ConvertAction): New class, converts HTML style tags
7040         to CSS attributes.
7041         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7042         * javax/swing/text/html/InlineView.java
7043         (setPropertiesFromAttributes): Implemented to fetch
7044         CSS character attributes.
7045         * javax/swing/text/html/StyleSheet.java
7046         (addCSSAttribute): Convert value.
7047         (getBackground): Implemented to fetch CSS background color
7048         attribute.
7049         (getForeground): Implemented to fetch CSS color
7050         attribute.
7051         (getFont): Adjust font size for superscript and subscript.
7052         (translateHTMLToCSS): Rudimentary implementation that
7053         copies the original attributes, so that any CSS attributes in
7054         there are preserved.
7055         (stringToColor): Use CSSColor for conversion.
7056         * gnu/javax/swing/text/html/css/CSSColor.java:
7057         New class. Converts CSS color values to RGB color values.
7058         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7059         Removed. This is more or less replaced by CSSColor and the
7060         ConvertAction in HTMLReader.
7061
7062 2006-08-25  Roman Kennke  <kennke@aicas.com>
7063
7064         * javax/swing/text/BoxView.java
7065         (childReqs): Removed obsolete field.
7066         (baselineLayout): Reimplemented for correct baseline layout.
7067         (baselineRequirements): Reimplemented for correct baseline
7068         layout.
7069         (updateChildRequirements): Removed obsolete method.
7070         * javax/swing/text/GlyphView.java
7071         (DefaultGlyphPainter.getSpan): Removed unused statement.
7072         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7073         specially. The subscript/superscript layout is performed
7074         via the alignment, the font is supplied by the StyleContext.
7075         (breakView): Removed unused statements.
7076         (getAlignment): Adjust alignment according to the
7077         superscript/subscript setting.
7078         (getFont): Reimplemented to fetch the font from the style
7079         context, or from the document if the stylecontext is not
7080         available.
7081         (getPreferredSpan): Adjust span for superscript. Use switch
7082         instead of if-else.
7083         * javax/swing/text/LabelView.java
7084         (setPropertiesFromAttributes): Fetch background and foreground
7085         from document / style context.
7086         (isSubscript): Resync properties if needed.
7087         * javax/swing/text/ParagraphView.java
7088         (Row.calculateMinorAxisRequirements): Overridden to perform
7089         a baseline layout.
7090         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7091
7092 2006-08-24  Roman Kennke  <kennke@aicas.com>
7093
7094         * javax/swing/text/Utilities.java
7095         (BUF_LENGTH): Removed unused field.
7096         (drawTabbedText): Removed unneeded cast.
7097         (getBreakLocation): Removed unneeded cast.
7098         Fixed offset to account for Segments not starting at 0.
7099
7100 2006-08-24  Roman Kennke  <kennke@aicas.com>
7101
7102         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7103         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7104         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7105         (ScrollingPane.updateUI): Likewise.
7106         (calculateTabWidth): Rewritten to correctly and efficiently
7107         layout the tab width.
7108         (layoutLabel): Call SwingUtilities method with the tabPane
7109         as argument.
7110         (paintContentBorderLeftEdge): Removed unused statement.
7111         (paintContentBorderRightEdge): Removed unused statement.
7112         (paintContentBorder): Removed unused statement.
7113
7114 2006-08-24  Roman Kennke  <kennke@aicas.com>
7115
7116         * javax/swing/plaf/basic/BasicTextUI.java
7117         (RootView.getAttributes): Overridden to return null,
7118         as the RootView has no parent.
7119
7120 2006-08-24  Roman Kennke  <kennke@aicas.com>
7121
7122         * javax/swing/text/html/CSSParser.java: Removed.
7123         * javax/swing/text/html/CSS.java
7124         (getValue): New helper method. Returns special converter
7125         instances for certain kinds of property values.
7126         * javax/swing/text/html/HTMLDocument.java
7127         (HTMLReader.CharacterAction.start): Don't translate tags
7128         here. Instead, store the attributes directly with the tag
7129         as key.
7130         (content): Removed field. The Content object is handled
7131         by AbstractDocument.
7132         (styleSheet): Removed field. The styleSheet is the styleContext
7133         of this document and handled by the DefaultStyledDocument already.
7134         (HTMLDocument(Content,StyleSheet): Simply call super here.
7135         The super classes already handle the content and styleContext.
7136         (HTMLDocument()): Call this() with a default GapContent and
7137         StyleSheet.
7138         (getStyleSheet): Return the styleContext here.
7139         (insertUpdate): New method. Overridden to add the
7140         CONTENT dummy tag to the element's attributes.
7141         (setBase): Set the base on the styleContext.
7142         * javax/swing/text/html/HTMLEditorKit.java
7143         (styleContext): Removed unneeded field.
7144         (styleSheet): Made field private.
7145         (HTMLEditorKit): Do nothing here. The StyleSheet is
7146         created lazily in getStyleSheet(). A styleContext is not
7147         needed here.
7148         (getStyleSheet): Create StyleSheet correctly.
7149         (insertHTML): Removed unneeded cast.
7150         * javax/swing/text/html/InlineView.java
7151         (attributes): New field.
7152         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7153         (getAttributes): Implemented to fetch the attributes from
7154         the stylesheet.
7155         * javax/swing/text/html/MultiAttributeSet.java: New class.
7156         Multiplexes between several AttributeSets.
7157         * javax/swing/text/html/MultiStyle.java: New class.
7158         Multiplexes between several Styles.
7159         * javax/swing/text/html/ParagraphView.java
7160         (attributes): New field.
7161         (getAttributes): Implemented to fetch the attributes from
7162         the stylesheet.
7163         * javax/swing/text/html/StyleSheet.java
7164         (CssParser): Removed inner class.
7165         (CSSStyle): New inner class. Represents a style defined
7166         by a CSS rule.
7167         (CSSStyleSheetParserCallback): New class, for parsing
7168         CSS stylesheets.
7169         (css): New field. Stores the CSS rules.
7170         (resolvedStyles): New field. Stores resolved styles.
7171         (StyleSheet): Initialize resolvedStyles map.
7172         (addRule): Removed bogus impl.
7173         (getFont): Implemented to fetch font, based on CSS rules.
7174         (getResolvedStyle): New helper method. Looks up resolved
7175         styles, and resolves a style if necessary.
7176         (resolveStyle): New pair of helper methods. Resolves
7177         CSS style rules.
7178         (getRule(String)): Provide rudimentary implementation.
7179         (getRule(Tag,Element)): Implemented.
7180         (getViewAttributes): Implemented.
7181         (loadRules): Implemented.
7182         (translateHTMLToCSS): Tagged as not implemented.
7183         * javax/swing/text/html/ViewAttributeSet.java: New class.
7184
7185 2006-08-24  Roman Kennke  <kennke@aicas.com>
7186
7187         * javax/swing/text/FlowView.java:
7188         (LogicalView.getAttributes): New method. Overrides super
7189         impl to return the attributes of the FlowView instance.
7190         * javax/swing/text/LabelView.java:
7191         (setPropertiesFromAttributes): Fetch attributes from
7192         View, rather then from the Element. (In the HTML
7193         package the getAttributes() method is overridden to
7194         return different attributes). Fetch font from the StyledDocument.
7195
7196 2006-08-24  Roman Kennke  <kennke@aicas.com>
7197
7198         * javax/swing/text/DefaultEditorKit.java:
7199         (DefaultKeyTypedAction.actionPerform): Also filter
7200         ALT and CTRL modifiers.
7201
7202 2006-08-24  Roman Kennke  <kennke@aicas.com>
7203
7204         * gnu/javax/swing/text/html/css/FontSize.java,
7205         * gnu/javax/swing/text/html/css/FontStyle.java,
7206         * gnu/javax/swing/text/html/css/FontWeight.java:
7207         New classes. Used to convert CSS font attributes to AWT/Swing
7208         Font constants.
7209
7210 2006-08-24  Francis Kung  <fkung@redhat.com>
7211         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7212         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7213         (srccs, dstcs, rasterValid): Variables removed.
7214         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7215         (copyRaster): Check for null rendering hints
7216         (createCompatibleColorModel): New private method.
7217         (createCompatibleDestImage): Re-implemented.
7218         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7219         (createCompatibleDestRaster(Raster)): Re-implemented.
7220         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7221         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7222         (getPoint2D): Clean up formatting.
7223         * java/awt/image/ComponentColorModel.java
7224         (constructor): use findBits method instead of passing null.
7225         (findBits): New method.
7226
7227 2006-08-24  Gary Benson  <gbenson@redhat.com>
7228
7229         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7230         addresses.
7231
7232 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7233
7234         * java/lang/ref/Reference.java
7235         (queue, nextOnQueue): Made volatile.
7236         (enqueue): Made thread safe.
7237         * java/lang/ref/ReferenceQueue.java
7238         (lock): New field.
7239         (poll): Removed synchronized.
7240         (enqueue): Changed to synchronize on lock object, to update Reference
7241         state and return success status.
7242         (dequeue, remove): Synchronize on lock object.
7243
7244 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7245
7246         * java/security/SecureClassLoader.java
7247         (protectionDomainCache): Changed to HashMap.
7248         (SecureClassLoader): Removed redundant security check.
7249         (defineClass(String,byte[],int,int,CodeSource): Moved
7250         protection domain lookup/construction to new method.
7251         (defineClass(String,ByteBuffer,CodeSource): New method.
7252         (getProtectionDomain): New method.
7253
7254 2006-08-23  Roman Kennke  <kennke@aicas.com>
7255
7256         * javax/swing/JComponent.java
7257         (isRepainting): Made package private.
7258         (paintChild): New field.
7259         (findOpaqueParent): Removed method. This is now in
7260         paintImmediately().
7261         (findOverlapFreeParent): Removed method. This is now
7262         in paintImmediately2().
7263         (findPaintRoot): Removed method. This is now
7264         in paintImmediately2().
7265         (isCompletelyObscured): Changed to take rectangle as single
7266         ints as argument.
7267         (isPaintingDoubleBuffered): Removed method. This is now
7268         in paintImmediately2().
7269         (isPartiallyObscured): New helper method.
7270         (onTop): New helper method for optimization.
7271         (paintChildren): Paint only to specific child when
7272         requested like this from paintImmediately2().
7273         (paintDoubleBuffered): Changed to take rectangle as single int
7274         arguments.
7275         (paintImmediately2): Changed to take rectangle as single int
7276         arguments. Optimized determination of paint root.
7277         (paintImmediately(Rectangle)): Change to delegate to
7278         paintImmediately(int,int,int,int).
7279         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7280         and start painting there.
7281         (paint): Call paintDoubleBuffered() with int arguments. Only
7282         paint component, when not completely occupied by opaque child.
7283         (processKeyBinding): Removed unnecessary cast.
7284         (isOccupiedByChild): New helper method.
7285         * javax/swing/RepaintManager.java
7286         (repaintUnderway): Removed obsolete field.
7287         (commitRequests): Removed obsolete field.
7288         (RepaintManager): Removed initialization of obsolete fields.
7289         (addDirtyRegion): Removed unused statement.
7290         (commitBuffer): Changed to take plain ints as argument.
7291         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7292         Compute offsets in place, rather than using SwingUtilities.
7293         (paintDirtyRegions): Removed unused field.
7294         * javax/swing/JMenuItem.java
7295         (onTop): Return true when not descendant of JInternalFrame.
7296         * javax/swing/JPopupMenu.java
7297         (onTop): Return true.
7298         * javax/swing/JToolTip.java
7299         (onTop): Return true.
7300         * javax/swing/JViewport.java
7301         (paintImmediately2): Change signature to match the
7302         corresponding JComponent method.
7303
7304 2006-08-23  Tania Bento  <tbento@redhat.com>
7305
7306         * java/awt/Color.java
7307         (brighter): Modified algorithm to correctly determine the
7308         new brighter colour.
7309
7310 2006-08-23  Roman Kennke  <kennke@aicas.com>
7311
7312         * java/awt/Container.java
7313         (maxSize): Removed field. This is already declared in Component.
7314         (validateTree): Check for ContainerPeer. Don't addNotify here.
7315         Only validate Component instances if they are invalid.
7316
7317 2006-08-22  Roman Kennke  <kennke@aicas.com>
7318
7319         * javax/swing/JComponent.java
7320         (preferredSize): Removed field.
7321         (maximumSize): Removed field.
7322         (minimumSize): Removed field.
7323         (getMaximumSize): Adjusted to delegate to Component, rather
7324         then managing the size in JComponent.
7325         (getMinimumSize): Adjusted to delegate to Component, rather
7326         then managing the size in JComponent.
7327         (getPreferredSize): Adjusted to delegate to Component, rather
7328         then managing the size in JComponent.
7329         (isMaximumSizeSet): Removed.
7330         (isMinimumSizeSet): Removed.
7331         (isPreferredSizeSet): Removed.
7332         (setMaximumSize): Removed.
7333         (setMinimumSize): Removed
7334         (setPreferredSize): Removed.
7335
7336 2006-08-22  Roman Kennke  <kennke@aicas.com>
7337
7338         * javax/swing/AbstractButton.java
7339         (ButtonChangeListener.stateChanged): Delegate to combined
7340         handler.
7341         (EventHandler): New inner class. Handles all three types
7342         of events on the model.
7343         (eventHandler): New field. Stores the combined event
7344         handler.
7345         (AbstractButton): Moved listener initialization to
7346         setModel().
7347         (createActionListener): Return combined handler.
7348         (createChangeListener): Return combined handler.
7349         (createItemListener): Return combined handler.
7350         (getEventHandler): New helper method for creating the combined
7351         handler.
7352         (setModel): Initialize listeners here.
7353         * javax/swing/plaf/basic/BasicButtonListener.java
7354         (ButtonAction): New class. Implements the keyboard action
7355         for buttons.
7356         (checkOpacity): Implemented.
7357         (createDefaultActionMap): New helper method.
7358         (installKeyboardActions): Rewritten to install InputMap
7359         and ActionMap according to 'new' keyboard input method.
7360         (mouseClicked): Commented as no-op.
7361         (mouseDragged): Commented as no-op.
7362         (mouseMoved): Commented as no-op.
7363         (propertyChange): Check for contentAreaFilled change and
7364         update opacity. Pull handling of HTLM in font and text handler.
7365         (stateChanged): Repaint button.
7366         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7367         * javax/swing/plaf/basic/BasicButtonUI.java
7368         (listener): Removed.
7369         (sharedListener): New static field. Stores the shared listener.
7370         (sharedUI): New static field. Stores the shared UI.
7371         (createButtonListener): Return shared instance here.
7372         (createUI): Return shared instance here.
7373         (getButtonListener): New helper method. Looks for the
7374         BasicButtonListener installed on a button and returns it.
7375         (installDefaults): Correctly install rollover property here.
7376         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7377         (installKeyboardActions): Fetch listener with new helper method.
7378         (installListeners): Don't use removed field. Check for null.
7379         (installUI): Added comment about order of method invocations.
7380         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7381         (uninstallKeyboardActions): Fetch listener with new helper method.
7382         (uninstallListeners): Fetch listener with new helper method.
7383         (paintIcon): Paint icon offset when pressed and armed.
7384         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7385         * javax/swing/plaf/metal/MetalButtonUI.java
7386         (sharedUI): New field. Stores the shared UI.
7387         (MetalButtonUI): Don't initialize fields here.
7388         (createButtonListener): Removed method. Use super impl.
7389         (createUI): Return shared instance.
7390         (getDisabledTextColor): Update field here.
7391         (getFocusColor): Update field here.
7392         (getSelectColor): Update field here.
7393         (installDefaults): Don't handle rollover property here.
7394         (uninstallDefaults): Don't handle rollover property here.
7395         (paintButtonPressed): Use accessor method to update the
7396         field value.
7397
7398 2006-08-21  Mark Wielaard  <mark@klomp.org>
7399
7400         Merge NATIVE_LAYER branch.
7401
7402         2006-08-20  Mark Wielaard  <mark@klomp.org>
7403
7404         * doc/tools.texinfo: Add file from trunk.
7405         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7406         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7407         headers.
7408         * native/jni/java-lang/java_lang_VMProcess.c
7409         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7410         * native/jni/java-net/java_net_VMInetAddress.c
7411         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7412         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7413         files.
7414         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7415         mask.
7416         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7417         theaddr.
7418         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7419         cpnet.h.
7420         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7421         don't implement.
7422         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7423         argument.
7424         * include/java_lang_VMProcess.h: Regenerated.
7425
7426         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7427
7428         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7429         (nativeReceive): Fixed the type of the arrays (use java types).
7430         (nativeSendTo): Force throwing an exception if port is 0.
7431
7432         * native/jni/java-net/javanet.c:
7433         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7434         returned.
7435         (_javanet_recvfrom): Likewise.
7436         (_javanet_sendto): Throw a NullPointerException if the socket is
7437         not connected and no address is given.
7438         
7439         * native/jni/java-net/javanet.h
7440         (NULL_EXCEPTION): Defined.
7441
7442         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7443
7444         * native/jni/java-net/java_net_VMInetAddress.c
7445         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7446         error.
7447
7448         * native/jni/java-net/javanet.c
7449         (_javanet_accept): Fixed bogus call to TARGET.
7450         (_javanet_create_inetaddress): Fixed address generation. Fixed
7451         bogus memory free.
7452         (_javanet_bind): set "Reuse address" flag.
7453
7454         * native/jni/native-lib/cpio.c
7455         (cpio_getModificationTime): Fixed type.
7456         (cpio_removeFile): Use rmdir too.
7457
7458         * native/jni/native-lib/cpnet.c
7459         (cpnet_getHostByName): Fixed error detection.
7460
7461         * native/jni/native-lib/cpnet.h
7462         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7463         memory.
7464         (cpnet_IPV4AddressToBytes): Fixed types.
7465         
7466         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7467
7468         * native/jni/native-lib/cpio.c
7469         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7470
7471         * native/jni/native-lib/cpnet.h:
7472         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7473         messed by signs in jbyte.
7474         
7475         * native/jni/native-lib/cpproc.h
7476         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7477
7478         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7479
7480         * native/jni/native-lib/cpnet.c
7481         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7482         (waitForWritable, waitForReadable): New functions.
7483         (socketTimeouts): New static global table to hold timeouts for all
7484         socket fds.
7485         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7486         Added waitForXXXX safeguards to handle socket timeouts.
7487
7488         * native/jni/java-net/javanet.c
7489         (_javanet_accept): Check for the right error value when a timeout
7490         occurs.
7491         
7492         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7493
7494         * native/jni/java-io/Makefile.am,
7495         native/jni/java-lang/Makefile.am,
7496         native/jni/java-net/Makefile.am,
7497         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7498
7499         * native/jni/native-lib/Makefile.am: Added cpproc.c
7500
7501         * native/jni/native-lib/cpio.c: Implemented missing functions for
7502         CPIO.
7503
7504         * native/jni/native-lib/cpnet.c
7505         (cpnet_getHostByName): Fixed address array initialization.
7506         
7507         * native/jni/native-lib/cpproc.c: Implemented.
7508         
7509         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7510
7511         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7512
7513         * m4/gcc_attribute.m4: New file from ac_archive.
7514         
7515         * native/jni/java-net/javanet.c: Adapted to cpnet API
7516         modification.
7517
7518         * native/jni/native-lib/cpnet.c: Implemented.
7519
7520         * native/jni/native-lib/cpnet.h
7521         (cpnet_openSocketDatagram,
7522         cpnet_openSocketStream): These calls need an address family now.
7523         (cpnet_IPV4AddressToBytes,
7524         cpnet_bytesToIPV4Address): Convert the address to network order.
7525         
7526         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7527
7528         * native/jni/java-io/java_io_VMFile.c,
7529         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7530         native/jni/midi-dssi/dssi_data.h,
7531         native/jni/native-lib/cpio.c,
7532         native/jni/native-lib/cpmath.h: Removed cpmath
7533         dependency. Fixed coding style.
7534
7535         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7536
7537         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7538         dependency. Simplified the JNI code by moving some part into the
7539         native layer.
7540
7541         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7542
7543         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7544
7545         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7546         errors. Removed any remaining TARGET invocations.
7547
7548         * native/jni/java-net/javanet.c
7549         (_javanet_create_inetaddress): Removed spurious arr and
7550         octets. Fixed compilation errors.
7551
7552         * native/jni/native-lib/cpnet.h
7553         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7554         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7555         cpnet_isIPV4Address): New functions.
7556         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7557         the rest.
7558         
7559         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7560
7561         * native/jni/java-io/java_io_VMFile.c,
7562         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7563         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7564         native/jni/java-net/javanet.c,
7565         native/jni/java-net/javanet.h: Adapted the VM layer code
7566         to the new native layer.
7567
7568         * native/jni/native-lib/cpnet.h
7569         (cpnet_addMembership,
7570         cpnet_dropMembership,
7571         cpnet_getAvailableBytes): Added the declarations of
7572         some new functions.
7573         (cpnet_newIPV6Address,
7574         cpnet_IPV6AddressToBytes,
7575         cpnet_bytesToIPV6Address): Implemented.
7576         (cpnet_newIPV4Address): Initialize the sin_family field.
7577
7578         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7579
7580         * native/target: Removed.
7581
7582         * configure.ac: Removed target from CLASSPATH_INCLUDES and
7583         Makefile generation.
7584
7585         * native/jni/native-lib/Makefile.am,
7586         native/jni/native-lib/cpnet.h,
7587         native/jni/native-lib/cpnet.c
7588         native/jni/native-lib/cpio.h,
7589         native/jni/native-lib/cpio.c,
7590         native/jni/native-lib/cpmath.h: Imported new native compatibility
7591         layer.
7592
7593 2006-08-21  Roman Kennke  <kennke@aicas.com>
7594
7595         * gnu/javax/swing/text/html/css/CSSParser.java:
7596         New class.
7597         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7598         New interface.
7599         * gnu/javax/swing/text/html/css/CSSParserException.java:
7600         New exception.
7601         * gnu/javax/swing/text/html/css/CSSScanner.java:
7602         Adjusted API comments. Made all constants package private.
7603         (EOF): New constant field.
7604         (parseBuffer): Made package private.
7605         (tokenEnd): Made package private.
7606         (CSSScanner): Initialize lookahead buffer with -1.
7607         (main): Print out to System.out rather then System.err.
7608         (nextToken): Push back character after IDENT.
7609
7610 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7611
7612         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7613
7614 2006-08-21  Roman Kennke  <kennke@aicas.com>
7615
7616         * gnu/javax/swing/text/html/css/CSSScanner.java
7617         (main): Use buffered input stream.
7618         (nextToken): Removed 65536 workaround. Use int value directly
7619         without cast to char.
7620         (readComment): Use int value directly without cast to char.
7621         Cast to char only when putting the character into the buffer.
7622         (readEscape): Likewise.
7623         (readIdent): Likewise.
7624         (readName): Likewise.
7625         (readNum): Likewise.
7626         (readString): Likewise.
7627         (readWhitespace): Likewise.
7628
7629 2006-08-21  Ingo Proetel  <proetel@aicas.com>
7630
7631         * java/io/InputStreamReader.java
7632         (bytesCache): New field.
7633         (cacheLock): New field.
7634         (read(byte[],int,int): Avoid allocations of new byte
7635         array on every call and reuse cached byte array if possible.
7636
7637 2006-08-21  Roman Kennke  <kennke@aicas.com>
7638
7639         * gnu/java/net/local/LocalSocketImpl.java
7640         Only load native lib if this is supported by runtime.
7641         * native/jni/java-net/local.c
7642         Include config.h unconditionally.
7643         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7644         Include config.h unconditionally.
7645
7646 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
7647
7648         * java/io/ObjectInputStream.java
7649         (objectLookupTable): Changed to be a Vector.
7650         (ObjectInputStream): Initialize objectLookupTable as Vector.
7651         (assignNewHandle): Store Object using handle index rather than
7652         Hashtable, using the new rememberHandle() method.
7653         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7654         with a caching in ObjectStreamClass.
7655         (inputGetObjectStreamClass): Replaced by hierarchy().
7656         (lookupHandle): New method. Looks up an object by it's handle
7657         index.
7658         (parseContent): Avoid creating of Integer objects. Use
7659         hierarchy() method for looking up the class hierarchy.
7660         (processResolution): Use rememberHandle() to store
7661         handle per index, rather than Hashtabling the object.
7662         (readFields): 
7663         (rememberHandle): New method.
7664         * java/io/ObjectOutputStream.java
7665         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7666         Hashtable for improved lookup performance.
7667         (ObjectOutputStream): Initialize OIDLookupTable as
7668         ObjectIdentityMap2Int.
7669         (assignNewHandle): Change to use ObjectIdentityMap2Int.
7670         (findHandle): Change to use ObjectIdentityMap2Int.
7671         (getBooleanField): Removed.
7672         (getByteField): Removed.
7673         (getCharField): Removed.
7674         (getDoubleField): Removed.
7675         (getField): Removed.
7676         (getFloatField): Removed.
7677         (getIntField): Removed.
7678         (getLongField): Removed.
7679         (getObjectField): Removed.
7680         (writeFields(Object,ObjectStreamClass)): Use new helper method.
7681         (writeFields(Object,ObjectStreamField)): New helper method.
7682         Use switch rather then if-else cascade.
7683         (writeObject): Use int handle, rather then Integer.
7684         * java/io/ObjectStreamClass.java
7685         (hierarchy): New field. Caches the class hierarchy.
7686         (methodCache): New field. Caches methods.
7687         (readObjectSignature): New field. Stores the read signature.
7688         (uidCache): New field. Caches UIDs.
7689         (writeObjectSignature): New field. Stores the write signature.
7690         (cacheMethods): Cache methods in methodCache.
7691         (calculateClassID): Outsourced from getClassUID()
7692         for computing the UIDs.
7693         (getClassUIDFromField): Outsourced from getClassUID() for
7694         fetching the UID from the class field.
7695         (getClassUID): Use cached uid if possible. Use new helper
7696         methods for fetching the UID from the field or computing
7697         from scratch.
7698         (getObjectStreamClasses): Removed. Replaced by more
7699         efficient hierarchy() method, that also caches the result.
7700         (hierarchy): Replaces getObjectStreamClasses() for caching
7701         the result.
7702         (loadedByBootOrApplicationClassLoader): New helper method.
7703         (setClass): Invalidate hierarchy cache.
7704         (setSuperclass): Invalidate hierarchy cache.
7705         * java/io/ObjectStreamField.java
7706         (field): Made field package private for access from other
7707         classes.
7708         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7709         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7710         hashtable for mapping objects to ints.
7711
7712 2006-08-21  Roman Kennke  <kennke@aicas.com>
7713
7714         * java/io/File.java
7715         (getAbsolutePath): Fetch absolute path from
7716         VMFile.getAbsolutePath(). Moved actual impl to there.
7717         (isAbsolute): Let VMFile determine the absoluteness.
7718         (toURL): Let VMFile convert the filename.
7719         * vm/reference/java/io/VMFile.java
7720         (getAbsolutePath): New method.
7721         (isAbsolute): New method.
7722         (toURL): New method.
7723
7724 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7725
7726         * NEWS: Added note about updated VM interface.
7727
7728 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7729
7730         * java/lang/management/ManagementFactory.java:
7731         Updated documentation.
7732         
7733 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7734
7735         Fixes bug #28412
7736         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7737         New methods.
7738         * gnu/java/util/regex/CharIndexedCharSequence.java,
7739         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7740         new methods above.
7741         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7742         (match): call the new method setHitEnd of the input,
7743         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7744         Some optimization commented out, Use CharIndexed#move1 instead of move.
7745         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7746         * gnu/java/util/regex/REToken.java(match): The method body has been
7747         moved to an internal private method, (matchFake): New method,
7748         (setHitEnd): New method.
7749         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7750         if the match is not complete, (matchOneString): Count the number of
7751         characters which matched the pattern.
7752         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7753         (setFake): New method, (match): Call super.match or super.matchFake.
7754         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7755         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7756         setHitEnd of the input,
7757         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7758         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7759         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7760
7761 2006-08-18  Tom Tromey  <tromey@redhat.com>
7762
7763         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7764         the 'int', not the cast char.
7765
7766 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7767
7768         * scripts/check_jni_methods.sh: Don't use the "set -C" command
7769         which isn't available in all shells.
7770
7771 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7772
7773         * lib/Makefile.am (resources): Fix some shell portability issues.
7774
7775 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7776
7777         * configure.ac (tool-wrappers): Check for ltdl support when tool
7778         wrapper binaries are enabled.
7779         * tools/Makefile.am (LIBJVM): Remove variable.
7780         (AM_CPPFLAGS): Add LIBJVM define.
7781         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7782         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7783         gjavah_LDFLAGS): Remove variables.
7784         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7785
7786 2006-08-18  Tom Tromey  <tromey@redhat.com>
7787
7788         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7789         debugging prints.
7790         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7791         print.
7792         (readEntries): Likewise.
7793
7794 2006-08-17  Roman Kennke  <kennke@aicas.com>
7795
7796         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7797         (layoutLabel): Reset the text and icon rectangles.
7798
7799 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7800
7801         PR classpath/28537
7802         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
7803         Transform gappletviewer name using program_transform_name.
7804
7805 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7806
7807         * javax/swing/filechooser/FileSystemView.java
7808         (getFileSystemView): Always return UnixFileSystemView, since
7809         that's the only one we got. Marked with NotImplementedException.
7810         * javax/swing/plaf/basic/BasicFileChooserUI.java
7811         (mouseClicked, installUI): Don't parse path by hand.
7812
7813 2006-08-17  Roman Kennke  <kennke@aicas.com>
7814
7815         * javax/swing/JComponent.java
7816         (scrollRectToVisible): Handle intermediate non-JComponents
7817         more gracefully.
7818
7819 2006-08-17  Roman Kennke  <kennke@aicas.com>
7820
7821         * javax/swing/RepaintManager.java
7822         (blitBuffer): Removed. This is now done in commitBuffer().
7823         (commitBuffer): Always paint on the root window or applet.
7824         No need to look for intermediate heavyweights. Optimized
7825         rectangle translation.
7826         (commitRemainingBuffers): Removed. Not needed anymore.
7827         (getHeavyweightParent): Removed. Not needed anymore.
7828         (getOffscreenBuffer): Fetch offscreen image from the
7829         actual root component.
7830         (paintDirtyRegions): Don't call commitRemainingBuffers().
7831
7832 2006-08-17  Roman Kennke  <kennke@aicas.com>
7833
7834         * javax/swing/SwingUtilities.java
7835         (clipString): New helper method for trimming strings.
7836         (layoutCompoundLabelImpl): Fixed algorithm to conform
7837         testsuites. Trim text if it's too long. Avoid creating
7838         new Rectangles. Optimized for performance.
7839         (layoutCompoundLabel): Use switch rather then if-else-chain.
7840         * javax/swing/plaf/basic/BasicButtonUI.java
7841         (viewR): New field.
7842         (iconR): New field.
7843         (textR): New field.
7844         (paint): Reset and use cached rectangles. Only call paintIcon()
7845         if icon is not null. Don't call paintButtonPressed() when
7846         button is selected, only when it is both armed and pressed.
7847         * javax/swing/plaf/basic/BasicGraphicsUtils.java
7848         (getPreferredButtonSize): Reused cached rectangles rather
7849         then creating new ones. Don't create new Rectangle via
7850         Rectangle.union().
7851         * javax/swing/plaf/basic/BasicLabelUI.java
7852         (getPreferredSize): Correctly reset cached rectangles. Especially
7853         the view rect must have a big size to give it room for layouting.
7854         Short cut layout when text == null.
7855         (paint): Correctly reset cached rectangles.
7856         * javax/swing/plaf/basic/BasicMenuItemUI.java
7857         (resetRectangles): New helper method.
7858         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
7859         (paintMenuItem): Correctly reset the cached rectangles.
7860         * javax/swing/plaf/basic/BasicRadioButtonUI.java
7861         (getPreferredSize): Use cached Rectangle objects and initialize
7862         them correctly.
7863         (paint): Use cached Rectangle objects and initialize
7864         them correctly.
7865
7866 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
7867
7868         * java/util/Calendar.java: API doc additions.
7869
7870 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7871
7872         * javax/swing/DefaultButtonModel.java:
7873         (setRollover): Simplified statement.
7874
7875 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
7876
7877         * gnu/java/rmi/server/RMIClassLoaderImpl.java
7878         (loadClass): Rewritten to use getClassLoader.
7879         (loadProxyClass): Implemented.
7880         (getClassLoader): Fixed support for null or empty codebase.
7881         * gnu/java/rmi/server/RMIObjectInputStream.java
7882         (resolveClass): Use user class loader as default class loader.
7883         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
7884         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
7885         (loadClass): Simplified and use user class loader instead of
7886         context class loader as default.
7887         * java/io/ObjectInputStream.java
7888         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
7889         * vm/reference/gnu/classpath/VMStackWalker.java
7890         (firstNonNullClassLoader): New method.
7891         * vm/reference/java/io/VMObjectInputStream.java
7892         (loaderAction, currentClassLoader): Removed.
7893
7894 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7895
7896         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7897         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
7898         by current scroll offset, added method documention.
7899         (getTabBounds(int, Rectangle)): Added method documentation.
7900         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
7901         (paintContentBorderLeftEdge): Changed y to 1.
7902
7903 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
7904
7905         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7906         (MouseHandler.mouseReleased): Implemented.
7907         (MouseHandler.mousePressed): Added delegation to tabbed pane.
7908         (MouseHandler.mouseEntered): Dito.
7909         (MouseHandler.mouseExited): Dito.
7910         (MouseHandler.mouseMoved): Dito.
7911         (MouseHandler.redispatchEvent): New method.
7912         (PropertyChangeHandler.propertyChange): Added extra block level,
7913         added code to handle tab placement changes, added comment.
7914         (updateViewPosition): Set unneeded coordinate to 0, added comment.
7915
7916 2006-08-16  Roman Kennke  <kennke@aicas.com>
7917
7918         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
7919         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
7920         New file.
7921
7922 2006-08-16  Mark Wielaard  <mark@klomp.org>
7923
7924         * java/awt/Component.java (orientation): Renamed to
7925         componentOrientation.
7926         (setComponentOrientation): Use new field name.
7927         (getComponentOrientation): Likewise.
7928
7929 2006-08-16  Roman Kennke  <kennke@aicas.com>
7930
7931         PR 28750
7932         * javax/swing/plaf/basic/BasicTreeUI.java
7933         (CellEditorHandler.editingCancelled): Call completeEditing
7934         directly.
7935         (CellEditorHandler.editingStopped): Call completeEditing
7936         directly.
7937         (NodeDimensionHandler.getNodeDimensions): Rewritten
7938         to use the preferred sizes of the renderer and editor.
7939         (TreeExpansionHandler.treeCollapsed): Complete editing
7940         here.
7941         (TreeSelectionHandler.valueChanged): Complete editing
7942         here.
7943         (cancelEditing): Call completeEditing with false, false and
7944         false. Don't call finish (removed method).
7945         (completeEditing(boolean,boolean,boolean): Only do something when
7946         stopEditingInCompleteEditing is true. Nullify editingComponent
7947         and editingPath. Remove editingComponent from tree. Update
7948         the layout when necessary and repaint.
7949         (completeEditing): Stop editing when necessary.
7950         (editorRequestFocus): New helper method. Request focus
7951         on the actual editor.
7952         (finish) Removed. This is now done in completeEditing().
7953         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
7954         (setLargeModel): Complete editing here.
7955         (setRootVisible): Complete editing here.
7956         (setRowHeight): Complete editing here.
7957         (setSelectionModel): Complete editing here.
7958         (startEditing): Correctly initialize and start editing.
7959         (updateExpandedDescendants): Complete editing here.
7960         * javax/swing/tree/DefaultTreeCellEditor.java
7961         (DefaultTextField): Fetch size from super and use renderer's height
7962         if appropriate.
7963         (EditorContainer.EditorContainer): Set layout to null, just
7964         to make sure.
7965         (EditorContainer.doLayout): Layout so that the editor
7966         is offset to the right of the icon.
7967         (EditorContainer.getPreferredSize): Implemented to
7968         provide a reasonable preferred size.
7969         (EditorContainer.paint): Position icon in the middle.
7970         Also paint border if appropriate.
7971         (EditorContainer.setBounds): Removed.
7972         (RealEditorListener): Removed.
7973         (DefaultTreeCellEditor): Set correct border.
7974         (cancelCellEditing): Message real editor. Call finish().
7975         (createCellEditor): Don't add listener.
7976         (determineOffset): Correctly determine offset, and update
7977         the icon.
7978         (finish): New helper method.
7979         (getTreeCellEditorComponent): Set correct font. Call
7980         prepareForEditing() and determineOffset() to correctly initialize
7981         the state.
7982         (stopCellEditing): Messsage realEditor to stop editing. Call
7983         finish to clean up.
7984         (stopEditingTimer): Removed.
7985         (valueChanged): Correctly reset lastPath.
7986         * javax/swing/tree/DefaultTreeCellRenderer.java
7987         (getPreferredSize): Return super plus some extra space for
7988         better readability.
7989
7990 2006-08-16  Roman Kennke  <kennke@aicas.com>
7991
7992         * javax/swing/plaf/metal/MetalTreeUI.java
7993         (LineStyleListener): New property listener, that updates
7994         the line style setting if the corresponding property
7995         changes.
7996         (lineStyleListener): New field.
7997         (lineStyle): New field.
7998         (LINE_STYLE_ANGLED): New constant field.
7999         (LINE_STYLE_HORIZONTAL): New constant field.
8000         (LINE_STYLE_NONE): New constant field.
8001         (LINE_STYLE_VALUE_ANGLED): New constant field.
8002         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8003         (LINE_STYLE_VALUE_NONE): New constant field.
8004         (LINE_STYLE_PROPERTY): New constant field.
8005         (decodeLineStyle): Implemented.
8006         (installUI): Install line style listener. Set initial
8007         lineStyle.
8008         (uninstallUI): Uninstall line style listener.
8009         (paintHorizontalPartOfLeg): Only call super for angled
8010         lineStyle.
8011         (paintVerticalPartOfLeg): Only call super for angled
8012         lineStyle.
8013         (paintHorizontalSeparators): Implemented.
8014         (paint): If lineStyle==HORIZONTAL, call
8015         paintHorizontalSeparators().
8016         * examples/gnu/classpath/examples/swing/TreeDemo.java
8017         (createContent): Add panel for selecting line styles.   
8018
8019 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8020         
8021         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8022         (createContent): Rewritten.
8023         (createPlacementChangingMenuItem): New method.
8024         (createLayoutPolicyChangingMenuItem): New method.
8025         (createTabbedPane): New method.
8026         (createTabContent): New method.
8027
8028 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8029
8030         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8031         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8032         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8033
8034 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8035
8036         * javax/swing/text/WrappedPlainView.java:
8037         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8038         (calculateBreakPosition): Add p0 to return value.
8039
8040 2006-08-15  Roman Kennke  <kennke@aicas.com>
8041
8042         * javax/swing/plaf/basic/BasicTreeUI.java
8043         (MouseHandler.selectedOnPress): New field.
8044         (MouseHandler.handleEvent): New helper method for handling
8045         selection and start/stop editing for mouse events.
8046         (MouseHandler.mouseDragged): Commented as no-op method.
8047         (MouseHandler.mouseMoved): Commented as no-op method.
8048         (MouseHandler.mousePressed): Use handleEvent() to handle
8049         selection and editing handling.
8050         (MouseHandler.mouseReleased): Use handleEvent() to handle
8051         selection and editing handling.
8052         (MouseInputHandler.MouseInputHandler): Register itself
8053         as mouse listener on source. Redispatch event to
8054         destination.
8055         (MouseInputHandler.dispatch): New helper method.
8056         (MouseInputHandler.mouseClicked): Dispatch event.
8057         (MouseInputHandler.mouseDragged): Dispatch event.
8058         (MouseInputHandler.mouseEntered): Stop dispatching
8059         if dragging stopped.
8060         (MouseInputHandler.mouseExited): Stop dispatching
8061         if dragging stopped.
8062         (MouseInputHandler.mouseMoved): Stop dispatching.
8063         (MouseInputHandler.mousePressed): Marked as no-op.
8064         (MouseInputHandler.mouseReleased): Dispatch and stop
8065         dispatching afterwards.
8066         (MouseInputHandler.removeFromSource): Implemented.
8067         (PropertyChangeHandler.propertyChange): Also handle
8068         editable property changes by calling setEditable().
8069         (SelectionModelPropertyChangeHandler.propertyChange):
8070         Reset row selection.
8071         (startEditTimer): Removed.
8072         (setCellEditor): Call updateEditor().
8073         (setEditable): Call updateEditor().
8074         (startEditingAtPath): Make path fully visible before starting
8075         editing.
8076         (startEditing): Maybe cancel previous edit session. Add
8077         editing component itself, not its parent container.
8078         Register MouseInputHandler for correctly redispatching
8079         initial events.
8080         (stopEditing): Message cellEditor and only completeEditing()
8081         when approved by cell editor.
8082         (updateCellEditor): Complete editing before updating
8083         the cell editor. Get cell editor from JTree if possible,
8084         otherwise create default editor. Update the listeners
8085         on the editor.
8086         * javax/swing/tree/DefaultTreeCellEditor.java
8087         (CLICK_COUNT_TO_START): Removed.
8088         (DefaultTreeCellEditor): Install correct border. Let setTree()
8089         update the listeners. Don't initialize lastPath and font yet.
8090         (actionPerformed): Implemented to start editing.
8091         (createTreeCellEditor): Set click count to start to 1, rather than
8092         3.
8093         (isCellEditable): Prepare editor here. Determine if we can
8094         start immediately, or if we trigger a timer to do so.
8095         (prepareForEditing): Don't removeAll() (not necessary),
8096         check editingComponent to be non-null.
8097         (setTree): Update listeners.
8098         (shouldStartEditingTimer): Check for left mouse button.
8099         (startEditingTimer): Lazily create timer.
8100
8101 2006-08-15  Lillian Angel  <langel@redhat.com>
8102
8103         * java/awt/dnd/DropTargetDragEvent.java
8104         (getTransferable): Implemented.
8105
8106 2006-08-15  Roman Kennke  <kennke@aicas.com>
8107
8108         * java/util/Vector.java
8109         (removeAll): Added comment about NPE.
8110         (retainAll): Added comment about NPE.
8111
8112 2006-08-15  Roman Kennke  <kennke@aicas.com>
8113
8114         * java/util/zip/ZipFile.java
8115         (UTF8DECODER): Removed.
8116         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8117         (utf8Decoder): New instance field.
8118         (decodeChars): Lazily create UTF8 decoder. Use instance
8119         field rather than a static field to avoid corruption.
8120
8121 2006-08-15  Roman Kennke  <kennke@aicas.com>
8122
8123         * java/io/PrintStream.java
8124         (line_separator): Provide default for system property.
8125         * java/io/FileDescriptor.java
8126         (valid): Create local copy of channel field for better
8127         threading safetly.
8128
8129 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8130
8131         * java/util/zip/ZipFile.java
8132         (PartialInputStream.UTF8DECODER): New constant field, used
8133         for decoding UTF8 strings.
8134         (readLeShort): Access buffer directly if it has enough bytes
8135         available.
8136         (readLeInt): Access buffer directly if it has enough bytes
8137         available.
8138         (decodeChars): New helper method for decoding UTF8 strings.
8139         (readString): Avoid NIO charset decoder if possible.
8140
8141 2006-08-15  Roman Kennke  <kennke@aicas.com>
8142
8143         * java/util/Vector.java
8144         (removeAll): Don't explicitly null-check here. The RI allows
8145         null arguments when Vector is empty. In other cases we
8146         implicitly throw an NPE.
8147         (retainAll): Don't explicitly null-check here. The RI allows
8148         null arguments when Vector is empty. In other cases we
8149         implicitly throw an NPE.
8150
8151 2006-08-14  Casey Marshall  <csm@gnu.org>
8152
8153         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8154         of changes made on this branch.
8155         Files modified:
8156         * gnu/classpath/debug/Component.java
8157         * gnu/classpath/debug/SystemLogger.java
8158         * gnu/java/security/action/GetPropertyAction.java
8159         * gnu/java/security/action/GetSecurityPropertyAction.java
8160         * gnu/javax/crypto/RSACipherImpl.java
8161         * gnu/javax/net/ssl/PrivateCredentials.java
8162         * gnu/javax/net/ssl/provider/Alert.java
8163         * gnu/javax/net/ssl/provider/AlertException.java
8164         * gnu/javax/net/ssl/provider/Certificate.java
8165         * gnu/javax/net/ssl/provider/CertificateRequest.java
8166         * gnu/javax/net/ssl/provider/CertificateType.java
8167         * gnu/javax/net/ssl/provider/CertificateVerify.java
8168         * gnu/javax/net/ssl/provider/CipherSuite.java
8169         * gnu/javax/net/ssl/provider/ClientHello.java
8170         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8171         * gnu/javax/net/ssl/provider/CompressionMethod.java
8172         * gnu/javax/net/ssl/provider/Constructed.java
8173         * gnu/javax/net/ssl/provider/ContentType.java
8174         * gnu/javax/net/ssl/provider/DiffieHellman.java
8175         * gnu/javax/net/ssl/provider/Extension.java
8176         * gnu/javax/net/ssl/provider/Finished.java
8177         * gnu/javax/net/ssl/provider/Handshake.java
8178         * gnu/javax/net/ssl/provider/Jessie.java
8179         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8180         * gnu/javax/net/ssl/provider/Random.java
8181         * gnu/javax/net/ssl/provider/ServerHello.java
8182         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8183         * gnu/javax/net/ssl/provider/Signature.java
8184         * gnu/javax/net/ssl/provider/Util.java
8185         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8186         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8187         * java/security/MessageDigest.java
8188         * java/security/MessageDigestSpi.java
8189         * java/security/Signature.java
8190         * java/security/SignatureSpi.java
8191         * javax/crypto/Mac.java
8192         * javax/crypto/MacSpi.java
8193         * javax/net/ssl/HandshakeCompletedEvent.java
8194         * javax/net/ssl/HttpsURLConnection.java
8195         * javax/net/ssl/SSLContext.java
8196         * javax/net/ssl/SSLContextSpi.java
8197         * javax/net/ssl/SSLSession.java
8198         Files added:
8199         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8200         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8201         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8202         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8203         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8204         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8205         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8206         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8207         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8208         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8209         * gnu/javax/net/ssl/provider/ServerNameList.java 
8210         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8211         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8212         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8213         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8214         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8215         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8216         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8217         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8218         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8219         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8220         * gnu/javax/net/ssl/provider/Record.java 
8221         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8222         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8223         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8224         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8225         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8226         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8227         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8228         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8229         * gnu/javax/net/ssl/provider/ExtensionList.java 
8230         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8231         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8232         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8233         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8234         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8235         * gnu/javax/net/ssl/provider/SessionImpl.java 
8236         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8237         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8238         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8239         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8240         * gnu/javax/net/ssl/provider/HelloRequest.java 
8241         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8242         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8243         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8244         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8245         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8246         * gnu/javax/net/ssl/provider/CertificateURL.java 
8247         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8248         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8249         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8250         * gnu/javax/net/ssl/provider/Builder.java 
8251         * gnu/javax/net/ssl/provider/Debug.java 
8252         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8253         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8254         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8255         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8256         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8257         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8258         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8259         * javax/net/ssl/SSLEngine.java 
8260         * javax/net/ssl/CertPathTrustManagerParameters.java 
8261         * javax/net/ssl/KeyStoreBuilderParameters.java 
8262         * javax/net/ssl/X509ExtendedKeyManager.java 
8263         * javax/net/ssl/SSLEngineResult.java 
8264         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8265         * gnu/javax/net/ssl/Session.java 
8266         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8267         * gnu/javax/net/ssl/SSLCipherSuite.java 
8268         * gnu/javax/net/ssl/AbstractSessionContext.java 
8269         * gnu/javax/net/ssl/SessionStoreException.java 
8270         * gnu/javax/net/ssl/SSLRecordHandler.java 
8271         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8272         * gnu/javax/crypto/key/GnuPBEKey.java 
8273         * gnu/java/security/util/ByteBufferOutputStream.java 
8274         * gnu/java/security/Requires.java 
8275         * gnu/javax/security/auth/callback/CertificateCallback.java 
8276         Files removed:
8277         * gnu/javax/net/ssl/provider/Context.java
8278         * gnu/javax/net/ssl/provider/DigestInputStream.java
8279         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8280         * gnu/javax/net/ssl/provider/Enumerated.java
8281         * gnu/javax/net/ssl/provider/Extensions.java
8282         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8283         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8284         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8285         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8286         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8287         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8288         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8289         * gnu/javax/net/ssl/provider/KeyPool.java
8290         * gnu/javax/net/ssl/provider/OverflowException.java
8291         * gnu/javax/net/ssl/provider/RecordInput.java
8292         * gnu/javax/net/ssl/provider/RecordInputStream.java
8293         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8294         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8295         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8296         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8297         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8298         * gnu/javax/net/ssl/provider/SSLSocket.java
8299         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8300         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8301         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8302         * gnu/javax/net/ssl/provider/SecurityParameters.java
8303         * gnu/javax/net/ssl/provider/Session.java
8304         * gnu/javax/net/ssl/provider/SessionContext.java
8305         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8306         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8307
8308 2006-08-14  Roman Kennke  <kennke@aicas.com>
8309
8310         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8311         (DividerLayout.layoutContainer): Removed debug output.
8312         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8313         (BasicHorizontalLayoutManager.axis): New field.
8314         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8315         New constructor.
8316         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8317         Call new axis constructor.
8318         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8319         handle direction.
8320         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8321         handle direction.
8322         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8323         Refactored to handle direction.
8324         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8325         to handle direction.
8326         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8327         handle direction.
8328         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8329         to handle direction.
8330         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8331         to handle direction.
8332         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8333         to handle direction.
8334         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8335         divider size.
8336         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8337         New explicit constructor. Calls super with vertical axis.
8338         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8339         to BasicHorizontalLayoutManager.
8340         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8341         moved to BasicHorizontalLayoutManager.
8342         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8343         Functionality moved to BasicHorizontalLayoutManager.
8344         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8345         moved to BasicHorizontalLayoutManager.
8346         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8347         moved to BasicHorizontalLayoutManager.
8348         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8349         Functionality moved to BasicHorizontalLayoutManager.
8350         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8351         moved to BasicHorizontalLayoutManager.
8352         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8353         moved to BasicHorizontalLayoutManager.
8354         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8355         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8356         (BUTTON_SPRITE_R): New constant field.
8357         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8358         L sprite for left buttons.
8359         
8360 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8361
8362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8363         (query_formats): g_free 'name' after usage.
8364         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8365         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8366
8367 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8368
8369         PR classpath/27723
8370         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8371         seamonkey-plugin.
8372
8373 2006-08-14  Francis Kung  <fkung@redhat.com>
8374
8375         PR 28694
8376         * java/awt/image/ColorModel.java
8377         (coerceData): Added check for non-transparent images.
8378
8379 2006-08-14  Francis Kung  <fkung@redhat.com>
8380
8381         * java/awt/image/BandCombineOp.java
8382         (BandCombineOp): Perform checks on validity of matrix.
8383         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8384         (filter): Updated to work with new matrix storage.
8385         (getMatrix): Updated javadoc.
8386         (getPoint2D): Formatting change.
8387
8388 2006-08-14  Francis Kung  <fkung@redhat.com>
8389
8390         * java/awt/image/AffineTransformOp.java
8391         (AffineTransformOp): Updated javadoc.
8392         (createCompatibleDestImage): Match behaviour of reference implementation.
8393         (createCompatibleDestRaster): Formatting changes.
8394         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8395         (filter(Raster, WritableRaster)): Re-implemented.
8396         (filterBicubic): New private method.
8397         (filterBilinear): New private method.
8398         (filterNearest): New private method.
8399         (getBounds2D): No longer fixed around one point for rotations.
8400         (getInterpolationType): Add support for bicubic interpolation.
8401
8402 2006-08-14  Roman Kennke  <kennke@aicas.com>
8403
8404         * javax/swing/plaf/metal/MetalLookAndFeel.java
8405         (MetalLookAndFeel): Moved theme initialization to
8406         getDefaults().
8407         (createDefaultTheme): Forward to getCurrentTheme().
8408         (getDefaults): Initialize theme before doing anything else.
8409         (getCurrentTheme): Recognize swing.metalTheme property.
8410
8411 2006-08-14  Roman Kennke  <kennke@aicas.com>
8412
8413         * javax/swing/JTable
8414         (getScrollableUnitIncrement): Expose partially exposed
8415         row in scrolling direction.
8416
8417 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8418
8419         * javax/swing/JTable (getScrollableUnitIncrement): 
8420         Removing my name as the whole method body have been
8421         recently completely replaced.
8422
8423 2006-08-14  Roman Kennke  <kennke@aicas.com>
8424
8425         PR 28028
8426         * javax/swing/text/Utilities.java
8427         (getTabbedTextOffset): Don't add p0 here.
8428
8429 2006-08-14  Roman Kennke  <kennke@aicas.com>
8430
8431         PR 28719
8432         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8433         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8434         when wheel is going up.
8435
8436 2006-08-14  Roman Kennke  <kennke@aicas.com>
8437
8438         PR 28693
8439         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8440         (BasicOneTouchButton): New inner class.
8441         (DividerLayout.changeButtonOrientation): Removed.
8442         (DividerLayout.positionButtons): Moved into layoutContainer.
8443         (DividerLayout.layoutContainer): Reworked for correct layout.
8444         (OneTouchAction): New inner class.
8445         (centerOneTouchButtons): New field.
8446         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8447         UIManager.
8448         (createLeftOneTouchButton): Reimplemented to return
8449         BasicOneTouchButton.
8450         (createRightOneTouchButton): Reimplemented to return
8451         BasicOneTouchButton.
8452         (getPreferredSize): Reimplemented to return fixed preferredSize.
8453         (oneTouchExpandableChanged): Add OneTouchAction action to
8454         buttons. Don't install mouse listeners.
8455         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8456         (paint): Don't trigger extra paint for buttons.
8457         (propertyChange): Revalidate splitPane when orientation is changed.
8458         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8459         oneTouchExpandable is true.
8460         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8461         (installDefaults): Install dividerSize on the divider too.
8462         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8463         (MetalDividerLayout): Removed. Functionality is already
8464         in BasicSplitPaneDivider.DividerLayout.
8465         (MetalOneTouchButton): New inner class.
8466         (BUTTON_SPRITE): New constant field.
8467         (MetalSplitPaneDivider): Don't change layout.
8468         (createLeftOneTouchButton): Overridden to return custom button
8469         for Metal.
8470         (createRightOneTouchButton): Overridden to return custom button
8471         for Metal.
8472         (paint): Don't trigger button painting. Call super instead.
8473
8474 2006-08-13  Roman Kennke  <kennke@aicas.com>
8475
8476         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8477         (installKeyboardAction): Unmarked as stub. Added comment
8478         explaining that the RI seems to do nothing here.
8479         (uninstallKeyboardAction): Unmarked as stub. Added comment
8480         explaining that the RI seems to do nothing here.
8481
8482 2006-08-13  Roman Kennke  <kennke@aicas.com>
8483
8484         PR 28135
8485         * javax/swing/ScrollPaneLayout.java
8486         (layoutContainer): Consider the viewportBorder of the
8487         JScrollPane.
8488         (minimumLayoutSize): Consider the viewportBorder of the
8489         JScrollPane.
8490         (preferredLayoutSize): Consider the viewportBorder of the
8491         JScrollPane.
8492         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8493         (installDefaults): Also install viewportBorder if specified.
8494         (paint): Paint viewportBorder if present.
8495         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8496         Don't nullify foreground, background and font. Uninstall
8497         border via LookAndFeel helper method to avoid uninstall
8498         user set border.
8499
8500 2006-08-13  Roman Kennke  <kennke@aicas.com>
8501
8502         PR 28696
8503         * javax/swing/plaf/basic/BasicHTML.java
8504         (HTMLRootView.HTMLRootView): Trigger initial layout.
8505         (HTMLRootView.setSize): Overridden to forward to real view.
8506         * javax/swing/plaf/basic/BasicToolTipUI.java
8507         (PropertyChangeHandler): New inner class. Updates the HTML
8508         renderer.
8509         (propertyChangeHandler): New field.
8510         (getMaximumSize): Add HTML width delta.
8511         (getMinimumSize): Add HTML width delta.
8512         (getPreferredSize): Reimplemented to use HTML view for size
8513         calculation if appropriate, otherwise use simple stringWidth()
8514         measurement.
8515         (installListeners): Install propertyChangeHandler.
8516         (uninstallListeners): Uninstall propertyChangeHandler.
8517         (installUI): Update HTML renderer.
8518         (uninstallUI): Update HTML renderer.
8519         (paint): Reimplemented to use HTML view for rendering if
8520         appropriate, simple drawString otherwise.
8521         * javax/swing/plaf/metal/MetalToolTipUI.java
8522         (getPreferredSize): Call super and add accelerator delta.
8523         (paint): Simply call super.
8524
8525 2006-08-13  Roman Kennke  <kennke@aicas.com>
8526
8527         * javax/swing/JMenu.java
8528         (changeListener): Renamed to menuChangeListener to avoid
8529         shadowing changeListener field from AbstractButton.
8530
8531 2006-08-13  Roman Kennke  <kennke@aicas.com>
8532
8533         * javax/swing/JTree.java
8534         (getScrollableUnitIncrement): Fixed direction.
8535         (getScrollableBlockIncrement): Implemented to scroll one
8536         page.
8537         * javax/swing/tree/VariableHeightLayoutCache.java
8538         (distance): Consider y + height already outside the node.
8539
8540 2006-08-13  Roman Kennke  <kennke@aicas.com>
8541
8542         * javax/swing/JTable.java
8543         (getScrollableUnitIncrement): Fixed direction. Make it behave
8544         like the RI.
8545         (getScrollableBlockIncrement): Fixed direction. Make it behave
8546         like the RI.
8547
8548 2006-08-13  Roman Kennke  <kennke@aicas.com>
8549
8550         * javax/swing/JList.java
8551         (getScrollableUnitIncrement): Fixed direction. Implemented
8552         horizontal scrolling. Improved usability.
8553         (getScrollableBlockIncrement): Fixed direction. Improved usability.
8554
8555 2006-08-13  Roman Kennke  <kennke@aicas.com>
8556
8557         * javax/swing/plaf/basic/BasicScrollBarUI.java
8558         (scrollByUnit): Scroll by -unit when direction is not positive
8559         and +unit otherwise.
8560         (scrollByBlock): Scroll by -unit when direction is not positive
8561         and +unit otherwise.
8562
8563 2006-08-13  Roman Kennke  <kennke@aicas.com>
8564
8565         PR 28028
8566         * javax/swing/text/PlainView.java
8567         (paint): Limit painted area to the lines inside the clip
8568         and allocation.
8569
8570 2006-08-13  Roman Kennke  <kennke@aicas.com>
8571
8572         * javax/swing/plaf/basic/BasicTextUI.java
8573         (uninstallListeners): Unregister document listener.
8574
8575 2006-08-13  Sven de Marothy  <sven@physto.se>
8576
8577         * java/util/Locale.java
8578         (hashcodeCache): New field.
8579         (hashCode): use the above field instead of the serialized one
8580         (writeObject): Removed method.
8581         (readObject): Intern strings.
8582         (equals): Revert to previous method.
8583
8584 2006-08-13  Roman Kennke  <kennke@aicas.com>
8585
8586         * javax/swing/JTabbedPane.java
8587         (JTabbedPane): Call setModel() here and let this install the
8588         change listener correctly.
8589         (setModel): Correctly uninstall and reinstall ChangeListener when
8590         model changes.
8591
8592 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8593
8594         PR Classpath/23952
8595         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8596         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8597         (lastDefaultLocale): Removed.
8598         (emptyLocale): Likewise.
8599         (BundleKey.defaultLocale): New field.
8600         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8601         (BundleKey.set): Likewise.
8602         (BundleKey.equals): Take defaultLocal field into consideration.
8603         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8604
8605 2006-08-13  Roman Kennke  <kennke@aicas.com>
8606
8607         * javax/swing/JMenu.java
8608         (MenuChangeListener): New inner class, helps firing menu events.
8609         (changeListener): New field.
8610         (add(text)): Create new JMenuItem here and call add(JMenuItem).
8611         (add(Action)): Create Action using createActionComponent()
8612         and add via add(Component).
8613         (setModel): Install and uninstall MenuChangeListener here.
8614
8615 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8616
8617         PR Classpath/27372
8618         * java/math/BigInteger.java: Updated copyright year.
8619         (init): Consume as little bytes as possible.
8620         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8621         (valueOf(String, int)): Throw NumberFormatException for malformed strings
8622         as per RI's documentation.
8623
8624 2006-08-13  Sven de Marothy  <sven@physto.se>
8625
8626         * java/util/Locale.java
8627         (hashcode): Is a serialized field, not transient.
8628         (equals): Should NOT compare strings by reference.
8629         (readObject/writeObject): Use the default methods and handle the hash
8630         seperately.
8631
8632 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8633
8634         PR Classpath/28678
8635         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8636         Updated documentation.
8637         Formatting.
8638         (getInstance(String, String, Provider, Object[])): Likewise.
8639         Separate checks for null and empty string arguments.
8640         Include as much information as possible in the exception's message.
8641         Do not swallow original exception; instead use it as the cause of the
8642         resulting exception.
8643         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8644         (getInstance(String)): Updated documentation.
8645         Formatting.
8646         Store last exception caught when iterating through all providers.
8647         If no implementation found, raise last exception if one was caught.
8648         (getInstance(String, String)): Updated documentation.
8649         Formatting.
8650         Check for null or empty provider as per RI-5's documentation.
8651         (getInstance(String, Provider)): Updated documentation.
8652         Formatting.
8653         Use as much information as possible in the exception message.
8654         Do not swallow original exception; instead use it as the cause for the
8655         ultimate raised exception(s).
8656         * java/security/cert/CertificateFactory.java: Likewise.
8657         * java/security/cert/CertPathBuilder.java: Likewise.
8658         * java/security/cert/CertPathValidator.java: Likewise.
8659         * java/security/cert/CertStore.java: Likewise.
8660         * java/security/AlgorithmParameterGenerator.java: Likewise.
8661         * java/security/AlgorithmParameters.java: Likewise.
8662         * java/security/KeyFactory.java: Likewise.
8663         * java/security/KeyPairGenerator.java: Likewise.
8664         * java/security/KeyStore.java: Likewise.
8665         * java/security/MessageDigest.java: Likewise.
8666         * java/security/SecureRandom.java: Likewise.
8667         * java/security/Signature.java: Likewise.
8668         * javax/crypto/Cipher.java: Likewise.
8669         * javax/crypto/ExemptionMechanism.java: Likewise.
8670         * javax/crypto/KeyAgreement.java: Likewise.
8671         * javax/crypto/KeyGenerator.java: Likewise.
8672         * javax/crypto/Mac.java: Likewise.
8673         * javax/crypto/SecretKeyFactory.java: Likewise.
8674         * javax/net/ssl/KeyManagerFactory.java: Likewise.
8675         * javax/net/ssl/SSLContext.java: Likewise.
8676         * javax/net/ssl/TrustManagerFactory.java: Likewise.
8677
8678 2006-08-13  Roman Kennke  <kennke@aicas.com>
8679
8680         * javax/swing/JEditorPane.java
8681         (getScrollableTracksViewportHeight): Also check maximum size.
8682         * javax/swing/JTextPane.java
8683         (insertIcon): Use input attributes for adding the icon
8684         attribute.
8685         * javax/swing/plaf/basic/BasicTextUI.java
8686         (RootView.setSize): Overridden to forward to real view.
8687         (getPreferredSize): Trigger setSize() on the view.
8688         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8689         to viewToModel() call, rather then null.
8690         * javax/swing/text/ParagraphView.java
8691         (changedUpdate): Invalide layout. Call super.
8692         * javax/swing/text/SimpleAttributeSet.java
8693         (clone): Use super's clone method to create clone.
8694         * javax/swing/text/StyleConstants.java
8695         (setIcon): Also set element name attribute.
8696         * javax/swing/text/StyledEditorKit.java
8697         (BoldAction.actionPerformed): Actually set the bold attribute,
8698         not italic.
8699         (setCharacterAttributes): Replaced with more straightforward
8700         impl.
8701         * javax/swing/text/TextAction.java
8702         (getFocusedComponent): Implemented.
8703         * javax/swing/text/Utilities.java
8704         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8705         of null.
8706         * javax/swing/text/View.java
8707         (changedUpdate): Nullify element change when updateChildren
8708         says so.
8709
8710 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8711
8712         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8713         Fix documentation typos.
8714
8715 2006-08-11  David Daney  <ddaney@avtrex.com>
8716
8717         PR classpath/28580
8718         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
8719         createResponseBodyStream in more cases and with new parameter.
8720         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
8721         HEAD and !mayHaveBody responses specially.
8722         
8723 2006-08-11  Roman Kennke  <kennke@aicas.com>
8724
8725         * javax/swing/text/GlyphView.java
8726         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8727         * javax/swing/text/LabelView.java
8728         (valid): New flag indicating if the text attributes are valid.
8729         (LabelView): Initialize valid field with false.
8730         (setPropertiesFromAttributes): Call setter methods instead
8731         of setting properties directly. Set valid to true.
8732         (changedUpdate): Invalidate attributes. Call super.
8733         (getBackground): Sync attributes if necessary.
8734         (getForeground): Sync attributes if necessary.
8735         (getFont): Sync attributes if necessary.
8736         (isUnderline): Sync attributes if necessary.
8737         (isSuperscript): Sync attributes if necessary.
8738         (isStrikeThrough): Sync attributes if necessary.
8739         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8740         from toolkit if Container is not available yet.
8741
8742 2006-08-11  Roman Kennke  <kennke@aicas.com>
8743
8744         * javax/swing/text/PlainView.java
8745         (tabBase): New field.
8746         (tabSize): New field.
8747         (updateMetrics): Update tabSize.
8748         (lineToRect): Only allocate when really necessary.
8749         (modelToView): Use tabBase for offset calculations.
8750         (paint): Only allocate when really necessary. Update tabBase.
8751         (nextTabStop): Fixed tab calculation.
8752         (viewToModel): Correctly handle multiline text and locations
8753         outside the view's bounds. Set bias.
8754         (getLineLength): Use tabBase.
8755         * javax/swing/text/Utilities.java
8756         (drawTabbedText): Don't special case newlines. The views
8757         must take care of this.
8758
8759 2006-08-11  Roman Kennke  <kennke@aicas.com>
8760
8761         * javax/swing/text/GapContent.java
8762         (UndoPosRef): New inner class. Used for resetting positions
8763         after undo/redo operations.
8764         (InsertUndo.positions): New field.
8765         (InsertUndo.undo): Store positions in removed range.
8766         (InsertUndo.redo): Restore positions in re-inserted range.
8767         (UndoRemove.positions): New field.
8768         (UndoRemove.UndoRemove): Store positions in removed range.
8769         (UndoRemove.undo): Restore positions in re-inserted range.
8770         (UndoRemove.redo): Store positions in removed range.
8771         (insertString): Create InsertUndo instance before actually
8772         inserting the string.
8773         (remove): Create UndoRemove instance before actually
8774         removing.
8775         (getPositionsInRange): Don't clear the Vector. Return Vector
8776         of UndoPosRefs.
8777         (updateUndoPositions): Implemented to reset all UndoPosRefs
8778         in the vector.
8779
8780 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
8781
8782         * java/io/ObjectInputStream.java (readClassDescriptor):
8783         Use class's class loader to resolve field types.
8784         * java/io/ObjectStreamField.java
8785         (ObjectStreamField(String,String,ClassLoader)): Removed.
8786         (ObjectStreamField(String,String)): Don't try to resolve typename.
8787         (resolveType): New method.
8788
8789 2006-08-10  Roman Kennke  <kennke@aicas.com>
8790
8791         * javax/swing/text/BoxView.java
8792         (calculateMajorAxisRequirements): Sum up the preferred and
8793         maximum sizes.
8794         (isAfter): Also add in the rectangle's with/height.
8795         (childAllocation): Don't trigger layout here.
8796         (layoutMinorAxis): Removed debug output.
8797         (getWidth): Consider the insets.
8798         (getHeight): Consider the insets.
8799         (setSize): Consider the insets.
8800         (updateRequirements): Check axis and throw
8801         IllegalArgumentException.
8802
8803 2006-08-10  Roman Kennke  <kennke@aicas.com>
8804
8805         * javax/swing/text/AbstractDocument.java
8806         (BidiRootName): New constant field, denotes the element name
8807         for bidi root elements.
8808         (AsyncLoadPriority): New constant field, denotes the property
8809         to store the asynchronousLoadPriority.
8810         (I18N): New constant field, denotes the property for
8811         I18N support.
8812         (bidiRoot): Made field type BidiRootElement.
8813         (AbstractDocument): Build initial element structure for
8814         bidi.
8815         (getAsynchronousLoadPriority): Implemented. Returns the
8816         value stored in the document properties.
8817         (setAsynchronousLoadPriority): Implemented. Sets the
8818         value stored in the document properties.
8819         (getEndPosition): Implemented to use a Position from the
8820         content.
8821         (getStartPosition): Implemented to use a Position from the
8822         content.
8823         (insertStringImpl): Update the I18N setting if necessary.
8824         (insertUpdate): Update the bidi structure if necessary.
8825         (postRemoveUpdate): Update the bidi structure if necessary.
8826         (putProperty): Update the I18N setting and bidi structure
8827         if necessary.
8828         (updateBidi): New helper method for updating the bidi
8829         structure.
8830         (getBidis): New helper method. Fetches the Bidi analysers
8831         for the paragraphs of the range to check.
8832         (dump): Also dump the bidi structure.
8833         (AbstractElement.dump): Indent the '>' correctly.
8834         (AbstractElement.children): Check numChildren rather then
8835         children.length.
8836         (BidiRootElement): New inner class.
8837         (BidiElement): New inner class.
8838
8839 2006-08-10  Roman Kennke  <kennke@aicas.com>
8840
8841         * javax/swing/text/GapContent.java
8842         (getChars): Optimized to only copy array when really necessary.
8843         Respect the partialReturn property.
8844
8845 2006-08-10  Lillian Angel  <langel@redhat.com>
8846
8847         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
8848         (getComponentPeer): Added check to prevent NPE.
8849
8850 2006-08-10  Gary Benson  <gbenson@redhat.com>
8851
8852         * java/security/AccessControlContext.java (<init>):
8853         Avoid a duplicated AccessController.getContext() call.
8854
8855 2006-08-09  Mark Wielaard  <mark@klomp.org>
8856   
8857         * doc/www.gnu.org/newsitems.txt: Add 0.92.
8858         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
8859         * doc/www.gnu.org/announce/20060809.wml: New file.
8860
8861 2006-08-09  Mark Wielaard  <mark@klomp.org>
8862
8863         * configure.ac (VERSION): Set to 0.92-generics.
8864         * NEWS: Add updates for 0.92 release.
8865
8866 2006-08-09  Tom Tromey  <tromey@redhat.com>
8867
8868         PR classpath/28658:
8869         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
8870         the pattern match any number of spaces in the text.
8871
8872 2006-08-09  Sven de Marothy  <sven@physto.se>
8873
8874         * java/awt/image/BufferedImage.java
8875         (BufferedImage): Reimplement predefined-type constructor.
8876         (observers/tileObservers): Field renamed to tileObservers.
8877         (createDefaultIndexedColorModel): New method.
8878
8879 2006-08-09  Tom Tromey  <tromey@redhat.com>
8880
8881         PR classpath/28666:
8882         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
8883         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
8884         Create a 'short' array.
8885
8886 2006-08-09  Tom Tromey  <tromey@redhat.com>
8887
8888         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
8889         handle arrays.
8890         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
8891         (writeFields): Print "L" after int constant.  Don't mangle the field
8892         name.  Only print int/long fields.
8893
8894 2006-08-09  Tom Tromey  <tromey@redhat.com>
8895
8896         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
8897         "javah".
8898
8899 2006-08-09  Sven de Marothy  <sven@physto.se>
8900
8901         * javax/swing/JTree.java
8902         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
8903         (setSelectionModel): Null parameter should create an EmptySelectionM.
8904
8905 2006-08-09  Roman Kennke  <kennke@aicas.com>
8906
8907         * javax/swing/text/AbstractDocument.java
8908         (insertString): Perform modifications inside a write lock.
8909         (insertStringImpl): Don't lock here. This is already done
8910         in insertString().
8911         (replace): Perform modifications inside a write lock.
8912         (AbstractElement.AbstractElement): Call addAttributes() to
8913         add the attributes.
8914         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
8915         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
8916         (BranchElement.BranchElement): Set lastIndex to -1.
8917         (BranchElement.getElementIndex): Implemented more efficient
8918         search.
8919
8920 2006-08-09  Roman Kennke  <kennke@aicas.com>
8921
8922         * javax/swing/text/DefaultStyledDocument.java
8923         (Edit): Moved this inner class into ElementBuffer where it
8924         is actually needed.
8925         (edits): Moved this field into ElementBuffer.
8926         (getEditForParagraphAndIndex): Removed obsolete method.
8927         (insertUpdate): Added some optimizations and fixes. Split
8928         out handling insertion after newlines.
8929         (insertAfterNewline): New helper method. Handles insertions
8930         after a newline.
8931         (ElementBuffer.Edit): New inner class. Moved here from
8932         DefaultStyledDocument.
8933         (ElementBuffer.createdFracture): New field.
8934         (ElementBuffer.documentEvent): Made private.
8935         (ElementBuffer.edits): New field. Moved here from
8936         DefaultStyledDocument.
8937         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
8938         (ElementBuffer.fracturedChild): New field.
8939         (ElementBuffer.fracturedParent): New field.
8940         (ElementBuffer.insertPath): New field.
8941         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
8942         fracturedParent.
8943         (ElementBuffer.offsetLastIndex): New field.
8944         (ElementBuffer.offsetLastIndexReplace): New field.
8945         (ElementBuffer.recreateLeafs): New field.
8946         (ElementBuffer.ElementBuffer): Don't initialize stack here.
8947         (ElementBuffer.canJoin): New helper method.
8948         (ElementBuffer.changeUpdate): Changed to use elementStack with
8949         Edits rather than Elements. Let the split method do the work.
8950         (ElementBuffer.cloneAsNecessary): New helper method.
8951         (ElementBuffer.createFracture): Changed to fracture the bottommost
8952         child in the stack.
8953         (ElementBuffer.finishEdit): New helper method. Moved out
8954         from insertUpdate to perform the actual changes and update
8955         the event.
8956         (fracture): New helper method.
8957         (insertContentTag): Fixed some bugs and changed to use Edit
8958         instances in the stack, rather then Elements.
8959         (insertElement): New helper method. Moved out from insertUpdate()
8960         to process the ElementSpecs.
8961         (insertFirstContentTag): Fixed some problems and changed to use Edit
8962         instances in the stack, rather then Elements.
8963         (insertFracture): Removed. Basically moved into createFracture()
8964         and fracture().
8965         (insertParagraph): Removed.
8966         (insertUpdate): Split out the ElementSpec processing into
8967         insertElement(). Use Edit instances in the stack. Fixed some
8968         problems.
8969         (insert): Split out the preparation and finishing code into
8970         prepareEdit() and finishEdit().
8971         (join): New helper method.
8972         (pop): New helper method.
8973         (prepareEdit): New helper method.
8974         (recreateFracturedElement): New helper method.
8975         (recreateLeaves): Removed.
8976         (recreate): New helper method.
8977         (removeElements): New helper method. Split out from removeUpdate().
8978         (removeUpdate): Split out the actual removal. Use the
8979         Edit stack to perform removal and perform the remove actions
8980         and event updates afterwards, just like in insertImpl().
8981         (remove): Use prepareEdit() and finishEdit().
8982         (split): Replaced with more flexible impl.
8983
8984 2006-08-09  Sven de Marothy  <sven@physto.se>
8985
8986         * gnu/java/awt/peer/gtk/CairoSurface.java
8987         Change class to extend WritableRaster and not DataBuffer.
8988         (CairoDataBuffer): New inner class.
8989         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
8990         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
8991         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8992         Accomodate the above change.
8993
8994 2006-08-09  Sven de Marothy  <sven@physto.se>
8995
8996         * gnu/java/awt/peer/gtk/GtkMainThread.java
8997         New file.
8998         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
8999         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9000         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9001         * gnu/java/awt/peer/gtk/GtkToolkit.java
9002         Minor style fixes; removed unused fields, 
9003         set fields to private where possible.
9004         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9005         Call GtkMainThread.createWindow().
9006         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9007         (dispose): New method.
9008         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9009         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9010         (gtkQuit): New native method.
9011
9012 2006-08-08  Lillian Angel  <langel@redhat.com>
9013
9014         * java/awt/Component.java
9015         (setDropTarget): Added check.
9016
9017 2006-08-08  Lillian Angel  <langel@redhat.com>
9018
9019         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9020         (GtkDragSourceContextPeer): Added FIXME. Changed call
9021         to setTarget. 
9022         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9023         (GtkDropTargetContextPeer): Removed target initialization.
9024         * java/awt/Component.java
9025         (setTarget): Removed commented out code.
9026
9027 2006-08-08  Mark Wielaard  <mark@klomp.org>
9028
9029         * javax/swing/text/DefaultHighlighter.java: Qualify
9030         Highlighter.HighlightPainter class name for gcj.
9031
9032 2006-08-05  Roman Kennke  <kennke@aicas.com>
9033
9034         * javax/swing/plaf/basic/BasicTableUI.java
9035         (MouseInputHandler.mousePressed): Request focus on list
9036         component.
9037
9038 2006-08-05  Roman Kennke  <kennke@aicas.com>
9039
9040         * javax/swing/plaf/basic/BasicListUI.java
9041         (MouseInputHandler.mousePressed): Request focus on list
9042         component.
9043
9044 2006-08-05  Roman Kennke  <kennke@aicas.com>
9045
9046         PR 28650
9047         * javax/swing/plaf/basic/BasicMenuBarUI.java
9048         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9049         than Tree.actionMap.
9050         * javax/swing/plaf/basic/BasicTreeUI.java
9051         (action): Removed obsolete field.
9052         (uninstallKeyboardActions): Removed action field handling.
9053         (installKeyboardActions): Removed action field handling.
9054         (createDefaultActions): Don't install removed TreeAction.
9055         (TreeAction): Removed obsolete inner class.
9056         (ActionListenerProxy): Removed obsolete inner class.
9057         (MouseHandler.mousePressed): Request focus on JTree component
9058         on mouse press.
9059
9060 2006-08-08  Roman Kennke  <kennke@aicas.com>
9061
9062         * javax/swing/plaf/basic/BasicListUI.java
9063         (MouseInputHandler.mousePressed): Request focus on list
9064         component.
9065
9066 2006-08-08  Roman Kennke  <kennke@aicas.com>
9067
9068         * javax/swing/plaf/basic/BasicTableUI.java
9069         (MouseInputHandler.mousePressed): Request focus on list
9070         component.
9071
9072 2006-08-08  Roman Kennke  <kennke@aicas.com>
9073
9074         * javax/swing/plaf/basic/BasicTextUI.java
9075         (damageRange(JTextComponent,int,int)): Call damageRange() with
9076         correct biases, rather than null.
9077         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9078         to use simpler modelToView() approach without much special
9079         casing. This seems not worth the effort and actually
9080         caused problems. Added locking of the document.
9081         * javax/swing/text/BoxView.java
9082         (requirementsValid): New field.
9083         (calculateMajorAxisRequirements): Rewritten without using
9084         SizeRequirements. The SizeRequirements algorithms are slightly
9085         different and too inefficient.
9086         (calculateMinorAxisRequirements): Rewritten without using
9087         SizeRequirements. The SizeRequirements algorithms are slightly
9088         different and too inefficient.
9089         (getAlignment): Simply return the alignment of the cached
9090         requirements.
9091         (getMaximumSpan): Add insets.
9092         (getMinimumSpan): Add insets.
9093         (getPreferredSpan): Add insets.
9094         (layoutMajorAxis): Rewritten without using
9095         SizeRequirements. The SizeRequirements algorithms are slightly
9096         different and too inefficient.
9097         (layoutMinorAxis): Rewritten without using
9098         SizeRequirements. The SizeRequirements algorithms are slightly
9099         different and too inefficient.
9100         (modelToView): Call setSize() rather than layout().
9101         (paint): Check clip for more efficient painting.
9102         (preferenceChanged): Invalidate requirements here.
9103         (replace): Invalidate requirements here.
9104         (updateRequirements): Update requirements only when requirements
9105         are marked invalid.
9106         * javax/swing/text/CompositeView.java
9107         (modelToView): Added some more checks and handling of corner cases.
9108         * javax/swing/text/FlowView.java
9109         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9110         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9111         * javax/swing/text/IconView.java
9112         (getAlignment): Implemented to return 1.0 for vertical alignment.
9113         * javax/swing/text/ParagraphView.java
9114         (Row.getMaximumSpan): Implemented to let Rows span the whole
9115         ParagraphView.
9116         (getAlignment): Fixed horizontal alignment and vertical alignment
9117         for empty paragraphs to be 0.5.
9118
9119 2006-08-08  Roman Kennke  <kennke@aicas.com>
9120
9121         * javax/swing/text/View.java
9122         (modelToView): Added special handling for corner case at the end
9123         of the view and for multiline views.
9124
9125 2006-08-08  Roman Kennke  <kennke@aicas.com>
9126
9127         * javax/swing/plaf/basic/BasicTextUI.java
9128         (modelToView): Read-lock the document. Set size of the
9129         root view before fetching the model-to-view mapping.
9130         (getViewIndex): Check of the position is inside the range and
9131         return -1 if this is not the case.
9132         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9133         view index.
9134         (getViewIndexAtPosition(int)): Delegate the index search to
9135         the element since we have a 1:1 mapping between elements and
9136         views here.
9137         * javax/swing/text/DefaultCaret.java
9138         (appear): Ignore BadLocationException.
9139         (paint): Ignore BadLocationException.
9140         * javax/swing/text/FlowView.java
9141         (changedUpdate): Also notify the layoutPool view.
9142         (removeUpdate): Also notify the layoutPool view.
9143         * javax/swing/text/ParagraphView.java
9144         (Row.getViewIndexAtPosition): Overridden to search linearily
9145         through the view instead of relying on a 1:1 model to view
9146         mapping.
9147         * javax/swing/text/View.java
9148         (removeUpdate): Clear ElementChange object if updateChildren
9149         returns false.
9150         (forwardUpdate): Special handle some boundary cases.
9151
9152 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9153
9154         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9155         (hasInheritedParameters): New method.
9156         (equals): Updated documentation.
9157         Take into consideration the outcome of hasInheritedParameters invocation.
9158         (toString): Call hasInheritedParameters and adjust the result accordingly.
9159         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9160         Updated documentation.
9161         Handle case of public keys with null p, q, and g MPIs.
9162         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9163
9164 2006-08-07  Tom Tromey  <tromey@redhat.com>
9165
9166         PR libgcj/23682:
9167         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9168         (attachment): Likewise.
9169         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9170         synchronized.
9171         (isValid): Likewise.
9172         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9173         (ch): Likewise.
9174         (interestOps): Synchronize.
9175         (readyOps): Likewise.
9176         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9177         interestOps call.
9178
9179 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9180
9181         Fixes PR 28608.
9182         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9183         the mark has been set.
9184         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9185         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9186         allocated data.
9187
9188 2006-08-07  Sven de Marothy  <sven@physto.se>
9189
9190         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9191         (drawGlyphVector): Synchronize against font object when drawing.
9192         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9193         (nativeDrawGlyphVector): Use pango locking when drawing.
9194         (install_font_peer): Use pango locking when creating the cairo face.
9195
9196 2006-08-06  Roman Kennke  <kennke@aicas.com>
9197
9198         PR 28571
9199         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9200         (getPreferredSize): Renamed method to preferredSize(). That's
9201         the one that gets called from java.awt.*.
9202         * java/awt/peer/ComponentPeer.java
9203         (getPreferredSize): Added specnote about this method never
9204         beeing called in the RI.
9205         (getMinimumSize): Added specnote about this method never
9206         beeing called in the RI.
9207
9208 2006-08-03  Sven de Marothy  <sven@physto.se>
9209
9210         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9211         (grab, nativeGrab): New methods.
9212         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9214         (nativeGrab): New method.
9215         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9216         (print): Implement.
9217         * java/awt/Component.java
9218         (printAll): Should call peer print method.
9219
9220 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9221
9222         * java/net/URL.java (getContent(Class[])): Implement.
9223
9224 2006-08-06  Mark Wielaard  <mark@klomp.org>
9225
9226         PR 28555
9227         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9228         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9229         withParams is null.
9230         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9231         sortKeys is null.
9232
9233 2006-08-06  Roman Kennke  <kennke@aicas.com>
9234
9235         * NEWS: Added note about the X peers.
9236         * INSTALL: Added install notes about the X peers. 
9237
9238 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9239             Paul Jenner  <psj@harker.dyndns.org>
9240
9241         * README: Update bug, patches and cvs instructions plus new URLs of
9242         various external projects.
9243
9244 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9245
9246         * configure.ac (MOZILLA_FOUND): Fall back to
9247         mozilla-firefox-plugin.
9248
9249 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9250
9251         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9252         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9253         g_type_init earlier in function to correctly initialize the
9254         type system used by the backend.
9255
9256 2006-08-05  Roman Kennke  <kennke@aicas.com>
9257   
9258         * javax/swing/text/DefaultHighlight.java
9259         (DefaultHighlightPainter.paintHighlight): Removed method.
9260         (DefaultHighlightPainter.paintLayer): Implemented.
9261         (DefaultHighlightPainter.paint): Implemented more efficient
9262         painting for multiline-highlights.
9263         (HighlightEntry.p0): Changed to be a Position.
9264         (HighlightEntry.p1): Changed to be a Position.
9265         (HighlightEntry.HighlightEntry): Changed to take Position
9266         arfuments.
9267         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9268         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9269         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9270         and tracks the painted rectangle for efficient repainting.
9271         (addHighlight): Handle layered highlight.
9272         (changeHighlight): Handle layered highlight.
9273         (paintLayeredHighlights): Implemented.
9274         (paint): Paint only non-layered highlights here.
9275         (removeAllHighlights): Trigger correct repaint.
9276         (removeHighlight): Handle layered highlight here for
9277         more efficient repainting.
9278         * javax/swing/text/GlyphView.java
9279         (paint): Handle layered highlights.
9280         * javax/swing/text/PlainView.java
9281         (paint): Handle layered highlights.
9282         * javax/swing/text/WrappedPlainView.java
9283         (WrappedLine.paint): Handle layered highlights.
9284
9285 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9286   
9287         PR 26972
9288         * NEWS: As suggested by Paul Jennier, added note about the fix of
9289         the InitialContext.
9290
9291 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9292
9293         * NEWS: Added entry about the context factories for JNDI.
9294
9295 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9296
9297         PR 27383
9298         * gnu/CORBA/Connected_objects.java (size): New method.
9299         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9300         New method.
9301         * javax/naming/spi/NamingManager.java (getURLContext):
9302         Also search for the URL context factories in 
9303         gnu/javax/naming/jndi/url.
9304         * gnu/javax/naming/giop/ContextContinuation.java,
9305         gnu/javax/naming/giop/CorbalocParser.java,
9306         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9307         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9308         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9309         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9310         gnu/javax/naming/giop/ListEnumeration.java,
9311         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9312         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9313         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9314         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9315         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9316         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9317         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9318         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9319
9320 2006-08-06  Sven de Marothy  <sven@physto.se>
9321
9322         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9323         (drawGlyphVector): Synchronize against font object when drawing.
9324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9325         (nativeDrawGlyphVector): Use pango locking when drawing.
9326         (install_font_peer): Use pango locking when creating the cairo face.
9327
9328 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9329
9330         Fixes PR 28608.
9331         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9332         the mark has been set.
9333         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9334         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9335         allocated data.
9336
9337 2006-08-06  Mark Wielaard  <mark@klomp.org>
9338
9339         PR 28555
9340         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9341         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9342         withParams is null.
9343         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9344         sortKeys is null.
9345
9346 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9347             Paul Jenner  <psj@harker.dyndns.org>
9348
9349         * README: Update bug, patches and cvs instructions plus new URLs of
9350         various external projects.
9351   
9352 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9353
9354         * gnu/java/lang/management/BeanImpl.java:
9355         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9356         with open variant.
9357         (getCachedMBeanInfo()): Return open variant.
9358         (getMBeanInfo()): Likewise.
9359         (getTypeFromClass(Class)): Implemented.
9360         (translateSignature(MBeanParameterInfo)): Likewise.
9361         (translate(String)): Likewise.
9362         * javax/management/StandardMBean.java:
9363         (getMBeanInfo()): Return attribute names with capital letters,
9364         as in docs for java.lang.management.ManagementFactory, and
9365         ensure descriptions are not "".
9366         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9367         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9368         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9369         (toString()): Use Arrays.toString().
9370         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9371         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9372         Set open type here rather than in other constructors.
9373
9374 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9375
9376         * javax/management/MBeanFeatureInfo.java:
9377         Make string variable package-private.
9378         * javax/management/StandardMBean.java:
9379         (getMBeanInterface()): Made final.
9380         * javax/management/openmbean/SimpleType.java:
9381         Made final.
9382
9383 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9384
9385         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9386         code.
9387   
9388 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9389
9390         * examples/gnu/classpath/examples/swing/FillRect.java,
9391         * gnu/CORBA/Focused_ORB.java,
9392         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9393         * gnu/classpath/ByteArray.java,
9394         * gnu/classpath/ObjectPool.java,
9395         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9396         * gnu/java/awt/peer/x/fonts.properties,
9397         * gnu/java/security/util/Prime2.java,
9398         * gnu/javax/imageio/gif/GIFStream.java,
9399         * javax/swing/text/html/HTMLTableView.java,
9400         * native/cni/Makefile.am,
9401         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9402         * org/omg/CORBA/SendingContext/Runtime.java,
9403         * resource/gnu/regexp/MessagesBundle.properties,
9404         * resource/gnu/regexp/MessagesBundle_fr.properties,
9405         * resource/gnu/regexp/MessagesBundle_it.properties,
9406         * tools/appletviewer.in,
9407         * tools/jarsigner.in,
9408         * tools/keytool.in,
9409         * vm/reference/java/lang/management/VMThreadInfo.java:
9410         Removed.
9411         * examples/gnu/classpath/examples/awt/aicas.png,
9412         * examples/gnu/classpath/examples/awt/palme.gif,
9413         * examples/gnu/classpath/examples/java2d/aicas.png,
9414         * examples/gnu/classpath/examples/java2d/palme.gif,
9415         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9416         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9417         * java/awt/doc-files/capjoin.png,
9418         * java/awt/geom/doc-files/Area-1.png,
9419         * java/awt/geom/doc-files/Ellipse-1.png,
9420         * java/awt/geom/doc-files/GeneralPath-1.png:
9421         Added.
9422         
9423 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9424
9425         * configdiag.jnlp:
9426         Removed.
9427         
9428 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9429
9430         * gnu/java/lang/management/BeanImpl.java:
9431         (getAttribute(String)): Implemented.
9432
9433 2006-08-05  Roman Kennke  <kennke@aicas.com>
9434
9435         * javax/swing/text/JTextComponent.java
9436         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9437         (AccessibleJTextComponent.textComp): Removed field
9438         and replace with JTextComponent.this construct.
9439         (AccessibleJTextComponent.AccessibleJTextComponent):
9440         Fetch caret position.
9441         (caretUpdate): Implemented. Fires property change events and
9442         updates the caretDot field.
9443         (changedUpdate): Implemented. Fires property change events.
9444         (insertUpdate): Implemented. Fires property change events.
9445         (removeUpdate): Implemented. Fires property change events.
9446         (cut): Replaced textComp with JTextComponent.this construct.
9447         (paste): Replaced textComp with JTextComponent.this construct.
9448         (replaceText): Replaced textComp with JTextComponent.this construct.
9449         (selectText): Replaced textComp with JTextComponent.this construct.
9450         (getCaretPosition): Replaced textComp with JTextComponent.this
9451         construct.
9452         (getCharCount): Replaced textComp with JTextComponent.this construct.
9453         (getSelectedText): Replaced textComp with JTextComponent.this
9454         construct.
9455         (getSelectionEnd): Replaced textComp with JTextComponent.this
9456         construct.
9457         (getSelectionStart): Replaced textComp with JTextComponent.this
9458         construct.
9459         (getTextRange): Replaced textComp with JTextComponent.this
9460         construct.
9461         (doAccessibleAction): Implemented.
9462         (getAccessibleActionCount): Implemented.
9463         (getAccessibleActionDescription): Implemented.
9464         (getAccessibleStateSet): Implemented.
9465         (getAfterIndex): Implemented.
9466         (getBeforeIndex): Implemented.
9467         (getAtIndex): Implemented.
9468         (getAtIndexImpl): New helper method.
9469         (getCharacterAttribute): Implemented.
9470         (getCharacterBounds): Implemented.
9471         (getIndexAtPoint): Implemented. 
9472         (insertTextAtIndex): Implemented.
9473         (setAttributes): Implemented.
9474         (setTextContents): Implemented.
9475
9476 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9477   
9478         * configure.ac: Better handling of default-preferences-peer option.
9479
9480 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9481
9482         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9483         double[].
9484
9485 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9486
9487         * javax/management/openmbean/TabularData.java:
9488         Documentation corrections.
9489         * javax/management/openmbean/TabularDataSupport.java:
9490         New file.
9491
9492 2006-08-04  Francis Kung  <fkung@redhat.com>
9493
9494         * java/awt/BasicStroke.java
9495         (dashedStroke): Implemented.
9496
9497 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9498
9499         * javax/management/BadAttributeValueExpException.java,
9500         * javax/management/BadStringOperationException.java,
9501         * javax/management/InstanceAlreadyExistsException.java,
9502         * javax/management/InstanceNotFoundException.java,
9503         * javax/management/InvalidApplicationException.java,
9504         * javax/management/MBeanRegistrationException.java,
9505         * javax/management/MalformedObjectNameException.java,
9506         * javax/management/RuntimeErrorException.java,
9507         * javax/management/RuntimeMBeanException.java,
9508         * javax/management/ServiceNotFoundException.java:
9509         New files.
9510         
9511 2006-08-04  Roman Kennke  <kennke@aicas.com>
9512
9513         * javax/swing/SwingUtilities.java
9514         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9515          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9516         layoutCompoundLabelImpl().
9517         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9518          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9519         layoutCompoundLabelImpl().
9520         (layoutCompoundLabelImpl): New helper method. Moved impl from
9521         layoutCompoundLabel() to here and added handling of HTML.
9522         * javax/swing/plaf/basic/BasicButtonUI.java
9523         (installUI): Update HTML view if appropriate.
9524         (uninstallUI): New method. Do the usual uninstallUI things
9525         and uninstall HTML view.
9526         (getMinimumSize): New method. Adjusts the minimum size
9527         by the HTML view minimum size.
9528         (getMaximumSize): New method. Adjusts the maximum size
9529         by the HTML view maximum size.
9530         (getPreferredSize): Pass the button's iconTextGap to the
9531         BasicGraphicsUtils method.
9532         (paint): Let HTML view paint the text, if present.
9533         * javax/swing/plaf/basic/BasicButtonListener.java
9534         (propertyChange): Update the HTML view when the button's
9535         text is changed.
9536         
9537 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9538
9539         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9540         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9541         g_type_init earlier in function to correctly initialize the
9542         type system used by the backend.
9543
9544 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9545
9546         PR 26972
9547         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9548         Documented.
9549         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9550
9551 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9552
9553         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9554         Fixes PR27864.
9555         * gnu/xml/dom/DomIterator.java:
9556         (successor): Added if-statement.
9557
9558 2006-08-04  Mark Wielaard  <mark@klomp.org>
9559
9560         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9561
9562 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9563
9564         * javax/swing/plaf/metal/MetalMenuBarUI.java:
9565         (update): Check size and paint smaller gradient.
9566         * javax/swing/plaf/metal/MetalBorders.java:
9567         (MenuBarBorder): Removed borderColor field.
9568         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9569         MetalLookAndFeel.
9570
9571 2006-08-03  Roman Kennke  <kennke@aicas.com>
9572
9573         PR 27637
9574         * javax/swing/plaf/basic/BasicInternalFrameUI.java
9575         (ComponentHandler.componentResized): Reimplemented to handle
9576         arbitrary parents.
9577         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9578         component listener on changed ancestor.
9579         (installListeners): Install componentListener.
9580         (uninstallListeners): Uninstall componentListener.
9581
9582 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9583
9584         * StrictMath.java (cbrt): Return argument if it is a NaN.
9585         (cosh): Likewise.
9586         (expm1): Likewise.
9587         (sinh): Likewise.
9588   
9589 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9590   
9591         * java/lang/StrictMath.java (tanh): New method.
9592   
9593 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
9594   
9595         * scripts/import-cacerts.sh: Batch CA certificates import script.
9596   
9597 2006-08-03  Roman Kennke  <kennke@aicas.com>
9598
9599         PR 27606
9600         * javax/swing/plaf/basic/BasicListUI.java
9601         (paintCell): Pass row index to cell renderer.
9602         * javax/swing/plaf/basic/MetalFileChooserUI.java
9603         (DirectoryComboBoxRenderer.indentIcon): New field.
9604         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9605         Initialize indentIcon.
9606         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9607         Fall back to super and removed standard functionality.
9608         Handle indentation.
9609         (IndentIcon): New class. Wraps and indents another icon.
9610
9611 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9612
9613         * javax/management/MBeanConstructorInfo.java:
9614         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9615         Copy array rather than directly assigning.
9616         * javax/management/MBeanInfo.java:
9617         (MBeanInfo(String,String,MBeanAttributeInfo[],
9618         MBeanConstructorInfo[], MBeanOperationInfo[],
9619         MBeanNotificationInfo[])): Likewise.
9620         * javax/management/MBeanOperationInfo.java:
9621         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9622         Likewise.
9623         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9624         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9625         New files.
9626         * javax/management/openmbean/OpenMBeanInfo.java:
9627         Corrected documentation.
9628         * javax/management/openmbean/OpenMBeanInfoSupport.java:
9629         New file.
9630         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9631         Corrected documentation.
9632         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9633         New file.
9634         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9635         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9636         Call other constructor rather than reimplementing.
9637
9638 2006-08-02  Lillian Angel  <langel@redhat.com>
9639
9640         * java/awt/dnd/DragSource.java
9641         (isDragImageSupported): Implemented.
9642         (getDragThreshold): Changed default value.
9643         * java/awt/dnd/DropTarget.java
9644         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9645         (DropTarget): Likewise.
9646         (DropTarget): If FlavorMap passed in is null, we should use the system default.
9647         (addDropTargetListener): Added check to determine if new DropTargetListener
9648         is this class. If so, an IllegalArgumentException is thrown. If the 
9649         new listener is null, nothing happens.
9650
9651 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
9652
9653         * configure.ac (MOZILLA_FOUND): Fall back to
9654         mozilla-firefox-plugin.
9655
9656 2006-08-02  Sven de Marothy  <sven@physto.se>
9657
9658         * java/awt/geom/AffineTransform.java
9659         (hashCode): Tweak impl. 
9660         * java/awt/font/FontRenderContext.java
9661         (hashCode): Implement. 
9662
9663 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
9664
9665         * java/lang/StrictMath.java (sinh): New method.
9666
9667 2006-08-02  Roman Kennke  <kennke@aicas.com>
9668
9669         PR 27605
9670         * javax/swing/JComboBox.java
9671         (setSelectedItem): Fire ActionEvent here.
9672         * javax/swing/plaf/basic/BasicDirectoryModel.java
9673         (directories): Changed to type Vector.
9674         (files): New field.
9675         (loadThread): New field.
9676         (DirectoryLoadThread): New inner class. This loads the contents
9677         of directories asynchronously.
9678         (getDirectories): Return cached Vector.
9679         (getFiles): Return cached Vector.
9680         (getSize): Return plain size of contents Vector.
9681         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9682         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9683         (sort): Don't store sorted list in contents. This must be done
9684         asynchronously from the EventThread.
9685         (validateFileCache): Rewritten for asynchronous reading
9686         of directory contents.
9687         * javax/swing/plaf/basic/BasicFileChooserUI.java
9688         (installListeners): Install model as PropertyChangeListener.
9689         (uninstallListeners): Uninstall model as PropertyChangeListener.
9690         (createPropertyChangeListener): Return null just like the
9691         RI.
9692
9693 2006-08-02  Sven de Marothy  <sven@physto.se>
9694   
9695         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9696         (remove): Force event on removing item 0 when it's selected.
9697         (handleEvent): Always call Choice.selected().
9698         * java/awt/Choice.java:
9699         (remove): Simplify and correct.
9700   
9701 2006-08-02  Mark Wielaard  <mark@klomp.org>
9702   
9703         PR 28535
9704         * configure.ac (gconf-peer): Check for gdk-2.0.
9705         * native/jni/gconf-peer/Makefile.am
9706         (AM_LDFLAGS): Use GDK_LIBS.
9707         (AM_CFLAGS): Use GDK_CFLAGS.
9708   
9709 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9710   
9711         * java/net/URL.java (getContent(Class[])): Implement.
9712   
9713 2006-08-02  Roman Kennke  <kennke@aicas.com>
9714   
9715         PR 27624
9716         * javax/swing/JMenu.java
9717         (JMenu()): Removed setting of delay.
9718         (JMenu(String)): Removed setting of delay.
9719         (JMenu(Action)): Removed setting of delay.
9720         (JMenu(String,boolean)): Removed setting of delay.
9721         (setSelectedHelper): Removed unneeded method.
9722         (setSelected): Simply set the model state.
9723         (setPopupMenuVisible): Recognize the popup location
9724         determined by getPopupMenuOrigin().
9725         (getPopupMenuOrigin): Recognize the UI properties for
9726         X and Y offset.
9727         (menuSelectionChanged): Call setSelected() directly.
9728         * javax/swing/JPopupMenu.java
9729         (menuSelectionChanged): If invoker is a JMenu, then delegate
9730         to that to get the position right.
9731         * javax/swing/Popup.java
9732         (LightweightPopup.show): Insert the popup as first component
9733         in the layer, so that it overlaps it's caller.
9734         * javax/swing/plaf/basic/BasicMenuItemUI.java
9735         (getPath): Don't include the popup.
9736         * javax/swing/plaf/basic/BasicMenuUI.java
9737         (SelectMenuAction): New class. This invokes the popup when
9738         a menu is selected.
9739         (installDefaults): Install delay of 200 ms.
9740         (setupPostTimer): Implemented.
9741         (MouseInputHandler.mouseClicked): Do nothing here.
9742         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9743         magic to handle the selection. Open the menu via a timer.
9744         (MouseInputHandler.mousePressed): Use MenuSelectionManager
9745         magic to handle the selection. Open the menu via a timer.
9746         (MenuDragMouseHandler.menuMouseDragged): Probably use
9747         timer.
9748         (menuDragMouseEntered): Do nothing here.
9749   
9750 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9751         
9752         * javax/management/openmbean/InvalidOpenTypeException.java,
9753         * javax/management/openmbean/KeyAlreadyExistsException.java:
9754         New files.
9755
9756 2006-08-02  Roman Kennke  <kennke@aicas.com>
9757
9758         PR 27604
9759         * javax/swing/plaf/basic/BasicChooserUI.java
9760         (BasicFileView.getName): Fetch the real name from the
9761         file chooser's FileSystemView.
9762         * javax/swing/plaf/metal/MetalChooserUI.java
9763         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9764         Set the text fetched from the JFileChooser.getName().
9765         * javax/swing/FileSystemView.java
9766         (createFileObject): When file is a filesystem root,
9767         create a filesystem root object first.
9768         (getSystemDisplayName): Return the filename. Added specnote
9769         about ShellFolder class that is mentioned in the spec.
9770         * javax/swing/UnixFileSystemView.java
9771         (getSystemDisplayName): Implemented to return the real name
9772         of a file, special handling files like '.' or '..'.
9773
9774 2006-08-03  Mark Wielaard  <mark@klomp.org>
9775
9776         * examples/gnu/classpath/examples/icons/badge.png: Add file.
9777
9778 2006-08-03  Roman Kennke  <kennke@aicas.com>
9779
9780         PR 28562
9781         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9782         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9783         components when visual property chanegs.
9784
9785 2006-08-03  Roman Kennke  <kennke@aicas.com>
9786
9787         PR 28562
9788         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9789         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9790         component when visual properties change.
9791
9792 2006-08-03  Roman Kennke  <kennke@aicas.com>
9793
9794         PR 28534
9795         * javax/swing/JTree.java
9796         (JTree(TreeModel)): Set cell renderer to null.
9797         * javax/swing/plaf/basic/BasicTreeUI.java
9798         (setCellRenderer): Finish editing before setting the
9799         cell renderer. Refresh the layout. Don't set the
9800         currentCellRenderer field here (that's done in updateRenderer).
9801         (updateRenderer): Handle createdRenderer field here too.
9802         Set renderer to a default handler when the current renderer
9803         in the JTree is null.
9804
9805 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9806
9807         PR Classpath/23899
9808         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
9809
9810 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
9811
9812         PR Classpath/28556
9813         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
9814         Updated documentation to clarify that RFC-2459 states that the parameters
9815         field of the AlgorithmIdentifier element MUST be NULL if present.
9816         Amended the code to reflect the specs.
9817         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
9818
9819 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9820
9821         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9822         Call parameter 'defaultValue' not 'defValue'.
9823
9824 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9825
9826         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9827         New file.
9828
9829 2006-08-01  Roman Kennke  <kennke@aicas.com>
9830   
9831         PR 28562
9832         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9833         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9834         components when visual property chanegs.
9835   
9836 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9837
9838         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
9839         (toString()): Corrected documentation.
9840         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
9841         * javax/management/openmbean/OpenMBeanInfo.java,
9842         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9843         New files.
9844         * javax/management/openmbean/OpenMBeanParameterInfo.java:
9845         (toString()): Corrected documentation.
9846         
9847 2006-08-01  Tania Bento  <tbento@redhat.com>
9848
9849         * java/awt/Choice.java
9850         (remove(int)): Added documentation.
9851
9852 2006-08-01  Tania Bento  <tbento@redhat.com>
9853         
9854         * java/awt/Choice.java
9855         (remove(int)): An IllegalArgumentException should not be thrown
9856         if int is invalid.  Update selectedIndex and peer selection.
9857
9858 2006-08-01  Tania Bento  <tbento@redhat.com>
9859
9860         * java/awt/CardLayout.java
9861         (toString): Changed format of string outputted.
9862         (goToComponent): Changed the order of the if-clause.
9863
9864 2006-07-31  Tom Tromey  <tromey@redhat.com>
9865
9866         * INSTALL: Updated for ASM.
9867
9868 2006-07-31  Tom Tromey  <tromey@redhat.com>
9869
9870         PR libgcj/23682:
9871         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9872         (attachment): Likewise.
9873         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9874         synchronized.
9875         (isValid): Likewise.
9876         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9877         (ch): Likewise.
9878         (interestOps): Synchronize.
9879         (readyOps): Likewise.
9880         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9881         interestOps call.
9882
9883 2006-07-31  Roman Kennke  <kennke@aicas.com>
9884
9885         * NEWS: Added note about the X peers.
9886         * INSTALL: Added install notes about the X peers.
9887
9888 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
9889
9890         * StrictMath.java (getLowDWord): Return long instead of int.
9891         (getHighDWord): Likewise.
9892         (buildDouble): Take two long arguments.
9893         (cbrt): Adapted to int -> long change.
9894         (expm1): Likewise.
9895         (cosh): Likewise.
9896
9897 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
9898
9899         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
9900         -avoid-version.
9901
9902 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
9903
9904         * java/security/Provider.java: Updated copyright year.
9905         Updated documentation.
9906         Formatting.
9907         (put): Updated documentation.
9908         Added security manager check.
9909         Canonicalize the key before adding its mapping.
9910         (get): Override superclass implementation to use canonicalized keys.
9911         (remove): Updated documentation.
9912         Added security manager check.
9913         Canonicalize the key before removing its mapping.
9914         (clear): Updated documentation.
9915         Added security manager check.
9916         (toCanonicalKey): New method.
9917
9918 2006-07-30  Matt Wringe  <mwringe@redhat.com>
9919
9920         * gnu/java/security/Engine.java
9921         (getInstance): Ignore self referencing aliases.
9922
9923 2006-07-30  Mark Wielaard  <mark@klomp.org>
9924
9925         * javax/swing/JComponent.java (getListeners): Revert
9926         un-genericization.
9927
9928 2006-07-30  Mark Wielaard  <mark@klomp.org>
9929
9930         * resource/java/security/classpath.security: Add /dev/urandom as
9931         default securerandom.source.
9932
9933 2006-07-30  Mark Wielaard  <mark@klomp.org>
9934
9935         * java/util/GregorianCalendar.java (maximums): Months can have up to
9936         6 weeks.
9937         (nonLeniencyCheck): weeks is either 5 or 6.
9938
9939 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9940         
9941         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
9942         * javax/management/openmbean/OpenMBeanParameterInfo.java:
9943         New files.
9944
9945 2006-07-30  Matt Wringe  <mwringe@redhat.com>
9946
9947         * gnu/java/security/Engine.java 
9948         (getInstance): Ignore self referencing aliases.
9949
9950 2006-07-30  Sven de Marothy  <sven@physto.se>
9951
9952         * java/awt/Choice.java:
9953         (accessibleAction): Call select() directly.
9954         (add, insert, remove): Reimplement.
9955         (dispatchEventImpl): Always call super.
9956         (processItemEvent): Does not set the index.
9957         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
9958         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9959         (append): removed.
9960         (nativeAdd): Name changed to add.
9961         (selection_changed_cb): Simplify callback.
9962         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9963         (selected): New field.
9964         (add): Replaced with native impl.
9965         (handleEvent): New method.      
9966         
9967 2006-07-30  Sven de Marothy  <sven@physto.se>
9968
9969         * java/awt/Choice.java:
9970         Reformat, fix copyright year.
9971
9972 2006-07-29  Mark Wielaard  <mark@klomp.org>
9973
9974         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
9975         static field isPaintingDoubleBuffered to not have the same name
9976         as a method.
9977
9978 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9979   
9980         * examples/gnu/classpath/examples/management/TestBeans.java:
9981         New file.
9982         * javax/management/MBeanAttributeInfo.java:
9983         (toString()): Implemented.
9984         * javax/management/MBeanConstructorInfo.java:
9985         (toString()): Implemented.
9986         * javax/management/MBeanFeatureInfo.java:
9987         (toString()): Implemented.
9988         * javax/management/MBeanInfo.java:
9989         (toString()): Implemented.
9990         * javax/management/MBeanNotificationInfo.java:
9991         (toString()): Implemented.
9992         * javax/management/MBeanOperationInfo.java:
9993         (toString()): Implemented.
9994         * javax/management/MBeanParameterInfo.java:
9995         (toString()): Implemented.
9996         * javax/management/StandardMBean.java:
9997         (getMBeanInfo()): Fix attribute naming.
9998
9999 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10000
10001         * gnu/java/lang/management/BeanImpl.java:
10002         Extended javax.management.StandardMBean.
10003         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10004         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10005         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10006         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10007         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10008         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10009         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10010         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10011         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10012         Call the superclass with the appropriate class.
10013         * java/lang/management/ManagementFactory.java:
10014         (getOperatingSystemMXBean()): Catch exception from
10015         StandardMBean.
10016         (getRuntimeMXBean()): Likewise.
10017         (getClassLoadingMXBean()): Likewise.
10018         (getThreadMXBean()): Likewise.
10019         (getMemoryMXBean()): Likewise.
10020         (getCompilationMXBean()): Likewise.
10021         (getMemoryPoolMXBeans()): Likewise.
10022         (getMemoryManagerMXBeans()): Likewise.
10023         (getGarbageCollectorMXBeans()): Likewise.
10024         * javax/management/MBeanFeatureInfo.java:
10025         hashCode()): Fixed to check for null values.
10026
10027 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10028
10029         * gnu/java/security/Engine.java
10030         (getInstance): Add case insentivity to algorithm names
10031         * java/security/Provider.java
10032         (put): Stop using canonical key naming
10033         (remove): Likewise
10034         (toCanonicalKey): Method removed
10035         (get): Method removed, no longer needs to overwrite
10036         parent implementation
10037
10038 2006-07-29  Mark Wielaard  <mark@klomp.org>
10039
10040         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10041         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10042         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10043         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10044         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10046         Removed.
10047
10048 2006-07-29  Sven de Marothy  <sven@physto.se>
10049
10050         * java/math/BigDecimal.java
10051         Adjust copyright date.
10052         (divide(BigDecimal): Implement.
10053         (precision): Reimplement.
10054         (numDigitsInBigInteger, numDigitsInLong): Removed.
10055         (toString): Get exponent from string length,
10056         fix negative values with exponential form.
10057         (toEngineeringString): Same as for toString.
10058         (setScale): Throw ArithmeticException if scale < 0.
10059
10060 2006-07-27  Francis Kung  <fkung@redhat.com>
10061
10062         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10063         (cp1): Renamed from first().
10064         (c2): Renamed from last().
10065         (first): Renamed to cp1().
10066         (getDisplacedSegments): Implemented.
10067         (last): Renamed to cp2().
10068         * gnu/java/awt/java2d/LineSegment.java
10069         (cp1): Renamed from first().
10070         (c2): Renamed from last().
10071         (first): Renamed to cp1().
10072         (last): Renamed to cp2().
10073         * gnu/java/awt/java2d/QuadSegment.java
10074         (cp1): Renamed from first().
10075         (c2): Renamed from last().
10076         (first): Renamed to cp1().
10077         (last): Renamed to cp2().
10078         * gnu/java/awt/java2d/Segment.java: Added comments.
10079         (first): New field.
10080         (Segment): Keep track of first element in list.
10081         (add): Update first & last element variables.
10082         (cp1): Renamed from first().
10083         (c2): Renamed from last().
10084         (first()): Renamed to cp1() to reduce ambiguity.
10085         (last()): Renamed to cp2() to reduce ambiguity.
10086         (reverseAll): Update first element variable..
10087         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10088         (draw): Remove flattening path iterator.
10089         * java/awt/BasicStroke.java: Clarified comments.
10090         (addSegments): Refactored some code into joinSegments and
10091         joinInnerSegments.
10092         (capEnd): Rename of Segment.first() and Segment.end().
10093         (joinInnerSegments): New method.
10094         (joinOuterSegments): New method.
10095         (joinSegments): Refactored some code into joinOuterSegments.
10096         (solidStroke): Connect segments together properly.
10097
10098 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10099
10100         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10101         -avoid-version.
10102         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10103         Likewise.
10104         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10105         Likewise.
10106         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10107         Likewise.
10108
10109 2006-07-28  Tom Tromey  <tromey@redhat.com>
10110
10111         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10112
10113 2006-07-28  Lillian Angel  <langel@redhat.com>
10114
10115         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10116         Removed function declarations.
10117         (connect_signals_for_widget): Removed implementation because
10118         stub functions have been removed.
10119         (drag_begin_cb): Removed function.
10120         (drag_motion_cb): Likewise.
10121         (drag_data_get_cb): Likewise.
10122         (drag_data_delete_cb): Likewise.
10123         (drag_drop_cb): Likewise.
10124         (drag_end_cb): Likewise.
10125         (drag_data_received_cb): Likewise.      
10126
10127 2006-07-28  Mark Wielaard  <mark@klomp.org>
10128
10129         * configure.ac: Set version to 0.93-pre.
10130
10131 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10132
10133         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10134
10135 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10136
10137         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10138         (getCallbackHandler): Fully qualify linked class in javadoc.
10139         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10140         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10141         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10142
10143 2006-07-27  Tom Tromey  <tromey@redhat.com>
10144
10145         PR classpath/28486:
10146         * java/net/URLStreamHandler.java (equals): Properly handle default
10147         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10148
10149 2006-07-27  Roman Kennke  <kennke@aicas.com>
10150
10151         * javax/swing/text/AbstractDocument.java
10152         (documentCV): Made field private.
10153         (bypass): Made field private.
10154         (bidiRoot): New field.
10155         (AbstractDocument): Initialize bidiRoot.
10156         (getBidiRootElement): Return bidiRoot.
10157         (getRootElements): Adjusted to also return the bidiRoot element.
10158         (BranchElement.startOffset): Removed unneeded field.
10159         (BranchElement.endOffset): Removed unneeded field.
10160         (BranchElement.BranchElement): Removed unneeded fields.
10161         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10162         done automatically when there's no element left in the array.
10163         (BranchElement.getStartOffset): Likewise.
10164         (BranchElement.replace): Reordered calculations to avoid double
10165         calculations.
10166         (removeImpl): Silently ignore requests with length <= 0.
10167         * javax/swing/text/GapContent.java
10168         (createPosition): Removed explicit check for correct offset.
10169         This class can deal with offsets outside the document.
10170         (shiftEnd): Update all positions, even those outside the
10171         document.
10172         (adjustPositionsInRange): Fixed to also adjust positions outside
10173         the document boundary.
10174
10175 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10176
10177     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10178     defining class.
10179     (getParameter): Returns _klass field instead of determining
10180     class from _instance.
10181     (setCatchLoc): New method.
10182     (writeData): Now assumes Location deals with empty locations instead of
10183     using null.
10184     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10185     locations and write out accordingly.
10186     (getEmptyLocation): New method. 
10187
10188 2006-07-27  Roman Kennke  <kennke@aicas.com>
10189
10190         * javax/swing/text/SimpleAttributeSet.java
10191         (EMPTY): Use EmptyAttributeSet for this field rather than
10192         SimpleAttributeSet.
10193         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10194         an empty and immutable AttributeSet.
10195
10196 2006-07-27  Roman Kennke  <kennke@aicas.com>
10197
10198         * java/awt/Component.java
10199         (reshape): Invalidate the component itself only when the
10200         size has changed. Invalidate the parent always. Fixed
10201         repainting. Pulled out the notification into
10202         notifyReshape().
10203         (notifyReshape): New helper method. Notify interested listeners
10204         about a reshape.
10205         (update): Simply call paint() without clearing the background.
10206         This is done in Container.update() if appropriate.
10207         (repaint): Delagate the repaint to the nearest heavyweight
10208         parent (for lightweights) and send an UPDATE event, rather than
10209         calling ComponentPeer.repaint().
10210         * java/awt/Container.java
10211         (backCleared): Removed field.
10212         (paint): Removed handling of backCleared flag.
10213         (update): Only paint if the container is actually
10214         showing. Removed handling of backCleared flag.
10215
10216 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10217
10218         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10219         authorship.
10220         (NavigateAction): New inner class.
10221         (NavigatePageDownAction): New inner class.
10222         (NavigatePageUpAction): New inner class.
10223         (RequestFocusAction): New inner class.
10224         (RequestFocusForVisibleComponentAction): New inner class.
10225         (FocusHandler.focusGained): Implemented.
10226         (FocusHandler.focusLost): Implemented.
10227         (MouseHandler.mouseReleased): Implemented.
10228         (MouseHandler.mousePressed): Rewritten.
10229         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10230         currentScrollLocation to 0.
10231         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10232         removed local variables, fixed indentation to stay under 80 column
10233         limit.
10234         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10235         one, set selectedIndex to 0 if its negative, corrected start values
10236         for normalization, suppressed padding when only one tab run,
10237         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10238         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10239         80 column limit, corrected the starting value for the bounds fixing
10240         phase.
10241         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10242         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10243         selectedRun, set start index for loop to 0.
10244         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10245         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10246         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10247         alignment and visibility handling.
10248         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10249         layout mode.
10250         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10251         (currentScrollOffset): New field.
10252         (tabRuns): Rewritten documentation.
10253         (selectedColor): New field.
10254         (tempTextRect): New field.
10255         (tempIconRect): New field.
10256         (scrollTab): New method.
10257         (updateButtons): New method.
10258         (updateViewPosition): New method.
10259         (createLayoutManager): Reordered method calls, predefine new fields,
10260         register proper listeners.
10261         (uninstallComponents): Implemented.
10262         (installDefaults): Corrected property names, fixed indentation,.
10263         (uninstallDefaults): Set new fields to null.
10264         (uninstallListeners): Remove listeners from components neccessary for
10265         scrolling tab layout.
10266         (installKeyboardActions): Implemented.
10267         (uninstallKeyboardActions): Implemented.
10268         (paint): Paint tab area background.
10269         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10270         objects.
10271         (getTabLabelShiftX): Rewritten.
10272         (getTabLabelShiftY): Rewritten.
10273         (paintFocusIndicator): Reindented.
10274         (paintTabBorder): Rewritten.
10275         (paintTabBackground): Corrected color usage, rewritten background
10276         rectangle painting.
10277         (paintContentBorderTopEdge): Rewritten.
10278         (paintContentBorderBottomEdge): Rewritten.
10279         (paintContentBorderLeftEdge): Rewritten.
10280         (paintContentBorderRightEdge): Rewritten.
10281         (tabForCoordinate): Return selected index when no tab could be
10282         found, removed FIXME note.
10283         (getRunForTab): Changed return value for first if-statement.
10284         (navigateSelectedTab): Fixed last argument for both
10285         getTabRunOffset() calls.
10286         (selectedNextTabInRun): Added scrolling code.
10287         (selectedPreviousTabInRun): Added scrolling code.
10288         (selectedNextTab): Added scrolling code.
10289         (selectedPreviousTab): Added scrolling code.
10290         (selectAdjacentRunTab): Added scrolling code.
10291         (getTextViewForTab): Added FIXME note.
10292         (calculateTabHeight): Changed FIXME note.
10293         (getTabRunOffset): Fixed indentation.
10294         (getNextTabIndexInRun): Corrected return value.
10295         (rotateInsets): Make TOP case the default in switch-statement.
10296         (getActionMap): New method.
10297         (createActionMap): New method.
10298         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10299         (createLayoutManager): Rewritten.
10300         (paintLeftTabBorder): Do not paint left line when previous tab
10301         is selected but current tab is the first in its run, do not paint
10302         left line when current tab is selected and is first in its run.
10303         (paintRightTabBorder): Added missing setColor() call, fixed color
10304         usage, do not paint right line if previous tab is selected but
10305         current tab is the first in its run.
10306         (paintBottomTabBorder): Do not paint left line if tab is selected
10307         and is the first tab in the last run.
10308         (paintFocusIndicator): New method.
10309         (getLabelShiftX): New method.
10310         (getLabelShiftY): New method.
10311
10312 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10313
10314         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10315         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10316         g_assert from unused obj.
10317         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10318         obj as unused and remove g_assert on it.
10319
10320 2006-07-26  Roman Kennke  <kennke@aicas.com>
10321
10322         * javax/swing/RepaintManager.java
10323         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10324         for the component.
10325         (isCompletelyDirty): Consider a component completely dirty
10326         when it has a dirty region with Integer.MAX_VALUE.
10327
10328 2006-07-26  Roman Kennke  <kennke@aicas.com>
10329
10330         * java/awt/KeyboardFocusManager.java
10331         (getGlobalFocusOwner): Explicitly check for thread security.
10332         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10333         (getGlobalFocusedWindow): Explicitly check for thread security.
10334         (getGlobalActiveWindow): Explicitly check for thread security.
10335         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10336         (getGlobalObject): Added new argument for specifying if
10337         a security check should be performed or not.
10338         (setGlobalObject): Don't check for thread security when
10339         calling getGlobalObject.
10340
10341 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10342
10343         * javax/management/MBeanConstructorInfo.java:
10344         Documentation fix.
10345         * javax/management/MBeanInfo.java:
10346         (MBeanInfo(String,String,MBeanAttributeInfo[],
10347         MBeanConstructorInfo[], MBeanOperationInfo[],
10348         MBeanNotificationInfo[])): Implemented.
10349         (equals(Object)): Likewise.
10350         (getAttributes()): Likewise.
10351         (getConstructors()): Likewise.
10352         (getOperations()): Likewise.
10353         (hashCode()): Likewise.
10354         * javax/management/MBeanOperationInfo.java,
10355         * javax/management/NotCompliantMBeanException.java,
10356         * javax/management/StandardMBean.java:
10357         New files.
10358
10359 2006-07-26  Sven de Marothy  <sven@physto.se>
10360
10361         * java/awt/geom/GeneralPath.java: Fix severe typo.
10362         
10363 2006-07-26  Sven de Marothy  <sven@physto.se>
10364
10365         * include/java_lang_VMSystem.h
10366         * vm/reference/java/lang/VMSystem.java
10367         * native/jni/java-lang/java_lang_VMSystem.c
10368         (nanoTime, currentTimeMillis): Switch the former to native code and
10369         the latter to java.
10370         
10371 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10372
10373         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10374         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10375         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10376         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10377         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10378         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10379         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10380         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10381         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10382         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10383         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10384         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10385         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10386         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10387         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10388         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10389         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10390         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10391         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10392         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10393         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10394
10395 2006-07-26  Roman Kennke  <kennke@aicas.com>
10396
10397         * java/awt/KeyboardFocusManager.java
10398         (getFocusOwner): Don't check permanent owner.
10399         (getGlobalFocusOwner): Don't check permanent owner.
10400
10401 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10402
10403         * StrictMath.java (cosh): New method.
10404         (expm1): New method.
10405         (EXPM1_Q1): New field.
10406         (EXPM1_Q2): Likewise.
10407         (EXPM1_Q3): Likewise.
10408         (EXPM1_Q4): Likewise.
10409         (EXPM1_Q6): Likewise.
10410
10411 2006-07-26  Roman Kennke  <kennke@aicas.com>
10412
10413         * javax/swing/plaf/basic/BasicButtonListener.java
10414         (mousePressed): Request focus if appropriate.
10415         * javax/swing/text/DefaultCaret.java
10416         (mousePressed): Also handle the focus of the text component
10417         as specified. Don't consume events.
10418
10419 2006-07-26  Roman Kennke  <kennke@aicas.com>
10420
10421         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10422         (focusRequest): Removed field.
10423         (postFocusEvent(int,boolean,Component)): Removed.
10424         (postFocusEvent(int,boolean)): Reverted to post event using
10425         the heavyweight component.
10426         (requestFocus): Post focus event using the heavyweight
10427         component.
10428         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10429         (requestFocus): Post focus event using the heavyweight
10430         component.
10431         * java/awt/AWTEvent.java
10432         (isFocusManagerEvent): New field, indicating if this is
10433         an event that is redispatched by the KeyboardFocusManager.
10434         * java/awt/Component.java
10435         (requestFocusImpl): Register component for
10436         heavyweight->lightweight mapping.
10437         (dispatchEventImpl): Retarget focus events before dispatching
10438         to the KeyboardFocusManager. Use new AWTEvent flag instead
10439         of locking hack. Dispatch all events through the
10440         KeyboardFocusManager. Don't request focus on lightweight
10441         components.
10442         * java/awt/DefaultKeyboardFocusManager.java
10443         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10444         FOCUS_LOST.
10445         (handleFocusGained): Fixed handling of temporary vs permanent
10446         focus changes. Added some checks.
10447         (handleFocusLost): Fixed handling of temporary vs permanent
10448         focus changes. Added some checks.
10449         * java/awt/EventDispatchThread.java
10450         (run): Don't dispatch to KeyboardFocusManager here. This
10451         is done in Component.dispatchEventImpl().
10452         * java/awt/KeyboardFocusManager.java
10453         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10454         (focusRequests): New field.
10455         (retargetFocusEvent): New method. Retargets focus events
10456         that come from heavyweights to the correct lightweight component.
10457         (addLightweightFocusRequest): New method. Stores a mapping
10458         for later retargetting of heavyweight focus events.
10459         * java/awt/Window.java
10460         (addFocusListener): Removed bogus method. If at all, this
10461         should be performed in the KeyboardFocusManager.
10462         (Window): Don't install a focus listener on the Window.
10463
10464 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10465
10466         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10467         (drawLine): Apply shift to line coordinates.
10468
10469 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10470
10471         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10472         (copyimage): Do not call setRenderingHints() when the respective map
10473         does not exist.
10474         (filter): Removed code to clone the ColorModel instance.
10475         * java/awt/image/ColorModel.java:
10476         (cloneColorModel): Removed.
10477
10478 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10479
10480         * javax/swing/JTabbedPane.java:
10481         (setSelectedIndex): Removed updating of component visibility status,
10482         added note.
10483         (remove(Component)): Use indexOfComponent() to find whether we have
10484         to use super.remove(int) or removeTabAt().
10485
10486 2006-07-26  Roman Kennke  <kennke@aicas.com>
10487
10488         * javax/swing/JOptionPane.java
10489         (createDialog): Add property change handler for closing
10490         the dialog when the value property changes.
10491         (ValuePropertyHandler): New inner helper class.
10492         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10493         (OptionPaneCloseAction): New class.
10494         (messageForeground): Removed field.
10495         (messageBorder): Removed field.
10496         (buttonBorder): Removed field.
10497         (addIcon): Configure the new label.
10498         (addMessageComponents): Configure newly created labels.
10499         (burstStringInto): Likewise.
10500         (createButtonArea): Install border here.
10501         (createMessageArea): Install border and foreground here.
10502         (createSeparator): Added comment and removed
10503         NotImplementedException.
10504         (installComponents): Don't install the UI defaults for the
10505         message and button area here. This is moved to the
10506         corresponding create* methods. Adjusted comment about
10507         separator.
10508         (installDefaults): Removed initialization of removed fields.
10509         (installKeyboardActions): Implemented.
10510         (getActionMap): New helper method.
10511         (createDefaultActions): New helper method.
10512         (uninstallDefaults): Removed de-initialization of removed fields.
10513         (uninstallKeyboardActions): Implemented.
10514         (configureLabel): New helper method.
10515         * javax/swing/plaf/basic/BasicTableUI.java
10516         (getActionMap): Fixed the UI property names.
10517         * javax/swing/plaf/basic/BasicToolBarUI.java
10518         (getActionMap): Fixed the UI property names.
10519
10520 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10521
10522         * java/awt/image/BandedSampleModel.java
10523         (getDataElements): Check for negative x or y,
10524         (getPixels): Likewise,
10525         (getSamples): Likewise,
10526         (setSamples): Likewise.
10527
10528 2006-07-26  Roman Kennke  <kennke@aicas.com>
10529
10530         * javax/swing/plaf/basic/BasicToolBarUI.java
10531         (ToolBarAction): New inner class for handling keyboard
10532         actions.
10533         (installKeyboardActions): Implemented.
10534         (getActionMap): New helper method.
10535         (createDefaultActions): New helper method.
10536         (installListeners): Install focus listener on toolbar's
10537         children, rather than the toolbar itself.
10538         (navigateFocusedComp): Implemented.
10539         (uninstallKeyboardActions): Implemented.
10540         (uninstallListeners): Uninstall focus listener from
10541         toolbar's children, rather than the toolbar itself.
10542         (ToolBarContListener.componentAdded): Install focus
10543         listener on added child.
10544         (ToolBarContListener.componentRemoved): Uninstall focus
10545         listener from removed child.
10546         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10547         (ToolBarFocusListener.focusGained): Implemented.
10548         (ToolBarFocusListener.focusLost): Implemented.
10549
10550 2006-07-26  Roman Kennke  <kennke@aicas.com>
10551
10552         * java/awt/DefaultKeyboardFocusManager.java
10553         (dispatchEvent): Notify old focus owner when it has lost
10554         focus.
10555
10556 2006-07-26  Roman Kennke  <kennke@aicas.com>
10557
10558         * javax/swing/plaf/basic/BasicTableUI.java
10559         (FocusHandler.focusGained): Implemented to refresh the
10560         lead cell.
10561         (FocusHandler.focusLost): Implemented to refresh the
10562         lead cell.
10563         (FocusHandler.repaintLeadCell): New helper method.
10564         (MouseInputHandler.mouseEntered): Do nothing here.
10565         (MouseInputHandler.mouseExited): Do nothing here.
10566         (MouseInputHandler.mouseMoved): Do nothing here.
10567         (installKeyboardActions): Rewritten to use a shared InputMap
10568         and ActionMap and correctly install the maps via SwingUtilities
10569         methods.
10570         (getActionMap): New helper method.
10571         (createDefaultActions): New helper method.
10572         (ActionListenerProxy): Removed unneeded class.
10573         (TableAction): Made class static.
10574         (TableAction.actionPerformed): Determine table by fetching
10575         the event source. Pass the table to helper methods.
10576         Use __command__ hack to determine the action command.
10577         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10578         (TableAction.getLastVisibleColumnIndex): Get table as argument.
10579         (TableAction.getFirstVisibleRowIndex): Get table as argument.
10580         (TableAction.getLastVisibleRowIndex): Get table as argument.
10581         (TableAction.advanceMultipleSelection): Get table as argument.
10582         (uninstallDefaults): Do nothing here.
10583         (uninstallKeyboardActions): Uninstall the keyboard actions.
10584
10585 2006-07-26  Roman Kennke  <kennke@aicas.com>
10586
10587         * javax/swing/JComponent.java
10588         (processKeyBinding): Store the action command as property
10589         in the Action instance that we call. This allows for
10590         improvement on the side of the Action.
10591
10592 2006-07-26  Roman Kennke  <kennke@aicas.com>
10593
10594         * javax/swing/plaf/metal/MetalUtils.java
10595         (fillMetalPattern): Use fillRect() instead of drawLine() to
10596         fill single pixels.
10597
10598 2006-07-26  Roman Kennke  <kennke@aicas.com>
10599
10600         * javax/swing/text/GapContent.java
10601         (getChars): Check for negative length and throw
10602         BadLocationException.
10603
10604 2006-07-26  Roman Kennke  <kennke@aicas.com>
10605
10606         * javax/swing/plaf/basic/BasicMenuBarUI.java
10607         (FocusAction): Made class static.
10608
10609 2006-07-26  Roman Kennke  <kennke@aicas.com>
10610
10611         * javax/swing/plaf/basic/BasicLookAndFeel.java
10612         (initComponentDefaults): Add keyboard bindings for
10613         PopupMenu.
10614
10615 2006-07-26  Roman Kennke  <kennke@aicas.com>
10616
10617         * javax/swing/UIManager.java
10618         (getLookAndFeelDefaults): Return the look and feel defaults.
10619         (setLookAndFeel): Improved exception messsage.
10620
10621 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10622
10623         * javax/swing/text/StringContent.java
10624         (StringContent): Changed initialLength to 10.
10625
10626 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10627
10628         * java/util/Vector.java: Fixed API doc typo.
10629
10630 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10631
10632         * java/awt/image/BandedSampleModel.java
10633         (createCompatibleSampleModel): Fixed typo in loop increment, set
10634         correct scanlineStride, and updated API docs.
10635
10636 2006-07-25  Roman Kennke  <kennke@aicas.com>
10637
10638         * javax/swing/plaf/basic/BasicPopupMenuUI.java
10639         (NavigateAction): New inner class. This is responsible for
10640         keyboard navigation through menus.
10641         (KeyboardHelper): New inner class. This manages the
10642         keyboard mappings and focus when a popup opens or closes.
10643         (keyboardHelper): New static field.
10644         (numPopups): New static field.
10645         (installUI): Create KeyboardHelper for first popup.
10646         Call installKeyboardActions().
10647         (installKeyboardActions): Removed NotImplementedException.
10648         This method is a no-op.
10649         (installKeyboardActionsImpl): New method. Installs keyboard
10650         mapping when a popup is opened.
10651         (getActionMap): New helper method.
10652         (createDefaultActions): New helper method.
10653         (uninstallUI): Uninstall KeyboardHelper when last Popup is
10654         uninstalled. Call uninstallKeyboardActions().
10655         (uninstallKeyboardActions): Removed NotImplementedException.
10656         This method is a no-op.
10657         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10658         mapping when a popup is closed.
10659         
10660 2006-07-25  Roman Kennke  <kennke@aicas.com>
10661
10662         * java/awt/Component.java
10663         (requestFocus()): Reimplemented to use requestFocusImpl().
10664         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10665         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10666         (requestFocusInWindow(boolean)): Reimplemented to use
10667         requestFocusImpl().
10668         (requestFocusImpl): Reimplemented focus request to use
10669         new peer method. Also added some obvious additional checks
10670         for rejecting focus requests early.
10671         * java/awt/ComponentPeer.java
10672         (requestFocus(Component,boolean,boolean,long)): Documented
10673         this method.
10674         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10675         (requestFocus): New field.
10676         (gtkWidgetHasFocus): New native method.
10677         (gtkWidgetCanFocus): New native method.
10678         (requestFocus): Replaced with assert false to prevent
10679         usage of obsolete method.
10680         (postFocusEvent(int,boolean,Component)): New overloaded method
10681         for posting the focus event to a specific target.
10682         (postFocusEvent(int,boolean)): Post event to requestFocus
10683         component.
10684         (requestFocus(Component,boolean,boolean,long)): Implemented.
10685         (getWindowFor): New helper method.
10686         (isLightweightDescendant): New helper method.
10687         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10688         (gtkWindowHasFocus): New native method.
10689         (requestFocus(Component,boolean,boolean,long)): New method.
10690         Overrides GtkComponentPeer method to specially handly the
10691         case when a Window receives a focus request for a lightweight
10692         child.
10693         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10694         (gtkWidgetHasFocus): New native method.
10695         (gtkWidgetCanFocus): New native method.
10696         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10697         (gtkWindowHasFocus): New native method.
10698         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10699         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10700         Regenerated.
10701
10702 2006-07-25  Francis Kung  <fkung@redhat.com>
10703
10704         * java/awt/DefaultKeyboardFocusManager.java
10705         (dispatchEvent): Add check for valid component.
10706
10707 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10708
10709         * javax/management/MBeanConstructorInfo.java:
10710         New file.
10711         * javax/management/MBeanNotificationInfo.java:
10712         Documentation fix.
10713         * javax/management/MBeanParameterInfo.java:
10714         New file.
10715
10716 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10717
10718         * java/awt/peer/gtk/CairoGraphics.java:
10719         (drawLine): Added special case for 1 pixel lines.
10720
10721 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10722
10723         Fixes PR27844.
10724         * java/awt/peer/gtk/CairoGraphics.java:
10725         (drawLine): Removed calls to shifted().
10726
10727 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10728
10729         * javax/swing/JTabbedPane.java:
10730         (remove(Component)): Rewritten.
10731         (setSelectedIndex): Implemented updating of component visibility state.
10732
10733 2006-07-25  Sven de Marothy  <sven@physto.se>
10734
10735         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10736         (init): Default to the actual depth in the worst case.
10737         
10738         * java/awt/Font.java
10739         (createFont(int, File)): New method.
10740         
10741 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10742
10743         Fixes bug #28413
10744         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10745         New field.
10746         (RETokenEnd): New constructer to set check_java_line_terminators.
10747         (matchThis): Checck line terminators if check_java_line_terminators.
10748         * gnu/java/util/regex/RETokenStart.java: Likewise.
10749         * gnu/regexp/RE.java(initialize): Use the new constructors for
10750         RETokenEnd and RETokenStart if REG_MULTILINE is set.
10751         * java/util/regex/Pattern.java(Patteren): Changed so that
10752         gnu/regexp/RE.java may use the new the new constructors.
10753
10754 2006-07-25  Roman Kennke  <kennke@aicas.com>
10755
10756         * java/awt/Container.java
10757         (focusTraversalPolicyProvider): New field.
10758         (isFocusTraversalPolicyProvider): New method.
10759         (setFocusTraversalPolicyProvider): New method.
10760         * java/awt/ContainerOrderFocusTraversalPolicy.java
10761         (getFirstComponent): Use accept() instead of lengthy checks.
10762         Don't fetch getComponents() to avoid copying of array.
10763         Traverse down the hierarchy to find the first focused component.
10764         * java/awt/DefaultKeyboardFocusManager.java
10765         (dispatchEvent): Let the initial component request focus.
10766
10767 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10768
10769         * javax/swing/text/Segment.java
10770         (last): Update current index before returning DONE for zero count.
10771         
10772 2006-07-24  Mark Wielaard  <mark@klomp.org>
10773
10774         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10775
10776 2006-07-25  Roman Kennke  <kennke@aicas.com>
10777
10778         * javax/swing/plaf/basic/BasicMenuBarUI.java
10779         (FocusAction): New inner class. Used to grab focus.
10780         (installKeyboardActions): Implemented.
10781         (uninstallKeyboardActions): Implemented.
10782         (getActionMap): New helper method.
10783         (createDefaultActions): New helper method.
10784
10785 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10786
10787         * examples/gnu/classpath/examples/swing/Demo.java:
10788         (mkMenuBar): Install instantiable basic look and feel.
10789         (InstantiableBasicLookAndFeel): New inner class.
10790
10791 2006-07-25  Roman Kennke  <kennke@aicas.com>
10792
10793         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10794         (GlassPaneDispatcher.dragTarget): New field.
10795         (GlassPaneDispatcher.isDragging): New field.
10796         (GlassPaneDispatcher.pressedComponent): Removed field.
10797         (GlassPaneDispatcher.tempComponent): Removed field.
10798         (GlassPaneDispatcher.pressCount): Removed field.
10799         (GlassPaneDispatcher.mousePressed): Call
10800         borderListener.mousePressed() to activate the frame.
10801         (acquireComponentForMouseEvent): Removed method.
10802         (handleEvent): Rewritten.
10803         (redispatch): New method.
10804         (InternalFramePropertyChangeListener.propertyChange):
10805         Make glasspane invisible when frame is selected, and visible
10806         if it gets deselected.
10807         
10808 2006-07-25  Roman Kennke  <kennke@aicas.com>
10809
10810         * java/awt/LightweightDispatcher.java
10811         (handleMouseEvent): Dispatch event to real target if
10812         the dragTarget has become invisible in the meantime.
10813
10814 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10815
10816         * javax/swing/text/TabSet.java
10817         (equals): New method override for 1.5,
10818         (hashCode): Likewise,
10819         (toString): Added spaces to match reference implementation.
10820
10821 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10822
10823         * javax/management/IntrospectionException.java,
10824         * javax/management/MBeanAttributeInfo.java:
10825         New files.
10826         * javax/management/MBeanNotificationInfo.java:
10827         Documentation cleanups.
10828         
10829 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10830
10831         * javax/swing/text/TabSet.java
10832         (TabSet): Check for null argument,
10833         (getTab): Throw IllegalArgumentException for index out of bounds,
10834         (getTabIndexAfter): Changed test to '<=',
10835         and updated API docs all over,
10836         * javax/swing/text/TabStop.java: Updated API docs.
10837
10838 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
10839
10840         * javax/swing/text/TabStop.java
10841         (toString): Don't use 'left ' prefix, and added space between tab
10842         location and '(w/leader)' suffix.
10843
10844 2006-07-24  Francis Kung  <fkung@redhat.com>
10845
10846         * javax/swing/JComboBox.java
10847         (DefaultKeySelectionManager): Implemented.
10848         (createDefaultKeySelectionManager): Implemented.
10849         (getKeySelectionManager): Implemented.
10850         (processKeyEvent): Removed duplicate code.
10851         * javax/swing/JPopupMenu.java
10852         (selectionModel): Changed visibility.
10853         * javax/swing/plaf/basic/BasicComboBoxUI.java
10854         (KeyHandler.keyPressed): Added navigation keys.
10855         (configureEditor): Add key listener.
10856         (installListeners): Install focus listener to combo box.
10857         (isNavigationKey): Added enter, escape, and tab.
10858         (selectPreviousPossibleValue): Added out of bounds check.
10859         (unconfigureEditor): Remove key listener.
10860         * javax/swing/plaf/metal/MetalComboBoxButton.java
10861         (paintComponent): Highlight combo box when in focus.
10862
10863 2006-07-24  Roman Kennke  <kennke@aicas.com>
10864
10865         * javax/swing/SwingUtilities.java
10866         (isLeftMouseButton): Fixed condition.
10867         * java/awt/LightweightDispatcher.java
10868         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
10869         is dragged.
10870
10871 2006-07-24  Roman Kennke  <kennke@aicas.com>
10872
10873         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10874         (setPaint): Fixed scaleX and scaleY.
10875
10876 2006-07-24  Roman Kennke  <kennke@aicas.com>
10877
10878         * javax/swing/JTable.java
10879         (handleInsert): Repaint the whole table for variable row
10880         height tables and an optimized region otherwise.
10881         (handleDelete): Likewise.
10882         (handleUpdate): Likewise.
10883
10884 2006-07-24  Mario Torre  <neugens@limasoftware.net>
10885
10886         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
10887         now explicity registerListeners on GtkMouseDragGestureRecognizer
10888         instance.
10889         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
10890         (unregisterListeners): new method, overrided from base class
10891         to rise visibility (from protected to public).
10892         (registerListeners): Likewise.
10893         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
10894         removed call to registerListeners from the constructor.
10895
10896 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10897
10898         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10899         * java/lang/management/MemoryPoolMXBean.java:
10900         (getType()): Changed return type to MemoryType.
10901         * java/lang/management/MemoryType.java:
10902         New file.
10903
10904 2006-07-23  Mark Wielaard  <mark@klomp.org>
10905
10906         * configure.ac: Check for moc and moc-qt4.
10907
10908 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
10909
10910         * java/awt/image/Kernel.java: API doc updates.
10911
10912 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
10913
10914         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
10915         bit more.
10916
10917 2006-07-22  Mark Wielaard  <mark@klomp.org>
10918
10919         * java/lang/Iterable.java: Import all of java.util.
10920         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
10921         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
10922
10923 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10924
10925         * doc/vmintegration.texinfo:
10926         Document getType(String).
10927         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10928         * java/lang/management/MemoryPoolMXBean.java:
10929         (getType()): Implemented.
10930         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
10931         (getType(String)): Implemented.
10932         
10933 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10934
10935         * doc/vmintegration.texinfo:
10936         Move end of itemization block.
10937
10938 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
10939
10940         * javax/swing/plaf/metal/MetalLookAndFeel.java:
10941         (initComponentDefaults): Added new properties, added comments.
10942         
10943 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10944
10945         * doc/vmintegration.texinfo:
10946         Mention callback methods.
10947         * gnu/java/lang/management/MemoryMXBeanImpl.java:
10948         (fireNotification(String,String,long,long,long,long,long)):
10949         Made package-private.
10950         (fireThresholdExceededNotification(String,long,long,long,
10951         long,long)): Likewise.
10952         (fireCollectionThresholdExceededNotification(String,long,
10953         long,long,long,long)): Likewise.
10954         * java/lang/management/MemoryMXBean.java:
10955         Document notifications.
10956
10957 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10958
10959         * gnu/java/lang/management/MemoryMXBeanImpl.java:
10960         (fireNotification(String,String,long,long,long,long,long)):
10961         Implemented.
10962         (fireThresholdExceededNotification(String,long,long,long,
10963         long,long)): Likewise.
10964         (fireCollectionThresholdExceededNotification(String,long,
10965         long,long,long,long)): Likewise.
10966         * java/lang/management/MemoryNotificationInfo.java:
10967         Use composite type from MemoryMXBeanImpl.
10968         * javax/management/openmbean/CompositeData.java:
10969         Correct documentation.
10970         * javax/management/openmbean/CompositeDataSupport.java,
10971         * javax/management/openmbean/InvalidKeyException.java:
10972         New files.
10973
10974 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
10975
10976         * gnu/java/security/util/IntegerUtil.java: New file.
10977
10978 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
10979
10980         PR Classpath/28100
10981         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
10982         (KEY_SIZE): Likewise.
10983         (adjustParity(int,byte[],int): New method.
10984         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
10985         (isParityAdjusted(int,byte[],int)): New method.
10986         (isParityAdjusted): Call above method with 3 as 1st argument.
10987         (keySizes): Add 8 and 16 as other valid key sizes.
10988         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
10989
10990 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
10991
10992         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
10993         code for the pixel swap routine to be more efficient.
10994
10995 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
10996
10997         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
10998         (lastIndexOf(E, int)): Likewise.
10999         (add(E)): Increase the size of newData array by one.
11000         (add(int, E)): Likewise.
11001
11002 2006-07-20  Lillian Angel  <langel@redhat.com>
11003
11004         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11005         Removed unused fields.
11006         (GtkMouseDragGestureRecognizer): Removed initializations.
11007
11008 2006-07-20  Lillian Angel  <langel@redhat.com>
11009
11010         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11011         (GtkMouseDragGestureRecognizer): New constructor.
11012         (GtkMouseDragGestureRecognizer): New constructor.
11013         (GtkMouseDragGestureRecognizer): New constructor.
11014         (mouseClicked): Removed FIXME.
11015         (mousePressed): Implemented.
11016         (mouseReleased): Implemented.
11017         (mouseEntered): Implemented.
11018         (mouseDragged): Implemented to check mouse point and trigger origin.
11019         (mouseMoved): Removed FIXME.
11020         (getDropActionFromEvent): New helper function used to convert mouse event
11021         modifiers to a drop action.
11022         * java/awt/dnd/DragSource.java
11023         (getDragThreshold): Changed to return some arbitrary value for testing
11024         purposes.
11025
11026 2006-07-20  Roman Kennke  <kennke@aicas.com>
11027
11028         * java/awt/LightweightDispatcher.java
11029         (findTarget): Also consider components that have their eventMask
11030         set, for compatibility with stonage AWT. Optimized check
11031         for MouseListener.
11032         (handleMouseEvent): Likewise.
11033
11034 2006-07-20  Roman Kennke  <kennke@aicas.com>
11035
11036         * javax/swing/JTable.java
11037         (tableChanged): Split out handling of the event into multiple
11038         subroutines.
11039         (handleCompleteChange): New method. Clear the selection and
11040         check the lead/anchor indices.
11041         (handleInsert): New method. Check the lead/anchor indices.
11042         Optimized repainting.
11043         (handleDelete): New method. Check the lead/anchor indices.
11044         Optimized repainting.
11045         (handleUpdate): New method. Optimized repainting.
11046         (checkSelection): New helper method.
11047         (setSelectionModel): Update lead/anchor indices.
11048
11049 2006-07-20  Lillian Angel  <langel@redhat.com>
11050
11051         PR 28440
11052         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11053         (dispose): Reset all fields.
11054
11055 2006-07-20  Roman Kennke  <kennke@aicas.com>
11056
11057         * gnu/java/awt/peer/x/XToolkit.java
11058         (createImage(InputStream)): Only copy image to Pixmap if
11059         it's actually opaque. Transparent images are left as
11060         BufferedImage and composited later onto the screen.
11061         * gnu/java/awt/peer/x/XGraphics.java
11062         (XGraphics): Fetch some parameters for image rendering.
11063         (drawImage): Added special handling of transparent images.
11064         (getRGB): New helper method.
11065         (setRGB): New helper method.
11066
11067 2006-07-20  Roman Kennke  <kennke@aicas.com>
11068
11069         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11070         ImageInputStreams as normal InputStreams.
11071         * gnu/javax/imageio/gif/GIFStream.java:
11072         Moved to gnu/javax/imageio/IIOInputStream.java.
11073         * gnu/javax/imageio/gif/GIFImageReader.java
11074         (readImage): Use IIOInputStream.
11075         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11076         (canDecodeInput): Use IIOInputStream.
11077         * gnu/javax/imageio/png/PNGException.java: Make subclass
11078         of IOException.
11079         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11080         Implements the ImageIO ImageReader for PNG.
11081         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11082         Implements the ImageIO ImageReaderSpi for PNG.
11083         * javax/imageio/spi/IIORegistry.java:
11084         (IIORegistry): Add PNGImageReaderSpi.
11085
11086 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11087
11088         * java/awt/image/ComponentSampleModel.java
11089         (getPixel): Added argument check,
11090         (getSample): Modified exception message.
11091
11092 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11093
11094         PR Classpath/28422
11095         * java/awt/image/ConvolveOp.java
11096         (filter(Raster, WritableRaster)): Reimplemented,
11097         (fillEdge): New private method.
11098
11099 2006-07-19  Keith Seitz  <keiths@redhat.com>
11100
11101         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11102         (JVMTI_VERSION): Define.
11103
11104 2006-07-19  Roman Kennke  <kennke@aicas.com>
11105
11106         * resource/gnu/regexp/MessagesBundle.properties,
11107         * resource/gnu/regexp/MessagesBundle_fr.properties,
11108         * resource/gnu/regexp/MessagesBundle_it.properties:
11109         Moved to resource/gnu/java/util/regex.
11110         * resource/gnu/java/util/regex/MessagesBundle.properties,
11111         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11112         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11113         New files.
11114         * gnu/java/util/regex/RE.java
11115         Use new resource bundle location.
11116
11117 2006-07-19  Roman Kennke  <kennke@aicas.com>
11118
11119         * javax/swing/JComponent.java
11120         (paintChildren): Refactored. The paintChildrenOptimized method
11121         has been moved back in here. Added locking of the tree and
11122         only check for completely obscured child components
11123         when not optimized drawing enabled. Use Graphics.create() to
11124         protect from irreversible changes.
11125         (isCompletelyObscured): New helper method.
11126         (paintComponent): Also use Graphics.create() for Graphics2D,
11127         to protect from irreverible changes.
11128         (clipAndTranslateGraphics): Refactored to use more efficient
11129         iterative (vs recursive) approach.
11130         * javax/swing/RepaintManager.java
11131         (getOffscreenBuffer): Create image from root component.
11132         
11133 2006-07-19  Roman Kennke  <kennke@aicas.com>
11134
11135         * gnu/java/awt/peer/x/XGraphics.java
11136         (translate): Don't set the clip on the X server.
11137         (clipRect): Use setXClip() to set the clip on the X server.
11138         (hitClip): More efficient and correct implementation.
11139         (setClip): Use setXClip() to set the clip on the X server.
11140         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11141         (copyArea): Translate and clip the source rectangle correctly.
11142         (dispose): Only flush when object is not yet disposed.
11143         (clone): Use setXClip() to set the clip on the X server.
11144
11145 2006-07-19  Sven de Marothy  <sven@physto.se>
11146
11147         * gnu/javax/imageio/png/PNGChunk.java,
11148         * gnu/javax/imageio/png/PNGData.java,
11149         * gnu/javax/imageio/png/PNGDecoder.java,
11150         * gnu/javax/imageio/png/PNGEncoder.java,
11151         * gnu/javax/imageio/png/PNGException.java,
11152         * gnu/javax/imageio/png/PNGFile.java,
11153         * gnu/javax/imageio/png/PNGFilter.java,
11154         * gnu/javax/imageio/png/PNGGamma.java,
11155         * gnu/javax/imageio/png/PNGHeader.java,
11156         * gnu/javax/imageio/png/PNGICCProfile.java,
11157         * gnu/javax/imageio/png/PNGPalette.java,
11158         * gnu/javax/imageio/png/PNGPhys.java,
11159         * gnu/javax/imageio/png/PNGTime.java:
11160         New files.
11161
11162 2006-07-19  Sven de Marothy  <sven@physto.se>
11163
11164         * java/net/Inet6Address.java:
11165         (getScopedId, getScopedInterface): New methods.
11166         
11167 2006-07-19  Lillian Angel  <langel@redhat.com>
11168
11169         * examples/gnu/classpath/examples/awt/Demo.java
11170         (DragDropWindow): Fixed typo in Label text.
11171         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11172         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11173         (startDrag): Initialized context field.
11174         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11175         function.
11176         (dragEnter): New function.
11177         (dragExit): Likewise.
11178         (dragDropEnd): Likewise.
11179         (dragMouseMoved): Likewise.
11180         (dragOver): Likewise.
11181         (dragActionChanged): Likewise.
11182
11183 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11184
11185         PR Classpath/26302
11186         * resource/java/security/classpath.security: Updated copyright year.
11187         (auth.login.defaultCallbackHandler): New property; set to our default
11188         callback handler. This is needed by the LoginContext when no callback
11189         handler was specified.
11190         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11191         (LoginContext(4)): Assign passed parameters to local fields before invoking
11192         lookup method.
11193
11194 2006-07-19  Roman Kennke  <kennke@aicas.com>
11195
11196         * gnu/java/awt/peer/x/XGraphics.java
11197         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11198         Fixed ordering of parameters.
11199
11200 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11201
11202         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11203         (MemoryMXBeanImpl()): Implemented.
11204         (ListenerData): New private class.
11205         (addNotificationListener(NotificationListener,
11206         NotificationFilter, Object)): Implemented.
11207         (getNotificationInfo()): Likewise.
11208         (removeNotificationListener(NotificationListener)):
11209         Likewise.
11210         (removeNotificationListener(NotificationListener,
11211         NotificationFilter, Object)): Likewise.
11212         
11213 2006-07-18  Roman Kennke  <kennke@aicas.com>
11214
11215         * gnu/java/awt/peer/x/XFontPeer.java
11216         (encodeFont): Be more flexible with font sizes.
11217         (validSize): New helper method.
11218         * gnu/java/awt/peer/x/XGraphics.java
11219         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11220         Implemented.
11221         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11222         Implemented.
11223         * gnu/java/awt/peer/x/XImage.java
11224         (properties): New field.
11225         (getProperty): Implemented.
11226         * resource/gnu/java/awt/peer/x/fonts.properties:
11227         Added copyright header. Fixed font size field.
11228
11229 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11230
11231         * java/awt/image/BandedSampleModel.java
11232         (createDataBuffer): New method override,
11233         * java/awt/image/ByteLookupTable.java
11234         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11235         (ByteLookuptable(int, byte[])): Check for null array,
11236         * java/awt/image/ComponentSampleModel.java
11237         (createDataBuffer): Removed unnecessary braces,
11238         (getSample): Check (x, y) is within bounds,
11239         * java/awt/image/ShortLookupTable.java
11240         (ShortLookupTable(int, short[][])): Create new array to hold references,
11241         (ShortLookupTable(int, short[])): Check for null array,
11242         (getTable): Added API docs,
11243         (lookupPixel): Source reformatting.
11244
11245 2006-07-18  Tania Bento  <tbento@redhat.com>
11246         
11247         * java/awt/GridLayout.java
11248         (setHgap): Illegal Argument Exception should not be thrown if 
11249         hgap < 0.
11250         (setVgap): Illegal Argument Exception should not be thrown if 
11251         vgap < 0.
11252         (toString): Opening square braket ([) should appear before hgap
11253         value, not the name of the class.
11254
11255 2006-07-18  Roman Kennke  <kennke@aicas.com>
11256
11257         * lib/copy-vmresources.sh.in: Reverted.
11258         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11259         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11260
11261 2006-07-18  Roman Kennke  <kennke@aicas.com>
11262
11263         * lib/copy-vmresources.sh.in: Include properties from X peers.
11264
11265 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11266
11267         PR Classpath/27205
11268         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11269         certificate validity.
11270         (getIssuerName): New method.
11271         (getSubjectName): Likewise.
11272         (getNotAfterDate): Likewise.
11273         (getNotBeforeDate): Likewise.
11274         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11275         messages for newly added messages in SFHelper.
11276
11277 2006-07-18  Roman Kennke  <kennke@aicas.com>
11278
11279         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11280         * gnu/java/awt/peer/x/XEventPump.java
11281         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11282         * gnu/java/awt/peer/x/XFramePeer.java
11283         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11284         * gnu/java/awt/peer/x/XGraphics.java
11285         Made subclass of Graphics rather than Graphics2D. Removed
11286         all Graphics2D specific method stubs.
11287         (setColor): Map colors using the X color map that is
11288         stored in XToolkit.
11289         * gnu/java/awt/peer/x/XToolkit.java
11290         (colorMap): New field.
11291         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11292         instance.
11293         (createDialog): Implemented.
11294         (createImage(ImageProducer)): Implemented.
11295         (createImage(InputStream)): Use createImage(ImageProducer)
11296         to convert the BufferedImage to an XImage.
11297         * gnu/java/awt/peer/x/XWindowPeer.java
11298         (XWindowPeer): Removed debug output.
11299
11300 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11301
11302         * java/awt/image/BufferedImageOp.java: API docs added,
11303         * java/awt/image/RasterOp.java: Likewise.
11304
11305 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11306
11307         * java/awt/Graphics2D.java: API docs updated.
11308
11309 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11310
11311         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11312         source code.
11313
11314 2006-07-18  Sven de Marothy  <sven@physto.se>
11315
11316         * java/net/Inet6Address.java:
11317         Add 1.5 serialized fields.
11318         (getByAddress): New methods.
11319         (readObject, writeObject): New methods. 
11320         (equals): Reimplement.
11321
11322 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11323
11324         * java/awt/image/Raster.java: Added API docs and reformatted source
11325         code.
11326
11327 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11328
11329         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11330         imports.
11331         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11332         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11333         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11334         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11335         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11336         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11337         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11338         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11339         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11340         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11341         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11342         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11343         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11344         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11345         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11346         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11347         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11348         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11349         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11350         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11351         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11352
11353 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11354
11355         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11356         to make it compile again under jikes. Note added.
11357
11358 2006-07-17  Lillian Angel  <langel@redhat.com>
11359
11360         * examples/gnu/classpath/examples/awt/Demo.java
11361         (Demo): Added new window for DnD demo.
11362         (DragDropWindow): New class.
11363         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11364         Added new fields and declarations for native functions.
11365         (GtkDragSourceContextPeer): Implemented.
11366         (getComponentPeer): New function.
11367         (startDrag): Partially implemented.
11368         (getCursor): Implemented.
11369         (setCursor): Implemented.
11370         * include/GtkDragSourceContextPeer.h: New file.
11371         * include/Makefile.am: Added new header file.
11372         * java/awt/Component.java
11373         (addNotify): Added call to the dropTarget's addNotify.
11374         * java/awt/dnd/DragSource.java
11375         (startDrag): Fixed code to use shared instances of peer and
11376         context.
11377         (getDragThreshold): Added stub.
11378         * java/awt/dnd/DropTarget.java
11379         (DropTarget): Implemented fully.
11380         (addNotify): Added code to get the peer of the parent that is
11381         not lightweight.
11382         * java/awt/dnd/DropTargetDragEvent.java
11383         (getTransferable): Added stub.
11384         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11385         * native/jni/gtk-peer/Makefile.am: Added new c file.
11386         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11387         Changed to extend GtkGenericPeer.
11388         (GtkDropTargetContextPeer): New constructor.
11389         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11390         Changed to extend GtkGenericPeer.
11391         (GtkDropTargetContextPeer): New constructor.
11392
11393 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11394
11395         * java/awt/image/SinglePixelPackedSampleModel.java
11396         (createSubsetSampleModel): Added argument check and API docs.
11397
11398 2006-07-17  Roman Kennke  <kennke@aicas.com>
11399
11400         * gnu/java/awt/peer/x/XGraphics.java
11401         (copyArea): Implemented.
11402
11403 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11404
11405         * java/awt/image/SinglePixelPackedSampleModel.java
11406         (getSampleSize): Return copy of array,
11407         (getOffset): Added API docs,
11408         (getScanlineStride): Likewise,
11409         (hashCode): Implemented.
11410
11411 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11412
11413         * java/awt/image/MultiPixelPackedSampleModel.java
11414         (getOffset): Updated API docs and source reformatting,
11415         (getBitOffset): Source reformatting only,
11416         (getDataElements): Likewise,
11417         (getPixel): Likewise,
11418         (getPixels): Removed method override,
11419         (setDataElements): Reimplemented.
11420
11421 2006-07-17  Gary Benson  <gbenson@redhat.com>
11422
11423         * resource/META-INF/services/.cvsignore: New file.
11424         * lib/.cvsignore: Updated.      
11425
11426 2006-07-17  Roman Kennke  <kennke@aicas.com>
11427
11428         * javax/swing/plaf/basic/BasicButtonListener.java
11429         (propertyChange): Only do the text layout caching as long
11430         as the noGraphics2D property isn't set.
11431         * javax/swing/plaf/basic/BasicMenuItemUI.java
11432         (PropertyChangeHandler.propertyChange): Only do the text layout
11433         caching as long as the noGraphics2D property isn't set.
11434
11435 2006-07-17  Roman Kennke  <kennke@aicas.com>
11436
11437         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11438         (XGraphicsEnvironment): Make constructor public so that it
11439         can be called via Class.forName().newInstance().
11440         * gnu/java/awt/peer/x/XImage.java
11441         (XImage): Fetch GraphicsEnvironment via
11442         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11443         than the XToolkit method, to avoid double instantiation
11444         of the XGraphicsEnvironment.
11445         * gnu/java/awt/peer/x/XToolkit.java
11446         (env): Removed field.
11447         (getLocalGraphicsEnvironment): Removed impl. This method
11448         should not be called since we set the graphicsenv property
11449         in the constructor.
11450
11451 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11452
11453         * java/util/UUID.java:
11454         (compareTo(Object)): Call compareTo(UUID).
11455         (compareTo(UUID)): Implemented.
11456         
11457 2006-07-16  Tom Tromey  <tromey@redhat.com>
11458
11459         * java/lang/StrictMath.java (cbrt): Added '@since'.
11460
11461 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11462
11463         * java/lang/StrictMath.java (cbrt): New method.
11464         (getLowDWord): New helper method.
11465         (getHighDWord): Likewise.
11466         (buildDouble): Likewise.
11467         (CBRT_B1): New field.
11468         (CBRT_B2): Likewise.
11469         (CBRT_C): Likewise.
11470         (CBRT_D): Likewise.
11471         (CBRT_E): Likewise.
11472         (CBRT_F): Likewise.
11473         (CBRT_G): Likewise.
11474
11475 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11476
11477         * javax/management/MBeanInfo.java:
11478         (getNotifications()): Implemented.
11479         * javax/management/NotificationBroadcaster.java:
11480         (removeNotificationListener(NotificationListener)):
11481         Renamed from removeListener.
11482         * javax/management/NotificationEmitter.java:
11483         (removeNotificationListener(NotificationListener,
11484         NotificationFilter, Object)): Likewise.
11485         * javax/management/NotificationFilter.java:
11486         Implement Serializable.
11487         * javax/management/NotificationListener.java:
11488         Implement java.util.EventListener.
11489         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11490         Implement Serializable.
11491
11492 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11493
11494         * java/lang/management/MemoryNotificationInfo.java:
11495         New file.
11496         
11497 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11498
11499         PR 28392
11500         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11501         (tagIsValidForContext): If it is not possible to insert any tag, but 
11502         is possible to insert a P, insert a P.
11503         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11504         (newInstance): Removed print statement. (getBodyElements):
11505         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11506         valid body level tags (will be enclosed into P's).
11507
11508 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11509
11510         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11511         Condition the creation of .keystore (a default keystore) based on the
11512         createIfNotFound argument as well.
11513
11514 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11515
11516         PR 28392
11517         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11518         Removed heading p tag from the parsing example.
11519         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11520         (createHtmlContentModel): Explained.
11521         (defineElements): Call getBodyElements to get the body
11522         elements. (getBodyElements): New method. (model):
11523         Made protected from private.
11524         * gnu/javax/swing/text/html/parser/htmlValidator.java
11525         (openTag): Mind that current content model may be null.
11526         (tagIsValidForContext): If the tag is PCDATA, and it is not
11527         valid for context, but the paragraph (P) is valid for context,
11528         suggest to insert the P tag here.
11529         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11530         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11531         implied P tags here.
11532         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11533         Get the custom parser, using HTML_401Swing.java DTD.
11534         * javax/swing/text/html/parser/ParserDelegator.java:
11535         Removed the obsolete note that HTMLEditorKit does not exist.
11536         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11537         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11538
11539 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11540
11541         * javax/management/ListenerNotFoundException.java:
11542         New file.
11543         * javax/management/MBeanFeatureInfo.java:
11544         (hashCode()): Use summation instead of multiplication
11545         for consistency with other classes.
11546         * javax/management/MBeanNotificationInfo.java,
11547         * javax/management/Notification.java,
11548         * javax/management/NotificationBroadcaster.java,
11549         * javax/management/NotificationEmitter.java,
11550         * javax/management/NotificationFilter.java,
11551         * javax/management/NotificationListener.java:
11552         New files.
11553         * javax/management/OperationsException.java:
11554         (serialVersionUID): Added.
11555         
11556 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
11557             Mark Wielaard  <mark@klomp.org>
11558
11559         * java/io/PrintStream.java: Added four constructors, for File and
11560         String describing a filename with or without explicit encoding.
11561
11562 2006-07-16  Sven de Marothy  <sven@physto.se>
11563
11564         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11565         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11566         New files.
11567
11568 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11569
11570         PR Classpath/28391
11571         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
11572         New method.
11573         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11574         (setProviderClassNameParam): Made private.
11575         (setKeystoreTypeParam): Likewise.
11576         (setKeyPasswordParam): Likewise
11577         (setKeystorePasswordParam): Likewise.
11578         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11579         create or not the keystore if it's not there, and the second is the store's
11580         password to process before loading the keystore. Amended the code
11581         accordingly.
11582         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11583         setKeyStoreParams(5) with true as its first argument.
11584         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11585         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11586
11587 2006-07-16  Sven de Marothy  <sven@physto.se>
11588
11589         * java/util/UUID.java: New file.
11590
11591 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11592
11593         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11594         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11595         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11596         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11597         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11598         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11599         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11600         added Key Wrapping Algorithm SPIs.
11601
11602 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11603
11604         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11605         wrapping/unwrapping to invoke their engineGetOutputSize.
11606
11607 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11608
11609         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11610         (engineInit): If a SecureRandom was specified then use it.
11611         (nextRandomBytes): New method.
11612         (engineWrap): Use above method.
11613         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11614         (getDefaultPRNG): New method.
11615         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11616         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11617         New constant.
11618
11619 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11620
11621         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11622         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11623
11624 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11625
11626         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11627         offset into consideration.
11628
11629 2006-07-16  Mario Torre  <neugens@limasoftware.net>
11630
11631         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11632         Fixed comment. This functions now requires to be called
11633         with gdk lock held, the comment states that.
11634         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11635         Introduces gdk locks around critical regions of code.
11636         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11637         Likewise.
11638         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11639         Likewise.
11640         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11641         Likewise.
11642         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11643         Likewise.
11644         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11645         Likewise.
11646         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11647         Likewise.
11648         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11649         Likewise.
11650         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11651         Likewise.
11652         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11653         Likewise.
11654         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11655         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11656
11657 2006-07-15  Sven de Marothy  <sven@physto.se>
11658
11659         * javax/swing/JFileChooser.java
11660         Change default selection mode to FILES_ONLY.
11661         * javax/swing/plaf/basic/BasicDirectoryModel.java
11662         Document, fix selection mode filtering.
11663         (renameFile): Implement
11664         * javax/swing/plaf/basic/BasicFileChooserUI.java
11665         (selectedDir): New field to handle selected directories,
11666         disallow selecting of directories in FILES_ONLY mode.
11667         * javax/swing/plaf/metal/MetalFileChooserUI.java:
11668         (EditingActionListener.actionPerformed):
11669         Stop editing on all actions (e.g. return-key press)
11670
11671 2006-07-15  Mark Wielaard  <mark@klomp.org>
11672
11673         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11674         to code.
11675         (JNI Implementation): Mark JVMTI Implementation as next.
11676         (JVMTI Implementation): Mark JNI Implementation as prev.
11677
11678 2006-07-15  Mark Wielaard  <mark@klomp.org>
11679
11680         * include/Makefile.am: Remove
11681         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11682         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11683         * native/jni/gtk-peer/Makefile.am: Remove
11684         gnu_java_awt_peer_gtk_GdkTextLayout.c
11685         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11686         Removed.
11687
11688         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11689
11690 2006-07-15  Mark Wielaard  <mark@klomp.org>
11691
11692         * autogen.sh: Recognize autoconf 2.60.
11693
11694 2006-07-15  Keith Seitz  <keiths@redhat.com>
11695
11696         * NEWS: Update for JVMTI and jvmti.h.
11697         * doc/vmintegration.texinfo: Likewise.
11698         * include/jvmti.h: New file.
11699
11700 2006-07-15  Mark Wielaard  <mark@klomp.org>
11701
11702         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11703         Removed C++ style comment.
11704
11705 2006-07-15  Sven de Marothy  <sven@physto.se>
11706
11707         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11708         * java/awt/MouseInfo.java,
11709         * java/awt/PointerInfo.java,
11710         * java/awt/peer/MouseInfoPeer.java:
11711         New files.
11712
11713         * java/awt/Image.java
11714         (accelerationPriority): New field.
11715         (setAccelerationPriority, getAccelerationPriority): New methods..
11716
11717         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11718         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11719         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11720         (getMouseCoordinates): New method.
11721
11722         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11723         (updateAlwaysOnTop): Remove stub overload.
11724
11725         * gnu/java/awt/ClasspathToolkit.java,
11726         * gnu/java/awt/peer/gtk/GtkToolkit.java,
11727         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11728         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11729         (getMouseInfoPeer): New method.
11730         (getMouseNumberOfButtons): New method.
11731         
11732         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11733         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11734         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11735         (gtkWindowSetAlwaysOnTop): New method.
11736         (updateAlwaysOnTop): Implement.
11737
11738         * java/awt/Toolkit.java,
11739         (getMouseInfoPeer): New method.
11740
11741         * java/awt/Window.java
11742         (alwaysOnTop): New field.
11743         (isAlwaysOnTop, setAlwaysOnTop): New methods.
11744
11745         * java/awt/peer/WindowPeer.java: Doc fix.
11746
11747 2006-07-14  Sven de Marothy  <sven@physto.se>
11748
11749         * java/awt/font/TextLayout.java:
11750         (hitTestChar): Stub method.
11751         * java/awt/font/TextMeasurer.java:
11752         (getLayout): Throw exception on invalid argument.
11753         
11754 2006-07-14  Sven de Marothy  <sven@physto.se>
11755
11756         * java/awt/image/DataBuffer.java
11757         (DataBuffer): Call constructors in the correct order,
11758         
11759 2006-07-14  Mark Wielaard  <mark@klomp.org>
11760
11761         Revert to previous implementation.
11762         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11763         constraints insets.
11764
11765 2006-07-14  Roman Kennke  <kennke@aicas.com>
11766
11767         * gnu/java/awt/peer/x/XToolkit.java
11768         (XToolkit): Install properties to SystemProperties
11769         rather than System, to avoid SecurityManager.
11770         (getImage(String)): Return error image when string is invalid.
11771         (createImage(URL)): Moved image loading to helper method.
11772         (createImage(ImageProducer)): Implemented.
11773         (createImage(byte[],int,int)): Implemented.
11774         (createImage(InputStream)): New helper method.
11775
11776 2006-07-14  Tania Bento  <tbento@redhat.com>
11777
11778         * java/awt/FlowLayout.java
11779         (setHgap): No Excpetion should be thrown if hgap has
11780         a negative value.
11781         (setVgap): No Exception should be thrown if vgap has
11782         a negative value.
11783
11784 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11785
11786         * java/awt/image/MultiPixelPackedSampleModel.java: 
11787         Added API docs all over.
11788
11789 2006-07-14  Matt Wringe  <mwringe@redhat.com>
11790
11791         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
11792         (engineInit): Throw InvalidAlgorithmParameterException
11793         for invalid IVParameterSpec IV length.
11794
11795 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11796
11797         * java/awt/image/MultiPixelPackedSampleModel.java
11798         (createDataBuffer): Include dataBitOffset in calculating the size for
11799         the data buffer.
11800
11801 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11802
11803         * java/awt/image/MultiPixelPackedSampleModel.java
11804         (getSampleSize()): Return a copy of the array,
11805         (getTransferType()): New method override.
11806
11807 2006-07-14  Roman Kennke  <kennke@aicas.com>
11808
11809         * java/awt/CardLayout.java
11810         (show): Validate parent to make sure that the layout is
11811         valid.
11812
11813 2006-07-14  Roman Kennke  <kennke@aicas.com>
11814
11815         * java/awt/Component.java
11816         (enable): Added tree locking.
11817         (disable): Added tree locking.
11818         (show): Added tree locking.
11819         (hide): Added tree locking.
11820         (getLocationOnScreen): Added tree locking.
11821         (reshape): Added tree locking.
11822         (addHierarchyListener): Added tree locking.
11823         (removeHierarchyListener): Added tree locking.
11824         (addHierarchyBoundsListener): Added tree locking.
11825         (removeHierarchyBoundsListener): Added tree locking.
11826         (addNotify): Added tree locking.
11827         (removeNotify): Added tree locking.
11828         * java/awt/Container.java
11829         (invalidateTree): Added tree locking.
11830         (getAlignmentX): Added tree locking.
11831         (getAlignmentY): Added tree locking.
11832         (addNotify): Added tree locking.
11833         (setComponentZOrder): Added tree locking.
11834         (getComponentZOrder): Added tree locking.
11835
11836 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11837
11838         * java/awt/image/MultiPixelPackedSampleModel.java
11839         (createSubsetSampleModel): Restored argument check, but let null
11840         through.
11841
11842 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11843
11844         * java/awt/image/MultiPixelPackedSampleModel.java
11845         (createSubsetSampleModel): Removed argument check.
11846
11847 2006-07-14  Roman Kennke  <kennke@aicas.com>
11848
11849         * java/awt/Component.java
11850         (numHierarchyListeners): New field.
11851         (numHierarchyBoundsListeners): New field.
11852         (show): Fire hierarchy events here. Only fire component event
11853         if there is actually a listener for it.
11854         (hide): Fire hierarchy events here. Only fire component event
11855         if there is actually a listener for it.
11856         (reshape): Fire hierarchy events here. Only fire component event
11857         if there is actually a listener for it.
11858         (addHierarchyListeners): Update listener counters.
11859         (removeHierarchyListeners): Update listener counters.
11860         (addHierarchyBoundsListeners): Update listener counters.
11861         (removeHierarchyBoundsListeners): Update listener counters.
11862         (fireHierarchyEvent): New helper method for firing hierarchy
11863         events.
11864         * java/awt/Container.java
11865         (addImpl): Update listener counters. Fire hierarchy event.
11866         (remove): Update listener counters. Fire hierarchy event.
11867         (fireHierarchyEvent): New helper method for firing hierarchy
11868         events.
11869         (updateHierarchyListenerCount): New helper method for
11870         updating the listener counters.
11871
11872 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11873
11874         * java/awt/image/MultiPixelPackedSampleModel.java
11875         (equals): New method override,
11876         (hashCode): Likewise.
11877
11878 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11879
11880         * java/awt/image/MultiPixelPackedSampleModel.java
11881         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
11882         Corrected scanlineStride calculation.
11883
11884 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11885
11886         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
11887         (AES_KWA): Likewise.
11888         (AES128_KWA): Likewise.
11889         (AES192_KWA): Likewise.
11890         (AES256_KWA): Likewise.
11891         (RIJNDAEL_KWA): Likewise.
11892         (TRIPLEDES_KWA): Likewise.
11893         (DESEDE_KWA): Likewise.
11894         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
11895         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
11896         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
11897         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
11898         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
11899         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
11900
11901 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
11902
11903         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
11904         (PADDING_BLOCK_SIZE): New constant.
11905         (init(Map attributes)): New method.
11906         * gnu/javax/crypto/pad/BasePad.java (init): New method.
11907
11908 2006-07-14  Mario Torre  <neugens@limasoftware.net>
11909
11910         * gnu/java/security/OID.java (OID): Private Constructor removed as
11911         it is not needed anymore.
11912         (clone): Fixed. Now uses super.clone instead of the private
11913         constructor as per specification of clone method.
11914         (serialVersionUID): added new field to allow serialization.
11915
11916 2006-07-13  Sven de Marothy  <sven@physto.se>
11917
11918         * gnu/javax/imageio/gif/GIFImageReader.java
11919         (read): Remove old debugging trace.
11920
11921 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
11922
11923         PR awt/28369:
11924         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
11925         blue mask.
11926
11927 2006-07-13  Roman Kennke  <kennke@aicas.com>
11928
11929         * java/awt/Component.java
11930         (DEFAULT_MAX_SIZE): New static constant.
11931         (preferredSize): Return copy of the actual value computed
11932         by new helper method.
11933         (preferredSizeImpl): New helper method. Adds locking and
11934         correct handling of cached value.
11935         (minimumSize): Return copy of the actual value computed
11936         by new helper method.
11937         (minimumSizeImpl): New helper method. Adds locking and
11938         correct handling of cached value.
11939         (getMaximumSize):  Return copy of the actual value computed
11940         by new helper method.
11941         (maximumSizeImpl): New helper method. Adds locking and
11942         correct handling of cached value.
11943         (invalidate): Correct handling of cached layout information.
11944         Added locking.
11945         * java/awt/Container.java
11946         (preferredSize): Minimized locking. Corrected handling of cached
11947         values. Return copy of real value.
11948         (minimumSize): Minimized locking. Corrected handling of cached
11949         values. Return copy of real value.
11950         (getMaximumSize): Minimized locking. Corrected handling of cached
11951         values. Return copy of real value.
11952         
11953 2006-07-13  Tania Bento  <tbento@redhat.com>
11954
11955         * gnu/java/awt/peer/ClasspathFontPeer.java
11956         (isLogicalFontName): Return true if name == default.
11957         (logicalFontNameToFaceName): Check if name == default,
11958         and if so, return "Dialog.plain".
11959         (setStandardAttributes(String, Map)): If name == null, 
11960         it should be set to "Default", not "SansSerif".
11961         * java/awt/Canvas.java
11962         (generateName): Fixed documentation.
11963         * java/awt/CheckboxMenuItem.java
11964         Added static variable "next_chkmenuitem_number".
11965         (generateName): Added and implemented method.
11966         (getUniqueLong): Likewise.
11967         * java/awt/Choice.java
11968         Added static variable "next_choice_number".
11969         (generateName): Added and implemented method.
11970         (getUniqueLong): Likewise.
11971         * java/awt/Cursor.java
11972         (Cursor(int)): Set name depending on the type passed.
11973         * java/awt/List.java
11974         Added static variable "next_list_number".
11975         (generateName): Added and implemented method.
11976         (getUniqueLong): Likewise.
11977         * java/awt/Menu.java
11978         Added static variable "next_menu_number".
11979         (generateName): Added and implemented method.
11980         (getUniqueLong): Likewise.
11981         * java/awt/MenuBar.java
11982         Added static variable "next_menubar_number".
11983         (generateName): Added and implemented method.   
11984         (getUniqueLong): Likewise.
11985         * java/awt/MenuComponent.java
11986         (getName): Before returning name, check if name == null
11987         and name is not explicity set.  If this is the case,    
11988         name will be generated.
11989         (generateName): Added and implemented method.   
11990         * java/awt/MenuItem.java
11991         Added static variable "next_menuitem_number".
11992         (generateName): Added and implemented method.   
11993         (getUniqueLong): Likewise.
11994         * java/awt/PopupMenu.java
11995         Added static variable "next_popup_number".
11996         (generateName): Added and implemented method.
11997         (getUniqueLong): Likewise.
11998         * java/awt/ScrollPane.java
11999         Added static variable "next_scrollpane_number".
12000         (generateName): Added and implemented method.
12001         (getUniqueLong): Likewise.
12002         * java/awt/TextField.java
12003         Added static variable "next_textfield_number".
12004         (generateName): Added and implemented method.
12005         (getUniqueLong): Likewise.
12006
12007
12008 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12009
12010         * java/awt/image/SinglePixelPackedSampleModel.java
12011         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12012         mask correctly as an unsigned integer,
12013         (equals): New method override.
12014
12015 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12016
12017         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12018         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12019
12020 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12021
12022         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12023         code reformatting,
12024         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12025
12026 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12027
12028         * java/awt/image/BandedSampleModel.java: API doc updates.
12029
12030 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12031
12032         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12033         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12034         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12035         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12036         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12037         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12038         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12039         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12040         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12041         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12042         Implemented. (getInsertingReader): New method. 
12043         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12044         Added buttons to demonstrate the work of the insert actions.
12045
12046 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12047
12048         * java/awt/image/SampleModel.java: API doc updates and additions,
12049         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12050
12051 2006-07-12  Sven de Marothy  <sven@physto.se>
12052
12053         * javax/swing/JFileChooser.java:
12054         (createDialog): Close operation should cause a cancel.
12055
12056 2006-07-12  Francis Kung  <fkung@redhat.com>
12057
12058         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12059         (cairoArc): New native method.
12060         (cairoRestore): New native method.
12061         (cairoSave): New native method.
12062         (cairoScale): New native method.
12063         (createPath): New method to centralize code from draw and fill.
12064         (draw): Modified to use createPath method.
12065         (fill): Modified to use createPath method.
12066         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12067         function declarations.
12068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12069         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12070         method.
12071         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12072         method.
12073         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12074         method.
12075         
12076 2006-07-12  Tom Tromey  <tromey@redhat.com>
12077
12078         PR libgcj/27271:
12079         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12080         on PartialInputStream.
12081         (PartialInputStream.dummyByteCount): New field.
12082         (PartialInputStream.fillBuffer): Handle dummy byte.
12083         (PartialInputStream.read): Likewise.
12084         (PartialInputStream.addDummyByte): New method.
12085
12086 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12087
12088         * native/jni/gconf-peer/GConfNativePeer.c
12089         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12090         Fixed C++ style comment.
12091
12092 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12093
12094         * java/util/Arrays.java
12095         (asList): Updated API docs.
12096
12097 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12098
12099         Fixes PR28350.
12100         * native/jni/gconf-peer/GConfNativePeer.c:
12101         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12102         Changed if-expression.
12103         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12104         Added check for _value not being NULL.
12105         
12106 2006-07-11  Roman Kennke  <kennke@aicas.com>
12107
12108         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12109         (read): Use fd when local sockets are disabled to make the
12110         compiler quite.
12111         (write): Likewise.
12112
12113 2006-07-11  Roman Kennke  <kennke@aicas.com>
12114
12115         * java/awt/image/MultiPixelPackedSampleModel.java
12116         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12117         division gets rounded up.
12118
12119 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12120
12121         * java/lang/management/ManageFactory.java:
12122         (getMemoryManagerMXBeans()): Use addAll, not add.
12123         
12124 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12125
12126         PR 27649:
12127         * gnu/classpath/ByteArray.java: Removed (moved).
12128         * gnu/java/security/util/ByteArray.java: New File.
12129         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12130         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12131
12132 2006-07-11  Roman Kennke  <kennke@aicas.com>
12133
12134         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12135         (available): Pass fd as argument and avoid JNI class/field
12136         lookup.
12137         (read): Likewise.
12138         (write): Likewise.
12139         * include/gnu_java_net_local_LocalSocketImpl.h:
12140         Regenerated.
12141         * gnu/java/net/local/LocalSocketImpl.h
12142         (available): Pass fd as argument and avoid JNI class/field
12143         lookup.
12144         (read): Likewise.
12145         (write): Likewise.      
12146
12147 2006-07-11  Sven de Marothy  <sven@physto.se>
12148
12149         * gnu/javax/sound/sampled/AU/AUReader.java:
12150         Correct file extension from .as to .au.
12151
12152 2006-07-11  Sven de Marothy  <sven@physto.se>
12153
12154         * gnu/javax/sound/sampled/AU/AUReader.java:
12155         New file.
12156         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12157         Added new provider.
12158
12159 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12160
12161         * javax/swing/JTable.java
12162         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12163         (setColumnSelectionAllowed): Likewise.
12164
12165 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12166
12167         PR 27649:
12168         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12169         AccessController.doPrivileged instead of SystemProperties.getProperty.
12170         * gnu/classpath/debug/SystemLogger.java: Likewise.
12171         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12172         repeated getProperty calls for "file.seperator".
12173         (refresh): Since already in privileged block, call System.getProperty
12174         instead of SystemProperties.getProperty.
12175         * gnu/java/security/key/dss/DSSKey.java
12176         (toString): Use AccessController.doPrivileged instead of
12177         SystemProperties.getProperty.
12178         * gnu/java/security/key/dss/DSSPrivateKey.java
12179         (toString): Likewise.
12180         * gnu/java/security/key/dss/DSSPublicKey.java
12181         (toString): Likewise.
12182         * gnu/java/security/key/rsa/GnuRSAKey.java
12183         (toString): Likewise.
12184         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12185         (toString): Likewise.
12186         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12187         (toString): Likewise.
12188         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12189         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12190         (toString): Likewise.
12191         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12192         (toString): Likewise.
12193         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12194         (toString): Likewise.
12195
12196 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12197
12198         * javax/swing/AbstractButton.java
12199         (disabledIcon): Fixed name (was 'disabeldIcon'),
12200         (getDisabledIcon): Updated for corrected field name,
12201         (setDisabledIcon): Fire a PropertyChangeEvent.
12202
12203 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12204
12205         * javax/swing/DefaultBoundedRangeModel.java
12206         (readObject): New private method,
12207         (writeObject): Likewise.
12208
12209 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12210
12211         * javax/swing/ButtonGroup.java
12212         (add): Ignore null argument,
12213         (remove): Ignore null argument.  If removing selected button, clear the
12214         sel field,
12215         (findButton): Changed case for method name, and documented,
12216         (setSelected): Updated for modification to findButton() method name,
12217         (isSelected): Updated API docs.
12218
12219 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12220
12221         * java/awt/image/BufferedImage.java
12222         (BufferedImage(int, int, int)): Use correct color space for 
12223         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12224         IllegalArgumentException for an unrecognised type.
12225
12226 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12227
12228         * java/lang/management/ManagementFactory.java:
12229         (getMemoryPoolMXBeans): Genericized fully.
12230         (getMemoryManagerMXBeans): Likewise.
12231         (getGarbageCollectorMXBeans): Likewise.
12232         
12233 2006-07-10  Tom Tromey  <tromey@redhat.com>
12234
12235         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12236         Genericized.
12237         (getMemoryManagerMXBeans): Likewise.
12238         (getGarbageCollectorMXBeans): Likewise.
12239
12240 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12241
12242         * java/awt/BasicStroke.java: Removed unused import.
12243         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12244         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12245         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12246
12247 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12248
12249         PR classpath/28212:
12250         * javax/crypto/spec/SecretKeySpec.java 
12251         (equals): Check object type. 
12252
12253 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12254
12255         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12256         communication/StructureToPassHelper.java,
12257         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12258         communication/StructureToReturnHelper.java,
12259         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12260         communication/TreeNodeHelper.java,
12261         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12262         communication/WeThrowThisExceptionHelper.java,
12263         gnu/CORBA/ForwardRequestHelper.java,
12264         org/omg/CORBA/CompletionStatusHelper.java,
12265         org/omg/CORBA/CurrentHelper.java,
12266         org/omg/CORBA/DefinitionKindHelper.java,
12267         org/omg/CORBA/IDLTypeHelper.java,
12268         org/omg/CORBA/NameValuePairHelper.java,
12269         org/omg/CORBA/ObjectHelper.java,
12270         org/omg/CORBA/ParameterModeHelper.java,
12271         org/omg/CORBA/PolicyErrorCodeHelper.java,
12272         org/omg/CORBA/PolicyErrorHelper.java,
12273         org/omg/CORBA/PolicyHelper.java,
12274         org/omg/CORBA/PolicyListHelper.java,
12275         org/omg/CORBA/PolicyTypeHelper.java,
12276         org/omg/CORBA/ServiceDetailHelper.java,
12277         org/omg/CORBA/ServiceInformationHelper.java,
12278         org/omg/CORBA/SetOverrideTypeHelper.java,
12279         org/omg/CORBA/StringValueHelper.java,
12280         org/omg/CORBA/UnionMemberHelper.java,
12281         org/omg/CORBA/UnknownUserExceptionHelper.java,
12282         org/omg/CORBA/VisibilityHelper.java,
12283         org/omg/CORBA/WStringValueHelper.java,
12284         org/omg/CORBA/WrongTransactionHelper.java,
12285         org/omg/CosNaming/BindingHelper.java,
12286         org/omg/CosNaming/BindingIteratorHelper.java,
12287         org/omg/CosNaming/BindingListHelper.java,
12288         org/omg/CosNaming/BindingTypeHelper.java,
12289         org/omg/CosNaming/NameComponentHelper.java,
12290         org/omg/CosNaming/NameHelper.java,
12291         org/omg/CosNaming/NamingContextExtHelper.java,
12292         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12293         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12294         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12295         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12296         org/omg/CosNaming/NamingContextHelper.java,
12297         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12298         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12299         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12300         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12301         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12302         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12303         org/omg/DynamicAny/AnySeqHelper.java,
12304         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12305         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12306         org/omg/DynamicAny/DynAnyHelper.java,
12307         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12308         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12309         org/omg/DynamicAny/DynAnySeqHelper.java,
12310         org/omg/DynamicAny/DynArrayHelper.java,
12311         org/omg/DynamicAny/DynEnumHelper.java,
12312         org/omg/DynamicAny/DynFixedHelper.java,
12313         org/omg/DynamicAny/DynSequenceHelper.java,
12314         org/omg/DynamicAny/DynStructHelper.java,
12315         org/omg/DynamicAny/DynUnionHelper.java,
12316         org/omg/DynamicAny/DynValueHelper.java,
12317         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12318         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12319         org/omg/DynamicAny/NameValuePairHelper.java,
12320         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12321         org/omg/IOP/CodecFactoryHelper.java,
12322         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12323         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12324         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12325         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12326         org/omg/IOP/ComponentIdHelper.java,
12327         org/omg/IOP/IORHelper.java,
12328         org/omg/IOP/MultipleComponentProfileHelper.java,
12329         org/omg/IOP/ProfileIdHelper.java,
12330         org/omg/IOP/ServiceContextHelper.java,
12331         org/omg/IOP/ServiceContextListHelper.java,
12332         org/omg/IOP/ServiceIdHelper.java,
12333         org/omg/IOP/TaggedComponentHelper.java,
12334         org/omg/IOP/TaggedProfileHelper.java,
12335         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12336         org/omg/PortableInterceptor/AdapterNameHelper.java,
12337         org/omg/PortableInterceptor/AdapterStateHelper.java,
12338         org/omg/PortableInterceptor/CurrentHelper.java,
12339         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12340         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12341         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12342         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12343         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12344         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12345         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12346         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12347         org/omg/PortableServer/CurrentHelper.java,
12348         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12349         org/omg/PortableServer/ForwardRequestHelper.java,
12350         org/omg/PortableServer/POAHelper.java,
12351         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12352         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12353         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12354         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12355         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12356         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12357         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12358         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12359         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12360         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12361         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12362         org/omg/PortableServer/ServantActivatorHelper.java,
12363         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12364         typecode caching and always use OrbRestricted.Singleton.
12365
12366 2006-07-09  Tom Tromey  <tromey@redhat.com>
12367
12368         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12369
12370 2006-07-09  Mark Wielaard  <mark@klomp.org>
12371
12372         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12373         New static final boolean field.
12374         (getComponentGraphics): Use hasXRenderExtension.
12375         (setClip): Override method for locking.
12376
12377 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12378
12379         * javax/swing/AbstractButton.java
12380         (setHorizontalTextPosition): Added check for illegal argument,
12381         (setVerticalTextPosition): Likewise.
12382
12383 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12384
12385         * javax/swing/Timer.java
12386         (setDelay): Throw IllegalArgumentException for negative delay,
12387         (setInitialDelay): Likewise,
12388         * javax/swing/ToolTipManager.java
12389         (setInitialDelay): Document IllegalArgumentException,
12390         (setDismissDelay): Likewise,
12391         (setReshowDelay): Likewise.
12392
12393 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12394
12395         * java/lang/management/MemoryUsage.java:
12396         (from(javax.management.openmbean.CompositeData)):
12397         Implemented.
12398         * java/lang/management/ThreadInfo.java:
12399         Changed to use open types throughout for the state.
12400         (ThreadInfo(long,String,String,long,long,String,
12401         long,String,long,long,boolean,StackTraceElement[])):
12402         New constructor.
12403         (checkAttribute(javax.management.openmbean.CompositeType,
12404         String, javax.management.openmbean.OpenType)): New method.
12405         (from(javax.management.openmbean.CompositeData)):
12406         Implemented.
12407         (getLockName()): Fixed to use new variable.
12408         (getLockOwnerId()): Likewise.
12409         (getLockOwnerName()): Likewise.
12410         (getThreadId()): Likewise.
12411         (getThreadName()): Likewise.
12412         (getThreadState()): Likewise.
12413         (toString()): Refactored to use new variables.
12414         * javax/management/openmbean/ArrayType.java:
12415         New file.
12416         * javax/management/openmbean/CompositeType.java:
12417         Variables should be transient, not volatile.
12418         * javax/management/openmbean/OpenDataException.java:
12419         (serialVersionUID): Added.
12420         * javax/management/openmbean/SimpleType.java:
12421         New file.
12422         * javax/management/openmbean/TabularType.java
12423         Variables should be transient, not volatile.
12424
12425 2006-07-09  Tom Tromey  <tromey@redhat.com>
12426
12427         * tools/.cvsignore: Updated for new tools.
12428
12429 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12430
12431         * javax/management/openmbean/CompositeData.java,
12432         * javax/management/openmbean/CompositeType.java,
12433         * javax/management/openmbean/OpenDataException.java,
12434         * javax/management/openmbean/OpenType.java,
12435         * javax/management/openmbean/TabularData.java,
12436         * javax/management/openmbean/TabularType.java,
12437         * javax/management/openmbean/package.html:
12438         New files.
12439
12440 2006-07-09  Mark Wielaard  <mark@klomp.org>
12441
12442         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12443         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12444         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12445
12446 2006-07-08  Anthony Green  <green@redhat.com>
12447
12448         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12449         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12450         New files.
12451
12452 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12453
12454         * native/jni/gconf-peer/GConfNativePeer.c:
12455         Fixed indentation to be more compliant to the GNU coding
12456         guidelines.
12457         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12458         Added explicit test for errors in the GConf backend.
12459         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12460         Added explicit test for errors in the GConf backend.
12461         Fixed Segmentation Fault when non valid key names are given as input.
12462         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12463         likewise.
12464         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12465         Added explicit test for errors in the GConf backend.
12466         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12467         Added javadoc comments for all native methods.
12468         (nodeExist): removed test to check for valid absolute path name
12469         for nodes.
12470         (startWatchingNode): likewise.
12471         (stopWatchingNode): likewise.
12472         (setString): likewise, plus fixed javadoc comments.
12473         (unset): likekwise.
12474         (getKey): likewise.
12475         (getKeys): likewise, also fixed javadoc comments.
12476         (getChildrenNodes): likewise.
12477         * gnu/java/util/prefs/GConfBasedPreferences.java:
12478         changed DEFAULT_USER_ROOT to /apps/classpath.
12479         (constructor): Test to check for a valid absolute path for nodes
12480         is now in the contructor for that node, instead of being on
12481         each method of the backend.
12482         (getGConfKey): removed empty new line.
12483
12484 2006-07-08  Mark Wielaard  <mark@klomp.org>
12485
12486         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12487
12488 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12489
12490         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12491         Handle the forced break in the same way as exceeding the
12492         available row space.
12493         * javax/swing/text/html/HRuleView.java: Rewritten.
12494         * javax/swing/text/html/HTMLDocument.java 
12495         (HTMLReader.addSpecialElement):Reserve two characters for
12496         the special elements.
12497         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12498         (text): Extended the HTML example to parse.
12499
12500 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12501
12502         * javax/swing/AbstractButton.java
12503         (setHorizontalAlignment): Check for illegal argument,
12504         (setVerticalAlignment): Likewise.
12505
12506 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12507
12508         * javax/swing/text/html/TableView.java
12509         (getStyleSheet): New method. (RowView.getStyleSheet):
12510         New method.
12511
12512 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12513
12514         * javax/swing/AbstractButton.java
12515         (setRolloverIcon): Call setRolloverEnabled(true),
12516         (setRolloverSelectedIcon): Likewise.
12517
12518 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12519
12520         * javax/swing/border/TitledBorder.java
12521         (setTitlePosition): Added message to exception,
12522         (setTitleJustification): Likewise.
12523
12524 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12525
12526         * javax/swing/plaf/metal/MetalLookAndFeel.java
12527         (createDefaultTheme): Corrected API docs,
12528         (initComponentDefaults): Added entry for 'TitledBorder.border',
12529         (getCurrentTheme): Initialise theme if it is null.
12530
12531 2006-07-07  Roman Kennke  <kennke@aicas.com>
12532
12533         * java/awt/Component.java
12534         (isValid): Return false when component has no peer,
12535         don't query the showing state.
12536
12537 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12538
12539         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12540         Advance the offset also in the case of the enforced break.
12541
12542 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12543
12544         * javax/swing/plaf/basic/BasicArrowButton.java
12545         (MAXIMUM_SIZE): Removed field,
12546         (MINIMUM_SIZE): Likewise,
12547         (PREFERRED_SIZE): Likewise,
12548         (getMaximumSize): Return new instance every time,
12549         (getMinimumSize): Likewise,
12550         (getPreferredSize): Likewise.
12551
12552 2006-07-07  Roman Kennke  <kennke@aicas.com>
12553
12554         * java/awt/LightweightDispatcher.java
12555         (findTarget):  Avoid array copying in
12556         Container.getComponents().
12557
12558 2006-07-07  Roman Kennke  <kennke@aicas.com>
12559
12560         * javax/swing/JComponent.java
12561         (paintChildrenWithOverlap): Avoid array copying in
12562         Container.getComponents().
12563         (paintChildrenOptimized): Avoid array copying in
12564         Container.getComponents().
12565         (fireAncestorEvent):  Avoid array copying in
12566         Container.getComponents().
12567         (findOverlapFreeParent): Avoid array copying in
12568         Container.getComponents().
12569
12570 2006-07-07  Matt Wringe <mwringe@redhat.com>
12571
12572         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12573         (passwordValid): New field.
12574         (setPassword): New method.
12575         (setSalt): Likewise.
12576         (setIterationCount): Likewise.
12577         (setKeyLength): Likewise.
12578         (PBEKeySpec(char[])): Use new setter methods.
12579         (PBEKeySpec(char[], byte[], int)): Likewise.
12580         (PBEKeySpec(char[], byte[], int, int)): Likewise.
12581         (clearPassword): Set passwordValid to false.
12582         (getPassword): Check that clearPassword() was not called earlier.
12583         Return a clone of the password.
12584         (getSalt): Return a clone of the salt if it was not null.
12585
12586 2006-07-07  Roman Kennke  <kennke@aicas.com>
12587
12588         * java/awt/Component.java
12589         (isValid): Always return false when component is
12590         not showing.
12591         (setFont): Always set font, even when setting
12592         the same or equal font again.
12593
12594 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12595
12596         * javax/swing/plaf/metal/MetalIconFactory.java
12597         (CheckBoxMenuItemIcon): Implement UIResource,
12598         (FileChooserDetailViewIcon): Likewise,
12599         (FileChooserHomeFolderIcon): Likewise,
12600         (FileChooserListViewIcon): Likewise,
12601         (FileChooserNewFolderIcon): Likewise,
12602         (FileChooserUpFolderIcon): Removed redundant 'implements',
12603         (RadioButtonMenuItemIcon): Implement UIResource,
12604         (HorizontalSliderThumbIcon): Likewise,
12605         (InternalFrameCloseIcon): Likewise,
12606         (InternalFrameDefaultMenuIcon): Likewise,
12607         (InternalFrameAltMaximizeIcon): Likewise,
12608         (InternalFrameMaximizeIcon): Likewise,
12609         (InternalFrameMinimizeIcon): Likewise,
12610         (VerticalSliderThumbIcon): Likewise,
12611         (TreeHardDriveIcon): Likewise,
12612         (TreeFloppyDriveIcon): Likewise,
12613         (TreeComputerIcon): Likewise,
12614         (horizontalSliderThumbIcon): New field,
12615         (verticalSliderThumbIcon): New field,
12616         (getHorizontalSliderThumbIcon): Cache icon,
12617         (getVerticalSliderThumbIcon): Likewise.
12618
12619 2006-07-06  Mark Wielaard  <mark@klomp.org>
12620
12621         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12622         (DISTCLEANFILES): Add standard.omit.
12623         (clean-local): Remove Makefile.deps, only remove dirs.
12624
12625 2006-07-06  Roman Kennke  <kennke@aicas.com>
12626
12627         * java/awt/Component.java
12628         (setFont): Only invalidate when component is valid.
12629         * java/awt/Container.java
12630         (setLayout): Only invalidate when component is valid.
12631
12632 2006-07-06  Lillian Angel  <langel@redhat.com>
12633
12634         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12635         New class not fully implemented.
12636         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12637         New class not fully implemented.
12638         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12639         New class not fully implemented.
12640         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12641         New class not fully implemented.
12642         * nu/java/awt/peer/gtk/GtkToolkit.java:
12643         Fixed Imports.
12644         (createDragSourceContextPeer): Implemented.
12645         (createDragGestureRecognizer): New function to override
12646         java.awt.Toolkit.createDragGestureRecognizer.
12647         * java/awt/dnd/DragSource.java
12648         (NoDragGestureRecognizer): Removed inner class.
12649         (createDragGestureRecognizer): Re-Implemented to 
12650         call Toolkit's createDragGestureRecognizer.
12651         (createDefaultDragGestureRecognizer): Re-Implemented to
12652         call Toolkit's createDragGestureRecognizer.
12653         * java/awt/dnd/DropTarget.java
12654         (addNotify): Added check to determine type of peer and call
12655         addDropTarget.
12656         (removeNotify): Added call to removeDropTarget.
12657
12658 2006-07-06  Tom Tromey  <tromey@redhat.com>
12659
12660         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12661         'queue'.
12662         (run): Wait on queue, not 'this'.
12663
12664 2006-07-06  Lillian Angel  <langel@redhat.com>
12665
12666         * java/awt/dnd/DragSource.java
12667         (startDrag): Implemented. Added comments describing
12668         what the function should do. Removed FIXME.
12669
12670 2006-07-06  Tania Bento  <tbento@redhat.com>
12671         
12672         * gnu/java/awt/Canvas.java
12673         Added new private variable 'next_canvas_number'.
12674         (generateName): Added.
12675         (getUniqueLong): Added.
12676
12677 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12678
12679         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12680         (getColor): Made public.
12681         * javax/swing/text/html/StyleSheet.java (stringToColor):
12682         Use CharacterAttributeTranslator.getColor(String)
12683
12684 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12685
12686         * javax/swing/text/html/HTMLEditorKit.java:
12687         (HTMLFactory.createElement): Update reference to the html table view.
12688         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12689         * javax/swing/text/html/TableView.java: New file.
12690
12691 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12692
12693         * javax/swing/text/html/HTMLEditorKit.java: 
12694         (HTMLFactory.createElement): Uncomment
12695         code for BRView and HRuleView.
12696         * javax/swing/text/html/BRView.java,
12697         javax/swing/text/html/HRuleView.java: New files.
12698
12699 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12700
12701         * java/lang/Thread.java:
12702         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12703         Added generic type signature.
12704
12705 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12706
12707         * NEWS: Updated.
12708         * doc/vmintegration.texinfo: Likewise.
12709         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12710         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12711         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12712         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12713         * java/lang/management/GarbageCollectorMXBean.java:
12714         New files.
12715         * java/lang/management/ManagementFactory.java:
12716         (getGarbageCollectorMXBeans()): Implemented.
12717         (getMemoryManagerMXBeans()): Likewise.
12718         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12719         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12720         New files.
12721         * vm/reference/java/lang/management/VMManagementFactory.java:
12722         (getMemoryManagerNames()): Added.
12723         (getGarbageCollectorNames()): Added.
12724         
12725 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12726
12727         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12728         from lib_LTLIBRARIES.
12729         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12730
12731 2006-07-05  Lillian Angel  <langel@redhat.com>
12732
12733         * java/awt/dnd/DragGestureEvent.java:
12734         Added new fields.
12735         (DragGestureEvent): Initialized new fields, added to check and 
12736         added documentation.
12737         (getSourceAsDragGestureRecognizer): Added documentation and 
12738         changed to use getSource.
12739         (getComponent): Added documentation and fixed to return the proper
12740         value.
12741         (getDragSource): Likewise.
12742         (getDragOrigin): Added documentation.
12743         (iterator): Implemented and added documentation.
12744         (toArray): Likewise.
12745         (toArray): Likewise.
12746         (getDragAction): Likewise.
12747         (getTriggerEvent): Likewise.
12748         (startDrag): Likewise.
12749         * java/awt/dnd/DragGestureRecognizer.java
12750         (resetRecognizer): Added FIXME.
12751         * java/awt/dnd/DragSource.java:
12752         Added new field.
12753         (DragSource): Set ds to be null if headless.
12754         (getDefaultDragSource): Added documentation and implemented.
12755         (isDragImageSupported): Marked as unimplemented.
12756         (startDrag): Likewise.
12757         (createDragSourceContext): Implemented.
12758         (NoDragGestureRecognizer): Formatted inner class.
12759         * java/awt/dnd/DropTarget.java
12760         (stop): Marked as unimplemented.
12761         (actionPerformed): Likewise.
12762         (addDropTargetListener): Added code to throw exception.
12763         (removeDropTargetListener): Added check, removed FIXME.
12764         (dragEnter): Implemented.
12765         (dragOver): Implemented.
12766         (dropActionChanged): Implemented.
12767         (dragExit): Implemented.
12768         (drop): Implemented.
12769         (addNotify): Implemented.
12770         (removeNotify): Implemented.
12771         (createDropTargetContext): Implemented.
12772         (createDropTargetAutoScroller): Implemented.
12773         (initializeAutoscrolling): Implemented.
12774         (updateAutoscroll): Implemented.
12775         (clearAutoscroll): Implemented.
12776         * java/awt/dnd/DropTargetContext.java
12777         (dropComplete): Implemented.
12778         (acceptDrag): Implemented.
12779         (rejectDrag): Implemented.
12780         (acceptDrop): Implemented.
12781         (rejectDrop): Implemented.
12782         (getCurrentDataFlavors): Implemented.
12783         (getTransferable): Partially implemented.
12784         * java/awt/dnd/DropTargetDragEvent.java
12785         (getDropAction): Uncommented correct code.
12786         * java/awt/dnd/DropTargetDropEvent.java
12787         (dropComplete) :Implemented.
12788         * java/awt/dnd/InvalidDnDOperationException.java
12789         (InvalidDnDOperationException): Added call to super.
12790
12791 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
12792
12793         * javax/swing/plaf/basic/BasicArrowButton.java:
12794         (paint): Removed getBounds() call, changed center point
12795         calculation.
12796
12797 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12798
12799         * javax/swing/InputMap.java
12800         (inputMap): Don't initialize yet,
12801         (InputMap): Removed TODO,
12802         (get): Check for null inputMap,
12803         (put): Return immediately for null keyStroke, check for null inputMap
12804         and initialize if necessary,
12805         (remove): Check for null inputMap,
12806         (size): Likewise,
12807         (clear): Likewise,
12808         (keys): Likewise,
12809         (allKeys): Likewise,
12810         (writeObject): Removed,
12811         (readObject): Removed.
12812
12813 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
12814
12815         * gnu/classpath/examples/swing/TabbedPaneDemo.java
12816         (createContent): Use different labels for buttons.
12817
12818 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12819
12820         * NEWS: Updated.
12821         * doc/vmintegration.texinfo: Likewise.
12822         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
12823         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
12824         New files.
12825         * java/lang/management/ManagementFactory.java:
12826         (getMemoryPoolMXBeans()): Implemented.
12827         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
12828         * vm/reference/java/lang/management/VMManagementFactory.java:
12829         New files.
12830         
12831 2006-07-04  Lillian Angel  <langel@redhat.com>
12832
12833         * java/awt/dnd/DragSourceContext.java:
12834         Removed FIXMEs from fields.
12835         (DragSourceContext): Added code to initialize cursor and sourceActions.
12836         (getDragSource): Added documentation.
12837         (getComponent): Likewise.
12838         (getTrigger): Likewise.
12839         (getSourceActions): Added documentation and implemented.
12840         (setCursor): Implemented. Added documentation.
12841         (getCursor): Implemented. Added documentation.
12842         (dragEnter): Added code to notify DragSource's listeners.
12843         (dragOver): Likewise.
12844         (dragExit): Likewise.
12845         (dropActionChanged): Likewise.
12846         (dragDropEnd): Likewise.
12847         (dragMouseMoved): Implemented.
12848         (getTransferable): Added API documentation.
12849         (updateCurrentCursor): Added API documentation and partially implemented.
12850
12851 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12852
12853         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
12854
12855 2006-07-04  Lillian Angel  <langel@redhat.com>
12856
12857         * java/awt/dnd/DragSourceContext.java
12858         (DragSourceContext): Implemented fully. Fixed API docs.
12859         (transferablesFlavorsChanged): Implemented.
12860         (dragEnter): Implemented.
12861         (dragOver): Implemented.
12862         (dragExit): Implemented.
12863         (dropActionChanged): Implemented.
12864         (dragDropEnd): Implemented.
12865
12866 2006-07-04  Lillian Angel  <langel@redhat.com>
12867
12868         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12869         Fixed name of constant.
12870         (getIconWidth): Changed name of constant returned.
12871         (getIconHeight): Likewise.
12872         (paint): Likewise.
12873         (createSeparator): Marked as unimplemented.
12874         * javax/swing/plaf/basic/BasicTableUI.java
12875         (focusGained): Marked as unimplemented.
12876         (focusLost): Marked as unimplemented.
12877         (mouseEntered): Likewise.
12878         (mouseMoved): Likewise.
12879         (uninstallDefaults): Likewise.
12880         * javax/swing/plaf/basic/BasicToolBarUI.java
12881         (mouseClicked): Changed comment.
12882         (mouseEntered): Likewise.
12883         (mouseExited): Likewise.
12884         (mouseMoved): Likewise.
12885         (setOrientation): Implemented.
12886         (ToolBarFocusListener): Marked as unimplemented.
12887         (focusGained): Marked as unimplemented.
12888         (focusLost): Marked as unimplemented.
12889
12890 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12891
12892         PR 28061
12893         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
12894         Mind the effect of the root visibility on the position of the control.
12895         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
12896         vertical line over first level nodes.
12897
12898 2006-07-04  Lillian Angel  <langel@redhat.com>
12899
12900         * javax/swing/plaf/basic/BasicMenuUI.java
12901         (installKeyboardActions): Implemented to call super. Nothing else
12902         needs to be done here.
12903         (setupPostTimer): Marked as unimplemented.
12904         (uninstallKeyboardActions): Implemented to call super. Nothing else
12905         needs to be done here.
12906         (mouseMoved): Removed TODO. Nothing to be done here.
12907         (ChangeHandler): Implemented.
12908         (menuDragMouseExited): Removed TODO. Nothing to be done here.
12909         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
12910         (menuKeyReleased): Removed TODO. Nothing to be done here.
12911         (menuKeyTyped): Marked as unimplemented.
12912
12913 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12914
12915         PR 28061
12916         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
12917         (getDefaults): Set hash color to black.
12918         * javax/swing/plaf/basic/BasicLookAndFeel.java
12919         (initComponentDefaults): Set hash color to grey blue.
12920         * javax/swing/plaf/basic/BasicTreeUI.java
12921         (instellDefaults): Set hash color.
12922         * javax/swing/plaf/metal/MetalIconFactory.java
12923         (TreeControlIcon.paint): Rewritten.
12924
12925 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12926
12927         PR 28061
12928         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12929         Always cancel the current editing session before doing anything else,
12930         return immediately if this fails.
12931         (TreeHomeAction): Ensure that the lead selection path is visible after
12932         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
12933         Likewise. TreeTraverseAction: Likewise.
12934
12935 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12936
12937         PR 28061
12938         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
12939         Returned back the code to handle the start of the click-pause-click
12940         editing initiation, explained about this code. 
12941         (TreeStartEditingAction): New inner class.
12942         (stopEditingInCompleteEditing): Explained about this field.
12943         (completeEditing(boolean, boolean, boolean): Only return early
12944         if there is no current editing session.
12945         (createDefaultActions): Install TreeStartEditingAction and
12946         TreeCancelEditingAction.
12947
12948 2006-07-04  Mario Torre  <neugens@limasoftware.net>
12949
12950         * configure.ac: Added new option --enable-default-preferences-peer
12951         to pass user specified default preference backend.
12952         If the GConf peer is built, GConf become the default backend.
12953         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
12954         new file. 
12955         * lib/Makefile.am: excludes files terminating in 'in' from
12956         the metafiles list.
12957         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
12958         from copy into META-INF.
12959         * java/util/prefs/Preferences.java: added two new import
12960         classes gnu.classpath.ServiceFactory and java.util.Iterator.
12961         (getFactory): Now try to check for
12962         a system defined default preference backend before to fall back on
12963         FileBasedPreference.
12964
12965 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12966
12967         PR 28061
12968         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
12969         (EXPANDED): Initialise to Boolean.TRUE.
12970         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
12971         First configure layout cache and then set the assigned value 
12972         as row mapper. Set the root visibility property.
12973         (toggleExpandState): Obtains expansion state from the layout cache.
12974
12975 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12976
12977         * java/lang/management/MemoryPoolMXBean.java:
12978         New file.
12979         
12980 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
12981
12982         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
12983
12984 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
12985
12986         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
12987         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
12988         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
12989         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
12990         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
12991         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
12992         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
12993         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
12994         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
12995         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12996         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
12997         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
12998         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
12999         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13000         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13001         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13002         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13003         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13004         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13005         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13006         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13007         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13008         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13009         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13010         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13011         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13012         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13013         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13014         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13015         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13016         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13017         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13018         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13019         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13020         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13021         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13022         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13023         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13024         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13025         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13026         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13027         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13028         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13029         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13030         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13031         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13032         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13033
13034 2006-07-02  Anthony Green  <green@redhat.com>
13035
13036         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13037         sure that every track written ends with an End Of Track meta
13038         message.
13039
13040 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13041
13042         * java/lang/management/MemoryUsage.java:
13043         (toString()): Fix missing MB for maximum memory usage.
13044         
13045 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13046
13047         * NEWS:
13048         Updated to include VMCompilationMXBeanImpl.
13049         * doc/vmintegration.texinfo:
13050         Likewise, along with update to VMMemoryMXBeanImpl
13051         as below.
13052         * examples/gnu/classpath/examples/management/TestCompilation.java,
13053         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13054         * java/lang/management/CompilationMXBeanImpl.java:
13055         New files.
13056         * java/lang/management/ManagementFactory.java:
13057         (getCompilationMXBean()): Implemented.
13058         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13059         New file.
13060         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13061         (getHeapMemoryUsage()): Added default implementation.   
13062         
13063 2006-07-02  Anthony Green  <green@redhat.com>
13064
13065         * NEWS: Mention MIDI file reader/writer providers.
13066
13067 2006-07-02  Anthony Green  <green@redhat.com>
13068
13069         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13070         gnu/javax/sound/midi/file/MidiFileWriter.java,
13071         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13072
13073 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13074
13075         * NEWS:
13076         Updated to include VMMemoryMXBeanImpl.
13077         * doc/vmintegration.texinfo: Likewise.
13078         * examples/gnu/classpath/examples/management/TestMemory.java:
13079         New file.
13080         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13081         Remove redundant import.
13082         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13083         New file.
13084         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13085         Remove redundant import.
13086         * java/lang/management/ManagementFactory.java:
13087         (getMemoryMXBean()): Implemented.
13088         * java/lang/management/MemoryMXBean.java,
13089         * java/lang/management/MemoryUsage.java:
13090         New files.
13091         * java/lang/management/ThreadInfo.java:
13092         (toString()): Updated documentation.
13093         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13094         New file.
13095         
13096 2006-07-01  Anthony Green  <green@redhat.com>
13097
13098         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13099         gnu/javax/sound/midi/file/MidiFileReader.java,
13100         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13101         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13102
13103 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13104
13105         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13106         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13107         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13108         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13109         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13110         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13111         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13112
13113 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13114
13115         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13116         * gnu/javax/crypto/pad/IPad.java: Likewise.
13117         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13118         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13119         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13120         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13121         * gnu/javax/crypto/pad/TBC.java: Likewise.
13122         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13123         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13124
13125 2006-07-01  Anthony Green  <green@redhat.com>
13126
13127         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13128         status byte test.
13129         (setMessage): Fix it again, in a different setMessage method.
13130
13131 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13132
13133         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13134         * gnu/javax/crypto/mode/CBC.java: Likewise.
13135         * gnu/javax/crypto/mode/CFB.java: Likewise.
13136         * gnu/javax/crypto/mode/CTR.java: Likewise.
13137         * gnu/javax/crypto/mode/EAX.java: Likewise.
13138         * gnu/javax/crypto/mode/ECB.java: Likewise.
13139         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13140         * gnu/javax/crypto/mode/ICM.java: Likewise.
13141         * gnu/javax/crypto/mode/IMode.java: Likewise.
13142         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13143         * gnu/javax/crypto/mode/OFB.java: Likewise.
13144
13145 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13146
13147         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13148         * gnu/javax/crypto/mac/HMac.java: Likewise.
13149         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13150         * gnu/javax/crypto/mac/IMac.java: Likewise.
13151         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13152         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13153         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13154         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13155         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13156         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13157         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13158
13159 2006-07-01  Anthony Green  <green@redhat.com>
13160
13161         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13162
13163 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13164
13165         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13166         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13167         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13168         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13169         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13170         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13171         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13172         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13173         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13174         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13175         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13176         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13177         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13178         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13179         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13180         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13181         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13182         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13183         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13184         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13185         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13186         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13187         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13188         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13189
13190 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13191
13192         * javax/swing/AbstractCellEditor.java: Source code formatting,
13193         * javax/swing/AbstractSpinnerModel.java: Likewise,
13194         * javax/swing/Box.java: Likewise,
13195         * javax/swing/BoxLayout.java: Likewise,
13196         * javax/swing/DefaultListModel.java: Likewise,
13197         * javax/swing/GrayFilter.java: Likewise,
13198         * javax/swing/LookAndFeel.java: Likewise,
13199         * javax/swing/ProgressMonitor.java: Likewise,
13200         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13201         * javax/swing/ScrollPaneLayout.java: Likewise,
13202         * javax/swing/SpringLayout.java: Likewise,
13203         * javax/swing/event/EventListenerList.java: Likewise,
13204         * javax/swing/event/MenuEvent.java: Likewise,
13205         * javax/swing/event/TreeExpansionListener.java: Likewise.
13206
13207 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13208
13209         * NEWS:
13210         Mention threading bean and getState().
13211         * doc/vmintegration.texinfo:
13212         Update documentation for threading bean and new
13213         method of VMThread.
13214         
13215 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13216         
13217         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13218         * examples/gnu/classpath/examples/management/TestOS.java,
13219         * examples/gnu/classpath/examples/management/TestRuntime.java,
13220         * examples/gnu/classpath/examples/management/TestThread.java:
13221         New files.
13222         
13223 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13224
13225         * java/lang/ThreadGroup.java
13226         (getThreadFromId, getThreadFromIdImpl): New methods.
13227
13228 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13229
13230         * java/lang/Thread.java:
13231         Make thread IDs start from 1 in a more efficient way.
13232
13233 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13234
13235         * java/lang/Thread.java:
13236         Make thread IDs start from 1.
13237         
13238 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13239
13240         * gnu/java/lang/management/BeanImpl.java:
13241         New superclass for all bean implementations.
13242         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13243         Extend BeanImpl and call permission code there.
13244         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13245         Extend BeanImpl.
13246         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13247         Extend BeanImpl and call permission code there.
13248         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13249         New file.
13250         * java/lang/management/ManagementFactory.java:
13251         (getThreadMXBean()): Implemented.
13252         * java/lang/management/ThreadInfo.java:
13253         (ThreadInfo(Thread,int)): Replaced...
13254         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13255         boolean, boolean, StackTraceElement[])): with this.
13256         (getBlockedCount()): Refactored to use local variables.
13257         (getBlockedTime()): Likewise.
13258         (getLockName()): Likewise.
13259         (getLockOwnerId()): Likewise.
13260         (getLockOwnerName()): Likewise.
13261         (getStackTrace()): Likewise.
13262         (getWaitedCount()): Likewise.
13263         (getWaitedTime()): Likewise.
13264         (isInNative()): Likewise.
13265         (isSuspended()): Likewise.
13266         (toString()): Changed to use new local variables.
13267         * java/lang/management/ThreadMXBean.java:
13268         (getThreadInfo(long, int)): Corrected documentation.
13269         (getThreadInfo(long[], int)): Likewise.
13270         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13271         New file.
13272         * vm/reference/java/lang/management/VMThreadInfo.java:
13273         Removed.
13274
13275 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13276
13277         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13278         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13279         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13280         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13281         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13282         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13283         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13284         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13285         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13286         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13287         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13288         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13289         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13290         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13291         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13292         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13293         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13294         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13295         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13296         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13297         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13298         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13299         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13300         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13301         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13302         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13303         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13304         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13305         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13306         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13307         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13308         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13309
13310 2006-07-01  Roman Kennke  <kennke@aicas.com>
13311
13312         * gnu/java/awt/java2d/AbstractGraphics2D.java
13313         (transform): Make field protected.
13314         (getDestinationRaster): Provide default implementation for
13315         previously abstract method.
13316
13317 2006-06-30  Tania Bento  <tbento@redhat.com>
13318
13319         * java/awt/TextArea.java
13320         (TextArea(String, int, int, int)): No longer throws
13321         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13322         values are invalid.  
13323         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13324         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13325         gets set to the default value of 0 (SCROLLBARS_BOTH).
13326          (appendText): Added case when peer = null.
13327         (insertText): Added case when peer == null.
13328         (replaceText): Added case when peer == null.
13329         * java/awt/TextComponent.java
13330         (TextComponent(String)): If text == null, set it to "".
13331
13332 2006-06-30  Lillian Angel  <langel@redhat.com>
13333
13334         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13335         (create): Added synchronized block around groupMap.get calls.
13336         (setCheckboxGroup): Likewise.
13337
13338 2006-06-30  Lillian Angel  <langel@redhat.com>
13339
13340         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13341         (create): Changed to be non-synchronized.
13342         (setLabel): Likewise.
13343         (setCheckboxGroup): Likewise.
13344         (addToGroupMap): Likewise. Added synchronized block around
13345         code.
13346         (dispose): Changed to be non-synchronized.
13347
13348 2006-06-30  Lillian Angel  <langel@redhat.com>
13349
13350         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13351         Changed all return values of native functions to void.
13352         (create): Changed function to be synchronized. Removed
13353         call to put value in groupMap, this is now done from 
13354         the native code.
13355         (setState): Changed function to be synchronized.
13356         (setLabel): Changed function to be synchronized.
13357         (setCheckboxGroup): Changed function to be synchronized. Removed
13358         call to put value in groupMap, this is now done from
13359         the native code.
13360         (postItemEvent): Changed function to be synchronized.
13361         (addToGroupMap): New function. Called by native code to add
13362         new value to the group.
13363         (dispose): Changed function to be synchronized.
13364         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13365         all functions.
13366         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13367         (cp_gtk_checkbox_init_jni): Added code to link to 
13368         java function.
13369         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13370         Changed return value to void. Added call
13371         to java function to set pointer in groupMap.
13372         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13373         changed check to an assert. Also, removed call to set/del pointer.
13374         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13375         Likewise. Also, added check to determine if native_group should be 
13376         set to NULL.
13377         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13378
13379 2006-06-30  Sven de Marothy  <sven@physto.se>
13380
13381         * gnu/java/awt/ClasspathToolkit.java,
13382         * gnu/java/awt/peer/x/XToolkit.java,
13383         * gnu/java/awt/peer/qt/QtToolkit.java,
13384         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13385         Remove ClasspathTextLayoutPeer.
13386         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13387         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13388         Files removed.
13389         
13390 2006-06-30  Sven de Marothy  <sven@physto.se>
13391
13392         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13393         (drawGlyphVector): Don't draw empty vectors.
13394
13395 2006-06-30  Lillian Angel  <langel@redhat.com>
13396             Tom Fitzsimmons <fitzsim@redhat.com>
13397
13398         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13399         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13400         Added current_group, groupMap fields. Added definitions for
13401         new native functions.
13402         (create): Removed FIXME. Added code to create the check button or
13403         radio button when appropriate. Updated groupMap to contain
13404         pointer to the newly created group.
13405         (setCheckboxGroup): Added code to handle all cases. Removing
13406         a button from a group, adding a button to a group, or changing the
13407         group of a button.
13408         (dispose): Changed to call super.
13409         * include/Makefile.am: Removed reference to 
13410         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13411         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13412         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13413         for new functions.
13414         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13415         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13416         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13417         Removed file.
13418         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13419         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13420         Renamed to checkbox_get_widget.
13421         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13422         Changed to use checkbox_get_widget.
13423         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13424         Removed.
13425         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13426         Changed to use checkbox_get_widget.
13427         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13428         Likewise.
13429         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13430         New function. Creates checkbutton without a group.
13431         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13432         Creates a radio button in a group, using groupPointer. If groupPointer
13433         is 0, then a new group is created.
13434         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13435         check button to a group, using groupPointer. A radio button is created
13436         in its place. If groupPointer is 0, then a new group is created.
13437         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13438         radio button is removed from the group. A check button is created in 
13439         its place.
13440         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13441         radio button is moved to a new group.
13442
13443 2006-06-30  Mark Wielaard  <mark@klomp.org>
13444
13445         * configure.ac: Move standard.omit creation after dirs are created.
13446         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13447         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13448         (clean-local): Remove standard.omit.
13449         * lib/gen-classlist.sh.in: Use omit file in build dir.
13450         * lib/standard.omit.in: Make exclude regex more explicit.
13451
13452 2006-06-30  Roman Kennke  <kennke@aicas.com>
13453
13454         * lib/Makefile.am: Added Escher dir/jar to classpath when
13455         requested.
13456         * configure.ac: Moved handling of standard.omit to a place
13457         where it actually gets executed.
13458
13459 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13460
13461         * java/awt/TextComponent.java: Reformatted source code,
13462         * java/awt/TextField.java: Likewise.
13463
13464 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13465
13466         * java/lang/Thread.java:
13467         (getState()): Handle case of no VMThread
13468         correctly.
13469
13470 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13471
13472         * java/lang/Thread.java,
13473         * java/lang/VMThread.java:
13474         Reverted patch from 2006-06-28.
13475         
13476 2006-06-29  Roman Kennke  <kennke@aicas.com>
13477
13478         * gnu/java/awt/peer/x/GLGraphics.java,
13479         * gnu/java/awt/peer/x/ImageConverter.java,
13480         * gnu/java/awt/peer/x/KeyboardMapping.java,
13481         * gnu/java/awt/peer/x/XEventPump.java,
13482         * gnu/java/awt/peer/x/XFontPeer.java,
13483         * gnu/java/awt/peer/x/XFontPeer2.java,
13484         * gnu/java/awt/peer/x/XFramePeer.java,
13485         * gnu/java/awt/peer/x/XGraphics.java,
13486         * gnu/java/awt/peer/x/XGraphics2D.java,
13487         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13488         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13489         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13490         * gnu/java/awt/peer/x/XImage.java,
13491         * gnu/java/awt/peer/x/XLightweightPeer.java,
13492         * gnu/java/awt/peer/x/XToolkit.java,
13493         * gnu/java/awt/peer/x/XWindowPeer.java,
13494         * gnu/java/awt/peer/x/fonts.properties: New files.
13495         * lib/standard.omit: Removed.
13496         * lib/standard.omit.in: Added.
13497         * configure.ac: Added configure option --with-escher. Added some
13498         configury for omitting gnu.java.awt.peer.x package when
13499         this option is not specified.
13500
13501 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13502
13503         * javax/swing/JComponent.java
13504         (JComponent()): Initialize the locale here, not the default locale,
13505         (getDefaultLocale): If null, return Locale.getDefault(),
13506         (setDefaultLocale): Added API docs.
13507
13508 2006-06-29  Tania Bento  <tbento@redhat.com>
13509
13510         * java/awt/Container.java
13511         (applyComponentOrientation): Implemented method.
13512
13513 2006-06-29  Gary Benson  <gbenson@redhat.com>
13514
13515         * java/io/File.java (listRoots): Merge security checks from libgcj.
13516
13517 2006-06-29  Gary Benson  <gbenson@redhat.com>
13518
13519         * java/io/FilePermission.java (implies): Work when path is "/".
13520
13521 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13522
13523         * java/lang/Thread.java:
13524         (Thread(ThreadGroup,Runnable,String,long)): Update
13525         state.
13526         (Thread(VMThread,String,int,boolean)): Likewise.
13527         (join(long,int)): Likewise.
13528         (resume()): Likewise.
13529         (sleep(long,int)): Likewise.
13530         (start()): Likewise.
13531         (stop()): Likewise.
13532         (suspend()): Likewise.
13533         (die()): Likewise.
13534         (getState()): Return either state or use VMThread.
13535         * java/lang/VMThread.java:
13536         (getState()): Added default implementation to return
13537         thread.state
13538         
13539 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13540
13541         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13542         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13543         endian swapping code.
13544
13545         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13546         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13547         without alpha information correctly on big endian systems.
13548
13549 2006-06-28  Roman Kennke  <kennke@aicas.com>
13550
13551         * gnu/java/net/local/LocalSocket.java
13552         (setSoTimeout): Don't throw exception and ignore request.
13553         (getSoTimeout): Don't throw exception and always return 0.
13554
13555 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13556
13557         * javax/swing/JComponent.java
13558         (getRegisteredKeyStrokes): Implemented.
13559
13560 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13561
13562         * javax/swing/JComponent.java
13563         (verifyInputWhenFocusTarget): Initialise to true.
13564
13565 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13566
13567         * java/beans/VetoableChangeSupport.java
13568         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13569         null listener,
13570         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13571         for null property name and/or listener,
13572         * javax/swing/JComponent.java
13573         (getListeners): Handle VetoableChangeListener.class as a special case,
13574         (getVetoableChangeListeners): Fetch these from the 
13575         vetoableChangeSupport object.
13576
13577 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13578
13579         * javax/swing/JComponent.java
13580         (componentPopupMenu): New field,
13581         (inheritsPopupMenu): New field,
13582         (getInheritsPopupMenu): Implemented,
13583         (setInheritsPopupMenu): Likewise,
13584         (getComponentPopupMenu): Likewise,
13585         (setComponentPopupMenu): Likewise,
13586         * javax/swing/JLabel.java
13587         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13588
13589 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
13590
13591         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13592         (toString): New method.
13593         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13594         (toString): New method.
13595         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13596         (toString): New method.
13597         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13598         Handle case when Q is null.
13599         (decodePrivateKey): Likewise.
13600         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13601         Likewise.
13602         (decodePublicKey): Likewise.
13603         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13604         aliases for all block ciphers.
13605         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13606         (engineDoPhase): Compute fully the shared secret.
13607         (checkState): New method.
13608         (reset): Likewise.
13609         (engineGenerateSecret()): Reset key-agreement before returning.
13610         (engineGenerateSecret(byte[],int)): Check for short-buffer.
13611         Reset key-agreement before returning.
13612         (engineGenerateSecret(String)): Reset key-agreement before returning.
13613         (engineInit(Key,SecureRandom)): Call reset() before returning.
13614         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13615         (engineInit): Replace printing to System.out with conditional logging.
13616         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13617         When the key-size is not specified, attempt best effort to find a suitable
13618         value among those advertised by the cipher before setting it to the length
13619         of provided key material.
13620
13621 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13622
13623         * javax/swing/table/DefaultTableColumnModel.java
13624         (changeEvent): Don't initialize yet, removed FIXME,
13625         (fireColumnModelChanged): Initialize changeEvent if necessary.
13626
13627 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13628
13629         * java/lang/Thread.java:
13630         (getAllStackTraces()): Implemented.
13631         (getStackTrace()): Likewise.
13632         
13633 2006-06-27  Tania Bento  <tbento@redhat.com>
13634
13635         * java/awt/Component.java
13636         (setComponentOrientation): NPE should not be thrown.
13637
13638 2006-06-27  Tom Tromey  <tromey@redhat.com>
13639
13640         * configure.ac: Create gjar, gnative2ascii, gserialver.
13641         * tools/gappletviewer.in: Quote $@.
13642         * tools/gkeytool.in: Likewise.
13643         * tools/gjarsigner.in: Likewise.
13644         * tools/gjar.in: New file.
13645         * tools/gnative2ascii.in: Likewise.
13646         * tools/gserialver.in: Likewise.
13647         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13648         gserialver.
13649         (bin_SCRIPTS): Likewise.
13650
13651 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13652
13653         * java/lang/management/ThreadMXBean.java:
13654         (getThreadInfo(long[])): Corrected return type.
13655         (getThreadInfo(long[], int)): Likewise.
13656
13657 2006-06-27  Mark Wielaard  <mark@klomp.org>
13658
13659         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13660         nothing when listener is null.
13661         (removeFlavorListener): Likewise.
13662
13663         * java/awt/datatransfer/DataFlavor.java
13664         (getRepresentationClassFromMime): Renamed to
13665         getRepresentationClassFromMimeThrows.
13666         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13667         (isRepresentationClassSerializable): Likewise.
13668         (isFlavorJavaFileListType): Likewise and check primary and
13669         subtype.
13670         (getParameter): Parameters are separated by semi-colons.
13671         (DataFlavor(Class,String,String)): Do some sanity checks.
13672         (DataFlavor(String,String,ClassLoader)): Call
13673         getRepresentationClassFromMimeThrows.
13674         (DataFlavor(String)): Likewise.
13675         (equals(DataFlavor)): Special case primary type text and charset
13676         parameter.
13677         
13678 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13679
13680         * java/awt/Component.java
13681         (setName): Fire required PropertyChangeEvent,
13682         * java/awt/Label.java
13683         (getText): Removed redundant brackets,
13684         (generateName): New method (override),
13685         (nextLabelNumber): New field,
13686         (getUniqueLong): New method.
13687
13688 2006-06-27  Roman Kennke  <kennke@aicas.com>
13689
13690         * gnu/java/awt/peer/swing/SwingComponentPeer.java
13691         (createImage): Delegate this to the parent.
13692         (handleEvent): Only handle PAINT/UPDATE events when the
13693         component is actually showing.
13694         (hide): Repaint the parent after hiding a component.
13695         (prepareImage): Have only one return point.
13696         (setVisible): Delegate to show() and hide().
13697         (createVolatileImage): Added null check to avoid NPE.
13698
13699 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13700
13701         * java/awt/Label.java: Reformatted source code.
13702
13703 2006-06-27  Roman Kennke  <kennke@aicas.com>
13704
13705         * java/awt/image/BufferedImage.java
13706         (getSource): Use a fixed DirectColorModel to deliver the
13707         RGB pixels to the ImageConsumer.
13708
13709 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13710
13711         * java/awt/Point.java
13712         (setLocation(double, double)): Round to nearest integer coordinates.
13713
13714 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13715
13716         * java/awt/Component.java
13717         (minSizeSet): New field,
13718         (maxSize): Likewise,
13719         (maxSizeSet): Likewise,
13720         (isMaximumSizeSet): Implemented,
13721         (isMinimumSizeSet): Likewise,
13722         (isPreferredSizeSet): Likewise,
13723         (setMaximumSize): Likewise,
13724         (setMinimumSize): Likewise,
13725         (setPreferredSize): Likewise. 
13726
13727 2006-06-27  Roman Kennke  <kennke@aicas.com>
13728
13729         * javax/imageio/spi/IIORegistry.java
13730         (IIORegistry): Added BMP codec.
13731
13732 2006-06-27  Mark Wielaard  <mark@klomp.org>
13733
13734         * javax/swing/JComponent.java
13735         (firePropertyChange(String,char,char)): New override method.
13736
13737 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13738
13739         * java/lang/Thread.java:
13740         (getState()): New method.
13741         * java/lang/management/ClassLoadingMXBean.java:
13742         Corrected class documentation.
13743         * java/lang/management/ManagementFactory.java:
13744         Added new temporary marked stub to get thread bean.
13745         * java/lang/management/OperatingSystemMXBean.java:
13746         Corrected class documentation.
13747         * java/lang/management/RuntimeMXBean.java:
13748         Corrected class documentation.
13749         * java/lang/management/ThreadInfo.java,
13750         * java/lang/management/ThreadMXBean.java:
13751         New classes.
13752         * vm/reference/java/lang/VMThread.java:
13753         (getState()): New method.
13754         * vm/reference/java/lang/management/VMThreadInfo.java:
13755         New VM class.
13756
13757 2006-06-26  Sven de Marothy  <sven@physto.se>
13758
13759         * gnu/javax/imageio/gif/GIFFile.java
13760         * gnu/javax/imageio/gif/GIFImageReader.java
13761         * gnu/javax/imageio/gif/GIFImageSpi.java
13762         * gnu/javax/imageio/gif/GIFStream.java
13763         New files.
13764         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13765
13766 2006-06-26  Tania Bento  <tbento@redhat.com>
13767
13768         * java/awt/List.java
13769         (List): A list should have at least 4 visible rows.     
13770         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13771         not an IllegalArgumentException.
13772         (makeVisible): Should not throw an IllegalArgumentException if
13773         the specified index is out of range.
13774
13775 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13776
13777         * javax/swing/JList.java
13778         (getNextMatch): Reimplemented to perform a circular search for the 
13779         matching item.
13780
13781 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13782
13783         * javax/swing/JList.java
13784         (init): Set default value for visibleRowCount to 8,
13785         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13786
13787 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13788
13789         * javax/swing/JList.java
13790         (valueIsAdjusting): Removed,
13791         (init): Removed initialization of valueIsAdjusting field,
13792         (getValueIsAdjusting): Fetch value from selection model,
13793         (setValueIsAdjusting): Store value in selection model.
13794
13795 2006-06-26  Roman Kennke  <kennke@aicas.com>
13796
13797         * javax/swing/plaf/basic/BasicListUI.java
13798         (installKeyboardActions): Rewritten to fit with the
13799         ActionMap/InputMap architecture.
13800         (uninstallKeyboardActions): Implemented.
13801         (ListAction): Made private. Added TODO for splitting
13802         up this bulk Action.
13803         (ListAction.ListAction): New constructor. This one
13804         takes a cmd parameter to be installed as actionCommand.
13805
13806 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13807
13808         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
13809         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
13810
13811 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
13812
13813         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
13814         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
13815         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
13816         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
13817         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
13818         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
13819         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
13820         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
13821         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13822         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13823         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
13824         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
13825         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
13826         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
13827         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
13828         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
13829         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
13830         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
13831         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
13832         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
13833         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
13834         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
13835         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
13836         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
13837         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
13838         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
13839         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
13840         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
13841         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
13842         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
13843         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
13844         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
13845         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
13846         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
13847         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
13848         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
13849         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
13850         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
13851         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
13852         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
13853         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
13854         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
13855         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
13856         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
13857         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13858         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
13859         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
13860         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
13861         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
13862         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
13863         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
13864         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
13865         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
13866         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
13867         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
13868         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
13869         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
13870         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
13871         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
13872         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
13873         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
13874         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
13875         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
13876         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
13877         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
13878         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
13879         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
13880         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
13881         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
13882         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
13883         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
13884         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
13885         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
13886         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
13887         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
13888         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
13889         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
13890         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
13891         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
13892         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
13893         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
13894         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
13895
13896 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13897
13898         * javax/swing/JList.java
13899         (setLayoutOrientation): Check for valid argument.
13900
13901 2006-06-26  Roman Kennke  <kennke@aicas.com>
13902
13903         * javax/swing/JComponent.java
13904         (firePropertyChange(String,int,int)): New method. Overrides
13905         Component method and makes it public.
13906         (firePropertyChange(String,boolean,boolean)): Likewise.
13907
13908 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
13909         
13910         * gnu/java/security/.cvsignore: New File.
13911         * gnu/java/security/Configuration.java.in: New File.
13912         * gnu/java/security/Properties.java: Change import from 
13913         gnu.classpath.Configuration to gnu.java.security.Configuration.
13914         * gnu/java/security/hash/Whirlpool.java: Likewise.
13915         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
13916         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
13917         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
13918         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
13919         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
13920         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
13921         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
13922         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
13923         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
13924         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
13925         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
13926         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
13927         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
13928         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
13929         * gnu/java/security/util/Base64.java: Likewise.
13930         * gnu/java/security/x509/X509CRL.java: Likewise.
13931         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
13932         * gnu/java/security/x509/ext/Extension.java: Likewise.
13933         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
13934         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
13935         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13936         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13937         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13938         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
13939         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
13940         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
13941         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13942         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13943         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13944         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13945         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13946         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13947         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13948         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13949         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13950         * gnu/javax/crypto/pad/BasePad.java: Likewise.
13951         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13952         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13953         * gnu/javax/crypto/pad/TBC.java: Likewise.
13954         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13955         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13956         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13957         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13958         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13959         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
13960         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
13961         * gnu/javax/security/auth/login/GnuConfiguration.java 
13962         (getAppConfigurationEntry): Change reference to 
13963         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
13964         (getConfigFromUserHome): Likewise.
13965         (getInputStreamFromURL): Likewise.
13966         (getUserHome): Likewise.
13967         (init): Likewise.
13968         (processSecurityProperties): Likewise.
13969         (processSystemProperty): Likewise.
13970         (processUserHome): Likewise.
13971         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
13972         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
13973         
13974
13975 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
13976
13977         * javax/swing/text/DefaultCaret.java (isActive): New method.
13978
13979 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13980
13981         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
13982         * java/lang/management/ClassLoadingMXBean.java:
13983         (getTotalLoadedClassCount()): Corrected return type.
13984         (getUnloadedClassCount()): Likewise.
13985         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
13986         (getUnloadedClassCount()): Likewise.
13987         
13988 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
13989
13990         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
13991         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
13992         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
13993         * gnu/javax/crypto/cipher/Square.java: Likewise.
13994         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
13995         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
13996         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
13997         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
13998         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
13999         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14000         * gnu/javax/crypto/cipher/DES.java: Likewise.
14001         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14002         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14003         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14004         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14005         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14006
14007 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14008
14009         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14010         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14011         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14012         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14013         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14014         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14015         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14016         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14017         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14018         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14019         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14020         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14021         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14022
14023 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14024
14025         * NEWS,
14026         * doc/vmintegration.texinfo:
14027         Updated with information on new VM interface.
14028         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14029         * java/lang/management/ClassLoadingMXBean.java:
14030         New files implementing the class loading bean.
14031         * java/lang/management/ManagementFactory.java:
14032         (getClassLoadingMXBean()): Implemented.
14033         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14034         New VM interface file.
14035
14036 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14037
14038         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14039         (isBootClassPathSupported()): Use SystemProperties
14040         rather than System.getProperty.
14041         
14042 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14043
14044         * gnu/java/security/Properties.java: Source formatting.
14045         * gnu/java/security/Registry.java: Likewise.
14046
14047 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14048
14049         * gnu/java/security/util/Util.java: Source formatting.
14050         * gnu/java/security/util/SimpleList.java: Likewise.
14051         * gnu/java/security/util/Sequence.java: Likewise.
14052         * gnu/java/security/util/PRNG.java: Likewise.
14053         * gnu/java/security/util/ExpirableObject.java: Likewise.
14054         * gnu/java/security/util/Base64.java: Likewise.
14055         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14056         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14057         * gnu/java/security/sig/ISignature.java: Likewise.
14058         * gnu/java/security/sig/BaseSignature.java: Likewise.
14059         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14060         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14061         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14062         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14063         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14064         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14065         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14066         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14067         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14068         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14069         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14070         * gnu/java/security/provider/Gnu.java: Likewise.
14071         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14072         * gnu/java/security/prng/RandomEvent.java: Likewise.
14073         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14074         * gnu/java/security/prng/MDGenerator.java: Likewise.
14075         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14076         * gnu/java/security/prng/IRandom.java: Likewise.
14077         * gnu/java/security/prng/EntropySource.java: Likewise.
14078         * gnu/java/security/prng/BasePRNG.java: Likewise.
14079
14080 2006-06-23  Francis Kung  <fkung@redhat.com>
14081
14082         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14083         (Harness.actionPerformed): Process additional options.
14084         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14085         (J2dBenchmarkWrapper.setAlias): New method.
14086         (J2dBenchmarkWrapper.setComposite): New method.
14087         (J2dBenchmarkWrapper.setFill): New method.
14088         (J2dBenchmarkWrapper.setRotation): New method.
14089         (J2dBenchmarkWrapper.setShear): New method.
14090         (J2dBenchmarkWrapper.setStroke): New method.
14091         (J2dBenchmarkWrapper.setTranslation): New method.
14092         (run): Add additional options to GUI.
14093         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14094         Added protected fields for various options.
14095         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14096         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14097         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14098         (getNextColor): Renamed to setRandom.
14099         (init): Load additional image for texturing if needed.
14100         (loadBufferedImage): New method.
14101         (main): Accept additional command-line switches.
14102         (prepareGraphics): New method.
14103         (resetGraphics): New method.
14104         (runTestSuite): Accept additional image-processing options.
14105         (setRandom): Renamed from getNextColor; generate various random options
14106         (test_drawArc): Rename getNextColor to setRandom.
14107         (test_drawCubic): Likewise.
14108         (test_drawEllipse): Likewise.
14109         (test_drawGeneralPath): Likewise.
14110         (test_drawImage): Likewise.
14111         (test_drawLine): Likewise.
14112         (test_drawQuadCurve): Likewise.
14113         (test_drawRectangle): Likewise.
14114         (test_drawRoundRectangle): Likewise.
14115         (test_drawTransparentImage): Likewise.
14116         (test_fillArc): Rename getNextColor to setRandom.
14117         (test_fillEllipse): Likewise.
14118         (test_fillGeneralPath): Likewise.
14119         (test_fillRectangle): Likewise.
14120         (test_fillRoundRectangle): Likewise.
14121         (TestRecorder.getAverage): Round the average time.
14122
14123 2006-06-23  Tom Tromey  <tromey@redhat.com>
14124
14125         * java/util/logging/LoggingMXBean.java: New file.
14126         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14127         (loggingBean): New field.
14128         (getLoggingMXBean): New method.
14129
14130 2006-06-23  Tania Bento  <tbento@redhat.com>
14131
14132         * java/awt/TextField.java
14133         (TextField): Default number of columns should be 0, not 1.
14134         (TextField): Check if number of columns given as argument
14135         is valid (>= 0) and set the number of columns accordingly.
14136         (TextField): Check if the string passed is null. If it is, 
14137         set columns to 0, else columns is set to the length of
14138         the string.
14139
14140 2006-06-23  Roman Kennke  <kennke@aicas.com>
14141
14142         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14143         (InternalFramePropertyChangeListener.propertyChange):
14144         Don't call getPropertyName() repeatedly. Added null checks
14145         to avoid NPEs. Call closeFrame() if the closed property
14146         changes.
14147
14148 2006-06-23  Roman Kennke  <kennke@aicas.com>
14149
14150         * javax/swing/JInternalFrame.java
14151         (maxTransition): Removed.
14152         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14153         Don't initialize storedBounds here.
14154         (dipose): Rewritten to correctly dispose the JInternalFrame.
14155         (getDesktopIcon): Don't initialize desktopIcon here.
14156         (getLayer): Delegate to JLayeredPane.getLayer().
14157         (getNormalBounds): Return bounds when storedBounds == null,
14158         otherwise storedBounds.
14159         (hide): Don't change selection. Also hide the desktopIcon.
14160         (moveToBack): Call getParent() only once.
14161         (moveToFront): Call getParent() only once.
14162         (pack): Call validate() to make sure that the layout is
14163         propagated to the children.
14164         (setClosed): Fire InternalFrameEvent first, before the
14165         PropertyVetoEvent.
14166         (setJMenuBar): Fire PropertyChangeEvent for this property.
14167         (setLayer): Delegate to JLayeredPane.
14168         (setLayeredPane): Check for null and throw IllegalArgumenException.
14169         (setMaximum): Remove handling of maxTransition and normalBounds.
14170         Should probably be done in the UI.
14171         (setNormalBounds): Store Rectangle object directly, not a copy.
14172         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14173         adding the RootPane doesn't add it to the contentPane.
14174         Fire PropertyChangeEvent.
14175         (setSelected): Added condition for when this property must not
14176         be changed.
14177         (show): Don't ask the DesktopPane to select the frame. Moved
14178         code around to fire InternalFrameEvent before actually calling
14179         super.show(). Also make the desktopIcon visible.
14180         (setTitle): Fire PropertyChangeEvent unconditionally.
14181
14182 2006-06-23  Roman Kennke  <kennke@aicas.com>
14183
14184         * javax/swing/JLayeredPane.java
14185         (getPosition): Moved code around to avoid unnecessary method calls.
14186         (setPosition): Delegate to setLayer().
14187         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14188         (insertIndexForLayer(Component,int,int)): New helper method
14189         to support the use of setComponentZOrder() which doesn't remove
14190         the component and thus the insertIndexForLayer must ignore
14191         the component to be moved to get the index right.
14192         (setLayer): Added check to prevent unnecessary execution of
14193         method body. Changed to update the component order here.
14194         Added repaint() to make sure that the update becomes visible.
14195         (addImpl): Call setLayer() only when a constraint has been specified.
14196         Validate and repaint the JLayeredPane.
14197
14198 2006-06-23  Roman Kennke  <kennke@aicas.com>
14199
14200         * java/awt/Container.java
14201         (getComponentZOrder): Use ncomponents instead of
14202         component.length so that we don't consider the empty space
14203         after the last component.
14204
14205 2006-06-22  Roman Kennke  <kennke@aicas.com>
14206
14207         * javax/swing/JComponent.java
14208         (vetoableChangeSupport): New field.
14209         (removeVetoableChangeListener): Rewritten to use
14210         vetoableChangeSupport.
14211         (addVetoableChangeListener): Rewritten to use
14212         vetoableChangeSupport.
14213         (fireVetoableChange): Rewritten to use
14214         vetoableChangeSupport.
14215         (addPropertyChangeListener): Removed. This is handled in
14216         Component already.
14217         (firePropertyChange(String,boolean,boolean)): Likewise.
14218         (firePropertyChange(String,char,char)): Likewise.
14219         (firePropertyChange(String,int,int)): Likewise.
14220         (revalidate): Don't do anything when the commponent has no
14221         parent.
14222
14223 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14224
14225         * javax/swing/JLabel.java: Updated API docs.
14226
14227 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14228
14229         * java/awt/Insets.java: Updated copyright year.
14230         (toString): Changed string, removed a line from the 
14231         documentation.
14232
14233 2006-06-22  Roman Kennke  <kennke@aicas.com>
14234
14235         * javax/swing/text/AbstractDocument.java
14236         (AbstractDocument): Set the i18n document property.
14237         (removeImpl): Added checks for correct boundaries.
14238
14239 2006-06-22  Roman Kennke  <kennke@aicas.com>
14240
14241         * javax/swing/text/PlainDocument.java
14242         (rootElement): Changed type to Element.
14243         (tabSize): Removed field. This is stored in the document properties
14244         instead.
14245         (PlainDocument): Set tabSize property. Init rootElement without
14246         cast.
14247         (insertUpdate): Rewritten. The previous implementation did not
14248         handle some corner cases properly and was a mess.
14249         (removeUpdate): Cast rootElement to BranchElement.
14250
14251 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14252
14253         * javax/swing/plaf/basic/BasicLabelUI.java
14254         (installKeyboardActions): Implemented,
14255         (uninstallKeyboardActions): Implemented,
14256         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14257         properties.
14258
14259 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14260
14261         * javax/swing/JMenu.java:
14262         (removeAll): Added check for popupMenu not being null.
14263
14264 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14265
14266         * javax/swing/JLabel.java
14267         (getText): Updated API docs,
14268         (setText): Corrected the check for an unchanged value, and the update 
14269         of the displayedMnemonicIndex.
14270
14271 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14272
14273         * javax/swing/JLabel.java
14274         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14275         field,
14276         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14277         where label text is null.
14278
14279 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14280
14281         * javax/swing/JLabel.java
14282         (setDisplayedMnemonic): Updated API docs,
14283         (getDisplayedMnemonic): Removed unnecessary type-cast,
14284         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14285         (getDisplayedMnemonicIndex): Updated API docs.
14286
14287 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14288
14289         * java/util/Collections (entrySet): Fixed compile error.
14290
14291 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14292
14293         * javax/swing/DefaultListSelectionModel.java
14294         (getSelectionMode): Updated API docs,
14295         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14296         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14297         setSelectionInterval(),
14298         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14299         SINGLE_INTERVAL_SELECTION cases.
14300
14301 2006-06-21  Roman Kennke  <kennke@aicas.com>
14302
14303         * javax/swing/text/AbstractDocument.java
14304         (BranchElement.numChildren): New field.
14305         (BranchElement.BranchElement): Initialize children array with
14306         one element (that's the least number of elements that makes sense).
14307         Initialize numChildren.
14308         (BranchElement.children): Use numChildren as boundary.
14309         (BranchElement.getElement): Use numChildren as boundary.
14310         (BranchElement.getElementCount): Use numChildren as boundary.
14311         (BranchElement.getElementIndex): Use numChildren as boundary.
14312         (BranchElement.getEndOffset): Use numChildren as boundary.
14313         (BranchElement.getStartOffset): Use numChildren as boundary.
14314         (BranchElement.positionToElement): Use numChildren as boundary.
14315         (BranchElement.replace): Handle the children array more efficiently
14316         by growing in blocks > 1, and reusing space from removed elements.
14317         (LeafElement.startDelta): Removed.
14318         (LeafElement.endDelta): Removed.
14319         (LeafElement.LeafElement): Removed handling of deltas.
14320         (LeafElement.getEndOffset): Likewise.
14321         (LeafElement.getStartOffset): Likewise.
14322         * javax/swing/text/JTextComponent.java
14323         (setDocument): Added locking of the old document to avoid dangling
14324         notification beeing delivered while the document is beeing
14325         disconnected.
14326         (getScrollableTracksViewportWidth): Fixed condition.
14327         * javax/swing/text/PlainDocument.java
14328         (createDefaultRoot): Create elements without AttributeSet.
14329         * javax/swing/text/rtf/RTFParser.java
14330         (parseFile): Handle slightly incorrect RTF gracefully.
14331         * javax/swing/text/rtf/RTFScanner.java
14332         (lastToken): New field.
14333         (readTokenImpl): New method.
14334         (peekToken): New method.
14335         (readToken): Changed to call readTokenImpl or return the lastToken
14336         if there's one present.
14337
14338 2006-06-21  Tania Bento  <tbento@redhat.com>
14339
14340         * javax/swing/JMenu.java
14341         (remove): An IllegalArgumentException should be thrown if
14342         either index < 0 or if index > 0 and there are no menu
14343         components. Also, a check was added that ensures there are
14344         menu components before removing the desired the component.
14345
14346 2006-06-21  Lillian Angel  <langel@redhat.com>
14347
14348         * javax/swing/text/DefaultCaret.java
14349         (install): Added check to prevent NPE.
14350         (propertyChange): Added checks to prevent NPEs.
14351
14352 2006-06-21  Tania Bento  <tbento@redhat.com>
14353
14354         * javax/swing/JMenu.java
14355         Changed instantiation of popupMenu to null.
14356         (JMenu): Instantiated popupMenu to new JPopupMenu.
14357         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14358         (add): Changed popupMenu to getPopupMenu().
14359         (add): Changed popupMenu to getPopupMenu().
14360         (add): Changed popupMenu to getPopupMenu().
14361         (add): Changed popupMenu to getPopupMenu().
14362         (remove): Changed popupMenu to getPopupMenu().
14363         (remove): Changed popupMenu to getPopupMenu().
14364         (insert): Changed popupMenu to getPopupMenu().
14365         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14366         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14367         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14368         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14369         (getMenuComponents): Changed popupMenu to getPopupMenu().
14370         (getPopupMenu): Check first if popupMenu is null and if so,
14371         instantiate it to a new JPopupMenu and set the invoker.
14372         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14373         (popupMenuWillBecomeVisible): Component Listener should only
14374         be added to the root container if the root container is not 
14375         null. This avoids a null pointer exception.
14376
14377 2006-06-21  Tania Bento  <tbento@redhat.com>
14378
14379         * javax/swing/JMenu.java
14380         (JMenu): Delay should be set to 200, not default of 0.
14381         (JMenu): Delay should be set to 200, not default of 0.
14382         (JMenu): Delay should be set to 200, not default of 0.
14383         (JMenu): Delay should be set to 200, not default of 0.  
14384         (remove): Added check that index >= 0 before removing
14385         the component.
14386         (getItem): Return null if item count equals 0.
14387         (isTearOff): Should throw new error and not return false.
14388         (getMenuComponent): Return null if popupMenu is null or
14389         if there are no menu components.
14390
14391 2006-06-21  Roman Kennke  <kennke@aicas.com>
14392
14393         * java/awt/font/FontRenderContext.java:
14394         (equals): Added special conditions for affineTransform beeing
14395         null.
14396
14397 2006-06-21  Roman Kennke  <kennke@aicas.com>
14398
14399         * javax/swing/UIManager.java
14400         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14401         must not be cleared.
14402
14403 2006-06-21  Roman Kennke  <kennke@aicas.com>
14404
14405         * javax/swing/plaf/metal/MetalUtils.java
14406         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14407         Graphics2D is available. Use fillRect instead of drawLine, this
14408         is much faster.
14409         (paintVerticalGradient): Use paintHorizontalGradient2D when
14410         Graphics2D is available. Use fillRect instead of drawLine, this
14411         is much faster.
14412         (paintHorizontalGradient2D): New method. Paints gradient
14413         using Graphics2D functions.
14414         (paintVerticalGradient2D): New method. Paints gradient
14415         using Graphics2D functions.
14416
14417 2006-06-21  Roman Kennke  <kennke@aicas.com>
14418
14419         * javax/swing/plaf/basic/BasicButtonListener.java
14420         (propertyChange): Create a TextLayout and store it in the button
14421         when the 'text' property changes.
14422         * javax/swing/plaf/basic/BasicButtonUI.java
14423         (paintText): Call BasicGraphicsUtils utility method for
14424         drawing strings, instead of Graphics.drawString().
14425         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14426         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14427         cached text layouts as client properties in JComponents.
14428         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14429         (drawStringUnderlineCharAt): New helper method.
14430         * javax/swing/plaf/basic/BasicMenuItemUI.java
14431         (PropertyChangeHandler.propertyChange): Update cached text layout
14432         when 'text' property changes. Use equals() instead of == for
14433         string comparison.
14434         (paintText): Use new BasicGraphicsUtils methods for painting
14435         the cached text layout.
14436         (installListeners): Call super.installListeners() and remove
14437         the unneeded listener installs.
14438         (uninstallListeners): Call super.uninstallListeners() and remove
14439         the unneeded listener uninstalls.
14440
14441 2006-06-21  Roman Kennke  <kennke@aicas.com>
14442
14443         * javax/swing/plaf/basic/BasicTextUI.java
14444         (PropertyChangeHandler.propertyChange): Handle document listener
14445         update here.
14446         (background): Removed unneeded fields.
14447         (inactiveBackground): Remove unneeded fields.
14448         (installUI): Install the document listener. Slightly changed
14449         order of operations. Don't trigger modelChanged().
14450         (installDefaults): Only install properties when the
14451         current properties are null or instances of UIResource.
14452         (installListeners): Removed unnecessary listener installs.
14453         (installDocumentListeners): Removed unneeded method.
14454         (uninstallListeners): Removed unnecessary listener uninstalls.
14455         (modelChanged): Removed call to installDocumentListeners().     
14456         * javax/swing/plaf/basic/BasicTextFieldUI.java
14457         (propertyChange): Update the colors by fetching them from
14458         SharedUIDefaults. Fixed conditions.
14459         * javax/swing/plaf/basic/SharedUIDefaults.java
14460         (getColor): New method.
14461
14462 2006-06-21  Roman Kennke  <kennke@aicas.com>
14463
14464         * javax/swing/SizeSequence.java
14465         (SizeSequence): Initialize array with correct number of entries.
14466
14467 2006-06-21  Roman Kennke  <kennke@aicas.com>
14468
14469         * javax/swing/JSplitPane.java
14470         (setDividerLocation): Substract divider size when computing
14471         the absolute size.
14472
14473 2006-06-21  Roman Kennke  <kennke@aicas.com>
14474
14475         * javax/swing/JComponent.java
14476         (paintChildrenWithOverlap): Determine opaque property by
14477         calling the corresponding Component method, without requiring
14478         a JComponent.
14479         (paintChildrenOptimized): Removed old unneeded code.
14480         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14481         method instead of SwingUtilities.convertRectangle(). This is
14482         more efficient.
14483
14484 2006-06-21  Roman Kennke  <kennke@aicas.com>
14485
14486         * javax/swing/AbstractButton.java
14487         (init): Call setText() instead of setting the property directly,
14488         so that listeners (especially in the UI) get notified.
14489
14490 2006-06-21  Roman Kennke  <kennke@aicas.com>
14491
14492         * javax/swing/UIManager.java
14493         (MultiplexUIDefaults): New inner class.
14494         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14495         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14496         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14497         directly. Print stacktrace if something goes wrong.
14498         (get): Delegate call to currentUIDefaults.
14499         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14500         it.
14501         (getUI): Delegate call to currentUIDefaults.
14502         (put): Delegate call to currentUIDefaults.
14503         (setLookAndFeel): Initialize currentUIDefaults with
14504         MultiplexUIDefaults. Set lookAndFeelDefaults.
14505         (setLookAndFeel): Use current thread's context classloader for
14506         loading the L&F.
14507
14508 2006-06-21  Roman Kennke  <kennke@aicas.com>
14509
14510         * javax/swing/text/GapContent.java
14511         (GapContentPosition.GapContentPosition): Replace
14512         Collections.binarySearch with call to local search() to make
14513         sure we find the first object that equals the searched object.
14514         (setPositionsInRange): Likewise.
14515         (adjustPositionsInRange): Likewise.
14516         (search): New helper method.
14517
14518 2006-06-21  Gary Benson  <gbenson@redhat.com>
14519
14520         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14521         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14522         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14523
14524 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14525
14526         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14527         APPLETVIEWER_EXECUTABLE to gappletviewer.
14528
14529 2006-06-20  Tom Tromey  <tromey@redhat.com>
14530
14531         PR classpath/28095:
14532         * java/net/URL.java (URL): Throw MalformedURLException if a
14533         RuntimeException is caught.  Chain exceptions.
14534
14535 2006-06-20  Lillian Angel  <langel@redhat.com>
14536
14537         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14538         (create): Added check to prevent Seg Fault. Should not
14539         set the label if it is null.
14540         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14541         (setText): Changed to be a non-native function. Calls
14542         setNativeText if the String parameter is non-null.
14543         (setNativeText): Replaces old native setText function.
14544         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14545         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14546         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14547         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14548         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14549         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14550
14551 2006-06-20  Lillian Angel  <langel@redhat.com>
14552
14553         * javax/swing/text/JTextComponent.java
14554         (AccessibleJTextComponent): Rewrote all javadocs
14555         for this inner class.
14556
14557 2006-06-20  Francis Kung  <fkung@redhat.com>
14558
14559         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14560         Changed many members to be protected.
14561         (J2dBenchmark): moved to init() instead.
14562         (init): New method.
14563         (main): Call init() after creating object
14564         (testComplete): New method.
14565         (test_drawArc): Use maxTests varialbe instead of constant.
14566         (test_drawCubicCurve): Likewise.
14567         (test_drawEllipse): Likewise.
14568         (test_drawGeneralPath): Likewise.
14569         (test_drawImage): Likewise.
14570         (test_drawLine): Likewise.
14571         (test_drawQuadCurve): Likewise.
14572         (test_drawRectangle): Likewise.
14573         (test_drawRoundRectangle): Likewise.
14574         (test_drawTransparentImage): Likewise.
14575         (test_fillArc): Likewise.
14576         (test_fillEllipse): Likewise.
14577         (test_fillGeneralPath): Likewise.
14578         (test_fillRectangle): Likewise.
14579         (test_fillRoundRectangle): Likewise.
14580         (GraphicsTest.runSetNoClipping): Added runCount parameter.
14581         (GraphicsTest.runSetWithClipping): Likewise.
14582         (GraphicsTest.runSetZeroClipping): Likewise.
14583         (GraphicsTest.run): Added checks for more option flags.
14584         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14585         New file.
14586
14587 2006-06-20  Roman Kennke  <kennke@aicas.com>
14588
14589         * javax/swing/text/GapContent.java
14590         (GapContentPosition.mark): New field.
14591         (GapContentPosition.index): Removed.
14592         (GapContentPosition.GapContentPosition): Changed to take the
14593         real offset as parameter. Added handling of reference counter.
14594         Try to cleanup before creating new instances.
14595         (getOffset): Delegate to the Mark method with same name.
14596         (Mark): New class, encapsulating a mark.
14597         (positionMarks): Removed field.
14598         (numMarks): Removed field.
14599         (marks): New field.
14600         (queueOfDeath): New field.
14601         (GapContent): Removed init of old fields, added init of new fields.
14602         (createPosition): Added check for validity of arguments.
14603         Create GapContentPosition directly with offset.
14604         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14605         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14606         (shiftGapStartDown): Call resetMarksAtZero().
14607         (shiftGapEndUp): Call resetMarksAtZero().
14608         (replace): Don't call resetMarksAtZero().
14609         (setPositionInRange): Replaced by simpler algorithm, similar to
14610         adjustPositionsInRange.
14611         (adjustPositionsInRange): Adapted to use of Mark objects.
14612         (resetMarksAtZero): Reset all marks that point to zero instead
14613         of only the first one.
14614         (dumpMarks): Adjusted to dump Mark objects.
14615         (insertMark): Removed.
14616         (garbageCollect): New method. Cleans up the marks list.
14617         (binarySearch): Removed.
14618
14619 2006-06-20  Lillian Angel  <langel@redhat.com>
14620
14621         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14622         (drawImage): Added call to updateColor because
14623         Cairo seems to lose the current color.
14624
14625 2006-06-20  Gary Benson  <gbenson@redhat.com>
14626
14627         * java/awt/Toolkit.java: Add security check.
14628         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14629         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14630
14631 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
14632
14633         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14634         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14635         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14636         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14637         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14638         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14639         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14640         * gnu/java/security/key/dss/FIPS186.java: Likewise.
14641         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14642         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14643         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14644         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14645         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14646         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14647         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14648         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14649         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14650         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14651         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14652
14653 2006-06-19  Lillian Angel  <langel@redhat.com>
14654
14655         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14656         (drawImage): Should always use getRGB to get the pixels.
14657         getData returns an incorrect array of pixels.
14658
14659 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14660
14661         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14662         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14663         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14664         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14665         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14666         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14667         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14668         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14669         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14670         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14671         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14672         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14673         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14674         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14675         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14676         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14677         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14678         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14679         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14680         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14681         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14682         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14683         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14684         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14685         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14686         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14687         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14688         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14689         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14690         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14691         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14692         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14693         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14694         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14695         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14696         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14697
14698 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14699
14700         * NEWS: Updated (delayed) for security tools and tools.texinfo.
14701
14702 2006-06-19  Roman Kennke  <kennke@aicas.com>
14703
14704         * gnu/java/awt/peer/gtk/ComponentGraphics.java
14705         (drawImage): Clip volatile image correctly.
14706         (drawVolatileImage): Added arguments for clipping.
14707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14708         (drawVolatileImage): Added arguments for clipping. Clip image
14709         correctly.
14710         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14711
14712 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14713
14714         PR 28035
14715         * java/rmi/server/UID.java (constructor): Synchronized
14716         the whole constructor on the UID class.
14717
14718 2006-06-19  Roman Kennke  <kennke@aicas.com>
14719
14720         * javax/swing/RepaintManager.java
14721         (addInvalidComponent): Only add component that are displayable,
14722         that have displayable parents and that have a validateRoot.
14723         Also, don't validate components that have a CellRendererPane
14724         ancestor.
14725
14726 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
14727
14728         * javax/swing/plaf/IconUIResource.java
14729         (IconUIResource): Throw IllegalArgumentException for null icon.
14730
14731 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14732
14733         PR 28035
14734         * java/rmi/server/UID.java (constructor): First increment
14735         uidCounter, and then use the value.
14736
14737 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
14738
14739         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14740         * java/awt/GridBagConstraints.java: Indent.
14741
14742 2006-06-18  Tom Tromey  <tromey@redhat.com>
14743
14744         * native/jni/gconf-peer/.cvsignore: New file.
14745
14746 2006-06-18  Tom Tromey  <tromey@redhat.com>
14747
14748         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14749         Also handle short options.
14750
14751 2006-06-18  Jim Huang  <jserv@kaffe.org>
14752
14753         PR classpath/28076:
14754         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14755         Fixed typo.
14756
14757 2006-06-19  Mark Wielaard  <mark@klomp.org>
14758
14759         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14760         on gnu/java/util/prefs/gconf/%.class.
14761         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14762         chache typo, should be cache.
14763         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14764         Declare tmp early.
14765         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14766         Likewise.
14767         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14768         Don't return a value for void function.
14769         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14770         Likewise.
14771         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14772         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
14773         function.
14774         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14775         Mark clazz ad unused.
14776
14777 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14778
14779         * gnu/java/security/hash/Whirlpool.java: Source formatting.
14780         * gnu/java/security/hash/Tiger.java: Likewise.
14781         * gnu/java/security/hash/Sha512.java: Likewise.
14782         * gnu/java/security/hash/Sha384.java: Likewise.
14783         * gnu/java/security/hash/Sha256.java: Likewise.
14784         * gnu/java/security/hash/Sha160.java: Likewise.
14785         * gnu/java/security/hash/RipeMD160.java: Likewise.
14786         * gnu/java/security/hash/RipeMD128.java: Likewise.
14787         * gnu/java/security/hash/MD5.java: Likewise.
14788         * gnu/java/security/hash/MD4.java: Likewise.
14789         * gnu/java/security/hash/MD2.java: Likewise.
14790         * gnu/java/security/hash/IMessageDigest.java: Likewise.
14791         * gnu/java/security/hash/Haval.java: Likewise.
14792         * gnu/java/security/hash/HashFactory.java: Likewise.
14793         * gnu/java/security/hash/BaseHash.java: Likewise.
14794
14795 2006-06-18  Sven de Marothy  <sven@physto.se>
14796
14797         * java/awt/event/KeyEvent.java:
14798         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
14799         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
14800         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
14801
14802 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14803
14804         * gnu/java/security/util/Prime2.java: Removed.
14805         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
14806         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14807         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
14808         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
14809         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
14810         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14811         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
14812         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
14813         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
14814         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
14815         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
14816         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
14817
14818 2006-06-18  Sven de Marothy  <sven@physto.se>
14819
14820         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14821         * java/awt/font/TextMeasurer.java: Fix copyright date, 
14822         remove commented-out code.
14823
14824 2006-06-18  Sven de Marothy  <sven@physto.se>
14825
14826         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
14827         (FreetypeGlyphVector, clone): Implement cloning.
14828         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
14829         * java/awt/font/TextMeasurer.java: Implement.
14830         * java/awt/font/LineBreakMeasurer.java: 
14831         Reimplement to use TextMeasurer.
14832         * java/awt/font/TextLayout.java
14833         New constructors.
14834         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
14835         (getText, getFont): New private static methods.
14836         (setCharIndices): New method.
14837         * java/text/AttributedString.java
14838         (AttributedString): Fix constructor to stop at end point.
14839         
14840 2006-06-17  Tom Tromey  <tromey@redhat.com>
14841
14842         * lib/gen-classlist.sh.in: Search all top-level directories, not
14843         just 'org', in external.
14844
14845 2006-06-12  Mario torre  <neugens at limasoftware.net>
14846
14847         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
14848         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
14849         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
14850         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
14851         header file.
14852         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
14853         * configure.ac: update to introduce new files. Added options
14854         to build gconf native peer used by the GConf preference backend.
14855         * include/Makefile.am: update to introduce new files.
14856         * native/jni/Makefile.am update to introduce new files.
14857         * scripts/check_jni_methods.sh: added three new ignored file
14858         from check.
14859         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
14860         build gconf-peer shared library.
14861
14862 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14863
14864         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
14865         Use Integer.valueOf() instead of new Integer().
14866         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14867         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14868         * gnu/java/security/util/Sequence.java: Likewise.
14869         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
14870         * gnu/java/security/x509/X509Certificate.java: Likewise.
14871         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14872         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14873         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14874         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14875         * gnu/javax/crypto/cipher/DES.java: Likewise.
14876         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14877         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14878         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14879         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14880         * gnu/javax/crypto/cipher/Square.java: Likewise.
14881         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14882         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14883         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14884         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14885         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14886         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
14887         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14888         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14889         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
14890         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
14891         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14892         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14893         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14894         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14895         * gnu/javax/crypto/mac/UHash32.java: Likewise.
14896         * gnu/javax/crypto/mac/UMac32.java: Likewise.
14897         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
14898         * gnu/javax/crypto/mode/EAX.java: Likewise.
14899         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14900         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14901         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14902         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
14903         * java/security/cert/X509CertSelector.java: Likewise.
14904
14905 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14906
14907         * javax/management/DynamicMBean.java:
14908         (setAttribute): Fixed to return void.
14909         * javax/management/MBeanFeatureInfo.java:
14910         New file.
14911         
14912 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
14913
14914         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
14915         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
14916         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
14917         into engineInitHandler and reuse the code in
14918         engineInit(int, Key, AlgorithmSpec, SecureRandom).
14919         (engineInitHandler): New method.
14920         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
14921         null, use random or default information when possible.
14922
14923 2006-06-16  Francis Kung  <fkung@redhat.com>
14924
14925         * examples/gnu/classpath/examples/swing/Demo.java:
14926         (mkButtonBar): Rename FillRect to JNIOverhead.
14927         (mkMenuBar): Rename FillRect to JNIOverhead.
14928         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
14929         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
14930         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
14931         Moved from old FillRect.
14932
14933 2006-06-16  Tom Tromey  <tromey@redhat.com>
14934
14935         * tools/.cvsignore: Added new tool names.
14936
14937 2006-06-16  Keith Seitz  <keiths@redhat.com>
14938
14939         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
14940         instantiation so that EventManager is created when getDefault
14941         is first called.
14942         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
14943         of EventManager.
14944
14945 2006-06-16  Keith Seitz  <keiths@redhat.com>
14946
14947         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
14948         (_initCount): New field.
14949         (Jdwp): Don't set isDebugging until fully initialized.
14950         (subcomponentInitialized): New method.
14951         (run): Wait for PacketProcessor and JdwpConnection to
14952         startup, then set isDebugging, and then let this thread
14953         die.
14954         * gnu/classpath/jdwp/transport/JdwpConnection.java
14955         (run): Add synchronization notification.
14956         * gnu/classpath/jdwp/processor/PacketProcessor.java
14957         (run): Likewise.
14958
14959 2006-06-16  Tom Tromey  <tromey@redhat.com>
14960
14961         * NEWS: Updated for JSR 166.
14962
14963 2006-06-16  Tom Tromey  <tromey@redhat.com>
14964
14965         * lib/Makefile.am (compile_classpath): Added jsr166.
14966         * configure.ac: Added external/jsr166/Makefile.
14967         * external/Makefile.am (SUBDIRS): Added jsr166.
14968         * external/jsr166/Makefile.am: New file.
14969         * lib/gen-classlist.sh.in: Look in external/jsr166.
14970
14971 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
14972
14973         * gnu/classpath/jdwp/event/ExceptionEvent:
14974         Added Object instance to javadoc in constructor
14975         * gnu/classpath/jdwp/event/MethodEntryEvent:
14976         Ditto.
14977         * gnu/classpath/jdwp/event/MethodExitEvent:
14978         Ditto,
14979         * gnu/classpath/jdwp/event/SingleStepEvent:
14980         Ditto. 
14981
14982 2006-06-16  Tom Tromey  <tromey@redhat.com>
14983
14984         Imported JSR 166 reference implementation:
14985         * .classpath: Added external/jsr166.
14986         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
14987         * java/util/AbstractQueue.java: Removed.
14988         * java/util/Queue.java: Removed.
14989         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
14990         (runPeriodic): Added explicit cast.
14991         * external/jsr166/java/util/ArrayDeque.java (clone): Use
14992         elements.clone.
14993
14994 2006-06-16  Tom Tromey  <tromey@redhat.com>
14995
14996         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
14997         Removed.
14998         (getCallerClass): Now static.
14999         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15000
15001 2006-06-16  Lillian Angel  <langel@redhat.com>
15002
15003         * java/awt/FileDialog.java
15004         (FileDialog): Added @since tag to API docs.
15005         (FileDialog): Likewise.
15006         (FileDialog): Likewise.
15007         * java/awt/Font.java:
15008         Added @since tag to TYPE1_FONT field docs.
15009         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15010         (isThumbRollover): Likewise.
15011         (setThumbRollover): Likewise.
15012         (getSupportsAbsolutePositioning): Likewise.
15013         * javax/swing/plaf/basic/BasicSliderUI.java:
15014         (isDragging): Likewise.
15015
15016 2006-06-16  Lillian Angel  <langel@redhat.com>
15017
15018         * java/awt/FileDialog.java
15019         (FileDialog): Implemented.
15020         (FileDialog): Implemented.
15021         (FileDialog): Implemented.
15022         * java/awt/Font.java:
15023         Added TYPE1_FONT constant field.
15024
15025 2006-06-16  Lillian Angel  <langel@redhat.com>
15026
15027         * java/awt/font/TextLayout.java:
15028         Removed unneeded imports.
15029         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15030         Added new thumbRollover field.
15031         (mouseMoved): Added code to set thumbRollover field.
15032         (isThumbRollover): New function.
15033         (setThumbRollover): New function.
15034         (getSupportsAbsolutePositioning): Implemented. This
15035         needs to be changed once the feature has been 
15036         implemented.
15037         * javax/swing/plaf/basic/BasicSliderUI.java:
15038         Added new dragging field.
15039         (mouseDragged): Initialized dragging field.
15040         (isDragging): New function.
15041         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15042         (focusGained): Marked as not implemented.
15043         (focusLost): Likewise.
15044
15045 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15046
15047         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15048         Added check for null ThreadId to avoid null pointer
15049         exception.
15050
15051 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15052
15053         * javax/swing/DefaultComboBoxModel.java
15054         (removeElementAt): Set new selected item by calling setSelectedItem().
15055
15056 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15057
15058         * javax/swing/DefaultButtonModel.java
15059         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15060
15061 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15062
15063         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15064         (ListDataEvent): Handle case where index0 > index1,
15065         (toString): Implemented.
15066
15067 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15068
15069         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15070         (update): Added subexpression to if-statement.
15071
15072 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15073
15074         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15075         (installDefaults): Removed unneccessary code.
15076         (paint): Removed complex if-cascade, revert to default icon if
15077         icon property is not set.
15078         (getPreferredSize): New method.
15079
15080 2006-06-16  Roman Kennke  <kennke@aicas.com>
15081
15082         PR 28027
15083         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15084         (drawImage): Don't use setClip() but instead clipRect() to
15085         intersect the current clip with a new one.
15086
15087 2006-06-15  Tom Tromey  <tromey@redhat.com>
15088
15089         * scripts/sanitize-jsr166: New file.
15090         * external/jsr166/IMPORTING: New file.
15091         * vm/reference/sun/reflect/Reflection.java: New file.
15092         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15093         * vm/reference/sun/misc/Unsafe.java: ...here.
15094
15095 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15096
15097         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15098         gjarsigner and keytool to gkeytool.
15099         * doc/tools.texinfo: Add note about tool exectable names.
15100         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15101         jarsigner to gjarsigner and keytool to gkeytool.
15102         * tools/appletviewer.in: Rename ...
15103         * tools/gappletviewer.in: New file.
15104         * tools/jarsigner.in: Rename ...
15105         * tools/gjarsigner.in: New file.
15106         * tools/keytool.in: Rename ...
15107         * tools/gkeytool.in: New file.
15108         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15109
15110 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15111
15112         * javax/management/AttributeList.java:
15113         Add serialization UID.
15114         * javax/management/DynamicMBean.java:
15115         New file.
15116         * javax/management/JMRuntimeException.java:
15117         Add serialization UID and correct name
15118         of serialized field.
15119         * javax/management/MBeanInfo.java: New file.
15120         
15121 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15122
15123         * javax/management/AttributeList.java,
15124         * javax/management/JMRuntimeException.java,
15125         * javax/management/RuntimeOperationsException.java:
15126         New files.
15127         
15128 2006-06-15  Lillian Angel  <langel@redhat.com>
15129
15130         * java/awt/font/TextLayout.java:
15131         DEFAULT_CARET_POLICY changed to be public static final.
15132
15133 2006-06-15  Tania Bento  <tbento@redhat.com>
15134
15135         * javax/swing/plaf/metal/MetalScrollButton.java
15136         (MetalScrollButton): Should set 'focusable' to false.
15137
15138 2006-06-15  Tania Bento  <tbento@redhat.com>
15139
15140         * javax/swing/plaf/basic/BasicArrowButton.java
15141         (BasicArrowButton): Should set 'focusable' to false.
15142         (BasicArrowButton): Should set 'focusable' to false.
15143
15144 2006-06-15  Mark Wielaard  <mark@klomp.org>
15145
15146         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15147         (getGraphicsConfiguration): Return default screen device.
15148         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15149         New field.
15150         (GtkVolatileImage): Record initiating component.
15151         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15152         (getDeviceConfiguration): Return configuration of image component.
15153
15154 2006-06-15  Mark Wielaard  <mark@klomp.org>
15155
15156         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15157         closed.
15158
15159 2006-06-15  Mark Wielaard  <mark@klomp.org>
15160
15161         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15162         with null argument.
15163
15164 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15165
15166         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15167         (matches): Added explicit brackets to return statement.
15168
15169 2006-06-15  Tania Bento  <tbento@redhat.com>
15170
15171         * javax/swing/JRadioButtonMenuItem.java
15172         (JRadioButtonMenuItem): Should set 'focusable' to false.
15173
15174 2006-06-15  Tania Bento  <tbento@redhat.com>
15175
15176         * javax/swing/JCheckBoxMenuItem.java
15177         (JCheckBoxMenuItem): Should set 'focusable' to false.
15178
15179 2006-06-15  Tania Bento  <tbento@redhat.com>
15180
15181         * javax/swing/AbstractButton.java:
15182         (AbstractButton): 'Focusable' should be set to true and not false.
15183
15184 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15185
15186         * java/lang/management/ManagementFactory.java:
15187         Add private constructor to prevent instance creation.
15188         * java/lang/management/ManagementPermission.java:
15189         Make final.
15190         
15191 2006-06-15  Francis Kung  <fkung@redhat.com>
15192
15193         * javax/swing/plaf/basic/BasicArrowButton.java:
15194         (BasicArrowButton): move client property for not triggering out 
15195         of consturctor
15196         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15197         (configureArrowButton): set client property for not triggering
15198         (installUI): set client property for not triggering
15199         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15200         (PopupHelper.mousePressed): check client property for triggering
15201
15202 2006-06-15  Roman Kennke  <kennke@aicas.com>
15203
15204         PR 28037
15205         * javax/swing/RepaintManager.java
15206         (blitBuffer): Substract coordinates the other way around.
15207
15208 2006-06-15  Roman Kennke  <kennke@aicas.com>
15209
15210         PR 28027
15211         * javax/swing/JComponent.java
15212         (paintImmediately2): Only paint component without double buffering
15213         when all of it's parents have also double buffering disabled.
15214         (isPaintingDoubleBuffered): New helper method.
15215
15216 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15217
15218         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15219         (draw(Shape)): Pass null transform to getPathIterator(),
15220         (getClip): Likewise,
15221         * gnu/java/print/PostscriptGraphics2D.java
15222         (drawStringShape): Pass null transform to getPathIterator(),
15223         (writeShape): Likewise,
15224         * java/awt/Shape.java: Small updates to API docs.
15225
15226 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15227
15228         * javax/naming/InitialContext.java:
15229         (list(javax.naming.Name)): Fixed generic type.
15230         (list(String)): Likewise.
15231         (listBindings(javax.naming.Name)): Likewise.
15232         (listBindings(String)): Likewise.
15233         
15234 2006-06-14  Roman Kennke  <kennke@aicas.com>
15235
15236         * javax/swing/plaf/basic/BasicComboBoxUI.java
15237         (getAccessibleChildrenCount): Implemented.
15238         (getAccessibleChild): Implemented.
15239         (isNavigationKey): Implemented.
15240         (KeyHandler.keyPressed): Implemented.
15241
15242 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15243
15244         * java/lang/management/ManagementPermission.java:
15245         Added serialization UID.
15246         * javax/management/Attribute.java: Likewise.
15247         * javax/management/MBeanException.java,
15248         * javax/management/ReflectionException.java:
15249         Added serialization UID and changed to extend
15250         javax.management.JMException.
15251         
15252 2006-06-14  Lillian Angel  <langel@redhat.com>
15253
15254         * java/awt/Component.java
15255         (ignoreOldMouseEvents): Made static.
15256         (translateEvent): Made static.
15257         * java/awt/TextComponent.java
15258         (ignoreOldMouseEvents): Made static.
15259
15260 2006-06-14  Mark Wielaard  <mark@klomp.org>
15261
15262         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15263         call super.
15264         (drawRect): Likewise.
15265         (fillRect): Likewise.
15266
15267 2006-06-14  Lillian Angel  <langel@redhat.com>
15268
15269         * java/awt/Component.java
15270         (ignoreOldMouseEvents): New helper function.
15271         (translateEvent): Changed to be non-static and use new helper.
15272         * java/awt/TextComponent.java
15273         (ignoreOldMouseEvents): New helper function.
15274
15275 2006-06-14  Roman Kennke  <kennke@aicas.com>
15276
15277         * javax/swing/RepaintManager.java
15278         (MERGE_REGIONS): New constant flag.
15279         (commitBuffer): Exclude the merging of regions by default. This
15280         was causing painting artifacts in some applications, especially
15281         when different areas of the GUI are updated synchronously.
15282
15283 2006-06-14  Roman Kennke  <kennke@aicas.com>
15284
15285         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15286         New file. This is a benchmark for AWT 1.1 style graphics operations.
15287         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15288         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15289
15290 2006-06-14  Tom Tromey  <tromey@redhat.com>
15291
15292         * java/io/File.java (getParent): Javadoc fix.
15293
15294 2006-06-14  Tom Tromey  <tromey@redhat.com>
15295
15296         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15297         jar.
15298         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15299         when index entry does not exist.
15300
15301 2006-06-14  Tania Bento  <tbento@redhat.com>
15302
15303         * javax/swing/AbstractButton.java
15304         (AbstractButton): Set focusable to false, not true.
15305
15306 2006-06-14  Tania Bento  <tbento@redhat.com>
15307
15308         * javax/swing/JMenuItem.java
15309         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15310
15311 2006-06-14  Tania Bento  <tbento@redhat.com>
15312
15313         * javax/swing/JCheckBoxMenuItem.java
15314         (JCheckBoxMenuItem): Added check to set the selected state.
15315
15316 2006-06-14  Roman Kennke  <kennke@aicas.com>
15317
15318         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15319         (cairoDrawLine): New native method.
15320         (cairoDrawRect): New native method.
15321         (cairoFillRect): New native method.
15322         (drawLine): Use special native method.
15323         (drawRect): Use special native method.
15324         (fillRect): Use special native method.
15325         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15326         (cairoDrawLine): New native method.
15327         (cairoDrawRect): New native method.
15328         (cairoFillRect): New native method.
15329         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15330
15331 2006-06-14  Mark Wielaard  <mark@klomp.org>
15332
15333         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15334         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15335         cannot be allocated.
15336
15337 2006-06-14  Tom Tromey  <tromey@redhat.com>
15338
15339         PR java/28024:
15340         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15341         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15342
15343 2006-06-14  Roman Kennke  <kennke@aicas.com>
15344
15345         * javax/swing/JComponent.java
15346         (isRepainting): New flag.
15347         (paintImmediately2): Set isRepainting flag.
15348         (getRoot): Removed obsolete method.
15349         (paintDoubleBuffered): Differenciate between paint calls from
15350         RepaintManager and from AWT refresh. Call
15351         RepaintManager.commitBuffer with this and local coordinates.
15352         (findOpaqueParent): Stop searching at heavyweight component. These
15353         are always opaque.
15354         (paintChildrenOptimized): Don't paint heavyweight children. These
15355         should care for themselves.
15356         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15357         should care for themselves.
15358         * javax/swing/RepaintManager.java
15359         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15360         windows only.
15361         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15362         toplevel windows only.
15363         (getRoot): Removed obsolete method.
15364         (commitBuffer): Blit buffer on nearest heavyweight.
15365         (blitBuffer): New helper method.
15366         (getHeavyweightParent): New helper method.
15367         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15368         * javax/swing/SwingUtilities.java
15369         (convertRectangleToAncestor): New helper method.
15370
15371 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15372
15373         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15374         Condition all trace/debug code based on Configuration.DEBUG.
15375         Use logger instead of STDOUT and ot STDERR.
15376
15377 2006-06-13  Lillian Angel  <langel@redhat.com>
15378
15379         * native/plugin/gcjwebplugin.cc
15380         (NP_Initialize): Removed code to create whitelist file.
15381         (GCJ_New): Added code to create whitelist file.
15382         (plugin_user_trusts_documentbase): Fixed error message.
15383
15384 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15385
15386         * javax/swing/plaf/metal/MetalIconFactory.java
15387         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15388         prevent overwriting border,
15389         (VerticalSliderThumbIcon.gradientMask): Likewise.
15390
15391 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15392
15393         * javax/management/AttributeNotFoundException.java,
15394         * javax/management/InvalidAttributeValueException.java,
15395         * javax/management/JMException.java,
15396         * javax/management/MBeanException.java,
15397         * javax/management/OperationsException.java,
15398         * javax/management/ReflectionException.java:
15399         New files.
15400         
15401 2006-06-13  Roman Kennke  <kennke@aicas.com>
15402
15403         * java/awt/Component.java
15404         (dispatchEvent): Handle events even when consumed (this might be
15405         picked up later in the dispatching chain).
15406         * javax/swing/plaf/basic/BasicLookAndFeel.java
15407         (PopupHelper.mousePressed): Don't consume event. Only close popup
15408         when target component isn't flagged as DONT_CANCEL_POPUP.
15409         (DONT_CANCEL_POPUP): New package private constant for flagging
15410         special components that don't trigger popup closing.
15411         * javax/swing/plaf/basic/BasicArrowButton.java
15412         (BasicArrowButton): Set client property for not triggering closing
15413         of popups.
15414
15415 2006-06-13  Lillian Angel  <langel@redhat.com>
15416
15417         * java/awt/image/PixelGrabber.java
15418         (PixelGrabber): Added to API documentation.
15419
15420 2006-06-13  Keith Seitz  <keiths@redhat.com>
15421
15422         From Kyle Galloway  <kgallowa@redhat.com>:
15423         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15424         (ExceptionOnlyFilter): Allow null refId.
15425
15426         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15427         compatibility with filters.
15428         (getParameter): Modified to allow access to above. 
15429
15430 2006-06-13  Sven de Marothy  <sven@physto.se>
15431
15432         * gnu/java/awt/peer/gtk/CairoSurface.java
15433         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15434         (create): Use stride in ints.
15435
15436 2006-06-13  Keith Seitz  <keiths@redhat.com>
15437
15438         From Kyle Galloway  <kgallowa@redhat.com>:
15439         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15440
15441 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15442
15443         * javax/swing/plaf/basic/BasicSliderUI.java
15444         (calculateThumbSize): Removed unnecessary code,
15445         (calculateThumbLocation): Shift position by one,
15446         (calculateTickRect): Shift position by one when ticks are displayed,
15447         (calculateLabelRect): Calculate rect differently according to whether
15448         or not the labels are visible,
15449         (paintTrack): Shift track down one pixel.
15450
15451 2006-06-13  Lillian Angel  <langel@redhat.com>
15452
15453         * java/awt/image/PixelGrabber.java
15454         (PixelGrabber): Removed check to throw exception. JDK does
15455         not do this.
15456         (startGrabbing): Removed line to print stacktrace. 
15457
15458 2006-06-13  Mark Wielaard  <mark@klomp.org>
15459
15460         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15461         allocate unused AffineTransform. Add comment about conversion to
15462         BufferedImage.
15463         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15464         Recognize identity transform as "easy". Always convert to
15465         BufferedImage before calling super.
15466
15467 2006-06-13  Roman Kennke  <kennke@aicas.com>
15468
15469         * java/awt/Component.java
15470         (getGraphics): Translate child graphics correctly.
15471         (dispatchEvent): Only dispatch event if it hasn't been consumed
15472         yet by the global dispatcher.
15473         * javax/swing/plaf/basic/BasicLookAndFeel.java
15474         Added some API docs.
15475         (PopupHelper.mousePressed): Consume the event after closing
15476         opened menus.
15477
15478 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15479
15480         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15481         changes only,
15482         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15483         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15484         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15485         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15486         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15487         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15488         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15489         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15490         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15491         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15492         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15493         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15494         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15495         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15496         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15497         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15498
15499 2006-06-12  Sven de Marothy  <sven@physto.se>
15500
15501         * java/awt/font/LineBreakMeasurer.java): Implement.
15502
15503 2006-06-12  Keith Seitz  <keiths@redhat.com>
15504
15505         From Kyle Galloway  <kgallowa@redhat.com>:
15506         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15507
15508 2006-06-12  Keith Seitz  <keiths@redhat.com>
15509
15510         From Kyle Galloway  <kgallowa@redhat.com>:
15511         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15512
15513         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15514
15515 2006-06-12  Roman Kennke  <kennke@aicas.com>
15516
15517         * javax/swing/JComponent.java
15518         (paintDoubleBuffered): Correctly translate and clip the Graphics
15519         instance.
15520         (clipAndTranslateGraphics): New helper method.
15521
15522 2006-06-12  Roman Kennke  <kennke@aicas.com>
15523
15524         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15525         (copy): Use getClip() to copy the clip. Make copied transform
15526         null when original transform is null. Set clip here.
15527         (setTransform): Correctly update the clip.
15528         (setTransformImpl): New method. Updates the actual transform for
15529         Cairo.
15530         (transform): Correctly update the clip.
15531         (translate): Correctly update the clip.
15532         (clip): Handle null clip and argument correctly.
15533         (clipRect): Avoid creating new Rectangle objects.
15534         (getClip): Get the correct copy of the clip.
15535         (setClip): Correctly handle null argument.
15536         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15537         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15538         be null or whatever has been set in copy().
15539         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15540         (drawImage): Add translation to the image coordinates.
15541         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15542         (VolatileImageGraphics): Don't set clip here. The clip can either
15543         be null or whatever has been set in copy().
15544
15545 2006-06-12  Keith Seitz  <keiths@redhat.com>
15546
15547         From Kyle Galloway  <kgallowa@redhat.com>:
15548         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15549         (forCaught): Removed unused/unnecessary method.
15550         (forUncaught): Likewise.
15551         (matches): Implement.
15552
15553 2006-06-12  Keith Seitz  <keiths@redhat.com>
15554
15555         From Kyle Galloway  <kgallowa@redhat.com>:
15556         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15557
15558 2006-06-12  Keith Seitz  <keiths@redhat.com>
15559
15560         From Kyle Galloway  <kgallowa@redhat.com>:
15561         * gnu/classpath/jdwp/event/Event.java: Added constants for
15562         type.
15563         (getParameter): Changed parameter type from Class to int.
15564         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15565         Changed from Class type to constants.
15566         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15567         Likewise.
15568         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15569         Likewise.
15570         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15571         Likewise.
15572         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15573         Likewise.
15574         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15575         Likewise.
15576         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15577         Likewise.
15578         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15579         Likewise.
15580         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15581         Likewise.
15582         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15583         Likewise.
15584
15585 2006-06-12  Lillian Angel  <langel@redhat.com>
15586
15587         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15588         (StandaloneAppletWindow): Changed title of standalone window.
15589
15590 2006-06-12  Lillian Angel  <langel@redhat.com>
15591
15592         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15593         (layoutContainer): Added missing selectedComponent assignment.
15594
15595 2006-06-12  Lillian Angel  <langel@redhat.com>
15596
15597         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15598         (layoutContainer): Added check to prevent exception.
15599
15600 2006-06-12  Tom Tromey  <tromey@redhat.com>
15601
15602         * java/lang/Thread.java (uncaughtException): Javadoc fix.
15603
15604 2006-06-12  Mark Wielaard  <mark@klomp.org>
15605
15606         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15607         New static field.
15608         (ONE): Likewise.
15609         (lock): New method.
15610         (unlock): Likewise.
15611         (draw): Use lock() and unlock().
15612         (fill): Likewise.
15613         (drawRenderedImage): Likewise.
15614         (drawImage): Likewise.
15615         (drawGlyphVector): Likewise.
15616
15617 2006-06-12  Roman Kennke  <kennke@aicas.com>
15618
15619         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15620         (drawPixels): Include alpha in parameter list.
15621         (cairoFill): Include alpha in parameter list.
15622         (setComposite): Don't modify the color.
15623         (draw(Shape))): Use fill when the current composite has an alpha
15624         of != 1.0, so that the stroked shaped will be composited.
15625         (fill(Shape)): Call cairoFill() with alpha.
15626         (drawImage): Call drawPixels or drawSurface with alpha.
15627         (drawGlyphVector): When composite alpha is != 1.0, render the
15628         outline using fill() to enable compositing for text.
15629         (drawRaster): Call drawPixels with alpha.
15630         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15631         (nativeDrawSurface): Include alpha in parameter list.
15632         (drawSurface): Include alpha in parameter list. Pass it to
15633         nativeDrawSurface().
15634         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15635         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15636         Regenerated.
15637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15638         (drawPixels): Handle possible alpha for compositing.
15639         (cairoFill): Likewise.
15640         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15641         (nativeDrawSurface): Handle possible alpha for compositing.
15642
15643 2006-06-12  Mark Wielaard  <mark@klomp.org>
15644
15645         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15646         Notify data when completely done. Wait for worker thread to finish.
15647         Rethrow any pending exceptions.
15648         (exception): New field.
15649         (run): Store pending exception.
15650
15651 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15652
15653         * java/lang/management/ManagementPermission.java:
15654         New file.
15655         
15656 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15657
15658         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15659
15660 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15661
15662         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15663         Use String.charAt().
15664
15665 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
15666
15667         * doc/tools.texinfo
15668         (Applet Tools): New chapter.
15669         (appletviewer Tool): New section.
15670         (gcjwebplugin): New section.
15671
15672 2006-06-11  Mark Wielaard  <mark@klomp.org>
15673
15674         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15675         Takes GdkPixbufWriter.
15676         (GdkPixbufWriter): Implements Runnable.
15677         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15678         data processing.
15679         (DATADONE): New static final field.
15680         (data): New field.
15681         (write(byte[])): New method.
15682         (run): Likewise.
15683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15684         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15685         Get dataOutputWriteID from writeClass.
15686         (stream_save_request): Change stream field to writer.
15687         (save_to_stream): Remove FIXME, call writer.
15688         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15689         Store writer.
15690
15691 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15692
15693         * NEWS:
15694         Mention new VM interface and use of properties.
15695         * doc/vmintegration.texinfo:
15696         Update with new gnu.java.lang.management section.
15697         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15698         New file.
15699         * java/lang/management/ManagementFactory.java:
15700         (getRuntimeMXBean()): Implemented.
15701         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15702         New VM interface file.
15703         
15704 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15705
15706         PR Classpath/26065
15707         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15708         debug code based on Configuration.DEBUG.
15709         Use logger instead of STDOUT and ot STDERR.
15710         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15711         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15712         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15713         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15714         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15715         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15716         * gnu/javax/crypto/pad/TBC.java: Likewise.
15717         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15718         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15719         * gnu/javax/crypto/pad/BasePad.java: Likewise.
15720         * gnu/javax/crypto/mac/OMAC.java: Likewise.
15721         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15722         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15723         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15724         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15725         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15726         * gnu/javax/crypto/keyring/Entry.java: Likewise.
15727         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15728         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15729         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15730         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15731         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15732         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15733         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15734         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15735         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15736         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15737         * gnu/java/security/Properties.java: Likewise.
15738         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15739         * gnu/java/security/x509/X509CRL.java: Likewise.
15740         * gnu/java/security/x509/ext/Extension.java: Likewise.
15741         * gnu/java/security/util/Prime2.java: Likewise.
15742         * gnu/java/security/util/Base64.java: Likewise.
15743         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15744         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15745         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15746         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15747         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15748         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15749         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15750         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15751         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15752         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15753         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15754         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15755         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15756         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15757         * gnu/java/security/hash/Whirlpool.java: Likewise.
15758
15759 2006-06-11  Mark Wielaard  <mark@klomp.org>
15760
15761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15762         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15763         Remove unused variable glyph_index.
15764
15765 2006-06-11  Mark Wielaard  <mark@klomp.org>
15766
15767         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15768         Don't recurse, return false if not an BufferedImage and no image
15769         source available.
15770         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15771         end_gdk_drawing() to finally block.
15772         (fill): Likewise.
15773         (drawRenderedImage): Likewise.
15774         (drawImage): Likewise.
15775         (drawGlyphVector): Likewise.
15776
15777 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15778
15779         * doc/tools.texinfo: Added text for new -cacert command.
15780         Re-structured sections.
15781         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15782         for -cacert command.
15783         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15784         (_CACERT): Likewise.
15785         (shutdownThread): New field.
15786         (Main): Install shutdown thread.
15787         (main): Uninstall shutdown thread.
15788         (start): Handle new -cacert command.
15789         (getParser): Likewise.
15790         (teardown): Increased visibility.
15791         (ShutdownHook): New inner class.
15792         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15793
15794 2006-06-11  Sven de Marothy  <sven@physto.se>
15795
15796         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15797         (setupGlyphMetrics): New method. Add glyphmetrics caching.
15798         (getOutline): Operate on the shape directly.
15799         * gnu/java/awt/peer/gtk/GdkFontPeer.java
15800         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
15801         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
15802         (getGlyph renamed getGlyphs)
15803         * java/awt/geom/AffineTransform.java
15804         (getTranslateInstance): Set fields directly.
15805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15806         (getGlyphs): Get all glyph codes at once.
15807         
15808 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15809
15810         PR Classpath/27853
15811         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
15812
15813 2006-06-11  Sven de Marothy  <sven@physto.se>
15814
15815         * java/awt/font/TextLayout.java
15816         (getLogicalHighlightShape): Add check.
15817         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15818         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
15819
15820 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15821
15822         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15823         Check that every component of 'cn' starts with a valid Java identifier char.
15824
15825 2006-06-10  Tom Tromey  <tromey@redhat.com>
15826
15827         * java/io/File.java (pathSeparator): Typo fix.
15828
15829 2006-06-10  Mark Wielaard  <mark@klomp.org>
15830
15831         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
15832         Removed.
15833         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15834         Mark all unused parameters.
15835         (cp_gtk_get_cairo_t): Removed.
15836         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
15837         Don't mix declerations and statements.
15838         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
15839         Mark all unused parameters.
15840         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
15841         Get cairographics2d pointer directly.
15842         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
15843         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
15844         Use jlong to pass pointer.
15845         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15846         Mark all unused parameters.
15847         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15848         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
15849         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15850         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
15851         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
15852         * include/java_io_VMFile.h: Regenerated.
15853
15854 2006-06-10  Roman Kennke  <kennke@aicas.com>
15855
15856         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15857         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
15858         instead of setClip(), so that an already present clip is intersected
15859         and not resetted.
15860
15861 2006-06-10  Mark Wielaard  <mark@klomp.org>
15862
15863         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
15864         Call getSize() to avoid accessor method.
15865
15866 2006-06-10  Mark Wielaard  <mark@klomp.org>
15867
15868         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
15869         Qualify ElementSpec.
15870
15871 2006-06-10  Mark Wielaard  <mark@klomp.org>
15872
15873         * lib/.cvsignore: Add sun.
15874         * lib/Makefile.am (dist-hook): Likewise.
15875
15876 2006-06-10  Roman Kennke  <kennke@aicas.com>
15877
15878         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15879         * gnu/java/awt/peer/gtk/CairoSurface.java
15880         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15881         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15882         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
15883         * native/jni/gtk-peer/cairographics2d.h
15884         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15885         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15886         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15887         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
15888         Changed method signatures and calls to pass native pointers directly
15889         into the JNI code, in order to avoid costly lookups on each
15890         JNI call.
15891         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
15892         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
15893         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
15894         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
15895         Regenerated
15896
15897 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15898
15899         PR 27973
15900         * javax/swing/text/DefaultStyledDocument.java 
15901         (ElementBuffer.insertContentTag):
15902         Do not recreate leaves and do not remove elements here. 
15903
15904 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15905
15906         * javax/swing/text/html/HTMLDocument.java
15907         (HTMLReader.HiddenAction): Implemented.
15908
15909 2006-06-10  Roman Kennke  <kennke@aicas.com>
15910
15911         * javax/swing/RepaintManager.java
15912         (getVolatileOffscreenBuffer): Store the created buffer.
15913         * javax/swing/JComponent.java
15914         (paintDoubleBuffered): Try to use a volatile offscreen buffer
15915         for better performance.
15916
15917 2006-06-10  Roman Kennke  <kennke@aicas.com>
15918
15919         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15920         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
15921         context correctly.
15922         (getRealBounds): Overridden to return the correct bounds.
15923
15924 2006-06-10  Roman Kennke  <kennke@aicas.com>
15925
15926         * javax/swing/plaf/metal/MetalButtonUI.java
15927         (update): Fixed to paint the gradient under the correct conditions.
15928         (updateWidthGradient): Removed.
15929         (isToolbarButton): New helper method.
15930         (isDrawingGradient): New helper method.
15931
15932 2006-06-09  Roman Kennke  <kennke@aicas.com>
15933
15934         * javax/swing/JTabbedPane.java
15935         (setSelectedIndex): Don't change the visibility of the components,
15936         this is done by the UI class.
15937         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15938         (TabbedPaneLayout.layoutContainer): Change visibility of component
15939         here, depending on the selected index. Only do this if the new
15940         selected component is not null. Some programs seem to expect
15941         this.
15942         (visibleComponent): New field.
15943         (getVisibleComponent): Changed to return visibleComponent field.
15944         (setVisibleComponent): Changed to set the visibility of
15945         the old and new visible component.
15946
15947 2006-06-09  Roman Kennke  <kennke@aicas.com>
15948
15949         * javax/swing/JComponent.java
15950         (paintChildrenOptimized): Paint component with a new Graphics
15951         object to protect the other painting code from modifications
15952         done in that object, and avoid cleanup ops on possibly dispose()ed
15953         Graphics object.
15954
15955 2006-06-09  Sven de Marothy  <sven@physto.se>
15956
15957         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15958         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
15959         Use GTK locks while disposing (Xlib) surface.
15960
15961 2006-06-09  Tom Tromey  <tromey@redhat.com>
15962
15963         * lib/Makefile.am (install-data-local): Copy 'sun' files.
15964         (uninstall-local): Delete 'sun' directory.
15965         (glibj.zip): Include 'sun' classes.
15966         (clean-local): Delete 'sun' directory.
15967         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
15968
15969 2006-06-09  Roman Kennke  <kennke@aicas.com>
15970
15971         * gnu/java/awt/java2d/AbstractGraphics2D.java
15972         (drawImage): Fixed scaling.
15973         (fillShape): Removed offset handling.
15974         (fillShapeImpl): Limit scanlining to device bounds.
15975         (getSegments): Removed offset handling.
15976         * gnu/java/awt/java2d/PolyEdge.java
15977         (toString): Include isClip flag in output.
15978
15979 2006-06-08  Sven de Marothy  <sven@physto.se>
15980
15981         * java/awt/font/TextLayout.java
15982         (getOutline): Allow null transform.
15983
15984 2006-06-08  Sven de Marothy  <sven@physto.se>
15985
15986         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15987         (drawString): Use TextLayout instead of GlyphVector.
15988
15989 2006-06-08  Sven de Marothy  <sven@physto.se>
15990
15991         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
15992         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15993         New constructor for bidirectionality.
15994         (getGlyphMetrics): Return whitespace glyphs.
15995         (getLogicalBounds): Offset rectangles to correct positions.
15996         * gnu/java/awt/peer/gtk/GdkFontPeer.java
15997         (getBaselineFor): Default to ROMAN_BASELINE.
15998         (GdkFontLineMetrics): Guess some values for underline and 
15999         strikethrough.
16000         (layoutGlyphVector): Use bidirectionality.
16001         * java/awt/font/TextLayout.java: Implement, mostly.
16002         
16003 2006-06-09  Anthony Green  <green@redhat.com>
16004
16005         PR classpath/27888:
16006         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16007         * java/util/Collections.java (binarySearch): Use unsigned shift.
16008         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16009
16010 2006-06-09  Tom Tromey  <tromey@redhat.com>
16011
16012         * tools/.cvsignore: Added .deps.
16013
16014 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16015
16016         PR classpath/27966:
16017         * gnu/javax/security/auth/login/ConfigFileParser.java
16018         (validateClassName): Quote '.' in regexp.
16019
16020 2006-06-09  Tom Tromey  <tromey@redhat.com>
16021
16022         PR classpath/23863:
16023         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16024         finished.
16025         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16026         some includes.  Added <assert.h>.
16027         (_reent, _Bigint): New defines.
16028         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16029         (__ULong, __Long): New types.
16030         (_calloc_r): New function.
16031         (Balloc): Dynamically add new _freelist entries as needed.
16032         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16033         MAX_BIGNUMS to size _x[].
16034         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16035         _allocation_map, num.  Added _max_k.
16036
16037 2006-06-09  Roman Kennke  <kennke@aicas.com>
16038
16039         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16040         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16041         implementations.
16042
16043 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16044
16045         * java/awt/image/BufferedImage.java
16046         (BufferedImage(int, int, int)): Added API docs,
16047         (getProperty(String)): Return correct value for undefined properties,
16048         (getPropertyNames()): Added comments and removed FIXME.
16049
16050 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16051
16052         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16053         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16054
16055 2006-06-09  Francis Kung  <fkung@redhat.com>
16056
16057         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16058         (getPreferredSize): Return correct height for null or empty 
16059         items.
16060
16061 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16062
16063         * java/awt/datatransfer/DataFlavor.java
16064         (readExternal): Mark as stub,
16065         (writeExternal): Likewise,
16066         * java/awt/dnd/DropTargetContext.java
16067         (dropComplete): Mark as stub,
16068         (acceptDrag): Likewise,
16069         (rejectDrag): Likewise,
16070         (acceptDrop): Likewise,
16071         (rejectDrop): Likewise,
16072         (getCurrentDataFlavors): Likewise,
16073         (getTransferable): Likewise,
16074         * java/awt/dnd/DropTargetDropEvent.java
16075         (dropComplete): Mark as stub.
16076
16077 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16078
16079         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16080         (constructor): Do not lowercase the values.
16081         * javax/swing/text/html/HTMLDocument.java
16082         (HTMLReader.addSpecialElement): Implemented.
16083         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16084
16085 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16086
16087         On behalf of Matthew Wringe <mwringe@redhat.com>
16088         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16089         * gnu/javax/crypto/pad/ISO10126.java: New class.
16090         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16091         (getInstance): Added support for ISO-10126 scheme.
16092         (getNames): Likewise.
16093         Cache result for speed.
16094
16095 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16096
16097         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16098         flexible self-test by sub-classes.
16099         (test1BlockSize): New method.
16100
16101 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16102
16103         * javax/swing/plaf/basic/BasicLookAndFeel.java
16104         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16105         * javax/swing/plaf/basic/BasicScrollBarUI.java
16106         (installKeyboardActions): Implemented,
16107         (uninstallKeyboardActions): Implemented,
16108         (getInputMap): New method,
16109         (getActionMap): New method,
16110         (createActionMap): New method,
16111         (installUI): Call installKeyboardActions(),
16112         (uninstallUI): Call uninstallKeyboardActions().
16113         
16114 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16115
16116         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16117         (getActionMap): Use correct key to store action map.
16118
16119 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16120
16121         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16122         (executeInstruction): Added NOT support.
16123
16124 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16125
16126         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16127         New file.
16128
16129 2006-06-08  Tom Tromey  <tromey@redhat.com>
16130
16131         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16132         of 'types'.
16133
16134 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16135
16136         * java/lang/management/RuntimeMXBean.java:
16137         New file.
16138         
16139 2006-06-08  Lillian Angel  <langel@redhat.com>
16140
16141         * native/plugin/gcjwebplugin.cc:
16142         (NP_Shutdown): Freed whitelist_filename.
16143
16144 2006-06-08  Lillian Angel  <langel@redhat.com>
16145
16146         * native/plugin/Makefile.am:
16147         Removed DATA_DIRECTORY.
16148         * native/plugin/gcjwebplugin.cc:
16149         Added new global fields for whitelist_file
16150         and data_directory. Removed WHITELIST_FILE.
16151         (NP_Initialize): Initialized new fields. Also,
16152         Changed to use new fields.
16153         (NP_Shutdown): Freed data_directory.
16154         (GCJ_New): Changed to use new fields.
16155         (plugin_ask_user_about_documentbase): Likewise.
16156
16157 2006-06-08  Lillian Angel  <langel@redhat.com>
16158
16159         * native/plugin/Makefile.am:
16160         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16161         * native/plugin/gcjwebplugin.cc:
16162         Changed all instances of PLUGIN_DATA_DIRECTORY
16163         to DATA_DIRECTORY.
16164
16165 2006-06-08  Roman Kennke  <kennke@aicas.com>
16166
16167         * java/awt/LightweightDispatcher.java
16168         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16169         with convertPointToChild(). This is more efficient and avoids
16170         problems with getLocationOnScreen().
16171         (findTarget): Check for component beeing showing() early.
16172         Simplified AWTUtilities.convertPoint() to a simple substraction
16173         operation.
16174         (convertPointToChild): New helper method.
16175
16176 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16177
16178         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16179         message.
16180
16181 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16182             Lillian Angel  <langel@redhat.com>
16183
16184         * native/plugin/gcjwebplugin.cc
16185         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16186         Also, reset initialized field.
16187
16188 2006-06-08  Lillian Angel  <langel@redhat.com>
16189
16190         * javax/swing/plaf/basic/BasicProgressBarUI.java
16191         (paintString): Fixed to paint string at the correct location.
16192
16193 2006-06-08  Roman Kennke  <kennke@aicas.com>
16194
16195         * javax/swing/plaf/basic/BasicTreeUI.java
16196         (createDefaultActions): Added new actions.
16197         (TreePageAction.TreePageAction): Set action name.
16198         (TreePageAction.actionPerformed): Implemented.
16199         (TreePageAction.isEnabled): Implemented.
16200         (TreeToggleAction.TreePageAction): Set action name.
16201         (TreeToggleAction.actionPerformed): Implemented.
16202         (TreeToggleAction.isEnabled): Implemented.
16203         (TreeTraverseAction.TreeTraverseAction): Set action name.
16204         (TreeTraverseAction.actionPerformed): Use action name as command.
16205         (TreeTraverseAction.isEnabled): Implemented.
16206
16207 2006-06-08  Roman Kennke  <kennke@aicas.com>
16208
16209         * javax/swing/plaf/basic/BasicTreeUI.java
16210         (installKeyboardActions): Rewritten to correctly install the UI
16211         input and action maps.
16212         (getActionMap): New helper method.
16213         (createDefaultActionMap): New helper method.
16214         (TreeHomeAction.TreeHomeAction()): Implemented.
16215         (TreeHomeAction.actionPerformed): Implemented.
16216         (TreeHomeAction.isEnabled): Implemented.
16217         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16218         (TreeIncrementAction.actionPerformed): Use action name as command.
16219         (TreeIncrementAction.isEnabled): Implemented.
16220
16221 2006-06-08  Mark Wielaard  <mark@klomp.org>
16222
16223         PR 27917
16224         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16225         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16226         and unref loader.
16227
16228 2006-06-08  Mark Wielaard  <mark@klomp.org>
16229
16230         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16231         (attrs): Removed unused static.
16232
16233 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16234
16235         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16236         (getInputMap): New method,
16237         (getActionMap): New method,
16238         (createActionMap): New method,
16239         (installKeyboardActions): Implemented,
16240         (uninstallKeyboardActions): Implemented.
16241
16242 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16243
16244         * javax/swing/border/MatteBorder.java:
16245         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16246         throwing.
16247         (paintBorder): Added if-statement to abort painting early.
16248
16249 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16250
16251         Fixes PR27864.
16252         * gnu/xml/dom/DomIterator.java:
16253         (successor): Changed expression.
16254
16255 2006-06-08  Sven de Marothy  <sven@physto.se>
16256
16257         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16258         (defaultLayout): Do kerning.
16259         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16260         (getKerning): Correct class name, removed unused variable.
16261
16262 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16263
16264         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16265         libqtpeer.so unconditionally.
16266
16267 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16268
16269         * java/util/InputMismatchException.java:
16270         Documented.
16271         
16272 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16273
16274         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16275
16276 2006-06-07  Roman Kennke  <kennke@aicas.com>
16277
16278         * javax/swing/plaf/basic/BasicTreeUI.java
16279         (completeUIUninstall): Implemented.
16280         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16281         editing before uninstalling anything.
16282         (isToggleEvent): Implemented.
16283         (selectPathForEvent): Make use of isToggleEvent().
16284         (ComponentHandler.componentMoved): Implemented.
16285         (ComponentHandler.startTimer): Implemented.
16286         (ComponentHandler.getScrollPane): Implemented.
16287         (ComponentHandler.actionPerformed): Implemented.
16288
16289 2006-06-07  Francis Kung  <fkung@redhat.com>
16290
16291         * javax/swing/JMenuBar.java:
16292         (getSubElements): Do not return null values.
16293
16294 2006-06-07  Roman Kennke  <kennke@aicas.com>
16295
16296         PR 27902
16297         * gnu/regexp/BacktrackStack.java
16298         * gnu/regexp/CharIndexed.java
16299         * gnu/regexp/CharIndexedCharArray.java
16300         * gnu/regexp/CharIndexedCharSequence.java
16301         * gnu/regexp/CharIndexedInputStream.java
16302         * gnu/regexp/CharIndexedString.java
16303         * gnu/regexp/CharIndexedStringBuffer.java
16304         * gnu/regexp/RE.java
16305         * gnu/regexp/REException.java
16306         * gnu/regexp/REFilterInputStream.java
16307         * gnu/regexp/REMatch.java
16308         * gnu/regexp/REMatchEnumeration.java
16309         * gnu/regexp/RESyntax.java
16310         * gnu/regexp/REToken.java
16311         * gnu/regexp/RETokenAny.java
16312         * gnu/regexp/RETokenBackRef.java
16313         * gnu/regexp/RETokenChar.java
16314         * gnu/regexp/RETokenEnd.java
16315         * gnu/regexp/RETokenEndOfPreviousMatch.java
16316         * gnu/regexp/RETokenEndSub.java
16317         * gnu/regexp/RETokenIndependent.java
16318         * gnu/regexp/RETokenLookAhead.java
16319         * gnu/regexp/RETokenLookBehind.java
16320         * gnu/regexp/RETokenNamedProperty.java
16321         * gnu/regexp/RETokenOneOf.java
16322         * gnu/regexp/RETokenPOSIX.java
16323         * gnu/regexp/RETokenRange.java
16324         * gnu/regexp/RETokenRepeated.java
16325         * gnu/regexp/RETokenStart.java
16326         * gnu/regexp/RETokenWordBoundary.java
16327         * gnu/regexp/UncheckedRE.java
16328         * gnu/java/util/regex/BacktrackStack.java
16329         * gnu/java/util/regex/CharIndexed.java
16330         * gnu/java/util/regex/CharIndexedCharArray.java
16331         * gnu/java/util/regex/CharIndexedCharSequence.java
16332         * gnu/java/util/regex/CharIndexedInputStream.java
16333         * gnu/java/util/regex/CharIndexedString.java
16334         * gnu/java/util/regex/CharIndexedStringBuffer.java
16335         * gnu/java/util/regex/RE.java
16336         * gnu/java/util/regex/REException.java
16337         * gnu/java/util/regex/REFilterInputStream.java
16338         * gnu/java/util/regex/REMatch.java
16339         * gnu/java/util/regex/REMatchEnumeration.java
16340         * gnu/java/util/regex/RESyntax.java
16341         * gnu/java/util/regex/REToken.java
16342         * gnu/java/util/regex/RETokenAny.java
16343         * gnu/java/util/regex/RETokenBackRef.java
16344         * gnu/java/util/regex/RETokenChar.java
16345         * gnu/java/util/regex/RETokenEnd.java
16346         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16347         * gnu/java/util/regex/RETokenEndSub.java
16348         * gnu/java/util/regex/RETokenIndependent.java
16349         * gnu/java/util/regex/RETokenLookAhead.java
16350         * gnu/java/util/regex/RETokenLookBehind.java
16351         * gnu/java/util/regex/RETokenNamedProperty.java
16352         * gnu/java/util/regex/RETokenOneOf.java
16353         * gnu/java/util/regex/RETokenPOSIX.java
16354         * gnu/java/util/regex/RETokenRange.java
16355         * gnu/java/util/regex/RETokenRepeated.java
16356         * gnu/java/util/regex/RETokenStart.java
16357         * gnu/java/util/regex/RETokenWordBoundary.java
16358         * gnu/java/util/regex/UncheckedRE.java
16359         Moved gnu.regexp classes to gnu.java.util.regex package.
16360         * java/util/regex/Matcher.java
16361         * java/util/regex/Pattern.java
16362         Adjusted import statements for new package name for gnu regexp.
16363
16364 2006-06-07  Tom Tromey  <tromey@redhat.com>
16365
16366         PR classpath/27905:
16367         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16368         Added missing charsets.
16369         (charsetForName): Don't check 'extendedLoaded'.
16370
16371 2006-06-07  Roman Kennke  <kennke@aicas.com>
16372
16373         PR 27833
16374         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16375         (clip(Shape)): Implemented correctly, so that the current shape
16376         gets intersected by the parameter shape.
16377
16378 2006-06-07  Lillian Angel  <langel@redhat.com>
16379
16380         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16381         (getTabBounds): If this method is called with a tab index
16382         that is not in the rects array, we need to re-layout the container
16383         so it is created.
16384
16385 2006-06-07  Lillian Angel  <langel@redhat.com>
16386
16387         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16388         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16389         * java/lang/String.java
16390         (codePointCount): Fixed check to match API. Shouldn't throw exception
16391         if end == count. end is 1 more than the endIndex, so end == count is 
16392         possible.
16393
16394 2006-06-07  Gary Benson  <gbenson@redhat.com>
16395
16396         PR 24895
16397         * native/jni/java-io/java_io_VMFile.c
16398         (Java_java_io_VMFile_toCanonicalForm): New method.
16399         * configure.ac: Added checks for lstat and readlink.
16400         * include/java_io_VMFile.h: Added new method.
16401         * vm/reference/java/io/VMFile.java: Use new method.
16402         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16403         * NEWS: Documented the above.
16404         * java/io/File.java: Javadoc fix.
16405
16406 2006-06-07  Roman Kennke  <kennke@aicas.com>
16407
16408         PR 27920
16409         * javax/swing/JTree.java
16410         (JTree()): Initialize with default model.
16411         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16412         on the updateUI() / setModel() order.
16413         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16414         paths.
16415         * javax/swing/plaf/basic/BasicTreeUI.java
16416         (BasicTreeUI()): Initialize listeners in installListeners().
16417         (setModel): Complete editing on model change. Correctly resetup
16418         the listeners. Update the layout cache accordingly.
16419         (setShowRootHandles): Complete editing and update layout. Do not
16420         call back into the JTree, this could cause cycles.
16421         (prepareForUIInstall): Implemented. Moved some init code from
16422         installUI() to this method.
16423         (completeUIInstall): Implemented. Moved some init code from
16424         installUI() to this method.
16425         (createDefaultCellEditor): Check for type of renderer, and install
16426         with null renderer when not DefaultTreeCellRenderer.
16427         (updateLayoutCacheExpandedNodes): Added null check for tree root
16428         to avoid NPE.
16429         (updateRenderer): Call updateEditor().
16430         (installListeners): Initialize the listeners here. Added some null
16431         checks to avoid NPEs.
16432         (installUI): Moved some init code to prepareForUIInstall() and
16433         completeUIInstall().
16434         (completeEditing): Return immediately if editing component is null
16435         or if the setting is to not stop editing on complete editing.
16436         (checkForClickInExpandControl): Call handleExpandControlClick()
16437         instead of toggleExpandState() directly.
16438         (isLocationInExpandControl): Rewritten to correctly determine the
16439         expand click location.
16440         (MouseHandler.mousePressed): Rewritten to make better use of the
16441         instance methods of BasicTreeUI to handle the click.
16442         (PropertyHandler.propertyChange): Handle model and cell renderer
16443         updates.
16444         * javax/swing/tree/DefaultTreeCellEditor.java
16445         (DefaultTreeCellEditor): Removed initialization of the icon. This
16446         is done so that the constructor can deal with null renderer as the
16447         RI does. Maybe this needs more fixing.
16448         * javax/swing/tree/TreePath.java
16449         (isDescendant): Fixed this method. The previous version did too
16450         much and compared the wrong things, which lead to a ClassCastException
16451         in equals().
16452         * javax/swing/tree/VariableHeightLayoutCache.java
16453         (update): Do nothing when model is null.
16454         (setModel): Clear the tables and update the layout. Added null
16455         check to prevent NPE.
16456
16457 2006-06-07  Sven de Marothy  <sven@physto.se>
16458
16459         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16460
16461 2006-06-07  Sven de Marothy  <sven@physto.se>
16462
16463         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16464         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16465         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16466         New files.
16467
16468         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16469         (getGlyphVector): Removed native method.
16470         (createGlyphVector, getStringBounds): Use new GV class.
16471
16472         * include/Makefile.am
16473         * native/jni/gtk-peer/Makefile.am
16474         Add new files.
16475
16476         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16477         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16478         (getGlyphVector): Removed native method.
16479         
16480 2006-06-07  Chris Burdess  <dog@gnu.org>
16481
16482         * gnu/classpath/debug/TeeInputStream.java,
16483           gnu/classpath/debug/TeeOutputStream.java,
16484           gnu/classpath/debug/TeeReader.java,
16485           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16486         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16487           read more characters than absolutely necessary in tryRead method.
16488
16489 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16490
16491         * examples/gnu/classpath/examples/swing/Demo.java:
16492         (mkMenuBar): Put look and feel radio buttons into 
16493         appropriate button group.
16494
16495 2006-06-07  Chris Burdess  <dog@gnu.org>
16496
16497         * gnu/xml/stream/SAXParser.java,
16498           gnu/xml/stream/XMLParser.java: Add command line options for setting
16499           parsing parameters (for simpler debugging).
16500         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16501           closing output stream is propagated to application.
16502
16503 2006-06-06  Mark Wielaard  <mark@klomp.org>
16504
16505         PR 27917
16506         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16507         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16508         call disposeSurface.
16509         (disposeSurface): New native method.
16510         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16511         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16512         pattern_pixels.
16513         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16514         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16515         cairo_pattern_destroy.
16516         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16517         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16518         New function to destroy the surface.
16519         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16520         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16521         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16522
16523 2006-06-06  Mark Wielaard  <mark@klomp.org>
16524
16525         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16526         with JNICALL.
16527
16528 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16529
16530         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16531         (paint): If has focus, paint special background color,
16532         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16533         (FocusHandler.focusGained): Implemented,
16534         (FocusHandler.focusLost): Implemented.
16535
16536 2006-06-06  Tom Tromey  <tromey@redhat.com>
16537
16538         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16539         Javadoc fix.
16540         (writeAttributeSet): Implemented.
16541
16542 2006-06-06  Tom Tromey  <tromey@redhat.com>
16543
16544         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16545         Implement.
16546         (SpecialAction.end): Removed.
16547         (IsindexAction.end): Likewise.
16548
16549 2006-06-06  Tom Tromey  <tromey@redhat.com>
16550
16551         * include/jni.h (JDK1_1InitArgs): New struct.
16552         (JDK1_1AttachArgs): Likewise.
16553
16554 2006-06-06  Tom Tromey  <tromey@redhat.com>
16555
16556         * java/security/UnresolvedPermission.java (getUnresolvedType): New
16557         method.
16558         (getUnresolvedName): New method.
16559         (getUnresolvedActions): New method.
16560         (getUnresolvedCerts): New method.
16561
16562 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16563
16564         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16565         (getColor): Removed debugging code.
16566
16567 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16568
16569         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16570         (getColor): Added support for "rgb(red, green, blue)" notation.
16571         (translateTag): Use Boolean.TRUE, not new Boolean().
16572
16573 2006-06-06  Roman Kennke  <kennke@aicas.com>
16574
16575         PR 27651
16576         * javax/swing/JTree.java
16577         (JTree(TreeModel)): Call updateUI() before setModel().
16578         (setModel): Don't call updateUI here.
16579
16580 2006-06-06  Lillian Angel  <langel@redhat.com>
16581         
16582         * native/plugin/gcjwebplugin.cc:
16583         Fixed failure message and commenting.
16584         (NP_Initialize): Added more comments.
16585
16586 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16587
16588         * javax/swing/JSplitPane.java
16589         (AccessibleJSplitPane): API doc fixes,
16590         (setDividerLocation): Likewise,
16591         * javax/swing/plaf/basic/BasicLookAndFeel.java
16592         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16593         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16594         (getInputMap): New method,
16595         (getActionMap): New method,
16596         (createActionMap): New method,
16597         (installKeyboardActions): Implemented,
16598         (uninstallKeyboardActions): Implemented.
16599
16600 2006-06-06  Roman Kennke  <kennke@aicas.com>
16601
16602         PR 27523
16603         * javax/swing/MenuSelectionManager.java
16604         (processKeyEvent): Added check to avoid
16605         ArrayIndexOutOfBoundsException.
16606
16607 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16608
16609         * gnu/javax/swing/text/html/htmlAttributeSet.java
16610         (getAttributeNames): Rewritten
16611
16612 2006-06-06  Chris Burdess  <dog@gnu.org>
16613
16614         * gnu/xml/transform/TransformerImpl.java: Check type of created
16615           document (more cases).
16616
16617 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16618
16619         * gnu/javax/swing/text/html/htmlAttributeSet.java
16620         (clone): New method. (copyAttributes): New method.
16621         (getResolveParent): Comment fix. (getAttribute):
16622         Rewritten. (addAttribute): Rewritten.
16623         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16624         New file.
16625
16626 2006-06-06  Roman Kennke  <kennke@aicas.com>
16627
16628         PR 27522
16629         * javax/swing/JMenuBar.java
16630         (processKeyBindingHelper): Added null check to prevent NPE.
16631
16632 2006-06-06  Roman Kennke  <kennke@aicas.com>
16633
16634         * javax/swing/plaf/basic/BasicInternalFrameUI.java
16635         (ShowSystemMenuAction): New class.
16636         (installKeyboardActions): Implemented.
16637         (uninstallKeyboardActions): Implemented.
16638         * javax/swing/plaf/metal/MetalInternalFrameUI.java
16639         (installKeyboardActions): Overridden to remove showSystemMenu action.
16640
16641 2006-06-06  Chris Burdess  <dog@gnu.org>
16642
16643         * gnu/xml/transform/TransformerImpl.java: Check type of created
16644           document.
16645
16646 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16647
16648         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16649         (getScreenDevices): Added explicit cast.
16650
16651 2006-06-06  Roman Kennke  <kennke@aicas.com>
16652
16653         * javax/swing/plaf/basic/BasicTextUI.java
16654         (installKeyboardActions): Use shared input map. Correctly
16655         install the input/action maps in the component's input/action
16656         map hierarchies.
16657         (getActionMap): New helper method for fetching an ActionMap from
16658         the UIManager or creating a default one if there is none supplied
16659         by the UIManager.
16660         (createActionMap): Add the TransferHandler's actions here. Made
16661         method private.
16662         (getInputMap): Leave out unnecessary method parameter. Load
16663         shared input map.
16664         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16665
16666 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16667
16668         * configure.ac: Added missing [ to expression.
16669
16670 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16671
16672         * configure.ac: Added missing { to expression.
16673
16674 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16675
16676         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16677         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16678         * include/Makefile.am: Added
16679         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16680         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16681         (GdkGraphicsConfiguration): Rewritten.
16682         (getColorModel): Rewritten.
16683         (getColorModel(int)): Rewritten.
16684         (getBounds): Rewritten.
16685         (createCompatibleVolatileImage): Implemented.
16686         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16687         initializer.
16688         (getDefaultScreenDevice): Rewritten.
16689         (nativeGetDefaultScreenDevice): New method.
16690         (getScreenDevices): Rewritten.
16691         (nativeGetScreenDevices): New method.
16692         (nativeInitState): New method.
16693         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16694         rewritten.
16695         (X11DisplayMode): New inner class.
16696         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16697         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16698         * native/jni/gtk-peer/gdkdisplay.h: New file.
16699         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16700         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16701         New function.
16702         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16703         New function.
16704         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16705         _nativeGetScreenDevices):
16706         New function.
16707         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16708         _nativeGetDefaultScreenDevice):
16709         New function.
16710         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16711         New file.
16712         * configure.ac: Added check for Xrandr library.
16713
16714 2006-06-06  Roman Kennke  <kennke@aicas.com>
16715
16716         * javax/swing/plaf/basic/BasicTableUI.java
16717         (getMaximumSize): Don't return null. Fixed calculation of
16718         table height.
16719         (getMinimumSize): Don't return null. Fixed calculation of
16720         table height.
16721         (getPreferredSize): Fixed calculation of with and height. Added
16722         API docs.
16723         (getHeight): New helper method.
16724
16725 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16726
16727         * javax/swing/JComponent.java
16728         (getInputMap(int)): Throw IllegalArgumentException for unknown 
16729         condition argument, and added API docs,
16730         (getInputMap()): Added API docs.
16731
16732 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16733
16734         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16735
16736 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16737
16738         * javax/swing/JTable.java
16739         (AccessibleJTableHeaderCell.header): New field,
16740         (AccessibleJTableHeaderCell.columnIndex): Likewise,
16741         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16742         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16743         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16744         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16745         (AccessibleJTable.getAccessibleChild(int)): Overridden,
16746         (AccessibleJTable.getAccessibleAt): Reimplemented.
16747
16748 2006-06-05  Sven de Marothy  <sven@physto.se>
16749
16750         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16751         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16752         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16753         (initFromVolatile): New method.
16754         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16755         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16756         Reimplement.
16757         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16759         (copyArea, drawVolatileImage): New methods.
16760         
16761 2006-06-05  Tania Bento  <tbento@redhat.com>
16762
16763         * javax/swing/JFrame.java
16764         (frameInit): Set background color and fixed layout parameters.
16765
16766 2006-06-05  Tom Tromey  <tromey@redhat.com>
16767
16768         * NEWS: Mention VMURLConnection.
16769
16770 2006-06-05  Lillian Angel  <langel@redhat.com>
16771
16772         * native/plugin/gcjwebplugin.cc:
16773         Added new field to keep track of initialization.
16774         (plugin_start_appletviewer): Fixed to return an error value, if
16775         an error was encountered when loading the appletviewer.
16776         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16777         has failed.
16778         (plugin_failed): New helper function. Shows a warning if the appletviewer
16779         has not been installed.
16780         (NP_Initialize): Added code to make sure this function is only called
16781         once.
16782
16783 2006-06-05  Lillian Angel  <langel@redhat.com>
16784
16785         * native/plugin/Makefile.am:
16786         Fixed to use a set plugin directory in the .mozilla directory.
16787         All applet logs are now stored here, instead of /tmp.
16788         * native/plugin/gcjwebplugin.cc:
16789         Added new fields for security warning.
16790         (GCJ_NEW): Added code to generate a security warning for all pages
16791         that spawn an appletviewer. This warning asks the user if they trust
16792         the applet and if they would like to add it to a 'whitelist'. This
16793         whitelist keeps track of all the addresses the user would like
16794         to trust indefinitely.
16795         (plugin_user_trusts_documentbase): New helper function.
16796         (plugin_add_documentbase_to_whitelist): New helper function.
16797         (plugin_ask_user_about_documentbase): New helper function.
16798         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
16799         has been set.
16800         (plugin_start_appletviewer): Likewise.
16801         (plugin_create_applet_tag):  Reset all fields to null after they have been
16802         freed.
16803         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
16804         if channel_error has been set.
16805         (plugin_stop_appletviewer): Likewise.
16806         (NP_Initialize): Likewise. Also, added code to determine if directory and file
16807         should be created.      
16808
16809 2006-06-05  Francis Kung  <fkung@redhat.com>
16810         
16811         PR 27507
16812         * gnu/java/awt/peer/gtk/GtkImage.java
16813         (getSource): Added check to determine if in
16814         errorLoading state.
16815         * gnu/java/awt/peer/gtk/GtkToolkit.java
16816         (createImage): Added check to prevent NPE.
16817
16818 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16819
16820         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
16821         Create the ImageView, when applicable.
16822         * gnu/javax/swing/text/html/CombinedAttributes.java,
16823         javax/swing/text/html/ImageView.java: New files.
16824
16825 2006-06-05  Roman Kennke  <kennke@aicas.com>
16826
16827         PR 27834
16828         * javax/swing/text/GapContent.java
16829         (setPositionsInRange): Compare with startIndex and endIndex
16830         rather than start and end.
16831         (dumpMarks): Only dump real marks.
16832
16833 2006-06-05  Sven de Marothy  <sven@physto.se>
16834
16835         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
16836         (ComponentGraphics): Use 0,0 as clip origin.
16837         
16838 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16839
16840         * java/util/Formattable.java,
16841         * java/util/FormattableFlags.java,
16842         * java/util/Formatter.java:
16843         Documented.
16844
16845 2006-06-04  Tom Tromey  <tromey@redhat.com>
16846
16847         * javax/naming/Context.java (list): Genericized.
16848         (listBindings): Likewise.
16849         * javax/naming/Reference.java (addrs): Genericized.
16850         * javax/naming/InitialContext.java (myProps): Fixed type.
16851         (init): Genericized.
16852         
16853 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16854
16855         * java/util/DuplicateFormatFlagsException.java,
16856         * java/util/FormatFlagsConversionMismatchException.java,
16857         * java/util/FormatterClosedException.java,
16858         * java/util/IllegalFormatCodePointException.java,
16859         * java/util/IllegalFormatConversionException.java,
16860         * java/util/IllegalFormatException.java,
16861         * java/util/IllegalFormatFlagsException.java,
16862         * java/util/IllegalFormatPrecisionException.java,
16863         * java/util/IllegalFormatWidthException.java,
16864         * java/util/MissingFormatArgumentException.java,
16865         * java/util/MissingFormatWidthException.java,
16866         * java/util/UnknownFormatConversionException.java,
16867         * java/util/UnknownFormatFlagsException.java:
16868         Documented.
16869
16870 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16871
16872         * java/lang/System.java:
16873         (getenv()): Handle cases where split only
16874         returns an array of size 1.
16875         
16876 2006-06-04  Sven de Marothy  <sven@physto.se>
16877
16878         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16879         (createVolatileImage): Pass peer to VolatileImage constructor.
16880         * java/awt/Component.java
16881         (createVolatileImage): Call peer method directly.
16882         
16883 2006-06-04  Sven de Marothy  <sven@physto.se>
16884
16885         * gnu/java/awt/peer/gtk/CairoSurface.java
16886         (getFlippedBuffer): New method.
16887         (getGtkImage): Renamed method.
16888         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
16889         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16890         Renamed getSharedImage to getGtkImage.
16891         * include/gnu_java_awt_peer_gtk_CairoSurface.h
16892         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16893         (getFlippedBuffer): New method
16894         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16895         Avoid window casts.
16896 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16897
16898         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
16899         (drawVolatile): Add casts.
16900         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
16901         (getOutline): Add casts.
16902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16903         Comment out unused prototype.
16904         (getPixels): Add appropriate cast and comment out unused variable.
16905         
16906 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
16907
16908         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
16909         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
16910         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
16911         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
16912         (getSystemInstance): Fix javadoc @link.
16913         (counter): Increased visibility.
16914         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
16915         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
16916         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
16917         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
16918         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
16919         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
16920         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
16921         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
16922         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
16923         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
16924         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
16925         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
16926         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16927         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
16928         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16929         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
16930         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
16931         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
16932         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
16933         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
16934         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
16935         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
16936         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
16937         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
16938         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
16939         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
16940         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
16941         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
16942         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
16943         * gnu/javax/crypto/assembly/Direction.java: Likewise.
16944         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
16945
16946 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
16947
16948         * gnu/java/security/PolicyFile.java: Updated copyright year.
16949         (logger): Increased visibility.
16950         * gnu/java/security/x509/Util.java: Updated copyright year.
16951         (hexDump): Fix javadoc @link.
16952         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
16953         Removed unused import.
16954         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
16955         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
16956         * gnu/java/security/util/ExpirableObject.java: Likewise.
16957         (destroy): Likewise.
16958         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
16959         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
16960         Updated copyright year.
16961         (checkCRL): Fix javadoc @param.
16962
16963 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16964
16965         * java/lang/annotation/IncompleteAnnotationException.java:
16966         Documented.
16967
16968 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16969
16970         * java/lang/ProcessBuilder.java:
16971         Documented.
16972         (environment): Create as a copy.
16973         * java/lang/System.java:
16974         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
16975         New constructor.
16976         (EnvironmentMap.put(String,String)): Override superclass
16977         method with checks for nulls and non-Strings.
16978         
16979 2006-06-02  Sven de Marothy  <sven@physto.se>
16980
16981         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16982         (cairoPreserveClip, cairoResetClip): New methods.
16983         (setClip, clip): Reimplement.
16984         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16985         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16986         (cairoPreserveClip, cairoResetClip): New methods.
16987         
16988 2006-06-02  Sven de Marothy  <sven@physto.se>
16989
16990         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16991         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16992         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16993         New files.
16994         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16995         (drawImage): Overloads for VolatileImage drawing.
16996         (drawVolatile): New method.
16997         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16998         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16999         (drawVolatile): New method.
17000         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17001         Unstub implementation.
17002         * include/Makefile.am
17003         * native/jni/gtk-peer/Makefile.am
17004         Add new files.
17005         * native/jni/gtk-peer/gtkpeer.h
17006         New prototype.
17007         
17008 2006-06-03  Roman Kennke  <kennke@aicas.com>
17009
17010         PR 27418
17011         * javax/swing/plaf/basic/BasicTextUI.java
17012         (damageRange): Added null check to avoid NPE.
17013
17014 2006-06-03  Roman Kennke  <kennke@aicas.com>
17015
17016         * javax/swing/text/PlainView.java
17017         (updateDamage): Check for valid longestLine and initialize if
17018         necessary.
17019
17020 2006-06-03  Mark Wielaard  <mark@klomp.org>
17021
17022         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17023         comments, not C++.
17024
17025 2006-06-02  Sven de Marothy  <sven@physto.se>
17026
17027         PR 27879 
17028         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17029         (copyArea): Implement.
17030         (copyAreaImpl, getRealBounds): New methods.
17031         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17032         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17033         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17034         (copyAreaImpl, getRealBounds): Implement.
17035         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17036         (nativeCopyArea): Reimplement.  
17037         
17038 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17039
17040         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17041         (XTEST_LIBS): New, substitute.
17042         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17043
17044 2006-06-02  Roman Kennke <kennke@aicas.com>
17045
17046         PR 26738
17047         * javax/swing/text/PlainView.java
17048         (updateDamage): Rewritten for correct repainting and revalidating.
17049         (findLongestLine): New helper method.
17050         (getLineLength): New helper method.
17051
17052 2006-06-02  Sven de Marothy  <sven@physto.se>
17053
17054         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17055         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17056         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17057         (nativeCopyArea): Change stride parameter to use # of ints.
17058         (setPixels): Add checks.
17059         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17060         (ComponentGraphics): Set background, clip.
17061         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17062         (Cairographics2D): Don't set clip.
17063         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17064         Add flush.
17065
17066 2006-06-02  Lillian Angel  <langel@redhat.com>
17067
17068         PR 24458
17069         * java/awt/DefaultKeyboardFocusManager.java
17070         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17071         to get the focused window.
17072
17073 2006-06-01  Miriam Schuster  <schmir11@web.de>
17074
17075         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17076         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17077
17078 2006-06-02  Roman Kennke <kennke@aicas.com>
17079
17080         * javax/swing/JTable.java
17081         (columnSelectionChanged): Don't return when there's only one
17082         column (might still need repainting). Correctly calculate
17083         repaint rectangle.
17084         (valueChanged): Use return value of SwingUtilities.computeUnion
17085         as dirty region.
17086
17087 2006-06-01  Keith Seitz  <keiths@redhat.com>
17088
17089         From Martin Platter  <motse@complang.tuwien.ac.at>:
17090         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17091         (executeSet): Fix buffer underflow reading reference ID.
17092         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17093         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17094         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17095         (executeSuperclass): Handle case of Object with ID zero.
17096
17097 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17098
17099         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17100         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17101         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17102         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17103         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17104         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17105         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17106         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17107         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17108         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17109         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17110
17111 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17112
17113         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17114         (Command): Add the shutdown hook.
17115         (doCommand): Remove the shutdown hook.
17116         (ShutdownHook): New class.
17117
17118 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17119
17120         * tools/jarsigner.in: Use @VM_BINARY@.
17121         * tools/keytool.in: Likewise.
17122
17123 2006-06-01  Sven de Marothy  <sven@physto.se>
17124
17125         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17126         (setColor): Update the cairo paint.
17127
17128 2006-06-01  Mark Wielaard  <mark@klomp.org>
17129
17130         * java/util/logging/LogManager.java (createInstance): Always add
17131         original exception on warning.
17132
17133 2006-06-01  Lillian Angel  <langel@redhat.com>
17134
17135         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17136         (prependCodebase): Fixed check. No dirname was ever considered to 
17137         be a file, so every applet fell into the if-statement causing a lot
17138         of classloading problems with the applets.
17139
17140 2006-06-01  Sven de Marothy  <sven@physto.se>
17141
17142         Patch submitted by Boris Dusek.
17143         * native/jni/qt-peer/qtmenupeer.cpp
17144         Fix segfault
17145
17146 2006-06-01  Roman Kennke <kennke@aicas.com>
17147
17148         * javax/swing/JTable.java
17149         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17150         why the behaviour is like it is.
17151         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17152         (AccessibleJTableHeader): New inner class.
17153         (AccessibleJTableHeaderCell): New inner class.
17154         (AccessibleJTable.lastSelectedRow): New field.
17155         (AccessibleJTable.lastSelectedColumn): New field.
17156         (AccessibleJTable.caption): New field.
17157         (AccessibleJTable.summary): New field.
17158         (AccessibleJTable.rowDescriptions): New field.
17159         (AccessibleJTable.columnDescriptions): New field.
17160         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17161         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17162         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17163         (AccessibleJTable.addAccessibleSelection): Implemented.
17164         (AccessibleJTable.removeAccessibleSelection): Implemented.
17165         (AccessibleJTable.clearAccessibleSelection): Implemented.
17166         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17167         (AccessibleJTable.valueChange): Implemented.
17168         (AccessibleJTable.tableRowsInserted): Implemented.
17169         (AccessibleJTable.tableRowsDeleted): Implemented.
17170         (AccessibleJTable.handleRowChange): New helper method.
17171         (AccessibleJTable.columnAdded): Implemented.
17172         (AccessibleJTable.columnMarginChanged): Implemented.
17173         (AccessibleJTable.columnMoved): Implemented.
17174         (AccessibleJTable.columnRemoved): Implemented.
17175         (AccessibleJTable.columnSelectionChanged): Implemented.
17176         (AccessibleJTable.handleColumnChange): New helper method.
17177         (AccessibleJTable.editingCanceled): Implemented.
17178         (AccessibleJTable.editingStopped): Implemented.
17179         (AccessibleJTable.getAccessibleRow): Implemented.
17180         (AccessibleJTable.getAccessibleColumn): Implemented.
17181         (AccessibleJTable.getAccessibleIndex): Implemented.
17182         (AccessibleJTable.getAccessibleCaption): Implemented.
17183         (AccessibleJTable.setAccessibleCaption): Implemented.
17184         (AccessibleJTable.getAccessibleSummary): Implemented.
17185         (AccessibleJTable.setAccessibleSummary): Implemented.
17186         (AccessibleJTable.getAccessibleRowCount): Implemented.
17187         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17188         (AccessibleJTable.getAccessibleAt): Implemented.
17189         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17190         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17191         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17192         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17193         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17194         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17195         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17196         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17197         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17198         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17199         (AccessibleJTable.isAccessibleSelected): Implemented.
17200         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17201         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17202         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17203         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17204         (getAccessibleContext): Register listeners for the accessibility
17205         class on the JTable.
17206
17207 2006-06-01  Sven de Marothy  <sven@physto.se>
17208
17209         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17210         (setPaint): Scale +1 pixel larger.
17211
17212 2006-06-01  Sven de Marothy  <sven@physto.se>
17213
17214         PR 27854
17215         * gnu/java/awt/Buffers.java (getData): Reimplement.
17216         * gnu/java/awt/peer/gtk/CairoSurface.java
17217         (getElem, setElem): Call native methods.
17218
17219 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17220
17221         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17222
17223 2006-06-01  Sven de Marothy  <sven@physto.se>
17224
17225         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17226         (drawImage): Check for zero size.
17227         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17228         (setFont): Declare new native method.
17229         (GdkTextLayout): Read some attributes.
17230         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17231         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17232         (setFont): New native method.
17233         
17234 2006-06-01  Sven de Marothy  <sven@physto.se>
17235
17236         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17237         (updateBufferedImage): Fix some errors.
17238
17239 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17240
17241         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17242         fixes,
17243         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17244         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17245         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17246         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17247         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17248         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17249         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17250         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17251         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17252         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17253         
17254 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17255
17256         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17257         * javax/swing/JEditorPane.java: Likewise,
17258         * javax/swing/JFormattedTextField.java: Likewise,
17259         * javax/swing/JLayeredPane.java: Likewise,
17260         * javax/swing/JScrollPane.java: Likewise,
17261         * javax/swing/JSlider.java: Likewise,
17262         * javax/swing/JSpinner.java: Likewise,
17263         * javax/swing/JTree.java: Likewise,
17264         * javax/swing/JViewport.java: Likewise,
17265         * javax/swing/UIDefaults.java: Likewise,
17266         * javax/swing/UIManager.java: Likewise.
17267         
17268 2006-06-01  Sven de Marothy  <sven@physto.se>
17269
17270         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17271         (BufferedImageGraphics): Cache surfaces.
17272         (updateBufferedImage): Copy directly for certain color models.
17273         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17274         (drawImage): Reimplement.
17275
17276 2006-06-01  Sven de Marothy  <sven@physto.se>
17277
17278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17279         (setPixels): Don't swap, correct size.
17280
17281 2006-05-31  Anthony Green  <green@redhat.com>
17282
17283         PR 27828
17284         * java/net/InetSocketAddress.java: Defer getting the host
17285         name until somebody calls InetSocketAddress.getHostName().
17286         Fix "represenation" typo.
17287
17288 2006-06-01  Sven de Marothy  <sven@physto.se>
17289
17290         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17291         (updateBufferedImage): Simplify.
17292         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17293         (getPixels): Don't swap.
17294
17295 2006-06-01  Sven de Marothy  <sven@physto.se>
17296
17297         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17298         (setGradient): Reimplement.
17299         
17300 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17301
17302         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17303         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17304         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17305         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17306         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17307         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17308         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17309         Likewise.
17310
17311 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17312
17313         * javax/swing/table/JTableHeader.java
17314         (getColumnHeaderRenderer): New method,
17315         (getAccessibleColumnHeaderRenderer): Delegate part to new
17316         getColumnHeaderRenderer() method,
17317         (getLocale): Implemented.
17318
17319 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17320
17321         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17322         (cp_gtk_grab_current_drawable): Rename
17323         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17324         cp_gtk_grab_current_drawable, remove static declaration.
17325         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17326         function.
17327         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17328         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17329         Remove prototype of
17330         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17331         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17332         function.
17333         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17334         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17335         cp_gtk_grab_current_drawable here.
17336
17337 2006-05-31  Sven de Marothy  <sven@physto.se>
17338
17339         Should fix PR 27835
17340         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17341         (updateBufferedImage): Keep within image bounds.
17342
17343 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17344             Andreas Tobler  <a.tobler@schweiz.ch>
17345
17346         * configure.ac: Check for libXrender when the GTK peers are
17347         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17348         X_EXTRA_LIBS.
17349         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17350         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17351         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17352
17353 2006-05-31  Lillian Angel  <langel@redhat.com>
17354
17355         * javax/swing/plaf/basic/BasicProgressBarUI.java
17356         (paintString): Implemented to paint the string vertically.
17357
17358 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17359
17360         * javax/swing/JTable.java
17361         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17362         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17363         value,
17364         (AccessibleJTable.getAccessibleTable()): Likewise,
17365         (getAccessibleContext): Create new context if required.
17366
17367 2006-05-31  Roman Kennke <kennke@aicas.com>
17368
17369         * javax/swing/JTabbedPane.java
17370         (AccessibleJTabbedPane.stateChanged): Implemented.
17371         (Page.getAccessibleStateSet): Implemented.
17372         (Page.getAccessibleIndexInParent): Implemented.
17373         (getAccessibleContext): Add AccessibleJTabbedPane object
17374         as ChangeListener to the JTabbedPane.
17375
17376 2006-05-31  Roman Kennke <kennke@aicas.com>
17377
17378         * javax/swing/JMenuItem.java
17379         (getAccessibleContext): Register accessible object as ChangeListener
17380         to the JMenuItem.
17381         (AccessibleJMenuItem.armed): New field.
17382         (AccessibleJMenuItem.focusOwner): New field.
17383         (AccessibleJMenuItem.pressed): New field.
17384         (AccessibleJMenuItem.selected): New field.
17385         (stateChanged): Implemented.
17386
17387 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17388
17389         * javax/swing/ListSelectionModel.java: Added API docs all over.
17390
17391 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17392
17393         * examples/gnu/classpath/examples/swing/FillRect.java 
17394         (paintComponent): Optionally paint lines rather than rectangles.
17395         (createContent): Added option to test line painting.
17396
17397 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17398
17399         * javax/swing/event/EventListenerList.java
17400         (getListenerList): Updated API docs.
17401
17402 2006-05-30  Sven de Marothy  <sven@physto.se>
17403
17404         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17405         (drawImage): Clip scaled image to dest rectangle.
17406
17407 2006-05-30  Sven de Marothy  <sven@physto.se>
17408
17409         * gnu/java/awt/peer/gtk/CairoSurface.java:
17410         (CairoSurface): Convert pixels properly.
17411         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17412         Remove commented-out lines.
17413
17414 2006-05-30  Sven de Marothy  <sven@physto.se>
17415
17416         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17417         (drawImage): Use Toolkit to convert to BufferedImage.
17418         * gnu/java/awt/peer/gtk/CairoSurface.java
17419         (CairoSurface(GtkImage)): New Constructor.
17420         (getBufferedImage): New method.
17421         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17422         Don't fill background - FIXME.
17423         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17424         Remove unused methods.
17425         * gnu/java/awt/peer/gtk/GtkImage.java:
17426         (pixbuflock): New field. Methods change to use this lock.
17427         * gnu/java/awt/peer/gtk/GtkToolkit.java
17428         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17429         GtkPixbufDecoder.
17430         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17431         (setPixels): Correct length in bytes.
17432
17433 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17434
17435         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17436         System.loadLibrary unconditionally.
17437         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17438         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17439         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17440         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17441
17442 2006-05-30  Mark Wielaard  <mark@klomp.org>
17443
17444         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17445         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17446         Mark unused parameters, remove unused variables.
17447
17448 2006-05-30  Sven de Marothy  <sven@physto.se>
17449
17450         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17451         (copyArea): Implemented.
17452         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17453         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17454         (copyAreaNative): New method.
17455
17456 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17457
17458         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17459         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17460         for non big endian systems.
17461         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17462
17463 2006-05-30  Roman Kennke <kennke@aicas.com>
17464
17465         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17466         * java/awt/TexturePaint.java
17467         (createContext): Implemented.
17468
17469 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17470
17471         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17472         field early.
17473
17474 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17475
17476         * java/awt/Container.java:
17477         (removeAll): Reimplemented, added note.
17478
17479 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17480
17481         * java/awt/Container.java:
17482         (removeAll): Implemented different removal mechanism, added note.
17483
17484 2006-05-30  Lillian Angel  <langel@redhat.com>
17485
17486         PR 27785
17487         * java/awt/Component.java:
17488         (translateEvent): Added handling to translate WindowEvents
17489         * java/awt/Window.java:
17490         Removed unneeded imports.
17491
17492 2006-05-30  Mark Wielaard  <mark@klomp.org>
17493
17494         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17495         cairographics2d.h.
17496
17497 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17498
17499         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17500
17501 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17502
17503         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17504         (clearRect): Do not reuse the fg field, call updateColor.
17505         (drawRaster): Likewise.
17506         (setColor): Call updateColor.
17507         (updateColor): New method.
17508
17509 2006-05-30  Mark Wielaard  <mark@klomp.org>
17510
17511         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17512         (PTR_TO_JLONG): Likewise.
17513         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17514         (getPointer): Use new conversion macros.
17515         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17516         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17517         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17518         Likewise.
17519         (setNativeObject): Likewise.
17520         (getNativeObject): Likewise.
17521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17522         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17523         Mark static.
17524         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17525         Correctly cast XID and pointer values.
17526         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17527         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17528         Mark unused variables.
17529         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17530         Likewise.
17531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17532         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17533         Remove unused cairographics2d struct.
17534         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17535         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17536         Use new conversion macros.
17537         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17538
17539 2006-05-30  Mark Wielaard  <mark@klomp.org>
17540
17541         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17542
17543 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17544
17545         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17546         (copy): Do not reuse the fd field.
17547         (setColor): Do not set the color if the parameter
17548         matches fd field.
17549         (translate(double, double): Rewritten to use
17550         AffineTransform.translate. 
17551
17552 2006-05-30  Sven de Marothy  <sven@physto.se>
17553
17554         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17555         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17556         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17557         New files.
17558         * include/Makefile.am
17559         * native/jni/gtk-peer/Makefile.am
17560         Add new files.
17561         * gnu/java/awt/peer/gtk/CairoSurface.java
17562         (getSharedGtkImage): New method.
17563         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17565         Fix copyArea.
17566         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17567         Support a non-xrender context.
17568         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17569         Plug memory leak.
17570         * gnu/java/awt/peer/gtk/GtkImage.java
17571         * include/gnu_java_awt_peer_gtk_GtkImage.h
17572         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17573         (initFromBuffer): New method.   
17574         * native/jni/gtk-peer/gtkpeer.h: 
17575         Remove declarations of previouslyremoved methods.
17576
17577 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
17578
17579         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17580
17581 2006-05-29  Mark Wielaard  <mark@klomp.org>
17582
17583         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17584         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17585         arguments.
17586         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17587         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17588         early. Remove unused return statement in void function.
17589         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17590         ptr early.
17591         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17592         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17593         unused arguments.
17594         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17595         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17596         Likewise.
17597         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17598         Likewise.
17599
17600 2006-05-29  Sven de Marothy  <sven@physto.se>
17601
17602         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17603         (setPixels): Remove superfluous return statement.       
17604
17605 2006-05-29  Sven de Marothy  <sven@physto.se>
17606
17607         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17608         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17609         * gnu/java/awt/peer/gtk/CairoSurface.java
17610         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17611         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17612         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17613         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17614         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17615         * native/jni/gtk-peer/cairographics2d.h
17616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17618         New files.
17619
17620         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17621         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17622         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17623         Removed
17624
17625         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17626         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17627         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17628         (releasePeerGraphicsResource): Moved to Font peer class.
17629
17630         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17631         (createGraphics): Use new context classes.
17632
17633         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17634         Use native BufferedImages where possible.
17635
17636         * gnu/java/awt/peer/gtk/GdkTextLayout.java
17637         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17638         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17639         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17640         renamed to cairoDrawGdkTextLayout.
17641         
17642         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17643         (getGraphics): Use ComponentGraphics context.
17644         (createImage): Use native BufferedImage.
17645         
17646         * gnu/java/awt/peer/gtk/GtkImage.java:
17647         * include/gnu_java_awt_peer_gtk_GtkImage.h
17648         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17649         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17650         Remove drawing methods.
17651                 
17652         * gnu/java/awt/print/JavaPrinterGraphics.java:
17653         Use CairoSurface instead of GtkImage.
17654         
17655         * include/Makefile.am
17656         * native/jni/gtk-peer/Makefile.am
17657         Update for new files.
17658
17659         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17660         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17661         Remove superfluous GtkImage code for GdkPixmaps. 
17662
17663         * native/jni/gtk-peer/gtkpeer.h
17664         Remove graphics2d structure.
17665         
17666 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17667
17668         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17669         Do not reuse fg in the constructor.
17670
17671 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
17672
17673         * java/io/ObjectStreamConstants.java: Added API docs.
17674
17675 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17676
17677         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17678         Take no action if this color is already set.
17679
17680 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17681
17682         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17683         Rewritten. 
17684         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17685         Optionally paint with translation. (createContent): Added option
17686         to test painting with translation
17687
17688 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
17689
17690         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17691         pattern to the default value when null.
17692         Pass field pattern, and not parameter with same name to createFileStream.
17693
17694 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17695
17696         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17697         New class implementing the OS bean.
17698         * gnu/java/lang/management/package.html:
17699         New file to document the gnu.java.lang.management package.
17700         * java/lang/management/ManagementFactory.java:
17701         New class to provide access to the OS bean.
17702         * java/lang/management/OperatingSystemMXBean.java:
17703         New interface.
17704         * java/lang/management/package.html:
17705         New file to document the java.lang.management package.
17706         
17707 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17708
17709         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17710         (JKS): Likewise.
17711         (LIB): Likewise.
17712         (SECURITY): Likewise.
17713         (CACERTS): Likewise.
17714         (CACERTS_GKR): Likewise.
17715         (gkrCaCertsPathName): New field.
17716         (jksCaCertsPathName): Likewise.
17717         (selfSignedCertificate): Likewise.
17718         (start): Initialize trusted certificate key stores if -trustcacerts is
17719         specified.
17720         (ensureReplyIsOurs): Initialize selfSignedCertificate.
17721         (orderChain): Implemented.
17722         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17723         certificate key stores if -trustcacerts option is specified.
17724         (findTrustInCACerts): Removed.
17725         (getCertPathParameters): New method.
17726         (validate): New method.
17727         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17728
17729 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17730
17731         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17732         (PATTERN_KEY): Likewise.
17733         (DEFAULT_PATTERN): Likewise.
17734         (LIMIT_KEY): Likewise.
17735         (DEFAULT_LIMIT): Likewise.
17736         (COUNT_KEY): Likewise.
17737         (DEFAULT_COUNT): Likewise.
17738         (APPEND_KEY): Likewise.
17739         (DEFAULT_APPEND): Likewise.
17740         (FileHandler()): Use pattern value as set in logging.properties.
17741         Use constants defined above.
17742         (FileHandler(1)): Use constants defined above.
17743         (FileHandler(2)): Likewise.
17744         (FileHandler(3)): Likewise.
17745         (FileHandler(4)): Likewise.
17746         (createFileStream): Likewise.
17747
17748 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17749
17750         * java/util/logging/FileHandler.java: Reverted previous patch.
17751         * java/util/logging/LogManager.java: Likewise.
17752
17753 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17754
17755         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17756         (DEFAULT_PATTERN): Likewise.
17757         (FileHandler()): Use configured pattern property if any; otherwise use a
17758         default value as per RI documentation.
17759         * java/util/logging/LogManager.java (getStringProperty): New method.
17760
17761 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17762
17763         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17764
17765 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17766
17767         * configure.ac (FOUND_CACAO): New automake conditional.
17768         Add --enable-tool-wrappers.
17769         * NEWS: Introduce the --enable-tool-wrappers option.
17770         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17771         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
17772         rename ...
17773         * tools/toolwrapper.c: New file.
17774
17775 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
17776
17777         * java/awt/Graphics2D.java: Use full class name for 
17778         PrinterJob in javadoc.
17779
17780 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
17781
17782         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17783         (callMouseMethod): Likewise.
17784
17785 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17786
17787         * native/jni/java-net/java_net_VMURLConnection.c:
17788         Fix function declarations to specify unused parameters.
17789         * scripts/check_jni_methods.sh:
17790         Remove copies of the same function using uniq.
17791         
17792 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17793
17794         * vm/reference/java/net/VMURLConnection.java:
17795         Make package-private and final.
17796         
17797 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17798
17799         * examples/gnu/classpath/examples/swing/TableDemo.java
17800         (TModed): Added editor for the icons column.
17801         (createContent): Increase the row height by 2 px.
17802
17803 2006-05-26  Tom Tromey  <tromey@redhat.com>
17804
17805         PR classpath/27685:
17806         * java/math/BigInteger.java (modPow): Correctly handle negative
17807         exponent.
17808
17809 2006-05-26  Tom Tromey  <tromey@redhat.com>
17810
17811         * configure.ac: Check for magic.h and -lmagic.
17812         * vm/reference/java/net/VMURLConnection.java: New file.
17813         * include/java_net_VMURLConnection.h: New file.
17814         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
17815         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
17816         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
17817         Mention new file.
17818         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
17819         * native/jni/java-net/java_net_VMURLConnection.c: New file.
17820
17821 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17822
17823         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
17824
17825 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17826
17827         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
17828         libjawtgnu.la libjawt.la.
17829
17830 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
17831
17832         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17833         gtkcairopeer.h.
17834
17835 2006-05-25  Lillian Angel  <langel@redhat.com>
17836         
17837         PR 26174
17838         * java/awt/Window.java
17839         (Window): Moved code to helper.
17840         (addWindowFocusListener): New function. Handles focus
17841         listener code. Added code to handle focus lost/gained
17842         from the window.
17843
17844 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17845
17846         * configure.ac:
17847         Make pkg-config check for GTK+ >= 2.8.
17848         
17849 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17850
17851         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17852         (flush): Remove debugging printfs.
17853
17854 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17855
17856         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17857         (schedule_flush): New function.
17858         (end_drawing_operation): Call schedule_flush.
17859
17860 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17861
17862         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
17863         paint performance demo.
17864         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
17865
17866 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
17867
17868         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
17869         Cairo version requirement.  Do not mention --enable-gtk-cairo
17870         configure option.
17871         * NEWS: Add entry for GdkGraphics2D.
17872         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
17873         Cairo library and headers.
17874         * .externalToolBuilders/Configure.launch: Remove
17875         --enable-gtk-cairo from configure line.
17876         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
17877         field.
17878         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
17879         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
17880         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
17881         useGraphics2D references.  Always assume Graphics2D is enabled.
17882         * gnu/java/awt/peer/gtk/GdkGraphics.java,
17883         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
17884         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
17885         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
17886         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
17887         useGraphics2D references.  Always assume Graphics2D is enabled.
17888         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
17889         Graphics2D check.  Always assume Graphics2D is enabled.
17890         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
17891         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
17892         (realize): Remove method.
17893         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
17894         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17895         (isRealized): Remove method.
17896         (realize): Implement as a native method.  Remove useGraphics2D
17897         references.  Always assume Graphics2D is enabled.
17898         * gnu/java/awt/peer/gtk/GtkImage.java,
17899         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
17900         GdkGraphics references with GdkGraphics2D references.
17901         * gnu/java/awt/peer/gtk/GtkToolkit.java,
17902         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
17903         useGraphics2D references.  Always assume Graphics2D is enabled.
17904         * include/Makefile.am (GTKPEER_H_FILES): Remove
17905         gnu_java_awt_peer_gtk_GdkGraphics.h.
17906         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
17907         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
17908         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
17909         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
17910         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
17911         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
17912         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
17913         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
17914         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
17915         (AM_LDFLAGS): Remove CAIRO_LIBS.
17916         (AM_CFLAGS): Remove CAIRO_CFLAGS.
17917         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
17918         to ...
17919         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
17920
17921 2006-05-25  Lillian Angel  <langel@redhat.com>
17922
17923         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17924         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
17925         Added check to prevent assertion error. If widget->window is null, then
17926         use the parent widget's window to set the cursor on.
17927
17928 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17929
17930         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
17931         Implemented.
17932
17933 2006-05-24  Lillian Angel  <langel@redhat.com>
17934
17935         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17936         (prependCodeBase): Added check to determine if the documentbase
17937         points to a directory or a file.
17938
17939 2006-05-24  Sven de Marothy  <sven@physto.se>
17940
17941         * java/awt/dnd/DragGestureRecognizer.java
17942         (resetRecognizer): Implement.
17943         (fireDragGestureRecognized): Implement.
17944
17945 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
17946
17947         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
17948         fixed source code formatting.
17949
17950 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17951
17952         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
17953
17954 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17955
17956         Reported by Antony Balkisson.
17957         * javax/swing/JTable.java (selectAll): Return without action 
17958         if the table is empty.
17959
17960 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17961
17962         * examples/gnu/classpath/examples/swing/TableDemo.java:
17963         (SliderCell): New inner class. (setCustomEditors,
17964         setInformativeHeaders): New fields. (createContent):
17965         Rewritten.
17966         * javax/swing/DefaultCellEditor.java 
17967         (JComboBoxDelegate.shouldSelectCell): New method.
17968         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
17969         * javax/swing/plaf/basic/BasicTableUI.java
17970         (MouseInputHandler.mouseClicked): Start editing on a single
17971         click if the cell editor is not a default cell editor.
17972
17973 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17974
17975         * javax/swing/naming/CompositeName.java,
17976         javax/swing/naming/CompoundName.java:
17977         Documented.
17978
17979 2006-05-23  Archie Cobbs  <archie@dellroad.org>
17980
17981         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
17982         ordering problem.
17983
17984 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
17985
17986         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
17987         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
17988         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
17989         * javax/swing/tree/DefaultTreeModel.java: Likewise,
17990         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
17991         * javax/swing/tree/ExpandVetoException.java: Likewise,
17992         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
17993         * javax/swing/tree/RowMapper.java: Likewise,
17994         * javax/swing/tree/TreeNode.java: Likewise,
17995         * javax/swing/tree/TreeSelectionModel.java: Likewise,
17996         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
17997
17998 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
17999
18000         * javax/swing/tree/DefaultTreeCellRenderer.java
18001         (DefaultTreeCellRenderer): Changed key for 
18002         setBackgroundNonSelectionColor(),
18003         plus API docs all over.
18004
18005 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18006         
18007         PR 27680
18008         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18009         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18010         Initialise in constructor. (columnMoved): Cancel editing.
18011         (createDefaultEditors): Rewritten. (editCellAt):
18012         Just invert the value if this is a boolean cell. 
18013         (initialiseLocalVars): Do not initialise renderer and editor tables.
18014         (setUI): Create editors and renderers here.
18015
18016 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18017
18018         * examples/gnu/classpath/examples/awt/Demo.java:
18019         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18020         instance as subframe.
18021         (ResolutionWindow): New inner class.
18022         (FullscreenWindow): New inner class.
18023
18024 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18025         
18026         PR 27680
18027         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18028         Set horizontal alignment to centered.
18029
18030 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18031
18032         * javax/accessibility/AccessibleContext.java
18033         (getAccessibleComponent): Fixed typo in docs,
18034         * javax/swing/JLabel.java:
18035         (AccessibleJLabel.getAccessibleName): Check for explicit 
18036         accessibleName,
18037         * javax/swing/JTableHeader.java
18038         (AccessibleJTableHeaderEntry.columnIndex): New field,
18039         (AccessibleJTableHeaderEntry.parent): New field,
18040         (AccessibleJTableHeaderEntry.table): New field,
18041         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18042         Implemented,
18043         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18044         utility method,
18045         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18046         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18047         (AccessibleJTableHeaderEntry.contains): Implemented,
18048         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18049         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18050         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18051         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18052         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18053         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18054         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18055         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18056         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18057         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18058         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18059         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18060         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18061         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18062         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18063         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18064         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18065         (AccessibleJTableHeaderEntry.getFont): Implemented,
18066         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18067         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18068         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18069         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18070         (AccessibleJTableHeaderEntry.getSize): Implemented,
18071         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18072         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18073         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18074         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18075         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18076         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18077         Implemented,
18078         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18079         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18080         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18081         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18082         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18083         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18084         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18085         (AccessibleJTableHeaderEntry.setFont): Implemented,
18086         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18087         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18088         (AccessibleJTableHeaderEntry.setSize): Implemented,
18089         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18090         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18091         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18092         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18093         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18094
18095 2006-05-22  Tom Tromey  <tromey@redhat.com>
18096
18097         * NEWS: Updated.
18098
18099 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18100
18101         * javax/swing/JLabel.java
18102         (AccessibleJLabel.getAccessibleName): New method (override),
18103         (setLabelFor): Fire 'labelFor' property change event before other
18104         events.
18105
18106 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18107
18108         * javax/swing/JLabel.java
18109         (AccessibleJLabel.getAccessibleRole): New method (override).
18110
18111 2006-05-22  Tom Tromey  <tromey@redhat.com>
18112
18113         * resource/gnu/classpath/tools/serialver/messages.properties: New
18114         file.
18115         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18116         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18117         field.
18118         (classpath): Likewise.
18119         (run): New method.
18120         (main): Use it.
18121         (addFileURL): New method.
18122         (getClassLoader): Likewise.
18123         (printMessage): Likewise.
18124
18125 2006-05-22  Tom Tromey  <tromey@redhat.com>
18126
18127         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18128
18129 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18130
18131         * javax/swing/JTable.java (doLayout): In the column
18132         resize mode, only repaing the changed part of the table.
18133         (getLeftResizingBoundary): New method.
18134
18135 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18136
18137         * javax/naming/spi/InitialContextFactory.java,
18138         javax/naming/spi/InitialContextFactoryBuilder.java,
18139         javax/naming/spi/NamingManager.java,
18140         javax/naming/spi/ObjectFactory.java,
18141         javax/naming/spi/ResolveResult.java,
18142         javax/naming/spi/Resolver.java,
18143         javax/naming/spi/StateFactory.java: Documented.
18144
18145 2006-05-21  Tom Tromey  <tromey@redhat.com>
18146
18147         PR classpath/27688:
18148         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18149         a WorkSet.
18150         (initSet): Removed.
18151         (shouldExtract): Removed.
18152         (run): Updated.
18153         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18154         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18155         method.
18156         (listJar): Use it.
18157         (allItems): New field.
18158         (run): Initialize it.
18159         (listJar): Use it.
18160
18161 2006-05-22  Sven de Marothy  <sven@physto.se>
18162
18163         * java/nio/CharBuffer.java
18164         (wrap): Fix bounds checking.
18165
18166 2004-08-26  Tom Tromey  <tromey@redhat.com>
18167
18168         * java/io/OutputStream.java 
18169         (OutputStream): Implements Closeable, Flushable.
18170
18171 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18172
18173         * java/io/ObjectOutputStream.java:
18174         (writeObject(Object)): Added enum support.
18175         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18176         * java/io/ObjectStreamClass.java:
18177         (isEnum()): New package-private method.
18178         (setFlags(Class)): Added enum support.
18179         * java/io/ObjectStreamConstants.java:
18180         (SC_ENUM): Added.
18181
18182 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18183
18184         * java/io/ObjectInputStream.java:
18185         (parseContent(byte)): Added enum support.
18186         * java/io/ObjectStreamConstants.java:
18187         (TC_ENUM): Added.
18188         (TC_MAX): Changed to new maximum, TC_ENUM.
18189
18190 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18191
18192         * java/beans/beancontext/BeanContextSupport.java:
18193         (instantiateChild(String)): Implemented.
18194         
18195 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18196
18197         * java/beans/beancontext/BeanContextSupport.java:
18198         (add(Object)): Add further documentation.
18199         (isEmpty()): Documented.
18200         (propertyChange(PropertyChangeEvent)): Implemented.
18201         (remove(Object)): Documented.
18202         (remove(Object,boolean)): Documented and implemented.
18203         (vetoableChange(PropertyChangeEvent)): Marked as
18204         implemented (only subclasses appear to need this).
18205         
18206 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18207
18208         * java/beans/beancontext/BeanContextSupport.java:
18209         (add(Object)): Implement support for the child being
18210         a BeanContextChild.
18211         (avoidingGui()): Implemented.
18212         (dontUseGui()): Likewise.
18213         (needsGui()): Likewise.
18214         (okToUseGui()): Likewise.
18215         
18216 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18217
18218         * javax/naming/Context.java,
18219         javax/naming/ContextNotEmptyException.java,
18220         javax/naming/Reference.java: Documented.
18221
18222 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18223
18224         * javax/swing/text/html/MinimalHTMLWriter.java
18225         (writeComponent, writeImage): Declare that the method
18226         may throw the IOException.
18227
18228 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18229         
18230         PR 26972
18231         * javax/naming/InitialContext.java (colon_list): Changed type to
18232         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18233         (merge): Rewritten.
18234
18235 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18236
18237         * javax/naming/InitialContext.java: Documented.
18238
18239 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18240
18241         * javax/naming/NameParser.java,
18242         javax/naming/NamingEnumeration.java,
18243         javax/naming/PartialResultException.java,
18244         javax/naming/SizeLimitExceededException.java,
18245         javax/naming/spi/ObjectFactory.java,
18246         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18247
18248 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18249
18250         * gnu/java/net/loader/JarURLLoader.java:
18251         Use Map.Entry instead of LinkedHashMap.Entry
18252         
18253 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18254
18255         * javax/naming/Context.java: Documented.
18256
18257 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18258
18259         * javax/naming/Referenceable.java: Documented.
18260         * javax/naming/spi/NamingManager.java: Documented.
18261
18262 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18263
18264         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18265         to messages.properties.
18266         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18267         Renamed to messages.properties.
18268         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18269         Likewise.
18270         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18271         Renamed from MessageBundle.properties.
18272         Added copyright notice.
18273         * resource/gnu/classpath/tools/keytool/messages.properties:
18274         Likewise.
18275         * tools/gnu/classpath/tools/jarsigner/Messages.java
18276         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18277         (getFormattedString): Fixed a spelling mistake.
18278         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18279
18280 2006-05-20  Sven de Marothy  <sven@physto.se>
18281
18282         * gnu/java/awt/font/opentype/NameDecoder.java
18283         Made class public.
18284         (getName): Use getShort instead of getChar(), fix PS name.
18285         (decodeName): New method.
18286         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18287         (getSubFamilyName): Implement.
18288         (getPostScriptName): Use the NameDecoder class instead.
18289         (parsePSName): Removed.
18290         (getName): Added
18291
18292 2006-05-20  Sven de Marothy  <sven@physto.se>
18293
18294         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18295         (getTrueTypeTable): New native method.
18296         (getPostScriptName): Reimplement.
18297         (parsePSName): New method.
18298         (getNumGlyphs): Implement.
18299         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18300         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18301         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18302         New function. File is now explicitly dependent on FT2.
18303         
18304 2006-05-20  Tom Tromey  <tromey@redhat.com>
18305
18306         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18307         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18308         file.
18309         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18310         (HandleFile): New class.
18311         (input, output, encoding, reversed): New fields.
18312         (createParser): New method.
18313         (run): Likewise.
18314         (main): Use 'run'.
18315         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18316         (notifyFile): Throws OptionException.
18317
18318 2006-05-20  Tom Tromey  <tromey@redhat.com>
18319
18320         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18321         from cp-tools.
18322
18323 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18324
18325         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18326         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18327         platforms.
18328         
18329 2006-05-20  Sven de Marothy  <sven@physto.se>
18330
18331         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18332         
18333 2006-05-20  Sven de Marothy  <sven@physto.se>
18334
18335         * gnu/java/awt/print/JavaPrinterJob.java 
18336         (print): Use PostScriptGraphics2D.
18337         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18338         
18339 2006-05-20  Sven de Marothy  <sven@physto.se>
18340
18341         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18342         
18343 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18344
18345         * gnu/java/security/OID.java: Updated copyright year.
18346         (OID): Removed unused Javadoc param tag.
18347         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18348         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18349
18350 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18351
18352         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18353         Formatting.
18354         Added trace/debug statements.
18355         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18356         Entry.  Also ensure that any previous entry for this alias is removed
18357         before a new one is added.
18358         (engineGetKey): Do not trace/log passwords.
18359         Trace key's class name only.
18360         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18361         Certificate Entry. Also ensure that previous entry for this alias is
18362         removed before a new one is added.
18363         (engineLoad): Do not trace/log passwords.
18364         (engineStore): Likewise.
18365         (engineSize): Use size of enumeration instead of collection size.
18366
18367 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18368
18369         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18370         (toString): New method.
18371         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18372         Do not trace/log passwords.
18373         Set masked to false before decoding envelope.
18374         Do not set payload to null.
18375         (encrypt): Set masked to true.
18376         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18377         Do not trace/log passwords.
18378         Set masked to false before decoding envelope.
18379         Do not set payload to null.
18380         Added trace/debug statements.
18381         (authenticate): Do not trace/log passwords.
18382         Set masked to true.
18383         Added trace/debug statements.
18384         (getMac): Added trace/debug statements.
18385         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18386         (remove(String)): Changed the signature to return a boolean.
18387         (toString): New method.
18388         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18389         Formatting
18390         (getCertificate): Likewise.
18391         (putCertificate): Likewise.
18392         (load): Likewise.
18393         Do not trace/log passwords.
18394         (store): Likewise.
18395         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18396         Do not trace/log passwords.
18397         Added more trace/logging statements.
18398         (putPrivateKey): Do not trace/log passwords.
18399         Trace only key's class name.
18400         Formatting.
18401         (containsPublicKey): Formatting.
18402         (getPublicKey): Likewise.
18403         Trace only key's class name.
18404         (putPublicKey): Trace only key's class name.
18405         (containsCertPath): Formatting.
18406         (getCertPath): Likewise.
18407         (putCertPath): Likewise.
18408         (load): Do not trace/log passwords.
18409         Formatting.
18410         (store): Likewise.
18411         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18412         (add): Do not set payload to null.
18413         Added trace/debug statements.
18414         (containsAlias): Added trace/debug statements.
18415         (get): Likewise.
18416         (remove(Entry)): Likewise.
18417         (remove(String)): Likewise.
18418         Changed the signature to return a boolean.
18419         Do not set payload to null unless really removed.
18420         (toString): New method.
18421         (decodeEnvelope): Clear entries before proceeding.
18422         (makeAliasList): Added trace/debug statements.
18423         Ensure only non-null aliases and alias-lists are added.
18424         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18425         (TYPES): New constant.
18426         (toString): New method.
18427         (defaultDecode): Add trace/debug statement.
18428
18429 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18430
18431         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18432         Increased visibility.
18433         (setup): Do not trace/log passwords.
18434         (parsed): Was not setting correct (rfc) field; fixed.
18435         (print1Chain): Formatting.
18436         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18437         Do not trace/log passwords.
18438         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18439         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18440         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18441         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18442         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18443         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18444         (orderChain): Added FIXME.
18445         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18446         Do not trace/log passwords.
18447         Removed commented out code.
18448         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18449         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18450         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18451         (setKeystoreURLParam): Likewise.
18452         (setKeystorePasswordParam): Do not trace/log passwords.
18453         (saveKeyStore): Likewise.
18454
18455 2006-05-19  Roman Kennke <kennke@aicas.com>
18456
18457         * gnu/java/awt/java2d/AbstractGraphics2D.java
18458         Added class docs.
18459         (pixel): Removed obsolete field.
18460         (draw(Shape)): Removed commented out code.
18461         (drawImage): Formatting.
18462         (drawString): Added optimization hook.
18463         (setPaint): Removed rawSetForeground().
18464         (getFontRenderContext): Return context with correct transform.
18465         (drawGlyphVector): Draw complete outline in one go.
18466         (copyArea): Added optimization hook.
18467         (clearRect): Added optimization hook.
18468         (drawImage): Added optimization hook.
18469         (fillShape): (Temporarily) Set antialiasing off by default for
18470         font rendering. Adjust the shape by some bits to improve rendering.
18471         Pass clip bounds to the render methods.
18472         (drawPixel): Removed.
18473         (rawSetPixel): Removed.
18474         (rawSetForeground): Removed.
18475         (rawDrawLine): Default impl calls standard pipeline.
18476         (rawDrawString): New method, calls standard pipeline for rendering.
18477         (rawClearRect): New method, calls standard pipeline for rendering.
18478         (rawFillRect): New method, calls standard pipeline for rendering.
18479         (rawDrawImage): New method, calls standard pipeline for rendering.
18480         (rawCopyArea): New method.
18481         (copyAreaImpl): New method.
18482         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18483         for rendering.
18484         (fillShapeAntialias): Fixed AA rendering.
18485         (fillScanlineAA): Fixed AA rendering.
18486         (getSegments): Take offset into account.
18487
18488 2006-05-19  Sven de Marothy  <sven@physto.se>
18489
18490         * javax/swing/text/AbstractWriter.java
18491         (getText): Fix parameters (start, length) not (start, end).
18492         
18493 2006-05-19  Tom Tromey  <tromey@redhat.com>
18494
18495         PR classpath/27444:
18496         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18497         Changed return type.
18498         * java/net/URLClassLoader.java (urlloaders): Removed.
18499         (addURLImpl): Updated.
18500         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18501         (indexSet): Likewise.
18502         (classPath): Changed type.
18503         (JarURLLoader): New constructor.
18504         (initialize): New method.
18505         (getResource): Use index set if it exists.
18506         (getClassPath): Updated.
18507         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18508         (prefixes): New field.
18509         (headers): Removed.
18510         (IndexListParser): Fill in prefixes.
18511         (clearAll): Clear prefixes.
18512         (getHeaders): Changed return type.
18513
18514 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18515
18516         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18517         (MouseInputHandler.mouseExitted): No nothing there.
18518         (MouseInputHandler.endDragging): Move column to the
18519         first/last position if released outside the horizontal
18520         table range.
18521
18522 2006-05-19  Lillian Angel  <langel@redhat.com>
18523
18524         * java/awt/font/GlyphVector.java
18525         (getGlyphCharIndex): Implemented.
18526         (getGlyphCharIndices): Implemented.
18527         (getGlyphOutline): Implemented.
18528         (getGlyphVisualBounds): Implemented.
18529         (getGlyphVisualBounds): Implemented.
18530         (getPixelBounds): Implemented.
18531         (getLayoutFlags): Implemented.
18532
18533 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18534
18535         * java/awt/LightweightDispatcher.java: Added field dragButton and
18536         documentation for it.
18537         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18538         added subexpression to if-clause in MOUSE_RELEASED case.
18539
18540 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18541
18542         * javax/swing/metal/MetalButtonUI.java:
18543         (update): Removed some subexpression from if-clause and call
18544         updateWithGradient.
18545         (updateWithGradient): New method.
18546
18547 2006-05-19  Roman Kennke <kennke@aicas.com>
18548
18549         * javax/swing/JComponent.java
18550         (findOverlapFreeParent): Implemented algorithm for finding
18551         overlapping in component hierarchy.
18552
18553 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
18554
18555         * java/lang/Thread.java
18556         (contextClassLoaderIsSystemClassLoader): New field.
18557         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18558         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18559         and set contextClassLoaderIsSystemClassLoader.
18560         (Thread(ThreadGroup,Runnable,String,long)):
18561         Set contextClassLoaderIsSystemClassLoader.
18562         (createAnonymousThreadName): New method.
18563         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18564         and fixed security check.
18565         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18566
18567 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18568
18569         * javax/swing/plaf/basic/BasicToolBarUI.java:
18570         (createNonRolloverBorder): Rewritten.
18571         (createRolloverBorder): Rewritten.
18572         (setToNonRolloverBorder): Store old border instance in hashtable.
18573         (setToRolloverBorder): Store old border instance in hashtable, use
18574         AbstractButton instead of JButton in statements.
18575         (setBorderToNormal): Rewritten.
18576         * javax/swing/plaf/metal/MetalLookAndFeel.java:
18577         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18578         ToolBar.nonrolloverBorder.
18579
18580 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
18581
18582         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18583         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18584
18585 2006-05-18  Lillian Angel  <langel@redhat.com>
18586
18587         * java/awt/font/GlyphMetrics.java
18588         (getLSB): Implemented.
18589         (getRSB): Implemented.
18590
18591 2006-05-18  Lillian Angel  <langel@redhat.com>
18592
18593         * java/awt/font/GraphicAttribute.java:
18594         Documented entire class.
18595         (GraphicAttribute): Added check for alignment.
18596         (getBounds): Implemented.
18597         (getJustificationInfo): Implemented.
18598
18599 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18600
18601         * java/awt/LightweightDispatcher.java:
18602         (handleMouseEvent): Added note, added subexpression to if-statement.
18603
18604 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18605
18606         * javax/swing/plaf/basic/BasicToolBarUI.java:
18607         (navigateFocusedComp): Marked as stub.
18608         (createRolloverBorder): Create a different Border instance, added note.
18609         * javax/swing/plaf/metal/MetalBorders.java:
18610         (ButtonBorder): Added documentation.
18611         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18612         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18613         subexpression into if-else cascade, added note.
18614
18615 2006-05-18  Lillian Angel  <langel@redhat.com>
18616
18617         * java/awt/font/ShapeGraphicAttribute.java:
18618         Documented entire class.
18619         (ShapeGraphicAttribute): Initialized bounds field.
18620         (draw): Implemented.
18621         (equals): Implemented.
18622         (getAdvance): Implemented.
18623         (getAscent): Implemented.
18624         (getBounds): Implemented.
18625         (getDescent): Implemented.
18626         (hashCode): Implemented.
18627
18628 2006-05-18  Roman Kennke <kennke@aicas.com>
18629
18630         * javax/swing/CellRendererPane.java
18631         (CellRendererPane): Set CellRendererPane to invisible.
18632
18633 2006-05-18  Roman Kennke <kennke@aicas.com>
18634
18635         * gnu/java/awt/peer/gtk/GdkGraphics.java
18636         (clipRect): Removed old intersection statement.
18637
18638 2006-05-18  Roman Kennke <kennke@aicas.com>
18639
18640         * gnu/java/awt/peer/gtk/GdkGraphics.java
18641         (clipRect): Don't use Rectangle.intersection() to avoid creating
18642         2 unnecessary Rectangle instances and fix a clipping problem.
18643         (computeIntersection): New helper method, adapted from SwingUtilities.
18644
18645 2006-05-18  Roman Kennke <kennke@aicas.com>
18646
18647         * javax/swing/JComponent.java
18648         (isCompletelyDirty): Removed.
18649         (paint): Don't mark children as clean, this is no longer necessary.
18650         (findOverlapFreeParent): Don't stop at Viewports, this breaks
18651         painting when something overlaps the viewport (like a popup/menu).
18652         * javax/swing/RepaintManager.java
18653         (currentRepaintManagers): Made package private to avoid accessor
18654         methods.
18655         (dirtyComponents): Made private.
18656         (dirtyComponentsWork): Made private.
18657         (markCompletelyDirty): Fixed bounds of dirtyrect to be
18658         component-local not parent-local. Do not set flag in JComponent.
18659         (markCompletelyClean): Don't set JComponent flag.
18660         (isCompletelyDirty): Rewritten to return true when the complete
18661         component is marked dirty.
18662         (paintDirtyRegions): Improved parent-merging so that the merged-in
18663         components don't get painted too. 'Outsourced' the compilation
18664         of the repaint root components.
18665         (compileRepaintRoots): New helper method.
18666
18667 2006-05-18  Roman Kennke <kennke@aicas.com>
18668
18669         PR 26368
18670         * javax/swing/text/GapContent.java
18671         (GapContentPosition(int)): Use adapted binarySearch method to
18672         allow for having a greater array than number of entries.
18673         (numMarks): New field, holds the end of the marks list.
18674         (GapContent): Initialize positionMarks with size of 10 instead of 0.
18675         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18676         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18677         (setPositionsInRange): Changed signature to narrow the purpose and
18678         special cases inside. Reimplemented to crunch together equal marks.
18679         (adjustPositionsInRange): Added assertion to make sure we do
18680         not accidentally change the order of the mark. Added some debug
18681         output for a special case of which I don't know if it even exists.
18682         (resetMarksAtZero): Made impl simpler.
18683         (dumpMarks): New debug helper method.
18684         (insertMark): Grow array in bigger chunks to avoid excessive copying.
18685         (binarySearch): New method. An adaption of Arrays.binarySearch()
18686         that allows for an maxIndex parameter.
18687
18688 2006-05-18  Roman Kennke <kennke@aicas.com>
18689
18690         * javax/swing/KeyboardManager.java
18691         (topLevelLookup): Use WeakHashMap to avoid memory leak.
18692
18693 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
18694
18695         * gnu/java/net/loader/JarURLLoader.java
18696         (JarURLLoader): Use a slightly more efficient URL constructor.
18697
18698 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
18699
18700         * gnu/java/awt/print/JavaPrinterGraphics.java
18701         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18702         (drawImage(Image, int, int, ImageObserver)): Likewise,
18703         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18704         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18705         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
18706         ImageObserver)): Likewise,
18707         (drawImage(Image, int, int, int, int, int, int, int, int, 
18708         ImageObserver)): Likewise.
18709
18710 2006-05-17  Tom Tromey  <tromey@redhat.com>
18711
18712         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18713         LinkedHashSet.
18714
18715 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18716
18717         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18718         * javax/swing/border/BevelBorder.java: Likewise,
18719         * javax/swing/border/CompoundBorder.java: Likewise,
18720         * javax/swing/border/TitledBorder.java: Likewise.
18721
18722 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18723
18724         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18725         * javax/swing/table/DefaultTableModel.java: Likewise,
18726         * javax/swing/table/TableCellEditor.java: Likewise,
18727         * javax/swing/table/TableCellRenderer.java: Likewise.
18728
18729 2006-05-17  Lillian Angel  <langel@redhat.com>
18730
18731         * java/awt/font/ImageGraphicAttribute.java:
18732         Documented entire class.
18733         (ImageGraphicAttribute): Changed to call this.
18734         (ImageGraphicAttribute): Implemented.
18735         (draw): Implemented.
18736         (equals): Implemented.
18737         (getAdvance): Implemented.
18738         (getAscent): Implemented.
18739         (getBounds): Implemented.
18740         (getDescent): Implemented.
18741         (hashCode): Implemented.
18742         * javax/swing/text/html/HTMLDocument.java
18743         (create): Removed. Sufficent enough for
18744         super to be called.
18745         (insert): Likewise.
18746         (insertUpdate): Likewise.
18747         (processHTMLFrameHyperlinkEvent): Marked as stub.
18748         (start): Removed FIXME.
18749         (end): Likewise.
18750         (start): Called super. 
18751         (end): Called super.
18752         (getElement): removed unneeded code.
18753         (setParagraphAttribute): Removed. Sufficent enough
18754         for super to be called.
18755         (fireChangedUpdate): Likewise.
18756         (fireUndoableEditUpdate): Likewise.     
18757
18758 2006-05-17  Lillian Angel  <langel@redhat.com>
18759
18760         * java/awt/TexturePaint.java:
18761         Added documentation for class and all functions.
18762         (getTransparency): Implemented.
18763
18764 2006-05-17  Roman Kennke <kennke@aicas.com>
18765
18766         * java/awt/LightweightDispatcher.java
18767         (findTarget): Translate point to child components.
18768
18769 2006-05-17  Roman Kennke <kennke@aicas.com>
18770
18771         PR 26368
18772         * javax/swing/text/GapContent.java
18773         (GapContentPosition): Do no more implement Comparable.
18774         (GapContentPosition.mark): Removed field.
18775         (GapContentPosition.index): New field to hold the index into
18776         the positions array.
18777         (GapContentPosition(int)): Rewritten to use the new indirection
18778         to the positions array.
18779         (GapContentPosition.compareTo): Removed.
18780         (GapContentPosition.getOffset): Synchronized. Fetch mark from
18781         positionMarks array.
18782         (WeakPositionComparator): Removed obsolete class.
18783         (positions): Changed type to WeakHashMap.
18784         (positionMarks): New field, holds the marks of the positions.
18785         (GapContent): Initialize new fields.
18786         (createPosition): Rewritten to use the new indirection
18787         to the positions array.
18788         (getPositionsInRange): Rewritten to use the new indirection
18789         to the positions array.
18790         (setPositionsInRange): Rewritten to use the new indirection
18791         to the positions array.
18792         (adjustPositionsInRange): Rewritten to use the new indirection
18793         to the positions array.
18794         (insertMark): New helper method.
18795         (clearPositionReferences): Removed obsolete methods.
18796
18797 2006-05-17  Lillian Angel  <langel@redhat.com>
18798
18799         * java/awt/GraphicsConfiguration.java
18800         (getImageCapabilities): Implemented.
18801         (getBufferCapabilities): Implemented.
18802
18803 2006-05-17  Lillian Angel  <langel@redhat.com>
18804
18805         * javax/swing/plaf/basic/BasicSliderUI.java
18806         (focusGained): Implemented.
18807         (focusLost): Implemented.
18808         (paint): Added code to paint the focus.
18809         * javax/swing/plaf/metal/MetalSliderUI.java
18810         (paintThumb): Added code to set the thumbColor.
18811         (paintFocus): Implemented properly.
18812
18813 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18814
18815         PR 27383
18816         * javax/naming/spi/NamingManager.java (getURLContext):
18817         Always search for the factory class in all possible places
18818         and use VMStackWalker.
18819         (forName): New method.
18820
18821 2006-05-17  Roman Kennke <kennke@aicas.com>
18822
18823         * java/awt/LightweightDispatcher.java
18824         (handleMouseEvent): Fixed search algorithm for finding the
18825         mouse event target.
18826         (findTarget): Fixed search algorithm for finding the
18827         mouse event target.
18828
18829 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18830
18831         * javax/naming/spi/NamingManager.java: Documented.
18832
18833 2006-05-17  Mark Wielaard  <mark@klomp.org>
18834
18835         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
18836         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
18837         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
18838         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
18839
18840 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18841
18842         Fixes PR 26947.
18843         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
18844         year.
18845         (BorderListener.mouseClicked): Detect double-clicks in title pane,
18846         copied code from
18847         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
18848
18849 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
18850
18851         Fixes PR 27626.
18852         * java/awt/LightweightDispatcher.java:
18853         (handleMouseEvent): Moved assignment into switch-block, added notes.
18854
18855 2006-05-16  Lillian Angel  <langel@redhat.com>
18856
18857         * javax/swing/text/StyleContext.java:
18858         Changed staticAttributeKeys  to be a Hashtable.
18859         (getStaticAttribute): Implemented.
18860         (getStaticAttributeKey): Implemented.
18861         (readAttributeSet): Implemented.
18862         (writeAttributeSet): Added FIXME. Not sure how
18863         to implement this.
18864         (readAttributes): Implemented.
18865         (writeAttributes): Implemented.
18866         (registerStaticAttibuteKey): Fixed to add key to 
18867         the hash table.
18868
18869 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
18870
18871         * javax/swing/DefaultButtonModel.java
18872         (setGroup): Removed event notification.
18873
18874 2006-05-16  Lillian Angel  <langel@redhat.com>
18875
18876         * javax/swing/plaf/basic/BasicComboBoxUI.java
18877         (installKeyboardActions): Implemented.
18878         (uninstallKeyboardActions): Implemented.
18879         * javax/swing/plaf/basic/BasicComboPopup.java
18880         (uninstallKeyboardActions): Removed FIXME. Nothing
18881         to be done here.
18882         (installKeyboardActions): Likewise.
18883         * javax/swing/plaf/basic/BasicTextUI.java
18884         (uninstallKeyboardActions): Implemented.
18885         * javax/swing/plaf/basic/BasicTreeUI.java:
18886         Added field for hashColor.
18887         Marked stub methods.
18888         (getHashColor): Implemented to use field.
18889         (setHashColor): Likewise.
18890         (getRowX): Implemented.
18891         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
18892
18893 2006-05-16  Roman Kennke <kennke@aicas.com>
18894
18895         PR 26521
18896         * javax/swing/JTable.java
18897         (rowHeights): New field.
18898         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
18899         in order to initialize rowHeights correctly.
18900         (tableChanged): Nullify rowHeights when model changes. Only
18901         create default columns from model when corresponding property
18902         is set. Sync table model with rowHeights as appropriate.
18903         (valueChanged): Call repaint with the correct rectangle.
18904         (rowAtPoint): Handle rowHeights.
18905         (getCellRect): Mostly rewritten. Check for boundaries
18906         of model and return (0,0,0,0) or (0,0,width,height) when outside.
18907         Handle component orientation. Round correctly.
18908         (getRowHeight(int)): Implemented for variable row height.
18909         (setRowHeight(int,int)): Implemented for variable row height.
18910         (setRowHeight(int)): Nullify rowHeights.
18911         (setModel): Notify tableChanged().
18912         * javax/swing/plaf/basic/BasicTableUI.java
18913         (installDefaults): Create rendererPane in installUI.
18914         (installUI): Create and install rendererPane.
18915         (uninstallUI): Uninstall rendererPane and nullify rendererPane
18916         and table.
18917         (paint): Correctly handle rowMargin.
18918
18919 2006-05-16  Tom Tromey  <tromey@redhat.com>
18920
18921         PR classpath/27563:
18922         * java/text/NumberFormat.java (getIntegerInstance): Use
18923         "integerFormat", not "numberFormat".
18924
18925 2006-05-16  Lillian Angel  <langel@redhat.com>
18926
18927         * javax/swing/JPopupMenu.java
18928         (addMenuKeyListener): Implemented.
18929         (removeMenuKeyListener): Implemented.
18930         (getMenuKeyListeners): Implemented.
18931         * javax/swing/ProgressMonitor.java:
18932         Added new protected field.
18933         (getAccessibleContext): Implemented.
18934
18935 2006-05-16  Lillian Angel  <langel@redhat.com>
18936
18937         * javax/swing/JFileChooser.java:
18938         Added new private field.
18939         (setDragEnabled): Implemented.
18940         (getDragEnabled): Implemented.
18941
18942 2006-05-16  Lillian Angel  <langel@redhat.com>
18943
18944         * java/awt/Window.java
18945         (applyResourceBundle): Implemented.
18946
18947 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
18948
18949         * javax/swing/DefaultButtonModel.java
18950         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
18951         states also.
18952
18953 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18954
18955         * javax/swing/JList.java (getSelectedValues):
18956         Ask the value for the indexed array element.
18957
18958 2006-05-16  Roman Kennke <kennke@aicas.com>
18959
18960         * javax/swing/JTable.java
18961         (valueChanged): Also repaint when table has only 1 row. Fixed
18962         repaint rectangle to span the entire changed rows.
18963
18964 2006-05-16  Roman Kennke <kennke@aicas.com>
18965
18966         PR 24031
18967         * javax/swing/JOptionPane.java
18968         (startModal): Rewritten. The events are now dispatched, even
18969         when the event dispatch thread gets blocked by the call
18970         to this method. Also, mouse events get intercepted outside the
18971         internal frame.
18972
18973 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18974
18975         * javax/swing/plaf/basic/BasicInternalFrameUI.java
18976         (BorderListener.mouseDragged):Do not set cursor 
18977         if the frame is being dragged.
18978
18979 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18980
18981         * javax/swing/plaf/basic/BasicInternalFrameUI.java
18982         (BorderListener): Rewritten. (InternalFrameBorder):
18983         Made package private.
18984         (InternalFrameBorder.offset):
18985         Renamed to cornerSize, made package private.
18986         (bSize): Made package private.
18987
18988 2006-05-16  Roman Kennke <kennke@aicas.com>
18989
18990         * javax/swing/JMenu.java
18991         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
18992         (AccessibleJMenu.getAccessibleChild): Implemented.
18993         (AccessibleJMenu.getAccessibleSelection): Implemented.
18994         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
18995         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
18996         (AccessibleJMenu.getAccessibleRole): Documented.
18997         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
18998         (AccessibleJMenu.addAccessibleSelection): Implemented.
18999         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19000         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19001         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19002         (createPath): New helper method.
19003
19004 2006-05-15  Tom Tromey  <tromey@redhat.com>
19005
19006         * java/text/MessageFormat.java (format): Now varargs.
19007
19008 2006-05-15  Tom Tromey  <tromey@redhat.com>
19009
19010         * java/lang/Thread.java (State): Fixed typo.
19011
19012 2006-05-15  Tom Tromey  <tromey@redhat.com>
19013
19014         * java/net/URLClassLoader.java: Moved inner classes to
19015         gnu.java.net.loader.
19016         (factoryCache): Changed type.
19017         (URL_LOADER_PREFIX): New constant.
19018         (URLClassLoader): Updated for new factoryCache.
19019         (addURLImpl): Use reflection to search for a loader.
19020         (findClass): Use getClass method on URLLoader.
19021         (getURLStreamHandler): Removed.
19022         * gnu/java/net/loader/URLLoader.java: New file, extracted
19023         from URLClassLoader.
19024         * gnu/java/net/loader/Resource.java: Likewise.
19025         * gnu/java/net/loader/FileResource.java: Likewise.
19026         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19027         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19028         * gnu/java/net/loader/JarURLResource.java: Likewise.
19029         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19030         * gnu/java/net/loader/RemoteResource.java: Likewise.
19031         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19032
19033 2006-05-15  Sven de Marothy  <sven@physto.se>
19034
19035         * native/target/generic/target_generic_network.h: 
19036         Add a pair of parenthesis.
19037
19038 2006-05-15  Mark Wielaard  <mark@klomp.org>
19039
19040         * java/awt/Graphics2D.java: Remove PrinterJob import.
19041
19042 2006-05-15  Mark Wielaard  <mark@klomp.org>
19043
19044         * doc/www.gnu.org/announce/20060515.wml: New file.
19045         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19046         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19047
19048 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19049
19050         * NEWS: Announce inclusion of gcjwebplugin.
19051         Announce inclusion of appletviewer.
19052         * INSTALL: Note gcjwebplugin dependencies.
19053
19054 2006-05-15  Mark Wielaard  <mark@klomp.org>
19055
19056         * configure.ac (VERSION): Set to 0.91-generics.
19057
19058 2006-05-15  Mark Wielaard  <mark@klomp.org>
19059
19060         * NEWS: Add release date and VMClassLoader.getBootPackages()
19061         changes.
19062
19063 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19064
19065         * README: Added CACAO to list of VMs.
19066
19067 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19068
19069         * javax/swing/RepaintManager.java (paintDirtyRegions):
19070         Break loop as soon as the component repaint is merged
19071         with some parent. (ComponentComparator): Removed.
19072         (comparator): Removed.
19073
19074 2006-05-15  Roman Kennke <kennke@aicas.com>
19075
19076         * javax/swing/border/TitledBorder.java
19077         (paintBorderWithTitle): Fixed indentation.
19078
19079 2006-05-15  Roman Kennke <kennke@aicas.com>
19080
19081         * javax/swing/border/TitledBorder.java
19082         (layoutBorderWithTitle): Fetch border using getBorder() instead
19083         of using the border field directly. Allows for the use of
19084         an UI supplied border in the case when a null border was set.
19085         Fixed component orientation.
19086         (paintBorderWithTitle): Fetch border using getBorder() instead
19087         of using the border field directly. Allows for the use of
19088         an UI supplied border in the case when a null border was set.
19089
19090 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19091
19092         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19093         (contains): New method.
19094
19095 2006-05-15  Tom Tromey  <tromey@redhat.com>
19096
19097         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19098         argument indices.
19099         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19100         argument indices.
19101
19102 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19103
19104         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19105          JViewport's.
19106         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19107         region. (paintDirtyRegions): Rewritten.
19108
19109 2006-05-15  Tom Tromey  <tromey@redhat.com>
19110
19111         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19112         MessageFormat.
19113         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19114         MessageFormat.
19115         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19116         (run): Use MessageFormat.
19117         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19118         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19119         (writeFile): Use MessageFormat.
19120
19121 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19122
19123         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19124         instead of directly calling the class loader.
19125
19126 2006-05-15  Tom Tromey  <tromey@redhat.com>
19127
19128         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19129         Removed old comment.
19130         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19131         Externalized strings.
19132         (getVersionString): Use MessageFormat.
19133         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19134         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19135         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19136         (getArgument): Use a MessageFormat.
19137         (handleLongOption): Likewise.
19138         (parse): Likewise.
19139
19140 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19141
19142         Fixes PR 27197.
19143         * javax/swing/text/FieldView.java:
19144         (paint): Calculate intersection between clip and allocation area and
19145         set that as new clip.
19146
19147 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19148
19149         * javax/swing/text/JTextComponent.java: Marked stub methods.
19150
19151 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19152
19153         * javax/swing/JTable.java: Marked stub methods.
19154
19155 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19156
19157         * tools/gnu/classpath/tools/jarsigner/Main.java:
19158         Increased visibility of fields used by parser anonymous classes.
19159         (KEYTOOL_TOOL): New constant.
19160         (cmdLineParser): Changed type to ToolParser.
19161         (fileAndAlias): new field.
19162         (main): Don't catch OptionException.
19163         (processArgs): Removed validation checks; now handled by ToolParser.
19164         (getParser): Removed.
19165         (ToolParserCallback): New inner class.
19166         (ToolParser): Likewise.
19167
19168 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19169
19170         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19171         Removed.
19172
19173 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19174
19175         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19176         endResizingFrame): Do not repaint, unless in the outline mode.
19177
19178 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19179
19180         * javax/swing/JTabbedPane.java
19181         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19182         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19183         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19184         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19185         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19186         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19187         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19188         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19189         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19190         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19191         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19192         (Page.getAccessibleName): Implemented.
19193
19194 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19195
19196         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19197         Do not repaint nor revalidate here.
19198
19199 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19200
19201         * javax/swing/RepaintManager.java (addDirtyRegion):
19202         If there is a lightweight parent, recursively add the corresponding
19203         region of the parent instead.
19204
19205 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19206
19207         * java/awt/Graphics2D.java: Added some API doc comments.
19208
19209 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19210
19211         * javax/swing/JTabbedPane.java
19212         (paramString): Reimplemented,
19213         (getAccessibleContext): Added API docs.
19214
19215 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19216
19217         * javax/swing/JFileChooser.java
19218         (paramString): Reimplemented,
19219         (getAccessibleContext): Updated API docs,
19220         (AccessibleJFileChooser): Added API docs.
19221
19222 2006-05-14  Tom Tromey  <tromey@redhat.com>
19223
19224         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19225         OptionException.
19226         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19227         OptionException.
19228         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19229         OptionException.
19230         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19231         validation to JarParser.
19232         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19233         (run): Moved validation to JarParser.  Don't throw OptionException.
19234         (initializeParser): Create a JarParser.
19235         (main): Don't catch OptionException.
19236         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19237         public.
19238         (validate): New method.
19239         (parse): Call it.  Print '-help' in error message when long-only.
19240
19241 2006-05-14  Tom Tromey  <tromey@redhat.com>
19242
19243         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19244         assignment.
19245
19246 2006-05-15  Sven de Marothy  <sven@physto.se>
19247
19248         * gnu/java/awt/print/JavaPrinterGraphics.java:
19249         Sweeping changes I can't be bothered to document in detail.
19250         * gnu/java/awt/print/JavaPrinterJob.java
19251         (getPageAttributes): New method.
19252         (setPageable,cancel,isCancelled): Implement.
19253
19254 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19255
19256         * javax/swing/JCheckBoxMenuItem.java
19257         (requestFocus): Fixed typo in API docs,
19258         (paramString): Just call super.paramString(),
19259         (getAccessibleContext): Added API docs,
19260         (AccessibleJCheckBoxMenuItem): Likewise.
19261
19262 2006-05-14  Tom Tromey  <tromey@redhat.com>
19263
19264         * tools/gnu/classpath/tools/jar/Indexer.java
19265         (writeCommandLineEntries): Simplify insertion.
19266         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19267         -m and -M.
19268
19269 2006-05-14  Tom Tromey  <tromey@redhat.com>
19270
19271         PR classpath/27514:
19272         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19273         constant.
19274         (JAR_INDEX_VERSION_KEY): Likewise.
19275         (IndexListParser): Updated.
19276         (getVersionInfo): Likewise.
19277         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19278         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19279         OptionException.
19280         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19281         -i.
19282         (ModeOption): New constructor.
19283         (parsed): Updated.  Use setArchiveFile.
19284         (setArchiveFile): New method.
19285         (run): Handle no-argument case.
19286         (main): Emit --help message on option error.
19287         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19288         (createManifest): New method.
19289         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19290         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19291         method.
19292         (writeManifest): Removed.
19293         (outputStream): Now a JarOutputStream.
19294         (writeCommandLineEntries): Changed parameters.  Updated callers.
19295         (run): Throws OptionException.
19296         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19297         * java/util/jar/Manifest.java (read): Typo fix.
19298
19299 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19300
19301         * javax/swing/JMenuItem.java
19302         (paramString): Fixed class name in API doc comment.
19303
19304 2006-05-14  Tom Tromey  <tromey@redhat.com>
19305
19306         * native/plugin/.cvsignore: Updated.
19307
19308 2006-05-14  Mark Wielaard  <mark@klomp.org>
19309
19310         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19311         comments.
19312
19313 2006-05-14  Chris Burdess  <dog@gnu.org>
19314
19315         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19316         nodes to be preserved during cloneNode.
19317
19318 2006-05-14  Mark Wielaard  <mark@klomp.org>
19319
19320         PR 27459
19321         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19322         inherited timeout on socket.
19323
19324 2006-05-14  Lillian Angel  <langel@redhat.com>
19325
19326         * java/util/SimpleTimeZone.java: Reverted patch.
19327         (SimpleTimeZone): Throw exception if startMonth ==
19328         endMonth.
19329         (SimpleTimeZone): Likewise.
19330         (checkRule): Rewritten to properly check all values (more
19331         efficently).
19332         This code is now more stable, at least less buggy than before.
19333         Fixed API documentation.
19334         (setStartRule): Moved checkRule call to end.
19335         (setStartRule): Likewise.
19336         (setEndRule): Likewise.
19337         (setEndRule): Likewise.
19338
19339 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19340
19341         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19342         Initialise to -1.
19343
19344 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19345
19346         PR classpath/27595
19347         * javax/swing/text/AbstractDocument.java:
19348         (insertString): Flipped if-expression and its blocks.
19349         (remove): Dito.
19350         (replace): Flipped if-expression and its blocks, added note, invoke
19351         insertString and remove instead of insertStringImpl and removeImpl.
19352
19353 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19354
19355         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19356
19357 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19358
19359         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19360         Added help text.
19361         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19362         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19363         Increased visibility of fields used by parser anonymous classes.
19364         (processArgs): Removed.
19365         (getParser): New method.
19366         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19367         (setup): Mark (Eclipse) strings that need not be externalised.
19368         (start): Likewise.
19369         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19370         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19371         command line option parsing.
19372         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19373         Increased visibility of fields used by parser anonymous classes.
19374         (processArgs): Removed.
19375         (setup): set 'all' local field.
19376         (getParser): New method.
19377         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19378         Increased visibility of fields used by parser anonymous classes.
19379         (processArgs): Removed.
19380         (getParser): New method.
19381         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19382         (setNewKeyPassword): Fixed comments.
19383         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19384         Increased visibility of fields used by parser anonymous classes.
19385         (processArgs): Removed.
19386         (getParser): New method.
19387         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19388         externalised.
19389         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19390         Increased visibility of fields used by parser anonymous classes.
19391         (processArgs): Removed.
19392         (setup): Mark (Eclipse) strings that need not be externalised.
19393         (getParser): New method.
19394         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19395         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19396         Increased visibility of fields used by parser anonymous classes.
19397         (processArgs): Removed.
19398         (getParser): New method.
19399         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19400         (ATTRIBUTES_OPT): New constant.
19401         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19402         Increased visibility of fields used by parser anonymous classes.
19403         (processArgs): Removed.
19404         (setup): Mark (Eclipse) strings that need not be externalised.
19405         (start): Likewise.
19406         Reduced logging level.
19407         (getParser): New method.
19408         * tools/gnu/classpath/tools/keytool/Command.java
19409         (processArgs): Made it concrete.
19410         (getParser): New abstract method.
19411         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19412
19413 2006-05-13  Casey Marshall  <csm@gnu.org>
19414
19415         Patch by Michael Barker <mike@middlesoft.co.uk>.
19416         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19417         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19418         gnu.java.nio.SocketChannelSelectionKeyImpl.
19419         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19420         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19421         VMChannel.
19422         * include/gnu_java_nio_VMChannel.h: new file.
19423         * java/nio/FileChannel.java (read,write): changed to call abstract
19424         method.
19425         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19426         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19427         `gnu_java_nio_VMChannel.c.'
19428         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19429
19430 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19431
19432         * javax/swing/text/AbstractDocument.java:
19433         (insertString): Flipped if-expression and its blocks.
19434         (remove): Dito.
19435         (replace): Flipped if-expression and its blocks, added note, invoke
19436         insertString and remove instead of insertStringImpl and removeImpl.
19437
19438 2006-05-13  Tom Tromey  <tromey@redhat.com>
19439
19440         * java/nio/ByteBufferImpl.java (compact): Always set position.
19441
19442 2006-05-13  Sven de Marothy  <sven@physto.se>
19443
19444         * gnu/java/awt/print/JavaPrinterGraphics.java
19445         (spoolPostScript): Use a faster writer.
19446
19447 2006-05-13  Sven de Marothy  <sven@physto.se>
19448
19449         * gnu/java/awt/print/JavaPrinterGraphics.java
19450         (colorTripleHex): Reimplement better.
19451
19452 2006-05-13  Sven de Marothy  <sven@physto.se>
19453
19454         * javax/swing/text/html/HTMLDocument.java
19455         (CharacterAction.start): Translate tag to StyleAttribute.
19456         (pushCharacterStyle): Push copy of attributes onto stack.
19457         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19458         New file
19459
19460 2006-05-13  Sven de Marothy  <sven@physto.se>
19461
19462         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19463         * java/awt/print/PrinterJob.java 
19464         (getPrinterJob): Return a JavaPrinterJob
19465         (setPrintService,getPrintService): Implement.
19466         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19467         (getPixels): Gtk_threads_enter required.
19468         * gnu/java/awt/print/JavaPrinterGraphics.java
19469         * gnu/java/awt/print/JavaPrinterJob.java
19470         * gnu/java/awt/print/SpooledDocumet.java: 
19471         New files.
19472         
19473 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19474
19475         * javax/swing/text/TextAction.java:
19476         (HorizontalMovementAction): New inner class.
19477         (VerticalMovementAction): New inner class.
19478         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19479         new inner classes to array 'defaultActions'.
19480         (SelectionBeginWordAction): New inner class.
19481         (SelectionEndWordAction): New inner class.
19482         (BeginWordAction): New inner class.
19483         (EndWordAction): New inner class.
19484         (PreviousWordAction.actionPerformed): Rewritten.
19485         (SelectLineAction): New inner class.
19486         (SelectWordAction): New inner class.
19487         (SelectionDownAction): Rewritten.
19488         (SelectionUpAction): Rewritten.
19489         (DownAction): Rewritten.
19490         (UpAction): Rewritten.
19491         (SelectionForwardAction): Rewritten.
19492         (SelectionBackwardAction): Rewritten.
19493         (ForwardAction): Rewritten.
19494         (BackwardAction): Rewritten.
19495         (BeginAction): New inner class.
19496         (EndAction): New inner class.
19497         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19498         Character.isISOControl.
19499
19500 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19501
19502         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19503         (WordFilter.getNextVisualPositionFrom): Added statement to check
19504         for variable pt not being null.
19505
19506 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19507
19508         * javax/swing/text/Utilities.java:
19509         (getNextWord): Fixed grammar in exception message.
19510         (getPreviousWord): Changed expression in first if-clause, added sub-
19511         expression to if-clause in while-loop.
19512         (getWordStart): Changed expression in if-clause.
19513         getNextVisualPositionFrom): Added package-private helper method.
19514
19515 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19516  
19517         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19518         Initialise to -1.
19519
19520 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19521
19522         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19523         Added help text.
19524         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19525         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19526         * tools/gnu/classpath/tools/jarsigner/Main.java:
19527         Increased visibility of fields used by parser anonymous classes.
19528         (HELP_PATH): Removed.
19529         (cmdLineParser): New field.
19530         (main): Handle JVM exit status.
19531         Handle command line parsing exceptions.
19532         (processArgs): Use getopt command line parser.
19533         (getParser): New method.
19534         (setupCommonParams): Removed checks now handled by processArgs().
19535         (setupSigningParams): Likewise.
19536         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19537         Reuse an existing message-bundle constant.
19538
19539 2006-05-12  Tom Tromey  <tromey@redhat.com>
19540
19541         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19542         Explicitly specify class for synchronization.
19543
19544 2006-05-12  Tom Tromey  <tromey@redhat.com>
19545
19546         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19547
19548 2006-05-12  Sven de Marothy  <sven@physto.se>
19549
19550         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19551         * gnu/java/net/protocol/http/HTTPURLConnection.java
19552         (setConnectTimeout): New method.
19553         (getConnection): Add timeout parameter.
19554         *  java/net/URLConnection.java  
19555         (getConnectTimeout, setConnectTimeout): Implement.
19556         * native/target/generic/target_generic_network.h: 
19557         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19558         
19559 2006-05-12  Sven de Marothy  <sven@physto.se>
19560   
19561         * gnu/javax/print/CupsServer.java
19562         (CupsServer): Make the Cups host configurable.
19563         * java/lang/System.java: Document the system property.
19564         
19565 2006-05-12  Roman Kennke <kennke@aicas.com>
19566   
19567         * javax/swing/border/TitledBorder.java
19568         (paintBorder): Rewritten for simplicity and correctness.
19569         (layoutBorderWithTitle): New helper method.
19570         (paintBorderWithTitle): New helper method.
19571         (getBorderInsets): Rewritten.
19572         (getMinimumSize): Rewritten.
19573         (getRealJustification): Removed.
19574         (getMeasurements): Removed.
19575         (Measurements): Removed.
19576   
19577 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19578   
19579         * javax/swing/plaf/basic/BasicPanelUI.java
19580         (sharedUI): New field,
19581         (createUI): Return a shared instance rather than a new instance,
19582         (installUI): Reformatted and added API docs,
19583         (installDefaults): Install border if one is defined,
19584         (uninstallDefaults): Uninstall border.
19585
19586 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19587
19588         * javax/swing/JProgressBar.java: Updated API docs all over.
19589
19590 2006-05-11  Lillian Angel  <langel@redhat.com>
19591
19592         * java/awt/ContainerOrderFocusTraversalPolicy.java
19593         (getComponentAfter): Should not throw exception if
19594         the ancestor is null. Added a check for this.
19595         Also, changed to use new helper function, we should
19596         iterate through all the components at least once.
19597         (getNextAvailableComponent): New helper function.
19598         (getPrevAvailableComponent): New helper function.
19599         (getComponentBefore): Should not throw exception if
19600         the ancestor is null. Added a check for this.
19601         Also, changed to use new helper function, we should
19602         iterate through all the components at least once.
19603         (getFirstComponent): Changed check to manually check
19604         fields. Calling accept() casts the object to a Component,
19605         so different values may be returned.
19606         (getLastComponent): Likewise.
19607
19608 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19609
19610         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19611         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19612         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19613         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19614         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19615         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19616         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19617         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19618         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19619         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19620         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19621         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19622         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19623         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19624         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19625         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19626         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19627         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19628
19629 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19630
19631         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19632         package-private, added field 'active'.
19633         (PropertyChangeHandler.propertyChange): Added variable 'name', added
19634         cases to update field 'active'.
19635         (mouseDragged): Added documentation, added if-clause to update
19636         selection or caret position.
19637         (mouseClicked): Added early return when text component is disabled.
19638         (focusGained): Moved statements into an if-clause.
19639         (focusLost): Added subexpression to if-clause.
19640         (install): Preset value of 'active'.
19641         (paint): Added subexpression to if-clause.
19642         (isVisible): Extended return expression.
19643         * javax/swing/text/JTextComponent.java:
19644         (copy): Copy only if component is enabled.
19645         (cut): Cut only if component is enabled and editable.
19646         (paste): Dito.
19647
19648 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19649
19650         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19651         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19652         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19653         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19654         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19655         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19656         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
19657
19658 2006-05-11  Roman Kennke <kennke@aicas.com>
19659
19660         * gnu/java/awt/font/GNUGlyphVector.java
19661         (GNUGlyphVector): Don't apply the font renderer context's
19662         transform.
19663   
19664 2006-05-11  Mark Wielaard  <mark@klomp.org>
19665
19666         * java/util/logging/Logger.java (global): Initialize inside static
19667         PrivilegedAction.
19668
19669 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19670   
19671         * javax/swing/JFrame.java
19672         (EXIT_ON_CLOSE): Added note to API docs,
19673         (close_action): Renamed closeAction,
19674         (JFrame()): Change title to "",
19675         (JFrame(String)): Added API docs,
19676         (getAccessibleContext): Likewise,
19677         (getDefaultCloseOperation): Updated for renamed field, added API docs,
19678         (processWindowEvent): Updated for renamed field,
19679         (setDefaultCloseOperation): Likewise, and updated API docs.
19680   
19681 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19682   
19683         * javax/swing/JFrame.java
19684         (paramString): Reimplemented,
19685         * javax/swing/SwingUtilities.java
19686         (convertWindowConstantToString): New method.
19687   
19688 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19689   
19690         * javax/swing/WindowConstants.java: Updated API docs.
19691   
19692 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19693   
19694         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19695         (createUI): Removed 'final' qualifier for parameter,
19696         (paint): Reformatted.
19697   
19698 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19699   
19700         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19701         (createUI): Removed 'final' qualifier on method argument.
19702   
19703 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19704   
19705         * javax/swing/plaf/basic/BasicCheckBoxUI.java
19706         (getDefaultIcon): Removed this redundant method.
19707
19708 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19709
19710         * javax/swing/plaf/basic/BasicRadioButtonUI.java
19711         (paint): Pass component size to paintFocus().
19712
19713 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19714
19715         * java/awt/Component.java:
19716         (dispatchEventImpl): Added comment.
19717   
19718   2006-05-11  Mark Wielaard  <mark@klomp.org>
19719   
19720         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19721         Option constructor null argument to String.
19722   
19723 2006-05-11  Mark Wielaard  <mark@klomp.org>
19724
19725         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19726         Fully qualify PathIterator constants
19727
19728 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19729
19730         * java/awt/Component.java:
19731         (dispatchEventImpl): Added subexpression to if-clause.  
19732
19733 2006-05-11  Mark Wielaard  <mark@klomp.org>
19734
19735         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19736         Map.Entry.
19737
19738 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19739
19740         * javax/swing/TransferHandler.java: Marked stub methods.
19741
19742 2006-05-10  Roman Kennke <kennke@aicas.com>
19743
19744         PR classpath/27481
19745         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19746         (installDefaults): Set background of content pane to null, if
19747         no custom color has been installed by the application yet.
19748
19749 2006-05-10  Roman Kennke <kennke@aicas.com>
19750
19751         PR classpath/27481
19752         * javax/swing/JRootPane.java
19753         (createContentPane): Don't set background to null.
19754
19755 2006-05-10  Sven de Marothy <sven@physto.se>
19756
19757         * java/awt/print/PrinterJob.java:
19758         (lookupPrintServices): Un-comment-out.
19759
19760 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
19761
19762         * tools/gnu/classpath/tools/getopt/OptionGroup.java
19763         (FILLER): New constant.
19764         (formatText(PrintStream,String,int)): New method.
19765         (formatText(PrintStream,String,int,Locale)): Likewise.
19766         (printHelp): Use formatText method.
19767         * tools/gnu/classpath/tools/getopt/Parser.java
19768         (MAX_LINE_LENGTH): New constant.
19769         (formatText(PrintStream,String)): New method.
19770         (formatText(PrintStream,String,Locale)): Likewise.
19771         (printHelp): New method.
19772         (printHelp(PrintStream)): Increased visibility to protected.
19773         Use formatText method.
19774
19775 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19776
19777         * javax/swing/plaf/metal/MetalRadioButtonUI.java
19778         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
19779         modify the lookup key.
19780
19781 2006-05-10  Lillian Angel  <langel@redhat.com>
19782
19783         * java/util/SimpleTimeZone.java: Reverted patch.
19784         (SimpleTimeZone): Throw exception if startMonth == 
19785         endMonth.
19786         (SimpleTimeZone): Likewise.
19787         (checkRule): Rewritten to properly check all values (more 
19788         efficently).
19789         This code is now more stable, at least less buggy than before. 
19790         Fixed API documentation.
19791         (setStartRule): Moved checkRule call to end.
19792         (setStartRule): Likewise.
19793         (setEndRule): Likewise.
19794         (setEndRule): Likewise.
19795
19796 2006-05-10  Roman Kennke <kennke@aicas.com>
19797
19798         * gnu/java/awt/peer/swing/SwingComponent.java:
19799         Some API comment fixlets.
19800         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
19801         (createImage): Create a BufferedImage, not a Toolkit image.
19802         (paint): Removed bogus API comment.
19803         (prepareImage): Added checks to avoid NPE.
19804         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
19805         (getInsets): Added check to avoid NPE.
19806         (handleMouseEvent): Added check to avoid NPE.
19807         * gnu/java/awt/peer/swing/SwingFramePeer.java:
19808         Some API comment fixlets.
19809         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
19810         Some API comment fixlets.
19811         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
19812         Changed start_pos name to startPos.
19813         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
19814         Some API comment fixlets.
19815
19816 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19817
19818         * java/awt/BasicStroke.java
19819         (equals): Fixed typo in HTML tag for API doc comment.
19820
19821 2006-05-10  Gary Benson  <gbenson@redhat.com>
19822
19823         * java/lang/ThreadGroup.java (parent): Make package-private.
19824         * java/lang/SecurityManager.java (checkAccess(Thread)):
19825         Reference ThreadGroup.parent directly to avoid extra checks.
19826         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
19827         Likewise.
19828
19829 2006-05-10  Roman Kennke <kennke@aicas.com>
19830
19831         Reported by Ingo Proetel (proetel@aicas.com)
19832         * java/awt/EventDispatchThread.java
19833         (DEFAULT_PRIORITY): New constant field.
19834         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
19835         system property for adjusting the priority of the event
19836         dispatch thread.
19837
19838 2006-05-10  Roman Kennke <kennke@aicas.com>
19839
19840         Reported by Ingo Proetel (proetel@aicas.com)
19841         * java/awt/image/ColorModel.java
19842         (S_RGB_MODEL): New constant field.
19843         (getRGBDefault): Return constant SRGBColorModel.
19844         (SRGBColorModel): Specialized color model for sRGB.
19845
19846 2006-05-10  Roman Kennke <kennke@aicas.com>
19847
19848         * java/awt/ColorPaintContext.java
19849         (getRaster): Create Raster with (0,0) as source location.
19850
19851 2006-05-10  Roman Kennke <kennke@aicas.com>
19852
19853         * gnu/java/awt/java2d/AlphaCompositeContext.java
19854         (compose): Don't premultiply alpha to alpha itself.
19855
19856 2006-05-10  Roman Kennke <kennke@aicas.com>
19857
19858         * gnu/java/awt/java2d/AbstractGraphics2D.java
19859         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
19860         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
19861         New method.
19862         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
19863         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
19864         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
19865         New method.
19866         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
19867         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
19868         New method.
19869         (scale): Inverse transform by doing 1/scale instead of -scale.
19870         (drawImage(Image,int,int,ImageObserver)): Implemented.
19871         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
19872         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
19873         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
19874         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
19875         Implemented.
19876         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
19877         Implemented.
19878         (fillScanline): Work on translated destination raster for
19879         correct compositin.
19880         (init): Fetch the clip after the destination raster is initialized.
19881         * gnu/java/awt/java2d/ImagePaint.java: New file.
19882         * gnu/java/awt/java2d/RasterGraphics
19883         (drawImage): Removed.
19884
19885 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19886
19887         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19888         Clarify option descriptions.
19889         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
19890         uppercase for metasyntactic variables.
19891
19892 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
19893
19894         PR classpath/24216
19895         * javax/swing/text/AbstractDocument.java:
19896         (insertString): Added more documentation, added argument check.
19897         (remove): Added more documentation.
19898         (removeImpl): Added argument check.
19899         (replace): Added more documentation, added argument check.
19900
19901 2006-05-09  Tom Tromey  <tromey@redhat.com>
19902
19903         * tools/.cvsignore: Added appletviewer.
19904
19905 2006-05-09  Tom Tromey  <tromey@redhat.com>
19906
19907         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
19908         empty groups.
19909
19910 2006-05-09  Tom Tromey  <tromey@redhat.com>
19911
19912         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
19913         Special case for '-J'.  Use space instead of '='.
19914         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
19915         comment.
19916
19917 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19918
19919         * configure.ac: Add --disable-plugin and --with-vm options.  Check
19920         for plugin support headers and libraries.
19921         * native/Makefile.am: Recurse into plugin directory.
19922         * native/plugin/.cvsignore: New file.
19923         * native/plugin/Makefile.am: New file.
19924         * native/plugin/gcjwebplugin.cc: New file.
19925         * tools/Makefile.am: Install appletviewer wrapper script.
19926         * tools/appletviewer.in: Replace VM location heuristic with
19927         VM_BINARY configure substitution.
19928
19929 2006-05-09  Tom Tromey  <tromey@redhat.com>
19930
19931         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
19932         an initial pass to look for short options.  Added 'longOnly' option.
19933         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
19934         option.
19935         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
19936         options into final group.  Added -J.
19937         (add): Insert new groups before final group.
19938         (printHelp): Updated.
19939
19940 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19941
19942         PR 27518
19943         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
19944         tools/gnu/classpath/tools/rmi/RMIC.java (main):
19945         Expect -classpath option.
19946         * tools/gnu/classpath/tools/rmi/RMIC.txt,
19947         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
19948         -classpath option.
19949         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
19950         (classLoader): New field. (loadClass, setClassPath):
19951         New methods.
19952
19953 2006-05-09  Roman Kennke <kennke@aicas.com>
19954
19955         * gnu/java/awt/java2d/RasterGraphics.java
19956         (RasterGraphics): Call init() and super().
19957         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
19958         this.
19959
19960 2006-05-09  Gary Benson  <gbenson@redhat.com>
19961
19962         * java/lang/Thread.java (Thread): Always perform threadgroup
19963         access checks on thread creation.
19964
19965 2006-05-09  Chris Burdess  <dog@gnu.org>
19966
19967         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
19968           be preserved during cloneNode.
19969
19970 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19971
19972         PR 27517
19973         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
19974         Do not demand all thrown exceptions to be an instance of RemoteException.
19975
19976 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
19977
19978         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
19979         Use hash-style comments.
19980         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
19981         Likewise.
19982
19983 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
19984
19985         * javax/swing/JLabel.java
19986         (paramString): Added more attribute details,
19987         * javax/swing/SwingUtilities.java
19988         (convertHorizontalAlignmentCodeToString): New method,
19989         (convertVerticalAlignmentCodeToString): New method.
19990
19991 2006-05-08  Tom Tromey  <tromey@redhat.com>
19992
19993         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
19994         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
19995         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
19996         ZipInputStream.
19997         (run): Updated.
19998         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
19999         for verbose.
20000         (run): Use ZipInputStream.
20001         (initSet): New method.
20002         (shouldExtract): Likewise.
20003         (run): Use new methods.
20004         * tools/gnu/classpath/tools/jar/Creator.java
20005         (writeCommandLineEntries): New overload.
20006         (writeFile): Use System.err for verbose.
20007         (writeManifest): New method.
20008         (writtenItems): New field.
20009         (writeFile): Update it.
20010         (writeCommandLineEntries): Return void.  Call writeManifest.
20011         (addEntries): Don't add extra '/'.
20012         * NEWS: Mention jar.
20013
20014 2006-05-08  Lillian Angel  <langel@redhat.com>
20015
20016         * gnu/java/net/IndexListParser.java: New class.
20017         * java/net/URLClassLoader.java
20018         (JarURLLoader): Fixed code to use new class.
20019
20020 2006-05-08  Roman Kennke <kennke@aicas.com>
20021
20022         * javax/swing/JComboBox.java
20023         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20024         (AccessibleJComboBox.getAccessibleChild): Implemented.
20025         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20026         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20027         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20028         (AccessibleJComboBox.getAccessibleAction): Implemented.
20029         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20030         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20031         (AccessibleJComboBox.doAccessibleAction): Implemented.
20032         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20033         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20034         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20035         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20036         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20037
20038 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20039
20040         * configure.ac: Add support for building appletviewer.
20041         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20042         New file.
20043         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20044         New file.
20045         * tools/appletviewer.c: New file.
20046         * tools/appletviewer.in: New file.
20047         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20048         New file.
20049         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20050         New file.
20051         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20052         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20053         file.
20054         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20055         New file.
20056         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20057         New file.
20058         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20059         file.
20060         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20061         file.
20062         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20063         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20064         New file.
20065         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20066         New file.
20067         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20068         New file.
20069         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20070         New file.
20071         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20072         New file.
20073         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20074         New file.
20075         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20076         file.
20077
20078 2006-05-08  Tom Tromey  <tromey@redhat.com>
20079
20080         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20081         * tools/gnu/classpath/tools/jar/Action.java: New file.
20082         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20083         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20084         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20085         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20086         * tools/gnu/classpath/tools/jar/Main.java: New file.
20087         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20088         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20089         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20090         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20091         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20092         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20093         file.
20094
20095 2006-05-08  Lillian Angel  <langel@redhat.com>
20096
20097         * java/net/URLClassLoader.java
20098         (JarURLLoader): Added check to make sure the INDEX.LIST file
20099         exists.
20100
20101 2006-05-08  Roman Kennke <kennke@aicas.com>
20102
20103         * gnu/java/awt/java2d/AbstractGraphics2D.java
20104         (fill): Removed commented out code.
20105         (fillShape): Also determine the outline of the clip and feed
20106         it into the rendering method. Use new helper method for
20107         converting the shapes into lists of segments.
20108         (getUserBounds): Removed obsolete method.
20109         (rawFillShape): Respect the clip when rendering shapes.
20110         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20111         However, the implementation can't clip still.
20112         (getSegments): New helper method for converting a shape into
20113         a list of segments.
20114         (clipShape): Removed obsolete method.
20115         * gnu/java/awt/java2d/PolyEdge.java
20116         (isClip): New field.
20117         (PolyEdge): Added isField argument to constructor.
20118
20119 2006-05-08  Roman Kennke <kennke@aicas.com>
20120
20121         PR 27481
20122         * javax/swing/JRootPane.java
20123         (createContentPane): Set background of the content pane to null,
20124         so that the content pane inherits its background from the
20125         root pane.
20126
20127 2006-05-08  Roman Kennke <kennke@aicas.com>
20128
20129         PR 27480
20130         * javax/swing/ButtonGroup.java
20131         (add): Check if new button is selected and if so, deselect other
20132         buttons in the group.
20133
20134 2006-05-08  Lillian Angel  <langel@redhat.com>
20135
20136         PR 27444
20137         * java/net/URLClassLoader.java
20138         (JarURLLoader): Added code to go through 
20139         META-INF/INDEX.LIST file to load all jars listed.
20140
20141 2006-05-08  Roman Kennke <kennke@aicas.com>
20142
20143         PR 27461
20144         * javax/swing/ImageIcon.java
20145         (ImageIcon(URL)): Set description to URL.toString().
20146
20147 2006-05-08  Roman Kennke <kennke@aicas.com>
20148
20149         PR 27482
20150         * javax/swing/JTable.java
20151         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20152         null when cell value is null.
20153
20154 2006-05-08  Roman Kennke <kennke@aicas.com>
20155
20156         PR 27484
20157         * javax/swing/DefaultDesktopManager.java
20158         (closeFrame): Don't perform default close action on the frame
20159         to prevent endless loop.
20160
20161 2006-05-08  Roman Kennke <kennke@aicas.com>
20162
20163         PR 27485
20164         * javax/swing/table/DefaultTableModel.java
20165         (addExtraRows): New helper method.
20166         (checkSize): New helper method.
20167         (setRowCount): Use addExtraRows helper method.
20168         (addColumn): Use addExtraRows helper method.
20169         (getColumnName): Check and adjust size if necessary using
20170         checkSize().
20171
20172 2006-05-08  Roman Kennke <kennke@aicas.com>
20173
20174         PR 27486
20175         * javax/swing/JTable.java
20176         (setValueAt): Allow setting values even when table is editable.
20177
20178 2006-05-08  Tom Tromey  <tromey@redhat.com>
20179
20180         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20181         space to error message.
20182
20183 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20184
20185         * javax/swing/AbstractButton.java: Fixed comment typos.
20186
20187 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20188
20189         PR classpath/27435:
20190         * java/util/zip/DeflaterEngine.java:
20191         (deflateFast(boolean,boolean)): Empty buffer when full.
20192         
20193 2006-05-07  Sven de Marothy <sven@physto.se>
20194
20195         Fixed PR27343
20196         * java/util/Calendar.java (setTimeZone): Force recalculation.
20197         
20198 2006-05-07  Sven de Marothy <sven@physto.se>
20199
20200         Fixed PR27463
20201         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20202         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20203         
20204 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20205
20206         PR classpath/27311:
20207         * gnu/java/text/StringFormatBuffer.java:
20208         (toString()): Implemented so we can see the contents.
20209         * java/text/DecimalFormat.java:
20210         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20211         Don't calculate the exponent when the number is 0 or less.
20212         Also, use log10 instead of log now it's available.
20213         
20214 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20215
20216         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20217         Use instance's field creationDate not the constructor's argument.
20218         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20219         Removed unused imports.
20220         Sorted imports.
20221         (log): New field.
20222         (decrypt): Added trace/debug/timing statements.
20223         (encrypt): Likewise.
20224         Use PRNG instead of instantiating every time a new SecureRandom.
20225         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20226         Removed unused imports.
20227         Sorted imports.
20228         (log): New field.
20229         (verify): Added trace/debug/timing statements.
20230         (authenticate): Likewise.
20231         Use PRNG instead of instantiating every time a new SecureRandom.
20232
20233 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20234
20235         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20236         (THREAD_FORMAT): Likewise.
20237         (dateFormat): Added field.
20238         (threadFormat): Added field.
20239         (format): Initialize instance fields if null.
20240         Use StringBuilder instead of StringBuffer.
20241
20242 2006-05-07  Roman Kennke <kennke@aicas.com>
20243
20244         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20245
20246 2006-05-07  Roman Kennke <kennke@aicas.com>
20247
20248         * gnu/java/awt/java2d/AbstractGraphics2D.java
20249         (fillShape): Determine user space bounds of shape and feed them
20250         into the actual rendering pipeline.
20251         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20252         (rawSetForeground): Likewise.
20253         (getDestinationColorModel): Removed.
20254         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20255         (rawFillShape): Handle paint context.
20256         (fillScanline): Implement painting and compositing.
20257         (fillShapeAntialias): Handle paint context.
20258         (fillScanlineAA): Implemented preliminary antialiasing based on
20259         composite context. Not working yet.
20260         (fillScanlineAlpha): Removed.
20261         (init): Fetch destination raster.
20262         (getDestinationRaster): New abstract method.
20263         (updateRaster): New backend method.
20264
20265 2006-05-07  Roman Kennke <kennke@aicas.com>
20266
20267         * gnu/java/awt/java2d/AlphaCompositeContext.java
20268         (compose): Fixed loops, conditions and logic to make compositing
20269         work correctly.
20270
20271 2006-05-07  Roman Kennke <kennke@aicas.com>
20272
20273         * java/awt/ColorPaintContext.java
20274         (ColorPaintContext): Fixed filling of the raster.
20275
20276 2006-05-07  Sven de Marothy <sven@physto.se>
20277
20278         Fixed PR27455
20279         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20280         * java/awt/Component.java (processMouseEvent): 
20281         Do lightweight cursor handling.
20282         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20283         (endResizing,mouseMoved): Save and reset original cursor, not the 
20284         default one.
20285
20286 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20287
20288         PR 27298
20289         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20290         getNodeDimensions): Mind the size of the node icon. (getRowX):
20291         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20292         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20293         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20294         (installDefaults): assign totalChildIndent. (installUI): Call
20295         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20296         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20297         the tree.
20298
20299 2006-05-06  Sven de Marothy <sven@physto.se>
20300
20301         Fixed PR27454
20302         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20303         Check for zero image sizes.
20304         
20305 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20306
20307         Fixed PR27362
20308         * java/util/Calendar.java (clear(int)): Forced internal state
20309         completion before performing a field clearing.
20310
20311 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20312
20313         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20314         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20315         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20316         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20317         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20318         UnmodifiableMapEntry as part of their return value. 
20319
20320 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20321
20322         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20323         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20324         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20325         Generate jarsigner and keytool scripts.
20326         * tools/keytool.in: New file (renamed from keytool.sh.in).
20327         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20328         * tools/.cvsignore: Replaced *.sh with *
20329         * configure.ac: Replaced tools/*.sh with tools/*.
20330
20331 2006-05-05  Roman Kennke <kennke@aicas.com>
20332
20333         * java/awt/image/ColorModel.java
20334         (getNormalizedComponents): Implemented.
20335
20336 2006-05-05  Roman Kennke <kennke@aicas.com>
20337
20338         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20339         (paint): Query the button model for it's state, not the
20340         button itself.
20341
20342 2006-05-05  Roman Kennke <kennke@aicas.com>
20343
20344         * javax/swing/JTable.java
20345         (tableChanged): Sync selection model with table model changes.
20346
20347 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20348
20349         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20350         if there are no visible nodes to paint.
20351
20352 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20353
20354         * javax/swing/JOptionPane.java: API doc updates.
20355
20356 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20357
20358         * javax/swing/JToolBar.java
20359         (paramString): Reimplemented.
20360
20361 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20362
20363         * javax/swing/JScrollBar.java
20364         (paramString): Reimplemented.
20365
20366 2006-05-04  Tom Tromey  <tromey@redhat.com>
20367
20368         PR classpath/27375:
20369         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20370         (readEntries): Updated.
20371         (getEntries): Likewise.
20372         (getEntry): Likewise.
20373         (getInputStream): Likewise.
20374
20375 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20376
20377         * gnu/javax/imageio/jpeg/DCT.java,
20378         gnu/javax/imageio/jpeg/HuffmanTable.java,
20379         gnu/javax/imageio/jpeg/JPEGComponent.java,
20380         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20381         gnu/javax/imageio/jpeg/JPEGException.java,
20382         gnu/javax/imageio/jpeg/JPEGFrame.java,
20383         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20384         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20385         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20386         gnu/javax/imageio/jpeg/JPEGMarker.java,
20387         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20388         gnu/javax/imageio/jpeg/JPEGScan.java,
20389         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20390         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20391
20392 2006-05-04  Lillian Angel  <langel@redhat.com>
20393
20394         * javax/swing/JLabel.java
20395         (JLabel): Pass in an empty string for the text parameter.
20396         (JLabel): Likewise.
20397         (JLabel): Likewise.
20398
20399 2006-05-04  Roman Kennke <kennke@aicas.com>
20400
20401         * javax/swing/plaf/basic/BasicButtonListener.java
20402         (mouseEntered): Fixed conditions for changing states.
20403
20404 2006-05-04  Roman Kennke <kennke@aicas.com>
20405
20406         * javax/swing/JOptionPane.java
20407         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20408
20409 2006-05-04  Roman Kennke <kennke@aicas.com>
20410
20411         * javax/swing/JLabel.java
20412         (AccessibleJLabel.getSelectedText): Return null instead of "".
20413         (AccessibleJLabel.getSelectionStart): Added comment why
20414         return -1 is correct here.
20415         (AccessibleJLabel.getSelectionEnd): Added comment why
20416         return -1 is correct here.
20417         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20418         to do here.
20419         (AccessibleJLabel.getCharCount): Added comment about what
20420         to do here.
20421         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20422         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20423         (paramString): Return super.paramString() here, this provides
20424         a more meaningful output.
20425
20426 2006-05-04  Roman Kennke <kennke@aicas.com>
20427
20428         * javax/swing/JComponent.java
20429         (paint): Added null check to avoid NPE when clip == null.
20430
20431 2006-05-04  Roman Kennke <kennke@aicas.com>
20432
20433         * javax/swing/AbstractButton.java
20434         (addImpl): New method. Installs an OverlayLayout if no
20435         other layout has been installed before.
20436         (setLayout): New method. Detect if a client app installs a custom
20437         layout.
20438
20439 2006-05-04  Roman Kennke <kennke@aicas.com>
20440
20441         * javax/swing/table/DefaultTableCellRenderer.java
20442         (noFocusBorder): Fixed width of empty border to 1.
20443         (getTableCellRendererComponent): Don't change the colors for
20444         focuses cells. Fixed border for focused cells.
20445
20446 2006-05-04  Roman Kennke <kennke@aicas.com>
20447
20448         * javax/swing/JTable.java
20449         (moveToCellBeingEdited): Adjust bounding box of editing component
20450         to exactly cover the grid.
20451         * javax/swing/plaf/basic/BasicTableUI.java
20452         (paint): Paint grid to the bottom and right of the cells instead
20453         of left and top. Adjust bounding box of cells accordingly.
20454         * javax/swing/plaf/metal/MetalLookAndFeel.java
20455         (initComponentDefaults): Fixed color of JTable selection border.
20456         * javax/swing/plaf/metal/OceanTheme.java
20457         (addCustomEntriesToTable): Fixed color of JTable selection border.
20458
20459 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20460
20461         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20462         Use _alias instead of alias.
20463
20464 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20465
20466         * configure.ac:
20467         Set version to 0.92-pre.
20468         * NEWS:
20469         Add space for 0.92 entries.
20470
20471 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20472
20473         * include/Makefile.am:
20474         Added rules for gnu.java.net.local.LocalSocketImpl.h
20475         * include/java_lang_VMSystem.h:
20476         Regenerated correctly.
20477         
20478 2006-05-03  Sven de Marothy <sven@physto.se>
20479        
20480         PR 24023, 24701
20481         * java/awt/Image.java:
20482         (getScaledInstance): Default to AreaAveraging for "smooth", 
20483         don't thrown an error on illegal flag values.
20484         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20485
20486 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20487
20488         * javax/swing/text/FieldView.java:
20489         (adjustAllocation): Added if-block to return null when shape argument
20490         is null.
20491         * javax/swing/text/PlainView.java:
20492         (updateDamage): Added if-block to return early if a is null.
20493
20494 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20495
20496         * javax/swing/plaf/basic/BasicTextUI.java:
20497         (changeUpdate): Added note.
20498         (removeUpdate): Dito.
20499         (insertUpdate): Dito.
20500         (damageRange): Added if-block to return early.
20501         (modelToView): Added check of getVisibleEditorRect's return value.
20502         (getVisibleEditorRect): Return null instead of empty rectangle.
20503         * javax/swing/text/DefaultCaret.java:
20504         (clearHighlight): Removed if-clause to create a highlight entry if it
20505         did not exist before.
20506         * javax/swing/text/WrappedPlainView.java:
20507         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20508         removed 2nd part of if-expression.
20509         (WrappedLine.updateDamage): Added more documentation, added check
20510         whether allocation area rectangle is null.
20511
20512 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20513
20514         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20515         Reset to preferred sizes if the argument is negative.
20516
20517 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20518
20519         * javax/swing/JList.java: Added/updated API docs.
20520
20521 2006-05-03  Lillian Angel  <langel@redhat.com>
20522
20523         * javax/swing/JComponent.java
20524         (getRoot): New private function. Gets the root appropriate
20525         for painting. If an applet exists as a parent, then it is returned.
20526         (paintDoubleBuffered): Changed to use new function.
20527         * javax/swing/RepaintManager.java
20528         (getRoot): New private function. Gets the root appropriate
20529         for painting. If an applet exists as a parent, then it is returned.
20530         (getOffscreenBuffer): Changed to use new function.
20531         * javax/swing/SwingUtilties.java
20532         (getRoot): Reverted last patch to return Window, even if 
20533         an Applet exists.
20534
20535 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20536
20537         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20538         a pair of one public keyring and one private keyring.
20539         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20540         (containsCertificate): Added logging.
20541         (getCertificate): Likewise.
20542         (putCertificate): Likewsie.
20543         (load): Likewise.
20544         (store): Likewise.
20545         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20546         (containsPrivateKey): Added logging.
20547         (getPrivateKey): Likewise.
20548         (putPrivateKey): Likewise.
20549         (containsPublicKey): Likewise.
20550         (getPublicKey): Likewise.
20551         (putPublicKey): Likewise.
20552         (containsCertPath): Likewise.
20553         (getCertPath): Likewise.
20554         (putCertPath): Likewise.
20555         (load): Likewise.
20556         (store): Likewise.
20557
20558 2006-05-03  Roman Kennke <kennke@aicas.com>
20559
20560         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20561         * java/awt/AlphaComposite.java
20562         (createContext): Implemented.
20563
20564 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20565
20566         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20567         Set the current color again after drawing the raster.
20568
20569 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20570
20571         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20572         Do not check pos < currLineEnd if currLineStart == currLineEnd.
20573
20574 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20575
20576         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20577         Assign returned value to field handler.
20578         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20579         Likewise.
20580
20581 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20582
20583         * javax/swing/ScrollPaneLayout.java (layoutContainer):
20584         Return without action if there is no view in the viewport.
20585         * javax/swing/text/WrappedPlainView.java 
20586         (WrappedLine.getPreferredSpan): If metrics == null, update
20587         metrics.
20588         * javax/swing/tree/DefaultTreeModel.java (constructors):
20589         Do not call setRoot, assign the root node directly.
20590
20591 2006-05-02  Lillian Angel  <langel@redhat.com>
20592
20593         * javax/swing/SwingUtilities.java
20594         (getRoot): Should return the Applet if it exists.
20595         Only return the Window if an Applet has not been
20596         encountered.
20597
20598 2006-05-02  Lillian Angel  <langel@redhat.com>
20599
20600         * gnu/javax/swing/text/html/parser/support/Parser.java
20601         (readAttributes): Reverted Audrius' last patch. There is 
20602         a slight difference in code between the NUMTOKEN and SLASH case. 
20603
20604 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20605
20606         * javax/swing/text/JTextComponent.java:
20607         (setText): Throw InternalError from catch-block.
20608         * javax/swing/text/GapContent.java:
20609         (removed): Removed if-expression, changed '>' to '>='.
20610
20611 2006-05-02  Roman Kennke <kennke@aicas.com>
20612
20613         * gnu/java/awt/java2d/AbstractGraphics2D.java
20614         (AA_SAMPLING): New constant.
20615         (alpha): New field. Used in the antialiasing renderer.
20616         (edgeTable): New field. Used in the antialiasing renderer.
20617         (AbstractGraphics2D): Initialize rendering hints wrt
20618         anti-aliasing.
20619         (draw): Clip after stroking. Commented out clipping for now,
20620         it seems to be buggy.
20621         (fill): Commented out clipping for now, it seems to be buggy.
20622         (setComposite): Don't create composite context.
20623         (setPaint): Only change paint when parameter is not null.
20624         (translate): Call setClip() so subclasses can update their clip
20625         too.
20626         (clip): Call setClip() so subclasses can update their clip
20627         too.
20628         (drawGlyphVector): Added clipping, but left it commented out
20629         because it's buggy.
20630         (getClipBounds): Returns null when clip is null.
20631         (drawLine): Call rawDrawLine with translation applied.
20632         (filLRect): Call rawFillRect with translation applied.
20633         (fillShape): Added support for anti-aliasing.
20634         (rawSetForeground(int,int,int)): New method.
20635         (rawFillShape): A couple of painting fixes.
20636         (fillScanline): Implemented to call rawDrawLine.
20637         (fillShapeAntialias): New method. Implements an anti-aliasing
20638         shape filler.
20639         (fillScanlineAA): New method. Used for the anti-aliasing
20640         shape filler.
20641         (fillScanlineAlpha): New method. Used for the anti-aliasing
20642         shape filler.
20643         (init): Initialize clip with the device bounds.
20644         (updateOptimization): Fixed the optimization condition.
20645
20646 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20647
20648         * javax/swing/text/GapContent.java:
20649         (GapContent): Restrict size argument by 2.
20650         (insertString): Changed expression from >= to >.
20651         (remove): Changed right side of expression to 'length - 1', changed
20652         exception message.
20653         (getChars): Throw exception if where below 0.
20654         (replace): Replaced call to setPositionsInRange() with
20655         resetMarksAtZero(), removed note.
20656
20657 2006-05-02  Roman Kennke <kennke@aicas.com>
20658
20659         PR 27326
20660         * javax/swing/MenuSelectionManager.java
20661         (setSelectedPath): Rewritten.
20662
20663 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20664
20665         * gnu/javax/swing/text/html/parser/support/Parser.java
20666         (readAttributes): Merge case NUMTOKEN: and case SLASH:
20667         sections.
20668
20669 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20670
20671         * tools/.cvsignore: Added keytool.sh.
20672         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20673
20674 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20675
20676         * doc/tools.texinfo: New file.
20677         * doc/Makefile.am: Generate tools documentation.
20678
20679 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20680
20681         * tools/keytool.sh.in: New file.
20682         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20683         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20684         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20685         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20686         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20687         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20688         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20689         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20690         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20691         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20692         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20693         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20694         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20695         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20696         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20697         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20698         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20699         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20700
20701 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20702
20703         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20704         resemble more closely man-page style text.
20705         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20706         Mark (Eclipse) strings that need not be externalised.
20707         (writeSF): Likewise.
20708         (writeDSA): Likewise.
20709         Use package-private Messages class to provide i18n-ready strings.
20710         (startSigning):
20711         Use package-private Messages class to provide i18n-ready strings.
20712         (updateEntry): Likewise.
20713         Mark (Eclipse) strings that need not be externalised.
20714         (finishSigning): Likewise.
20715         * tools/gnu/classpath/tools/jarsigner/Main.java:
20716         Mark (Eclipse) strings that need not be externalised.
20717         (main): Do not use constant strings as class name.
20718         Use package-private Messages class to provide i18n-ready strings.
20719         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20720         (processArgs): Do not use constant strings as class name.
20721         Mark (Eclipse) strings that need not be externalised.
20722         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20723         (start): Do not use constant strings as class name.
20724         (teardown): Likewise.
20725         Use ProviderUtil.
20726         (setupCommonParams): Do not use constant strings as class name.
20727         Use package-private Messages class to provide i18n-ready strings.
20728         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20729         (installNewProvider): Do not use constant strings as class name.
20730         Use ProviderUtil.
20731         (setupSigningParams): Do not use constant strings as class name.
20732         Use package-private Messages class to provide i18n-ready strings.
20733         Mark (Eclipse) strings that need not be externalised.
20734         (getCallbackHandler): Use CallbackUtil.
20735         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20736         Use package-private Messages class to provide i18n-ready strings.
20737         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20738         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20739         (verifySF): Likewise.
20740         (verifySFEntries): Do not use constant strings as class name.
20741         Use Boolean.valueOf instead of new Boolean().
20742         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20743         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20744         New file.
20745         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20746         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20747
20748 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20749
20750         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20751         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20752         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20753
20754 2006-05-01  Tom Tromey  <tromey@redhat.com>
20755
20756         * java/nio/ByteBufferImpl.java (compact): Don't reset position
20757         in empty case.
20758         * gnu/java/nio/ChannelReader.java (read): Synchronize.
20759         (close): Synchronize.
20760         * java/nio/ShortBufferImpl.java (compact): Rewrote.
20761         * java/nio/LongBufferImpl.java (compact): Rewrote.
20762         * java/nio/IntBufferImpl.java (compact): Rewrote.
20763         * java/nio/FloatBufferImpl.java (compact): Rewrote.
20764         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20765         * java/nio/CharBufferImpl.java (compact): Rewrote.
20766         * gnu/java/nio/ChannelWriter.java: New file.
20767         * java/nio/channels/Channels.java (newWriter): Implemented.
20768
20769 2006-05-01  Lillian Angel  <langel@redhat.com>
20770
20771         * java/util/SimpleTimeZone.java
20772         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20773         (SimpleTimeZone): Likewise.
20774         (checkRule): Rewritten to properly check all values (more efficently). 
20775         This code is now more stable, at least less buggy than before. Fixed
20776         API documentation.
20777         (setStartRule): Moved checkRule call to end.
20778         (setStartRule): Likewise.
20779         (setEndRule): Likewise.
20780         (setEndRule): Likewise.
20781
20782 2006-05-01  Tom Tromey  <tromey@redhat.com>
20783
20784         * lib/.cvsignore: Added classes.2.
20785
20786 2006-05-01  Tom Tromey  <tromey@redhat.com>
20787
20788         * java/util/jar/JarFile.java (provider): Now package-private.
20789         * java/lang/Enum.java (compareTo): Javadoc fix.
20790         * java/lang/Boolean.java (compareTo): Javadoc fix.
20791
20792 2006-05-01  Lillian Angel  <langel@redhat.com>
20793
20794         * gnu/javax/swing/text/html/parser/support/Parser.java
20795         (readAttributes): Formatted function. Added handling for 
20796         SLASH token. The value of an attribute may start with a slash
20797         (i.e. a path). I added handling similar to to the NUMTOKEN code.
20798         We should not be skipping over these type of attributes.
20799
20800 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20801
20802         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
20803         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
20804         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
20805         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
20806         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
20807         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
20808         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
20809         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
20810         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
20811         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
20812         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
20813         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
20814         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
20815         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
20816         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
20817         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
20818         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
20819         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
20820         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
20821         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
20822         * include/gnu_java_awt_peer_gtk_GtkImage.h,
20823         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
20824         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
20825         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
20826         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
20827         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
20828         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
20829         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
20830         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
20831         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
20832         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
20833         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
20834         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
20835         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
20836         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
20837         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
20838         * include/gnu_java_awt_peer_qt_MainQtThread.h,
20839         * include/gnu_java_awt_peer_qt_QMatrix.h,
20840         * include/gnu_java_awt_peer_qt_QPainterPath.h,
20841         * include/gnu_java_awt_peer_qt_QPen.h,
20842         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
20843         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
20844         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
20845         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
20846         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
20847         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
20848         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
20849         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
20850         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
20851         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
20852         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
20853         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
20854         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
20855         * include/gnu_java_awt_peer_qt_QtGraphics.h,
20856         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
20857         * include/gnu_java_awt_peer_qt_QtImage.h,
20858         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
20859         * include/gnu_java_awt_peer_qt_QtListPeer.h,
20860         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
20861         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
20862         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
20863         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
20864         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
20865         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
20866         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
20867         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
20868         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
20869         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
20870         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
20871         * include/gnu_java_awt_peer_qt_QtToolkit.h,
20872         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
20873         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
20874         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
20875         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
20876         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
20877         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
20878         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
20879         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
20880         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
20881         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
20882         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
20883         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
20884         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
20885         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
20886         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
20887         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
20888         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
20889         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
20890         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
20891         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
20892         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
20893         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
20894         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
20895         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
20896         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
20897         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
20898         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
20899         * include/java_lang_VMProcess.h:
20900         Regenerated.
20901         * native/jni/java-lang/java_lang_VMProcess.c:
20902         Redirect when pipe_count is 2 not 3.    
20903
20904 2006-04-30  Sascha Brawer <sascha@brawer.ch>
20905
20906         * gnu/java/awt/font/FontDelegate.java,
20907         * gnu/java/awt/font/FontFactory.java,
20908         * gnu/java/awt/font/GNUGlyphVector.java,
20909         * gnu/java/awt/font/opentype/CharGlyphMap.java,
20910         * gnu/java/awt/font/opentype/GlyphNamer.java,
20911         * gnu/java/awt/font/opentype/MacResourceFork.java,
20912         * gnu/java/awt/font/opentype/NameDecoder.java,
20913         * gnu/java/awt/font/opentype/OpenTypeFont.java,
20914         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
20915         * gnu/java/awt/font/opentype/Scaler.java,
20916         * gnu/java/awt/font/opentype/truetype/Fixed.java,
20917         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
20918         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
20919         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
20920         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
20921         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
20922         * gnu/java/awt/font/opentype/truetype/Zone.java,
20923         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
20924         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
20925         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
20926         New files. Imported font framework from:
20927         http://www.brawer.ch/software/fonts/
20928
20929 2006-04-30  Roman Kennke <kennke@aicas.com>
20930
20931         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
20932         (lastTabInRun): Fix calculation of the last tab in a run. This
20933         has caused painting problems sometimes, making the
20934         last tab painted incorrectly.
20935
20936 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20937
20938         PR 27297
20939         * javax/swing/JComponent.java (paintChildrenWithOverlap):
20940         Use for and not while to prevent the endless loop.
20941
20942 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
20943
20944         * javax/swing/JList.java
20945         (paramString): Changed from public to protected.
20946
20947 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20948
20949         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
20950         (printHelpAndExit): Re-factored to use the above method.
20951
20952 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20953
20954         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
20955         Use -Xbootclasspath/p instead of -cp when invoking the main class.
20956         * tools/gnu/classpath/tools/jarsigner/Main.java:
20957         Changed license to GPL + Exception.
20958         (handler): New field.
20959         (getCallbackHandler): New method.
20960         (setupSigningParams): Use above method.
20961         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
20962         Changed license to GPL + Exception.
20963         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
20964         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
20965         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
20966         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
20967
20968 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20969
20970         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
20971         (handleConfirmation): Use print instead of println.
20972         (handleConfirmation): When case is YES_NO_OPTION, print default option
20973         if one was set.
20974         (handleLanguage): Use print instead of println.
20975
20976 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20977
20978         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
20979         (putComponent): Handle O and OU components.
20980         (getDer): Use correct (it2) iterator.
20981         (readAttributeValue): Read next character and break if end-of-stream.
20982
20983 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
20984
20985         * gnu/java/security/provider/Gnu.java (run):
20986         Add "RSA" as an alias to MD5withRSA.
20987         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
20988         Always encode a NULL as the value of an algorithm parameters field.
20989         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
20990         (encodePrivateKey): Added trace/log statements.
20991         (decodePrivateKey): Likewise.
20992         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
20993         (setup): Added trace/log statements.
20994         (generate): Likewise.
20995         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
20996         (toString): New method.
20997         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
20998         (str): New field.
20999         (toString): New method.
21000         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21001         (getEncoded): Use defaultFormat.
21002         (toString): New method.
21003         * gnu/java/security/key/dss/DSSKey.java (toString):
21004         Include defaultFormat in string.
21005         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21006         Break if successfully decoded public key.
21007         (engineGeneratePrivate): Break if successfully decoded private key.
21008
21009 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21010
21011         * java/security/Security.java <clinit>: Add our Callback provider.
21012         * resource/java/security/classpath.security: Likewise
21013
21014 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21015
21016         PR 27296
21017         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21018         Decide about scroll bars from the preferred view size, not
21019         the current size.
21020         * javax/swing/ViewportLayout.java (layoutContainer):
21021         Do not change returned preferred size. Do not treat JScrollPane
21022         specially.
21023
21024 2006-04-28  Sven de Marothy <sven@physto.se>
21025
21026         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21027         * javax/swing/ProgressMonitor.java (actionPerformed): 
21028         Avoid divide-by-zero.
21029
21030 2006-04-28  Sven de Marothy <sven@physto.se>
21031
21032         * javax/swing/JSpinner.java: Fix default text justification.
21033         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21034
21035 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21036
21037         * javax/swing/JList.java
21038         (getMinSelectionIndex): Return correct value, added API docs,
21039         (getMaxSelectionIndex): Added API docs.
21040
21041 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21042
21043         * javax/swing/JList.java
21044         (JList(Object[])): Pass new model directly to init(),
21045         (JList(Vector)): Likewise,
21046         (JList(ListModel)): Renamed argument and updated API docs,
21047         (init): Throw IllegalArgumentException for null argument,
21048         (setListData(Object[])): Delegate model creation,
21049         (setListData(Vector)): Likewise,
21050         (createListModel(Object[])): New private method,
21051         (createListModel(Vector)): New private method,
21052         (paramString): Implemented.
21053
21054 2006-04-28  Tom Tromey  <tromey@redhat.com>
21055
21056         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21057         (isEnum): Rewrote.
21058         (isSynthetic): Likewise.
21059         (isAnnotation): Likewise.
21060         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21061         (isAnnotation): Likewise.
21062         (isEnum): Likewise.
21063
21064 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21065
21066         * javax/swing/text/View.java:
21067         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21068         view.
21069
21070 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21071
21072         * javax/swing/text/View.java:
21073         (getNextVisualPositionFrom): Rewritten.
21074         * javax/swing/text/CompositeView.java:
21075         (getNextEastWestVisualPositionFrom): Partly implemented.
21076         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21077
21078 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21079
21080         * javax/swing/JList.java
21081         (setFixedCellHeight): Use correct property name for event.
21082
21083 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21084
21085         * javax/swing/text/Utilities.java:
21086         (getNextWord): Use codePointAt instead of charAt, added note, changed
21087         if-expression, added throwing of exception.
21088         (getPreviousWord): Use codePointAt instead of charAt.
21089
21090 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21091
21092         * java/lang/StringBuilder.java
21093         (ensureCapacity, getChars, append(StringBuffer),
21094         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21095         insert(int,String), insert(int,char), trimToSize): Replaced
21096         System.arraycopy calls with VMSystem.arraycopy.
21097
21098 2006-04-27  Tom Tromey  <tromey@redhat.com>
21099
21100         * java/awt/image/renderable/RenderableImageProducer.java
21101         (requestTopDownLeftRightResend): Implemented.
21102         (run): Likewise.
21103         (startProduction): Add new consumer.
21104
21105 2006-04-27  Sven de Marothy  <sven@physto.se>
21106
21107         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21108
21109 2006-04-27  Roman Kennke <kennke@aicas.com>
21110
21111         * java/awt/LightweightDispatcher.java
21112         Dispatch events only to targets that have a mouselistener
21113         attached. Changed to also handle null targets.
21114
21115 2006-04-27  Roman Kennke <kennke@aicas.com>
21116
21117         * NEWS: Added entries about accessibility support and L&F
21118         window decorations.
21119
21120 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21121         
21122         * javax/swing/text/Utilities.java:
21123         (getTabbedTextOffset): Introduced width variable, rewritten the check
21124         which ends the loop.
21125         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21126         to false.
21127               
21128 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21129
21130         * examples/gnu/classpath/examples/swing/TreeDemo.java
21131         (createContent): Added root visibility and selection listener demos.
21132         * javax/swing/JTree.java (setRootVisible): If false, unselect
21133         the root node, if it is selected.
21134         * javax/swing/plaf/basic/BasicTreeUI.java 
21135         (TreeTraverseAction.actionPerformed): Do not select the root if it
21136         is not visible.
21137         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21138         removeSelectionPaths): Reset lead to null if the current lead path is
21139         removed from selection.
21140         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21141         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21142         Return the same path regardless is root visible or not. (update):
21143         Reduce the identation if the root is not visible.
21144         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21145         Return the same path regardless is root visible or not. (update):
21146         Reduce the identation if the root is not visible.
21147
21148 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21149
21150         * javax/swing/plaf/basic/BasicTreeUI.java
21151         (TreeAction.actionPerformed):Newly obtain the current lead
21152         path that must stay visible.
21153         (TreeTraverseAction.actionPerformed):Rewritten.
21154         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21155         Do not treat root specially. (setModel): Assume the root node
21156         initially expanded.
21157         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21158         Do not treat root specially. (setModel): Assume the root node
21159         initially expanded.
21160
21161 2006-04-26  Chris Burdess  <dog@gnu.org>
21162
21163         Fixes PR 27290
21164         * javax/xml/datatype/DatatypeFactory.java: Use complete
21165           implementation resolution mechanism.
21166
21167 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21168
21169         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21170         Implemented.
21171         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21172         Removed NoImplementException form the implemented method.
21173
21174 2006-04-26  Tom Tromey  <tromey@redhat.com>
21175
21176         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21177         throw IOException.
21178
21179 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21180
21181         * javax/swing/DefaultListSelectionModel.java
21182         (clone): Initialise empty listener list,
21183         (setSelectionMode): Throw IllegalArgumentException for bad input.
21184
21185 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21186
21187         * javax/swing/DefaultListSelectionModel.java
21188         (clearSelection): Clear the Bitset.
21189
21190 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21191
21192         * javax/swing/JTree.java (setLeadSelectionPath):
21193         Repaint the new and old lead pathes.
21194         * javax/swing/plaf/basic/BasicTreeUI.java
21195         (FocusHandler): Repaint the lead row when focus changes.
21196         (PropertyChangeHandler): Use existing constants, not the
21197         string literals for the property names.
21198         (TreeIncrementAction): Shrink the selection when moving
21199         from the selection edge to the selection anchor.
21200         (TreeSelectionHandler.valueChanged): Repaint the 
21201         new and old lead pathes.
21202         (paintRow): Treat row as focused only if it is the lead row.
21203         * javax/swing/tree/DefaultTreeCellRenderer.java
21204         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21205         (paint): Rewritten.
21206         * javax/swing/tree/DefaultTreeSelectionModel.java
21207         (addSelectionPath): Event construction fix (old and new lead were
21208         always the same).
21209         (addSelectionPaths): Likewise.
21210         * javax/swing/JComponent.java (setOpaque): Explained.
21211         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21212         Accept null.
21213         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21214         Accept null.
21215
21216 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21217
21218         * examples/gnu/classpath/examples/swing/TreeDemo.java
21219         (createContent): Call DefaultTreeModel.reload(), not the
21220         tree.repaint(). Expand the parent of the added node.
21221         * javax/swing/JTree.java (constructor): Do not call
21222         UpdateUI (and documented why). (treeDidChange):
21223         Added comment, excluding the misinterpretation of this method.
21224         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21225         focusListener, keyListener, mouseListener, propertyListener,
21226         selectionModelPropertyChangeListener, treeModelListener,
21227         treeSelectionListener): Made package private.
21228         (PropertyChangeHandler): If the model changes, install the
21229         listener on it. (installUI): Assign treeModel.
21230         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21231         comment, excluding misinterpretation.
21232         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21233         (reload(TreeNode)): Implemented.
21234
21235 2006-04-25  Tom Tromey  <tromey@redhat.com>
21236
21237         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21238         * javax/swing/tree/VariableHeightLayoutCache.java
21239         (getVisiblePathsFrom): Genericized.
21240         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21241         Genericized.
21242
21243 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21244
21245         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21246         If clicked on the other row, cancel the current editing session.
21247
21248 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21249
21250         * javax/swing/plaf/basic/BasicTreeUI.java
21251         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21252         (paintExpandControl): Always paint in one gap distance from the left
21253         border of the path bounds.
21254         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21255         into consideration.
21256         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21257         left edge.
21258
21259 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21260
21261         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21262
21263 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21264
21265         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21266         Allow slashes (/) in the unquoted parameter value. 
21267
21268 2006-04-25  Roman Kennke <kennke@aicas.com>
21269
21270         * gnu/java/awt/java2d/AbstractGraphics2D.java
21271         (drawString(String,int,int)): Implemented.
21272         (drawString(String,float,float)): Implemented.
21273         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21274         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21275         (getFontRenderContext): Implemented.
21276         (drawGlyphVector): Implemented.
21277         (getFont): Implemented.
21278         (setFont): Don't change font setting when null.
21279         (getFontMetrics): Implemented.
21280         (fillShape): Re-written to fill call rawFillShape() with a list
21281         of the edges instead of double arrays.
21282         (rawFillShape): Implemented using a polygon scanline conversion.
21283         (fillScanline): New helper method.
21284         (init): Initialize foreground black. Set font.
21285         * gnu/java/awt/java2d/PolyEdge.java: New file.
21286         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21287
21288 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21289
21290         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21291
21292 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21293
21294         * javax/swing/JTable.java: Fixed API doc tags,
21295         * javax/swing/text/AsyncBoxView.java: Likewise,
21296         * javax/swing/text/FlowView.java: Likewise.
21297
21298 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21299
21300         * javax/swing/table/DefaultTableColumnModel.java
21301         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21302
21303 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21304
21305         * javax/swing/table/DefaultTableColumnModel.java
21306         (DefaultTableColumnModel): Set selection model field and add 'this' as
21307         listener directly,
21308         (addColumn): Add 'this' as a PropertyChangeListener,
21309         (removeColumn): Remove column before firing event, and remove 'this' as
21310         a PropertyChangeListener,
21311         (setSelectionModel): Remove 'this' as a listener from old model, 
21312         (propertyChange): Check for 'width' property rather than
21313         TableColumn.COLUMN_WIDTH_PROPERTY.
21314
21315 2006-04-24  Chris Burdess  <dog@gnu.org>
21316
21317         Fixes PR 27262
21318         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21319           attributes when no doctype exists.
21320
21321 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21322
21323         * javax/swing/event/ChangeEvent.java: Updated API docs,
21324         * javax/swing/event/ChangeListener.java: Likewise,
21325         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21326         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21327         * javax/swing/table/TableColumnModel.java: Likewise.
21328
21329 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21330
21331         * javax/swing/text/Utilities.java:
21332         (getBreakLocation): Introduced shift variable, added notes.
21333         * javax/swing/text/WrappedPlainView.java:
21334         (calculateBreakPosition): Decrease allocation area bounds by insets,
21335         added early return when allocation area is empty, provide start offset
21336         as argument.
21337         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21338         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21339         numLines after loop.
21340         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21341         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21342         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21343         decreasing variable end by one, changed break condition in while-loop,
21344         added check for return value.
21345         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21346         allocation area is empty.
21347
21348 2006-04-24  Sven de Marothy  <sven@physto.se>
21349
21350         * gnu/java/awt/java2d/Segment.java: New file.
21351         * gnu/java/awt/java2d/CubicSegment.java: New file.
21352         * gnu/java/awt/java2d/QuadSegment.java: New file.
21353         * gnu/java/awt/java2d/LineSegment.java: New file.
21354         * java/awt/BasicStroke.java
21355         (start): New field.
21356         (end): New field.
21357         (createStrokedShape): Implemented.
21358         (solidStroke): New method.
21359         (dashedStroke): New method.
21360         (capEnds): New method.
21361         (convertPath): New method.
21362         (addSegments): New method.
21363         (capEnd): New method.
21364         (lineIntersection): New method.
21365         (joinSegments): New method.
21366
21367 2006-04-24  Roman Kennke <kennke@aicas.com>
21368
21369         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21370         Cloneable.
21371         (font): New field.
21372         (clip): Changed clip to be in user space not in target space.
21373         (isOptimized): Added flag to allow optimized drawing for
21374         primitive operations (e.g. for Swing).
21375         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21376         with the paint context etc.
21377         (draw): Clip the shape before drawing it.
21378         (fill): Clip the shape before drawing it.
21379         (setComposite): Update isOptimized flag.
21380         (setPaint): Likewise.
21381         (setStroke): Likewise.
21382         (translate): Update the clip.
21383         (rotate): Likewise.
21384         (scale): Likewise.
21385         (shear): Likewise.
21386         (transform): Likewise.
21387         (setTransform): Likewise.
21388         (clip): Added optimization for rectangle clips.
21389         (create): Implemented.
21390         (clone): New method.
21391         (setFont): Basic implementation.
21392         (setClip): Update opimization flag.
21393         (drawLine): Added possible optimization.
21394         (fillRect): Added possible optimization.
21395         (fillShape): Implemented shape-filling by filling the flattended
21396         shape using polygon fill.
21397         (drawPixel): Added basic painting.
21398         (rawSetPixel): Changed signature to only take coordinates.
21399         (rawSetForeground): New abstract method.
21400         (getUserBounds): Implemented default for this method.
21401         (rawDrawLine): New method.
21402         (rawFillRect): New method.
21403         (rawFillPolygon): New method.
21404         (init): New method.
21405         (updateOptimization): New method.
21406         (computeIntersection): New method.
21407         (updateClip): New method.
21408         (clipShape): New method.
21409
21410 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21411
21412         * java/lang/Package.java: Added compatibility constructor to ease
21413         VM interface migration.
21414
21415 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21416
21417         * java/lang/Class.java (getEnumConstants): Implemented without
21418         delegating to VMClass.
21419         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21420
21421 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21422
21423         * java/lang/ClassLoader.java (definePackage): Added argument to
21424         Package constructor.
21425         * java/lang/Package.java (Package): Added ClassLoader argument.
21426         (loader): New field.
21427         (getDeclaredAnnotations): Implemented without help from VMPackage.
21428         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21429         to Package constructor.
21430         * vm/reference/java/lang/VMPackage.java: Removed.
21431
21432 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21433
21434         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21435         (createContent): Added check box to swith between single and 
21436         multiple selection.
21437         * javax/swing/JTree.java (leadSelectionPath): Removed.
21438         (addSelectionInterval): Explained. (getLeadSelectionPath):
21439         Request the path from model. (getPathsBetweenRows): Explained.
21440         (setLeadSelectionPath): Set the path in model.
21441         * javax/swing/plaf/basic/BasicTreeUI.java 
21442         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21443         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21444         (MouseHandler.mousePressed): Call selectPathForEvent.
21445
21446 2006-04-23  Roman Kennke <kennke@aicas.com>
21447
21448         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21449
21450 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21451
21452         * NEWS:
21453         Mention changes to VMProcess and VMSystem.
21454         * doc/vmintegration.texinfo:
21455         Change documentation on VMProcess and VMSystem.
21456         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21457         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21458         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21459         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21460         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21461         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21462         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21463         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21464         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21465         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21466         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21467         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21468         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21469         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21470         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21471         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21472         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21473         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21474         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21475         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21476         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21477         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21478         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21479         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21480         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21481         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21482         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21483         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21484         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21485         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21486         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21487         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21488         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21489         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21490         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21491         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21492         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21493         * include/gnu_java_awt_peer_qt_QMatrix.h,
21494         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21495         * include/gnu_java_awt_peer_qt_QPen.h,
21496         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21497         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21498         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21499         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21500         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21501         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21502         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21503         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21504         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21505         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21506         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21507         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21508         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21509         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21510         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21511         * include/gnu_java_awt_peer_qt_QtImage.h,
21512         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21513         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21514         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21515         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21516         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21517         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21518         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21519         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21520         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21521         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21522         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21523         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21524         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21525         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21526         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21527         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21528         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21529         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21530         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21531         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21532         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21533         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21534         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21535         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21536         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21537         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21538         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21539         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21540         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21541         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21542         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21543         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21544         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21545         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21546         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21547         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21548         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21549         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21550         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21551         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21552         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21553         * include/java_lang_VMProcess.h,
21554         * include/java_lang_VMSystem.h:
21555         Regenerated with GCJ 4.1.
21556
21557 2006-04-22  Casey Marshall  <csm@gnu.org>
21558
21559         Fixes PR classpath/27228.
21560         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21561         (initialize): also accept `DHParameterSpec.'
21562         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21563         handle a passed-in `DHParameterSpec' properly.
21564         (generate): don't check if the random exponent is less than `q -
21565         1' if no `q' was specified.
21566
21567 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21568
21569         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21570         Only repaint the patches, speficied in the passed event.
21571         (expandPath): Do nothing if the path is already expanded.
21572         (scrollPathToVisible): Only scroll to visible, do nothing else.
21573         * javax/swing/plaf/basic/BasicTreeUI.java 
21574         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21575         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21576         (TreeTraverseAction.actionPerformed): Collapse the node on the
21577         action "selectParent". (selectPath): Rewritten.
21578         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21579         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21580         Do not reuse selection array.
21581         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21582         Accept null.
21583         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21584         Accept null.
21585
21586 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21587
21588         * javax/swing/tree/DefaultTreeSelectionModel.java
21589         (addSelectionPath): If the path cannot be added, set it.
21590         (addSelectionPaths): Call insureRowContinuity.
21591         (arePathsContiguous): Implemented.
21592         (canPathBeAdded): New private method.
21593         (canPathsBeAdded): Implemented.
21594         (canPathsBeRemoved): Implemented.
21595         (getPath): New private method.
21596         (insureRowContinuity): Implemented.
21597         (removeSelectionPath): Call insureRowContinuity.
21598         (removeSelectionPaths): Call insureRowContinuity.
21599         (resetRowSelection): Removed stub marking, not used in implementation 
21600         (nothing to do there).
21601         (selectOne): New private method.
21602         (setSelectionMode) Call insureRowContinuity.
21603         (setSelectionPaths) Remove the current selection by clearing it.
21604
21605 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
21606
21607         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21608         parameters consistendly, documented some methods.
21609         * java/sql/Blob.java: Likewise.
21610         * java/sql/CallableStatement.java: Likewise.
21611         * java/sql/Clob.java: Likewise.
21612         * java/sql/Connection.java: Likewise.
21613         * java/sql/DatabaseMetaData.java: Likewise.
21614         * java/sql/Date.java: Likewise.
21615         * java/sql/Driver.java: Likewise.
21616         * java/sql/PreparedStatement.java: Likewise.
21617         * java/sql/ResultSet.java: Likewise.
21618         * java/sql/ResultSetMetaData.java: Likewise.
21619         * java/sql/SQLData.java: Likewise.
21620         * java/sql/SQLOutput.java: Likewise.
21621         * java/sql/SQLWarning.java: Likewise.
21622         * java/sql/Statement.java: Likewise.
21623         * java/sql/Time.java: Likewise.
21624         * java/sql/Timestamp.java: Likewise.
21625
21626 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
21627
21628         * java/lang/reflect/AccessibleObject.java:
21629         Implemented AnnotatedElement.
21630         (getAnnotation, getAnnotations, getDeclaredAnnotations,
21631         isAnnotationPresent): New methods.
21632
21633 2006-04-21  Tom Tromey  <tromey@redhat.com>
21634
21635         PR classpath/27163:
21636         * gnu/java/net/protocol/ftp/FTPConnection.java
21637         (changeWorkingDirectory): Do nothing if path is empty.
21638
21639 2006-04-21  Tom Tromey  <tromey@redhat.com>
21640
21641         PR libgcj/27231:
21642         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21643         case where no '/' appears in 'location'.
21644
21645 2006-04-21  Tom Tromey  <tromey@redhat.com>
21646
21647         * java/security/Security.java (<clinit>): Add all default providers.
21648         * resource/java/security/classpath.security: Added comment.
21649
21650 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21651
21652         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21653         * javax/swing/SpinnerNumberModel.java: Likewise.
21654
21655 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21656
21657         * javax/swing/SpinnerDateModel.java
21658         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21659         checking to call compareTo() on start and end.
21660
21661 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21662
21663         * javax/swing/border/AbstractBorder.java: API doc updates,
21664         * javax/swing/border/BevelBorder.java: Likewise,
21665         * javax/swing/border/CompoundBorder.java: Likewise,
21666         * javax/swing/border/EtchedBorder.java: Likewise,
21667         * javax/swing/border/LineBorder.java: Likewise,
21668         * javax/swing/border/MatteBorder.java: Likewise,
21669         * javax/swing/border/TitledBorder.java: Likewise.
21670
21671 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21672
21673         * gnu/javax/crypto/cipher/Anubis.java:
21674         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21675         instance,
21676         * gnu/javax/crypto/cipher/Blowfish.java:
21677         (selfTest): Likewise,
21678         * gnu/javax/crypto/cipher/Cast5.java:
21679         (selfTest): Likewise,
21680         * gnu/javax/crypto/cipher/Khazad.java:
21681         (selfTest): Likewise,
21682         * gnu/javax/crypto/cipher/Rijndael.java:
21683         (selfTest): Likewise,
21684         * gnu/javax/crypto/cipher/Serpent.java:
21685         (selfTest): Likewise,
21686         * gnu/javax/crypto/cipher/Square.java:
21687         (selfTest): Likewise,
21688         * gnu/javax/crypto/cipher/Twofish.java:
21689         (selfTest): Likewise,
21690         * gnu/javax/crypto/mac/UMac32.java:
21691         (selfTest): Likewise,
21692         * gnu/javax/crypto/prng/CSPRNG.java:
21693         (getSystemInstance): Likewise.
21694
21695 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21696
21697         * gnu/java/security/hash/Haval.java:
21698         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
21699         instance,
21700         * gnu/java/security/hash/MD2.java:
21701         (selfTest): Likewise,
21702         * gnu/java/security/hash/MD4.java:
21703         (selfTest): Likewise,
21704         * gnu/java/security/hash/MD5.java:
21705         (selfTest): Likewise,
21706         * gnu/java/security/hash/RipeMD128.java:
21707         (selfTest): Likewise,
21708         * gnu/java/security/hash/RipeMD160.java:
21709         (selfTest): Likewise,
21710         * gnu/java/security/hash/Sha160.java:
21711         (selfTest): Likewise,
21712         * gnu/java/security/hash/Sha256.java:
21713         (selfTest): Likewise,
21714         * gnu/java/security/hash/Sha384.java:
21715         (selfTest): Likewise,
21716         * gnu/java/security/hash/Sha512.java:
21717         (selfTest): Likewise,
21718         * gnu/java/security/hash/Tiger.java:
21719         (selfTest): Likewise,
21720         * gnu/java/security/hash/Whirlpool.java:
21721         (selfTest): Likewise.
21722
21723 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21724
21725         * javax/swing/plaf/basic/BasicTreeUI.java 
21726         (PropertyChangeHandler.propertyChange): Set the row mapper
21727         for the selection model.
21728         * javax/swing/tree/AbstractLayoutCache.java 
21729         (NodeDimensions.getNodeDimensions): Explained.
21730         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21731         Implemented. (setRowHeight): Invalidate sizes. 
21732         * javax/swing/tree/DefaultTreeSelectionModel.java
21733         (addSelectionPath, addSelectionPaths): Update lead row.
21734         (removeSelectionPath, removeSelectionPaths): Do nothing if
21735         selection is empty.
21736         (clone): Only clone list selection model if it is not null.
21737         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
21738         setSelectionPath, setSelectionPaths, toString): Implemented.
21739         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21740         Pass the empty rectangle. (isFixedRowHeight): New method.
21741         * javax/swing/tree/VariableHeightLayoutCache.java
21742         (NodeRecord.getBounds): Pass the empty rectangle.
21743         
21744 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21745
21746         * gnu/java/security/Properties.java
21747         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21748
21749 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21750
21751         * gnu/classpath/jdwp/util/Value.java
21752         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
21753         creating new Boolean instances.
21754
21755 2006-04-20  Mark Wielaard  <mark@klomp.org>
21756
21757         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21758         PrivilegedAction. Access awt.toolkit through SystemProperties.
21759
21760 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21761
21762         * javax/swing/ActionMap.java: Removed unused imports,
21763         * javax/swing/DefaultListSelectionModel.java
21764         (clearSelection): Removed unused label,
21765         * javax/swing/JScrollPane.java: Removed unused imports,
21766         * javax/swing/UIManager.java: Likewise,
21767         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21768
21769 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21770
21771         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21772         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21773         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21774         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21775         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21776
21777 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21778
21779         * java/sql/Array.java: Fixed Eclipse API doc warnings,
21780         * java/sql/Blob.java: Likewise,
21781         * java/sql/CallableStatement.java: Likewise,
21782         * java/sql/Clob.java: Likewise,
21783         * java/sql/Connection.java: Likewise,
21784         * java/sql/DatabaseMetaData.java: Likewise,
21785         * java/sql/Date.java: Likewise,
21786         * java/sql/Driver.java: Likewise,
21787         * java/sql/PreparedStatement.java: Likewise,
21788         * java/sql/ResultSet.java: Likewise,
21789         * java/sql/ResultSetMetaData.java: Likewise,
21790         * java/sql/SQLData.java: Likewise,
21791         * java/sql/SQLOutput.java: Likewise,
21792         * java/sql/SQLWarning.java: Likewise,
21793         * java/sql/Statement.java: Likewise,
21794         * java/sql/Time.java: Likewise,
21795         * java/sql/Timestamp.java: Likewise.
21796
21797 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21798
21799         * java/sql/DriverManager.java
21800         (setLoginTimeout): Use incoming argument,
21801         (setLogStream): Likewise,
21802         (println): Fix API doc comment.
21803
21804 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21805
21806         * javax/swing/JMenuItem.java
21807         (paramString): Updated API docs,
21808         (getAccessibleContext): Added API docs,
21809         (AccessibleJMenuItem.stateChanged): Marked as stub,
21810         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
21811         * javax/swing/JSlider.java
21812         (paramString): Fix for API docs,
21813         * javax/swing/JToolTip.java
21814         (getAccessibleContext): Fix for API docs.
21815
21816 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21817
21818         * javax/swing/JRadioButtonMenuItem.java
21819         (paramString): Reimplemented,
21820         (getAccessibleContext): API docs added,
21821         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
21822         Likewise,
21823         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
21824
21825 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21826
21827         * javax/swing/plaf/basic/BasicTreeUI.java
21828         (finish): Invalidate path bounds.
21829         (getMaxHeight): Set the row height to the layout cache.
21830         (startEditing): Do not request to recalculated 
21831         row height and preferred size.
21832         * javax/swing/tree/DefaultTreeCellEditor.java
21833         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
21834         with 0.
21835         * javax/swing/tree/FixedHeightLayoutCache.java:
21836         Rewritten.
21837
21838 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21839
21840         * javax/swing/JDesktopPane.java
21841         (paramString): Reimplemented,
21842         plus API doc updates in AccessibleJDesktopPane.
21843
21844 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21845
21846         * javax/swing/ImageIcon.java:
21847         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
21848         (AccessibleImageIcon.getLocale): Declared exception and always return 
21849         null,
21850         (getAccessibleContext): Updated API docs,
21851         plus updated API docs all over AccessibleImageIcon.
21852
21853 2006-04-20  Roman Kennke  <kennke@aicas.com>
21854
21855         PR 27196
21856         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21857         (paintText): Fetch the ascent only once. Add the ascent to
21858         the text rect also when tabs are disabled.
21859
21860 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
21861
21862         * java/util/Locale.java (defaultLocale): Set to en_US per
21863         default and use user.country but prioritize user.region if
21864         defined.
21865         (getLocale(String language, String country)): Renamed region to
21866         country.
21867         (getLocale(String language, String region, String variant)):
21868         Likewise.
21869         (getAvailableLocales): Likewise.
21870
21871 2006-04-20  Roman Kennke  <kennke@aicas.com>
21872
21873         PR 27222
21874         * javax/swing/JList.java
21875         (JList()): Call init() with DefaultListModel instance.
21876         (JList(Object[])): Call init() with null.
21877         (JList(Vector)): Call init() with null.
21878         (JList(ListModel)): Call init() with model.
21879         (init): Changed to take the model as argument. Don't call
21880         setter methods and initialize stuff directly instead.
21881         (getCellBounds): Check if UI is null.
21882
21883 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
21884
21885         * javax/swing/text/WrappedPlainView.java: Initialize
21886         WrappedLine.numLines with -1.
21887         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
21888         numLines is -1 and reculcalate the value appropriately.
21889         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
21890         allocation area is empty.
21891
21892 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21893
21894         * javax/swing/JTabbedPane.java
21895         (AccessibleJTabbedPane.stateChanged): Marked as stub,
21896         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
21897         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
21898         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
21899         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
21900         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
21901         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
21902         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
21903         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
21904         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
21905         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
21906         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
21907         (Page.getAccessibleStateSet): Likewise,
21908         (Page.getAccessibleIndexInParent): Likewise.
21909
21910 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21911
21912         * javax/swing/JProgressBar.java
21913         (paramString): Reimplemented.
21914
21915 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21916
21917         * javax/swing/JButton.java: Updated API docs all over.
21918
21919 2006-04-19  Roman Kennke  <kennke@aicas.com>
21920
21921         * java/awt/Toolkit.java
21922         (getDefaultToolkit): Use system classloader to load the
21923         toolkit.
21924
21925 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
21926
21927         * javax/swing/text/DefaultCaret.java:
21928         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
21929         instead of DefaultCaret.setDot.
21930
21931 2006-04-19  Roman Kennke  <kennke@aicas.com>
21932
21933         * native/jni/java-net/local.c
21934         (local_read): Handle EINTR correctly.
21935         (local_write): Likewise.
21936
21937 2006-04-19  Riccardo Mottola  <multix@gmail.com>
21938
21939         PR classpath/27062, PR classpath/25650:
21940         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
21941
21942 2006-04-19  Tom Tromey  <tromey@redhat.com>
21943
21944         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
21945         value of 'pureMinutes'.  PR classpath/27189.
21946
21947 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
21948
21949    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
21950    boot packages list from the META-INF/INDEX.LIST file if it exists. 
21951
21952 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
21953
21954         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
21955         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
21956         (ITERATION_COUNT): Removed modifiers.
21957         (PASSWORD): Likewise.
21958         (SALT): Likewise.
21959         (PASSWORD_ENCODING): New property.
21960         (DEFAULT_PASSWORD_ENCODING): New constant.
21961         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
21962         material (bytes) before a password (chars).
21963
21964 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21965
21966         * javax/swing/JMenu.java
21967         (getAccessibleChildrenCount): Marked as stub,
21968         (getAccessibleChild): Likewise,
21969         (getAccessibleSelection): Likewise,
21970         (getAccessibleSelection(int)): Likewise,
21971         (isAccessibleChildSelected): Likewise,
21972         (getAccessibleSelectionCount): Likewise,
21973         (addAccessibleSelection): Likewise,
21974         (removeAccessibleSelection): Likewise,
21975         (clearAccessibleSelection): Likewise,
21976         (selectAllAccessibleSelection): Likewise.
21977
21978 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
21979
21980         * javax/swing/JSplitPane.java
21981         (getAccessibleContext): Added API docs,
21982         (paramString): Reimplemented,
21983         (setOrientation): Updated API docs,
21984         (setResizeWeight): Added argument checking and event notification.
21985
21986 2006-04-18  Casey Marshall  <csm@gnu.org>
21987
21988         Fixes PR classpath/25673        
21989         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
21990         property is set. Update JavaDoc to reflect this.
21991
21992 2006-04-18  Lillian Angel  <langel@redhat.com>
21993
21994         * gnu/xml/dom/DomDocument.java
21995         (setCheckingCharacters): New function used to set
21996         checkingCharacters flag.
21997         * gnu/xml/dom/html2/DomHTMLParser.java
21998         (parseDocument): Added call to set checkingCharacters flag
21999         to false.
22000
22001 2006-04-18  Lillian Angel  <langel@redhat.com>
22002
22003         * gnu/xml/dom/DomDocument.java
22004         (checkNCName): Reverted last patch. Added check for colon at
22005         last position back in.
22006
22007 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22008
22009         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22010         New file.
22011         * examples/gnu/classpath/examples/swing/Demo.java:
22012         (mkMenuBar): Added NavigationFilter demo.
22013
22014 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22015
22016         * javax/swing/JSeparator.java: Updated API docs all over, plus
22017         (setOrientation): Fire PropertyChangeEvent,
22018         (paramString): Reimplemented.
22019
22020 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22021
22022         * javax/swing/plaf/basic/BasicTextUI.java:
22023         (getNextVisualPositionFrom): Implemented.
22024
22025 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22026
22027         * javax/swing/JPanel.java: Updated API docs all over, plus
22028         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22029         double-buffer flag.
22030
22031 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22032
22033         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22034         New file.
22035         * examples/gnu/classpath/examples/swing/Demo.java:
22036         (mkMenuBar): Added DocumenFilter demo.
22037
22038 2006-04-18  Tom Tromey  <tromey@redhat.com>
22039
22040         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22041
22042 2006-04-18  Mark Wielaard  <mark@klomp.org>
22043
22044         Reported by John Sullivan (johns@fsf.org)
22045         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22046
22047 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22048
22049         * javax/swing/JInternalFrame.java
22050         (JDesktopIcon.getAccessibleContext): Added API docs,
22051         (getDefaultCloseOperation): Likewise,
22052         (paramString): Added 'title' attribute,
22053         (setDefaultCloseOperation): Added API docs.
22054
22055 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22056
22057         * javax/swing/JSlider.java
22058         (paramString): Reimplemented.
22059
22060 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22061
22062         * javax/swing/JComboBox.java
22063         (paramString): Reimplemented,
22064         (getAccessibleContext): Added API docs,
22065         (AccessibleJComboBox.getAccessibleRole): Likewise.
22066
22067 2006-04-18  Roman Kennke  <kennke@aicas.com>
22068
22069         * javax/swing/RepaintManager.java
22070         (dirtyComponentsWork): New field.
22071         (ComponentComparator): Use dirtyComponentsWork instead of
22072         dirtyComponents.
22073         (RepaintManager): Initialize new field.
22074         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22075         and work on the copy.
22076
22077 2006-04-18  Roman Kennke  <kennke@aicas.com>
22078
22079         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22080         (setBounds): Call reshape().
22081         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22082         (SwingContainerPeer): Changed argument to be a Component
22083         instead a Container.
22084         (getInsets): Call insets().
22085         (handleMouseEvent): Added null check to avoid NPE.
22086         (handleMouseMotionEvent): Added null check to avoid NPE.
22087         
22088 2006-04-18  Roman Kennke  <kennke@aicas.com>
22089
22090         PR 27185
22091         * javax/swing/JComponent.java
22092         (paintChildrenWithOverlap): When one child is not opaque, propagate
22093         the dirty rectangles to the next child.
22094         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22095         This actually didn't work right and probably gained nothing.
22096
22097 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22098
22099         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22100         (moveToCellBeingEdited): Do not clone the rectangle here.
22101
22102 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22103
22104         * javax/swing/plaf/basic/BasicSliderUI.java
22105         (getActionMap): Fixed lookup key,
22106         (createActionMap): Modified actions to fetch slider/ui from the event
22107         source.
22108
22109 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22110
22111         * java/lang/Enum.java: Documented.
22112
22113 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22114
22115         * gnu/java/lang/InstrumentationImpl.java:
22116         Moved from java.lang.
22117         * java/lang/InstrumentationImpl.java:
22118         Removed.
22119         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22120         Moved from java.lang.
22121         * vm/reference/java/lang/VMClassLoader.java:
22122         Corrected reference to InstrumentationImpl.
22123         * vm/reference/java/lang/VMInstrumentationImpl.java:
22124         Removed.
22125         
22126 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22127
22128         * java/lang/annotation/Annotation.java:
22129         Documented.
22130         
22131 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22132
22133         * javax/swing/JToolBar.java
22134         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22135         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22136         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22137         (getAccessibleContext): Likewise.
22138
22139 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22140
22141         * configure.ac:
22142         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22143
22144         * native/fdlibm/Makefile.am,
22145         native/jni/classpath/Makefile.am:
22146         Don't use -module and -version-info for convenience libraries LDFLAGS.
22147         Fixes libtool warnings.
22148
22149 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22150
22151         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22152         (installKeyboardActions): Marked as stub,
22153         (uninstallKeyboardActions): Likewise,
22154         * javax/swing/plaf/basic/BasicComboPopup.java:
22155         (installKeyboardActions): Marked as stub,
22156         (uninstallKeyboardActions): Likewise,
22157         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22158         (installKeyboardActions): Marked as stub,
22159         (uninstallKeyboardActions): Likewise,
22160         * javax/swing/plaf/basic/BasicLabelUI.java:
22161         (installKeyboardActions): Marked as stub,
22162         (uninstallKeyboardActions): Likewise,
22163         * javax/swing/plaf/basic/BasicListUI.java:
22164         (installKeyboardActions): Marked as stub,
22165         (uninstallKeyboardActions): Likewise,
22166         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22167         (installKeyboardActions): Marked as stub,
22168         (uninstallKeyboardActions): Likewise,
22169         * javax/swing/plaf/basic/BasicMenuUI.java:
22170         (installKeyboardActions): Marked as stub,
22171         (uninstallKeyboardActions): Likewise,
22172         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22173         (installKeyboardActions): Marked as stub,
22174         (uninstallKeyboardActions): Likewise,
22175         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22176         (installKeyboardActions): Marked as stub,
22177         (uninstallKeyboardActions): Likewise,
22178         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22179         (installKeyboardActions): Marked as stub,
22180         (uninstallKeyboardActions): Likewise,
22181         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22182         (installKeyboardActions): Marked as stub,
22183         (uninstallKeyboardActions): Likewise,
22184         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22185         (installKeyboardActions): Marked as stub,
22186         (uninstallKeyboardActions): Likewise,
22187         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22188         (installKeyboardActions): Marked as stub,
22189         (uninstallKeyboardActions): Likewise,
22190         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22191         (installKeyboardActions): Marked as stub,
22192         (uninstallKeyboardActions): Likewise,
22193         * javax/swing/plaf/basic/BasicTableUI.java:
22194         (installKeyboardActions): Marked as stub,
22195         (uninstallKeyboardActions): Likewise,
22196         * javax/swing/plaf/basic/BasicTextUI.java:
22197         (installKeyboardActions): Marked as stub,
22198         (uninstallKeyboardActions): Likewise,
22199         * javax/swing/plaf/basic/BasicToolBarUI.java:
22200         (installKeyboardActions): Marked as stub,
22201         (uninstallKeyboardActions): Likewise.   
22202
22203 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22204
22205         * javax/swing/plaf/basic/BasicSliderUI.java
22206         (installKeyboardActions): Implemented,
22207         (uninstallKeyboardActions): Implemented,
22208         (scrollByBlock): Accept any value for direction,
22209         (scrollByUnit): Likewise,
22210         (getInputMap): New method,
22211         (getActionMap): New method,
22212         (createActionMap): New method.
22213
22214
22215 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22216         
22217         * doc/vmintegration.texinfo:
22218         Fix sectioning.
22219
22220 2006-04-16  Tom Tromey  <tromey@redhat.com>
22221
22222         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22223
22224 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22225
22226         * NEWS:
22227         Mention generics additions to the VM interface.
22228         * doc/vmintegration.texinfo:
22229         Added information on VMClass 1.5 additions and
22230         VMSecureRandom.
22231         
22232 2006-04-16  Casey Marshall  <csm@gnu.org>
22233
22234         * NEWS: add an entry mentioning local socket support.
22235
22236 2006-04-16  Casey Marshall  <csm@gnu.org>
22237
22238         * configure.ac (--enable-local-sockets): new enable argument.
22239         (ENABLE_LOCAL_SOCKETS): new define.
22240         * native/jni/java-net/Makefile.am (local_sources): new variable.
22241         (lib_javanet_la_SOURCES): append `local_sources.'
22242         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22243         * native/jni/java-net/local.c,
22244         * native/jni/java-net/local.h,
22245         * include/gnu_java_net_local_LocalSocketImpl.h,
22246         * gnu/java/net/local/LocalServerSocket.java,
22247         * gnu/java/net/local/LocalSocket.java,
22248         * gnu/java/net/local/LocalSocketAddress.java,
22249         * gnu/java/net/local/LocalSocketImpl.java: new files.
22250
22251 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22252
22253         * javax/accessibility/AccessibleAction.java:
22254         (DECREMENT): Added field.
22255         (INCREMENT): Likewise.
22256         (TOGGLE_EXPAND): Likewise.
22257         * javax/accessibility/AccessibleRole.java:
22258         (EDITBAR): Added field.
22259         (FOOTER): Likewise.
22260         (HEADER): Likewise.
22261         (PARAGRAPH): Likewise.
22262         (PROGRESS_MONITOR): Likewise.
22263         (RULER): Likewise.
22264         * javax/accessibility/AccessibleState.java:
22265         (INDETERMINATE): Added field.
22266         (MANAGES_DESCENDANTS): Likewise.
22267         (TRUNCATED): Likewise.
22268
22269 2006-04-14  Tom Tromey  <tromey@redhat.com>
22270
22271         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22272         Genericized.
22273         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22274         Genericized.
22275
22276 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22277
22278         * javax/swing/text/DefaultCaret.java:
22279         (getBypass): New method.
22280         (moveDot): Rewritten.
22281         (moveDotImpl): New method.
22282         (setDot): Rewritten.
22283         (setDotImpl): New method.
22284         (DefaultCaret.Bypass): New class.
22285
22286 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22287
22288         * javax/swing/text/AbstractDocument.java:
22289         (getBypass): New method.
22290         (insertString): Rewritten.
22291         (remove): Rewritten.
22292         (replace): Rewritten.
22293         (insertStringImpl): New method.
22294         (removeImpl): New method.
22295         (replaceImpl): New method.
22296         (AbstractDocument.Bypass): New class.
22297
22298 2006-04-14  Casey Marshall  <csm@gnu.org>
22299
22300         Fixes PR classpath/24642
22301         * NEWS: add note about SecureRandom changes, and addition of
22302         VMSecureRandom.
22303         * java/security/SecureRandom.java (isSeeded): new field.
22304         (setSeed, setSeed): set `isSeeded' to `true.'
22305         (nextBytes): seed this instance if `isSeeded' is false.
22306         (getSeed): call `generateSeed.'
22307         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22308         (generateSeed, generateSeed): new methods.
22309         * vm/reference/java/security/VMSecureRandom.java: new file.
22310
22311 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22312
22313         * javax/swing/text/FieldView.java:
22314         (paint): Apply clipping rectangle of the allocation area
22315         before painting the text.
22316         * javax/swing/text/DefaultHighlighter.java:
22317         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22318         compute union and intersection, calculate intersection with allocation
22319         area before painting, adjust x and width when painting multiple lines
22320         by the range of the allocation area.
22321
22322 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22323
22324         * javax/swing/text/DefaultHighlighter.java:
22325         (paintLayeredHighlights): Marked as stub.
22326
22327 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22328
22329         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22330         (propertyChanged): Added note, change color only if current background
22331         is a ColorUIResource instance.
22332
22333 2006-04-14  Tom Tromey  <tromey@redhat.com>
22334
22335         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22336         a stub.
22337         (next): Likewise.
22338
22339 2006-04-14  Tom Tromey  <tromey@redhat.com>
22340
22341         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22342
22343 2006-04-14  Mark Wielaard  <mark@klomp.org>
22344
22345         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22346         thread group when exceptionHandler isn't set.
22347         * vm/reference/java/lang/VMThread.java (run): Use result of
22348         thread.getUncaughtExceptionHandler directly.
22349
22350 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22351
22352         * javax/swing/JSplitPane.java
22353         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22354         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22355         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22356         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22357         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22358         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22359         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22360
22361 2006-04-10  Tom Tromey  <tromey@redhat.com>
22362
22363         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22364         Fixed parameter bounds.
22365
22366 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22367         
22368         * gnu/javax/crypto/assembly/Assembly.java,
22369         * gnu/javax/crypto/assembly/Cascade.java,
22370         * gnu/javax/crypto/assembly/CascadeStage.java,
22371         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22372         * gnu/javax/crypto/assembly/Direction.java,
22373         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22374         * gnu/javax/crypto/assembly/ModeStage.java,
22375         * gnu/javax/crypto/assembly/Operation.java,
22376         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22377         * gnu/javax/crypto/assembly/Stage.java,
22378         * gnu/javax/crypto/assembly/Transformer.java,
22379         * gnu/javax/crypto/cipher/Square.java,
22380         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22381         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22382         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22383         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22384         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22385         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22386         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22387         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22388         * gnu/javax/crypto/jce/cipher/PBES2.java,
22389         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22390         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22391         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22392         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22393         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22394         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22395         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22396         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22397         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22398         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22399         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22400         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22401         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22402         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22403         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22404         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22405         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22406         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22407         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22408         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22409         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22410         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22411         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22412         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22413         * gnu/javax/crypto/pad/WrongPaddingException.java,
22414         * gnu/javax/crypto/prng/ICMGenerator.java,
22415         * gnu/javax/crypto/prng/IPBE.java,
22416         * gnu/javax/crypto/prng/PBKDF2.java,
22417         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22418         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22419         * gnu/javax/crypto/sasl/srp/IALG.java,
22420         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22421         Remove CVS revision tags.
22422
22423 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22424
22425         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22426         Removed debugging code.
22427
22428 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22429  
22430         * javax/swing/JTree.java (getPreferredSize): Return the
22431         cloned instance.
22432         * javax/swing/ViewportLayout.java (layoutContainer):
22433         Do not manage the view size and location if the view is
22434         in the scroll pane. Also manage size and location for
22435         Scrollable, if it is not in the scroll pane.
22436         * javax/swing/plaf/basic/BasicTreeUI.java,
22437         * javax/swing/tree/FixedHeightLayoutCache.java,
22438         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22439         * gnu/javax/swing/tree/GnuPath.java: New file.
22440
22441 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22442
22443         * javax/swing/JToolBar.java
22444         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22445
22446 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22447
22448         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22449         (createCustomColoredPanel): Set background color as demo intends,
22450         changed custom selection color to red.
22451         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22452         Replaced various single variables with a Compound instance, added
22453         custom highlighter demo.
22454         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22455         TextAreaDemo).
22456         (TextFieldDemo.Compound): New class.
22457         (createTextFieldCompound): New method.
22458         (createLeftAlignedPanel): Rewritten.
22459         (createRightAlignedPanel): Rewritten.
22460         (createCenteredPanel): Rewritten.
22461         (createCustomColoredPanel): Removed.
22462         (createCustomColoredPanel1): New method.
22463         (createCustomColoredPanel2): New method.
22464         (createCustomBordersPanel): New method.
22465         (createMiscPanel): Rewritten.
22466         (actionPerformed): Rewritten.
22467         (createContent): Add panels of new compounds to main panel, put
22468         main panel in a JScrollPane.
22469         * examples/gnu/classpath/examples/swing/Demo.java:
22470         (Demo): Put desktop in a scrollpane.
22471         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22472         method via reflection.
22473
22474 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22475
22476         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22477         (createUI): Return new instance rather than shared instance.
22478
22479 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22480
22481         * javax/swing/text/FieldView.java:
22482         (checkContainer): Call updateVisibility() at the end.
22483
22484 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22485
22486         * java/awt/event/MouseEvent.java:
22487         (paramString): Add value of 'consumed' variable in string.
22488
22489 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22490
22491         PR 26967
22492         * javax/swing/JTextField.java: Removed scrollOffset variable.
22493         (JTextField): Moved up initialization of horizontalVisibility field.
22494         (getScrollOffset): Implemented.
22495         (setScrollOffset): Implemented.
22496         (getHorizonztalVisibility): Removed note.
22497         (scrollRectToVisible): New method.
22498         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22499         (checkContainer): New method.
22500         (updateVisibility): New method.
22501         (calculateHorizontalSpan): New method.
22502         (adjustAllocation): Removed unneeded local variables, added code
22503         to handle scrolling.
22504         (getPreferredSpan): Use new method calculateHorizontalSpan,
22505         avoid calculation by returning cached value cachedSpan.
22506         (paint): Added check whether the hosted component is a JTextField.
22507         (insertUpdate): Invalidate cached span value, update visibility
22508         if neccessary.
22509         (removeUpdate): Dito.
22510         (changeUpdate): Dito.
22511
22512 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22513
22514         * javax/swing/JInternalFrame.java
22515         (setTitle): Set old value to 'this.title', not 'title'.
22516
22517 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22518
22519         * javax/swing/JInternalFrame.java
22520         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22521         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22522         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22523         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22524         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22525         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22526         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22527         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22528         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22529         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22530         Implemented,
22531         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22532         Implemented,
22533         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22534         Implemented,
22535         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22536         Implemented,
22537         (JInternalFrame()): Use "" for default title,
22538         (getAccessibleContext): Updated API docs,
22539         (getDesktopIcon): Likewise,
22540         (getLayer): Check for layer in client properties, and return 
22541         DEFAULT_LAYER if no setting is found,
22542         (getTitle): Updated API docs,
22543         (setDesktopIcon): Fire property change event.
22544
22545 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22546
22547         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22548         Mind that the presence of one scroll bar may cause the
22549         need for another.
22550
22551 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
22552
22553         * gnu/regexp/REToken.java(unicodeAware): New field,
22554         (toLowerCase, toUpperCase): New methods.
22555         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22556         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22557         Use toLowerCase and toUpperCase defined in REToken instead of
22558         those defined in java.lang.Character.
22559         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22560         (initialize): Sets unicodeAware of the generated REToken to false if
22561         REG_ICASE_USASCII is set.
22562         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22563         to lower case and keep the original value.
22564         (matchOneString): Use the new method charEquals to compare characters.
22565         (charEquals): New method to compare characters.
22566         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22567
22568 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
22569
22570         * javax/swing/event/InternalFrameEvent.java:
22571         (paramString): Implemented,
22572         updated API docs all over.
22573         
22574 2006-04-12  Casey Marshall  <csm@gnu.org>
22575
22576         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22577         (Generator.setup): call `fillBlock.'
22578
22579 2006-04-12  Casey Marshall  <csm@gnu.org>
22580
22581         Fixes PR classpath/24481.
22582         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22583         initialize the adaptee.
22584         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22585         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22586         addRandomBytes): new methods.
22587
22588 2006-04-12  Tom Tromey  <tromey@redhat.com>
22589
22590         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22591         length strings.
22592
22593 2006-04-12  Lillian Angel  <langel@redhat.com>
22594
22595         * gnu/xml/dom/DomDocument.java
22596         (checkNCName): Removed unneeded part of check.
22597         * gnu/xml/dom/DomNode.java
22598         (dispatchEvent): Added code to grow ancestors array
22599         if needed. Changed checks to use depth of node instead.
22600         Fixes an infinite loop and segmentation fault.
22601         * gnu/xml/dom/html2/DomHTMLParser.java
22602         (handleEndTag): No need to use/make a copy of the node.
22603         Causes an infinite loop.
22604
22605 2006-04-12  Tom Tromey  <tromey@redhat.com>
22606
22607         PR classpath/27131:
22608         * java/util/BitSet.java (get): Early return if to==from.
22609
22610 2006-04-12  Mark Wielaard  <mark@klomp.org>
22611
22612         * java/security/SecureRandom.java (algorithm): New private field.
22613         (SecureRandom): Initialize algorithm.
22614         (SecureRandom(SecureRandomSpi,Provider,String)): New private
22615         constructor.
22616         (getInstance): Call 3 argument constructor.
22617         (getAlgorithm): New method.
22618
22619 2006-04-12  Mark Wielaard  <mark@klomp.org>
22620
22621         Port UncaughtExceptionHandler support from generics branch.
22622         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22623
22624 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22625
22626         * java/lang/Thread.java:
22627         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22628         Added docs and security check.
22629         (getUncaughtExceptionHandler()): Documented.
22630         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22631         Added docs and security check.
22632         (getDefaultUncaughtExceptionHandler()): Documented.
22633         (getId()): Documented.
22634
22635 2006-04-12  Tom Tromey  <tromey@redhat.com>
22636
22637         * vm/reference/java/lang/VMThread.java (run): Use thread's
22638         uncaught handler.
22639         * java/lang/Thread.java (defaultHandler): New field.
22640         (setDefaultUncaughtExceptionHandler,
22641         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22642         getUncaughtExceptionHandler): New methods.
22643         * java/lang/ThreadGroup.java (ThreadGroup): Implements
22644         UncaughtExceptionHandler.
22645         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22646
22647 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
22648
22649         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22650         buffer. Loop only once to determine Utf8 length when possible. Make
22651         the inner loop bounded by buf.length.
22652         (getUTFlength): New private method.
22653         (buf): New private field.
22654
22655 2006-04-11  Lillian Angel  <langel@redhat.com>
22656
22657         * gnu/xml/dom/DomNodeIterator.java
22658         (nextNode): Moved line of code to avoid an infinite loop.
22659         * gnu/xml/dom/html2/DomHTMLAppletElement.java
22660         (getCls): New function.
22661         (setCls): Likewise.
22662         (getSrc): Likewise.
22663         (setSrc): Likewise.
22664         * gnu/xml/dom/html2/DomHTMLDocument.java:
22665         Added DomHTMLEmbedElement to map.
22666         (getApplets): Added node name, 'embed'.
22667         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22668         New class.
22669         * gnu/xml/dom/html2/DomHTMLObjectElement.java
22670         (getJavaCode): New function.
22671         (setJavaCode): Likewise.
22672         (getObject): Likewise.
22673         (setObject): Likewise.
22674         (getJavaObject): Likewise.
22675         (setJavaObject): Likewise.
22676         (getJavaArchive): Likewise.
22677         (setJavaArchive): Likewise.
22678         (getJavaCodeBase): Likewise.
22679         (setJavaCodeBase): Likewise.
22680         (getJavaType): Likewise.
22681         (setJavaType): Likewise.
22682         (setMayscript): Likewise.
22683         (getMayscript): Likewise.
22684         (setScriptable): Likewise.
22685         (getScriptable): Likewise.
22686         * gnu/xml/dom/html2/DomHTMLParser.java
22687         (parseDocument): Should not check for well formedness
22688         when parsing an html document.
22689         * java/awt/Window.java
22690         (dispatchEvent): Added check to avoid NPE.
22691
22692 2006-04-10  Tom Tromey  <tromey@redhat.com>
22693
22694         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22695         name.
22696         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22697         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22698
22699 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
22700
22701         * javax/swing/plaf/basic/BasicTextUI.java:
22702         (getNextVisualPositionFrom): Marked as stub.
22703
22704 2006-04-10  Roman Kennke  <kennke@aicas.com>
22705
22706         * javax/swing/plaf/basic/BasicLookAndFeel.java
22707         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22708         and create the defaults as strings constants.
22709         (loadSystemColors): Implemented stubbed method.
22710
22711 2006-04-10  Tom Tromey  <tromey@redhat.com>
22712
22713         * .settings/org.eclipse.core.resources.prefs: Set encoding for
22714         ChangeLog.
22715
22716 2006-04-10  Tom Tromey  <tromey@redhat.com>
22717
22718         * java/io/CharArrayWriter.java (append): Javadoc fix.
22719         (append): Likewise.
22720
22721 2006-04-10  Tom Tromey  <tromey@redhat.com>
22722
22723         * javax/accessibility/AccessibleTextSequence.java: New file.
22724         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22725         field.
22726         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22727         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22728         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22729         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22730         * javax/accessibility/AccessibleExtendedText.java: New file.
22731         * javax/accessibility/AccessibleContext.java
22732         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22733         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22734         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22735         * javax/accessibility/AccessibleAttributeSequence.java: New file.
22736         * javax/accessibility/AccessibleStreamable.java: New file.
22737         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22738         fix.
22739
22740 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22741
22742         * javax/swing/tree/AbstractLayoutCache.java 
22743         (getNodeDimensions, getRowsForPath): Implemented.
22744         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22745         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22746
22747 2006-04-10  Roman Kennke  <kennke@aicas.com>
22748
22749         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22750
22751 2006-04-10  Roman Kennke  <kennke@aicas.com>
22752
22753         * javax/swing/JInternalFrame.java
22754         (AccessibleJInternalFrame): Marked all stubbed methods as such
22755         by adding throws NotImplementedException.
22756
22757 2006-04-10  Roman Kennke  <kennke@aicas.com>
22758
22759         * javax/swing/JFileChooser.java
22760         (getAccessibleContext): Don't create a new instance on each
22761         call, instead store the accessible context in the
22762         accessibleContext field.
22763
22764 2006-04-10  Roman Kennke  <kennke@aicas.com>
22765
22766         * javax/swing/JComboBox.java
22767         (AccessibleJComboBox): Marked all stubbed methods as such
22768         by adding throws NotImplementedException.
22769
22770 2006-04-10  Roman Kennke  <kennke@aicas.com>
22771
22772         * javax/swing/ActionMap.java
22773         (readObject): Removed.
22774         (writeObject): Removed.
22775
22776 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22777
22778         * javax/swing/tree/DefaultTreeSelectionModel.java
22779         (addSelectionPaths, setSelectionPaths): Call 
22780         insureUniqueness. (clone, setRowMapper): Implemented.
22781         * TreePath (path): Marked final.
22782
22783 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22784
22785         * javax/swing/tree/DefaultTreeSelectionModel.java:
22786         Documented and autoformatted. (insureUniqueness):
22787         Removed stub marking.
22788
22789 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
22790
22791         * javax/swing/SizeSequence.java
22792         (sizes): Don't initialise here,
22793         (SizeSequence(int, int)): Initialise sizes field,
22794         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22795         (setSize): Do nothing when index is out of bounds,
22796         (getIndex): Implemented,
22797         (setSizes): Reimplemented,
22798         (getSizes): Likewise,
22799         (insertEntries): Likewise,
22800         (removeEntries): Likewise,
22801         plus added API docs all over.
22802
22803 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
22804
22805         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
22806         one way message and retry after any IOException.
22807
22808 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22809
22810         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
22811         Set the byte order.
22812
22813 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
22814
22815         * org/omg/PortableServer/ServantLocatorPOA.java: 
22816         (preinvoke, postinvoke): Remove default implementation.
22817         * org/omg/PortableServer/ServantActivatorPOA.java: 
22818         (incarnate, etherealize): Remove default implementation.        
22819         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
22820         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
22821         (make_object): Moved method from ObjectReferenceFactoryOperations.
22822         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
22823         Removed unspecified interface.  
22824         * org/omg/DynamicAny/_DynAnyStub.java:
22825         (_DynAnyStub(Delegate)): Removed constructor.
22826         * org/omg/DynamicAny/_DynArrayStub.java,
22827         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
22828         * org/omg/DynamicAny/_DynEnumStub.java,
22829         * org/omg/DynamicAny/_DynFixedStub.java,
22830         * org/omg/DynamicAny/_DynSequenceStub.java,
22831         * org/omg/DynamicAny/_DynStructStub.java,
22832         * org/omg/DynamicAny/_DynUnionStub.java,
22833         * org/omg/DynamicAny/_DynValueStub.java: 
22834         Extend from ObjectImpl and not from _DynAnyStub.
22835         (type, next, destroy, copy, rewind, assign, component_count, 
22836         current_component, equal, from_any, get_any, get_boolean, get_char, 
22837         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
22838         get_reference, get_short, get_string, get_typecode, get_ulong, 
22839         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
22840         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
22841         insert_long, insert_longlong, insert_octet, insert_reference, 
22842         insert_short, insert_string, insert_typecode, insert_ulong, 
22843         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
22844         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
22845         * org/omg/CosNaming/_BindingIteratorStub.java:
22846         (_BindingIteratorStub(Delegate)): Made package private.
22847         * org/omg/CosNaming/_NamingContextExtStub.java:
22848         (_NamingContextExtStub(Delegate)): Made package private.
22849         * org/omg/CosNaming/_NamingContextStub.java:
22850         (_NamingContextStub(Delegate)): Made package private.
22851         (throw4, throw5): Likewise.
22852         * gnu/CORBA/NamingService/NameParser.java (resolve): 
22853         Adapt to package private constructor. Use _set_delegate instead.        
22854         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
22855         * org/omg/CORBA/ORB.java: 
22856         (create_recursive_sequence_tc): Made abstract.
22857         (get_default_context): Likewise.
22858         * gnu/CORBA/OrbRestricted.java: 
22859         (create_recursive_sequence_tc): New moved method.
22860         (get_default_context): Likewise.        
22861         * org/omg/CORBA/ParameterMode.java: 
22862         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
22863
22864 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22865
22866         * gnu/CORBA/GIOP/MessageHeader.java (write): 
22867         More informative exception.
22868         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
22869         * gnu/CORBA/SocketRepository.java (get_socket):
22870         Removed debugging code.
22871
22872 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22873
22874         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
22875         one way message, but ignore if EOF was received.
22876         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
22877         Minor.EOF if the end of file is received instead of the header.
22878
22879 2006-04-09  Roman Kennke  <kennke@aicas.com>
22880
22881         * javax/swing/plaf/metal/MetalRootPaneUI.java
22882         (MetalTitlePane.IconifyAction): New inner class.
22883         (MetalTitlePane.MaximizeAction): New inner class.
22884         (MetalTitlePane.createActions): Create iconifyAction and
22885         maximizeAction.
22886         (MetalRootLayout.titlePane): New field.
22887         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
22888         constructor.
22889         (MetalRootLayout.preferredLayoutSize): Changed to not make
22890         assumptions about the actual component order.
22891         (MetalRootLayout.layoutContainer): Changed to not make
22892         assumptions about the actual component order.
22893         (installWindowDecorations): Pass the titlePane as parameter to
22894         the MetalRootLayout constructor.
22895         (uninstallWindowDecorations): Changed to not make
22896         assumptions about the actual component order.
22897
22898 2006-04-08  Roman Kennke  <kennke@aicas.com>
22899
22900         * javax/swing/plaf/metal/MetalRootPaneUI.java
22901         (MetalTitlePane.MouseHandler): New inner class to handle dragging
22902         of frames.
22903         (MetalTitlePane.installListeners): Don't register a focus listener
22904         on the window. This is a potential memory leak and must be
22905         implemented on a different way. Install mouse listener here.
22906         (installWindowDecorations): Fixed assertion condition. Always
22907         insert the window decoration at index#1 in the layered 
22908         pane.
22909
22910 2006-04-08  Roman Kennke  <kennke@aicas.com>
22911
22912         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
22913         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
22914         Only resize window if actual width or height value changes.
22915         Avoids nasty flicker when only setLocation() is beeing called
22916         on a window.
22917
22918 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22919
22920         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
22921         exception if the magic sequence does not match.
22922
22923 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22924
22925         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
22926         response for the one way messages.
22927
22928 2006-04-08  Roman Kennke  <kennke@aicas.com>
22929
22930         * javax/swing/MenuSelectionManager.java
22931         (processKeyEvent): Implemented stub method.
22932         * javax/swing/JMenu.java
22933         (processKeyEvent): Implemented stub method.
22934         * javax/swing/JMenu.java
22935         (processKeyEvent): Implemented stub method.
22936         (processMenuKeyEvent): Implemented stub method.
22937
22938 2006-04-08  Roman Kennke  <kennke@aicas.com>
22939
22940         * javax/swing/AbstractAction.java
22941         (readObject): Removed unneeded method.
22942         (writeObject): Removed unneeded method.
22943
22944 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
22945
22946         * javax/swing/plaf/synth/SynthPainter.java: 
22947         (paintSplitPaneDividerBorder): Removed.
22948
22949 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
22950
22951         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
22952         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
22953         No longer constants.
22954         (static_initializer): Added to initialize above fields.
22955         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
22956         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
22957         (static_initializer): Added to initialize above fields.
22958
22959 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
22960
22961         * java/awt/Dialog.java: Improved documentation all over.
22962         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
22963         (Dialog(Dialog)): Likewise.
22964
22965 2006-04-08  Mark Wielaard  <mark@klomp.org>
22966
22967         * java/util/jar/JarFile.java (provider): New static field.
22968         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
22969         to `getInstance.'
22970
22971 2006-04-08  Mark Wielaard  <mark@klomp.org>
22972
22973         PR 27081
22974         * java/lang/StackTraceElement.java (toString): Don't add space
22975         between type and source indicator.
22976
22977 2006-04-07  Casey Marshall  <csm@gnu.org>
22978
22979         Fixes PR classpath/24464        
22980         * java/util/jar/JarFile.java (verify, verifyHashes,
22981         EntryInputStream.<init>): pass the Gnu provider directly to
22982         `getInstance.'
22983
22984 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
22985
22986         PR classpath/27071
22987         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
22988         (DIGEST0): Use version 3 test vector.
22989         (Sd): Removed.
22990         (S_box): New field: Version 3 S-box values.
22991         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
22992         (transform): Formating.
22993         (padBuffer): Likewise.
22994         (getResult): Likewise.
22995         (selfTest): Likewise.
22996
22997 2006-04-07  Tom Tromey  <tromey@redhat.com>
22998
22999         * java/util/InvalidPropertiesFormatException.java
23000         (serialVersionUID): New field.
23001         (readObject, writeObject): New methods.
23002         * java/util/Arrays.java (toString): Javadoc fixes.
23003         * java/net/URLConnection.java: Cleaned up imports.
23004         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23005         * java/lang/reflect/MalformedParameterizedTypeException.java
23006         (serialVersionUID): New field.
23007         * java/lang/reflect/GenericSignatureFormatError.java
23008         (serialVersionUID): New field.
23009         * java/lang/Class.java (Class): Javado fixes.
23010         (getComponentType): Likewise.
23011         (getGenericInterfaces): Likewise.
23012         (getTypeParameters): Likewise.
23013         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23014         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23015         New field.
23016         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23017         field.
23018         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23019         New field.
23020
23021 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23022
23023         * java/awt/Dialog.java 
23024         (AccessibleAWTDialog): Added api docs
23025         (AccessibleAWTDialog.getAccessibleStateSet):
23026          Renamed from getAccessibleState.
23027         * java/awt/Frame.java 
23028         (AccessibleAWTFrame): Added api docs
23029         (AccessibleAWTFrame.getAccessibleStateSet):
23030          Renamed from getAccessibleState.
23031
23032 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23033
23034         * java/awt/Dialog.java: Reformatted.
23035
23036 2006-04-07  Lillian Angel  <langel@redhat.com>
23037
23038         * java/awt/Component.java
23039         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23040         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23041
23042 2006-04-07  Tom Tromey  <tromey@redhat.com>
23043
23044         * java/beans/beancontext/BeanContextMembershipEvent.java
23045         (serialVersionUID): New field.
23046         * java/beans/beancontext/BeanContextServicesSupport.java
23047         (addBeanContextServicesListener): Synchronize.
23048         (addService): Implemented.
23049         (createBCSChild): Implemented.
23050         (BCSSChild): Added arguments.
23051         (fireServiceAdded): Implemented.
23052         (fireServiceRevoked): Implemented.
23053         (getCurrentServiceSelectors): Implemented.
23054         (hasService): Implemented.
23055         (removeBeanContextServicesListener): Implemented.
23056         (serviceAvailable): Implemented.
23057         (serviceRevoked): Implemented.
23058         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23059         arguments.
23060         (createBCSChild): Implemented.
23061         (BeanContextSupport): 
23062         (addBeanContextMembershipListener): Synchronize.
23063         (fireChildrenAdded): Implemented.
23064         (fireChildrenRemoved): Implemented.
23065         (BeanContextSupport): Use default locale.
23066         (isEmpty): Implemented.
23067         (isDesignTime): Implemented.
23068         (size): Implemented.
23069         (toArray): Synchronized.
23070         (toArray): Likewise.
23071         (iterator): Likewise.
23072         (BCSIterator): Implemented.
23073         (bcsChildren): Implemented.
23074         (validatePendingAdd): Implemented.
23075         (validatePendingRemove): Likewise.
23076         (childJustAddedHook): Implemented.
23077         (childJustRemovedHook): Likewise.
23078         (classEquals): Likewise.
23079         (toArray): Mark as stub.
23080         (setDesignTime): Implemented.
23081         (copyChildren): Implemented.
23082         (containsKey): Implemented.
23083         (contains): Likewise.
23084         (containsAll): Likewise.
23085         (getResource): Implemented.
23086         (getResourceAsStream): Likewise.
23087         (removeBeanContextMembershipListener): Likewise.
23088         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23089         (serialVersionUID): New field.
23090         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23091         (serialVersionUID): New field.
23092         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23093         fix.
23094
23095 2006-04-06  Roman Kennke  <kennke@aicas.com>
23096
23097         PR 26937
23098         * javax/swing/MenuSelectionManager.java
23099         (setSelectedPath): Search one more item in the loop.
23100         
23101 2006-04-06  Tom Tromey  <tromey@redhat.com>
23102
23103         * java/awt/image/renderable/RenderableImageProducer.java
23104         (image, context, consumers): New fields.
23105         (RenderableImageProducer): Implemented.
23106         (setRenderContext): Likewise.
23107         (addConsumer): Likewise.
23108         (isConsumer): Likewise.
23109         (removeConsumer): Likewise.
23110         (startProduction): Likewise.
23111
23112 2006-04-06  Roman Kennke  <kennke@aicas.com>
23113
23114         * java/awt/Component.java
23115         (AccessibleAWTComponent.getBounds): Return the component
23116         bounds regardless of its showing state.
23117         (AccessibleAWTComponent.getLocation): Return the component
23118         location regardless of its showing state.
23119         (AccessibleAWTComponent.getSize): Return the component
23120         size regardless of its showing state.
23121
23122 2006-04-06  Roman Kennke  <kennke@aicas.com>
23123
23124         * javax/swing/JRootPane.java
23125         (getAccessibleContext): New method. Provides an accessibleContext
23126         for JRootPanes.
23127
23128 2006-04-06  Roman Kennke  <kennke@aicas.com>
23129
23130         * java/awt/Toolkit.java
23131         (initAccessibility): Use the 'gnu.classpath.home.url' property
23132         to determine the system confiuration directory.
23133         * java/awt/Component.java
23134         (dispatchEvent): Trigger Toolkit dispatching here.
23135         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23136         so it can't be overridden by subclasses and is performed in
23137         any case.
23138
23139 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23140         
23141         * javax/naming/Binding.java: Added API docs.
23142         * javax/naming/NameClassPair.java: Added API docs.
23143         (fullName): New field.
23144         (setNameInNamespace): New 1.5 method.
23145         (getNameInNamespace): Likewise.
23146
23147 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23148
23149         * javax/naming/CompositeName.java: 
23150         (readObject): New deserialization method.
23151         (writeObject): New serialization method.
23152
23153 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23154
23155         * javax/security/auth/x500/X500Principal.java
23156         (readAttributeValue) Check for separator after quoted value was
23157         failing in all cases.
23158
23159 2006-04-06  Mark Wielaard  <mark@klomp.org>
23160
23161         * java/lang/Class.java (getClassLoader): Don't do security check
23162         when loader is null.
23163
23164 2006-04-06  Roman Kennke  <kennke@aicas.com>
23165
23166         * java/awt/Toolkit.java
23167         (getDefaultToolkit): Initialize accessibility after setting
23168         up the toolkit.
23169         (initAccessibility): New helper method to setup accessibility.
23170
23171 2006-04-06  Roman Kennke  <kennke@aicas.com>
23172
23173         * javax/swing/AbstractButton.java
23174         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23175         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23176         stub.
23177         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23178         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23179         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23180         (AccessibleAbstractButton.getCharCount): Implemented stub.
23181         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23182         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23183         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23184         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23185         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23186         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23187         private method.
23188
23189 2006-04-06  Roman Kennke  <kennke@aicas.com>
23190
23191         * java/awt/Component.java
23192         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23193         state here. This is only done in JComponent.
23194         * javax/swing/JComponent.java
23195         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23196         here.
23197         (getNextFocusableComponent): Implemented stub method.
23198         (grabFocus): Implemented stub method.
23199         (unregisterKeyboardAction): Implemented stub method.
23200         (setNextFocusableComponent): Implemented stub method.
23201         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23202         This is a helper class for providing compatibility with the older
23203         Swing focus API.
23204
23205 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23206
23207         Fixes bug #26995
23208         * javax/naming/directory/BasicAttribute.java,
23209         * javax/naming/directory/BasicAttributes.java: 
23210         (readObject): New deserialization method.
23211         (writeObject): New serialization method.
23212
23213 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23214
23215         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23216         (getErrorHandler): Made method abstract.
23217         (setErrorHanlder): Likewise.
23218         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23219         (getErrorHandler): Implement abstract method from superclass.
23220         (setErrorHandler): Likewise.
23221         (errorHandler): New field.
23222         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23223         (getErrorHandler): Implement abstract method from superclass.
23224         (setErrorHandler): Likewise.
23225         (errorHandler): New field.      
23226         * javax/xml/XMLConstants.java: Corrected since tag.
23227         (XMLConstants): Added private constructor.
23228         * javax/xml/datatype/Duration.java: Corrected since tag.
23229         (multiply): Made method abstract.
23230         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23231         (DatatypeConstants): Added private constructor.
23232         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23233         (XPathConstants): Added private constructor.
23234
23235 2006-04-05  Tom Tromey  <tromey@redhat.com>
23236
23237         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23238
23239 2006-04-05  Tom Tromey  <tromey@redhat.com>
23240
23241         PR libgcj/26625:
23242         * lib/Makefile.am (compile-classes): Touch the output file.
23243
23244 2006-04-05  Roman Kennke  <kennke@aicas.com>
23245
23246         * javax/swing/AbstractButton.java
23247         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23248         of the focused state. This is already done in AccessibleAWTComponent.
23249
23250 2006-04-05  Roman Kennke  <kennke@aicas.com>
23251
23252         * javax/swing/JComponent.java
23253         (accessibleContext): Fixed API doc for this field.
23254         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23255         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23256         Implemented and added API docs.
23257         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23258         Implemented and added API docs.
23259         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23260         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23261         Implemented and added API docs.
23262         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23263         Implemented and added API docs.
23264         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23265         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23266         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23267         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23268         (AccessibleJComponent.getAccessibleStateSet): Simply return
23269         super here. Added comment about this.
23270
23271 2006-04-05  Roman Kennke  <kennke@aicas.com>
23272
23273         * javax/swing/JComponent.java
23274         (AccessibleJComponent.addPropertyChangeListener): Install
23275         ContainerHandler and FocusHandler here.
23276         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23277         ContainerHandler and FocusHandler here.
23278         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23279         by super.getAccessibleChildrenCount().
23280         (AccessibleJComponent.getAccessibleChild): Replaced
23281         by super.getAccessibleChild().
23282         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23283         adding OPAQUE to the supported states.
23284         (AccessibleJComponent.getAccessibleName): Added titled border
23285         and label fallbacks.
23286         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23287         and label fallbacks.
23288         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23289         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23290         explaining why return null seems correct here.
23291         * javax/swing/JLabel.java
23292         (LABEL_PROPERTY): New constant.
23293         (setLabelFor): Store label in labeled component's client properties
23294         for the AccessibleJComponent to read.
23295
23296 2006-04-05  Tom Tromey  <tromey@redhat.com>
23297
23298         * java/util/zip/ZipFile.java (available): Defer to super if
23299         entry's size is unknown.
23300
23301 2006-04-05  Tom Tromey  <tromey@redhat.com>
23302
23303         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23304         property with mime.types name.
23305         * gnu/classpath/SystemProperties.java: Set
23306         gnu.classpath.mime.types.file if not already set.
23307         * java/net/URLConnection.java (defaultFactory): New field.
23308         (guessContentTypeFromStream): Mark as unimplemented.
23309         (getContentHandler): Updated with libgcj's implementation.
23310         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23311         from libgcj.
23312
23313 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23314
23315         PR classpath/27028
23316         PR classpath/24752
23317         * java/util/AbstractList.java (hasNext): Don't throw
23318         ConcurrentModificationException. Update Javadoc.
23319         (hasPrevious): Likewise.
23320         (nextIndex): Likewise.
23321         (previousIndex): Likewise.
23322         * java/util/HashMap.java (hasNext): Likewise.
23323         * java/util/Hashtable.java (hasNext): Likewise.
23324         * java/util/IdentityHashMap.java (hasNext): Likewise.
23325         * java/util/LinkedHashMap.java (hasNext): Likewise.
23326         * java/util/LinkedList.java (nextIndex): Likewise.
23327         (previousIndex): Likewise.
23328         (hasNext): Likewise.
23329         (hasPrevious): Likewise.
23330         * java/util/TreeMap.java (hasNext): Likewise.
23331         * java/util/WeakHashMap.java (hasNext): Likewise.
23332
23333 2006-04-05  Roman Kennke  <kennke@aicas.com>
23334
23335         * javax/swing/AbstractButton.java
23336         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23337         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23338         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23339         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23340         (AccessibleAbstractButton.getAccessibleActionDescription):
23341         Implemented stub.
23342         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23343         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23344         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23345         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23346         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23347         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23348
23349 2006-04-05  Roman Kennke  <kennke@aicas.com>
23350
23351         * javax/swing/JComboBox.java
23352         (selectWithKeyChar): Implemented stubbed method.
23353
23354 2006-04-05  Roman Kennke  <kennke@aicas.com>
23355
23356         * javax/swing/LookAndFeel.java
23357         (installProperty): New method. Allows primitive typed properties
23358         to be handled like UIResources.
23359         * javax/swing/AbstractButton.java
23360         (clientBorderPaintedSet): New field.
23361         (clientRolloverEnabledSet): New field.
23362         (clientIconTextGapSet): New field.
23363         (clientContentAreaFilledSet): New field.
23364         (setRolloverEnabled): Set the client field to true.
23365         (setBorderPainted): Likewise.
23366         (setIconTextGap): Likewise.
23367         (setContentAreaFilled): Likewise.
23368         (setUIProperty): New helper method.
23369         * javax/swing/JComponent.java
23370         (clientOpaqueSet): New field.
23371         (clientAutoscrollsSet): New field.
23372         (setAutoscrolls): Set the client field to true.
23373         (setOpaque): Likewise.
23374         (setUIProperty): New helper method.
23375         * javax/swing/JDesktopPane.java
23376         (clientDragModeSet): New field.
23377         (setDragMode): Set the client field to true.
23378         (setUIProperty): New helper method.
23379         * javax/swing/JSplitPane.java
23380         (clientDividerSizeSet): New field.
23381         (clientOneTouchExpandableSet): New field.
23382         (setDividerSize): Set the client field to true.
23383         (setOneTouchExpandable): Likewise.
23384         (setUIProperty): New helper method.
23385         * javax/swing/JTable.java
23386         (clientRowHeightSet): New field.
23387         (setRowHeight): Set the client field to true.
23388         (setUIProperty): New helper method.
23389         * javax/swing/JTree.java
23390         (clientRowHeightSet): New field.
23391         (clientScrollsOnExpandSet): New field.
23392         (clientShowsRootHandlesSet): New field.
23393         (setRowHeight): Set the client field to true.
23394         (setShowsRootHandles): Likewise.
23395         (setScrollsOnExpand): Likewise.
23396         (setUIProperty): New helper method.
23397
23398 2006-04-05  Roman Kennke  <kennke@aicas.com>
23399
23400         * java/awt/Component.java
23401         (getFont): Don't request the font from the peer's graphics. The
23402         graphics should instead get the font from the Component, which might
23403         result in a loop.
23404         (getFocusCycleAncestor): Don't special case Window.
23405         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23406         to here. Correctly determine the focus cycle root.
23407         (transferFocusBackward): Likewise.
23408         (transferFocusUpCycle): Likewise.
23409         * java/awt/Container.java
23410         (transferFocusDownCycle): Moved implementation from
23411         DefaultKeyboardFocusManager to here.
23412         * java/awt/DefaultKeyboardFocusManager.java
23413         (focusPreviousComponent): Moved implementation to
23414         Component.transferFocusBackward().
23415         (focusNextComponent): Moved implementation to
23416         Component.nextFocus().
23417         (upFocusCycle): Moved implementation to
23418         Component.transferFocusUpCycle().
23419         (downFocusCycle): Moved implementation to
23420         Container.transferFocusDownCycle().
23421
23422 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23423
23424         * java/awt/image/ComponentSampleModel.java
23425         (equals): Implemented,
23426         (hashCode): Likewise.
23427
23428 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23429
23430         * java/lang/Class.java
23431         (cast): New method.
23432
23433 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23434
23435         * java/awt/image/ComponentSampleModel.java
23436         (getBankIndices): Return a copy of the array, not a reference to the
23437         original,
23438         (getBandOffsets): Likewise.
23439
23440 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23441
23442         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23443
23444 2006-04-04  Tom Tromey  <tromey@redhat.com>
23445
23446         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23447
23448 2006-04-04  Tom Tromey  <tromey@redhat.com>
23449
23450         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23451         (MimeTypeMapper): Initialize.
23452         (fillFromFile): New method.
23453         (main): New method.
23454         (mime_strings): Updated.
23455
23456 2006-04-04  Tom Tromey  <tromey@redhat.com>
23457
23458         * lib/gen-classlist.sh.in: Correct handle generated files.
23459
23460 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23461
23462         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23463         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23464         * gnu/regexp/CharIndexedCharSequence.java: New file.
23465         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23466         gnu.regexp.CharIndexedCharSequence.
23467         * gnu/regexp/CharIndexedString.java: Likewise.
23468         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23469         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23470         using CharIndexedCharSequence. Use setAnchor when the input
23471         object is already a CharIndexed.
23472         * java/util/regex/Matcher.java(inputCharIndexed): New field
23473         to be used as a parameter of the RE#getMatch.
23474
23475 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23476
23477         * java/awt/image/SampleModel.java: Reformatted.
23478
23479 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23480
23481         * java/awt/image/ComponentSampleModel.java
23482         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23483         documentation,
23484         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23485         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23486         of the bandOffsets and bankIndices arguments, added API documentation,
23487         * java/awt/image/SampleModel.java
23488         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23489         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23490         less than or equal to zero, added API documentation.
23491
23492 2006-04-04  Lillian Angel  <langel@redhat.com>
23493
23494         * java/util/zip/ZipFile.java
23495         (getInputStream): Fixed to return size of ZipEntry
23496         minus the total bytes read. This guarantees that the 
23497         right value is returned even if some bytes have already
23498         been read.
23499
23500 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23501
23502         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23503         Remove static modifier.
23504
23505 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23506
23507         * java/awt/image/ComponentSampleModel.java: Reformatted.
23508
23509 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23510
23511         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23512         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23513         retrieval instructions to javadoc header.
23514         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23515         compressionType field.
23516         * lib/Makefile.am (propertydirs): Add javax directory.
23517         (propertyfiles): Likewise.
23518         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23519         New file.
23520
23521 2006-04-03  Tom Tromey  <tromey@redhat.com>
23522
23523         PR classpath/26971:
23524         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23525         (BasicAttributeEnumeration.where): Initialize to 0.
23526         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23527
23528 2006-04-03  Lillian Angel  <langel@redhat.com>
23529
23530         PR classpath/24596 and PR classpath/26930
23531         * java/util/zip/ZipFile.java
23532         (getInputStream): Override available function for 
23533         InflaterInputStream instance.
23534
23535 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23536
23537         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23538
23539 2006-04-03  Tom Tromey  <tromey@redhat.com>
23540
23541         * javax/security/auth/kerberos/ServicePermission.java: New file.
23542         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23543         * javax/security/auth/kerberos/KerberosKey.java: New file.
23544         * javax/security/auth/kerberos/KeyImpl.java: New file.
23545         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23546         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23547
23548 2006-04-03  Sven de Marothy  <sven@physto.se>
23549
23550         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23551         non-GtkImage images.
23552
23553 2006-04-03  Mark Wielaard  <mark@klomp.org>
23554
23555         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23556         as temporary file name.
23557
23558 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23559
23560         * INSTALL: Documented --with-glibj-zip option.
23561
23562 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23563
23564         Fixed all pscan warnings.
23565
23566         * native/jni/classpath/jcl.c (JCL_ThrowException),
23567         native/jni/classpath/jcl.h (DBG),
23568         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23569         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23570         Use "%s" format in fprintf and snprintf explicitely when printing a single 
23571         string to prevent format string exploits.
23572         
23573         * native/jni/java-net/javanet.h (DBG): Removed duplicate
23574         definition. Included jcl.h instead.
23575  
23576 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
23577
23578         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23579         (provider): Made it protected.
23580         (providerInstalled): New field.
23581         (Main): Made it a 0-arguments constructor.
23582         Removed throws clasue.
23583         (main): Removed throws clause.
23584         Call processArgs(args) after constructing instance.
23585         Call teardown() before existing.
23586         (processArgs): Added javadoc.
23587         Reduced to throws Exception.
23588         (start): Likewise.
23589         (teardown): New method.
23590         (setupCommonParams): Added javadoc.
23591         Install designated provider if not already installed.
23592         (installNewProvider): New method.
23593         (setupSigningParams): Added javadoc.
23594         Instantiate the KeyStore using type only.
23595         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23596         Removed unused imports.
23597         (start): Reduced to throws Exception.
23598         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23599         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23600         Re-organized imports.
23601         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23602         Test ignoring case.
23603         (getNames): Add "dsa" as an algorithm provided by this Factory.
23604         (makeInstance): Construct IllegalArgumentException with 2 arguments.
23605
23606 2006-04-03  Roman Kennke  <kennke@aicas.com>
23607
23608         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23609         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23610         Replaced g_free() with pango_item_free() to avoid problems
23611         with the allocator.
23612
23613 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
23614
23615         Fixes bug #26668
23616         * java/util/logging/Level.java (parse): Document.
23617         * java/util/logging/LogManager.java (rootLogger): Removed.
23618         (LogManager): Just set loggers to new HashMap.
23619         (getLogManager): Make synchronized. Create and init LogManager if it
23620         doesn't exist yet.
23621         (static): Removed block.
23622         (MANAGER_PROPERTY): New private final string.
23623         (makeLogManager): Use new property string, move warning to
23624         createInstance() method.
23625         (CONFIG_PROPERTY): New private final string.
23626         (initLogManager): New method.
23627         (addLogger): Use Logger.root, not rootLogger.
23628         (findAncestor): Likewise.
23629         (readConfiguration): Move warning to createInstance() method.
23630         Add handlers directly to Logger.root. Warn about bad level values.
23631         (getClassProperty): Use new locateClass() method.
23632         (getInstanceProperty): Only catch specific newInstance Errors.
23633         (createInstance): Make private and takes a string to use in warning
23634         messages. Use new locateClass() method and generate appropriate
23635         warning message.
23636         (warn): New methods.
23637         (locateClass): Locates a class through the context class loader and
23638         system class loader as backup.
23639         * java/util/logging/Logger.java (root): New static final field.
23640         (Logger): Set parent to root.
23641         (setParent): Directly check root field.
23642
23643 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23644
23645         * java/util/Collections.java:
23646         (binarySearch(List, T)): Fixed signature.
23647         (unmodifiableList(List)): Likewise.
23648         (UnmodifiableList(List)): Fixed constructor.
23649         (UnmodifiableRandomAccessList(List)): Likewise.
23650         (unmodifiableMap(Map)): Fixed signature.
23651         (UnmodifiableMap(Map)): Fixed constructor.
23652         (unmodifiableSortedMap(Map)): Fixed signature.
23653         (UnmodifiableSortedMap(Map)): Fixed constructor.
23654         
23655 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23656
23657         * java/io/ObjectOutputStream.java:
23658         (writeObject(Object)): Added enum support.
23659         (writeClassDescriptor(ObjectStreamClass)): Likewise.
23660         * java/io/ObjectStreamClass.java:
23661         (isEnum()): New package-private method.
23662         (setFlags(Class)): Added enum support.
23663         * java/io/ObjectStreamConstants.java:
23664         (SC_ENUM): Added.
23665         
23666 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23667
23668         * javax/swing/text/Segment.java:
23669         (setPosition): Make exception message more verbose.
23670         * javax/swing/text/WrappedPlainView.java:
23671         (insertUpdate): Removed unneeded repaint call.
23672         (changeUpdate): Dito.
23673         (removeUpdate): Dito.
23674         (WrappedLine.determineNumLines): Do not return numLines, break
23675         from loop if no new break point has been calculated.
23676         (WrappedLine.updateDamage): Rewritten.
23677         (WrappedLine.insertUpdate): Removed unneeded update code.
23678         (WrappedLine.removeUpdate): Removed unneeded update code, added
23679         comment.        
23680
23681 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23682
23683         * configure.ac (with-glibj-zip): Added new option.
23684
23685         * examples/Makefile.am,
23686         lib/Makefile.am,
23687         tools/Makefile.am: Adapted build classpath to use glibj.zip,
23688         in addition to classes in lib directory.
23689
23690 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23691
23692         * tools/gnu/classpath/tools/giop/GRMIC.java,
23693         tools/gnu/classpath/tools/giop/IorParser.java,
23694         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23695         tools/gnu/classpath/tools/giop/grmic/Generator.java,
23696         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23697         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23698         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23699         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23700         tools/gnu/classpath/tools/rmi/RMIC.java,
23701         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23702         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23703         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23704         linking exception from the licensing header.
23705         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23706         Added licensing header.
23707
23708 2006-04-02  Mark Wielaard  <mark@klomp.org>
23709
23710         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23711         (jarsigner): Removed.
23712
23713 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23714
23715         * configure.ac: don't check for isnan function.
23716         * native/fdlibm/fdlibm.h: Always use the isnan macro.
23717
23718 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23719
23720         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23721         * tools/Makefile.am: Generate jarsigner shell script.
23722         * tools/jarsigner.sh.in: New template.
23723         * tools/.cvsignore: Added jarsigner.sh.
23724
23725 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23726
23727         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23728         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23729         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23730         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23731         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23732         Re-organised imports.
23733
23734 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
23735
23736         PR classpath/25924:
23737         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23738         Handle case where alpha==0.
23739
23740 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23741
23742         PR #26676
23743         * javax/swing/text/Utilities.java:
23744         (getTabbedTextOffset): Added check to decrement pos not below zero,
23745         changed '>' comparison to '>='.
23746         * javax/swing/text/WrappedPlainView.java:
23747         (lineHeight): New field.
23748         (calculateBreakPosition): Throw InternalError in catch block, removed
23749         unneeded brackets, use specific version of
23750         Utilities.getTabbedTextOffset.
23751         (paint): Set various properties neccessary for drawing.
23752         (WrappedLine.paint): Removed code to set field of outer class.
23753         (WrappedLine.modelToView): Removed unneeded expression from
23754         if-statement.
23755         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23756         -1 from return statement, copy only a subset into the Segment, removed
23757         special handling of mark value - just return it, simplified
23758         incrementation of currLineStart.
23759         (WrappedLine.insertUpdate): Recalculate numLines, report preference
23760         change to parent view.
23761         (WrappedLine.removeUpdate): Dito.
23762
23763 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23764
23765         * javax/swing/text/Segment.java:
23766         (toString): Return empty string when array is null.
23767
23768 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23769
23770         * javax/swing/plaf/basic/BasicTextUI.java:
23771         (damageRange): Use SwingUtilities.computeUnion to avoid
23772         unneccessary Rectangle instantiation.
23773
23774 2006-04-01  Tom Tromey  <tromey@redhat.com>
23775
23776         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23777
23778 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23779
23780         * javax/swing/text/CompositeView.java: Fixed copyright header.
23781         * javax/swing/text/BoxView.java: Fixed copyright header.
23782         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23783         * javax/swing/text/Utilities.java: Fixed copyright header.
23784
23785 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23786
23787         * javax/swing/text/CompositeView.java:
23788         (modelToView): Throw BadLocationException when no child
23789         view can be found, restructed to throw exception as early
23790         as possible.
23791         (viewToModel): Use mutable allocation as argument for viewToModel
23792         call on child view.
23793         * javax/swing/text/BoxView.java:
23794         (getViewAtPoint): Call setBounds() r before method returns with
23795         suitable child view.
23796         * javax/swing/text/Utilities.java:
23797         (getPositionBelow): Added try-catch-block around modelToView call,
23798         added method return when BadLocationException was thrown.
23799         * javax/swing/text/WrappedPlainView.java:
23800         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
23801         added note about meaning of rect.x and rect.width, removed unneeded
23802         checks, added code to not return the last possible document offset.
23803
23804 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23805
23806         * javax/swing/text/WrappedPlainView.java:
23807         (WrappedLine.viewToModel): Change < to <= in if-statement,
23808         removed addition of currLineStart to return value.
23809         * javax/swing/text/BoxView.java:
23810         (getViewAtPoint): Use copy instead of r for method call
23811         which modifies the second argument.
23812
23813 2006-04-01  Mark Wielaard  <mark@klomp.org>
23814
23815         Fixes PR26973
23816         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
23817
23818 2006-03-31  Tom Tromey  <tromey@redhat.com>
23819
23820         * lib/split-for-gcj.sh: Updated for multi-field format.
23821         * lib/Makefile.am (CLEANFILES): Added classes.2.
23822         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
23823         classes.2 using multiple fields.
23824
23825 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23826
23827         * javax/swing/JTable.java (columnSelectionChanged):
23828         Removed print statement.
23829         * javax/swing/DefaultListSelectionModel.java
23830         (addSelectionInterval, removeSelectionInterval):
23831         Fire the difference between selection. (setLeadSelectionIndex):
23832         Fire the difference and mark current and previous lead
23833         selection indexes for repaint.
23834
23835 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
23836
23837         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
23838         unnecessary copying.
23839         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
23840
23841 2006-03-31  Lillian Angel  <langel@redhat.com>
23842
23843         * java/awt/Component.java
23844         (translateEvent): oldKey should be the value of the
23845         key char.
23846
23847 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23848
23849         * javax/swing/JTable.java (columnSelectionChanged):
23850         Treat second repaint parameter as width.
23851
23852 2006-03-31  Lillian Angel  <langel@redhat.com>
23853         
23854         PR classpath/26924
23855         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
23856         (realize): New native function.
23857         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
23858         Added new function declaration.
23859         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
23860         (realize): New function.
23861
23862 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
23863         
23864         * javax/swing/text/GapContent.java:
23865         (replace): Move all Position instances from gap's end to
23866         it's start before increasing the gap start.
23867         * javax/swing/plaf/basic/BasicTextAreaUI.java:
23868         (propertyChanged): Update the view only instead of
23869         indicating a document change.
23870
23871 2006-03-31  Roman Kennke  <kennke@aicas.com>
23872
23873         * javax/swing/JTextField.java
23874         (fireActionPerformed): Put the textfields text in the action
23875         instead of the action name.
23876
23877 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
23878
23879         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
23880         Check for null jar-file argument.
23881         (setupSigningParams): Check for null alias argument.
23882
23883 2006-03-31  Roman Kennke  <kennke@aicas.com>
23884
23885         * javax/swing/JComponent.java
23886         (paintChildren): Split up in two cases, depending on the
23887         optimizedDrawingEnabled flag.
23888         (paintChildrenWithOverlap): New method. Paints children when
23889         not optimizedDrawingEnabled. This implements better painting
23890         algorithm for overlapping components, so that the painted
23891         regions are minimized.
23892         (paintChildrenOptimized): New method. Paints children when
23893         when optimizedDrawingEnabled. This implements a painting
23894         algorithm that is optimized for the case when all children
23895         are guaranteed to be tiled.
23896
23897 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
23898
23899         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
23900         Attributes.putValue(String,String).
23901         (finishSigning): Likewise.
23902         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
23903         (SIGNATURE_VERSION): Likewise.
23904         (readSFManifest): Use local string constant.
23905         (readMainSection): Likewise.
23906         (readVersionInfo): Likewise.
23907         * java/util/jar/Attributes.java (MANIFEST_VERSION):
23908         Redefined using JarUtils constant.
23909         (SIGNATURE_VERSION): Likewise.
23910         (putValue(Name,String)): Made it private.
23911
23912 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23913
23914         * javax/swing/DefaultListSelectionModel.java (fireDifference):
23915         New method. (clearSelection): Rewritten. (setSelectionInterval):
23916         Fire the difference between current and new selection.
23917         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
23918         Only repaint the region, where selection has been changed.
23919         * javax/swing/plaf/basic/BasicTableUI.java 
23920         (TableAction.actionPerformed): Do not change the column selection
23921         when only row selection change is wanted (and in reverse) and 
23922         do not call the repaint() here.
23923
23924 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
23925
23926         Fixes bug #26951
23927         * javax/swing/DefaultComboBoxModel.java
23928         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
23929         vector.size(),
23930         (addElement): Call list.addElement() rather than list.add(), and only
23931         update selected item if it is currently null,
23932         (removeElementAt): Update selected item, then remove the element.
23933
23934 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
23935
23936         Fixes bug #26955
23937         * java/awt/geom/Point2D.java
23938         (distanceSq(double, double)): Fixed order of arguments,
23939         (distanceSq(Point2D)): Likewise,
23940         (distance(double, double)): Likewise,
23941         (distance(Point2D)): Likewise.
23942
23943 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
23944
23945         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
23946         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
23947         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
23948         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
23949         DCLuminanceLengths, DCLuminanceValues): Remove fields.
23950
23951 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23952
23953         * javax.swing.JTable (constructor): Initialize column
23954         model column margin and table row margin before setting the
23955         table column model. (initialiseLocalVars): Do not call 
23956         setIntercellSpacing.
23957
23958 2006-03-30  Chris Burdess  <dog@gnu.org>
23959
23960         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
23961           method signature.
23962         * javax/xml/validation/SchemaFactoryLoader.java: New file.
23963
23964 2006-03-30  Mark Wielaard  <mark@klomp.org>
23965
23966         PR 26848
23967         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
23968         adjust bounds. On resize invalidate and validate container.
23969         Always pass on ComponentEvents to Container super class.
23970         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
23971         menuBar and pass to GtkWindowPeer super class.
23972         (postConfigureEvent): Adjust menu bar width. Adjust y and height
23973         bounds and pass to GtkWindowPeer super class.
23974         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
23975         New fields for local bounds.
23976         (getX, getY): New methods.
23977         (getWidth): Don't call into awtComponent.
23978         (getHeight): Likewise.
23979         (create): Cache local bounds.
23980         (setLocation): Documented, made protected and just call
23981         nativeSetLocation.
23982         (setLocationUnlocked): Removed unused method.
23983         (setBoundsUnlocked): Likewise.
23984         (setBounds): Check whether bounds actually changed and cache local
23985         bounds.
23986         (setSize): Documented and made protected.
23987         (setResizable): Documented and cache local bounds.
23988         (postConfigureEvent): Update local bounds. Don't call awtComponent
23989         directly but post ComponentEvents.
23990         (show): Cache local bounds.
23991         (getBounds): Override to return cached bounds.
23992
23993 2006-03-30  Lillian Angel  <langel@redhat.com>
23994
23995         * gnu/java/awt/peer/gtk/GdkGraphics.java
23996         (drawImage): Added check to prevent NPE.
23997         (drawImage): Likewise.
23998         (drawImage): Likewise.
23999         * java/awt/Choice.java
24000         (dispatchEventImpl): New function. selectedIndex was
24001         not being updated properly otherwise.
24002
24003 2006-03-30  Roman Kennke  <kennke@aicas.com>
24004
24005         * javax/swing/JTabbedPane.java
24006         (removeTabAt): Removed debug code.
24007
24008 2006-03-30  Roman Kennke  <kennke@aicas.com>
24009
24010         PR 26045
24011         * javax/swing/plaf/basic/BasicTextUI.java
24012         (installKeyboardActions): Simply call getKeymap() and install this.
24013         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24014
24015 2006-03-30  Roman Kennke  <kennke@aicas.com>
24016
24017         * javax/swing/JTabbedPane.java
24018         (removeTabAt): Adjust selection correctly when removing a tab
24019         before the selected tab. Also remove the component from the
24020         container, not only the tab object. Repaint and revalidate the
24021         component after the removal.
24022         (removeAll): Set selection to -1 before removing the tabs.
24023
24024 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24025
24026         * java/io/ObjectInputStream.java:
24027         (parseContent(byte)): Added enum support.
24028         * java/io/ObjectStreamConstants.java:
24029         (TC_ENUM): Added.
24030         (TC_MAX): Changed to new maximum, TC_ENUM.
24031         
24032 2006-03-29  Lillian Angel  <langel@redhat.com>
24033
24034         Partial fix for bug #26929
24035         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24036         (updateComponent): Removed. We want to clear the panel
24037         before painting.
24038         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24039         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24040         Should set the background to the saved background color.
24041
24042 2006-03-29  Mark Wielaard  <mark@klomp.org>
24043
24044         Partial fix for bug #26848 (pack).
24045         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24046         Always show instances of Window.
24047
24048 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24049
24050         * javax/swing/JSlider.java
24051         (setPaintLabels): Only create standard labels if labelTable is null,
24052         * javax/swing/plaf/basic/BasicSliderUI.java
24053         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24054         "paintTicks" property change,
24055         (calculateThumbSize): Updated API docs,
24056         (calculateContentRect): Likewise,
24057         (calculateTrackBuffer): Take into account the lowest and highest 
24058         labels when calculating buffer space,
24059         (calculateTrackRect): Include labels, if visible, in the calculation of
24060         the trackRect position,
24061         (calculateTickRect): Height is zero if ticks are not painted,
24062         (calculateLabelRect): Use max dimensions of actual labels,
24063         (getWidthOfHighValueLabel): Use preferred size,
24064         (getWidthOfLowValueLabel): Likewise,
24065         (getHeightOfHighValueLabel): Likewise,
24066         (getHeightOfLowValueLabel): Likewise,
24067         (drawInverted): Just return slider setting,
24068         (getHighestValueLabel): Updated API docs,
24069         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24070         to xPositionForValue() and yPositionForValue(),
24071         (paintHorizontalLabel): Removed full qualification of class name,
24072         (paintVerticalLabel): Likewise,
24073         (xPositionForValue): Reimplemented,
24074         (yPositionForValue): Reimplemented,
24075         * javax/swing/plaf/metal/MetalSliderUI.java
24076         (paintTrack): Made track one pixel longer.
24077
24078 2006-03-29  Tom Tromey  <tromey@redhat.com>
24079
24080         PR gcc/26901:
24081         * tools/Makefile.am (JCOMPILER): Added encoding options.
24082         * examples/Makefile.am (JCOMPILER): Added encoding options.
24083
24084 2006-03-29  Gary Benson  <gbenson@redhat.com>
24085
24086         Partial fix for PR classpath/24895
24087         * java/io/FilePermission.java (implies): Canonicalize paths.
24088
24089 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24090
24091         PR 26888
24092         * javax/swing/text/GapContent.java:
24093         (replace): Added call to resetMarksAtZero.
24094
24095 2006-03-29  Roman Kennke  <kennke@aicas.com>
24096
24097         PR 23527
24098         * javax/swing/plaf/basic/BasicMenuItemUI.java
24099         (cachedRect): New field.
24100         (BasicMenuItemUI): Initialize cachedRect field.
24101         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24102         to determine layout. Store maximum accelerator and text width
24103         in client properties of parent to allow correct alignment
24104         of accelerators among menu items of one menu.
24105         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24106         method. Align accelerators according to the values calculated
24107         in getPreferredMenuItemSize.
24108         (getAcceleratorString) New helper method.
24109         (layoutMenuItem): New helper method.
24110
24111 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24112
24113         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24114         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24115         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24116         Avoid NPEs.
24117         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24118         readExternal, writeExternal): New methods.
24119         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24120         two stages, invokeCommon(Remote, ...) and 
24121         invokeCommen(UnicastConnection, ...).
24122         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24123         also the ActivatableRef. toString(): Documented.
24124         * gnu/java/rmi/server/ActivatableRef.java,
24125         tools/gnu/classpath/tools/rmi/Persistent.java,
24126         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24127         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24128         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24129         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24130         tools/gnu/classpath/tools/rmi/RMID.java,
24131         tools/gnu/classpath/tools/rmi/RMID.txt,
24132         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24133         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24134         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24135         tools/gnu/classpath/tools/rmi/registry/package.html,
24136         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24137         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24138         New files.
24139         * tools/README: Documented.
24140         * NEWS: Added entry about the activation.
24141
24142 2006-03-29  Roman Kennke  <kennke@aicas.com>
24143
24144         PR 23527
24145         * javax/swing/plaf/basic/BasicMenuItemUI.java
24146         (viewRect): New field.
24147         (textRect): New field.
24148         (accelRect): New field.
24149         (iconRect): New field.
24150         (arrowIconRect): New field.
24151         (checkIconRect): New field.
24152         (BasicMenuItemUI): Initialize new fields.
24153         (paintMenuItem): Rewritten to correctly layout and paint
24154         the menu item in a more straightforward way. Use cached rectangle
24155         objects for layout.
24156         (paintAccelerator): Pulled inside the paintMenuItem method.
24157
24158 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24159
24160         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24161         Do not use initCause with UnexpectedException.
24162         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24163         Likewise. 
24164
24165 2006-03-29  Mark Wielaard  <mark@klomp.org>
24166
24167         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24168         (setCursorID): Removed unused static variable.
24169
24170 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24171
24172         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24173
24174 2006-03-29  Mark Wielaard  <mark@klomp.org>
24175
24176         Fixes bug #26527
24177         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24178         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24179
24180 2006-03-28  Roman Kennke  <kennke@aicas.com>
24181
24182         * javax/swing/UIManager.java
24183         (installLookAndFeel): Implemented.
24184         (setInstalledLookAndFeels): Implemented.
24185
24186 2006-03-28  Roman Kennke  <kennke@aicas.com>
24187
24188         * javax/swing/plaf/metal/MetalButtonUI.java
24189         (update): Paint gradient only when the background color
24190         is not a UIResource and if the button is neither armed nor
24191         pressed and if the button is contentAreaFilled.
24192
24193 2006-03-28  Roman Kennke  <kennke@aicas.com>
24194
24195         * javax/swing/JLayeredPane.java
24196         (addImpl): Repaint added component.
24197
24198 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24199
24200         * java/util/regex/Matcher.java: Reverted.
24201
24202 2006-03-28  Roman Kennke  <kennke@aicas.com>
24203
24204         * javax/swing/text/AsyncBoxView.java
24205         (setEstimatedMajorSpan): Made method protected.
24206         (getEstimatedMajorSpan): Made method protected.
24207         * javax/swing/text/BoxView.java
24208         (flipEastAndWestAtEnds): Fixed typo.
24209         * javax/swing/text/InternationalFormatter.java
24210         (getActions): Made method protected.
24211         * javax/swing/text/Position.java
24212         (Bias): Made class final.
24213         * javax/swing/text/html/HTML.java
24214         (MEDIA): Made field package private. Not specified.
24215         (NOBR): Made field package private. Not specified.
24216         * javax/swing/text/html/NullView.java
24217         Made class package private.
24218         * javax/swing/text/html/parser/Entity.java
24219         Made class non-serializable as specified.
24220
24221 2006-03-28  Roman Kennke  <kennke@aicas.com>
24222
24223         * javax/swing/plaf/metal/MetalButtonUI.java
24224         (update): Don't paint gradient if the background color is
24225         no UIResource. Removed double getModel() call. Don't check for
24226         OceanTheme.
24227
24228 2006-03-28  Roman Kennke  <kennke@aicas.com>
24229
24230         * javax/swing/plaf/basic/BasicMenuItemUI.java
24231         (paint): Call paintMenuItem with the selectionBackground as
24232         parameter.
24233         (paintBackground): Fixed the condition and color for the background
24234         painting.
24235
24236 2006-03-28  Roman Kennke  <kennke@aicas.com>
24237
24238         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24239         (tabsOpaque): New field.
24240         (paintLeftTabBorder): Paint some parts only when the tabs are
24241         opaque. Determine the tab background using the paintLeftTabBorder()
24242         helper method.
24243         (paintRightTabBorder): Likewise.
24244         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24245
24246 2006-03-27  Tom Tromey  <tromey@redhat.com>
24247
24248         PR classpath/25189:
24249         * java/lang/Enum.java (valueOf): Ensure that the named field
24250         is an enum constant.
24251         (compareTo): Check class of enum.
24252
24253 2006-03-27  Tom Tromey  <tromey@redhat.com>
24254
24255         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24256
24257 2006-03-27  Tom Tromey  <tromey@redhat.com>
24258
24259         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24260         New constant.
24261         (getModifiersInternal): Renamed from getModifiers.
24262         (getModifiers): New method.
24263         (isBridge): Likewise.
24264         (isSynthetic): Likewise.
24265         (isVarArgs): Likewise.
24266         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24267         New constant.
24268         (getModifiersInternal): Renamed from getModifiers.
24269         (getModifiers): New method.
24270         (isSynthetic): Likewise.
24271         (isEnumConstant): Likewise.
24272         * vm/reference/java/lang/reflect/Constructor.java
24273         (getModifiersInternal): Renamed from getModifiers.
24274         (getModifiers): New method
24275         (CONSTRUCTOR_MODIFIERS): New constant.
24276         (isSynthetic): New method.
24277         (isVarArgs): Likewise.
24278         * java/lang/reflect/Member.java (isSynthetic): New method.
24279
24280 2006-03-28  Tom Tromey  <tromey@redhat.com>
24281
24282         * java/net/Proxy.java (TYPE): Added missing ";".
24283
24284 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24285
24286         * java/math/RoundingMode.java:
24287         Fixed serialization UID.
24288         * java/net/Proxy.java:
24289         (Type): Likewise.
24290         
24291 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24292
24293         * java/io/CharArrayWriter.java:
24294         (append(char)): Documented.
24295         (append(CharSequence)): Likewise.
24296         (append(CharSequence,int,int)): Likewise.
24297         
24298 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24299
24300         * vm/reference/java/lang/reflect/Constructor.java
24301         (getTypeParameters): Check return value of getSignature for null.
24302         * vm/reference/java/lang/reflect/Method.java
24303         (getTypeParameters): Check return value of getSignature for null.
24304
24305 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24306
24307         * java/rmi/activation/ActivationGroup_Stub.java:
24308         Made final.
24309         
24310 2006-03-27  Tom Tromey  <tromey@redhat.com>
24311        
24312         * java/io/CharArrayWriter.java (append): New overloads.
24313         
24314 2006-03-27  Lillian Angel  <langel@redhat.com>
24315
24316         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24317         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24318         Added check for colormap. Prevents assertion error.
24319         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24320         Likewise.
24321         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24322         Likewise.
24323         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24324         Likewise.
24325         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24326         Likewise.
24327         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24328         Likewise.
24329
24330 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24331
24332         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24333         AC_MSG_ERROR instead of echoing the error message 
24334         that no compiler has been found manually.
24335
24336 2006-03-27  Roman Kennke  <kennke@aicas.com>
24337
24338         * javax/swing/RepaintManager.java
24339         (commitBuffer): Use simple drawImage() method instead of the
24340         scaling version.
24341
24342 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24343
24344         * javax/swing/text/PlainView.java:
24345         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24346         for painting the selected line.
24347
24348 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24349
24350         * javax/swing/plaf/basic/BasicSliderUI.java
24351         (getThumbSize): Removed TODO and updated API docs.
24352
24353 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24354
24355         * javax/swing/text/DefaultCaret.java:
24356         (mouseClicked): Word selection rewritten.
24357         (paint): Draw line inside the bounding rectangle.
24358         (damage): Retrieve caret height from line height.
24359
24360 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24361
24362         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24363         for null args.
24364         Check for -help option.
24365         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24366
24367 2006-03-27  Roman Kennke  <kennke@aicas.com>
24368
24369         * javax/swing/text/FieldView.java
24370         (getPreferredSpan): Don't include trailing newline in
24371         calculations.
24372         * javax/swing/text/PlainView.java
24373         (drawLine): Don't include trailing newline.
24374         (determineMaxLineLength): Don't include trailing newline.
24375         (getLineBuffer): Made method final.
24376
24377 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24378
24379         * javax/swing/JSlider.java
24380         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24381         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24382         NotImplementedException,
24383         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24384
24385 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24386
24387         * java/lang/ProcessBuilder.java:
24388         Made final.
24389
24390 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24391
24392         * gnu/java/net/protocol/http/Headers.java:
24393         Match layout of file on HEAD.
24394         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24395         Likewise.
24396         * java/awt/datatransfer/DataFlavor.java
24397         Likewise.
24398
24399 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24400
24401         * gnu/java/security/jce/hash/HavalSpi.java,
24402         * gnu/java/security/jce/hash/MD2Spi.java,
24403         * gnu/java/security/jce/hash/MD4Spi.java,
24404         * gnu/java/security/jce/hash/MD5Spi.java,
24405         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24406         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24407         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24408         * gnu/java/security/jce/hash/Sha160Spi.java,
24409         * gnu/java/security/jce/hash/Sha256Spi.java,
24410         * gnu/java/security/jce/hash/Sha384Spi.java,
24411         * gnu/java/security/jce/hash/Sha512Spi.java,
24412         * gnu/java/security/jce/hash/TigerSpi.java,
24413         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24414         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24415         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24416         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24417         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24418         * gnu/java/security/jce/sig/SignatureAdapter.java,
24419         * gnu/java/security/key/IKeyPairCodec.java,
24420         * gnu/java/security/key/IKeyPairGenerator.java,
24421         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24422         * gnu/java/security/key/dss/DSSKey.java,
24423         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24424         * gnu/java/security/key/dss/DSSPrivateKey.java,
24425         * gnu/java/security/key/dss/DSSPublicKey.java,
24426         * gnu/java/security/key/dss/FIPS186.java,
24427         * gnu/java/security/key/rsa/GnuRSAKey.java,
24428         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24429         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24430         * gnu/java/security/sig/ISignature.java,
24431         * gnu/java/security/sig/ISignatureCodec.java,
24432         * gnu/java/security/sig/dss/DSSSignature.java,
24433         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24434         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24435         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24436         * gnu/java/security/util/Util.java:
24437         Remove CVS revision tags.
24438
24439 2006-03-26  Tom Tromey  <tromey@redhat.com>
24440
24441         * java/io/InputStream.java (InputStream): Implements Closeable.
24442         
24443 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24444
24445         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24446         New methods.
24447         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24448         getAnchor): New methods.
24449         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24450         getAnchor): New methods.
24451         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24452         getAnchor): New methods.
24453         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24454         getAnchor): New methods.
24455         * gnu/regexp/REMatch.java(start1): New field.
24456         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24457         (match): set the starting position to start1[] instead of start[],
24458         (getMatchImpl): Set the found REMatch to the input,
24459         (makeCharIndexed): Made public.
24460         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24461         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24462         set the value of start[] copying from start1[].
24463         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24464         offset.
24465         * java/util/regex/Matcher.java(inputCharIndexed): New field
24466         to be used as a parameter of the RE#getMatch.
24467
24468 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24469
24470         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24471         Documented the default jre spawning strategy (none).
24472         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24473         getSystem): Obtain the acticivation system from the 
24474         DefaultActivationSystem.
24475
24476 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24477
24478         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24479         Ask user for keystore password if one was not provided.
24480
24481 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24482
24483         * tools/README: Added Security tools section.
24484         Documented the jarsigner tool.
24485
24486 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24487
24488         * javax/swing/JScrollBar.java
24489         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24490         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24491         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24492         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24493         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24494         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24495         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24496         (getAccessibleContext): Updated API docs.
24497
24498 2006-03-25  Tom Tromey  <tromey@redhat.com>
24499
24500         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24501         change or if generator script changes.
24502
24503 2006-03-25  Tom Tromey  <tromey@redhat.com>
24504
24505         * javax/naming/ldap/StartTlsRequest.java: New file.
24506         * javax/naming/ldap/StartTlsResponse.java: New file.
24507
24508 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24509
24510     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24511     to validate all components of a resource path.
24512     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24513     allowed to walk through every component of a resource path.
24514     
24515 2006-03-25  Michael Koch  <konqueror@gmx.de>
24516
24517         * NEWS: Added item for CLDR 1.3 update.
24518
24519 2006-03-25  Michael Koch  <konqueror@gmx.de>
24520
24521         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24522         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24523         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24524         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24525         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24526         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24527         Removed locales.
24528
24529 2006-03-25  Michael Koch  <konqueror@gmx.de>
24530
24531         * resource/gnu/java/locale/LocaleInformation_az.properties,
24532         resource/gnu/java/locale/LocaleInformation_bs.properties,
24533         resource/gnu/java/locale/LocaleInformation_byn.properties,
24534         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24535         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24536         resource/gnu/java/locale/LocaleInformation_gez.properties,
24537         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24538         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24539         resource/gnu/java/locale/LocaleInformation_haw.properties,
24540         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24541         resource/gnu/java/locale/LocaleInformation_kok.properties,
24542         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24543         resource/gnu/java/locale/LocaleInformation_sid.properties,
24544         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24545         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24546         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24547         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24548         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24549         resource/gnu/java/locale/LocaleInformation_syr.properties,
24550         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24551         resource/gnu/java/locale/LocaleInformation_tig.properties,
24552         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24553         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24554         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24555         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24556         resource/gnu/java/locale/LocaleInformation_wal.properties,
24557         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24558         New locales.
24559
24560 2006-03-25  Michael Koch  <konqueror@gmx.de>
24561
24562         * resource/gnu/java/locale/LocaleInformation_fa.properties,
24563         resource/gnu/java/locale/LocaleInformation_kn.properties,
24564         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24565         resource/gnu/java/locale/LocaleInformation_ko.properties,
24566         resource/gnu/java/locale/LocaleInformation_sl.properties,
24567         resource/gnu/java/locale/LocaleInformation_so.properties,
24568         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24569         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24570         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24571         resource/gnu/java/locale/LocaleInformation_sr.properties:
24572         Random fixes I forgot to commit before.
24573
24574 2006-03-25  Michael Koch  <konqueror@gmx.de>
24575
24576         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24577         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24578         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24579         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24580         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24581         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24582         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24583         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24584         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24585         resource/gnu/java/locale/LocaleInformation_en.properties,
24586         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24587         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24588         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24589         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24590         resource/gnu/java/locale/LocaleInformation_fa.properties,
24591         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24592         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24593         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24594         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24595         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24596         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24597         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24598         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24599         resource/gnu/java/locale/LocaleInformation_pa.properties,
24600         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24601         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24602         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24603         resource/gnu/java/locale/LocaleInformation_sa.properties,
24604         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24605         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24606         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24607         Updated currency formats.
24608
24609 2006-03-25  Roman Kennke  <kennke@aicas.com>
24610
24611         * javax/swing/text/AbstractDocument.java
24612         (getAttributeContext): Made method final.
24613         (getCurrentWriter): Likewise.
24614         (getEndPosition): Likewise.
24615         (getProperty): Likewise.
24616         (getStartPosition): Likewise.
24617         (putProperty): Likewise.
24618         (readLock): Likewise.
24619         (readUnlock): Likewise.
24620         (writeLock): Likewise.
24621         (writeUnlock): Likewise.
24622
24623 2006-03-25  Roman Kennke  <kennke@aicas.com>
24624
24625         * javax/swing/InputMap.java
24626         (allKeys): Check if parent keys is null.
24627         * javax/swing/KeyboardManager.java
24628         (registerEntireMap): Also register map's parent keys.
24629         * javax/swing/plaf/metal/MetalRootPaneUI.java
24630         (propertyChange): Also call super.propertyChange().
24631
24632 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24633
24634         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24635         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24636         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24637         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24638         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24639         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24640
24641 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24642
24643         * gnu/java/util/jar/JarUtils.java: New file.
24644         * java/util/jar/Manifest.java (CRLF): Removed.
24645         (read_main_section): Likewise.
24646         (read_version_info): Likewise.
24647         (expect_header(String,BufferedReader)): Likewise.
24648         (expect_header(String,BufferedReader,String)): Likewise.
24649         (read_header_value): Likewise.
24650         (read_attributes): Likewise.
24651         (read_attribute): Likewise.
24652         (read_individual_sections): Likewise.
24653         (read_section_name): Likewise.
24654         (write_main_section): Likewise.
24655         (write_version_info): Likewise.
24656         (write_header): Likewise.
24657         (write_main_attributes): Likewise.
24658         (write_attribute_entry): Likewise.
24659         (write_individual_sections): Likewise.
24660         (write_entry_attributes): Likewise.
24661         (read): use JarUtils.
24662         (write): Likewise.
24663
24664 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24665
24666         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24667         (DEBUG): Removed.
24668         (debug): Likewise.
24669         (SignerInfo(BERReader)): Updated javadoc.
24670         Use JDK logging.
24671         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24672         New constructor.
24673         (encode): New method.
24674         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24675         (PKCS7_DATA): Removed.
24676         (DEBUG): Likewise.
24677         (debug): Likewise.
24678         (PKCS7SignedData(BERReader)): Updated javadoc.
24679         Use JDK logging.
24680         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24681         constructor.
24682         (encode): New method.
24683         * gnu/java/security/pkcs/PKCS7Data.java: New file.
24684         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24685         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24686         (decodePrivateKey): Decode x from an OCTET STRING.
24687         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24688         (toString): New method.
24689         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24690         (str): Likewise.
24691         (toString): New method.
24692         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24693         (toString): New method.
24694         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24695
24696 2006-03-25  Roman Kennke  <kennke@aicas.com>
24697
24698         * java/util/GregorianCalender.java
24699         (computeTime): Fix comparison to correctly calculate the
24700         calendar.
24701
24702 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
24703
24704         Fixes bug #26837
24705         * java/awt/Window.java:         
24706         (setFocusCycleRoot): New overriden method.
24707         (isFocusCycleRoot): Likewise.
24708         (getFocusCycleRootAncestor): Likewise.
24709         * java/awt/Container.java:
24710         (getFocusTraversalPolicy): Check also for anchestor == null.
24711
24712 2006-03-25  Mark Wielaard  <mark@klomp.org>
24713
24714         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24715         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24716         close root tag.
24717
24718 2006-03-24  Tom Tromey  <tromey@redhat.com>
24719
24720         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24721         Rewrote.
24722         (writeChar): Removed useless cast.
24723         (writeChars(String)): Implemented.
24724         (writeDouble): Rewrote.
24725         (writeFloat): Likewise.
24726         (writeUTF): Implemented.
24727         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24728         to big endian.
24729
24730 2006-03-24  Roman Kennke  <kennke@aicas.com>
24731
24732         * javax/swing/JButton.java
24733         (def): Replaced field with defaultCapable field.
24734         (is_def): Removed field.
24735         (JButton): Initialize defaultCapable with true.
24736         (isDefaultButton): Documented and implemented method by querying
24737         the button's root pane if present.
24738         (isDefaultCapable): Changed def field to defaultCapable.
24739         Added documentation.
24740         (paramString): Call isDefaultButton() instead of accessing field,
24741         which got removed.
24742         (setDefaultCapable): Changed def field to defaultCapable.
24743         Added documentation.
24744         * javax/swing/JRootPane.java
24745         (setDefaultButton): Only change the default button if the
24746         new button is defaultCapable.
24747         * javax/swing/plaf/basic/BasicRootPaneUI.java
24748         (DefaultPressAction): New class.
24749         (DefaultReleaseAction): New class.
24750         (installKeyboardActions): Implemented.
24751         (uninstallKeyboardActions): Implemented.
24752         (propertyChange): Implemented.
24753         * javax/swing/plaf/metal/MetalBorders.java
24754         (ButtonBorder.paintBorder): 'Outsourced' default theme
24755         painting to paintDefaultButtonBorder().
24756         (ButtonBorder.paintDefaultButtonBorder): New helper method
24757         to paint the border in the default theme. This also fixes
24758         painting of the border for default buttons.
24759         (ButtonBorder.paintOceanButtonBorder): Added support for
24760         default button painting. Fixed border for pressed/default state.
24761         * javax/swing/plaf/metal/MetalButtonUI.java
24762         (update): Only paint gradient when in OceanTheme and when the
24763         button is not armed.
24764
24765 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24766
24767         * gnu/java/rmi/activation/ActivationSystemTransient.java:
24768         Inherit from Activator.
24769
24770 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24771
24772         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24773         Print debug message if debug flag is set.
24774         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24775         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24776         detail, do not call iniCause(). (exportClass): New method.
24777         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24778         Ignore null (bootstrap) class loader.
24779         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24780         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
24781         visibility to protected.
24782         * java/rmi/activation/Activatable.java (export, register): Rewritten.
24783         (toStub): New method.
24784         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24785         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
24786         Explained property java.rmi.activation.port.
24787
24788 2006-03-24  Tom Tromey  <tromey@redhat.com>
24789
24790         * .externalToolBuilders/CreateLocaleData.launch: Updated.
24791         * gnu/java/locale/.cvsignore: New file.
24792         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24793         * java/util/Locale.java (getAvailableLocales): Clone result.
24794         (getISOCountries): Likewise.
24795         (getISOLanguages): Likewise.
24796         * scripts/generate-locale-list.sh: Make class public.  Added new
24797         array.
24798         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
24799         (getLocaleCount): Likewise.
24800         * java/text/Collator.java (getInstance): Javadoc typo fix.
24801         (getAvailableLocales): Wrote.
24802
24803 2006-03-24  Roman Kennke  <kennke@aicas.com>
24804
24805         * javax/swing/JTabbedPane.java
24806         (getSelectedComponent): Return null when no component is
24807         selected.
24808
24809 2006-03-24  Mark Wielaard  <mark@klomp.org>
24810
24811         * NEWS: Add cursor and selection improvements.
24812
24813 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24814
24815         * java/awt/Component.java
24816         (getAccessibleName): Just return accessibleName,
24817         * javax/swing/AbstractButton.java
24818         (getAccessibleStateSet): Mark as stub,
24819         (getAccessibleName): Implemented,
24820         (getAcessibleIcon): Mark as stub,
24821         (getAccessibleRelationSet): Likewise,
24822         (getAccessibleAction): Likewise,
24823         (getAccessibleValue): Likewise,
24824         (getAccessibleActionCount): Likewise,
24825         (getAccessibleActionDescription): Likewise,
24826         (doAccessibleAction): Likewise,
24827         (getCurrentAccessibleValue): Likewise,
24828         (setCurrentAccessibleValue): Likewise,
24829         (getMinimumAccessibleValue): Likewise,
24830         (getMaximumAccessibleValue): Likewise,
24831         (getAccessibleText): Likewise,
24832         (getIndexAtPoint): Likewise,
24833         (getCharacterBounds): Likewise,
24834         (getCharCount): Likewise,
24835         (getCaretPosition): Likewise,
24836         (getAtIndex): Likewise,
24837         (getAfterIndex): Likewise,
24838         (getBeforeIndex): Likewise,
24839         (getCharacterAttribute): Likewise,
24840         (getSelectionStart): Likewise,
24841         (getSelectionEnd): Likewise,
24842         (getSelectedText): Likewise,
24843         (getTextRectangle): Likewise,
24844         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
24845         (getIconTextGap): Added @since 1.4,
24846         (setContentAreaFilled): Reordered code to make event sequence match
24847         reference implementation,
24848         * javax/swing/JButton.java
24849         (getSelectedObjects): Removed,
24850         *javax/swing/JComponent.java
24851         (getAccessibleName): Call super.
24852
24853 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24854
24855         * javax/swing/JProgressBar.java
24856         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
24857         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
24858         (AccessibleJProgressBar.getAccessibleValue): Implemented,
24859         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
24860         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
24861         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
24862         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
24863         (getAccessibleContext): Added API docs.
24864
24865 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24866
24867         * javax/swing/plaf/basic/BasicTextUI.java:
24868         (FocusListener.focusLost): Put current selection into the system
24869         clipboard.
24870
24871 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
24872
24873         * java/awt/Component.java:
24874         (processMouseEvent): Remove call to consume event.
24875         (dispatchEventImpl): Handle specific events first, do focus request
24876         only when mouse event was not yet consumed.
24877         * javax/swing/text/DefaultCaret.java:
24878         (mousePressed): Rewritten.
24879         (setDot): Changed order of operations.
24880         (moveDot): Dito.
24881
24882 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24883
24884         * javax/swing/JComponent.java
24885         (AccessibleJComponent.changeSupport): Removed field,
24886         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
24887         (AccessibleJComponent.addPropertyChangeListener): Call super,
24888         (AccessibleJComponent.removePropertyChangeListener): Likewise,
24889         * javax/swing/JSlider.java
24890         (AccessibleJSlider.getAccessibleStateSet): Implemented,
24891         (AccessibleJSlider.getAccessibleRole): Likewise,
24892         (AccessibleJSlider.getAccessibleValue): Likewise,
24893         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24894         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24895         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24896         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24897         (getAccessibleContext): Added API docs.
24898
24899 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24900
24901         * gnu/java/rmi/activation/ActivationSystemTransient.java
24902         (debug): Made public. (constructor): Made protected.
24903         (activate, getActivationDesc): Throw more informative exceptions.
24904         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
24905         New method.
24906         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
24907         Stub, implemented.
24908         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
24909         Documented.
24910         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
24911         Better exception.
24912         * java/rmi/activation/Activatable.java (obtainId): Use the activation
24913         system, passed in the activation descriptor field.
24914         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
24915         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
24916         to package private final. (equals): Compare uid, not the system. 
24917         (hashCode): Forward to uid.hashCode(). toString(): New method.
24918         * java/rmi/activation/ActivationID.java (readObject, writeObject):
24919         Rewritten. (equals): Compare UID only. toString(): New method.
24920         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
24921         UID (space). (hashCode, toString): Rewritten.
24922         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
24923         New method. (invoke): Treat null as an empty array for parameters.
24924         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
24925         Include count, do not include the static machineId.
24926
24927 2006-03-23  Tom Tromey  <tromey@redhat.com>
24928
24929         * java/net/URLConnection.java (getContent(Class[])): Implemented.
24930
24931 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24932
24933         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
24934         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
24935         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
24936         (force): New field. (setForce): New method. (compile): Handle -force.
24937         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
24938         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
24939
24940 2006-03-23  Roman Kennke  <kennke@aicas.com>
24941
24942         * javax/swing/JTabbedPane.java
24943         (Page.getBackground): Return the JTabbedPane's background,
24944         rather than the page's component background.
24945         (Page.getForeground): Return the JTabbedPane's foreground,
24946         rather than the page's component foreground.
24947         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
24948         (uninstallUI): Don't set colors to null.
24949         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24950         (paintTabBackground): Correctly determine the tab background.
24951         (getUnselectedBackground): New helper method to
24952         handle the UI property 'TabbedPane.unselectedBackground'
24953         correctly.
24954
24955 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24956
24957         * javax/swing/plaf/basic/BasicInternalFrameUI.java
24958         (BorderListener.showingResizeCursor): New field.
24959         (BorderListener.mouseMoved, BorderListner.mouseExited):
24960         Implemented.
24961
24962 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24963
24964         * javax/swing/JComboBox.java
24965         (selectWithKeyChar): Mark as stub,
24966         * javax/swing/JFileChooser.java
24967         (setDragEnabled): Mark as stub,
24968         (getDragEnabled): Likewise,
24969         * javax/swing/JSlider.java
24970         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
24971         (AccessibleJSlider.getAccessibleRole): Likewise,
24972         (AccessibleJSlider.getAccessibleValue): Likewise,
24973         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
24974         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
24975         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
24976         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
24977         * javax/swing/UIManager.java
24978         (installLookAndFeel): Mark as stub,
24979         (setInstalledLookAndFeels): Likewise.
24980
24981 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24982
24983         * javax/swing/filechooser/UnixFileSystemView.java
24984         (getSystemDisplayName): Mark as stub,
24985         (getSystemIcon): Likewise,
24986         (getSystemTypeDescription): Likewise.
24987
24988 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
24989
24990         * javax/swing/tree/AbstractLayoutCache.java
24991         (getNodeDimensions): Mark as stub,
24992         (getPreferredHeight): Likewise,
24993         (getPreferredWidth): Likewise,
24994         (getRowsForPaths): Likewise,
24995         (isFixedRowHeight): Likewise,
24996         * javax/swing/tree/DefaultTreeModel.java
24997         (reload()): Mark as stub,
24998         (reload(TreeNode)): Likewise,
24999         (nodeStructureChanged): Likewise,
25000         * javax/swing/tree/DefaultTreeSelectionModel.java
25001         (clone): Mark as stub,
25002         (setRowMapper): Likewise,
25003         (setSelectionPaths): Likewise,
25004         (isRowSelected): Likewise,
25005         (resetRowSelection): Likewise,
25006         (insureRowContinuity): Likewise,
25007         (arePathsContiguous): Likewise,
25008         (canPathsBeAdded): Likewise,
25009         (canPathsBeRemoved): Likewise,
25010         (notifyPathChange): Likewise,
25011         (updateLeadIndex): Likewise,
25012         (insureUniqueness): Likewise,
25013         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25014         stubs,
25015         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25016
25017 2006-03-22  Tom Tromey  <tromey@redhat.com>
25018
25019         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25020         stub.
25021         (getStaticAttributeKey): Likewise.
25022         (readAttributeSet): Likewise.
25023         (writeAttributeSet): Likewise.
25024         (readAttributes): Likewise.
25025         (writeAttributes): Likewise.
25026         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25027         as stub.
25028         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25029         Mark as stub.
25030         (fireChangedUpdate): Likewise.
25031         (start): Likewise.
25032         (end): Likewise.
25033         (handleEndOfLineString): Likewise.
25034         (textAreaContent): Likewise.
25035         (preContent): Likewise.
25036         (addSpecialElement): Likewise.
25037         (setInnerHTML): Likewise.
25038         (setOuterHTML): Likewise.
25039         (insertBeforeStart): Likewise.
25040         (insertBeforeEnd): Likewise.
25041         (insertAfterEnd): Likewise.
25042         (insertAfterStart): Likewise.
25043         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25044         Mark all methods as stub.s
25045         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25046         as stub.
25047         (paintHorizontalSeparators): Likewise.
25048         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25049         Mark as stub.
25050         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25051         stub.
25052         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25053         as stubs.
25054         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25055         methods as stubs.
25056
25057 2006-03-22  Mark Wielaard  <mark@klomp.org>
25058
25059         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25060
25061 2006-03-22  Mark Wielaard  <mark@klomp.org>
25062
25063         Fixes bug #26527
25064         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25065         Takes GtkImage, x and y coordinates.
25066         (gtkWidgetSetCursorUnlocked): Likewise.
25067         (GtkComponentPeer): Set cursor when set.
25068         (setCursor): Handle GtkCursor.
25069         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25070         New method.
25071         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25072         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25073         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25074         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25075
25076 2006-03-23  Roman Kennke  <kennke@aicas.com>
25077
25078         PR 26805
25079         * gnu/java/security/Registry.java
25080         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25081         * gnu/javax/crypto/pad/PadFactory.java
25082         (getInstance): For PKCS#5, also return PKCS#7 pad
25083         algorithm.
25084         (getNames): Added PKCS#5.
25085         * javax/crypto/KeyGenerator.java
25086         (getInstance): Initialize key generator before returning
25087         it.
25088
25089 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25090
25091         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25092         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25093         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25094         if COMMENTS is set.
25095
25096 2006-03-22  Tom Tromey  <tromey@redhat.com>
25097
25098         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25099         (getBoolean): Likewise.
25100         (getString): Likewise.
25101         (getIcon): Likewise.
25102
25103 2006-03-22  Mark Wielaard  <mark@klomp.org>
25104
25105         Fixes bug #26301
25106         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25107         (GLightweightPeer(Component)): Install MouseListener.
25108         (setCursor): Implement.
25109         (mouseEntered): New method.
25110
25111 2006-03-22  Tom Tromey  <tromey@redhat.com>
25112
25113         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25114         constant.
25115         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25116         protected.
25117         (getFontForState): Likewise.
25118         (getInsets): Added 'result' argument.
25119         (getPainter): Renamed.
25120
25121 2006-03-22  Tom Tromey  <tromey@redhat.com>
25122
25123         * javax/swing/plaf/synth/SynthPainter.java
25124         (paintScrollBarThumbBackground): Added 'orientation' argument.
25125         (paintScrollBarThumbBorder): Likewise.
25126         (paintSliderThumbBackground): Likewise.
25127         (paintSliderThumbBorder): Likewise.
25128         (paintTabbedPaneTabBackground): Added 'index' argument.
25129         (paintTabbedPaneTabBorder): Likewise.
25130
25131 2006-03-22  Tom Tromey  <tromey@redhat.com>
25132
25133         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25134         (toString): New method.
25135
25136 2006-03-22  Tom Tromey  <tromey@redhat.com>
25137
25138         * doc/hacking.texinfo (Source Code Style Guide): Mention
25139         NotImplementedException.
25140         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25141         (flushBefore): Mark as stub.
25142         (read): Likewise.
25143         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25144         Mark as stub.
25145         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25146         as stub.
25147         (write): Likewise.
25148         (writeBit): Likewise.
25149         (writeChars): Likewise.
25150         (writeUTF): Likewise.
25151         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25152         as stub.
25153         (read): Likewise.
25154         * java/net/URLConnection.java (getContent): Mark as stub.
25155         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25156         * java/awt/TexturePaint.java (createContext): Mark as stub.
25157         (getTransparency): Mark as stub.
25158         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25159         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25160         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25161         stub.
25162         (getImageCapabilities): Likewise.
25163         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25164         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25165         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25166         methods as stubs.
25167         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25168         (getAdvanceBetween): Likewise.
25169         (getLayout): Likewise.
25170         (insertChar): Likewise.
25171         (getLineBreakIndex): Likewise.
25172         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25173         (getAdvance): Likewise.
25174         (getAscent): Likewise.
25175         (getDescent): Likewise.
25176         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25177         (insertChar): Likewise.
25178         (nextLayout): Likewise.
25179         (nextLayout): Likewise.
25180         (nextOffset): Likewise.
25181         (nextOffset): Likewise.
25182         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25183         (equals): Likewise.
25184         (getAdvance): Likewise.
25185         (getAscent): Likewise.
25186         (getBounds): Likewise.
25187         (getDescent): Likewise.
25188         (hashCode): Likewise.
25189         (ImageGraphicAttribute): Likewise.
25190         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25191         (getJustificationInfo): Likewise.
25192         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25193         (getGlyphCharIndices): Likewise.
25194         (getGlyphOutline): Likewise.
25195         (getGlyphPixelBounds): Likewise.
25196         (getLayoutFlags): Likewise.
25197         (getPixelBounds): Likewise.
25198         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25199         (getRSB): Likewise.
25200         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25201         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25202         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25203         Mark as stub.
25204         (resetRecognizer): Likewise.
25205         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25206         Mark as stub.
25207         (getNativesForFlavor): Likewise.
25208         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25209         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25210         as stub.
25211         (getRegion): Likewise.
25212         (createUI): Likewise.
25213         (initialize): Likewise.
25214         (uninitialize): Likewise.
25215         (getDefaults): Likewise.
25216         (load): Likewise.
25217         (shouldUpdateStyleOnAncestorChanged): Likewise.
25218         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25219         Mark as stub.
25220         (getPreferredSize): Likewise.
25221         (getMaximumSize): Likewise.
25222         (paintText): Likewise.
25223         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25224         as stub.
25225         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25226
25227 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25228
25229         * java/io/ObjectStreamConstants.java: Added since tag.
25230         (PROTOCOL_VERSION_1): Added javadoc.
25231         (PROTOCOL_VERSION_2): Likewise.
25232         * java/io/ObjectOutputStream.java: 
25233         (setDefaultProtocolVersion): Removed.
25234         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25235         
25236 2006-03-21  Lillian Angel  <langel@redhat.com>
25237
25238         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25239         (BMPInfoHeader): Removed debug lines.
25240         * gnu/javax/imageio/bmp/EncodeRLE4.java
25241         (encode): Implemented.
25242         (uncompress): New function implemented to
25243         uncompress the image before encoding.
25244         * gnu/javax/imageio/bmp/EncodeRLE8.java
25245         (encode): Implemented.
25246         (uncompress): New function implemented to
25247         uncompress the image before encoding.
25248
25249 2006-03-21  Roman Kennke  <kennke@aicas.com>
25250
25251         * javax/swing/text/html/FormView.java
25252         (getImageData): New helper method.
25253
25254 2006-03-21  Tom Tromey  <tromey@redhat.com>
25255
25256         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25257         fix.
25258         (Unsafe): Now final.
25259
25260 2006-03-21  Roman Kennke  <kennke@aicas.com>
25261
25262         * javax/swing/text/html/FormView.java
25263         (MouseEventListener): New inner class.
25264
25265 2006-03-21  Roman Kennke  <kennke@aicas.com>
25266
25267         * javax/swing/text/html/ListView.java: New file.
25268
25269 2006-03-21  Tom Tromey  <tromey@redhat.com>
25270
25271         * java/text/Bidi.java: Completed.
25272
25273 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25274
25275         * javax/swing/JTable.java:
25276         (columnAtPoint): Removed the null check, this method should throw a NPE
25277         if the argument is null.
25278
25279 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25280
25281         * javax/swing/text/DefaultHighlighter.java:
25282         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25283
25284 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25285
25286         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25287         the textcomponent having a selection.
25288         (clearSelection): Clear 'componentWithSelection' variable.
25289         (handleSelection): Clear selection of current component having a
25290         selection before setting a new selection in another component.
25291         (mouseDragged): Only react on left mouse button.
25292         (mouseClicked): Only react on left mouse button.
25293
25294 2006-03-21  Roman Kennke  <kennke@aicas.com>
25295
25296         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25297         (paintContentBorderTopEdge): Implemented.
25298         (paintContentBorderBottomEdge): Implemented.
25299         (paintContentBorderLeftEdge): Implemented.
25300         (paintContentBorderRightEdge): Implemented.
25301         (isLastTabInRun): New helper method.
25302
25303 2006-03-21  Roman Kennke  <kennke@aicas.com>
25304
25305         * javax/swing/JTabbedPane.java
25306         (Page.getForeground): Fall back to returning the tabbed pane's
25307         foreground if no foreground has been exclicitly set.
25308
25309 2006-03-21  Roman Kennke  <kennke@aicas.com>
25310
25311         * javax/swing/plaf/metal/MetalComboBoxButton.java
25312         (setEnabled): Update colors of button correctly.
25313         * javax/swing/plaf/metal/MetalComboBoxUI.java
25314         (MetalPropertyChangeListener.propertyChange): Update the colors
25315         of the list and the button when any of the color properties
25316         of the ComboBox change.
25317
25318 2006-03-21  Roman Kennke  <kennke@aicas.com>
25319
25320         * javax/swing/plaf/basic/BasicButtonUI.java
25321         (uninstallDefaults): Only nullify button colors if they are
25322         not UIResource instances.
25323
25324 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25325
25326         * javax/swing/JComponent.java
25327         (AccessibleJComponent.getAccessibleDescription): Call super,
25328         * javax/swing/JToolTip.java: API doc updates all over, plus
25329         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25330         (AccessibleJToolTip.getAccessibleRole): Implemented,
25331         (getAccessibleContext): Implemented,
25332         (paramString): Reimplemented,
25333         (setComponent): Fire PropertyChangeEvent,
25334         (setTipText): Likewise.
25335
25336 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25337
25338         * java/util/Formatter.java:
25339         Make the class final.
25340         
25341 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25342
25343         * java/lang/System.java:
25344         (nanoTime()): Documented.
25345         * java/lang/Thread.java:
25346         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25347         Added docs and security check.
25348         (getUncaughtExceptionHandler()): Documented.
25349         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25350         Added docs and security check.
25351         (getDefaultUncaughtExceptionHandler()): Documented.
25352         (getId()): Documented.
25353         (Thread.State): Documented.
25354         * vm/reference/gnu/classpath/Unsafe.java:
25355         Documented.
25356         (getUnsafe()): Updated to handle security.
25357         
25358 2006-03-20  Tom Tromey  <tromey@redhat.com>
25359
25360         * java/lang/System.java:
25361         (nanoTime()): Implemented.
25362         * java/lang/Thread.java:
25363         (getId()): Implemented.
25364         * java/util/AbstractMap.java:
25365         (SimpleImmutableEntry): New 1.6 class.
25366         (BasicMapEntry): Modified to be SimpleEntry.
25367         * java/util/Collections.java:
25368         Modified to use SimpleEntry.
25369         * java/util/EnumMap.java: Likewise.
25370         * java/util/HashMap.java: Likewise.
25371         * java/util/Hashtable.java: Likewise.
25372         * java/util/TreeMap.java: Likewise.
25373         * vm/reference/gnu/classpath/Unsafe.java:
25374         New class to handle low-level facilities for concurrency.
25375         * vm/reference/java/lang/VMSystem.java:
25376         (nanoTime()): Implemented.
25377         
25378 2006-03-20  Tom Tromey  <tromey@redhat.com>
25379
25380         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25381         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25382         (CertStoreSpi): Updated throws clause.
25383         * java/security/cert/CertPathValidatorSpi.java: Added import for
25384         javadoc.
25385         (engineValidate): Updated 'throws' clause.
25386         * java/security/cert/PKIXParameters.java: Javadoc fix.
25387         * java/security/cert/X509CertSelector.java
25388         (setAuthorityKeyIdentifier): Javadoc fix.
25389
25390 2006-03-20  Tom Tromey  <tromey@redhat.com>
25391
25392         * .classpath: Build gnu.javax.swing.plaf.
25393
25394 2006-03-20  Lillian Angel  <langel@redhat.com>
25395
25396         * gnu/javax/imageio/bmp/BMPDecoder.java:
25397         Removed unneeded import.
25398         * gnu/javax/imageio/bmp/BMPEncoder.java:
25399         New class.
25400         * gnu/javax/imageio/bmp/BMPFileHeader.java
25401         (BMPFileHeader): New constructor used to create info header
25402         for an output stream.
25403         (write): Fixed indexes.
25404         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25405         Initialized writerSpiNames field.
25406         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25407         New class.
25408         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25409         New class.
25410         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25411         Change visibility for fields.
25412         (BMPInfoHeader): New constructor used to create
25413         file header for an output stream.
25414         (intToDWord): New method. Converts an int to a
25415         double word.
25416         (intToWord): New method. Converts an int to a word.
25417         * gnu/javax/imageio/bmp/DecodeBF32.java:
25418         Removed unneeded imports.
25419         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25420         New class.
25421         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25422         New class.
25423         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25424         New class.
25425         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25426         New class.
25427         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25428         New class.
25429         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25430         New class.
25431         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25432         New class.
25433         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25434         New class.
25435         * javax/imageio/ImageIO.java:
25436         Fixed comment.
25437
25438 2006-03-20  Roman Kennke  <kennke@aicas.com>
25439
25440         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25441         (TabbedPaneLayout.normalizeTabRuns): New method.
25442         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25443         (paintTabBorder): Replaced if-else chain with switch.
25444         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25445         Ocean theme.
25446         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25447         Ocean theme.
25448         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25449         Ocean theme.
25450         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25451         Ocean theme.
25452         (paintTabBackground): Fetch background color from the TabbedPane.
25453         Fixed painting and improved by not using fillPolygon, and instead
25454         using fillRectangle. Replaced if-else chain with switch.
25455         (calculateMaxTabHeight): Added overridden method with FIXME.
25456         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25457         placement.
25458         (paintContentBorderTopEdge): Added stub with FIXME.
25459         (paintContentBorderBottomEdge): Added stub with FIXME.
25460         (paintContentBorderLeftEdge): Added stub with FIXME.
25461         (paintContentBorderRightEdge): Added stub with FIXME.
25462
25463 2006-03-20  Roman Kennke  <kennke@aicas.com>
25464
25465         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25466         (tabsOpaque): New field.
25467         (installDefaults): Fetch tabsOpaque property from UIManager.
25468         (paintTab): Fill tab background when tabsOpaque property is true.
25469         * javax/swing/plaf/basic/BasicLookAndFeel.java
25470         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25471
25472 2006-03-20  Roman Kennke  <kennke@aicas.com>
25473
25474         * javax/swing/JTabbedPane.java
25475         (Pane.getBackground): When no background was explicitly set, return
25476         the JTabbedPane's background.
25477
25478 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25479
25480         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25481         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25482         * org/omg/CORBA/BAD_INV_ORDER.java,
25483         * org/omg/CORBA/BAD_CONTEXT.java,
25484         * org/omg/CORBA/BAD_OPERATION.java,
25485         * org/omg/CORBA/BAD_PARAM.java,
25486         * org/omg/CORBA/BAD_QOS.java,
25487         * org/omg/CORBA/BAD_TYPECODE.java,
25488         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25489         * org/omg/CORBA/COMM_FAILURE.java,
25490         * org/omg/CORBA/CurrentHolder.java,
25491         * org/omg/CORBA/DATA_CONVERSION.java,
25492         * org/omg/CORBA/FREE_MEM.java,
25493         * org/omg/CORBA/IMP_LIMIT.java,
25494         * org/omg/CORBA/INITIALIZE.java,
25495         * org/omg/CORBA/INTERNAL.java,
25496         * org/omg/CORBA/INTF_REPOS.java,
25497         * org/omg/CORBA/INVALID_ACTIVITY.java,
25498         * org/omg/CORBA/INVALID_TRANSACTION.java,
25499         * org/omg/CORBA/INV_FLAG.java,
25500         * org/omg/CORBA/INV_IDENT.java,
25501         * org/omg/CORBA/INV_OBJREF.java,
25502         * org/omg/CORBA/INV_POLICY.java,
25503         * org/omg/CORBA/MARSHAL.java,
25504         * org/omg/CORBA/NO_RESOURCES.java,
25505         * org/omg/CORBA/NO_MEMORY.java,
25506         * org/omg/CORBA/NO_IMPLEMENT.java,
25507         * org/omg/CORBA/NO_PERMISSION.java,
25508         * org/omg/CORBA/NO_RESPONSE.java,
25509         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25510         * org/omg/CORBA/OBJ_ADAPTER.java,
25511         * org/omg/CORBA/ParameterModeHolder.java,
25512         * org/omg/CORBA/PolicyError.java,
25513         * org/omg/CORBA/PolicyErrorHolder.java,
25514         * org/omg/CORBA/PolicyHolder.java,
25515         * org/omg/CORBA/PolicyListHolder.java,
25516         * org/omg/CORBA/REBIND.java,
25517         * org/omg/CORBA/TIMEOUT.java,
25518         * org/omg/CORBA/TRANSACTION_MODE.java,
25519         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25520         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25521         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25522         * org/omg/CORBA/TRANSIENT.java,
25523         * org/omg/CORBA/TypeCodeHolder.java,
25524         * org/omg/CORBA/UNKNOWN.java,
25525         * org/omg/CORBA/UnionMember.java,
25526         * org/omg/CORBA/UnknownUserException.java,
25527         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25528         * org/omg/CORBA/WrongTransactionHolder.java,
25529         * org/omg/IOP/IOR.java,
25530         * org/omg/IOP/IORHolder.java,
25531         * org/omg/IOP/MultipleComponentProfileHolder.java,
25532         * org/omg/IOP/ServiceContextHolder.java,
25533         * org/omg/IOP/ServiceContextListHolder.java,
25534         * org/omg/IOP/TaggedComponentHolder.java,
25535         * org/omg/IOP/TaggedProfileHolder.java,
25536         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25537         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25538         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25539         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25540         Made class final, various javadoc fixlets.      
25541         * org/omg/CORBA/CompletionStatus.java, 
25542         * org/omg/CORBA/PERSIST_STORE.java,
25543         * org/omg/CORBA/ValueMember.java,
25544         * org/omg/PortableInterceptor/ForwardRequest.java,
25545         * org/omg/PortableInterceptor/InvalidSlot.java,
25546         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25547         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25548         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25549         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25550         * org/omg/IOP/Encoding.java,
25551         * org/omg/IOP/TaggedComponent.java,
25552         * org/omg/IOP/TaggedProfile.java: Made class final.
25553         * org/omg/CORBA/SystemException.java: Made class abstract.      
25554         * org/omg/CORBA/UserException.java: Made class abstract.
25555         (UserException): Now protected.
25556         (UserException(String)): Likewise.
25557         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25558         (typecode): Removed unused private variable.
25559
25560 2006-03-20  Chris Burdess  <dog@gnu.org>
25561
25562         Fixes PR 26761
25563         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25564
25565 2006-03-20  Roman Kennke  <kennke@aicas.com>
25566
25567         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25568         (paintTabArea): Look up tab run indices in tabRuns array instead
25569         of using the index directly.
25570
25571 2006-03-20  Roman Kennke  <kennke@aicas.com>
25572
25573         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25574         (paintTab): Fixed painting.
25575         (paintText): Fixed text painting.
25576         (paintFocusIndicator): Fixed painting of the focus rectangle.
25577         (paintContentBorder): Fixed painting of the content area.
25578
25579 2006-03-20  Mark Wielaard  <mark@klomp.org>
25580
25581         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25582         static lock Object field.
25583         (produce): Synchronize on pixbufLock when calling initState(),
25584         pumpBytes() and pumpDone().
25585         (finalize): Likewise when calling finish().
25586         (GdkPixbufWriter.write): Likewise when calling streamImage().
25587         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25588         when calling loadPixbuf. Chain exception.
25589         (GtkImage(byte[])): Likewise when calling loadImageFromData.
25590         (GtkImage(URL)): Likewise.
25591         (GtkImage(int,int)): Likewise when calling createPixmap().
25592         (GtkImage(GtkImage,int,int,int)): Likewise when calling
25593         createScaledPixmap().
25594         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25595         (setImage): Likewise when calling createPixmap() and setPixels().
25596         (getSource): Likewise when calling getPixels().
25597         (flush): Likewise when calling freePixmap().
25598         (finalize): Likewise.
25599         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25600         drawPixelsScaledFlipped().
25601         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25602         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25603         gdk_threads_enter/leave().
25604         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25605         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25606         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25607         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25608         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25609         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25610         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25611         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25612         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25613         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25614         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25615         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25616         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25617
25618 2006-03-20  Roman Kennke  <kennke@aicas.com>
25619
25620         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25621         (calculateTabHeight): Not need to use SwingUtilities here.
25622         (getTabInsets): Do not rotate insets.
25623
25624 2006-03-20  Roman Kennke  <kennke@aicas.com>
25625
25626         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25627         (paint): Make sure the layout is valid before painting.
25628         (paintTabArea): Made tab painting more straightforward and efficient.
25629
25630 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25631
25632         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25633         (getScrollableUnitIncrement): Rewritten.
25634         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25635         (getScrollableUnitIncrement): Rewritten.
25636         * javax/swing/plaf/basic/BasicScrollPaneUI.java
25637         (ROWS_PER_WHEEL_CLICK): New field. 
25638         (MouseWheelHandler.mouseWheelMoved): Rewritten.
25639
25640 2006-03-20  Roman Kennke  <kennke@aicas.com>
25641
25642         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25643         (paint): Make sure the layout is valid before painting.
25644         (paintTabArea): Made tab painting more straightforward and efficient.
25645
25646 2006-03-20  Roman Kennke  <kennke@aicas.com>
25647
25648         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25649         (MouseHandler.mousePressed): Rewritten for clearer and simpler
25650         code.
25651         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25652         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25653         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25654         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25655         bounds here. That is moved into layoutContainer().
25656         (calculateSize): Correctly respect insets. Made code slightly more
25657         clear and efficient.
25658         (calculateTabRects): Rewritten completely. The old code was
25659         not quite right and unstable in some situations.
25660         (layoutContainer): Moved layout of tabbed pane's subcomponents
25661         here.
25662         (tabRunsDirty): New field.
25663         (rolloverTab): New field.
25664         (tabForCoordinate): Rewritten for simplicity and correctness.
25665         (setRolloverTab): New method.
25666         (getRolloverTab): New method.
25667
25668 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25669
25670         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25671         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25672         (getScrollableUnitIncrement
25673         * javax/swing/Scrollable.java: Documented.
25674         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25675         (MouseWheelHandler):Rewritten.
25676
25677 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25678
25679         * doc/vmintegration.texinfo:
25680         Updated with gnu.classpath.Unsafe
25681         
25682 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25683
25684         * NEWS:
25685         Updated with VMArray and Unsafe changes.
25686         
25687 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25688
25689         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25690         (getScrollableUnitIncrement): Rewritten.
25691         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25692         (getScrollableUnitIncrement): Rewritten. 
25693         (getScrollableBlockIncrement): Rewritten.
25694         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25695         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
25696         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
25697         New field. (installListeners): Install wheel listeners. 
25698         (uninstallListeners): Uninstall wheel listeners.
25699         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25700         of the MouseWheelListener. (installListeners): Do not install wheel
25701         listener. (ROWS_PER_WHEEL_CLICK): Removed.
25702
25703 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25704
25705         * vm/reference/gnu/classpath/Unsafe.java:
25706         Documented.
25707         (getUnsafe()): Updated to handle security.
25708
25709 2006-03-19  Tom Tromey  <tromey@redhat.com>
25710
25711         * vm/reference/gnu/classpath/Unsafe.java:
25712         New class to handle low-level facilities for concurrency.
25713
25714 2006-03-19  Mark Wielaard  <mark@klomp.org>
25715
25716         * include/Makefile.am: Rename PlainDatagramSocketImpl to
25717         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25718         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25719         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25720
25721 2006-03-19  Mark Wielaard  <mark@klomp.org>
25722
25723         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25724         familyName.
25725         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25726
25727 2006-03-19  Michael Koch  <konqueror@gmx.de>
25728
25729         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25730         resource/gnu/java/locale/LocaleInformation_am.properties,
25731         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25732         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25733         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25734         resource/gnu/java/locale/LocaleInformation_bg.properties,
25735         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25736         resource/gnu/java/locale/LocaleInformation_ca.properties,
25737         resource/gnu/java/locale/LocaleInformation_cs.properties,
25738         resource/gnu/java/locale/LocaleInformation_cy.properties,
25739         resource/gnu/java/locale/LocaleInformation_da.properties,
25740         resource/gnu/java/locale/LocaleInformation_de.properties,
25741         resource/gnu/java/locale/LocaleInformation_dv.properties,
25742         resource/gnu/java/locale/LocaleInformation_el.properties,
25743         resource/gnu/java/locale/LocaleInformation_en.properties,
25744         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25745         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25746         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25747         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25748         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25749         resource/gnu/java/locale/LocaleInformation_es.properties,
25750         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25751         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25752         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25753         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25754         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25755         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25756         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25757         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25758         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25759         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25760         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25761         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25762         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25763         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25764         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25765         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25766         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25767         resource/gnu/java/locale/LocaleInformation_es_US.properties,
25768         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25769         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25770         resource/gnu/java/locale/LocaleInformation_fa.properties,
25771         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25772         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25773         resource/gnu/java/locale/LocaleInformation_fi.properties,
25774         resource/gnu/java/locale/LocaleInformation_fr.properties,
25775         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25776         resource/gnu/java/locale/LocaleInformation_ga.properties,
25777         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25778         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25779         resource/gnu/java/locale/LocaleInformation_hr.properties,
25780         resource/gnu/java/locale/LocaleInformation_hu.properties,
25781         resource/gnu/java/locale/LocaleInformation_id.properties,
25782         resource/gnu/java/locale/LocaleInformation_is.properties,
25783         resource/gnu/java/locale/LocaleInformation_it.properties,
25784         resource/gnu/java/locale/LocaleInformation_ja.properties,
25785         resource/gnu/java/locale/LocaleInformation_kk.properties,
25786         resource/gnu/java/locale/LocaleInformation_kl.properties,
25787         resource/gnu/java/locale/LocaleInformation_km.properties,
25788         resource/gnu/java/locale/LocaleInformation_ky.properties,
25789         resource/gnu/java/locale/LocaleInformation_lo.properties,
25790         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25791         resource/gnu/java/locale/LocaleInformation_lt.properties,
25792         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25793         resource/gnu/java/locale/LocaleInformation_lv.properties,
25794         resource/gnu/java/locale/LocaleInformation_mk.properties,
25795         resource/gnu/java/locale/LocaleInformation_mn.properties,
25796         resource/gnu/java/locale/LocaleInformation_mr.properties,
25797         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25798         resource/gnu/java/locale/LocaleInformation_ms.properties,
25799         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
25800         resource/gnu/java/locale/LocaleInformation_mt.properties,
25801         resource/gnu/java/locale/LocaleInformation_nb.properties,
25802         resource/gnu/java/locale/LocaleInformation_nl.properties,
25803         resource/gnu/java/locale/LocaleInformation_nn.properties,
25804         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
25805         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25806         resource/gnu/java/locale/LocaleInformation_pa.properties,
25807         resource/gnu/java/locale/LocaleInformation_pl.properties,
25808         resource/gnu/java/locale/LocaleInformation_pt.properties,
25809         resource/gnu/java/locale/LocaleInformation_ru.properties,
25810         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25811         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
25812         resource/gnu/java/locale/LocaleInformation_sa.properties,
25813         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25814         resource/gnu/java/locale/LocaleInformation_sk.properties,
25815         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
25816         resource/gnu/java/locale/LocaleInformation_sv.properties,
25817         resource/gnu/java/locale/LocaleInformation_sw.properties,
25818         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
25819         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25820         resource/gnu/java/locale/LocaleInformation_te.properties,
25821         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
25822         resource/gnu/java/locale/LocaleInformation_th.properties,
25823         resource/gnu/java/locale/LocaleInformation_ti.properties,
25824         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
25825         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
25826         resource/gnu/java/locale/LocaleInformation_tr.properties,
25827         resource/gnu/java/locale/LocaleInformation_tt.properties,
25828         resource/gnu/java/locale/LocaleInformation_uk.properties,
25829         resource/gnu/java/locale/LocaleInformation_ur.properties,
25830         resource/gnu/java/locale/LocaleInformation_uz.properties,
25831         resource/gnu/java/locale/LocaleInformation_zh.properties,
25832         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
25833         More updates for CLDR 1.3.
25834         
25835 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25836
25837         * doc/vmintegration.texinfo:
25838         Updated to include VMArray.
25839         * include/Makefile.am:
25840         Replace java_lang_reflect_Array.h with
25841         java_lang_reflect_VMArray.h
25842         * include/java_lang_reflect_VMArray.h:
25843         New autogenerated header.
25844         * include/java_lang_reflect_Array.h:
25845         Removed.
25846         * java/lang/reflect/Array.java:
25847         (newInstance(Class,int)): Calls VMArray.
25848         (createMultiArray(Class,int[],int)): Likewise.
25849         (createObjectArray(Class,int)): Removed.
25850         * native/jni/java-lang/Makefile.am:
25851         Replaced java_lang_reflect_Array.c with
25852         java_lang_reflect_VMArray.c
25853         * native/jni/java-lang/java_lang_reflect_VMArray.c:
25854         Renamed from java_lang_reflect_Array.c.
25855         * vm/reference/java/lang/reflect/VMArray.java:
25856         (createObjectArray(Class,int)): Native method moved
25857         from java.lang.reflect.Array.
25858
25859 2006-03-19  Roman Kennke  <kennke@aicas.com>
25860
25861         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
25862         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
25863         New class.
25864         * examples/gnu/classpath/examples/swing/Demo.java
25865         (mkButtonBar): Hook up theme editor.
25866         (mkMenuBar): Hook up theme editor.
25867
25868 2006-03-19  Roman Kennke  <kennke@aicas.com>
25869
25870         * javax/swing/plaf/basic/BasicFileChooserUI.java
25871         (ApproveSelectionAction.actionPerformed): Added case for when
25872         nothing has been selected but the user has typed a filename
25873         into the textfield.
25874         (getFileName): Return the value of the text field.
25875
25876 2006-03-19  Roman Kennke  <kennke@aicas.com>
25877
25878         * javax/swing/JColorChooser.java
25879         (createDialog): Create JDialog instead of ModalDialog. Make this
25880         dialog modal by calling setModal(true).
25881         (ModalDialog): Removed unnecessary inner class.
25882
25883 2006-03-19  Tom Tromey  <tromey@redhat.com>
25884
25885         * java/awt/font/NumericShaper.java: Rewrote.
25886
25887 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25888
25889         * javax/swing/plaf/basic/BasicTableUI.java:
25890         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
25891         New field. MouseInputHandler.mouseWheelMoved): New method.
25892         (installListeners): Register MouseInputHandler as
25893         wheel listener also.
25894         
25895 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25896
25897         PR 26746
25898         * javax/swing/ViewportLayout.java (layoutContainer):
25899         If Scrollable tracks dimension, set view size to the port size. 
25900         If port is larger than the view, move the view to the top/left.
25901
25902 2006-03-19  Roman Kennke  <kennke@aicas.com>
25903
25904         * javax/swing/MenuSelectionManager.java
25905         (isComponentPartOfCurrentMenu): Also consider the first element
25906         in a menu selection list. Make a isDescendentFrom check instead
25907         of simple equals to also catch sub components.
25908
25909 2006-03-19  Roman Kennke  <kennke@aicas.com>
25910
25911         * javax/swing/JComboBox.java
25912         (actionPerformed): Fetch selected item directly from the editor
25913         instead of trying to get it from the event.
25914
25915 2006-03-19  Roman Kennke  <kennke@aicas.com>
25916
25917         * javax/swing/plaf/basic/BasicComboBoxEditor.java
25918         (listener): Removed field.
25919         (BasicComboBoxEditor): Removed initialization of listener field.
25920         (addActionListener): Add listener directly to editor.
25921         (removeActionListener): Remove listener directly from editor.
25922         (ComboBoxEditorListener): Removed class.
25923         * javax/swing/plaf/basic/BasicComboBoxUI.java
25924         (getPreferredSize): Fixed to return the minimumSize.
25925         (getMinimumSize): Improved code for more clearness.
25926         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
25927         (rectangleForCurrentValue): Correctly respect insets.
25928         (getDefaultSize): Return preferredSize here. Dont override height
25929         with 100.
25930         (getDisplaySize): Moved around code for more clearness. Added
25931         handling of prototype renderer.
25932         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
25933         arrowButton bounds since the former depends on the latter.
25934         * javax/swing/plaf/metal/MetalComboBoxButton.java:
25935         (MetalComboBoxButton): Make button rollover disabled.
25936         (isFocusTraversable): Return false unconditionally.
25937         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
25938         (EditorTextField): New class. Fixes the size properties.
25939         (MetalComboBoxEditor): Create instance of EditorTextField.
25940         * javax/swing/plaf/metal/MetalComboBoxUI.java:
25941         (getMinimumSize): Fixed editable size.
25942
25943 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25944
25945         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
25946
25947 2006-03-18  Roman Kennke  <kennke@aicas.com>
25948
25949         * javax/swing/plaf/metal/MetalToolBarUI.java
25950         (update): Added overridden method to support OceanTheme.
25951
25952 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25953
25954         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
25955         Activate the cell editing on character keystroke.
25956
25957 2006-03-18  Mark Wielaard  <mark@klomp.org>
25958
25959         * java/awt/Component.java (eventTypeEnabled): Handle
25960         MouseEvent.MOUSE_WHEEL.
25961         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
25962         New callback method.
25963         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25964         (AWT_MOUSE_WHEEL): New constant.
25965         (AWT_WHEEL_UNIT_SCROLL): Likewise.
25966         (postMouseWheelEventID): New static variable.
25967         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
25968         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
25969         (button_number): Renamed to ...
25970         (button_number_direction): variable to hold button number or scroll
25971         direction.
25972         (component_button_press_cb): Use button_number_direction.
25973         (component_scroll_cb): New static callback function.
25974
25975 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25976
25977         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
25978         Return without action.
25979
25980 2006-03-18  Mark Wielaard  <mark@klomp.org>
25981
25982         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
25983         Don't cast graphics object to GdkGraphics.
25984         (updateComponent): Likewise.
25985
25986 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25987
25988         * examples/gnu/classpath/examples/swing/TableDemo.java
25989         (TModel.getColumnClass): Set second column to Icon.
25990         (TModel.isCellEditable): Say icons are not editable.
25991         (createContent): Fill the in second column with some icons from 
25992         MetalIconFactory.
25993
25994 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25995
25996         * examples/gnu/classpath/examples/swing/Demo.java
25997         (mkButtonBar): Set maximal button bar height to the preferred height.
25998
25999 2006-03-18  Roman Kennke  <kennke@aicas.com>
26000
26001         * javax/swing/plaf/basic/BasicComboPopup.java
26002         (show): Substract insets from scroller width.
26003         (getPopupHeightForRowCount): If height==0, return a default of 100
26004         instead for empty ComboBoxes.
26005
26006 2006-03-18  Roman Kennke  <kennke@aicas.com>
26007
26008         * javax/swing/plaf/basic/BasicLookAndFeel.java
26009         (PopupHelper.autoClosePopups): Removed field.
26010         (PopupHelper.mousePressed): Removed processing of registered
26011         autoclose popups.
26012         (registerForAutoClose): Removed unneeded method.
26013         (autoClosePopups): Removed unneeded method.
26014         (registerForAutoClose): Removed unneeded method.
26015
26016 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26017
26018         * javax.swing.JTable.java (TableTextField): Set border.
26019         (moveToCellBeingEdited): Do not adjust the editor boundaries
26020
26021 2006-03-18  Michael Koch  <konqueror@gmx.de>
26022
26023         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26024         resource/gnu/java/locale/LocaleInformation_af.properties,
26025         resource/gnu/java/locale/LocaleInformation_am.properties,
26026         resource/gnu/java/locale/LocaleInformation_ar.properties,
26027         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26028         resource/gnu/java/locale/LocaleInformation_be.properties,
26029         resource/gnu/java/locale/LocaleInformation_bg.properties,
26030         resource/gnu/java/locale/LocaleInformation_bn.properties,
26031         resource/gnu/java/locale/LocaleInformation_ca.properties,
26032         resource/gnu/java/locale/LocaleInformation_cs.properties,
26033         resource/gnu/java/locale/LocaleInformation_cy.properties,
26034         resource/gnu/java/locale/LocaleInformation_da.properties,
26035         resource/gnu/java/locale/LocaleInformation_de.properties,
26036         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26037         resource/gnu/java/locale/LocaleInformation_dz.properties,
26038         resource/gnu/java/locale/LocaleInformation_en.properties,
26039         resource/gnu/java/locale/LocaleInformation_eo.properties,
26040         resource/gnu/java/locale/LocaleInformation_es.properties,
26041         resource/gnu/java/locale/LocaleInformation_et.properties,
26042         resource/gnu/java/locale/LocaleInformation_eu.properties,
26043         resource/gnu/java/locale/LocaleInformation_fa.properties,
26044         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26045         resource/gnu/java/locale/LocaleInformation_fi.properties,
26046         resource/gnu/java/locale/LocaleInformation_fo.properties,
26047         resource/gnu/java/locale/LocaleInformation_fr.properties,
26048         resource/gnu/java/locale/LocaleInformation_ga.properties,
26049         resource/gnu/java/locale/LocaleInformation_gl.properties,
26050         resource/gnu/java/locale/LocaleInformation_gu.properties,
26051         resource/gnu/java/locale/LocaleInformation_he.properties,
26052         resource/gnu/java/locale/LocaleInformation_hi.properties,
26053         resource/gnu/java/locale/LocaleInformation_hr.properties,
26054         resource/gnu/java/locale/LocaleInformation_hu.properties,
26055         resource/gnu/java/locale/LocaleInformation_hy.properties,
26056         resource/gnu/java/locale/LocaleInformation_id.properties,
26057         resource/gnu/java/locale/LocaleInformation_is.properties,
26058         resource/gnu/java/locale/LocaleInformation_it.properties,
26059         resource/gnu/java/locale/LocaleInformation_ja.properties,
26060         resource/gnu/java/locale/LocaleInformation_ka.properties,
26061         resource/gnu/java/locale/LocaleInformation_km.properties,
26062         resource/gnu/java/locale/LocaleInformation_ko.properties,
26063         resource/gnu/java/locale/LocaleInformation_lo.properties,
26064         resource/gnu/java/locale/LocaleInformation_lt.properties,
26065         resource/gnu/java/locale/LocaleInformation_lv.properties,
26066         resource/gnu/java/locale/LocaleInformation_mk.properties,
26067         resource/gnu/java/locale/LocaleInformation_mr.properties,
26068         resource/gnu/java/locale/LocaleInformation_ms.properties,
26069         resource/gnu/java/locale/LocaleInformation_mt.properties,
26070         resource/gnu/java/locale/LocaleInformation_nb.properties,
26071         resource/gnu/java/locale/LocaleInformation_nl.properties,
26072         resource/gnu/java/locale/LocaleInformation_nn.properties,
26073         resource/gnu/java/locale/LocaleInformation_om.properties,
26074         resource/gnu/java/locale/LocaleInformation_pl.properties,
26075         resource/gnu/java/locale/LocaleInformation_ps.properties,
26076         resource/gnu/java/locale/LocaleInformation_pt.properties,
26077         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26078         resource/gnu/java/locale/LocaleInformation_ro.properties,
26079         resource/gnu/java/locale/LocaleInformation_ru.properties,
26080         resource/gnu/java/locale/LocaleInformation_sk.properties,
26081         resource/gnu/java/locale/LocaleInformation_sl.properties,
26082         resource/gnu/java/locale/LocaleInformation_so.properties,
26083         resource/gnu/java/locale/LocaleInformation_sq.properties,
26084         resource/gnu/java/locale/LocaleInformation_sr.properties,
26085         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26086         resource/gnu/java/locale/LocaleInformation_sv.properties,
26087         resource/gnu/java/locale/LocaleInformation_sw.properties,
26088         resource/gnu/java/locale/LocaleInformation_ta.properties,
26089         resource/gnu/java/locale/LocaleInformation_te.properties,
26090         resource/gnu/java/locale/LocaleInformation_th.properties,
26091         resource/gnu/java/locale/LocaleInformation_tr.properties,
26092         resource/gnu/java/locale/LocaleInformation_uk.properties,
26093         resource/gnu/java/locale/LocaleInformation_uz.properties,
26094         resource/gnu/java/locale/LocaleInformation_vi.properties,
26095         resource/gnu/java/locale/LocaleInformation_zh.properties,
26096         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26097         Updated to use the new localized strings for currencies, languages,
26098         variants, territories, etc.
26099
26100 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26101
26102         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26103         (start, end): Added comment about the negative values of them,
26104         (finish): Saves the input text in matchedCharIndexed,
26105         (toString): If the start or end index is out of bounds of the
26106         matched text, get the substring from matchedCharIndexed.
26107         Added special handlings in case start/end index < -1,
26108         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26109         Added special handlings in case start/end index < -1,
26110         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26111         found match, but keep the index as the original match.
26112         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26113         found match, but keep the index as the original match.
26114         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26115         in case start/end index < -1.
26116         
26117 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26118
26119         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26120         Set to false.   
26121
26122 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26123          
26124         * javax/swing/text/DefaultCaret.java:
26125         (mouseClicked) Use setDot() and moveDot() instead of
26126         JTextComponent.select().
26127
26128 2006-03-17  Roman Kennke  <kennke@aicas.com>
26129
26130         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26131         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26132         border painting for the Ocean theme.
26133         (MetalComboBoxEditor): Create editor directly instead of going
26134         to super.
26135         
26136 2006-03-17  Roman Kennke  <kennke@aicas.com>
26137
26138         * javax/swing/text/JTextComponent.java
26139         (JTextComponent): Make text components opaque.
26140
26141 2006-03-17  Roman Kennke  <kennke@aicas.com>
26142
26143         * javax/swing/plaf/metal/MetalComboBoxUI.java
26144         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26145         layoutComboBox().
26146         (MetalPropertyChangeListener.propertyChange): Update focusable
26147         flag according to the enable and editable state.
26148         (editablePropertyChanged): Removed unnecessary code.
26149         (getMinimumSize): Rewritten to correctly compute the
26150         size, respecting the insets of the components and the icon,
26151         the visual properties of the combobox, etc.
26152         (configureEditor): Update listeners correctly.
26153         (unconfigureEditor): Update listeners correctly.
26154         (layoutComboBox): Implemented.
26155
26156 2006-03-17  Roman Kennke  <kennke@aicas.com>
26157
26158         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26159         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26160         instead of Flush3DBorder.
26161         (paintBorder): Fixed border painting.
26162         (editorBorderInsets): Fixed border's insets.
26163
26164 2006-03-17  Roman Kennke  <kennke@aicas.com>
26165
26166         * javax/swing/plaf/metal/MetalComboBoxButton.java
26167         (rendererPane): Documented.
26168         (MetalComboBoxButton): Set enabled flag from ComboBox.
26169         Set focusable flag from ComboBox's enabled flag.
26170         (isFocusTraversable): Make button focus traversable if
26171         ComboBox is not editable but enable.
26172         (paintComponent): Fixed painting to correctly adjust
26173         the boxes of the renderer and button.
26174
26175 2006-03-17  Roman Kennke  <kennke@aicas.com>
26176
26177         * javax/swing/plaf/basic/BasicButtonUI.java
26178         (installDefaults): Only install UI margin if installed margin.
26179         is null or a UIResource.         
26180         (uninstallDefaults): Only uninstall margin if it's       
26181         a UIResource.    
26182          
26183  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26184          
26185          * javax/swing/text/DefaultCaret.java:   
26186          (mouseClicked) Use setDot() and moveDot() instead of    
26187          JTextComponent.select().        
26188  
26189 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26190
26191         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26192         inner classes into package-private inner classes, added actions
26193         for caret movement and selection to the next and previous word
26194         and an action which selects the whole text.
26195
26196 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26197
26198         * javax/swing/Spring.java: Uncomment springdebug methods and
26199         rename them toString.
26200         * javax/swing/SpringLayout.java: Likewise.
26201
26202 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26203
26204         * javax/swing/text/FieldView.java:
26205         (viewToModel): Added call to adjust allocation area.
26206
26207 2006-03-17  Roman Kennke  <kennke@aicas.com>
26208
26209         * javax/swing/plaf/basic/BasicComboBoxUI.java
26210         (mouseListener): Removed field.
26211         (buttonBackground): Removed field.
26212         (buttonShadow): Removed field.
26213         (buttonDarkShadow): Removed field.
26214         (buttonHighlight): Removed field.
26215         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26216         (installUI): Initialize and configure renderer and editor here.
26217         (uninstallUI): Close popup before uninitializing.
26218         Message popup that we are uninitializing. Clear layout.
26219         (installDefaults): Install UI border. Don't install colors.
26220         (installListeners): Install listeners fetched from the popup.
26221         Remove handling of mouseListener.
26222         (uninstallDefaults): Uninstall border. Don't handle colors.
26223         (uninstallListeners): Don't handle mouseListener. Uninstall
26224         listener from the popup.
26225         (createMouseListener): Removed method.
26226         (createRenderer): Create UIResource.
26227         (installComponents): Cleaned up.
26228         (uninstallComponents): Only remove renderer when it is
26229         a UIResource.
26230         (addEditor): Remove editor before adding new one.
26231         Fetch editor from comboBox.
26232         (removeEditor): Only do something when editor != null. Unconfigure
26233         editor before removing.
26234         (configureEditor): Add key listener. Call comboBox.configureEditor.
26235         (unconfigureEditor): Removed key listener.
26236         (configureArrowButton): Only handle when arrowButton != null.
26237         Add mouse listeners to arrow button.
26238         (unconfigureArrowButton): Remove listeners.
26239         (createArrowButton): Don't handle colors here.
26240         (setPopupVisible): Don't handle focus here.
26241         (paint): Only paint when comboBox is not editable. Update
26242         hasFocus flag.
26243         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26244         (getMinimumSize): Respect insets here.
26245         (getMaximumSize): Return preferredSize with width of 32767.
26246         (getInsets): Return ComboBox insets.
26247         (paintCurrentValue): Paint using currentValuePane.
26248         Install correct colors. Don't revalidate.
26249         (paintCurrentValueBackground): Implemented.
26250         (getDefaultSize): Reimplemented using a default renderer.
26251         (getDisplaySize): Reimplemented to use renderer.
26252         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26253         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26254         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26255         (FocusHandler.focusGained): Don't invalidate minimumSize.
26256         (FocusHandler.focusLost): Don't invalidate minimumSize.
26257         Only close popup if focus change is not temporary.
26258         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26259         Reconfigure editor if not null.
26260         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26261         editor if necessary.
26262         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26263         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26264         (MouseHandler): Removed unnecessary class.
26265
26266 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26267
26268         * examples/gnu/classpath/examples/swing/Demo.java:
26269         (Demo): Set default closing operation to shutdown the runtime.
26270
26271 2006-03-17  Roman Kennke  <kennke@aicas.com>
26272
26273         * javax/swing/plaf/basic/BasicComboPopup.java
26274         (BasicComboPopup): Create listeners here.
26275         Configure components here.
26276         (show): Correctly calculate bounds using computePopupBounds().
26277         Make scroller fixed-size. Removed special autocloser handling.
26278         (hide): Rewritten to use MenuSelectionHandler.
26279         (createList): Don't set selection mode here.
26280         (configureList): Correctly install colors and fonts and selectionMode.
26281         (createScroller): Set scrollpane policies.
26282         (configureScroller): Make scroller and scrollbar not-focusable.
26283         (configurePopup): Make popup opaque and borderPainted.
26284         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26285         (delegateFocus): Implemented.
26286         (convertMouseEvent): Implemented.
26287         (updateListBoxSelectionForEvent): Implemented to also handle
26288         autoscrolling.
26289         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26290         Only open popup on left mouse-click.
26291         (InvocationMouseHandler.mouseReleased): Rewritten.
26292         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26293         support autoscrolling.
26294         (ItemHandler.itemStateChanged): Implemented to sync selection with
26295         the comboBox.
26296         (ListMouseHandler.mouseReleased): Fetch selected index directly
26297         from list.
26298         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26299         the list box.
26300         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26301         When model changes, then update listeners correctly.
26302         (uninstallListeners): Don't uninstall list listeners.
26303         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26304         from comboBox.
26305         (syncSelection): New helper method.
26306
26307 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26308
26309         * javax/swing/text/PlainView.java:
26310         (drawLine): Rewritten.
26311         (drawSelectedText): Corrected last argument for
26312         Utilities.drawTabbedText() call.
26313         (paint): Store start and end of selection in object variables,
26314         store constant values of for-loop in local variables.
26315         * javax/swing/text/Utilities.java:
26316         (drawTabbedText): Add 'pixelWidth' to the return value, store
26317         constant value of for-loop in local variable.
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  Roman Kennke  <kennke@aicas.com>
26356
26357         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26358         (noFocusBorder): Make border with insets of (1,1,1,1).
26359         (BasicComboBoxRenderer): Make renderer opaque.
26360         No need to explicitly set alignment.
26361         (getListCellRendererComponent): Rewritten to correctly initialize
26362         color and font.
26363
26364 2006-03-17  Roman Kennke  <kennke@aicas.com>
26365
26366         * javax/swing/JPopupMenu.java
26367         (setVisible): Handle JPopupMenu opening and closing via
26368         the MenuSelectionHandler.
26369
26370 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26371
26372         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26373         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26374         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26375         Likewise.       
26376         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26377         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26378         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26379         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26380         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26381         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26382         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26383         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26384         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26385         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26386
26387 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26388
26389         * java/rmi/activation/Activatable.java: Implemented.
26390         java/rmi/activation/ActivationDesc.java: Implemented.
26391         java/rmi/activation/ActivationGroup.java: Implemented.
26392         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26393         java/rmi/activation/ActivationID.java: Implemented.
26394         java/rmi/activation/ActivationSystem.java: Implemented.
26395         * gnu/java/rmi/server/UnicastServerRef.java 
26396         (exportObject, incommingMessageCall): Documented.
26397         * java/rmi/activation/package.html: Documented.
26398         * java/rmi/server/ObjID.java (objNum, space): Made package
26399         protected.
26400         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26401         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26402         Iteration bug fix.
26403         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26404         gnu/java/rmi/activation/BidiTable.java: New file.
26405         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26406         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26407         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26408
26409 2006-03-17  Mark Wielaard  <mark@klomp.org>
26410
26411         * java/security/BasicPermission.java (BasicPermission): Check
26412         name equals empty string to force NullPointerException.
26413
26414 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26415
26416         PR classpath/26606
26417         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26418         * javax/swing/Spring.java: Complete implementation
26419         * javax/swing/SpringLayout.java: Likewise.
26420
26421 2006-03-16  Keith Seitz  <keiths@redhat.com>
26422
26423         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26424         all references.
26425         (run): Remove catch clause for InterruptedException. It is no
26426         longer necessary.
26427
26428 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26429
26430         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26431         (getFontMetrics): Handle monospaced fonts specially.
26432
26433 2006-03-16  Keith Seitz  <keiths@redhat.com>
26434
26435         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26436         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26437         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26438         Don't suspend the current thread unless it is not part of the JDWP
26439         thread group.
26440
26441 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26442
26443         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26444         return 0.
26445         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26446         font metrics through toolkit.
26447         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26448         Likewise.
26449         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26450         (getFontMetrics): To calculate Java logical ascent and descent
26451         values, average Pango ink and logical values.
26452
26453 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26454
26455         * java/lang/Character.java: Updated header comment.
26456
26457 2006-03-16  Tom Tromey  <tromey@redhat.com>
26458
26459         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26460         constructor.
26461         * javax/sound/sampled/FloatControl.java: Now abstract.
26462         * javax/sound/sampled/EnumControl.java: Now abstract.
26463         * javax/sound/sampled/CompoundControl.java: Now abstract.
26464         * javax/sound/sampled/BooleanControl.java: Now abstract.
26465
26466 2006-03-16  Tom Tromey  <tromey@redhat.com>
26467
26468         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26469
26470 2006-03-16  Roman Kennke  <kennke@aicas.com>
26471
26472         * java/util/zip/ZipFile.java
26473         (openFile): New helper method.
26474         (ZipFile): Use new openFile method to ensure the proper
26475         exception is thrown. This applies for all overloaded constructors.
26476
26477 2006-03-16  Roman Kennke  <kennke@aicas.com>
26478
26479         * java/text/DateFormatSymbols.java
26480         (setAmPmStrings): Added null check and throw NPE.
26481         (setEras): Likewise.
26482         (setLocalPatternChars): Likewise.
26483         (setMonths): Likewise.
26484         (setShortMonths): Likewise.
26485         (setShortWeekdays): Likewise.
26486         (setWeekdays): Likewise.
26487         (setZoneStrings): Likewise.
26488
26489 2006-03-16  Roman Kennke  <kennke@aicas.com>
26490
26491         * javax/swing/DefaultDesktopManager.java
26492         (iconifyFrame): Repaint after removing the frame.
26493         (removeIconFor): Repaint after removing the icon.
26494
26495 2006-03-16  Roman Kennke  <kennke@aicas.com>
26496
26497         * javax/swing/JInternalFrame.java
26498         (remove): Respect the rootPaneCheckingEnabled flag here.
26499
26500 2006-03-16  Roman Kennke  <kennke@aicas.com>
26501
26502         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26503         Moved from examples into gnu.javax.swing.. namespace.
26504         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26505         Moved to gnu.javax.swing.. namespace.
26506         * examples/gnu/classpath/examples/swing/Demo.java:
26507         (themesMenu): New field. Used to disable theme switch in
26508         non-Metal-L&Fs.
26509         (mkMenuBar): Added L&F menu.
26510         (ChangeThemeAction.actionPerformed): Only switch theme when
26511         in Metal L&F.
26512         (ChangeLAFAction): New class used for changing themes.
26513         * javax/swing/UIManager.java
26514         (installed): Added GNU L&F as installed L&F.
26515
26516 2006-03-16  Mark Wielaard  <mark@klomp.org>
26517
26518         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26519         * examples/gnu/classpath/examples/icons/badge.png: Added.
26520         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26521         from icon directory.
26522
26523 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26524
26525         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26526         example.
26527         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26528         * examples/gnu/classpath/examples/awt/Demo.java: Add
26529         AnimationApplet demo.
26530         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26531         demo.
26532
26533 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26534
26535         PR classpath/26486
26536         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26537         method.
26538         (handleEvent): Likewise.
26539         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26540         Remove field.
26541         (beginNativeRepaint): Remove method.
26542         (endNativeRepaint): Likewise.
26543         (handleEvent): Call paintComponent and updateComponent.
26544         (paintComponent): New method.
26545         (updateComponent): Likewise.
26546         (repaint): Return early if width or height is less than one.
26547         (postExposeEvent): Remove isInRepaint reference.
26548         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26549         Remove method.
26550         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26551         from GtkWindowPeer.
26552         (postMouseEvent): Likewise.
26553         (postExposeEvent): Likewise.
26554         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26555         Override to do nothing.
26556         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26557         from GtkWindowPeer.
26558         (postMouseEvent): Likewise.
26559         (postExposeEvent): Likewise.
26560         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26561         paint and update handling from GtkComponentPeer.
26562         (updateComponent): Override to call paintComponent.
26563         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26564         gdk_flush calls with schedule_flush calls.
26565         (flush): New function.
26566         (schedule_flush): Likewise.
26567
26568 2006-03-15  Tom Tromey  <tromey@redhat.com>
26569
26570         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26571         constructor.
26572         (BCSIterator): Likewise.
26573         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26574         New constructor.
26575         (BCSSProxyServiceProvider): Likewise.
26576         (BCSSServiceProvider): Likewise.
26577
26578 2006-03-15  Tom Tromey  <tromey@redhat.com>
26579
26580         * javax/sound/midi/Track.java (Track): New constructor.
26581         (events): Now package-private.
26582         * javax/sound/midi/MidiUnavailableException.java
26583         (MidiUnavailableException): Removed invalid constructors.
26584         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26585         * javax/sound/midi/InvalidMidiDataException.java
26586         (InvalidMidiDataException): Removed invalid constructors.
26587         * javax/sound/midi/Sequencer.java (hashCode): Now final.
26588         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26589         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26590         (SYSTEM_EXCLUSIVE): Removed.
26591         (getDataLength): Updated.
26592         * javax/sound/midi/MidiDevice.java (Info): Now protected.
26593         (equals): Now final
26594         (getName): Now final.
26595         (getVendor): Now final.
26596         (getDescription): Likewise.
26597         (hashCode): Likewise.
26598         (getVersion): Likewise.
26599         (toString): Likewise.
26600         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26601         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26602         (getEarlyReflectionDelay): Likewise.
26603         (getEarlyReflectionIntensity): Likewise.
26604         (getLateReflectionDelay): Likewise.
26605         (getLateReflectionIntensity): Likewise.
26606         (toString): Likewise.
26607         * javax/sound/sampled/Port.java (toString): Now final.
26608         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26609         (getLine): Likewise.
26610         (getType): Likewise.
26611         * javax/sound/sampled/Mixer.java (Info): Now protected.
26612         (getDescription): Now final.
26613         (getName): Likewise.
26614         (getVendor): Likewise.
26615         (getVersion): Likewise.
26616         (toString): Likewise.
26617         * javax/sound/sampled/Control.java: Now abstract.
26618         (Type.toString): Now final.
26619
26620 2006-03-15  Keith Seitz  <keiths@redhat.com>
26621
26622         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26623         of this redundant variable.
26624         (LineTable): Assert that the number of line numbers and the number of
26625         code indicies is the same.
26626
26627 2006-03-15  Tom Tromey  <tromey@redhat.com>
26628
26629         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26630         final.
26631         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26632         fix.
26633         * java/util/zip/ZipFile.java (ENDNRD): New constant.
26634         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26635         * java/util/zip/Inflater.java (end): Not deprecated.
26636         * java/util/zip/Deflater.java (end): Not deprecated.
26637         * java/text/Bidi.java (Bidi): Now final.
26638         * java/nio/MappedByteBuffer.java (finalize): Now protected.
26639
26640 2006-03-15  Keith Seitz  <keiths@redhat.com>
26641
26642         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26643         (Location): Index is a long, not an int.
26644         (getMethod): New method.
26645         (getIndex): New method.
26646         (toString): New method.
26647
26648 2006-03-15  Tom Tromey  <tromey@redhat.com>
26649
26650         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26651         * java/awt/image/LookupOp.java (filter): Now final.
26652         (getBounds2D): Likewise.
26653         (getPoint2D): Likewise.
26654         (getTable): Likewise.
26655         (getRenderingHints): Likewise.
26656         * java/awt/image/ConvolveOp.java (filter): Now final.
26657         (getBounds2D): Likewise.
26658         (getKernel): Likewise.
26659         (getPoint2D): Likewise.
26660         (getRenderingHints): Likewise.
26661         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26662         (getMatrix): Likewise.
26663         (getBounds2D): Likewise.
26664         (getRenderingHints): Likewise.
26665         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26666         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26667         private.
26668         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26669         protected.
26670         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26671         protected.
26672         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26673
26674 2006-03-15  Keith Seitz  <keiths@redhat.com>
26675
26676         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26677         Update javadoc.
26678         (matches): Implement.
26679
26680 2006-03-15  Keith Seitz  <keiths@redhat.com>
26681
26682         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26683         
26684         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26685
26686 2006-03-15  Tom Tromey  <tromey@redhat.com>
26687
26688         * java/lang/StrictMath.java (signum): New methods.
26689
26690 2006-03-15  Tom Tromey  <tromey@redhat.com>
26691
26692         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26693
26694 2006-03-15  Lillian Angel  <langel@redhat.com>
26695
26696         PR classpath/24211
26697         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26698         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26699         Added check to avoid segmentation fault.
26700
26701 2006-03-15  Lillian Angel  <langel@redhat.com>
26702
26703         * java/awt/Container.java
26704         (getComponentAt): Fixed documentation.
26705         (getComponentAt): Likewise.
26706
26707 2006-03-15  Roman Kennke  <kennke@aicas.com>
26708
26709         * javax/swing/JComponent.java
26710         (dragBuffer): New field.
26711         (dragBufferInitialized): New field.
26712         (paint): Added facility for buffered dragging of components.
26713         (initializeDragBuffer): New method.
26714         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26715         API docs.
26716         * javax/swing/plaf/basic/BasicInternalFrameUI.java
26717         (BorderListener.mouseDragged): Turn on buffered dragging.
26718         (BorderListener.mouseReleased): Turn off buffered dragging.
26719
26720 2006-03-15  Lillian Angel  <langel@redhat.com>
26721
26722         * java/awt/Container.java
26723         (getComponentAt): Fixed documentation.
26724         (getComponentAt): Likewise.
26725         (findComponentAt): Likewise.
26726         (findComponentAt): Likewise.
26727
26728 2006-03-15  Roman Kennke  <kennke@aicas.com>
26729
26730         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26731         (PropertyChangeHandler.propertyChange): Call enableActions().
26732         Fixed 'iconable' property name.
26733
26734 2006-03-15  Chris Burdess  <dog@gnu.org>
26735
26736         Fixes PR 26700
26737         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26738
26739 2006-03-15  Roman Kennke  <kennke@aicas.com>
26740
26741         * examples/gnu/classpath/examples/swing/Demo.java:
26742         (desktop): New field.
26743         (mkMenuBar): Added new subdemos.
26744         (mkButtonWorld): Removed.
26745         (CheckCellRenderer): Moved to ListDemo.
26746         (LabelCellRenderer): Moved to ListDemo.
26747         (mkTreeWorld): Moved to TreeDemo.
26748         (mkDesktopWorld): Removed.
26749         (mkTabWorld): Moved to TabbedPaneDemo.
26750         (mkTabbedPane): Removed.
26751         (Demo): Replaced 'worlds' tabbed pane with desktop.
26752         (PopupAction): Made class non-static.
26753         (PopupAction.actionPerformed): Bring up subdemos in internal
26754         frame.
26755         (mkButtonBar): Added new demos.
26756         (createDesktop): New method.
26757         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26758         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26759         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26760         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26761         * examples/gnu/classpath/examples/swing/badge.png: New image file.
26762
26763 2006-03-15  Lillian Angel  <langel@redhat.com>
26764         
26765         * java/awt/Container.java
26766         (getComponentAt): Fixed mistake in comments.
26767         (getComponentAt): Likewise.
26768         (locate): Likewise. Also, handled lightweight components.
26769         Heavyweights take precedence over lightweights, so we should
26770         iterate through the heavyweights first.
26771
26772 2006-03-15  Lillian Angel  <langel@redhat.com>
26773
26774         * java/awt/Container.java
26775         (getComponentAt): Added API documentation.
26776         (getComponentAt): Likewise.
26777         (locate): Likewise. Also, removed lines to ignore
26778         invisible components.
26779         (findComponentAt): Added API documentation.
26780         (findComponentAt): Added API documentation.
26781         (findComponentForMouseEvent): Removed, never used.
26782
26783 2006-03-15  Roman Kennke  <kennke@aicas.com>
26784
26785         * javax/swing/Popup.java
26786         (LightweightPopup.show): Repaint the panel after showing it.
26787
26788 2006-03-15  Lillian Angel  <langel@redhat.com>
26789
26790         * java/awt/Component.java
26791         (show): repaint should only be called if the component
26792         isShowing and isLightweight.
26793
26794 2006-03-15  Roman Kennke  <kennke@aicas.com>
26795
26796         * javax/swing/JInternalFrame.java
26797         (setClosable): Made this property bound.
26798         (setResizable): Made this property bound.
26799         (setIconifiable): Made this property bound.
26800         (setMaximizable): Made this property bound.
26801
26802 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26803
26804         * javax/swing/table/TableColumn.java
26805         (sizeWidthToFit): Implemented.
26806
26807 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
26808
26809         * javax/swing/table/TableColumn.java: API docs updated all over, plus
26810         (setIdentifier): Fire required PropertyChangeEvent,
26811         (setCellEditor): Likewise.
26812
26813 2006-03-15  Roman Kennke  <kennke@aicas.com>
26814
26815         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
26816         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
26817         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
26818         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
26819         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
26820         * examples/gnu/classpath/examples/swing/SliderDemo.java,
26821         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
26822         * examples/gnu/classpath/examples/swing/TableDemo.java,
26823         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
26824         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
26825         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
26826         * examples/gnu/classpath/examples/swing/Demo.java:
26827         Cleaned up. Reworked handling of Sub-demos to load lazily.
26828         * examples/gnu/classpath/examples/swing/DemoFactory.java:
26829         New interface. Used for loading the subdemos lazily.
26830
26831 2006-03-15  Roman Kennke  <kennke@aicas.com>
26832
26833         * javax/swing/plaf/basic/BasicToolBarUI.java
26834         (PropertyListener.propertyChange): Added null check to avoid NPE.
26835
26836 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26837
26838         * javax/swing/table/TableColumn.java
26839         (COLUMN_WIDTH_PROPERTY): Updated API docs,
26840         (width): Likewise.
26841         (minWidth): Likewise,
26842         (preferredWidth): Likewise,
26843         (maxWidth): Likewise,
26844         (headerRenderer): Likewise,
26845         (cellRenderer): Likewise,
26846         (cellEditor): Likewise,
26847         (changeSupport): Likewise,
26848         (firePropertyChange(String, Object, Object)): Removed,
26849         (firePropertyChange(String, int. int)): Likewise,
26850         (firePropertyChange(String, boolean, boolean)): Likewise,
26851         (setModelIndex): Fire property change,
26852         (setHeaderValue): Call changeSupport directly to generate event,
26853         (setHeaderRenderer): Likewise,
26854         (setCellRenderer): Likewise,
26855         (setWidth): Likewise,
26856         (setPreferredWidth): Likewise,
26857         (setMinWidth): Likewise,
26858         (setMaxWidth): Likewise,
26859         (createDefaultHeaderRenderer): Added API docs.
26860
26861 2006-03-14  Roman Kennke  <kennke@aicas.com>
26862
26863         * examples/gnu/classpath/examples/swing/Demo.java
26864         Removed static initializer.
26865         (mkMenuBar): Made method non-static. Added themes menu.
26866         (ChangeThemeAction): New inner class, used to change themes.
26867
26868 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26869
26870         * javax/swing/table/TableColumn.java
26871         (setMaxWidth): Updated width and preferredWidth if necessary,
26872         (getMaxWidth): Updated API docs.
26873
26874 2006-03-14  Roman Kennke  <kennke@aicas.com>
26875
26876         * javax/swing/plaf/basic/BasicSliderUI.java
26877         (TrackListener.mouseDragged): Only process event when slider is
26878         enabled.
26879         (TrackListener.mouseReleased): Only process event when slider is
26880         enabled.
26881         (TrackListener.mousePressed): Only process event when slider is
26882         enabled.
26883
26884 2006-03-14  Roman Kennke  <kennke@aicas.com>
26885
26886         * NEWS: Added note about OceanTheme support.
26887
26888 2006-03-14  Roman Kennke  <kennke@aicas.com>
26889
26890         * javax/swing/plaf/metal/MetalIconFactory.java
26891         (HorizontalSliderThumbIcon.gradientMask): New field
26892         (HorizontalSliderThumbIcon.paintIcon): Added support for the
26893         OceanTheme.
26894         (VerticalSliderThumbIcon.gradientMask): New field
26895         (VerticalSliderThumbIcon.paintIcon): Added support for the
26896         OceanTheme.
26897         * javax/swing/plaf/metal/MetalUtils.java
26898         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
26899         (paintVerticalGradient): Fixed painting of 'masked' gradients.
26900
26901 2006-03-14  Mark Wielaard  <mark@klomp.org>
26902
26903         Fixes bug #26641
26904         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
26905         of handleMouseEvent.
26906         (handleMouseEvent): Return boolean to indicate whether we handled the
26907         event by passing it to a lightweight.
26908
26909 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
26910
26911         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
26912         * org/omg/PortableServer/ServantActivatorPOA.java,
26913         * org/omg/PortableServer/ServantLocatorPOA.java: 
26914         Make class abstract and minor api docs fixlets.
26915         * org/omg/PortableServer/ForwardRequest.java, 
26916         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
26917         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
26918         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
26919         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
26920         * org/omg/PortableServer/POAPackage/NoServant.java, 
26921         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
26922         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
26923         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
26924         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
26925         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
26926         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
26927         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
26928         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
26929         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
26930         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
26931
26932 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
26933
26934         * NEWS: Added entry about printing support.
26935
26936 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26937
26938         * javax/swing/table/TableColumn.java
26939         (COLUMN_WIDTH_PROPERTY): Updated API docs,
26940         (isResizable): Likewise,
26941         (setWidth): Likewise,
26942         (getWidth): Likewise,
26943         (setPreferredWidth): Likewise,
26944         (getPreferredWidth): Likewise,
26945         (setMinWidth): Check for negative argument and update width and 
26946         preferredWidth if necessary,
26947         (getMinWidth): Updated API docs.
26948
26949 2006-03-14  Lillian Angel  <langel@redhat.com>
26950         
26951         * java/awt/Container.java
26952         (addImpl): Removed call to repaint. No need to repaint here.
26953
26954 2006-03-14  Roman Kennke  <kennke@aicas.com>
26955
26956         * javax/swing/plaf/metal/MetalSliderUI.java
26957         (paintTrack): Added OceanTheme support.
26958
26959 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26960
26961         * javax/swing/table/TableColumn.java
26962         (setResizable): Fire PropertyChangeEvent if the flag value changes,
26963         (isResizable): Updated API docs.
26964
26965 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
26966
26967         * javax/swing/LookAndFeel.java: Updated API docs.
26968
26969 2006-03-14  Roman Kennke  <kennke@aicas.com>
26970
26971         * javax/swing/plaf/metal/MetalUtils.java
26972         (paintGradient): Added support for 'masked' gradients.
26973         (paintHorizontalGradient): Likewise.
26974         (paintVerticalGradient): Likewise.
26975         * javax/swing/plaf/metal/MetalIconFactory.java
26976         (RadioButtonIcon.gradientMask): New field.
26977         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
26978
26979 2006-03-14  Mark Wielaard  <mark@klomp.org>
26980
26981         Fixes bug #26645.
26982         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
26983         New field.
26984         (removeActionListener): Add listener to ComboBoxEditorListener.
26985         (removeActionListener): Remove listener from ComboBoxEditorListener.
26986         (ComboBoxEditorListener): New static helper class.
26987
26988 2006-03-14  Roman Kennke  <kennke@aicas.com>
26989
26990         * javax/swing/plaf/metal/MetalBorders.java
26991         (getToolBarButtonBorder): Don't create a UIResource border
26992         here.
26993         * javax/swing/plaf/metal/MetalToolBarUI.java
26994         (installUI): New overridden method. Installs the rollover property.
26995         (uninstallUI): New overridden method. Resets the rollover property.
26996         * javax/swing/plaf/metal/MetalUtils.java
26997         (paintGradient): Fetch Float values from the UIManager. Adjusted
26998         method signatures accordingly.
26999         (paintHorizontalGradient): Adjusted signature to accept float
27000         instead of double.
27001         (paintVerticalGradient): Adjusted signature to accept float
27002         instead of double.
27003         * javax/swing/plaf/metal/OceanTheme.java
27004         (addCustomEntriesToTable): Added missing UIDefaults entries,
27005         except of Icons. Fixed gradient entries to use Float instead
27006         of Double.
27007
27008 2006-03-14  Roman Kennke  <kennke@aicas.com>
27009
27010         * javax/swing/JInternalFrame.java
27011         (JInternalFrame): Make JInternalFrame opaque.
27012         * javax/swing/JToolBarFrame.java
27013         (JToolBar): Make JToolBar opaque.
27014
27015 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27016
27017         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27018         * javax/swing/tree/TreePath.java: Likewise.
27019
27020 2006-03-13  Tom Tromey  <tromey@redhat.com>
27021
27022         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27023         Genericized.
27024         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27025         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27026
27027 2006-03-13  Keith Seitz  <keiths@redhat.com>
27028
27029         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27030         (executeMethods): Output number of methods.
27031
27032 2006-03-13  Roman Kennke  <kennke@aicas.com>
27033
27034         * javax/swing/plaf/basic/BasicButtonUI.java
27035         (uninstallDefaults): Only uninstall border if it's a UIResource.
27036         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27037         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27038         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27039         (installUI): Don't touch the opaque flag of the glassPane and
27040         the frame. Don't invalidate.
27041         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27042         (installUI): Don't touch the opaque flag of the glassPane.
27043         * javax/swing/plaf/basic/BasicMenuBarUI.java
27044         (properyChangeListener): Made field private.
27045         (ChangeHandler): Made class private.
27046         (ContainerHandler): Made class private.
27047         (PropertyChangeHandler): Made class private.
27048         * javax/swing/plaf/basic/BasicMenuUI.java
27049         (MenuHandler): Made class private.
27050         (PropertyChangeHandler): Removed unneeded class.
27051         (MenuDragMouseHandler): Made class private.
27052         (MenuKeyHandler): Made class private.
27053         * javax/swing/plaf/basic/BasicPanelUI.java
27054         (installDefaults): Made method protected. Don't set opaque
27055         flag.
27056         * javax/swing/plaf/basic/BasicScrollBarUI.java
27057         (TrackListener.shouldScroll): Made method private.
27058         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27059         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27060         Made constructor package private.
27061         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27062         (cellBorder): Made field private.
27063         * javax/swing/plaf/basic/BasicTextUI.java
27064         (installDefaults): Don't make component opaque.
27065         * javax/swing/plaf/basic/BasicToolBarUI.java
27066         (createNonRollOverBorder): Don't create UIResource border.
27067         (createRollOverBorder): Don't create UIResource border.
27068         (installComponents): Moved setRolloverBorders call here.
27069         (installDefaults): Moved setRolloverBorders call from here.
27070         (installUI): Don't make toolbar opaque.
27071         (setBorderToNonRollover): Handle AbstractButton instead of
27072         JButton here.
27073         (uninstallComponents): Don't nullify class fields here.
27074
27075 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27076
27077         * javax/swing/SwingUtilities.java
27078         (calculateInnerArea): handle null component, and replace 
27079         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27080         creation.
27081
27082 2006-03-13  Roman Kennke  <kennke@aicas.com>
27083
27084         * javax/swing/JColorChooser.java
27085         (updateUI): Don't call revalidate().
27086         * javax/swing/JComboBox.java
27087         (updateUI): Don't call invalidate().
27088         * javax/swing/JDesktopPane.java
27089         (updateUI): Don't call invalidate().
27090         * javax/swing/JFileChooser.java
27091         (updateUI): Don't call revalidate().
27092         * javax/swing/JMenu.java
27093         (updateUI): Don't call invalidate().
27094         * javax/swing/JMenuBar.java
27095         (updateUI): Don't call invalidate().
27096         * javax/swing/JMenuItem.java
27097         (updateUI): Don't call invalidate().
27098         * javax/swing/JOptionPane.java
27099         (updateUI): Don't call invalidate().
27100         * javax/swing/JPopupMenu.java
27101         (updateUI): Don't call invalidate().
27102         * javax/swing/JProgressBar.java
27103         (updateUI): Don't call invalidate().
27104         * javax/swing/JScrollBar.java
27105         (updateUI): Don't call invalidate() and repaint().
27106         * javax/swing/JScrollPane.java
27107         (updateUI): Rewritten to be like the other updateUI()
27108         methods.
27109         * javax/swing/JSlider.java
27110         (updateUI): Don't call invalidate() and repaint().
27111         * javax/swing/JSplitPane.java
27112         (updateUI): Don't call invalidate() and repaint().
27113         * javax/swing/JTabbedPane.java
27114         (updateUI): Don't call invalidate().
27115         * javax/swing/JTable.java
27116         (updateUI): Don't call revalidate() and repaint().
27117         * javax/swing/JToolBar.java
27118         (updateUI): Don't call revalidate() and repaint().
27119         * javax/swing/JToolTip.java
27120         (updateUI): Don't call revalidate() and repaint().
27121
27122 2006-03-13  Roman Kennke  <kennke@aicas.com>
27123
27124         * javax/swing/SwingUtilities.java
27125         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27126         menus and non-Swing components is improved.
27127         (updateComponentTreeUIImpl): New helper method.
27128         (replaceUIActionMap): Added check for uiActionMap==parent to
27129         avoid loop.
27130         (replaceUIInputMap): Added check for uiInputMap==parent to
27131         avoid loop.
27132
27133 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27134
27135         * gnu/classpath/debug/Component.java: 
27136         (IPP) New component for IPP debugging. 
27137         (EVERYTHING): Adapted to include IPP.
27138         * javax/print/PrintServiceLookup.java: 
27139         (registerServiceProvider): New method.
27140         (registerService): Likewise.
27141         (lookupPrintServices): Likewise.
27142         (lookupMultiDocPrintServices): Likewise.
27143         (lookupDefaultPrintService): Likewise.
27144         (static_initializer): Likewise.
27145         (printServiceLookups): New field for found service providers.
27146         (printServices): New field for application registered providers.
27147         (systemProvider): New field for the system provider.    
27148         * javax/print/ServiceUI.java: New file. 
27149         * javax/print/package.html: Added more usage content.
27150         * javax/print/event/package.html: Likewise.
27151         * javax/print/attribute/package.html: Likewise.
27152         * javax/print/attribute/standard/package.html: Likewise.
27153         * gnu/javax/print/PrintUriException.java,
27154         gnu/javax/print/PrintFlavorException.java,
27155         gnu/javax/print/PrinterDialog.java,
27156         gnu/javax/print/PrintAttributeException.java,
27157         gnu/javax/print/CupsPrintServiceLookup.java,
27158         gnu/javax/print/CupsServer.java,
27159         gnu/javax/print/CupsPrintService.java,
27160         gnu/javax/print/CupsMediaMapping.java,
27161         gnu/javax/print/CupsIppOperation.java:
27162         New implementation files of the Java Print Service API.
27163         * gnu/javax/print/ipp/IppValueTag.java,
27164         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27165         gnu/javax/print/ipp/IppStatusCode.java,
27166         gnu/javax/print/ipp/IppUtilities.java,
27167         gnu/javax/print/ipp/IppResponse.java,
27168         gnu/javax/print/ipp/IppException.java,
27169         gnu/javax/print/ipp/IppPrintService.java,
27170         gnu/javax/print/ipp/IppRequest.java,
27171         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27172         gnu/javax/print/ipp/IppDelimiterTag.java,
27173         gnu/javax/print/ipp/DocPrintJobImpl.java:
27174         New files of the IPP client implementation.
27175         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27176         gnu/javax/print/ipp/attribute/StatusMessage.java,
27177         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27178         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27179         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27180         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27181         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27182         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27183         New attribute syntax/role files of the printing implementation.
27184         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27185         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27186         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27187         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27188         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27189         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27190         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27191         gnu/javax/print/ipp/attribute/supported/
27192         OrientationRequestedSupported.java, 
27193         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27194         gnu/javax/print/ipp/attribute/supported/
27195         MultipleDocumentHandlingSupported.java, 
27196         gnu/javax/print/ipp/attribute/supported/
27197         MultipleDocumentJobsSupported.java, 
27198         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27199         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27200         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27201         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27202         gnu/javax/print/ipp/attribute/supported/
27203         GeneratedNaturalLanguageSupported.java,
27204         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27205         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27206         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27207         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27208         New supported attribute files.
27209         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27210         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27211         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27212         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27213         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27214         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27215         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27216         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27217         New printer description attribute files.
27218         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27219         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27220         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27221         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27222         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27223         gnu/javax/print/ipp/attribute/job/JobId.java,
27224         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27225         gnu/javax/print/ipp/attribute/job/JobUri.java,
27226         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27227         New job description attribute files.
27228         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27229         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27230         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27231         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27232         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27233         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27234         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27235         gnu/javax/print/ipp/attribute/defaults/
27236         MultipleDocumentHandlingDefault.java,
27237         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27238         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27239         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27240         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27241         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27242         New default printing attribute files.
27243         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27244         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27245         * examples/gnu/classpath/examples/print/Demo.java: 
27246         New demo application of the current implemented functionality.
27247
27248 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27249
27250         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27251         java/rmi/activation/ActivationDesc.java.java,
27252         java/rmi/activation/ActivationGroup.java,
27253         java/rmi/activation/ActivationID.java,
27254         java/rmi/activation/ActivationMonitor.java,
27255         java/rmi/activation/ActivationSystem.java,
27256         java/rmi/activation/package.html: Documenting.
27257
27258 2006-03-13  Roman Kennke  <kennke@aicas.com>
27259
27260         * javax/swing/JInternalFrame.java
27261         (setSelected): Repaint frame when it is showing and the selection
27262         state changes.
27263
27264 2006-03-13  Roman Kennke  <kennke@aicas.com>
27265
27266         * javax/swing/AbstractButton.java
27267         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27268         instead of null.
27269
27270 2006-03-13  Roman Kennke  <kennke@aicas.com>
27271
27272         * javax/accessibility/AccessibleContext.java
27273         (getAccessibleRelationSet): Return empty set instead of null.
27274
27275 2006-03-13  Roman Kennke  <kennke@aicas.com>
27276
27277         * javax/swing/ImageIcon.java
27278         (loadImage): Remove completed images from the MediaTracker. This
27279         avoids a potential memory leak.
27280
27281 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27282
27283         * javax/print/MultiDocPrintService.java, 
27284         * javax/print/MultiDocPrintJob.java, 
27285         * javax/print/MultiDoc.java: Added and enhanced documentation.
27286
27287 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27288
27289         * java/rmi/activation/ActivationID.java (uid): New field.
27290         (writeExternal, readExternal): New methods. 
27291         (equals, hashCode): Rewritten.
27292         * java/rmi/activation/ActivationInstantiator.java,
27293         * java/rmi/activation/ActivationSystem.java,
27294         * java/rmi/activation/Activator.java,
27295         * java/rmi/activation/Activatable.java,
27296         * java/rmi/activation/ActivationGroup.java,
27297         * java/rmi/activation/ActivationGroupDesc.java: 
27298         Documented and autoformatted.
27299         * java/rmi/activation/package.html: Added content.
27300         
27301 2006-03-12  Chris Burdess  <dog@gnu.org>
27302
27303         Fixes PR 26652
27304         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27305           encoding are specified.
27306
27307 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27308
27309         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27310         (changeEvent): Initialise in fireStateChange(),
27311         (setSelectedIndex): Check if change is made before firing event,
27312         (clearSelection): Delegate to setSelectedIndex(),
27313         (fireStateChanged): Initialise changeEvent if necessary,
27314         * javax/swing/SingleSelectionModel.java: API docs all over.
27315
27316 2006-03-11  Tom Tromey  <tromey@redhat.com>
27317
27318         * java/util/zip/InflaterInputStream.java: Reverted previous
27319         patch.
27320
27321 2006-03-11  Mark Wielaard  <mark@klomp.org>
27322
27323         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27324         Compare name.
27325
27326 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27327
27328         * javax/swing/event/TreeSelectionEvent.java
27329         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27330         not one of the added/removed paths,
27331         (cloneWithSource): Reformatted.
27332
27333 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27334
27335         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27336         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27337
27338 2006-03-10  Casey Marshall  <csm@gnu.org>
27339
27340         Fixes PR 23768.
27341         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27342         reset `state.'
27343         (doFinal, update): new methods.
27344         (init, init, init, init): initialize `state' after trying the
27345         implementation, which can throw an exception.
27346         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27347         methods.
27348
27349 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27350
27351         * gnu/regexp/BacktrackStack.java: New file.
27352         * gnu/regexp/RE.java(findMatch): New method.
27353         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27354         REMatchList): Removed. (backtrackStack): New field.
27355         * gnu/regexp/REToken.java(match): Changed from an abstract
27356         method to an ordinary method defined with the new method
27357         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27358         findFixedLengthMatches, backtrack, toString): New methods.
27359         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27360         * gnu/regexp/RETokenBackRef.java: Likewise.
27361         * gnu/regexp/RETokenChar.java: Likewise.
27362         * gnu/regexp/RETokenEnd.java: Likewise.
27363         * gnu/regexp/RETokenEndSub.java: Likewise.
27364         * gnu/regexp/RETokenIndependent.java: Likewise.
27365         * gnu/regexp/RETokenLookAhead.java: Likewise.
27366         * gnu/regexp/RETokenLookBehind.java: Likewise.
27367         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27368         * gnu/regexp/RETokenPOSIX.java: Likewise.
27369         * gnu/regexp/RETokenRange.java: Likewise.
27370         * gnu/regexp/RETokenStart.java: Likewise.
27371         * gnu/regexp/RETokenWordBoundary.java: Likewise
27372         * gnu/regexp/RETokenOneOf.java: Rewriten.
27373         * gnu/regexp/RETokenRepeated.java: Rewriten.
27374
27375 2006-03-10  Roman Kennke  <kennke@aicas.com>
27376
27377         * javax/swing/plaf/metal/MetalBorders.java
27378         (RolloverButtonBorder.paintBorder): Only call super here.
27379         * javax/swing/plaf/metal/MetalButtonListener.java
27380         (propertyChange): Only call super here.
27381         * javax/swing/plaf/metal/MetalButtonUI.java
27382         (update): Changed condition from isOpaque() to isContentAreaFilled()
27383         for the gradient fill.
27384         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27385         (paintText): API doc fix. Makes paintText not deprecated as specified
27386         but adds comment that this is obsolete.
27387         * javax/swing/plaf/metal/MetalUtils.java
27388         (fillMetalPattern): Fixed condition so that the Java2D is not
27389         used when the noGraphics2D property is set.
27390
27391 2006-03-10  Roman Kennke  <kennke@aicas.com>
27392
27393         * javax/swing/plaf/metal/MetalLookAndFeel.java
27394         (createDefaultTheme): Set OceanTheme as default metal theme.
27395
27396 2006-03-10  Roman Kennke  <kennke@aicas.com>
27397
27398         * javax/swing/text/WrappedPlainView.java
27399         (metrics): Made field package private to avoid accessor method.
27400         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27401         The drawLine (righly) interprets the y parameter as the baseline.
27402         * javax/swing/text/Utilities.java
27403         (getBreakLocation): Don't consider the offset. The returned value
27404         for getTabbedTextOffset is already relative to the offset.
27405
27406 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27407
27408         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27409         (dateFormat): Made private.
27410         (put): Replace only the last occurance and the value.
27411         (putAll): Save one iteration. Clarified documentation.
27412
27413 2006-03-10  Tom Tromey  <tromey@redhat.com>
27414
27415         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27416         implementation.
27417         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27418         not '8'.
27419
27420 2006-03-10  Lillian Angel  <langel@redhat.com>
27421
27422         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27423         (comboboxgroup_get_widget): New function.
27424         (removed): Fixed to use new function to get the correct widget.
27425         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27426         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27427         function.
27428
27429 2006-03-10  Lillian Angel  <langel@redhat.com>
27430
27431         * java/awt/GridBagLayout.java
27432         (ArrangeGrid): Added checks to determine if component
27433         is placed last in a row or column. If so, the location
27434         of the last component should be used to get the location
27435         of the current component.
27436
27437 2006-03-10  Lillian Angel  <langel@redhat.com>
27438
27439         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27440         (nativeSetCheckboxGroup): No need to use new function here.
27441         Should just pass in pointer.
27442
27443 2006-03-10  Lillian Angel  <langel@redhat.com>
27444
27445         * java/awt/GridBagLayout.java
27446         (distributeSizeAndWeight): Change else if to else. This
27447         allows for components to be added to a new row when 
27448         their gridheight is REMAINDER.
27449
27450 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27451
27452         * java/rmi/activation/ActivationDesc.java,
27453         java/rmi/activation/ActivationGroupID.java,
27454         java/rmi/activation/Activator.java,
27455         java/rmi/server/Operation.java,
27456         java/rmi/server/RemoteServer.java: Documented and formatted.
27457
27458 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27459
27460         * javax/swing/JToggleButton.java: Fixed API doc tags,
27461         * javax/swing/OverlayLayout.java: Likewise.
27462
27463 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27464
27465         * javax/swing/DefaultCellEditor.java
27466         (cancelCellEditing): Removed spurious API doc tag.
27467
27468 2006-03-10  Lillian Angel  <langel@redhat.com>
27469
27470         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27471         (create): Put checkbox widget into an event box so it paints properly.
27472         (connectSignals): Fixed to use new function.
27473         (nativeSetCheckboxGroup): Likewise.
27474         (gtkToggleButtonSetActive): Likewise.
27475         (gtkWidgetModifyFont): Likewise.
27476         (gtkButtonSetLabel): Likewise.
27477         (combobox_get_widget): New function.
27478
27479 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27480
27481         * javax/swing/text/rtf/package.html: New file.
27482         
27483 2006-03-10  Roman Kennke  <kennke@aicas.com>
27484
27485         * javax/swing/plaf/metal/OceanTheme.java
27486         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27487         * javax/swing/plaf/metal/MetalScrollBarUI.java
27488         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27489         (paintThumbHorizontal): Added handling of OceanTheme.
27490         (paintThumbVertical): Added handling of OceanTheme.
27491
27492 2006-03-10  Roman Kennke  <kennke@aicas.com>
27493
27494         Reported by Fridjof Siebert <siebert@aicas.com>
27495         * java/awt/MediaTracker.java
27496         (removeImage): Only set prev to e when the the images of the
27497         entries are not the same. This avoids a potentially corrupt list.
27498
27499 2006-03-10  Chris Burdess  <dog@gnu.org>
27500
27501         PR 26620:
27502         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27503           checking while reindenting.
27504
27505 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27506
27507         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27508
27509 2006-03-09  Tom Tromey  <tromey@redhat.com>
27510
27511         PR classpath/26585:
27512         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27513         subdir.  Added README.
27514         (install-data-local): Removed.
27515         (uninstall-local): Likewise.
27516         (EXTRA_DIST): Removed.
27517
27518 2006-03-09  Tom Tromey  <tromey@redhat.com>
27519
27520         PR classpath/26623:
27521         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27522         Renamed.
27523         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27524         Renamed.
27525         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27526         Renamed.
27527         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27528         Renamed.
27529         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27530         Renamed.
27531         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27532         Renamed.
27533         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27534         Renamed.
27535         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27536         Renamed.
27537         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27538         Renamed.
27539         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27540         Renamed.
27541         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27542         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27543
27544 2006-03-09  Keith Seitz  <keiths@redhat.com>
27545
27546         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27547         (executeVariableTable): Use VMMethod instead of reflection.
27548         (executeLineTable): Likewise.
27549         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27550         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27551         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27552         (getLineTable): Removed. Now resides in VMMethod.
27553         (getVarTable): Likewise.
27554         (getAllClassMethods): New method.
27555         
27556 2006-03-09  Keith Seitz  <keiths@redhat.com>
27557
27558         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27559         * gnu/classpath/jdwp/event/ThreadStartEvent.java
27560         (ThreadStartEvent): Likewise.
27561         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27562         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27563         (ConditionalFilter): Likewise.
27564         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27565         (ExceptionOnlyFilter): Likewise.
27566         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27567         (FieldOnlyFilter): Likewise.
27568         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27569         (getSize): Likewise.
27570         (StepFilter): Likewise.
27571         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27572         * gnu/classpath/jdwp/transport/JdwpPacket.java
27573         (JdwpPacket): Likewise.
27574         (fromBytes): Likewise.
27575         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27576         (JdwpReplyPacket): Likewise.
27577         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27578         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27579         (getReferenceType): Likewise.
27580         (newObjectId): Likewise.
27581         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27582         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27583         (getFrames): Fix typo in parameter name and update javadoc.
27584         (getClassMethod): Update javadoc.
27585
27586 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
27587
27588         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27589         * javax/swing/event/TreeSelectionListener.java: Likewise.
27590
27591 2006-03-09  Lillian Angel  <langel@redhat.com>
27592
27593         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27594         (getHScrollbarHeight): Fixed property name.
27595         (getVScrollbarHeight): Likewise.
27596
27597 2006-03-09  Lillian Angel  <langel@redhat.com>
27598
27599         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27600         (get_widget): New function.
27601         (gtkWidgetSetParent): Changed to use new function.
27602         (gtkWidgetSetCursorUnlocked): Likewise.
27603         (gtkWidgetSetSensitive): Likewise.
27604         (gtkWidgetRequestFocus): Likewise.
27605         (gtkWindowGetLocationOnScreen): Likewise.
27606         (gtkWidgetGetDimensions): Likewise.
27607         (gtkWidgetGetPreferredDimensions): Likewise.
27608         (setNativeBounds): Likewise.
27609         (gtkWidgetGetBackground): Likewise.
27610         (gtkWidgetGetForeground): Likewise.
27611         (gtkWidgetSetBackground): Likewise.
27612         (gtkWidgetSetForeground): Likewise.
27613         (setVisibleNativeUnlocked): Likewise.
27614         (isEnabled): Likewise.
27615         (isRealized): Likewise.
27616         (setNativeEventMask): Likewise.
27617
27618 2006-03-09  Lillian Angel  <langel@redhat.com>
27619
27620         PR Classpath\22163
27621         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27622         (create): Added combobox widget to an event box.
27623         (connectSignals): Added call to choice_get_widget to get the
27624         combobox out of the event box.
27625         (append): Likewise.
27626         (nativeRemoveAll): Likewise.
27627         (nativeRemove): Likwise.
27628         (nativeAdd): Likewise.
27629         (selectNative): Likewise.
27630         (choice_get_widget): New function.
27631         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27632         (create): Added list scroll window widget to an event box.
27633         (connectSignals): Changed call to use new function to get the
27634         correct widget out of the event box.
27635         (getWidgetModifyFont): Likewise.
27636         (getWidgetRequestFocus): Likewise.
27637         (append): Likewise.
27638         (add): Likewise.
27639         (delItems): Likewise.
27640         (select): Likewise.
27641         (deselect): Likewise.
27642         (getSize): Likewise.
27643         (getSelectedIndexes): Likewise.
27644         (makeVisible): Likewise.
27645         (setMultipleMode): Likewise.
27646         (list_get_widget): New function.
27647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27648         (create): Added scrollpane to an eventbox.
27649         (setScrollPosition): Changed call to use new function to get the
27650         correct widget out of the event box.
27651         (gtkScrolledWindowSetHScrollIncrement): Likewise.
27652         (gtkScrolledWindowSetVScrollIncrement): Likewise.
27653         (getHScrollbarHeight): Likewise.
27654         (getVScrollbarWidth): Likewise.
27655         (setPolicy): Likewise.
27656         (scrollpane_get_widget): New function.
27657         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27658         (connectSignals): Changed call to use new function to get the
27659         correct widget out of the event box.
27660         (create): Added scrollbar to an eventbox.
27661         (setLineIncrement): Changed call to use new function to get the
27662         correct widget out of the event box.
27663         (setPageIncrement): Likewise.
27664         (setBarValues): Likewise.
27665         (scrollbar_get_widget): New function.
27666         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27667         (create): Added text area scroll window widget to an event box.
27668         (connectSignals): Changed call to use new function to get the
27669         correct widget out of the event box.
27670         (insert): Likewise.
27671         (replaceRange): Likewise.
27672         (gtkWidgetModifyFont): Likewise.
27673         (gtkWidgetRequestFocus): Likewise.
27674         (getHScrollbarHeight): Likewise.
27675         (getVScrollbarWidth): Likewise.
27676         (getCaretPosition): Likewise.
27677         (setCaretPosition):Likewise.
27678         (getSelectionStart): Likewise.
27679         (getSelectionEnd): Likewise.
27680         (select): Likewise.
27681         (setEditable): Likewise.
27682         (getText): Likewise.
27683         (setText): Likewise.
27684         (textarea_get_widget): New function.
27685
27686 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27687
27688         * java/rmi/dgc/VMID.java: 
27689         (equals, hashCode, static initializer): Rewritten.
27690         * java/rmi/dgc/package.html: Documented.
27691         
27692 2006-03-09  Mark Wielaard  <mark@klomp.org>
27693
27694         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27695         New static field.
27696         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27697         (canCache): Likewise.
27698         (GtkClipboard): Take String argument.
27699         (getInstance): Removed.
27700         (getClipboardInstance, getSelectionInstance): New static methods.
27701         (setSystemContents): Make synchronized. Takes boolean argument.
27702         (initNativeState): Add clipboard and selection.
27703         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27704         (announceClipboardChange, announcePrimaryChange): New static field.
27705         (announce): Take GtkClipboard as argument.
27706         (run): Check which clipboard to announce change for.
27707         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27708         boolean field.
27709         (GtkSelection): Take GtkClipboard as argument.
27710         (requestText, requestImage, requestURIs, requestBytes): Add boolean
27711         clipboard argument.
27712         (requestMimeTypes): Likewise.
27713         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27714         New method.
27715         * java/awt/Toolkit.java (getSystemSelection): Document.
27716         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27717         (cp_gtk_selection_instance): New var.
27718         (current_selection, owner): Removed.
27719         (clipboard_owner_change_cb): Use clipboard argument.
27720         (initNativeState): Store clipboard and selection instances. Cache
27721         setSystemContentsID, provideContentID, provideTextID, provideImageID,
27722         and provideURIsID.
27723         (clipboard_get_func): Use clipboard argument.
27724         (clipboard_clear_func): Likewise. Always call method.
27725         (advertiseContent): Don't cache method ids here. Check whether to
27726         use clpboard or selection. Don't set owner or current_selection.
27727         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27728         (requestText, requestImage, requestURIs, requestBytes): Use extra
27729         boolean argument to select clipboard.
27730         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27731         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27732         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27733         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27734
27735 2006-03-09  Keith Seitz  <keiths@redhat.com>
27736
27737         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27738         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27739         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27740         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27741         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27742         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27743         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27744         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27745         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27746
27747 2006-03-09  Mark Wielaard  <mark@klomp.org>
27748
27749         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27750         bounds for index is valid.
27751         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27752         (paint): Likewise.
27753         (getCellBounds): Update documentation.
27754
27755 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
27756
27757         * .classpath: added exclude pattern on source folders
27758         (Makefiles, README and .cvsignore)
27759
27760 2006-03-08  Michael Koch  <konqueror@gmx.de>
27761
27762         * java/net/Proxy.java (NO_PROXY): Made final.
27763         (equals): Likewise.
27764         (hashCode): Likewise.
27765
27766 2006-03-08  Keith Seitz  <keiths@redhat.com>
27767
27768         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27769         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27770         (getClassMethod): New method.
27771
27772 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27773
27774         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27775     
27776 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27777
27778         * java/rmi/server/ObjID.java: Documented and autoformatted.
27779
27780 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27781
27782         PR 26584
27783         * tools/Makefile.am (install-data-local,
27784         uninstall-local): Install/uninstall the tools/README only.
27785         * tools/gnu/classpath/tools/giop/README: Updated.
27786         * tools/README: New file.
27787
27788 2006-03-08  Lillian Angel  <langel@redhat.com>
27789
27790         * java/awt/GridBagLayout.java
27791         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27792         then the next item should be set to current_y (not 0).
27793
27794 2006-03-08  Lillian Angel  <langel@redhat.com>
27795
27796         * java/awt/GridBagLayout.java
27797         (GetLayoutInfo): If gridy is RELATIVE and there is no component
27798         in the bottom-most spot of the column, we need to place that component
27799         at the y-location of the other components in that row. If there are
27800         no other components in that row, then place it at y = 0.
27801
27802 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
27803
27804         * javax/swing/ProgressMonitor.java: Updated API docs,
27805         * javax/swing/ProgressMonitorInputStream.java: Likewise.
27806
27807 2006-03-08  Michael Koch  <konqueror@gmx.de>
27808
27809         * java/net/InetSocketAddress.java
27810         (InetSocketAddress(String,int,resolve)): New private contructor.
27811         (InetSocketAddress(String,int)): Use new private constructor.
27812         (createUnresolved): New method.
27813
27814 2006-03-07  Michael Koch  <konqueror@gmx.de>
27815
27816         * gnu/java/net/DefaultProxySelector.java,
27817         java/net/Proxy.java, java/net/ProxySelector.java:
27818         New files.
27819
27820 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27821
27822         * java/rmi/server/UID.java (constructor): Assign last and time fields
27823         after pause.
27824
27825 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27826
27827         * java/rmi/server/UID.java: New file (replacing). 
27828
27829 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
27830
27831         * java/util/jar/Manifest.java: Removed unused imports.
27832         (CRLF): New constant.
27833         (read): Added method documentation.
27834         Use UTF-8 encoding instead of 8859_1.
27835         (write): Added method documentation.
27836         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
27837         (write_main_section): Replace PrintWriter arg with OutputStream.
27838         Replace JarException with IOException.
27839         (write_version_info): Likewise.
27840         (write_main_attributes): Likewise.
27841         (write_attribute_entry): Likewise.
27842         (write_individual_sections): Likewise.
27843         (write_entry_attributes): Likewise.
27844         (write_header): Replace PrintWriter arg with OutputStream.
27845         Re-implemented.
27846
27847 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27848
27849         * javax/swing/tree/DefaultMutableTreeNode.java
27850         (getFirstChild): Updated API docs,
27851         (getLastChild): Likewise,
27852         (getChildAfter): Likewise,
27853         (getChildBefore): Likewise,
27854         (isNodeSibling): Return true if node == this,
27855         (getSiblingCount): Updated API docs,
27856         (getNextSibling): Likewise,
27857         (getPreviousSibling): Likewise,
27858         (isLeaf): Likewise,
27859         (getFirstLeaf): Likewise,
27860         (getLastLeaf): Likewise,
27861         (getNextLeaf): Implemented,
27862         (getPreviousLeaf): Implemented.
27863
27864 2006-03-07  Tom Tromey  <tromey@redhat.com>
27865
27866         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
27867         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
27868         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
27869         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
27870         field.
27871
27872 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27873
27874         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
27875         (clone): Reimplemented,
27876         (add): Throw IllegalArgumentException if child is an ancestor,
27877         (remove(int)): Set child's parent to null,
27878         (remove(MutableTreeNode)): Check arguments and set child's parent to 
27879         null,
27880         (insert): Check allowsChildren flag, check for null argument, and
27881         check for a node that is an ancestor,
27882         (getIndex): Throw IllegalArgumentException for null argument,
27883         (setAllowsChildren): If setting to false, remove existing children,
27884         (removeAllChildren): Set parent to null for removed children.
27885
27886 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
27887
27888         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
27889         over.
27890
27891 2006-03-06  Tom Tromey  <tromey@redhat.com>
27892
27893         * java/lang/StrictMath.java (ulp): New methods.
27894         * java/lang/Math.java (ulp): New methods.
27895
27896 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27897
27898         * gnu/java/rmi/server/UnicastRef.java,
27899         * gnu/java/rmi/server/UnicastServer.java: Formatted.
27900         
27901 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27902
27903         * gnu/java/rmi/server/CombinedClassLoader.java 
27904         (findClass, findLibrary, findResouce, findResources): check
27905         all loaders in array.
27906         
27907 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27908
27909         PR 25526
27910         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
27911         (RefProtector):    new inner class. (dirty): Rewritten.
27912         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
27913         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
27914         new methods. (readExternal): Create LeaseRenewingTask if non local.
27915         * gnu/java/rmi/server/UnicastServer.java (objects):
27916         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
27917         (getExported): New method.
27918         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
27919         
27920 2006-03-06  Mark Wielaard  <mark@klomp.org>
27921
27922         * doc/www.gnu.org/announce/20060306.wml: New file.
27923         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
27924         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
27925         
27926 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
27927
27928         * javax/swing/plaf/metal/MetalLookAndFeel.java
27929         (initComponentDefaults): Use Boolean.TRUE for
27930         'CheckBoxMenuItem.borderPainted'.
27931         
27932 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
27933
27934         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27935         (dateFormat): Made private.
27936         (put): Replace only the last occurance and the value.
27937         (putAll): Reimplemented with the put method.
27938         
27939 2006-03-06  Lillian Angel  <langel@redhat.com>
27940
27941         PR classpath/26569
27942         * java/awt/List.java
27943         (preferredSize): Return the size of the list if the peer is 
27944         null.
27945         * gnu/java/awt/peer/gtk/GtkListPeer.java
27946         (preferredSize): Code was returning the minimum size of the 
27947         list. Added adjustment to the width of the list so it is a 
27948         proper size.
27949         
27950 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
27951
27952         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
27953         (getRequestProperty): Remove duplicated null check.
27954         * java/net/URLConnection.java:
27955         (URLConnection): Javadoc fix.
27956         (addRequestProperty): Likewise.
27957         (getDefaultRequestProperty): Likewise.
27958         (getHeaderField): Likewise.
27959         (getHeaderFieldDate): Likewise.
27960         (getHeaderFieldKey): Likewise.
27961         (getHeaderFields): Likewise.
27962         (getRequestProperties): Likewise.
27963         (getRequestProperty): Likewise.
27964         (setDefaultRequestProperty): Likewise.
27965         (setRequestProperty): Likewise.
27966         
27967 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
27968       
27969         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
27970         * examples/gnu/classpath/examples/swing/Demo.java:
27971         (mkButtonBar): Changed layout manager to GridLayout, added entry for
27972         textarea example.
27973         (mkMenuBar): Added entry for text area example.
27974         
27975 2006-03-06  Tom Tromey  <tromey@redhat.com>
27976
27977         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
27978         (FORMATTED_TEXT_FIELD): Likewise.
27979         
27980 2006-03-06  Tom Tromey  <tromey@redhat.com>
27981
27982         * javax/swing/plaf/synth/SynthPainter.java: Finished.
27983         
27984 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
27985
27986         * examples/gnu/classpath/examples/swing/Demo.java:
27987         (mkMenuBar): Added menu entry that will display the VM's name,
27988         version and distributor.
27989         
27990 2006-03-06  Tom Tromey  <tromey@redhat.com>
27991          
27992         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
27993         Javadoc fix.
27994         (getName): Likewise.
27995         
27996 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
27997
27998         * java/util/jar/Manifest.java: Removed unused imports.
27999         (CRLF): New constant.
28000         (read): Added method documentation.
28001         Use UTF-8 encoding instead of 8859_1.
28002         (write): Added method documentation.
28003         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28004         (write_main_section): Replace PrintWriter arg with OutputStream.
28005         Replace JarException with IOException.
28006         (write_version_info): Likewise.
28007         (write_main_attributes): Likewise.
28008         (write_attribute_entry): Likewise.
28009         (write_individual_sections): Likewise.
28010         (write_entry_attributes): Likewise.
28011         (write_header): Replace PrintWriter arg with OutputStream.
28012         Re-implemented.
28013         
28014 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28015
28016         
28017         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28018         API doc tag warnings,
28019         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28020         
28021 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28022
28023         * gnu/java/net/protocol/file/Connection.java (unquote):
28024         Update position in buffer after decoding a unicode character
28025         outside of the basic plane.
28026         
28027 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28028
28029         * java/net/URI.java
28030         (quote): Pass Unicode characters outside the basic plane through.
28031         
28032 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28033        
28034         * javax/swing/plaf/basic/BasicTextUI.java:
28035         (damageRange): Rewritten if-expressions to correctly identify the
28036         break condition.
28037
28038 2006-03-06  Mark Wielaard  <mark@klomp.org>
28039
28040         * configure.ac: Set version to 0.90-generics.
28041         * NEWS: Fix typos.
28042
28043 2006-03-06  Mark Wielaard  <mark@klomp.org>
28044
28045         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28046         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28047         (isnan): Define explicitly isnan if it is not a macro.
28048
28049 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28050
28051         * javax/swing/text/GapContent.java:
28052         (insertString): Throw exception when argument is below
28053         zero.
28054
28055 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28056
28057         * javax/swing/text/PlainDocument.java:
28058         (insertUpdate): Extended if-expression, added
28059         code to generate another Element when newly inserted characters
28060         and old ones will be on the same line.
28061
28062 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28063
28064         * javax/swing/text/DefaultCaret.java:
28065         (mouseDragged): Do selection when shift is pressed.
28066         (mouseClicked): Implemented.
28067
28068 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28069
28070         * javax/swing/text/PlainDocument.java: Fix copyright header,
28071         added author tags.
28072         (insertUpdate): Do not copy the whole document any more, added some
28073         more variables to prevent needless method calls.
28074
28075 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28076
28077         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28078         is required on Darwin.
28079         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28080         (AM_CFLAGS): Likewise.
28081
28082 2006-03-06  Mark Wielaard  <mark@klomp.org>
28083
28084         * NEWS: Add updates for 0.90 release.
28085
28086 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28087
28088         * javax/swing/text/GapContent.java:
28089         (insertString): Throw exception when argument is below
28090         zero.
28091
28092 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28093
28094         
28095         * javax/swing/filechooser/FileFilter.java:
28096         (accept): Fixed API doc tag,
28097        (getDescription): Likewise,
28098         * javax/swing/filechooser/FileView.java:       
28099         (isTraversable): Fixed API doc tag.
28100
28101 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28102
28103         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28104         added API docs all over.
28105
28106 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28107
28108         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28109         and corrected a bad API doc tag.
28110
28111 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28112
28113         * javax/swing/undo/StateEditable.java
28114         (restoreState): Fixed bad API doc tag,
28115         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28116         AbstractUndoableEdit.java,
28117         * javax/swing/undo/UndoableEditSupport.java
28118         (createCompoundEdit): Fixed bad API doc tag,
28119         * javax/swing/undo/UndoManager.java
28120         (editToBeUndone): Fixed bad API doc tag,
28121         (editToBeRedone): Likewise.
28122
28123 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28124
28125         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28126         * javax/swing/FocusManager.java: Likewise.
28127
28128
28129 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28130
28131         
28132         * javax/swing/plaf/metal/MetalComboBoxButton.java
28133         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28134         JList)): Fixed API doc tag,
28135         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28136         (createLayout): Fixed API doc warning.
28137         
28138 2006-03-05  Tom Tromey  <tromey@redhat.com>
28139
28140         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28141         ClassHelper.getUserName.
28142         * vm/reference/java/lang/reflect/Method.java (toString): Use
28143         ClassHelper.getUserName.
28144         (getUserTypeName): Removed.
28145         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28146         * vm/reference/java/lang/reflect/Field.java (toString): Use
28147         ClassHelper.getUserName.
28148
28149 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28150
28151         Fixes PR 22813
28152         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28153         Allows directories as valid resources.
28154
28155 2006-03-05  Mark Wielaard  <mark@klomp.org>
28156
28157         * configure.ac (VERSION): Set to 0.90-pre-generics.
28158         * Merge with CVS trunk from classpath-0_90-branch-point.
28159
28160 2006-03-04  Tom Tromey  <tromey@redhat.com>
28161
28162         * javax/swing/SpringLayout.java (Constraints): New constructor.
28163         * javax/swing/Spring.java (width): New method.
28164         (height): Likewise.
28165         (scale): Likewise.
28166
28167 2006-03-04  Mark Wielaard  <mark@klomp.org>
28168
28169         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28170         existing connection from pool before returning.
28171
28172 2006-03-04  Mark Wielaard  <mark@klomp.org>
28173
28174         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28175         exceptions thrown by handlers while cleaning up and rethrow original
28176         exception.
28177
28178 2006-03-04  Tom Tromey  <tromey@redhat.com>
28179
28180         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28181         method.
28182         (findConstructor): Likewise.
28183         (instantiateClass): Likewise.
28184
28185 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28186
28187         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28188         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28189         lease value and not always the default one.
28190         (LeaseRecord): Remember the array of objects, marked as dirty.
28191         java/rmi/dgc/Lease.java: Boilerplate fix.
28192
28193 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28194
28195         * java/util/jar/Attributes.java (putValue): Made it public and updated
28196         method documentation.
28197
28198 2006-03-04  Mark Wielaard  <mark@klomp.org>
28199
28200         * java/awt/Container.java (remove(int)): Always call removeNotify()
28201         on removed Component.
28202
28203 2006-03-04  Mark Wielaard  <mark@klomp.org>
28204
28205         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28206         * javax/swing/JEditorPane.java (setText): Check for empty String
28207         with equals(), not equality (==).
28208
28209 2006-03-04  Mark Wielaard  <mark@klomp.org>
28210
28211         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28212         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28213
28214 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28215
28216         * javax/swing/text/GapContent.java
28217         (getArray): Mark as final.
28218
28219 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28220
28221         * javax/swing/text/StyleConstants.java
28222         (CharacterConstants.Background): Marked final,
28223         (CharacterConstants.BidiLevel): Likewise,
28224         (CharacterConstants.Bold): Likewise,
28225         (CharacterConstants.ComponentAttribute): Likewise,
28226         (CharacterConstants.Family): Likewise,
28227         (CharacterConstants.Size): Likewise,
28228         (CharacterConstants.Foreground): Likewise,
28229         (CharacterConstants.IconAttribute): Likewise,
28230         (CharacterConstants.Italic): Likewise,
28231         (CharacterConstants.StrikeThrough): Likewise,
28232         (CharacterConstants.Subscript): Likewise,
28233         (CharacterConstants.Superscript): Likewise,
28234         (CharacterConstants.Underline): Likewise,
28235         (ColorConstants.Foreground): Likewise,
28236         (ColorConstants.Background): Likewise,
28237         (FontConstants.Bold): Likewise,
28238         (FontConstants.Family): Likewise,
28239         (FontConstants.Italic): Likewise,
28240         (FontConstants.Size): Likewise,
28241         (ParagraphConstants.Alignment): Likewise,
28242         (ParagraphConstants.FirstLineIndent): Likewise,
28243         (ParagraphConstants.LeftIndent): Likewise,
28244         (ParagraphConstants.LineSpacing): Likewise,
28245         (ParagraphConstants.Orientation): Likewise,
28246         (ParagraphConstants.RightIndent): Likewise,
28247         (ParagraphConstants.SpaceAbove): Likewise,
28248         (ParagraphConstants.SpaceBelow): Likewise,
28249         (ParagraphConstants.TabSet): Likewise.  
28250
28251 2006-03-03  Tom Tromey  <tromey@redhat.com>
28252
28253         * javax/net/ssl/SSLException.java: Added missing @since.
28254         Wrote javadoc.
28255
28256 2006-03-03  Tom Tromey  <tromey@redhat.com>
28257
28258         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28259         (serialVersionUID): New field.
28260
28261 2006-03-03  Tom Tromey  <tromey@redhat.com>
28262
28263         * java/security/spec/InvalidKeySpecException.java
28264         (InvalidKeySpecException): New constructors.
28265         * java/security/cert/CertificateParsingException.java
28266         (CertificateParsingException): New constructors.
28267         * java/security/cert/CertificateEncodingException.java
28268         (CertificateEncodingException): New constructors.
28269         * java/security/cert/CertificateException.java (CertificateException):
28270         New constructors.
28271         * java/security/cert/CRLException.java (CRLException): New
28272         constructors.
28273
28274 2006-03-03  Tom Tromey  <tromey@redhat.com>
28275
28276         * java/security/SignatureException.java (SignatureException): New
28277         constructors.
28278         * java/security/ProviderException.java (ProviderException): New
28279         constructors.
28280         * java/security/NoSuchAlgorithmException.java
28281         (NoSuchAlgorithmException): New constructors.
28282         * java/security/KeyStoreException.java (KeyStoreException): New
28283         constructors.
28284         * java/security/KeyManagementException.java (KeyManagementException):
28285         New constructors.
28286         * java/security/InvalidKeyException.java (InvalidKeyException): New
28287         constructors.
28288         * java/security/KeyException.java (KeyException): New constructors.
28289         * java/security/InvalidAlgorithmParameterException.java
28290         (InvalidAlgorithmParameterException): New constructors.
28291         * java/security/DigestException.java (DigestException): New
28292         constructors.
28293         * java/security/GeneralSecurityException.java
28294         (GeneralSecurityException): New constructors.
28295
28296 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28297
28298         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28299         warnings,
28300         * javax/swing/event/DocumentEvent.java: Likewise,
28301         * javax/swing/event/EventListenerList.java: Likewise,
28302         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28303         * javax/swing/event/MenuKeyEvent.java: Likewise,
28304         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28305         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28306         * javax/swing/event/TreeModelEvent.java: Likewise,
28307         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28308         * javax/swing/event/UndoableEditEvent.java: Likewise.
28309
28310 2006-03-03  Tom Tromey  <tromey@redhat.com>
28311
28312         * java/awt/Insets.java (set): New method.
28313         (equals): Added @since.
28314
28315 2006-03-03  David Daney  <ddaney@avtrex.com>
28316
28317         * gnu/java/net/protocol/http/HTTPURLConnection.java
28318         (getRequestProperties): Rewrote.
28319         (addRequestProperty): Rewrote.
28320         (getHeaderFields): Rewrote.
28321         (getHeaderField): Rewrote.
28322         (getHeaderFieldKey): Rewrote.
28323         (getHeaderField): Removed useless cast.
28324         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28325         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28326         interface.
28327         (notifyHeaderHandlers): Use new Headers interface.
28328
28329 2006-03-03  Tom Tromey  <tromey@redhat.com>
28330
28331         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28332         * javax/naming/spi/ResolveResult.java,
28333         javax/naming/event/NamingExceptionEvent.java,
28334         javax/naming/event/NamingEvent.java,
28335         javax/naming/directory/SearchResult.java,
28336         javax/naming/directory/SearchControls.java,
28337         javax/naming/directory/SchemaViolationException.java,
28338         javax/naming/directory/NoSuchAttributeException.java,
28339         javax/naming/directory/ModificationItem.java,
28340         javax/naming/directory/InvalidSearchFilterException.java,
28341         javax/naming/directory/InvalidSearchControlsException.java,
28342         javax/naming/directory/InvalidAttributesException.java,
28343         javax/naming/directory/InvalidAttributeIdentifierException.java,
28344         javax/naming/directory/AttributeModificationException.java,
28345         javax/naming/directory/AttributeInUseException.java,
28346         javax/naming/TimeLimitExceededException.java,
28347         javax/naming/SizeLimitExceededException.java,
28348         javax/naming/PartialResultException.java,
28349         javax/naming/Reference.java,
28350         javax/naming/ServiceUnavailableException.java,
28351         javax/naming/OperationNotSupportedException.java,
28352         javax/naming/NotContextException.java,
28353         javax/naming/NoPermissionException.java,
28354         javax/naming/NoInitialContextException.java,
28355         javax/naming/NameNotFoundException.java,
28356         javax/naming/NameAlreadyBoundException.java,
28357         javax/naming/NameClassPair.java,
28358         javax/naming/MalformedLinkException.java,
28359         javax/naming/LinkLoopException.java,
28360         javax/naming/LinkException.java,
28361         javax/naming/LimitExceededException.java,
28362         javax/naming/InvalidNameException.java,
28363         javax/naming/InterruptedNamingException.java,
28364         javax/naming/InsufficientResourcesException.java,
28365         javax/naming/ContextNotEmptyException.java,
28366         javax/naming/ConfigurationException.java,
28367         javax/naming/CannotProceedException.java,
28368         javax/naming/CommunicationException.java,
28369         javax/naming/Binding.java,
28370         javax/naming/AuthenticationNotSupportedException.java,
28371         javax/naming/AuthenticationException.java: Added serialVersionUID.
28372
28373 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28374
28375         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28376
28377 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28378
28379         * javax/swing/event/TableModelListener.java: Updated API docs.
28380
28381 2006-03-03  Mark Wielaard  <mark@klomp.org>
28382
28383         * java/awt/Component.java (addNotify): Expand documentation.
28384
28385 2006-03-03  Mark Wielaard  <mark@klomp.org>
28386
28387         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28388         Always call setParentAndBounds().
28389         (setComponentBounds): Always call setBounds().
28390         (setBounds): Call setVisible().
28391         (setVisible): If no pixels are showing then don't make it visible.
28392         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28393         to call setParentAndBounds() anymore.
28394
28395 2006-03-03  Roman Kennke  <kennke@aicas.com>
28396
28397         * javax/swing/JInternalFrame.java
28398         (JInternalFrame): Set frame invisible.
28399         (show): Reformatted.
28400         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28401         (installDefaults): Do not set invisible here.
28402
28403 2006-03-03  Roman Kennke  <kennke@aicas.com>
28404
28405         * java/awt/Toolkit.java
28406         (getScreenInsets): Return (0,0,0,0) here.
28407
28408 2006-03-03  Roman Kennke  <kennke@aicas.com>
28409
28410         * javax/swing/text/FlowView.java
28411         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28412         (FlowStrategy.getLogicalView): Made method protected.
28413
28414 2006-03-03  Chris Burdess  <dog@gnu.org>
28415
28416         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28417           gnu/xml/validation/relaxng/AttributePattern.java,
28418           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28419           gnu/xml/validation/relaxng/ChoicePattern.java,
28420           gnu/xml/validation/relaxng/DataPattern.java,
28421           gnu/xml/validation/relaxng/Define.java,
28422           gnu/xml/validation/relaxng/ElementPattern.java,
28423           gnu/xml/validation/relaxng/EmptyPattern.java,
28424           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28425           gnu/xml/validation/relaxng/Grammar.java,
28426           gnu/xml/validation/relaxng/GrammarException.java,
28427           gnu/xml/validation/relaxng/GrammarValidator.java,
28428           gnu/xml/validation/relaxng/GroupPattern.java,
28429           gnu/xml/validation/relaxng/InterleavePattern.java,
28430           gnu/xml/validation/relaxng/ListPattern.java,
28431           gnu/xml/validation/relaxng/NSNameNameClass.java,
28432           gnu/xml/validation/relaxng/NameClass.java,
28433           gnu/xml/validation/relaxng/NameNameClass.java,
28434           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28435           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28436           gnu/xml/validation/relaxng/Param.java,
28437           gnu/xml/validation/relaxng/Pattern.java,
28438           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28439           gnu/xml/validation/relaxng/RefPattern.java,
28440           gnu/xml/validation/relaxng/TextPattern.java,
28441           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28442           builder and data model.
28443         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28444           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28445           gnu/xml/validation/xmlschema/AttributeUse.java,
28446           gnu/xml/validation/xmlschema/ComplexType.java,
28447           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28448           gnu/xml/validation/xmlschema/Particle.java,
28449           gnu/xml/validation/xmlschema/ValidationException.java,
28450           gnu/xml/validation/xmlschema/XMLSchema.java,
28451           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28452           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28453           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28454           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28455           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28456           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28457           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28458           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28459           W3C XML Schema builder and schema components.
28460         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28461           XML Schema namespace URIs.
28462
28463 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28464
28465         * NEWS: Add entry for --enable-collections.
28466         * configure.ac: Add --enable-collections option.
28467         * lib/Makefile.am (collections.jar): New target.
28468         (glibj_DATA): Add $(COLLECTIONS).
28469         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28470         configure substitution.
28471         (classpath): Read from command line.
28472         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28473
28474 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28475
28476         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28477
28478 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28479
28480         * javax/swing/event/ListSelectionEvent.java
28481         (toString): Implemented,
28482         plus updated API docs all over.
28483
28484 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28485
28486         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28487         API doc warnings,
28488         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28489
28490 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28491
28492         * gnu/java/rmi/dgc/DGCImpl.java,
28493         java/rmi/dgc/DGC.java,
28494         java/rmi/dgc/Lease.java: Formatted and commented.
28495
28496 2006-03-03  Roman Kennke  <kennke@aicas.com>
28497
28498         * NEWS: Added comment about text highlighting and copy+paste
28499         in Swing.
28500
28501 2006-03-03  Roman Kennke  <kennke@aicas.com>
28502
28503         * javax/swing/JTabbedPane.java
28504         (remove(int)): Call super.remove(int) instead of remove(Component).
28505         Avoids a stack overflow.
28506
28507 2006-03-03  Roman Kennke  <kennke@aicas.com>
28508
28509         * javax/swing/JTable.java
28510         (distributeSpillResizing): Avoid ArithmeticException by checking
28511         divisor.
28512
28513 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28514
28515         * javax/swing/text/package.html: Added package description.
28516
28517 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28518
28519         * javax/swing/CellRendererPane.java: Minor API doc fix,
28520         * javax/swing/ComboBoxModel.java: Updated API docs.
28521
28522 2006-03-03  Chris Burdess  <dog@gnu.org>
28523
28524         Fixes PR 26503
28525         * gnu/xml/stream/EntityReferenceImpl.java,
28526           gnu/xml/stream/FilteredEventReader.java,
28527           gnu/xml/stream/SAXParser.java,
28528           gnu/xml/stream/XIncludeFilter.java,
28529           gnu/xml/stream/XMLEventAllocatorImpl.java,
28530           gnu/xml/stream/XMLEventFactoryImpl.java,
28531           gnu/xml/stream/XMLEventImpl.java,
28532           gnu/xml/stream/XMLEventReaderImpl.java,
28533           gnu/xml/stream/XMLEventWriterImpl.java,
28534           gnu/xml/stream/XMLInputFactoryImpl.java,
28535           gnu/xml/stream/XMLOutputFactoryImpl.java,
28536           gnu/xml/stream/XMLParser.java,
28537           javax/xml/stream/EventFilter.java,
28538           javax/xml/stream/Location.java,
28539           javax/xml/stream/StreamFilter.java,
28540           javax/xml/stream/XMLEventFactory.java,
28541           javax/xml/stream/XMLEventReader.java,
28542           javax/xml/stream/XMLEventWriter.java,
28543           javax/xml/stream/XMLInputFactory.java,
28544           javax/xml/stream/XMLOutputFactory.java,
28545           javax/xml/stream/XMLReporter.java,
28546           javax/xml/stream/XMLResolver.java,
28547           javax/xml/stream/XMLStreamConstants.java,
28548           javax/xml/stream/XMLStreamReader.java,
28549           javax/xml/stream/events/EntityDeclaration.java,
28550           javax/xml/stream/events/EntityReference.java,
28551           javax/xml/stream/events/XMLEvent.java,
28552           javax/xml/stream/util/EventReaderDelegate.java,
28553           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28554           StAX API as specified in JWSDP 2.0.
28555         * gnu/xml/stream/EndEntityImpl.java,
28556           gnu/xml/stream/LocationImpl.java,
28557           gnu/xml/stream/StartEntityImpl.java,
28558           gnu/xml/stream/XMLStreamReaderImpl.java,
28559           javax/xml/stream/XMLFilter.java,
28560           javax/xml/stream/XMLIterator.java,
28561           javax/xml/stream/events/EndEntity.java,
28562           javax/xml/stream/events/StartEntity.java: Removed legacy files.
28563
28564 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28565
28566         * javax/swing/CellEditor.java: API doc updates,
28567         * javax/swing/DefaultCellEditor.java: Likewise.
28568
28569 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28570
28571         * javax/swing/AbstractListModel.java:
28572         (AbstractListModel): Added API docs,
28573         (fireContentsChanged): Minor API doc correction,
28574         (fireIntervalAdded): Likewise,
28575         (fireIntervalRemoved): Likewise.
28576
28577 2006-03-03  Roman Kennke  <kennke@aicas.com>
28578
28579         * NEWS: Added paragraph about Swing improvements.
28580
28581 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28582
28583         * javax/swing/AbstractAction.java: Updated API docs all over,
28584         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28585         (stopCellEditing): Minor API doc correction,
28586         * javax/swing/UnsupportedLookAndFeelException.java
28587         (UnsupportedLookAndFeelException): Changed argument name, updated API
28588         docs.
28589
28590 2006-03-03  Roman Kennke  <kennke@aicas.com>
28591
28592         * javax/swing/plaf/metal/MetalUtils.java
28593         (fillMetalPattern): Added switch to not use Graphics2D methods,
28594         even if they are available.
28595
28596 2006-03-03  Roman Kennke  <kennke@aicas.com>
28597
28598         * javax/swing/plaf/basic/BasicHTML.java
28599         (isHTMLString): Check for string beeing null.
28600         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28601         (BasicInternalFrameListener.internalFrameActivated): Implemented.
28602         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28603         (InternalFrameLayout): Don't touch the glass pane here.
28604         (installUI): Fix handling of glass pane.
28605         * javax/swing/plaf/basic/BasicLabelUI.java
28606         (vr): New field.
28607         (ir): New field.
28608         (tr): New field.
28609         (BasicLabelUI): Initialize new fields.
28610         (getPreferredSize): Avoid creating new Rectangles by using
28611         SwingUtilities method.
28612         (paint): Avoid creating new Rectangles by reusing
28613         new fields. Added some preliminary handling of HTML inside the
28614         label.
28615         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28616         (uninstallComponents): Clear HTML renderer.
28617         (propertyChange): Check for HTML text and install renderer if
28618         appropriate.
28619         * javax/swing/plaf/basic/BasicListUI.java
28620         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28621         method.
28622         * javax/swing/plaf/basic/BasicTextUI.java
28623         (RootView.getStartOffset): Implemented.
28624         (RootView.getEndOffset): Implemented.
28625         (RootView.getDocument): Implemented.
28626
28627 2006-03-03  Roman Kennke  <kennke@aicas.com>
28628
28629         * javax/swing/text/DefaultStyledDocument.java
28630         (ElementBuffer.inserUpdate): Added check for zero-length
28631         element.
28632         * javax/swing/text/DefaultStyledDocument.java
28633         (setIndex): Improved exception message.
28634         * javax/swing/text/TableView.java
28635         Made class abstract.
28636         (TableRow.replace): Probably extend columnRequirements
28637         arrays.
28638         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28639         of super.layoutMajorAxis.
28640         (columnRequirements): Made field package private.
28641         (TableView): Do not load any child views here.
28642         (layoutColumns): Implemented this method.
28643         (updateColumnRequirements): New helper method.
28644         * javax/swing/text/Utilities.java
28645         (getBreakLocation): Also take offset into account when
28646         finding end location.
28647         * javax/swing/text/html/HTMLDocument.java
28648         (HTMLReader.parseStack): New field.
28649         (HTMLReader.blockOpen): Properly handle p-implied tags.
28650         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28651         (HTMLReader.addContent): Insert p-implied when adding content to
28652         a block element.
28653         * javax/swing/text/html/HTMLEditorKit.java
28654         (HTMLFactory.create): Create HTMLTableView for <table> tags and
28655         ParagraphView for TD tags. Print out warning for tags that don't have
28656         matching view yet and create NullView for them.
28657         (read): Only set document base when document != null.
28658         * javax/swing/text/html/HTMLTableView.java:
28659         New class
28660
28661 2006-03-03  Roman Kennke  <kennke@aicas.com>
28662
28663         * javax/swing/plaf/basic/BasicHTML.java
28664         (HTMLRootView): New inner class.
28665         (createHTMLView): Embed view inside a HTMLRootView.
28666
28667 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
28668
28669         * gnu/java/net/protocol/jar/Connection.java: 
28670         (connect): Throw FileNotFoundException.
28671         (getInputStream): Remove duplicated code.
28672
28673 2006-03-03  Roman Kennke  <kennke@aicas.com>
28674
28675         * javax/swing/RepaintManager.java
28676         (commitBuffer): Added null check for clip.
28677
28678 2006-03-02  Lillian Angel <langel@redhat.com>
28679
28680         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28681         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28682         to use GtkWidget instead of GTKMenu.
28683
28684 2006-03-02  Lillian Angel <langel@redhat.com>
28685
28686         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28687         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
28688         use the submenu to get the list of children. This now works
28689         in the same way as addItem.
28690
28691 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
28692
28693         * java/lang/StringBuilder.java:
28694         (codePointAt): New method.
28695         (codePointBefore): Likewise.
28696         (codePointCount): Likewise.
28697         (trimToSize): Likewise.
28698
28699 2006-03-02  Tom Tromey  <tromey@redhat.com>
28700
28701         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28702
28703 2006-03-02  Tom Tromey  <tromey@redhat.com>
28704
28705         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28706         (getProviderInstance): 
28707
28708 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
28709
28710         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28711         Fix regression caused by move to VM variant.
28712         PR classpath/22926.
28713         
28714 2006-03-01  Tom Tromey  <tromey@redhat.com>
28715
28716         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28717         * vm/reference/java/net/VMInetAddress.java: Organized imports.
28718         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28719         imports for javadoc.
28720         (getProxyClass): Javadoc fixes.
28721         (getProxyData): Likewise.
28722         (generateProxyClass): Likewise.
28723         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28724         (setOut): Likewise.
28725         (setErr): Likewise.
28726         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28727         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28728         fix.
28729         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28730         javadoc.
28731         (getModifiers): Likewise.
28732         (getDeclaredClasses): Javadoc fix.
28733         (getDeclaredFields): Likewise.
28734         (getDeclaredMethods): Likewise.
28735         (getDeclaredConstructors): Likewise.
28736         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28737         Javadoc fix.
28738
28739 2006-03-01  Tom Tromey  <tromey@redhat.com>
28740
28741         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28742         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28743         (getVersion): Javadoc fix.
28744         (get): Likewise.
28745         * gnu/java/net/protocol/http/Headers.java: Organized imports.
28746         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28747
28748 2006-03-01  David Daney  <ddaney@avtrex.com>
28749
28750         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28751         as relative if it contains a colon but no protocol handler can be
28752         found.
28753
28754 2006-03-01  Roman Kennke  <kennke@aicas.com>
28755
28756         * javax/swing/text/AbstractDocument.java
28757         (LeafElement.LeafElement): Handle delta with respect to content
28758         length not document length.
28759         * javax/swing/text/CompositeView.java
28760         (getViewIndex): Handle bias correctly.
28761         * javax/swing/text/DefaultCaret.java
28762         (paint): Align caret position to document bounds to avoid trouble
28763         when removing large portions of content.
28764         * javax/swing/text/DefaultStyledDocument.java
28765         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28766         (ElementBuffer.createFracture): Copy old childs attribute. The
28767         ElementSpec usually doesn't carry attribute information.
28768         Use pos instead of offset.
28769         (ElementBuffer.insertFracture): Use pos instead of offset.
28770         (createDefaultRootElement): Don't use create* and instead directly
28771         instantiate the elements.
28772         (handleInsertAfterNewline): Compare the paragraphs startOffset
28773         rather than previous paragraphs endOffset.
28774         * javax/swing/text/JTextComponent.java
28775         (getScrollableTracksViewportWidth): Remove unnecessary cast to
28776         JViewport.
28777         (getScrollableTracksViewportHeight): Remove unnecessary cast to
28778         JViewport.
28779         * javax/swing/text/PlainView.java
28780         (damageLineRange): Avoid creating new Rectangle by using
28781         SwingUtilities.
28782         * javax/swing/text/View.java
28783         (forwardUpdate): Correct the use of bias.
28784         (modelToView): Avoid new Rectangles by using SwingUtilities.
28785         (dump): Made (temprorarily) protected for use in BasicTextUI.
28786         (dump(int)): Dump out the element of the view.
28787
28788 2006-03-01  Lillian Angel  <langel@redhat.com>
28789
28790         * NEWS: javax.imageio.plugins.bmp implementation.
28791
28792 2006-03-01  Lillian Angel  <langel@redhat.com>
28793
28794         * javax/imageio/ImageWriteParam.java: 
28795         Added documentation for fields.
28796         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
28797         New class implemented.
28798
28799 2006-03-01  Tom Tromey  <tromey@redhat.com>
28800
28801         * NEWS: Mention java.util.prefs update.
28802
28803 2006-03-01  Tom Tromey  <tromey@redhat.com>
28804
28805         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
28806         * java/nio/charset/UnmappableCharacterException.java:
28807         (serialVersionUID): New field.
28808         * java/nio/charset/MalformedInputException.java:
28809         (serialVersionUID): New field.
28810         * java/nio/charset/CoderMalfunctionError.java:
28811         (serialVersionUID): New field.
28812         * java/nio/charset/CharacterCodingException.java:
28813         (serialVersionUID): New field.
28814         * java/nio/channels/UnsupportedAddressTypeException.java:
28815         (serialVersionUID): New field.
28816         * java/nio/channels/UnresolvedAddressException.java:
28817         (serialVersionUID): New field.
28818         * java/nio/channels/OverlappingFileLockException.java:
28819         (serialVersionUID): New field.
28820         * java/nio/channels/NotYetConnectedException.java:
28821         (serialVersionUID): New field.
28822         * java/nio/channels/NotYetBoundException.java
28823         (serialVersionUID): New field.
28824         * java/nio/channels/NonWritableChannelException.java
28825         (serialVersionUID): New field.
28826         * java/nio/channels/NonReadableChannelException.java
28827         (serialVersionUID): New field.
28828         * java/nio/channels/NoConnectionPendingException.java
28829         (serialVersionUID): New field.
28830         * java/nio/channels/IllegalSelectorException.java
28831         (serialVersionUID): New field.
28832         * java/nio/channels/IllegalBlockingModeException.java
28833         (serialVersionUID): New field.
28834         * java/nio/channels/FileLockInterruptionException.java
28835         (serialVersionUID): New field.
28836         * java/nio/channels/ConnectionPendingException.java
28837         (serialVersionUID): New field.
28838         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
28839         New field.
28840         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
28841         New field.
28842         * java/nio/channels/ClosedByInterruptException.java
28843         (serialVersionUID): New field.
28844         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
28845         New field.
28846         * java/nio/channels/AsynchronousCloseException.java
28847         (serialVersionUID): New field.
28848         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
28849         New field.
28850         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
28851         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
28852         * java/nio/BufferUnderflowException.java (serialVersionUID): New
28853         field.
28854         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
28855         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
28856         Javadoc fix.  Added import.
28857         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
28858         (validOps): Likewise.
28859         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
28860         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
28861         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
28862         * java/nio/channels/Channels.java: Added import.
28863         * java/nio/channels/FileChannel.java (lock): Typo fix.
28864         (tryLock): Likewise.
28865
28866 2006-03-01  Tom Tromey  <tromey@redhat.com>
28867
28868         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
28869         FileBasedFactory.
28870         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
28871         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
28872         (clear): Likewise.
28873         (putSpi): Likewise.
28874         (newNode): Likewise.
28875         (node): Likewise.
28876         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
28877         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
28878         field.
28879         (systemRoot): Use it.
28880         (userPreferences): New field.
28881         (userRoot): Use it.
28882
28883 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
28884
28885         * java/util/ResourceBundle.java
28886         (tryBundle): Catch and ignore all Exceptions.
28887
28888 2006-02-28  Roman Kennke  <kennke@aicas.com>
28889
28890         * javax/swing/plaf/basic/BasicScrollBarUI.java
28891         (getPreferredSize): Fixed add a fixed space between the buttons
28892         instead of something related to min/max.
28893         (installComponents): Create and install buttons here.
28894         (installDefaults): Don't create buttons here.
28895         * javax/swing/plaf/metal/MetalScrollBarUI.java
28896         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
28897         (getPreferredSize): New method.
28898
28899 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
28900
28901         * examples/gnu/classpath/examples/swing/Demo.java
28902         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
28903         connected 'Spinner' action to SpinnerDemo, 
28904         (mkCheckbox): Removed,
28905         (mkRadio): Likewise,
28906         (mkSpinner): Likewise,
28907         (mkToggle): Likewise,
28908         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
28909         connected 'Spinner' action to SpinnerDemo.
28910
28911 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
28912
28913         * javax/print/ServiceUIFactory.java: Added documentation to class.
28914
28915 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
28916
28917         PR classpath/26434
28918         * javax/swing/DefaultListSelectionModel.java:
28919         (addSelectionInterval): Return early if either of the arguments is -1.
28920         (removeSelectionInterval): Likewise.
28921         (setSelectionInterval): Likewise.
28922
28923 2006-02-28  Lillian Angel  <langel@redhat.com>
28924
28925         * javax/swing/text/DefaultFormatter.java
28926         (stringToValue): Added NPE check.
28927
28928 2006-02-28  Roman Kennke  <kennke@aicas.com>
28929
28930         PR classpath/25675
28931         * javax/swing/JList.java
28932         (getPreferredScrollableViewportSize): Restored specified behaviour.
28933         * javax/swing/plaf/metal/MetalFileChooserUI.java
28934         (createList): Set filelist panel's preferredSize, so that it doesn't
28935         get size into infinity for big lists.
28936
28937 2006-02-28  Lillian Angel  <langel@redhat.com>
28938
28939         * javax/swing/ViewportLayout.java
28940         (layoutContainer): Should not extend container to be 
28941         minimum size. Mauve test shows that the preferred size
28942         and the size of the viewport can be set smaller than
28943         the minimum.
28944
28945 2006-02-28  Lillian Angel  <langel@redhat.com>
28946
28947         PR classpath/25675
28948         * javax/swing/JList.java
28949         (getPreferredScrollableViewportSize): Added a check to determine
28950         if orientation is VERTICAL_WRAP. If it is, we should only 
28951         show 3 columns. 
28952
28953 2006-02-28  Lillian Angel  <langel@redhat.com>
28954
28955         PR classpath/26003
28956         * javax/swing/ViewportLayout.java:
28957         Patch submitted by Audrius Meskauskas
28958         (addLayoutComponent): Added documentation.
28959         (removeLayoutComponent): Likewise.
28960         (preferredLayoutSize): Likewise.
28961         (minimumLayoutSize): Likewise.
28962         (layoutContainer): Fixed code, so view is set
28963         to the right position when inside a scrollpane. 
28964
28965 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
28966
28967         * java/math/BigInteger.java:
28968         Committed patch by Rafael: 
28969         developer.classpath.org/pipermail/classpath-patches/
28970         2006-February/000473.html
28971         (signum): Return early 0 if words == null and ival == 0.
28972         (readObject): Handle special case of magnitude.length or signum being
28973         0.
28974         (writeObject): If signum is zero return a zero-sized byte[].
28975
28976 2006-02-28  Lillian Angel  <langel@redhat.com>
28977
28978         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
28979         (create): Initially set the directory to the current working directory.
28980         (setDirectory): Removed else-if. No need for this check.
28981
28982 2006-02-28  Tom Tromey  <tromey@redhat.com>
28983
28984         * .project: Run java builder before header generation.
28985
28986 2006-02-28  Tom Tromey  <tromey@redhat.com>
28987
28988         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
28989         Javadoc fix.
28990         * gnu/java/util/prefs/EventDispatcher.java: New file.
28991         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
28992         (NodeWriter): Specify UTF-8.
28993         (writeHeader): Emit DOCTYPE.
28994         * java/util/prefs/Preferences.java (getFactory): Add cause to
28995         exception.
28996         (exportNode): Documented.
28997         (exportSubtree): Likewise.
28998         (importPreferences): Likewise.
28999         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29000         (writeObject): Likewise.
29001         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29002         (writeObject): Likewise.
29003         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29004         (nodeListeners): New field.
29005         (preferenceListeners): Likewise.
29006         (addNodeChangeListener): Implemented.
29007         (addPreferenceChangeListener): Likewise.
29008         (removeNodeChangeListener): Likewise.
29009         (removePreferenceChangeListener): Likewise.
29010         (fire): New methods.
29011         (put): Fire event.
29012         (remove): Likewise.
29013         (purge): Likewise.  Fixed synchronization.
29014         (removeNode): Fixed synchronization.
29015         (getNode): Fire event.
29016         (flushNode): Fixed synchronization.
29017
29018 2006-02-28  Roman Kennke  <kennke@aicas.com>
29019
29020         * javax/swing/text/BranchElement.java
29021         (startOffset): New field.
29022         (endOffset): New field.
29023         (BranchElement): Initialize new fields.
29024         (getEndOffset): Rewritten to possibly return cached values
29025         if element has no children.
29026         (getStartOffset): Rewritten to possibly return cached values
29027         if element has no children.
29028         * javax/swing/text/LeafElement.java
29029         (startDelta): New field.
29030         (endDelta): New field.
29031         (LeafElement): Handle possible delta of start/endOffset when
29032         these parameters lie outside the document range.
29033         (getStartOffset): Handle possible startDelta.
29034         (getEndOffset): Handle possible startDelta.
29035
29036 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29037
29038         * NEWS: Added line about Unicode 4.0.0 support.
29039
29040 2006-02-28  Roman Kennke  <kennke@aicas.com>
29041
29042         * javax/swing/SwingUtilities.java
29043         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29044
29045 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29046
29047         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29048
29049 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29050
29051         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29052         Amended class documentation.
29053         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29054         STRING.
29055         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29056         a BIT STRING construct.
29057         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29058         documentation.
29059         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29060         STRING.
29061         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29062         a BIT STRING construct.
29063         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29064         (engineVerify): Added logging.
29065
29066 2006-02-28  Roman Kennke  <kennke@aicas.com>
29067
29068         * java/awt/Component.java
29069         (dispatchEventImpl): Let the Toolkit dispatch global events.
29070         * java/awt/Container.java
29071         (dispatchEventImpl): Let the LightweightDispatcher handle events
29072         first.
29073         * java/awt/EventQueue.java
29074         (dispatchEvent): Don't do the global event dispatching here. This
29075         is moved to the Component.
29076         (globalDispatchEvent): Moved this method to Toolkit.
29077         * java/awt/LightweightDispatcher.java
29078         (instances): New field.
29079         (getInstance): New method. Delivers an instance of
29080         LightweightDispatcher.
29081         (LightweightDispatcher): Made default constructor private.
29082         (dispatchEvent): New method. Replaces the eventDispatched method.
29083         This now returns true when the event was actually dispatched.
29084         (eventDispatched): Replaced by dispatchEvent.
29085         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29086         received the last MOUSE_RELEASED.
29087         * java/awt/Toolkit.java
29088         (Toolkit): Don't register LightweightDispatcher as global event
29089         handler.
29090         (globalDispatchEvent): Moved here from EventQueue.
29091
29092 2006-02-27  David Daney  <ddaney@avtrex.com>
29093
29094         PR classpath/25851
29095         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29096         up.
29097         (getRequestProperties): Rewrote.
29098
29099 2006-02-27  David Daney  <ddaney@avtrex.com>
29100
29101         PR classpath/26312
29102         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29103         up.
29104         (ChunkedInputStream): Extend InputStream.
29105         (in): New field.
29106         (headers): Moved to top of class.
29107         (constructor): Save referenct to in.
29108         (read(byte[])): Removed method.
29109         (read(byte[], int, int)): Made synchronized and throw IOException
29110         on error parsing chunk header.
29111         (available): New method.
29112         (close): New method.
29113
29114 2006-02-27  David Daney  <ddaney@avtrex.com>
29115
29116         * gnu/java/net/protocol/http/HTTPURLConnection.java
29117         (imports): Cleaned up.
29118         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29119         (constructor): ... Here, using SystemProperties instead of System.
29120         
29121 2006-02-27  Lillian Angel  <langel@redhat.com>
29122
29123         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29124         (setDirectory): GtkFileChooser requires an absolute directory
29125         name. Added a check to make the directory passed to nativeSetDirectory
29126         is absolute.
29127
29128 2006-02-27  Roman Kennke  <kennke@aicas.com>
29129
29130         * javax/swing/SwingUtilities.java
29131         (computeIntersection): Changed to store result in rect, instead of
29132         creating new Rectangle instances. Fixed API docs accordingly.
29133         (computeUnion): Changed to store result in rect, instead of
29134         creating new Rectangle instances. Fixed API docs accordingly.
29135
29136 2006-02-27  Roman Kennke  <kennke@aicas.com>
29137
29138         * javax/swing/JViewport.java
29139         (static_init): Changed default scrollmode to BLIT.
29140         (paintSimple): Added some clipping to avoid painting problems.
29141         (paintBlit): Added some clipping to avoid painting problems.
29142
29143 2006-02-27  Roman Kennke  <kennke@aicas.com>
29144
29145         * javax/swing/JComponent.java
29146         (rectCache): Made field static to save memory.
29147         (getVisibleRect): Don't use rectCache and create new Rectangle
29148         instance instead.
29149         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29150         (repaint(long,int,int,int,int)): Directly call
29151         RepaintManager.addDirtyRegion(). The visibleRect check is now
29152         performed in the RepaintManager.
29153
29154 2006-02-27  Roman Kennke  <kennke@aicas.com>
29155
29156         * javax/swing/RepaintManager.java
29157         (currentRepaintManagers): Made field private.
29158         (rectCache): New field.
29159         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29160         component. Changed Rectangle handling to avoid unnecessary new
29161         Rectangle instances.
29162         (getOffscreenBuffer): Create buffer with size of the root window.
29163         Respect the maximum buffer size here.
29164         (commitBuffer): Align the regions so that they are inside the buffer
29165         image and inside the clip. This avoids problems with a bug in GTKImage.
29166         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29167
29168 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29169
29170         * native/fdlibm/e_acos.c,
29171         * native/fdlibm/e_asin.c,
29172         * native/fdlibm/e_atan2.c,
29173         * native/fdlibm/e_cosh.c,
29174         * native/fdlibm/e_exp.c,
29175         * native/fdlibm/e_fmod.c,
29176         * native/fdlibm/e_hypot.c,
29177         * native/fdlibm/e_log.c,
29178         * native/fdlibm/e_log10.c,
29179         * native/fdlibm/e_rem_pio2.c,
29180         * native/fdlibm/e_remainder.c,
29181         * native/fdlibm/e_sinh.c,
29182         * native/fdlibm/e_sqrt.c,
29183         * native/fdlibm/k_cos.c,
29184         * native/fdlibm/k_sin.c,
29185         * native/fdlibm/k_tan.c,
29186         * native/fdlibm/s_atan.c,
29187         * native/fdlibm/s_cbrt.c,
29188         * native/fdlibm/s_ceil.c,
29189         * native/fdlibm/s_copysign.c,
29190         * native/fdlibm/s_cos.c,
29191         * native/fdlibm/s_expm1.c,
29192         * native/fdlibm/s_fabs.c,
29193         * native/fdlibm/s_finite.c,
29194         * native/fdlibm/s_floor.c,
29195         * native/fdlibm/s_log1p.c,
29196         * native/fdlibm/s_rint.c,
29197         * native/fdlibm/s_scalbn.c,
29198         * native/fdlibm/s_sin.c,
29199         * native/fdlibm/s_tan.c,
29200         * native/fdlibm/s_tanh.c:
29201         Fixed to call our macros rather than __HI and __LO.
29202         * native/fdlibm/fdlibm.h:
29203         Reintroduced previous extraction code.
29204         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29205         (GET_HIGH_WORD(i,d)): Readded.
29206         (GET_LOW_WORD(i,d)): Readded.
29207         (INSERT_WORDS(d,ix0,ix1)): Readded.
29208         (SET_HIGH_WORD(d,i)): Readded.
29209         (SET_LOW_WORD(d,i)): Readded.
29210         * native/jni/gtk-peer/gthread-jni.c:
29211         Use Glib macros to convert integers/pointers portably.
29212         
29213 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29214
29215         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29216         as the fallback SPI.
29217         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29218         ones referencing GNU-CRYPTO classes.
29219         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29220         (engineValidate): Use GNU-CRYPTO class.
29221         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29222         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29223         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29224         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29225         * gnu/java/security/provider/DSAParameters: Likewise.
29226         * gnu/java/security/provider/DSASignature: Likewise.
29227         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29228         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29229         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29230         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29231         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29232         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29233         * gnu/java/security/provider/MD2withRSA: Likewise.
29234         * gnu/java/security/provider/MD4withRSA: Likewise.
29235         * gnu/java/security/provider/MD5: Likewise.
29236         * gnu/java/security/provider/MD5withRSA: Likewise.
29237         * gnu/java/security/provider/RSA: Likewise.
29238         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29239         * gnu/java/security/provider/SHA: Likewise.
29240         * gnu/java/security/provider/SHA1PRNG: Likewise.
29241         * gnu/java/security/provider/SHA1withRSA: Likewise.
29242         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29243
29244 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29245
29246         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29247         (engineGeneratePublic): Added logging.
29248         (engineGeneratePrivate): Likewise.
29249         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29250         (encodePublicKey): Added logging.
29251         Clarified in method documentation that params is optional, but is
29252         always NULL if present.
29253         (decodePublicKey): Added logging.
29254         Handle optional NULL element.
29255
29256 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29257
29258         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29259
29260 2006-03-03  Tom Tromey  <tromey@redhat.com>
29261
29262         * java/awt/MenuBar.java (shortcuts): Genericized.
29263
29264 2006-03-03  Tom Tromey  <tromey@redhat.com>
29265
29266         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29267         Genericized.
29268         (getListenerType): Likewise.
29269         * java/beans/Introspector.java (getBeanInfo): Genericized.
29270         * java/beans/DefaultPersistenceDelegate.java (initialize):
29271         Genericized.
29272
29273 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29274
29275         * java/math/BigDecimal.java:
29276         (precision): Fixed overflow problem with large numbers.
29277         (longValueExact): New method.
29278         (intValueExact): Likewise.
29279         (byteValueExact): Likewise.
29280         (shortValueExact): Likewise.
29281
29282 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29283
29284         * java/math/BigDecimal.java:
29285         (remainder(BigDecimal)): New method.
29286         (divideAndRemainder(BigDecimal)): Likewise.
29287         (divideToIntegralValue(BigDecimal)): Likewise.
29288         (floor): New implementation method.
29289
29290 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29291
29292         * java/math/BigDecimal.java:
29293         (divide(BigDecimal, int, RoundingMode)): New method.
29294         (divide(BigDecimal, RoundingMode)): Likewise.
29295         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29296         when the new scale is < 0.
29297         (setScale(int, RoundingMode)): New method.
29298         (ulp): Likewise.
29299
29300 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29301
29302         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29303         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29304         (add(BigDecimal, MathContext)): New method.
29305         (subtract(BigDecimal, MathContext)): Likewise.
29306         (precision): Fixed to correctly handle BigIntegers with more than 19
29307         digits.
29308         (pow(int, MathContext)): New method.
29309
29310 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29311
29312         * java/math/BigDecimal.java: Added @throws clause to constructors.
29313         (mathContext): Removed this unneeded field.
29314         (BigDecimal(int, MathContext)): New constructor.
29315         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29316         (multiply(BigDecimal, MathContext)): New method.
29317         (negate(MathContext)): Likewise.
29318         (plus(MathContext)): Likewise.
29319         (numDigitsInLong): Fixed to properly handle negatives.
29320         
29321 2006-02-25  Chris Burdess  <dog@gnu.org>
29322   
29323         * gnu/java/net/CRLFInputStream.java,
29324           gnu/java/net/LineInputStream.java: Streams that use mark
29325           capabilities on the underlying stream do not expose mark
29326           functionality themselves.
29327         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29328           off > 0.
29329
29330 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29331
29332         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29333         option flags passed to match methods.
29334         (MF_FIND_ALL): New flag.
29335         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29336         do not try other possibilties once a match is found.
29337         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29338         so that all possibilities can be found.
29339         (match): Rewritten using new methods matchMinimum and _match.
29340         (_match): New method which performs a depth-first recursive search.
29341         (matchMinimum): New method.
29342         (initVisited), (visitedContains), (addVisited): New methods for
29343         manipulating an array of icharacter positions which _match has
29344         already visited.
29345
29346 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29347
29348         * java/math/BigDecimal.java:
29349         (BigDecimal(long, MathContext)): New constructor.
29350         (BigDecimal(BigInteger, MathContext)): Likewise.
29351         (BigDecimal(String, MathContext)): Likewise.
29352         (BigDecimal(double, MathContext)): Likewise.
29353         (round): Fixed a typo where the precision field was used instead of a
29354         call to the precision method, and also store the new precision in the
29355         returned BigDecimal.
29356         (abs(MathContext)): New method.
29357
29358 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29359
29360         * java/math/BigDecimal.java
29361         (toBigInteger): Fixed problem where this method couldn't handle 
29362         negative values for scale.
29363         (toBigIntegerExact): New method.
29364         (stripTrailingZeros): Likewise.
29365
29366 2006-02-24  David Daney  <ddaney@avtrex.com>
29367
29368         PR classpath/26082
29369         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29370         type Pool.
29371         (Pool): New inner class.
29372         (timeLastUsed): New field.
29373         (setPool): Changed parameter type to Pool.
29374         (release): Moved pool management logic to new class Pool.
29375         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29376         Removed.
29377         (maxConnections) : Removed.
29378         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29379         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29380   
29381 2006-02-24  Lillian Angel  <langel@redhat.com>
29382   
29383         * java/awt/Container.java:
29384         Added new field. True if Container has been cleared and
29385         heavyweights need to be repainted.
29386         (paint): Fixed comment. Fixed to use backCleared and 
29387         reset backCleared.
29388         (update): Set backCleared to true after the background
29389         of the container has been cleared.
29390   
29391 2006-02-24  Lillian Angel  <langel@redhat.com>
29392   
29393         * java/awt/TextField.java
29394         (addNotify): Added call to super.
29395   
29396 2006-02-24  Lillian Angel  <langel@redhat.com>
29397   
29398         * java/awt/Component.java
29399         (reshape): Reverted last patch. Should have check here.
29400         (addNotify): Added check. If parent is lightweight, then
29401         initialize listener on the parent.
29402         (HeavyweightInLightweightListener): New class.
29403   
29404 2006-02-24  Roman Kennke  <kennke@aicas.com>
29405   
29406         * javax/swing/plaf/basic/BasicComboPopup.java
29407         (show): Register the popup with the autocloser after it has been
29408         opened completely, by putting the registration on the eventqueue.
29409   
29410 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29411   
29412         * gnu/java/security/prng/BasePRNG.java:
29413         (clone()): Added cast of buffer to byte[].
29414         * gnu/javax/crypto/mac/TMMH16.java:
29415         (clone()): Fixed casting of cloned arrays.
29416         * native/fdlibm/fdlibm.h:
29417         Added missing defines from old fdlibm.h needed by Darwin.
29418         (GET_FLOAT_WORD(i,d)): Re-added.
29419         (SET_FLOAT_WORD(d,i)): Re-added.
29420         
29421 2006-02-24  Roman Kennke  <kennke@aicas.com>
29422   
29423         * java/awt/Container.java:
29424         (dispatcher): Removed field.
29425         (dispatchEventImpl): Removed lightweight dispatching.
29426         (addNotifyContainerChildren): Removed LightweightDispatcher
29427         handling.
29428         (LightweightDispatcher): Removed class.
29429         * java/awt/LightweightDispatcher.java: New class.
29430         * java/awt/Toolkit.java
29431         (Toolkit): Install LightweightDispatcher in global listener
29432         array.
29433   
29434 2006-02-24  Chris Burdess  <dog@gnu.org>
29435   
29436         Fixes PR 26324
29437         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29438           off > 0.
29439   
29440 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29441   
29442         * NEWS: Mentions the VMMath runtime changes.
29443         * doc/vmintegration.texinfo: Updated to include
29444         VMMath.
29445   
29446 2006-02-24  Roman Kennke  <kennke@aicas.com>
29447   
29448         * javax/swing/plaf/basic/BasicLookAndFeel.java
29449         (PopupHelper.autoClosePopups): New field.
29450         (PopupHelper.mousePressed): Also autoclose any registered popups.
29451         (PopupHelper.registerForAutoClose): New method.
29452         (PopupHelper.autoClosePopups): New method.
29453         (popupHelper): Changed type of field to PopupHelper.
29454         (registerForAutoClose): New method.
29455         * javax/swing/plaf/basic/BasicComboPopup.java
29456         (show): Register this popup for autoclosing.
29457   
29458 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29459   
29460         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29461         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29462         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29463   
29464 2006-02-24  Roman Kennke  <kennke@aicas.com>
29465   
29466         Reported by Ingo Proetel <proetel@aicas.com>
29467         * java/util/logging/LogManager.java
29468         (addLogger): Search the parent loggers for log level
29469         configuration and inherit that.
29470         (readConfiguration): Provide minimal default configuration
29471         if no configuration can be found otherwise.
29472
29473 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29474
29475         * java/math/BigDecimal.java:
29476         (toString): Fixed a problem where the negative sign was being displayed
29477         twice in the exponent.
29478         (toEngineeringString): New method.
29479         (toPlainString): Likewise.
29480         (pow): Likewise.
29481
29482 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29483
29484         * java/math/BigDecimal.java:
29485         (toString): Rewrote this method to behave as specified.  Added API
29486         comments to explain behaviour.
29487         (scaleByPowerOfTen): New method.
29488
29489 2006-02-23  Roman Kennke  <kennke@aicas.com>
29490   
29491         * javax/swing/JRootPane.java
29492         (isOptimizedDrawingEnabled): Implemented to return true
29493         when the glassPane is not visible.
29494   
29495 2006-02-23  Roman Kennke  <kennke@aicas.com>
29496   
29497         * javax/swing/plaf/basic/BasicLookAndFeel.java
29498         (PopupHelper): New inner class.
29499         (popupHelper): New field.
29500         (initialize): New method.
29501         (uninitialize): New method.
29502         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29503         (mouseInputListener): Removed field.
29504         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29505         handling of GlassPane.
29506         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29507         handling of GlassPane.
29508         (MouseInputHandler): Removed class.
29509
29510 2006-02-23  Roman Kennke  <kennke@aicas.com>
29511
29512         * java/awt/AWTEvent.java
29513         (eventIdToMask): New utility method.
29514         * java/awt/EventQueue.java
29515         (dispatchEvent): Also globally dispatch events via the toolkit.
29516         (globalDispatchEvent): New method.
29517         * java/awt/Toolkit.java
29518         (awtEventListeners): New field.
29519         (Toolkit()): Initialize new field.
29520         (createComponent): Create GLightweightPeer here.
29521         (addAWTEventListener): Implemented and documented.
29522         (removeAWTEventListener): Implemented and documented.
29523         (getAWTEventListeners): Implemented and documented both method
29524         variants.
29525         * java/awt/event/AWTEventListenerProxy.java
29526         (eventDispatched): Don't filter events here.
29527
29528 2006-02-23  Chris Burdess  <dog@gnu.org>
29529
29530         Fixes PR 26410
29531         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29532           gnu/xml/dom/JAXPFactory.java,
29533           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29534           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29535           implement DocumentBuilderFactory.get/setFeature methods.
29536
29537 2006-02-23  Lillian Angel  <langel@redhat.com>
29538
29539         * gnu/java/awt/peer/GLightweightPeer.java
29540         (repaint): Scott's proposed fix. Send repaint to the
29541         component's parent.
29542         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29543         (setBounds): Removed next_parent, not needed. Removed
29544         lightweightChild, we always need to compensate for the
29545         menu bar's height.
29546         * java/awt/Component.java
29547         (setBounds): Removed check. Caused lots of problems, because some
29548         components were not being invalidated. Components should be
29549         invalidated when they are resized or moved, and in some cases,
29550         when a parent is resized/moved, the components do not know
29551         about it and do not adjust.
29552         * java/awt/Graphics.java
29553         (hitClip): Scott's proposed fix. Added check to handle a 
29554         null clip.
29555   
29556 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29557   
29558         * javax/print/attribute/standard/MediaSize.java: 
29559         (media): Field renamed to mediaName for serialization.
29560         (MediaSize): Adapted to new fieldname.
29561         (getMediaSizeName): Likewise.
29562         * javax/print/attribute/HashAttributeSet.java: 
29563         (interfaceName): Field renamed to myInterface for serialization.
29564         (HashAttributeSet): Adapted to the new fieldname.
29565         (add): Likewise.
29566         (addAll): Likewise.
29567         (addInternal): Likewise.
29568         (attributeMap): Made transient.
29569         (readObject): New serialization method.
29570         (writeObject): Likewise.
29571         * javax/print/attribute/AttributeSetUtilities.java: 
29572         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29573         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29574         (SynchronizedAttributeSet.addAll): Likewise.
29575         (SynchronizedAttributeSet.clear): Likewise.
29576         (SynchronizedAttributeSet.containsKey): Likewise.
29577         (SynchronizedAttributeSet.containsValue): Likewise.     
29578         (SynchronizedAttributeSet.equals): Likewise.
29579         (SynchronizedAttributeSet.get): Likewise.
29580         (SynchronizedAttributeSet.hashCode): Likewise.  
29581         (SynchronizedAttributeSet.isEmpty): Likewise.
29582         (SynchronizedAttributeSet.remove): Likewise.    
29583         (SynchronizedAttributeSet.size): Likewise.      
29584         (SynchronizedAttributeSet.toArray): Likewise.   
29585         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29586         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29587         (UnmodifiableAttributeSet.addAll): Likewise.
29588         (UnmodifiableAttributeSet.clear): Likewise.
29589         (UnmodifiableAttributeSet.containsKey): Likewise.
29590         (UnmodifiableAttributeSet.containsValue): Likewise.     
29591         (UnmodifiableAttributeSet.equals): Likewise.
29592         (UnmodifiableAttributeSet.get): Likewise.
29593         (UnmodifiableAttributeSet.hashCode): Likewise.  
29594         (UnmodifiableAttributeSet.isEmpty): Likewise.
29595         (UnmodifiableAttributeSet.remove): Likewise.    
29596         (UnmodifiableAttributeSet.size): Likewise.      
29597         (UnmodifiableAttributeSet.toArray): Likewise.   
29598         * javax/print/attribute/standard/MediaPrintableArea.java: 
29599         (width): Field renamed to w for serialization.
29600         (height): Field renamed to h for serialization. 
29601         (MediaPrintableArea): Adapted to the new fieldnames.    
29602         (MediaPrintableArea): Likewise.
29603         (equals): Likewise.
29604         (hashCode): Likewise.
29605         (getHeight): Likewise.
29606         (getWidth): Likewise.
29607   
29608 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29609   
29610         * include/java_lang_VMMath.h:
29611         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29612         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29613         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29614         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29615         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29616         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29617         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29618         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29619         * java/lang/Math.java:
29620         (cbrt(double)): Implemented.
29621         (cosh(double)): Implemented.
29622         (expm1(double)): Implemented.
29623         (hypot(double,double)): Implemented.
29624         (log10(double)): Implemented.
29625         (log1p(double)): Implemented.
29626         (signum(double)): Implemented.
29627         (signum(float)): Implemented.
29628         (sinh(double)): Implemented.
29629         (tanh(double)): Implemented.
29630         * native/fdlibm/Makefile.am:
29631         Added new files from fdlibm 5.3.
29632         * native/fdlibm/e_acos.c,
29633         * native/fdlibm/e_asin.c,
29634         * native/fdlibm/e_atan2.c,
29635         * native/fdlibm/e_exp.c,
29636         * native/fdlibm/e_fmod.c,       
29637         * native/fdlibm/e_log.c,
29638         * native/fdlibm/e_rem_pio2.c,
29639         * native/fdlibm/e_remainder.c,
29640         * native/fdlibm/e_scalb.c,
29641         * native/fdlibm/e_sqrt.c,
29642         * native/fdlibm/k_cos.c,
29643         * native/fdlibm/k_rem_pio2.c,
29644         * native/fdlibm/k_sin.c,
29645         * native/fdlibm/k_tan.c,
29646         * native/fdlibm/s_atan.c,
29647         * native/fdlibm/s_ceil.c,
29648         * native/fdlibm/s_copysign.c,
29649         * native/fdlibm/s_cos.c,
29650         * native/fdlibm/s_fabs.c,
29651         * native/fdlibm/s_finite.c,
29652         * native/fdlibm/s_floor.c,
29653         * native/fdlibm/s_rint.c,
29654         * native/fdlibm/s_scalbn.c,
29655         * native/fdlibm/s_sin.c,
29656         * native/fdlibm/s_tan.c,
29657         * native/fdlibm/w_acos.c,
29658         * native/fdlibm/w_asin.c,
29659         * native/fdlibm/w_atan2.c,
29660         * native/fdlibm/w_acos.c,
29661         * native/fdlibm/w_exp.c,
29662         * native/fdlibm/w_fmod.c,
29663         * native/fdlibm/w_log.c,
29664         * native/fdlibm/w_pow.c,
29665         * native/fdlibm/w_remainder.c,
29666         * native/fdlibm/w_sqrt.c:
29667         Updated to fdlibm 5.3.
29668         * native/fdlibm/e_cosh.c,
29669         * native/fdlibm/e_hypot.c,
29670         * native/fdlibm/e_log10.c,
29671         * native/fdlibm/e_sinh.c,
29672         * native/fdlibm/s_cbrt.c,
29673         * native/fdlibm/s_expm1.c,
29674         * native/fdlibm/s_log1p.c,
29675         * native/fdlibm/s_tanh.c,
29676         * native/fdlibm/w_cosh.c,
29677         * native/fdlibm/w_hypot.c,
29678         * native/fdlibm/w_log10.c,
29679         * native/fdlibm/w_sinh.c:
29680         Imported from fdlibm 5.3.
29681         * native/fdlibm/fdlibm.h:
29682         Imported from fdlibm 5.3 with Classpath additions.
29683         * native/fdlibm/namespace.h:
29684         Updated from new math_symbols file.
29685         * native/jni/java-lang/java_lang_VMMath.c:
29686         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29687         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29688         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29689         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29690         Implemented.
29691         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29692         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29693         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29694         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29695         * scripts/math_symbols:
29696         Added tanh, expm1, log10 and log1p.
29697         * vm/reference/java/lang/VMMath.java:
29698         (cbrt(double)): Implemented.
29699         (cosh(double)): Implemented.
29700         (expm1(double)): Implemented.
29701         (hypot(double,double)): Implemented.
29702         (log10(double)): Implemented.
29703         (log1p(double)): Implemented.
29704         (sinh(double)): Implemented.
29705         (tanh(double)): Implemented.
29706         
29707 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29708
29709         * javax/print/DocFlavor.java: Added documentation all over.
29710         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29711         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29712         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29713         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29714         (URL.TEXT_HTML_HOST): Likewise.
29715         (URL.TEXT_PLAIN_HOST): Likewise.
29716         (hostEncoding): Initialize with host default charset encoding.
29717         (mediaSubtype): Made transient.
29718         (mediaType): Likewise.
29719         (params): Made transient. Changed type to TreeMap.
29720         (className): Removed, changed to myClassName.
29721         (myClassName): New field as defined in serialized form.
29722         (DocFlavor): Adapted to new variable types, names.
29723         (parseMimeType): Reimplemented.
29724         (getParameter): Search with lowercase name.
29725         (getRepresentationClassName): Adapted to changed variable name.
29726         (hashCode): Likewise.
29727         (toString): Reimplemented.
29728         (readObject): New method for serialization.
29729         (writeObject): Likewise.
29730   
29731 2006-02-23  Roman Kennke  <kennke@aicas.com>
29732   
29733         * javax/swing/RepaintManager.java
29734         (commitBuffer): Clip the repaint area with the current clip.
29735   
29736 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
29737   
29738         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29739         (DEFAULT_PRIME_SIZE): Made public.
29740         (DEFAULT_EXPONENT_SIZE): Likewise.
29741         (setup): Handle DHParameterSpec as well.
29742         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29743         defaultFormat instead of Raw.
29744         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29745         (checkIsConstructed): Removed.
29746         (checkIsBigInteger): Likewise.
29747         (decodePublicKey): Use DerUtil.
29748         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29749         (checkIsConstructed): Removed.
29750         (checkIsBigInteger): Likewise.
29751         (decodePrivateKey): Use DerUtil.
29752         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29753         KeyAgreement.DH.
29754         Added mappings for AlgorithmParameters.DH and
29755         AlgorithmParameterGenerator.DH.
29756         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29757         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29758         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29759         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29760         Return result.
29761         (engineGeneratePublic): Likewise.
29762         * gnu/java/security/util/DerUtil.java: New file.
29763         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29764         Include only valid RSA PKCS1 (v1.5) signature names.
29765         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29766         (RSAPKCS1V1_5SignatureX509Codec): Removed.
29767         (checkIsConstructed): Likewise.
29768         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29769         (checkIsConstructed): Removed.
29770         (checkIsBigInteger): Likewise.
29771         (decodeSignature): Use DerUtil.
29772         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29773         (checkIsConstructed): Removed.
29774         (checkIsBigInteger): Likewise.
29775         (decodePublicKey): Use DerUtil.
29776         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29777         (checkIsConstructed): Removed.
29778         (checkIsBigInteger): Likewise.
29779         (decodePrivateKey): Use DerUtil.
29780         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29781         (checkIsConstructed): Removed.
29782         (checkIsBigInteger): Likewise.
29783         (decodePublicKey): Use DerUtil.
29784         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29785         (checkIsConstructed): Removed.
29786         (checkIsBigInteger): Likewise.
29787         (decodePrivateKey): Use DerUtil.
29788         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29789         (DEFAULT_MODULUS_LENGTH): Made it public.
29790         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29791         defaultFormat instead of Raw.
29792         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29793         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29794         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29795         Return result.
29796         (engineGeneratePublic): Likewise.
29797         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
29798
29799 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
29800
29801         * java/math/BigDecimal.java:
29802         (BigDecimal(char[], int, int, MathContext)): New constructor.
29803         (BigDecimal(char[], MathContext)): Likewise.
29804         (BigDecimal(char[])): Likewise.
29805         (BigDecimal(char[], int, int)): Likewise.
29806         (BigDecimal(String)): Fixed handling of exponent and scale.
29807
29808 2006-02-22  Mark Wielaard  <mark@klomp.org>
29809
29810         * java/awt/Checkbox.java (setState): Check that state actually changed
29811         before calling peer.
29812         (dispatchEventImpl): Set new state if ItemEvent.
29813         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
29814         (create): Set currentState.
29815         (setState): Make synchronized, check and set currentState before
29816         calling gtkToggleButtonSetActive.
29817         (postItemEvent): Make synchronized, check and set currentState before
29818         posting ItemEvent.
29819         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
29820         (postItemEventID): Method now takes boolean.
29821         (item_toggled_cb): Likewise.
29822   
29823 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29824   
29825         * javax/swing/text/DefaultHighlighter.java:
29826         (changeHighlight): Added code to minimize the damaged area.
29827   
29828 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29829   
29830         * javax/swing/text/PlainView.java:
29831         (getPreferredSpan): Added missing 'break'.
29832         statement which corrects an unwanted fall through.
29833         (updateDamage): Update maxLineLength correctly when text is
29834         removed, call preferenceChanged accordingly.
29835         (viewToModel): Restrict line number to be within 0 and the
29836         number of elements-1.
29837   
29838 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29839   
29840         * javax/swing/text/Utilities.java:
29841         (getPositionAbove): Prefer first value by changing comparison
29842         from < to <=.
29843         (getPositionBelow): Dito.
29844   
29845 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
29846   
29847         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
29848         behavior when magic caret position is null.
29849   
29850 2006-02-22  Roman Kennke  <kennke@aicas.com>
29851   
29852         * javax/swing/JTextField.java
29853         (isValidateRoot): New method.
29854   
29855 2006-02-22  Roman Kennke  <kennke@aicas.com>
29856   
29857         * javax/swing/JEditorPane.java
29858         (getPreferredSize): Rewritten to behave like the reference impl.
29859         (getScrollableTracksViewportWidth): Likewise.
29860         (getScrollableTracksViewportHeight): Likewise.
29861   
29862 2006-02-22  Roman Kennke  <kennke@aicas.com>
29863   
29864         * javax/swing/RepaintManager.java
29865         (addInvalidComponent): Also consider the component itself.
29866   
29867 2006-02-22  Mark Wielaard  <mark@klomp.org>
29868   
29869         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
29870         qualify AbstractDocument.AttributeContext.
29871         (blockOpen): Likewise.
29872   
29873 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29874
29875         * java/math/BigDecimal.java:
29876         (mathContext): New field.
29877         (precision): Likewise.
29878         (BigDecimal(int)): New constructor.
29879         (BigDecimal(long)): Likewise.
29880         (BigDecimal(BigInteger)): Added API docs.
29881         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
29882         and added API docs.
29883         (plus): New method.
29884         (round): Likewise.
29885         (precision): Likewise.
29886         (valueOf): Likewise.
29887         (numDigitsInLong): New implementation method.
29888
29889 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
29890
29891         * java/math/MathContext.java: New class.
29892         * java/math/RoundingMode: New Enum.
29893
29894 2006-02-21  Mark Wielaard  <mark@klomp.org>
29895   
29896         * java/awt/Component.java (translateEvent): Translate
29897         AdjustmentEvents to 1.0 Events.
29898         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
29899         Call setValue() before processing event.
29900         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
29901         whether we are currently changing and being called back from the
29902         Scrollbar component.
29903         (setBarValues): New native method.
29904         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
29905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
29906         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
29907         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
29908         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
29909   
29910 2006-02-21  Roman Kennke  <kennke@aicas.com>
29911   
29912         * javax/swing/text/View.java
29913         (setParent): Set child parent to null when disconnecting
29914         the view from the View hierarchy.
29915   
29916 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29917   
29918         * javax/print/StreamPrintService.java: Added and enhanced documentation.
29919   
29920 2006-02-21  Roman Kennke  <kennke@aicas.com>
29921   
29922         * javax/swing/text/WrappedPlainView.java
29923         (calculateBreakPosition): Changed to use the view's allocation instead
29924         of the container's preferredSize.
29925   
29926 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
29927   
29928         * java/awt/CardLayout.java:
29929         (first): Updated api documentation.
29930         (last): Likewise.
29931         (next): Likewise.
29932         (previous): Likewise.
29933         (show): Clarified api docs. Return if name is null. Throw
29934         IllegalArgumentException if layout of container is not this.
29935         (gotoComponent): Updated api documentation. Throw
29936         IllegalArgumentException if layout of container is not this.
29937   
29938 2006-02-21  Roman Kennke  <kennke@aicas.com>
29939   
29940         * javax/swing/text/NavigationFilter.java
29941         (getNextVisualPositionFrom): New method.
29942   
29943 2006-02-21  Roman Kennke  <kennke@aicas.com>
29944   
29945         * javax/swing/plaf/basic/BasicTextUI.java
29946         (RootView.setView): Call setParent() on the view with this as
29947         argument instead of null.
29948         (setView): Don't set root view's parent here.
29949   
29950 2006-02-21  Roman Kennke  <kennke@aicas.com>
29951   
29952         * javax/swing/text/AbstractDocument.java
29953         (AbstractElement.getAttribute): Use getResolveParent() to fetch
29954         the resolving parent.
29955         (AbstractElement.getResolveParent): Fixed to handle possible null
29956         parent.
29957         * javax/swing/text/BoxView.java
29958         (childReqs): New field.
29959         (paint): Added debugging code (commented out).
29960         (getPreferredSpan): Rewritten to use new update* methods.
29961         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
29962         for the minor axis and preferredSpan for the major axis.
29963         (getMinimumSpan): Rewritten to use new update* methods.
29964         (baselineRequirements): Rewritten to avoid creation of 
29965         unnecessary SizeRequirements objects.
29966         (baselineLayout): Rewritten to use new update* methods.
29967         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
29968         unnecessary SizeRequirements objects.
29969         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
29970         unnecessary SizeRequirements objects.
29971         (layout): Some robustness fixes for the layout. Turned AssertionErrors
29972         into warnings.
29973         (layoutMajorAxis): Rewritten to use new update* methods.
29974         (layoutMinorAxis): Rewritten to use new update* methods.
29975         (getChildRequirements): Replaced by the update* methods.
29976         (getAlignment): Use update* methods.
29977         (updateChildRequirements): New methods. Updates the child requirements
29978         if necessary.
29979         (updateRequirements): New methods. Updates the BoxView requirements
29980         if necessary.
29981         * javax/swing/text/DefaultStyledDocument.java
29982         (ElementBuffer.insert): Added warning for illegal replacement operation.
29983         * javax/swing/text/FlowView.java
29984         (layoutRow): When offset doesn't change, return -1.
29985         (LogicalView): Now subclasses BoxView.
29986         (loadChildren): Let the CompositeView.setParent() load the children
29987         of the logicalView.
29988         (calculateMinorRequirements): New overridden method.
29989         * javax/swing/text/GlyphView.java
29990         (DefaultGlyphPainter.paint): Fixed typo.
29991         (startOffset): Made field private.
29992         (endOffset): Made field private.
29993         (paint): Call getStartOffset() and getEndOffset() instead of the
29994         element methods.
29995         (isStrikeThrough): Fixed typo.
29996         (breakView): Use Utilities.getBreakLocation() to determine best
29997         break location.
29998         (changedUpdate): Call preferencedChange on this instead of parent.
29999         (removeUpdate): Call preferencedChange on this instead of parent.
30000         * javax/swing/text/ParagraphView.java
30001         (Row.getAlignment): For Y_AXIS, call super.
30002         (getAlignment): Likewise.
30003         * javax/swing/text/Utilities.java
30004         (getBreakLocation): Set Segment object directly on the BreakIterator.
30005         * javax/swing/text/html/HTML.java
30006         (Attribute): Made class non-serializable and final as specified.
30007         (Attribute(String)): Made constructor private.
30008         (Attribute.compareTo): Removed.
30009         (Attribute.equals): Removed.
30010         (Attribute.hashCode): Removed.
30011         (Tag): Made class non-comparable and non-serializable as specified.
30012         (Tag.compareTo): Removed.
30013         (Tag.equals): Removed.
30014         (Tag.hashCode): Removed.
30015         * javax/swing/text/html/HTMLDocument.java
30016         (HTMLReader.blockOpen): Add tag as name attribute to element.
30017         * javax/swing/text/html/HTMLEditorKit.java
30018         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30019         fallback.
30020         * javax/swing/text/html/InlineView.java
30021         (setPropertiesFromAttributes): Call super.
30022         * javax/swing/text/html/NullView.java: New class.
30023   
30024 2006-02-21  Roman Kennke  <kennke@aicas.com>
30025   
30026         PR classpath/26368
30027         * javax/swing/text/GapContent.java
30028         (GapContentPosition): Made class private.
30029         (InsertUndo): Made class private.
30030         (UndoRemove): Made class private.
30031         (WeakPositionComparator): New inner class.
30032         (positions): Made field private.
30033         (createPosition): Clear up GC'ed positions before creating
30034         a new one. Store position as WeakReference.
30035         (getPositionsInRange): Changed to handle WeakReference
30036         positions.
30037         (setPositionsInRange): Changed to handle WeakReference
30038         positions.
30039         (adjustPositionsInRange): Changed to handle WeakReference
30040         positions.
30041         (dumpPositions): Handle WeakReference positions.
30042         (clearPositionReferences): New method.
30043   
30044 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30045   
30046         * javax/swing/plaf/basic/BasicTextUI.java:
30047         (paint): Remove unneccessary part of the if-expression.
30048         (damageRange): Added case where the range spans multiple lines.
30049         * javax/swing/text/DefaultCaret.java:
30050         (clearHighlight): New method.
30051         (handleHighlight): Removed unneccessary part of the if-expression.
30052         (setDot): Use clearHighlight method.
30053         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30054         of Vector.
30055         (paint): Prevented calling size() on every loop iteration, fixed
30056         calculation of allocation area bounds.
30057         (getHighlights): Implemented.
30058         (removeHighlight): Mark damaged area in textcomponent.
30059         (addHighlight): Mark damaged area in textcomponent.
30060         (changeHighlight): Mark damaged area in textcomponent.
30061         (DefaultHighlighter.HighlightEntry): Made it a real
30062         Highlighter.Highlight implementation.
30063         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30064         calculations.
30065
30066 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30067
30068         * java/util/zip/ZipConstants.java
30069         (LOCSIG): Change type to long.
30070         (EXTSIG): Likewise.
30071         (CENSIG): Likewise.
30072         (ENDSIG): Likewise.
30073         * java/util/zip/ZipOutputStream.java
30074         (writeLeInt(long)): New method.
30075   
30076 2006-02-21  Michael Koch  <konqueror@gmx.de>
30077   
30078         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30079   
30080 2006-02-20  Mark Wielaard  <mark@klomp.org>
30081   
30082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30083         (begin_drawing_operation): Output stacktrace and return on bad cairo
30084         status.
30085         (end_drawing_operation): Likewise. And reset cairo_t.
30086   
30087 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30088   
30089         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30090         in backward selection action.
30091   
30092 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30093   
30094         * java/lang/reflect/Proxy.java:
30095         (ProxyData.getProxyData): Skipped overriding of core methods.
30096         (ProxyData.isCoreObjectMethod): New method.
30097   
30098 2006-02-20  Mark Wielaard  <mark@klomp.org>
30099   
30100         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30101   
30102 2006-02-20  Roman Kennke  <kennke@aicas.com>
30103   
30104         * javax/swing/text/html/Option.java: New class.
30105   
30106 2006-02-20  Lillian Angel  <langel@redhat.com>
30107   
30108         * java/swt/Window.java
30109         (show): Calling show() on the owned windows caused problems.
30110         Changed back to get the peer and call setVisible.
30111   
30112 2006-02-20  Roman Kennke  <kennke@aicas.com>
30113   
30114         * javax/swing/plaf/basic/BasicTextUI.java
30115         (damageRange): Implemented this method.
30116   
30117 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30118   
30119         * javax/swing/text/GapContent.java:
30120         (shiftGapEndUp): Corrected new mark value.
30121         * javax/swing/text/AbstractDocument.java:
30122         (remove): Changed order of operations.
30123   
30124 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30125   
30126         * javax/swing/text/GapContent.java:
30127         (shiftGapEndUp): Reverted.
30128         * javax/swing/text/AbstractDocument.java:
30129         (remove): Reverted.
30130   
30131 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30132   
30133         * javax/swing/text/GapContent.java:
30134         (shiftGapEndUp): Corrected new mark value.
30135         * javax/swing/text/AbstractDocument.java:
30136         (remove): Changed order of operations.
30137   
30138 2006-02-20  Mark Wielaard  <mark@klomp.org>
30139   
30140         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30141         parent field.
30142         (insert): Likewise.
30143         (addNotify): Add the item after addNotifying it.
30144         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30145         there is a peer. Use getParent() and setParent() to manipulate parent
30146         field.
30147         (add(Menu)): Use getParent() and setParent() to manipulate parent
30148         field. Call addNotify() and addMenu() when there is a peer.
30149         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30150         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30151         when there is a peer.
30152         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30153         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30154         (setFont): Call setFont(Font).
30155         (setFont(Font)): Document. Only set font when not null.
30156         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30157         protected.
30158         (connectSignals): Likewise.
30159         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30160         connectSignals().
30161         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30162         protected.
30163         (postMenuActionEvent): Document.
30164         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30165         protected.
30166         (addItem): Document. Made private.
30167         (addTearOff): Made private.
30168         (connectSignals): New protected overridden method.
30169         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30170         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30171         (create): Document.
30172         (addMenu): Made private, take GtkMenuPeer as argument and document.
30173         (GtkMenuBarPeer): Document.
30174         (nativeSetHelpMenu): Removed.
30175         (addHelpMenu): Implement.
30176         (delMenu): Document.
30177         (addMenu): Implement.
30178         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30179         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30180         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30181         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30182         Removed.
30183   
30184 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30185   
30186         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30187         Expect that proxy interfaces may have different class loaders.
30188         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30189         * java/rmi/registry/Registry.java,
30190         * java/rmi/server/UnicastRemoteObject.java: 
30191         Documented about proxy stubs.
30192         * gnu/java/rmi/server/CombinedClassLoader.java,
30193         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30194         * NEWS: Added entry.
30195
30196 2006-02-19  Mark Wielaard  <mark@klomp.org>
30197
30198         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30199         Parent and Bounds of our children if either or parent is showing, or
30200         we are a Window and are showing ourselves now.
30201   
30202 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30203   
30204         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30205         New method.
30206         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30207         Another stub name fix.
30208   
30209 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30210   
30211         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30212         Call convertStubName. (convertStubName): New method.
30213         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30214         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30215         (convertStubName): New method.
30216         (getMethodHashCode): 
30217         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30218         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30219
30220 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30221
30222         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30223
30224 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30225
30226         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30227
30228 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30229
30230         * javax/swing/JViewport.java (paintBackingStore): If the component has
30231         not been scrolled, only repaint the buffer part, indicated by
30232         the parameter graphics clip. 
30233      
30234 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30235
30236         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30237         internal format.
30238         (writePrivateKey): Likewise.
30239         (writeKey): New method.
30240         (getKeyType): Likewise.
30241         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30242         internal format.
30243         (readPrivateKey): Likewise.
30244         (getKeyPairCodec): New method.
30245         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30246         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30247         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30248         (RSA_PSS_ENCODING): Likewise..
30249         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30250         (RSA_PSS_SIG): Redefined using other constants.
30251         (RSA_PKCS1_V1_5_SIG): Likewise.
30252         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30253         * gnu/java/security/util/FormatUtil.java: New file.
30254         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30255         (getInstance): Let RSASignatureFactory handle RSA signature names.
30256         (getNames): Handle new RSA signature (with format) names.
30257         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30258         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30259         for null md.
30260         (name): Include hash algorithm name.
30261         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30262         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30263         (RSAPSSSignature): Call constructor with IMessageDigest.
30264         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30265         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30266         file.
30267         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30268         Likewise.
30269         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30270         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30271         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30272         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30273         hash algorithm name to exception.
30274         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30275         * gnu/java/security/key/KeyPairCodecFactory.java
30276         (names): New class field.
30277         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30278         (getInstance(String,String)): New method.
30279         (getInstance(String,int)): New method.
30280         (getInstance(byte[])): Removed.
30281         (getInstance(Key)): Handle new formats.
30282         (getNames): Likewise.
30283         (getEncodingName(int)): Moved to FormatUtil.
30284         (getEncodingShortName(int)): Likewise.
30285         (getRawCodec(String)): New method.
30286         (getX509Codec(String)): Likewise.
30287         (getPKCS8Codec(String)): Likewise.
30288         (getRawCodec(Key)): Likewise.
30289         (getX509Codec(Key)): Likewise.
30290         (getPKCS8Codec(Key)): Likewise.
30291         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30292         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30293         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30294         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30295         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30296         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30297         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30298         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30299         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30300
30301 2006-02-18  Mark Wielaard  <mark@klomp.org>
30302
30303         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30304         DragSource.
30305         (NoDragGestureRecognizer): New static class.
30306         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30307         Toolkit doesn't support drag and drop.
30308
30309 2006-02-18  Mark Wielaard  <mark@klomp.org>
30310
30311         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30312         (AbstractAction(String)): Just call putValue() for NAME.
30313         (putValue): Nothing to do is old and new value are both null.
30314
30315 2006-02-18  Mark Wielaard  <mark@klomp.org>
30316
30317         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30318         through getContentPane().
30319         (preferredLayoutSize): Likewise.
30320
30321 2006-02-18  Mark Wielaard  <mark@klomp.org>
30322
30323         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30324         actually set before painting.
30325
30326 2006-02-18  Mark Wielaard  <mark@klomp.org>
30327
30328         * javax/swing/text/html/HTMLDocument.java (addContent):
30329         Fully qualify AbstractDocument.AttributeContext and
30330         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30331
30332 2006-02-18  Mark Wielaard  <mark@klomp.org>
30333
30334         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30335         (getRepresentationClassFromMime): Add exception cause to
30336         IllegalArgumentException.
30337   
30338 2006-02-17  Lillian Angel  <langel@redhat.com>
30339   
30340         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30341         Removed unneeded import.
30342         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30343         Removed unneeded imports.
30344         * java/awt/BorderLayout.java:
30345         Fixed comment, this is not yet handled in the JDK 1.5.
30346         * java/awt/Container.java:
30347         Removed unneeded import.
30348   
30349 2006-02-17  Lillian Angel  <langel@redhat.com>
30350   
30351         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30352         (setBounds): Removed check. Coordinates should always be changed
30353         to incorporate the parent's coordinates.
30354         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30355         (setMenuBar): Added checks. Don't validate component if it has 
30356         not been validated yet, it will be validated later. Only validate
30357         if it has already been validated, in that case it needs to be
30358         revalidated.
30359         * java/awt/Window.java
30360         (show): Added check. If the window is visible, then bring it to the
30361         front. Otherwise, iterate through all its children windows and show them.
30362         No need to do both.
30363
30364 2006-02-17  Roman Kennke  <kennke@aicas.com>
30365
30366         * javax/swing/text/html/ParagraphView.java: New file.
30367
30368 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30369
30370         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30371         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30372         same location where was the initial text.
30373         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30374
30375 2006-02-17  Chris Burdess  <dog@gnu.org>
30376
30377         Fixes PRs 26319, 26320, 26321, 26322, 26325
30378         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30379           rethrowing exception.
30380         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30381           1.1-style prefix unbinding in 1.0 document" error for xmlns
30382           prefixes, not xmlns attributes. Fix a problem with empty namespace
30383           stack at the end of a document. Permit parameter entity references
30384           in element and attribute-list definition name area. Corrected
30385           normalisation of whitespace character entity references in CDATA
30386           attribute values. Fixed number of characters read following a
30387           reset when detecting end of character data with characters after a
30388           Unicode surrogate pair.
30389   
30390 2006-02-17  Roman Kennke  <kennke@aicas.com>
30391   
30392         * javax/swing/text/html/HTMLEditorKit.java
30393         (HTMLFactory.create): Create InlineView for content tags.
30394         * javax/swing/text/html/HTMLDocument.java
30395         (HTMLReader.flush): Call create() on first flush and insert
30396         on subsequent flushes.
30397   
30398 2006-02-17  Roman Kennke  <kennke@aicas.com>
30399   
30400         * javax/swing/text/AbstractDocument.java
30401         (BranchElement.getStartOffset): Implemented workaround for wrong
30402         NPE.
30403         (BranchElement.getEndOffset): Implemented workaround for wrong
30404         NPE.
30405         (ElementBuffer.split): Use createBranchElement() instead of
30406         new BranchElement().
30407         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30408         new BranchElement().
30409         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30410         instead of new BranchElement().
30411         (createDefaultRoot): Use createBranchElement() and createLeafElement
30412         instead of the constructors.
30413         (create): Rewritten.
30414   
30415 2006-02-17  Keith Seitz  <keiths@redhat.com>
30416   
30417         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30418         (SIZE): New constant.
30419         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30420         (executeIDsizes): Use SIZE constant.
30421         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30422         (SIZE): New constant.
30423
30424 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30425
30426         * javax/swing/JTable.java (IconCellRenderer): Set the component
30427         text to empty string. (createDefaultRenderers): Register
30428         IconCellRenderer also for ImageIcon. 
30429         (getCellEditor(int, int), getCellRenderer(int, int)):
30430         Use model index for data model and column index for column model.
30431         (getColumnClass): Convert to model index before requesting class
30432         from model. 
30433   
30434 2006-02-17  Roman Kennke  <kennke@aicas.com>
30435   
30436         * javax/swing/text/html/HTMLDocument.java
30437         (createDefaultRoot): Implemented.
30438         (createLeafElement): Implemented.
30439         (createBranchElement): Implemented.
30440         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30441         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30442         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30443         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30444         (HTMLReader.blockOpen): Add name attribute with the current tag.
30445         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30446   
30447 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30448   
30449         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30450         Rewritten.
30451         * javax/swing/table/JTableHeader.java: Documenting related methods.
30452   
30453 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30454   
30455         Fixes PR 25752
30456         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30457         (connect): Changed to use SystemProperties.
30458         (getInputStream): Try changeWorkingDirectory to figure out if
30459         url is a directory, if not use retrieve.
30460         (getOutputStream): Don't worry about directories, simply always
30461         try to do a store.
30462   
30463 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30464   
30465         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30466         (ActiveModeDTP): Mark accept thread as daemon.
30467   
30468 2006-02-17  Michael Koch  <konqueror@gmx.de>
30469   
30470         * tools/.cvsignore: Ignore tools.zip.
30471   
30472 2006-02-16  Keith Seitz  <keiths@redhat.com>
30473   
30474         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30475         Set the ID's reference.
30476         (<clinit>): Remove comments for field, method, and frame ID types,
30477         which will not be handled by VMIdManager.
30478   
30479 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30480   
30481         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30482         Use model index, not the column number.
30483         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30484         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30485         movement by painting draggingHeaderRect.
30486         * NEWS: Added entry about JTable columns. 
30487   
30488 2006-02-16  Keith Seitz  <keiths@redhat.com>
30489   
30490         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30491         default size of eight bytes.
30492         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30493         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30494         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30495         (executeIDsizes): Use new static methods.
30496         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30497         method.
30498         
30499 2006-02-16  David Daney  <ddaney@avtrex.com>
30500   
30501         PR classpath/26312
30502         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30503         return value with 0xff.
30504   
30505 2006-02-16  Keith Seitz  <keiths@redhat.com>
30506   
30507         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30508         (matches): Use Iterator instead of ListIterator.
30509   
30510 2006-02-16  Keith Seitz  <keiths@redhat.com>
30511   
30512         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30513         processor thread for easier debugging.
30514         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30515         main thread.
30516   
30517 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30518   
30519         * javax/swing/JTable.java 
30520         (TableColumnPropertyChangeHandler.propertyChange): Return without
30521         action if table header resizing column in not null. (doLayout):
30522         Only repaint the header if it is not null.      
30523         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30524         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30525         Rewritten. (MouseInputHandler.endResizing): New method.
30526   
30527 2006-02-16  Roman Kennke  <kennke@aicas.com>
30528   
30529         * javax/swing/text/html/InlineView.java: New file.
30530   
30531 2006-02-16  Roman Kennke  <kennke@aicas.com>
30532   
30533         * javax/swing/JTabbedPane.java
30534         (AccessibleJTable.getAccessibleChild): Implemented to return
30535         the Page instance for the specified index.
30536         (Page): Changed to implement Accessible and extend
30537         AccessibleContext.
30538         (Page.getAccessibleContext): New method.
30539         (Page.getAccessibleRole): New method.
30540         (Page.getAccessibleStateSet): New method.
30541         (Page.getAccessibleIndexInParent): New method.
30542         (Page.getAccessibleChildrenCount): New method.
30543         (Page.getAccessibleChild): New methdod.
30544         (Page.getLocale): New method.
30545   
30546 2006-02-16  Roman Kennke  <kennke@aicas.com>
30547   
30548         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30549         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30550         tabCount gets greater than tabRuns.length.
30551         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30552         when tabCount gets greater than tabRuns.length.
30553         (paintTabArea): Don't set tabCount == runCount.
30554   
30555 2006-02-16  Roman Kennke  <kennke@aicas.com>
30556   
30557         * javax/swing/plaf/basic/BasicTextUI.java
30558         (installUI): Moved installation of PropertyChangeListener
30559         to installListeners(). Call modelChanged() after everything is
30560         is installed.
30561         (installListeners): Install PropertyChangeListener here.
30562         (uninstallUI): Moved uninstallation of PropertyChangeListener
30563         to uninstallListeners.
30564         (uninstallListeners): Uninstall PropertyChangeListener here.
30565
30566 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30567
30568         * javax/swing/JTable.java (doLayout): 
30569         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30570         on exit.
30571         javax/swing/plaf/basic/BasicTableHeaderUI.java 
30572         (MouseInputHandler.mouseDragged): Do not repaint the header.
30573   
30574 2006-02-16  Roman Kennke  <kennke@aicas.com>
30575   
30576         * javax/swing/JViewport.java
30577         (static_initializer): Set default scrollMode to backingstore.
30578   
30579 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30580   
30581         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30582         returned by getCellRect. To not translate the component.
30583   
30584 2006-02-16  Roman Kennke  <kennke@aicas.com>
30585   
30586         * javax/swing/JComponent.java
30587         (rectCache): Made field non-static to avoid nasty interferences.
30588         (computeVisibleRect): Avoid creation of new Rectangles and double
30589         calculations on ints by using Swing.computeIntersection() instead
30590         of Rectangle2D.intersect().
30591         (repaint): Interect the dirty region with the visible rectangle
30592         of this component to avoid unnecessary painting.
30593   
30594 2006-02-16  Gary Benson  <gbenson@redhat.com>
30595   
30596         * java/lang/Thread.java (stop): Add a missing access check.
30597   
30598 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
30599   
30600         * javax/swing/text/JTextComponent.java:
30601         (replaceSelection): Added code to update the magic caret position.
30602         * javax/swing/text/DefaultEditorKit.java: Added code to update
30603         the magic caret position of the text component in all relevant
30604         movement actions, make use of the magic caret position in up
30605         and down movements and selections, simplified some actions
30606         (code-wise).
30607
30608 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
30609
30610         * gnu/java/lang/CharData.java: Regenerated from 
30611         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30612         and scripts/unicode-muncher.pl.
30613         * java/lang/Character.java: 
30614         (PrivateUseCharacters): New private static class.
30615         (UnassignedCharacters): Likewise.
30616         (blocks): Changed from char[] to char[][] to reflect the changes in 
30617         gnu/java/lang/CharData.  There is now one char[] per Unicode code
30618         plane.
30619         (data): Likewise.
30620         (numValue): Likewise.
30621         (upper): Likewise.
30622         (lower): Likewise.
30623         (direction): Likewise.
30624         (readChar): Replaced this method with new method readCodePoint.
30625         (readCodePoint): New method.
30626         (isLowerCase(char)): Redirected to new isLowerCase(int).
30627         (isLowerCase(int)): New method.
30628         (isUpperCase(char)): Redirected to new isUpperCase(int).
30629         (isUpperCase(int)): New method.
30630         (isTitleCase(char)): Redirected to new isTitleCase(int).
30631         (isTitleCase(int)): New method.
30632         (isDigit(char)): Redirected to new isDigit(int).
30633         (isDigit(int)): New method.
30634         (isDefined(char)): Redirected to new isDefined(int).
30635         (isDefined(int)): New method.
30636         (isLetter(char)): Redirected to new isLetter(int).
30637         (isLetter(int)): New method.
30638         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30639         (isLetterOrDigit(int)): New method.
30640         (isJavaIdentifierStart(char)): Redirected to new 
30641         isJavaIdentifierStart(int).
30642         (isJavaIdentifierStart(int)): New method.
30643         (isJavaIdentifierPart(char)): Redirected to new 
30644         isJavaIdentifierPart(int).
30645         (isJavaIdentifierPart(int)): New method.
30646         (isUnicodeIdentifierStart(char)): Redirected to new
30647         isUnicodeIdentifierStart(int).
30648         (isUnicodeIdentifierStart(int)): New method.
30649         (isUnicodeIdentifierPart(char)): Redirected to new 
30650         isUnicodeIdentifierPart(int).
30651         (isUnicodeIdentifierPart(int)): New method.
30652         (isIdentifierIgnorable(char)): Redirected to new
30653         isIdentifierIgnorable(int).
30654         (isIdentifierIgnorable(int)): New method.
30655         (toLowerCase(char)): Changed access to lower to correspond with new
30656         char[][] type of lower.
30657         (toLowerCase(int)) New method.
30658         (toUpperCase(char)): Changed access to upper to correspond with new
30659         char[][] type of upper.
30660         (toUpperCase(int)): New method.
30661         (toTitleCase(int)): New method.
30662         (digit(char, int)): Replaced call to readChar with call to 
30663         readCodePoint and changed access to numValue to reflect new char[][]
30664         type of numValue. 
30665         (digit(int, int)): New method.
30666         (getNumericValue(char)): Changed access to numValue to reflect new
30667         char[][] type of numValue.
30668         (getNumericValue(int)): New method.
30669         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30670         (isSpaceChar(int)): New method.
30671         (isWhitespace(char)): Redirected to new isWhitespace(int).
30672         (isWhitespace(int)): New method.
30673         (isISOControl(char)): Redirected to new isISOControl(int).
30674         (isISOControl(int)): New method.
30675         (getType(char)): Redirected to new getType(int).
30676         (getType(int)): New method.
30677         (getDirectionality(char)): Redirected to new getDirectionality(int).
30678         (getDirectionality(int)): New method.
30679         (isMirrored(char)): Changed call to readChar to readCodePoint.
30680         (isMirrored(int)): New method.
30681         * java/lang/String.java:
30682         (upperCaseExpansion): Changed access to Character.direction to reflect
30683         new char[][] type of direction.
30684         (offsetByCodePoints): New method.
30685         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
30686         4.0.0 which introduced supplementary character assignments.  
30687
30688 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30689
30690         * javax/swing/JTable.java,
30691         javax/swing/plaf/basic/BasicTableHeaderUI.java,
30692         javax/swing/table/DefaultTableModel.java: Documented.
30693   
30694 2006-02-15  Lillian Angel  <langel@redhat.com>
30695   
30696         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30697         Removed duplicate methods.
30698   
30699 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30700   
30701         * javax/swing/JTable.java (distributeSpillResizing): New method.
30702         (doLayout): Use distributeSpillResizing when resizing.
30703         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30704         Rewritten. (installListeners): Add mouse motion listener. 
30705         (uninstallListeners): Remove mouse motion listener. 
30706   
30707 2006-02-15  Lillian Angel  <langel@redhat.com>
30708   
30709         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30710         (setVisible): Removed method.
30711         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30712         (setLocation): New method.
30713         (setLocationUnlocked): New method.
30714         (show): Changed to use setLocation instead of setBounds.
30715         * java/awt/Component.java
30716         (show): Should call peer.show(), not peer.setVisible(), so the
30717         location of the component is correctly set.
30718         (preferredSize): Added curly braces so else statements are
30719         properly associated with if's.
30720         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30721         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
30722         New function.
30723         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30724         LocationUnlocked): New function.
30725         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30726         Added declarations for Java_gnu_java_awt_peer_gtk_
30727         GtkWindowPeer_nativeSetLocation and 
30728         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30729         _nativeSetLocationUnlocked.
30730   
30731 2006-02-15  Mark Wielaard  <mark@klomp.org>
30732   
30733         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30734         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30735         Downcast gtk_plug_new result when used.
30736   
30737 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
30738   
30739         * java/io/ObjectOutputStream.java (writeClassDescriptor):
30740         Call assignNewHandle() after writing Proxy class.
30741   
30742 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
30743   
30744         Fixes bug #14144
30745         * java/io/ObjectInputStream.java (readClassDescriptor):
30746         Class doesn't have to be abstract for first_nonserial.
30747   
30748 2006-02-15  Roman Kennke  <kennke@aicas.com>
30749   
30750         * javax/swing/JInternalFrame.java
30751         (setClosed): Call dispose to actually make the frame invisible
30752         and unselected.
30753   
30754 2006-02-15  Roman Kennke  <kennke@aicas.com>
30755   
30756         * javax/swing/JInternalFrame.java
30757         (dispose): Call setVisible(false) instead of hide.
30758         (doDefaultCloseOperation): Likewise.
30759   
30760 2006-02-15  Roman Kennke  <kennke@aicas.com>
30761   
30762         * javax/swing/JComponent.java
30763         (paintChildren): Also check for the visibility of a child component
30764         to avoid artifacts.
30765         (repaint): Simply add this component to the RepaintManager rather than
30766         trying to do useless optimization here.
30767   
30768 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30769   
30770         * javax/swing/JSpinner.java
30771         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
30772         PropertyChangeListener,
30773         (DefaultEditor.getSpinner): Updated API docs,
30774         (DefaultEditor.dismiss): Likewise,
30775         (DefaultEditor.getTextField): Likewise,
30776         (DefaultEditor.layoutContainer): Likewise,
30777         (DefaultEditor.minimumLayoutSize): Likewise,
30778         (DefaultEditor.preferredLayoutSize): Likewise,
30779         (DefaultEditor.propertyChange): Implemented,
30780         (DefaultEditor.stateChanged): Implemented,
30781         (DefaultEditor.removeLayoutComponent): Updated API docs,
30782         (DefaultEditor.addLayoutComponent): Likewise,
30783         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30784         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30785         (NumberEditor.getFormat): Implemented,
30786         (NumberEditor.getModel): Updated API docs,
30787         (NumberEditorFormatter): New static inner class,
30788         (ListEditor.getModel): Updated API docs,
30789         (DateEditor.dateFormat): Removed,
30790         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30791         (DateEditor.DateEditor(JSpinner, String)): Likewise,
30792         (DateEditor.init): Removed,
30793         (DateEditor.getFormat): Reimplemented,
30794         (DateEditorFormatter): New static inner class,
30795         (ModelListener): New inner class,
30796         (model): Updated API docs,
30797         (editor): Likewise,
30798         (listener): Removed,
30799         (JSpinner()): Updated API docs,
30800         (JSpinner(SpinnerModel)): Set up ModelListener,
30801         (setEditor): Fire property change,
30802         (getModel): Updated API docs,
30803         (setModel): Removed check for null editor,
30804         (setValue): Updated API docs,
30805         (getUIClassID): Updated API docs,
30806         (createEditor): Handle SpinnerListModel case,
30807         * javax/swing/plaf/basic/BasicSpinnerUI.java
30808         (createUI): Updated API docs,
30809         (createPropertyChangeListener): Added FIXME,
30810         (installDefaults): Set text field border to null,
30811         (DefaultLayoutManager): Updated API docs,
30812         (DefaultLayoutManager.layoutContainer): Modified layout,
30813         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
30814         (DefaultLayoutManager.preferredLayoutSize): Likewise,
30815         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
30816         (DefaultLayoutManager.addLayoutComponent): Likewise,
30817         (DefaultLayoutManager.minSize): Renamed prefSize,
30818         (DefaultLayoutManager.setBounds): Reformatted,
30819         (DefaultLayoutManager.editor): Added API docs,
30820         (DefaultLayoutManager.next): Likewise,
30821         (DefaultLayoutManager.previous): Likewise,
30822         * javax/swing/plaf/metal/MetalLookAndFeel.java
30823         (initComponentDefaults): Added entry for 'Spinner.border',
30824         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
30825
30826 2006-02-15  Chris Burdess  <dog@gnu.org>
30827
30828         * gnu/xml/validation/datatype/BooleanType.java,
30829           gnu/xml/validation/datatype/ByteType.java,
30830           gnu/xml/validation/datatype/DateTimeType.java,
30831           gnu/xml/validation/datatype/DateType.java,
30832           gnu/xml/validation/datatype/DecimalType.java,
30833           gnu/xml/validation/datatype/DoubleType.java,
30834           gnu/xml/validation/datatype/DurationType.java,
30835           gnu/xml/validation/datatype/FloatType.java,
30836           gnu/xml/validation/datatype/GDayType.java,
30837           gnu/xml/validation/datatype/GMonthDayType.java,
30838           gnu/xml/validation/datatype/GMonthType.java,
30839           gnu/xml/validation/datatype/GYearMonthType.java,
30840           gnu/xml/validation/datatype/GYearType.java,
30841           gnu/xml/validation/datatype/IntType.java,
30842           gnu/xml/validation/datatype/IntegerType.java,
30843           gnu/xml/validation/datatype/LongType.java,
30844           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
30845           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
30846           gnu/xml/validation/datatype/MinExclusiveFacet.java,
30847           gnu/xml/validation/datatype/MinInclusiveFacet.java,
30848           gnu/xml/validation/datatype/NegativeIntegerType.java,
30849           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
30850           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
30851           gnu/xml/validation/datatype/PositiveIntegerType.java,
30852           gnu/xml/validation/datatype/ShortType.java,
30853           gnu/xml/validation/datatype/SimpleType.java,
30854           gnu/xml/validation/datatype/TimeType.java,
30855           gnu/xml/validation/datatype/TypeBuilder.java,
30856           gnu/xml/validation/datatype/UnsignedByteType.java,
30857           gnu/xml/validation/datatype/UnsignedIntType.java,
30858           gnu/xml/validation/datatype/UnsignedLongType.java,
30859           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
30860           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
30861           minInclusive facets use the value space of the base type, and
30862           implement.
30863
30864 2006-02-15  Mark Wielaard  <mark@klomp.org>
30865
30866         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30867         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30868         gtk_plug_new() returns a GtkWindow.
30869
30870 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30871
30872         * javax/swing/SpinnerNumberModel.java
30873         (getNextValue): Check for null maximum,
30874         (getPreviousValue): Check for null minimum.
30875   
30876 2006-02-15  Roman Kennke  <kennke@aicas.com>
30877   
30878         * javax/swing/plaf/basic/BasicTableUI.java
30879         (paint): Paint vertical and horizontal lines one pixel shifted
30880         left/top.
30881   
30882 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
30883   
30884         * java/util/zip/ZipFile.java
30885         (checkZipFile): Inlined readLeInt and rewritten for robustness.
30886         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
30887         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
30888         (readEntries): Rewritten to use PartialInputStream.
30889         (locBuf, checkLocalHeader): Removed.
30890         (getInputStream): Rewritten to use new PartialInputStream.
30891         (PartialInputStream): Rewritten to do buffering.
30892
30893 2006-02-15  Michael Koch  <konqueror@gmx.de>
30894
30895         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30896         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30897         Make sure the embedded window gets no decorations.
30898         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30899         (window_get_frame_extents): Return early of the window has no
30900         decorations.
30901   
30902 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30903   
30904         * examples/gnu/classpath/examples/swing/TableDemo.java
30905         (TModel, createContent): Explain which value appears in the header.
30906         * javax/swing/JTable.java (setColumnModel): Only set the
30907         column header value if the getHeaderValue() returns null.
30908
30909 2006-02-14  Mark Wielaard  <mark@klomp.org>
30910
30911         Fixes bug #23931
30912         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
30913         (getErrorImage): New static method.
30914         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
30915         (bufferedImageOrError): Renamed to ...
30916         (imageOrError): Renamed from bufferedImageOrError, takes Image.
30917         Returns GtkImage.getErrorImage() when argument null.
30918         (createImage(String)): Always use imageOrError.
30919         (createImage(URL)): Likewise.
30920         (createImage(ImageProducer)): Likewise.
30921         (createImage(byte[],int,int)): Likewise.
30922
30923 2006-02-14  Roman Kennke  <kennke@aicas.com>
30924
30925         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
30926         unneeded imports.
30927         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
30928         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
30929         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
30930         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
30931         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
30932
30933 2006-02-14  Roman Kennke  <kennke@aicas.com>
30934
30935         * javax/swing/text/AsyncBoxView.java
30936         (ChildState.locator): Removed wrong field.
30937         (ChildState): Removed initialization of removed field.
30938         (locator): Changed access modifier to be protected as specified.
30939
30940 2006-02-14  Roman Kennke  <kennke@aicas.com>
30941
30942         * javax/swing/ToolTipManager.java: Removed unneeded imports.
30943         * javax/swing/Timer.java: Some small reindention.
30944         (task): Made package private to avoid synthetic accessor method.
30945   
30946 2006-02-14  Roman Kennke  <kennke@aicas.com>
30947   
30948         * javax/swing/SwingUtilities.java
30949         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
30950         no icon.
30951   
30952 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30953   
30954         * examples/gnu/classpath/examples/swing/TableDemo.java:
30955         Making the columns variable width.
30956         * javax/swing/JTable.java (distributeSpill, doLayout):
30957           Call getPreferredSize and not getSize().
30958   
30959 2006-02-14  Roman Kennke  <kennke@aicas.com>
30960   
30961         * javax/swing/DefaultCellEditor.java
30962         (DefaultCellEditor): API doc fixlet.
30963   
30964 2006-02-14  Roman Kennke  <kennke@aicas.com>
30965   
30966         * javax/swing/JViewport.java
30967         (isPaintRoot): New field.
30968         (repaint): Only call super here. Also added a comment regarding
30969         the diversion from the JDK.
30970         (paintBlit): Implemented real blitting.
30971         (paintImmediately2): New method. Overrides the same package private
30972         method in JComponent.
30973   
30974 2006-02-14  Roman Kennke  <kennke@aicas.com>
30975   
30976         * javax/swing/plaf/basic/BasicTableUI.java
30977         (paint): Check for boundary cases when determining the painting
30978         area.
30979   
30980 2006-02-14  Mark Wielaard  <mark@klomp.org>
30981   
30982         * java/awt/Menu.java (add): Always set parent of item to this. Call
30983         addNotify() on item when we have a MenuPeer already.
30984         (insert): Always adjust parent for item. Call addNotify() on item if
30985         we already have a peer.
30986         (remove(int)): Always clear item parent. Call removeNotify() on item
30987         if we had a peer.
30988   
30989 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30990   
30991         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
30992         row == getRowCount().
30993   
30994 2006-02-14  Lillian Angel  <langel@redhat.com>
30995         
30996         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30997         (setVisible): New method to override super. Need to set the
30998         native bounds of the component, so it appears at the
30999         correct location.
31000
31001 2006-02-14  Mark Wielaard  <mark@klomp.org>
31002
31003         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31004         (remove): If menu component is the current MenuBar remove it,
31005         otherwise call super.remove().
31006         * java/awt/MenuBar.java (frame): Remove field.
31007         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31008
31009 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31010
31011         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31012         to NameServicePersistent.
31013         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31014         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31015
31016 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31017
31018         * NEWS: Updated tool status.
31019         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31020         (constructor, bind, rebind): Rewritten.  
31021         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31022         * tools/gnu/classpath/tools/giop/README: Updated.
31023         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31024         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31025         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31026         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31027         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31028         New files.
31029   
31030 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31031   
31032         * javax/swing/JComponent.java
31033         (getListeners): Check for PropertyChangeListener.class and delegate to 
31034         getPropertyChangeListeners() for that case.
31035   
31036 2006-02-13  Roman Kennke  <kennke@aicas.com>
31037   
31038         * javax/swing/plaf/basic/BasicTableUI.java
31039         (paint): Determine the cells that need painting based on the
31040         current clip. Use getCellRect() for calculating the cell
31041         bounds.
31042   
31043 2006-02-13  Roman Kennke  <kennke@aicas.com>
31044   
31045         * javax/swing/JTable.java
31046         (rectCache): New field.
31047         (getCellRect): Returns cached Rectangle instance.
31048   
31049 2006-02-13  Roman Kennke  <kennke@aicas.com>
31050   
31051         * javax/swing/JLayeredPane.java
31052         (removeAll): New method. Avoid potential memory leak.
31053         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31054         calculation.
31055   
31056 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31057   
31058         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31059         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31060   
31061 2006-02-13  Tom Tromey  <tromey@redhat.com>
31062   
31063         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31064         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31065   
31066 2006-02-13  Roman Kennke  <kennke@aicas.com>
31067   
31068         * javax/swing/RepaintManager.java
31069         (offscreenBuffers): New field.
31070         (doubleBuffer): Removed field.
31071         (repaintUnderway): New field.
31072         (commitRequests): New field.
31073         (RepaintManager): Initialize new fields.
31074         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31075         buffers when done.
31076         (getOffscreenBuffer): Returns the offscreen buffer for the
31077         corresponding root component.
31078         (commitBuffer): New method.
31079         (commitRemainingBuffers): New method.
31080         * javax/swing/JComponent.java
31081         (paint): Call paintDoubleBuffered with the current clip.
31082         (paintImmediately2): Don't paint on screen here.
31083         (paintDoubleBuffered): Rewritten for real double buffering.
31084         (paintSimple): Draw to screen in this method.
31085   
31086 2006-02-13  Roman Kennke  <kennke@aicas.com>
31087   
31088         * javax/swing/JRootPane.java
31089         (JRootPane): Set opaque property to true.
31090   
31091 2006-02-13  Tom Tromey  <tromey@redhat.com>
31092   
31093         * .classpath: Updated for external/relaxngDatatype.
31094   
31095 2006-02-13  Chris Burdess  <dog@gnu.org>
31096   
31097         * gnu/xml/stream/UnicodeReader.java,
31098           gnu/xml/validation/datatype/Annotation.java,
31099           gnu/xml/validation/datatype/AnySimpleType.java,
31100           gnu/xml/validation/datatype/AnyType.java,
31101           gnu/xml/validation/datatype/AnyURIType.java,
31102           gnu/xml/validation/datatype/AtomicSimpleType.java,
31103           gnu/xml/validation/datatype/Base64BinaryType.java,
31104           gnu/xml/validation/datatype/BooleanType.java,
31105           gnu/xml/validation/datatype/ByteType.java,
31106           gnu/xml/validation/datatype/DateTimeType.java,
31107           gnu/xml/validation/datatype/DateType.java,
31108           gnu/xml/validation/datatype/DecimalType.java,
31109           gnu/xml/validation/datatype/DoubleType.java,
31110           gnu/xml/validation/datatype/DurationType.java,
31111           gnu/xml/validation/datatype/EntitiesType.java,
31112           gnu/xml/validation/datatype/EntityType.java,
31113           gnu/xml/validation/datatype/EnumerationFacet.java,
31114           gnu/xml/validation/datatype/Facet.java,
31115           gnu/xml/validation/datatype/FloatType.java,
31116           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31117           gnu/xml/validation/datatype/GDayType.java,
31118           gnu/xml/validation/datatype/GMonthDayType.java,
31119           gnu/xml/validation/datatype/GMonthType.java,
31120           gnu/xml/validation/datatype/GYearMonthType.java,
31121           gnu/xml/validation/datatype/GYearType.java,
31122           gnu/xml/validation/datatype/HexBinaryType.java,
31123           gnu/xml/validation/datatype/IDRefType.java,
31124           gnu/xml/validation/datatype/IDRefsType.java,
31125           gnu/xml/validation/datatype/IDType.java,
31126           gnu/xml/validation/datatype/IntType.java,
31127           gnu/xml/validation/datatype/IntegerType.java,
31128           gnu/xml/validation/datatype/LanguageType.java,
31129           gnu/xml/validation/datatype/LengthFacet.java,
31130           gnu/xml/validation/datatype/ListSimpleType.java,
31131           gnu/xml/validation/datatype/LongType.java,
31132           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31133           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31134           gnu/xml/validation/datatype/MaxLengthFacet.java,
31135           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31136           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31137           gnu/xml/validation/datatype/MinLengthFacet.java,
31138           gnu/xml/validation/datatype/NCNameType.java,
31139           gnu/xml/validation/datatype/NMTokenType.java,
31140           gnu/xml/validation/datatype/NMTokensType.java,
31141           gnu/xml/validation/datatype/NameType.java,
31142           gnu/xml/validation/datatype/NegativeIntegerType.java,
31143           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31144           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31145           gnu/xml/validation/datatype/NormalizedStringType.java,
31146           gnu/xml/validation/datatype/NotationType.java,
31147           gnu/xml/validation/datatype/PatternFacet.java,
31148           gnu/xml/validation/datatype/PositiveIntegerType.java,
31149           gnu/xml/validation/datatype/QNameType.java,
31150           gnu/xml/validation/datatype/ShortType.java,
31151           gnu/xml/validation/datatype/SimpleType.java,
31152           gnu/xml/validation/datatype/StringType.java,
31153           gnu/xml/validation/datatype/TimeType.java,
31154           gnu/xml/validation/datatype/TokenType.java,
31155           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31156           gnu/xml/validation/datatype/Type.java,
31157           gnu/xml/validation/datatype/TypeBuilder.java,
31158           gnu/xml/validation/datatype/TypeLibrary.java,
31159           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31160           gnu/xml/validation/datatype/UnionSimpleType.java,
31161           gnu/xml/validation/datatype/UnsignedByteType.java,
31162           gnu/xml/validation/datatype/UnsignedIntType.java,
31163           gnu/xml/validation/datatype/UnsignedLongType.java,
31164           gnu/xml/validation/datatype/UnsignedShortType.java,
31165           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31166           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31167           RELAX NG datatype library implementation for XML Schema Datatypes.
31168
31169 2006-02-13  Chris Burdess  <dog@gnu.org>
31170
31171         * LICENCE,
31172           NEWS,
31173           configure.ac,
31174           doc/README.jaxp,
31175           external/Makefile.am,
31176           external/relaxngDatatype/.cvsignore,
31177           external/relaxngDatatype/Makefile.am,
31178           external/relaxngDatatype/README.txt,
31179           external/relaxngDatatype/copying.txt,
31180           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31181           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31182           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31183           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31184           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31185           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31186           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31187           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31188           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31189           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31190           lib/Makefile.am,
31191           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31192           datatypes library API.
31193   
31194 2006-02-13  Mark Wielaard  <mark@klomp.org>
31195   
31196         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31197         final.
31198         (gtkWidgetModifyFont(Font)): New protected helper method.
31199         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31200         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31201         protected and document.
31202         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31203         Likewise.
31204         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31205         Likewise.
31206         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31207         Likewise.
31208         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31209         (setFont): Removed method. Done in GtkMenuComponent.
31210         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31211         abstract and protected.
31212         (setFont): Made private, add implementation.
31213         (setFont(Font)): Implemented.
31214         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31215         Made protected and document.
31216         (create): Made protected.
31217         (setFont): Removed method. Done in GtkMenuComponent.
31218         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31219         (gtkWidgetModifyFont): Made protected and document.
31220         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31221         Removed, similar to GtkGenericPeer super class implementation.
31222         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31223         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31224         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31225         Removed.
31226   
31227 2006-02-13  Mark Wielaard  <mark@klomp.org>
31228   
31229         * java/lang/Math.java (static): Explicitly call
31230         System.loadLibrary("javalang").
31231   
31232 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31233   
31234         * javax/print/StreamPrintServiceFactory.java: New file.
31235   
31236 2006-02-13  Tom Tromey  <tromey@redhat.com>
31237   
31238         * tools/.cvsignore: Added Makefile.
31239   
31240 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31241   
31242         * java/awt/print/PrinterGraphics.java: Reformatted.
31243         * java/awt/print/Paper.java: Likewise.
31244         * java/awt/print/PageFormat.java: Likewise.
31245         * java/awt/print/Pageable.java: Likewise.
31246   
31247 2006-02-13  Lillian Angel  <langel@redhat.com>
31248   
31249         * java/awt/BorderLayout.java
31250         (layoutContainer): Rewrote part of this function to 
31251         properly set the bounds of the components.
31252         (setBounds): Removed method, not needed.
31253   
31254 2006-02-13  Roman Kennke  <kennke@aicas.com>
31255   
31256         * javax/swing/text/DefaultStyledDocument.java
31257         (ElementBuffer.clone): Fixed replace call.
31258         (clone): Removed method.
31259   
31260 2006-02-13  Roman Kennke  <kennke@aicas.com>
31261   
31262         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31263   
31264 2006-02-13  Roman Kennke  <kennke@aicas.com>
31265   
31266         * java/rmi/server/UnicastRemoteObject.java
31267         (exportObject(Remote)): Forward method call to export(Remote,int).
31268   
31269 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31270   
31271         * include/Makefile.am:
31272         Swapped Math.h for VMMath.h
31273         * include/java_lang_Math.h:
31274         Removed.
31275         * include/java_lang_VMMath.h:
31276         New autogenerated header for the new class.
31277         * java/lang/Math.java:
31278         (sin(double)): Changed to link to VMMath.
31279         (cos(double)): Changed to link to VMMath.
31280         (tan(double)): Changed to link to VMMath.
31281         (asin(double)): Changed to link to VMMath.
31282         (acos(double)): Changed to link to VMMath.
31283         (atan(double)): Changed to link to VMMath.
31284         (atan2(double)): Changed to link to VMMath.
31285         (exp(double)): Changed to link to VMMath.
31286         (log(double)): Changed to link to VMMath.
31287         (sqrt(double)): Changed to link to VMMath.
31288         (pow(double,double)): Changed to link to VMMath.
31289         (IEEEremainder(double,double)): Changed to link to VMMath.
31290         (ceil(double)): Changed to link to VMMath.
31291         (floor(double)): Changed to link to VMMath.
31292         (rint(double)): Changed to link to VMMath.
31293         * native/jni/java-lang/Makefile.am:
31294         Replaced java_lang_Math.c with java_lang_VMMath.c
31295         * native/jni/java-lang/java_lang_Math.c:
31296         Removed.
31297         * native/jni/java-lang/java_lang_VMMath.c:
31298         Renamed from java_lang_Math.c.
31299         * vm/reference/java/lang/VMMath.java:
31300         New class.
31301         (sin(double)): New native method.
31302         (cos(double)): New native method.
31303         (tan(double)): New native method.
31304         (asin(double)): New native method.
31305         (acos(double)): New native method.
31306         (atan(double)): New native method.
31307         (atan2(double)): New native method.
31308         (exp(double)): New native method.
31309         (log(double)): New native method.
31310         (sqrt(double)): New native method.
31311         (pow(double,double)): New native method.
31312         (IEEEremainder(double,double)): New native method.
31313         (ceil(double)): New native method.
31314         (floor(double)): New native method.
31315         (rint(double)): New native method.
31316         
31317 2006-02-13  Lillian Angel  <langel@redhat.com>
31318   
31319         * java/awt/Component.java
31320         (repaint): No need to call isShowing, it is done in the other repaint call.
31321         (repaint): Likewise.
31322         (repaint): Likewise.
31323   
31324 2006-02-13  Lillian Angel  <langel@redhat.com>
31325   
31326         * java/awt/Component.java
31327         (repaint): Reverted last change.
31328         (repaint): Likewise.
31329         (repaint): Likewise.
31330
31331 2006-02-13  Lillian Angel  <langel@redhat.com>
31332
31333         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31334         (handleEvent): Made more efficent by handling paint event and
31335         setting the clip for the graphics.
31336         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31337         (handleEvent): Likewise.
31338         * java/awt/Component.java
31339         (repaint): No need to call isShowing, it is done in the other repaint call.
31340         (repaint): Likewise.
31341         (repaint): Likewise.
31342   
31343 2006-02-13  Roman Kennke  <kennke@aicas.com>
31344   
31345         * javax/swing/text/AbstractDocument.java
31346         (setParent): Added API docs. Call setParent(null) on children before
31347         disconnecting this view from the View hierarchy.
31348   
31349 2006-02-13  Roman Kennke  <kennke@aicas.com>
31350   
31351         * javax/swing/text/AbstractDocument.java
31352         (readUnlock): Don't attempt to unlock when the current threads also
31353         holds a write lock.
31354   
31355 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31356   
31357         * javax/swing/plaf/metal/MetalBorders.java
31358         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31359         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31360         insets argument,
31361         (Flush3DBorder.borderInsets): New field,
31362         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31363         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31364         null insets argument, and populate result from borderInsets,
31365         (PaletteBorder.borderInsets): New field,
31366         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31367         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31368         null insets argument, and populate result from borderInsets,
31369         (InternalFrameBorder.borderInsets): New field,
31370         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31371         directly,
31372         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31373         for null insets argument, and populate result from borderInsets,
31374         (MenuItemBorder.borderInsets): Initialise to correct value.
31375
31376 2006-02-13  Roman Kennke  <kennke@aicas.com>
31377
31378         * javax/swing/text/AsyncBoxView.java: New file.
31379
31380 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31381
31382         Fixes bug #26166
31383         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31384         was moved to a new method parseCharClass.
31385         (parseCharClass): New method originally in initialize. Added parsing
31386         of nested character classes.
31387         (ParseCharClassResult): New inner class used as a return value of
31388         parseCharClass.
31389         (getCharExpression),(getNamedProperty): Made static.
31390         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31391         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31392         nested character classes.
31393         (RETokenOneOf): New constructor accepting the Vector addition.
31394         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31395         stands for only one character.
31396         (match): Added the processing of the Vector addition.
31397         (matchN), (matchP): Do not check next token if addition is used.
31398   
31399 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31400   
31401         * AUTHORS: add self.
31402   
31403 2006-02-12  Tom Tromey  <tromey@redhat.com>
31404   
31405         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31406         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31407         (securityContext): Likewise.
31408         (log): Likewise.
31409   
31410 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31411   
31412         Fixes PR 26218.
31413   
31414         * gnu/java/net/protocol/file/Connection.java (unquote):
31415         Convert Unicode characters outside basic plane to UTF-8,
31416         rather than throwing an exception.
31417   
31418 2006-02-12  Tom Tromey  <tromey@redhat.com>
31419   
31420         * javax/sound/sampled/LineEvent.java (readObject): New method.
31421         (writeObject): Likewise.
31422         (serialVersionUID): New field.
31423   
31424 2006-02-12  Mark Wielaard  <mark@klomp.org>
31425   
31426         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31427         Silently ignores null listener.
31428         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31429         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31430         array for null propertyName.
31431
31432 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31433
31434         * java/rmi/MarshalledObject.java: Added api docs to the class.
31435         * java/rmi/Remote.java: Added interface api docs.
31436         * java/rmi/package.html: Added package description.
31437         * java/rmi/AccessException.java: Minor api doc fixes.
31438         * java/rmi/NoSuchObjectException.java: Likewise.
31439         * java/rmi/AlreadyBoundException.java: Likewise.
31440         * java/rmi/RemoteException.java: Likewise.
31441         * java/rmi/NotBoundException.java: Likewise.
31442         * java/rmi/RMISecurityException.java: Likewise.
31443         * java/rmi/StubNotFoundException.java: Likewise.        
31444
31445 2006-02-12  Mark Wielaard  <mark@klomp.org>
31446
31447         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31448         q() to get EventQueue.
31449         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31450         (enableQueue): Remove static method.
31451         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31452         Don't call GtkGenericPeer.enableQueue().
31453
31454 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31455
31456         * java/rmi/MarshalledObject.java: Reformatted.
31457         * java/rmi/Naming.java: Likewise.       
31458
31459 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31460
31461         * java/io/InputStream.java
31462         (read(byte[],int,int)): Changed argument validation to prevent
31463         integer overflow. Remove redundant check.
31464   
31465 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31466   
31467         Fixes PR 26220
31468         * java/io/InputStreamReader.java
31469         (InputStreamReader(InputStream)): Use SystemProperties.
31470         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31471         Throw NullPointerException if in is null.
31472         Added maxBytesPerChar initialisation.
31473         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31474         Throw NullPointerException if in is null.
31475
31476 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31477
31478         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31479         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31480         (GnuDHPublicKey): New constructor.
31481         (getEncoded): Removed.
31482         (valueOf): Added support for ASN.1 encoding.
31483         (getEncoded(int)): Likewise.
31484         (equals): New method.
31485         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31486         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31487         (GnuDHPrivateKey(5)): New constructor.
31488         (getEncoded): Removed.
31489         (valueOf): Added support for ASN.1 encoding.
31490         (getEncoded(int)): Likewise.
31491         (equals): New method.
31492         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31493         (PREFERRED_ENCODING_FORMAT): New constant.
31494         (DEFAULT_ENCODING_FORMAT): Likewise.
31495         (preferredFormat): New field.
31496         (setup): Handle preferred encoding format identifier.
31497         (generate): Call constructors with format identifier.
31498         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31499         (GnuDHKey): Added an int argument.
31500         (getEncoded): New method.
31501         (getFormat): New implementation.
31502         (getEncoded(int)): New abstract method.
31503         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31504         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31505         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31506         key-pair generator and key-factory.
31507         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31508         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31509         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31510         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31511         (invokeConstructor): New method.
31512         (getConcreteClass): Likewise.
31513         (getConcreteCtor): Likewise.
31514         (invokeValueOf): Likewise.
31515         (getValueOfMethod): Likewise.
31516         (engineGeneratePublic): Add support for DH keys.
31517         (engineGeneratePrivate): Likewise.
31518         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31519         (decodeDHPublicKey(byte[])): Likewise.
31520         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31521         (decodeDHPrivateKey(byte[])): Likewise.
31522
31523 2006-02-11  Mark Wielaard  <mark@klomp.org>
31524
31525         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31526         Removed field.
31527         (repaint): Immediately post to queue when tm <= 0, otherwise call
31528         RepaintTimerTask.schedule().
31529         (RepaintTimerTask): Make static.
31530         (RepaintTimerTask.repaintTimer): New static final field.
31531         (RepaintTimerTask.awtComponent): New field.
31532         (schedule): New static method.
31533
31534 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31535
31536         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31537         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31538         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31539         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31540         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31541         Rewritten.
31542         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31543   
31544 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31545   
31546         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31547         (engineGeneratePublic): Added support for raw key-specifications.
31548         (engineGeneratePrivate): Likewise.
31549         (decodeDSSPublicKey): New method.
31550         (decodeRSAPublicKey): Likewise.
31551         (decodeDSSPrivateKey): Likewise.
31552         (decodeRSAPrivateKey): Likewise.
31553         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31554         (encodePrivateKey): Throw InvalidParameterException.
31555         (decodePublicKey): Likewise.
31556         (decodePrivateKey): Likewise.
31557         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31558         (encodePublicKey): Likewise.
31559         (encodePrivateKey): Likewise.
31560         (decodePublicKey): Likewise.
31561         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31562         (encodePrivateKey): Likewise.
31563         (decodePublicKey): Likewise.
31564         (decodePrivateKey): Likewise.
31565         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31566         (encodePublicKey): Likewise.
31567         (encodePrivateKey): Likewise.
31568         (decodePublicKey): Likewise.
31569   
31570 2006-02-10  Roman Kennke  <kennke@aicas.com>
31571   
31572         * javax/swing/text/StyleContext.java
31573         (registerStaticAttributeKey): New static method.
31574   
31575 2006-02-10  Roman Kennke  <kennke@aicas.com>
31576   
31577         * javax/swing/text/DefaultStyledDocument.java
31578         (ElementBuffer.clone): New method.
31579   
31580 2006-02-10  Roman Kennke  <kennke@aicas.com>
31581   
31582         * javax/swing/text/ParagraphView.java
31583         (findOffsetToCharactersInString): New method.
31584         (getClosestPositionTo): New method.
31585         (getPartialSize): New method.
31586         (getTabBase): New method.
31587         (adjustRow): New method.
31588         (breakView): New method.
31589         (getBreakWeight): New method.
31590   
31591 2006-02-10  Roman Kennke  <kennke@aicas.com>
31592   
31593         * javax/swing/text/GapContent.java
31594         (updateUndoPositions): New method.
31595         * javax/swing/text/StringContent.java
31596         (updateUndoPositions): New method.
31597   
31598 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
31599   
31600         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31601         Made it public.
31602         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31603         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31604         Added support for encoded key specifications.
31605         (engineGeneratePrivate): Likewise.
31606         (engineGetKeySpec): Likewise.
31607         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31608   
31609 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
31610   
31611         * javax/swing/text/Utilities.java:
31612         (getTabbedTextOffset): Fixed usage of variable p0.
31613         (getPositionAbove): Rewritten.
31614         (getPositionBelow): Rewritten.
31615   
31616 2006-02-09  Roman Kennke  <kennke@aicas.com>
31617   
31618         * javax/swing/text/BoxView.java
31619         (getAxis): Added @since tag.
31620         (setAxis): Added @since tag.
31621         (layoutChanged): Added @since tag.
31622         (isLayoutValid): Added @since tag.
31623         (paint): Don't call setSize here. This is done in RootView already.
31624         (getMaximumSpan): Reimplemented to return the requirements'
31625         maximum size. Added API docs.
31626         (getMinimumSpan): New method.
31627         (layout): Fixed layout order.
31628         (modelToView): Call layout instead of setSize here.
31629         (getResizeWeight): New method.
31630         (getChildAllocation): New method.
31631         (forwardUpdate): New method.
31632         (viewToModel): New method.
31633         (flipEastEndWestEnds): New method.
31634         * javax/swing/text/CompositeView.java
31635         (modelToView): Made this method more robust by returning a default
31636         location if it's not possible to calculate one via the children.
31637         This default location returns the left or right edge of this
31638         view.
31639         (createDefaultLocation): New helper method.
31640         * javax/swing/text/IconView.java
31641         (modelToView): Don't throw BadLocationException. This should
31642         really only be thrown if the position is outside the document
31643         model, not if it's outside the view's boundary.
31644   
31645 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31646   
31647         * tools/Makefile.am: Handle rmi and giop folders separately.
31648   
31649 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31650   
31651         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31652         * javax/swing/SpinnerNumberModel.java: Likewise.
31653   
31654 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31655   
31656         * javax/swing/SpinnerDateModel.java: Removed tabs,
31657         * javax/swing/SpinnerNumberModel.java: Likewise.
31658   
31659 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
31660   
31661         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31662         * doc/unicode/UnicodeData-4.0.0.txt: New file.
31663   
31664 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31665   
31666         Fixes bug #26081
31667         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
31668         (isRedirect): Removed, moved to Response.java.
31669         (connect): If error condition redirect responseSink to errorSink.
31670         (getInputStream): If error condition throw IOException, for the error
31671         codes 404 and 410 throw a FileNotFoundException.        
31672         * gnu/java/net/protocol/http/Response.java (isError): New method.
31673         (isRedirect): New method, moved from HTTPURLConnection.java.
31674   
31675 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31676   
31677         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31678         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31679         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
31680         Better diagnostic.
31681         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31682         Rewritten.
31683         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31684         AbstractMethodGenerator.
31685         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31686         tools/gnu/classpath/tools/rmi/RMIC.java,
31687         tools/gnu/classpath/tools/rmi/RMIC.txt,
31688         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31689         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31690         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31691         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31692         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31693         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
31694         New files.
31695         * NEWS: Corrected entry about the tools.
31696   
31697 2006-02-09  Lillian Angel  <langel@redhat.com>
31698   
31699         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31700         (handleEvent): Added more to check to prevent assertion errors.
31701         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31702         (handleEvent): Likewise.
31703         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31704         (handleEvent): Likewise.
31705   
31706 2006-02-09  Mark Wielaard  <mark@klomp.org>
31707   
31708         * javax/swing/JTable.java (tableChanged): Interpret null event as
31709         "everything changed".
31710   
31711 2006-02-09  Roman Kennke  <kennke@aicas.com>
31712   
31713         * javax/swing/text/DefaultCaret.java
31714         (DocumentHandler.removeUpdate): When update policy is
31715         'on eventqueue', and the update doesn't come from the
31716         event queue, check if the current dot location is still
31717         valid.
31718         (moveDot): Make sure the new dot location is valid.
31719         (setDot): Set the mark the same as the dot.
31720   
31721 2006-02-09  Roman Kennke  <kennke@aicas.com>
31722   
31723         * javax/swing/text/AbstractDocument.java
31724         (remove): Perform all operations within a write lock and in the
31725         correct order.
31726   
31727 2006-02-09  Mark Wielaard  <mark@klomp.org>
31728   
31729         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31730         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31731         creater than min, adjusting page_size if necessary.
31732         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31733   
31734 2006-02-09  Lillian Angel  <langel@redhat.com>
31735   
31736         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31737         (handleEvent): Added code to handle PaintEvent.UPDATE.
31738         Sun does not call update(Graphics g) on Panels.
31739         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31740         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31741         Sun does not call update(Graphics g) on Panels.
31742   
31743 2006-02-09  Roman Kennke  <kennke@aicas.com>
31744   
31745         * javax/swing/text/BoxView.java
31746         (myAxis): Made field private.
31747         (xLayoutValid): Replaced by layoutValid array.
31748         (yLayoutValid): Replaced by layoutValid array.
31749         (layoutValid): New field.
31750         (spansX): Replaced by spans array.
31751         (spansY): Replaced by spans array.
31752         (spans): New field.
31753         (offsetsX): Replaced by offsets array.
31754         (offsetsY): Replaced by offsets array.
31755         (offsets): New field.
31756         (requirements): New field.
31757         (BoxView): Initialize new fields.
31758         (layoutChanged): Rewritten to use the layoutValid array.
31759         (isLayoutValid): Rewritten to use the layoutValid array.
31760         (replace): Use the new arrays.
31761         (getPreferredSpan): Rewritten to call calculateXXXRequirements
31762         instead of baselineRequirements.
31763         (baselineRequirements): Rewritten to calculate baseline requirements.
31764         (baselineLayout): Rewritten to calculate baseline layout.
31765         (childAllocation): Use new arrays.
31766         (layout): Rewritten. Only update the layout if necessary.
31767         (layoutMajorAxis): Directly set layoutValid.
31768         (layoutMinorAxis): Directly set layoutValid. Use cached size
31769         requirements.
31770         (getWidth): Use new span array.
31771         (getHeight): Likewise.
31772         (setSize): Rewritten to simply call layout().
31773         (validateLayout): Removed unneeded method.
31774         (getSpan): Use new arrays.
31775         (getOffset): Use new arrays.
31776         (getAlignment): Use cached requirements if possible.
31777         (preferenceChanged): Use new arrays.
31778         * javax/swing/text/FlowView.java
31779         (FlowStrategy.insertUpdate): Do nothing here.
31780         (FlowStrategy.removeUpdate): Do nothing here.
31781         (FlowStrategy.changedUpdate): Do nothing here.
31782         (FlowStrategy.layoutRow): Rewritten.
31783         (FlowStrategy.createView): Rewritten.
31784         (FlowStrategy.adjustRow): New method.
31785         (LogicalView.getViewIndex): Fixed condition for finding child
31786         view.
31787         (layoutDirty): New field indicating the state of the layout.
31788         (FlowView): Initialize new field.
31789         (loadChildren): Set parent on logical view so that preferenceChanges
31790         get propagated upwards.
31791         (layout): Rewritten to match the specs.
31792         (insertUpdate): Set layout to dirty.
31793         (removeUpdate): Set layout to dirty.
31794         (changedUpdate): Set layout to dirty.
31795         * javax/swing/text/GlyphView.java
31796         (getBreakWeight): Rewritten to use the Utilities class. Commented
31797         out though because that is broken.
31798         (insertUpdate): Call preferenceChanged on this object instead of
31799         parent.
31800         * javax/swing/text/ParagraphView.java
31801         (Row.loadChildren): Overridden to be a noop to prevent initial
31802         creation of child views. This is carried out by the flow layout.
31803         * javax/swing/text/View.java
31804         (getPreferredSpan): Added API docs.
31805         (getResizeWeight): Added API docs.
31806         (getMaximumSpan): Added API docs. Rewritten to only have one exit
31807         point.
31808         (getMinimumSpan): Added API docs. Rewritten to return 0 when
31809         resizable instead of Integer.MAX_VALUE.
31810         (getAlignment): Added API docs.
31811         (replace): Added API docs.
31812         (forwardUpdate): Rewritten to only notify child views that need to
31813         be notified.
31814   
31815 2006-02-09  Roman Kennke  <kennke@aicas.com>
31816   
31817         * javax/swing/plaf/basic/BasicTextUI.java
31818         (RootView.paint): Call setSize() before painting the view.
31819   
31820 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31821   
31822         Fixes bug #26112
31823         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
31824         flag which enables backslash escape in a replacement.
31825         (getReplacement): New public static method. 
31826         (substituteImpl),(substituteAllImpl): Use getReplacement.
31827         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
31828         * java/util/regex/Matcher.java(appendReplacement)
31829         Use RE#getReplacement.
31830         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
31831
31832 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
31833
31834         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
31835         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
31836         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
31837         (PREFERRED_ENCODING_FORMAT): New constant.
31838         (DEFAULT_ENCODING_FORMAT): Likewise.
31839         (preferredFormat): New field.
31840         (setup): Add support for preferred encoding format.
31841         (generate): Call key constructors with explicit format identifier.
31842         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
31843         Call constructor with 3 arguments..
31844         (GnuRSAPublicKey(3)): New constructor.
31845         (valueOf): Added support for ASN.1 format.
31846         (getEncoded): Likewise.
31847         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
31848         Call constructor with 5 arguments.
31849         (GnuRSAPrivateKey(5)): New constructor.
31850         (GnuRSAPrivateKey(9)): New constructor.
31851         (valueOf): Added support for ASN.1 format.
31852         (getEncoded): Likewise.
31853         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
31854         (GnuRSAKey): Modified constructor.
31855         (getFormat): Return preferred format identifier.
31856         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31857         (decodePrivateKey): Fixed documentation.
31858         Check Version field.
31859         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
31860         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
31861         format.
31862         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
31863         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31864         (engineGeneratePublic): Added support for RSA.
31865         (engineGeneratePrivate): Likewise.
31866
31867 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31868
31869         * java/net/URLConnection.java:
31870         (setAllowUserInteraction): Throw IllegalStateException if connected.
31871         (getRequestProperty): Document return value if key is null.
31872         * gnu/java/net/protocol/http/HTTPURLConnection.java:
31873         (getRequestProperty): Return null if key is null.
31874         (getRequestProperties): Throw IllegalStateException if connected.
31875         (setRequestProperty): Call super method for exception tests.
31876         (addRequestProperty): Likewise.
31877   
31878 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31879   
31880         * gnu/java/net/protocol/http/Request.java:
31881         (Request): Remove initialization of removed field.
31882         (requestBodyNegotiationThreshold): Removed now unused field.
31883         (setRequestBodyNegotiationThreshold): Remove now unused method.
31884         (dispatch): Do not use 'Expect 100-continue' header if content-length
31885         is over a treshold. If user specified 'Expect 100-continue' still
31886         initialize the expectingContinue variable.
31887
31888 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31889
31890         * javax/swing/SpinnerNumberModel.java
31891         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
31892         maximum and minimum to take null values,
31893         (setValue): Only fire ChangeEvent if new value is different to old 
31894         value,
31895         (setMinimum): Fixed test for updating value,
31896         (setMaximum): Likewise,
31897         (setStepSize): Likewise.
31898   
31899 2006-02-08  Tom Tromey  <tromey@redhat.com>
31900   
31901         * tools/.cvsignore: Added Makefile.in.
31902   
31903 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31904   
31905         * java/rmi/server/RemoteRef.java,
31906         java/rmi/server/RemoteStub.java: Commented.
31907   
31908 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
31909   
31910         * javax/swing/SpinnerDateModel.java
31911         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
31912         checks,
31913         (getPreviousValue): Check result against start, not end,
31914         (setValue): Check that value actually changes before firing 
31915         ChangeEvent.
31916
31917 2006-02-08  Lillian Angel  <langel@redhat.com>
31918
31919         * java/awt/Choice.java
31920         (select): Fixed up code, added some checks to prevent errors.
31921         (dispatchEventImpl): Removed. This function is not needed. It 
31922         causes several assertion errors.
31923   
31924 2006-02-08  Roman Kennke  <kennke@aicas.com>
31925   
31926         * javax/swing/text/PlainView.java
31927         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
31928         drawing unnecessary characters.
31929   
31930 2006-02-08  Lillian Angel  <langel@redhat.com>
31931   
31932         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31933         (handleEvent): Fixed check to determine if height or
31934         width is less than 1.
31935   
31936 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31937   
31938         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
31939   
31940 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31941   
31942         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
31943         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
31944         Documenting the code generator.
31945         * gnu/CORBA/IOR.java (toStringFormatted, 
31946         CodeSet_component.toStringFormatted): New methods.
31947         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
31948         * tools/gnu/classpath/tools/giop/README: Rewritten.
31949         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
31950         (printHelpAndExit): Removed.
31951         *tools/gnu/classpath/tools/giop/IorParser.java,
31952         tools/gnu/classpath/tools/giop/IorParser.txt,
31953         tools/gnu/classpath/tools/giop/NameService.java,
31954         tools/gnu/classpath/tools/giop/NamingService.txt,
31955         tools/gnu/classpath/tools/HelpPrinter.java: New files.
31956         NEWS: Added note about GIOP tools.
31957
31958 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31959
31960         * .classpath: New source patch (tools).
31961         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
31962         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
31963         * tools/gnu/classpath/tools/Makefile.am,
31964         tools/gnu/classpath/tools/giop/GRMIC.java
31965         tools/gnu/classpath/tools/giop/GRMIC.txt,
31966         tools/gnu/classpath/tools/giop/README,
31967         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
31968         tools/gnu/classpath/tools/giop/grmic/Generator.java,
31969         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
31970         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
31971         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
31972         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
31973         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
31974         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
31975         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
31976         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31977         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31978         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
31979   
31980 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
31981   
31982         * java/awt/BasicStroke.java: Updated API docs all over,
31983         * java/awt/doc-files/capjoin.png: New file.
31984   
31985 2006-02-07  Lillian Angel  <langel@redhat.com>
31986   
31987         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31988         (handleEvent): Added check. Should not paint or update the 
31989         component if it's width and height are both 0.  
31990   
31991 2006-02-07  Roman Kennke  <kennke@aicas.com>
31992   
31993         * javax/swing/text/AbstractDocument.java
31994         (insertString): Enclose locking/unlocking in try-finally block
31995         and also keep locked while notifying the listeners.
31996   
31997 2006-02-07  Roman Kennke  <kennke@aicas.com>
31998   
31999         * javax/swing/text/GlyphView.java
32000         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32001         element boundary).
32002         (getStartOffset): Return element boundary if startOffset < 0.
32003         (getEndOffset): Return element boundary if endOffset < 0.
32004         (createFragment): Set startOffset and endOffset fields of fragment
32005         if one of p0 or p1 is not at the element boundary.
32006   
32007 2006-02-07  Roman Kennke  <kennke@aicas.com>
32008   
32009         * javax/swing/CellRendererPane.java
32010         (paintComponent): Enclosed painting in try finally to properly
32011         clean up even when throwing an exception.
32012   
32013 2006-02-07  Roman Kennke  <kennke@aicas.com>
32014   
32015         * javax/swing/UIManager.java
32016         (listeners): Made this an instance of
32017         java.beans.PropertyChangeSupport instead of the obsoleted
32018         SwingPropertyChangeSupport.
32019
32020 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32021
32022         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32023         of actions "delete-next" and "delete-previous", added new TextAction
32024         implementations for "selection-begin", "selection-begin-line",
32025         "selection-end" and "selection-end-line".
32026   
32027 2006-02-07  Roman Kennke  <kennke@aicas.com>
32028   
32029         * javax/swing/plaf/basic/BasicTextUI.java
32030         (paint): Acquire read lock on the document before calling
32031         paintSafely.
32032         (paintSafely): Added comment about what this method does.
32033         (paintBackground): Implemented to actually paint the background.
32034         (update): Overridden to _not_ paint the background. This is done
32035         in paintBackground in this UI.
32036   
32037 2006-02-07  Roman Kennke  <kennke@aicas.com>
32038   
32039         * javax/swing/text/View.java
32040         (forwardUpdate): Don't notify newly added child views as specified.
32041   
32042 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32043   
32044         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32045   
32046 2006-02-07  Roman Kennke  <kennke@aicas.com>
32047   
32048         * javax/swing/text/DefaultStyledDocument.java
32049         (ElementBuffer.insert): Only register change when the element
32050         actually changed.
32051   
32052 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32053   
32054         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32055         method.
32056         (getEncodingShortName): Likewise.
32057         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32058         (PKCS8_FORMAT): Likewise.
32059         (ASN1_FORMAT): Likewise.
32060         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32061         constructor with 5 arguments.
32062         (DSSPublicKey(5)): New constructor.
32063         (valueOf): Handle ASN.1 encoding.
32064         (getEncoded): Likewise.
32065         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32066         constructor with 5 arguments.
32067         (DSSPrivateKey(5)): New constructor.
32068         (valueOf): Handle ASN.1 encoding.
32069         (getEncoded): Likewise.
32070         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32071         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32072         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32073         (PREFERRED_ENCODING_FORMAT): New constant.
32074         (DEFAULT_ENCODING_FORMAT): Likewise.
32075         (preferredFormat): New field.
32076         (setup): Handle preferred format ID.
32077         (generate): Use new ctors with 5 arguments.
32078         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32079         ID as an additional argument.
32080         (defaultFormat): new field.
32081         (getFormat): Returns the preferred format as a short string.
32082         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32083         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32084         Likewise
32085         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32086         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32087         encoding format.
32088         (initialize(int,boolean,SecureRandom)): Likewise.
32089         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32090         writeLength() instead of write().
32091         return buf.length + 1 instead of buf.length.
32092   
32093 2006-02-07  Roman Kennke  <kennke@aicas.com>
32094   
32095         * javax/swing/plaf/basic/BasicTextUI.java
32096         (RootView.preferenceChange): Changed view parameter to view so
32097         that it doesn't hide a field of that class.
32098         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32099         (RootView.modelToView): Removed unnecessary cast from View to View.
32100         (PropertyChangeHandler): Made inner class private.
32101         (updateHandler): Made field private.
32102         (getVisibleEditorRect): Removed unneeded local variable that
32103         shadowed a field with the same name and purpose.
32104   
32105 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32106   
32107         * javax/swing/text/JTextComponent.java:
32108         (getSelectedText): Calculate offset and use that as
32109         second argument.
32110   
32111 2006-02-07  Roman Kennke  <kennke@aicas.com>
32112   
32113         * javax/swing/JTextPane.java
32114         (setCharacterAttributes): Replace input attributes when
32115         replace==true.
32116   
32117 2006-02-07  Roman Kennke  <kennke@aicas.com>
32118   
32119         * java/awt/Component.java
32120         (firePropertyChange(String,byte,byte)): Made method public.
32121         (firePropertyChange(String,char,char)): Made method public.
32122         (firePropertyChange(String,short,short)): Made method public.
32123         (firePropertyChange(String,long,long)): Made method public.
32124         (firePropertyChange(String,float,float)): Made method public.
32125         (firePropertyChange(String,double,double)): Made method public.
32126   
32127 2006-02-06  Tom Tromey  <tromey@redhat.com>
32128   
32129         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32130         2006.
32131         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32132   
32133 2006-02-06  Anthony Green  <green@redhat.com>
32134   
32135         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32136   
32137 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32138   
32139         * .settings/org.eclipse.jdt.core.prefs:
32140         Force a line split on extends and implements.
32141         Force a white-space after unary operators.
32142         Don't force a new-line after @params.
32143         Add new-line at end-of-file.
32144         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32145   
32146 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32147   
32148         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32149         Registry constant.
32150         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32151         Likewise.
32152         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32153         Likewise.
32154         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32155         Likewise.
32156         * gnu/java/security/provider/EncodedKeyFactory.java
32157         (ID_DSA): Redefined in terms of Registry constant.
32158         (ID_DSA): Redefined in terms of Registry constant.
32159         (ID_DH): Redefined in terms of Registry constant.
32160         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32161         (PKCS8_ENCODING): Likewise.
32162         (ASN1_ENCODING): Likewise.
32163         (RAW_ENCODING_SHORT_NAME): Likewise.
32164         (X509_ENCODING_SORT_NAME): Likewise.
32165         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32166         (ASN1_ENCODING_SHORT_NAME): Likewise.
32167         (X509_ENCODING_ID): Likewise.
32168         (PKCS8_ENCODING_ID): Likewise.
32169         (ASN1_ENCODING_ID): Likewise.
32170         (DSA_OID_STRING): Likewise.
32171         (RSA_OID_STRING): Likewise.
32172         (DH_OID_STRING): Likewise.
32173
32174 2006-02-06  Roman Kennke  <kennke@aicas.com>
32175
32176         * javax/swing/text/GlyphView.java:
32177         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32178         Only fill background if there is a background set on the view.
32179         Call Utilities.drawTabbedText with the baseline height, rather than
32180         the upper left corner of the view rectangle.
32181         (getBackground): Return null if no background is set.
32182         * javax/swing/text/GlyphView.java:
32183         (setPropertiesFromAttributes): Use null for background when no
32184         background is set. StyleConstants.getBackground() doesn't work
32185         for this, because it returns Color.BLACK in that case.
32186   
32187 2006-02-06  Roman Kennke  <kennke@aicas.com>
32188   
32189         * java/awt/Container.java
32190         (changeSupport): Removed duplicate (from Component) field.
32191         (addPropertyChangeListener): Call super.
32192   
32193 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32194   
32195         * java/util/regex/Matcher.java(matches):
32196         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32197   
32198 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32199
32200         Fixes bug #25812
32201         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32202         * gnu/regexp/CharIndexedCharArray.java
32203         (lookBehind),(length): Implemented.
32204         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32205         * gnu/regexp/CharIndexedString.java: Likewise.
32206         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32207         * gnu/regexp/REToken.java(getMaximumLength): New method.
32208         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32209         maxLength.
32210         (initialize): Parse (?<=X), (?<!X), (?>X).
32211         (getMaximumLength): Implemented.
32212         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32213         * gnu/regexp/RETokenChar.java: Likewise.
32214         * gnu/regexp/RETokenEnd.java: Likewise.
32215         * gnu/regexp/RETokenEndSub.java: Likewise.
32216         * gnu/regexp/RETokenLookAhead.java: Likewise.
32217         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32218         * gnu/regexp/RETokenOneOf.java: Likewise.
32219         * gnu/regexp/RETokenPOSIX.java: Likewise.
32220         * gnu/regexp/RETokenRange.java: Likewise.
32221         * gnu/regexp/RETokenRepeated.java: Likewise.
32222         * gnu/regexp/RETokenStart.java: Likewise.
32223         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32224         * gnu/regexp/RETokenIndependent.java: New file.
32225         * gnu/regexp/RETokenLookBehind.java: New file.
32226   
32227 2006-02-06  Roman Kennke  <kennke@aicas.com>
32228   
32229         * java/awt/Component.java
32230         (firePropertyChange(String,byte,byte)): New method.
32231         (firePropertyChange(String,char,char)): New method.
32232         (firePropertyChange(String,short,short)): New method.
32233         (firePropertyChange(String,long,long)): New method.
32234         (firePropertyChange(String,float,float)): New method.
32235         (firePropertyChange(String,double,double)): New method.
32236
32237 2006-02-06  Roman Kennke  <kennke@aicas.com>
32238
32239         * javax/swing/JComponent.java
32240         (AccessibleJComponent.changeSupport): Changed to be a
32241         java.beans.PropertyChangeSupport rather than
32242         SwingPropertyChangeSupport.
32243         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32244         of above field.
32245         (changeSupport): Removed unneeded field.
32246         (removePropertyChangeListener): Removed unneeded methods.
32247         (addPropertyChangeListener): Removed unneeded methods.
32248         (getPropertyChangeListeners): Removed unneeded methods.
32249         (firePropertyChange(String,boolean,boolean)): Changed to simply
32250         call super. Added specnote.
32251         (firePropertyChange(String,char,char)): Changed to simply
32252         call super. Added specnote.
32253         (firePropertyChange(String,int,int)): Changed to simply
32254         call super. Added specnote.
32255         (firePropertyChange(String,byte,byte)): Removed.
32256         (firePropertyChange(String,Object,Object)): Removed.
32257         (firePropertyChange(String,double,double)): Removed.
32258         (firePropertyChange(String,float,float)): Removed.
32259         (firePropertyChange(String,long,long)): Removed.
32260         (firePropertyChange(String,short,short)): Removed.
32261   
32262 2006-02-06  Roman Kennke  <kennke@aicas.com>
32263   
32264         * javax/swing/event/SwingPropertyChangeSupport.java
32265         (listeners): Removed field.
32266         (propertyListeners): Removed field.
32267         (source): Removed field.
32268         (SwingPropertyChangeSupport()): Removed initialization of removed
32269         fields.
32270         (addPropertyChangeListener): Removed methods.
32271         (removePropertyChangeListener): Removed methods.
32272         (getPropertyChangeListeners): Removed methods.
32273         (firePropertyChange): Removed methods.
32274         (hasListeners): Removed methods.
32275   
32276 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32277   
32278         Fixes PR 25313
32279         * java/net/InetAddress.java
32280         (readResolve): Implemented.
32281   
32282 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32283   
32284         Fixes PR 26121
32285         * java/io/ObjectInputStream.java
32286         (readNextBlock()): Handle TC_RESET.
32287   
32288 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32289         
32290         * javax/print/attribute/standard/Compression.java,
32291         * javax/print/attribute/standard/Finishings.java, 
32292         * javax/print/attribute/standard/JobMediaSheets.java,
32293         * javax/print/attribute/standard/JobSheets.java,
32294         * javax/print/attribute/standard/JobState.java,
32295         * javax/print/attribute/standard/JobStateReason.java,
32296         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32297         * javax/print/attribute/standard/PrintQuality.java,
32298         * javax/print/attribute/standard/Media.java,
32299         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32300         * javax/print/attribute/standard/PrinterStateReason.java,
32301         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32302         (getName): Make method final.
32303         (getCategory): Likewise.
32304         * javax/print/attribute/standard/MediaSize.java: 
32305         (getName): Make method final.
32306         (getCategory): Likewise.
32307         (ISO): Added private default constructor.
32308         (NA): Likewise.
32309         (JIS): Likewise.
32310         (Other): Likewise.
32311         (Engineering): Likewise.
32312
32313 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32314         
32315         * native/jni/java-net/javanet.c (_javanet_connect):
32316         Throw ConnectException instead of IOException if connection failed.
32317         * native/jni/java-net/javanet.h:
32318         Add a define for java.net.ConnectException
32319   
32320 2006-02-05  Mark Wielaard  <mark@klomp.org>
32321   
32322         Fixes bug #26101
32323         reported by Egon Willighagen <egon.willighagen@gmail.com>
32324         * javax/swing/DefaultListCellRenderer.java
32325         (getListCellRendererComponent): Turn null value into empty string.
32326   
32327 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32328   
32329         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32330         a Unicode block if the name starts with "In".
32331         (UnicodeBlockHandler): New inner class.
32332   
32333 2006-02-04  Roman Kennke  <kennke@aicas.com>
32334   
32335         * java/awt/Container.java
32336         (getComponentZOrder): New method.
32337         (setComponentZOrder): New method.
32338         * javax/swing/JLayeredPane.java
32339         (setPosition): Reimplemented to use setComponentZOrder().
32340         (getIndexOf): Reimplemented to use getComponentZOrder().
32341         (addImpl): Pass layerContraint to super call. Important for possibly
32342         installed layout managers.
32343         (swapComponents): Remove unneeded method.
32344
32345 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32346
32347         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32348         DSAKeyPairGenerator.
32349         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32350         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32351         message.
32352         Surround call to adaptee in a try/catch.
32353         (initialize((DSAParams,SecureRandom)): New method.
32354         (initialize(int,boolean,SecureRandom)): New method.
32355         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32356         KeyPairGenerator rather than KeyPairGeneratorSpi.
32357         (KeyPairGeneratorAdapter): Call super with algorithm name.
32358
32359 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32360
32361         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32362         (getDefaultPRNG): New method.
32363         (parseO): Use method above.
32364         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32365         (getDefaultPRNG): New method.
32366         (createO): Use method above.
32367         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32368         (nextByte): Use above field.
32369         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32370         * gnu/java/security/sig/rsa/RSA.java: New class field.
32371         (newR): Use above field
32372         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32373         (encode): Use field.above.
32374         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32375         (getDefaultPRNG): new method.
32376         (nextRandomBytes): Use above method.
32377         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32378         * gnu/java/security/sig/BaseSignature.java: Likewise.
32379         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32380         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32381         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32382         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32383         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32384         (getDefaultPRNG): new method.
32385         (nextRandomBytes): Use above method.
32386         (STRICT_DEFAULTS): new class field.
32387         (USE_DEFAULTS): more documentation to clarify behavior.
32388         (setup): amended to handle new attribute.
32389         * gnu/java/security/util/PRNG.java: New file.
32390   
32391 2006-02-03  Lillian Angel  <langel@redhat.com>
32392   
32393         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32394         chooser field should be protected, not package-private. 
32395   
32396 2006-02-03  Lillian Angel  <langel@redhat.com>
32397         
32398         * javax/swing/text/DefaultStyledDocument.java
32399         (changeUpdate): Cleaned up code.
32400         (split): Likewise.
32401         (insertUpdate): Set offset to be equal to pos after
32402         insertContentTag call.
32403         (insertContentTag): If paragraph has no children, should use
32404         replace instead of Edit.
32405         (insertFracture): Moved around code to prevent any exception. Also,
32406         left side of tree should not be recreated if it has already been 
32407         edited. In that case, we should only be creating a new right branch
32408         when fracturing.
32409         (getEditForParagraphAndIndex): No need to check index. We should
32410         use the same edit for each paragraph.
32411   
32412 2006-02-03  Mark Wielaard  <mark@klomp.org>
32413   
32414         * javax/swing/event/SwingPropertyChangeSupport.java
32415         (propertyListeners): Change type to HashMap.
32416         (SwingPropertyChangeSupport): Allocate HashMap.
32417   
32418 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32419   
32420         * java/security/KeyPairGenerator.java (getInstance): Test for
32421         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32422   
32423 2006-02-02  Roman Kennke  <kennke@aicas.com>
32424   
32425         * javax/swing/RepaintManager.java
32426         Made fields private.
32427         (RepaintWorker.run): Enclosed work stuff in try finally block in
32428         order to clean up correctly if invalidation or painting fails,
32429         otherwise we would get no more RepaintWorkers onto the EventQueue.
32430         Also, now the RepaintWorker is marked 'dead' only after it has
32431         finished its work, avoid more than one RepaintWorker on the queue.
32432         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32433         instead of hierarchy depths.
32434         (workDirtyComponents): Removed unused field.
32435         (repaintOrder): Removed unused field.
32436         (workRepaintOrder): Removed unused field.
32437         (workInvalidComponents): Removed unused field.
32438         (RepaintManager()): Removed initialization of removed fields.
32439         (addInvalidComponent): Fine tuned synchronization.
32440         (removeInvalidComponent): Fine tune synchronization.
32441         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32442         synchronization. Don't manager repaintOrder here.
32443         (insertRepaintOrder): Removed method.
32444         (markCompletelyClean): Fine tuned synchronization.
32445         (validateInvalidComponents): Dont use a working copy of the
32446         invalidComponents list, instead fine tuned synchronization on this
32447         list. Also, don't search validateRoot, this is already done in
32448         addInvalidComponent().
32449         (paintDirtyRegions): Compute repaint order here, based on size of
32450         damaged regions. Fine tuned synchronization. Avoid use of working
32451         copies of dirtyComponent.
32452   
32453 2006-02-02  Lillian Angel  <langel@redhat.com>
32454   
32455         * javax/swing/text/DefaultStyledDocument.java
32456         (insertUpdate): JoinNextDirection should push the 
32457         'next' paragraph on the stack.
32458   
32459 2006-02-02  Lillian Angel  <langel@redhat.com>
32460   
32461         * javax/swing/text/DefaultStyledDocument.java
32462         (insertUpdate): Rewrote code for Originate. This prevents
32463         leaves being created multiple times. If it is on the last 
32464         ElementSpec, the leaves need to be created right then; 
32465         otherwise, only a branch is created.
32466         (insertContentTag): Rewrote to add new leaf directly if
32467         this is a branch with no children. Otherwise, it
32468         recreates the remainder of the tree as before.
32469   
32470 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32471   
32472         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32473         for making a list of REMatch instances.
32474         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32475         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32476         (match): Rewritten using REMatchList.
32477         (matchRest): Rewritten using REMatchList.
32478   
32479 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32480   
32481         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32482         (friendsMove):  Call repaint() only after endOfGame is assigned.
32483   
32484 2006-02-02  Mark Wielaard  <mark@klomp.org>
32485   
32486         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32487         * java/util/AbstractCollection.java (toString): Only use Iterator,
32488         check whether collection contains itself.
32489   
32490 2006-02-01  Casey Marshall  <csm@gnu.org>
32491   
32492         Partial fix for PR classpath/25143.
32493         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32494         (<init>): fill in `algName,' derive `algOid' from `algName.'
32495         (getOid): new method.
32496         (encode): embed NULL value for parameters if `params' is `null.'
32497   
32498 2006-02-01  Casey Marshall  <csm@gnu.org>
32499   
32500         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32501         <monoman@gmail.com>.    
32502         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32503         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32504   
32505 2006-02-01  Casey Marshall  <csm@gnu.org>
32506   
32507         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32508         * gnu/java/security/der/DERValue.java
32509         (getLength, getEncoded, getEncodedLength): throw an exception,
32510         don't initialize `encoded' to a bogus value.
32511         (toString): return a more helpful string.
32512
32513         Partial fix for PR classpath/25144.
32514         * gnu/java/security/der/DERWriter.java (write): if the value is
32515         the pseudo-value used for CONSTRUCTED, write the encoded value
32516         directly.
32517         
32518 2006-02-01  Tom Tromey  <tromey@redhat.com>
32519   
32520         * java/security/Security.java (loadProviders): Use system class
32521         loader.
32522   
32523 2006-02-01  Mark Wielaard  <mark@klomp.org>
32524   
32525         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32526         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32527         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32528         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32529         (UnicodeCategoriesHandler): New private static class.
32530         
32531 2006-02-01  Lillian Angel  <langel@redhat.com>
32532   
32533         * javax/swing/text/DefaultStyledDocument.java:
32534         Removed unneeded fields.
32535         (insertUpdate): Removed field initialization.
32536         (insertContentTag): Rewrote part of function. Still
32537         not complete.
32538   
32539 2006-02-01  Lillian Angel  <langel@redhat.com>
32540   
32541         * javax/swing/text/DefaultStyledDocument.java
32542         (insertParagraph): Cleaned up code.
32543         (insertFirstContentTag): Fixed call to recreateLeaves.
32544         (insertContentTag): Added check to code to determine where
32545         content should be inserted with respect to next element.
32546         (createFracture): Removed check, recreateLeaves is called in 
32547         other places when needed.
32548         (recreateLeaves): Added new parameter for paragraph instead
32549         of checking the stack. Removed editing for newBranch, replaced
32550         with a replace call.
32551
32552 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
32553
32554         * doc/unicode/Blocks-4.0.0.txt: New file.
32555         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
32556         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32557         * scripts/unicode-blocks.pl: Copied this over from the generics branch
32558         but replaced some 1.5-only features (such as enum).
32559   
32560 2006-01-31  Roman Kennke  <kennke@aicas.com>
32561   
32562         * javax/swing/text/PasswordView.java
32563         (drawSelectedText): Use drawEchoCharacter() method to draw echo
32564         character.
32565         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32566         character.
32567   
32568 2006-01-31  Roman Kennke  <kennke@aicas.com>
32569   
32570         * javax/swing/JTextField.java
32571         (getPreferredSize): Also include textfield's insets in width
32572         calculation.
32573   
32574 2006-01-31  Roman Kennke  <kennke@aicas.com>
32575   
32576         * javax/swing/plaf/basic/BasicTextUI.java
32577         (getPreferredSize): Include the textcomponent's insets in
32578         preferredSize.
32579   
32580 2006-01-31  Roman Kennke  <kennke@aicas.com>
32581   
32582         * javax/swing/table/DefaultTableCellRenderer.java
32583         (getTableCellRendererComponent): Moved setting of the value into
32584         setValue(). Removed (bogus) special handling of JTextField values.
32585         (setValue): Made ?: statement more clear by rewriting it
32586         with if .. else.
32587   
32588 2006-01-31  Roman Kennke  <kennke@aicas.com>
32589   
32590         * javax/swing/JLayeredPane.java
32591         (insertIndexForLayer): Fixed algorithm to correctly determine
32592         inser index for positions >= 0.
32593         (addImpl): Fixed API docs for the index parameter.
32594   
32595 2006-01-31  Mark Wielaard  <mark@klomp.org>
32596   
32597         * java/net/URI.java (getURIGroup): Check for null to see whether
32598         group actually exists.
32599   
32600 2006-01-31  Lillian Angel  <langel@redhat.com>
32601   
32602         * javax/swing/text/DefaultStyledDocument.java
32603         (changeUpdate): Fixed calls to split to incorporate 
32604         new parameter.
32605         (insertParagraph): Likewise. Uses 0 as editIndex
32606         because inserting into a new paragraph.
32607         (insertContentTag): Fixed check to use 
32608         recreateLeaves. Added a FIXME comment.
32609         (split): Added a new parameter for edits.
32610   
32611 2006-01-31  Roman Kennke  <kennke@aicas.com>
32612   
32613         * javax/swing/plaf/basic/BasicRootPaneUI.java
32614         (installDefaults): Don't install a background color here.
32615   
32616 2006-01-31  Lillian Angel  <langel@redhat.com>
32617   
32618         * javax/swing/text/DefaultStyledDocument.java
32619         (insert): Removed comment.
32620         (insertUpdate): Added comment.
32621         (recreateLeaves): Removed call to push newBranch onto the
32622         stack. This does not need to be done here.
32623   
32624 2006-01-31  Chris Burdess  <dog@gnu.org>
32625   
32626         * gnu/xml/stream/SAXParser.java,
32627           gnu/xml/stream/UnicodeReader.java,
32628           gnu/xml/stream/XIncludeFilter.java,
32629           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32630           only resolved the system ID not the stream. Make some utility methods
32631           public and static for use by other private XML APIs.
32632         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32633           called without throwing IllegalStateException.
32634         * java/util/logging/SimpleFormatter.java: Write thrown exception if
32635           provided.
32636
32637 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32638
32639         Fixes bug #22873
32640         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32641         for an invalid index and return null for a skipped group.
32642
32643 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32644
32645         Fixes bug #26002
32646         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32647         (NamedProperty): New inner class.
32648         (getNamedProperty): New method.
32649         (getRETokenNamedProperty): New Method.
32650         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32651         * gnu/regexp/RETokenNamedProperty.java: New file.
32652
32653 2006-01-31  Roman Kennke  <kennke@aicas.com>
32654
32655         * javax/swing/plaf/PlainView.java
32656         (paint): Call drawLine with baseline coordinates.
32657         (drawLine): Documented and indented this method.
32658         (drawUnselecetedText): Documented and indented this method.
32659         * javax/swing/plaf/text/Utilites.java
32660         (drawTabbedText): The coordinates denote the baseline of the text
32661         not the upper left corner.
32662   
32663 2006-01-31  Roman Kennke  <kennke@aicas.com>
32664   
32665         * javax/swing/plaf/basic/BasicTextUI.java
32666         (createKeymap): Don't store KeyBindings[] as focusInputMap in
32667         UIManager. Added FIXME regarding the implementation of this method.
32668   
32669 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32670   
32671         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32672         (ButtonDemo): Move content initialisation to new method,
32673         (initFrameContent): New method,
32674         (main): Call initFrameContent(),
32675         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32676         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32677         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32678         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32679         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32680   
32681 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32682   
32683         * examples/gnu/classpath/examples/swing/Demo.java
32684         (Demo): Set frame size,
32685         (mkButtonBar): Removed stacked sub-panels.
32686   
32687 2006-01-30  Lillian Angel  <langel@redhat.com>
32688   
32689         * javax/swing/text/DefaultStyledDocument.java:
32690         Added new fields.
32691         (insert): Initialized fields. Removed call to addEdit, 
32692         and created ElementEdit instead.
32693         (insertUpdate): Added check for fracturing. If the
32694         fracturing was not successful, we should push the
32695         last element back on the stack.
32696         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32697         Also, changed replace calls to use Edit.
32698         (insertFirstContentTag): Removed unneeded check and fixed call
32699         to recreateLeaves.
32700         (insertContent): Fixed check to use new fields. Added code in
32701         to check if leaves overlap.
32702         (createFracture): Fixed call to recreateLeaves.
32703         (recreateLeaves): Fixed code and cleaned it up a bit.
32704         (insertFracture): Set fracNotCreated field.
32705         (addEdit): Removed, this method is not needed.
32706   
32707 2006-01-30  Roman Kennke  <kennke@aicas.com>
32708   
32709         * javax/swing/JRootPane.java
32710         (RootLayout.prefSize): Removed caching for preferredSize.
32711         (RootLayout.invalidateLayout): Likewise.
32712         (RootLayout.preferredLayoutSize): Likewise.     
32713   
32714 2006-01-30  Roman Kennke  <kennke@aicas.com>
32715   
32716         PR classpath/26035
32717         * javax/swing/JFrame.java
32718         (frameInit): Handle the defaultLookAndFeelDecorated flag.
32719         * javax/swing/plaf/metal/MetalRootPaneUI.java
32720         (MetalFrameBorder): New inner class, provides the border for
32721         top level containers with L&F decorations.
32722         (MetalTitlePane): New inner class, provides the title pane for
32723         top level containers with L&F decorations.
32724         (MetalRootLayout): New inner class. Used to layout the root pane
32725         when L&F window decorations are enabled.
32726         (installUI): New method. Handles window decorations.
32727         (uninstallUI): New method. Handles window decorations.
32728         (propertyChange): Handles window decorations.
32729         (installWindowDecorations): New method. Handles window
32730         decorations.
32731         (uninstallWindowDecorations): New method. Handles window
32732         decorations.
32733         * javax/swing/plaf/metal/MetalLookAndFeel.java
32734         (getSupportsWindowDecorations): Overridden to return true.
32735
32736 2006-01-30  Mark Wielaard  <mark@klomp.org>
32737
32738         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32739         IllegalArgumentException when orientation is illegal.
32740         (JProgressBar(int, int, int)): Likewise and throw exception.
32741         (setOrientation): Likewise.
32742   
32743 2006-01-30  Roman Kennke  <kennke@aicas.com>
32744   
32745         * javax/swing/ViewportLayout.java
32746         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32747   
32748 2006-01-30  Mark Wielaard  <mark@klomp.org>
32749   
32750         * javax/swing/JProgressBar.java (orientation): Always set by
32751         constructor.
32752         (JProgressBar(int)): Document default on 'illegal' value.
32753         (JProgressBar(int, int, int)): Likewise and set orientation to
32754         HORIZONTAL when 'illegal'.
32755         (setOrientation): Likewise.
32756   
32757 2006-01-30  Roman Kennke  <kennke@aicas.com>
32758   
32759         * javax/swing/plaf/basic/BasicListUI.java
32760         (ListDataHandler.contentsChanged): Update the
32761         updateLayoutStateNeeded flag.
32762         (ListDataHandler.intervalAdded): Update the
32763         updateLayoutStateNeeded flag.
32764         (ListDataHandler.intervalRemoved): Update the
32765         updateLayoutStateNeeded flag.
32766         (PropertyChangeHandler.propertyChange): Correctly update the
32767         listeners on new list model.
32768         (maybeUpdateLayoutState): Don't consider the validation state
32769         of the list.
32770   
32771 2006-01-30  Mark Wielaard  <mark@klomp.org>
32772   
32773         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32774         sortKeys is null.
32775   
32776 2006-01-30  Roman Kennke  <kennke@aicas.com>
32777   
32778         * javax/swing/JLayeredPane.java
32779         (insertIndexForLayer): Fixed algorithm to correctly insert
32780         components within different layers and -1 position.
32781   
32782 2006-01-30  Mark Wielaard  <mark@klomp.org>
32783   
32784         * doc/api/Makefile.am (create_html): Add -validhtml.
32785   
32786 2006-01-30  Roman Kennke  <kennke@aicas.com>
32787   
32788         * javax/swing/JLayeredPane.java
32789         (insertIndexForLayer): Fixed algorithm to correctly insert
32790         components within same layer and -1 position.
32791   
32792 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32793   
32794         Fixes bug #24876
32795         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32796         New execution flag.
32797         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
32798         implicit RETokenEnd at the end of the regexp chain.
32799         Do not select the longest match, but select the first match.
32800         (match): Do not take care of REMatch.empty.
32801         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
32802         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
32803         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
32804         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
32805         Do not take care of REMatch.empty. Set and check REMatch.empty
32806         when trying to match the single token.
32807
32808 2006-01-30  Mark Wielaard  <mark@klomp.org>
32809
32810         * java/awt/Cursor.java (toString): Include name and type.
32811
32812 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
32813
32814         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
32815         the ipad buffer.
32816         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
32817   
32818 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32819         
32820         PR 26027
32821         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
32822         Consider the validation state of the list. 
32823
32824 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
32825
32826         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
32827         INSTANCE added.
32828         * java/beans/XMLDecoder.java:
32829         (setExceptionListener): Use shared DefaultExceptionListener
32830         instance.
32831         * java/beans/Encoder.java:
32832         (setExceptionListener): Use shared DefaultExceptionListener
32833         instance.
32834   
32835 2006-01-29  Roman Kennke  <kennke@aicas.com>
32836   
32837         * javax/swing/ScrollPaneLayout.java
32838         (minimumLayoutSize): Rewritten to match JDKs behaviour.
32839   
32840 2006-01-29  Mark Wielaard  <mark@klomp.org>
32841   
32842         * java/net/SocketPermission.java (setActions): Trim and lower case
32843         action.
32844   
32845 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
32846   
32847         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
32848         incorrectly failing primality test for some known primes. Fixed.
32849         (passFermatLittleTheorem): Removed.
32850         (passMillerRabin): Removed.
32851         (isProbablePrime): Cache primes that pass the primality tests.
32852         Use BigInteger.isProbablePrime(int) for primality tests.
32853         (debugBI): New static debugging method.
32854   
32855 2006-01-28  Roman Kennke  <kennke@aicas.com>
32856   
32857         * javax/swing/plaf/basic/BasicListUI.java
32858         (updateLayoutState): Removed unneeded special case for VERTICAL.
32859   
32860 2006-01-28  Roman Kennke  <kennke@aicas.com>
32861   
32862         * javax/swing/plaf/basic/BasicListUI.java
32863         (getCellBounds): Determine correct list width when having a
32864         layoutOrientation of VERTICAL.
32865         (maybeUpdateLayoutState): Don't consider the validation state of
32866         the list.
32867   
32868 2006-01-28  Mark Wielaard  <mark@klomp.org>
32869   
32870         Reported by Dimitri Fontaine <dimitri@dalibo.com>
32871         * java/awt/print/NoPrinterJob.java: New (fake) class.
32872         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
32873   
32874 2006-01-28  Mark Wielaard  <mark@klomp.org>
32875   
32876         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
32877   
32878 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32879   
32880         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
32881         (addChildren): New method.
32882   
32883 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
32884   
32885         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
32886         constructor for cloning purposes.
32887         (clone): New implementation that ensures cloning.
32888         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
32889         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
32890           "GNU".
32891   
32892 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32893   
32894         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
32895         Call updateCurrentVisiblePath.
32896   
32897 2006-01-27  Roman Kennke  <kennke@aicas.com>
32898   
32899         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
32900   
32901 2006-01-27  Roman Kennke  <kennke@aicas.com>
32902   
32903         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32904         (createContent): Only create new content if we don't have one
32905         already.
32906         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
32907         (createContent): Only create new content if we don't have one
32908         already.
32909         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
32910         (createContent): Only create new content if we don't have one
32911         already.
32912         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
32913         (createContent): Only create new content if we don't have one
32914         already.
32915         * examples/gnu/classpath/examples/swing/SliderDemo.java
32916         (createContent): Only create new content if we don't have one
32917         already.
32918         * examples/gnu/classpath/examples/swing/TableDemo.java
32919         (createContent): Only create new content if we don't have one
32920         already.
32921         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
32922         (createContent): Only create new content if we don't have one
32923         already.
32924   
32925 2006-01-27  Lillian Angel  <langel@redhat.com>
32926   
32927         * javax/swing/text/DefaultStyledDocument.java
32928         (insertFirstContentTag): Removed check, not needed. This
32929         still needs to be fixed for some cases. Added call to
32930         recreateLeaves.
32931         (createFracture): Added call to recreateLeaves.
32932         (recreateLeaves): New method used to recreate all the
32933         leaves after the initial insertion. This still needs 
32934         more work.
32935         (handleInsertAfterNewline): Removed else, not needed.
32936   
32937 2006-01-27  Roman Kennke  <kennke@aicas.com>
32938   
32939         * javax/swing/JLayeredPane.java
32940         (inserIndexForLayer): Fixed direction of search.
32941   
32942 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32943   
32944         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
32945         node into nodeStates.
32946   
32947 2006-01-27  Roman Kennke  <kennke@aicas.com>
32948   
32949         * javax/swing/JLayeredPane.java
32950         (FRAME_CONTENT_LAYER): Made field final.
32951         (componentToLayer): Made field private.
32952         (rectCache): Removed field.
32953         (layers): Removed field.
32954         (JLayeredPane()): Removed initialization of removed fields.
32955         (getLayer): Rewritten to make use of client properties in
32956         JComponents and to be more straighforward.
32957         (static getLayer): Rewritten to make use of client properties in
32958         JComponents.
32959         (layerToRange): Removed method.
32960         (incrLayer): Removed method.
32961         (decrLayer): Removed method.
32962         (highestLayer): Rewritten to be more straightforward.
32963         (lowestLayer): Rewritten to be more straightforward.
32964         (getPosition): Rewritten to be more straightforward.
32965         (getComponentsInLayer): Rewritten to be more straightforward.
32966         (getComponentCountInLayer): Rewritten to be more straightforward.
32967         (getIndexOf): Rewritten to be more straightforward.
32968         (inserIndexForLayer): Rewritten to be more straightforward.
32969         (remove): Rewritten to be more straightforward.
32970         (setLayer): Rewritten to be more straightforward.
32971         (addImpl): Rewritten to be more straightforward.
32972         (putLayer): Rewritten to be more straightforward.
32973
32974 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
32975
32976         * java/lang/Character.java:
32977         (offsetByCodePoints(CharSequence, int, int)): New API method.
32978         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
32979         (toChars): Throw the Exception that the docs say we throw.
32980         (codePointAt): Fixed an off-by-one error in the bounds of the if 
32981         statement.
32982         * java/lang/String.java:
32983         (String(int[], int, int)): New API constructor.
32984   
32985 2006-01-27  Lillian Angel  <langel@redhat.com>
32986   
32987         * javax/swing/text/DefaultStyledDocument.java
32988         (insert): Moved this loop to insertUpdate.
32989         (insertUpdate): Likewise. Fixed variable
32990         names. Incremented pos if new paragraph
32991         is inserted.
32992         (split): Changed edits to use replace instead. Prevents
32993         assertion errors.
32994         (insertFirstContentTag): Removed else.
32995         (insertContentTag): Implemented else for JoinNextDirection.
32996         (createFracture): Fixed up code, still not fully complete.
32997         (insertFracture): Fixed to use return value from 
32998         recreateAfterFracture.
32999         (recreateAfterFracture): Changed to return an array of the
33000         elements to be added. This prevents an assertion error.
33001         (contains): New function checks if an element is already in 
33002         the Vector. Vector's contain function was not enough to use.
33003         (addAddedElement): Changed to use new contains function.
33004         (addAddedElements): Likewise.
33005         (addRemovedElement): Likewise.
33006         (addRemovedElements): Likewise.        
33007         
33008 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33009
33010         PR 25520
33011         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33012         If no user class loaders found on the stack, return the thread 
33013         context class loader. (currentClassLoader): Explained.
33014   
33015 2006-01-27  Roman Kennke  <kennke@aicas.com>
33016   
33017         * java/awt/Container.java
33018         (swapComponents): Removed unspecified method.
33019         * javax/swing/JLayeredPane.java
33020         (setPosition): Reimplemented correctly.
33021         (swapComponents): New helper method.
33022   
33023 2006-01-27  Mark Wielaard  <mark@klomp.org>
33024   
33025         * configure.ac: Set version to 0.21-pre.
33026   
33027 2006-01-27  Roman Kennke  <kennke@aicas.com>
33028   
33029         PR classpath/25968
33030         * javax/swing/JComponent.java
33031         (findOverlapFreeParent): Improved the algorithm to make better use
33032         of the optimizedDrawingEnabled flag.
33033         * javax/swing/JLayeredPane.java
33034         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33035         * javax/swing/JViewport.java
33036         (computeBlit): Fixed check to decide if blitting is possible or not,
33037         so that it doesn't blit if nothing was scrolled (in order to
33038         update the buffer when the view updates itself).
33039   
33040 2006-01-27  Roman Kennke  <kennke@aicas.com>
33041   
33042         * javax/swing/plaf/metal/MetalFileChooserUI.java
33043         (createList): Don't set scrollbar policy.
33044   
33045 2006-01-27  Roman Kennke  <kennke@aicas.com>
33046   
33047         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33048         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33049         Fixed to also handle non-Swing toplevel containers.
33050         (PopupMenuHandler.popupMenuWillBecomeVisible):
33051         Fixed to also handle non-Swing toplevel containers.
33052         * javax/swing/Popup.java
33053         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33054         popup.
33055   
33056 2006-01-27  Roman Kennke  <kennke@aicas.com>
33057   
33058         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33059         (InternalFramePropertyChangeListener): Don't implement
33060         VetoableChangeListener.
33061         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33062         (internalFrameVetoableChangeListener): Removed unneeded field.
33063         (installListeners): Don't install vetoableChangeListener.
33064         * javax/swing/event/DocumentEvent.java
33065         (EventType): Made class final.
33066   
33067 2006-01-27  Roman Kennke  <kennke@aicas.com>
33068   
33069         * javax/swing/SwingUtilities.java
33070         (calculateInsetArea): Removed unneeded method. The method
33071         calculateInnerArea has the same purpose and is actually specified.
33072         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33073         * javax/swing/plaf/basic/BasicMenuItemUI.java
33074         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33075         of SwingUtilities.calculateInsetArea().
33076   
33077 2006-01-27  Roman Kennke  <kennke@aicas.com>
33078   
33079         * javax/swing/plaf/basic/BasicTreeUI.java
33080         (installDefaults): Removed requestFocusInWindow() call.
33081         * javax/swing/JComponent.java
33082         (requestFocusInWindow(boolean)): Made method protected.
33083         (printComponent): Made method protected.
33084         (printChildren): Made method protected.
33085         (printComponent): Made method protected.
33086         (printBorder): Made method protected.
33087   
33088 2006-01-27  Roman Kennke  <kennke@aicas.com>
33089   
33090         * javax/swing/AbstractButton.java
33091         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33092         package private.
33093         * javax/swing/ImageIcon.java
33094         (component): Made field final.
33095         (tracker): Made field final.
33096         * javax/swing/JApplet.java
33097         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33098         * javax/swing/JCheckBox.java
33099         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33100         protected.
33101         * javax/swing/JDialog.java
33102         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33103         * javax/swing/JFrame.java
33104         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33105         * javax/swing/JLayeredPane.java
33106         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33107         protected.
33108         (DEFAULT_LAYER): Made field final.
33109         (PALETTE_LAYER): Made field final.
33110         (MODAL_LAYER): Made field final.
33111         (POPUP_LAYER): Made field final.
33112         (DRAG_LAYER): Made field final.
33113         * javax/swing/JMenu.java
33114         (ActionChangeListener): Made class private.
33115         * javax/swing/JOptionPane.java
33116         (UNITITIALIZED_VALUE): Made field final.
33117         * javax/swing/JPanel.java
33118         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33119         * javax/swing/JPopupMenu.java
33120         (ActionChangeListener): Made class private.
33121         * javax/swing/JTree.java
33122         (paramString): Made method protected.
33123         * javax/swing/JViewport.java
33124         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33125         * javax/swing/JWindow.java
33126         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33127         * javax/swing/RepaintManager.java
33128         (RepaintWorker): Made class private.
33129   
33130 2006-01-27  Roman Kennke  <kennke@aicas.com>
33131   
33132         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33133         (handleEvent): Removed debug statement.
33134   
33135 2006-01-27  Roman Kennke  <kennke@aicas.com>
33136   
33137         * java/awt/Component.java
33138         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33139         more than it helps.
33140   
33141 2006-01-26  Lillian Angel  <langel@redhat.com>
33142   
33143         * javax/swing/text/DefaultStyledDocument.java
33144         (createFracture): Commented out a known problem,
33145         added FIXME tag.
33146   
33147 2006-01-26  Lillian Angel  <langel@redhat.com>
33148   
33149         * javax/swing/text/DefaultStyledDocument.java
33150         (ElementBuffer): Added fields.
33151         (remove): Initialized pos.
33152         (change): Likewise.
33153         (insert): Likewise.
33154         (insertUpdate): Incremented pos. Fixed check, createFracture should
33155         be called on first tag if it is not ContentType.
33156         (insertFirstContentTag): Reworked to use proper offsets and
33157         set offset accordingly. This might need more work in the future.
33158         (insertContentTag): Likewise. Fixed to use pos, instead of 
33159         offset.
33160         (createFracture): Fixed to recreate other leaves. Still needs
33161         more work.
33162         (insertFracture): Reimplemented.
33163         (recreateAfterFracture): New method.
33164         (getParagraphElement): Reimplemented, more efficent.
33165
33166 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33167
33168         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33169         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33170         ordering for little-endian arms without VFP.
33171
33172 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33173
33174         PR classpath/25981
33175         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33176
33177 2006-01-26  Mark Wielaard  <mark@klomp.org>
33178
33179         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33180         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33181         Add trailing zeros to the fraction of the decimal with the smallest
33182         scale.
33183
33184 2006-01-26  Roman Kennke  <kennke@aicas.com>
33185
33186         * javax/swing/text/html/ObjectView.java: New file.
33187
33188 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33189
33190         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33191         Call startEditing when appropriate.
33192         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33193         (startEditing): Always edit if directly ordered from 
33194         MouseHandler.mousePressed.
33195         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33196         New field. (createTreeCellEditor): Set click count to start.
33197         (getTreeCellEditorComponent): Assing realEditor directly.
33198
33199 2006-01-25  Casey Marshall  <csm@gnu.org>
33200
33201         Merging GNU Crypto and Jessie.
33202
33203         * NEWS: mention the merge in the 0.21 notes.
33204         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33205         (SSL_RECORD_LAYER): new constants.
33206         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33207         to provider.
33208         * resource/java/security/classpath.security: add new providers.
33209         * gnu/javax/crypto/assembly/Assembly.java,
33210         gnu/javax/crypto/assembly/Cascade.java,
33211         gnu/javax/crypto/assembly/CascadeStage.java,
33212         gnu/javax/crypto/assembly/CascadeTransformer.java,
33213         gnu/javax/crypto/assembly/DeflateTransformer.java,
33214         gnu/javax/crypto/assembly/Direction.java,
33215         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33216         gnu/javax/crypto/assembly/ModeStage.java,
33217         gnu/javax/crypto/assembly/Operation.java,
33218         gnu/javax/crypto/assembly/PaddingTransformer.java,
33219         gnu/javax/crypto/assembly/Stage.java,
33220         gnu/javax/crypto/assembly/Transformer.java,
33221         gnu/javax/crypto/assembly/TransformerException.java,
33222         gnu/javax/crypto/cipher/Anubis.java,
33223         gnu/javax/crypto/cipher/BaseCipher.java,
33224         gnu/javax/crypto/cipher/Blowfish.java,
33225         gnu/javax/crypto/cipher/Cast5.java,
33226         gnu/javax/crypto/cipher/CipherFactory.java,
33227         gnu/javax/crypto/cipher/DES.java,
33228         gnu/javax/crypto/cipher/IBlockCipher.java,
33229         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33230         gnu/javax/crypto/cipher/Khazad.java,
33231         gnu/javax/crypto/cipher/NullCipher.java,
33232         gnu/javax/crypto/cipher/Rijndael.java,
33233         gnu/javax/crypto/cipher/Serpent.java,
33234         gnu/javax/crypto/cipher/Square.java,
33235         gnu/javax/crypto/cipher/TripleDES.java,
33236         gnu/javax/crypto/cipher/Twofish.java,
33237         gnu/javax/crypto/cipher/WeakKeyException.java,
33238         gnu/javax/crypto/jce/GnuCrypto.java,
33239         gnu/javax/crypto/jce/GnuSasl.java,
33240         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33241         gnu/javax/crypto/jce/cipher/AESSpi.java,
33242         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33243         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33244         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33245         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33246         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33247         gnu/javax/crypto/jce/cipher/DESSpi.java,
33248         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33249         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33250         gnu/javax/crypto/jce/cipher/PBES2.java,
33251         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33252         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33253         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33254         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33255         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33256         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33257         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33258         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33259         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33260         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33261         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33262         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33263         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33264         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33265         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33266         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33267         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33268         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33269         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33270         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33271         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33272         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33273         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33274         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33275         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33276         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33277         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33278         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33279         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33280         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33281         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33282         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33283         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33284         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33285         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33286         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33287         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33288         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33289         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33290         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33291         gnu/javax/crypto/jce/mac/MacAdapter.java,
33292         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33293         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33294         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33295         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33296         gnu/javax/crypto/jce/mac/OMacImpl.java,
33297         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33298         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33299         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33300         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33301         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33302         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33303         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33304         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33305         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33306         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33307         gnu/javax/crypto/jce/params/DEREncodingException.java,
33308         gnu/javax/crypto/jce/params/DERReader.java,
33309         gnu/javax/crypto/jce/params/DERWriter.java,
33310         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33311         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33312         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33313         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33314         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33315         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33316         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33317         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33318         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33319         gnu/javax/crypto/key/GnuSecretKey.java,
33320         gnu/javax/crypto/key/IKeyAgreementParty.java,
33321         gnu/javax/crypto/key/IncomingMessage.java,
33322         gnu/javax/crypto/key/KeyAgreementException.java,
33323         gnu/javax/crypto/key/KeyAgreementFactory.java,
33324         gnu/javax/crypto/key/OutgoingMessage.java,
33325         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33326         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33327         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33328         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33329         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33330         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33331         gnu/javax/crypto/key/dh/ElGamalSender.java,
33332         gnu/javax/crypto/key/dh/GnuDHKey.java,
33333         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33334         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33335         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33336         gnu/javax/crypto/key/dh/RFC2631.java,
33337         gnu/javax/crypto/key/srp6/SRP6Host.java,
33338         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33339         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33340         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33341         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33342         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33343         gnu/javax/crypto/key/srp6/SRP6User.java,
33344         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33345         gnu/javax/crypto/key/srp6/SRPKey.java,
33346         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33347         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33348         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33349         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33350         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33351         gnu/javax/crypto/keyring/BaseKeyring.java,
33352         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33353         gnu/javax/crypto/keyring/CertPathEntry.java,
33354         gnu/javax/crypto/keyring/CertificateEntry.java,
33355         gnu/javax/crypto/keyring/CompressedEntry.java,
33356         gnu/javax/crypto/keyring/EncryptedEntry.java,
33357         gnu/javax/crypto/keyring/Entry.java,
33358         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33359         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33360         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33361         gnu/javax/crypto/keyring/IKeyring.java,
33362         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33363         gnu/javax/crypto/keyring/IPublicKeyring.java,
33364         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33365         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33366         gnu/javax/crypto/keyring/MeteredInputStream.java,
33367         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33368         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33369         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33370         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33371         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33372         gnu/javax/crypto/keyring/Properties.java,
33373         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33374         gnu/javax/crypto/mac/BaseMac.java,
33375         gnu/javax/crypto/mac/HMac.java,
33376         gnu/javax/crypto/mac/HMacFactory.java,
33377         gnu/javax/crypto/mac/IMac.java,
33378         gnu/javax/crypto/mac/MacFactory.java,
33379         gnu/javax/crypto/mac/MacInputStream.java,
33380         gnu/javax/crypto/mac/MacOutputStream.java,
33381         gnu/javax/crypto/mac/OMAC.java,
33382         gnu/javax/crypto/mac/TMMH16.java,
33383         gnu/javax/crypto/mac/UHash32.java,
33384         gnu/javax/crypto/mac/UMac32.java,
33385         gnu/javax/crypto/mode/BaseMode.java,
33386         gnu/javax/crypto/mode/CBC.java,
33387         gnu/javax/crypto/mode/CFB.java,
33388         gnu/javax/crypto/mode/CTR.java,
33389         gnu/javax/crypto/mode/EAX.java,
33390         gnu/javax/crypto/mode/ECB.java,
33391         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33392         gnu/javax/crypto/mode/ICM.java,
33393         gnu/javax/crypto/mode/IMode.java,
33394         gnu/javax/crypto/mode/ModeFactory.java,
33395         gnu/javax/crypto/mode/OFB.java,
33396         gnu/javax/crypto/pad/BasePad.java,
33397         gnu/javax/crypto/pad/IPad.java,
33398         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33399         gnu/javax/crypto/pad/PKCS7.java,
33400         gnu/javax/crypto/pad/PadFactory.java,
33401         gnu/javax/crypto/pad/SSL3.java,
33402         gnu/javax/crypto/pad/TBC.java,
33403         gnu/javax/crypto/pad/TLS1.java,
33404         gnu/javax/crypto/pad/WrongPaddingException.java,
33405         gnu/javax/crypto/prng/ARCFour.java,
33406         gnu/javax/crypto/prng/CSPRNG.java,
33407         gnu/javax/crypto/prng/Fortuna.java,
33408         gnu/javax/crypto/prng/ICMGenerator.java,
33409         gnu/javax/crypto/prng/IPBE.java,
33410         gnu/javax/crypto/prng/PBKDF2.java,
33411         gnu/javax/crypto/prng/PRNGFactory.java,
33412         gnu/javax/crypto/prng/UMacGenerator.java,
33413         gnu/javax/crypto/sasl/AuthInfo.java,
33414         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33415         gnu/javax/crypto/sasl/ClientFactory.java,
33416         gnu/javax/crypto/sasl/ClientMechanism.java,
33417         gnu/javax/crypto/sasl/ConfidentialityException.java,
33418         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33419         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33420         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33421         gnu/javax/crypto/sasl/InputBuffer.java,
33422         gnu/javax/crypto/sasl/IntegrityException.java,
33423         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33424         gnu/javax/crypto/sasl/NoSuchUserException.java,
33425         gnu/javax/crypto/sasl/OutputBuffer.java,
33426         gnu/javax/crypto/sasl/SaslEncodingException.java,
33427         gnu/javax/crypto/sasl/SaslInputStream.java,
33428         gnu/javax/crypto/sasl/SaslOutputStream.java,
33429         gnu/javax/crypto/sasl/SaslUtil.java,
33430         gnu/javax/crypto/sasl/ServerFactory.java,
33431         gnu/javax/crypto/sasl/ServerMechanism.java,
33432         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33433         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33434         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33435         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33436         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33437         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33438         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33439         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33440         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33441         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33442         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33443         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33444         gnu/javax/crypto/sasl/plain/PlainClient.java,
33445         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33446         gnu/javax/crypto/sasl/plain/PlainServer.java,
33447         gnu/javax/crypto/sasl/srp/CALG.java,
33448         gnu/javax/crypto/sasl/srp/ClientStore.java,
33449         gnu/javax/crypto/sasl/srp/IALG.java,
33450         gnu/javax/crypto/sasl/srp/KDF.java,
33451         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33452         gnu/javax/crypto/sasl/srp/SRP.java,
33453         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33454         gnu/javax/crypto/sasl/srp/SRPClient.java,
33455         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33456         gnu/javax/crypto/sasl/srp/SRPServer.java,
33457         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33458         gnu/javax/crypto/sasl/srp/ServerStore.java,
33459         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33460         gnu/javax/net/ssl/Base64.java,
33461         gnu/javax/net/ssl/EntropySource.java,
33462         gnu/javax/net/ssl/NullManagerParameters.java,
33463         gnu/javax/net/ssl/PrivateCredentials.java,
33464         gnu/javax/net/ssl/SRPManagerParameters.java,
33465         gnu/javax/net/ssl/SRPTrustManager.java,
33466         gnu/javax/net/ssl/StaticTrustAnchors.java,
33467         gnu/javax/net/ssl/provider/Alert.java,
33468         gnu/javax/net/ssl/provider/AlertException.java,
33469         gnu/javax/net/ssl/provider/Certificate.java,
33470         gnu/javax/net/ssl/provider/CertificateRequest.java,
33471         gnu/javax/net/ssl/provider/CertificateType.java,
33472         gnu/javax/net/ssl/provider/CertificateVerify.java,
33473         gnu/javax/net/ssl/provider/CipherSuite.java,
33474         gnu/javax/net/ssl/provider/ClientHello.java,
33475         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33476         gnu/javax/net/ssl/provider/CompressionMethod.java,
33477         gnu/javax/net/ssl/provider/Constructed.java,
33478         gnu/javax/net/ssl/provider/ContentType.java,
33479         gnu/javax/net/ssl/provider/Context.java,
33480         gnu/javax/net/ssl/provider/DiffieHellman.java,
33481         gnu/javax/net/ssl/provider/DigestInputStream.java,
33482         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33483         gnu/javax/net/ssl/provider/Enumerated.java,
33484         gnu/javax/net/ssl/provider/Extension.java,
33485         gnu/javax/net/ssl/provider/Extensions.java,
33486         gnu/javax/net/ssl/provider/Finished.java,
33487         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33488         gnu/javax/net/ssl/provider/Handshake.java,
33489         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33490         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33491         gnu/javax/net/ssl/provider/Jessie.java,
33492         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33493         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33494         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33495         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33496         gnu/javax/net/ssl/provider/KeyPool.java,
33497         gnu/javax/net/ssl/provider/MacException.java,
33498         gnu/javax/net/ssl/provider/OverflowException.java,
33499         gnu/javax/net/ssl/provider/PRNG.java,
33500         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33501         gnu/javax/net/ssl/provider/Random.java,
33502         gnu/javax/net/ssl/provider/RecordInput.java,
33503         gnu/javax/net/ssl/provider/RecordInputStream.java,
33504         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33505         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33506         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33507         gnu/javax/net/ssl/provider/SSLHMac.java,
33508         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33509         gnu/javax/net/ssl/provider/SSLRandom.java,
33510         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33511         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33512         gnu/javax/net/ssl/provider/SSLSocket.java,
33513         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33514         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33515         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33516         gnu/javax/net/ssl/provider/SecurityParameters.java,
33517         gnu/javax/net/ssl/provider/ServerHello.java,
33518         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33519         gnu/javax/net/ssl/provider/Session.java,
33520         gnu/javax/net/ssl/provider/SessionContext.java,
33521         gnu/javax/net/ssl/provider/Signature.java,
33522         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33523         gnu/javax/net/ssl/provider/TLSHMac.java,
33524         gnu/javax/net/ssl/provider/TLSRandom.java,
33525         gnu/javax/net/ssl/provider/Util.java,
33526         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33527         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33528         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33529         gnu/javax/security/auth/Password.java,
33530         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33531         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33532         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33533         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33534         gnu/javax/security/auth/callback/GnuCallbacks.java,
33535         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33536         gnu/java/security/Registry.java,
33537         gnu/java/security/Properties.java,
33538         gnu/java/security/hash/BaseHash.java,
33539         gnu/java/security/hash/HashFactory.java,
33540         gnu/java/security/hash/Haval.java,
33541         gnu/java/security/hash/IMessageDigest.java,
33542         gnu/java/security/hash/MD2.java,
33543         gnu/java/security/hash/MD4.java,
33544         gnu/java/security/hash/MD5.java,
33545         gnu/java/security/hash/RipeMD128.java,
33546         gnu/java/security/hash/RipeMD160.java,
33547         gnu/java/security/hash/Sha160.java,
33548         gnu/java/security/hash/Sha256.java,
33549         gnu/java/security/hash/Sha384.java,
33550         gnu/java/security/hash/Sha512.java,
33551         gnu/java/security/hash/Tiger.java,
33552         gnu/java/security/hash/Whirlpool.java,
33553         gnu/java/security/jce/hash/HavalSpi.java,
33554         gnu/java/security/jce/hash/MD2Spi.java,
33555         gnu/java/security/jce/hash/MD4Spi.java,
33556         gnu/java/security/jce/hash/MD5Spi.java,
33557         gnu/java/security/jce/hash/MessageDigestAdapter.java,
33558         gnu/java/security/jce/hash/RipeMD128Spi.java,
33559         gnu/java/security/jce/hash/RipeMD160Spi.java,
33560         gnu/java/security/jce/hash/Sha160Spi.java,
33561         gnu/java/security/jce/hash/Sha256Spi.java,
33562         gnu/java/security/jce/hash/Sha384Spi.java,
33563         gnu/java/security/jce/hash/Sha512Spi.java,
33564         gnu/java/security/jce/hash/TigerSpi.java,
33565         gnu/java/security/jce/hash/WhirlpoolSpi.java,
33566         gnu/java/security/jce/prng/HavalRandomSpi.java,
33567         gnu/java/security/jce/prng/MD2RandomSpi.java,
33568         gnu/java/security/jce/prng/MD4RandomSpi.java,
33569         gnu/java/security/jce/prng/MD5RandomSpi.java,
33570         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33571         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33572         gnu/java/security/jce/prng/SecureRandomAdapter.java,
33573         gnu/java/security/jce/prng/Sha160RandomSpi.java,
33574         gnu/java/security/jce/prng/Sha256RandomSpi.java,
33575         gnu/java/security/jce/prng/Sha384RandomSpi.java,
33576         gnu/java/security/jce/prng/Sha512RandomSpi.java,
33577         gnu/java/security/jce/prng/TigerRandomSpi.java,
33578         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33579         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33580         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33581         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33582         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33583         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33584         gnu/java/security/jce/sig/SignatureAdapter.java,
33585         gnu/java/security/key/IKeyPairCodec.java,
33586         gnu/java/security/key/IKeyPairGenerator.java,
33587         gnu/java/security/key/KeyPairCodecFactory.java,
33588         gnu/java/security/key/KeyPairGeneratorFactory.java,
33589         gnu/java/security/key/dss/DSSKey.java,
33590         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33591         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33592         gnu/java/security/key/dss/DSSPrivateKey.java,
33593         gnu/java/security/key/dss/DSSPublicKey.java,
33594         gnu/java/security/key/dss/FIPS186.java,
33595         gnu/java/security/key/rsa/GnuRSAKey.java,
33596         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33597         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33598         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33599         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33600         gnu/java/security/prng/BasePRNG.java,
33601         gnu/java/security/prng/EntropySource.java,
33602         gnu/java/security/prng/IRandom.java,
33603         gnu/java/security/prng/LimitReachedException.java,
33604         gnu/java/security/prng/MDGenerator.java,
33605         gnu/java/security/prng/PRNGFactory.java,
33606         gnu/java/security/prng/RandomEvent.java,
33607         gnu/java/security/prng/RandomEventListener.java,
33608         gnu/java/security/sig/BaseSignature.java,
33609         gnu/java/security/sig/ISignature.java,
33610         gnu/java/security/sig/ISignatureCodec.java,
33611         gnu/java/security/sig/SignatureFactory.java,
33612         gnu/java/security/sig/dss/DSSSignature.java,
33613         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33614         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33615         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33616         gnu/java/security/sig/rsa/EMSA_PSS.java,
33617         gnu/java/security/sig/rsa/RSA.java,
33618         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33619         gnu/java/security/sig/rsa/RSAPSSSignature.java,
33620         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33621         gnu/java/security/util/Base64.java,
33622         gnu/java/security/util/ExpirableObject.java,
33623         gnu/java/security/util/Prime2.java,
33624         gnu/java/security/util/Sequence.java,
33625         gnu/java/security/util/SimpleList.java,
33626         gnu/java/security/util/Util.java,
33627         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33628         new files imported from GNU Crypto and Jessie.
33629
33630 2006-01-25  Tom Tromey  <tromey@redhat.com>
33631
33632         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33633         Fixed calculation of number of bytes to read.
33634         (size, count, meta, eof): Document.
33635
33636 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
33637
33638         * java/lang/Character.java:
33639         (codePointCount(char[], int, int)): New API method.
33640         (codePointCount(CharSequence, int, int)): Likewise.
33641   
33642 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33643   
33644         PR 25205
33645         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
33646         Rewritten.
33647         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
33648         action if not editing.
33649         * javax/swing/plaf/basic/BasicTreeUI.java 
33650         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33651         (CellEditorHandler.editingStopped): Delegate to stopEditing.
33652         (EditorUpdateTimer): Removed.
33653         (TreeAction.actionPerformed): Stop and not cancel the current editing 
33654         when starting editing another node.
33655         (editorTimer, newVal): Removed.
33656         (cancelEditing): Do not send the cancel message.
33657         (completeEditing): Obtain the edited value from the editor.
33658         (finish): New method.
33659         (paintRow): Do not paint the editing component here.
33660         (startEditing, stopEditing): Rewritten.
33661         * javax/swing/tree/DefaultTreeCellEditor.java
33662         (DefaultTextField): Added SVUID.
33663         (EditorContainer): Rewritten.
33664         (RealEditorListener): New inner class.
33665         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33666         (constructor): Add cell editor listener. Do not instantiate timer.
33667         (actionPerformed): Return without action.
33668         (cancelCellEditing): Rewritten.
33669         (createTreeCellEditor): Add cell editor listener to the editor.
33670         (getCellEditorValue): Request the value from the realEditor.
33671         (isCellEditable): Removed timer management.
33672         (prepareForEditing): Remove all components befor adding the 
33673         editingComponent.
33674         (startEditingTimer): Start only if it is not null.
33675         (stopCellEditing): Rewritten.
33676         (stopEditingTimer): New method.
33677         (valueChanged): Do not configure editing component here.
33678   
33679 2006-01-25  Roman Kennke  <kennke@aicas.com>
33680   
33681         * javax/swing/text/html/FormView.java: New file.
33682   
33683 2006-01-25  Roman Kennke  <kennke@aicas.com>
33684   
33685         * javax/swing/JSplitPane.java
33686         (addImpl): Call resetToPreferredSizes() when no dividerLocation
33687         has been set in order to set an initial layout.
33688         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33689         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33690         layout of the right component.
33691         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33692         dividerLocation to the size of the left component.
33693         (createDefaultNonContinuousLayoutDivider): Fetch the color from
33694         the UIManager.
33695         (setDividerLocation): Don't validate the location here. Sometimes
33696         the divider needs to be set to an invalid location.
33697         (startDragging): Don't revalidate and repaint here.
33698         (finishDraggingTo): Don't repaint here. Also, don't call
33699         dragDividerTo() here.
33700         * javax/swing/plaf/basic/BasicLookAndFeel.java
33701         (initComponentDefaults): Added SplitPaneDivider.draggingColor
33702         default value.
33703   
33704 2006-01-25  Roman Kennke  <kennke@aicas.com>
33705   
33706         * javax/swing/JSplitPane.java
33707         (addImpl): Removed invalidate() and layout() call.
33708         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33709         (PropertyHandler.propertyChange): Remove layoutContainer() and
33710         repaint() call.
33711   
33712 2006-01-25  Roman Kennke  <kennke@aicas.com>
33713   
33714         * configure.ac
33715         * native/Makefile.am
33716         * native/jni/classpath/Makefile.am
33717         * native/jni/classpath/jcl.c
33718         * native/jni/classpath/jcl.h
33719         * native/jni/classpath/native_state.c
33720         * native/jni/gtk-peer/Makefile.am
33721         * native/jni/java-io/Makefile.am
33722         * native/jni/java-io/java_io_VMFile.c
33723         * native/jni/java-io/java_io_VMObjectStreamClass.c
33724         * native/jni/java-lang/Makefile.am
33725         * native/jni/java-net/Makefile.am
33726         * native/jni/java-net/java_net_VMInetAddress.c
33727         * native/jni/java-net/javanet.c
33728         * native/jni/java-net/javanet.h
33729         * native/jni/java-nio/Makefile.am
33730         * native/jni/java-nio/gnu_java_nio_VMPipe.c
33731         * native/jni/java-nio/gnu_java_nio_VMSelector.c
33732         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33733         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33734         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33735         * native/jni/java-util/Makefile.am
33736         * native/jni/java-util/java_util_VMTimeZone.c
33737         * native/jni/midi-dssi/Makefile.am
33738         * native/jni/xmlj/Makefile.am
33739         * native/target/Makefile.am
33740         * native/target/Linux/target_native_math.h
33741         * native/target/Linux/target_native_memory.h
33742         * native/target/Linux/Makefile.am
33743         * native/target/Linux/target_native_io.h
33744         * native/target/Linux/target_native_math_float.h
33745         * native/target/Linux/target_native_math_int.h
33746         * native/target/generic/target_generic.c
33747         * native/target/generic/target_generic_io.c
33748         * native/target/generic/target_generic_math.h
33749         * native/target/generic/target_generic_memory.h
33750         * native/target/generic/target_generic_misc.c
33751         * native/target/generic/target_generic_network.c
33752         * native/target/generic/Makefile.am
33753         * native/target/generic/target_generic.h
33754         * native/target/generic/target_generic_file.h
33755         * native/target/generic/target_generic_io.h
33756         * native/target/generic/target_generic_math_float.h
33757         * native/target/generic/target_generic_math_int.h
33758         * native/target/generic/target_generic_misc.h
33759         * native/target/generic/target_generic_network.h:
33760         Reverted target native related changes back to the state of the
33761         0.20 release.
33762         * native/target/MinGW/.cvsignore
33763         * native/target/MinGW/Makefile.am
33764         * native/target/MinGW/target_native.h
33765         * native/target/MinGW/target_native_file.h
33766         * native/target/MinGW/target_native_io.h
33767         * native/target/MinGW/target_native_math.h
33768         * native/target/MinGW/target_native_memory.h
33769         * native/target/MinGW/target_native_misc.h
33770         * native/target/MinGW/target_native_network.h
33771         * native/target/RTEMS/.cvsignore
33772         * native/target/RTEMS/Makefile.am
33773         * native/target/RTEMS/target_native.h
33774         * native/target/RTEMS/target_native_file.h
33775         * native/target/RTEMS/target_native_io.h
33776         * native/target/RTEMS/target_native_math.h
33777         * native/target/RTEMS/target_native_memory.h
33778         * native/target/RTEMS/target_native_misc.h
33779         * native/target/RTEMS/target_native_network.h
33780         * native/target/SunOS/.cvsignore
33781         * native/target/SunOS/Makefile.am
33782         * native/target/SunOS/target_native.h
33783         * native/target/SunOS/target_native_file.h
33784         * native/target/SunOS/target_native_io.h
33785         * native/target/SunOS/target_native_math.h
33786         * native/target/SunOS/target_native_memory.h
33787         * native/target/SunOS/target_native_misc.h
33788         * native/target/SunOS/target_native_network.h
33789         * native/target/embOS/.cvsignore
33790         * native/target/embOS/Makefile.am
33791         * native/target/embOS/target_native.h
33792         * native/target/embOS/target_native_file.h
33793         * native/target/embOS/target_native_io.c
33794         * native/target/embOS/target_native_io.h
33795         * native/target/embOS/target_native_math.h
33796         * native/target/embOS/target_native_memory.h
33797         * native/target/embOS/target_native_misc.h
33798         * native/target/embOS/target_native_network.h
33799         * native/target/posix/.cvsignore
33800         * native/target/posix/Makefile.am
33801         * native/target/posix/target_posix.c
33802         * native/target/posix/target_posix.h
33803         * native/target/posix/target_posix_file.c
33804         * native/target/posix/target_posix_file.h
33805         * native/target/posix/target_posix_io.c
33806         * native/target/posix/target_posix_io.h
33807         * native/target/posix/target_posix_math.c
33808         * native/target/posix/target_posix_math.h
33809         * native/target/posix/target_posix_memory.c
33810         * native/target/posix/target_posix_memory.h
33811         * native/target/posix/target_posix_misc.c
33812         * native/target/posix/target_posix_misc.h
33813         * native/target/posix/target_posix_network.c
33814         * native/target/posix/target_posix_network.h:
33815         Removed.
33816   
33817 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33818   
33819         * javax/print/PrintService.java,
33820         * javax/print/DocPrintJob.java,
33821         * javax/print/CancelablePrintJob.java:
33822         Added and enhanced api documentation for class and methods.             
33823
33824 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
33825
33826         * javax/print/SimpleDoc.java: Make class final.
33827         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
33828         * javax/print/attribute/DateTimeSyntax.java: 
33829         (toString): New overridden method.
33830         * javax/print/attribute/standard/JobStateReasons.java:
33831         (add): Use the super.add method to avoid recursion.
33832         * javax/print/attribute/standard/PrinterStateReasons.java: 
33833         (put): Use the super.put method to avoid recursion.
33834
33835 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
33836
33837         * java/beans/XMLEncoder.java:
33838         (writeExpression): Added early return (fixes PR #25941).
33839         (setExceptionListener, anonymous Class): Removed printStackTrace
33840         call.
33841         * java/beans/Encoder: Removed unused imports.
33842         (setupDefaultPersistenceDelegates): Removed unneccessary
33843         PersistenceDelegates for subclasses.
33844         * java/beans/PersistenceDelegate:
33845         (initialize): Use local variable as first argument as it was
33846         intended once.
33847         * java/beans/DefaultPersistenceDelegate:
33848         (initialize): Added call to superclass' implementation, added
33849         early return.
33850   
33851 2006-01-24  Tom Tromey  <tromey@redhat.com>
33852   
33853         * java/util/regex/PatternSyntaxException.java: Added @since.
33854         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
33855         * java/util/regex/MatchResult.java: New file.
33856   
33857 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33858   
33859         * javax/swing/text/StringContent.java: Added API docs all over, plus 
33860         minor reformatting.
33861   
33862 2006-01-24  Gary Benson  <gbenson@redhat.com>
33863   
33864         * java/net/SocketPermission.java: Implemented serialization.
33865   
33866 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
33867   
33868         * javax/swing/text/StringContent.java
33869         (remove): Modified argument check to prevent removal of last character,
33870         (getChars): Removed null argument check to allow NullPointerException,
33871         added API docs,
33872         (checkLocation): Added API docs and white space.
33873   
33874 2006-01-23  Lillian Angel  <langel@redhat.com>
33875   
33876         * javax/swing/text/DefaultStyledDocument.java
33877         (insertUpdate): Should only call createFracture with 
33878         StartTagType. Added check.
33879         (insertContentTag): Should use the tags length for splitting.
33880         Also, added a check to determine if current's start and end offset are
33881         equal to the offset and endOffset. If so, only one leaf element
33882         should be added. 
33883         (createFracture): Removed FIXME. This function is complete.
33884         (split): Added calls to replace. Changed so the child is 
33885         added immediately to the paragraph. Prevents NPEs.
33886
33887 2006-01-23  Mark Wielaard  <mark@klomp.org>
33888
33889         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
33890
33891 2006-01-23  Tom Tromey  <tromey@redhat.com>
33892
33893         * gnu/java/security/x509/X509Certificate.java (parse):
33894         Unconditionally read value; for version==1 case when reading
33895         algorithm ID.
33896
33897 2006-01-23  Roman Kennke  <kennke@aicas.com>
33898
33899         * javax/swing/plaf/synth/ColorType.java,
33900         * javax/swing/plaf/synth/Region.java,
33901         * javax/swing/plaf/synth/SynthConstants.java,
33902         * javax/swing/plaf/synth/SynthContext.java
33903         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
33904         * javax/swing/plaf/synth/SynthLookAndFeel.java,
33905         * javax/swing/plaf/synth/SynthPainter.java,
33906         * javax/swing/plaf/synth/SynthStyle.java,
33907         * javax/swing/plaf/synth/SynthStyleFactory.java,
33908         * javax/swing/plaf/synth/package.html:
33909         New files. Added the public API and framework classes for the
33910         Synth look and feel.
33911   
33912 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
33913   
33914         * javax/swing/text/Segment.java: API docs all over.
33915   
33916 2006-01-23  Lillian Angel  <langel@redhat.com>
33917   
33918         * javax/swing/text/DefaultStyledDocument.java
33919         (split): Should not use createLeafElement and createBranchElement here.
33920         We should just instaniate the LeafElements and BranchElements instead 
33921         to avoid the case where create*Element is overridden.
33922   
33923 2006-01-23  Lillian Angel  <langel@redhat.com>
33924   
33925         * javax/swing/text/DefaultStyledDocument.java
33926         (insertFirstContentTag): Moved check outside of if-statement.
33927         This should be checked before creating the new leaf element.
33928         (insertFracture): Fixed check to prevent an NPE. The previous
33929         leaf should only be recreated if it has been created by
33930         insertFirstContentTag. Also, fixed up code: if the endOffset is
33931         greater than the offset, then we need to create a temp leaf
33932         as a place holder. Otherwise, the leaf elements should be
33933         created normally.
33934   
33935 2006-01-23  Gary Benson  <gbenson@redhat.com>
33936   
33937         * java/net/SocketPermission.java: Almost completely rewritten.
33938   
33939 2006-01-23  Lillian Angel  <langel@redhat.com>
33940         
33941         * javax/swing/text/DefaultStyledDocument.java
33942         (insertFracture): Set temp leaf's attributes to prevent an NPE.
33943   
33944 2006-01-23  Lillian Angel  <langel@redhat.com>
33945   
33946         * javax/swing/text/DefaultStyledDocument.java:
33947         Formatted ElementBuffer and added new fields.
33948         (remove): Added check to determine if length is 0.
33949         (insertFirstContentTag): Initialized firstCreated to the element that is created 
33950         by the first tag encountered. Removed check in JoinPreviousDirection case, no
33951         longer needed. In OriginateDirection case, added a loop to remove all old leafs
33952         that have been recreated.
33953         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
33954         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
33955         FIXME tags to the lines that need to be rewritten.      
33956
33957 2006-01-23  Mark Wielaard  <mark@klomp.org>
33958
33959         * examples/Makefile.am: Add support for fastjar.
33960
33961 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33962
33963         * gnu/regexp/REToken.java(empty): Made Cloneable.
33964         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
33965         Use separate methods matchN and matchP depending on the
33966         boolean negative.
33967         (matchN): New method used when negative. Done as before.
33968         (matchP): New method used when not negative. Each token is
33969         tried not by itself but by a clone of it.
33970
33971 2006-01-23  Chris Burdess  <dog@gnu.org>
33972
33973         Fixes bug #25906
33974         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
33975           class to avoid getLength method contention.
33976         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
33977
33978 2006-01-23  Chris Burdess  <dog@gnu.org>
33979
33980         * native/jni/java-util/Makefile.am: Include library required
33981           explicitly by BSD systems.
33982         * native/target/generic/target_generic_misc.h: Remove old commented
33983           out code.
33984         * native/target/generic/target_generic_network.h: Fallbacks (to
33985           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
33986
33987 2006-01-22  Tom Tromey  <tromey@redhat.com>
33988
33989         * native/target/posix/.cvsignore: Added .deps.
33990
33991 2006-01-22  Mark Wielaard  <mark@klomp.org>
33992
33993         Fixes bug #25832,
33994         reported by James Damour <James.Damour@corp.request.com>
33995         * java/awt/Container.java (addImpl): Use empty string as name when
33996         null constraints for LayoutManager.addLayoutComponent().
33997
33998 2006-01-22  Chris Burdess  <dog@gnu.org>
33999
34000         Fixes bug #25903
34001         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34002           representing current directory as base for relative URLs.
34003
34004 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34005
34006         Fixes bug #25837
34007         * gnu/regexp/REMatch.java(empty): New boolean indicating
34008         an empty string matched.
34009         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34010         string matched.
34011         (initialize): Support back reference \10, \11, and so on.
34012         (parseInt): renamed from getEscapedChar and returns int.
34013         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34014         when an empty string matched. Fixed a bug of the case where
34015         an empty string matched. Added special handling of {0}.
34016         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34017         when an empty string matched. Fixed the case insensitive matching.
34018   
34019 2006-01-21  Roman Kennke  <kennke@aicas.com>
34020   
34021         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34022         (paint): Added painting of border if one is installed.
34023   
34024 2006-01-21  Roman Kennke  <kennke@aicas.com>
34025   
34026         PR classpath/25843:
34027         * javax/swing/plaf/basic/BasicBorders.java
34028         (getSplitPaneDividerBorder): Use new border constructor
34029         without arguments.
34030         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34031         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34032         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34033         colors are fetched dynamically in the paintBorder method.
34034         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34035         the look and feel.
34036         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34037         unconditionally.
34038         * javax/swing/plaf/basic/BasicLookAndFeel.java
34039         (initComponentDefaults): Added default for SplitPaneDivider.border.
34040         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34041         (tmpBorder): Removed unneeded inner class.
34042         (BasicSplitPaneDivider): Removed setting of border.
34043         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34044         itself.
34045         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34046         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34047         to get behaviour right.
34048         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34049         implementation. This must be rewritten since the layout now works
34050         slightly different (basically, it shouldn't modify the sizes[]
34051         here but instead the dividerLocation.
34052         (dividerLocation): New field.
34053         (installDefaults): Initialize border on divider.
34054         (uninstallDefaults): Only remove background color and border from
34055         splitPane if they are instances of UIDefaults (== not set by
34056         application).
34057         (setDividerLocation): Set the dividerLocation field instead of
34058         doing stunt acts here.
34059         (getDividerLocation): Return dividerLocation field.
34060         (getMinimumDividerLocation): Fixed calculation of minimum location.
34061         
34062 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34063   
34064         * m4/acinclude.m4
34065         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34066   
34067         * lib/Makefile.am: Likewise. 
34068   
34069 2006-01-21  Roman Kennke  <kennke@aicas.com>
34070   
34071         * javax/swing/PopupFactory.java
34072         (getPopup): If there is no Swing root found in any way, use a
34073         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34074         for the Swing AWT peers.
34075   
34076 2006-01-20  Tom Tromey  <tromey@redhat.com>
34077   
34078         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34079         Read response body for redirect.
34080   
34081 2006-01-20  Chris Burdess  <dog@gnu.org>
34082   
34083         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34084           redirects on 304.
34085   
34086 2006-01-20  Lillian Angel  <langel@redhat.com>
34087   
34088         * javax/swing/text/DefaultStyledDocument.java
34089         (pad): Removed, not needed.
34090         (printElements): Likewise.
34091         (printEdit): Likewise.
34092   
34093 2006-01-20  Roman Kennke  <kennke@aicas.com>
34094   
34095         * javax/swing/text/DefaultFormatter.java
34096         (DefaultFormatter): Don't set a value class.
34097   
34098 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34099   
34100         * javax/swing/DefaultCellEditor.java: Commented.
34101   
34102 2006-01-19  Roman Kennke  <kennke@aicas.com>
34103   
34104         * javax/swing/JOptionPane.java
34105         Added cast to Frame for JDialog constructor.
34106   
34107 2006-01-19  Roman Kennke  <kennke@aicas.com>
34108   
34109         * javax/swing/JWindow.java
34110         (JWindow(Window)): Fixed to accept null owner argument.
34111         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34112         owner argument.
34113         * javax/swing/SwingUtilities.java
34114         (getOwnerFrame): Owner parameter and return value are fixed to
34115         be of type Window for compatibity with the above JWindow
34116         constructor.
34117         * javax/swing/JDialog.java
34118         (JDialog): Added cast to Frame to make sure the correct constructor
34119         is called.
34120         * javax/swing/JFileChooser.java
34121         (createDialog): Added cast to Frame for JDialog constructor.
34122   
34123 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34124   
34125         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34126   
34127 2006-01-19  Roman Kennke  <kennke@aicas.com>
34128   
34129         * javax/swing/JWindow.java: Added API docs to the constructors.
34130   
34131 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34132   
34133         * javax/swing/JTable.java: Commenting method headers.
34134         (EditorUpdateTimer): Removed.
34135   
34136 2006-01-19  Roman Kennke  <kennke@aicas.com>
34137   
34138         * javax/swing/JDialog.java
34139         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34140         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34141         SwingUtilities.getOwnerFrame() with the owner argument.
34142         * javax/swing/JFileChooser.java
34143         (showOpenDialog(Component)): Call pack() on the dialog instead of
34144         setting a fixed height.
34145         (showSaveDialog()): Likewise.
34146         (showDialog()): Likewise.
34147         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34148         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34149         with null.
34150         * javax/swing/JWindow.java
34151         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34152         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34153         argument.
34154         * javax/swing/SwingUtilities.java
34155         (getOwnerFrame): Changed to take a owner parameter that is returned
34156         as owner frame when not null.
34157   
34158 2006-01-19  Roman Kennke  <kennke@aicas.com>
34159   
34160         * gnu/java/awt/peer/swing/SwingFramePeer.java
34161         (handleMouseEvent): Fixed handling of mouse events.
34162         (handleMouseMotionEvent): Fixed handling of mouse events.
34163
34164 2006-01-19  Roman Kennke  <kennke@aicas.com>
34165
34166         * native/target/generic/target_generic_misc.c:
34167         (targetGenericMisc_formatString): Added missing method.
34168
34169 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34170
34171         * m4/acinclude.m4: Test also for ecj found before exiting configure
34172         with no javac found error message. 
34173
34174 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34175
34176         Fixes bug #23212
34177         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34178         \0123, \x1B, \u1234.
34179         (getEscapedChar): New method.
34180         (CharExpression): New inner class.
34181         (getCharExpression): New Method.
34182         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34183         RE_UNICODE_CHAR): New syntax bits.
34184
34185 2006-01-19  Roman Kennke  <kennke@aicas.com>
34186
34187         * native/target/Makefile.am: Fixed so that posix stuff is really
34188         only built when requested.
34189
34190 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34191
34192         * javax/swing/JTable.java (editingStopped, editingCancelled):
34193         Repaint the edited cell.
34194         (setValueAt): Do not add the value object to this container.
34195         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34196         (editingStopped): Use editingRow, editingColumn and not
34197         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34198         (doLayout): Move the editor component, if present, into the new
34199         location and call repaint(). (moveToCellBeingEdited): new method.
34200         (TableTextField): new inner class.
34201         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34202         (setValueAt): Repaint the changed segment.
34203         (createDefaultEditors): Implemented.
34204         (BooleanCellRenderer): Center the checkbox and use the default foreground
34205         and background colors.   
34206         * javax/swing/plaf/basic/BasicTableUI.java
34207         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34208         (paint): No need to allocate rectangle for each cell.   
34209         * javax/swing/DefaultCellEditor.java: Rewritten.         
34210         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34211         Use TableDemo.java table example.
34212         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34213
34214 2006-01-19  Roman Kennke  <kennke@aicas.com>
34215
34216         * configure.ac: Added/fixed --enable-posix-layer option to enable
34217         build of posix layer.
34218         * native/target/Makefile.am: Added build for posix layer.
34219
34220 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34221
34222         * configure.ac: Set TARGET to Linux per default.
34223         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34224         libtargetos.la.
34225         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34226         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34227         AM_CPPFLAGS.
34228         
34229 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34230
34231         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34232           what looked like proprietary documentation with original or new one.
34233         * java/security/spec/PSSParameterSpec.java: Likewise.
34234         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34235         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34236         * java/security/AlgorithmParameterGenerator.java: Likewise.
34237         * java/security/AlgorithmParameters.java: Likewise.
34238         * java/security/Identity.java: Likewise.
34239         * java/security/IdentityScope.java: Likewise.
34240         * java/security/KeyFactory.java: Likewise.
34241         * java/security/KeyPairGenerator.java: Likewise.
34242         * java/security/MessageDigest.java: Likewise.
34243         * java/security/Policy.java: Likewise.
34244         * java/security/ProtectionDomain.java: Likewise.
34245         * java/security/Security.java: Likewise.
34246         * java/security/Signature.java: Likewise.
34247         * java/security/SignatureSpi.java: Likewise.
34248         * java/security/SignedObject.java: Likewise.
34249         * java/security/Signer.java: Likewise.
34250   
34251 2006-01-18  Roman Kennke  <kennke@aicas.com>
34252   
34253         * configure.ac: Added --enable-posix-layer option to enable
34254         build of the posix target layer.
34255   
34256 2006-01-18  Roman Kennke  <kennke@aicas.com>
34257   
34258         * native/jni/java-net/java_net_VMInetAddress.c
34259         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34260         for INADDR_ANY.
34261   
34262 2006-01-18  Roman Kennke  <kennke@aicas.com>
34263   
34264         * native/jni/java-util/java_util_VMTimeZone.c:
34265         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34266         to use target native layer.
34267         (jint_to_charbuf): Removed unneeded helper function.
34268   
34269 2006-01-18  Roman Kennke  <kennke@aicas.com>
34270   
34271         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34272         Removed unnecessary include.
34273         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34274         Reorganized includes to only include sys/* headers when available.
34275         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34276         (get_pagesize): Return 0 when nothing else works.
34277         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34278         Replaced munmap() and strerror() with corresponding target macros.
34279         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34280         Replaced strerror() with corresponding target macro.
34281         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34282         Replaced strerror() with corresponding target macro.
34283         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34284         (Java_java_nio_VMDirectByteBuffer_allocate):
34285         Replaced malloc() with the corresponding target macro.
34286         (Java_java_nio_VMDirectByteBuffer_free):
34287         Replaced free() with the corresponding target macro.
34288         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34289         Add index to pointer when assigning the value.
34290         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34291         Replaced memcpy with corresponding target macro. Add index when
34292         doing the memcpy, not when fetching the pointer.
34293         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34294         Replaced memcpy with corresponding target macro.
34295         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34296         Replaced memmove with the corresponding target macro.
34297
34298 2006-01-17  Tom Tromey  <tromey@redhat.com>
34299
34300         PR classpath/20198:
34301         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34302         (JarURLLoader): Likewise.
34303         (addURLImpl): Canonicalize file URLs.
34304
34305 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34306
34307         * configure.ac: Set TARGET.
34308         * native/Makefile.am, native/jni/classpath/Makefile.am,
34309         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34310         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34311         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34312         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34313         native/target/Linux/Makefile.am,
34314         native/target/generic/Makefile.am,
34315         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34316         and target stuff linked in and link it against lib*.so libraries.
34317
34318 2006-01-17  Roman Kennke  <kennke@aicas.com>
34319
34320         * native/jni/java-net/javanet.c:
34321         (_javanet_connect): Changed type of some local variables to jint.
34322         Fixed error handling to throw a SocketTimeoutException if the
34323         connection attempt times out.
34324         (_javanet_bind): Changed type of some local variables to jint.
34325         (_javanet_accept): Likewise.
34326         (_javanet_recvfrom): Likewise.
34327         (_javanet_sendto): Fixed error handling to throw a
34328         PortUnreachableException when connection is refused.
34329         (_javanet_get_option): Changed type of some local variables to jint.
34330         Implemented SOCKOPT_SO_BROADCAST.
34331         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34332         target native macro.
34333         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34334         target native macro.
34335         * native/jni/java-net/javanet.h:
34336         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34337         SOCKOPT_SO_BROADCAST.
34338   
34339 2006-01-17  Lillian Angel  <langel@redhat.com>
34340   
34341         * javax/swing/text/DefaultStyledDocument.java
34342         (insert): Cleaned up loop. No need to make so many calls
34343         to getAddedElements and getRemovedElements.
34344         (insertFracture): Removed unneeded array.
34345   
34346 2006-01-17  Lillian Angel  <langel@redhat.com>
34347         
34348         * javax/swing/text/JTextComponent.java
34349         (AccessibleJTextComponent): Implemented.
34350         (getCaretPosition): Implemented.
34351         (getSelectedText): Implemented.
34352         (getSelectionStart): Implemented.
34353         (getSelectionEnd): Implemented.
34354         (getSelectionEnd): Implemented.
34355         (getCharCount): Implemented.
34356         (insertTextAtIndex): Implemented.
34357         (getTextRange): Implemented.
34358         (delete): Implemented.
34359         (cut): Implemented.
34360         (paste): Implemented.
34361         (replaceText): Implemented.
34362         (selectText): Implemented.
34363   
34364 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34365   
34366         * javax/swing/text/DefaultStyledDocument.java:
34367         (pad): New debugging method.
34368         (printElements): Likewise.
34369         (printPendingEdits): Likewise.
34370         (printElement): Likewise.
34371         (Edit): Improved docs, moved this class to be an inner class of
34372         ElementBuffer since it only applies within that scope.  Changed added 
34373         and removed to be Vectors instead of arrays because we need to be able 
34374         to add to them after construction.
34375         (ElementBuffer): Updated docs with link to article that helped in this
34376         classes implementation.
34377         (ElementBuffer.Edit.getRemovedElements): New method.
34378         (ElementBuffer.Edit.getAddedElements): Likewise.
34379         (ElementBuffer.Edit.addRemovedElement): Likewise.
34380         (ElementBuffer.Edit.addRemovedElements): Likewise.
34381         (ElementBuffer.Edit.addAddedElement): Likewise.
34382         (ElementBuffer.Edit.addAddedElements): Likewise.
34383         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34384         addAddedElements.
34385         (ElementBuffer.getEditForParagraphAndIndex): New method.
34386         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34387         BranchElement.  Corrected style of adding the edit to use the new Edit
34388         facilities.
34389         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34390         the new Edit facilities.
34391         (ElementBuffer.split): Likewise.
34392         (ElementBuffer.insertParagraph): Likewise.
34393         (ElementBuffer.insertContentTag): Likewise.
34394         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34395         not just the root and the first one. Apply the structural changes to 
34396         the tree at the same time as updating the DocumentEvent.
34397         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34398         handling of EndTags as the first ElementSpec.  Instead have to handle
34399         ContentTags as a special case if they are the first ElementSpec and if
34400         not have to fracture the tree.
34401         (ElementBuffer.createFracture): New method.  May not be complete yet.
34402         Added FIXME indicating what may remain to be done.
34403         (ElementBuffer.insertFirstContentTag): New method.
34404         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34405         be done.  Changed the adding of edits to use the new Edit facilities.
34406         Removed the adding of edits for Elements that weren't in the tree prior
34407         to the insertion.
34408         (insertUpdate): Removed incorrect condition for setting a StartTag's
34409         direction to JoinNextDirection.
34410         * javax/swing/text/StyleContent.java: 
34411         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34412         that was causing an ArrayOutOfBoundsException.
34413   
34414 2006-01-17  Roman Kennke  <kennke@aicas.com>
34415   
34416         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34417         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34418         exception messages a little.
34419         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34420         alternative implementation for systems without filesystems.
34421         Replaced snprintf with the corresponding target native macro.
34422         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34423         Only do something when we have a filesystem.
34424         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34425         alternative implementation for systems without filesystems.
34426         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34427         alternative implementation for systems without filesystems.
34428         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34429         alternative implementation for systems without filesystems.
34430         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34431         Only do something when we have a filesystem.
34432         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34433         Only do something when we have a filesystem.
34434         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34435         alternative implementation for systems without filesystems.
34436         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34437         Replaced ssize_t variables with jint. Provided
34438         alternative implementation for systems without filesystems.
34439         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34440         Replaced ssize_t variables with jint. Provided
34441         alternative implementation for systems without filesystems.
34442         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34443         Replaced ssize_t variables with jint. Provided
34444         alternative implementation for systems without filesystems.
34445         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34446         Only do something when we have a filesystem.
34447         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34448         Replaced ssize_t variables with jint. Provided
34449         alternative implementation for systems without filesystems.
34450         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34451         to use the corresponding target native macro.
34452         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34453         to use the corresponding target native macro.
34454   
34455 2006-01-17  Lillian Angel  <langel@redhat.com>
34456   
34457         * javax/swing/text/DefaultTextUI.java:
34458         Added deprecated tag.
34459         * javax/swing/text/JTextComponent.java
34460         (AccessibleJTextComponent): Fixed API doc and
34461         partiall9 implemented.
34462         (getCaretPosition): Fixed API doc and implemented.
34463         (getSelectedText): Fixed API doc.
34464         (getSelectionStart): Likewise.
34465         (getSelectionEnd): Likewise.
34466         (caretUpdate): Fixed API doc and
34467         partially implemented.
34468         (getAccessibleStateSet): Likewise.
34469         (getAccessibleRole): Fixed API doc and implemented.
34470         (getAccessibleEditableText): Implemented.
34471         (getAccessibleText): Fixed API doc and implemented.
34472         (insertUpdate): Fixed API doc.
34473         (changedUpdate): Likewise.
34474         (getIndexAtPoint): Likewise.
34475         (getRootEditorRect): Removed.
34476         (getCharacterBounds): Fixed API doc.
34477         (getCharCount): Likewise.
34478         (getCharacterAttribute): Likewise.
34479         (getAtIndex): Likewise.
34480         (getAfterIndex): Likewise.
34481         (getBeforeIndex): Likewise.
34482         (getAccessibleActionCount): Added function stub.
34483         (getAccessibleActionDescription): Added function,
34484         partially implemented.
34485         (doAccessibleAction): Added function stub.
34486         (setTextContents): Likewise.
34487         (insertTextAtIndex): Likewise.
34488         (delete): Likewise.
34489         (cut): Likewise.
34490         (paste): Likewise.
34491         (replaceText): Likewise.
34492         (selectText): Likewise.
34493         (setAttributes): Likewise.
34494         (getAccessibleContext): Implemented.
34495   
34496 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34497   
34498         Fixes bug #25817
34499         * gnu/regexp/RETokenRange.java(constructor):
34500         Keep lo and hi as they are.
34501         (match): Changed the case insensitive comparison.
34502   
34503 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34504   
34505         * gnu/regexp/RETokenChar.java(chain):
34506         Do not concatenate tokens whose insens flags are diffent.
34507   
34508 2006-01-17  Roman Kennke  <kennke@aicas.com>
34509   
34510         * native/target/generic/target_generic_network.c:
34511         (targetGenericNetwork_receive): Fixed signature to match the
34512         corresponding .h file.
34513         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34514         to match the corresponding .h file.
34515   
34516 2006-01-17  Roman Kennke  <kennke@aicas.com>
34517   
34518         * native/jni/classpath/jcl.c:
34519         (JCL_malloc): Replaced calls to malloc with the corresponding
34520         target layer macro.
34521         (JCL_free): Replaced calls to free with the corresponding
34522         target layer macro.
34523         * native/jni/classpath/native_state.c:
34524         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34525         calloc with the corresponding target layer macro.
34526         (remove_node): Replaced calls to free with the corresponding
34527         target layer macro.
34528         (add_node): Replaced calls to malloc with the corresponding
34529         target layer macro.
34530
34531 2006-01-17  Roman Kennke  <kennke@aicas.com>
34532
34533         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34534         (getFieldReference): Use MALLOC/FREE macros for portability instead
34535         of direct call to malloc() and free().
34536
34537 2006-01-17  Roman Kennke  <kennke@aicas.com>
34538
34539         * native/jni/classpath/jcl.c: Added missing imports.
34540         (JCL_realloc): Fixed signature to include oldsize. This is needed
34541         for some targets. Make this function use the MEMORY_REALLOC macro
34542         for portability.
34543         * native/jni/classpath/jcl.h
34544         (JCL_realloc): Adjusted signature.
34545         * native/jni/java-io/java_io_VMFile.c:
34546         (Java_java_io_VMFile_create): Use target layer macro for handling
34547         errno, for portability.
34548         (Java_java_io_VMFile_length): Release filename string in error cases
34549         before returning.
34550         (Java_java_io_VMFile_list): Initialize filename variable. Use new
34551         version of JCL_realloc.
34552         * native/jni/java-net/java_net_VMInetAddress.c:
34553         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34554         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34555         * native/jni/java-net/javanet.c:
34556         (_javanet_bind): Make errorstr variable const to avoid compiler
34557         warning.
34558         (_javanet_set_option): Fixed typo.
34559         (_javanet_get_option): Fixed typo.
34560         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34561         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34562         error_string variable const to avoid compiler warning.
34563         * native/target/generic/target_generic_file.h:
34564         Replaced // comments with /* */ comments to avoid compiler warnings.
34565         Added some spaces to make code better readable.
34566         * native/target/generic/target_generic_memory.h:
34567         Replaced // comments with /* */ comments to avoid compiler warnings.
34568         * native/target/generic/target_generic_misc.c:
34569         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34570         compiler warnings due to use of varargs.
34571         * native/target/generic/target_generic_misc.h:
34572         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34573         compiler warnings due to use of varargs.
34574         * native/target/generic/target_generic_network.h:
34575         Replaced // comments with /* */ comments to avoid compiler warnings.
34576         (targetGenericNetwork_receive): Fixed signature to use signed chars
34577         for buffer parameter to avoid warning when passing a jbyte to the
34578         function.
34579   
34580 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
34581   
34582         * javax/swing/text/StyleConstants.java
34583         (getAlignment): Removed isDefined() check, so that resolving parent is 
34584         used for lookup,
34585         (getBackground): Likewise, plus changed default value to Color.BLACK,
34586         (getBidiLevel): Removed isDefined() check,
34587         (getComponent): Likewise,
34588         (getFirstLineIndent): Likewise,
34589         (getFontFamily): Likewise,
34590         (getFontSize): Likewise,
34591         (getForeground): Likewise,
34592         (getIcon): Likewise,
34593         (getLeftIndent): Likewise,
34594         (getLineSpacing): Likewise,
34595         (getRightIndent): Likewise,
34596         (getSpaceAbove): Likewise,
34597         (getSpaceBelow): Likewise,
34598         (getTabSet): Likewise,
34599         (isBold): Likewise,
34600         (isItalic): Likewise,
34601         (isStrikeThrough): Likewise,
34602         (isSubscript): Likewise,
34603         (isSuperscript): Likewise,
34604         (isUnderline): Likewise.
34605
34606 2006-01-17  Gary Benson  <gbenson@redhat.com>
34607
34608         * java/lang/System.java (setSecurityManager): Catch
34609         ClassNotFoundException not Throwable.
34610
34611 2006-01-16  Anthony Green  <green@redhat.com>
34612
34613         PR classpath/25803
34614         * gnu/java/net/protocol/http/Request.java
34615           (createResponseBodyStream): Remove Content-Encoding for
34616           compressed streams.
34617   
34618 2006-01-16  Chris Burdess  <dog@gnu.org>
34619   
34620         * gnu/xml/stream/XMLParser.java,
34621           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34622           XMLStreamWriter arguments for conformance to the XML specifications.
34623         * gnu/xml/transform/Stylesheet.java,
34624           gnu/xml/transform/Template.java,
34625           gnu/xml/transform/TransformerImpl.java,
34626           gnu/xml/xpath/LangFunction.java,
34627           gnu/xml/xpath/Selector.java: better handling of template priorities;
34628           fix indents when pretty-printing; recursive tests for xml:lang.
34629         * gnu/xml/util/XHTMLWriter.java,
34630           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34631
34632 2006-01-16  Roman Kennke  <kennke@aicas.com>
34633
34634         * native/target/MinGW/.cvsignore: New file.
34635         * native/target/RTEMS/.cvsignore: New file.
34636         * native/target/SunOS/.cvsignore: New file.
34637         * native/target/embOS/.cvsignore: New file.
34638         * native/target/posix/.cvsignore: New file.
34639
34640 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34641
34642         * javax/swing/text/StyleConstants.java: Updated API docs all over.
34643
34644 2006-01-16  Roman Kennke  <kennke@aicas.com>
34645
34646         * configure.ac: Include new target native directories in build.
34647
34648 2006-01-16  Roman Kennke  <kennke@aicas.com>
34649
34650         * native/target/generic/target_generic_file.h: Added missing
34651         include.
34652         * native/target/generic/target_generic_network.c: Fixed several
34653         typos and includes.
34654         * native/target/generic/target_generic_network.h: Likewise.
34655
34656 2006-01-16  Roman Kennke  <kennke@aicas.com>
34657
34658         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34659         to include the new targets.
34660         * native/target/posix/Makefile.am: Fixed filenames.
34661
34662 2006-01-16  Roman Kennke  <kennke@aicas.com>
34663
34664         * native/target/Makefile.am: Include new targets.
34665         * native/target/Linux/Makefile.am: Include new memory layer.
34666         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34667         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34668         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34669         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34670         * native/target/generic/Makefile.am: Include new memory and math
34671         layer.
34672         * native/target/posix/Makefile.am: New file. Includes posix in dist.
34673   
34674 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34675   
34676         Fixes bug #22884
34677         * gnu/regexp/RE.java(initialize): Parse embedded flags.
34678         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34679   
34680 2006-01-16  Roman Kennke  <kennke@aicas.com>
34681   
34682         * native/target/generic/target_generic_network.c: Fixed typo.
34683         * native/target/generic/target_generic_network.h: Fixed typo.
34684   
34685 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
34686   
34687         * doc/vmintegration.texinfo: Updated subsection of the
34688         java.lang.InstrumentationImpl documentation.
34689   
34690 2006-01-16  Roman Kennke  <kennke@aicas.com>
34691   
34692         * native/target/RTEMS/target_native.h,
34693         * native/target/RTEMS/target_native_file.h,
34694         * native/target/RTEMS/target_native_io.h,
34695         * native/target/RTEMS/target_native_math.h,
34696         * native/target/RTEMS/target_native_memory.h,
34697         * native/target/RTEMS/target_native_misc.h,
34698         * native/target/RTEMS/target_native_network.h:
34699         New files. Implement the target native layer for the RTEMS platform.
34700   
34701 2006-01-16  Roman Kennke  <kennke@aicas.com>
34702   
34703         * native/target/SunOS/target_native.h,
34704         * native/target/SunOS/target_native_file.h,
34705         * native/target/SunOS/target_native_io.h,
34706         * native/target/SunOS/target_native_math.h,
34707         * native/target/SunOS/target_native_memory.h,
34708         * native/target/SunOS/target_native_misc.h,
34709         * native/target/SunOS/target_native_network.h:
34710         New files. Implement the target native layer for the SunOS platform.
34711   
34712 2006-01-16  Roman Kennke  <kennke@aicas.com>
34713   
34714         * native/target/MinGW/target_native.h,
34715         * native/target/MinGW/target_native_file.h,
34716         * native/target/MinGW/target_native_io.h,
34717         * native/target/MinGW/target_native_math.h,
34718         * native/target/MinGW/target_native_memory.h,
34719         * native/target/MinGW/target_native_misc.h,
34720         * native/target/MinGW/target_native_network.h:
34721         New files. Implement the target native layer for the MinGW
34722         platform.
34723   
34724 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34725   
34726         PR 25770
34727         * javax/swing/DefaultCellEditor.java
34728         (delegate): Assign new instance immediately.
34729         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34730         (getTableCellEditorComponent): Rewritten.
34731         (prepareAsJTextField):New method (add listener only once).
34732         * javax/swing/JTable.java
34733         (editingCanceled): Rewritten.
34734         (editingStopped ): Rewritten.
34735         (rowAtPoint): Mind row margin.
34736         (getCellRect): Mind row margin.
34737         (getDefaultEditor): Removing JTextComponent border.
34738         (editCellAt): Rewritten.
34739         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34740         Activate editing mode by the mouse clicks.
34741         (getMaximumSize): Mind row margin.
34742         (getPreferredSize): Mind row margin.
34743         (TableAction): Added 'stop editing' command. 
34744
34745 2006-01-16  Roman Kennke  <kennke@aicas.com>
34746
34747         * jni/java-io/java_io_VMFile.c
34748         (Java_java_io_VMFile_list): Use new 4 argument version of
34749         TARGET_NATIVE_FILE_READ_DIR macro.
34750         * target/Linux/target_native_io.h: Fixed comment at #endif.
34751         * target/Linux/target_native_memory.h: New file. Contains
34752         portability macros for memory operations.
34753         * target/generic/target_generic.c: New file. Contains some functions
34754         for portability.
34755         * target/generic/target_generic.h: Use posix target and shorter macro
34756         names if CP_NEW is set. 
34757         * target/generic/target_generic_file.h: Use posix target and shorter
34758         macro names if CP_NEW is set.
34759         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34760         * target/generic/target_generic_io.c: New file. Contains some
34761         functions for IO portability.
34762         * target/generic/target_generic_io.h: Use posix target and shorter
34763         macro names if CP_NEW is set.
34764         * target/generic/target_generic_misc.c: New file. Contains some
34765         functions for miscallaneaous portability issues.
34766         * target/generic/target_generic_misc.h: Use posix target and shorter
34767         macro names if CP_NEW is set.
34768         * target/generic/target_generic_network.c: New file. Contains some
34769         functions for networking portability.
34770         * target/generic/target_generic_network.h: Use posix target and
34771         shorter macro names if CP_NEW is set.
34772         * target/posix/Makefile.am,
34773         * target/posix/target_posix.c,
34774         * target/posix/target_posix.h,
34775         * target/posix/target_posix_file.c,
34776         * target/posix/target_posix_file.h,
34777         * target/posix/target_posix_io.c,
34778         * target/posix/target_posix_io.h,
34779         * target/posix/target_posix_math.c,
34780         * target/posix/target_posix_math.h,
34781         * target/posix/target_posix_memory.c,
34782         * target/posix/target_posix_memory.h,
34783         * target/posix/target_posix_misc.c,
34784         * target/posix/target_posix_misc.h,
34785         * target/posix/target_posix_network.c,
34786         * target/posix/target_posix_network.h:
34787         New files. This implements the target native layer macros for
34788         Posix-like systems.
34789
34790 2006-01-16  Gary Benson  <gbenson@redhat.com>
34791
34792         * java/net/SocketPermission.java (implies): Fix action checks.
34793
34794 2006-01-16  Roman Kennke  <kennke@aicas.com>
34795
34796         * native/target/generic/target_generic_math_float.h: Removed. This
34797         file has been replaced by target_generic_math.h.
34798         * native/target/generic/target_generic_math_int.h: Removed. This
34799         file has been replaced by target_generic_math.h.
34800         * native/target/generic/target_generic_math.h: New file. Replaces
34801         the old _int and _float versions.
34802         * native/target/Linux/target_native_math_float.h: Removed. This
34803         file has been replaced by target_native_math.h.
34804         * native/target/Linux/target_native_math_int.h: Removed. This
34805         file has been replaced by target_native_math.h.
34806         * native/target/Linux/target_native_math.h: New file. Replaces
34807         the old _int and _float versions.
34808         * native/target/Linux/Makefile.am: Adjusted for the changed
34809         filenames.
34810         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
34811         instead of target_native_math_int.h.
34812         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34813         Likewise.
34814         * native/target/generic/target_generic_file.h: Likewise.
34815   
34816 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34817   
34818         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
34819   
34820 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34821   
34822         * javax/swing/text/SimpleAttributeSet.java
34823         (SimpleAttributeSet()): Initialise storage directly,
34824         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
34825         NullPointerException,
34826         (containsAttribute): If key is found locally, don't check resolving
34827         parent if the value doesn't match,
34828         (getAttribute): Removed redundant instanceof and cast.
34829   
34830 2006-01-16  Gary Benson  <gbenson@redhat.com>
34831   
34832         * java/lang/System.java (setSecurityManager): Ensure policy
34833         files are loaded before a security manager is put in place.
34834   
34835 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34836   
34837         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
34838   
34839 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
34840   
34841         * javax/print/attribute/standard/MediaSize.java: 
34842         (static_initializer): Added comment.
34843         (MediaSize): Added javadoc to mention cache registration.
34844         (MediaSize): Likewise.
34845         (MediaSize): Likewise.
34846         (MediaSize): Likewise.
34847   
34848 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
34849   
34850         PR classpath/25202
34851         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
34852         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
34853         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
34854         * javax/security/auth/login/AppConfigurationEntry.java: Updated
34855           copyright year.
34856           (toString): Added method implementation.
34857           (LoginModuleControlFlag.toString): Removed class name from result.
34858         * javax/security/auth/login/Configuration.java: Updated copyright year.
34859           (getConfig(): replaced calls to NullConfiguration with
34860           GnuConfiguration.
34861
34862 2006-01-15  Tom Tromey  <tromey@redhat.com>
34863
34864         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
34865         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
34866         * java/beans/PersistenceDelegate.java (initialize): Genericized.
34867         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
34868         (setPersistenceDelegate): Likewise.
34869
34870 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
34871
34872         * javax/print/attribute/standard/PrinterStateReasons.java: 
34873         (printerStateReasonSet): Genericize the return type.
34874
34875 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34876
34877         * javax/swing/table/DefaultTableCellRenderer.java 
34878         (getTableCellRendererComponent): Render null as the empty cell.
34879
34880 2006-01-14  Anthony Green  <green@redhat.com>
34881
34882         * java/net/ServerSocket.java (accept): Remove bogus
34883         security check.
34884         (implAccept): Add FIXME comment.
34885
34886 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34887
34888         Fixes bug #25387
34889         * javax/print/Doc.java: Added and enhanced documentation.
34890         * javax/print/SimpleDoc.java: New file. 
34891   
34892 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
34893   
34894         * javax/print/attribute/standard/MediaSize.java: 
34895         (Other.TABLOID): New MediaSize added in 1.5
34896   
34897 2006-01-14  Chris Burdess  <dog@gnu.org>
34898   
34899         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
34900           correctly when I/O and runtime exceptions occur during parsing.
34901   
34902 2006-01-13  Roman Kennke  <kennke@aicas.com>
34903   
34904         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
34905         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
34906         * gnu/java/awt/peer/swing/SwingComponent.java,
34907         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
34908         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
34909         * gnu/java/awt/peer/swing/SwingFramePeer.java,
34910         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
34911         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
34912         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
34913         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
34914         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
34915         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
34916         * gnu/java/awt/peer/swing/SwingToolkit.java,
34917         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
34918         * gnu/java/awt/peer/swing/package.html:
34919         New files. Implemented some basic AWT peers based on Swing.
34920   
34921 2006-01-13  Roman Kennke  <kennke@aicas.com>
34922   
34923         * java/awt/peer/ComponentPeer.java: Added API docs all over.
34924   
34925 2006-01-13  Roman Kennke  <kennke@aicas.com>
34926   
34927         * java/awt/MenuComponent.java: Reformatted to better match our
34928         coding style.
34929   
34930 2006-01-13  Roman Kennke  <kennke@aicas.com>
34931   
34932         * java/awt/Frame.java: Reformatted to better match our
34933         coding style.
34934   
34935 2006-01-13  Roman Kennke  <kennke@aicas.com>
34936   
34937         * java/awt/MenuBar.java
34938         (accessibleContext): Removed unnecessary field. This is already
34939         defined in MenuComponent.
34940         (setHelpMenu): Renamed the peer variable to myPeer because it was
34941         hiding a field of MenuComponent.
34942         (addNotify): Removed unnecessary cast.
34943   
34944 2006-01-13  Roman Kennke  <kennke@aicas.com>
34945   
34946         * java/awt/MenuBar.java: Reformatted to better match our
34947         coding style.
34948   
34949 2006-01-13  Roman Kennke  <kennke@aicas.com>
34950   
34951         * java/awt/MenuBar.java
34952         (frame): New field.
34953         (removeNotify): Clear frame field when beeing removed from the
34954         frame.
34955         * java/awt/Frame.java
34956         (setMenuBar): Store a reference of the frame in the MenuBar.
34957         * java/awt/MenuComponent.java
34958         (postEvent): Implemented to forward the call to the parent until
34959         a parent can handle the event.
34960         (dispatchEvent): Moved handling of old style events from
34961         dispatchEventImpl() to here.
34962         (dispatchEventImpl): Moved handling of old style events to
34963         dispatchEvent().
34964   
34965 2006-01-13  Roman Kennke  <kennke@aicas.com>
34966   
34967         * java/awt/Component.java
34968         (dispatchEvent): Moved handling of old style events from
34969         dispatchEventImpl() to this method.
34970         (translateEvent): Removed unnecessary cast.
34971         (dispatchEventImpl): Moved handling of old style events to
34972         dispatchEvent().
34973         
34974 2006-01-13  Lillian Angel  <langel@redhat.com>
34975   
34976         * javax/swing/text/DefaultStyledDocument.java
34977         (createDefaultRoot): Removed FIXME.
34978         (setLogicalStyle): Added fireUndoableEditUpdate call and 
34979         removed FIXME.
34980   
34981 2006-01-13  Lillian Angel  <langel@redhat.com>
34982   
34983         * javax/swing/text/DefaultStyledDocument.java
34984         (Edit): New inner class.
34985         (changeUpdate): Changed addEdit call to add a new
34986         instance of Edit to the edits Vector, so addEdits can
34987         be done later.
34988         (split): Likewise.
34989         (insertParagraph): Likewise.
34990         (insertFracture): Likewise.
34991         (insertContentTag): Likewise.
34992         (insert): Added loop to go through edits Vector and perform
34993         addEdit on each object.
34994   
34995 2006-01-13  Chris Burdess  <dog@gnu.org>
34996   
34997         * gnu/xml/transform/AbstractNumberNode.java,
34998           gnu/xml/transform/ApplyImportsNode.java,
34999           gnu/xml/transform/ApplyTemplatesNode.java,
35000           gnu/xml/transform/AttributeNode.java,
35001           gnu/xml/transform/CallTemplateNode.java,
35002           gnu/xml/transform/ChooseNode.java,
35003           gnu/xml/transform/CommentNode.java,
35004           gnu/xml/transform/CopyNode.java,
35005           gnu/xml/transform/CopyOfNode.java,
35006           gnu/xml/transform/DocumentFunction.java,
35007           gnu/xml/transform/ElementNode.java,
35008           gnu/xml/transform/ForEachNode.java,
35009           gnu/xml/transform/IfNode.java,
35010           gnu/xml/transform/LiteralNode.java,
35011           gnu/xml/transform/MessageNode.java,
35012           gnu/xml/transform/OtherwiseNode.java,
35013           gnu/xml/transform/ParameterNode.java,
35014           gnu/xml/transform/ProcessingInstructionNode.java,
35015           gnu/xml/transform/Stylesheet.java,
35016           gnu/xml/transform/Template.java,
35017           gnu/xml/transform/TemplateNode.java,
35018           gnu/xml/transform/TextNode.java,
35019           gnu/xml/transform/TransformerImpl.java,
35020           gnu/xml/transform/ValueOfNode.java,
35021           gnu/xml/transform/WhenNode.java,
35022           gnu/xml/xpath/NodeTypeTest.java,
35023           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35024           with-param parameters when template does not define parameters; apply
35025           conflict resolution for templates; strip whitespace on documents
35026           retrieved via document() function; allow node() to match document
35027           nodes.
35028
35029 2006-01-13  Mark Wielaard  <mark@klomp.org>
35030
35031         * doc/www.gnu.org/announce/20060113.wml: New file.
35032         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35033         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35034   
35035 2006-01-13  Lillian Angel  <langel@redhat.com>
35036   
35037         * javax/swing/text/DefaultStyledDocument.java:
35038         Removed unused fields.
35039         (insert): Removed unused fields.
35040         (endEdit): Removed, not needed.
35041         (insertUpdate): Removed call to endEdit.
35042         (prepareContentInsertion): Removed, not needed.
35043         (insertContentTag): Removed call to prepareContentInsertion.
35044         (printElements): Removed, not needed.
35045         (attributeSetsAreSame): Removed, not needed.
35046   
35047 2005-01-13  Mark Wielaard  <mark@klomp.org>
35048
35049         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35050         Duplicate of toString(int, StringBuilder).
35051
35052 2005-01-13  Mark Wielaard  <mark@klomp.org>
35053
35054         * configure.ac: Set version to 0.20.
35055         * NEWS: Add entries for all the new work done.
35056
35057 2005-01-13  Mark Wielaard  <mark@klomp.org>
35058
35059         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35060
35061 2005-01-13  Mark Wielaard  <mark@klomp.org>
35062
35063         * java/util/regex/Pattern.java (Pattern): Chain REException.
35064
35065 2006-01-13  Chris Burdess  <dog@gnu.org>
35066
35067         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35068
35069 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35070
35071         * java/security/Security.java
35072         (getProperty): Added hack to skip security check when trusted
35073         code is direct caller.
35074
35075 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35076
35077         * java/io/PrintStream.java
35078         (line_separator, PrintStream(OutputStream,boolean)): Use
35079         SystemProperties.
35080
35081 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35082
35083         * gnu/java/nio/charset/Provider.java: Added comment about its
35084         special relation with CharsetProvider.
35085         (static): Removed.
35086         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35087         its special relation with CharsetProvider.
35088         (static): Removed.
35089         * java/nio/charset/spi/CharsetProvider.java
35090         (CharsetProvider): Add special case to skip security check for
35091         built in providers.
35092
35093 2005-01-13  Mark Wielaard  <mark@klomp.org>
35094
35095         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35096         name, accel, mnemonic and command are defined before setting.
35097
35098 2005-01-12  Mark Wielaard  <mark@klomp.org>
35099
35100         * javax/swing/plaf/metal/MetalFileChooserUI.java
35101         (FileRenderer.getListCellRendererComponent): Set empty name and null
35102         icon when File is null.
35103
35104 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35105
35106         * gnu/java/rmi/server/UnicastRef.java (newCall):
35107         Throw ConnectException after catching IOException.
35108
35109 2006-01-12  Lillian Angel  <langel@redhat.com>
35110
35111         * javax/swing/text/DefaultStyledDocument.java
35112         (insertUpdate): Removed unneeded check.
35113
35114 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35115
35116         * javax/swing/text/DefaultStyledDocument.java:
35117         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35118         and we haven't come immediately after a fracture, adjust the Element
35119         offsets.  Added comment explaining the situation.
35120         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35121         call to insertUpdate.  Fired the UndoableEditUpdate.
35122
35123 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35124
35125         Fixes bug #22802
35126         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35127         character classes within a subexpression.
35128
35129 2006-12-12  Lillian Angel  <langel@redhat.com>
35130
35131         * javax/swing/text/DefaultStyledDocument.java
35132         (insertUpdate): Added check to check if attribute set is 
35133         empty.
35134         (insertUpdate): Added check to determine if last character
35135         is a newline. If it is, we should not be fracturing.
35136         (insert): Added check to determine if attribute set is empty.
35137         If it is, insertUpdate should not be called.
35138
35139 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35140
35141         * configure.ac: Check for isnan.
35142
35143         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35144         define the macro.
35145
35146 2006-01-12  Chris Burdess  <dog@gnu.org>
35147
35148         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35149           1.1 character ranges.
35150
35151 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35152
35153         * javax/swing/TransferHandler.java:
35154         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35155         gnu/testlet/javax/swing/JTextField/CopyPaste.
35156
35157 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35158
35159         * resource/Makefile.am: Install 
35160         logging.properties into $(prefix)/lib.
35161         * resource/Makefile.am (securitydir): Changed to 
35162         $(prefix)/lib/security.
35163
35164 2006-01-12  Roman Kennke  <kennke@aicas.com>
35165
35166         * javax/swing/JTextField.java
35167         (createDefaultModel): Moved installation of the filterNewlines
35168         property to setDocument().
35169         (setDocument): New method. Installs the filterNewlines property
35170         on the document.
35171
35172 2006-01-12  Chris Burdess  <dog@gnu.org>
35173
35174         * gnu/xml/dom/DomNode.java,
35175           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35176           output.
35177         * gnu/xml/xpath/NameTest.java,
35178           gnu/xml/xpath/NamespaceTest.java,
35179           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35180           navigation.
35181         * gnu/xml/transform/MessageNode.java: Use standard logging system
35182           for outputting messages.
35183
35184 2006-01-12  Tom Tromey  <tromey@redhat.com>
35185
35186         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35187         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35188         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35189         (static initializer): Removed cache code.
35190         (checkCacheFor, addToCache): Removed.
35191         (getAllByName): Removed cache code.
35192         (lookup_time): Removed.
35193         (InetAddress): Updated.
35194
35195 2006-01-12  Chris Burdess  <dog@gnu.org>
35196
35197         * gnu/xml/dom/DomDocument.java,
35198           gnu/xml/dom/DomElement.java,
35199           gnu/xml/dom/DomNode.java,
35200           gnu/xml/stream/XMLParser.java,
35201           gnu/xml/transform/Bindings.java,
35202           gnu/xml/transform/ElementAvailableFunction.java,
35203           gnu/xml/transform/ElementNode.java,
35204           gnu/xml/transform/FunctionAvailableFunction.java,
35205           gnu/xml/transform/NamespaceProxy.java,
35206           gnu/xml/transform/StreamSerializer.java,
35207           gnu/xml/transform/Stylesheet.java,
35208           gnu/xml/transform/TransformerImpl.java,
35209           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35210           document and element nodes; correct coalescing semantics when parsing;
35211           attribute-sets can only refer to top-level variables and parameters;
35212           fix namespace retrieval during element-available and
35213           function-available functions; implement xsl:fallback for extension
35214           elements; tokenize whitespace correctly during whitespace stripping;
35215           correct following and previous node axes selectors.
35216
35217 2006-01-12  Roman Kennke  <kennke@aicas.com>
35218
35219         * java/util/Hashtable.java
35220         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35221         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35222
35223 2006-01-12  Lillian Angel  <langel@redhat.com>
35224
35225         * javax/swing/text/GapContent.java
35226         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35227
35228 2006-01-12  Mark Wielaard  <mark@klomp.org>
35229
35230         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35231         Throw UnknowHostException when name could not be resolved.
35232
35233 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35234
35235         * java/net/URL.java
35236         (static, getURLStreamHandler): Use SystemProperties.
35237
35238 2006-01-12  Mark Wielaard  <mark@klomp.org>
35239
35240         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35241         Use packet.getLength().
35242         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35243         (nativeReceive): Check whether the receiver wants zero bytes.
35244
35245 2006-01-12  Mark Wielaard  <mark@klomp.org>
35246
35247         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35248         other side orderly closed connection.
35249         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35250         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35251         when end of stream reached.
35252
35253 2006-01-12  Mark Wielaard  <mark@klomp.org>
35254
35255         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35256         Remove asserts.
35257         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35258         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35259         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35260         * native/jni/java-net/javanet.c: Likewise.
35261
35262 2006-01-12  Mark Wielaard  <mark@klomp.org>
35263
35264         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35265         PR classpath/23863.
35266
35267 2006-01-11  Chris Burdess  <dog@gnu.org>
35268
35269         * gnu/xml/transform/AttributeNode.java,
35270           gnu/xml/transform/ElementNode.java,
35271           gnu/xml/transform/LiteralNode.java,
35272           gnu/xml/transform/StreamSerializer.java,
35273           gnu/xml/transform/StrippingInstruction.java,
35274           gnu/xml/transform/Stylesheet.java,
35275           gnu/xml/transform/TransformerImpl.java,
35276           gnu/xml/transform/ValueOfNode.java,
35277           gnu/xml/xpath/Expr.java,
35278           gnu/xml/xpath/LocalNameFunction.java,
35279           gnu/xml/xpath/NameFunction.java,
35280           gnu/xml/xpath/NameTest.java,
35281           gnu/xml/xpath/NamespaceUriFunction.java,
35282           gnu/xml/xpath/NodeTypeTest.java,
35283           gnu/xml/xpath/SubstringFunction.java,
35284           javax/xml/namespace/QName.java: don't determine element namespace
35285           from namespace aliases when specified; better namespace handling
35286           when serializing elements; don't create HTML meta element unless
35287           head element exists; correct encoding of CDATA sections containing
35288           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35289           default encoding for HTML output; rewrite of XSLT
35290           strip-space/preserve-space handling; correct doctype-public and
35291           doctype-system output attributes; insert generated doctype before
35292           document element; fixed result tree whitespace stripping
35293           algorithm; fixed semantics of XPath name, local-name, and
35294           namespace-uri functions; name tests handle XML/XMLNS namespaces
35295           correctly; fixed semantics of processing-instruction node test.
35296         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35297           aid debugging.
35298
35299 2006-01-11  Lillian Angel  <langel@redhat.com>
35300
35301         * javax/swing/text/DefaultStyledDocument.java
35302         (insertFracture): Added calls to addEdit for each time a structure 
35303         is changed. addEdit is called on the newBranch, previous, and parent
35304         structures.
35305
35306 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35307
35308         * javax/swing/text/DefaultStyledDocument.java:
35309         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35310         This will have been taken care of in insertFracture.  Added a comment
35311         explaining that we need to add edits to the DocumentEvent and that
35312         this may be the place to do it.
35313
35314 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35315
35316         * javax/swing/text/DefaultStyledDocument.java:
35317         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35318         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35319         elementStack when there is a start tag with JoinNextDirection.
35320
35321 2006-01-11  Roman Kennke  <kennke@aicas.com>
35322
35323         Reported by: Fridjof Siebert <siebert@aicas.com>
35324         * java/util/Hashtable.java
35325         (KEYS): Removed unneeded field.
35326         (VALUES): Removed unneeded field.
35327         (ENTRIES): Removed unneeded field.
35328         (keys): Return a KeyEnumerator instance.
35329         (elements): Returns a ValueEnumerator instance.
35330         (toString): Use an EntryIterator instance.
35331         (keySet): Return a KeyIterator instance.
35332         (values): Return a ValueIterator instance.
35333         (entrySet): Return an EntryIterator instance.
35334         (hashCode): Use EntryIterator instance.
35335         (rehash): Changed this loop to avoid redundant reads and make
35336         it obvious that null checking is not needed.
35337         (writeObject): Use EntryIterator instance.
35338         (HashIterator): Removed class.
35339         (Enumerator): Removed class.
35340         (EntryIterator): New class.
35341         (KeyIterator): New class.
35342         (ValueIterator): New class.
35343         (EntryEnumerator): New class.
35344         (KeyEnumerator): New class.
35345         (ValueEnumerator): New class.
35346
35347 2006-01-11  Lillian Angel  <langel@redhat.com>
35348
35349         * javax/swing/text/DefaultStyledDocument.java
35350         (toString): Shouldn't append the '>' character here.
35351         (createDefaultRoot): Should not set the resolve parent. This
35352         causes problems when comparing attribute sets.
35353
35354 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35355
35356         * javax/swing/text/DefaultStyledDocument.java:
35357         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35358         end tags.
35359         (ElementBuffer.insertFracture): New method.
35360         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35361         JoinFractureDirection - this only applies to start tags, not content
35362         tags.
35363         (insertUpdate): Corrected conditions for setting direction to 
35364         JoinNextDirection.
35365
35366 2006-01-10  Roman Kennke  <kennke@aicas.com>
35367
35368         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35369         * ChangeLog-2005: New File.
35370
35371 2006-01-10  Roman Kennke  <kennke@aicas.com>
35372
35373         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35374         (get): Release the array with the correct pointer.
35375         (put): Release the array with the correct pointer. Copy the array
35376         around _before_ releasing it.
35377
35378 2006-01-10  Roman Kennke  <kennke@aicas.com>
35379
35380         * javax/swing/ViewportLayout.java
35381         (layoutContainer): Fixed condition, to avoid ClasscastException.
35382
35383 2006-01-10  Roman Kennke  <kennke@aicas.com>
35384
35385         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35386         (MouseHandler.mousePressed): Fixed indendation.
35387         (MouseHandler.mouseDragged): Fixed indendation.
35388
35389 2006-01-10  Roman Kennke  <kennke@aicas.com>
35390
35391         * javax/swing/plaf/basic/BasicLookAndFeel.java
35392         (playSound): Added @since 1.4 to the API docs.
35393
35394 2006-01-10  Roman Kennke  <kennke@aicas.com>
35395
35396         * javax/swing/plaf/basic/BasicListUI.java
35397         (maybeUpdateLayoutState): Also update the layout state, if the
35398         list has been invalidated since the last update.
35399
35400 2006-01-10  Roman Kennke  <kennke@aicas.com>
35401
35402         * javax/swing/plaf/ComponentUI.java
35403         (update): Fixed indendation.
35404
35405 2006-01-10  Roman Kennke  <kennke@aicas.com>
35406
35407         * javax/swing/ViewportLayout.java
35408         (layoutContainer): Fixed condition, so that Scrollable components
35409         are always forced to have to Viewport size, when they
35410         return true for getScrollableTracksViewportHeight() and ..Width().
35411
35412 2006-01-10  Roman Kennke  <kennke@aicas.com>
35413
35414         * javax/swing/RepaintManager.java
35415         (validateInvalidComponents): Fixed condition to avoid NPE.
35416
35417 2006-01-10  Roman Kennke  <kennke@aicas.com>
35418
35419         * javax/swing/JViewport.java:
35420         (static_initializer): Removed unused variable myScrollMode.
35421
35422 2006-01-10  Roman Kennke  <kennke@aicas.com>
35423
35424         * javax/swing/JTabbedPane.java:
35425         Cleared API docs a little.
35426
35427 2006-01-10  Roman Kennke  <kennke@aicas.com>
35428
35429         * java/util/StringTokenizer.java
35430         (StringTokenizer(String, String, boolean)):
35431         Don't trigger NPE here for conformance with the spec.
35432
35433 2006-01-10  Roman Kennke  <kennke@aicas.com>
35434
35435         * java/util/ArrayList.java
35436         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35437
35438 2006-01-10  Roman Kennke  <kennke@aicas.com>
35439
35440         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35441         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35442         field to avoid NPE.
35443
35444 2006-01-10  Roman Kennke  <kennke@aicas.com>
35445
35446         * native/jni/java-net/javanet.c
35447         (_javanet_shutdownOutput): Replaced strerror() with
35448         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35449         (_javanet_shutdownInput): Replaced strerror() with
35450         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35451
35452 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35453
35454         * java/beans/EventSetDescriptor.java: Reformatted and
35455         fixed API docs.
35456
35457 2006-01-10  Roman Kennke  <kennke@aicas.com>
35458
35459         * java/lang/SecurityManager.java
35460         Fully qualified AWT class references in API docs.
35461
35462 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35463
35464         * java/beans/EventSetDescriptor.java:
35465         (getGetListenerMethod): New method.
35466
35467 2006-01-10  Mark Wielaard  <mark@klomp.org>
35468
35469         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35470
35471 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35472
35473         PR classpath/25727
35474         * java/util/Hashtable.java
35475         (contains): Call equals on existing value.
35476         (containsKey, get, put, remove): Call equals on existing key.
35477         (getEntry): Call equals on existing entry.
35478
35479 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35480
35481         PR classpath/24618
35482         * java/util/AbstractMap.java
35483         (equals(Object,Object)): Test for identity first.
35484         * java/util/WeakHashMap.java
35485         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35486         (WeakBucket.WeakEntry.toString): Fixed string representation of
35487         null key.
35488         (internalGet): Use helper method to determine equality.
35489
35490 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35491
35492         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35493         constructors.
35494
35495 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35496
35497         * javax/swing/text/PlainDocument.java:
35498         (insertUpdate): Handle special case of an insertion immediately 
35499         following a newline character.
35500
35501 2006-01-09  Roman Kennke  <kennke@aicas.com>
35502
35503         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35504         (connect): Added stream parameter to _connect() call.
35505         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35506         (connect): Added stream parameter to _connect() call.
35507         * native/jni/java-net/javanet.c
35508         (_javanet_create_localfd): Added stream parameter. Look up
35509         fd field based on the stream parameter either in SocketImpl or
35510         in DatagramSocketImpl.
35511         (_javanet_connect): Added stream parameter. Call create_localfd
35512         using this stream parameter. Set localPort field either in
35513         SocketImpl or in DatagramSocketImpl, depending on the stream
35514         flag.
35515         * native/jni/java-net/javanet.c
35516         (_javanet_connect): Added stream parameter.
35517
35518 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35519
35520         * javax.management.Attribute.java: Grammar and 
35521         formatting fixes.
35522
35523 2006-01-09  Mark Wielaard  <mark@klomp.org>
35524
35525         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35526         exception when channel is not readable or writable.
35527         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35528         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35529         there is enough space to mmap().
35530
35531 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35532
35533         * java/beans/Introspector.java:
35534         (getBeanInfo(Class, int)): New method.
35535         (getBeanInfo(Class, Class): Moved common code in a new method.
35536         (merge): New method.
35537
35538 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35539
35540         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35541
35542 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35543
35544         * javax/swing/text/DefaultStyledDocument.java:
35545         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35546         inlined this method because it needs to change the value of the 
35547         finalStartTag and finalStartDirection variables.
35548         (checkForInsertAfterNewline): Removed this method.
35549         (handleInsertAfterNewline): Added case for making the start tag's 
35550         direction JoinNextDirection.
35551
35552 2006-01-09  Lillian Angel  <langel@redhat.com>
35553
35554         * javax/swing/plaf/basic/BasicTreeUI.java:
35555         Added new field.
35556         (setRowHeight): Row height is set to the max height of
35557         all the nodes, or 20 as a default value.
35558         (getPathBounds): Cleaned up code.
35559         (getMaxHeight): New helper function that gets the max 
35560         height of all the rows.
35561         (getClosestPathForLocation): Fixed to use getMaxHeight.
35562         (updateCachedPreferredSize): Likewise.
35563         (installUI): Shouldn't expand tree on startup.
35564         (getNodeDimensions): Fixed to use getMaxHeight. 
35565
35566 2006-01-09  Mark Wielaard  <mark@klomp.org>
35567
35568         * javax/swing/JList.java (setSelectedIndex): Clear selection when
35569         argument is negative.
35570
35571 2006-01-08  Mark Wielaard  <mark@klomp.org>
35572
35573         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35574
35575 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35576
35577         * javax.management.Attribute.java: New file. 
35578
35579 2006-01-09  Roman Kennke  <kennke@aicas.com>
35580
35581         * java/net/DatagramSocketImpl.java
35582         (localPort): Renamed to localport for correct access from native
35583         code.
35584
35585 2006-01-09  Roman Kennke  <kennke@aicas.com>
35586
35587         * javax/swing/Popup.java
35588         (LightweightPopup.hide): Repaint the layered pane when popup is
35589         removed.
35590
35591 2006-01-09  Roman Kennke  <kennke@aicas.com>
35592
35593         * java/awt/Container.java
35594         (remove): Don't repaint the container here.
35595
35596 2006-01-08  Tom Tromey  <tromey@redhat.com>
35597
35598         * java/lang/InheritableThreadLocal.java: Organized imports.
35599
35600 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35601
35602         Fixes bug #25679
35603         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35604         when an empty string matched an empty token.
35605
35606 2006-01-08  Chris Burdess  <dog@gnu.org>
35607
35608         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35609           content models from external entities.
35610         * gnu/xml/stream/UnicodeReader.java: Report error instead of
35611           attempting to continue with unpaired surrogates.
35612         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35613           resolving entities with character entity references; better
35614           checking of valid character ranges; don't report an error for URI
35615           fragments in notation declarations; check unbound namespace
35616           prefixes for elements and attributes, including XML 1.1 unbinding
35617           syntax; namespace-aware checking of attribute duplicates.
35618
35619 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
35620
35621         * java/beans/Statement.java: Doc fixes.
35622         (doExecute): Workaround for Class.forName call.
35623         (toString): Made output look more like on the JDK.
35624         * java/beans/Expression.java: Doc fixes.
35625         (toString): Made output look more like on the JDK.
35626         * java/beans/PersistenceDelegate.java,
35627         java/beans/DefaultPersistenceDelegate.java,
35628         java/beans/Encoder.java,
35629         java/beans/XMLEncoder.java: New file.
35630         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35631         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35632         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35633         gnu/java/beans/encoder/Context.java,
35634         gnu/java/beans/encoder/GenericScannerState.java,
35635         gnu/java/beans/encoder/IgnoringScannerState.java,
35636         gnu/java/beans/encoder/MapPersistenceDelegate.java,
35637         gnu/java/beans/encoder/ObjectId.java,
35638         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35639         gnu/java/beans/encoder/ReportingScannerState.java,
35640         gnu/java/beans/encoder/Root.java,
35641         gnu/java/beans/encoder/ScanEngine.java,
35642         gnu/java/beans/encoder/ScannerState.java,
35643         gnu/java/beans/encoder/StAXWriter.java,
35644         gnu/java/beans/encoder/Writer.java: New file.
35645         * gnu/java/beans/encoder/elements/Array_Get.java,
35646         gnu/java/beans/encoder/elements/Element.java,
35647         gnu/java/beans/encoder/elements/List_Set.java,
35648         gnu/java/beans/encoder/elements/Array_Set.java,
35649         gnu/java/beans/encoder/elements/NullObject.java,
35650         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35651         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35652         gnu/java/beans/encoder/elements/StringReference.java,
35653         gnu/java/beans/encoder/elements/ClassResolution.java,
35654         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35655         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35656         gnu/java/beans/encoder/elements/ObjectReference.java,
35657         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35658         gnu/java/beans/encoder/elements/List_Get.java,
35659         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35660
35661 2006-01-08  Chris Burdess  <dog@gnu.org>
35662
35663         * java/lang/Character.java (toChars,toCodePoint): Correct these
35664           methods to use algorithms from Unicode specification.
35665  
35666 2006-01-08  Mark Wielaard  <mark@klomp.org>
35667
35668         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35669
35670 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
35671
35672         Fixes bug #25711
35673         * examples/Makefile.am: Corrected DESTDIR install paths.
35674
35675 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35676
35677         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
35678         ASCII character (line 46).
35679
35680 2006-01-07  Roman Kennke  <kennke@aicas.com>
35681
35682         * javax/swing/text/TableView.java: New file.
35683
35684 2006-01-07  Chris Burdess  <dog@gnu.org>
35685
35686         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35687         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35688         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35689           available; correct handling of unparsed entity references;
35690           absolutize all base URIs; remove commented out code.
35691
35692 2006-01-07  Chris Burdess  <dog@gnu.org>
35693
35694         * gnu/xml/stream/SAXParser.java,
35695           gnu/xml/stream/XMLParser.java: Add SAX property to return base
35696           URI of the current event.
35697
35698 2006-01-07  Chris Burdess  <dog@gnu.org>
35699
35700         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35701           aware processing.
35702
35703 2006-01-07  Chris Burdess  <dog@gnu.org>
35704
35705         * gnu/xml/stream/SAXParser.java,
35706           gnu/xml/stream/XIncludeFilter.java,
35707           gnu/xml/stream/XMLParser.java: Updated documentation.
35708
35709 2006-01-07  Chris Burdess  <dog@gnu.org>
35710
35711         * AUTHORS: add self.
35712
35713 2006-01-06  Casey Marshall  <csm@gnu.org>
35714
35715         * AUTHORS: add myself.
35716
35717 2006-01-06  Casey Marshall  <csm@gnu.org>
35718
35719         PR classpath/25699
35720         * javax/crypto/CipherInputStream.java (logger): new constant.
35721         (cipher): make final.
35722         (outLength, inBuffer, inLength): removed.
35723         (isStream): make final.
35724         (VIRGIN, LIVING, DYING, DEAD, state): removed.
35725         (eof): new field.
35726         (<init>): call `super,' not `this;' remove `inBuffer' and
35727         `outBuffer' initialization; init `eof;' add debug logging.
35728         (<init>): call `this' with a new null cipher.
35729         (available): fix javadoc to reflect the real semantics; if we
35730         don't have a buffer, call `nextBlock.'
35731         (close): synchronize.
35732         (read): synchronize; fix testing for buffered data.
35733         (read): synchronize; add `skip' semantics if first argument is
35734         `null;' decrypt stream cipher data only if there is any; fix tests
35735         for buffered data.
35736         (skip): stop using `available' to see how many data are buffered.
35737         (nextBlock): simplify to use cipher-allocated output buffers
35738         instead of internally allocated ones.
35739
35740 2006-01-06  Tom Tromey  <tromey@redhat.com>
35741
35742         * java/lang/String.java (codePointCount): Fixed javadoc.
35743
35744 2006-01-06  Tom Tromey  <tromey@redhat.com>
35745
35746         * java/lang/String.java (contains): Added @since.
35747
35748 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35749
35750         Fixes bug #25616
35751         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35752         * gnu/regexp/RETokenRepeated.java(match): Break the loop
35753         when an empty string matched an empty token.
35754
35755 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
35756
35757         PR classpath/24858
35758         * gnu/java/util/WeakIdentityHashMap.java: New file.
35759         * java/lang/InheritableThreadLocal.java
35760         (newChildThread): Modified to remove key indirection.
35761         * java/lang/Thread.java
35762         (locals): Changed type to WeakIdentityHashMap.
35763         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35764         WeakHashMap.
35765         * java/lang/ThreadLocal.java
35766         (key, Key): Removed.
35767         (get, set): Changed to use "this" instead of "key".
35768
35769 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
35770
35771         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35772
35773         * native/fdlibm/java-assert.h: Removed file.
35774
35775         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35776         Replaced use of JvAssert by assert.
35777
35778 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35779
35780         * javax/swing/text/DefaultCaret.java:
35781         (setDot): Fixed paramater to Math.max to be this.dot and not the 
35782         parameter dot.
35783
35784 2006-01-05  Roman Kennke  <kennke@aicas.com>
35785
35786         * javax/swing/plaf/basic/BasicListUI.java
35787         (getCellHeight): New helper method.
35788         (getCellBounds): Use new helper method for determining the cell
35789         height.
35790         (paint): Don't call list.indexToLocation() but instead call
35791         directly into the same UI method.
35792         (locationToIndex): Fixed calculation of # visible rows and handling
35793         of cell heights.
35794         (indexToLocation): Fixed calculation of # visible rows and handling
35795         of cell heights.
35796
35797 2006-01-05  Roman Kennke  <kennke@aicas.com>
35798
35799         * javax/swing/plaf/metal/MetalFileChooserUI.java
35800         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
35801         in the file chooser.
35802
35803 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35804
35805         * javax/swing/JTextPane.java:
35806         (replaceSelection): If the document is an AbstractDocument, use replace
35807         rather than remove and insert.
35808         * javax/swing/event/EventListenerList.java:
35809         (getListeners): Reversed the order of the listeners to match the 
35810         reference implementation.
35811         * javax/swing/text/AbstractDocument.java:
35812         (insertString): Add the UndoableEdit from the content.insertString call
35813         to the DocumentEvent.
35814         (DefaultDocumentEvent.toString): Implemented.
35815         * javax/swing/text/DefaultCaret.java:
35816         (setDot): Make sure dot is > 0 and less than the length of the 
35817         document.
35818         * javax/swing/text/DefaultStyledDocument.java:
35819         (ElementBuffer.insertUpdate): Set the modified tag of the document 
35820         event when we get start and end tags.  This ensures that we create the
35821         proper BranchElements in endEdit().
35822         (ElementBuffer.insertUpdate): Added FIXME to handle 
35823         JoinFractureDirection case.
35824         (insertUpdate): Added code to check if we're inserting immediately 
35825         after a newline and to handle this case (create start and end tags). 
35826         Only change the direction of the first and last tags if they are of 
35827         type ContentType.
35828         (checkForInsertAfterNewline): New helper method.
35829         (handleInsertAfterNewline): Likewise.
35830         * javax/swing/text/View.java:
35831         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
35832         container.
35833
35834 2006-01-05  Mark Wielaard  <mark@klomp.org>
35835
35836         * newsitems.txt: Add fosdem meeting.
35837         * events/events.wml: Likewise.
35838         * events/fosdem06.wml: New file.
35839         
35840 2006-01-05  Lillian Angel  <langel@redhat.com>
35841         
35842         * javax/swing/text/GapContent.java
35843         (createPosition): No positions should be created inside the
35844         gap. Fixed check to ensure this does not happen.
35845
35846 2006-01-05  Roman Kennke  <kennke@aicas.com>
35847
35848         * javax/swing/RepaintManager.java
35849         (validateInvalidComponents): Search for the validate root
35850         and start validating there.
35851
35852 2006-01-05  Roman Kennke  <kennke@aicas.com>
35853
35854         * javax/swing/plaf/basic/BasicListUI.java
35855         (ComponentHandler): Removed unneeded class.
35856         (ListDataHandler.contentsChanged): Revalidate instead of calling
35857         damageLayout().
35858         (ListDataHandler.intervalAdded): Revalidate instead of calling
35859         damageLayout().
35860         (ListDataHandler.intervalRemoved): Revalidate instead of calling
35861         damageLayout().
35862         (PropertyChangeHandler.propertyChange): Or flags together instead
35863         of adding them. Don't call damageLayout().
35864         (componentListener): Removed unnecessary field.
35865         (damageLayout): Removed unnecessary method.
35866         (installListeners): Don't install unnecessary listeners.
35867         (uninstallListeners): Dito.
35868         (getPreferredSize): Don't ask for the real list height and
35869         calculate with the previously calculated list height.
35870         (locationToIndex): Renamed list parameter to l so that it doesn't
35871         shadow the field with the same name.
35872         (indexToLocation): Renamed list parameter to l so that it doesn't
35873         shadow the field with the same name.
35874
35875 2006-01-04  Tom Tromey  <tromey@redhat.com>
35876
35877         * include/.cvsignore: Ignore config-int.h.
35878
35879 2006-01-04  Roman Kennke  <kennke@aicas.com>
35880
35881         * javax/swing/plaf/basic/BasicListUI.java
35882         (getPreferredSize): Rewritten to match the specs.
35883
35884 2006-01-04  Roman Kennke  <kennke@aicas.com>
35885
35886         * javax/swing/JFileChooser.java
35887         (showOpenDialog): Set fixed width on the dialog.
35888         (showSaveDialog): Set fixed width on the dialog.
35889         (showDialog): Set fixed width on the dialog.
35890
35891 2006-01-04  Roman Kennke  <kennke@aicas.com>
35892
35893         * javax/swing/plaf/basic/BasicListUI.java
35894         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
35895         Adjusted iteration to not use visibleRowCount and instead iterate
35896         over the real number of elements in cellHeights.
35897         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
35898         Adjusted iteration to not use visibleRowCount and instead iterate
35899         over the real number of elements in cellHeights.
35900
35901 2006-01-04  Roman Kennke  <kennke@aicas.com>
35902
35903         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
35904         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35905         Added __attribute__((__unused__)) macros to avoid gcc warnings.
35906
35907 2006-01-04  Roman Kennke  <kennke@aicas.com>
35908
35909         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
35910         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
35911         New VM class.
35912         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
35913         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35914         New file.
35915         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
35916         Removed.
35917         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
35918         * native/jni/java-net/Makefile.am: Adjusted for new source files.
35919         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
35920         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
35921         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
35922         * include/gnu_java_net_PlainSocketImpl.h: Removed.
35923         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
35924         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
35925
35926 2006-01-04  Lillian Angel  <langel@redhat.com>
35927
35928         * javax/swing/plaf/metal/MetalFileChooserUI.java
35929         (propertyChange): Fixed to change the combo box label
35930         appropriately. Also, fixed to set the textfield's text
35931         correctly.
35932         (editFile): Fixed size of editing field.
35933         (installComponents): Correctly aligned all panels.
35934         (installStrings): Fixed to set the label's text
35935         appropriately depending on the dialog type.
35936
35937 2006-01-04  Lillian Angel  <langel@redhat.com>
35938
35939         PR classpath/25473 
35940         PR classpath/25479
35941         * javax/swing/JTree.java
35942         (JTree): Because some L&F defaults have been updated,
35943         the selectionMode for the tree needed to be set to SINGLE.
35944         * javax/swing/plaf/basic/BasicFileChooserUI.java:
35945         Initialized accessoryPanel.
35946         * javax/swing/plaf/metal/MetalFileChooserUI.java
35947         (installComponents): Added accessoryPanel to the filechooser.
35948
35949 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
35950
35951         * configure.ac: Added AX_CREATE_STDINT_H
35952
35953         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
35954
35955         * m4/ax_create_stdint_h.m4: New file.
35956
35957         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
35958         typedefs. Removed stdint.h and inttypes.h includes.
35959  
35960 2006-01-03  Mark Wielaard  <mark@klomp.org>
35961
35962         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
35963         register keyboard action when accelerator is not null.
35964         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
35965         re-register accelerator if not null.
35966         (installKeyboardActions): Only put accelerator in map when not null.
35967
35968 2006-01-04  Lillian Angel  <langel@redhat.com>
35969
35970         * javax/swing/plaf/basic/BasicLookAndFeel.java
35971         (initComponentDefaults): Removed unneeded default.
35972         * javax/swing/plaf/metal/MetalLookAndFeel.java
35973         (initComponentDefaults): Added and fixed several defaults.
35974
35975 2006-01-04  Roman Kennke  <kennke@aicas.com>
35976
35977         * javax/swing/plaf/basic/BasicHTML.java: New class.
35978
35979 2006-01-03  Tom Tromey  <tromey@redhat.com>
35980
35981         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
35982         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
35983
35984 2006-01-03  Mark Wielaard  <mark@klomp.org>
35985
35986         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
35987
35988 2006-01-03  Mark Wielaard  <mark@klomp.org>
35989
35990         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
35991         Always call createDefaultTheme().
35992         (createDefaultTheme): Check whether theme is still null.
35993
35994 2006-01-03  Mark Wielaard  <mark@klomp.org>
35995
35996         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
35997         Color.WHITE if null.
35998
35999 2006-01-03  Lillian Angel  <langel@redhat.com>
36000
36001         * javax/swing/plaf/metal/MetalLookAndFeel.java
36002         (getDescription): Fixed to return the correct string.
36003         (getID): Likewise.
36004         (getName): Likewise.
36005         (getDefaults): Added check to avoid NPE.
36006         (getAcceleratorForeground): Likewise.
36007         (getAcceleratorSelectedForeground): Likewise.
36008         (getBlack): Likewise.
36009         (getControl): Likewise.
36010         (getControlDarkShadow): Likewise.
36011         (getControlDisabled): Likewise.
36012         (getControlHighlight): Likewise.
36013         (getControlInfo): Likewise.
36014         (getControlShadow): Likewise.
36015         (getControlTextColor): Likewise.
36016         (getControlTextFont): Likewise.
36017         (getDesktopColor): Likewise.
36018         (getFocusColor): Likewise.
36019         (getHighlightedTextColor): Likewise.
36020         (getInactiveControlTextColor): Likewise.
36021         (getInactiveSystemTextColor): Likewise.
36022         (getMenuBackground): Likewise.
36023         (getMenuDisabledForeground): Likewise.
36024         (getMenuForeground): Likewise.
36025         (getMenuSelectedBackground): Likewise.
36026         (getMenuSelectedForeground): Likewise.
36027         (getMenuTextFont): Likewise.
36028         (getPrimaryControl): Likewise.
36029         (getPrimaryControlDarkShadow): Likewise.
36030         (getPrimaryControlHighlight): Likewise.
36031         (getPrimaryControlInfo): Likewise.
36032         (getPrimaryControlShadow): Likewise.
36033         (getSeparatorBackground): Likewise.
36034         (getSeparatorForeground): Likewise.
36035         (getSubTextFont): Likewise.
36036         (getSystemTextColor): Likewise.
36037         (getSystemTextFont): Likewise.
36038         (getTextHighlightColor): Likewise.
36039         (getUserTextColor): Likewise.
36040         (getUserTextFont): Likewise.
36041         (getWhite): Likewise.
36042         (getWindowBackground): Likewise.
36043         (getWindowTitleBackground): Likewise.
36044         (getWindowTitleFont): Likewise.
36045         (getWindowTitleForeground): Likewise.
36046         (getWindowTitleInactiveBackground): Likewise.
36047         (getWindowTitleInactiveForeground): Likewise.
36048
36049 2006-01-03  Mark Wielaard  <mark@klomp.org>
36050
36051         * javax/swing/JTextArea.java
36052         (JTextArea(Document,text,int,int)): Only call setText() when text is
36053         not null.
36054
36055 2006-01-03  Lillian Angel  <langel@redhat.com>
36056
36057         * javax/swing/plaf/basic/BasicFileChooserUI.java
36058         (installStrings): Fixed installation of defaults that
36059         were changed in BasicLookAndFeel.
36060         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36061         (installDefaults): Fixed installation of defaults that
36062         were changed in BasicLookAndFeel.
36063
36064 2006-01-03  Lillian Angel  <langel@redhat.com>
36065
36066         * javax/swing/plaf/basic/BasicLookAndFeel.java
36067         (initComponentDefaults): Fixed several defaults that differed
36068         from the JDK.
36069
36070 2006-01-03  Lillian Angel  <langel@redhat.com>
36071
36072         * javax/swing/tree/DefaultTreeSelectionModel.java
36073         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36074
36075 2006-01-03  Lillian Angel  <langel@redhat.com>
36076
36077         * javax/swing/AbstractAction.java
36078         (AbstractAction): Fixed to pass in null. Should not be 
36079         an empty string. Removed TODO comment.
36080         (AbstractAction): Removed TODO comment.
36081         * javax/swing/JList.java
36082         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36083         * javax/swing/JMenuItem.java
36084         (JMenuItem): Set all defaults if the action passed in is not null.
36085         * javax/swing/JProgressBar.java
36086         (JProgressBar): Added check to prevent NPE.
36087
36088 2006-01-03  Lillian Angel  <langel@redhat.com>
36089
36090         * javax/swing/plaf/basic/BasicListUI.java
36091         (getPreferredSize): The JDK adds some extra space to 
36092         the list, so we should as well.
36093         * javax/swing/plaf/metal/MetalFileChooserUI.java
36094         (getPreferredSize): Should only take the fileListPanel's
36095         width into account when getting the size. Also, the buttonPanel's
36096         size should not be checked, since it is in the bottomPanel already.
36097         (getMinimumSize): Likewise.
36098
36099 2006-01-03  Lillian Angel  <langel@redhat.com>
36100
36101         * javax/swing/JList.java
36102         (init): visibleRowCount should be 7, like the JDK.
36103         * javax/swing/plaf/metal/MetalFileChooserUI.java
36104         (installComponents): No need to add the fileFilterCombo
36105         to a panel. It can be added to the row directly.
36106
36107 2006-01-03  Lillian Angel  <langel@redhat.com>
36108         
36109         PR classpath/25480 PR classpath/25478
36110         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36111         (updateViewport): Made changes suggested by
36112         Chris Lansdown.
36113         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36114         Removed unneeded import.
36115         (createList): Removed comment, JList wrapping 
36116         now works.
36117         (getPreferredSize): Made changes suggested by
36118         Chris Lansdown. Uses fileListPanel, instead
36119         of fileList.
36120         (getMinimumSize): Uses fileListPanel, instead
36121         of fileList.
36122         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36123         (paintFocus): Fixed height.
36124
36125 2006-01-03  Roman Kennke  <kennke@aicas.com>
36126
36127         * javax/swing/plaf/basic/BasicListUI.java
36128         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36129
36130 2006-01-03  Roman Kennke  <kennke@aicas.com>
36131
36132         * javax/swing/plaf/basic/BasicListUI.java
36133         (locationToIndex): Special case for when variable cell heights
36134         are possible. (cellHeights is used instead of cellHeight).
36135         (indexToLocation): Special case for when variable cell heights
36136         are possible. (cellHeights is used instead of cellHeight).
36137
36138 2006-01-03  Roman Kennke  <kennke@aicas.com>
36139
36140         * javax/swing/text/DefaultStyledDocument.java
36141         (ElementBuffer.remove): New method.
36142         (ElementBuffer.removeUpdate): New method.
36143         (removeUpdate): New method.
36144
36145 2006-01-03  Roman Kennke  <kennke@aicas.com>
36146
36147         * lib/Makefile.am:
36148         (dist-hook): Preserve attributes of Java sources when copying to
36149         dist dir.
36150
36151 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36152
36153         * AUTHORS: Added self.
36154         * java/security/Security.java (getProvider): Ensures provider's name is
36155           not null, not an empty string, and is trimmed before usage.
36156
36157 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36158
36159         * gnu/CORBA/Poa/AOM.java (add):
36160         Changed parameter Object into gnuServantObject.
36161         (Obj.object): Changed type to gnuServantObject.
36162         (findObject): Rewritten.
36163
36164 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36165
36166         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36167         buffering. Ability has gone in Qt-4.1.x.
36168
36169         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36170         to have the right include flags.
36171
36172 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36173
36174         * java/security/MessageDigest.java (getInstance(String,String)):
36175         Use trimmed copy of provider name.
36176         * gnu/java/security/Engine.java
36177         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36178         service and algorithm names.
36179
36180 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36181
36182         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36183         localhost is null or is an empty string. Trim hostname before
36184         lookup.
36185