OSDN Git Service

2007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
2
3         * resource/com/sun/tools/javac/messages.properties
4         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
5         messages for when --with-ecj-jar is not specified.
6         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
7         * tools/Makefile.am: Build com.sun.tools.javac package
8         unconditionally.
9         * configure, doc/api/Makefile.in, doc/Makefile.in,
10         examples/Makefile.in, external/jsr166/Makefile.in,
11         external/Makefile.in, external/relaxngDatatype/Makefile.in,
12         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
13         include/Makefile.in, lib/Makefile.in, Makefile.in,
14         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
15         native/jni/classpath/Makefile.in,
16         native/jni/gconf-peer/Makefile.in,
17         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
18         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
19         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
20         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
21         native/jni/midi-dssi/Makefile.in,
22         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
23         native/jni/xmlj/Makefile.in, native/Makefile.in,
24         native/plugin/Makefile.in, resource/Makefile.in,
25         scripts/Makefile.in, tools/Makefile.in: Regenerate.
26         * tools/classes/com/sun/tools/javac: New directory.
27         * tools/classes/com/sun/tools/javac/Main.class,
28         tools/classes/com/sun/tools/javac/Messages.class: New files.
29
30 2007-03-16  Tom Tromey  <tromey@redhat.com>
31
32         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
33         name in File case.
34
35 2007-03-16  Tom Tromey  <tromey@redhat.com>
36
37         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
38         (printClass): Added filename argument.
39         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
40         (printClass): Added filename argument.
41         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
42         (printClass): Use user's file name.
43         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
44         (printClass): Use user's file name.
45         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
46         filename argument.
47         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
48         argument order.
49         (writeHeaders): Use a HashMap.
50         (run): Put class name into HashMap for writeHeaders.
51
52 2007-03-02  Mario Torre  <neugens@limasoftware.net>
53
54         PR classpath/31017:
55         committed for Petteri Räty <betelgeuse@gentoo.org>
56         * configure.ac: fix broken build for gcj browser plugin
57
58 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
59
60         * java/util/Date.java (parse): Properly parse 09:01:02 as
61         hours/minutes/seconds, not as hours/minutes/year.
62         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
63         {start,end}TimeMode constructor by calling shorter constructor,
64         set {start,end}TimeMode fields after it returns.
65         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
66         startTimeMode to WALL_TIME.
67         (endStartRule): Similarly.
68         (getOffset): Handle properly millis + dstOffset overflowing into the
69         next day.  Adjust startTime resp. endTime based on startTimeMode
70         resp. endTimeMode.
71         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
72         static fields.
73         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
74         If non-null, set up aliases0 and don't put anything into
75         timezones0.
76         (defaultZone): Call getTimeZone instead of timezones().get.
77         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
78         getTimeZoneInternal instead of timezones().get.
79         (parseTime): Parse correctly hour:minute.
80         (getTimeZoneInternal): New private method.
81         (getTimeZone): Do the custom ID checking first, canonicalize
82         ID for custom IDs as required by documentation.  Call
83         getTimeZoneInternal to handle the rest.
84         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
85         (getAvailableIDs(File,String,ArrayList)): New private method.
86         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
87         * gnu/java/util/ZoneInfo.java: New file.
88
89 2007-02-20  Matthias Klose  <doko@ubuntu.com>
90
91         * doc/Makefile.am: Add rules to build and install man pages
92         from texinfo docs.
93         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
94         Rename, prefix files with "cp-".
95         * doc/cp-tools.texinfo: Add markup for man page generation,
96         add documentation for command line options for gjar, gjavah,
97         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
98         doc/texi2pod.pl: New, taken from the GCC sources.
99
100 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
101
102         PR classpath/28652:
103         * javax/management/MBeanInfo.java (MBeanInfo): 
104         Use clone to duplicate the arrays in order to
105         preserve the array type.
106
107 2007-02-16  Andrew Haley  <aph@redhat.com>
108
109         * gnu/java/lang/management/MemoryMXBeanImpl.java,
110         javax/management/MBeanServerDelegate.java: Use
111         gnu.javax.management.ListenerData rather than
112         gnu.classpath.ListenerData.
113         * gnu/javax/management/ListenerData.java: Move here from
114         gnu/classpath/ListenerData.java.
115
116 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
117         Andrew Haley  <aph@redhat.com>
118
119         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
120
121 2007-02-09  Tom Tromey  <tromey@redhat.com>
122
123         PR libgcj/30647:
124         * configure: Rebuilt.
125         * configure.ac: Also check for jack/jack.h.
126
127 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
128
129         * java/util/TimeZone.java: Handle default (one hour) daylight
130         savings.
131
132 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
133
134         PR 23566
135         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
136         just Rule lines, in the other everything else.  Pass 0 instead of
137         $savings as second argument to parseRule when parsing the start
138         rule.
139         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
140
141 2007-02-07  Chris Burdess  <dog@gnu.org>
142
143         Fixes PR 30718.
144         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
145         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
146           SAXSources without a backing URL or stream.
147
148         Fixes PR 27710.
149         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
150           LSParser if implementation does not support asynchronous.
151         * gnu/xml/stream/XMLParser.java,
152           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
153           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
154           protocol handler problems.
155
156 2007-02-06  Tom Tromey  <tromey@redhat.com>
157
158         PR libgcj/30707:
159         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
160         (printClass): Always print a header.
161
162 2007-02-05  Andrew Haley  <aph@redhat.com>
163
164         PR cp-tools/30706
165         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
166         (printClass): Replace '/' in filenames with '_'.
167         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
168         (printClass): Likewise.
169
170 2007-02-05  Tom Tromey  <tromey@redhat.com>
171
172         * java/net/Proxy.java (equals): Handle case where address==null.
173         (hashCode): Likewise.
174         (toString): Likewise.
175
176 2007-01-31  Tom Tromey  <tromey@redhat.com>
177
178         * resource/gnu/classpath/tools/jar/messages.properties
179         (Main.Stdin): New message.
180         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
181         '-@' option.
182         (readNames): New method.
183         (run): Use it.
184
185 2007-01-26  Andrew Haley  <aph@redhat.com>
186
187         * java/lang/SecurityManager.java: Load and initialize
188         java.security.Security.
189
190 2007-01-26  Tom Tromey  <tromey@redhat.com>
191
192         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
193         'volatile' after field type.
194
195 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
196
197         * java/util/Arrays.java (binarySearch): Change comparison order.
198
199 2007-01-17  Tom Tromey  <tromey@redhat.com>
200
201         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
202         (PathOptionGroup): Set default boot class path.
203
204 2006-12-14  Andrew Haley  <aph@redhat.com>
205
206         * tools/gnu/classpath/tools/jar/Creator.java: Close the
207         inputStream.
208
209 2006-10-12  Andrew Haley  <aph@redhat.com>
210
211         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
212         * java/lang/ThreadLocal.java: Likewise.
213
214 2006-09-13  Andrew Haley  <aph@redhat.com>
215
216         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
217         Revert previous gcj-specific disabling of checks.
218         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
219         Likewise.
220         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
221         Likewise.
222
223 2006-09-13  Andrew Haley  <aph@redhat.com>
224
225         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
226         capacity < 1.
227         (Iterator.remove()): Decrement index after removing element.
228
229 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
230
231         * javax/net/ssl/SSLSocketFactory.java (getDefault):
232         Chain exception cause.
233
234 2006-12-11  Roman Kennke  <kennke@aicas.com>
235
236         * .classpath: Include ASM in Eclipse classpath.
237
238 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
239
240         * gnu/java/lang/management/BeanImpl.java:
241         (translate(String)): Trim strings of whitespace.
242         * javax/management/MBeanAttributeInfo.java:
243         (MBeanAttributeInfo(String,String,Method,Method)):
244         Use Class.getName() for normal (non-parameterized) cases.
245         * javax/management/MBeanConstructorInfo.java:
246         (MBeanConstructorInfo(String, Constructor)):
247         Likewise.
248         * javax/management/MBeanOperationInfo.java:
249         (MBeanOperationInfo(String, Method)):
250         Likewise.
251
252 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
253
254         * java/lang/Class.java:
255         (getClasses()): Return Class<?>[].
256         (internalGetClasses()): Likewise.
257         (getConstructor(Class<?>...)): Add type parameter
258         to parameters.
259         (getDeclaredConstructor(Class<?>...)): Likewise.
260         (getDeclaredClasses()): Return Class<?>[].
261         (getDeclaredClasses(boolean)): Likewise.
262         (getDeclaredConstructors()): Return Constructor<?>[].
263         (getDeclaredConstructors(boolean)): Likewise.
264         (getDeclaredMethod(String,Class<?>...)): Add type
265         parameter to parameters.
266         (getInterfaces()): Return Class<?>[].
267         (getMethods(String,Class<?>...)): Add type
268         parameter to parameters.
269         * java/text/CollationKey.java:
270         Make non-final.
271         * java/text/DecimalFormatSymbols.java:
272         Likewise.
273         
274 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
275
276         * gnu/java/lang/management/BeanImpl.java:
277         (translate(String)): Handle Map and List as
278         Strings of the form "java.util.Map<K,V>" and
279         "java.util.List<E>"
280         * javax/management/MBeanAttributeInfo.java:
281         (MBeanAttributeInfo(String,String,Method,Method)):
282         Use generic parameter and return types.
283         * javax/management/MBeanConstructorInfo.java:
284         (MBeanConstructorInfo(String, Constructor)):
285         Use generic parameter types.
286         * javax/management/MBeanOperationInfo.java:
287         (MBeanOperationInfo(String, Method)):
288         Use generic parameter and return types.
289         
290 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
291
292         * gnu/java/lang/management/BeanImpl.java:
293         (translate(String)): Comment out code for using type
294         variables for Map and List.
295         * java/lang/Thread.java:
296         (Thread(ThreadGroup,Runnable,String,long)): Fix
297         incrementation of totalThreadsCreated to be prior to use.
298         
299 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
300
301         * javax/management/MBeanServerFactory.java:
302         (createMBeanServer(String)): Added security check.
303         (findMBeanServer(String)): Likewise.
304         (newMBeanServer(String)): Likewise.
305         (releaseMBeanServer(String)): Likewise.
306         * javax/management/MBeanServerPermission.java:
307         New file.
308         
309 2006-12-08  David Daney  <ddaney@avtrex.com>
310
311         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
312         Fix comment.
313
314 2006-12-08  David Daney  <ddaney@avtrex.com>
315
316         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
317
318 2006-12-08  David Daney  <ddaney@avtrex.com>
319
320         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
321         SocketException.
322         (HTTPConnection): Handle NumberFormatException in properties parsing.
323         (Pool.get): Set timeout on reused sockets.
324         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
325         Initialize.
326         (HTTPURLConnection): Cleanup properties handling.
327         (getConnection): Use both connection and read timeouts.
328         (setConnectTimeout): Removed.
329         (setReadTimeout): New method.
330         * java/net/URLConnection.java (timeout): Renamed to...
331         (connectTimeout): ... connectTimeout throughout.
332         (readTimeout): New field.
333         (getReadTimeout): New method.
334         (setReadTimeout): New method.
335
336 2006-12-08  Tania Bento  <tbento@redhat.com>
337
338         * java/awt/ScrollPane.java
339         (doLayout): Change the location of the scrollpane's child
340         to (0, 0).
341
342 2006-12-08  David Daney  <ddaney@avtrex.com>
343
344         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
345         New method.
346         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
347         SocketTimeoutException if a blocking socket timesout.
348         (Java_gnu_java_nio_VMChannel_readScattering): Same.
349         (Java_gnu_java_nio_VMChannel_read__I): Same.
350         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
351         (Java_gnu_java_nio_VMChannel_connect6): Same.
352
353 2006-12-08  Mark Wielaard  <mark@klomp.org>
354
355         * configure.ac (VERSION): Set to 0.93-generics.
356         * NEWS: Add release date.
357
358 2006-12-08  Tania Bento  <tbento@redhat.com>
359
360         * java/awt/ScrollPane.java
361         (getScrollPosition): Throw NullPointerException if scrollpane
362         does have a child.
363         (setScrollPosition(int, int)): Throw NullPointerException if
364         scrollpane does have a child.  Check that both ints are within
365         the allowed bounds; If they are not, scroll to the closest allowed
366         bound.
367
368 2006-12-07  Roman Kennke  <kennke@aicas.com>
369
370         * javax/swing/JEditorPane.java
371         (EditorKitMapping): New inner helper class.
372         (editorKits): New static field for caching editor kit instances.
373         (static_initiazer): Initialize static mappings here.
374         (createEditorKitForContentType): Try to use cached instance.
375         Use correct classloader for loading.
376         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
377         class.
378         (getEditorKitForContentType): Store the fetched editor kit.
379         Fallback to createDefaultEditorKit().
380         (init): Don't clean the static registry here.
381         (registerEditorKitForContentType(String,String,ClassLoader)):
382         Implemented.
383         (registerEditorKitForContentType(String,String)): Delegate to
384         the other version of this method with the thread's context
385         classloader.
386
387 2006-12-07  Mark Wielaard  <mark@klomp.org>
388
389         * examples/gnu/classpath/examples/swing/HtmlDemo.java
390         (setPage): Don't convert URL to String for setPage().
391
392 2006-12-07  Mark Wielaard  <mark@klomp.org>
393
394         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
395
396 2006-12-07  Mark Wielaard  <mark@klomp.org>
397
398         * tools/Makefile.am: Explicitly define  and use bootclasspath as
399         GLIBJ_BOOTCLASSPATH
400
401 2006-12-07  Mark Wielaard  <mark@klomp.org>
402
403         * javax/swing/JEditorPane.java (createEditorKitForContentType):
404         Always load from system class loader.
405
406 2006-12-07  Mark Wielaard  <mark@klomp.org>
407
408         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
409         private constructor.
410         (URL(URL,String,URLStreamHandler)): Call new constructor.
411         (URL(URL,String)): Likewise.
412         (URL(String)): Likewise.
413
414 2006-12-07  Tom Tromey  <tromey@redhat.com>
415
416         * NEWS: Mention ASM.
417         * INSTALL: Don't mention --with-asm.
418         * tools/external/README: New file.
419         * tools/toolwrapper.c (main): Don't use ASM_JAR.
420         * tools/gjavah.in: Don't use PATH_TO_ASM.
421         * tools/grmic.in: Likewise.
422         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
423         'asm'.
424         (javah, rmic): Removed variables.
425         (bin_PROGRAMS): Updated.
426         (gappletviewer_CFLAGS): Don't define ASM_JAR.
427         (gjarsigner_CFLAGS): Likewise.
428         (gkeytool_CFLAGS): Likewise.
429         (gjar_CFLAGS): Likewise.
430         (gnative2ascii_CFLAGS): Likewise.
431         (gserialver_CFLAGS): Likewise.
432         (grmiregistry_CFLAGS): Likewise.
433         (gtnameserv_CFLAGS): Likewise.
434         (gorbd_CFLAGS): Likewise.
435         (grmid_CFLAGS): Likewise.
436         (gjavah_CFLAGS): Likewise.
437         (grmic_CFLAGS): Likewise.
438         (bin_SCRIPTS): Updated.
439         (TOOLS_JAVA_FILES): Updated.
440         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
441         * configure.ac: Removed --with-asm.  Always build gjavah.
442
443 2006-12-06  Roman Kennke  <kennke@aicas.com>
444
445         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
446         New class.
447         * examples/gnu/classpath/examples/swing/HtmlDemo.java
448         (LoadActionListener): Call setPage() helper method.
449         (createContent): Register tweaked editor kit. For FormSubmitEvents
450         call submitForm(), otherwise setPage().
451         (postData): Helper method for posting form data.
452         (setPage): Helper method for navigating to a new URL.
453         (submitForm): Helper method for submitting a form.
454         * examples/gnu/classpath/examples/swing/forms.html:
455         Added text/password fields and select boxes.
456         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
457
458 2006-12-06  Roman Kennke  <kennke@aicas.com>
459
460         * javax/swing/text/html/FormView.java
461         (SubmitThread.postData): Implemented.
462         (SubmitThread.run): Pass data to postData().
463         (actionPerformed): Reset form when reset button is activated.
464         (createComponent): Add support for select lists and comboboxes.
465         Don't set value of text and password fields here, this is done
466         now in HTMLDocument for consistency.
467         (getElementFormData): Add support for fetching form data from
468         select lists and comboboxes as well as textareas.
469         (getSelectData): New helper method. Fetches form data from
470         select boxes.
471         (getTextAreaData): New helper method. Fetches form data from
472         textareas.
473         (resetForm): New helper method. Resets the entire form.
474         * javax/swing/text/html/HTMLDocument.java
475         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
476         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
477         (HTMLReader.FormAction.setModel): Initialize text and password
478         values here. Also, use the resetable special models.
479         Group radio buttons into ButtonGroup for exclusive selection.
480         (HTMLReader.FormTagAction): New class. Handles FORM tags.
481         (HTMLReader.buttonGroups): New field.
482         (HTMLReader.numOptions): New field.
483         (HTMLReader.option): New field.
484         (HTMLReader.selectModel): New field.
485         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
486         (HTMLReader.handleText): Handle OPTION text.
487         (HTMLReader.initTags): Map FORM tags to FormTagAction.
488         (HTMLReader.textAreaContent): Set initial content.
489         * javax/swing/text/html/Option.java
490         (Option): Make copy of attribute set. Initialize selected state.
491         (getValue): Fetch value from attribute set.
492         * javax/swing/text/html/ResetableModel.java: New interface.
493         * javax/swing/text/html/ResetablePlainDocument.java: New class.
494         Supports resetting the state.
495         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
496         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
497         * javax/swing/text/html/SelectListModel.java: Likewise.
498
499 2006-12-06  Roman Kennke  <kennke@aicas.com>
500
501         * javax/swing/text/DefaultCaret.java
502         (appear): Adjust visibility here.
503         (setDotImpl): Don't adjust visibility here.
504         (moveDotImpl): Don't adjust visibility here.
505
506 2006-12-06  Roman Kennke  <kennke@aicas.com>
507
508         * gnu/java/awt/peer/gtk/AsyncImage.java
509         (Loader.run): Synchronize on the AsyncImage to avoid threading
510         issues.
511         (addObservers): Check for obs==null outside and synchronize on
512         this inside to avoid locking issues.
513         (checkImage): New helper method.
514         (notifyObservers): Check that the correct lock is held and
515         remove actual locking.
516         * gnu/java/awt/peer/gtk/GtkToolkit.java
517         (checkImage): Added special handling for AsyncImages.
518         
519 2006-12-06  Roman Kennke  <kennke@aicas.com>
520
521         * examples/gnu/classpath/examples/swing/Demo.java
522         (getIcon): Made package private.
523         * examples/gnu/classpath/examples/swing/HtmlDemo.java
524         (hyperlinkUpdate): Convert URL to string.
525
526 2006-12-06  Mark Wielaard  <mark@klomp.org>
527
528         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
529         null Observer.
530
531 2006-12-06  Roman Kennke  <kennke@aicas.com>
532
533         * examples/gnu/classpath/examples/icons/back.png,
534         * examples/gnu/classpath/examples/icons/reload.png:
535         New icons for the HTML browser.
536         * examples/gnu/classpath/examples/swing/HtmlDemo.java
537         (history): New field. Manages the browsing history.
538         (HtmlDemo): Initialize history.
539         (createContent): Set location and add history. Add toolbar.
540         (createToolBar): New helper method.
541         (main): Make default size bigger.
542         * examples/gnu/classpath/examples/swing/frame1.html,
543         * examples/gnu/classpath/examples/swing/frame2.html,
544         * examples/gnu/classpath/examples/swing/frame3.html,
545         * examples/gnu/classpath/examples/swing/frame4.html,
546         * examples/gnu/classpath/examples/swing/frames.html,
547         * examples/gnu/classpath/examples/swing/tables.html:
548         New example pages.
549         * examples/gnu/classpath/examples/swing/welcome.html
550         Add a couple of links and new test pages.
551
552 2006-12-06  Roman Kennke  <kennke@aicas.com>
553
554         * javax/swing/JEditorPane.java
555         (getStream): Buffer the stream for efficiency.
556         (setPage): Don't scroll the view at this point.
557         * javax/swing/plaf/basic/BasicTextUI.java
558         (RootView.paint): Call RootView's setSize to get synchronization.
559         (RootView.setSize): Synchronize to prevent race in layout code.
560         * javax/swing/text/AbstractDocument.java
561         (notifyListeners): New field.
562         (fireChangedUpdate): Track notifyListener field.
563         (fireRemoveUpdate): Track notifyListener field.
564         (fireIndertUpdate): Track notifyListener field.
565         (writeLock): Check notifyListener and throw IllegalStateException.
566         * javax/swing/text/View.java
567         (preferenceChanged): Create local var for better thread safety and
568         more efficiency.
569
570 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
571
572         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
573         lightweight component, not just for non-Panel components.
574         (addImpl): Do not call doLayout.
575         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
576         (setNativeBounds): Ensure widget parent is a GtkFixed before
577         calling gtk_fixed_move.
578         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
579         (setNativeBounds): Likewise.
580         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
581         (setNativeBounds): Likewise.
582
583 2006-12-06  Roman Kennke  <kennke@aicas.com>
584
585         * javax/swing/text/html/TableView.java
586         (RowView.layoutMajorAxis): Check column index for invalid value.
587         (updateGrid): Check column index for invalid value.
588
589 2006-12-06  Roman Kennke  <kennke@aicas.com>
590
591         * javax/swing/text/html/BlockView.java
592         (getAlignment): Align blocks horizontally by the superclass.
593         * javax/swing/text/html/HTMLEditorKit.java
594         (HTMLFactory.create): Replace equals comparison by == for efficiency.
595         Add mapping for misplaced tr, td and th tags. Include object mapping.
596         * javax/swing/text/html/TableView.java
597         (RowView.replace): Invalidate grid early.
598         (gridValid): Initialize with false.
599         (create): Only create RowView and CellView for correctly placed
600         tags. Avoid unnecessary casts.
601         (getAlignment): Removed.
602         (replace): Invalidate grid early.
603
604 2006-12-06  Francis Kung  <fkung@redhat.com>
605
606         * java/awt/geom/RectangularShape.java
607         (getBounds): Remove empty rectangle check.
608
609 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
610
611         Fixes PR 29853.
612         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
613         newValue are the same.
614         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
615
616 2006-12-06  Tania Bento  <tbento@redhat.com>
617
618         * javax/swing/border/CompoundBorder.java:
619         (isBorderOpaque): If inside border is null, return true if outside
620         border is opaque, false otherwise; if outside border is null, return
621         true if inside border is opaque, false otherwise; if inside or
622         outside border are both not null, then return true only if both the
623         inside and outside border are opaque, false otherwise.
624
625 2006-12-06  Tania Bento  <tbento@redhat.com>
626
627         * javax/swing/border/CompoundBorder.java:
628         (isBorderOpaque): If inside and outside border both have a null
629         value, return true.
630
631 2006-12-06  Chris Burdess  <dog@gnu.org>
632
633         Fixes PR 29272.
634         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
635         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
636
637 2006-12-06  Chris Burdess  <dog@gnu.org>
638
639         Fixes PR 29264.
640         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
641           writeDTD method.
642
643 2006-12-06  Chris Burdess  <dog@gnu.org>
644
645         Fixes PR 28816.
646         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
647           discover schema factory implementation class.
648
649 2006-12-05  Francis Kung  <fkung@redhat.com>
650
651         * java/awt/BasicStroke.java
652         (capEnd): Prevent division by zero.
653         * java/awt/geom/Arc2D.java
654         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
655         (ArcIterator.currentSegment): Handle a negative extent.
656
657 2006-12-05  Francis Kung  <fkung@redhat.com>
658
659         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
660         (constructor): Handle translated subimages properly, ie, if the image's
661         0,0 position is not the data buffer's first element.
662
663 2006-12-05  Roman Kennke  <kennke@aicas.com>
664
665         * gnu/java/awt/peer/gtk/AsyncImage.java
666         (Loader.run): Nullify observers after loading.
667         (observers): Made package private.
668         (addObserver): Check for null observers field. Create local
669         variable for thread safety.
670         (getHeight): Use addObserver() for checking state of field
671         and notifying observer when necessary.
672         (getWidth): Use addObserver() for checking state of field
673         and notifying observer when necessary.
674         (getProperty): Use addObserver() for checking state of field
675         and notifying observer when necessary.
676         (notifyObservers): Check for null observers field. Create local
677         variable for thread safety.
678
679 2006-12-05  Roman Kennke  <kennke@aicas.com>
680
681         * javax/swing/text/html/HTMLEditorKit.java
682         (HTMLFactory.create): Removed debug output.
683         * javax/swing/text/html/InlineView.java
684         (getBreakWeight): Likewise.
685         * javax/swing/text/html/StyleSheet.java
686         (addRule): Likewise.
687         (ListPainter.paint): Removed debug output.
688
689 2006-12-05  Roman Kennke  <kennke@aicas.com>
690
691         * javax/swing/text/html/BlockView.java
692         (painter): Made package visible.
693         * javax/swing/text/html/StyleSheet.java
694         (translateBorder): New helper method.
695         (translateHTMLToCSS): Add mappings for border attributes.
696         * javax/swing/text/html/TableView.java
697         Made class subclass of BlockView to get CSS goodness.
698         (CellView.rowSpan): New field.
699         (CellView.setPropertiesFromAttributes): Fetch rowspan.
700         (RowView.overlap): New field.
701         (RowView.rowIndex): New field.
702         (RowView.layoutMajorAxis): Skip overlapping cells.
703         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
704         (numColumns): New field.
705         (tmpRect): New field.
706         (TableView): Initialize tmpRect.
707         (calculateColumnRequirements): Adjusted and fixed for multirows.
708         (getAlignment): Overridden to center tables.
709         (paint): Overridden to fix clipping.
710         (getStyleSheet): Made protected.
711         (layoutMajorAxis): Invalidate rows.
712         (setPropertiesFromAttributes): Made protected and call super.
713         (updateGrid): Update the overlapping information for multirows.
714
715 2006-12-05  Roman Kennke  <kennke@aicas.com>
716
717         * gnu/java/awt/peer/gtk/AsyncImage.java
718         (addObserver): Check for null and ignore null observers.
719         (getWidth): Check for null and ignore null observers.
720         (getHeight): Check for null and ignore null observers.
721         (getProperty): Check for null and ignore null observers.
722
723 2006-12-05  Francis Kung  <fkung@redhat.com>
724
725         * java/awt/BasicStroke.java
726         (capEnd): Prevent division by zero.
727         * java/awt/geom/Arc2D.java
728         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
729         (ArcIterator.currentSegment): Handle a negative extent.
730
731 2006-12-05  Francis Kung  <fkung@redhat.com>
732
733         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
734         (constructor): Handle translated subimages properly, ie, if the image's
735         0,0 position is not the data buffer's first element.
736
737 2006-12-05  Roman Kennke  <kennke@aicas.com>
738
739         * javax/swing/text/html/ImageView.java
740         (imageUpdate): Use spans field to determine if the CSS width/height
741         are set. Call safePreferenceChanged to protect view structure
742         from threading issues.
743         (spans): Made package private.
744         (ImageView): Initialize loadOnDemand with false.
745         (loadImage): Call Toolkit.prepareImage() to make sure we have
746         our Observer registered.
747         (safePreferenceChanged): New helper method. Calls preferenceChanged
748         in a thread safe environment.
749
750 2006-12-05  Roman Kennke  <kennke@aicas.com>
751
752         * NEWS: Add entry about improved HTML support.
753
754 2006-12-05  Roman Kennke  <kennke@aicas.com>
755
756         * javax/swing/text/html/ImageView.java
757         (ImageView): Initialize spans array here.
758         (setPropertiesFromAttributes): Moved init of spans array to
759         constructor.
760
761 2006-12-05  Roman Kennke  <kennke@aicas.com>
762
763         * javax/swing/text/html/BlockView.java
764         (painter): Made package visible.
765         * javax/swing/text/html/StyleSheet.java
766         (translateBorder): New helper method.
767         (translateHTMLToCSS): Add mappings for border attributes.
768         * javax/swing/text/html/TableView.java
769         Made class subclass of BlockView to get CSS goodness.
770         (CellView.rowSpan): New field.
771         (CellView.setPropertiesFromAttributes): Fetch rowspan.
772         (RowView.overlap): New field.
773         (RowView.rowIndex): New field.
774         (RowView.layoutMajorAxis): Skip overlapping cells.
775         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
776         (numColumns): New field.
777         (tmpRect): New field.
778         (TableView): Initialize tmpRect.
779         (calculateColumnRequirements): Adjusted and fixed for multirows.
780         (getAlignment): Overridden to center tables.
781         (paint): Overridden to fix clipping.
782         (getStyleSheet): Made protected.
783         (layoutMajorAxis): Invalidate rows.
784         (setPropertiesFromAttributes): Made protected and call super.
785         (updateGrid): Update the overlapping information for multirows.
786
787 2006-12-05  Roman Kennke  <kennke@aicas.com>
788
789         * javax/swing/text/html/HTMLEditorKit.java
790         (HTMLFactory.create): Removed debug output.
791         * javax/swing/text/html/InlineView.java
792         (getBreakWeight): Likewise.
793         * javax/swing/text/html/StyleSheet.java
794         (addRule): Likewise.
795         (ListPainter.paint): Removed debug output.
796
797 2006-12-06  Roman Kennke  <kennke@aicas.com>
798
799         * javax/swing/text/html/BlockView.java
800         (getAlignment): Align blocks horizontally by the superclass.
801         * javax/swing/text/html/HTMLEditorKit.java
802         (HTMLFactory.create): Replace equals comparison by == for efficiency.
803         Add mapping for misplaced tr, td and th tags. Include object mapping.
804         * javax/swing/text/html/TableView.java
805         (RowView.replace): Invalidate grid early.
806         (gridValid): Initialize with false.
807         (create): Only create RowView and CellView for correctly placed
808         tags. Avoid unnecessary casts.
809         (getAlignment): Removed.
810         (replace): Invalidate grid early.
811
812
813 2006-12-06  Roman Kennke  <kennke@aicas.com>
814
815         * javax/swing/text/html/TableView.java
816         (RowView.layoutMajorAxis): Check column index for invalid value.
817         (updateGrid): Check column index for invalid value.
818
819 2006-12-06  Roman Kennke  <kennke@aicas.com>
820
821         * javax/swing/JEditorPane.java
822         (getStream): Buffer the stream for efficiency.
823         (setPage): Don't scroll the view at this point.
824         * javax/swing/plaf/basic/BasicTextUI.java
825         (RootView.paint): Call RootView's setSize to get synchronization.
826         (RootView.setSize): Synchronize to prevent race in layout code.
827         * javax/swing/text/AbstractDocument.java
828         (notifyListeners): New field.
829         (fireChangedUpdate): Track notifyListener field.
830         (fireRemoveUpdate): Track notifyListener field.
831         (fireIndertUpdate): Track notifyListener field.
832         (writeLock): Check notifyListener and throw IllegalStateException.
833         * javax/swing/text/View.java
834         (preferenceChanged): Create local var for better thread safety and
835         more efficiency.
836
837 2006-12-06  Roman Kennke  <kennke@aicas.com>
838
839         * examples/gnu/classpath/examples/icons/back.png,
840         * examples/gnu/classpath/examples/icons/reload.png:
841         New icons for the HTML browser.
842         * examples/gnu/classpath/examples/swing/HtmlDemo.java
843         (history): New field. Manages the browsing history.
844         (HtmlDemo): Initialize history.
845         (createContent): Set location and add history. Add toolbar.
846         (createToolBar): New helper method.
847         (main): Make default size bigger.
848         * examples/gnu/classpath/examples/swing/frame1.html,
849         * examples/gnu/classpath/examples/swing/frame2.html,
850         * examples/gnu/classpath/examples/swing/frame3.html,
851         * examples/gnu/classpath/examples/swing/frame4.html,
852         * examples/gnu/classpath/examples/swing/frames.html,
853         * examples/gnu/classpath/examples/swing/tables.html:
854         New example pages.
855         * examples/gnu/classpath/examples/swing/welcome.html
856         Add a couple of links and new test pages.
857
858 2006-12-06  Roman Kennke  <kennke@aicas.com>
859
860         * examples/gnu/classpath/examples/swing/Demo.java
861         (getIcon): Made package private.
862         * examples/gnu/classpath/examples/swing/HtmlDemo.java
863         (hyperlinkUpdate): Convert URL to string.
864
865 2006-12-06  Roman Kennke  <kennke@aicas.com>
866
867         * javax/swing/text/DefaultCaret.java
868         (appear): Adjust visibility here.
869         (setDotImpl): Don't adjust visibility here.
870         (moveDotImpl): Don't adjust visibility here.
871
872 2006-12-06  Roman Kennke  <kennke@aicas.com>
873
874         * javax/swing/text/html/FormView.java
875         (SubmitThread.postData): Implemented.
876         (SubmitThread.run): Pass data to postData().
877         (actionPerformed): Reset form when reset button is activated.
878         (createComponent): Add support for select lists and comboboxes.
879         Don't set value of text and password fields here, this is done
880         now in HTMLDocument for consistency.
881         (getElementFormData): Add support for fetching form data from
882         select lists and comboboxes as well as textareas.
883         (getSelectData): New helper method. Fetches form data from
884         select boxes.
885         (getTextAreaData): New helper method. Fetches form data from
886         textareas.
887         (resetForm): New helper method. Resets the entire form.
888         * javax/swing/text/html/HTMLDocument.java
889         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
890         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
891         (HTMLReader.FormAction.setModel): Initialize text and password
892         values here. Also, use the resetable special models.
893         Group radio buttons into ButtonGroup for exclusive selection.
894         (HTMLReader.FormTagAction): New class. Handles FORM tags.
895         (HTMLReader.buttonGroups): New field.
896         (HTMLReader.numOptions): New field.
897         (HTMLReader.option): New field.
898         (HTMLReader.selectModel): New field.
899         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
900         (HTMLReader.handleText): Handle OPTION text.
901         (HTMLReader.initTags): Map FORM tags to FormTagAction.
902         (HTMLReader.textAreaContent): Set initial content.
903         * javax/swing/text/html/Option.java
904         (Option): Make copy of attribute set. Initialize selected state.
905         (getValue): Fetch value from attribute set.
906         * javax/swing/text/html/ResetableModel.java: New interface.
907         * javax/swing/text/html/ResetablePlainDocument.java: New class.
908         Supports resetting the state.
909         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
910         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
911         * javax/swing/text/html/SelectListModel.java: Likewise.
912
913 2006-12-06  Roman Kennke  <kennke@aicas.com>
914
915         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
916         New class.
917         * examples/gnu/classpath/examples/swing/HtmlDemo.java
918         (LoadActionListener): Call setPage() helper method.
919         (createContent): Register tweaked editor kit. For FormSubmitEvents
920         call submitForm(), otherwise setPage().
921         (postData): Helper method for posting form data.
922         (setPage): Helper method for navigating to a new URL.
923         (submitForm): Helper method for submitting a form.
924         * examples/gnu/classpath/examples/swing/forms.html:
925         Added text/password fields and select boxes.
926         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
927
928 2006-12-07  Mark Wielaard  <mark@klomp.org>
929
930         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
931         private constructor.
932         (URL(URL,String,URLStreamHandler)): Call new constructor.
933         (URL(URL,String)): Likewise.
934         (URL(String)): Likewise.
935
936 2006-12-07  Mark Wielaard  <mark@klomp.org>
937
938         * javax/swing/JEditorPane.java (createEditorKitForContentType):
939         Always load from system class loader.
940
941 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
942
943         Fixes PR 29853.
944         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
945         newValue are the same.
946         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
947
948 2006-12-06  Chris Burdess  <dog@gnu.org>
949
950         Fixes PR 29272.
951         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
952         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
953
954 2006-12-06  Chris Burdess  <dog@gnu.org>
955
956         Fixes PR 29264.
957         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
958         writeDTD method.
959
960 2006-12-056  Chris Burdess  <dog@gnu.org>
961
962         Fixes PR 28816.
963         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
964         discover schema factory implementation class.
965
966 2006-12-05  Roman Kennke  <kennke@aicas.com>
967
968         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
969         asynchronous loading of images.
970         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
971         (drawImage): Fetch real image from possibly AsyncImage.
972         * gnu/java/awt/peer/gtk/ComponentGraphics.java
973         (drawImage): Fetch real image from possibly AsyncImage.
974         * gnu/java/awt/peer/gtk/GtkToolkit.java
975         (createImage(URL)): Create async image.
976         (imageOrError): Made method static for easy access from AsyncImage.
977         (prepareImage): For async images, register the observer to the
978         image.
979
980 2006-12-05  Roman Kennke  <kennke@aicas.com>
981
982         (paintComponent): Include paint area from event.
983         (updateComponent): Include paint area from event.
984
985 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
986
987         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
988         lightweight component, not just for non-Panel components.
989         (addImpl): Do not call doLayout.
990         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
991         (setNativeBounds): Ensure widget parent is a GtkFixed before
992         calling gtk_fixed_move.
993         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
994         (setNativeBounds): Likewise.
995         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
996         (setNativeBounds): Likewise.
997
998 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
999
1000         * java/awt/Component.java (getFontImpl): Return a default font if
1001         topmost parent's font is null.
1002
1003 2006-12-04  Mark Wielaard  <mark@klomp.org>
1004
1005         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1006         Remove debug output.
1007
1008 2006-12-04  Roman Kennke  <kennke@aicas.com>
1009
1010         * java/awt/font/TextLayout.java
1011         (hitTestChar): Fixed conditions for inclusion of range.
1012         Use layout information in the run for more efficiency.
1013
1014 2006-12-04  Roman Kennke  <kennke@aicas.com>
1015
1016         * javax/swing/text/GlyphView.java
1017         (J2DGlyphPainter): New inner class.
1018         (checkPainter): For Java2D capable environments create
1019         a J2DGlyphPainter.
1020
1021 2006-12-04  Roman Kennke  <kennke@aicas.com>
1022
1023         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1024         (FreeTypeGlyphVector): Don't filter control chars here.
1025         (getGlyphs): Filter control chars and replace them by
1026         hair space char.
1027
1028 2006-12-04  Roman Kennke  <kennke@aicas.com>
1029
1030         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1031         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1032
1033 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1034
1035         * gnu/java/lang/management/BeanImpl.java:
1036         (translate(String)): Don't assume the list uses "E",
1037         just use the first and only type variable.
1038         * java/lang/management/ManagementFactory.java:
1039         (getPlatformMBeanServer()): Register logging bean.
1040         * javax/management/openmbean/OpenType.java:
1041         (OpenType(String,String,String)): Actually use
1042         the string created to handle arrays.
1043         
1044 2006-12-04  Mark Wielaard  <mark@klomp.org>
1045
1046         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1047         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1048
1049 2006-12-04  Mark Wielaard  <mark@klomp.org>
1050
1051         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1052         Make static.
1053         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1054         (JCL_thread_interrupted): Only take JNIEnv.
1055         (vm_channel_class): New static variable.
1056         (initID): Set vm_channel_class.
1057         Wrap all reads() and writes() in do-while blocks that check
1058         interrupted status.
1059
1060 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1061
1062         * gnu/javax/management/Server.java:
1063         Make map final and initialise it.
1064         (unregisterMBean(ObjectName)): Match against
1065         delegate's object name and not the instance.
1066         * java/lang/management/ManagementFactory.java:
1067         Added constant fields.
1068         (getPlatformMBeanServer()): Implemented.
1069         * javax/management/MBeanServerFactory.java: New file.
1070         
1071 2006-12-04  Roman Kennke  <kennke@aicas.com>
1072
1073         * javax/swing/text/BoxView.java
1074         (paint): Replaced painting algorithm with more simple and more
1075         reliable painting of the box.
1076         * javax/swing/text/html/BlockView.java
1077         (PositionInfo): New inner class. Stores additional CSS
1078         positioning information.
1079         (positionInfo): New field.
1080         (BlockView): Initialize positionInfo field.
1081         (fetchLayoutInfo): New helper method. Fetches additional
1082         CSS positioning information.
1083         (layoutMajorAxis): Perform additional CSS layout.
1084         (layoutMinorAxis): Perform additional CSS layout.
1085         (positionView): New helper method.
1086         (replace): Overridden to fetch additional layout information.
1087         * javax/swing/text/html/CSS.java
1088         (Attribute.POSITION): New field.
1089         (Attribute.LEFT): New field.
1090         (Attribute.RIGHT): New field.
1091         (Attribute.TOP): New field.
1092         (Attribute.BOTTOM): New field.
1093         (getValue): Create Length for left, right, top and bottom
1094         attributes.
1095
1096 2006-12-04  Roman Kennke  <kennke@aicas.com>
1097
1098         * gnu/javax/swing/text/html/parser/support/Parser.java
1099         (Sgml): Consume any whitespace that immediately follows
1100         and sgml insertion.
1101         (parseDocument): Consume any initial whitespace.
1102
1103 2006-12-03  Mark Wielaard  <mark@klomp.org>
1104
1105         * gnu/javax/management/Server.java (beans): Initialize.
1106         (registerMBean): Don't initialize beans.
1107
1108 2006-12-03  Mark Wielaard  <mark@klomp.org>
1109
1110         * java/util/logging/LogManager.java (getLevelProperty): Check
1111         whether value is null before passing to Level.parse().
1112
1113 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1114
1115         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1116         whether given a null lock and lockOwner.
1117
1118 2006-12-03  Mark Wielaard  <mark@klomp.org>
1119
1120         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1121         (PageLoader.page): Made package local.
1122         (PageLoader.run): Don't reset loader.
1123         (PageLoader.cancel): New method.
1124         (loading): Renamed to loader.
1125         (getPage): Return loader.page.
1126         (setPage): Always set loader. Never reset to null.
1127
1128 2006-12-03  Mark Wielaard  <mark@klomp.org>
1129
1130         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1131         path[k] is null.
1132         (isLastChild): Return false when path is null.
1133
1134 2006-12-03  Mark Wielaard  <mark@klomp.org>
1135
1136         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1137         to currentPaintArea.
1138         (paintComponent): Work with local reference to currentPaintArea.
1139         (updateComponent): Likewise.
1140         (coalescePaintEvent): Set currentPaintArea.
1141
1142 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1143
1144         * javax/management/MBeanServerBuilder.java: New file.
1145         
1146 2006-12-01  Mark Wielaard  <mark@klomp.org>
1147
1148         * java/text/DecimalFormat.java (parse): Always increment parsing
1149         index and adjust pos result.
1150
1151 2006-12-01  Roman Kennke  <kennke@aicas.com>
1152
1153         * javax/swing/text/html/HTML.java
1154         (Attribute.DYNAMIC_CLASS): New field.
1155         (Attribute.PSEUDO_CLASS): New field.
1156         * javax/swing/text/html/HTMLDocument.java
1157         (HTMLReader.CharacterAction.start): Initialize anchor with link
1158         pseudo attribute.
1159         (updateSpecialClass): New helper method. Updates the dynamic
1160         or pseudo class for anchor tags.
1161         * javax/swing/text/html/HTMLEditorKit.java
1162         (LinkController.lastAnchorElement): New field. For tracking
1163         enter/exit of anchors.
1164         (LinkController.activateLink): Set pseudo class to 'visited'.
1165         (LinkController.mouseMoved): Added support for tracking
1166         the 'hover' dynamic class.
1167         * javax/swing/text/html/InlineView.java
1168         (changedUpdate): Fetch new properties.
1169         * javax/swing/text/html/StyleSheet.java
1170         (attributeSetToMap): New helper method.
1171         (getRule): Also append dynamic and pseudo class to key.
1172         (resolveStyle): Resolve style based generally on all attributes.
1173         * javax/swing/text/html/TableView.java
1174         (RowView.layoutMajorAxis): Make sure the grid is valid.
1175         (updateGrid): Made package private.
1176         * gnu/javax/swing/text/html/css/Selector.java
1177         (calculateSpecificity): Added support for dynamic and pseudo classes.
1178         (matches): Changed to operate on general attributes.
1179         Added support for dynamic and pseudo classes.
1180
1181 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1182
1183         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1184         fractional portion in a separate method.
1185         Also fixes the handling of decimal separator and its associated field.
1186         (handleFractionalPart): new method, needed to relax a bit
1187         formatInternal.
1188         
1189 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1190
1191         * java/beans/beancontext/BeanContextServicesSupport.java:
1192         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1193         Class)): Implemented.
1194         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1195         Class, Object)): Implemented.
1196         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1197         Object, Object)): Implemented.
1198         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1199         Implemented.
1200         (initialiseBeanContextResources()): Implemented.
1201         (releaseBeanContextResoures()): Implemented.
1202         
1203 2006-12-01  Mark Wielaard  <mark@klomp.org>
1204
1205         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1206
1207 2006-12-01  Roman Kennke  <kennke@aicas.com>
1208
1209         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1210         handling border styles.
1211         * gnu/javax/swing/text/html/css/BorderWidth.java
1212         (isValid): New method.
1213         * gnu/javax/swing/text/html/css/Length.java
1214         (isValid): New method.
1215         * javax/swing/text/html/CSS.java
1216         (addInternal): Added shorthand parsing for border, padding and
1217         margin.
1218         (parseBackgroundShorthand): Added API docs.
1219         (parsePaddingShorthand): New method. Handles padding shorthand
1220         values.
1221         (parseMarginShorthand): New method. Handles margin shorthand
1222         values.
1223         (parseBorderShorthand): New method. Handles border shorthand
1224         values.
1225         * javax/swing/text/html/StyleSheet.java
1226         (translateHTMLToCSS): Set specific padding attributes.
1227         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1228         These shorthands are now handled in CSS.
1229         (BoxPainter.paint): Exclude the outer margin.
1230
1231 2006-12-01  Roman Kennke  <kennke@aicas.com>
1232
1233         * gnu/javax/swing/text/html/css/Length.java
1234         (emBase): New field.
1235         (exBase): New field.
1236         (isFontEMRelative): New field.
1237         (isFontEXRelative): New field.
1238         (Length): Recognize and setup EM and EX relative values.
1239         (getValue): Handle EM and EX relative values.
1240         (isEMRelative): New method.
1241         (isEXRelative): New method.
1242         (setEMBase): New method.
1243         (setEXBase): New method.
1244         (setFontBases): New method.
1245         * gnu/javax/swing/text/html/parser/support/Parser.java
1246         (_handleEmptyTag): Use new isBlock() helper method.
1247         (_handleEndTag_remaining): Use new isBlock() helper method.
1248         (_handleStartTag): Consume whitespace after block start tag.
1249         (Comment): Consume whitespace after a comment.
1250         (isBlock): New helper method.
1251         (readAttributes): Consider all characters in unquoted attribute
1252         values.
1253         * javax/swing/text/html/BlockView.java
1254         (layoutMinorAxis): Use cached span value.
1255         (paint): Added debug code (commented out).
1256         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1257         * javax/swing/text/html/CSSBorder.java
1258         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1259         with stylesheet.
1260         (getBorderWidth): Set the EM and EX base on the length values.
1261         * javax/swing/text/html/HTMLDocument.java
1262         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1263         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1264         (HTMLReader.inImpliedParagraph): Removed.
1265         (HTMLReader.inParagraph): Removed.
1266         (HTMLReader.parseStack): New field.
1267         (HTMLReader.addContent): Use new paragraph handling.
1268         (HTMLReader.addSpecialElement): Use new paragraph handling.
1269         (HTMLReader.blockClose): Use new paragraph handling.
1270         (HTMLReader.blockOpen): Use new paragraph handling.
1271         (HTMLReader.inImpliedParagraph): New helper method.
1272         (HTMLReader.inParagraph): New helper method.
1273         * javax/swing/text/html/ImageView.java
1274         (attributes): New field. Caches view attributes.
1275         (spans): New field. Caches CSS spans.
1276         (getAttributes): Correctly setup CSS view attributes.
1277         (getPreferredSpan): Use caches spans.
1278         (getStyleSheet): Use the view's getDocument() method.
1279         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1280         (updateSize): Use cached spans.
1281         * javax/swing/text/html/ParagraphView.java
1282         (setPropertiesFromAttributes): Setup EM and EX.
1283         * javax/swing/text/html/StyleSheet.java
1284         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1285         (getEMBase): New helper method.
1286         (getEXBase): New helper method.
1287         * javax/swing/text/html/TableView.java
1288         (width): New field. Caches the table width.
1289         (calculateMinorAxisRequirements): Use caches span.
1290         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1291         (updateGrid): Correctly setup EM/EX.
1292
1293 2006-11-30  Roman Kennke  <kennke@aicas.com>
1294
1295         * javax/swing/text/html/FormSubmitEvent.java: New class.
1296         * javax/swing/text/html/FormView.java
1297         (SubmitThread): New class for submitting data in a separate thread.
1298         (actionPerformed): Fetch the actual for data.
1299         (addData): New helper method.
1300         (getElementFormData): New helper method.
1301         (getFormData): New helper method.
1302         (getInputFormData): New helper method.
1303         (submitData): Implemented.
1304         * javax/swing/text/html/FrameView.java
1305         (createComponent): Add this as hyperlink listener.
1306         Set the target document as frame document.
1307         (getTopEditorPane): New helper method.
1308         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1309         (handleHyperlinkEvent): New helper method.
1310         (handleFormSubmitEvent): New helper method.
1311         * javax/swing/text/html/HTMLDocument.java
1312         (HTMLReader.BaseAction.start): Track the base target.
1313         (HTMLReader.BaseAction.end): Removed.
1314         (baseTarget): New field.
1315         (frameDocument): New field.
1316         (getBaseTarget): New property accessor.
1317         (isFrameDocument): New property accessor.
1318         (processHTMLFrameHyperlinkEvent): Implemented.
1319         (setFrameDocument): New property accessor.
1320         (updateFrame): New helper method.
1321         (updateFrameSet): New helper method.
1322         * javax/swing/text/html/HTMLEditorKit.java
1323         (LinkController.createHyperlinkEvent): Handle frame documents.
1324         (autoFormSubmission): New field.
1325         (HTMLEditorKit): Set autoFormSubmission to true.
1326         (isAutoFormSubmission): New property accessor.
1327         (setAutoFormSubmission): New property accessor.
1328
1329 2006-11-30  Roman Kennke  <kennke@aicas.com>
1330
1331         * javax/swing/text/ElementIterator.java
1332         (ElementRef): New inner class.
1333         (currentDepth): Removed.
1334         (currentElement): Removed.
1335         (previousItem): Removed.
1336         (stack): New field. Holds the iteration stack.
1337         (state): Removed.
1338         (ElementIterator(Document)): Removed init of removed fields.
1339         (ElementIterator(Element)): Removed init of removed fields.
1340         (current): Changed to stack based algorithm.
1341         (deepestLeaf): New helper method.
1342         (depth): Changed to stack based algorithm.
1343         (first): Changed to stack based algorithm.
1344         (next): Changed to stack based algorithm.
1345         (previous): Changed to stack based algorithm.
1346
1347 2006-11-30  Francis Kung  <fkung@redhat.com>
1348
1349         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1350         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1351
1352 2006-11-30  Francis Kung  <fkung@redhat.com>
1353
1354         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1355         (draw): Set transform in buffered composite.
1356         (drawComposite): Do not transform bounds; round bounds.
1357         (drawGlyphVector):  Set transform in buffered composite.
1358         (drawRenderedImage):  Set transform in buffered composite.
1359         (fill):  Set transform in buffered composite.
1360         (updateBufferedImage): Fix scanline & height calculations.
1361         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1362         (createPath): Simplify width & height calculation.
1363         (drawImage): Also transform width & height.
1364
1365 2006-11-30  Roman Kennke  <kennke@aicas.com>
1366
1367         * javax/swing/text/html/FrameSetView.java: New class. Implements
1368         HTML framesets.
1369         * javax/swing/text/html/FrameView.java: New class. Implements
1370         HTML frames.
1371         * javax/swing/text/html/HTMLDocument.java:
1372         (HTMLReader.addSpecialElement): Only add one artificial space.
1373         * javax/swing/text/html/HTMLEditorKit.java
1374         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1375         * gnu/javax/swing/text/html/parser/support/Parser.java
1376         (_handleEmptyTag): Also consume whitespace after frame tags.
1377
1378 2006-11-30  Gary Benson  <gbenson@redhat.com>
1379
1380         * java/lang/Thread.java: Javadoc fixes.
1381
1382 2006-11-29  Tom Tromey  <tromey@redhat.com>
1383
1384         PR classpath/28203:
1385         * java/lang/Class.java (getAnnotations): Rewrote.
1386
1387 2006-11-29  Tania Bento  <tbento@redhat.com>
1388
1389         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1390         (parseParams): Unescape 'val' before putting it into the Map.
1391         (unescapeString): New private method.
1392
1393 2006-11-29  Tom Tromey  <tromey@redhat.com>
1394
1395         * tools/gnu/classpath/tools/getopt/package.html: New file.
1396
1397 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1398
1399         * javax/swing/plaf/metal/MetalIconFactory.java
1400         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1401         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1402
1403 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1404
1405         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1406         with the default international currency sign \u00A4.
1407         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1408         table for string formatting.
1409         (formatInternal): likewise.
1410         (scanNegativePattern): likewise.
1411         (applyPattern): likewise.
1412         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1413         Locale is immutable and does not need clone.
1414
1415 2006-11-29  Francis Kung  <fkung@redhat.com>
1416
1417         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1418         (drawLine): Remove hard-coded pixel shifting.
1419
1420 2006-11-29  Roman Kennke  <kennke@aicas.com>
1421
1422         * java/awt/Component.java
1423         (isShowing): Simplified condition code and avoid unnecessary
1424         if-codepaths.
1425         (coalesceEvents): Always coalesce paint events and let the peer
1426         figure out the expanding of the repaint area.
1427         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1428         (currentPaintEvents): Removed. Replaced by paintArea.
1429         (paintArea): New field. Tracks the dirty area.
1430         (SwingComponentPeer): Removed init of currentPaintEvents.
1431         (coalescePaintEvent): Simplified to only union the dirty regions.
1432         (handleEvent): Paint dirty region that was tracked in paintArea.
1433         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1434         (paintArea): New field. Tracks the dirty region.
1435         (coalescePaintEvent): Implemented to track the dirty region.
1436         (paintComponent): Use the dirty region in paintArea. Protect
1437         state by putting the paint and dispose code in a try-finally.
1438         (updateComponent): Use the dirty region in paintArea. Protect
1439         state by putting the paint and dispose code in a try-finally.
1440
1441 2006-11-29  Roman Kennke  <kennke@aicas.com>
1442
1443         * java/awt/font/TextLayout.java
1444         (getVisualHighlightShape): Removed debug output.
1445
1446 2006-11-28  Andrew Haley  <aph@redhat.com>
1447
1448         * vm/reference/sun/reflect/misc/ReflectUtil.java
1449         (checkPackageAccess): Implement.
1450
1451 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1452
1453         * native/jni/java-lang/java_lang_VMDouble.c:
1454         (parseDoubleFromChars) New function. Factored out from ...
1455         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1456         (dtoa_toString): New function. Factored out from ...
1457         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1458         Changed conversion mode to 2, as modes 0 and 1 don't round
1459         as the API spec demands. Invoke conversion function as often
1460         as necessary with growing precision until a reversible
1461         representation of the double in form of a string is reached.
1462
1463 2006-11-28  Roman Kennke  <kennke@aicas.com>
1464
1465         * javax/swing/JComponent.java
1466         (putClientProperty): Do not fire event when both old and new
1467         value are == null.
1468
1469 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1470
1471         * java/lang/Enum.java:
1472         Make name and ordinal final.
1473         
1474 2006-11-27  Casey Marshall  <csm@gnu.org>
1475
1476         * java/util/jar/JarEntry.java (certs): removed.
1477         (jarfile): new field.
1478         (getCertificates): read the certificates from the containing JarFile.
1479         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1480         fill in 'certs,' fill in 'jarfile' for the entry.
1481         (getEntry): likewise.
1482         
1483 2006-11-27  Francis Kung  <fkung@redhat.com>
1484
1485         * java/awt/image/WritableRaster.java
1486         (createChild): Implemented.
1487
1488 2006-11-27  Roman Kennke  <kennke@aicas.com>
1489
1490         * java/awt/font/TextLayout.java
1491         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1492         (getVisualHighlightShape): Implemented.
1493         (layoutRuns): Fixed boundary so that the last run is also laid out.
1494         (left): New helper method.
1495         (right): New helper method.
1496
1497 2006-11-27  Roman Kennke  <kennke@aicas.com>
1498
1499         * java/awt/font/TextLayout.java
1500         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1501         (getCaretShape(TextHitInfo)): Use natural bounds.
1502         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1503         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1504         above with DEFAULT_CARET_POLICY.
1505         (getCaretShapes(int)): Use natural bounds.
1506
1507 2006-11-27  Roman Kennke  <kennke@aicas.com>
1508
1509         * java/awt/font/TextLayout.java
1510         (Run.font): New field.
1511         (Run.location): New field.
1512         (Run.Run): Initialize font.
1513         (font): Removed field. This is moved into Run as the actual font
1514         is something run-specific.
1515         (TextLayout(String,Font,FontRenderContext)): Set font on the
1516         single runs. Layout the runs here.
1517         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1518         (findRunAtIndex): New helper method.
1519         (getCaretInfo): Implemented.
1520         (layoutRuns): New helper method.
1521         (toString): Don't put font in output string.
1522
1523 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1524
1525         * AUTHORS: Added Jeroen Fritjers.
1526
1527 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1528
1529         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1530         for FieldPosition to be null.
1531         Check if the factional part is just 0 and can be omitted from the
1532         result.
1533         (scanNegativePattern): Fixed index out of bound exception when searching
1534         for international currency symbol in negative pattern.  
1535
1536 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1537
1538         * java/beans/beancontext/BeanContextSupport.java:
1539         (readObject(ObjectInputStream)): Implemented.
1540         (writeObject(ObjectOutputStream)): Likewise.
1541         (BCSChild.getTargetChild()): Added.
1542         (bcsPreDeserializationHook()): Implemented.
1543         (bcsPreSerializationHook()): Likewise.
1544         (childDeserializedHook(Object,BCSChild)): Likewise.
1545         (isSerializing()): Likewise.
1546         (readChildren(ObjectInputStream)): Likewise.
1547         (writeChildren(ObjectOutputStream)): Likewise.
1548         
1549 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1550             Ian Lance Taylor  <ian <at> airs.com>
1551             Paolo Bonzini <bonzini <at> gnu.org>
1552
1553         Fixes bug #25557.
1554
1555         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1556         increased portability.  Likewise, use -f instead of -e.
1557
1558 2006-11-26  Mark Wielaard  <mark@klomp.org>
1559
1560         * lib/Makefile.am (propertydirs): Removed.
1561         (resources): Explicitly create all dirs.
1562
1563 2006-11-26  Mark Wielaard  <mark@klomp.org>
1564
1565         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1566
1567 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1568
1569         * native/target/.cvsignore,
1570         native/target/generic/.cvsignore,
1571         native/target/Linux/.cvsignore:
1572         Removed no longer used files.
1573
1574         * native/target: Removed no longer used directory.
1575
1576 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1577
1578         Fixes bug #29133.
1579
1580         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1581         (Java_gnu_java_nio_VMSelector_select):
1582         Use strerror if strerror_r is not available.
1583
1584         Reported by:  Michael Franz <mvfranz@gmail.com>,
1585                       Riccardo Mottola <zuse@libero.it>
1586
1587 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1588
1589         Fixes bug #26756.
1590         
1591         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1592         STRICT_WARNING_CFLAGS since it caused the build to fail 
1593         on GNU/Linux.
1594
1595 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1596
1597         * doc/vmintegration.texinfo: Update VM Threading Model section.
1598
1599 2006-11-26  Tom Tromey  <tromey@redhat.com>
1600
1601         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1602         include ifaddrs.h.
1603         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1604         conditional.
1605         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1606         Conditionally include ifaddrs.h.
1607         (getif_address): Updated conditional.
1608         (getif_index): Likewise.
1609         * configure.ac: Check for ifaddrs.h.
1610
1611 2006-11-25  Mark Wielaard  <mark@klomp.org>
1612
1613         * java/io/File.java (list): Return empty list for unreadable dirs.
1614
1615 2006-11-25  Mark Wielaard  <mark@klomp.org>
1616
1617         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1618         Synchronize on font peer.
1619         (setFont): Likewise.
1620         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1621         synchronized.
1622         (getTextMetrics): Likewise.
1623
1624 2006-11-25  Roman Kennke  <kennke@aicas.com>
1625
1626         * javax/swing/text/GapContent.java
1627         (getPositionsInRange): Rewritten to use the more efficient
1628         binary search searchFirst() and avoid an NPE that was caused
1629         by GC'ed positions.
1630
1631 2006-11-25  Mark Wielaard  <mark@klomp.org>
1632
1633         * javax/swing/text/CompositeView.java (modelToView): Never return
1634         null.
1635
1636 2006-11-25  Mark Wielaard  <mark@klomp.org>
1637
1638         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1639         Check whether rowView instanceof RowView.
1640         (updateGrid): Likewise.
1641
1642 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1643
1644         PR28462
1645         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1646         * java/text/NumberFormat.java (format): all format methods, fixed
1647         FieldPosition argument should never be null.
1648         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1649         method is not final.
1650         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1651         locale.
1652         * AUTHORS: added my name to the file.
1653
1654 2006-11-25  Mark Wielaard  <mark@klomp.org>
1655
1656         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1657         getChildAllocation() returning null.
1658
1659 2006-11-25  Mark Wielaard  <mark@klomp.org>
1660
1661         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1662         Use clazzIndex for id substring.
1663
1664 2006-11-25  Mark Wielaard  <mark@klomp.org>
1665
1666         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1667         it is still running.
1668
1669 2006-11-25  Mark Wielaard  <mark@klomp.org>
1670
1671         Fixes bug #28822
1672         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1673         CREATE_API_DOCS
1674
1675 2006-11-24  Tania Bento  <tbento@redhat.com>
1676
1677         * java/awt/font/TextHitInfo.java
1678         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1679         (beforeOffset): Decreased first parameter by 1.
1680
1681 2006-11-24  Francis Kung  <fkung@redhat.com>
1682
1683         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1684         (constructor): Check sample model when setting fastCM flag.
1685         (updateBufferedImage): Check scanline and sample model offsets before
1686         copying data directly into the image data buffer.
1687
1688 2006-11-24  Francis Kung  <fkung@redhat.com>
1689
1690         * gnu/java/awt/java2d/QuadSegment.java
1691         (offsetSubdivided): Handle special straight-line cases.
1692
1693 2006-11-24  Roman Kennke  <kennke@aicas.com>
1694
1695         * java/awt/dnd/DropTarget.java
1696         (DropTargetAutoScroller.HYSTERESIS): New constant.
1697         (DropTargetAutoScroller.DELAY): New constant.
1698         (DropTargetAutoScroller.inner): New field. A cached
1699         Rectangle instance.
1700         (DropTargetAutoScroller.outer): New field. A cached
1701         Rectangle instance.
1702         (DropTargetAutoScroller.timer): New field. The actual timer.
1703         (DropTargetAutoScroller.DropTargetAutoScroller):
1704         Initialize timer.
1705         (DropTargetAutoScroller.actionPerformed): Implemented.
1706         (DropTargetAutoScroller.stop): Implemented.
1707         (DropTargetAutoScroller.updateLocation): Implemented.
1708         (clearAutoscroll): Stop the autoscroller before nullifying it.
1709         (createDropTargetAutoScroller): Don't set the field here,
1710         only return a new instance.
1711         (dragEnter): Only do something when active. Initialize
1712         auto scrolling.
1713         (dragExit): Only do something when active. Stop auto scrolling.
1714         (dragOver): Only do something when active. Update auto scrolling.
1715         (drop): Only do something when active. Update auto scrolling.
1716         (dropActionChanged): Only do something when active. Update
1717         auto scrolling.
1718         (initializeAutoScrolling): Check if component is an instance
1719         of Autoscroll, otherwise do nothing.
1720         (setActive): Disable autoscrolling when deactivating.
1721         (setComponent): When component is set to null, disable autoscrolling.
1722
1723 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1724
1725         * java/beans/beancontext/BeanContextServicesSupport.java
1726         (getChildBeanContextServicesListener): Implemented.
1727
1728 2006-11-23  Roman Kennke  <kennke@aicas.com>
1729
1730         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1731         (createGraphics): Use constructor to create new instance of
1732         BufferedImageGraphics.
1733         * java/awt/Toolkit.java
1734         (getDefaultToolkit): Really try to get a real toolkit. Only
1735         use HeadlessToolkit if no other is available.
1736         * gnu/java/awt/peer/gtk/GtkToolkit.java
1737         (checkHeadless): New helper method. Checks for headless environment
1738         and throws HeadlessException if appropriate.
1739         (createButton): Check for headless.
1740         (createCanvas): Check for headless.
1741         (createCheckbox): Check for headless.
1742         (createCheckboxMenuItem): Check for headless.
1743         (createChoice): Check for headless.
1744         (createDialog): Check for headless.
1745         (createDragGestureRecognizer): Check for headless.
1746         (createDragSourceContextPeer): Check for headless.
1747         (createEmbeddedWindow): Check for headless.
1748         (createFileDialog): Check for headless.
1749         (createFrame): Check for headless.
1750         (createCheckbox): Check for headless.
1751         (createLabel): Check for headless.
1752         (createList): Check for headless.
1753         (createMenu): Check for headless.
1754         (createMenuBar): Check for headless.
1755         (createMenuItem): Check for headless.
1756         (createPanel): Check for headless.
1757         (createPopupMenu): Check for headless.
1758         (createScrollbar): Check for headless.
1759         (createScrollPane): Check for headless.
1760         (createTextArea): Check for headless.
1761         (createTextField): Check for headless.
1762         (createWindow): Check for headless.
1763
1764 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
1765
1766         * java/beans/beancontext/BeanContextSupport.java
1767         (deserialize): Implemented,
1768         (serialize): Implemented.
1769
1770 2006-11-23  Roman Kennke  <kennke@aicas.com>
1771
1772         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1773         (createGraphics): Try to use Cairo graphics if available.
1774
1775 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1776
1777         * java/beans/beancontext/BeanContextSupport.java
1778         (toArray): Added API docs,
1779         (toArray(Object[])): Added API docs, removed NotImplementedException.
1780
1781 2006-11-22  Tania Bento  <tbento@redhat.com>
1782
1783         * javax/swing/JRootPane.java
1784         (setLayeredPane): Added documentation; throw 
1785         IllegalComponentStateException if layered pane parameter is null.
1786
1787 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1788
1789         * java/beans/beancontext/BeanContextSupport.java
1790         (avoidingGui): Removed NotImplementedException.
1791
1792 2006-11-22  Francis Kung  <fkung@redhat.com>
1793
1794         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1795         (drawGlyphVector): Clip updated area to glyph bounds.
1796         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1797         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1798         x-coordinate and y-coordinate pixel shifting.
1799         (shifted): Removed method.
1800         (shiftX): New method, recognising scaling transforms.
1801         (shiftY): New method, recognising scaling transforms.
1802         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1803
1804 2006-11-22  Roman Kennke  <kennke@aicas.com>
1805
1806         * java/awt/font/TextLayout.java
1807         (hash): New field. Caches the hash code.
1808         (hashCode): Implemented.
1809
1810 2006-11-22  Roman Kennke  <kennke@aicas.com>
1811
1812         * java/awt/image/ImageFilter.java
1813         Reformat whole class.
1814         (getFilterInstance): Don't touch the consumer field. Don't check
1815         consumer.
1816         (imageComplete): Don't check consumer.
1817         (setColorModel): Don't check consumer.
1818         (setDimensions): Don't check consumer.
1819         (setHints): Don't check consumer.
1820         (setPixels): Don't check consumer.
1821         (setProperties): Pass the original property too.
1822         * java/awt/image/IndexColorModel.java
1823         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
1824         transparent pixel by calling the new helper method.
1825         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
1826         transparent pixel by calling the new helper method.
1827         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
1828         transparent pixel by calling the new helper method.
1829         (coerceData): Removed. This is not needed.
1830         (getAlpha): Simply return value from color map. The transparent
1831         pixel has to be there.
1832         (setTransparentPixel): New helper method. Inserts the transparent
1833         pixel.
1834         * java/awt/image/RGBImageFilter.java
1835         Reformat whole class.
1836         (convertColorModelToDefault): Removed. No longer needed.
1837         (filterIndexColorModel): Don't handle transparent pixels
1838         separately.
1839         (filterRGBPixels): Set pixels on consumer already.
1840         (makeColor): Removed. No longer needed.
1841         * java/awt/image/ReplicateScaleFilter.java
1842         (replicatePixels): Removed.
1843         (setDimension): Correctly compute destination size, avoid double
1844         calculations.
1845         (setPixels): Avoid double calculations. Fixed some boundary cases.
1846         (setupSources): New helper method.
1847         * java/awt/image/SampleModel.java
1848         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
1849         and TYPE_DOUBLE.
1850         * java/awt/image/SinglePixelPackedSampleModel.java
1851         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
1852         This is not needed as the superclass already copies line
1853         by line.
1854         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
1855         removed some checks that the RI also doesn't perform. Call
1856         DataBuffer.setElem().
1857
1858 2006-11-22  Roman Kennke  <kennke@aicas.com>
1859
1860         * java/awt/text/TextLayout.java
1861         (getLogicalRangesForVisualSelection): Implemented.
1862
1863 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1864
1865         * sun/reflect/annotation/AnnotationParser.java,
1866         * sun/reflect/annotation/AnnotationType.java,
1867         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
1868         * sun/reflect/annotation/ExceptionProxy.java:
1869         Stubbed.
1870         * sun/misc/ServiceConfigurationError.java,
1871         * sun/misc/Service.java:
1872         Implemented.
1873         
1874 2006-11-21  Roman Kennke  <kennke@aicas.com>
1875
1876         * java/awt/text/TextLayout.java
1877         (Run.isLeftToRight): New helper method.
1878         (logicalToVisual): New field. Maps logical indices to visual
1879         indices.
1880         (visualToLogical): New field. Maps visual indices to logical
1881         indices.
1882         (TextLayout): Setup mappings.
1883         (setupMappings): New method for setting up the mappings.
1884         (getCharacterLevel): Reorganized code.
1885         (getNextLeftHit(int)): Implemented.
1886         (getNextLeftHit(int,CaretPolicy)): New method.
1887         (getNextLeftHit(TextHitInfo)): Implemented.
1888         (getNextRightHit(int)): Implemented.
1889         (getNextRightHit(int,CaretPolicy)): New method.
1890         (getNextRightHit(TextHitInfo)): New method.
1891         (getVisualOtherHit): Implemented.
1892         (checkHitInfo): New helper methods for checking parameters.
1893         (hitToCaret): New helper method. Maps hit infos to caret locations.
1894         (caretToHit): New helper method. Maps caret locations to hit infos.
1895         (isCharacterLTR): New helper method.
1896         (CaretPolicy.getStrongCaret): Implemented.
1897
1898 2006-11-21  Francis Kung  <fkung@redhat.com>
1899
1900         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1901         (draw): Include stroke width when calculating bounds.
1902         (updateBufferedImage): Round bounds more generously, handle negative
1903         height/width values, and clip more intelligently.
1904         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1905         (createPath): Add shortcut optimization for lines.
1906         (draw): Include stroke width when calculating bounds.
1907         (drawLine): Delegate to main draw() method.
1908         (drawRect): Likewise.
1909         (fillRect): Delegate to main fill() method.
1910         (findStrokedBounds): New method.
1911         (setCustomPaint): Round bounds more generously.
1912         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1913         (drawLine): Removed.
1914         (drawRect): Removed.
1915         (fillRect): Removed.
1916
1917 2006-11-21  Francis Kung  <fkung@redhat.com>
1918
1919         * gnu/java/awt/java2d/TexturePaintContext.java
1920         (getRaster): Handle negative coordinate values.
1921         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1922         (setPaint): Moved custom paint processing to a new method.
1923         (setPaintPixels): Added x, y parameters.
1924         (getRealBounds): Added documentation.
1925         (copy): Copy clipping information.
1926         (drawLine): Process custom paints.
1927         (setCustomPaint): New method.
1928         (fill): Process custom paints.
1929         (drawGlyphVector): Process custom paints.
1930         (drawRect): Process custom paints.
1931         (draw): Process custom paints.
1932         * gnu/java/awt/peer/gtk/CairoSurface.java
1933         (cairoCM_opaque): New constant.
1934         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1935         (argb32): Removed constant.
1936         (rgb32): Removed constant.
1937         (BufferedImageGraphics(BufferedImage)): Updated constant names.
1938         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
1939         (updateBufferedImage): Transform to device-space before updating.
1940         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
1941         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
1942         parameters.
1943         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
1944         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
1945         source at designated x, y origin.
1946
1947 2006-11-21  Roman Kennke  <kennke@aicas.com>
1948
1949         * java/awt/text/TextLayout.java
1950         (Run): New inner helper class.
1951         (length): New field.
1952         (naturalBounds): New field.
1953         (offset): New field.
1954         (runIndices): Removed. This is now encapsulate in a Run object.
1955         (runs): Changed to Run[].
1956         (string): Changed to char[].
1957         (totalAdvance): New field. Caches advance value.
1958         (TextLayout(String,Font,FontRenderContext)): Change to store
1959         string as char[] and run layout as Run[]. Clean out empty
1960         run items.
1961         (TextLayout(TextLayout,int,int)): Change to store
1962         string as char[] and run layout as Run[].
1963         (clone): Call private constructor for maximum efficiency.
1964         (determineWhitespace): Adapted to use char[] data.
1965         (draw): Adapted to use Run objects.
1966         (getAdvance): Cache computed total advance.
1967         (getBlackBoxBounds): Adapted to use Run objects.
1968         (getCaretInfo): Use natural layout bounds.
1969         (getCharacterCount): Return length field.
1970         (getLogicalHighlightShape): Adapted to use Run objects.
1971         (getNaturalBounds): New helper method. Calculates and returns the
1972         natural bounds of this text layout.
1973         (getOutline): Adapted to use Run objects.
1974         (getStringProperties): Adapted to use char[] data.
1975         (getVisibleAdvance): Adapted to use char[] and Run data.
1976         (handleJustify): Adapted to use char[] and Run data.
1977         (hitTestChar(float,float,Rectangle2D)): Implemented.
1978         (hitTestChar(float,float)): Use natural bounds.
1979         (setCharIndices): Adapted to use char[] and Run data.
1980         (toString): Adapted to use char[] and Run data.
1981         * java/text/Bidi.java
1982         (requiresBidi): Exclude paragraph separators from bidi-triggers.
1983
1984 2006-11-21  Roman Kennke  <kennke@aicas.com>
1985
1986         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
1987         Removed. This is now an inner class in GdkFontPeer.
1988         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1989         (drawString(float,float)): Use text layout cache from
1990         GdkFontPeer.
1991         (getFontMetrics): Delegate to GdkFontPeer.
1992         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1993         (getGlyphCodes): Also check array size.
1994         (getGlyphPositions): Also check array size.
1995         * gnu/java/awt/peer/gtk/GdkFontPeer.java
1996         (GdkFontLineMetrics.fm): Removed.
1997         (GdkFontLineMetrics.strikeThroughOffset): Removed.
1998         (GdkFontLineMetrics.strikeThroughThickness): Removed.
1999         (GdkFontLineMetrics.underlineOffset): Removed.
2000         (GdkFontLineMetrics.underlineThickness): Removed.
2001         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2002         FontMetrics argument. Don't init removed fields.
2003         (GdkFontLineMetrics.getAscent): Return font peer's field.
2004         (GdkFontLineMetrics.getDescent): Return font peer's field.
2005         (GdkFontLineMetrics.getHeight): Return font peer's field.
2006         (GdkFontLineMetrics.getLeading): Return font peer's field.
2007         (GdkFontLineMetrics.getNumChars): Reformat.
2008         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2009         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2010         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2011         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2012         (GdkFontMetrics): Moved class in here as inner class. 
2013         Make it use the font peer's fields and for the char(s) width
2014         and string width method, use TextLayout to measure the actual widths.
2015         (ascent): New field.
2016         (bundle): Removed.
2017         (DEFAULT_CTX): New constant field.
2018         (descent): New field.
2019         (FONT_METRICS_ASCENT): New constant.
2020         (FONT_METRICS_DESCENT): New constant.
2021         (FONT_METRICS_HEIGHT): New constant.
2022         (FONT_METRICS_MAX_ADVANCE): New constant.
2023         (FONT_METRICS_MAX_ASCENT): New constant.
2024         (FONT_METRICS_MAX_DESCENT): New constant.
2025         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2026         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2027         (height): New field.
2028         (maxAdvance): New field.
2029         (maxAscent): New field.
2030         (maxDescent): New field.
2031         (metrics): New field. Stores a FontMetrics for this font.
2032         (textLayoutCache): New field. Caches TextLayout instances.
2033         (underlineOffset): New field.
2034         (underlineThickness): New field.
2035         (cinit): Don't initialize resource bundle.
2036         (GdkFontPeer): Setup the metrics.
2037         (getFontMetrics): Return stored metrics if possible.
2038         (getLineMetrics): Adapt to new constructor.
2039         (initFont): New helper method.
2040         (setupMetrics): New helper method.
2041         * gnu/java/awt/peer/gtk/GtkToolkit.java
2042         (LRUCache): Made class a static class.
2043         (getFontMetrics): Delegate to GdkFontPeer.
2044         * native/jni/gtk-peer/gdkfont.h
2045         Added new constant defines.
2046         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2047         (getFontMetrics): Rewritten to fetch the font metrics from
2048         FreeType.
2049
2050 2006-11-20  Tania Bento  <tbento@redhat.com>
2051
2052         * javax/swing/ButtonGroup.java:
2053         (setSelected): Select the ButtonModel if all conditions
2054         are met.
2055
2056 2006-11-20  Tania Bento  <tbento@redhat.com>
2057
2058         * javax/swing/JSlider.java:
2059         (updateLabelUIs): Removed casting.
2060
2061 2006-11-20  Mark Wielaard  <mark@klomp.org>
2062
2063         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2064         (bundle): New static final String field.
2065         (getLocalizedMessage): Initialize messages when still null.
2066         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2067         (set): Use RE.getLocalizedMessage().
2068         (clear): Likewise.
2069         (setLineSeparator): Likewise.
2070
2071 2006-11-20  Roman Kennke  <kennke@aicas.com>
2072
2073         * javax/swing/text/html/StyleSheet.java
2074         (linked): New field.
2075         (styleSheet): Replaced by linked.
2076         (addStyleSheet): Use an arraylist for simplicity.
2077         (getRule): Removed useless instantiation.
2078         (getStyleSheets): Convert array list to array.
2079         (removeStyleSheet): Use an arraylist for simplicity.
2080         (resolveStyle): Include styles from linked lists.
2081
2082 2006-11-20  Roman Kennke  <kennke@aicas.com>
2083
2084         * javax/swing/text/BoxView.java
2085         (BoxView): Initialize with invalid req's.
2086         (forwardUpdate): Trigger repaint when children changed the
2087         major axis.
2088         (getResizeWeight): Return resizable when the pref differs from
2089         the min or the pref differs from the max size.
2090         (layoutMajorAxis): Actually sum up the preferred sizes.
2091         (paint): Made binary search more robust.
2092         (replace): Let arrays shrink when needed.
2093         (replaceLayoutArray): Let arrays shrink when needed.
2094         (setAxis): Trigger preferenceChanged.
2095         * javax/swing/text/CompositeView.java
2096         (getInsideAllocation): Call insets method to take account
2097         of overriding subclasses.
2098         * javax/swing/text/DefaultStyledDocument.java
2099         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2100         (ElementBuffer.insertUpdate): Only remove the found element, not
2101         all.
2102         * javax/swing/text/GlyphView.java
2103         (insertUpdate): Pass null in preferenceChanged.
2104         (removeUpdate): Pass null in preferenceChanged.
2105         (changedUpdate): Pass null in preferenceChanged.
2106         * javax/swing/text/Utilities.java
2107         (drawTabbedText): Avoid single calls to charWidth() and instead
2108         call charsWidth() on whole chunks.
2109         * javax/swing/text/html/HTMLDocument.java
2110         (BlockElement.getName): Fall back to super when necessary.
2111         (RunElement.getName): Fall back to super when necessary.
2112         (HTMLReader.MAX_THRESHOLD): New constant field.
2113         (HTMLReader.GROW_THRESHOLD): New constant field.
2114         (HTMLReader.theshold): New field.
2115         (HTMLReader.HTMLReader): Fetch threshold from document.
2116         (HTMLReader.addContent): Sucessivly grow the threshold.
2117         (createLeafElement): Don't create two elemens and don't set
2118         attribute.
2119         * javax/swing/text/html/TableView.java
2120         (RowView.replace): Invalidate grid.
2121         (gridValid): Made package private.
2122         (layoutMinorAxis): Mark all rows as invalid.
2123         (replace): Invalidate grid.
2124
2125 2006-11-20  Roman Kennke  <kennke@aicas.com>
2126
2127         * javax/swing/text/AbstractDocument.java
2128         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2129         (DefaultDocumentEvent.modified): Made private.
2130         (DefaultDocumentEvent.THRESHOLD): New constant field.
2131         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2132         changes table.
2133         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2134         exceeding threshold.
2135         (DefaultDocumentEvent.getChange): Use iterative approach
2136         when we have no hashmap yet.
2137         (documentCV): Removed.
2138         (numWriters): Renamed from numWritersWaiting.
2139         (createPosition): Reformat.
2140         (getCurrentWriter): Synchronized.
2141         (readLock): Implement more straightforward.
2142         (readUnlock): Implement more straightforward.
2143         (writeLock): Implement more straightforward.
2144         (writeUnlock): Implement more straightforward.
2145         (remove): Write-lock here.
2146         (removeImpl): Don't write-lock here.
2147
2148 2006-11-20  Roman Kennke  <kennke@aicas.com>
2149
2150         * javax/swing/JEditorPane.java
2151         (setPage): Set priority on loading thread.
2152
2153 2006-11-20  Roman Kennke  <kennke@aicas.com>
2154
2155         * javax/swing/plaf/basic/BasicTextUI.java
2156         (RootView.paint): Avoid allocation.
2157         (cachedInsets): New field. Caches an Insets instance.
2158         (getNextVisualPositionFrom): Read-lock the document to avoid
2159         thread nastiness. Push allocation.
2160         (getPreferredSize): Push fake allocation when not yet laid out.
2161         (getVisibleEditorRect): Use cached insets.
2162         (viewToModel): Read-lock the document to avoid
2163         thread nastiness. Push allocation.
2164
2165 2006-11-20  Roman Kennke  <kennke@aicas.com>
2166
2167         * javax/swing/text/StyleContext.java
2168         (attributeSetPool): Synchronize this map.
2169         (addAttribute): Synchronize this method.
2170         (addAttributes: Synchronize this method.
2171         (readObject): Install synchronized map on target object.
2172         (removeAttribute): Synchronize this method.
2173         (removeAttributes): Synchronize this method.
2174         (removeAttributes): Synchronize this method.    
2175         
2176 2006-11-20  Roman Kennke  <kennke@aicas.com>
2177
2178         * javax/swing/text/GapContent.java
2179         (GapContentPosition.GapContentPosition): Removed constructor.
2180         (Mark): Made subclass of WeakReference to refer directly to
2181         the associated position.
2182         (Mark.refCount): Removed.
2183         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2184         New constructor. Used to reference a position and register the
2185         reference queue.
2186         (Mark.Mark(index)): Call super and don't adjust mark offset.
2187         (Mark.compareTo): Removed.
2188         (Mark.equals): Removed.
2189         (Mark.getOffset): Return at least null. Removed assert.
2190         (Mark.getPosition): New helper method.
2191         (garbageMarks): New field.
2192         (positions): Removed.
2193         (searchMark): New field.
2194         (GapContent): Removed init of positions map.
2195         (addImpl): New helper method.
2196         (adjustPositionsInRange): Removed.
2197         (compare): New helper method.
2198         (createPosition): Rewritten for new datastructures. This now
2199         performs a much more efficient binary search for finding
2200         a position at the requested offste.
2201         (garbageCollect): Rewritten to collect unused marks.
2202         (getPositionsInRange): Adjusted for new data structures.
2203         (removeImpl): New helper method.
2204         (replace): Use new addImpl() and removeImpl() helper method for
2205         correctly adjusting the positions and gap.
2206         (search): Rewritten. Implements a more suitable binary search.
2207         (searchFirst): New helper method.
2208         (setPositionsInRange): Removed.
2209         (shiftEnd): Update the marks here.
2210         (shiftGap): Update the marks here.
2211         (shiftGapEndUp): Update the marks here.
2212         (shiftGapStartDown): Update the marks here.
2213
2214 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2215
2216         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2217         digest algorithm implementations.
2218         (readSignatures): Parse the manifest once and reuse that data.
2219         Add support for line breaks.
2220         (verifyHashes): Use the parsed manifest entry.
2221         (readManifestEntry): Removed.
2222
2223 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2224
2225         * java/beans/beancontext/BeanContextServicesSupport.java:
2226         Added more documentation.
2227         (addService(Class,BeanContextServiceProvider,boolean)):
2228         Synchronized over global hierarchy lock.
2229         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2230         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2231         (childJustRemovedHook(Object,BCSChild)): Implemented.
2232         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2233         Implemented.
2234         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2235         Added revocation-only listeners.
2236         (getBeanContextServicesPeer()): Implemented.
2237         (getCurrentServiceClasses(Class)): Synchronized over global
2238         hierarchy lock.
2239         (getCurrentServiceSelectors(Class)): Synchronized over global
2240         hierarchy lock, and fixed FIXME.
2241         (getService(BeanContextChild,Object,Class,Object,
2242         BeanContextServiceRevokedListener)): Implemented.
2243         (hasService(Class)): Synchronized over global hierarchy lock.
2244         (releaseService(BeanContextChild,Object,Object)): Implemented.
2245         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2246         * java/beans/beancontext/BeanContextSupport.java:
2247         (remove(Object, boolean)): Documentation correction.
2248         
2249 2006-11-19  Roman Kennke  <kennke@aicas.com>
2250
2251         * javax/swing/JEditorPane.java
2252         (PageStream): New inner class.
2253         (PageLoader): New inner class.
2254         (loading): New field.
2255         (setPage): Implemented asynchronous loading.
2256         * javax/swing/text/DefaultStyledDocument.java
2257         (ElementBuffer.create): New helper method.
2258         (create): Use new ElementBuffer method instead of hack.
2259         * javax/swing/text/html/HTMLDocument.java
2260         (HTMLReader.flushImpl): New helper method.
2261         (HTMLReader.addContent): Use flushImpl().
2262         (HTMLReader.blockClose): Added null check.
2263         (HTMLReader.flush): Use flushImpl().
2264         * javax/swing/text/html/HTMLEditorKit.java
2265         (createDefaultDocument): Set load priority to 4 and token threshold
2266         to 100.
2267         * javax/swing/text/html/TableView.java
2268         (insertUpdate): Overridden to provide correct view factory.
2269         (removeUpdate): Overridden to provide correct view factory.
2270         (changedUpdate): Overridden to provide correct view factory.
2271
2272 2006-11-19  Roman Kennke  <kennke@aicas.com>
2273
2274         * javax/swing/text/BoxView.java
2275         (clipRect): New field.
2276         (tmpRect): New field.
2277         (layout): Reorganized code. Now uses layoutAxis() helper method.
2278         (layoutAxis): New helper method.
2279         (paint): Optimized by using cached Rectangle objects and
2280         a binary search for child views inside the clip.
2281         * javax/swing/text/CompositeView.java
2282         (insideAllocation): Made private and initialized in constructor.
2283         (getInsideAllocation): Removed initialization block for
2284         insideAllocation field. Avoid unnecessary allocations.
2285         * javax/swing/text/GlyphView.java
2286         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2287         The remaining stuff (background, underline and striking) is
2288         done in the GlpyhView itself. Avoid unnecessary allocations.
2289         (cached): A cached Segment instance.
2290         (getText): Return cached segment.
2291         (paint): Paint underline, strike and background here. Avoid
2292         unecessary allocs.
2293
2294 2006-11-19  Roman Kennke  <kennke@aicas.com>
2295
2296         * javax/swing/text/html/StyleSheet.java
2297         (getFontSize): Removed debug output.
2298         (ListPainter.tmpRect): New field.
2299         (ListPainter.paint): Align bullet vertically centered to
2300         the first line of the paragraph.
2301
2302 2006-11-17  Roman Kennke  <kennke@aicas.com>
2303
2304         * gnu/javax/swing/text/html/css/CSSParser.java
2305         (parseDeclaration): Trim string before reporting.
2306         * gnu/javax/swing/text/html/css/FontSize.java
2307         (size): New field.
2308         (isRelative): New field.
2309         (sizeIndex): New field.
2310         (FontSize): Initialize new fields.
2311         (getValue): Changed to call getValue(int).
2312         (getValue(int)): New method. Implements relative font sizes.
2313         (isRelative): New method.
2314         (mapAbsolute): Store index.
2315         (mapEM): New helper method.
2316         (mapLarger): New helper method.
2317         (mapPercent): New helper method.
2318         (mapRelative): New helper method.
2319         (mapSmaller): New helper method.
2320         (mapValue): New helper method.
2321         * javax/swing/text/html/CSS.java
2322         (parseBackgroundShorthand): Create CSSColor directly.
2323         * javax/swing/text/html/StyleSheet.java
2324         (addRule): Invalidate resolved styles.
2325         (getFont): Call new getFontSize() method to resolve relative
2326         font sizes.
2327         (getFontSize): New helper method. Resolves relative font sizes.
2328         (translateHTMLToCSS): Create CSS objects directly.
2329
2330 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2331
2332         * gnu/java/util/regex/RETokenNamedProperty.java:
2333         (getHandler(String)): Add support for 'all'.
2334
2335 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2336
2337         * gnu/javax/management/Server.java:
2338         Initial implementation of a GNU management server.
2339         * javax/management/MBeanPermission.java,
2340         * javax/management/MBeanRegistration.java,
2341         * javax/management/MBeanTrustPermission.java:
2342         Implemented.
2343         
2344 2006-11-17  Mark Wielaard  <mark@klomp.org>
2345
2346         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2347
2348 2006-11-17  Gary Benson  <gbenson@redhat.com>
2349
2350         * java/net/DatagramSocket.java (getLocalAddress, connect,
2351         receive): Perform security check on address not hostname.
2352
2353 2006-11-16  Roman Kennke  <kennke@aicas.com>
2354
2355         * gnu/javax/swing/text/html/parser/support/Parser.java
2356         (_handleText): Fixed condition for consuming whitespace.
2357         Removed validator check, this is superfluous now.
2358
2359 2006-11-16  Roman Kennke  <kennke@aicas.com>
2360
2361         * gnu/javax/swing/text/html/css/CSSParser.java
2362         (parseRuleset): Support 'combined' selectors.
2363         (main): Adapt callback for combined selectors support.
2364         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2365         (startStatement): Take selector array as argument, to
2366         support combined selectors.
2367         * javax/swing/text/html/BlockView.java
2368         (calculateMinorAxisRequirements): Fetch and apply alignment.
2369         * javax/swing/text/html/StyleSheet.java
2370         (CSSStyle): Inverted the constants for correct precedence.
2371         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2372         styles.
2373         (CSSStyleSheetParserCallback.style): Removed.
2374         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2375         (CSSStyleSheetParserCallback.end): Push multiple styles.
2376         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2377
2378 2006-11-16  Roman Kennke  <kennke@aicas.com>
2379
2380         * javax/swing/text/FlowView.java
2381         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2382         * javax/swing/text/GlyphView.java
2383         (tabExpander): New field.
2384         (tabX): New field.
2385         (breakView): Set tabX on broken view.
2386         (getPartialSpan): Let the painter fetch the span.
2387         (getTabbedSpan): Update the tab expander field. Maybe trigger
2388         relayout.
2389         (getTabExpander): Simply return the stored expander.
2390         * javax/swing/text/Utilities.java
2391         (getTabbedTextOffset): Made algoritm a little smarter and more
2392         efficient.
2393         (getTabbedTextWidth): Don't add single char widths, instead add
2394         chunks of characters.
2395         * javax/swing/text/html/ParagraphView.java
2396         (calculateMinorAxisRequirements): Adjust margin only when the
2397         CSS span is not fixed.
2398
2399 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2400
2401         * java/beans/beancontext/BeanContextSupport.java
2402         (getChildBeanContextMembershipListener): Implemented,
2403         (getChildPropertyChangeListener): Implemented,
2404         (getChildSerializable): Implemented,
2405         (getChildVetoableChangeListener): Implemented,
2406         (getChildVisibility): Implemented,
2407         (setDesignTime): Use same property name as Sun's implementation.
2408
2409 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2410
2411         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2412         * java/beans/Statement.java
2413         (toString): Updated to match reference implementation.
2414
2415 2006-11-15  Roman Kennke  <kennke@aicas.com>
2416
2417         * javax/swing/text/html/HTMLEditorKit.java
2418         (InsertHTMLTextAction.actionPerformed): Also try inserting
2419         the alternate tag. Adjust the selection accordingly.
2420         (InsertHTMLTextAction.adjustSelection): New helper method.
2421         Adjusts the selection after an insertion.
2422         (insertAtBoundary): Delegate to deprecated method.
2423         (insertAtBoundry): Implemented missing method.
2424         (tryInsert): New helper method.
2425         (defaultActions): Implemented to fill the array with
2426         a couple of InsertHTMLTextActions.
2427
2428 2006-11-15  Roman Kennke  <kennke@aicas.com>
2429
2430         * javax/swing/text/html/ImageView.java
2431         (Observer): New class. Observes image loading.
2432         (haveHeight): New field.
2433         (haveWidth): New field.
2434         (height): New field.
2435         (width): New field.
2436         (image): New field.
2437         (imageIcon): New field.
2438         (loading): New field.
2439         (observer): New field.
2440         (reloadImage): New field.
2441         (reloadProperties): New field.
2442         (ImageView): Initialize observer and some flags.
2443         (getImage): Update the image state and return the image.
2444         (loadImage): New helper method. Actually starts loading.
2445         (paint): Rewritten to paint the image directly, not via Icon.
2446         (reloadImage): Rewritten. Loads the image and its properties.
2447         (renderIcon): Removed. No more necessary.
2448         (setPropertiesFromAttributes): Don't nullify image here.
2449         Added comment about missing impl.
2450         (setSize): Added comment about missing impl.
2451         (updateSize): New helper method. Updates the size attributes.
2452         (updateState): New helper method. Makes sure the image
2453         and its properties are valid.
2454
2455 2006-11-15  Roman Kennke  <kennke@aicas.com>
2456
2457         * gnu/javax/swing/text/html/parser/support/Parser.java
2458         (_handleEndTag_remaining): Consume whitespace after a closing
2459         block like tag.
2460
2461 2006-11-15  Roman Kennke  <kennke@aicas.com>
2462
2463         * javax/swing/text/html/HTMLDocument.java
2464         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2465         directly.
2466         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2467         directly.
2468         (HTMLReader.parseStack): Removed.
2469         (HTMLReader.blockClose): Simply call addContent() with ' '
2470         instead of doing more complicated stuff. Removed parseStack
2471         handling.
2472         (HTMLReader.blockOpen): Removed parseStack handling.
2473         (getInsertingReader): Removed parseStack init.
2474         * gnu/javax/swing/text/html/parser/htmlValidator.java
2475         (closeTag): Return true only when the tag actually should be
2476         closed.
2477         * gnu/javax/swing/text/html/parser/support/Parser.java
2478         (_handleEndTag): Only actually close the tag when the validator
2479         allows it.
2480
2481 2006-11-15  Roman Kennke  <kennke@aicas.com>
2482
2483         * javax/swing/text/html/CSS.java
2484         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2485         attribute.
2486         * javax/swing/text/html/StyleSheet.java
2487         (BoxPainter.bottomPadding): New field.
2488         (BoxPainter.leftPadding): New field.
2489         (BoxPainter.rightPadding): New field.
2490         (BoxPainter.topPadding): New field.
2491         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2492         too.
2493         (BoxPainter.getInset): Recognize and include the padding.
2494         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2495          javax/swing/text/html/TableView.java
2496         (RowView.calculateMajorAxisRequirements): Adjust req's for
2497         cellSpacing.
2498         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2499         (cellSpacing): New field.
2500         (columnRequirements): Made package private to avoid accessor method.
2501         (calculateMinorAxisRequirements): Include cellSpacing.
2502         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2503         (layoutMajorAxis): Likewise.
2504         (layoutColumns): Respect cellSpacing.
2505         (setParent): Overridden to fetch the CSS attributes when view gets
2506         connected.
2507         (setPropertiesFromAttributes): New method. Fetches the cell
2508         spacing from the CSS attributes.
2509
2510 2006-11-15  Roman Kennke  <kennke@aicas.com>
2511
2512         * gnu/javax/swing/text/html/parser/support/Parser.java
2513         (_handleText): Consume whitespace directly before a closing tag.
2514         (restOfTag): Consume whitespace directly after opening.
2515         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2516         (preprocess): Don't perform array boundary checking by
2517         catch AIOOBE, instead check the boundary in loop condition.
2518         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2519         (TAG_CLOSE): New constants. Describes the token pattern for
2520         a closing tag.
2521
2522 2006-11-14  Roman Kennke  <kennke@aicas.com>
2523
2524         * javax/swing/text/html/ImageView.java
2525         (getPreferredSpan): Use CSS length values.
2526         * javax/swing/text/html/TableView.java
2527         (CellView.calculateMajorAxisRequirements): Overridden to
2528         set the maximum reqs to maximum.
2529         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2530         span to maximum.
2531         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2532         the total column reqs.
2533         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2534         the total column reqs.
2535         * gnu/javax/swing/text/html/css/CSSColor.java
2536         (convertValue): Catch NumberFormatExceptions for more robustness.
2537         * gnu/javax/swing/text/html/css/FontSize.java
2538         (mapPixels): Actually map px values. Catch NFE for more robustness.
2539
2540 2006-11-14  Roman Kennke  <kennke@aicas.com>
2541
2542         * gnu/java/awt/font/autofit/AxisHints.java,
2543         * gnu/java/awt/font/autofit/Constants.java,
2544         * gnu/java/awt/font/autofit/GlyphHints.java,
2545         * nu/java/awt/font/autofit/Latin.java,
2546         * nu/java/awt/font/autofit/LatinAxis.java,
2547         * gnu/java/awt/font/autofit/LatinMetrics.java,
2548         * gnu/java/awt/font/autofit/Scaler.java,
2549         * gnu/java/awt/font/autofit/Script.java,
2550         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2551         * gnu/java/awt/font/autofit/Segment.java,
2552         * gnu/java/awt/font/autofit/Width.java:
2553         New classes. This is some skeleton stuff for the FreeType-alike
2554         auto-gridfitter.
2555         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2556         * gnu/java/awt/font/opentype/OpenTypeFont.java
2557         (unitsPerEm): Made field public.
2558         (getRawGlyphOutline): New method. Fetches the raw outline.
2559         * gnu/java/awt/font/opentype/Scaler.java
2560         (getRawGlyphOutline): New method. Fetches the raw outline.
2561         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2562         (loadGlyph): New method. This is used to load raw outlines.
2563         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2564         (getRawOutline): New method. Fetches the raw outline.
2565         * gnu/java/awt/font/opentype/truetype/Zone.java:
2566         Made class public.
2567
2568 2006-11-14  Roman Kennke  <kennke@aicas.com>
2569
2570         * javax/swing/RepaintManager.java
2571         (RepaintManager): Fetch the default state for the double buffering
2572         from a system property gnu.swing.doublebuffering.
2573
2574 2006-11-14  Roman Kennke  <kennke@aicas.com>
2575
2576         * javax/swing/plaf/basic/BasicLabelUI.java
2577         (cachedInsets): New field.
2578         (getFontMetrics): New helper method. Fetches the font metrics
2579         from the component or the toolkit.
2580         (getPreferredSize): Use getFontMetrics() helper method for
2581         fetching the font metrics.
2582         (paint): Use getFontMetrics() helper method for
2583         fetching the font metrics. Only paint if icon or text
2584         are != null. Use cached insets.
2585         (paintDisabledText): Don't store/restore color object. The
2586         JComponent painting mechanism takes care of this by calling
2587         create().
2588         (paintEnabledText): Don't store/restore color object. The
2589         JComponent painting mechanism takes care of this by calling
2590         create().
2591
2592 2006-11-14  Roman Kennke  <kennke@aicas.com>
2593
2594         * gnu/java/awt/peer/GLightweightPeer.java
2595         (handleEvent): Try to do something reasonable and trigger painting
2596         for the lightweight component.
2597         (getFontMetrics): Fetch and return a font metrics object from
2598         the Toolkit.
2599
2600 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2601
2602         * gnu/java/util/regex/RETokenNamedProperty.java:
2603         (getHandler(String)): Add support for 'all'.
2604         
2605 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2606
2607         * AUTHORS: Add myself.
2608
2609 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2610
2611         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2612         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2613         Roman Kennke's entry.
2614
2615 2006-11-13  Roman Kennke  <kennke@aicas.com>
2616
2617         * java/awt/image/IndexColorModel.java
2618         (createCompatibleSampleModel): Implemented missing method.
2619
2620 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2621
2622         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2623         from big endian systems correctly.
2624
2625 2006-11-11  Roman Kennke  <kennke@aicas.com>
2626
2627         * gnu/javax/swing/text/html/css/CSSColor.java
2628         (isValidColor): New helper method. Checks strings if they
2629         form a valid color value.
2630         * gnu/javax/swing/text/html/css/Length.java
2631         (Length): Catch number format exceptions.
2632         * javax/swing/text/html/CSS.java
2633         (addInternal): New method. Checks for shorthand CSS attributes
2634         and parses them.
2635         (parseBackgroundShorthand): New method. Parses the background
2636         shorthand attribute.
2637         * javax/swing/text/html/HTMLDocument.java
2638         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2639         (HTMLReader.LinkAction.start): Implemented to load the linked
2640         stylesheet.
2641         (HTMLReader.LinkAction.end): Removed. This is not needed.
2642         * javax/swing/text/html/StyleSheet.java
2643         (CSSStyleSheetParserCallback.declaration): Push declaration
2644         through CSS.addInternal() to parse shorthand attributes.
2645         (addCSSAttribute): Push declaration through CSS.addInternal()
2646         to parse shorthand attributes.
2647         (importStyleSheet): Implemented. This adds a stylesheet from
2648         an URL.
2649         * javax/swing/text/html/TableView.java
2650         (calculateColumnRequirements): Increase column index for
2651         non CellView children to avoid endless loop.
2652         * javax/swing/text/CompositeView.java
2653         (setParent): Comparen with numChildren not with real arraylength.
2654
2655 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2656
2657         * java/beans/beancontext/BeanContextSupport.java
2658         (getChildBeanContextChild): Implemented.
2659
2660 2006-11-10  Roman Kennke  <kennke@aicas.com>
2661
2662         * javax/swing/text/View.java
2663         (updateLayout): Only repaint when needed.
2664
2665 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2666
2667         * java/util/Collections.java
2668         (sort(List)): Minor API doc addition,
2669         (sort(List, Comparator)): Likewise.
2670
2671 2006-11-10  David Fu  <fchoong@netbeans.jp>
2672
2673         * javax/swing/text/html/HTMLWriter.java
2674         (traverse): Removed Classpath specific handling of implied
2675         tags.
2676         (traverseHtmlFragment): Removed Classpath specific handling of
2677         implied tags.
2678
2679 2006-11-10  Roman Kennke  <kennke@aicas.com>
2680
2681         * javax/swing/text/ParagraphView.java
2682         (Row.getMaximumSize): Removed. This method is not necessary.
2683         * javax/swing/text/html/TableView.java
2684         (CellView): Moved attribute init to setPropertiesFromAttributes().
2685         (setPropertiesFromAttributes): Fetch attributes here.
2686         (RowView.RowView): Documented.
2687         (RowView.getMaximumSpan): Overridden to restrict the max span
2688         in the Y direction.
2689         (RowView.layoutMajorAxis): Correctly layout the spans.
2690         (columnWidths): New field. Stores the width attributes of
2691         the columns.
2692         (calculateColumnRequirements): Added support for relative
2693          (== percent) width attributes.
2694         (calculateMajorAxisRequirements): Removed.
2695         (calculateMinorAxisRequirements): Removed unnecessary code.
2696         (getMaximumSpan): Overridden to restrict the table's width.
2697         (layoutColumns): Documented. Implement more clever table layout,
2698         i.e. for relative columns etc.
2699         (layoutMinorAxis): Don't mark rows invalid.
2700         (updateGrid): Added docs. Initialize column widths.
2701
2702 2006-11-09  Roman Kennke  <kennke@aicas.com>
2703
2704         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2705         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2706         Implement basic headless toolkit.
2707         * java/awt/Toolkit.java
2708         (getDefaultToolkit): Check headless property and create
2709         headless toolkit when true.
2710
2711 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2712 2006-11-09  Roman Kennke  <kennke@aicas.com>
2713
2714         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2715         (SwingButton.button): New field.
2716         (SwingButton.SwingButton): Added constructor.
2717         (SwingButton.isShowing): Access button field instead of
2718         the surrounding class.
2719         (SwingButton.getParent): Access button field instead of
2720         the surrounding class.
2721         (SwingButtonPeer): Call new SwingButton constructor.
2722         * gnu/java/awt/peer/swing/SwingComponent.java:
2723         Several documentation updates.
2724         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2725         (currentPaintEvents): New field.
2726         (peerFont): New field.
2727         (SwingComponentPeer): Initialize currentPaintEvents fields.
2728         (coalescePaintEvents): Implemented.
2729         (dispose): Unregister peer from heavyweight list of its container.
2730         (getGraphics): Fetch graphics from parent component.
2731         (handleEvent): Discard paint event if its coalesced.
2732         (init): Register component with its container for proper painting.
2733         (paint): Call peerPaint().
2734         (peerPaint): Added argument that indicates if we should update.
2735         Call paint or update on the actual AWT component.
2736         (peerPaintComponent): New method. Paints the peer (Swing) component.
2737         (setFont): Set peerFont field.
2738         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2739         (backbuffer): New field.
2740         (focusOwner): New field.
2741         (heavyweightDescendents): New field.
2742         (SwingContainerPeer): Take Container as argument. Don't call init
2743         yet.
2744         (addHeavyweightDescendent): New method.
2745         (getFocusOwner): New helper method.
2746         (getInsets): Delegate to insets().
2747         (handleKeyEvent): Dispatch event to focus owner.
2748         (handleMouseEvent): Dispatch to child component.
2749         (isDoubleBuffering): New helper method.
2750         (peerPaint): Overridden to implement container painting with
2751         double buffering.
2752         (peerPaintChildren): New method. Paints the descendents of this
2753         container.
2754         (removeHeavyweightDescendent): New helper method.       
2755         * gnu/java/awt/peer/swing/SwingFramePeer.java
2756         (peerPaint): Removed.
2757         (peerPaintComponent): Overridden to paint the menu bar.
2758         * gnu/java/awt/peer/swing/SwingLabelPeer.java
2759         (SwingLabel.label): New field.
2760         (SwingLabel.SwingLabel): Added constructor with Label argument.
2761         (SwingLabel.getGraphics): Implemented to fetch the graphics from
2762         the actual AWT component.
2763         (SwingLabel.getParent): Implemented to fetch the parent from
2764         the AWT component.
2765         (SwingLabel.isShowing): Access the label field.
2766         (SwingLabelPeer): Set alignment from label.
2767         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2768         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2769         fixlet.
2770         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2771         Don't be a lighweight peer.
2772         (SwingPanelPeer): Call init.
2773         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2774         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2775         (SwingTextField.textField): New field.
2776         (SwingTextField.SwingTextField): New constructor.
2777         (SwingTextField.isShowing): Access field not enclosing class.
2778         (SwingTextField.getGraphics): New method.
2779         (SwingTextField.getParent): New method.
2780         (SwingTextFieldPeer): Call new constructor.
2781         (select): Renamed arguments.
2782         * gnu/java/awt/peer/swing/SwingWindowPeer.java
2783         (SwingWindowPeer): Call init.
2784
2785 2006-11-09  Tania Bento  <tbento@redhat.com>
2786
2787         * javax/swing/JLabel.java
2788         (JLabel(Icon)): Changed documentation; Changed text to null.
2789         (JLabel(Icon,int)): Likewise.
2790         (JLabel(text)): Changed documenation.
2791         (JLabel(text,int)): Likewise.
2792         (JLabel(text,Icon,int)): Changed documentation; Throw 
2793         IllegalArgumentException if int is not one of LEFT, RIGHT,
2794         CENTER, LEADING or TRAILING.
2795
2796 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2797
2798         * java/beans/beancontext/BeanContextSupport.java
2799         (BeanContextSupport): Use correct dtime default,
2800         (BeanContextSupport(BeanContext)): Likewise,
2801         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2802         locale argument,
2803         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2804         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2805
2806 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2807
2808         * java/beans/beancontext/BeanContextSupport.java
2809         (getBeanContextPeer): Implemented.
2810
2811 2006-11-09  Roman Kennke  <kennke@aicas.com>
2812
2813         * javax/swing/text/html/BlockView.java
2814         (cssHeight): Removed.
2815         (cssWidth): Removed.
2816         (cssSpans): New field. Replaces the two fields above.
2817         (BlockView): Allocate cssSpans array.
2818         (layoutMinorAxis): Fetch and use child span, not this view's span.
2819         (setCSSSpan): Adjusted to use cssSpans array.
2820         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
2821
2822 2006-11-09  Roman Kennke  <kennke@aicas.com>
2823
2824         * javax/swing/text/html/InlineView.java
2825         (nowrap): New field.
2826         (getBreakWeight): Add support for nowrap.
2827         (setPropertiesFromAttributes): Fetch the nowrap setting.
2828
2829 2006-11-09  Roman Kennke  <kennke@aicas.com>
2830
2831         * gnu/javax/swing/text/html/css/CSSParser.java
2832         (parseRuleset): Use new Selector class.
2833         (parseValue): Parse multiple anys, not only one.
2834         (main): Allow stylesheet be specified on the command line.
2835         Use new Selector class.
2836         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2837         (startStatement): Use Selector class.
2838         * gnu/javax/swing/text/html/css/CSSScanner.java
2839         (readName): Actually read a character in the loop to avoid
2840         endless loop.
2841         * gnu/javax/swing/text/html/css/Length.java
2842         (getValue): Only multiply when we have a percentage value.
2843         * gnu/javax/swing/text/html/css/Selector.java:
2844         New class. Provides handling of CSS selectors.
2845         * javax/swing/text/html/StyleSheet.java
2846         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
2847         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
2848         (CSSStyle.PREC_NORM): New constant field.
2849         (CSSStyle.PREC_UA): New constant field.
2850         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
2851         (CSSStyle.precedence): New field.
2852         (CSSStyle.priority): Removed.
2853         (CSSStyle.selector): New field.
2854         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
2855         and precendence.
2856         (CSSStyle.compareTo): Adjusted to use the precedence and
2857         specificity of the selector.
2858         (CSSStyleSheetParserCallback.precedence): New field.
2859         (CSSStyleSheetParserCallback.selector): Removed.
2860         (CSSStyleSheetParserCallback.style): New field.
2861         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
2862         Initialize with precedence.
2863         (CSSStyleSheetParserCallback.declaration): Don't look up
2864         existing rule, simply create new one.
2865         (CSSStyleSheetParserCallback.endStatement): Append style
2866         to stylesheet.
2867         (CSSStyleSheetParserCallback.startStatement): Use new Selector
2868         class.
2869         (css): Changed to be ArrayList.
2870         (addRule): Create parser with author-normal precendence.
2871         (getRule): Fixed implementation.
2872         (loadRules): Create parser with UA precendence.
2873         (resolveStyle): Use Selector class for resolving and matching
2874         stylesheet rules.
2875         (translateHTMLToCSS): Added mappings for a couple of HTML
2876         attributes.
2877
2878 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2879
2880         Fixes bug #29770
2881         * java/beans/SimpleBeanInfo.java
2882         (loadImage): Check for nulls.
2883
2884 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2885
2886         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2887         (getpeername): Added 16 byte offset to memcpy operation.
2888
2889 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
2890
2891         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
2892         (getsockname): Added 16 byte offset to memcpy operation.
2893
2894 2006-11-08  Mark Wielaard  <mark@klomp.org>
2895
2896         Fixes bug #29754
2897         * java/io/OutputStreamWriter.java
2898         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
2899         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2900
2901 2006-11-08  Roman Kennke  <kennke@aicas.com>
2902
2903         * javax/swing/text/html/HTMLEditorKit.java
2904         (getParser): Use plain HTML_401F DTD.
2905         * javax/swing/text/html/HTMLDocument.java
2906         (HTMLReader.print): Removed method and all calls to it.
2907         (HTMLReader.printBuffer): Removed method and all calls to it.
2908         (HTMLReader.inImpliedParagraph): New field.
2909         (HTMLReader.inParagraph): New field.
2910         (HTMLReader.addContent): Create implied p-tag if necessary.
2911         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
2912         (HTMLReader.blockClose): Close implied p-tag if necessary.
2913         (HTMLReader.blockOpen): Close implied p-tag if necessary.
2914         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2915
2916 2006-11-08  Roman Kennke  <kennke@aicas.com>
2917
2918         * javax/swing/text/html/HTMLEditorKit.java
2919         (HTMLFactory.create): Removed mapping for TD tag. This
2920         is done in TableView.
2921         * javax/swing/text/html/TableView.java:
2922         Implemented from scratch.
2923
2924 2006-11-07  Roman Kennke  <kennke@aicas.com>
2925
2926         * gnu/javax/swing/text/html/parser/support/Parser.java
2927         (_handleText): Check if text content is actually allowed before
2928         passing empty text fragments on to the parser callbacks.
2929
2930 2006-11-07  Mark Wielaard  <mark@klomp.org>
2931
2932         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
2933         path.
2934         (flat): New method.
2935
2936 2006-11-07  Tania Bento  <tbento@redhat.com>
2937
2938         * java/awt/FlowLayout.java
2939         (getSize): If parent does not have a component, then a 
2940         different formula is used to calcuate the width.
2941
2942 2006-11-07  Roman Kennke  <kennke@aicas.com>
2943
2944         * javax/swing/text/html/HTMLEditorKit.java
2945         (HTMLFactory.create): Include ListView.
2946         * javax/swing/text/html/ListView.java
2947         (paint): Removed comment.
2948         * javax/swing/text/html/StyleSheet.java
2949         (CSSStyle.priority): New field.
2950         (CSSStyle.CSSStyle(int)): New constructor with priority.
2951         (CSSStyle.compareTo): New method. Used for sorting the styles.
2952         (CSSStyleSheetParserCallback.declaration): Store the style
2953         with the complete selector.
2954         (ListPainter.attributes): Renamed as field.
2955         (ListPainter.styleSheet): New field.
2956         (ListPainter.type): New field.
2957         (ListPainter.ListPainter): Pass StyleSheet to constructor.
2958         (ListPainter.paint): Provide simplistic implementation.
2959         (getListPainter): Pass StyleSheet to constructor.
2960         (resolveStyle): Fixed CSS style resolving.
2961
2962 2006-11-07  Roman Kennke  <kennke@aicas.com>
2963
2964         * gnu/javax/swing/text/html/css/BorderWidth.java:
2965         New class. Handles CSS border width values.
2966         * gnu/javax/swing/text/html/css/Length.java
2967         (floatValue): Made protected so that BorderWidth can access it.
2968         * javax/swing/text/html/CSS.java
2969         (Attribute.BORDER_BOTTOM_COLOR): New static field.
2970         (Attribute.BORDER_BOTTOM_STYLE): New static field.
2971         (Attribute.BORDER_LEFT_COLOR): New static field.
2972         (Attribute.BORDER_LEFT_STYLE): New static field.
2973         (Attribute.BORDER_RIGHT_COLOR): New static field.
2974         (Attribute.BORDER_RIGHT_STYLE): New static field.
2975         (Attribute.BORDER_TOP_COLOR): New static field.
2976         (Attribute.BORDER_TOP_STYLE): New static field.
2977         (getValue): Added some mappings for the border color and
2978         border width values.
2979         * javax/swing/text/html/CSSBorder.java: New class. Implements
2980         CSS borders.
2981         * javax/swing/text/html/StyleSheet.java
2982         (BoxPainter.background): New field.
2983         (BoxPainter.border): New field.
2984         (BoxPainter.bottomInset): Documented.
2985         (BoxPainter.leftInset): Documented.
2986         (BoxPainter.rightInset): Documented.
2987         (BoxPainter.topInset): Documented.
2988         (BoxPainter.BoxPainter): Added support for borders and background.
2989         (BoxPainter.getInset): Add border insets.
2990         (BoxPainter.paint): Implemented. Paints the background and the
2991         CSS border.
2992         (addRule): Be less picky about parse and IO exceptions.
2993         (getBoxPainter): Adjust to new BoxPainter constructor.
2994
2995 2006-11-07  Andreas  <a.tobler@schweiz.org>
2996
2997         * examples/Makefile.am: Add rule to install the *.html files we use
2998         in the Swing Demo.
2999
3000 2006-11-06  Francis Kung  <fkung@redhat.com>
3001
3002         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3003         (fillRect): Handle custom composites.
3004         (drawRenderedImage): Handle custom composites.
3005         (drawImage): Handle custom composites.
3006         (createBuffer): New method.
3007         (drawLine): Handle custom composites.
3008         (drawComposite): New method.
3009         (fill): Handle custom composites.
3010         (getNativeCM): New method.
3011         (drawGlyphVector): Handle custom composites.
3012         (drawRect): Handle custom composites.
3013         (draw): Handle custom composites.
3014         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3015         (drawComposite): Unset composite during draw call, to prevent parent
3016         from handling composite again.
3017         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3018         (getBufferCM): Added comments.
3019         (getNativeCM): Made abstract.
3020         (setComposite): Removed comments.
3021
3022 2006-11-06  Roman Kennke  <kennke@aicas.com>
3023
3024         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3025         Fixed initial window size and start document.
3026
3027 2006-11-06  Roman Kennke  <kennke@aicas.com>
3028
3029         * javax/swing/text/html/HTMLDocument.java
3030         (HTMLReader.addSpecialElement): Removed comment about
3031         htmlAttributeSet.
3032         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3033         of htmlAttributeSet.
3034         * javax/swing/text/html/parser/DocumentParser.java
3035         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3036         of htmlAttributeSet.
3037         * javax/swing/text/html/parser/ParserDelegator.java
3038         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3039         of htmlAttributeSet.
3040         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3041         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3042         of htmlAttributeSet.
3043         * gnu/javax/swing/text/html/parser/support/Parser.java
3044         (getAttributes): Return a SimpleAttributeSet.
3045         (restOfTag): Don't set resolving parent here.
3046
3047 2006-11-06  Tania Bento  <tbento@redhat.com>
3048
3049         * java/awt/TextComponent.java
3050         (setSelectionStart): Added check.
3051
3052 2006-11-06  Tania Bento  <tbento@redhat.com>
3053
3054         * java/awt/TextField.java
3055         (minimumSize(int)): Check if minimum size has been previously
3056         set and changed values of Dimension returned if peer == null.
3057         (preferredSize(int)): Check if preferred size has been previously
3058         set and changed values of Dimension returned if peer == null.
3059
3060 2006-11-06  Roman Kennke  <kennke@aicas.com>
3061
3062         * javax/swing/JTree.java
3063         (TreeModelHandler.treeNodesRemoved): Implemented.
3064         (TreeModelHandler.treeStructureChanged): Implemented.
3065         (nodeStates): Made package private.
3066
3067 2006-11-06  Francis Kung  <fkung@redhat.com>
3068
3069         PR 29420
3070         * javax/swing/JTree.java
3071         (clearSelectionPathStates): New private method to clean up nodeStates.
3072         (removeSelectionPath): Call clearSelectionPathStates().
3073         (removeSelectionPaths): Call clearSelectionPathStates().
3074         (removeSelectionRow): Call clearSelectionPathStates().
3075         (setSelectionPath): Call clearSelectionPathStates().
3076         (setSelectionPaths): Call clearSelectionPathStates().
3077         (setSelectionRow): Call clearSelectionPathStates().
3078
3079 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3080
3081         Fixes bug #29703
3082         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3083
3084 2006-11-06  Roman Kennke  <kennke@aicas.com>
3085
3086         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3087         Changed to implement a minimalistic browser.
3088         * examples/gnu/classpath/examples/swing/forms.html,
3089         * examples/gnu/classpath/examples/swing/textstyles.html,
3090         * examples/gnu/classpath/examples/swing/welcome.html:
3091         Some example content.
3092
3093 2006-11-06  Roman Kennke  <kennke@aicas.com>
3094
3095         * javax/swing/text/ComponentView.java
3096         (setParent): Lock the document and repaint the hosting
3097         container.
3098         * javax/swing/text/FlowView.java
3099         (FlowStrategy.createView): Removed comment.
3100         (FlowView): Initialize span with Short.MAX_VALUE.
3101         (getFlowStart): Return 0 unconditionally.
3102         (layout): Moved code around to make it more readable.
3103         (loadChildren): Always set the parent.
3104         * javax/swing/text/GlyphView.java
3105         (DefaultGlyphPainter.fontMetrics): New field.
3106         (DefaultGlyphPainter.getAscent): Use new helper method to
3107         synchronize the font metrics.
3108         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3109         to synchronize the font metrics.
3110         (DefaultGlyphPainter.getDescent): Use new helper method to
3111         synchronize the font metrics.
3112         (DefaultGlyphPainter.getHeight): Use new helper method to
3113         synchronize the font metrics.
3114         (DefaultGlyphPainter.getSpan): Use new helper method to
3115         synchronize the font metrics.
3116         (DefaultGlyphPainter.modelToView): Use new helper method to
3117         synchronize the font metrics.
3118         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3119         font metrics caching.
3120         (DefaultGlyphPainter.viewToModel): Use new helper method to
3121         synchronize the font metrics. Fixed view to model mapping.
3122         * javax/swing/text/View.java
3123         (removeAll): Pass null to replace().
3124         (setParent): Only reparent children that have this view as parent.
3125
3126 2006-11-05  Mark Wielaard  <mark@klomp.org>
3127
3128         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3129         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3130         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3131         Removed.
3132         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3133         Removed.
3134         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3135         Remove gnu_java_nio_channels_FileChannelImpl.c.
3136
3137 2006-11-03  Roman Kennke  <kennke@aicas.com>
3138
3139         * javax/swing/text/html/BlockView.java
3140         (attributes): New field.
3141         (cssHeight): New field.
3142         (cssWidth): New field.
3143         (painter): New field.
3144         (calculateMajorAxisRequirements): Overridden to account for
3145         CSS settings.
3146         (calculateMinorAxisRequirements): Overridden to account for
3147         CSS settings.
3148         (layoutMinorAxis): Overridden to account for CSS settings.
3149         (changedUpdate): Formatting fixlet.
3150         (constrainSize): New helper method.
3151         (getAlignment): Fix alignment.
3152         (getAttributes): Cache attributes for better performance.
3153         (getStyleSheet): Fetch stylesheet from document rather than creating
3154         a new one.
3155         (paint): Remove comment.
3156         (setCSSSpan): New helper method.
3157         (setPropertiesFromAttributes): Implemented to fetch the
3158         recognized properties.
3159         * javax/swing/text/html/CSS.java
3160         (getValue): Added mapping for width and height attributes.
3161         * javax/swing/text/html/InlineView.java
3162         (longestWord): New field.
3163         (getLongestWord): New helper method.
3164         (calculateLongestWord): New helper method.
3165         (getMinimumSpan): Overridden to constrain the minimum span by the
3166         longest word.
3167         * javax/swing/text/html/ParagraphView.java
3168         (cssHeight): New field.
3169         (cssWidth): New field.
3170         (calculateMinorAxisRequirements): Overridden to account for
3171         CSS settings.
3172         (setCSSSpan): New helper method.
3173         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3174         null check.
3175         * gnu/javax/swing/text/html/css/Length.java
3176         (percentage): New field.
3177         (Length): Determine percentage values.
3178         (getValue(float)): New method for handling percentage values.
3179         (isPercentage): New method.
3180
3181 2006-11-03  Tania Bento  <tbento@redhat.com>
3182
3183         * java/awt/TextArea.java
3184         (getMinimumSize): Changed documentation.
3185         (getPreferredSize): Changed documentation.
3186         (getMinimumSize(int,int)): Changed documenation.
3187         (getPreferredSize(int,int)): Changed documenation.
3188         (minimumSize): Changed documentation.
3189         (preferredSize): Changed documenation.
3190         (minimumSize(int,int)): Changed documentation.  Checked if 
3191         minimum size had been previously set and changed values of
3192         Dimension returned if peer == null.
3193         (preferredSize(int, int)): Checked if preferred size had been
3194         previously set and changed values of Dimension returned if
3195         peer = null.
3196
3197 2006-11-03  Tania Bento  <tbento@redhat.com>
3198
3199         * java/awt/event/ComponentEvent.java
3200         (paramString): Changed format of string representation returned.
3201
3202 2006-11-03  Roman Kennke  <kennke@aicas.com>
3203
3204         * javax/swing/text/html/HTMLDocument.java
3205         (HTMLReader.FormAction.start): Added support for textarea.
3206         (HTMLReader.FormAction.end): Added support for textarea.
3207         (HTMLReader.HeadAction.end): Call super to actually close the
3208         block.
3209         (HTMLReader.inTextArea): New field.
3210         (HTMLReader.textAreaDocument): New field.
3211         (HTMLReader.handleText): Call textAreaContent when inside
3212         a textarea tag.
3213         (HTMLReader.textAreaContent): Implemented to initialize
3214         the text area's model.
3215         * javax/swing/text/html/FormView.java
3216         (createComponent): Added support for textarea tag.
3217
3218 2006-11-03  Roman Kennke  <kennke@aicas.com>
3219
3220         * javax/swing/text/html/HTMLDocument.java
3221         (HTMLReader.IsindexAction.start): Implemented.
3222
3223 2006-11-03  Roman Kennke  <kennke@aicas.com>
3224
3225         * javax/swing/text/html/StyleSheet.java
3226         (addRule): Implemented.
3227         * javax/swing/text/html/HTMLDocument.java
3228         (HTMLReader.inStyleTag): New field.
3229         (HTMLReader.styles): New field.
3230         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3231         if any.
3232         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3233         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3234         (HTMLReader.handleText): When inside a style tag, add
3235         content to the styles array.
3236
3237 2006-11-02  Roman Kennke  <kennke@aicas.com>
3238
3239         * javax/swing/text/html/FormView.java
3240         (maxIsPreferred): New field.
3241         (createComponent): Initialize components correctly.
3242         (getMaximumSpan): Return the preferred span for components
3243         that need this. The maxIsPreferred flag is set accordingly
3244         in createComponent.
3245         * javax/swing/text/html/HTMLDocument.java
3246         (HTMLReader.FormAction.start): Implemented to set the
3247         correct model as attribute.
3248         (HTMLReader.FormAction.setModel): New helper method.
3249         (HTMLReader.FormAction.end): Call super to finish the element.
3250         Added TODO about things left to do.
3251         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3252         than htmlAttributeSet.
3253         * javax/swing/text/html/HTMLEditorKit.java
3254         (HTMLFactory.create): Create BlockView for FORM tags.
3255         Create FormView for INPUT, TEXTAREA and SELECT tags.
3256
3257 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3258
3259         * java/awt/geom/GeneralPath.java: API doc fixes.
3260
3261 2006-11-02  Roman Kennke  <kennke@aicas.com>
3262
3263         * javax/swing/text/html/ImageView.java
3264         (getImageURL): Fetch attribute from element. Consider the
3265         base URL for relative image locations.
3266
3267 2006-11-02  Roman Kennke  <kennke@aicas.com>
3268
3269         * javax/swing/JEditorPane.java
3270         (setContentType): Strip off attributes.
3271         * javax/swing/text/html/HTMLEditorKit.java
3272         (LinkController.activateLink(int,JEditorPane,int,int): New
3273         method. Implements activation of a hyperlink.
3274         (LinkController.activateLinke(int,JEditorPane)): Delegate
3275         to the other activateLink() method.
3276         (LinkController.createHyperlinkEvent): New helper method.
3277         (LinkController.mouseClicked): Implemented to activate the link.
3278         (LinkController.mouseDragged): Added comment that this
3279         method does nothing.
3280         (LinkController.mouseMoved): Update cursor for hyperlinks.
3281         (mouseHandler): Renamed field to linkController.
3282         (HTMLEditorKit): Create a link controller.
3283         (clone): Give the clone a new link controller.
3284         (deinstall): De-install link controller as mouseMotionListener too.
3285         (install): Install link controller as mouseMotionListener too.
3286
3287 2006-11-02  Roman Kennke  <kennke@aicas.com>
3288
3289         PR 29644
3290         * javax/swing/text/FlowView.java
3291         (FlowStrategy.changedUpdate): Reversed condition. This caused
3292         wrong layout and bad performance.
3293         (FlowStrategy.insertUpdate): Reversed condition. This caused
3294         wrong layout and bad performance.
3295         (FlowStrategy.removeUpdate): Reversed condition. This caused
3296         wrong layout and bad performance.
3297         (LogicalView): Changed to be a subclass of CompositeView.
3298         (LogicalView()): Only take one Element argument.
3299         (LogicalView.childAllocation): New method for implementing
3300         the abstract CompositeView method.
3301         (LogicalView.forwardUpdateToView): Overridden for correct
3302         reparenting.
3303         (getMinimumSpan): Overridden to handle line breaking correctly.
3304         (getPreferredSpan): Implemented to handle line breaking correctly.
3305         (getViewAtPoint): New method for implementing
3306         the abstract CompositeView method.
3307         (getViewIndexAtPosition): Overridden to handle leaf elements
3308         correctly.
3309         (isAfter): New method for implementing
3310         the abstract CompositeView method.
3311         (isBefore): New method for implementing
3312         the abstract CompositeView method.
3313         (loadChildren): Overridden to handle leaf elements
3314         correctly.
3315         (paint): New method for implementing
3316         the abstract CompositeView method.
3317         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3318         (loadChildren): Initialize flow layout by sending a synthetic
3319         insertUpdate() to the layout strategy.
3320         * javax/swing/text/GlyphView.java
3321         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3322         font metrics if component is not available. Add initial offset
3323         to result.
3324         (breakView): Be more clever when breaking the view.
3325         (getBreakLocation): New helper method to determine a good
3326         break location.
3327         (getBreakWeight): Be more clever when breaking the view.
3328         (getTabbedSpan): Make sure we have a painter. Use view's
3329         start and end offset rather than the element's.
3330         * javax/swing/text/Utilities.java
3331         (drawTabbedText): Avoid useless add and sub with the y offset.
3332
3333 2006-11-02  Roman Kennke  <kennke@aicas.com>
3334
3335         PR 29644
3336         * gnu/java/awt/peer/ClasspathFontPeer.java
3337         (getStringBounds): Removed abstract method. This is replaced
3338         in java.awt.Font to use a TextLayout.
3339         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3340         (GtkWindowPeer): Set a font on the window object.
3341         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3342         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3343         Changed to take char,int,int instead of String. Filter
3344         control characters.
3345         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3346         Create char array out of string.
3347         (getLogicalBounds): Don't translate bounds. They already are
3348         translated.
3349         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3350         (stringWidth): Filter out control characters.
3351         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3352         (getStringBounds): Removed unneeded method.
3353         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3354         constructor.
3355         * gnu/java/awt/peer/qt/QtFontPeer.java
3356         (getStringBounds): Removed unneeded method.
3357         * gnu/java/awt/peer/x/XFontPeer.java
3358         (getStringBounds): Removed unneeded method.
3359         * gnu/java/awt/peer/x/XFontPeer2.java
3360         (getStringBounds): Removed unneeded method.
3361         * java/awt/Font.java
3362         (getStringBounds(char[],int,int,FontRenderContext)):
3363         Use TextLayout to determine the bounds.
3364         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3365         Delegate to the char[] version of this method.
3366         (getStringBounds(String,FontRenderContext)):
3367         Delegate to the char[] version of this method.
3368         (getStringBounds(String,int,int,FontRenderContext)):
3369         Delegate to the String version of this method.
3370
3371 2006-11-01  Tania Bento  <tbento@redhat.com>
3372
3373         * java/awt/ScrollPaneAdjustable.java
3374         (paramString): Changed format of string representation returned.
3375         (paramStringHelper): New private method.
3376
3377 2006-11-01  Tania Bento  <tbento@redhat.com>
3378
3379         * java/awt/GridBagLayout.java
3380         (toString): Implemented method.
3381
3382 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3383
3384         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3385         initialization to NP_Initialize.
3386         (NP_Initialize): Initialize GLib threading.
3387
3388 2006-10-31  Tania Bento  <tbento@redhat.com>
3389
3390         * javax/swing/JTextField.java
3391         (fireActionPerformed): When creating the new event, if
3392         actionCommand == null, then getText() is used.
3393
3394 2006-10-31  Francis Kung  <fkung@redhat.com>
3395
3396         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3397         (fillArc): Corrected arc type to Arc2D.PIE.
3398
3399 2006-10-31  Roman Kennke  <kennke@aicas.com>
3400
3401         * javax/swing/text/html/HTMLDocument.java
3402         (HTMLReader.PreAction.end): Implemented.
3403         (HTMLReader.PreAction.start): Implemented.
3404         (HTMLReader.inPreTag): New field.
3405         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3406         (HTMLReader.preContent): Implemented.
3407
3408 2006-10-31  Tania Bento  <tbento@redhat.com>
3409
3410         * javax/swing/JTextField.java
3411         (fireActionPerformed): When creating the new event, 
3412         actionCommand should be used as the command, not
3413         getText().
3414
3415 2006-10-31  Roman Kennke  <kennke@aicas.com>
3416
3417         * javax/swing/text/html/HTMLEditorKit.java
3418         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3419         HTML or Styled documents.
3420
3421 2006-10-31  David Fu  <fchoong@netbeans.jp>
3422
3423         * javax/swing/text/html/HTMLWriter.java: New class.
3424
3425 2006-10-30  Roman Kennke  <kennke@aicas.com>
3426
3427         * java/awt/dnd/DragSourceContext.java
3428         (dragExit): Use constant fields instead of 0.
3429         (updateCurrentCursor): Completed implementation.
3430
3431 2006-10-30  Roman Kennke  <kennke@aicas.com>
3432
3433         * java/awt/dnd/DragGestureRecognizer.java
3434         (resetRecognizer): Added API docs. Do not replace the events object
3435         but rather clear() it. Removed not implemented tag.
3436
3437 2006-10-30  Roman Kennke  <kennke@aicas.com>
3438
3439         * java/awt/datatransfer/DataFlavor.java
3440         (writeExternal): Remove not implemented tag.
3441
3442 2006-10-30  Roman Kennke  <kennke@aicas.com>
3443
3444         * java/awt/datatransfer/DataFlavor.java
3445         (javaFileListFlavor): Don't explicitly specify class.
3446         (plainTextFlavor): Don't explicitly specify class.
3447         (mimeType): Changed to type MimeType. Remove final.
3448         (representationClass): Remove final.
3449         (DataFlavor): Don't do anything here.
3450         (DataFlavor(Class,String,String)): Removed.
3451         (DataFlavor(Class,String)): Initialize here.
3452         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3453         (DataFlavor(String,String)): Initialize in init().
3454         (DataFlavor(String)): Initialize in init().
3455         (init): New initialization method.
3456         (getMimeType): Delegate to MimeType.toString().
3457         (getParameter(String,String)): Removed. Is now done in MimeType.
3458         (getParameter(String)): Delegate to MimeType.
3459         (getPrimaryType): Delegate to MimeType.
3460         (getRepresentationClassFromMime): Removed.
3461         (getRepresentationClassFromMimeThrows): Removed.
3462         (getSubType): Delegate to MimeType.
3463         (hashCode): Take MimeType.toString() for the hashCode.
3464         (isFlavorRemoveObjectType): Return true only when representation
3465         class is remove and serializable and the mime type is remote.
3466         (isFlavorSerializedObjectType): Return true only when representation
3467         class is serializable and the mime type is serialized.
3468         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3469         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3470         (readExternal): Implemented stub method.
3471         (writeExternal): Implemented stub method.
3472         * java/awt/datatransfer/MimeType.java: New helper class.
3473
3474 2006-10-28  Roman Kennke  <kennke@aicas.com>
3475
3476         * javax/swing/TransferHandler.java
3477         (importData): Implemented stub method. Added API docs.
3478
3479 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3480
3481         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3482         function.
3483         * native/jni/classpath/classpath_jawt.h: Likewise.
3484         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3485         initializer for surface_info_x11->depth.
3486
3487 2006-10-26  Tania Bento  <tbento@redhat.com>
3488         
3489         * java/awt/FileDialog.java:
3490         (setFile): Changed if-clause condition.
3491
3492 2006-10-25  Francis Kung  <fkung@redhat.com>
3493
3494         * include/gnu_java_nio_VMChannel.h,
3495         * include/java_net_VMNetworkInterface.h,
3496         * include/gnu_java_nio_EpollSelectorImpl.h,
3497         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3498         * include/gnu_java_nio_FileChannelImpl.h,
3499         * include/gnu_java_nio_KqueueSelectorImpl.h,
3500         * include/gnu_java_nio_VMPipe.h,
3501         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3502
3503 2006-10-25  Tania Bento  <tbento@redhat.com>
3504
3505         * java/awt/Dialog.java: Created new private variable
3506         next_dialog_number.
3507         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3508         Set cursor to default cursor.
3509         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3510         Same.
3511         (generateName): New method.
3512         (getUniqueLong): New private method.
3513         * java/awt/FileDialog.java: Created new private variable
3514         next_file_dialog_number.
3515         (setFile): If file == "", set it to null.
3516         (generateName): New method.
3517         (getUniqueLong): New private method.
3518
3519 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3520
3521         * java/net/MulticastSocket.java:
3522         (setNetworkInterface): Rewritten.
3523
3524 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3525
3526         * native/jni/java-net/javanet.h: Added declaration for
3527         _javanet_create_inetaddress.
3528         * native/jni/java-net/javanet.c:
3529         (_javanet_create_inetaddress): Removed static keyword.
3530
3531 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3532
3533         * gnu/java/net/PlainDatagramSocketImpl.java:
3534         (connect): Use VMChannel instance for connect call.
3535         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3536         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3537         (setOption): Handle multicast options.
3538         (getOption): Handle multicast options.
3539         * gnu/java/net/PlainSocketImpl.java:
3540         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3541         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3542         (setOption): Filter unappropriate options.
3543         (getOption): Filter unappropriate options.
3544         (connect): Use given SocketAddress.
3545         (close): Reset address and port.
3546         (getInetAddress): 
3547         * include/Makefile.am: Removed all occurences of
3548         gnu_java_net_VMPlainDatagramSocketImpl.h.
3549         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3550         * native/jni/java-net/Makefile.am: Removed
3551         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3552         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3553         Removed.
3554         as SocketException, declare to throw SocketException.
3555         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3556         for SocketException and ConnectException.
3557         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3558         of IOException.
3559         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3560         of IOException.
3561         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3562         (JCL_thread_interrupted): New function.
3563         (initIDs): Added initialisation for isThreadInterrupted method id.
3564         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3565         CPNET_IP_TTL to java_sockopt enum.
3566         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3567         case, handle SO_LINGER case properly.
3568         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3569         case, handle SO_LINGER case properly.
3570         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3571         function.
3572         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3573         function.
3574         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3575         function.
3576         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3577         IPV6_LEAVE_GROUP.
3578         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3579         * vm/reference/gnu/java/nio/VMChannel.java:
3580         (connect(int, byte[], int, int)): Declare to throw SocketException.
3581         (connect6): Declare to throw SocketException.
3582         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3583         (isThreadInterrupted): New method.
3584         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3585         field.
3586         (setTimeToLive): New method.
3587         (getTimeToLive): New method.
3588         (setMulticastInterface(int, InetAddress)): New method.
3589         (setMulticastInterface(int, int, Inet4Address): New method.
3590         (setMulticastInterface6(int, int, Inet6Address): New method.
3591         (setOptions): Handle SO_LINGER case.
3592         (getOptions): Add missing SO_REUSEADDR case.
3593         * java/net/Socket.java:
3594         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3595         when exception was thrown out of connect().
3596         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3597         Boolean.FALSE with Integer.valueOf(-1).
3598         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3599         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3600         * NEWS: Documented VM interface changes.
3601
3602 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3603
3604         * java/net/Inet6Address.java:
3605         (isMulticastAddress): Fixed check.
3606
3607 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3608
3609         Fixes PR29576
3610         * java/net/MulticastSocket.java:
3611         (getNetworkInterface): Return a special NetworkInterface instance
3612         if the socket's multicast interface is set to any.
3613
3614 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3615
3616         Fixes PR29576
3617         * java/net/NetworkInterface.java:
3618         (createAnyInterface): New method.
3619         (equals): Added if-statement to handle case where netif.name is null.
3620         * vm/reference/java/net/VMNetworkInterface.java:
3621         (hashCode): Rewritten.
3622         (VMNetworkInterface): New constructor.
3623
3624 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3625
3626         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3627         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3628         Add ASM_JAR to bootclasspath.
3629
3630 2006-10-24  Tania Bento  <tbento@redhat.com>
3631
3632         * java/awt/Scrollbar.java:
3633         (setLineIncrement): Removed unnecessary if-clause and if 
3634         lineIncrement == 0, then it should be set to 1, not 0.
3635         (setPageIncrement): Removed unnecessary if-clause and if
3636         pageIncrement == 0, then it should be set to 1, not 0.
3637         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3638         If maximum <= minimum, maximum should be set to mininum + 1. The
3639         actual value of maximum is maximum - visibleAmount, so I made 
3640         this change to the appropriate if-check. Remove the two unneccessary
3641         if-clauses.
3642
3643 2006-10-23  Francis Kung  <fkung@redhat.com>
3644
3645         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3646         (cairoSetFont): New method.
3647         (copy): Set font using setFont method.
3648         (setFont): Call cairoSetFont.
3649         (setup): Set font using setFont method.
3650         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3651         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3652         (install_font_peer): Removed.
3653         (cairoDrawGlyphVector): Removed call to install_font_peer.
3654         (cairoSetFont): New method.
3655
3656 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3657
3658         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3659         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3660         NativeEventLoopRunningEvent after GTK main loop start and stop.
3661         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3662         (getNextEvent): Set dispatchThread to null.
3663         (postEventImpl): Set nativeLoopRunning.
3664         (pop): Interrupt event dispatch thread.
3665         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3666
3667 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3668
3669         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3670         Added include.
3671         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3672         Likewise.
3673
3674 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3675
3676         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3677         * javax/crypto/CipherOutputStream.java: Re-implemented.
3678         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3679         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3680         decryption mode and check if it is a complete block.
3681         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3682         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3683         partially processed data into account.
3684
3685 2006-10-21  Tom Tromey  <tromey@redhat.com>
3686
3687         PR classpath/29086:
3688         * java/util/AbstractCollection.java (toArray): Removed cast.
3689
3690 2006-10-20  Tom Tromey  <tromey@redhat.com>
3691
3692         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3693         Don't use mangled class name for .h file.
3694         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3695         Don't use mangled class name for .c file.
3696         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3697         Handle classes from the default package.
3698
3699 2006-10-20  Francis Kung  <fkung@redhat.com>
3700
3701         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3702
3703 2006-10-19  Francis Kung  <fkung@redhat.com>
3704
3705         PR 29510
3706         * java/awt/image/BufferedImage.java
3707         (constructor): Updated some properties of default image types.
3708         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3709         (argb32): Updated field to match default in BufferedImage.
3710
3711 2006-10-18  Roman Kennke  <kennke@aicas.com>
3712
3713         PR 29419
3714         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3715         (copyArea): Changed size comparison to return when size == 0
3716         too.
3717         * javax/swing/JViewport.java
3718         (paintBackingStore): Check width and height of blitted area
3719         and only do blit if its > 0.
3720         (paintBlit): Check width and height of blitted area
3721         and only do blit if its > 0.
3722
3723 2006-10-18  Roman Kennke  <kennke@aicas.com>
3724
3725         PR 27091
3726         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3727         (maximize): New native method.
3728         (unmaximize): New native method.
3729         (iconify): New native method.
3730         (deiconify): New native method.
3731         (getState): Implemented.
3732         (setState): Implemented.
3733         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3734         (oldState): Rename to windowState and made protected, so that
3735         the FramePeer can access it.
3736         (postWindowEvent): Handle state change events more gently and
3737         correctly.
3738         * java/awt/Frame.java
3739         (getState): Fetch state from getExtendedState().
3740         (setExtendedState): Update the peer. Check if the state change
3741         is actually supported.
3742         (getExtendedState): Update the state from the peer.
3743         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3744         (maximize): New method.
3745         (unmaximize): New method.
3746         (iconify): New method.
3747         (deiconify): New method.
3748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3749         (AWT_FRAME_NORMAL): New macro.
3750         (AWT_FRAME_ICONIFIED): New macro.
3751         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3752         (window_window_state_cb): Rewritten to handle window state changes
3753         more gently (mostly on the java side of the world).
3754         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3755
3756 2006-10-18  Tania Bento  <tbento@redhat.com>
3757
3758         * java/awt/CardLayout.java:
3759         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3760         its height and width if Container passed as argument is null.
3761         (gotoComponent): Consider the case where the component is not visible.
3762
3763 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3764
3765         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3766         Rename file...
3767         * resource/gnu/classpath/tools/appletviewer/messages.properties:
3768         New file.
3769         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3770         Remove file.
3771         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3772         Remove file.
3773         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3774         Likewise.
3775         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3776         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3777         Retrieve user-visible strings through Messages.getString.
3778         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3779         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3780         Likewise.
3781         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3782         Likewise.
3783         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3784         Likewise.
3785         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3786         Likewise.
3787         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3788         Likewise.
3789         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3790         Likewise.
3791
3792 2006-10-18  Roman Kennke  <kennke@aicas.com>
3793
3794         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3795         (AWT_WINDOW_OPENED): Remove unnecessary macro.
3796         (window_show_cb): Removed unnecessary function.
3797         (connect_signals): Don't connect signal for show.  *
3798         gnu/java/awt/peer/gtk/GtkWindowPeer.java
3799         (hasBeenShown): Removed. This is handled in java.awt.Window.
3800         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3801         in java.awt.Window.  * java/awt/Window.java
3802         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3803
3804 2006-10-18  Francis Kung  <fkung@redhat.com>
3805
3806         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3807         (drawRenderedImage):  New method.
3808         (drawImage): New method.
3809         (CairoSurfaceGraphics): Set clip.
3810         (createBuffer): New method.
3811         (getBufferCM): New method.
3812         (drawComposite): New method.
3813         (fill): New method.
3814         (getNativeCM): New method.
3815         (drawGlyphVector): New method.
3816         (draw): New method.
3817         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3818         (getNativeCM): Reflect renamed field.
3819         * gnu/java/awt/peer/gtk/CairoSurface.java
3820         (cairoCM_pre): Renamed from cairoColorModel.
3821         (cairoColorModel): Set premultiplication to false.
3822
3823 2006-10-18  Roman Kennke  <kennke@aicas.com>
3824
3825         PR 28769
3826         * javax/swing/JScrollPane.java
3827         (viewportBorder): Made field private.
3828         (wheelScrollingEnabled): Made field private.
3829         (JScrollPane): Enabled wheel scrolling by default.
3830         * javax/swing/JTree.java
3831         (TreeSelectionRedirector.valueChanged): Don't repaint anything
3832         here.
3833         (getScrollableUnitIncrement): Fixed thinko.
3834         * javax/swing/plaf/basic/BasicScrollBarUI.java
3835         (static scrollByBlock): New static method to avoid code duplication
3836         for the BasicScrollPane wheel scrolling.
3837         (static scrollByUnits): New static method to avoid code duplication
3838         for the BasicScrollPane wheel scrolling.
3839         (scrollByBlock): Delegate to static helper method.
3840         (scrollByUnit): Delegate to static helper method.
3841         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3842         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
3843         static helper methods to avoid code duplication.
3844         (MouseWheelHandler.bounds): Removed.
3845         (MouseWheelHandler.getValue): Removed.
3846         (MouseWheelHandler.scroll): Removed.
3847
3848 2006-10-18  Roman Kennke  <kennke@aicas.com>
3849
3850         PR 29502
3851         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3852         (updateComponent): Don't override this here.
3853         * java/awt/Window.java
3854         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
3855         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
3856         flag.
3857         (addWindowStateListener): Ignore null listener. Set newEventsOnly
3858         flag.
3859
3860 2006-10-18  Roman Kennke  <kennke@aicas.com>
3861
3862         * javax/swing/JEditorPane.java
3863         (getStream): Try to detect and set the content type of the
3864         connection stream.
3865
3866 2006-10-18  Roman Kennke  <kennke@aicas.com>
3867
3868         * javax/swing/RepaintManager.java
3869         (RepaintWorkerEvent): Pass full set of params to super.
3870         (RepaintWorker.dispatch): Overridden to allow apps to call this
3871         via reflection.
3872         (addDirtyRegion): Synchronize a little more to protect the
3873         dirtyComponents field and avoid NPEs.
3874         (invokeLater): Pass full set of params to RepaintWorkerEvent
3875         constructor.
3876
3877 2006-10-18  Roman Kennke  <kennke@aicas.com>
3878
3879         * javax/swing/JEditorPane.java
3880         (page): Removed field. The page is now stored in the correct
3881         document property.
3882         (getPage): Fetch page URL from document property.
3883         (read): Set the document for this JEditorPane. Use a Reader
3884         for reading in the document.
3885         (setPage): Call getStream() to get the stream from which we read.
3886         Fire property change. Store page in document property.
3887
3888 2006-10-18  Roman Kennke  <kennke@aicas.com>
3889
3890         * java/awt/datatransfer/DataFlavor.java
3891         (DataFlavor(String)): Removed check for space in mime string.
3892
3893 2006-10-18  Roman Kennke  <kennke@aicas.com>
3894
3895         * java/awt/Container.java
3896         (validateTree): Call ContainerPeer.begin|endLayout() rather than
3897         begin|endValidate().
3898         (validate): Call ContainerPeer.begin|endValidate() here.
3899         Added some local vars to avoid NPEs.
3900
3901 2006-10-18  Roman Kennke  <kennke@aicas.com>
3902
3903         * native/target/.cvsignore
3904         * native/target/Linux/.cvsignore
3905         * native/target/generic/.cvsignore:
3906         Added to let CVS ignore the generated Makefile and Makefile.in
3907         files.
3908
3909 2006-10-18  Roman Kennke  <kennke@aicas.com>
3910
3911         PR 29448
3912         * java/awt/Window.java
3913         (eventTypeEnabled): Overridden to handle WindowEvents.
3914         (processEvent): Switch between processWindowEvent(),
3915         processWindowFocusEvent() and processWindowStateEvent() here,
3916         rather than simply calling processWindowEvent().
3917         (processWindowEvent): Only dispatch event to listener, do not
3918         switch to processWindowFocusEvent() or processWindowStateEvent()
3919         here.
3920         * javax/swing/JFrame.java
3921         (frameInit): Explicitly enable window and key events here.
3922         (processWindowEvent): Throw out some unnecessary code.
3923         * javax/swing/JWindow.java
3924         (windowInit): Explicitly enable key events here.
3925         * javax/swing/JDialog.java
3926         (close_action): Renamed to closeAction.
3927         (dialogInit): Explicitly enable window events here.
3928         (getDefaultCloseOperation): Renamed close_action to closeAction.
3929         (processWindowEvent): Throw out some unnecessary code.
3930         Renamed close_action to closeAction.
3931         (setDefaultCloseOperation): Renamed close_action to closeAction.
3932
3933 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
3934
3935         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
3936         to track native GTK event loop status.
3937         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
3938         clear running flag when native GTK event loop starts and stops.
3939
3940 2006-10-17  Roman Kennke  <kennke@aicas.com>
3941
3942         * javax/swing/TransferHandler.java
3943         (exportToClipboard): Implemented.
3944
3945 2006-10-17  Francis Kung  <fkung@redhat.com>
3946
3947         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
3948         region to account for pixel-shifting.
3949         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
3950         proctected.
3951
3952 2006-10-17  Francis Kung  <fkung@redhat.com>
3953
3954         PR 29450
3955         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3956         (getLogicalBounds): Translate individual glyphs before appending bounds.
3957         (getOutline): Translate individual glyphs before appending outline.
3958
3959 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
3960
3961         PR 29014
3962         * java/awt/font/TextLayout.java
3963         (bidi): New field.
3964         (constructor): Store bidi in field.
3965         (getCharacterLevel): Implemented.
3966
3967 2006-10-17  Roman Kennke  <kennke@aicas.com>
3968
3969         * javax/swing/TransferHandler.java
3970         (PropertyTransferable): New inner class. Handles transfers
3971         from component properties.
3972         (createTransferable): Implemented.
3973
3974 2006-10-17  Francis Kung  <fkung@redhat.com>
3975
3976         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3977         (drawComposite): Ensure composite does not extend beyond buffer
3978         bounds.
3979         * java/awt/image/Raster.java
3980         (createChild): Ensure child does not extend beyond parent's
3981         bounds.
3982         * java/awt/image/WritableRaster.java
3983         (createWritableChild): Ensure child does not extend beyond
3984         parent's bounds.
3985
3986 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
3987
3988         * native/jni/classpath/jcl.c
3989         (JNI_OnLoad): Corrected calling convention.
3990
3991 2006-10-16  Roman Kennke  <kennke@aicas.com>
3992
3993         * javax/swing/TransferHandler.java
3994         (propertyName): New field.
3995         (TransferHandler(String)): Store property name in field.
3996         (canImport): Implemented stub method.
3997         (exportDone): This is a no-op. Removed not-implemented mark.
3998         (getPropertyDataFlavor): New helper method.
3999         (getPropertyDescriptor): New helper method.
4000
4001 2006-10-16  Roman Kennke  <kennke@aicas.com>
4002
4003         * javax/swing/AbstractButton.java
4004         (AccessibleJButton.getAfterIndex): Implemented.
4005         (AccessibleJButton.getAtIndex): Implemented.
4006         (AccessibleJButton.getBeforeIndex): Implemented.
4007         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4008         method implementation.
4009
4010 2006-10-16  Roman Kennke  <kennke@aicas.com>
4011
4012         * javax/swing/JLabel.java
4013         (AccessibleJLabel.getIndexAtPoint): Implemented.
4014         (AccessibleJLabel.getCharacterBounds): Implemented.
4015         (AccessibleJLabel.getTextRectangle): New helper method.
4016
4017 2006-10-16  Roman Kennke  <kennke@aicas.com>
4018
4019         * javax/swing/filechooser/FileSystemView.java
4020         (getFileSystemView): Mark as implemented.
4021
4022 2006-10-14  Roman Kennke  <kennke@aicas.com>
4023
4024         PR 27957
4025         * javax/swing/JComponent.java
4026         (toolTipText): Removed field.
4027         (createToolTip): Don't set tooltip text here. This is done
4028         in the ToolTipManager.
4029         (setToolTipText): Set tooltip text as client property.
4030         (getToolTipText): Get tooltip text from client property.
4031         * javax/swing/ToolTipManager.java
4032         (currentComponent): Made field non-static and of type JComponent.
4033         (currentPoint): Made field non-static.
4034         (currentTip): Made field non-static.
4035         (popup): Made field non-static.
4036         (toolTipText): New field. Stores the current tooltip text.
4037         (checkTipUpdate): New helper method. Checks for updates of
4038         the tooltip text and triggers the appropriate actions.
4039         (getContentPaneDeepestComponent): Removed unneeded casts.
4040         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4041         text from component.
4042         (mouseMoved): Check for tooltip text updates.
4043         (showTip): Set tooltip text from current setting.
4044
4045 2006-10-14  Roman Kennke  <kennke@aicas.com>
4046
4047         PR 27956
4048         * javax/swing/JSlider.java
4049         (setPaintLabels): Call setLabelTable() instead of setting
4050         the field directly. This also updates the label's size.
4051
4052 2006-10-13  Tom Tromey  <tromey@redhat.com>
4053
4054         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4055         method.
4056
4057 2006-10-13  Tania Bento  <tbento@redhat.com>
4058
4059         * java/awt/ScrollPane.java
4060         (setLayout): Should throw AWTError whenever called.
4061
4062 2006-10-13  Roman Kennke  <kennke@aicas.com>
4063
4064         PR 29448
4065         * java/awt/Component.java
4066         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4067         update the AWT's knowledge about a component's size.
4068         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4069         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4070         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4071         to update the AWT's knowledge about the component bounds.
4072
4073 2006-10-13  Tania Bento  <tbento@redhat.com>
4074
4075         * java/awt/ScrollPaneAdjustable.java
4076         (setMaximum): Should throw AWTError whenever called.
4077         (setMinimum): Same.
4078         (setVisibleAmount): Same.
4079
4080 2006-10-13  Tania Bento  <tbento@redhat.com>
4081
4082         * java/awt/ScrollPane.java
4083         (addImpl): When calling super, index should be value passed, 
4084         not -1.
4085         (getIsValidString): New helper method for paramString().
4086         (getScrollbarDisplayString): New helper method for paramString(). 
4087         (paramString): Changed format of outputted string.
4088
4089 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4090
4091         * javax/swing/tree/DefaultTreeSelectionModel.java
4092         (clone): Added cast to TreePath[].
4093
4094 2006-10-13  Roman Kennke  <kennke@aicas.com>
4095
4096         PR 27780
4097         * javax/swing/JMenuItem.java
4098         (isDragging): New field. Indicates if we are inside a mouse
4099         drag.
4100         (createMenuDragMouseEvent): Removed unneeded method.
4101         (processMenuDragMouseEvent): Track if we are dragging.
4102         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4103         * javax/swing/plaf/basic/BasicMenuItemUI.java
4104         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4105         MenuSelectionManager from event.
4106         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4107         MenuSelectionManager from event.
4108         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4109         MenuSelectionManager from event.
4110         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4111         release inside menu item, otherwise clear selection.
4112         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4113         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4114         (doClick): Perform an immediate click.
4115
4116 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4117
4118         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4119         return if object is not in the list.
4120
4121 2006-10-12  Andrew Haley  <aph@redhat.com>
4122
4123         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4124         * java/lang/ThreadLocal.java: Likewise.
4125
4126 2006-10-12  Roman Kennke  <kennke@aicas.com>
4127
4128         PR 27956
4129         * javax/swing/JSlider.java
4130         (LabelUIResource): New inner class. A JLabel as UIResource.
4131         (createStandardLabels): Don't set label bounds here.
4132         Create LabelUIResource instances.
4133         (setInverted): Repaint.
4134         (setLabelTable): Update the label UIs. Revalidate and repaint.
4135         (setMajorTickSpacing): Update the label table. Repaint if
4136         necessary.
4137         (setMinorTickSpacing): Repaint if necessary.
4138         (setOrientation): Revalidate.
4139         (setPaintLabels): Revalidate and repaint.
4140         (setPaintTicks): Revalidate and repaint.
4141         (setPaintTrack): Repaint.
4142         (updateLabelUIs): Set the label sizes here.
4143         (updateUI): Also update the label UIs.
4144         * javax/swing/plaf/basic/BasicSliderUI.java
4145         (ComponentHandler.componentResized): Don't revalidate.
4146         (FocusHandler.focusGained): Don't set field.
4147         (FocusHandler.focusLost): Don't set field.
4148         (PropertyChangeHandler.propertyChange): Calculate geometry
4149         and repaint for a couple more properties.
4150         (TrackListener.mouseReleased): Repaint.
4151         (hasFocus): Removed unneeded field.
4152         (calculateContentRect): No need to check for content size < 0.
4153         (calculateFocusRect): Use insets from insetCache.
4154         (calculateLabelRect): Fixed calculation of label rectangle.
4155         It is relative to the tick rectangle, rather than the content
4156         rectangle.
4157         (calculateTickRect): Small restructuring to avoid unnecessary
4158         comparisons.
4159         (calculateTrackRect): Fixed calculation of track rectangle.
4160         (getMaximumSize): Fixed. Fetch preferred size and set
4161         the height of width to Short.MAX_VALUE.
4162         (getMinimumHorizontalSize): Fixed to return UIManager value.
4163         (getMinimumVerticalSize): Fixed to return UIManager value.
4164         (getPreferredHorizontalSize): Fixed to return UIManager value.
4165         (getPreferredVerticalSize): Fixed to return UIManager value.
4166         (getMinimumSize): Fixed to return the UIManager value plus
4167         insets added.
4168         (getPreferredSize): Fixed to return the UIManager value plus
4169         insets added.
4170         (getWidthOfWidestLabel): Restructured for more cleanness and
4171         efficiency.
4172         (hitClip): New helper method.
4173         (paintHorizontalLabel): Replaced by more efficient and clean
4174         implementation.
4175         (paintVerticalLabel): Replaced by more efficient and clean
4176         implementation.
4177         (paintLabels): Replaced by more efficient and clean
4178         implementation.
4179         (paint): Check if rectangles intersect with clip for maximum
4180         efficiency.
4181         (recalculateIfInsetsChanged): Fixed. This method should
4182         recalculate only when the insets changed.
4183         (setThumbLocation): Repaint with a reasonable clip.
4184         (xPositionForValue): Made more clean and efficient.
4185         (yPositionForValue): Made more clean and efficient.
4186         * javax/swing/plaf/basic/BasicLookAndFeel.java
4187         (initComponenDefaults): Added Slider.horizontalSize,
4188         Slider.verticalSize, Slider.minimumHorizontalSize and
4189         Slider.minimumVerticalSize properties.
4190         * javax/swing/plaf/metal/MetalSliderUI.java
4191         (getTickLength): Add 1 for horizontal sliders and 3 for
4192         vertical sliders.
4193         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4194         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4195         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4196         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4197
4198 2006-10-12  Roman Kennke  <kennke@aicas.com>
4199
4200         PR 28696
4201         * javax/swing/text/FlowView.java
4202         (FlowStrategy.layout): Preserve logical views from getting lost.
4203         (FlowStrategy.layoutRow): Fix line breaking.
4204         (FlowStrategy.adjustRow): Fix line breaking.
4205         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4206         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4207         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4208         (createView): Don't check index.
4209         (contains): New helper method.
4210         (reparent): New helper method.
4211         (layoutDirty): Removed unneeded field.
4212         (FlowView): Removed layoutDirty field init.
4213         (changedUpdate): Removed layoutDirty handling.
4214         (insertUpdate): Removed layoutDirty handling.
4215         (removeUpdate): Removed layoutDirty handling.
4216         (layout): Use isLayoutValid() rather than the layoutDirty field.
4217         * javax/swing/text/GlyphView.java
4218         (startOffset): Removed.
4219         (endOffset): Removed.
4220         (offset): New field.
4221         (length): New field.
4222         (GlyphView): Initialize new fields. Removed old fields.
4223         (createFragment): Create fragment with new relative offsets.
4224         (getEndOffset): Work with new relative offsets.
4225         (getStartOffset): Work with new relative offsets.
4226         * javax/swing/text/ParagraphView.java
4227         (Row.getStartOffset): Overidden to determine the minimum start
4228         offset from the children.
4229         (Row.getEndOffset): Overidden to determine the maximum end
4230         offset from the children.
4231         * javax/swing/text/html/BRView.java
4232         Make subclass of InlineView.
4233         (getBreakWeight): Fall back to super for Y_AXIS.
4234
4235 2006-10-12  Roman Kennke  <kennke@aicas.com>
4236
4237         PR 28733
4238         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4239         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4240         one that avoids faulty state that could cause division by zero
4241         error.
4242
4243 2006-10-12  Roman Kennke  <kennke@aicas.com>
4244
4245         PR 28057
4246         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4247         (paint): Determine correct icon. Added support for HTML label.
4248         Added small optimizations.
4249         (getPreferredSize): Only consider the buttons iconTextGap, and
4250         only when the text is not null.
4251         * javax/swing/plaf/basic/BasicLookAndFeel.java
4252         (initComponentDefaults): Fetch border for RadioButton from
4253         BasicButtons.getRadioButtonBorder().
4254         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4255         (paintFocus): Paint focus rectangle one pixel smaller.
4256
4257 2006-10-12  Roman Kennke  <kennke@aicas.com>
4258
4259         PR 29418
4260         * javax/swing/tree/AbstractLayoutCache.java
4261         (getNodeDimensions): Don't throw InternalError, but instead
4262         return null.
4263         (getRowsForPaths): Check for null here.
4264         (isFixedRowHeight): Returns true when rowHeight > 0.
4265         (setSelectionModel): Set this as the row mapper for the selection
4266         model.
4267         * javax/swing/tree/VariableHeightLayoutCache.java
4268         (NodeRecord.NodeRecord): Initialize bounds field.
4269         (getBounds): Simply return the bounds field.
4270         (row2Node): Changed to be an ArrayList.
4271         (RECT_CACHE): New field. Caches a Rectangle instance.
4272         (countRows): Added y parameter and return value. The method
4273         now takes the current y position as parameter, and returns
4274         the updated y position.
4275         (getBounds): Fixed to return the correct bounds.
4276         (getPathForRow): Replaced by fixed implementation.
4277         (getPreferredHeight): Replaced by more efficient implementation.
4278         This simply fetches the last node record and returns its lower
4279         bounds.
4280         (getPreferredWidth): Added null check.
4281         (getVisibleChildCount): Added null check.
4282         (getVisiblePathsFrom): Added null check.
4283         (setExpandedState): Also expand the ancestors of the node
4284         to be expanded.
4285         (setModel): Set dirty flag rather than updating for real.
4286         (setNodeDimensions): Overridden to set the dirty flag.
4287         (setRowHeight): Overridden to set the dirty flag.
4288         (update): Don't special case the root here, this is done now
4289         in countRows().
4290
4291 2006-10-12  Roman Kennke  <kennke@aicas.com>
4292
4293         * javax/swing/JComponent.java
4294         (paintImmediately2): Added support for components which need
4295         to force themselves as paint root.
4296         (isPaintRoot): New method. This should be overridden by components
4297         which need to force themselves as paint root.
4298         * javax/swing/JViewport.java
4299         (isPaintRoot): Overridden to force the viewport as paint root
4300         when running in backingstore mode.
4301
4302 2006-10-12  Roman Kennke  <kennke@aicas.com>
4303
4304         * javax/swing/tree/DefaultTreeSelectionModel.java
4305         (PathPlaceHolder): New inner class. Wraps a path and its status
4306         wrt to its newness.
4307         (selectedPaths): New field. A supporting datastructure.
4308         (tmpPaths): New field. A supporting datastructure.
4309         (DefaultTreeSelectionModel): Initialize the list selection model,
4310         the leadIndex and the supporting datastructures.
4311         (addPropertyChangeListener): Create changeSupport object lazily.
4312         (addSelectionPaths): Mostly rewritten to handle the different
4313         selection modes correctly.
4314         (addSelectionPath): Delegate to addSelectionPaths().
4315         (arePathsContiguous): Replaced with more efficient implementation
4316         using BitSet
4317         (canPathBeAdded): Removed unneeded method.
4318         (canPathsBeAdded): Replaced with more efficient implementation.
4319         (clearSelection): Create correct event. Clear the fields correctly,
4320         including the supporting datastructures.
4321         (clone): Also clone the supporting datastructures and nullify
4322         changeSupport field.
4323         (getMaxSelectionRow): Delegate to list selection model.
4324         (getMinSelectionRow): Delegate to list selection model.
4325         (getPath): Removed unneeded method.
4326         (getPropertyChangeListeners): Handle null changeSupport field
4327         correctly.
4328         (getRow): Handle null rowMapper field correctly.
4329         (getSelectionRows): Handle invisible rows correctly.
4330         (insureRowContinuity): Replaced by more efficient and correct
4331         implementation.
4332         (isRowSelected): Delegate to list selection model.
4333         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4334         class.
4335         (removePropertyChangeListener): Handle null changeSupport field.
4336         (removeSelectionPaths): Mostly rewritten to handle the different
4337         selection modes correctly.
4338         (removeSelectionPath): Delegate to removeSelectionPaths().
4339         (resetRowSelection): Handle list selection model.
4340         (selectOne): Removed unneeded field.
4341         (setRowMapper): Reset the row selection.
4342         (setSelectionMode): Check for invalid mode and set to
4343         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4344         (setSelectionPaths): Mostly rewritten to handle the different
4345         selection modes correctly.
4346         (setSelectionPath): Delegate to setSelectionPaths().
4347         (updateLeadIndex): Made more efficient.
4348
4349 2006-10-11  Francis Kung  <fkung@redhat.com>
4350
4351         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4352         (buffer, locked): New fields.
4353         (constructors): Initialize new variables.
4354         (createBuffer): New method.
4355         (draw): Implement custom composites.
4356         (drawComposite): New method.
4357         (drawGlyphVector): Implement custom composites.
4358         (drawImage): Implement custom composites.
4359         (drawRenderedImage): Implement custom composites.
4360         (fill): Implement custom composites.
4361         (getBufferCM): New method.
4362         (getNativeCM): New method.
4363         (updateBufferedImage): Fix premultiplication.
4364         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4365         (copy): Copy composite.
4366         (drawImage): Set background properly.
4367         (getBufferCM): New method.
4368         (setComposite): Reset alpha composite when using custom composite.
4369         * gnu/java/awt/peer/gtk/CairoSurface.java
4370         (cairoColorModel): New field.
4371         (nativeColorModel): Renamed.
4372         (constructor): Use renamed createCairoSampleModel method.
4373         (createCairoSampleModel): New method.
4374         (createNativeSampleModel): Renamed.
4375         (getBufferedImage): Use renamed cairoColorModel field.
4376         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4377         (gdkColorModel): New field.
4378         (createGdkSampleModel): New method.
4379         (getPixels): Added comments.
4380         (getSnapshot): Use GDK colour and sample models.
4381         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4382         (createBuffer): Use GDK colour and sample models.
4383         (getNativeCM): Added comments.
4384         * java/awt/image/BufferedImage.java
4385         (constructor): Set premultiplied flag properly.
4386         
4387 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4388
4389         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4390         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4391
4392 2006-10-10  Francis Kung  <fkung@redhat.com>
4393
4394         PR 29372
4395         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4396         (createPath): Added isDraw parameter.
4397         (draw): Updated createPath call.
4398         (fill): Updated createPath call.
4399
4400 2006-10-10  Tom Tromey  <tromey@redhat.com>
4401
4402         PR classpath/29362:
4403         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4404         there is a stylesheet.
4405
4406 2006-10-10  Roman Kennke  <kennke@aicas.com>
4407
4408         * java/awt/Toolkit.java
4409         (getDefaultTookit): Make method synchronized to avoid
4410         accidentally creating more than one toolkits from different
4411         threads.
4412
4413 2006-10-10  Roman Kennke  <kennke@aicas.com>
4414
4415         * java/awt/LightweightDispatcher.java
4416         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4417         (redispatch): Transfer the button to the redispatched event.
4418
4419 2006-10-10  Francis Kung  <fkung@redhat.com>
4420
4421         * java/awt/image/ColorModel.java (coerceData): Implemented.
4422
4423 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4424
4425         * vm/reference/java/lang/VMClassLoader.java:
4426         (defineClassWithTransformers): Use proper class name format.
4427
4428 2006-10-09  Gary Benson  <gbenson@redhat.com>
4429
4430         * java/net/ServerSocket.java
4431         (implAccept): Add security check.
4432         (accept): Close socket if security check fails.
4433         (setSocketFactory): Add security check and already-set check.
4434
4435 2006-10-09  Roman Kennke  <kennke@aicas.com>
4436
4437         PR 29325
4438         * javax/swing/JSplitPane.java
4439         (dividerLocation): New field. Stores the divider location.
4440         (JSplitPane): Initialize dividerLocation with -1.
4441         (addImpl): Removed unneeded local variables.
4442         (getDividerLocation): Manage dividerLocation in the JSplitPane
4443         class, not in the UI.
4444         (setDividerLocation): Manage dividerLocation in the JSplitPane
4445         class, not in the UI. Only call the UI method for notification.
4446         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4447         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4448         location from the JSplitPane. Honour the minimumSize, but only
4449         if the divider location hasn't been set explicitly.
4450         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4451         statement.
4452         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4453         statement.
4454         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4455         the divider location.
4456         (dividerLocationSet): New field.
4457         (dividerLocation): Removed field.
4458         (createActionMap): Fetch and set divider location on the JSplitPane.
4459         (getDividerLocation): Return the actual real divider location.
4460         (getMaximumSize): Removed unneeded cast.
4461         (getPreferredSize): Removed unneeded cast.
4462         (getMinimumSize): Removed unneeded cast.
4463         (installUI): Initialize dividerLocationSet with false.
4464         (uninstallUI): Initialize dividerLocationSet with false.
4465         (setDividerLocation): Set dividerLocationSet to true.
4466
4467 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4468
4469         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4470         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4471         convert jstring into char *.
4472         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4473         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4474         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4475         (getif_address): Added const modifier to second argument.
4476         (getif_index): Dito.
4477
4478 2006-10-09  Roman Kennke  <kennke@aicas.com>
4479
4480         * javax/swing/JTree.java
4481         (isSelected): Added API docs.
4482
4483 2006-10-09  Roman Kennke  <kennke@aicas.com>
4484
4485         * javax/swing/JTree.java
4486         (isSelected): Delegate to the selection model directly.
4487
4488 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4489
4490         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4491         sizeof_struct_kevent to _sizeof_struct_kevent.
4492
4493 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4494
4495         * tools/gnu/classpath/tools/rmic/RMICException.java:
4496         javadoc corrections, reformatted.
4497
4498 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4499
4500         * gnu/java/lang/InstrumentationImpl.java:
4501         Made constructor package visible.
4502
4503 2006-10-05  Gary Benson  <gbenson@redhat.com>
4504
4505         * java/net/Socket.java
4506         (Socket): Perform security check on address not hostname.
4507
4508 2006-10-04  Roman Kennke  <kennke@aicas.com>
4509
4510         * javax/swing/tree/VariableHeightLayoutCache.java
4511         (getBounds): When rect is null, create a new Rectangle.
4512
4513 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4514
4515         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4516         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4517         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4518         (cpnio_select): Use CPNIO_EXPORT.
4519         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4520         inline instead of extern inline, as newer GCCs changed their
4521         behavior.
4522
4523 2006-10-04  Gary Benson  <gbenson@redhat.com>
4524
4525         * java/net/InetAddress.java: Updated javadoc.
4526         (<clinit>, getByLiteral): Throw InternalError on failures.
4527
4528 2006-10-03  Francis Kung  <fkung@redhat.com>
4529
4530         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4531         (compCtx): New field for composite context.
4532         (copy): Copy composite.
4533         (dispose): Dispose of composite context.
4534         (getNativeCM): New method.
4535         (setComposite): Discard old composite context and set up new context.
4536         (setRenderingHints): Update composite context.
4537         * gnu/java/awt/peer/gtk/CairoSurface.java
4538         (nativeColorModel): New field, renamed from nativeModel.
4539         (nativeModel): Renamed field to nativeColorModel.
4540         (CairoSurface(int, int)): Call new method to create sample model.
4541         (createNativeSampleModel): New method.
4542         (getBufferedImage): Updated variable name.
4543         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4544         (buffer): New field.
4545         (createBuffer): New method.
4546         (draw): New method.
4547         (drawComposite): New method.
4548         (drawGlyphVector): New method.
4549         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4550         (drawImage(Image, int, int, ImageObserver)): Check composite.
4551         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4552         (fill): New method.
4553         (getNativeCM): New method.
4554         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4555         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4556         intermediary pixbuf to grab on-screen pixels.
4557
4558 2006-10-03  Tom Tromey  <tromey@redhat.com>
4559
4560         PR classpath/28987:
4561         * java/util/IdentityHashMap.java (tombstone): Removed.
4562         (emptyslot): Removed.
4563         (nullslot): New field.
4564         (IdentityHashMap): Don't fill array.
4565         (clear): Fill with null.
4566         (hash): Now final.  Use linear probing.
4567         (xform): New method.
4568         (unxform): Likewise.
4569         (removeAtIndex): Likewise.
4570         (clone, containsKey, containsValue, entrySet, get, hashCode,
4571         keySet, put, remove, values): Updated.
4572         (IdentityIterator, IdentityEntry): Likewise.
4573         (writeObject): Likewise.
4574
4575 2006-10-03  Tom Tromey  <tromey@redhat.com>
4576
4577         * java/util/Locale.java (hashcode): Updated javadoc.
4578         (hashcodeCache): Removed.
4579         (Locale): Updated.
4580         (hashCode): Updated.
4581         (writeObject): New method.
4582         (readObject): Updated.
4583
4584 2006-10-02  Francis Kung  <fkung@redhat.com>
4585
4586         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4587         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4588         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4589         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4590         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4591         pre-multiply data before drawing.
4592         (fillRect): Draw using regular fill() method.
4593         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4594         * gnu/java/awt/peer/gtk/CairoSurface.java
4595         (nativeModel): Use correct value for alpha premultiplication (true).
4596         * java/awt/image/BufferedImage.java
4597         (coerceData): Update isPremultiplied field.
4598
4599 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4600
4601         * gnu/classpath/ListenerData.java:
4602         New class for holding listener data.
4603         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4604         ListenerData class moved to its own file.
4605         * javax/management/MBeanServerDelegate.java,
4606         * javax/management/MBeanServerDelegateMBean.java,
4607         * javax/management/MBeanServerNotification.java:
4608         Implemented.
4609
4610 2006-10-02  Tania Bento  <tbento@redhat.com>
4611
4612         * java/ast/Rectangle.java:
4613         (Rectangle(Rectangle)): Do not throw NPE.
4614         (Rectangle(Point, Dimension)): Same.
4615         (Rectangle(Point)): Same.
4616         (Rectangle(Dimension)): Same.
4617
4618 2006-09-29  Casey Marshall  <csm@gnu.org>
4619
4620         PR 29190
4621         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4622         `AbstractSelectionKey.'
4623         (cancel, isValid): removed.
4624         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4625         (events): new field.
4626         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4627         fields.
4628         (<clinit>): initialize those constants.
4629         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4630         (doSelect): deregister cancelled keys; remove keys attached to
4631         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4632         `events' buffer; reallocate `events' buffer if needed.
4633         (register): reallocate `events' buffer if needed.
4634         (reallocateBuffer): new method.
4635         (cancel): removed.
4636
4637 2006-09-29  Roman Kennke  <kennke@aicas.com>
4638
4639         PR 28929
4640         * javax/swing/JViewport.java
4641         (cinit): Renamed system property to gnu.swing.scrollmode
4642         to avoid bloat. Default to BACKINGSTORE, this is much
4643         more reliable.
4644         (repaint): Forward repaint() to parent as is specified.
4645
4646 2006-09-29  Tania Bento  <tbento@redhat.com>
4647
4648         * javax/swing/plaf/basic/BasicTableUI.java
4649         (getPreferredSize): The number of iterations for the for-loop should be
4650         the number of columns in the table's column model, not the number of
4651         columns of the table.
4652         * javax/swing/JTable.java
4653         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4654         lines that are not needed.
4655         (initializeLocalVars): dragEnabled should be set to false, not true.
4656         (getCellRenderer): Added a check to prevent an
4657         ArrayIndexOutOfBoundsException.
4658         (doLayout): The number of iterations for the for-loops should be the
4659         number of columns in the table's column model, not the number of columns
4660         of the table.
4661
4662 2006-09-29  Roman Kennke  <kennke@aicas.com>
4663
4664         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4665         API docs.
4666         (isOptimized): Initialize with true.
4667         (paintRaster): Removed unneeded field.
4668         (shapeCache): New static field. Caches certain shapes for reuse.
4669         (computeIntersection): Removed unneeded casts.
4670         (drawArc): Use shape cache.
4671         (drawImage): Removed unneeded statement.
4672         (drawLine): Use shape cache. Pass untranslated coordinates
4673         to rawDrawLine().
4674         (drawOval): Use shape cache.
4675         (drawPolygon): Use shape cache.
4676         (drawRect): Overridden to provide accelerated rectangle drawing
4677         if possible and to use the shape cache.
4678         (drawRoundRect): Use shape cache.
4679         (fillArc): Use shape cache.
4680         (fillOval): Use shape cache.
4681         (fillPolygon): Use shape cache.
4682         (fillRect): Pass untranslated coordinates to rawFillRect().
4683         Use shape cache.
4684         (fillRoundRect): Use shape cache.
4685         (fillScanlineAA): Removed unneeded statement.
4686         (fillScanline): Updated API docs.
4687         (fillShapeAntialias): Removed unnecessary cast.
4688         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4689         (fillShape): Updated API docs.
4690         (getShapeCache): New helper method.
4691         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4692         certain shapes for reuse in AbstractGraphics2D.
4693
4694 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4695
4696         * javax/management/BadBinaryOpValueExpException.java:
4697         (getExp()): Implemented.
4698         * javax/management/MBeanConnection.java:
4699         Renamed to MBeanServerConnection.
4700         * javax/management/MBeanServer.java:
4701         (setAttribute(Attribute)): Fixed...
4702         (setAttribute(ObjectName,Attribute)): to this.
4703         * javax/management/MBeanServerConnection.java:
4704         Renamed from MBeanConnection.
4705         * javax/management/QueryExp.java:
4706         Extend Serializable.
4707         * javax/management/ValueExp.java:
4708         Likewise.
4709         * javax/management/loading/ClassLoaderRepository.java:
4710         (loadClass(String)): Throw ClassNotFoundException.
4711         (loadClassBefore(ClassLoader,String)): Likewise.
4712         (loadClassWithout(String, ClassLoader): Fixed...
4713         (loadClassWithout(ClassLoader,String)): to this.
4714         
4715 2006-09-28  Roman Kennke  <kennke@aicas.com>
4716
4717         * javax/swing/tree/DefaultTreeCellRenderer.java
4718         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4719         property from UIManager.
4720         (paint): Rewritten to use super's implementation and only paint
4721         background and focus indicator before.
4722         (paintFocus): New helper method.
4723         (getXOffset): New helper method.
4724
4725 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4726         
4727         * javax/management/BadBinaryOpValueExpException.java,
4728         * javax/management/MBeanConnection.java,
4729         * javax/management/MBeanServer.java,
4730         * javax/management/ObjectInstance.java:
4731         Implemented.
4732         * javax/management/ObjectName.java:
4733         (setMBeanServer(MBeanServer)): Implemented.
4734         * javax/management/QueryExp.java,
4735         * javax/management/ValueExp.java,
4736         * javax/management/loading/ClassLoaderRepository.java:
4737         Implemented.
4738
4739 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4740
4741         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4742
4743 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4744
4745         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4746         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4747         * gnu/java/nio/EpollSelectorImpl.java:
4748         (doSelect): Use Integer.valueOf() instead of constructor call.
4749         (register): Use Integer.valueOf() instead of constructor call.
4750
4751 2006-09-27  Roman Kennke  <kennke@aicas.com>
4752
4753         * java/awt/Container.java
4754         (addContainerListener): Activate newEventsOnly for the component.
4755         Ignore null listeners.
4756
4757 2006-09-27  Roman Kennke  <kennke@aicas.com>
4758
4759         * java/awt/EventQueue.java
4760         (Queue): New inner class. Implements the actual queue.
4761         (LOW_PRIORITY): New constant field.
4762         (NORM_PRIORITY): New constant field.
4763         (queueHead): Removed. Moved into Queue.
4764         (queueTail): Removed. Moved into Queue.
4765         (queues): New field.
4766         (EventQueue): Initialize two internal queues, one for
4767         normal events, one for low priority events.
4768         (getNextEventImpl): New helper method, fetches the next event.
4769         (getNextEvent): Use getNextEventImpl() for fetching the event.
4770         (peekEvent): Use getNextEventImpl() for fetching the event.
4771         (peekEvent(int)): Search for event in all queues.
4772         (postEventImpl(AWTEvent)): Moved actual posting into
4773         postEventImpl(AWTEvent,int). Prioritize events here.
4774         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4775         event into correct queue. Re-enable event coalescing.
4776         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4777         * javax/swing/RepaintManager.java
4778         (RepaintWorkerEvent): New internal class. This is a low priority
4779         event for the repaint worker.
4780         (addDirtyRegion): Use new internal invokeLater() for sending
4781         a low priority event.
4782         (addInvalidComponent): Use new internal invokeLater() for sending
4783         a low priority event.
4784         (commitBuffer): Added some null checks.
4785         (invokeLater): New helper method. Sends a low priority
4786         repaint worker event on the event queue.
4787
4788 2006-09-27  Roman Kennke  <kennke@aicas.com>
4789
4790         PR 29036
4791         PR 29161
4792         * javax/swing/plaf/basic/BasicButtonUI.java
4793         (cachedInsets): New field.
4794         (installListeners): Fire synthetic property change to initialize
4795         TEXT_LAYOUT_CACHE for the button because the font has been
4796         installed before.
4797         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4798         (paint): Use cached insets.
4799         (paintText): Let new method forward to old one, not vice versa.
4800         * javax/swing/plaf/basic/BasicMenuItemUI.java
4801         (defaultAcceleratorLabelGap): Removed unused field.
4802         (MenuGap): Removed unused field.
4803         (propertyChangeListener): Made private.
4804         (getAcceleratorRect): Removed unused method.
4805         (getAcceleratorText): Removed unused method.
4806         (getPath): Removed unnecessary cast.
4807         (installListeners): Fire synthetic property change to initialize
4808         TEXT_LAYOUT_CACHE for the button because the font has been
4809         installed before.
4810         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4811         (layoutMenuItem): Removed unused statements.
4812         
4813 2006-09-27  Roman Kennke  <kennke@aicas.com>
4814
4815         PR 29218
4816         * javax/swing/tree/DefaultTreeModel.java
4817         (isLeaf): Check if the node allows children when
4818         asksAllowsChildren is true, otherwise fall back
4819         to return the node's leaf property.
4820
4821 2006-09-27  Mario Torre  <neugens@limasoftware.net>
4822
4823         * scripts/check_jni_methods.sh: removed methods from the
4824         ignore list:
4825         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
4826         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
4827         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
4828         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4829         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4830         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
4831         to better follow the GNU style.
4832         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
4833         regenerated header file for GConfNativePeer.
4834
4835 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4836
4837         * INSTALL: Added information about grmic being built when ASM
4838         is available, added information about gconf dependency, indented
4839         Qt4 dependency section.
4840         * configure.ac: Added information about grmic being built when ASM
4841         is available.
4842
4843 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
4844
4845         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
4846         DeleteGlobalRef on a local ref.
4847
4848 2006-09-24  Mario Torre  <neugens@limasoftware.net>
4849
4850         * scripts/check_jni_methods.sh: added two new methods in the
4851         ignore list:
4852         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
4853         and
4854         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
4855         * native/jni/gconf-peer/GConfNativePeer.c:
4856         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
4857         refacored method name, renamed from
4858         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
4859         Added code to unescape escaped GConf key names.
4860         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
4861         refacored method name, renamed from
4862         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
4863         Added code to unescape escaped GConf key names.
4864         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
4865         new function.
4866         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
4867         new function.
4868         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
4869         version javadoc tag.
4870         (escapeString): new method.
4871         (unescapeString): likewise.
4872         (gconf_escape_key): new native method.
4873         (gconf_unescape_key): likewise.
4874         (gconf_client_suggest_sync): update native method signature, now
4875         explicity throws BackingStoreException.
4876         (gconf_client_all_nodes): update native method signature, now
4877         explicity throws BackingStoreException. Refactored method name,
4878         renamed from gconf_client_gconf_client_all_nodes.
4879         (gconf_client_all_keys): update native method signature, now
4880         explicity throws BackingStoreException. Refactored method name,
4881         renamed from gconf_client_gconf_client_all_keys.
4882         (getKeys): refactored to use the new method name
4883         gconf_client_all_keys.
4884         (getChildrenNodes): refactored to use the new method name
4885         gconf_client_all_nodes.
4886         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
4887         version javadoc tag.
4888         (GConfBasedPreferences): Added code to escape node names from
4889         invalid characters so that GConf now accept invalid node names.
4890         (GConfBasedPreferences): Moved code to register the current
4891         node to the list of nodes watched by GConf outside the constructor.
4892         (childSpi): Added code to register the current node to the
4893         list of nodes watched by GConf.
4894         (getGConfKey): Added code to escape key names from
4895         invalid characters so that GConf now accept invalid key names.
4896
4897 2006-09-26  Tom Tromey  <tromey@redhat.com>
4898
4899         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
4900         call mkdirs in output-directory case.
4901         (getPrintStream): Create output directory.
4902         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
4903         Don't call mkdirs.
4904
4905 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
4906
4907         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
4908         Accept three additional arguments.
4909         (writePreambleImpl): New method.
4910         (getPrintStreamImpl): Likewise.
4911         (printClass): Adapted to use new methods in Printer superclass.
4912         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
4913         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
4914         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
4915         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
4916         (force): Likewise.
4917         (getParser): Add support for -o option.
4918         Check that only one of -d or -o is defined.
4919         Add support for -jni option.
4920         Add support for -force option.
4921         (makeOutputFile): New method.
4922         (writeHeaders): Removed File argument from signature.
4923         (run): Take into account newly added fields.
4924         Invoke concrete PrintStream implementations with augmented constructors.
4925         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
4926         (isDirectory): Likewise.
4927         (force): Likewise.
4928         (wrotePreamble): Likewise.
4929         (Printer): Changed ctor to accept three additional arguments.
4930         (printClass): Changed signature to accept one ClassWrapper argument.
4931         (writePreambleImpl): New abstract method.
4932         (getPrintStreamImpl): Likewise.
4933         (getPrintStream): New method.
4934         (writePreamble): Likewise.
4935
4936 2006-09-26  Tania Bento  <tbento@redhat.com>
4937
4938         * java/awt/GridLayout.java
4939         (toString): There is no common before hgap.
4940         * java/awt/Rectangle.java
4941         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
4942         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
4943         Rectangle is null.
4944         (Rectangle(Point)): Throw NPE if Point is null.
4945         (Rectangle(Dimension)): Throw NPE if Dimension is null.
4946
4947 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4948
4949         * javax/swing/plaf/metal/MetalIconFactory.java
4950         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
4951         returned by getShift(),
4952         (FileIcon16.getShift): Updated API docs,
4953         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
4954         returned by getShift(),
4955         (FolderIcon16.getShift): Updated API docs,
4956         (TreeFolderIcon.getShift): Likewise,
4957         (TreeLeafIcon.getShift): Likewise.
4958
4959 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
4960
4961         * javax/swing/plaf/metal/MetalIconFactory.java
4962         (FileIcon16.paintIcon): Fetch colors from look and feel,
4963         (FolderIcon16.paintIcon): Likewise.
4964
4965 2006-09-25  Casey Marshall  <csm@gnu.org>
4966
4967         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
4968         `readScattering.'
4969         (write): revert back to using `writeGathering.'
4970         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
4971         the first buffer that has data remaining, and start at that one.
4972
4973 2006-09-25  Tom Tromey  <tromey@redhat.com>
4974
4975         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
4976         variable.
4977
4978 2006-09-25  Tom Tromey  <tromey@redhat.com>
4979
4980         * tools/.cvsignore: Updated.
4981
4982 2006-09-25  Tom Tromey  <tromey@redhat.com>
4983
4984         PR libgcj/29178:
4985         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
4986         (Encoder.canEncode): Likewise.
4987         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
4988         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
4989         method.
4990         (Encoder.canEncode): Likewise.
4991         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
4992         method.
4993         (Encoder.canEncode): Likewise.
4994
4995 2006-09-25  Tom Tromey  <tromey@redhat.com>
4996
4997         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
4998         (Balloc): Updated.
4999
5000 2006-09-25  Francis Kung  <fkung@redhat.com>
5001
5002         * java/awt/image/ColorModel.java
5003         (coerceData): Made abstract.
5004         (coerceDataWorker): New protected method.
5005         * java/awt/image/ComponentColorModel.java
5006         (coerceData): Return new instance of proper ColorModel.
5007         * java/awt/image/DirectColorModel.java
5008         (coerceData): Return new instance of proper ColorModel.
5009         * java/awt/image/IndexColorModel.java
5010         (coerceData): New method.
5011
5012 2006-09-24  Casey Marshall  <csm@gnu.org>
5013
5014         * gnu/java/nio/FileChannelImpl.java
5015         (read): call `read' in a loop, don't use `readScattering.'
5016         (write): call `write' in a loop, don't use `writeGathering.'
5017
5018 2006-09-24  Mark Wielaard  <mark@klomp.org>
5019
5020         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5021
5022 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5023
5024         * java/nio/channels/spi/AbstractSelectableChannel.java
5025         (register): Set interestOps and attachment when the key already
5026         exists.
5027
5028 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5029
5030         * java/net/ServerSocket.java
5031         (bind(SocketAddress,int)): Added support for null address.
5032         Throw proper exception if already bound.
5033         Handle unresolved addresses correctly. Ignore exceptions that
5034         happen during close in error path (to prevent losing the original
5035         exception.)
5036
5037 2006-09-24  Mark Wielaard  <mark@klomp.org>
5038
5039         Suggested by Aaron M. Ucko <ucko@debian.org>
5040         Fixes bug #29203
5041         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5042
5043 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5044
5045         * java/nio/channels/spi/AbstractSelectableChannel.java
5046         (implCloseChannel): Cancel all keys after closing the channel.
5047
5048 2006-09-22  Casey Marshall  <csm@gnu.org>
5049
5050         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5051         after we delete them.
5052         (selectedKeys): return an empty set if nothing's been selected.
5053         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5054         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5055         throw an exception on EBADF.
5056         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5057         throw exception on EINTR, just return 0.
5058         
5059 2006-09-22  Casey Marshall  <csm@gnu.org>
5060
5061         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5062         remove `const' from `filename.'
5063         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5064         `filename.'
5065         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5066
5067 2006-09-22  Casey Marshall  <csm@gnu.org>
5068
5069         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5070         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5071         allocate `filename,' and handle changes to `cpio_readDir.'
5072         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5073         available; copy the filename into the destination buffer; return
5074         an error code if readdir returns NULL, but errno is 0.
5075         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5076         parameter to `const char *.'
5077
5078 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5079
5080         * javax/management/ObjectName.java:
5081         Implemented.
5082         
5083 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5084
5085         * resource/gnu/classpath/tools/orbd: New directory.
5086         * resource/gnu/classpath/tools/rmic: Likewise.
5087         * resource/gnu/classpath/tools/rmid: Likewise.
5088         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5089         * resource/gnu/classpath/tools/tnameserv: Likewise.
5090         * tools/gnu/classpath/tools/giop: Move contents to...
5091         * tools/gnu/classpath/tools/orbd,
5092         tools/gnu/classpath/tools/tnameserv: New directories.
5093         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5094         * tools/gnu/classpath/tools/rmic: New directory.
5095         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5096         * tools/gnu/classpath/tools/rmid: New directory.
5097         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5098         * tools/gnu/classpath/tools/rmiregistry: New directory.
5099         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5100         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5101         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5102         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5103         Likewise.
5104         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5105         Likewise.
5106         * tools/gnu/classpath/tools/orbd/Main.java,
5107         tools/gnu/classpath/tools/orbd/Messages.java,
5108         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5109         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5110         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5111         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5112         tools/gnu/classpath/tools/rmic/CompilationError.java,
5113         tools/gnu/classpath/tools/rmic/Generator.java,
5114         tools/gnu/classpath/tools/rmic/GiopIo.java,
5115         tools/gnu/classpath/tools/rmic/HashFinder.java,
5116         tools/gnu/classpath/tools/rmic/Main.java,
5117         tools/gnu/classpath/tools/rmic/Messages.java,
5118         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5119         tools/gnu/classpath/tools/rmic/RMICException.java,
5120         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5121         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5122         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5123         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5124         tools/gnu/classpath/tools/rmic/Variables.java,
5125         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5126         tools/gnu/classpath/tools/rmic/templates,
5127         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5128         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5129         tools/gnu/classpath/tools/rmid/Main.java,
5130         tools/gnu/classpath/tools/rmid/Messages.java,
5131         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5132         tools/gnu/classpath/tools/rmiregistry/Main.java,
5133         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5134         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5135         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5136         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5137         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5138         tools/gnu/classpath/tools/tnameserv/Main.java,
5139         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5140         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5141         RMIC.java from cp-tools.
5142         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5143         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5144         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5145         and grmic.
5146         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5147         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5148         Rename...
5149         (start): New method.
5150         * tools/Makefile.am: Add build support for new tool wrappers.
5151         * tools/gorbd.in: New file.
5152         * tools/grmic.in: Likewise.
5153         * tools/grmid.in: Likewise.
5154         * tools/grmiregistry.in: Likewise.
5155         * tools/gtnameserv.in: Likewise.
5156         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5157         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5158         file.
5159         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5160         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5161         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5162
5163 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5164
5165         Fixes bug #29047
5166         * gnu/java/util/regex/RETokenRepeated.java
5167         (findMatch): Rewriten without using recursive calls,
5168         (FindMatchControlStack): New class,
5169         (FindMatchControl): New class,
5170         (TryAnotherResult): New class,
5171         (tryAnother): New method.
5172
5173 2006-09-22  Gary Benson  <gbenson@redhat.com>
5174
5175         * java/net/SocketPermission.java
5176         (processHostport): Cope with IPv6 addresses with a
5177         one-digit first component.
5178
5179 2006-09-22  Roman Kennke  <kennke@aicas.com>
5180
5181         * java/awt/Component.java
5182         (enableEvents): Set newEventsOnly flag.
5183         * java/awt/Container.java
5184         (dispatchEventImpl): Consume event if lightweight dispatcher
5185         dispatched the event. Don't call processEvent() here, this
5186         is already done in Component.dispatchEventImpl(). For
5187         heavyweights or when the lightweight dispatcher could
5188         not dispatch, fall back to calling super.
5189         (dispatchNoLightweight): New helper method to avoid
5190         recursivly calling the lightweight dispatcher.
5191         * java/awt/LightweightDispatcher.java
5192         (dragButton): Removed field.
5193         (dragTarget): Removed field.
5194         (mouseEventTarget): New field.
5195         (convertPointToChild): Removed method.
5196         (dispatchEvent): Don't depend on component beeing
5197         a window.
5198         (findTarget): Improved algorithm for finding a target.
5199         Before we went down to the deepest component and went
5200         up again to find a suitable target. Now we go
5201         down only once, without going up.
5202         (handleMouseEvent): Broke method down into some smaller
5203         helper methods.
5204         (isDragging): New helper method.
5205         (isMouseListening): New helper method.
5206         (redispatch): New helper method.
5207         (trackEnterExit): New helper method.
5208
5209 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5210
5211         * javax/swing/SizeSequence.java
5212         (getSize): Return 0 if index is out of bounds.
5213
5214 2006-09-21  Tom Tromey  <tromey@redhat.com>
5215
5216         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5217         (PathOptionGroup): Make -I a joined option.
5218         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5219         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5220         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5221         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5222         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5223         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5224         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5225         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5226         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5227         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5228         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5229         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5230         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5231         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5232         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5233         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5234         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5235         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5236         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5237         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5238         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5239         unused entries.
5240         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5241         * tools/gnu/classpath/tools/common/Messages.java: New file.
5242         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5243         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5244         from getopt.
5245         (ClasspathToolParser): Add -J option here.
5246         (ClasspathToolParser): Call other constructor in this class.
5247         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5248         Handle joined options.
5249         (handleShortOptions): Likewise.
5250         (handleShortOption): Removed.
5251         (finalGroup): New field.
5252         (Parser): Initialize new field.  Don't add -J option.
5253         (addFinal): New method.
5254         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5255         isJoined.
5256         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5257         (Option): Check short option for validity.
5258         (Option): New constructors.
5259         (joined): New field.
5260
5261 2006-09-21  csm  <csm@pollux.local>
5262
5263         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5264         `InterruptedIOException;' try again if it gets thrown.
5265         (receive): likewise, but re-throw `SocketTimeoutException.'
5266         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5267         if we have nothing to select.
5268
5269 2006-09-21  Francis Kung  <fkung@redhat.com>
5270
5271         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5272         (getLogicalBounds): Respect glyph transformations.
5273         (getGlyphOutline): Added null pointer check.
5274         (getGlyphTransform): Do not generate identity transform (API permits null).
5275         (setGlyphPosition): Do not invalidate transform.
5276         (setGlyphTransform): Do not modify glyph position.
5277
5278 2006-09-21  Francis Kung  <fkung@redhat.com>
5279
5280         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5281
5282 2006-09-21  Francis Kung  <fkung@redhat.com>
5283
5284         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5285         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5286         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5287
5288 2006-09-21  Tania Bento  <tbento@redhat.com>
5289
5290         * javax/swing/JTabbedPane.java:
5291         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5292         (setModel): A ChangeListener should be created only if there does not 
5293         currently exist one.
5294
5295 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5296
5297         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5298         (MaximizeAction.actionPerformed): Change icon on maxButton.
5299
5300 2006-09-21  Roman Kennke  <kennke@aicas.com>
5301
5302         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5303         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5304         Use more efficient getViewPosition() and getViewSize() methods
5305         to avoid creating a rectangle.
5306         (HSBChangeListener.stateChanged): Update the view position
5307         unconditionally. Let the Viewport figure out if something
5308         changed.
5309         (VSBChangeListener.stateChanged): Update the view position
5310         unconditionally. Let the Viewport figure out if something
5311         changed.
5312         * javax/swing/JViewport.java
5313         (ViewListener.componentResized): Fire state change, because
5314         the extentSize changes.
5315         (extentSize): Removed unneeded field.
5316         (viewSize): Removed unneeded field.
5317         (getExtentSize): Return the viewport's size here.
5318         (getViewRect): Reformatted.
5319         (getViewSize): Reordered for only one return statement.
5320         (paintImmediately2): Fixed up javadoc.
5321         (paint): Removed unneeded statement.
5322         (setExtentSize): Set viewport size and check for actual change
5323         of value.
5324         (setViewPosition): Simplified condition. Set scrollUnderway
5325         true and don't set isViewSizeSet. Avoid creating one Point
5326         object.
5327         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5328         to false.
5329         * javax/swing/JScrollBar.java
5330         (ScrollBarListener): New class. Forwards change events from
5331         the model as adjustment events.
5332         (sbChangeListener): New field.
5333         (JScrollBar): Install listener on new model.
5334         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5335         method.
5336         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5337         method to allow custom isAdjusting value.
5338         (setMaximum): Only forward to model.
5339         (setMinimum): Only forward to model.
5340         (setValue): Only forward to model.
5341         (setVisibleAmount): Only forward to model.
5342         (setValues): Only forward to model.
5343         (setModel): Update the change listener.
5344
5345 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5346
5347         * java/util/Formatter.java (basicIntegralConversion): Removed 
5348         check for ZERO && !LEFT_JUSTIFY.
5349                 
5350 2006-09-20  Roman Kennke  <kennke@aicas.com>
5351
5352         PR 29036
5353         * javax/swing/plaf/metal/DefaultMetalTheme.java
5354         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5355         (BOLD_CONTROL_TEXT_FONT): New constant field.
5356         (PLAIN_MENU_TEXT_FONT): New constant field.
5357         (BOLD_MENU_TEXT_FONT): New constant field.
5358         (controlTextFont): Removed.
5359         (menuTextFont): Removed.
5360         (CONTROL_TEXT_FONT): New constant field.
5361         (MENU_TEXT_FONT): New constant field.
5362         (getControlTextFont): Use getFont() helper method for fetching
5363         the correct font.
5364         (getMenuTextFont): Use getFont() helper method for fetching
5365         the correct font.
5366         (getFont): New helper method.
5367         (isBoldMetal): New helper method.
5368
5369 2006-09-20  Casey Marshall  <csm@gnu.org>
5370
5371         * NEWS: mention epoll selector along with the kqueue one.
5372
5373 2006-09-20  Casey Marshall  <csm@gnu.org>
5374
5375         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5376         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5377
5378 2006-09-20  Francis Kung  <fkung@redhat.com>
5379
5380         PR 29011
5381         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5382         (getGlyphTransform): Use translation instead of scale.
5383         (performDefaultLayout): Increment position values instead of resetting, and
5384         pre-increment instead of post-increment.
5385         (setGlyphTransform): Handle null case with identity transform.
5386
5387 2006-09-20  Casey Marshall  <csm@gnu.org>
5388
5389         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5390         (AC_CHECK_FUNCS): check for `epoll_create.'
5391         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5392         * gnu/java/nio/EpollSelectorImpl.java: new file.
5393         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5394         field.
5395         (openSelector): return epoll selector if requested and available.
5396         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5397         (gnu_java_nio_EpollSelectorImpl.h): new target.
5398         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5399         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5400         gnu_java_nio_EpollSelectorImpl.c.
5401         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5402
5403 2006-09-20  Casey Marshall  <csm@gnu.org>
5404
5405         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5406         call `isConnected.'
5407         (isConnected): return false if `connectionPending' is true.
5408
5409 2006-09-20  Francis Kung  <fkung@redhat.com>
5410
5411         PR 29011
5412         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5413         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5414         (getGlyphOutline): Call getGylphTransform to generate transform.
5415         (getGylphPosition): Read position directly out of array.
5416         (getGlyphPositions): Read positions directly out of array.
5417         (getGlyphTransform): Generate transform based on gylphPositions array.
5418         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5419         (setGlyphPosition): Set position directly into array.
5420         (setGlyphTransform): Update positions array as well.
5421
5422 2006-09-20  David Daney  <ddaney@avtrex.com>
5423
5424         PR classpath/28661
5425         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5426         default content-type for POST method.
5427
5428 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5429
5430         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5431         (BasicRadioButtonUI): Don't fetch icon here,
5432         (installDefaults): Initialise icon here,
5433         (getDefaultIcon): Just return icon.
5434
5435 2006-09-20  Mark Wielaard  <mark@klomp.org>
5436
5437         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5438         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5439         (EXTRA_DIST): Include javanio.c.
5440
5441 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5442
5443         * java/awt/geom/RoundRectangle2D.java:
5444         (getPathIterator): Reimplemented,
5445         and updated various API doc comments.
5446
5447 2006-09-20  Roman Kennke  <kennke@aicas.com>
5448
5449         * java/awt/Container.java
5450         (addImpl): Set the new component's parent after it has been
5451         added to the array. Call addNotify() and invalidate()
5452         after the component has been added, so that the peer
5453         gets to know about the component structure when it is created.
5454         * java/awt/Window.java
5455         (dispatchEventImpl): Only revalidate when window is resized,
5456         let the other stuff be processed by the superclass.
5457         (dispose): Post WINDOW_CLOSED event only when some listener
5458         is registered or event is explicitly enabled.
5459         (show): Post WINDOW_OPENED event when appropriate.
5460
5461 2006-09-20  Roman Kennke  <kennke@aicas.com>
5462
5463         * java/awt/Component.java
5464         (addNotify): Invalidate here. Fetch peer font.
5465         (getFont): Delegate to helper method, to protect from
5466         overriding client code. Lock the tree while fetching the font.
5467         (getFontImpl): New helper method. Moved code from getFont() in
5468         here.
5469         (removeNotify): Nullify peerFont too.
5470         (setFont): Synchronize on tree and component to avoid threading
5471         issues. Update the peerFont correctly.
5472         (validate): Update the peer font if necessary, before validating.
5473         (getGraphics): Revert to recursive graphics fetching.
5474         Set component font on the Graphics object.
5475         (translateEvent): Removed unnecessary cast.
5476         * java/awt/Container.java
5477         (invalidateTree): Made final and private. Made implementation
5478         slightly more efficient.
5479         (setFont): Get old and new font via getFont() to account for
5480         the real font, and only invalidate the tree when they are not
5481         the same and not equal.
5482         (visitChild): Set the font of the child on the component graphics.
5483         * java/awt/Frame.java
5484         (setMenuBar): Create local reference of peer for thread safety.
5485         Only call simple invalidate, not invalidateTree().
5486
5487 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5488
5489         PR 29012
5490         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5491         (constructor): Copy image field.
5492
5493 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5494
5495         * javax/swing/JMenuBar.java
5496         (getHelpMenu): Implemented to throw an Error, and added API docs,
5497         (getMargin): Added API docs,
5498         (setMargin): Likewise.
5499
5500 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5501
5502         * javax/swing/AbstractButton.java
5503         (AbstractButton): Don't call updateUI(),
5504         * javax/swing/JButton.java
5505         (JButton(String, Icon)): Call setModel() before init(),
5506         * javax/swing/JMenuItem.java
5507         (JMenuItem()): Delegate to another constructor,
5508         (JMenuItem(Icon)): Likewise,
5509         (JMenuItem(Action)): Set model,
5510         (JMenuItem(String, Icon)): Likewise,
5511         * javax/swing/JToggleButton.java
5512         (init): Call setModel() before init().
5513
5514 2006-09-19  Mark Wielaard  <mark@klomp.org>
5515
5516         Fixes bug #29137
5517         * java/util/logging/LogManager.java (addLogger): Always check for
5518         existing children of a new Logger.
5519
5520 2006-09-19  Roman Kennke  <kennke@aicas.com>
5521
5522         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5523         (HSBChangeListener.stateChanged): Moved handling of header to
5524         syncScrollPaneWithViewport().
5525         (VSBChangeListener.stateChanged): Moved handling of header to
5526         syncScrollPaneWithViewport().
5527         (ViewportChangedHandler.stateChanged): Removed unused statements.
5528         (syncScrollPaneWithViewport): Added null checks. Use setValues
5529         rather then the single setter methods to avoid multiple
5530         adjustments and side effects. Also snyc the headers here.
5531         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5532         (uninstallUI): Removed unnecessary cast and this qualifier as well
5533         as the call to super.
5534
5535 2006-09-19  Gary Benson  <gbenson@redhat.com>
5536
5537         * java/net/ResolverCache.java: New class (a DNS cache).
5538         * java/net/InetAddress.java
5539         (internalGetCanonicalHostName, getAllByName): Use the above.
5540
5541 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5542
5543         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5544         * java/net/ServerSocket.java
5545         (port): New field.
5546         (bind): Set port field.
5547         (close): Set impl to null.
5548         (isClosed): Check impl and channel instead of using VMChannel.
5549         (toString): Use port field and getLocalPort() method.
5550         * java/net/Socket.java
5551         (isClosed): Check impl and channel instead of using VMChannel.
5552
5553 2006-09-18  Tom Tromey  <tromey@redhat.com>
5554
5555         * java/util/concurrent/CopyOnWriteArrayList.java
5556         (CopyOnWriteArrayList): New constructor.
5557
5558 2006-09-18  Casey Marshall  <csm@gnu.org>
5559
5560         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5561         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5562
5563 2006-09-18  Tom Tromey  <tromey@redhat.com>
5564
5565         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5566         isConnected): Removed old comment.
5567         (getRemoteSocketAddress): Uncommented.
5568         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5569         setTrafficClass, getTrafficClass, setReuseAddress,
5570         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5571         isOutputShutdown): Uncommented.
5572
5573 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5574
5575         Fixes PR 28589
5576         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5577           input stream during resolution.
5578
5579 2006-09-18  Roman Kennke  <kennke@aicas.com>
5580
5581         * java/awt/LightweightDispatcher.java
5582         (findTarget): Correctly translate child coordinates.
5583         Use Component.eventTypeEnabled() for checking if a component
5584         has a certain event enabled.
5585         (handleMouseEvent): Find the correct mouse event target.
5586         Use Component.eventTypeEnabled() for checking if a component
5587         has a certain event enabled.
5588
5589 2006-09-18  Roman Kennke  <kennke@aicas.com>
5590
5591         * java/awt/Component.java
5592         (show): Test for the peer beeing lightweight directly.
5593         (paintAll): Validate before painting. Don't paint when not
5594         showing. Call peer.paint() when the component is heavyweight.
5595         (repaint): Delegate to the parent when lightweight, rather
5596         than skipping to the nearest heavyweight.
5597         (createImage): Added null check to prevent NPE.
5598         (dispatchEvent): Moved old event dispatching and toolkit
5599         event dispatching to dispatchEventImpl.
5600         (addComponentListener): Don't enable event. Only add listener
5601         when not null. Switch to new event dispatching only.
5602         (addFocusListener): Likewise.
5603         (addHierarchyListener): Likewise.
5604         (addHierarchyBoundsListener): Likewise.
5605         (addKeyListener): Likewise.
5606         (addMouseListener): Likewise.
5607         (addMouseMotionListener): Likewise.
5608         (addMouseWheelListener): Likewise.
5609         (addInputMethodListener): Likewise.
5610         (coalesceEvents): For mouse events coalesce them only when
5611         their modifiers are equal. For paint events coalesce the events
5612         when one contains the other, without going through complicated
5613         heuristics.
5614         (dispatchEventImpl): Moved old event dispatching and toolkit
5615         event dispatching to dispatchEventImpl.
5616         (coalescePaintEvents): Removed.
5617         (HeavyweightInLightweightListener.componentHidden):
5618         Fixed condition.
5619         * java/awt/Container.java
5620         (addImpl): Don't enable events on lightweights.
5621         (remove): Reordered operations. Don't remove any listeners.
5622         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5623         Only removeNotify() when peer is != null. Only invalidate if 
5624         not already invalid. Only fire ContainerEvent if there is
5625         an interested listener or the event is enabled. Dispatch this
5626         event directly without the event queue.
5627         (removeAll): Likewise.
5628         (paintComponents): Only paint when showing. Also paint heavyweights.
5629         Don't paint the container itself.
5630         (removeNotify): Create local variables for improved thread safety.
5631         (addNotifyContainerChildren): Don't enable events for lightweights.
5632
5633 2006-09-18  Roman Kennke  <kennke@aicas.com>
5634
5635         * java/awt/EventQueue.java
5636         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5637         (next_in): Removed obsolete field.
5638         (next_out): Removed obsolete field.
5639         (queueHead): New field. Markes the head of the queue.
5640         (queueTail): New field. Markes the tail of the queue.
5641         (queue): Removed obsolete field.
5642         (EventQueue): Documented empty block.
5643         (getNextEvent): Changed array based implementation to single-linked
5644         list based implementation.
5645         (invokeAndWait): Use an Object as synchronization object rather
5646         than the current thread.
5647         (peekEvent(int)): Changed array based implementation to single-linked
5648         list based implementation.
5649         (peekEvent()): Changed array based implementation to single-linked
5650         list based implementation.
5651         (pop()): Changed array based implementation to single-linked
5652         list based implementation.
5653         (postEvent): Foward to postEventImpl.
5654         (postEventImpl): Changed array based implementation to single-linked
5655         list based implementation.
5656         (push): Changed array based implementation to single-linked
5657         list based implementation.
5658         * java/awt/AWTEvent.java
5659         (queueNext): New field. Implements a single-linked list for
5660         the EventQueue.
5661
5662 2006-09-17  Mark Wielaard  <mark@klomp.org>
5663
5664         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5665         resource from HTMLEditorKit.class.
5666
5667 2006-09-17  Mark Wielaard  <mark@klomp.org>
5668
5669         * javax/swing/plaf/basic/BasicToolBarUI.java
5670         (setBorderToNonRollover): Check whether border is null.
5671         (setBorderToRollover): Likewise.
5672
5673 2006-09-17  Mark Wielaard  <mark@klomp.org>
5674
5675         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5676
5677 2006-09-17  Mark Wielaard  <mark@klomp.org>
5678
5679         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5680         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5681         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5682         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5683         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5684
5685 2006-09-17  Casey Marshall  <csm@gnu.org>
5686
5687         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5688         unused.
5689
5690 2006-09-17  Chris Burdess  <dog@gnu.org>
5691
5692         Fixes PR 27610 27687.
5693         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5694         * gnu/xml/transform/SAXTemplatesHandler.java,
5695         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5696         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5697           SAXTransformerFactory.
5698
5699 2006-09-16  Casey Marshall  <csm@gnu.org>
5700
5701         * NEWS: updated.
5702         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5703         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5704         kqueue, and kevent.
5705         (HAVE_INET6): define if IPv6 is supported.
5706         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5707         (native_fd): removed.
5708         (impl): new field.
5709         (<init>): throw IOException; initialize fields.
5710         (finalize): removed.
5711         (getNativeFD): removed.
5712         (bind): use `PlainSocketImpl.bind.'
5713         (create): use `PlainSocketImpl.initSocket.'
5714         (disconnect): use `PlainSocketImpl.disconnect.'
5715         (getLocalPort): new method.
5716         (send): use `VMChannel.send.'
5717         (receive): use `VMChannel.receive.'
5718         (setOption): use `PlainSocketImpl.setOption.'
5719         (getOption): use `PlainSocketImpl.getOption.'
5720         (close): use `VMChannel.State.close.'
5721         (join): use `PlainSocketImpl.join.'
5722         (leave): use `PlainSocketImpl.leave.'
5723         (joinGroup, leaveGroup): implemented.
5724         * gnu/java/net/PlainSocketImpl.java: make non-final.
5725         (native_fd): removed.
5726         (impl): new field.
5727         (channel): new field.
5728         (<init>): initialize `impl.'
5729         (finalize, getNativeFD): removed.
5730         (setOption): use `PlainSocketImpl.setOption.'
5731         (getOption): use `PlainSocketImpl.getOption.'
5732         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5733         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5734         (create): create `channel,' initialize `impl's native state.
5735         (connect): use `connect(SocketAddress, int).'
5736         (connect): use `SocketChannelImpl.connect;' initialize `address'
5737         and `port.'
5738         (bind): use `VMPlainSocketImpl.bind.'
5739         (listen): use `VMPlainSocketImpl.listen.'
5740         (accept): use `SocketChannelImpl.accept.'
5741         (available): use `VMChannel.available.'
5742         (close): use `PlainSocketImpl.close.'
5743         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5744         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5745         getPort): new methods.
5746         (SocketInputStream.read): use `VMChannel.read.'
5747         (SocketInputStream.read): use `SocketChannel.read.'
5748         (SocketOutputStream.write): use `VMChannel.write.'
5749         (SocketOutputStream.write): use `SocketChannel.write.'
5750         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5751         (channel): new field.
5752         (<init>): initialize `channel.'
5753         (implCloseSelectableChannel): use `VMChannel.close.'
5754         (implConfigureBlocking): use `VMChannel.setBlocking.'
5755         (connect): use `VMChannel.connect.'
5756         (disconnect): use `VMChannel.disconnect.'
5757         (isConnected): use `VMChannel.getPeerAddress.'
5758         (write): use `VMChannel.write.'
5759         (write): use `VMChannel.writeGathering.'
5760         (read): use `VMChannel.read.'
5761         (read): use `VMChannel.readScattering.'
5762         (receive): use `VMChannel.receive.'
5763         (send): use `VMChannel.send.'
5764         (getVMChannel): new method.
5765         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5766         access native FD through VMChannel.State.
5767         * gnu/java/nio/FileChannelImpl.java: moved from
5768         gnu/java/nio/channels/FileChannelImpl.java.
5769         * gnu/java/nio/FileLockImpl.java: fix imports.
5770         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5771         * gnu/java/nio/KqueueSelectorImpl.java: new file.
5772         * gnu/java/nio/NIOSocket.java (impl): removed.
5773         (channel): new field.
5774         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5775         (getPlainSocketImpl, setChannel): removed.
5776         (isConnected): new method.
5777         * gnu/java/nio/NIOSocketImpl.java: new file.
5778         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5779         `VMChannelOwner.'
5780         (SourceChannelImpl.native_fd): removed.
5781         (SourceChannelImpl.<init>): init with a `VMChannel.'
5782         (SourceChannelImpl.getNativeFD): removed.
5783         (SourceChannelImpl.getVMChannel): new method.
5784         (SourceChannelImpl.implCloseSelectableChannel): implement.
5785         (SinkChannelImpl): implement `VMChannelOwner.'
5786         (SinkChannelImpl.native_fd): removed.
5787         (SinkChannelImpl.<init>): init with a `VMChannel.'
5788         (SinkChannelImpl.implCloseSelectableChannel): implement.
5789         (SinkChannelImpl.getNativeFD): removed.
5790         (SinkChannelImpl.getVMChannel): new method.
5791         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5792         deprecated.
5793         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5794         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5795         (openSelector): return kqueue selector if available.
5796         * gnu/java/nio/ServerSocketChannelImpl.java: implement
5797         `VMChannelOwner.'
5798         (channel): new field.
5799         (<init>): init `channel.'
5800         (finalizer): check if the `VMChannel.State' is valid.
5801         (implCloseSelectableChannel): use `VMChannel.close.'
5802         (implConfigureBlocking): use `VMChannel.setBlocking.'
5803         (accept): use `VMChannel.accept.'
5804         (getVMChannel): new method.
5805         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5806         access native FD through `VMChannel.State.'
5807         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5808         (impl): removed.
5809         (channel, connected, connectAddress): new field.
5810         (<init>): new constructors.
5811         (getPlainSocketImpl): removed.
5812         (implCloseSelectableChannel): use `VMChannel.close.'
5813         (implConfigureBlocking): use `VMChannel.setBlocking.'
5814         (connect): use `connect(SocketAddress,int).'
5815         (connect): use `VMChannel.connect.'
5816         (finishConnect): don't use a selector.
5817         (isConnected): use `VMChannel.getPeerAddress.'
5818         (read): use `VMChannel.read.'
5819         (read): use `VMChannel.readScattering.'
5820         (write): use `VMChannel.write.'
5821         (write): use `VMChannel.writeGathering.'
5822         (getVMChannel): new method.
5823         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
5824         native FD from `VMChannel.State.'
5825         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
5826         get native FD from `VMChannel.State.'
5827         * gnu/java/nio/VMChannelOwner.java: new file.
5828         * gnu/java/nio/channels/FileChannelImpl.java: removed.
5829         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
5830         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
5831         `gnu_java_nio_channels_FileChannelImpl.h.'
5832         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
5833         * include/gnu_java_nio_FileChannelImpl.h: new file.
5834         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
5835         * include/gnu_java_nio_VMChannel.h: regenerated.
5836         * include/gnu_java_nio_VMPipe.h: regenerated.
5837         * include/java_net_VMNetworkInterface.h: regenerated.
5838         * java/io/FileDescriptor.java: fix imports.
5839         * java/io/FileInputStream.java (<init>): handle exceptions.
5840         (read): wrap the destination arary.
5841         * java/io/FileOutputStream.java (<init>): handle exceptions.
5842         (write): wrap the source array.
5843         * java/io/RandomAccessFile.java (<init>): handle exceptions.
5844         * java/net/DatagramSocket.java (<init>): handle exceptions.
5845         (receive): handle length/port setting.
5846         (connect): bind to any address/port if the argument is null.
5847         * java/net/NetworkInterface.java (name, inetAddress): removed.
5848         (netif): new field.
5849         (<init>): make private.
5850         (getName): return `netif.name.'
5851         (getInetAddresses): access `netif.addresses.'
5852         (getDisplayName): return `netif.name.'
5853         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
5854         (condense): removed.
5855         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
5856         (equals): compare `netif' fields.
5857         (hashCode): get hash codes from `netif.'
5858         (toString): use a StringBuffer.
5859         * java/net/ServerSocket.java (close): don't set `impl' to null.
5860         (isClosed): use `VMChannel.State.isClosed.'
5861         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
5862         the `SocketImpl' is a `PlainSocketImpl.'
5863         (close): just close the `impl.'
5864         (toString): use `super.toString' in the value we return.
5865         (isConnected): just access `impl,' not `getImpl.'
5866         (isBound): use `PlainSocketImpl' methods if we can.
5867         (isClosed): look at `VMChannel.State.'
5868         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
5869         (JCL_NewRawDataObject): don't initialize cached fields here; throw
5870         an exception if they were not.
5871         (JCL_GetRawData): throw an exception if cached fields weren't
5872         created.
5873         * native/jni/java-lang/java_lang_VMProcess.c: handle
5874         FileChannelImpl move.
5875         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5876         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
5877         THROW_NO_NETWORK): new macros.
5878         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
5879         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
5880         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
5881         (java_sockopt): new enum.
5882         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
5883         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
5884         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
5885         reimplemented.
5886         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
5887         reimplemented.
5888         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
5889         function.
5890         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
5891         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
5892         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
5893         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
5894         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
5895         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
5896         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
5897         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
5898         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
5899         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
5900         (getif_address): new function.
5901         (getif_index): new function.
5902         * native/jni/java-net/java_net_VMNetworkInterface.c
5903         (java_net_VMNetworkInterface_init,
5904         java_net_VMNetworkInterface_addAddress): new file-scope globals.
5905         (Java_java_net_VMNetworkInterface_initIds): new function.
5906         (struct netif_entry): new struct.
5907         (free_netif_list): new function.
5908         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
5909         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
5910         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
5911         gnu_java_nio_channels_FileChannelImpl.c, add
5912         gnu_java_nio_KqueueSelectorImpl.c.
5913         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
5914         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5915         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
5916         ALIGN_DOWN): new macros.
5917         (JCL_init_buffer): get the address through GetDirectBufferAddress
5918         if possible.
5919         (Java_gnu_java_nio_VMChannel_stdin_1fd,
5920         Java_gnu_java_nio_VMChannel_stdout_1fd,
5921         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
5922         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
5923         value.
5924         (Java_gnu_java_nio_VMChannel_read): renamed...
5925         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
5926         this; handle interrupted IO; add HAVE_READ check.
5927         (Java_gnu_java_nio_VMChannel_write): renamed...
5928         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
5929         this; handle zero-length write; add HAVE_WRITE check.
5930         (Java_gnu_java_nio_VMChannel_receive): new function.
5931         (Java_gnu_java_nio_VMChannel_send): new function.
5932         (Java_gnu_java_nio_VMChannel_send6): new function.
5933         (Java_gnu_java_nio_VMChannel_read__I): new function.
5934         (Java_gnu_java_nio_VMChannel_write__II): new function.
5935         (Java_gnu_java_nio_VMChannel_socket): new function.
5936         (Java_gnu_java_nio_VMChannel_connect): new function.
5937         (Java_gnu_java_nio_VMChannel_connect6): new function.
5938         (Java_gnu_java_nio_VMChannel_getsockname): new function.
5939         (Java_gnu_java_nio_VMChannel_getpeername): new function.
5940         (Java_gnu_java_nio_VMChannel_accept): new function.
5941         (Java_gnu_java_nio_VMChannel_disconnect): new function.
5942         (Java_gnu_java_nio_VMChannel_close): new function.
5943         (Java_gnu_java_nio_VMChannel_available): new function.
5944         (FileChannel_mode): new enum.
5945         (Java_gnu_java_nio_VMChannel_open): new function.
5946         (Java_gnu_java_nio_VMChannel_position): new function.
5947         (Java_gnu_java_nio_VMChannel_seek): new function.
5948         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
5949         (Java_gnu_java_nio_VMChannel_lock): new function.
5950         (Java_gnu_java_nio_VMChannel_unlock): new function.
5951         (Java_gnu_java_nio_VMChannel_size): new function.
5952         (Java_gnu_java_nio_VMChannel_map): new function.
5953         (Java_gnu_java_nio_VMChannel_flush): new function.
5954         * native/jni/java-nio/gnu_java_nio_VMPipe.c
5955         (Java_gnu_java_nio_VMPipe_init): removed.
5956         (Java_gnu_java_nio_VMPipe_pipe0): new function.
5957         * native/jni/java-nio/javanio.c: new file.
5958         * native/jni/java-nio/javanio.h: new file.
5959         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
5960         systems without `gethostbyname_r.'
5961         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
5962         field.
5963         (<init>, <init>): new constructors.
5964         (setOption, getOption): make instance methods; defer to native
5965         implementation.
5966         (connect): removed.
5967         (bind): make an instance method; defer to native methods.
5968         (accept): removed.
5969         (available): removed.
5970         (listen): make an instance method; defer to native method.
5971         (read): removed.
5972         (join, leave): new methods.
5973         (write): removed.
5974         (joinGroup, leaveGroup): new methods.
5975         (shutdownInput, shutdownOutput): make instance methods.
5976         (sendUrgentData): removed.
5977         (State): new class.
5978         * vm/reference/gnu/java/nio/VMChannel.java: make final.
5979         (fd): removed.
5980         (nfd): new field.
5981         (<init>): new, public constructors.
5982         (getVMChannel): methods removed.
5983         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
5984         stderr_fd): new methods.
5985         (setBlocking): make an instance method.
5986         (available): new method.
5987         (read): get native fd from `nfd.'
5988         (read): new single-byte read method.
5989         (readScattering): get native fd from `nfd.'
5990         (receive): new method.
5991         (write, writeGathering): get native fd from `nfd.'
5992         (send): new method.
5993         (write): new single-byte write method.
5994         (initSocket): new method.
5995         (connect): new method.
5996         (disconnect): new method.
5997         (getLocalAddress): new method.
5998         (getPeerAddress): new method.
5999         (accept): new method.
6000         (openFile): new method.
6001         (position): new method.
6002         (seek): new method.
6003         (truncate): new method.
6004         (lock): new method.
6005         (unlock): new method.
6006         (size): new method.
6007         (map): new method.
6008         (flush): new method.
6009         (close): new method.
6010         (State): new class.
6011         (Kind): new class.
6012         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6013         (pipe, pipe0): new method.
6014         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6015         new fields.
6016         (<clinit>): call `initIds.'
6017         (initIds): new method.
6018         (getInterfaces): removed.
6019         (getVMInterfaces): new method.
6020         (addAddress): new method.
6021         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6022
6023 2006-09-16  Chris Burdess  <dog@gnu.org>
6024
6025         Fixes PR 28572.
6026         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6027           when in text output mode.
6028
6029 2006-09-16  Chris Burdess  <dog@gnu.org>
6030
6031         Fixes PR 27293.
6032         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6033
6034 2006-09-14  Michael Koch  <konqueror@gmx.de>
6035
6036         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6037
6038 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6039
6040         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6041         Added !cl.isArray() to serialVersionUID mismatch check.
6042
6043 2006-09-14  Francis Kung  <fkung@redhat.com>
6044
6045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6046         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6047         be compatibe with Cairo 1.2.x.
6048
6049 2006-09-14  Francis Kung  <fkung@redhat.com>
6050
6051         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6052         (cairoSurfaceSetFilter): Removed method.
6053         (drawImage): Pass interpolation type as argument to drawing methods.
6054         (drawPixels): Added interpolation parameter.
6055         (drawRaster): Pass interpolation type as argument to drawing method.
6056         (getInterpolation): New method.
6057         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6058         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6059         * gnu/java/awt/peer/gtk/CairoSurface.java
6060         (drawSurface): Added interpolation parameter.
6061         (nativeDrawSurface): Added interpolation parameter.
6062         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6063         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6064         parameter.
6065         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6066         * native/jni/gtk-peer/cairographics2d.h
6067         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6069         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6070         parameter.
6071         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6072         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6073         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6074         interpolation parameter.
6075
6076 2006-09-14  Gary Benson  <gbenson@redhat.com>
6077
6078         * java/net/InetAddress.java
6079         (internalGetCanonicalHostName): New method.
6080         (getCanonicalHostName): Use internalGetCanonicalHostName.
6081         (getByLiteral): New method.
6082         (getAllByName): Use getByLiteral.
6083         * java/net/SocketPermission.java
6084         (host): Replaced with...
6085         (hostname, address): New fields.
6086         (equals, hashcode): Reflect the above.
6087         (setHostPort): Parse host into hostname or address.
6088         (implies): Rewrite host checks.
6089
6090 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6091
6092         Fixes PR28699
6093         * java/awt/Menu.java
6094         (insert(MenuItem, int)): Fixed loop range,
6095         (insert(String, int)): Updated API docs.
6096
6097 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6098
6099         Fixes PR22800
6100         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6101         architectures (like Arm).
6102         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6103         Reverted SWAP_DOUBLE patch.
6104         (doubleToRawLongBits): Likewise.
6105         (longBitsToDouble): Likewise.
6106
6107 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6108
6109         * java/awt/Menu.java: Reformatted source file.
6110
6111 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6112
6113         * gnu/java/rmi/server/ActivatableRef.java
6114         (readExternal, writeExternal): Partial fix for serialization format.
6115
6116 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6117
6118         PR classpath/28984
6119         * java/io/InputStreamReader.java
6120         (read(char[],int,int)): Fixed bug.
6121
6122 2006-09-13  Francis Kung  <fkung@redhat.com>
6123
6124         * java/awt/image/BandCombineOp.java: Updated documentation.
6125         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6126
6127 2006-09-13  Tom Tromey  <tromey@redhat.com>
6128
6129         PR classpath/29034:
6130         * java/io/PipedReader.java (read): Return early if len==0.
6131         * java/io/PipedInputStream.java (read): Return early if len==0.
6132
6133 2006-09-13  Francis Kung  <fkung@redhat.com>
6134
6135         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6136         Removed hard-coded max sample value.
6137         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6138         Fixed finding of max sample value.
6139
6140 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6141
6142         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6143         (setPaint): Check null argument ('p').
6144
6145 2006-09-12  Francis Kung  <fkung@redhat.com>
6146
6147         PR 27940
6148         * gnu/java/awt/java2d/TexturePaintContext.java
6149         (constructor): Fixed typo, getMinY instead of getMaxX.
6150         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6151         (setPaint): Implemented support for custom Paint classes.
6152         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6153         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6154         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6155         to setPaintPixels, and added repeat parameter.
6156         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6157          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6158
6159 2006-09-12  Gary Benson  <gbenson@redhat.com>
6160
6161         * java/net/NetworkInterface.java (getInetAddresses):
6162         Fix port used in security check.
6163
6164 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6165
6166         * javax/swing/plaf/metal/DefaultMetalTheme.java
6167         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6168         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6169         (getControlTextFont): Check 'swing.boldMetal' setting before 
6170         initialising font,
6171         (getMenuTextFont): Likewise.
6172
6173 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6174
6175         * javax/swing/plaf/metal/OceanTheme.java
6176         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6177
6178 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6179
6180         * javax/swing/plaf/metal/MetalIconFactory.java
6181         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6182
6183 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6184
6185         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6186
6187 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6188
6189         * javax/swing/AbstractButton.java
6190         (AbstractButton): Initialise textIconGap field.
6191
6192 2006-09-11  Tom Tromey  <tromey@redhat.com>
6193
6194         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6195         "volatile" when needed.
6196
6197 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6198
6199         * java/text/AttributedCharacterIterator.java
6200         (LANGUAGE): Initialise with lower case string,
6201         (INPUT_METHOD_SEGMENT): Likewise,
6202         (READING): Likewise,
6203         * java/text/AttributedStringIterator.java
6204         (getRunLimit): Check all attributes for changes.
6205
6206 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6207
6208         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6209         renamed some variables (no underscores) and removed some spaces to
6210         match the common style,
6211         * java/text/AttributedString.java: Likewise,
6212         * java/text/AttributedStringIterator.java: Likewise.
6213
6214 2006-09-11  Gary Benson  <gbenson@redhat.com>
6215
6216         * java/net/Inet4Address.java
6217         (FAMILY): Renamed back to AF_INET.
6218         (<init>, writeReplace): Reflect the above.
6219         * java/net/Inet6Address.java
6220         (FAMILY): Renamed back to AF_INET6.
6221         (<init>): Reflect the above.
6222
6223 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6224
6225         Fixes PR29010
6226         * java/text/AttributedString.java
6227         (AttributedString(AttributedCharacterIterator, int, int, 
6228         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6229         attribute.
6230
6231 2006-09-11  Gary Benson  <gbenson@redhat.com>
6232
6233         * java/net/Inet4Address.java
6234         (AF_INET): Renamed to FAMILY.
6235         (<init>, writeReplace): Reflect the above.
6236         * java/net/Inet6Address.java
6237         (AF_INET6): Renamed to FAMILY.
6238         (<init>): Reflect the above.
6239
6240 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6241
6242         Fixes bug #28867
6243         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6244         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6245         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6246         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6247         (bind): Call getImpl().create(true).
6248
6249 2006-09-09  Chris Burdess  <dog@gnu.org>
6250
6251         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6252           an instance of org.w3c.dom.NodeList.
6253
6254 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6255
6256         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6257         missing security manager when run in standalone mode.
6258
6259 2006-09-08  Francis Kung  <fkung@redhat.com>
6260
6261         * java/awt/image/AffineTransformOp.java: Updated documentation.
6262         (createCompatibleDestRaster): Updated formatting.
6263         (filter(BufferedImage, BufferedImage)): Updated formatting.
6264         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6265         if colour model is compatible.
6266         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6267         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6268
6269 2006-09-08  Gary Benson  <gbenson@redhat.com>
6270
6271         * java/net/InetAddress.java
6272         (family): Updated javadoc and made private.
6273         (<init>): Add an address family argument.
6274         (readObject): Don't overwrite family.
6275         * java/net/Inet4Address.java
6276         (AF_INET): New constant.
6277         (<init>): Use AF_INET as the family.
6278         (writeReplace): Likewise.
6279         * java/net/Inet6Address.java
6280         (AF_INET6): New constant.
6281         (<init>): Use AF_INET6 as the family.
6282
6283 2006-09-08  Gary Benson  <gbenson@redhat.com>
6284
6285         * java/net/InetAddress.java
6286         (getHostName): Move lookup into getCanonicalHostName.
6287         (getCanonicalHostName): Move lookup from getHostName,
6288         Perform security check on canonical name (ie after lookup).
6289
6290 2006-09-08  Gary Benson  <gbenson@redhat.com>
6291
6292         * java/net/Inet4Address.java (isMulticastAddress,
6293         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6294         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6295         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6296         implementations from InetAddress.
6297         * java/net/InetAddress.java (isMulticastAddress,
6298         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6299         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6300         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6301         implementations with UnsupportedOperationExceptions.
6302         
6303 2006-09-08  Gary Benson  <gbenson@redhat.com>
6304
6305         * java/net/InetAddress.java
6306         (inaddr_any): Removed.
6307         (ANY_IF, LOCALHOST): Create using getByAddress.
6308         (<init>): Updated javadoc.
6309         (getHostName): Cache hostname even if the lookup failed.
6310         (getByAddress): Create Inet4Address objects when passed
6311         IPv4-mapped IPv6 addresses.
6312         (aton): Removed.
6313         (getAllByName): Create address objects using getByAddress.
6314         Do not perform security checks unless actually required.
6315         Do not strip whitespace from the hostname.
6316         (getInaddrAny): Removed.
6317         (getLocalHost): Return the loopback address if getByName
6318         throws a SecurityException.
6319         (readResolve): Updated javadoc.
6320         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6321         * include/java_net_VMInetAddress.h
6322         (Java_java_net_VMInetAddress_aton): Likewise.
6323         * native/jni/java-net/java_net_VMInetAddress.c
6324         (Java_java_net_VMInetAddress_aton): New method.
6325         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6326         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6327         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6328         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6329         * NEWS: Added note about updated VM interface.
6330
6331 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6332
6333         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6334         (setNorthPane): Assign component to titlePane.
6335
6336 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6337
6338         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6339         Remove unused variable alt_addr.
6340         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6341         Remove unused variables.
6342
6343 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6344
6345         * javax/swing/plaf/metal/MetalScrollBarUI.java
6346         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6347         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6348         (createIncreaseButton): Likewise.
6349
6350 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6351
6352         * java/awt/image/MemoryImageSource.java: Added API docs.
6353
6354 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6355
6356         * javax/swing/plaf/basic/BasicScrollBarUI.java
6357         (installDefaults): Call configureScrollBarColors().
6358
6359 2006-09-06  Francis Kung  <fkung@redhat.com>
6360
6361         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6362         (constructor): Make copy of arrays.
6363         (createCompatibleDestImage): Changed treatment of null ColorModel.
6364         (filter(BufferedImage, BufferedImage)): Re-implemented.
6365         (filter(Raster, WritableRaster, boolean[])): New method.
6366         (filter(Raster, WritableRaster)): Re-implemented.
6367         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6368         (getPoint2D): Cleaned up formatting.
6369         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6370
6371 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6372
6373         * javax/swing/UIManager.java
6374         (getBoolean(Object)): Reimplemented,
6375         (getBoolean(Object, Locale)): Likewise,
6376         (getBorder(Object)): Likewise,
6377         (getBorder(Object, Locale)): Likewise,
6378         (getColor(Object)): Likewise,
6379         (getColor(Object, Locale)): Likewise,
6380         (getDimension(Object)): Likewise,
6381         (getDimension(Object, Locale)): Likewise,
6382         (getFont(Object)): Likewise,
6383         (getFont(Object, Locale)): Likewise,
6384         (getIcon(Object)): Likewise,
6385         (getIcon(Object, Locale)): Likewise,
6386         (getInsets(Object)): Updated API docs,
6387         (getInsets(Object, Locale)): Likewise,
6388         (getInt(Object)): Reimplemented,
6389         (getInt(Object, Locale)): Likewise,
6390         (getString(Object)): Likewise,
6391         (getString(Object, Locale)): Likewise.
6392
6393 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6394
6395         * javax/swing/UIManager.java
6396         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6397         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6398
6399 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6400
6401         * javax/swing/plaf/metal/MetalLookAndFeel.java
6402         (initComponentDefaults): Corrected various font defaults.
6403
6404 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6405
6406         * java/awt/List.java: Added @since to various methods.
6407
6408 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6409
6410         * native/jni/native-lib/cpprocess.c:
6411         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6412         Add redirection of stdout to stderr.
6413         * native/jni/native-lib/cpprocess.h:
6414         Added redirect argument.
6415         * native/jni/java-lang/java_lang_VMProcess.c
6416         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6417         * vm/reference/java/lang/VMProcess.java: Likewise.
6418         * include/java_lang_VMProcess.h: Regenerated.
6419         
6420 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6421
6422         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6423         __attribute to __attribute__.
6424
6425         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6426         header include.
6427
6428 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6429
6430         * java/awt/List.java: Source code reformatted.
6431
6432 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6433
6434         * gnu/CORBA/CollocatedOrbs.java,
6435         gnu/CORBA/SafeForDirectCalls.java: New files.
6436         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6437         Implement gnu.CORBA.SafeForDirectCalls.
6438         * gnu/CORBA/NamingService/Ext.java: Likewise.
6439         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6440         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6441         of the local host. (ior_to_object): Return the local object
6442         where possible. (run): Register/unregister this ORB.
6443         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6444         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6445         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6446         (constructors): Initialize noRetain. (_invoke): Drop servant
6447         if noRetain is true. (getHandler): Always seach for the new servant
6448         if noRetain is true.
6449         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6450         * NEWS: Added note about the new feature.
6451
6452 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6453
6454         * java/awt/Choice.java
6455         (addItem): Fixed API doc glitch.
6456
6457 2006-09-05  Francis Kung  <fkung@redhat.com>
6458
6459         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6460         (createCompatibleDestImage): Re-implemented.
6461         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6462         compatibility, and use ColorConvertOp for color conversion if needed.
6463         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6464
6465 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6466
6467         gnu/CORBA/CDR/Vio.java,
6468         org/omg/CORBA_2_3/ORB.java,
6469         org/omg/CORBA_2_3/portable/InputStream.java,
6470         org/omg/CORBA_2_3/portable/OutputStream.java,
6471         org/omg/CosNaming/BindingIteratorHelper.java,
6472         org/omg/CosNaming/BindingTypeHelper.java,
6473         org/omg/CosNaming/NameComponentHelper.java,
6474         org/omg/CosNaming/NameHelper.java,
6475         org/omg/CosNaming/NamingContextExtHelper.java,
6476         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6477         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6478         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6479         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6480         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6481         org/omg/CosNaming/NamingContextHelper.java,
6482         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6483         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6484         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6485         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6486         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6487         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6488         org/omg/DynamicAny/AnySeqHelper.java,
6489         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6490         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6491         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6492         org/omg/DynamicAny/DynAnyHelper.java,
6493         org/omg/DynamicAny/DynAnyOperations.java,
6494         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6495         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6496         org/omg/DynamicAny/DynAnySeqHelper.java,
6497         org/omg/DynamicAny/DynArrayHelper.java,
6498         org/omg/DynamicAny/DynEnumHelper.java,
6499         org/omg/DynamicAny/DynFixedHelper.java,
6500         org/omg/DynamicAny/DynSequenceHelper.java,
6501         org/omg/DynamicAny/DynStructHelper.java,
6502         org/omg/DynamicAny/DynStructOperations.java,
6503         org/omg/DynamicAny/DynUnionHelper.java,
6504         org/omg/DynamicAny/DynValueHelper.java,
6505         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6506         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6507         org/omg/IOP/CodecFactoryHelper.java,
6508         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6509         org/omg/IOP/CodecOperations.java,
6510         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6511         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6512         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6513         org/omg/IOP/ComponentIdHelper.java,
6514         org/omg/IOP/ExceptionDetailMessage.java,
6515         org/omg/IOP/MultipleComponentProfileHelper.java,
6516         org/omg/IOP/ProfileIdHelper.java,
6517         org/omg/IOP/ServiceContextListHelper.java,
6518         org/omg/IOP/ServiceIdHelper.java,
6519         org/omg/IOP/TAG_CODE_SETS.java,
6520         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6521         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6522         org/omg/PortableInterceptor/CurrentHelper.java,
6523         org/omg/PortableInterceptor/IORInfo.java,
6524         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6525         org/omg/PortableInterceptor/ORBIdHelper.java,
6526         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6527         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6528         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6529         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6530         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6531         org/omg/PortableInterceptor/RequestInfoOperations.java,
6532         org/omg/PortableInterceptor/ServerIdHelper.java,
6533         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6534         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6535         org/omg/PortableServer/AdapterActivatorOperations.java,
6536         org/omg/PortableServer/CurrentHelper.java,
6537         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6538         org/omg/PortableServer/ForwardRequestHelper.java,
6539         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6540         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6541         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6542         org/omg/PortableServer/LifespanPolicyValue.java,
6543         org/omg/PortableServer/POA.java,
6544         org/omg/PortableServer/POAHelper.java,
6545         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6546         org/omg/PortableServer/POAManagerPackage/State.java,
6547         org/omg/PortableServer/POAOperations.java,
6548         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6549         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6550         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6551         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6552         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6553         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6554         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6555         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6556         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6557         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6558         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6559         org/omg/PortableServer/ServantActivatorHelper.java,
6560         org/omg/PortableServer/ServantLocatorHelper.java,
6561         org/omg/PortableServer/ServantLocatorOperations.java,
6562         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6563         org/omg/PortableServer/ThreadPolicyValue.java,
6564         org/omg/PortableServer/_ServantActivatorStub.java,
6565         org/omg/PortableServer/_ServantLocatorStub.java,
6566         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6567
6568 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6569
6570         * javax/rmi/CORBA/Tie.java,
6571         org/omg/CORBA/AnyHolder.java,
6572         org/omg/CORBA/AnySeqHelper.java,
6573         org/omg/CORBA/AnySeqHolder.java,
6574         org/omg/CORBA/BooleanHolder.java,
6575         org/omg/CORBA/BooleanSeqHelper.java,
6576         org/omg/CORBA/BooleanSeqHolder.java,
6577         org/omg/CORBA/ByteHolder.java,
6578         org/omg/CORBA/CharHolder.java,
6579         org/omg/CORBA/CharSeqHelper.java,
6580         org/omg/CORBA/CharSeqHolder.java,
6581         org/omg/CORBA/Context.java,
6582         org/omg/CORBA/CurrentHelper.java,
6583         org/omg/CORBA/CustomValue.java,
6584         org/omg/CORBA/DataOutputStream.java,
6585         org/omg/CORBA/DefinitionKindHelper.java,
6586         org/omg/CORBA/DomainManagerOperations.java,
6587         org/omg/CORBA/DoubleHolder.java,
6588         org/omg/CORBA/DoubleSeqHelper.java,
6589         org/omg/CORBA/DoubleSeqHolder.java,
6590         org/omg/CORBA/DynAny.java,
6591         org/omg/CORBA/DynSequence.java,
6592         org/omg/CORBA/DynValue.java,
6593         org/omg/CORBA/DynamicImplementation.java,
6594         org/omg/CORBA/FieldNameHelper.java,
6595         org/omg/CORBA/FixedHolder.java,
6596         org/omg/CORBA/FloatHolder.java,
6597         org/omg/CORBA/FloatSeqHelper.java,
6598         org/omg/CORBA/FloatSeqHolder.java,
6599         org/omg/CORBA/IdentifierHelper.java,
6600         org/omg/CORBA/IntHolder.java,
6601         org/omg/CORBA/LocalObject.java,
6602         org/omg/CORBA/LongHolder.java,
6603         org/omg/CORBA/LongLongSeqHelper.java,
6604         org/omg/CORBA/LongLongSeqHolder.java,
6605         org/omg/CORBA/LongSeqHelper.java,
6606         org/omg/CORBA/LongSeqHolder.java,
6607         org/omg/CORBA/ORB.java,
6608         org/omg/CORBA/ObjectHelper.java,
6609         org/omg/CORBA/ObjectHolder.java,
6610         org/omg/CORBA/OctetSeqHelper.java,
6611         org/omg/CORBA/OctetSeqHolder.java,
6612         org/omg/CORBA/PolicyErrorCodeHelper.java,
6613         org/omg/CORBA/PolicyErrorHelper.java,
6614         org/omg/CORBA/PolicyHelper.java,
6615         org/omg/CORBA/PolicyListHelper.java,
6616         org/omg/CORBA/PolicyTypeHelper.java,
6617         org/omg/CORBA/PrincipalHolder.java,
6618         org/omg/CORBA/RepositoryIdHelper.java,
6619         org/omg/CORBA/Request.java,
6620         org/omg/CORBA/ShortHolder.java,
6621         org/omg/CORBA/ShortSeqHelper.java,
6622         org/omg/CORBA/ShortSeqHolder.java,
6623         org/omg/CORBA/StringSeqHelper.java,
6624         org/omg/CORBA/StringSeqHolder.java,
6625         org/omg/CORBA/ULongLongSeqHelper.java,
6626         org/omg/CORBA/ULongLongSeqHolder.java,
6627         org/omg/CORBA/ULongSeqHelper.java,
6628         org/omg/CORBA/ULongSeqHolder.java,
6629         org/omg/CORBA/UShortSeqHelper.java,
6630         org/omg/CORBA/UShortSeqHolder.java,
6631         org/omg/CORBA/ValueBaseHelper.java,
6632         org/omg/CORBA/ValueBaseHolder.java,
6633         org/omg/CORBA/VersionSpecHelper.java,
6634         org/omg/CORBA/WCharSeqHelper.java,
6635         org/omg/CORBA/WCharSeqHolder.java,
6636         org/omg/CORBA/WStringSeqHelper.java,
6637         org/omg/CORBA/WStringSeqHolder.java,
6638         org/omg/CORBA/WrongTransactionHelper.java,
6639         org/omg/CORBA/_IDLTypeStub.java,
6640         org/omg/CORBA/_PolicyStub.java,
6641         org/omg/CORBA/portable/BoxedValueHelper.java,
6642         org/omg/CORBA/portable/Delegate.java,
6643         org/omg/CORBA/portable/ObjectImpl.java,
6644         org/omg/CORBA/portable/ServantObject.java,
6645         org/omg/CORBA/portable/StreamableValue.java,
6646         org/omg/CosNaming/BindingType.java,
6647         org/omg/CosNaming/IstringHelper.java,
6648         org/omg/DynamicAny/FieldNameHelper.java,
6649         org/omg/PortableServer/Servant.java: Documentation fixes.
6650
6651 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6652
6653         * java/awt/Rectangle.java
6654         (setRect(double, double, double, double)): Modified rounding of input
6655         values.
6656
6657 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6658
6659         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6660         Disallow H1 - H6 in the paragraphs.
6661         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6662         (preprocess): Leave at most one leading and/or trailing space.
6663         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6664         Do not add any text after closing the HTML tag.
6665
6666 2006-09-02  Roman Kennke  <kennke@aicas.com>
6667
6668         PR 28928
6669         * javax/swing/plaf/basic/BasicTextUI.java
6670         (RootView.getPreferredSpan): Default to 10 when there is no
6671         real view.
6672         (RootView.getMinimumSpan): Forward to view and default to 10
6673         when there is no real view.
6674         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6675         (getMaximumSize): Check for overflow.
6676         * javax/swing/text/FieldView.java
6677         (getResizeWeight): Removed unneeded assignment.
6678
6679 2006-09-01  Francis Kung  <fkung@redhat.com>
6680         * java/awt/image/ColorConvertOp.java
6681         (copyImage): Updated javadoc and comments.
6682         (copyRaster): Add javadoc.
6683         (createCompatibleColorModel): Add javadocs and comments.
6684         (createCompatibleDestImage): Use correct transfer type.
6685         (createCompatibleDestRaster): Add new parameter for transfer type.
6686         (filter): Use correct transfer type.
6687         * java/awt/image/ConvolveOp.java: Updated javadocs.
6688         (createCompatibleDestImage): Set new image properties correctly.
6689         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6690         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6691
6692 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6693
6694         * javax/swing/table/DefaultTableModel.java:
6695         (checkSize): Added null check for dataVector.
6696
6697 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6698
6699         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6700         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6701         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6702
6703 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6704
6705         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6706         (paintIcon): Removed unused import statements, lowered cast requirement
6707         from JCheckBox to AbstractButton.
6708
6709 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6710
6711         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6712         (initComponentDefaults): Added, changed and removed some
6713         tabbed pane properties.
6714
6715 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6716
6717         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6718         (createContent): Changed menu item name and tab naming.
6719
6720 2006-09-01  Roman Kennke  <kennke@aicas.com>
6721
6722         PR 28922
6723         * javax/swing/plaf/basic/BasicHTML.java
6724         (HTMLRootView.getAttributes): Overridden to return null.
6725         (HTMLRootView.getElement): Overridden to return the view's
6726         element.
6727
6728 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6729
6730         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6731         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6732         of accessing variable directly.
6733         (calculateTabAreaWidth): Dito.
6734
6735 2006-08-31  Keith Seitz  <keiths@redhat.com>
6736
6737         * include/jvmti.h: Include jvmti_md.h.
6738
6739 2006-08-31  Keith Seitz  <keiths@redhat.com>
6740
6741         From Martin Platter  <motse@complang.tuwien.ac.at>:
6742         * Makefile.am (include_HEADERS): Include jvmti.h.
6743         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6744         (jvmtiError): Remove superfluous comma after last entry.
6745         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6746         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6747         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6748         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6749         character pointer.
6750         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6751         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6752         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6753         character pointer.
6754
6755 2006-08-31  Roman Kennke  <kennke@aicas.com>
6756
6757         * javax/swing/text/BoxView.java
6758         (getWidth): Return the width with insets added, not with one
6759         added and one removed.
6760         (getHeight): Return the height with insets added, not with one
6761         added and one removed.
6762         * javax/swing/text/GlyphView.java
6763         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6764         * javax/swing/text/ParagraphView.java
6765         (Row.getAlignment): Adjust alignment with respect to
6766         the justification attribute.
6767         (Row.getLeftInset): Overridden to adjust for firstLineIndent
6768         attribute.
6769         * javax/swing/text/html/CSS.java
6770         (getValue): Convert length values.
6771         * javax/swing/text/html/Paragraph.java
6772         (painter): New field.
6773         (paint): Implemented to delegate painting to the BoxPainter too.
6774         (setPropertiesFromAttributes): Implemented to load attributes
6775         from CSS.
6776         * javax/swing/text/html/StyleSheet.java
6777         (BoxPainter.as): Removed field.
6778         (BoxPainter.leftInset): New field.
6779         (BoxPainter.bottomInset): New field.
6780         (BoxPainter.rightInset): New field.
6781         (BoxPainter.topInset): New field.
6782         (BoxPainter.BoxPainter): Implemented to load the insets from
6783         CSS.
6784         (BoxPainter.getInset): Implemented.
6785         * gnu/javax/swing/text/html/Length.java: New class.
6786         Converts CSS length units to usable values.
6787
6788 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6789
6790         * configure.ac: Add check for gethostbyname_r.
6791         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6792         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6793         SOCKET_NOSIGNAL according to the configure check.
6794         (cpnet_send): Use SOCKET_NOSIGNAL.
6795         (cpnet_sendTo): Likewise.
6796         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6797         defined.
6798         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6799         are not available.
6800
6801         * lib/Makefile.am (cssfiles): Add new rule to install css files.
6802
6803 2006-08-31  Roman Kennke  <kennke@aicas.com>
6804
6805         * javax/swing/JEditorPane.java
6806         (getPreferredSize): Replace preferred size with minimum
6807         UI size only if the scrollable does _not_ track the viewport
6808         size and only if the viewport's size is smaller than the
6809         scrollable's size.
6810         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6811         method calls.
6812         * javax/swing/plaf/basic/BasicTextUI.java
6813         (getPreferredSize): Read-lock the document to avoid
6814         concurrency problems.
6815         (getMaximumSize): Return maximum size of the view.
6816         Read-lock the document to avoid concurrency problems.
6817         (getMinimumSize): Return minimum size of the view.
6818         Read-lock the document to avoid concurrency problems.
6819
6820 2006-08-31  Gary Benson  <gbenson@redhat.com>
6821
6822         * java/net/SocketPermission.java
6823         (maybeBracketIPv6Address): Renamed to processHostport.
6824         (processHostport): Also translate "" to "localhost".
6825         (setHostPort): Remove special cases for empty hostport and for
6826         extra colons in hostport (processHostport handles these now).
6827
6828 2006-08-31  Mark Wielaard  <mark@klomp.org>
6829
6830         * javax/swing/text/ZoneView.java (Zone): Make static class.
6831         Constructor takes axis parameter.
6832         (createZone): Create Zone with getAxis() as major axis.
6833
6834 2006-08-30  Roman Kennke  <kennke@aicas.com>
6835
6836         * javax/swing/text/ZoneView.java
6837         (loadChildren): Implemented.
6838         (getViewIndexAtPosition): Implemented.
6839         (checkZoneAt): New helper method.
6840         (splitZone): New helper method.
6841         (getPreferredZoneEnd): New helper method.
6842
6843 2006-08-30  Roman Kennke  <kennke@aicas.com>
6844
6845         * javax/swing/text/ZoneView.java: New class.
6846
6847 2006-08-30  Roman Kennke  <kennke@aicas.com>
6848
6849         * javax/swing/JMenu.java
6850         (getMenu): Removed unneeded cast.
6851         (getPopupMenuOrigin): Made positioning algorithm better respect
6852         the screen bounds.
6853         (setMenuLocation): Also set the location on the popup if it's
6854         not null.
6855         (setModel): Use menuChangeListener so that we don't override
6856         the changeListener field from AbstractButton.
6857         (setPopupMenuVisible): Use custom location if set, otherwise
6858         fallback to getPopupMenuOrigin().
6859
6860 2006-08-29  Roman Kennke  <kennke@aicas.com>
6861
6862         * javax/swing/text/InternationalFormatter.java
6863         (stringToValue): Fixed bounds check.
6864         * javax/swing/text/MaskFormatter.java
6865         (MaskFormatter): Don't explicitly set allosInvalid property.
6866         (convertStringToValue): New helper method.
6867         (convertValueToString): New helper method.
6868         (convertValue): Removed. Replaced by the 2 convert* methods
6869         above.
6870         (getPadCharAt): Removed.
6871         (isCharValid): Removed.
6872         (pad): Removed.
6873         (stringToValue): Fixed stringToValue conversion.
6874         (stripLiterals): Removed.
6875         (valueToString): Fixed valueToString conversion.
6876         * javax/swing/text/DefaultFormatter.java
6877         (DefaultFormatter): Default to commitsOnValidEdit = false.
6878
6879 2006-08-29  Roman Kennke  <kennke@aicas.com>
6880
6881         * javax/swing/text/TextAction.java
6882         (getTextComponent): Check event for null and return null in
6883         this case.
6884         (augmentList): Augment Actions based on their names.
6885         * javax/swing/text/DefaultEditorKit.java
6886         (BeginAction.actionPerformed): Check target for null.
6887         (BeginLineAction.actionPerformed): Check target for null.
6888         (CopyAction.actionPerformed): Check target for null.
6889         (CutAction.actionPerformed): Check target for null.
6890         (EndAction.actionPerformed): Check target for null.
6891         (EndLineAction.actionPerformed): Check target for null.
6892         (InsertBreakAction.actionPerformed): Check target for null.
6893         (InsertTabAction.actionPerformed): Check target for null.
6894         (PasteAction.actionPerformed): Check target for null.
6895         (SelectAllAction.actionPerformed): Check target for null.
6896         (SelectionBeginAction.actionPerformed): Check target for null.
6897         (SelectionBeginLineAction.actionPerformed): Check target for null.
6898         (SelectionEndAction.actionPerformed): Check target for null.
6899         (SelectionEndLineAction.actionPerformed): Check target for null.
6900         (SelectLineAction.actionPerformed): Check target for null.
6901         (SelectWordAction.actionPerformed): Check target for null.
6902
6903 2006-08-29  Roman Kennke  <kennke@aicas.com>
6904
6905         * javax/swing/plaf/basic/BasicTextUI.java
6906         (FocusHandler): New class. This is moved from the anonymous
6907         inner focus listener class to a static member class, and
6908         is now shared between components.
6909         (DocumentHandler): This class is combined with the PropertyHandler
6910         into the Handler class.
6911         (PropertyChangeHandler): This class is combined with the
6912         DocumentHandler into the Handler class.
6913         (Handler): New class. This combines the Property and Document
6914         handler into one class.
6915         (RootView.changedUpdate): Only forward if real view != null.
6916         (RootView.insertUpdate): Only forward if real view != null.
6917         (RootView.removeUpdate): Only forward if real view != null.
6918         (documentHandler): Removed field and replaced by handler.
6919         (focuslistener): Made field static and renamed to focusListener.
6920         (handler): New field.
6921         (kit): Lazily initialize field.
6922         (rootView): Lazily initialize field.
6923         (updateHandler): Removed and replaced by handler.
6924         (getEditorKit): Lazily instantiate field.
6925         (installDefaults): Don't set margin twice. Install correct
6926         property for disabledTextColor. Moved caret and highlighter
6927         initialization to installFixedDefaults.
6928         (installFixedDefaults): New method. Installs defaults that
6929         can't be overridden by subclasses.
6930         (installListeners): Only install focus handler when new
6931         system property gnu.swing.text.no-xlike-clipboard is not set.
6932         Lazily initialize focus handler.
6933         (installUI): Lazily initialize rootView. Install handler
6934         both for property and document changes.
6935         (uninstallDefaults): Uninstall the UI defaults.
6936         (uninstallFixedDefaults): New method. Uninstalls the fixed
6937         defaults.
6938         (installListeners): Only uninstall focus handler when not null.
6939         (uninstallUI): Uninstall property and document listener here.
6940
6941 2006-08-29  Gary Benson  <gbenson@redhat.com>
6942
6943         * java/net/SocketPermission.java
6944         (maybeBracketIPv6Address): New method.
6945         (<init>): Pass the hostport argument through the above.
6946
6947         * java/net/NetworkInterface.java (getInetAddresses):
6948         Don't bracket IPv6 addresses.
6949
6950 2006-08-28  Roman Kennke  <kennke@aicas.com>
6951
6952         * javax/swing/text/BoxView.java
6953         (calculateMinorAxisRequirements): Initialize max size
6954         with Integer.MAX_VALUE.
6955         * javax/swing/text/Utilities.java
6956         (getBreakLocation): For simple chars, scan the text directly.
6957         * javax/swing/text/WrappedPlainView.java
6958         (tabBase): New field.
6959         (tabSize): New field.
6960         (calculateBreakPosition): Use Utilities. Fixed for correct
6961         break calculation.
6962         (changedUpdate): Update children directly.
6963         (insertUpdate): Update children directly. Notify children.
6964         (removeUpdate): Update children directly. Notify children.
6965         (updateChildren): New helper method.
6966         (nextTabStop): Fixed to return correct results.
6967         (paint): Update tabBase.
6968         (updateMetrics): Update tab size.
6969
6970 2006-08-28  Roman Kennke  <kennke@aicas.com>
6971
6972         * javax/swing/text/Position.java
6973         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
6974         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
6975
6976 2006-08-28  Roman Kennke  <kennke@aicas.com>
6977
6978         * javax/swing/text/View.java
6979         (height): Removed unneeded field.
6980         (width): Removed unneeded field.
6981         (getBreakWeight): Return GoodBreakWeight when pos is after
6982         the view's span.
6983         (getToolTipText): Check view index more carefully. Avoid
6984         Rectangle creation.
6985         (insertUpdate): Only execute method body if view count > 0.
6986         When updateChildren returns false, clear the ec variable.
6987         (updateChildren): Added null checks.
6988         (viewToModel): Initialize bias array correctly.
6989         * javax/swing/text/CompositeView.java
6990         (children): Made private.
6991         (numChildren): New field.
6992         (loadChildren): Check factory for null. Don't load children
6993         when factory is null.
6994         (replace): Removed null check. Nullify removed children. Made
6995         growing the array more efficient.
6996         (getViewCount): Return numChildren rather then the real array
6997         size.
6998         * javax/swing/text/BoxView.java
6999         (getViewAtPoint): Fixed algorithm for finding the view.
7000         (replace): Made array growing more efficient.
7001         (replaceLayoutArray): New helper method for growing/patching
7002         the layout arrays.
7003         (viewToModel): Make sure we have a valid layout.
7004
7005 2006-08-28  Tania Bento  <tbento@redhat.com>
7006
7007         * java/awt/MenuShortcut.java
7008         (MenuShortcut (int, boolean)): Set keyName.
7009         (toString): Modified string output.
7010         (setKeyName): New private method.
7011
7012 2006-08-28  Roman Kennke  <kennke@aicas.com>
7013
7014         * javax/swing/text/GapContent.java
7015         (Mark.getOffset): Made assert less strict, include boundary.
7016         (search): Made package private to avoid accessor method.
7017
7018 2006-08-28  Roman Kennke  <kennke@aicas.com>
7019
7020         * javax/swing/text/StringContent.java
7021         (InsertUndo.positions): New field.
7022         (InsertUndo.redo): Update the undo positions.
7023         (InsertUndo.undo): Fetch the undo positions.
7024         (Mark): New class. Layer of indirection to allow Positions
7025         to be GC'ed while we still hold references to the Mark.
7026         (RemoveUndo.len): New field.
7027         (RemoveUndo.positions): New field.
7028         (RemoveUndo.RemoveUndo): Fetch undo positions.
7029         (RemoveUndo.redo): Re-fetch positions and string.
7030         (RemoveUndo.undo): Update undo positions.
7031         (StickyPosition.mark): New field.
7032         (StickyPosition.offset): Removed field.
7033         (StickyPosition.StickyPosition): Create new Mark. Register
7034         Position in queueOfDeath. Update reference count on mark.
7035         (StickyPosition.getOffset): Return offset stored in mark.
7036         (StickyPosition.setOffset): Removed unneeded method.
7037         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7038         (EMPTY): New field.
7039         (marks): New field. Stores the marks.
7040         (positions): Removed field.
7041         (queueOfDeath): New field. Used for GCing the positions.
7042         (StringContent): Initialize queueOfDeath.
7043         (createPosition): Lazily create marks vector.
7044         (garbageCollect): New helper method. Collects positions
7045         to be GCed and updates their marks.
7046         (getChars): Fixed bounds check.
7047         (getPositionsInRange): When v == null, create new Vector,
7048         otherwise use v. Store UndoPosRefs in vector.
7049         (getString): Added comment about bug in RI.
7050         (insertString): Use new helper method for replacing the array.
7051         Correctly update positions.
7052         (length): Removed this qualifier.
7053         (remove): Use new helper method for replacing the array.
7054         Correctly update positions.
7055         (replace): New helper method for growing or patching the array.
7056         (updateUndoPositions): Implemented. Updates the positions
7057         for undo/redo operations.
7058
7059 2006-08-27  Roman Kennke  <kennke@aicas.com>
7060
7061         * javax/swing/text/StyleContext.java
7062         (NamedStyle.attributes): Made field transient.
7063         (NamedStyle.changeEvent): Made field transient.
7064         (NamedStyle.name): Removed field. The name is stored as
7065         attribute.
7066         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7067         storing the name and check for null name and resolveParent.
7068         Don't initialize changeEvent.
7069         (NamedStyle.copyAttributes): Return a new NamedStyle,
7070         rather than a plain copy of the attributes field.
7071         (NamedStyle.fireStateChange): Lazily create changeEvent
7072         field.
7073         (NamedStyle.getName): Fetch name from attributes.
7074         (NamedStyle.setName): Store name from attributes.
7075         (NamedStyle.readObject): Implemented for correct
7076         deserialization.
7077         (NamedStyle.writeObject): Implemented for correct
7078         serialization.
7079         (NamedStyle.setResolveParent): When new parent is null,
7080         remove resolveParent attribute. Use addAttribute() method
7081         rather than StyleContext addAttribute().
7082         (NamedStyle.toString): Fixed to produce output equal to the
7083         RI.
7084         (SmallAttributeSet.resolveParent): New field.
7085         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7086         the resolveParent field correctly.
7087         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7088         array but store it directly. Update
7089         the resolveParent field correctly.
7090         (SmallAttributeSet.clone): Return this as the object is
7091         immutable.
7092         (SmallAttributeSet.containsAttributes): Make sure that keys
7093         and values are the same.
7094         (SmallAttributeSet.containsAttribute):  Make sure that keys
7095         and values are the same.
7096         (SmallAttributeSet.copyAttributes): Return this as the object is
7097         immutable.
7098         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7099         are equal if they have the same number of attributes and
7100         one contains the other.
7101         (SmallAttributeSet.getAttribute): Improved lookup of
7102         resolveParent.
7103         (SmallAttributeSet.getResolveParent): Improved lookup of
7104         resolveParent.
7105         (SmallAttributeSet.isEqual): When comparing object is a
7106         SmallAttributeSet, consider them equal only if they are the
7107         same object.
7108         (SmallAttributeSet.toString): Fixed to produce output equal to the
7109         RI.
7110         (attributeSetPool): New field.
7111         (defaultStyleContext): Initialize lazily.
7112         (defaultStyle): Removed field. This is stored in the style context
7113         as attribute.
7114         (listenerList): Removed field. The NamedStyle stores the
7115         listeners.
7116         (readAttributeKeys): New static field. Used for looking up
7117         the serialization mappings when reading.
7118         (search): New field. Used as search key.
7119         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7120         (styles): New field. Stores the styles and listeners.
7121         (styleTable): Removed field. Replaced by styles field.
7122         (writeAttributeKeys): New static field. Used for looking up
7123         the serialization mappings when writing.
7124         (static_initializer): Register mappings for all keys in
7125         StyleConstants.
7126         (StyleContext): Initialize styles correctly.
7127         (addAttributes): Fixed caching of immutable attributes.
7128         (addAttribute): Fixed caching of immutable attributes.
7129         (removeAttributes): Fixed caching of immutable attributes.
7130         (removeAttribute): Fixed caching of immutable attributes.
7131         (addChangeListener): Add listener to styles field.
7132         (removeChangeListener): Remove listener from styles field.
7133         (getChangeListeners): Fetch listeners from styles field.
7134         (addStyle): Add style to styles field.
7135         (cleanupPool): New method.
7136         (getDefaultStyleContext): Lazily create context.
7137         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7138         (getMutableAttributeSet): New helper method. Used for
7139         caching.
7140         (getStaticAttribute): Fetch key from readAttributeKeys.
7141         (getStyleNames): Return names from styles field.
7142         (getStyle): Lookup style in styles field.
7143         (removeStyle): Remove style from styles field.
7144         (readAttributeSet): Fixed deserialization.
7145         (writeAttributeSet): Fixed serialization.
7146         (readObject): Fixed deserialization.
7147         (writeObject): Fixed serialization.
7148         (reclaim): Simply cleanup the pool.
7149         (registerStaticAttributeKey): Store mapping in both ways.
7150         (searchImmutableSet): New helper method for caching.
7151         (toString): Fixed for output like the RI.
7152         * javax/swing/text/StyleConstants.java
7153         (keys): New field. Stores all known keys.
7154         (StyleConstants): Store created key in keys list.
7155         * javax/swing/event/EventListenerList.java
7156         (readObject): Fixed deserialization.
7157         (writeObject): Fixed serialization.
7158
7159 2006-08-25  Roman Kennke  <kennke@aicas.com>
7160
7161         * javax/swing/text/CompositeView.java
7162         (insets): Removed. Replaced by single short fields.
7163         (top): New field. Replaces insets.
7164         (bottom): New field. Replaces insets.
7165         (left): New field. Replaces insets.
7166         (right): New field. Replaces insets.
7167         (CompositeView): Initialize insets fields.
7168         (createDefaultLocation): Removed unneeded method.
7169         (getBottomInset): Return field directly.
7170         (getTopInset): Return field directly.
7171         (getLeftInset): Return field directly.
7172         (getRightInset): Return field directly.
7173         (getInsideAllocation): Adjusted to work on new insets fields.
7174         (getViewIndex): Fixed check.
7175         (loadChildren): Don't replace the old children.
7176         (replace): Make sure that there is an array to operate on.
7177         Only set parent to null, when it is this View.
7178         (setInsets): Adjusted to work with new insets fields.
7179         (setParagraphInsets): Fixed to pull insets directly from
7180         StyleConstants.
7181
7182 2006-08-25  Roman Kennke  <kennke@aicas.com>
7183
7184         * javax/swing/text/ComponentView.java
7185         (Interceptor): New inner helper class. Used to propagate
7186         invalidate requests and cache component layout sizes.
7187         (interceptor): New field.
7188         (getAlignment): Fetch alignment from interceptor container.
7189         (getComponent): Don't create component here. This is done
7190         in setParent().
7191         (getMaximumSpan): Fetch layout info from interceptor. Check
7192         for illegal axis.
7193         (getMinimumSpan): Fetch layout info from interceptor. Check
7194         for illegal axis.
7195         (getPreferredSpan): Fetch layout info from interceptor. Check
7196         for illegal axis.
7197         (modelToView): Fixed model to view mapping.
7198         (viewToModel): Fixed view to model mapping.
7199         (paint): Check for null. Set bounds on interceptor rather
7200         then component.
7201         (setParentImpl): Install interceptor between component
7202         and hosting container.
7203         (setParent): Call super.setParent() immediately.
7204
7205 2006-08-25  Roman Kennke  <kennke@aicas.com>
7206
7207         * javax/swing/text/LabelView.java
7208         (setPropertiesFromAttributes): Only set background when
7209         the corresponding attribute is actually defined, otherwise
7210         set to null, as the StyleConstants would return black.
7211         * javax/swing/text/DefaultStyledDocument.java
7212         (ElementBuffer.documentEvent): Removed obsolete field.
7213         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7214         to correctly update the element structure.
7215         (ElementBuffer.insertContentTag): Removed unused statement.
7216         (ElementBuffer.recreateAfterFracture): Removed
7217         unused obsolete method.
7218         (setCharacterAttributes): Removed unused statement.
7219
7220 2006-08-25  Roman Kennke  <kennke@aicas.com>
7221
7222         * examples/gnu/classpath/examples/swing/Demo.java
7223         (LaterMain.run): Removed unused local variable.
7224         (Demo): Don't put desktop in scrollpane.
7225         (addChildren): Removed unused method.
7226         (mkButtonBar): Added HTML demo.
7227         (mkMenuBar): Added HTML demo.
7228         (mkPanel): Removed unused method.
7229         (mkScrollPane): Removed unused method.
7230         (mkTree): Removed unused method.
7231         (valign2str): Removed unused method.
7232         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7233         Initialize text field with some HTML that already works.
7234         (DEBUG): New field. Set to true for debugging output.
7235         (createContent): Dump element tree after parsing.
7236
7237 2006-08-25  Roman Kennke  <kennke@aicas.com>
7238
7239         * javax/swing/text/html/CSS.java
7240         (getValue): Added color value conversion.
7241         * javax/swing/text/html/HTMLDocument.java
7242         (HTMLReader.ConvertAction): New class, converts HTML style tags
7243         to CSS attributes.
7244         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7245         * javax/swing/text/html/InlineView.java
7246         (setPropertiesFromAttributes): Implemented to fetch
7247         CSS character attributes.
7248         * javax/swing/text/html/StyleSheet.java
7249         (addCSSAttribute): Convert value.
7250         (getBackground): Implemented to fetch CSS background color
7251         attribute.
7252         (getForeground): Implemented to fetch CSS color
7253         attribute.
7254         (getFont): Adjust font size for superscript and subscript.
7255         (translateHTMLToCSS): Rudimentary implementation that
7256         copies the original attributes, so that any CSS attributes in
7257         there are preserved.
7258         (stringToColor): Use CSSColor for conversion.
7259         * gnu/javax/swing/text/html/css/CSSColor.java:
7260         New class. Converts CSS color values to RGB color values.
7261         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7262         Removed. This is more or less replaced by CSSColor and the
7263         ConvertAction in HTMLReader.
7264
7265 2006-08-25  Roman Kennke  <kennke@aicas.com>
7266
7267         * javax/swing/text/BoxView.java
7268         (childReqs): Removed obsolete field.
7269         (baselineLayout): Reimplemented for correct baseline layout.
7270         (baselineRequirements): Reimplemented for correct baseline
7271         layout.
7272         (updateChildRequirements): Removed obsolete method.
7273         * javax/swing/text/GlyphView.java
7274         (DefaultGlyphPainter.getSpan): Removed unused statement.
7275         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7276         specially. The subscript/superscript layout is performed
7277         via the alignment, the font is supplied by the StyleContext.
7278         (breakView): Removed unused statements.
7279         (getAlignment): Adjust alignment according to the
7280         superscript/subscript setting.
7281         (getFont): Reimplemented to fetch the font from the style
7282         context, or from the document if the stylecontext is not
7283         available.
7284         (getPreferredSpan): Adjust span for superscript. Use switch
7285         instead of if-else.
7286         * javax/swing/text/LabelView.java
7287         (setPropertiesFromAttributes): Fetch background and foreground
7288         from document / style context.
7289         (isSubscript): Resync properties if needed.
7290         * javax/swing/text/ParagraphView.java
7291         (Row.calculateMinorAxisRequirements): Overridden to perform
7292         a baseline layout.
7293         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7294
7295 2006-08-24  Roman Kennke  <kennke@aicas.com>
7296
7297         * javax/swing/text/Utilities.java
7298         (BUF_LENGTH): Removed unused field.
7299         (drawTabbedText): Removed unneeded cast.
7300         (getBreakLocation): Removed unneeded cast.
7301         Fixed offset to account for Segments not starting at 0.
7302
7303 2006-08-24  Roman Kennke  <kennke@aicas.com>
7304
7305         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7306         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7307         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7308         (ScrollingPane.updateUI): Likewise.
7309         (calculateTabWidth): Rewritten to correctly and efficiently
7310         layout the tab width.
7311         (layoutLabel): Call SwingUtilities method with the tabPane
7312         as argument.
7313         (paintContentBorderLeftEdge): Removed unused statement.
7314         (paintContentBorderRightEdge): Removed unused statement.
7315         (paintContentBorder): Removed unused statement.
7316
7317 2006-08-24  Roman Kennke  <kennke@aicas.com>
7318
7319         * javax/swing/plaf/basic/BasicTextUI.java
7320         (RootView.getAttributes): Overridden to return null,
7321         as the RootView has no parent.
7322
7323 2006-08-24  Roman Kennke  <kennke@aicas.com>
7324
7325         * javax/swing/text/html/CSSParser.java: Removed.
7326         * javax/swing/text/html/CSS.java
7327         (getValue): New helper method. Returns special converter
7328         instances for certain kinds of property values.
7329         * javax/swing/text/html/HTMLDocument.java
7330         (HTMLReader.CharacterAction.start): Don't translate tags
7331         here. Instead, store the attributes directly with the tag
7332         as key.
7333         (content): Removed field. The Content object is handled
7334         by AbstractDocument.
7335         (styleSheet): Removed field. The styleSheet is the styleContext
7336         of this document and handled by the DefaultStyledDocument already.
7337         (HTMLDocument(Content,StyleSheet): Simply call super here.
7338         The super classes already handle the content and styleContext.
7339         (HTMLDocument()): Call this() with a default GapContent and
7340         StyleSheet.
7341         (getStyleSheet): Return the styleContext here.
7342         (insertUpdate): New method. Overridden to add the
7343         CONTENT dummy tag to the element's attributes.
7344         (setBase): Set the base on the styleContext.
7345         * javax/swing/text/html/HTMLEditorKit.java
7346         (styleContext): Removed unneeded field.
7347         (styleSheet): Made field private.
7348         (HTMLEditorKit): Do nothing here. The StyleSheet is
7349         created lazily in getStyleSheet(). A styleContext is not
7350         needed here.
7351         (getStyleSheet): Create StyleSheet correctly.
7352         (insertHTML): Removed unneeded cast.
7353         * javax/swing/text/html/InlineView.java
7354         (attributes): New field.
7355         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7356         (getAttributes): Implemented to fetch the attributes from
7357         the stylesheet.
7358         * javax/swing/text/html/MultiAttributeSet.java: New class.
7359         Multiplexes between several AttributeSets.
7360         * javax/swing/text/html/MultiStyle.java: New class.
7361         Multiplexes between several Styles.
7362         * javax/swing/text/html/ParagraphView.java
7363         (attributes): New field.
7364         (getAttributes): Implemented to fetch the attributes from
7365         the stylesheet.
7366         * javax/swing/text/html/StyleSheet.java
7367         (CssParser): Removed inner class.
7368         (CSSStyle): New inner class. Represents a style defined
7369         by a CSS rule.
7370         (CSSStyleSheetParserCallback): New class, for parsing
7371         CSS stylesheets.
7372         (css): New field. Stores the CSS rules.
7373         (resolvedStyles): New field. Stores resolved styles.
7374         (StyleSheet): Initialize resolvedStyles map.
7375         (addRule): Removed bogus impl.
7376         (getFont): Implemented to fetch font, based on CSS rules.
7377         (getResolvedStyle): New helper method. Looks up resolved
7378         styles, and resolves a style if necessary.
7379         (resolveStyle): New pair of helper methods. Resolves
7380         CSS style rules.
7381         (getRule(String)): Provide rudimentary implementation.
7382         (getRule(Tag,Element)): Implemented.
7383         (getViewAttributes): Implemented.
7384         (loadRules): Implemented.
7385         (translateHTMLToCSS): Tagged as not implemented.
7386         * javax/swing/text/html/ViewAttributeSet.java: New class.
7387
7388 2006-08-24  Roman Kennke  <kennke@aicas.com>
7389
7390         * javax/swing/text/FlowView.java:
7391         (LogicalView.getAttributes): New method. Overrides super
7392         impl to return the attributes of the FlowView instance.
7393         * javax/swing/text/LabelView.java:
7394         (setPropertiesFromAttributes): Fetch attributes from
7395         View, rather then from the Element. (In the HTML
7396         package the getAttributes() method is overridden to
7397         return different attributes). Fetch font from the StyledDocument.
7398
7399 2006-08-24  Roman Kennke  <kennke@aicas.com>
7400
7401         * javax/swing/text/DefaultEditorKit.java:
7402         (DefaultKeyTypedAction.actionPerform): Also filter
7403         ALT and CTRL modifiers.
7404
7405 2006-08-24  Roman Kennke  <kennke@aicas.com>
7406
7407         * gnu/javax/swing/text/html/css/FontSize.java,
7408         * gnu/javax/swing/text/html/css/FontStyle.java,
7409         * gnu/javax/swing/text/html/css/FontWeight.java:
7410         New classes. Used to convert CSS font attributes to AWT/Swing
7411         Font constants.
7412
7413 2006-08-24  Francis Kung  <fkung@redhat.com>
7414         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7415         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7416         (srccs, dstcs, rasterValid): Variables removed.
7417         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7418         (copyRaster): Check for null rendering hints
7419         (createCompatibleColorModel): New private method.
7420         (createCompatibleDestImage): Re-implemented.
7421         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7422         (createCompatibleDestRaster(Raster)): Re-implemented.
7423         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7424         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7425         (getPoint2D): Clean up formatting.
7426         * java/awt/image/ComponentColorModel.java
7427         (constructor): use findBits method instead of passing null.
7428         (findBits): New method.
7429
7430 2006-08-24  Gary Benson  <gbenson@redhat.com>
7431
7432         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7433         addresses.
7434
7435 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7436
7437         * java/lang/ref/Reference.java
7438         (queue, nextOnQueue): Made volatile.
7439         (enqueue): Made thread safe.
7440         * java/lang/ref/ReferenceQueue.java
7441         (lock): New field.
7442         (poll): Removed synchronized.
7443         (enqueue): Changed to synchronize on lock object, to update Reference
7444         state and return success status.
7445         (dequeue, remove): Synchronize on lock object.
7446
7447 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7448
7449         * java/security/SecureClassLoader.java
7450         (protectionDomainCache): Changed to HashMap.
7451         (SecureClassLoader): Removed redundant security check.
7452         (defineClass(String,byte[],int,int,CodeSource): Moved
7453         protection domain lookup/construction to new method.
7454         (defineClass(String,ByteBuffer,CodeSource): New method.
7455         (getProtectionDomain): New method.
7456
7457 2006-08-23  Roman Kennke  <kennke@aicas.com>
7458
7459         * javax/swing/JComponent.java
7460         (isRepainting): Made package private.
7461         (paintChild): New field.
7462         (findOpaqueParent): Removed method. This is now in
7463         paintImmediately().
7464         (findOverlapFreeParent): Removed method. This is now
7465         in paintImmediately2().
7466         (findPaintRoot): Removed method. This is now
7467         in paintImmediately2().
7468         (isCompletelyObscured): Changed to take rectangle as single
7469         ints as argument.
7470         (isPaintingDoubleBuffered): Removed method. This is now
7471         in paintImmediately2().
7472         (isPartiallyObscured): New helper method.
7473         (onTop): New helper method for optimization.
7474         (paintChildren): Paint only to specific child when
7475         requested like this from paintImmediately2().
7476         (paintDoubleBuffered): Changed to take rectangle as single int
7477         arguments.
7478         (paintImmediately2): Changed to take rectangle as single int
7479         arguments. Optimized determination of paint root.
7480         (paintImmediately(Rectangle)): Change to delegate to
7481         paintImmediately(int,int,int,int).
7482         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7483         and start painting there.
7484         (paint): Call paintDoubleBuffered() with int arguments. Only
7485         paint component, when not completely occupied by opaque child.
7486         (processKeyBinding): Removed unnecessary cast.
7487         (isOccupiedByChild): New helper method.
7488         * javax/swing/RepaintManager.java
7489         (repaintUnderway): Removed obsolete field.
7490         (commitRequests): Removed obsolete field.
7491         (RepaintManager): Removed initialization of obsolete fields.
7492         (addDirtyRegion): Removed unused statement.
7493         (commitBuffer): Changed to take plain ints as argument.
7494         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7495         Compute offsets in place, rather than using SwingUtilities.
7496         (paintDirtyRegions): Removed unused field.
7497         * javax/swing/JMenuItem.java
7498         (onTop): Return true when not descendant of JInternalFrame.
7499         * javax/swing/JPopupMenu.java
7500         (onTop): Return true.
7501         * javax/swing/JToolTip.java
7502         (onTop): Return true.
7503         * javax/swing/JViewport.java
7504         (paintImmediately2): Change signature to match the
7505         corresponding JComponent method.
7506
7507 2006-08-23  Tania Bento  <tbento@redhat.com>
7508
7509         * java/awt/Color.java
7510         (brighter): Modified algorithm to correctly determine the
7511         new brighter colour.
7512
7513 2006-08-23  Roman Kennke  <kennke@aicas.com>
7514
7515         * java/awt/Container.java
7516         (maxSize): Removed field. This is already declared in Component.
7517         (validateTree): Check for ContainerPeer. Don't addNotify here.
7518         Only validate Component instances if they are invalid.
7519
7520 2006-08-22  Roman Kennke  <kennke@aicas.com>
7521
7522         * javax/swing/JComponent.java
7523         (preferredSize): Removed field.
7524         (maximumSize): Removed field.
7525         (minimumSize): Removed field.
7526         (getMaximumSize): Adjusted to delegate to Component, rather
7527         then managing the size in JComponent.
7528         (getMinimumSize): Adjusted to delegate to Component, rather
7529         then managing the size in JComponent.
7530         (getPreferredSize): Adjusted to delegate to Component, rather
7531         then managing the size in JComponent.
7532         (isMaximumSizeSet): Removed.
7533         (isMinimumSizeSet): Removed.
7534         (isPreferredSizeSet): Removed.
7535         (setMaximumSize): Removed.
7536         (setMinimumSize): Removed
7537         (setPreferredSize): Removed.
7538
7539 2006-08-22  Roman Kennke  <kennke@aicas.com>
7540
7541         * javax/swing/AbstractButton.java
7542         (ButtonChangeListener.stateChanged): Delegate to combined
7543         handler.
7544         (EventHandler): New inner class. Handles all three types
7545         of events on the model.
7546         (eventHandler): New field. Stores the combined event
7547         handler.
7548         (AbstractButton): Moved listener initialization to
7549         setModel().
7550         (createActionListener): Return combined handler.
7551         (createChangeListener): Return combined handler.
7552         (createItemListener): Return combined handler.
7553         (getEventHandler): New helper method for creating the combined
7554         handler.
7555         (setModel): Initialize listeners here.
7556         * javax/swing/plaf/basic/BasicButtonListener.java
7557         (ButtonAction): New class. Implements the keyboard action
7558         for buttons.
7559         (checkOpacity): Implemented.
7560         (createDefaultActionMap): New helper method.
7561         (installKeyboardActions): Rewritten to install InputMap
7562         and ActionMap according to 'new' keyboard input method.
7563         (mouseClicked): Commented as no-op.
7564         (mouseDragged): Commented as no-op.
7565         (mouseMoved): Commented as no-op.
7566         (propertyChange): Check for contentAreaFilled change and
7567         update opacity. Pull handling of HTLM in font and text handler.
7568         (stateChanged): Repaint button.
7569         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7570         * javax/swing/plaf/basic/BasicButtonUI.java
7571         (listener): Removed.
7572         (sharedListener): New static field. Stores the shared listener.
7573         (sharedUI): New static field. Stores the shared UI.
7574         (createButtonListener): Return shared instance here.
7575         (createUI): Return shared instance here.
7576         (getButtonListener): New helper method. Looks for the
7577         BasicButtonListener installed on a button and returns it.
7578         (installDefaults): Correctly install rollover property here.
7579         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7580         (installKeyboardActions): Fetch listener with new helper method.
7581         (installListeners): Don't use removed field. Check for null.
7582         (installUI): Added comment about order of method invocations.
7583         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7584         (uninstallKeyboardActions): Fetch listener with new helper method.
7585         (uninstallListeners): Fetch listener with new helper method.
7586         (paintIcon): Paint icon offset when pressed and armed.
7587         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7588         * javax/swing/plaf/metal/MetalButtonUI.java
7589         (sharedUI): New field. Stores the shared UI.
7590         (MetalButtonUI): Don't initialize fields here.
7591         (createButtonListener): Removed method. Use super impl.
7592         (createUI): Return shared instance.
7593         (getDisabledTextColor): Update field here.
7594         (getFocusColor): Update field here.
7595         (getSelectColor): Update field here.
7596         (installDefaults): Don't handle rollover property here.
7597         (uninstallDefaults): Don't handle rollover property here.
7598         (paintButtonPressed): Use accessor method to update the
7599         field value.
7600
7601 2006-08-21  Mark Wielaard  <mark@klomp.org>
7602
7603         Merge NATIVE_LAYER branch.
7604
7605         2006-08-20  Mark Wielaard  <mark@klomp.org>
7606
7607         * doc/tools.texinfo: Add file from trunk.
7608         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7609         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7610         headers.
7611         * native/jni/java-lang/java_lang_VMProcess.c
7612         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7613         * native/jni/java-net/java_net_VMInetAddress.c
7614         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7615         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7616         files.
7617         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7618         mask.
7619         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7620         theaddr.
7621         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7622         cpnet.h.
7623         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7624         don't implement.
7625         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7626         argument.
7627         * include/java_lang_VMProcess.h: Regenerated.
7628
7629         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7630
7631         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7632         (nativeReceive): Fixed the type of the arrays (use java types).
7633         (nativeSendTo): Force throwing an exception if port is 0.
7634
7635         * native/jni/java-net/javanet.c:
7636         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7637         returned.
7638         (_javanet_recvfrom): Likewise.
7639         (_javanet_sendto): Throw a NullPointerException if the socket is
7640         not connected and no address is given.
7641         
7642         * native/jni/java-net/javanet.h
7643         (NULL_EXCEPTION): Defined.
7644
7645         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7646
7647         * native/jni/java-net/java_net_VMInetAddress.c
7648         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7649         error.
7650
7651         * native/jni/java-net/javanet.c
7652         (_javanet_accept): Fixed bogus call to TARGET.
7653         (_javanet_create_inetaddress): Fixed address generation. Fixed
7654         bogus memory free.
7655         (_javanet_bind): set "Reuse address" flag.
7656
7657         * native/jni/native-lib/cpio.c
7658         (cpio_getModificationTime): Fixed type.
7659         (cpio_removeFile): Use rmdir too.
7660
7661         * native/jni/native-lib/cpnet.c
7662         (cpnet_getHostByName): Fixed error detection.
7663
7664         * native/jni/native-lib/cpnet.h
7665         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7666         memory.
7667         (cpnet_IPV4AddressToBytes): Fixed types.
7668         
7669         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7670
7671         * native/jni/native-lib/cpio.c
7672         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7673
7674         * native/jni/native-lib/cpnet.h:
7675         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7676         messed by signs in jbyte.
7677         
7678         * native/jni/native-lib/cpproc.h
7679         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7680
7681         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7682
7683         * native/jni/native-lib/cpnet.c
7684         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7685         (waitForWritable, waitForReadable): New functions.
7686         (socketTimeouts): New static global table to hold timeouts for all
7687         socket fds.
7688         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7689         Added waitForXXXX safeguards to handle socket timeouts.
7690
7691         * native/jni/java-net/javanet.c
7692         (_javanet_accept): Check for the right error value when a timeout
7693         occurs.
7694         
7695         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7696
7697         * native/jni/java-io/Makefile.am,
7698         native/jni/java-lang/Makefile.am,
7699         native/jni/java-net/Makefile.am,
7700         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7701
7702         * native/jni/native-lib/Makefile.am: Added cpproc.c
7703
7704         * native/jni/native-lib/cpio.c: Implemented missing functions for
7705         CPIO.
7706
7707         * native/jni/native-lib/cpnet.c
7708         (cpnet_getHostByName): Fixed address array initialization.
7709         
7710         * native/jni/native-lib/cpproc.c: Implemented.
7711         
7712         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7713
7714         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7715
7716         * m4/gcc_attribute.m4: New file from ac_archive.
7717         
7718         * native/jni/java-net/javanet.c: Adapted to cpnet API
7719         modification.
7720
7721         * native/jni/native-lib/cpnet.c: Implemented.
7722
7723         * native/jni/native-lib/cpnet.h
7724         (cpnet_openSocketDatagram,
7725         cpnet_openSocketStream): These calls need an address family now.
7726         (cpnet_IPV4AddressToBytes,
7727         cpnet_bytesToIPV4Address): Convert the address to network order.
7728         
7729         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7730
7731         * native/jni/java-io/java_io_VMFile.c,
7732         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7733         native/jni/midi-dssi/dssi_data.h,
7734         native/jni/native-lib/cpio.c,
7735         native/jni/native-lib/cpmath.h: Removed cpmath
7736         dependency. Fixed coding style.
7737
7738         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7739
7740         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7741         dependency. Simplified the JNI code by moving some part into the
7742         native layer.
7743
7744         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7745
7746         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7747
7748         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7749         errors. Removed any remaining TARGET invocations.
7750
7751         * native/jni/java-net/javanet.c
7752         (_javanet_create_inetaddress): Removed spurious arr and
7753         octets. Fixed compilation errors.
7754
7755         * native/jni/native-lib/cpnet.h
7756         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7757         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7758         cpnet_isIPV4Address): New functions.
7759         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7760         the rest.
7761         
7762         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7763
7764         * native/jni/java-io/java_io_VMFile.c,
7765         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7766         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7767         native/jni/java-net/javanet.c,
7768         native/jni/java-net/javanet.h: Adapted the VM layer code
7769         to the new native layer.
7770
7771         * native/jni/native-lib/cpnet.h
7772         (cpnet_addMembership,
7773         cpnet_dropMembership,
7774         cpnet_getAvailableBytes): Added the declarations of
7775         some new functions.
7776         (cpnet_newIPV6Address,
7777         cpnet_IPV6AddressToBytes,
7778         cpnet_bytesToIPV6Address): Implemented.
7779         (cpnet_newIPV4Address): Initialize the sin_family field.
7780
7781         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7782
7783         * native/target: Removed.
7784
7785         * configure.ac: Removed target from CLASSPATH_INCLUDES and
7786         Makefile generation.
7787
7788         * native/jni/native-lib/Makefile.am,
7789         native/jni/native-lib/cpnet.h,
7790         native/jni/native-lib/cpnet.c
7791         native/jni/native-lib/cpio.h,
7792         native/jni/native-lib/cpio.c,
7793         native/jni/native-lib/cpmath.h: Imported new native compatibility
7794         layer.
7795
7796 2006-08-21  Roman Kennke  <kennke@aicas.com>
7797
7798         * gnu/javax/swing/text/html/css/CSSParser.java:
7799         New class.
7800         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7801         New interface.
7802         * gnu/javax/swing/text/html/css/CSSParserException.java:
7803         New exception.
7804         * gnu/javax/swing/text/html/css/CSSScanner.java:
7805         Adjusted API comments. Made all constants package private.
7806         (EOF): New constant field.
7807         (parseBuffer): Made package private.
7808         (tokenEnd): Made package private.
7809         (CSSScanner): Initialize lookahead buffer with -1.
7810         (main): Print out to System.out rather then System.err.
7811         (nextToken): Push back character after IDENT.
7812
7813 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7814
7815         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7816
7817 2006-08-21  Roman Kennke  <kennke@aicas.com>
7818
7819         * gnu/javax/swing/text/html/css/CSSScanner.java
7820         (main): Use buffered input stream.
7821         (nextToken): Removed 65536 workaround. Use int value directly
7822         without cast to char.
7823         (readComment): Use int value directly without cast to char.
7824         Cast to char only when putting the character into the buffer.
7825         (readEscape): Likewise.
7826         (readIdent): Likewise.
7827         (readName): Likewise.
7828         (readNum): Likewise.
7829         (readString): Likewise.
7830         (readWhitespace): Likewise.
7831
7832 2006-08-21  Ingo Proetel  <proetel@aicas.com>
7833
7834         * java/io/InputStreamReader.java
7835         (bytesCache): New field.
7836         (cacheLock): New field.
7837         (read(byte[],int,int): Avoid allocations of new byte
7838         array on every call and reuse cached byte array if possible.
7839
7840 2006-08-21  Roman Kennke  <kennke@aicas.com>
7841
7842         * gnu/java/net/local/LocalSocketImpl.java
7843         Only load native lib if this is supported by runtime.
7844         * native/jni/java-net/local.c
7845         Include config.h unconditionally.
7846         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
7847         Include config.h unconditionally.
7848
7849 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
7850
7851         * java/io/ObjectInputStream.java
7852         (objectLookupTable): Changed to be a Vector.
7853         (ObjectInputStream): Initialize objectLookupTable as Vector.
7854         (assignNewHandle): Store Object using handle index rather than
7855         Hashtable, using the new rememberHandle() method.
7856         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
7857         with a caching in ObjectStreamClass.
7858         (inputGetObjectStreamClass): Replaced by hierarchy().
7859         (lookupHandle): New method. Looks up an object by it's handle
7860         index.
7861         (parseContent): Avoid creating of Integer objects. Use
7862         hierarchy() method for looking up the class hierarchy.
7863         (processResolution): Use rememberHandle() to store
7864         handle per index, rather than Hashtabling the object.
7865         (readFields): 
7866         (rememberHandle): New method.
7867         * java/io/ObjectOutputStream.java
7868         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
7869         Hashtable for improved lookup performance.
7870         (ObjectOutputStream): Initialize OIDLookupTable as
7871         ObjectIdentityMap2Int.
7872         (assignNewHandle): Change to use ObjectIdentityMap2Int.
7873         (findHandle): Change to use ObjectIdentityMap2Int.
7874         (getBooleanField): Removed.
7875         (getByteField): Removed.
7876         (getCharField): Removed.
7877         (getDoubleField): Removed.
7878         (getField): Removed.
7879         (getFloatField): Removed.
7880         (getIntField): Removed.
7881         (getLongField): Removed.
7882         (getObjectField): Removed.
7883         (writeFields(Object,ObjectStreamClass)): Use new helper method.
7884         (writeFields(Object,ObjectStreamField)): New helper method.
7885         Use switch rather then if-else cascade.
7886         (writeObject): Use int handle, rather then Integer.
7887         * java/io/ObjectStreamClass.java
7888         (hierarchy): New field. Caches the class hierarchy.
7889         (methodCache): New field. Caches methods.
7890         (readObjectSignature): New field. Stores the read signature.
7891         (uidCache): New field. Caches UIDs.
7892         (writeObjectSignature): New field. Stores the write signature.
7893         (cacheMethods): Cache methods in methodCache.
7894         (calculateClassID): Outsourced from getClassUID()
7895         for computing the UIDs.
7896         (getClassUIDFromField): Outsourced from getClassUID() for
7897         fetching the UID from the class field.
7898         (getClassUID): Use cached uid if possible. Use new helper
7899         methods for fetching the UID from the field or computing
7900         from scratch.
7901         (getObjectStreamClasses): Removed. Replaced by more
7902         efficient hierarchy() method, that also caches the result.
7903         (hierarchy): Replaces getObjectStreamClasses() for caching
7904         the result.
7905         (loadedByBootOrApplicationClassLoader): New helper method.
7906         (setClass): Invalidate hierarchy cache.
7907         (setSuperclass): Invalidate hierarchy cache.
7908         * java/io/ObjectStreamField.java
7909         (field): Made field package private for access from other
7910         classes.
7911         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
7912         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
7913         hashtable for mapping objects to ints.
7914
7915 2006-08-21  Roman Kennke  <kennke@aicas.com>
7916
7917         * java/io/File.java
7918         (getAbsolutePath): Fetch absolute path from
7919         VMFile.getAbsolutePath(). Moved actual impl to there.
7920         (isAbsolute): Let VMFile determine the absoluteness.
7921         (toURL): Let VMFile convert the filename.
7922         * vm/reference/java/io/VMFile.java
7923         (getAbsolutePath): New method.
7924         (isAbsolute): New method.
7925         (toURL): New method.
7926
7927 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7928
7929         * NEWS: Added note about updated VM interface.
7930
7931 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7932
7933         * java/lang/management/ManagementFactory.java:
7934         Updated documentation.
7935         
7936 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7937
7938         Fixes bug #28412
7939         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
7940         New methods.
7941         * gnu/java/util/regex/CharIndexedCharSequence.java,
7942         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
7943         new methods above.
7944         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
7945         (match): call the new method setHitEnd of the input,
7946         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
7947         Some optimization commented out, Use CharIndexed#move1 instead of move.
7948         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
7949         * gnu/java/util/regex/REToken.java(match): The method body has been
7950         moved to an internal private method, (matchFake): New method,
7951         (setHitEnd): New method.
7952         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
7953         if the match is not complete, (matchOneString): Count the number of
7954         characters which matched the pattern.
7955         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
7956         (setFake): New method, (match): Call super.match or super.matchFake.
7957         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
7958         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
7959         setHitEnd of the input,
7960         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
7961         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
7962         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
7963
7964 2006-08-18  Tom Tromey  <tromey@redhat.com>
7965
7966         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
7967         the 'int', not the cast char.
7968
7969 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7970
7971         * scripts/check_jni_methods.sh: Don't use the "set -C" command
7972         which isn't available in all shells.
7973
7974 2006-08-18  Roger Sayle  <roger@eyesopen.com>
7975
7976         * lib/Makefile.am (resources): Fix some shell portability issues.
7977
7978 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7979
7980         * configure.ac (tool-wrappers): Check for ltdl support when tool
7981         wrapper binaries are enabled.
7982         * tools/Makefile.am (LIBJVM): Remove variable.
7983         (AM_CPPFLAGS): Add LIBJVM define.
7984         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
7985         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
7986         gjavah_LDFLAGS): Remove variables.
7987         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
7988
7989 2006-08-18  Tom Tromey  <tromey@redhat.com>
7990
7991         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
7992         debugging prints.
7993         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
7994         print.
7995         (readEntries): Likewise.
7996
7997 2006-08-17  Roman Kennke  <kennke@aicas.com>
7998
7999         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8000         (layoutLabel): Reset the text and icon rectangles.
8001
8002 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8003
8004         PR classpath/28537
8005         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8006         Transform gappletviewer name using program_transform_name.
8007
8008 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8009
8010         * javax/swing/filechooser/FileSystemView.java
8011         (getFileSystemView): Always return UnixFileSystemView, since
8012         that's the only one we got. Marked with NotImplementedException.
8013         * javax/swing/plaf/basic/BasicFileChooserUI.java
8014         (mouseClicked, installUI): Don't parse path by hand.
8015
8016 2006-08-17  Roman Kennke  <kennke@aicas.com>
8017
8018         * javax/swing/JComponent.java
8019         (scrollRectToVisible): Handle intermediate non-JComponents
8020         more gracefully.
8021
8022 2006-08-17  Roman Kennke  <kennke@aicas.com>
8023
8024         * javax/swing/RepaintManager.java
8025         (blitBuffer): Removed. This is now done in commitBuffer().
8026         (commitBuffer): Always paint on the root window or applet.
8027         No need to look for intermediate heavyweights. Optimized
8028         rectangle translation.
8029         (commitRemainingBuffers): Removed. Not needed anymore.
8030         (getHeavyweightParent): Removed. Not needed anymore.
8031         (getOffscreenBuffer): Fetch offscreen image from the
8032         actual root component.
8033         (paintDirtyRegions): Don't call commitRemainingBuffers().
8034
8035 2006-08-17  Roman Kennke  <kennke@aicas.com>
8036
8037         * javax/swing/SwingUtilities.java
8038         (clipString): New helper method for trimming strings.
8039         (layoutCompoundLabelImpl): Fixed algorithm to conform
8040         testsuites. Trim text if it's too long. Avoid creating
8041         new Rectangles. Optimized for performance.
8042         (layoutCompoundLabel): Use switch rather then if-else-chain.
8043         * javax/swing/plaf/basic/BasicButtonUI.java
8044         (viewR): New field.
8045         (iconR): New field.
8046         (textR): New field.
8047         (paint): Reset and use cached rectangles. Only call paintIcon()
8048         if icon is not null. Don't call paintButtonPressed() when
8049         button is selected, only when it is both armed and pressed.
8050         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8051         (getPreferredButtonSize): Reused cached rectangles rather
8052         then creating new ones. Don't create new Rectangle via
8053         Rectangle.union().
8054         * javax/swing/plaf/basic/BasicLabelUI.java
8055         (getPreferredSize): Correctly reset cached rectangles. Especially
8056         the view rect must have a big size to give it room for layouting.
8057         Short cut layout when text == null.
8058         (paint): Correctly reset cached rectangles.
8059         * javax/swing/plaf/basic/BasicMenuItemUI.java
8060         (resetRectangles): New helper method.
8061         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8062         (paintMenuItem): Correctly reset the cached rectangles.
8063         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8064         (getPreferredSize): Use cached Rectangle objects and initialize
8065         them correctly.
8066         (paint): Use cached Rectangle objects and initialize
8067         them correctly.
8068
8069 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8070
8071         * java/util/Calendar.java: API doc additions.
8072
8073 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8074
8075         * javax/swing/DefaultButtonModel.java:
8076         (setRollover): Simplified statement.
8077
8078 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8079
8080         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8081         (loadClass): Rewritten to use getClassLoader.
8082         (loadProxyClass): Implemented.
8083         (getClassLoader): Fixed support for null or empty codebase.
8084         * gnu/java/rmi/server/RMIObjectInputStream.java
8085         (resolveClass): Use user class loader as default class loader.
8086         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8087         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8088         (loadClass): Simplified and use user class loader instead of
8089         context class loader as default.
8090         * java/io/ObjectInputStream.java
8091         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8092         * vm/reference/gnu/classpath/VMStackWalker.java
8093         (firstNonNullClassLoader): New method.
8094         * vm/reference/java/io/VMObjectInputStream.java
8095         (loaderAction, currentClassLoader): Removed.
8096
8097 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8098
8099         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8100         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8101         by current scroll offset, added method documention.
8102         (getTabBounds(int, Rectangle)): Added method documentation.
8103         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8104         (paintContentBorderLeftEdge): Changed y to 1.
8105
8106 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8107
8108         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8109         (MouseHandler.mouseReleased): Implemented.
8110         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8111         (MouseHandler.mouseEntered): Dito.
8112         (MouseHandler.mouseExited): Dito.
8113         (MouseHandler.mouseMoved): Dito.
8114         (MouseHandler.redispatchEvent): New method.
8115         (PropertyChangeHandler.propertyChange): Added extra block level,
8116         added code to handle tab placement changes, added comment.
8117         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8118
8119 2006-08-16  Roman Kennke  <kennke@aicas.com>
8120
8121         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8122         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8123         New file.
8124
8125 2006-08-16  Mark Wielaard  <mark@klomp.org>
8126
8127         * java/awt/Component.java (orientation): Renamed to
8128         componentOrientation.
8129         (setComponentOrientation): Use new field name.
8130         (getComponentOrientation): Likewise.
8131
8132 2006-08-16  Roman Kennke  <kennke@aicas.com>
8133
8134         PR 28750
8135         * javax/swing/plaf/basic/BasicTreeUI.java
8136         (CellEditorHandler.editingCancelled): Call completeEditing
8137         directly.
8138         (CellEditorHandler.editingStopped): Call completeEditing
8139         directly.
8140         (NodeDimensionHandler.getNodeDimensions): Rewritten
8141         to use the preferred sizes of the renderer and editor.
8142         (TreeExpansionHandler.treeCollapsed): Complete editing
8143         here.
8144         (TreeSelectionHandler.valueChanged): Complete editing
8145         here.
8146         (cancelEditing): Call completeEditing with false, false and
8147         false. Don't call finish (removed method).
8148         (completeEditing(boolean,boolean,boolean): Only do something when
8149         stopEditingInCompleteEditing is true. Nullify editingComponent
8150         and editingPath. Remove editingComponent from tree. Update
8151         the layout when necessary and repaint.
8152         (completeEditing): Stop editing when necessary.
8153         (editorRequestFocus): New helper method. Request focus
8154         on the actual editor.
8155         (finish) Removed. This is now done in completeEditing().
8156         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8157         (setLargeModel): Complete editing here.
8158         (setRootVisible): Complete editing here.
8159         (setRowHeight): Complete editing here.
8160         (setSelectionModel): Complete editing here.
8161         (startEditing): Correctly initialize and start editing.
8162         (updateExpandedDescendants): Complete editing here.
8163         * javax/swing/tree/DefaultTreeCellEditor.java
8164         (DefaultTextField): Fetch size from super and use renderer's height
8165         if appropriate.
8166         (EditorContainer.EditorContainer): Set layout to null, just
8167         to make sure.
8168         (EditorContainer.doLayout): Layout so that the editor
8169         is offset to the right of the icon.
8170         (EditorContainer.getPreferredSize): Implemented to
8171         provide a reasonable preferred size.
8172         (EditorContainer.paint): Position icon in the middle.
8173         Also paint border if appropriate.
8174         (EditorContainer.setBounds): Removed.
8175         (RealEditorListener): Removed.
8176         (DefaultTreeCellEditor): Set correct border.
8177         (cancelCellEditing): Message real editor. Call finish().
8178         (createCellEditor): Don't add listener.
8179         (determineOffset): Correctly determine offset, and update
8180         the icon.
8181         (finish): New helper method.
8182         (getTreeCellEditorComponent): Set correct font. Call
8183         prepareForEditing() and determineOffset() to correctly initialize
8184         the state.
8185         (stopCellEditing): Messsage realEditor to stop editing. Call
8186         finish to clean up.
8187         (stopEditingTimer): Removed.
8188         (valueChanged): Correctly reset lastPath.
8189         * javax/swing/tree/DefaultTreeCellRenderer.java
8190         (getPreferredSize): Return super plus some extra space for
8191         better readability.
8192
8193 2006-08-16  Roman Kennke  <kennke@aicas.com>
8194
8195         * javax/swing/plaf/metal/MetalTreeUI.java
8196         (LineStyleListener): New property listener, that updates
8197         the line style setting if the corresponding property
8198         changes.
8199         (lineStyleListener): New field.
8200         (lineStyle): New field.
8201         (LINE_STYLE_ANGLED): New constant field.
8202         (LINE_STYLE_HORIZONTAL): New constant field.
8203         (LINE_STYLE_NONE): New constant field.
8204         (LINE_STYLE_VALUE_ANGLED): New constant field.
8205         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8206         (LINE_STYLE_VALUE_NONE): New constant field.
8207         (LINE_STYLE_PROPERTY): New constant field.
8208         (decodeLineStyle): Implemented.
8209         (installUI): Install line style listener. Set initial
8210         lineStyle.
8211         (uninstallUI): Uninstall line style listener.
8212         (paintHorizontalPartOfLeg): Only call super for angled
8213         lineStyle.
8214         (paintVerticalPartOfLeg): Only call super for angled
8215         lineStyle.
8216         (paintHorizontalSeparators): Implemented.
8217         (paint): If lineStyle==HORIZONTAL, call
8218         paintHorizontalSeparators().
8219         * examples/gnu/classpath/examples/swing/TreeDemo.java
8220         (createContent): Add panel for selecting line styles.   
8221
8222 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8223         
8224         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8225         (createContent): Rewritten.
8226         (createPlacementChangingMenuItem): New method.
8227         (createLayoutPolicyChangingMenuItem): New method.
8228         (createTabbedPane): New method.
8229         (createTabContent): New method.
8230
8231 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8232
8233         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8234         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8235         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8236
8237 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8238
8239         * javax/swing/text/WrappedPlainView.java:
8240         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8241         (calculateBreakPosition): Add p0 to return value.
8242
8243 2006-08-15  Roman Kennke  <kennke@aicas.com>
8244
8245         * javax/swing/plaf/basic/BasicTreeUI.java
8246         (MouseHandler.selectedOnPress): New field.
8247         (MouseHandler.handleEvent): New helper method for handling
8248         selection and start/stop editing for mouse events.
8249         (MouseHandler.mouseDragged): Commented as no-op method.
8250         (MouseHandler.mouseMoved): Commented as no-op method.
8251         (MouseHandler.mousePressed): Use handleEvent() to handle
8252         selection and editing handling.
8253         (MouseHandler.mouseReleased): Use handleEvent() to handle
8254         selection and editing handling.
8255         (MouseInputHandler.MouseInputHandler): Register itself
8256         as mouse listener on source. Redispatch event to
8257         destination.
8258         (MouseInputHandler.dispatch): New helper method.
8259         (MouseInputHandler.mouseClicked): Dispatch event.
8260         (MouseInputHandler.mouseDragged): Dispatch event.
8261         (MouseInputHandler.mouseEntered): Stop dispatching
8262         if dragging stopped.
8263         (MouseInputHandler.mouseExited): Stop dispatching
8264         if dragging stopped.
8265         (MouseInputHandler.mouseMoved): Stop dispatching.
8266         (MouseInputHandler.mousePressed): Marked as no-op.
8267         (MouseInputHandler.mouseReleased): Dispatch and stop
8268         dispatching afterwards.
8269         (MouseInputHandler.removeFromSource): Implemented.
8270         (PropertyChangeHandler.propertyChange): Also handle
8271         editable property changes by calling setEditable().
8272         (SelectionModelPropertyChangeHandler.propertyChange):
8273         Reset row selection.
8274         (startEditTimer): Removed.
8275         (setCellEditor): Call updateEditor().
8276         (setEditable): Call updateEditor().
8277         (startEditingAtPath): Make path fully visible before starting
8278         editing.
8279         (startEditing): Maybe cancel previous edit session. Add
8280         editing component itself, not its parent container.
8281         Register MouseInputHandler for correctly redispatching
8282         initial events.
8283         (stopEditing): Message cellEditor and only completeEditing()
8284         when approved by cell editor.
8285         (updateCellEditor): Complete editing before updating
8286         the cell editor. Get cell editor from JTree if possible,
8287         otherwise create default editor. Update the listeners
8288         on the editor.
8289         * javax/swing/tree/DefaultTreeCellEditor.java
8290         (CLICK_COUNT_TO_START): Removed.
8291         (DefaultTreeCellEditor): Install correct border. Let setTree()
8292         update the listeners. Don't initialize lastPath and font yet.
8293         (actionPerformed): Implemented to start editing.
8294         (createTreeCellEditor): Set click count to start to 1, rather than
8295         3.
8296         (isCellEditable): Prepare editor here. Determine if we can
8297         start immediately, or if we trigger a timer to do so.
8298         (prepareForEditing): Don't removeAll() (not necessary),
8299         check editingComponent to be non-null.
8300         (setTree): Update listeners.
8301         (shouldStartEditingTimer): Check for left mouse button.
8302         (startEditingTimer): Lazily create timer.
8303
8304 2006-08-15  Lillian Angel  <langel@redhat.com>
8305
8306         * java/awt/dnd/DropTargetDragEvent.java
8307         (getTransferable): Implemented.
8308
8309 2006-08-15  Roman Kennke  <kennke@aicas.com>
8310
8311         * java/util/Vector.java
8312         (removeAll): Added comment about NPE.
8313         (retainAll): Added comment about NPE.
8314
8315 2006-08-15  Roman Kennke  <kennke@aicas.com>
8316
8317         * java/util/zip/ZipFile.java
8318         (UTF8DECODER): Removed.
8319         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8320         (utf8Decoder): New instance field.
8321         (decodeChars): Lazily create UTF8 decoder. Use instance
8322         field rather than a static field to avoid corruption.
8323
8324 2006-08-15  Roman Kennke  <kennke@aicas.com>
8325
8326         * java/io/PrintStream.java
8327         (line_separator): Provide default for system property.
8328         * java/io/FileDescriptor.java
8329         (valid): Create local copy of channel field for better
8330         threading safetly.
8331
8332 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8333
8334         * java/util/zip/ZipFile.java
8335         (PartialInputStream.UTF8DECODER): New constant field, used
8336         for decoding UTF8 strings.
8337         (readLeShort): Access buffer directly if it has enough bytes
8338         available.
8339         (readLeInt): Access buffer directly if it has enough bytes
8340         available.
8341         (decodeChars): New helper method for decoding UTF8 strings.
8342         (readString): Avoid NIO charset decoder if possible.
8343
8344 2006-08-15  Roman Kennke  <kennke@aicas.com>
8345
8346         * java/util/Vector.java
8347         (removeAll): Don't explicitly null-check here. The RI allows
8348         null arguments when Vector is empty. In other cases we
8349         implicitly throw an NPE.
8350         (retainAll): Don't explicitly null-check here. The RI allows
8351         null arguments when Vector is empty. In other cases we
8352         implicitly throw an NPE.
8353
8354 2006-08-14  Casey Marshall  <csm@gnu.org>
8355
8356         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8357         of changes made on this branch.
8358         Files modified:
8359         * gnu/classpath/debug/Component.java
8360         * gnu/classpath/debug/SystemLogger.java
8361         * gnu/java/security/action/GetPropertyAction.java
8362         * gnu/java/security/action/GetSecurityPropertyAction.java
8363         * gnu/javax/crypto/RSACipherImpl.java
8364         * gnu/javax/net/ssl/PrivateCredentials.java
8365         * gnu/javax/net/ssl/provider/Alert.java
8366         * gnu/javax/net/ssl/provider/AlertException.java
8367         * gnu/javax/net/ssl/provider/Certificate.java
8368         * gnu/javax/net/ssl/provider/CertificateRequest.java
8369         * gnu/javax/net/ssl/provider/CertificateType.java
8370         * gnu/javax/net/ssl/provider/CertificateVerify.java
8371         * gnu/javax/net/ssl/provider/CipherSuite.java
8372         * gnu/javax/net/ssl/provider/ClientHello.java
8373         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8374         * gnu/javax/net/ssl/provider/CompressionMethod.java
8375         * gnu/javax/net/ssl/provider/Constructed.java
8376         * gnu/javax/net/ssl/provider/ContentType.java
8377         * gnu/javax/net/ssl/provider/DiffieHellman.java
8378         * gnu/javax/net/ssl/provider/Extension.java
8379         * gnu/javax/net/ssl/provider/Finished.java
8380         * gnu/javax/net/ssl/provider/Handshake.java
8381         * gnu/javax/net/ssl/provider/Jessie.java
8382         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8383         * gnu/javax/net/ssl/provider/Random.java
8384         * gnu/javax/net/ssl/provider/ServerHello.java
8385         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8386         * gnu/javax/net/ssl/provider/Signature.java
8387         * gnu/javax/net/ssl/provider/Util.java
8388         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8389         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8390         * java/security/MessageDigest.java
8391         * java/security/MessageDigestSpi.java
8392         * java/security/Signature.java
8393         * java/security/SignatureSpi.java
8394         * javax/crypto/Mac.java
8395         * javax/crypto/MacSpi.java
8396         * javax/net/ssl/HandshakeCompletedEvent.java
8397         * javax/net/ssl/HttpsURLConnection.java
8398         * javax/net/ssl/SSLContext.java
8399         * javax/net/ssl/SSLContextSpi.java
8400         * javax/net/ssl/SSLSession.java
8401         Files added:
8402         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8403         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8404         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8405         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8406         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8407         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8408         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8409         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8410         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8411         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8412         * gnu/javax/net/ssl/provider/ServerNameList.java 
8413         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8414         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8415         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8416         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8417         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8418         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8419         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8420         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8421         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8422         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8423         * gnu/javax/net/ssl/provider/Record.java 
8424         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8425         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8426         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8427         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8428         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8429         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8430         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8431         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8432         * gnu/javax/net/ssl/provider/ExtensionList.java 
8433         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8434         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8435         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8436         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8437         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8438         * gnu/javax/net/ssl/provider/SessionImpl.java 
8439         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8440         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8441         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8442         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8443         * gnu/javax/net/ssl/provider/HelloRequest.java 
8444         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8445         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8446         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8447         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8448         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8449         * gnu/javax/net/ssl/provider/CertificateURL.java 
8450         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8451         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8452         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8453         * gnu/javax/net/ssl/provider/Builder.java 
8454         * gnu/javax/net/ssl/provider/Debug.java 
8455         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8456         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8457         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8458         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8459         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8460         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8461         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8462         * javax/net/ssl/SSLEngine.java 
8463         * javax/net/ssl/CertPathTrustManagerParameters.java 
8464         * javax/net/ssl/KeyStoreBuilderParameters.java 
8465         * javax/net/ssl/X509ExtendedKeyManager.java 
8466         * javax/net/ssl/SSLEngineResult.java 
8467         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8468         * gnu/javax/net/ssl/Session.java 
8469         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8470         * gnu/javax/net/ssl/SSLCipherSuite.java 
8471         * gnu/javax/net/ssl/AbstractSessionContext.java 
8472         * gnu/javax/net/ssl/SessionStoreException.java 
8473         * gnu/javax/net/ssl/SSLRecordHandler.java 
8474         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8475         * gnu/javax/crypto/key/GnuPBEKey.java 
8476         * gnu/java/security/util/ByteBufferOutputStream.java 
8477         * gnu/java/security/Requires.java 
8478         * gnu/javax/security/auth/callback/CertificateCallback.java 
8479         Files removed:
8480         * gnu/javax/net/ssl/provider/Context.java
8481         * gnu/javax/net/ssl/provider/DigestInputStream.java
8482         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8483         * gnu/javax/net/ssl/provider/Enumerated.java
8484         * gnu/javax/net/ssl/provider/Extensions.java
8485         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8486         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8487         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8488         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8489         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8490         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8491         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8492         * gnu/javax/net/ssl/provider/KeyPool.java
8493         * gnu/javax/net/ssl/provider/OverflowException.java
8494         * gnu/javax/net/ssl/provider/RecordInput.java
8495         * gnu/javax/net/ssl/provider/RecordInputStream.java
8496         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8497         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8498         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8499         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8500         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8501         * gnu/javax/net/ssl/provider/SSLSocket.java
8502         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8503         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8504         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8505         * gnu/javax/net/ssl/provider/SecurityParameters.java
8506         * gnu/javax/net/ssl/provider/Session.java
8507         * gnu/javax/net/ssl/provider/SessionContext.java
8508         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8509         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8510
8511 2006-08-14  Roman Kennke  <kennke@aicas.com>
8512
8513         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8514         (DividerLayout.layoutContainer): Removed debug output.
8515         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8516         (BasicHorizontalLayoutManager.axis): New field.
8517         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8518         New constructor.
8519         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8520         Call new axis constructor.
8521         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8522         handle direction.
8523         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8524         handle direction.
8525         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8526         Refactored to handle direction.
8527         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8528         to handle direction.
8529         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8530         handle direction.
8531         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8532         to handle direction.
8533         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8534         to handle direction.
8535         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8536         to handle direction.
8537         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8538         divider size.
8539         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8540         New explicit constructor. Calls super with vertical axis.
8541         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8542         to BasicHorizontalLayoutManager.
8543         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8544         moved to BasicHorizontalLayoutManager.
8545         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8546         Functionality moved to BasicHorizontalLayoutManager.
8547         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8548         moved to BasicHorizontalLayoutManager.
8549         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8550         moved to BasicHorizontalLayoutManager.
8551         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8552         Functionality moved to BasicHorizontalLayoutManager.
8553         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8554         moved to BasicHorizontalLayoutManager.
8555         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8556         moved to BasicHorizontalLayoutManager.
8557         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8558         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8559         (BUTTON_SPRITE_R): New constant field.
8560         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8561         L sprite for left buttons.
8562         
8563 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8564
8565         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8566         (query_formats): g_free 'name' after usage.
8567         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8568         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8569
8570 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8571
8572         PR classpath/27723
8573         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8574         seamonkey-plugin.
8575
8576 2006-08-14  Francis Kung  <fkung@redhat.com>
8577
8578         PR 28694
8579         * java/awt/image/ColorModel.java
8580         (coerceData): Added check for non-transparent images.
8581
8582 2006-08-14  Francis Kung  <fkung@redhat.com>
8583
8584         * java/awt/image/BandCombineOp.java
8585         (BandCombineOp): Perform checks on validity of matrix.
8586         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8587         (filter): Updated to work with new matrix storage.
8588         (getMatrix): Updated javadoc.
8589         (getPoint2D): Formatting change.
8590
8591 2006-08-14  Francis Kung  <fkung@redhat.com>
8592
8593         * java/awt/image/AffineTransformOp.java
8594         (AffineTransformOp): Updated javadoc.
8595         (createCompatibleDestImage): Match behaviour of reference implementation.
8596         (createCompatibleDestRaster): Formatting changes.
8597         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8598         (filter(Raster, WritableRaster)): Re-implemented.
8599         (filterBicubic): New private method.
8600         (filterBilinear): New private method.
8601         (filterNearest): New private method.
8602         (getBounds2D): No longer fixed around one point for rotations.
8603         (getInterpolationType): Add support for bicubic interpolation.
8604
8605 2006-08-14  Roman Kennke  <kennke@aicas.com>
8606
8607         * javax/swing/plaf/metal/MetalLookAndFeel.java
8608         (MetalLookAndFeel): Moved theme initialization to
8609         getDefaults().
8610         (createDefaultTheme): Forward to getCurrentTheme().
8611         (getDefaults): Initialize theme before doing anything else.
8612         (getCurrentTheme): Recognize swing.metalTheme property.
8613
8614 2006-08-14  Roman Kennke  <kennke@aicas.com>
8615
8616         * javax/swing/JTable
8617         (getScrollableUnitIncrement): Expose partially exposed
8618         row in scrolling direction.
8619
8620 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8621
8622         * javax/swing/JTable (getScrollableUnitIncrement): 
8623         Removing my name as the whole method body have been
8624         recently completely replaced.
8625
8626 2006-08-14  Roman Kennke  <kennke@aicas.com>
8627
8628         PR 28028
8629         * javax/swing/text/Utilities.java
8630         (getTabbedTextOffset): Don't add p0 here.
8631
8632 2006-08-14  Roman Kennke  <kennke@aicas.com>
8633
8634         PR 28719
8635         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8636         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8637         when wheel is going up.
8638
8639 2006-08-14  Roman Kennke  <kennke@aicas.com>
8640
8641         PR 28693
8642         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8643         (BasicOneTouchButton): New inner class.
8644         (DividerLayout.changeButtonOrientation): Removed.
8645         (DividerLayout.positionButtons): Moved into layoutContainer.
8646         (DividerLayout.layoutContainer): Reworked for correct layout.
8647         (OneTouchAction): New inner class.
8648         (centerOneTouchButtons): New field.
8649         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8650         UIManager.
8651         (createLeftOneTouchButton): Reimplemented to return
8652         BasicOneTouchButton.
8653         (createRightOneTouchButton): Reimplemented to return
8654         BasicOneTouchButton.
8655         (getPreferredSize): Reimplemented to return fixed preferredSize.
8656         (oneTouchExpandableChanged): Add OneTouchAction action to
8657         buttons. Don't install mouse listeners.
8658         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8659         (paint): Don't trigger extra paint for buttons.
8660         (propertyChange): Revalidate splitPane when orientation is changed.
8661         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8662         oneTouchExpandable is true.
8663         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8664         (installDefaults): Install dividerSize on the divider too.
8665         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8666         (MetalDividerLayout): Removed. Functionality is already
8667         in BasicSplitPaneDivider.DividerLayout.
8668         (MetalOneTouchButton): New inner class.
8669         (BUTTON_SPRITE): New constant field.
8670         (MetalSplitPaneDivider): Don't change layout.
8671         (createLeftOneTouchButton): Overridden to return custom button
8672         for Metal.
8673         (createRightOneTouchButton): Overridden to return custom button
8674         for Metal.
8675         (paint): Don't trigger button painting. Call super instead.
8676
8677 2006-08-13  Roman Kennke  <kennke@aicas.com>
8678
8679         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8680         (installKeyboardAction): Unmarked as stub. Added comment
8681         explaining that the RI seems to do nothing here.
8682         (uninstallKeyboardAction): Unmarked as stub. Added comment
8683         explaining that the RI seems to do nothing here.
8684
8685 2006-08-13  Roman Kennke  <kennke@aicas.com>
8686
8687         PR 28135
8688         * javax/swing/ScrollPaneLayout.java
8689         (layoutContainer): Consider the viewportBorder of the
8690         JScrollPane.
8691         (minimumLayoutSize): Consider the viewportBorder of the
8692         JScrollPane.
8693         (preferredLayoutSize): Consider the viewportBorder of the
8694         JScrollPane.
8695         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8696         (installDefaults): Also install viewportBorder if specified.
8697         (paint): Paint viewportBorder if present.
8698         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8699         Don't nullify foreground, background and font. Uninstall
8700         border via LookAndFeel helper method to avoid uninstall
8701         user set border.
8702
8703 2006-08-13  Roman Kennke  <kennke@aicas.com>
8704
8705         PR 28696
8706         * javax/swing/plaf/basic/BasicHTML.java
8707         (HTMLRootView.HTMLRootView): Trigger initial layout.
8708         (HTMLRootView.setSize): Overridden to forward to real view.
8709         * javax/swing/plaf/basic/BasicToolTipUI.java
8710         (PropertyChangeHandler): New inner class. Updates the HTML
8711         renderer.
8712         (propertyChangeHandler): New field.
8713         (getMaximumSize): Add HTML width delta.
8714         (getMinimumSize): Add HTML width delta.
8715         (getPreferredSize): Reimplemented to use HTML view for size
8716         calculation if appropriate, otherwise use simple stringWidth()
8717         measurement.
8718         (installListeners): Install propertyChangeHandler.
8719         (uninstallListeners): Uninstall propertyChangeHandler.
8720         (installUI): Update HTML renderer.
8721         (uninstallUI): Update HTML renderer.
8722         (paint): Reimplemented to use HTML view for rendering if
8723         appropriate, simple drawString otherwise.
8724         * javax/swing/plaf/metal/MetalToolTipUI.java
8725         (getPreferredSize): Call super and add accelerator delta.
8726         (paint): Simply call super.
8727
8728 2006-08-13  Roman Kennke  <kennke@aicas.com>
8729
8730         * javax/swing/JMenu.java
8731         (changeListener): Renamed to menuChangeListener to avoid
8732         shadowing changeListener field from AbstractButton.
8733
8734 2006-08-13  Roman Kennke  <kennke@aicas.com>
8735
8736         * javax/swing/JTree.java
8737         (getScrollableUnitIncrement): Fixed direction.
8738         (getScrollableBlockIncrement): Implemented to scroll one
8739         page.
8740         * javax/swing/tree/VariableHeightLayoutCache.java
8741         (distance): Consider y + height already outside the node.
8742
8743 2006-08-13  Roman Kennke  <kennke@aicas.com>
8744
8745         * javax/swing/JTable.java
8746         (getScrollableUnitIncrement): Fixed direction. Make it behave
8747         like the RI.
8748         (getScrollableBlockIncrement): Fixed direction. Make it behave
8749         like the RI.
8750
8751 2006-08-13  Roman Kennke  <kennke@aicas.com>
8752
8753         * javax/swing/JList.java
8754         (getScrollableUnitIncrement): Fixed direction. Implemented
8755         horizontal scrolling. Improved usability.
8756         (getScrollableBlockIncrement): Fixed direction. Improved usability.
8757
8758 2006-08-13  Roman Kennke  <kennke@aicas.com>
8759
8760         * javax/swing/plaf/basic/BasicScrollBarUI.java
8761         (scrollByUnit): Scroll by -unit when direction is not positive
8762         and +unit otherwise.
8763         (scrollByBlock): Scroll by -unit when direction is not positive
8764         and +unit otherwise.
8765
8766 2006-08-13  Roman Kennke  <kennke@aicas.com>
8767
8768         PR 28028
8769         * javax/swing/text/PlainView.java
8770         (paint): Limit painted area to the lines inside the clip
8771         and allocation.
8772
8773 2006-08-13  Roman Kennke  <kennke@aicas.com>
8774
8775         * javax/swing/plaf/basic/BasicTextUI.java
8776         (uninstallListeners): Unregister document listener.
8777
8778 2006-08-13  Sven de Marothy  <sven@physto.se>
8779
8780         * java/util/Locale.java
8781         (hashcodeCache): New field.
8782         (hashCode): use the above field instead of the serialized one
8783         (writeObject): Removed method.
8784         (readObject): Intern strings.
8785         (equals): Revert to previous method.
8786
8787 2006-08-13  Roman Kennke  <kennke@aicas.com>
8788
8789         * javax/swing/JTabbedPane.java
8790         (JTabbedPane): Call setModel() here and let this install the
8791         change listener correctly.
8792         (setModel): Correctly uninstall and reinstall ChangeListener when
8793         model changes.
8794
8795 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8796
8797         PR Classpath/23952
8798         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8799         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8800         (lastDefaultLocale): Removed.
8801         (emptyLocale): Likewise.
8802         (BundleKey.defaultLocale): New field.
8803         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8804         (BundleKey.set): Likewise.
8805         (BundleKey.equals): Take defaultLocal field into consideration.
8806         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8807
8808 2006-08-13  Roman Kennke  <kennke@aicas.com>
8809
8810         * javax/swing/JMenu.java
8811         (MenuChangeListener): New inner class, helps firing menu events.
8812         (changeListener): New field.
8813         (add(text)): Create new JMenuItem here and call add(JMenuItem).
8814         (add(Action)): Create Action using createActionComponent()
8815         and add via add(Component).
8816         (setModel): Install and uninstall MenuChangeListener here.
8817
8818 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8819
8820         PR Classpath/27372
8821         * java/math/BigInteger.java: Updated copyright year.
8822         (init): Consume as little bytes as possible.
8823         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
8824         (valueOf(String, int)): Throw NumberFormatException for malformed strings
8825         as per RI's documentation.
8826
8827 2006-08-13  Sven de Marothy  <sven@physto.se>
8828
8829         * java/util/Locale.java
8830         (hashcode): Is a serialized field, not transient.
8831         (equals): Should NOT compare strings by reference.
8832         (readObject/writeObject): Use the default methods and handle the hash
8833         seperately.
8834
8835 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8836
8837         PR Classpath/28678
8838         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
8839         Updated documentation.
8840         Formatting.
8841         (getInstance(String, String, Provider, Object[])): Likewise.
8842         Separate checks for null and empty string arguments.
8843         Include as much information as possible in the exception's message.
8844         Do not swallow original exception; instead use it as the cause of the
8845         resulting exception.
8846         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
8847         (getInstance(String)): Updated documentation.
8848         Formatting.
8849         Store last exception caught when iterating through all providers.
8850         If no implementation found, raise last exception if one was caught.
8851         (getInstance(String, String)): Updated documentation.
8852         Formatting.
8853         Check for null or empty provider as per RI-5's documentation.
8854         (getInstance(String, Provider)): Updated documentation.
8855         Formatting.
8856         Use as much information as possible in the exception message.
8857         Do not swallow original exception; instead use it as the cause for the
8858         ultimate raised exception(s).
8859         * java/security/cert/CertificateFactory.java: Likewise.
8860         * java/security/cert/CertPathBuilder.java: Likewise.
8861         * java/security/cert/CertPathValidator.java: Likewise.
8862         * java/security/cert/CertStore.java: Likewise.
8863         * java/security/AlgorithmParameterGenerator.java: Likewise.
8864         * java/security/AlgorithmParameters.java: Likewise.
8865         * java/security/KeyFactory.java: Likewise.
8866         * java/security/KeyPairGenerator.java: Likewise.
8867         * java/security/KeyStore.java: Likewise.
8868         * java/security/MessageDigest.java: Likewise.
8869         * java/security/SecureRandom.java: Likewise.
8870         * java/security/Signature.java: Likewise.
8871         * javax/crypto/Cipher.java: Likewise.
8872         * javax/crypto/ExemptionMechanism.java: Likewise.
8873         * javax/crypto/KeyAgreement.java: Likewise.
8874         * javax/crypto/KeyGenerator.java: Likewise.
8875         * javax/crypto/Mac.java: Likewise.
8876         * javax/crypto/SecretKeyFactory.java: Likewise.
8877         * javax/net/ssl/KeyManagerFactory.java: Likewise.
8878         * javax/net/ssl/SSLContext.java: Likewise.
8879         * javax/net/ssl/TrustManagerFactory.java: Likewise.
8880
8881 2006-08-13  Roman Kennke  <kennke@aicas.com>
8882
8883         * javax/swing/JEditorPane.java
8884         (getScrollableTracksViewportHeight): Also check maximum size.
8885         * javax/swing/JTextPane.java
8886         (insertIcon): Use input attributes for adding the icon
8887         attribute.
8888         * javax/swing/plaf/basic/BasicTextUI.java
8889         (RootView.setSize): Overridden to forward to real view.
8890         (getPreferredSize): Trigger setSize() on the view.
8891         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
8892         to viewToModel() call, rather then null.
8893         * javax/swing/text/ParagraphView.java
8894         (changedUpdate): Invalide layout. Call super.
8895         * javax/swing/text/SimpleAttributeSet.java
8896         (clone): Use super's clone method to create clone.
8897         * javax/swing/text/StyleConstants.java
8898         (setIcon): Also set element name attribute.
8899         * javax/swing/text/StyledEditorKit.java
8900         (BoldAction.actionPerformed): Actually set the bold attribute,
8901         not italic.
8902         (setCharacterAttributes): Replaced with more straightforward
8903         impl.
8904         * javax/swing/text/TextAction.java
8905         (getFocusedComponent): Implemented.
8906         * javax/swing/text/Utilities.java
8907         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
8908         of null.
8909         * javax/swing/text/View.java
8910         (changedUpdate): Nullify element change when updateChildren
8911         says so.
8912
8913 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8914
8915         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
8916         Fix documentation typos.
8917
8918 2006-08-11  David Daney  <ddaney@avtrex.com>
8919
8920         PR classpath/28580
8921         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
8922         createResponseBodyStream in more cases and with new parameter.
8923         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
8924         HEAD and !mayHaveBody responses specially.
8925         
8926 2006-08-11  Roman Kennke  <kennke@aicas.com>
8927
8928         * javax/swing/text/GlyphView.java
8929         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
8930         * javax/swing/text/LabelView.java
8931         (valid): New flag indicating if the text attributes are valid.
8932         (LabelView): Initialize valid field with false.
8933         (setPropertiesFromAttributes): Call setter methods instead
8934         of setting properties directly. Set valid to true.
8935         (changedUpdate): Invalidate attributes. Call super.
8936         (getBackground): Sync attributes if necessary.
8937         (getForeground): Sync attributes if necessary.
8938         (getFont): Sync attributes if necessary.
8939         (isUnderline): Sync attributes if necessary.
8940         (isSuperscript): Sync attributes if necessary.
8941         (isStrikeThrough): Sync attributes if necessary.
8942         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
8943         from toolkit if Container is not available yet.
8944
8945 2006-08-11  Roman Kennke  <kennke@aicas.com>
8946
8947         * javax/swing/text/PlainView.java
8948         (tabBase): New field.
8949         (tabSize): New field.
8950         (updateMetrics): Update tabSize.
8951         (lineToRect): Only allocate when really necessary.
8952         (modelToView): Use tabBase for offset calculations.
8953         (paint): Only allocate when really necessary. Update tabBase.
8954         (nextTabStop): Fixed tab calculation.
8955         (viewToModel): Correctly handle multiline text and locations
8956         outside the view's bounds. Set bias.
8957         (getLineLength): Use tabBase.
8958         * javax/swing/text/Utilities.java
8959         (drawTabbedText): Don't special case newlines. The views
8960         must take care of this.
8961
8962 2006-08-11  Roman Kennke  <kennke@aicas.com>
8963
8964         * javax/swing/text/GapContent.java
8965         (UndoPosRef): New inner class. Used for resetting positions
8966         after undo/redo operations.
8967         (InsertUndo.positions): New field.
8968         (InsertUndo.undo): Store positions in removed range.
8969         (InsertUndo.redo): Restore positions in re-inserted range.
8970         (UndoRemove.positions): New field.
8971         (UndoRemove.UndoRemove): Store positions in removed range.
8972         (UndoRemove.undo): Restore positions in re-inserted range.
8973         (UndoRemove.redo): Store positions in removed range.
8974         (insertString): Create InsertUndo instance before actually
8975         inserting the string.
8976         (remove): Create UndoRemove instance before actually
8977         removing.
8978         (getPositionsInRange): Don't clear the Vector. Return Vector
8979         of UndoPosRefs.
8980         (updateUndoPositions): Implemented to reset all UndoPosRefs
8981         in the vector.
8982
8983 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
8984
8985         * java/io/ObjectInputStream.java (readClassDescriptor):
8986         Use class's class loader to resolve field types.
8987         * java/io/ObjectStreamField.java
8988         (ObjectStreamField(String,String,ClassLoader)): Removed.
8989         (ObjectStreamField(String,String)): Don't try to resolve typename.
8990         (resolveType): New method.
8991
8992 2006-08-10  Roman Kennke  <kennke@aicas.com>
8993
8994         * javax/swing/text/BoxView.java
8995         (calculateMajorAxisRequirements): Sum up the preferred and
8996         maximum sizes.
8997         (isAfter): Also add in the rectangle's with/height.
8998         (childAllocation): Don't trigger layout here.
8999         (layoutMinorAxis): Removed debug output.
9000         (getWidth): Consider the insets.
9001         (getHeight): Consider the insets.
9002         (setSize): Consider the insets.
9003         (updateRequirements): Check axis and throw
9004         IllegalArgumentException.
9005
9006 2006-08-10  Roman Kennke  <kennke@aicas.com>
9007
9008         * javax/swing/text/AbstractDocument.java
9009         (BidiRootName): New constant field, denotes the element name
9010         for bidi root elements.
9011         (AsyncLoadPriority): New constant field, denotes the property
9012         to store the asynchronousLoadPriority.
9013         (I18N): New constant field, denotes the property for
9014         I18N support.
9015         (bidiRoot): Made field type BidiRootElement.
9016         (AbstractDocument): Build initial element structure for
9017         bidi.
9018         (getAsynchronousLoadPriority): Implemented. Returns the
9019         value stored in the document properties.
9020         (setAsynchronousLoadPriority): Implemented. Sets the
9021         value stored in the document properties.
9022         (getEndPosition): Implemented to use a Position from the
9023         content.
9024         (getStartPosition): Implemented to use a Position from the
9025         content.
9026         (insertStringImpl): Update the I18N setting if necessary.
9027         (insertUpdate): Update the bidi structure if necessary.
9028         (postRemoveUpdate): Update the bidi structure if necessary.
9029         (putProperty): Update the I18N setting and bidi structure
9030         if necessary.
9031         (updateBidi): New helper method for updating the bidi
9032         structure.
9033         (getBidis): New helper method. Fetches the Bidi analysers
9034         for the paragraphs of the range to check.
9035         (dump): Also dump the bidi structure.
9036         (AbstractElement.dump): Indent the '>' correctly.
9037         (AbstractElement.children): Check numChildren rather then
9038         children.length.
9039         (BidiRootElement): New inner class.
9040         (BidiElement): New inner class.
9041
9042 2006-08-10  Roman Kennke  <kennke@aicas.com>
9043
9044         * javax/swing/text/GapContent.java
9045         (getChars): Optimized to only copy array when really necessary.
9046         Respect the partialReturn property.
9047
9048 2006-08-10  Lillian Angel  <langel@redhat.com>
9049
9050         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9051         (getComponentPeer): Added check to prevent NPE.
9052
9053 2006-08-10  Gary Benson  <gbenson@redhat.com>
9054
9055         * java/security/AccessControlContext.java (<init>):
9056         Avoid a duplicated AccessController.getContext() call.
9057
9058 2006-08-09  Mark Wielaard  <mark@klomp.org>
9059   
9060         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9061         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9062         * doc/www.gnu.org/announce/20060809.wml: New file.
9063
9064 2006-08-09  Mark Wielaard  <mark@klomp.org>
9065
9066         * configure.ac (VERSION): Set to 0.92-generics.
9067         * NEWS: Add updates for 0.92 release.
9068
9069 2006-08-09  Tom Tromey  <tromey@redhat.com>
9070
9071         PR classpath/28658:
9072         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9073         the pattern match any number of spaces in the text.
9074
9075 2006-08-09  Sven de Marothy  <sven@physto.se>
9076
9077         * java/awt/image/BufferedImage.java
9078         (BufferedImage): Reimplement predefined-type constructor.
9079         (observers/tileObservers): Field renamed to tileObservers.
9080         (createDefaultIndexedColorModel): New method.
9081
9082 2006-08-09  Tom Tromey  <tromey@redhat.com>
9083
9084         PR classpath/28666:
9085         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9086         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9087         Create a 'short' array.
9088
9089 2006-08-09  Tom Tromey  <tromey@redhat.com>
9090
9091         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9092         handle arrays.
9093         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9094         (writeFields): Print "L" after int constant.  Don't mangle the field
9095         name.  Only print int/long fields.
9096
9097 2006-08-09  Tom Tromey  <tromey@redhat.com>
9098
9099         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9100         "javah".
9101
9102 2006-08-09  Sven de Marothy  <sven@physto.se>
9103
9104         * javax/swing/JTree.java
9105         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9106         (setSelectionModel): Null parameter should create an EmptySelectionM.
9107
9108 2006-08-09  Roman Kennke  <kennke@aicas.com>
9109
9110         * javax/swing/text/AbstractDocument.java
9111         (insertString): Perform modifications inside a write lock.
9112         (insertStringImpl): Don't lock here. This is already done
9113         in insertString().
9114         (replace): Perform modifications inside a write lock.
9115         (AbstractElement.AbstractElement): Call addAttributes() to
9116         add the attributes.
9117         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9118         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9119         (BranchElement.BranchElement): Set lastIndex to -1.
9120         (BranchElement.getElementIndex): Implemented more efficient
9121         search.
9122
9123 2006-08-09  Roman Kennke  <kennke@aicas.com>
9124
9125         * javax/swing/text/DefaultStyledDocument.java
9126         (Edit): Moved this inner class into ElementBuffer where it
9127         is actually needed.
9128         (edits): Moved this field into ElementBuffer.
9129         (getEditForParagraphAndIndex): Removed obsolete method.
9130         (insertUpdate): Added some optimizations and fixes. Split
9131         out handling insertion after newlines.
9132         (insertAfterNewline): New helper method. Handles insertions
9133         after a newline.
9134         (ElementBuffer.Edit): New inner class. Moved here from
9135         DefaultStyledDocument.
9136         (ElementBuffer.createdFracture): New field.
9137         (ElementBuffer.documentEvent): Made private.
9138         (ElementBuffer.edits): New field. Moved here from
9139         DefaultStyledDocument.
9140         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9141         (ElementBuffer.fracturedChild): New field.
9142         (ElementBuffer.fracturedParent): New field.
9143         (ElementBuffer.insertPath): New field.
9144         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9145         fracturedParent.
9146         (ElementBuffer.offsetLastIndex): New field.
9147         (ElementBuffer.offsetLastIndexReplace): New field.
9148         (ElementBuffer.recreateLeafs): New field.
9149         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9150         (ElementBuffer.canJoin): New helper method.
9151         (ElementBuffer.changeUpdate): Changed to use elementStack with
9152         Edits rather than Elements. Let the split method do the work.
9153         (ElementBuffer.cloneAsNecessary): New helper method.
9154         (ElementBuffer.createFracture): Changed to fracture the bottommost
9155         child in the stack.
9156         (ElementBuffer.finishEdit): New helper method. Moved out
9157         from insertUpdate to perform the actual changes and update
9158         the event.
9159         (fracture): New helper method.
9160         (insertContentTag): Fixed some bugs and changed to use Edit
9161         instances in the stack, rather then Elements.
9162         (insertElement): New helper method. Moved out from insertUpdate()
9163         to process the ElementSpecs.
9164         (insertFirstContentTag): Fixed some problems and changed to use Edit
9165         instances in the stack, rather then Elements.
9166         (insertFracture): Removed. Basically moved into createFracture()
9167         and fracture().
9168         (insertParagraph): Removed.
9169         (insertUpdate): Split out the ElementSpec processing into
9170         insertElement(). Use Edit instances in the stack. Fixed some
9171         problems.
9172         (insert): Split out the preparation and finishing code into
9173         prepareEdit() and finishEdit().
9174         (join): New helper method.
9175         (pop): New helper method.
9176         (prepareEdit): New helper method.
9177         (recreateFracturedElement): New helper method.
9178         (recreateLeaves): Removed.
9179         (recreate): New helper method.
9180         (removeElements): New helper method. Split out from removeUpdate().
9181         (removeUpdate): Split out the actual removal. Use the
9182         Edit stack to perform removal and perform the remove actions
9183         and event updates afterwards, just like in insertImpl().
9184         (remove): Use prepareEdit() and finishEdit().
9185         (split): Replaced with more flexible impl.
9186
9187 2006-08-09  Sven de Marothy  <sven@physto.se>
9188
9189         * gnu/java/awt/peer/gtk/CairoSurface.java
9190         Change class to extend WritableRaster and not DataBuffer.
9191         (CairoDataBuffer): New inner class.
9192         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9193         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9194         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9195         Accomodate the above change.
9196
9197 2006-08-09  Sven de Marothy  <sven@physto.se>
9198
9199         * gnu/java/awt/peer/gtk/GtkMainThread.java
9200         New file.
9201         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9202         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9203         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9204         * gnu/java/awt/peer/gtk/GtkToolkit.java
9205         Minor style fixes; removed unused fields, 
9206         set fields to private where possible.
9207         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9208         Call GtkMainThread.createWindow().
9209         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9210         (dispose): New method.
9211         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9212         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9213         (gtkQuit): New native method.
9214
9215 2006-08-08  Lillian Angel  <langel@redhat.com>
9216
9217         * java/awt/Component.java
9218         (setDropTarget): Added check.
9219
9220 2006-08-08  Lillian Angel  <langel@redhat.com>
9221
9222         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9223         (GtkDragSourceContextPeer): Added FIXME. Changed call
9224         to setTarget. 
9225         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9226         (GtkDropTargetContextPeer): Removed target initialization.
9227         * java/awt/Component.java
9228         (setTarget): Removed commented out code.
9229
9230 2006-08-08  Mark Wielaard  <mark@klomp.org>
9231
9232         * javax/swing/text/DefaultHighlighter.java: Qualify
9233         Highlighter.HighlightPainter class name for gcj.
9234
9235 2006-08-05  Roman Kennke  <kennke@aicas.com>
9236
9237         * javax/swing/plaf/basic/BasicTableUI.java
9238         (MouseInputHandler.mousePressed): Request focus on list
9239         component.
9240
9241 2006-08-05  Roman Kennke  <kennke@aicas.com>
9242
9243         * javax/swing/plaf/basic/BasicListUI.java
9244         (MouseInputHandler.mousePressed): Request focus on list
9245         component.
9246
9247 2006-08-05  Roman Kennke  <kennke@aicas.com>
9248
9249         PR 28650
9250         * javax/swing/plaf/basic/BasicMenuBarUI.java
9251         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9252         than Tree.actionMap.
9253         * javax/swing/plaf/basic/BasicTreeUI.java
9254         (action): Removed obsolete field.
9255         (uninstallKeyboardActions): Removed action field handling.
9256         (installKeyboardActions): Removed action field handling.
9257         (createDefaultActions): Don't install removed TreeAction.
9258         (TreeAction): Removed obsolete inner class.
9259         (ActionListenerProxy): Removed obsolete inner class.
9260         (MouseHandler.mousePressed): Request focus on JTree component
9261         on mouse press.
9262
9263 2006-08-08  Roman Kennke  <kennke@aicas.com>
9264
9265         * javax/swing/plaf/basic/BasicListUI.java
9266         (MouseInputHandler.mousePressed): Request focus on list
9267         component.
9268
9269 2006-08-08  Roman Kennke  <kennke@aicas.com>
9270
9271         * javax/swing/plaf/basic/BasicTableUI.java
9272         (MouseInputHandler.mousePressed): Request focus on list
9273         component.
9274
9275 2006-08-08  Roman Kennke  <kennke@aicas.com>
9276
9277         * javax/swing/plaf/basic/BasicTextUI.java
9278         (damageRange(JTextComponent,int,int)): Call damageRange() with
9279         correct biases, rather than null.
9280         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9281         to use simpler modelToView() approach without much special
9282         casing. This seems not worth the effort and actually
9283         caused problems. Added locking of the document.
9284         * javax/swing/text/BoxView.java
9285         (requirementsValid): New field.
9286         (calculateMajorAxisRequirements): Rewritten without using
9287         SizeRequirements. The SizeRequirements algorithms are slightly
9288         different and too inefficient.
9289         (calculateMinorAxisRequirements): Rewritten without using
9290         SizeRequirements. The SizeRequirements algorithms are slightly
9291         different and too inefficient.
9292         (getAlignment): Simply return the alignment of the cached
9293         requirements.
9294         (getMaximumSpan): Add insets.
9295         (getMinimumSpan): Add insets.
9296         (getPreferredSpan): Add insets.
9297         (layoutMajorAxis): Rewritten without using
9298         SizeRequirements. The SizeRequirements algorithms are slightly
9299         different and too inefficient.
9300         (layoutMinorAxis): Rewritten without using
9301         SizeRequirements. The SizeRequirements algorithms are slightly
9302         different and too inefficient.
9303         (modelToView): Call setSize() rather than layout().
9304         (paint): Check clip for more efficient painting.
9305         (preferenceChanged): Invalidate requirements here.
9306         (replace): Invalidate requirements here.
9307         (updateRequirements): Update requirements only when requirements
9308         are marked invalid.
9309         * javax/swing/text/CompositeView.java
9310         (modelToView): Added some more checks and handling of corner cases.
9311         * javax/swing/text/FlowView.java
9312         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9313         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9314         * javax/swing/text/IconView.java
9315         (getAlignment): Implemented to return 1.0 for vertical alignment.
9316         * javax/swing/text/ParagraphView.java
9317         (Row.getMaximumSpan): Implemented to let Rows span the whole
9318         ParagraphView.
9319         (getAlignment): Fixed horizontal alignment and vertical alignment
9320         for empty paragraphs to be 0.5.
9321
9322 2006-08-08  Roman Kennke  <kennke@aicas.com>
9323
9324         * javax/swing/text/View.java
9325         (modelToView): Added special handling for corner case at the end
9326         of the view and for multiline views.
9327
9328 2006-08-08  Roman Kennke  <kennke@aicas.com>
9329
9330         * javax/swing/plaf/basic/BasicTextUI.java
9331         (modelToView): Read-lock the document. Set size of the
9332         root view before fetching the model-to-view mapping.
9333         (getViewIndex): Check of the position is inside the range and
9334         return -1 if this is not the case.
9335         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9336         view index.
9337         (getViewIndexAtPosition(int)): Delegate the index search to
9338         the element since we have a 1:1 mapping between elements and
9339         views here.
9340         * javax/swing/text/DefaultCaret.java
9341         (appear): Ignore BadLocationException.
9342         (paint): Ignore BadLocationException.
9343         * javax/swing/text/FlowView.java
9344         (changedUpdate): Also notify the layoutPool view.
9345         (removeUpdate): Also notify the layoutPool view.
9346         * javax/swing/text/ParagraphView.java
9347         (Row.getViewIndexAtPosition): Overridden to search linearily
9348         through the view instead of relying on a 1:1 model to view
9349         mapping.
9350         * javax/swing/text/View.java
9351         (removeUpdate): Clear ElementChange object if updateChildren
9352         returns false.
9353         (forwardUpdate): Special handle some boundary cases.
9354
9355 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9356
9357         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9358         (hasInheritedParameters): New method.
9359         (equals): Updated documentation.
9360         Take into consideration the outcome of hasInheritedParameters invocation.
9361         (toString): Call hasInheritedParameters and adjust the result accordingly.
9362         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9363         Updated documentation.
9364         Handle case of public keys with null p, q, and g MPIs.
9365         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9366
9367 2006-08-07  Tom Tromey  <tromey@redhat.com>
9368
9369         PR libgcj/23682:
9370         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9371         (attachment): Likewise.
9372         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9373         synchronized.
9374         (isValid): Likewise.
9375         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9376         (ch): Likewise.
9377         (interestOps): Synchronize.
9378         (readyOps): Likewise.
9379         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9380         interestOps call.
9381
9382 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9383
9384         Fixes PR 28608.
9385         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9386         the mark has been set.
9387         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9388         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9389         allocated data.
9390
9391 2006-08-07  Sven de Marothy  <sven@physto.se>
9392
9393         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9394         (drawGlyphVector): Synchronize against font object when drawing.
9395         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9396         (nativeDrawGlyphVector): Use pango locking when drawing.
9397         (install_font_peer): Use pango locking when creating the cairo face.
9398
9399 2006-08-06  Roman Kennke  <kennke@aicas.com>
9400
9401         PR 28571
9402         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9403         (getPreferredSize): Renamed method to preferredSize(). That's
9404         the one that gets called from java.awt.*.
9405         * java/awt/peer/ComponentPeer.java
9406         (getPreferredSize): Added specnote about this method never
9407         beeing called in the RI.
9408         (getMinimumSize): Added specnote about this method never
9409         beeing called in the RI.
9410
9411 2006-08-03  Sven de Marothy  <sven@physto.se>
9412
9413         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9414         (grab, nativeGrab): New methods.
9415         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9416         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9417         (nativeGrab): New method.
9418         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9419         (print): Implement.
9420         * java/awt/Component.java
9421         (printAll): Should call peer print method.
9422
9423 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9424
9425         * java/net/URL.java (getContent(Class[])): Implement.
9426
9427 2006-08-06  Mark Wielaard  <mark@klomp.org>
9428
9429         PR 28555
9430         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9431         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9432         withParams is null.
9433         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9434         sortKeys is null.
9435
9436 2006-08-06  Roman Kennke  <kennke@aicas.com>
9437
9438         * NEWS: Added note about the X peers.
9439         * INSTALL: Added install notes about the X peers. 
9440
9441 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9442             Paul Jenner  <psj@harker.dyndns.org>
9443
9444         * README: Update bug, patches and cvs instructions plus new URLs of
9445         various external projects.
9446
9447 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9448
9449         * configure.ac (MOZILLA_FOUND): Fall back to
9450         mozilla-firefox-plugin.
9451
9452 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9453
9454         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9455         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9456         g_type_init earlier in function to correctly initialize the
9457         type system used by the backend.
9458
9459 2006-08-05  Roman Kennke  <kennke@aicas.com>
9460   
9461         * javax/swing/text/DefaultHighlight.java
9462         (DefaultHighlightPainter.paintHighlight): Removed method.
9463         (DefaultHighlightPainter.paintLayer): Implemented.
9464         (DefaultHighlightPainter.paint): Implemented more efficient
9465         painting for multiline-highlights.
9466         (HighlightEntry.p0): Changed to be a Position.
9467         (HighlightEntry.p1): Changed to be a Position.
9468         (HighlightEntry.HighlightEntry): Changed to take Position
9469         arfuments.
9470         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9471         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9472         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9473         and tracks the painted rectangle for efficient repainting.
9474         (addHighlight): Handle layered highlight.
9475         (changeHighlight): Handle layered highlight.
9476         (paintLayeredHighlights): Implemented.
9477         (paint): Paint only non-layered highlights here.
9478         (removeAllHighlights): Trigger correct repaint.
9479         (removeHighlight): Handle layered highlight here for
9480         more efficient repainting.
9481         * javax/swing/text/GlyphView.java
9482         (paint): Handle layered highlights.
9483         * javax/swing/text/PlainView.java
9484         (paint): Handle layered highlights.
9485         * javax/swing/text/WrappedPlainView.java
9486         (WrappedLine.paint): Handle layered highlights.
9487
9488 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9489   
9490         PR 26972
9491         * NEWS: As suggested by Paul Jennier, added note about the fix of
9492         the InitialContext.
9493
9494 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9495
9496         * NEWS: Added entry about the context factories for JNDI.
9497
9498 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9499
9500         PR 27383
9501         * gnu/CORBA/Connected_objects.java (size): New method.
9502         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9503         New method.
9504         * javax/naming/spi/NamingManager.java (getURLContext):
9505         Also search for the URL context factories in 
9506         gnu/javax/naming/jndi/url.
9507         * gnu/javax/naming/giop/ContextContinuation.java,
9508         gnu/javax/naming/giop/CorbalocParser.java,
9509         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9510         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9511         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9512         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9513         gnu/javax/naming/giop/ListEnumeration.java,
9514         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9515         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9516         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9517         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9518         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9519         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9520         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9521         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9522
9523 2006-08-06  Sven de Marothy  <sven@physto.se>
9524
9525         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9526         (drawGlyphVector): Synchronize against font object when drawing.
9527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9528         (nativeDrawGlyphVector): Use pango locking when drawing.
9529         (install_font_peer): Use pango locking when creating the cairo face.
9530
9531 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9532
9533         Fixes PR 28608.
9534         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9535         the mark has been set.
9536         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9537         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9538         allocated data.
9539
9540 2006-08-06  Mark Wielaard  <mark@klomp.org>
9541
9542         PR 28555
9543         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9544         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9545         withParams is null.
9546         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9547         sortKeys is null.
9548
9549 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9550             Paul Jenner  <psj@harker.dyndns.org>
9551
9552         * README: Update bug, patches and cvs instructions plus new URLs of
9553         various external projects.
9554   
9555 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9556
9557         * gnu/java/lang/management/BeanImpl.java:
9558         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9559         with open variant.
9560         (getCachedMBeanInfo()): Return open variant.
9561         (getMBeanInfo()): Likewise.
9562         (getTypeFromClass(Class)): Implemented.
9563         (translateSignature(MBeanParameterInfo)): Likewise.
9564         (translate(String)): Likewise.
9565         * javax/management/StandardMBean.java:
9566         (getMBeanInfo()): Return attribute names with capital letters,
9567         as in docs for java.lang.management.ManagementFactory, and
9568         ensure descriptions are not "".
9569         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9570         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9571         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9572         (toString()): Use Arrays.toString().
9573         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9574         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9575         Set open type here rather than in other constructors.
9576
9577 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9578
9579         * javax/management/MBeanFeatureInfo.java:
9580         Make string variable package-private.
9581         * javax/management/StandardMBean.java:
9582         (getMBeanInterface()): Made final.
9583         * javax/management/openmbean/SimpleType.java:
9584         Made final.
9585
9586 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9587
9588         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9589         code.
9590   
9591 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9592
9593         * examples/gnu/classpath/examples/swing/FillRect.java,
9594         * gnu/CORBA/Focused_ORB.java,
9595         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9596         * gnu/classpath/ByteArray.java,
9597         * gnu/classpath/ObjectPool.java,
9598         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9599         * gnu/java/awt/peer/x/fonts.properties,
9600         * gnu/java/security/util/Prime2.java,
9601         * gnu/javax/imageio/gif/GIFStream.java,
9602         * javax/swing/text/html/HTMLTableView.java,
9603         * native/cni/Makefile.am,
9604         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9605         * org/omg/CORBA/SendingContext/Runtime.java,
9606         * resource/gnu/regexp/MessagesBundle.properties,
9607         * resource/gnu/regexp/MessagesBundle_fr.properties,
9608         * resource/gnu/regexp/MessagesBundle_it.properties,
9609         * tools/appletviewer.in,
9610         * tools/jarsigner.in,
9611         * tools/keytool.in,
9612         * vm/reference/java/lang/management/VMThreadInfo.java:
9613         Removed.
9614         * examples/gnu/classpath/examples/awt/aicas.png,
9615         * examples/gnu/classpath/examples/awt/palme.gif,
9616         * examples/gnu/classpath/examples/java2d/aicas.png,
9617         * examples/gnu/classpath/examples/java2d/palme.gif,
9618         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9619         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9620         * java/awt/doc-files/capjoin.png,
9621         * java/awt/geom/doc-files/Area-1.png,
9622         * java/awt/geom/doc-files/Ellipse-1.png,
9623         * java/awt/geom/doc-files/GeneralPath-1.png:
9624         Added.
9625         
9626 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9627
9628         * configdiag.jnlp:
9629         Removed.
9630         
9631 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9632
9633         * gnu/java/lang/management/BeanImpl.java:
9634         (getAttribute(String)): Implemented.
9635
9636 2006-08-05  Roman Kennke  <kennke@aicas.com>
9637
9638         * javax/swing/text/JTextComponent.java
9639         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9640         (AccessibleJTextComponent.textComp): Removed field
9641         and replace with JTextComponent.this construct.
9642         (AccessibleJTextComponent.AccessibleJTextComponent):
9643         Fetch caret position.
9644         (caretUpdate): Implemented. Fires property change events and
9645         updates the caretDot field.
9646         (changedUpdate): Implemented. Fires property change events.
9647         (insertUpdate): Implemented. Fires property change events.
9648         (removeUpdate): Implemented. Fires property change events.
9649         (cut): Replaced textComp with JTextComponent.this construct.
9650         (paste): Replaced textComp with JTextComponent.this construct.
9651         (replaceText): Replaced textComp with JTextComponent.this construct.
9652         (selectText): Replaced textComp with JTextComponent.this construct.
9653         (getCaretPosition): Replaced textComp with JTextComponent.this
9654         construct.
9655         (getCharCount): Replaced textComp with JTextComponent.this construct.
9656         (getSelectedText): Replaced textComp with JTextComponent.this
9657         construct.
9658         (getSelectionEnd): Replaced textComp with JTextComponent.this
9659         construct.
9660         (getSelectionStart): Replaced textComp with JTextComponent.this
9661         construct.
9662         (getTextRange): Replaced textComp with JTextComponent.this
9663         construct.
9664         (doAccessibleAction): Implemented.
9665         (getAccessibleActionCount): Implemented.
9666         (getAccessibleActionDescription): Implemented.
9667         (getAccessibleStateSet): Implemented.
9668         (getAfterIndex): Implemented.
9669         (getBeforeIndex): Implemented.
9670         (getAtIndex): Implemented.
9671         (getAtIndexImpl): New helper method.
9672         (getCharacterAttribute): Implemented.
9673         (getCharacterBounds): Implemented.
9674         (getIndexAtPoint): Implemented. 
9675         (insertTextAtIndex): Implemented.
9676         (setAttributes): Implemented.
9677         (setTextContents): Implemented.
9678
9679 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9680   
9681         * configure.ac: Better handling of default-preferences-peer option.
9682
9683 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9684
9685         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9686         double[].
9687
9688 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9689
9690         * javax/management/openmbean/TabularData.java:
9691         Documentation corrections.
9692         * javax/management/openmbean/TabularDataSupport.java:
9693         New file.
9694
9695 2006-08-04  Francis Kung  <fkung@redhat.com>
9696
9697         * java/awt/BasicStroke.java
9698         (dashedStroke): Implemented.
9699
9700 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9701
9702         * javax/management/BadAttributeValueExpException.java,
9703         * javax/management/BadStringOperationException.java,
9704         * javax/management/InstanceAlreadyExistsException.java,
9705         * javax/management/InstanceNotFoundException.java,
9706         * javax/management/InvalidApplicationException.java,
9707         * javax/management/MBeanRegistrationException.java,
9708         * javax/management/MalformedObjectNameException.java,
9709         * javax/management/RuntimeErrorException.java,
9710         * javax/management/RuntimeMBeanException.java,
9711         * javax/management/ServiceNotFoundException.java:
9712         New files.
9713         
9714 2006-08-04  Roman Kennke  <kennke@aicas.com>
9715
9716         * javax/swing/SwingUtilities.java
9717         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9718          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9719         layoutCompoundLabelImpl().
9720         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9721          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9722         layoutCompoundLabelImpl().
9723         (layoutCompoundLabelImpl): New helper method. Moved impl from
9724         layoutCompoundLabel() to here and added handling of HTML.
9725         * javax/swing/plaf/basic/BasicButtonUI.java
9726         (installUI): Update HTML view if appropriate.
9727         (uninstallUI): New method. Do the usual uninstallUI things
9728         and uninstall HTML view.
9729         (getMinimumSize): New method. Adjusts the minimum size
9730         by the HTML view minimum size.
9731         (getMaximumSize): New method. Adjusts the maximum size
9732         by the HTML view maximum size.
9733         (getPreferredSize): Pass the button's iconTextGap to the
9734         BasicGraphicsUtils method.
9735         (paint): Let HTML view paint the text, if present.
9736         * javax/swing/plaf/basic/BasicButtonListener.java
9737         (propertyChange): Update the HTML view when the button's
9738         text is changed.
9739         
9740 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9741
9742         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9743         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9744         g_type_init earlier in function to correctly initialize the
9745         type system used by the backend.
9746
9747 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9748
9749         PR 26972
9750         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9751         Documented.
9752         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9753
9754 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9755
9756         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9757         Fixes PR27864.
9758         * gnu/xml/dom/DomIterator.java:
9759         (successor): Added if-statement.
9760
9761 2006-08-04  Mark Wielaard  <mark@klomp.org>
9762
9763         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9764
9765 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9766
9767         * javax/swing/plaf/metal/MetalMenuBarUI.java:
9768         (update): Check size and paint smaller gradient.
9769         * javax/swing/plaf/metal/MetalBorders.java:
9770         (MenuBarBorder): Removed borderColor field.
9771         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9772         MetalLookAndFeel.
9773
9774 2006-08-03  Roman Kennke  <kennke@aicas.com>
9775
9776         PR 27637
9777         * javax/swing/plaf/basic/BasicInternalFrameUI.java
9778         (ComponentHandler.componentResized): Reimplemented to handle
9779         arbitrary parents.
9780         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9781         component listener on changed ancestor.
9782         (installListeners): Install componentListener.
9783         (uninstallListeners): Uninstall componentListener.
9784
9785 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9786
9787         * StrictMath.java (cbrt): Return argument if it is a NaN.
9788         (cosh): Likewise.
9789         (expm1): Likewise.
9790         (sinh): Likewise.
9791   
9792 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9793   
9794         * java/lang/StrictMath.java (tanh): New method.
9795   
9796 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
9797   
9798         * scripts/import-cacerts.sh: Batch CA certificates import script.
9799   
9800 2006-08-03  Roman Kennke  <kennke@aicas.com>
9801
9802         PR 27606
9803         * javax/swing/plaf/basic/BasicListUI.java
9804         (paintCell): Pass row index to cell renderer.
9805         * javax/swing/plaf/basic/MetalFileChooserUI.java
9806         (DirectoryComboBoxRenderer.indentIcon): New field.
9807         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9808         Initialize indentIcon.
9809         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9810         Fall back to super and removed standard functionality.
9811         Handle indentation.
9812         (IndentIcon): New class. Wraps and indents another icon.
9813
9814 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9815
9816         * javax/management/MBeanConstructorInfo.java:
9817         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
9818         Copy array rather than directly assigning.
9819         * javax/management/MBeanInfo.java:
9820         (MBeanInfo(String,String,MBeanAttributeInfo[],
9821         MBeanConstructorInfo[], MBeanOperationInfo[],
9822         MBeanNotificationInfo[])): Likewise.
9823         * javax/management/MBeanOperationInfo.java:
9824         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
9825         Likewise.
9826         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
9827         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
9828         New files.
9829         * javax/management/openmbean/OpenMBeanInfo.java:
9830         Corrected documentation.
9831         * javax/management/openmbean/OpenMBeanInfoSupport.java:
9832         New file.
9833         * javax/management/openmbean/OpenMBeanOperationInfo.java:
9834         Corrected documentation.
9835         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9836         New file.
9837         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9838         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
9839         Call other constructor rather than reimplementing.
9840
9841 2006-08-02  Lillian Angel  <langel@redhat.com>
9842
9843         * java/awt/dnd/DragSource.java
9844         (isDragImageSupported): Implemented.
9845         (getDragThreshold): Changed default value.
9846         * java/awt/dnd/DropTarget.java
9847         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
9848         (DropTarget): Likewise.
9849         (DropTarget): If FlavorMap passed in is null, we should use the system default.
9850         (addDropTargetListener): Added check to determine if new DropTargetListener
9851         is this class. If so, an IllegalArgumentException is thrown. If the 
9852         new listener is null, nothing happens.
9853
9854 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
9855
9856         * configure.ac (MOZILLA_FOUND): Fall back to
9857         mozilla-firefox-plugin.
9858
9859 2006-08-02  Sven de Marothy  <sven@physto.se>
9860
9861         * java/awt/geom/AffineTransform.java
9862         (hashCode): Tweak impl. 
9863         * java/awt/font/FontRenderContext.java
9864         (hashCode): Implement. 
9865
9866 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
9867
9868         * java/lang/StrictMath.java (sinh): New method.
9869
9870 2006-08-02  Roman Kennke  <kennke@aicas.com>
9871
9872         PR 27605
9873         * javax/swing/JComboBox.java
9874         (setSelectedItem): Fire ActionEvent here.
9875         * javax/swing/plaf/basic/BasicDirectoryModel.java
9876         (directories): Changed to type Vector.
9877         (files): New field.
9878         (loadThread): New field.
9879         (DirectoryLoadThread): New inner class. This loads the contents
9880         of directories asynchronously.
9881         (getDirectories): Return cached Vector.
9882         (getFiles): Return cached Vector.
9883         (getSize): Return plain size of contents Vector.
9884         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
9885         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
9886         (sort): Don't store sorted list in contents. This must be done
9887         asynchronously from the EventThread.
9888         (validateFileCache): Rewritten for asynchronous reading
9889         of directory contents.
9890         * javax/swing/plaf/basic/BasicFileChooserUI.java
9891         (installListeners): Install model as PropertyChangeListener.
9892         (uninstallListeners): Uninstall model as PropertyChangeListener.
9893         (createPropertyChangeListener): Return null just like the
9894         RI.
9895
9896 2006-08-02  Sven de Marothy  <sven@physto.se>
9897   
9898         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9899         (remove): Force event on removing item 0 when it's selected.
9900         (handleEvent): Always call Choice.selected().
9901         * java/awt/Choice.java:
9902         (remove): Simplify and correct.
9903   
9904 2006-08-02  Mark Wielaard  <mark@klomp.org>
9905   
9906         PR 28535
9907         * configure.ac (gconf-peer): Check for gdk-2.0.
9908         * native/jni/gconf-peer/Makefile.am
9909         (AM_LDFLAGS): Use GDK_LIBS.
9910         (AM_CFLAGS): Use GDK_CFLAGS.
9911   
9912 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9913   
9914         * java/net/URL.java (getContent(Class[])): Implement.
9915   
9916 2006-08-02  Roman Kennke  <kennke@aicas.com>
9917   
9918         PR 27624
9919         * javax/swing/JMenu.java
9920         (JMenu()): Removed setting of delay.
9921         (JMenu(String)): Removed setting of delay.
9922         (JMenu(Action)): Removed setting of delay.
9923         (JMenu(String,boolean)): Removed setting of delay.
9924         (setSelectedHelper): Removed unneeded method.
9925         (setSelected): Simply set the model state.
9926         (setPopupMenuVisible): Recognize the popup location
9927         determined by getPopupMenuOrigin().
9928         (getPopupMenuOrigin): Recognize the UI properties for
9929         X and Y offset.
9930         (menuSelectionChanged): Call setSelected() directly.
9931         * javax/swing/JPopupMenu.java
9932         (menuSelectionChanged): If invoker is a JMenu, then delegate
9933         to that to get the position right.
9934         * javax/swing/Popup.java
9935         (LightweightPopup.show): Insert the popup as first component
9936         in the layer, so that it overlaps it's caller.
9937         * javax/swing/plaf/basic/BasicMenuItemUI.java
9938         (getPath): Don't include the popup.
9939         * javax/swing/plaf/basic/BasicMenuUI.java
9940         (SelectMenuAction): New class. This invokes the popup when
9941         a menu is selected.
9942         (installDefaults): Install delay of 200 ms.
9943         (setupPostTimer): Implemented.
9944         (MouseInputHandler.mouseClicked): Do nothing here.
9945         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
9946         magic to handle the selection. Open the menu via a timer.
9947         (MouseInputHandler.mousePressed): Use MenuSelectionManager
9948         magic to handle the selection. Open the menu via a timer.
9949         (MenuDragMouseHandler.menuMouseDragged): Probably use
9950         timer.
9951         (menuDragMouseEntered): Do nothing here.
9952   
9953 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9954         
9955         * javax/management/openmbean/InvalidOpenTypeException.java,
9956         * javax/management/openmbean/KeyAlreadyExistsException.java:
9957         New files.
9958
9959 2006-08-02  Roman Kennke  <kennke@aicas.com>
9960
9961         PR 27604
9962         * javax/swing/plaf/basic/BasicChooserUI.java
9963         (BasicFileView.getName): Fetch the real name from the
9964         file chooser's FileSystemView.
9965         * javax/swing/plaf/metal/MetalChooserUI.java
9966         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9967         Set the text fetched from the JFileChooser.getName().
9968         * javax/swing/FileSystemView.java
9969         (createFileObject): When file is a filesystem root,
9970         create a filesystem root object first.
9971         (getSystemDisplayName): Return the filename. Added specnote
9972         about ShellFolder class that is mentioned in the spec.
9973         * javax/swing/UnixFileSystemView.java
9974         (getSystemDisplayName): Implemented to return the real name
9975         of a file, special handling files like '.' or '..'.
9976
9977 2006-08-03  Mark Wielaard  <mark@klomp.org>
9978
9979         * examples/gnu/classpath/examples/icons/badge.png: Add file.
9980
9981 2006-08-03  Roman Kennke  <kennke@aicas.com>
9982
9983         PR 28562
9984         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9985         (PropertyChangeHandler.propertyChange): Cleanly reinstall
9986         components when visual property chanegs.
9987
9988 2006-08-03  Roman Kennke  <kennke@aicas.com>
9989
9990         PR 28562
9991         * javax/swing/plaf/basic/BasicOptionPaneUI.java
9992         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
9993         component when visual properties change.
9994
9995 2006-08-03  Roman Kennke  <kennke@aicas.com>
9996
9997         PR 28534
9998         * javax/swing/JTree.java
9999         (JTree(TreeModel)): Set cell renderer to null.
10000         * javax/swing/plaf/basic/BasicTreeUI.java
10001         (setCellRenderer): Finish editing before setting the
10002         cell renderer. Refresh the layout. Don't set the
10003         currentCellRenderer field here (that's done in updateRenderer).
10004         (updateRenderer): Handle createdRenderer field here too.
10005         Set renderer to a default handler when the current renderer
10006         in the JTree is null.
10007
10008 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10009
10010         PR Classpath/23899
10011         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10012
10013 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10014
10015         PR Classpath/28556
10016         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10017         Updated documentation to clarify that RFC-2459 states that the parameters
10018         field of the AlgorithmIdentifier element MUST be NULL if present.
10019         Amended the code to reflect the specs.
10020         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10021
10022 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10023
10024         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10025         Call parameter 'defaultValue' not 'defValue'.
10026
10027 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10028
10029         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10030         New file.
10031
10032 2006-08-01  Roman Kennke  <kennke@aicas.com>
10033   
10034         PR 28562
10035         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10036         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10037         components when visual property chanegs.
10038   
10039 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10040
10041         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10042         (toString()): Corrected documentation.
10043         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10044         * javax/management/openmbean/OpenMBeanInfo.java,
10045         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10046         New files.
10047         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10048         (toString()): Corrected documentation.
10049         
10050 2006-08-01  Tania Bento  <tbento@redhat.com>
10051
10052         * java/awt/Choice.java
10053         (remove(int)): Added documentation.
10054
10055 2006-08-01  Tania Bento  <tbento@redhat.com>
10056         
10057         * java/awt/Choice.java
10058         (remove(int)): An IllegalArgumentException should not be thrown
10059         if int is invalid.  Update selectedIndex and peer selection.
10060
10061 2006-08-01  Tania Bento  <tbento@redhat.com>
10062
10063         * java/awt/CardLayout.java
10064         (toString): Changed format of string outputted.
10065         (goToComponent): Changed the order of the if-clause.
10066
10067 2006-07-31  Tom Tromey  <tromey@redhat.com>
10068
10069         * INSTALL: Updated for ASM.
10070
10071 2006-07-31  Tom Tromey  <tromey@redhat.com>
10072
10073         PR libgcj/23682:
10074         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10075         (attachment): Likewise.
10076         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10077         synchronized.
10078         (isValid): Likewise.
10079         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10080         (ch): Likewise.
10081         (interestOps): Synchronize.
10082         (readyOps): Likewise.
10083         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10084         interestOps call.
10085
10086 2006-07-31  Roman Kennke  <kennke@aicas.com>
10087
10088         * NEWS: Added note about the X peers.
10089         * INSTALL: Added install notes about the X peers.
10090
10091 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10092
10093         * StrictMath.java (getLowDWord): Return long instead of int.
10094         (getHighDWord): Likewise.
10095         (buildDouble): Take two long arguments.
10096         (cbrt): Adapted to int -> long change.
10097         (expm1): Likewise.
10098         (cosh): Likewise.
10099
10100 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10101
10102         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10103         -avoid-version.
10104
10105 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10106
10107         * java/security/Provider.java: Updated copyright year.
10108         Updated documentation.
10109         Formatting.
10110         (put): Updated documentation.
10111         Added security manager check.
10112         Canonicalize the key before adding its mapping.
10113         (get): Override superclass implementation to use canonicalized keys.
10114         (remove): Updated documentation.
10115         Added security manager check.
10116         Canonicalize the key before removing its mapping.
10117         (clear): Updated documentation.
10118         Added security manager check.
10119         (toCanonicalKey): New method.
10120
10121 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10122
10123         * gnu/java/security/Engine.java
10124         (getInstance): Ignore self referencing aliases.
10125
10126 2006-07-30  Mark Wielaard  <mark@klomp.org>
10127
10128         * javax/swing/JComponent.java (getListeners): Revert
10129         un-genericization.
10130
10131 2006-07-30  Mark Wielaard  <mark@klomp.org>
10132
10133         * resource/java/security/classpath.security: Add /dev/urandom as
10134         default securerandom.source.
10135
10136 2006-07-30  Mark Wielaard  <mark@klomp.org>
10137
10138         * java/util/GregorianCalendar.java (maximums): Months can have up to
10139         6 weeks.
10140         (nonLeniencyCheck): weeks is either 5 or 6.
10141
10142 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10143         
10144         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10145         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10146         New files.
10147
10148 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10149
10150         * gnu/java/security/Engine.java 
10151         (getInstance): Ignore self referencing aliases.
10152
10153 2006-07-30  Sven de Marothy  <sven@physto.se>
10154
10155         * java/awt/Choice.java:
10156         (accessibleAction): Call select() directly.
10157         (add, insert, remove): Reimplement.
10158         (dispatchEventImpl): Always call super.
10159         (processItemEvent): Does not set the index.
10160         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10161         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10162         (append): removed.
10163         (nativeAdd): Name changed to add.
10164         (selection_changed_cb): Simplify callback.
10165         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10166         (selected): New field.
10167         (add): Replaced with native impl.
10168         (handleEvent): New method.      
10169         
10170 2006-07-30  Sven de Marothy  <sven@physto.se>
10171
10172         * java/awt/Choice.java:
10173         Reformat, fix copyright year.
10174
10175 2006-07-29  Mark Wielaard  <mark@klomp.org>
10176
10177         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10178         static field isPaintingDoubleBuffered to not have the same name
10179         as a method.
10180
10181 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10182   
10183         * examples/gnu/classpath/examples/management/TestBeans.java:
10184         New file.
10185         * javax/management/MBeanAttributeInfo.java:
10186         (toString()): Implemented.
10187         * javax/management/MBeanConstructorInfo.java:
10188         (toString()): Implemented.
10189         * javax/management/MBeanFeatureInfo.java:
10190         (toString()): Implemented.
10191         * javax/management/MBeanInfo.java:
10192         (toString()): Implemented.
10193         * javax/management/MBeanNotificationInfo.java:
10194         (toString()): Implemented.
10195         * javax/management/MBeanOperationInfo.java:
10196         (toString()): Implemented.
10197         * javax/management/MBeanParameterInfo.java:
10198         (toString()): Implemented.
10199         * javax/management/StandardMBean.java:
10200         (getMBeanInfo()): Fix attribute naming.
10201
10202 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10203
10204         * gnu/java/lang/management/BeanImpl.java:
10205         Extended javax.management.StandardMBean.
10206         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10207         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10208         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10209         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10210         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10211         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10212         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10213         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10214         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10215         Call the superclass with the appropriate class.
10216         * java/lang/management/ManagementFactory.java:
10217         (getOperatingSystemMXBean()): Catch exception from
10218         StandardMBean.
10219         (getRuntimeMXBean()): Likewise.
10220         (getClassLoadingMXBean()): Likewise.
10221         (getThreadMXBean()): Likewise.
10222         (getMemoryMXBean()): Likewise.
10223         (getCompilationMXBean()): Likewise.
10224         (getMemoryPoolMXBeans()): Likewise.
10225         (getMemoryManagerMXBeans()): Likewise.
10226         (getGarbageCollectorMXBeans()): Likewise.
10227         * javax/management/MBeanFeatureInfo.java:
10228         hashCode()): Fixed to check for null values.
10229
10230 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10231
10232         * gnu/java/security/Engine.java
10233         (getInstance): Add case insentivity to algorithm names
10234         * java/security/Provider.java
10235         (put): Stop using canonical key naming
10236         (remove): Likewise
10237         (toCanonicalKey): Method removed
10238         (get): Method removed, no longer needs to overwrite
10239         parent implementation
10240
10241 2006-07-29  Mark Wielaard  <mark@klomp.org>
10242
10243         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10244         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10245         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10246         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10247         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10248         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10249         Removed.
10250
10251 2006-07-29  Sven de Marothy  <sven@physto.se>
10252
10253         * java/math/BigDecimal.java
10254         Adjust copyright date.
10255         (divide(BigDecimal): Implement.
10256         (precision): Reimplement.
10257         (numDigitsInBigInteger, numDigitsInLong): Removed.
10258         (toString): Get exponent from string length,
10259         fix negative values with exponential form.
10260         (toEngineeringString): Same as for toString.
10261         (setScale): Throw ArithmeticException if scale < 0.
10262
10263 2006-07-27  Francis Kung  <fkung@redhat.com>
10264
10265         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10266         (cp1): Renamed from first().
10267         (c2): Renamed from last().
10268         (first): Renamed to cp1().
10269         (getDisplacedSegments): Implemented.
10270         (last): Renamed to cp2().
10271         * gnu/java/awt/java2d/LineSegment.java
10272         (cp1): Renamed from first().
10273         (c2): Renamed from last().
10274         (first): Renamed to cp1().
10275         (last): Renamed to cp2().
10276         * gnu/java/awt/java2d/QuadSegment.java
10277         (cp1): Renamed from first().
10278         (c2): Renamed from last().
10279         (first): Renamed to cp1().
10280         (last): Renamed to cp2().
10281         * gnu/java/awt/java2d/Segment.java: Added comments.
10282         (first): New field.
10283         (Segment): Keep track of first element in list.
10284         (add): Update first & last element variables.
10285         (cp1): Renamed from first().
10286         (c2): Renamed from last().
10287         (first()): Renamed to cp1() to reduce ambiguity.
10288         (last()): Renamed to cp2() to reduce ambiguity.
10289         (reverseAll): Update first element variable..
10290         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10291         (draw): Remove flattening path iterator.
10292         * java/awt/BasicStroke.java: Clarified comments.
10293         (addSegments): Refactored some code into joinSegments and
10294         joinInnerSegments.
10295         (capEnd): Rename of Segment.first() and Segment.end().
10296         (joinInnerSegments): New method.
10297         (joinOuterSegments): New method.
10298         (joinSegments): Refactored some code into joinOuterSegments.
10299         (solidStroke): Connect segments together properly.
10300
10301 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10302
10303         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10304         -avoid-version.
10305         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10306         Likewise.
10307         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10308         Likewise.
10309         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10310         Likewise.
10311
10312 2006-07-28  Tom Tromey  <tromey@redhat.com>
10313
10314         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10315
10316 2006-07-28  Lillian Angel  <langel@redhat.com>
10317
10318         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10319         Removed function declarations.
10320         (connect_signals_for_widget): Removed implementation because
10321         stub functions have been removed.
10322         (drag_begin_cb): Removed function.
10323         (drag_motion_cb): Likewise.
10324         (drag_data_get_cb): Likewise.
10325         (drag_data_delete_cb): Likewise.
10326         (drag_drop_cb): Likewise.
10327         (drag_end_cb): Likewise.
10328         (drag_data_received_cb): Likewise.      
10329
10330 2006-07-28  Mark Wielaard  <mark@klomp.org>
10331
10332         * configure.ac: Set version to 0.93-pre.
10333
10334 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10335
10336         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10337
10338 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10339
10340         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10341         (getCallbackHandler): Fully qualify linked class in javadoc.
10342         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10343         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10344         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10345
10346 2006-07-27  Tom Tromey  <tromey@redhat.com>
10347
10348         PR classpath/28486:
10349         * java/net/URLStreamHandler.java (equals): Properly handle default
10350         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10351
10352 2006-07-27  Roman Kennke  <kennke@aicas.com>
10353
10354         * javax/swing/text/AbstractDocument.java
10355         (documentCV): Made field private.
10356         (bypass): Made field private.
10357         (bidiRoot): New field.
10358         (AbstractDocument): Initialize bidiRoot.
10359         (getBidiRootElement): Return bidiRoot.
10360         (getRootElements): Adjusted to also return the bidiRoot element.
10361         (BranchElement.startOffset): Removed unneeded field.
10362         (BranchElement.endOffset): Removed unneeded field.
10363         (BranchElement.BranchElement): Removed unneeded fields.
10364         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10365         done automatically when there's no element left in the array.
10366         (BranchElement.getStartOffset): Likewise.
10367         (BranchElement.replace): Reordered calculations to avoid double
10368         calculations.
10369         (removeImpl): Silently ignore requests with length <= 0.
10370         * javax/swing/text/GapContent.java
10371         (createPosition): Removed explicit check for correct offset.
10372         This class can deal with offsets outside the document.
10373         (shiftEnd): Update all positions, even those outside the
10374         document.
10375         (adjustPositionsInRange): Fixed to also adjust positions outside
10376         the document boundary.
10377
10378 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10379
10380     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10381     defining class.
10382     (getParameter): Returns _klass field instead of determining
10383     class from _instance.
10384     (setCatchLoc): New method.
10385     (writeData): Now assumes Location deals with empty locations instead of
10386     using null.
10387     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10388     locations and write out accordingly.
10389     (getEmptyLocation): New method. 
10390
10391 2006-07-27  Roman Kennke  <kennke@aicas.com>
10392
10393         * javax/swing/text/SimpleAttributeSet.java
10394         (EMPTY): Use EmptyAttributeSet for this field rather than
10395         SimpleAttributeSet.
10396         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10397         an empty and immutable AttributeSet.
10398
10399 2006-07-27  Roman Kennke  <kennke@aicas.com>
10400
10401         * java/awt/Component.java
10402         (reshape): Invalidate the component itself only when the
10403         size has changed. Invalidate the parent always. Fixed
10404         repainting. Pulled out the notification into
10405         notifyReshape().
10406         (notifyReshape): New helper method. Notify interested listeners
10407         about a reshape.
10408         (update): Simply call paint() without clearing the background.
10409         This is done in Container.update() if appropriate.
10410         (repaint): Delagate the repaint to the nearest heavyweight
10411         parent (for lightweights) and send an UPDATE event, rather than
10412         calling ComponentPeer.repaint().
10413         * java/awt/Container.java
10414         (backCleared): Removed field.
10415         (paint): Removed handling of backCleared flag.
10416         (update): Only paint if the container is actually
10417         showing. Removed handling of backCleared flag.
10418
10419 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10420
10421         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10422         authorship.
10423         (NavigateAction): New inner class.
10424         (NavigatePageDownAction): New inner class.
10425         (NavigatePageUpAction): New inner class.
10426         (RequestFocusAction): New inner class.
10427         (RequestFocusForVisibleComponentAction): New inner class.
10428         (FocusHandler.focusGained): Implemented.
10429         (FocusHandler.focusLost): Implemented.
10430         (MouseHandler.mouseReleased): Implemented.
10431         (MouseHandler.mousePressed): Rewritten.
10432         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10433         currentScrollLocation to 0.
10434         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10435         removed local variables, fixed indentation to stay under 80 column
10436         limit.
10437         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10438         one, set selectedIndex to 0 if its negative, corrected start values
10439         for normalization, suppressed padding when only one tab run,
10440         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10441         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10442         80 column limit, corrected the starting value for the bounds fixing
10443         phase.
10444         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10445         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10446         selectedRun, set start index for loop to 0.
10447         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10448         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10449         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10450         alignment and visibility handling.
10451         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10452         layout mode.
10453         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10454         (currentScrollOffset): New field.
10455         (tabRuns): Rewritten documentation.
10456         (selectedColor): New field.
10457         (tempTextRect): New field.
10458         (tempIconRect): New field.
10459         (scrollTab): New method.
10460         (updateButtons): New method.
10461         (updateViewPosition): New method.
10462         (createLayoutManager): Reordered method calls, predefine new fields,
10463         register proper listeners.
10464         (uninstallComponents): Implemented.
10465         (installDefaults): Corrected property names, fixed indentation,.
10466         (uninstallDefaults): Set new fields to null.
10467         (uninstallListeners): Remove listeners from components neccessary for
10468         scrolling tab layout.
10469         (installKeyboardActions): Implemented.
10470         (uninstallKeyboardActions): Implemented.
10471         (paint): Paint tab area background.
10472         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10473         objects.
10474         (getTabLabelShiftX): Rewritten.
10475         (getTabLabelShiftY): Rewritten.
10476         (paintFocusIndicator): Reindented.
10477         (paintTabBorder): Rewritten.
10478         (paintTabBackground): Corrected color usage, rewritten background
10479         rectangle painting.
10480         (paintContentBorderTopEdge): Rewritten.
10481         (paintContentBorderBottomEdge): Rewritten.
10482         (paintContentBorderLeftEdge): Rewritten.
10483         (paintContentBorderRightEdge): Rewritten.
10484         (tabForCoordinate): Return selected index when no tab could be
10485         found, removed FIXME note.
10486         (getRunForTab): Changed return value for first if-statement.
10487         (navigateSelectedTab): Fixed last argument for both
10488         getTabRunOffset() calls.
10489         (selectedNextTabInRun): Added scrolling code.
10490         (selectedPreviousTabInRun): Added scrolling code.
10491         (selectedNextTab): Added scrolling code.
10492         (selectedPreviousTab): Added scrolling code.
10493         (selectAdjacentRunTab): Added scrolling code.
10494         (getTextViewForTab): Added FIXME note.
10495         (calculateTabHeight): Changed FIXME note.
10496         (getTabRunOffset): Fixed indentation.
10497         (getNextTabIndexInRun): Corrected return value.
10498         (rotateInsets): Make TOP case the default in switch-statement.
10499         (getActionMap): New method.
10500         (createActionMap): New method.
10501         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10502         (createLayoutManager): Rewritten.
10503         (paintLeftTabBorder): Do not paint left line when previous tab
10504         is selected but current tab is the first in its run, do not paint
10505         left line when current tab is selected and is first in its run.
10506         (paintRightTabBorder): Added missing setColor() call, fixed color
10507         usage, do not paint right line if previous tab is selected but
10508         current tab is the first in its run.
10509         (paintBottomTabBorder): Do not paint left line if tab is selected
10510         and is the first tab in the last run.
10511         (paintFocusIndicator): New method.
10512         (getLabelShiftX): New method.
10513         (getLabelShiftY): New method.
10514
10515 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10516
10517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10518         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10519         g_assert from unused obj.
10520         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10521         obj as unused and remove g_assert on it.
10522
10523 2006-07-26  Roman Kennke  <kennke@aicas.com>
10524
10525         * javax/swing/RepaintManager.java
10526         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10527         for the component.
10528         (isCompletelyDirty): Consider a component completely dirty
10529         when it has a dirty region with Integer.MAX_VALUE.
10530
10531 2006-07-26  Roman Kennke  <kennke@aicas.com>
10532
10533         * java/awt/KeyboardFocusManager.java
10534         (getGlobalFocusOwner): Explicitly check for thread security.
10535         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10536         (getGlobalFocusedWindow): Explicitly check for thread security.
10537         (getGlobalActiveWindow): Explicitly check for thread security.
10538         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10539         (getGlobalObject): Added new argument for specifying if
10540         a security check should be performed or not.
10541         (setGlobalObject): Don't check for thread security when
10542         calling getGlobalObject.
10543
10544 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10545
10546         * javax/management/MBeanConstructorInfo.java:
10547         Documentation fix.
10548         * javax/management/MBeanInfo.java:
10549         (MBeanInfo(String,String,MBeanAttributeInfo[],
10550         MBeanConstructorInfo[], MBeanOperationInfo[],
10551         MBeanNotificationInfo[])): Implemented.
10552         (equals(Object)): Likewise.
10553         (getAttributes()): Likewise.
10554         (getConstructors()): Likewise.
10555         (getOperations()): Likewise.
10556         (hashCode()): Likewise.
10557         * javax/management/MBeanOperationInfo.java,
10558         * javax/management/NotCompliantMBeanException.java,
10559         * javax/management/StandardMBean.java:
10560         New files.
10561
10562 2006-07-26  Sven de Marothy  <sven@physto.se>
10563
10564         * java/awt/geom/GeneralPath.java: Fix severe typo.
10565         
10566 2006-07-26  Sven de Marothy  <sven@physto.se>
10567
10568         * include/java_lang_VMSystem.h
10569         * vm/reference/java/lang/VMSystem.java
10570         * native/jni/java-lang/java_lang_VMSystem.c
10571         (nanoTime, currentTimeMillis): Switch the former to native code and
10572         the latter to java.
10573         
10574 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10575
10576         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10577         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10578         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10579         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10580         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10581         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10582         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10583         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10584         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10585         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10586         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10587         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10588         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10589         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10590         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10591         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10592         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10593         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10594         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10595         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10596         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10597
10598 2006-07-26  Roman Kennke  <kennke@aicas.com>
10599
10600         * java/awt/KeyboardFocusManager.java
10601         (getFocusOwner): Don't check permanent owner.
10602         (getGlobalFocusOwner): Don't check permanent owner.
10603
10604 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10605
10606         * StrictMath.java (cosh): New method.
10607         (expm1): New method.
10608         (EXPM1_Q1): New field.
10609         (EXPM1_Q2): Likewise.
10610         (EXPM1_Q3): Likewise.
10611         (EXPM1_Q4): Likewise.
10612         (EXPM1_Q6): Likewise.
10613
10614 2006-07-26  Roman Kennke  <kennke@aicas.com>
10615
10616         * javax/swing/plaf/basic/BasicButtonListener.java
10617         (mousePressed): Request focus if appropriate.
10618         * javax/swing/text/DefaultCaret.java
10619         (mousePressed): Also handle the focus of the text component
10620         as specified. Don't consume events.
10621
10622 2006-07-26  Roman Kennke  <kennke@aicas.com>
10623
10624         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10625         (focusRequest): Removed field.
10626         (postFocusEvent(int,boolean,Component)): Removed.
10627         (postFocusEvent(int,boolean)): Reverted to post event using
10628         the heavyweight component.
10629         (requestFocus): Post focus event using the heavyweight
10630         component.
10631         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10632         (requestFocus): Post focus event using the heavyweight
10633         component.
10634         * java/awt/AWTEvent.java
10635         (isFocusManagerEvent): New field, indicating if this is
10636         an event that is redispatched by the KeyboardFocusManager.
10637         * java/awt/Component.java
10638         (requestFocusImpl): Register component for
10639         heavyweight->lightweight mapping.
10640         (dispatchEventImpl): Retarget focus events before dispatching
10641         to the KeyboardFocusManager. Use new AWTEvent flag instead
10642         of locking hack. Dispatch all events through the
10643         KeyboardFocusManager. Don't request focus on lightweight
10644         components.
10645         * java/awt/DefaultKeyboardFocusManager.java
10646         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10647         FOCUS_LOST.
10648         (handleFocusGained): Fixed handling of temporary vs permanent
10649         focus changes. Added some checks.
10650         (handleFocusLost): Fixed handling of temporary vs permanent
10651         focus changes. Added some checks.
10652         * java/awt/EventDispatchThread.java
10653         (run): Don't dispatch to KeyboardFocusManager here. This
10654         is done in Component.dispatchEventImpl().
10655         * java/awt/KeyboardFocusManager.java
10656         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10657         (focusRequests): New field.
10658         (retargetFocusEvent): New method. Retargets focus events
10659         that come from heavyweights to the correct lightweight component.
10660         (addLightweightFocusRequest): New method. Stores a mapping
10661         for later retargetting of heavyweight focus events.
10662         * java/awt/Window.java
10663         (addFocusListener): Removed bogus method. If at all, this
10664         should be performed in the KeyboardFocusManager.
10665         (Window): Don't install a focus listener on the Window.
10666
10667 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10668
10669         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10670         (drawLine): Apply shift to line coordinates.
10671
10672 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10673
10674         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10675         (copyimage): Do not call setRenderingHints() when the respective map
10676         does not exist.
10677         (filter): Removed code to clone the ColorModel instance.
10678         * java/awt/image/ColorModel.java:
10679         (cloneColorModel): Removed.
10680
10681 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10682
10683         * javax/swing/JTabbedPane.java:
10684         (setSelectedIndex): Removed updating of component visibility status,
10685         added note.
10686         (remove(Component)): Use indexOfComponent() to find whether we have
10687         to use super.remove(int) or removeTabAt().
10688
10689 2006-07-26  Roman Kennke  <kennke@aicas.com>
10690
10691         * javax/swing/JOptionPane.java
10692         (createDialog): Add property change handler for closing
10693         the dialog when the value property changes.
10694         (ValuePropertyHandler): New inner helper class.
10695         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10696         (OptionPaneCloseAction): New class.
10697         (messageForeground): Removed field.
10698         (messageBorder): Removed field.
10699         (buttonBorder): Removed field.
10700         (addIcon): Configure the new label.
10701         (addMessageComponents): Configure newly created labels.
10702         (burstStringInto): Likewise.
10703         (createButtonArea): Install border here.
10704         (createMessageArea): Install border and foreground here.
10705         (createSeparator): Added comment and removed
10706         NotImplementedException.
10707         (installComponents): Don't install the UI defaults for the
10708         message and button area here. This is moved to the
10709         corresponding create* methods. Adjusted comment about
10710         separator.
10711         (installDefaults): Removed initialization of removed fields.
10712         (installKeyboardActions): Implemented.
10713         (getActionMap): New helper method.
10714         (createDefaultActions): New helper method.
10715         (uninstallDefaults): Removed de-initialization of removed fields.
10716         (uninstallKeyboardActions): Implemented.
10717         (configureLabel): New helper method.
10718         * javax/swing/plaf/basic/BasicTableUI.java
10719         (getActionMap): Fixed the UI property names.
10720         * javax/swing/plaf/basic/BasicToolBarUI.java
10721         (getActionMap): Fixed the UI property names.
10722
10723 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10724
10725         * java/awt/image/BandedSampleModel.java
10726         (getDataElements): Check for negative x or y,
10727         (getPixels): Likewise,
10728         (getSamples): Likewise,
10729         (setSamples): Likewise.
10730
10731 2006-07-26  Roman Kennke  <kennke@aicas.com>
10732
10733         * javax/swing/plaf/basic/BasicToolBarUI.java
10734         (ToolBarAction): New inner class for handling keyboard
10735         actions.
10736         (installKeyboardActions): Implemented.
10737         (getActionMap): New helper method.
10738         (createDefaultActions): New helper method.
10739         (installListeners): Install focus listener on toolbar's
10740         children, rather than the toolbar itself.
10741         (navigateFocusedComp): Implemented.
10742         (uninstallKeyboardActions): Implemented.
10743         (uninstallListeners): Uninstall focus listener from
10744         toolbar's children, rather than the toolbar itself.
10745         (ToolBarContListener.componentAdded): Install focus
10746         listener on added child.
10747         (ToolBarContListener.componentRemoved): Uninstall focus
10748         listener from removed child.
10749         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10750         (ToolBarFocusListener.focusGained): Implemented.
10751         (ToolBarFocusListener.focusLost): Implemented.
10752
10753 2006-07-26  Roman Kennke  <kennke@aicas.com>
10754
10755         * java/awt/DefaultKeyboardFocusManager.java
10756         (dispatchEvent): Notify old focus owner when it has lost
10757         focus.
10758
10759 2006-07-26  Roman Kennke  <kennke@aicas.com>
10760
10761         * javax/swing/plaf/basic/BasicTableUI.java
10762         (FocusHandler.focusGained): Implemented to refresh the
10763         lead cell.
10764         (FocusHandler.focusLost): Implemented to refresh the
10765         lead cell.
10766         (FocusHandler.repaintLeadCell): New helper method.
10767         (MouseInputHandler.mouseEntered): Do nothing here.
10768         (MouseInputHandler.mouseExited): Do nothing here.
10769         (MouseInputHandler.mouseMoved): Do nothing here.
10770         (installKeyboardActions): Rewritten to use a shared InputMap
10771         and ActionMap and correctly install the maps via SwingUtilities
10772         methods.
10773         (getActionMap): New helper method.
10774         (createDefaultActions): New helper method.
10775         (ActionListenerProxy): Removed unneeded class.
10776         (TableAction): Made class static.
10777         (TableAction.actionPerformed): Determine table by fetching
10778         the event source. Pass the table to helper methods.
10779         Use __command__ hack to determine the action command.
10780         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10781         (TableAction.getLastVisibleColumnIndex): Get table as argument.
10782         (TableAction.getFirstVisibleRowIndex): Get table as argument.
10783         (TableAction.getLastVisibleRowIndex): Get table as argument.
10784         (TableAction.advanceMultipleSelection): Get table as argument.
10785         (uninstallDefaults): Do nothing here.
10786         (uninstallKeyboardActions): Uninstall the keyboard actions.
10787
10788 2006-07-26  Roman Kennke  <kennke@aicas.com>
10789
10790         * javax/swing/JComponent.java
10791         (processKeyBinding): Store the action command as property
10792         in the Action instance that we call. This allows for
10793         improvement on the side of the Action.
10794
10795 2006-07-26  Roman Kennke  <kennke@aicas.com>
10796
10797         * javax/swing/plaf/metal/MetalUtils.java
10798         (fillMetalPattern): Use fillRect() instead of drawLine() to
10799         fill single pixels.
10800
10801 2006-07-26  Roman Kennke  <kennke@aicas.com>
10802
10803         * javax/swing/text/GapContent.java
10804         (getChars): Check for negative length and throw
10805         BadLocationException.
10806
10807 2006-07-26  Roman Kennke  <kennke@aicas.com>
10808
10809         * javax/swing/plaf/basic/BasicMenuBarUI.java
10810         (FocusAction): Made class static.
10811
10812 2006-07-26  Roman Kennke  <kennke@aicas.com>
10813
10814         * javax/swing/plaf/basic/BasicLookAndFeel.java
10815         (initComponentDefaults): Add keyboard bindings for
10816         PopupMenu.
10817
10818 2006-07-26  Roman Kennke  <kennke@aicas.com>
10819
10820         * javax/swing/UIManager.java
10821         (getLookAndFeelDefaults): Return the look and feel defaults.
10822         (setLookAndFeel): Improved exception messsage.
10823
10824 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10825
10826         * javax/swing/text/StringContent.java
10827         (StringContent): Changed initialLength to 10.
10828
10829 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10830
10831         * java/util/Vector.java: Fixed API doc typo.
10832
10833 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10834
10835         * java/awt/image/BandedSampleModel.java
10836         (createCompatibleSampleModel): Fixed typo in loop increment, set
10837         correct scanlineStride, and updated API docs.
10838
10839 2006-07-25  Roman Kennke  <kennke@aicas.com>
10840
10841         * javax/swing/plaf/basic/BasicPopupMenuUI.java
10842         (NavigateAction): New inner class. This is responsible for
10843         keyboard navigation through menus.
10844         (KeyboardHelper): New inner class. This manages the
10845         keyboard mappings and focus when a popup opens or closes.
10846         (keyboardHelper): New static field.
10847         (numPopups): New static field.
10848         (installUI): Create KeyboardHelper for first popup.
10849         Call installKeyboardActions().
10850         (installKeyboardActions): Removed NotImplementedException.
10851         This method is a no-op.
10852         (installKeyboardActionsImpl): New method. Installs keyboard
10853         mapping when a popup is opened.
10854         (getActionMap): New helper method.
10855         (createDefaultActions): New helper method.
10856         (uninstallUI): Uninstall KeyboardHelper when last Popup is
10857         uninstalled. Call uninstallKeyboardActions().
10858         (uninstallKeyboardActions): Removed NotImplementedException.
10859         This method is a no-op.
10860         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
10861         mapping when a popup is closed.
10862         
10863 2006-07-25  Roman Kennke  <kennke@aicas.com>
10864
10865         * java/awt/Component.java
10866         (requestFocus()): Reimplemented to use requestFocusImpl().
10867         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
10868         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
10869         (requestFocusInWindow(boolean)): Reimplemented to use
10870         requestFocusImpl().
10871         (requestFocusImpl): Reimplemented focus request to use
10872         new peer method. Also added some obvious additional checks
10873         for rejecting focus requests early.
10874         * java/awt/ComponentPeer.java
10875         (requestFocus(Component,boolean,boolean,long)): Documented
10876         this method.
10877         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10878         (requestFocus): New field.
10879         (gtkWidgetHasFocus): New native method.
10880         (gtkWidgetCanFocus): New native method.
10881         (requestFocus): Replaced with assert false to prevent
10882         usage of obsolete method.
10883         (postFocusEvent(int,boolean,Component)): New overloaded method
10884         for posting the focus event to a specific target.
10885         (postFocusEvent(int,boolean)): Post event to requestFocus
10886         component.
10887         (requestFocus(Component,boolean,boolean,long)): Implemented.
10888         (getWindowFor): New helper method.
10889         (isLightweightDescendant): New helper method.
10890         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10891         (gtkWindowHasFocus): New native method.
10892         (requestFocus(Component,boolean,boolean,long)): New method.
10893         Overrides GtkComponentPeer method to specially handly the
10894         case when a Window receives a focus request for a lightweight
10895         child.
10896         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10897         (gtkWidgetHasFocus): New native method.
10898         (gtkWidgetCanFocus): New native method.
10899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10900         (gtkWindowHasFocus): New native method.
10901         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
10902         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
10903         Regenerated.
10904
10905 2006-07-25  Francis Kung  <fkung@redhat.com>
10906
10907         * java/awt/DefaultKeyboardFocusManager.java
10908         (dispatchEvent): Add check for valid component.
10909
10910 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10911
10912         * javax/management/MBeanConstructorInfo.java:
10913         New file.
10914         * javax/management/MBeanNotificationInfo.java:
10915         Documentation fix.
10916         * javax/management/MBeanParameterInfo.java:
10917         New file.
10918
10919 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10920
10921         * java/awt/peer/gtk/CairoGraphics.java:
10922         (drawLine): Added special case for 1 pixel lines.
10923
10924 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10925
10926         Fixes PR27844.
10927         * java/awt/peer/gtk/CairoGraphics.java:
10928         (drawLine): Removed calls to shifted().
10929
10930 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10931
10932         * javax/swing/JTabbedPane.java:
10933         (remove(Component)): Rewritten.
10934         (setSelectedIndex): Implemented updating of component visibility state.
10935
10936 2006-07-25  Sven de Marothy  <sven@physto.se>
10937
10938         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
10939         (init): Default to the actual depth in the worst case.
10940         
10941         * java/awt/Font.java
10942         (createFont(int, File)): New method.
10943         
10944 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10945
10946         Fixes bug #28413
10947         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
10948         New field.
10949         (RETokenEnd): New constructer to set check_java_line_terminators.
10950         (matchThis): Checck line terminators if check_java_line_terminators.
10951         * gnu/java/util/regex/RETokenStart.java: Likewise.
10952         * gnu/regexp/RE.java(initialize): Use the new constructors for
10953         RETokenEnd and RETokenStart if REG_MULTILINE is set.
10954         * java/util/regex/Pattern.java(Patteren): Changed so that
10955         gnu/regexp/RE.java may use the new the new constructors.
10956
10957 2006-07-25  Roman Kennke  <kennke@aicas.com>
10958
10959         * java/awt/Container.java
10960         (focusTraversalPolicyProvider): New field.
10961         (isFocusTraversalPolicyProvider): New method.
10962         (setFocusTraversalPolicyProvider): New method.
10963         * java/awt/ContainerOrderFocusTraversalPolicy.java
10964         (getFirstComponent): Use accept() instead of lengthy checks.
10965         Don't fetch getComponents() to avoid copying of array.
10966         Traverse down the hierarchy to find the first focused component.
10967         * java/awt/DefaultKeyboardFocusManager.java
10968         (dispatchEvent): Let the initial component request focus.
10969
10970 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
10971
10972         * javax/swing/text/Segment.java
10973         (last): Update current index before returning DONE for zero count.
10974         
10975 2006-07-24  Mark Wielaard  <mark@klomp.org>
10976
10977         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
10978
10979 2006-07-25  Roman Kennke  <kennke@aicas.com>
10980
10981         * javax/swing/plaf/basic/BasicMenuBarUI.java
10982         (FocusAction): New inner class. Used to grab focus.
10983         (installKeyboardActions): Implemented.
10984         (uninstallKeyboardActions): Implemented.
10985         (getActionMap): New helper method.
10986         (createDefaultActions): New helper method.
10987
10988 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
10989
10990         * examples/gnu/classpath/examples/swing/Demo.java:
10991         (mkMenuBar): Install instantiable basic look and feel.
10992         (InstantiableBasicLookAndFeel): New inner class.
10993
10994 2006-07-25  Roman Kennke  <kennke@aicas.com>
10995
10996         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10997         (GlassPaneDispatcher.dragTarget): New field.
10998         (GlassPaneDispatcher.isDragging): New field.
10999         (GlassPaneDispatcher.pressedComponent): Removed field.
11000         (GlassPaneDispatcher.tempComponent): Removed field.
11001         (GlassPaneDispatcher.pressCount): Removed field.
11002         (GlassPaneDispatcher.mousePressed): Call
11003         borderListener.mousePressed() to activate the frame.
11004         (acquireComponentForMouseEvent): Removed method.
11005         (handleEvent): Rewritten.
11006         (redispatch): New method.
11007         (InternalFramePropertyChangeListener.propertyChange):
11008         Make glasspane invisible when frame is selected, and visible
11009         if it gets deselected.
11010         
11011 2006-07-25  Roman Kennke  <kennke@aicas.com>
11012
11013         * java/awt/LightweightDispatcher.java
11014         (handleMouseEvent): Dispatch event to real target if
11015         the dragTarget has become invisible in the meantime.
11016
11017 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11018
11019         * javax/swing/text/TabSet.java
11020         (equals): New method override for 1.5,
11021         (hashCode): Likewise,
11022         (toString): Added spaces to match reference implementation.
11023
11024 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11025
11026         * javax/management/IntrospectionException.java,
11027         * javax/management/MBeanAttributeInfo.java:
11028         New files.
11029         * javax/management/MBeanNotificationInfo.java:
11030         Documentation cleanups.
11031         
11032 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11033
11034         * javax/swing/text/TabSet.java
11035         (TabSet): Check for null argument,
11036         (getTab): Throw IllegalArgumentException for index out of bounds,
11037         (getTabIndexAfter): Changed test to '<=',
11038         and updated API docs all over,
11039         * javax/swing/text/TabStop.java: Updated API docs.
11040
11041 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11042
11043         * javax/swing/text/TabStop.java
11044         (toString): Don't use 'left ' prefix, and added space between tab
11045         location and '(w/leader)' suffix.
11046
11047 2006-07-24  Francis Kung  <fkung@redhat.com>
11048
11049         * javax/swing/JComboBox.java
11050         (DefaultKeySelectionManager): Implemented.
11051         (createDefaultKeySelectionManager): Implemented.
11052         (getKeySelectionManager): Implemented.
11053         (processKeyEvent): Removed duplicate code.
11054         * javax/swing/JPopupMenu.java
11055         (selectionModel): Changed visibility.
11056         * javax/swing/plaf/basic/BasicComboBoxUI.java
11057         (KeyHandler.keyPressed): Added navigation keys.
11058         (configureEditor): Add key listener.
11059         (installListeners): Install focus listener to combo box.
11060         (isNavigationKey): Added enter, escape, and tab.
11061         (selectPreviousPossibleValue): Added out of bounds check.
11062         (unconfigureEditor): Remove key listener.
11063         * javax/swing/plaf/metal/MetalComboBoxButton.java
11064         (paintComponent): Highlight combo box when in focus.
11065
11066 2006-07-24  Roman Kennke  <kennke@aicas.com>
11067
11068         * javax/swing/SwingUtilities.java
11069         (isLeftMouseButton): Fixed condition.
11070         * java/awt/LightweightDispatcher.java
11071         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11072         is dragged.
11073
11074 2006-07-24  Roman Kennke  <kennke@aicas.com>
11075
11076         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11077         (setPaint): Fixed scaleX and scaleY.
11078
11079 2006-07-24  Roman Kennke  <kennke@aicas.com>
11080
11081         * javax/swing/JTable.java
11082         (handleInsert): Repaint the whole table for variable row
11083         height tables and an optimized region otherwise.
11084         (handleDelete): Likewise.
11085         (handleUpdate): Likewise.
11086
11087 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11088
11089         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11090         now explicity registerListeners on GtkMouseDragGestureRecognizer
11091         instance.
11092         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11093         (unregisterListeners): new method, overrided from base class
11094         to rise visibility (from protected to public).
11095         (registerListeners): Likewise.
11096         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11097         removed call to registerListeners from the constructor.
11098
11099 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11100
11101         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11102         * java/lang/management/MemoryPoolMXBean.java:
11103         (getType()): Changed return type to MemoryType.
11104         * java/lang/management/MemoryType.java:
11105         New file.
11106
11107 2006-07-23  Mark Wielaard  <mark@klomp.org>
11108
11109         * configure.ac: Check for moc and moc-qt4.
11110
11111 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11112
11113         * java/awt/image/Kernel.java: API doc updates.
11114
11115 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11116
11117         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11118         bit more.
11119
11120 2006-07-22  Mark Wielaard  <mark@klomp.org>
11121
11122         * java/lang/Iterable.java: Import all of java.util.
11123         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11124         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11125
11126 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11127
11128         * doc/vmintegration.texinfo:
11129         Document getType(String).
11130         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11131         * java/lang/management/MemoryPoolMXBean.java:
11132         (getType()): Implemented.
11133         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11134         (getType(String)): Implemented.
11135         
11136 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11137
11138         * doc/vmintegration.texinfo:
11139         Move end of itemization block.
11140
11141 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11142
11143         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11144         (initComponentDefaults): Added new properties, added comments.
11145         
11146 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11147
11148         * doc/vmintegration.texinfo:
11149         Mention callback methods.
11150         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11151         (fireNotification(String,String,long,long,long,long,long)):
11152         Made package-private.
11153         (fireThresholdExceededNotification(String,long,long,long,
11154         long,long)): Likewise.
11155         (fireCollectionThresholdExceededNotification(String,long,
11156         long,long,long,long)): Likewise.
11157         * java/lang/management/MemoryMXBean.java:
11158         Document notifications.
11159
11160 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11161
11162         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11163         (fireNotification(String,String,long,long,long,long,long)):
11164         Implemented.
11165         (fireThresholdExceededNotification(String,long,long,long,
11166         long,long)): Likewise.
11167         (fireCollectionThresholdExceededNotification(String,long,
11168         long,long,long,long)): Likewise.
11169         * java/lang/management/MemoryNotificationInfo.java:
11170         Use composite type from MemoryMXBeanImpl.
11171         * javax/management/openmbean/CompositeData.java:
11172         Correct documentation.
11173         * javax/management/openmbean/CompositeDataSupport.java,
11174         * javax/management/openmbean/InvalidKeyException.java:
11175         New files.
11176
11177 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11178
11179         * gnu/java/security/util/IntegerUtil.java: New file.
11180
11181 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11182
11183         PR Classpath/28100
11184         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11185         (KEY_SIZE): Likewise.
11186         (adjustParity(int,byte[],int): New method.
11187         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11188         (isParityAdjusted(int,byte[],int)): New method.
11189         (isParityAdjusted): Call above method with 3 as 1st argument.
11190         (keySizes): Add 8 and 16 as other valid key sizes.
11191         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11192
11193 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11194
11195         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11196         code for the pixel swap routine to be more efficient.
11197
11198 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11199
11200         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11201         (lastIndexOf(E, int)): Likewise.
11202         (add(E)): Increase the size of newData array by one.
11203         (add(int, E)): Likewise.
11204
11205 2006-07-20  Lillian Angel  <langel@redhat.com>
11206
11207         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11208         Removed unused fields.
11209         (GtkMouseDragGestureRecognizer): Removed initializations.
11210
11211 2006-07-20  Lillian Angel  <langel@redhat.com>
11212
11213         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11214         (GtkMouseDragGestureRecognizer): New constructor.
11215         (GtkMouseDragGestureRecognizer): New constructor.
11216         (GtkMouseDragGestureRecognizer): New constructor.
11217         (mouseClicked): Removed FIXME.
11218         (mousePressed): Implemented.
11219         (mouseReleased): Implemented.
11220         (mouseEntered): Implemented.
11221         (mouseDragged): Implemented to check mouse point and trigger origin.
11222         (mouseMoved): Removed FIXME.
11223         (getDropActionFromEvent): New helper function used to convert mouse event
11224         modifiers to a drop action.
11225         * java/awt/dnd/DragSource.java
11226         (getDragThreshold): Changed to return some arbitrary value for testing
11227         purposes.
11228
11229 2006-07-20  Roman Kennke  <kennke@aicas.com>
11230
11231         * java/awt/LightweightDispatcher.java
11232         (findTarget): Also consider components that have their eventMask
11233         set, for compatibility with stonage AWT. Optimized check
11234         for MouseListener.
11235         (handleMouseEvent): Likewise.
11236
11237 2006-07-20  Roman Kennke  <kennke@aicas.com>
11238
11239         * javax/swing/JTable.java
11240         (tableChanged): Split out handling of the event into multiple
11241         subroutines.
11242         (handleCompleteChange): New method. Clear the selection and
11243         check the lead/anchor indices.
11244         (handleInsert): New method. Check the lead/anchor indices.
11245         Optimized repainting.
11246         (handleDelete): New method. Check the lead/anchor indices.
11247         Optimized repainting.
11248         (handleUpdate): New method. Optimized repainting.
11249         (checkSelection): New helper method.
11250         (setSelectionModel): Update lead/anchor indices.
11251
11252 2006-07-20  Lillian Angel  <langel@redhat.com>
11253
11254         PR 28440
11255         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11256         (dispose): Reset all fields.
11257
11258 2006-07-20  Roman Kennke  <kennke@aicas.com>
11259
11260         * gnu/java/awt/peer/x/XToolkit.java
11261         (createImage(InputStream)): Only copy image to Pixmap if
11262         it's actually opaque. Transparent images are left as
11263         BufferedImage and composited later onto the screen.
11264         * gnu/java/awt/peer/x/XGraphics.java
11265         (XGraphics): Fetch some parameters for image rendering.
11266         (drawImage): Added special handling of transparent images.
11267         (getRGB): New helper method.
11268         (setRGB): New helper method.
11269
11270 2006-07-20  Roman Kennke  <kennke@aicas.com>
11271
11272         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11273         ImageInputStreams as normal InputStreams.
11274         * gnu/javax/imageio/gif/GIFStream.java:
11275         Moved to gnu/javax/imageio/IIOInputStream.java.
11276         * gnu/javax/imageio/gif/GIFImageReader.java
11277         (readImage): Use IIOInputStream.
11278         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11279         (canDecodeInput): Use IIOInputStream.
11280         * gnu/javax/imageio/png/PNGException.java: Make subclass
11281         of IOException.
11282         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11283         Implements the ImageIO ImageReader for PNG.
11284         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11285         Implements the ImageIO ImageReaderSpi for PNG.
11286         * javax/imageio/spi/IIORegistry.java:
11287         (IIORegistry): Add PNGImageReaderSpi.
11288
11289 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11290
11291         * java/awt/image/ComponentSampleModel.java
11292         (getPixel): Added argument check,
11293         (getSample): Modified exception message.
11294
11295 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11296
11297         PR Classpath/28422
11298         * java/awt/image/ConvolveOp.java
11299         (filter(Raster, WritableRaster)): Reimplemented,
11300         (fillEdge): New private method.
11301
11302 2006-07-19  Keith Seitz  <keiths@redhat.com>
11303
11304         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11305         (JVMTI_VERSION): Define.
11306
11307 2006-07-19  Roman Kennke  <kennke@aicas.com>
11308
11309         * resource/gnu/regexp/MessagesBundle.properties,
11310         * resource/gnu/regexp/MessagesBundle_fr.properties,
11311         * resource/gnu/regexp/MessagesBundle_it.properties:
11312         Moved to resource/gnu/java/util/regex.
11313         * resource/gnu/java/util/regex/MessagesBundle.properties,
11314         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11315         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11316         New files.
11317         * gnu/java/util/regex/RE.java
11318         Use new resource bundle location.
11319
11320 2006-07-19  Roman Kennke  <kennke@aicas.com>
11321
11322         * javax/swing/JComponent.java
11323         (paintChildren): Refactored. The paintChildrenOptimized method
11324         has been moved back in here. Added locking of the tree and
11325         only check for completely obscured child components
11326         when not optimized drawing enabled. Use Graphics.create() to
11327         protect from irreversible changes.
11328         (isCompletelyObscured): New helper method.
11329         (paintComponent): Also use Graphics.create() for Graphics2D,
11330         to protect from irreverible changes.
11331         (clipAndTranslateGraphics): Refactored to use more efficient
11332         iterative (vs recursive) approach.
11333         * javax/swing/RepaintManager.java
11334         (getOffscreenBuffer): Create image from root component.
11335         
11336 2006-07-19  Roman Kennke  <kennke@aicas.com>
11337
11338         * gnu/java/awt/peer/x/XGraphics.java
11339         (translate): Don't set the clip on the X server.
11340         (clipRect): Use setXClip() to set the clip on the X server.
11341         (hitClip): More efficient and correct implementation.
11342         (setClip): Use setXClip() to set the clip on the X server.
11343         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11344         (copyArea): Translate and clip the source rectangle correctly.
11345         (dispose): Only flush when object is not yet disposed.
11346         (clone): Use setXClip() to set the clip on the X server.
11347
11348 2006-07-19  Sven de Marothy  <sven@physto.se>
11349
11350         * gnu/javax/imageio/png/PNGChunk.java,
11351         * gnu/javax/imageio/png/PNGData.java,
11352         * gnu/javax/imageio/png/PNGDecoder.java,
11353         * gnu/javax/imageio/png/PNGEncoder.java,
11354         * gnu/javax/imageio/png/PNGException.java,
11355         * gnu/javax/imageio/png/PNGFile.java,
11356         * gnu/javax/imageio/png/PNGFilter.java,
11357         * gnu/javax/imageio/png/PNGGamma.java,
11358         * gnu/javax/imageio/png/PNGHeader.java,
11359         * gnu/javax/imageio/png/PNGICCProfile.java,
11360         * gnu/javax/imageio/png/PNGPalette.java,
11361         * gnu/javax/imageio/png/PNGPhys.java,
11362         * gnu/javax/imageio/png/PNGTime.java:
11363         New files.
11364
11365 2006-07-19  Sven de Marothy  <sven@physto.se>
11366
11367         * java/net/Inet6Address.java:
11368         (getScopedId, getScopedInterface): New methods.
11369         
11370 2006-07-19  Lillian Angel  <langel@redhat.com>
11371
11372         * examples/gnu/classpath/examples/awt/Demo.java
11373         (DragDropWindow): Fixed typo in Label text.
11374         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11375         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11376         (startDrag): Initialized context field.
11377         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11378         function.
11379         (dragEnter): New function.
11380         (dragExit): Likewise.
11381         (dragDropEnd): Likewise.
11382         (dragMouseMoved): Likewise.
11383         (dragOver): Likewise.
11384         (dragActionChanged): Likewise.
11385
11386 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11387
11388         PR Classpath/26302
11389         * resource/java/security/classpath.security: Updated copyright year.
11390         (auth.login.defaultCallbackHandler): New property; set to our default
11391         callback handler. This is needed by the LoginContext when no callback
11392         handler was specified.
11393         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11394         (LoginContext(4)): Assign passed parameters to local fields before invoking
11395         lookup method.
11396
11397 2006-07-19  Roman Kennke  <kennke@aicas.com>
11398
11399         * gnu/java/awt/peer/x/XGraphics.java
11400         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11401         Fixed ordering of parameters.
11402
11403 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11404
11405         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11406         (MemoryMXBeanImpl()): Implemented.
11407         (ListenerData): New private class.
11408         (addNotificationListener(NotificationListener,
11409         NotificationFilter, Object)): Implemented.
11410         (getNotificationInfo()): Likewise.
11411         (removeNotificationListener(NotificationListener)):
11412         Likewise.
11413         (removeNotificationListener(NotificationListener,
11414         NotificationFilter, Object)): Likewise.
11415         
11416 2006-07-18  Roman Kennke  <kennke@aicas.com>
11417
11418         * gnu/java/awt/peer/x/XFontPeer.java
11419         (encodeFont): Be more flexible with font sizes.
11420         (validSize): New helper method.
11421         * gnu/java/awt/peer/x/XGraphics.java
11422         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11423         Implemented.
11424         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11425         Implemented.
11426         * gnu/java/awt/peer/x/XImage.java
11427         (properties): New field.
11428         (getProperty): Implemented.
11429         * resource/gnu/java/awt/peer/x/fonts.properties:
11430         Added copyright header. Fixed font size field.
11431
11432 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11433
11434         * java/awt/image/BandedSampleModel.java
11435         (createDataBuffer): New method override,
11436         * java/awt/image/ByteLookupTable.java
11437         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11438         (ByteLookuptable(int, byte[])): Check for null array,
11439         * java/awt/image/ComponentSampleModel.java
11440         (createDataBuffer): Removed unnecessary braces,
11441         (getSample): Check (x, y) is within bounds,
11442         * java/awt/image/ShortLookupTable.java
11443         (ShortLookupTable(int, short[][])): Create new array to hold references,
11444         (ShortLookupTable(int, short[])): Check for null array,
11445         (getTable): Added API docs,
11446         (lookupPixel): Source reformatting.
11447
11448 2006-07-18  Tania Bento  <tbento@redhat.com>
11449         
11450         * java/awt/GridLayout.java
11451         (setHgap): Illegal Argument Exception should not be thrown if 
11452         hgap < 0.
11453         (setVgap): Illegal Argument Exception should not be thrown if 
11454         vgap < 0.
11455         (toString): Opening square braket ([) should appear before hgap
11456         value, not the name of the class.
11457
11458 2006-07-18  Roman Kennke  <kennke@aicas.com>
11459
11460         * lib/copy-vmresources.sh.in: Reverted.
11461         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11462         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11463
11464 2006-07-18  Roman Kennke  <kennke@aicas.com>
11465
11466         * lib/copy-vmresources.sh.in: Include properties from X peers.
11467
11468 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11469
11470         PR Classpath/27205
11471         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11472         certificate validity.
11473         (getIssuerName): New method.
11474         (getSubjectName): Likewise.
11475         (getNotAfterDate): Likewise.
11476         (getNotBeforeDate): Likewise.
11477         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11478         messages for newly added messages in SFHelper.
11479
11480 2006-07-18  Roman Kennke  <kennke@aicas.com>
11481
11482         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11483         * gnu/java/awt/peer/x/XEventPump.java
11484         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11485         * gnu/java/awt/peer/x/XFramePeer.java
11486         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11487         * gnu/java/awt/peer/x/XGraphics.java
11488         Made subclass of Graphics rather than Graphics2D. Removed
11489         all Graphics2D specific method stubs.
11490         (setColor): Map colors using the X color map that is
11491         stored in XToolkit.
11492         * gnu/java/awt/peer/x/XToolkit.java
11493         (colorMap): New field.
11494         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11495         instance.
11496         (createDialog): Implemented.
11497         (createImage(ImageProducer)): Implemented.
11498         (createImage(InputStream)): Use createImage(ImageProducer)
11499         to convert the BufferedImage to an XImage.
11500         * gnu/java/awt/peer/x/XWindowPeer.java
11501         (XWindowPeer): Removed debug output.
11502
11503 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11504
11505         * java/awt/image/BufferedImageOp.java: API docs added,
11506         * java/awt/image/RasterOp.java: Likewise.
11507
11508 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11509
11510         * java/awt/Graphics2D.java: API docs updated.
11511
11512 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11513
11514         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11515         source code.
11516
11517 2006-07-18  Sven de Marothy  <sven@physto.se>
11518
11519         * java/net/Inet6Address.java:
11520         Add 1.5 serialized fields.
11521         (getByAddress): New methods.
11522         (readObject, writeObject): New methods. 
11523         (equals): Reimplement.
11524
11525 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11526
11527         * java/awt/image/Raster.java: Added API docs and reformatted source
11528         code.
11529
11530 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11531
11532         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11533         imports.
11534         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11535         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11536         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11537         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11538         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11539         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11540         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11541         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11542         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11543         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11544         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11545         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11546         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11547         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11548         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11549         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11550         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11551         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11552         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11553         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11554         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11555
11556 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11557
11558         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11559         to make it compile again under jikes. Note added.
11560
11561 2006-07-17  Lillian Angel  <langel@redhat.com>
11562
11563         * examples/gnu/classpath/examples/awt/Demo.java
11564         (Demo): Added new window for DnD demo.
11565         (DragDropWindow): New class.
11566         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11567         Added new fields and declarations for native functions.
11568         (GtkDragSourceContextPeer): Implemented.
11569         (getComponentPeer): New function.
11570         (startDrag): Partially implemented.
11571         (getCursor): Implemented.
11572         (setCursor): Implemented.
11573         * include/GtkDragSourceContextPeer.h: New file.
11574         * include/Makefile.am: Added new header file.
11575         * java/awt/Component.java
11576         (addNotify): Added call to the dropTarget's addNotify.
11577         * java/awt/dnd/DragSource.java
11578         (startDrag): Fixed code to use shared instances of peer and
11579         context.
11580         (getDragThreshold): Added stub.
11581         * java/awt/dnd/DropTarget.java
11582         (DropTarget): Implemented fully.
11583         (addNotify): Added code to get the peer of the parent that is
11584         not lightweight.
11585         * java/awt/dnd/DropTargetDragEvent.java
11586         (getTransferable): Added stub.
11587         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11588         * native/jni/gtk-peer/Makefile.am: Added new c file.
11589         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11590         Changed to extend GtkGenericPeer.
11591         (GtkDropTargetContextPeer): New constructor.
11592         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11593         Changed to extend GtkGenericPeer.
11594         (GtkDropTargetContextPeer): New constructor.
11595
11596 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11597
11598         * java/awt/image/SinglePixelPackedSampleModel.java
11599         (createSubsetSampleModel): Added argument check and API docs.
11600
11601 2006-07-17  Roman Kennke  <kennke@aicas.com>
11602
11603         * gnu/java/awt/peer/x/XGraphics.java
11604         (copyArea): Implemented.
11605
11606 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11607
11608         * java/awt/image/SinglePixelPackedSampleModel.java
11609         (getSampleSize): Return copy of array,
11610         (getOffset): Added API docs,
11611         (getScanlineStride): Likewise,
11612         (hashCode): Implemented.
11613
11614 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11615
11616         * java/awt/image/MultiPixelPackedSampleModel.java
11617         (getOffset): Updated API docs and source reformatting,
11618         (getBitOffset): Source reformatting only,
11619         (getDataElements): Likewise,
11620         (getPixel): Likewise,
11621         (getPixels): Removed method override,
11622         (setDataElements): Reimplemented.
11623
11624 2006-07-17  Gary Benson  <gbenson@redhat.com>
11625
11626         * resource/META-INF/services/.cvsignore: New file.
11627         * lib/.cvsignore: Updated.      
11628
11629 2006-07-17  Roman Kennke  <kennke@aicas.com>
11630
11631         * javax/swing/plaf/basic/BasicButtonListener.java
11632         (propertyChange): Only do the text layout caching as long
11633         as the noGraphics2D property isn't set.
11634         * javax/swing/plaf/basic/BasicMenuItemUI.java
11635         (PropertyChangeHandler.propertyChange): Only do the text layout
11636         caching as long as the noGraphics2D property isn't set.
11637
11638 2006-07-17  Roman Kennke  <kennke@aicas.com>
11639
11640         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11641         (XGraphicsEnvironment): Make constructor public so that it
11642         can be called via Class.forName().newInstance().
11643         * gnu/java/awt/peer/x/XImage.java
11644         (XImage): Fetch GraphicsEnvironment via
11645         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11646         than the XToolkit method, to avoid double instantiation
11647         of the XGraphicsEnvironment.
11648         * gnu/java/awt/peer/x/XToolkit.java
11649         (env): Removed field.
11650         (getLocalGraphicsEnvironment): Removed impl. This method
11651         should not be called since we set the graphicsenv property
11652         in the constructor.
11653
11654 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11655
11656         * java/util/UUID.java:
11657         (compareTo(Object)): Call compareTo(UUID).
11658         (compareTo(UUID)): Implemented.
11659         
11660 2006-07-16  Tom Tromey  <tromey@redhat.com>
11661
11662         * java/lang/StrictMath.java (cbrt): Added '@since'.
11663
11664 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11665
11666         * java/lang/StrictMath.java (cbrt): New method.
11667         (getLowDWord): New helper method.
11668         (getHighDWord): Likewise.
11669         (buildDouble): Likewise.
11670         (CBRT_B1): New field.
11671         (CBRT_B2): Likewise.
11672         (CBRT_C): Likewise.
11673         (CBRT_D): Likewise.
11674         (CBRT_E): Likewise.
11675         (CBRT_F): Likewise.
11676         (CBRT_G): Likewise.
11677
11678 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11679
11680         * javax/management/MBeanInfo.java:
11681         (getNotifications()): Implemented.
11682         * javax/management/NotificationBroadcaster.java:
11683         (removeNotificationListener(NotificationListener)):
11684         Renamed from removeListener.
11685         * javax/management/NotificationEmitter.java:
11686         (removeNotificationListener(NotificationListener,
11687         NotificationFilter, Object)): Likewise.
11688         * javax/management/NotificationFilter.java:
11689         Implement Serializable.
11690         * javax/management/NotificationListener.java:
11691         Implement java.util.EventListener.
11692         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11693         Implement Serializable.
11694
11695 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11696
11697         * java/lang/management/MemoryNotificationInfo.java:
11698         New file.
11699         
11700 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11701
11702         PR 28392
11703         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11704         (tagIsValidForContext): If it is not possible to insert any tag, but 
11705         is possible to insert a P, insert a P.
11706         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11707         (newInstance): Removed print statement. (getBodyElements):
11708         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11709         valid body level tags (will be enclosed into P's).
11710
11711 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11712
11713         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11714         Condition the creation of .keystore (a default keystore) based on the
11715         createIfNotFound argument as well.
11716
11717 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11718
11719         PR 28392
11720         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11721         Removed heading p tag from the parsing example.
11722         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11723         (createHtmlContentModel): Explained.
11724         (defineElements): Call getBodyElements to get the body
11725         elements. (getBodyElements): New method. (model):
11726         Made protected from private.
11727         * gnu/javax/swing/text/html/parser/htmlValidator.java
11728         (openTag): Mind that current content model may be null.
11729         (tagIsValidForContext): If the tag is PCDATA, and it is not
11730         valid for context, but the paragraph (P) is valid for context,
11731         suggest to insert the P tag here.
11732         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11733         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11734         implied P tags here.
11735         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11736         Get the custom parser, using HTML_401Swing.java DTD.
11737         * javax/swing/text/html/parser/ParserDelegator.java:
11738         Removed the obsolete note that HTMLEditorKit does not exist.
11739         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11740         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11741
11742 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11743
11744         * javax/management/ListenerNotFoundException.java:
11745         New file.
11746         * javax/management/MBeanFeatureInfo.java:
11747         (hashCode()): Use summation instead of multiplication
11748         for consistency with other classes.
11749         * javax/management/MBeanNotificationInfo.java,
11750         * javax/management/Notification.java,
11751         * javax/management/NotificationBroadcaster.java,
11752         * javax/management/NotificationEmitter.java,
11753         * javax/management/NotificationFilter.java,
11754         * javax/management/NotificationListener.java:
11755         New files.
11756         * javax/management/OperationsException.java:
11757         (serialVersionUID): Added.
11758         
11759 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
11760             Mark Wielaard  <mark@klomp.org>
11761
11762         * java/io/PrintStream.java: Added four constructors, for File and
11763         String describing a filename with or without explicit encoding.
11764
11765 2006-07-16  Sven de Marothy  <sven@physto.se>
11766
11767         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11768         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11769         New files.
11770
11771 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11772
11773         PR Classpath/28391
11774         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
11775         New method.
11776         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11777         (setProviderClassNameParam): Made private.
11778         (setKeystoreTypeParam): Likewise.
11779         (setKeyPasswordParam): Likewise
11780         (setKeystorePasswordParam): Likewise.
11781         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11782         create or not the keystore if it's not there, and the second is the store's
11783         password to process before loading the keystore. Amended the code
11784         accordingly.
11785         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11786         setKeyStoreParams(5) with true as its first argument.
11787         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11788         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11789
11790 2006-07-16  Sven de Marothy  <sven@physto.se>
11791
11792         * java/util/UUID.java: New file.
11793
11794 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11795
11796         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11797         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11798         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11799         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11800         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11801         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11802         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11803         added Key Wrapping Algorithm SPIs.
11804
11805 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11806
11807         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11808         wrapping/unwrapping to invoke their engineGetOutputSize.
11809
11810 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11811
11812         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11813         (engineInit): If a SecureRandom was specified then use it.
11814         (nextRandomBytes): New method.
11815         (engineWrap): Use above method.
11816         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
11817         (getDefaultPRNG): New method.
11818         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
11819         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
11820         New constant.
11821
11822 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11823
11824         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
11825         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
11826
11827 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11828
11829         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
11830         offset into consideration.
11831
11832 2006-07-16  Mario Torre  <neugens@limasoftware.net>
11833
11834         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
11835         Fixed comment. This functions now requires to be called
11836         with gdk lock held, the comment states that.
11837         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
11838         Introduces gdk locks around critical regions of code.
11839         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
11840         Likewise.
11841         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
11842         Likewise.
11843         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
11844         Likewise.
11845         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
11846         Likewise.
11847         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
11848         Likewise.
11849         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
11850         Likewise.
11851         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
11852         Likewise.
11853         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
11854         Likewise.
11855         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
11856         Likewise.
11857         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
11858         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
11859
11860 2006-07-15  Sven de Marothy  <sven@physto.se>
11861
11862         * javax/swing/JFileChooser.java
11863         Change default selection mode to FILES_ONLY.
11864         * javax/swing/plaf/basic/BasicDirectoryModel.java
11865         Document, fix selection mode filtering.
11866         (renameFile): Implement
11867         * javax/swing/plaf/basic/BasicFileChooserUI.java
11868         (selectedDir): New field to handle selected directories,
11869         disallow selecting of directories in FILES_ONLY mode.
11870         * javax/swing/plaf/metal/MetalFileChooserUI.java:
11871         (EditingActionListener.actionPerformed):
11872         Stop editing on all actions (e.g. return-key press)
11873
11874 2006-07-15  Mark Wielaard  <mark@klomp.org>
11875
11876         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
11877         to code.
11878         (JNI Implementation): Mark JVMTI Implementation as next.
11879         (JVMTI Implementation): Mark JNI Implementation as prev.
11880
11881 2006-07-15  Mark Wielaard  <mark@klomp.org>
11882
11883         * include/Makefile.am: Remove
11884         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
11885         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11886         * native/jni/gtk-peer/Makefile.am: Remove
11887         gnu_java_awt_peer_gtk_GdkTextLayout.c
11888         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
11889         Removed.
11890
11891         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
11892
11893 2006-07-15  Mark Wielaard  <mark@klomp.org>
11894
11895         * autogen.sh: Recognize autoconf 2.60.
11896
11897 2006-07-15  Keith Seitz  <keiths@redhat.com>
11898
11899         * NEWS: Update for JVMTI and jvmti.h.
11900         * doc/vmintegration.texinfo: Likewise.
11901         * include/jvmti.h: New file.
11902
11903 2006-07-15  Mark Wielaard  <mark@klomp.org>
11904
11905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11906         Removed C++ style comment.
11907
11908 2006-07-15  Sven de Marothy  <sven@physto.se>
11909
11910         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
11911         * java/awt/MouseInfo.java,
11912         * java/awt/PointerInfo.java,
11913         * java/awt/peer/MouseInfoPeer.java:
11914         New files.
11915
11916         * java/awt/Image.java
11917         (accelerationPriority): New field.
11918         (setAccelerationPriority, getAccelerationPriority): New methods..
11919
11920         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
11921         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
11922         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
11923         (getMouseCoordinates): New method.
11924
11925         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11926         (updateAlwaysOnTop): Remove stub overload.
11927
11928         * gnu/java/awt/ClasspathToolkit.java,
11929         * gnu/java/awt/peer/gtk/GtkToolkit.java,
11930         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
11931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
11932         (getMouseInfoPeer): New method.
11933         (getMouseNumberOfButtons): New method.
11934         
11935         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11936         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
11937         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11938         (gtkWindowSetAlwaysOnTop): New method.
11939         (updateAlwaysOnTop): Implement.
11940
11941         * java/awt/Toolkit.java,
11942         (getMouseInfoPeer): New method.
11943
11944         * java/awt/Window.java
11945         (alwaysOnTop): New field.
11946         (isAlwaysOnTop, setAlwaysOnTop): New methods.
11947
11948         * java/awt/peer/WindowPeer.java: Doc fix.
11949
11950 2006-07-14  Sven de Marothy  <sven@physto.se>
11951
11952         * java/awt/font/TextLayout.java:
11953         (hitTestChar): Stub method.
11954         * java/awt/font/TextMeasurer.java:
11955         (getLayout): Throw exception on invalid argument.
11956         
11957 2006-07-14  Sven de Marothy  <sven@physto.se>
11958
11959         * java/awt/image/DataBuffer.java
11960         (DataBuffer): Call constructors in the correct order,
11961         
11962 2006-07-14  Mark Wielaard  <mark@klomp.org>
11963
11964         Revert to previous implementation.
11965         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
11966         constraints insets.
11967
11968 2006-07-14  Roman Kennke  <kennke@aicas.com>
11969
11970         * gnu/java/awt/peer/x/XToolkit.java
11971         (XToolkit): Install properties to SystemProperties
11972         rather than System, to avoid SecurityManager.
11973         (getImage(String)): Return error image when string is invalid.
11974         (createImage(URL)): Moved image loading to helper method.
11975         (createImage(ImageProducer)): Implemented.
11976         (createImage(byte[],int,int)): Implemented.
11977         (createImage(InputStream)): New helper method.
11978
11979 2006-07-14  Tania Bento  <tbento@redhat.com>
11980
11981         * java/awt/FlowLayout.java
11982         (setHgap): No Excpetion should be thrown if hgap has
11983         a negative value.
11984         (setVgap): No Exception should be thrown if vgap has
11985         a negative value.
11986
11987 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11988
11989         * java/awt/image/MultiPixelPackedSampleModel.java: 
11990         Added API docs all over.
11991
11992 2006-07-14  Matt Wringe  <mwringe@redhat.com>
11993
11994         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
11995         (engineInit): Throw InvalidAlgorithmParameterException
11996         for invalid IVParameterSpec IV length.
11997
11998 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
11999
12000         * java/awt/image/MultiPixelPackedSampleModel.java
12001         (createDataBuffer): Include dataBitOffset in calculating the size for
12002         the data buffer.
12003
12004 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12005
12006         * java/awt/image/MultiPixelPackedSampleModel.java
12007         (getSampleSize()): Return a copy of the array,
12008         (getTransferType()): New method override.
12009
12010 2006-07-14  Roman Kennke  <kennke@aicas.com>
12011
12012         * java/awt/CardLayout.java
12013         (show): Validate parent to make sure that the layout is
12014         valid.
12015
12016 2006-07-14  Roman Kennke  <kennke@aicas.com>
12017
12018         * java/awt/Component.java
12019         (enable): Added tree locking.
12020         (disable): Added tree locking.
12021         (show): Added tree locking.
12022         (hide): Added tree locking.
12023         (getLocationOnScreen): Added tree locking.
12024         (reshape): Added tree locking.
12025         (addHierarchyListener): Added tree locking.
12026         (removeHierarchyListener): Added tree locking.
12027         (addHierarchyBoundsListener): Added tree locking.
12028         (removeHierarchyBoundsListener): Added tree locking.
12029         (addNotify): Added tree locking.
12030         (removeNotify): Added tree locking.
12031         * java/awt/Container.java
12032         (invalidateTree): Added tree locking.
12033         (getAlignmentX): Added tree locking.
12034         (getAlignmentY): Added tree locking.
12035         (addNotify): Added tree locking.
12036         (setComponentZOrder): Added tree locking.
12037         (getComponentZOrder): Added tree locking.
12038
12039 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12040
12041         * java/awt/image/MultiPixelPackedSampleModel.java
12042         (createSubsetSampleModel): Restored argument check, but let null
12043         through.
12044
12045 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12046
12047         * java/awt/image/MultiPixelPackedSampleModel.java
12048         (createSubsetSampleModel): Removed argument check.
12049
12050 2006-07-14  Roman Kennke  <kennke@aicas.com>
12051
12052         * java/awt/Component.java
12053         (numHierarchyListeners): New field.
12054         (numHierarchyBoundsListeners): New field.
12055         (show): Fire hierarchy events here. Only fire component event
12056         if there is actually a listener for it.
12057         (hide): Fire hierarchy events here. Only fire component event
12058         if there is actually a listener for it.
12059         (reshape): Fire hierarchy events here. Only fire component event
12060         if there is actually a listener for it.
12061         (addHierarchyListeners): Update listener counters.
12062         (removeHierarchyListeners): Update listener counters.
12063         (addHierarchyBoundsListeners): Update listener counters.
12064         (removeHierarchyBoundsListeners): Update listener counters.
12065         (fireHierarchyEvent): New helper method for firing hierarchy
12066         events.
12067         * java/awt/Container.java
12068         (addImpl): Update listener counters. Fire hierarchy event.
12069         (remove): Update listener counters. Fire hierarchy event.
12070         (fireHierarchyEvent): New helper method for firing hierarchy
12071         events.
12072         (updateHierarchyListenerCount): New helper method for
12073         updating the listener counters.
12074
12075 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12076
12077         * java/awt/image/MultiPixelPackedSampleModel.java
12078         (equals): New method override,
12079         (hashCode): Likewise.
12080
12081 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12082
12083         * java/awt/image/MultiPixelPackedSampleModel.java
12084         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12085         Corrected scanlineStride calculation.
12086
12087 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12088
12089         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12090         (AES_KWA): Likewise.
12091         (AES128_KWA): Likewise.
12092         (AES192_KWA): Likewise.
12093         (AES256_KWA): Likewise.
12094         (RIJNDAEL_KWA): Likewise.
12095         (TRIPLEDES_KWA): Likewise.
12096         (DESEDE_KWA): Likewise.
12097         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12098         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12099         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12100         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12101         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12102         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12103
12104 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12105
12106         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12107         (PADDING_BLOCK_SIZE): New constant.
12108         (init(Map attributes)): New method.
12109         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12110
12111 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12112
12113         * gnu/java/security/OID.java (OID): Private Constructor removed as
12114         it is not needed anymore.
12115         (clone): Fixed. Now uses super.clone instead of the private
12116         constructor as per specification of clone method.
12117         (serialVersionUID): added new field to allow serialization.
12118
12119 2006-07-13  Sven de Marothy  <sven@physto.se>
12120
12121         * gnu/javax/imageio/gif/GIFImageReader.java
12122         (read): Remove old debugging trace.
12123
12124 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12125
12126         PR awt/28369:
12127         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12128         blue mask.
12129
12130 2006-07-13  Roman Kennke  <kennke@aicas.com>
12131
12132         * java/awt/Component.java
12133         (DEFAULT_MAX_SIZE): New static constant.
12134         (preferredSize): Return copy of the actual value computed
12135         by new helper method.
12136         (preferredSizeImpl): New helper method. Adds locking and
12137         correct handling of cached value.
12138         (minimumSize): Return copy of the actual value computed
12139         by new helper method.
12140         (minimumSizeImpl): New helper method. Adds locking and
12141         correct handling of cached value.
12142         (getMaximumSize):  Return copy of the actual value computed
12143         by new helper method.
12144         (maximumSizeImpl): New helper method. Adds locking and
12145         correct handling of cached value.
12146         (invalidate): Correct handling of cached layout information.
12147         Added locking.
12148         * java/awt/Container.java
12149         (preferredSize): Minimized locking. Corrected handling of cached
12150         values. Return copy of real value.
12151         (minimumSize): Minimized locking. Corrected handling of cached
12152         values. Return copy of real value.
12153         (getMaximumSize): Minimized locking. Corrected handling of cached
12154         values. Return copy of real value.
12155         
12156 2006-07-13  Tania Bento  <tbento@redhat.com>
12157
12158         * gnu/java/awt/peer/ClasspathFontPeer.java
12159         (isLogicalFontName): Return true if name == default.
12160         (logicalFontNameToFaceName): Check if name == default,
12161         and if so, return "Dialog.plain".
12162         (setStandardAttributes(String, Map)): If name == null, 
12163         it should be set to "Default", not "SansSerif".
12164         * java/awt/Canvas.java
12165         (generateName): Fixed documentation.
12166         * java/awt/CheckboxMenuItem.java
12167         Added static variable "next_chkmenuitem_number".
12168         (generateName): Added and implemented method.
12169         (getUniqueLong): Likewise.
12170         * java/awt/Choice.java
12171         Added static variable "next_choice_number".
12172         (generateName): Added and implemented method.
12173         (getUniqueLong): Likewise.
12174         * java/awt/Cursor.java
12175         (Cursor(int)): Set name depending on the type passed.
12176         * java/awt/List.java
12177         Added static variable "next_list_number".
12178         (generateName): Added and implemented method.
12179         (getUniqueLong): Likewise.
12180         * java/awt/Menu.java
12181         Added static variable "next_menu_number".
12182         (generateName): Added and implemented method.
12183         (getUniqueLong): Likewise.
12184         * java/awt/MenuBar.java
12185         Added static variable "next_menubar_number".
12186         (generateName): Added and implemented method.   
12187         (getUniqueLong): Likewise.
12188         * java/awt/MenuComponent.java
12189         (getName): Before returning name, check if name == null
12190         and name is not explicity set.  If this is the case,    
12191         name will be generated.
12192         (generateName): Added and implemented method.   
12193         * java/awt/MenuItem.java
12194         Added static variable "next_menuitem_number".
12195         (generateName): Added and implemented method.   
12196         (getUniqueLong): Likewise.
12197         * java/awt/PopupMenu.java
12198         Added static variable "next_popup_number".
12199         (generateName): Added and implemented method.
12200         (getUniqueLong): Likewise.
12201         * java/awt/ScrollPane.java
12202         Added static variable "next_scrollpane_number".
12203         (generateName): Added and implemented method.
12204         (getUniqueLong): Likewise.
12205         * java/awt/TextField.java
12206         Added static variable "next_textfield_number".
12207         (generateName): Added and implemented method.
12208         (getUniqueLong): Likewise.
12209
12210
12211 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12212
12213         * java/awt/image/SinglePixelPackedSampleModel.java
12214         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12215         mask correctly as an unsigned integer,
12216         (equals): New method override.
12217
12218 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12219
12220         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12221         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12222
12223 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12224
12225         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12226         code reformatting,
12227         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12228
12229 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12230
12231         * java/awt/image/BandedSampleModel.java: API doc updates.
12232
12233 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12234
12235         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12236         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12237         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12238         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12239         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12240         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12241         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12242         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12243         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12244         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12245         Implemented. (getInsertingReader): New method. 
12246         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12247         Added buttons to demonstrate the work of the insert actions.
12248
12249 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12250
12251         * java/awt/image/SampleModel.java: API doc updates and additions,
12252         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12253
12254 2006-07-12  Sven de Marothy  <sven@physto.se>
12255
12256         * javax/swing/JFileChooser.java:
12257         (createDialog): Close operation should cause a cancel.
12258
12259 2006-07-12  Francis Kung  <fkung@redhat.com>
12260
12261         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12262         (cairoArc): New native method.
12263         (cairoRestore): New native method.
12264         (cairoSave): New native method.
12265         (cairoScale): New native method.
12266         (createPath): New method to centralize code from draw and fill.
12267         (draw): Modified to use createPath method.
12268         (fill): Modified to use createPath method.
12269         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12270         function declarations.
12271         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12272         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12273         method.
12274         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12275         method.
12276         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12277         method.
12278         
12279 2006-07-12  Tom Tromey  <tromey@redhat.com>
12280
12281         PR libgcj/27271:
12282         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12283         on PartialInputStream.
12284         (PartialInputStream.dummyByteCount): New field.
12285         (PartialInputStream.fillBuffer): Handle dummy byte.
12286         (PartialInputStream.read): Likewise.
12287         (PartialInputStream.addDummyByte): New method.
12288
12289 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12290
12291         * native/jni/gconf-peer/GConfNativePeer.c
12292         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12293         Fixed C++ style comment.
12294
12295 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12296
12297         * java/util/Arrays.java
12298         (asList): Updated API docs.
12299
12300 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12301
12302         Fixes PR28350.
12303         * native/jni/gconf-peer/GConfNativePeer.c:
12304         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12305         Changed if-expression.
12306         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12307         Added check for _value not being NULL.
12308         
12309 2006-07-11  Roman Kennke  <kennke@aicas.com>
12310
12311         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12312         (read): Use fd when local sockets are disabled to make the
12313         compiler quite.
12314         (write): Likewise.
12315
12316 2006-07-11  Roman Kennke  <kennke@aicas.com>
12317
12318         * java/awt/image/MultiPixelPackedSampleModel.java
12319         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12320         division gets rounded up.
12321
12322 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12323
12324         * java/lang/management/ManageFactory.java:
12325         (getMemoryManagerMXBeans()): Use addAll, not add.
12326         
12327 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12328
12329         PR 27649:
12330         * gnu/classpath/ByteArray.java: Removed (moved).
12331         * gnu/java/security/util/ByteArray.java: New File.
12332         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12333         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12334
12335 2006-07-11  Roman Kennke  <kennke@aicas.com>
12336
12337         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12338         (available): Pass fd as argument and avoid JNI class/field
12339         lookup.
12340         (read): Likewise.
12341         (write): Likewise.
12342         * include/gnu_java_net_local_LocalSocketImpl.h:
12343         Regenerated.
12344         * gnu/java/net/local/LocalSocketImpl.h
12345         (available): Pass fd as argument and avoid JNI class/field
12346         lookup.
12347         (read): Likewise.
12348         (write): Likewise.      
12349
12350 2006-07-11  Sven de Marothy  <sven@physto.se>
12351
12352         * gnu/javax/sound/sampled/AU/AUReader.java:
12353         Correct file extension from .as to .au.
12354
12355 2006-07-11  Sven de Marothy  <sven@physto.se>
12356
12357         * gnu/javax/sound/sampled/AU/AUReader.java:
12358         New file.
12359         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12360         Added new provider.
12361
12362 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12363
12364         * javax/swing/JTable.java
12365         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12366         (setColumnSelectionAllowed): Likewise.
12367
12368 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12369
12370         PR 27649:
12371         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12372         AccessController.doPrivileged instead of SystemProperties.getProperty.
12373         * gnu/classpath/debug/SystemLogger.java: Likewise.
12374         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12375         repeated getProperty calls for "file.seperator".
12376         (refresh): Since already in privileged block, call System.getProperty
12377         instead of SystemProperties.getProperty.
12378         * gnu/java/security/key/dss/DSSKey.java
12379         (toString): Use AccessController.doPrivileged instead of
12380         SystemProperties.getProperty.
12381         * gnu/java/security/key/dss/DSSPrivateKey.java
12382         (toString): Likewise.
12383         * gnu/java/security/key/dss/DSSPublicKey.java
12384         (toString): Likewise.
12385         * gnu/java/security/key/rsa/GnuRSAKey.java
12386         (toString): Likewise.
12387         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12388         (toString): Likewise.
12389         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12390         (toString): Likewise.
12391         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12392         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12393         (toString): Likewise.
12394         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12395         (toString): Likewise.
12396         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12397         (toString): Likewise.
12398
12399 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12400
12401         * javax/swing/AbstractButton.java
12402         (disabledIcon): Fixed name (was 'disabeldIcon'),
12403         (getDisabledIcon): Updated for corrected field name,
12404         (setDisabledIcon): Fire a PropertyChangeEvent.
12405
12406 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12407
12408         * javax/swing/DefaultBoundedRangeModel.java
12409         (readObject): New private method,
12410         (writeObject): Likewise.
12411
12412 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12413
12414         * javax/swing/ButtonGroup.java
12415         (add): Ignore null argument,
12416         (remove): Ignore null argument.  If removing selected button, clear the
12417         sel field,
12418         (findButton): Changed case for method name, and documented,
12419         (setSelected): Updated for modification to findButton() method name,
12420         (isSelected): Updated API docs.
12421
12422 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12423
12424         * java/awt/image/BufferedImage.java
12425         (BufferedImage(int, int, int)): Use correct color space for 
12426         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12427         IllegalArgumentException for an unrecognised type.
12428
12429 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12430
12431         * java/lang/management/ManagementFactory.java:
12432         (getMemoryPoolMXBeans): Genericized fully.
12433         (getMemoryManagerMXBeans): Likewise.
12434         (getGarbageCollectorMXBeans): Likewise.
12435         
12436 2006-07-10  Tom Tromey  <tromey@redhat.com>
12437
12438         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12439         Genericized.
12440         (getMemoryManagerMXBeans): Likewise.
12441         (getGarbageCollectorMXBeans): Likewise.
12442
12443 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12444
12445         * java/awt/BasicStroke.java: Removed unused import.
12446         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12447         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12448         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12449
12450 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12451
12452         PR classpath/28212:
12453         * javax/crypto/spec/SecretKeySpec.java 
12454         (equals): Check object type. 
12455
12456 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12457
12458         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12459         communication/StructureToPassHelper.java,
12460         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12461         communication/StructureToReturnHelper.java,
12462         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12463         communication/TreeNodeHelper.java,
12464         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12465         communication/WeThrowThisExceptionHelper.java,
12466         gnu/CORBA/ForwardRequestHelper.java,
12467         org/omg/CORBA/CompletionStatusHelper.java,
12468         org/omg/CORBA/CurrentHelper.java,
12469         org/omg/CORBA/DefinitionKindHelper.java,
12470         org/omg/CORBA/IDLTypeHelper.java,
12471         org/omg/CORBA/NameValuePairHelper.java,
12472         org/omg/CORBA/ObjectHelper.java,
12473         org/omg/CORBA/ParameterModeHelper.java,
12474         org/omg/CORBA/PolicyErrorCodeHelper.java,
12475         org/omg/CORBA/PolicyErrorHelper.java,
12476         org/omg/CORBA/PolicyHelper.java,
12477         org/omg/CORBA/PolicyListHelper.java,
12478         org/omg/CORBA/PolicyTypeHelper.java,
12479         org/omg/CORBA/ServiceDetailHelper.java,
12480         org/omg/CORBA/ServiceInformationHelper.java,
12481         org/omg/CORBA/SetOverrideTypeHelper.java,
12482         org/omg/CORBA/StringValueHelper.java,
12483         org/omg/CORBA/UnionMemberHelper.java,
12484         org/omg/CORBA/UnknownUserExceptionHelper.java,
12485         org/omg/CORBA/VisibilityHelper.java,
12486         org/omg/CORBA/WStringValueHelper.java,
12487         org/omg/CORBA/WrongTransactionHelper.java,
12488         org/omg/CosNaming/BindingHelper.java,
12489         org/omg/CosNaming/BindingIteratorHelper.java,
12490         org/omg/CosNaming/BindingListHelper.java,
12491         org/omg/CosNaming/BindingTypeHelper.java,
12492         org/omg/CosNaming/NameComponentHelper.java,
12493         org/omg/CosNaming/NameHelper.java,
12494         org/omg/CosNaming/NamingContextExtHelper.java,
12495         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12496         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12497         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12498         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12499         org/omg/CosNaming/NamingContextHelper.java,
12500         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12501         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12502         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12503         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12504         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12505         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12506         org/omg/DynamicAny/AnySeqHelper.java,
12507         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12508         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12509         org/omg/DynamicAny/DynAnyHelper.java,
12510         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12511         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12512         org/omg/DynamicAny/DynAnySeqHelper.java,
12513         org/omg/DynamicAny/DynArrayHelper.java,
12514         org/omg/DynamicAny/DynEnumHelper.java,
12515         org/omg/DynamicAny/DynFixedHelper.java,
12516         org/omg/DynamicAny/DynSequenceHelper.java,
12517         org/omg/DynamicAny/DynStructHelper.java,
12518         org/omg/DynamicAny/DynUnionHelper.java,
12519         org/omg/DynamicAny/DynValueHelper.java,
12520         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12521         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12522         org/omg/DynamicAny/NameValuePairHelper.java,
12523         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12524         org/omg/IOP/CodecFactoryHelper.java,
12525         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12526         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12527         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12528         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12529         org/omg/IOP/ComponentIdHelper.java,
12530         org/omg/IOP/IORHelper.java,
12531         org/omg/IOP/MultipleComponentProfileHelper.java,
12532         org/omg/IOP/ProfileIdHelper.java,
12533         org/omg/IOP/ServiceContextHelper.java,
12534         org/omg/IOP/ServiceContextListHelper.java,
12535         org/omg/IOP/ServiceIdHelper.java,
12536         org/omg/IOP/TaggedComponentHelper.java,
12537         org/omg/IOP/TaggedProfileHelper.java,
12538         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12539         org/omg/PortableInterceptor/AdapterNameHelper.java,
12540         org/omg/PortableInterceptor/AdapterStateHelper.java,
12541         org/omg/PortableInterceptor/CurrentHelper.java,
12542         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12543         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12544         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12545         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12546         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12547         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12548         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12549         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12550         org/omg/PortableServer/CurrentHelper.java,
12551         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12552         org/omg/PortableServer/ForwardRequestHelper.java,
12553         org/omg/PortableServer/POAHelper.java,
12554         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12555         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12556         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12557         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12558         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12559         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12560         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12561         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12562         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12563         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12564         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12565         org/omg/PortableServer/ServantActivatorHelper.java,
12566         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12567         typecode caching and always use OrbRestricted.Singleton.
12568
12569 2006-07-09  Tom Tromey  <tromey@redhat.com>
12570
12571         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12572
12573 2006-07-09  Mark Wielaard  <mark@klomp.org>
12574
12575         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12576         New static final boolean field.
12577         (getComponentGraphics): Use hasXRenderExtension.
12578         (setClip): Override method for locking.
12579
12580 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12581
12582         * javax/swing/AbstractButton.java
12583         (setHorizontalTextPosition): Added check for illegal argument,
12584         (setVerticalTextPosition): Likewise.
12585
12586 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12587
12588         * javax/swing/Timer.java
12589         (setDelay): Throw IllegalArgumentException for negative delay,
12590         (setInitialDelay): Likewise,
12591         * javax/swing/ToolTipManager.java
12592         (setInitialDelay): Document IllegalArgumentException,
12593         (setDismissDelay): Likewise,
12594         (setReshowDelay): Likewise.
12595
12596 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12597
12598         * java/lang/management/MemoryUsage.java:
12599         (from(javax.management.openmbean.CompositeData)):
12600         Implemented.
12601         * java/lang/management/ThreadInfo.java:
12602         Changed to use open types throughout for the state.
12603         (ThreadInfo(long,String,String,long,long,String,
12604         long,String,long,long,boolean,StackTraceElement[])):
12605         New constructor.
12606         (checkAttribute(javax.management.openmbean.CompositeType,
12607         String, javax.management.openmbean.OpenType)): New method.
12608         (from(javax.management.openmbean.CompositeData)):
12609         Implemented.
12610         (getLockName()): Fixed to use new variable.
12611         (getLockOwnerId()): Likewise.
12612         (getLockOwnerName()): Likewise.
12613         (getThreadId()): Likewise.
12614         (getThreadName()): Likewise.
12615         (getThreadState()): Likewise.
12616         (toString()): Refactored to use new variables.
12617         * javax/management/openmbean/ArrayType.java:
12618         New file.
12619         * javax/management/openmbean/CompositeType.java:
12620         Variables should be transient, not volatile.
12621         * javax/management/openmbean/OpenDataException.java:
12622         (serialVersionUID): Added.
12623         * javax/management/openmbean/SimpleType.java:
12624         New file.
12625         * javax/management/openmbean/TabularType.java
12626         Variables should be transient, not volatile.
12627
12628 2006-07-09  Tom Tromey  <tromey@redhat.com>
12629
12630         * tools/.cvsignore: Updated for new tools.
12631
12632 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12633
12634         * javax/management/openmbean/CompositeData.java,
12635         * javax/management/openmbean/CompositeType.java,
12636         * javax/management/openmbean/OpenDataException.java,
12637         * javax/management/openmbean/OpenType.java,
12638         * javax/management/openmbean/TabularData.java,
12639         * javax/management/openmbean/TabularType.java,
12640         * javax/management/openmbean/package.html:
12641         New files.
12642
12643 2006-07-09  Mark Wielaard  <mark@klomp.org>
12644
12645         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12646         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12647         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12648
12649 2006-07-08  Anthony Green  <green@redhat.com>
12650
12651         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12652         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12653         New files.
12654
12655 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12656
12657         * native/jni/gconf-peer/GConfNativePeer.c:
12658         Fixed indentation to be more compliant to the GNU coding
12659         guidelines.
12660         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12661         Added explicit test for errors in the GConf backend.
12662         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12663         Added explicit test for errors in the GConf backend.
12664         Fixed Segmentation Fault when non valid key names are given as input.
12665         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12666         likewise.
12667         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12668         Added explicit test for errors in the GConf backend.
12669         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12670         Added javadoc comments for all native methods.
12671         (nodeExist): removed test to check for valid absolute path name
12672         for nodes.
12673         (startWatchingNode): likewise.
12674         (stopWatchingNode): likewise.
12675         (setString): likewise, plus fixed javadoc comments.
12676         (unset): likekwise.
12677         (getKey): likewise.
12678         (getKeys): likewise, also fixed javadoc comments.
12679         (getChildrenNodes): likewise.
12680         * gnu/java/util/prefs/GConfBasedPreferences.java:
12681         changed DEFAULT_USER_ROOT to /apps/classpath.
12682         (constructor): Test to check for a valid absolute path for nodes
12683         is now in the contructor for that node, instead of being on
12684         each method of the backend.
12685         (getGConfKey): removed empty new line.
12686
12687 2006-07-08  Mark Wielaard  <mark@klomp.org>
12688
12689         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12690
12691 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12692
12693         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12694         Handle the forced break in the same way as exceeding the
12695         available row space.
12696         * javax/swing/text/html/HRuleView.java: Rewritten.
12697         * javax/swing/text/html/HTMLDocument.java 
12698         (HTMLReader.addSpecialElement):Reserve two characters for
12699         the special elements.
12700         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12701         (text): Extended the HTML example to parse.
12702
12703 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12704
12705         * javax/swing/AbstractButton.java
12706         (setHorizontalAlignment): Check for illegal argument,
12707         (setVerticalAlignment): Likewise.
12708
12709 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12710
12711         * javax/swing/text/html/TableView.java
12712         (getStyleSheet): New method. (RowView.getStyleSheet):
12713         New method.
12714
12715 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12716
12717         * javax/swing/AbstractButton.java
12718         (setRolloverIcon): Call setRolloverEnabled(true),
12719         (setRolloverSelectedIcon): Likewise.
12720
12721 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12722
12723         * javax/swing/border/TitledBorder.java
12724         (setTitlePosition): Added message to exception,
12725         (setTitleJustification): Likewise.
12726
12727 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12728
12729         * javax/swing/plaf/metal/MetalLookAndFeel.java
12730         (createDefaultTheme): Corrected API docs,
12731         (initComponentDefaults): Added entry for 'TitledBorder.border',
12732         (getCurrentTheme): Initialise theme if it is null.
12733
12734 2006-07-07  Roman Kennke  <kennke@aicas.com>
12735
12736         * java/awt/Component.java
12737         (isValid): Return false when component has no peer,
12738         don't query the showing state.
12739
12740 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12741
12742         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12743         Advance the offset also in the case of the enforced break.
12744
12745 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12746
12747         * javax/swing/plaf/basic/BasicArrowButton.java
12748         (MAXIMUM_SIZE): Removed field,
12749         (MINIMUM_SIZE): Likewise,
12750         (PREFERRED_SIZE): Likewise,
12751         (getMaximumSize): Return new instance every time,
12752         (getMinimumSize): Likewise,
12753         (getPreferredSize): Likewise.
12754
12755 2006-07-07  Roman Kennke  <kennke@aicas.com>
12756
12757         * java/awt/LightweightDispatcher.java
12758         (findTarget):  Avoid array copying in
12759         Container.getComponents().
12760
12761 2006-07-07  Roman Kennke  <kennke@aicas.com>
12762
12763         * javax/swing/JComponent.java
12764         (paintChildrenWithOverlap): Avoid array copying in
12765         Container.getComponents().
12766         (paintChildrenOptimized): Avoid array copying in
12767         Container.getComponents().
12768         (fireAncestorEvent):  Avoid array copying in
12769         Container.getComponents().
12770         (findOverlapFreeParent): Avoid array copying in
12771         Container.getComponents().
12772
12773 2006-07-07  Matt Wringe <mwringe@redhat.com>
12774
12775         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12776         (passwordValid): New field.
12777         (setPassword): New method.
12778         (setSalt): Likewise.
12779         (setIterationCount): Likewise.
12780         (setKeyLength): Likewise.
12781         (PBEKeySpec(char[])): Use new setter methods.
12782         (PBEKeySpec(char[], byte[], int)): Likewise.
12783         (PBEKeySpec(char[], byte[], int, int)): Likewise.
12784         (clearPassword): Set passwordValid to false.
12785         (getPassword): Check that clearPassword() was not called earlier.
12786         Return a clone of the password.
12787         (getSalt): Return a clone of the salt if it was not null.
12788
12789 2006-07-07  Roman Kennke  <kennke@aicas.com>
12790
12791         * java/awt/Component.java
12792         (isValid): Always return false when component is
12793         not showing.
12794         (setFont): Always set font, even when setting
12795         the same or equal font again.
12796
12797 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12798
12799         * javax/swing/plaf/metal/MetalIconFactory.java
12800         (CheckBoxMenuItemIcon): Implement UIResource,
12801         (FileChooserDetailViewIcon): Likewise,
12802         (FileChooserHomeFolderIcon): Likewise,
12803         (FileChooserListViewIcon): Likewise,
12804         (FileChooserNewFolderIcon): Likewise,
12805         (FileChooserUpFolderIcon): Removed redundant 'implements',
12806         (RadioButtonMenuItemIcon): Implement UIResource,
12807         (HorizontalSliderThumbIcon): Likewise,
12808         (InternalFrameCloseIcon): Likewise,
12809         (InternalFrameDefaultMenuIcon): Likewise,
12810         (InternalFrameAltMaximizeIcon): Likewise,
12811         (InternalFrameMaximizeIcon): Likewise,
12812         (InternalFrameMinimizeIcon): Likewise,
12813         (VerticalSliderThumbIcon): Likewise,
12814         (TreeHardDriveIcon): Likewise,
12815         (TreeFloppyDriveIcon): Likewise,
12816         (TreeComputerIcon): Likewise,
12817         (horizontalSliderThumbIcon): New field,
12818         (verticalSliderThumbIcon): New field,
12819         (getHorizontalSliderThumbIcon): Cache icon,
12820         (getVerticalSliderThumbIcon): Likewise.
12821
12822 2006-07-06  Mark Wielaard  <mark@klomp.org>
12823
12824         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
12825         (DISTCLEANFILES): Add standard.omit.
12826         (clean-local): Remove Makefile.deps, only remove dirs.
12827
12828 2006-07-06  Roman Kennke  <kennke@aicas.com>
12829
12830         * java/awt/Component.java
12831         (setFont): Only invalidate when component is valid.
12832         * java/awt/Container.java
12833         (setLayout): Only invalidate when component is valid.
12834
12835 2006-07-06  Lillian Angel  <langel@redhat.com>
12836
12837         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12838         New class not fully implemented.
12839         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12840         New class not fully implemented.
12841         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12842         New class not fully implemented.
12843         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12844         New class not fully implemented.
12845         * nu/java/awt/peer/gtk/GtkToolkit.java:
12846         Fixed Imports.
12847         (createDragSourceContextPeer): Implemented.
12848         (createDragGestureRecognizer): New function to override
12849         java.awt.Toolkit.createDragGestureRecognizer.
12850         * java/awt/dnd/DragSource.java
12851         (NoDragGestureRecognizer): Removed inner class.
12852         (createDragGestureRecognizer): Re-Implemented to 
12853         call Toolkit's createDragGestureRecognizer.
12854         (createDefaultDragGestureRecognizer): Re-Implemented to
12855         call Toolkit's createDragGestureRecognizer.
12856         * java/awt/dnd/DropTarget.java
12857         (addNotify): Added check to determine type of peer and call
12858         addDropTarget.
12859         (removeNotify): Added call to removeDropTarget.
12860
12861 2006-07-06  Tom Tromey  <tromey@redhat.com>
12862
12863         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
12864         'queue'.
12865         (run): Wait on queue, not 'this'.
12866
12867 2006-07-06  Lillian Angel  <langel@redhat.com>
12868
12869         * java/awt/dnd/DragSource.java
12870         (startDrag): Implemented. Added comments describing
12871         what the function should do. Removed FIXME.
12872
12873 2006-07-06  Tania Bento  <tbento@redhat.com>
12874         
12875         * gnu/java/awt/Canvas.java
12876         Added new private variable 'next_canvas_number'.
12877         (generateName): Added.
12878         (getUniqueLong): Added.
12879
12880 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12881
12882         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
12883         (getColor): Made public.
12884         * javax/swing/text/html/StyleSheet.java (stringToColor):
12885         Use CharacterAttributeTranslator.getColor(String)
12886
12887 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12888
12889         * javax/swing/text/html/HTMLEditorKit.java:
12890         (HTMLFactory.createElement): Update reference to the html table view.
12891         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
12892         * javax/swing/text/html/TableView.java: New file.
12893
12894 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12895
12896         * javax/swing/text/html/HTMLEditorKit.java: 
12897         (HTMLFactory.createElement): Uncomment
12898         code for BRView and HRuleView.
12899         * javax/swing/text/html/BRView.java,
12900         javax/swing/text/html/HRuleView.java: New files.
12901
12902 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12903
12904         * java/lang/Thread.java:
12905         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
12906         Added generic type signature.
12907
12908 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12909
12910         * NEWS: Updated.
12911         * doc/vmintegration.texinfo: Likewise.
12912         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
12913         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
12914         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
12915         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
12916         * java/lang/management/GarbageCollectorMXBean.java:
12917         New files.
12918         * java/lang/management/ManagementFactory.java:
12919         (getGarbageCollectorMXBeans()): Implemented.
12920         (getMemoryManagerMXBeans()): Likewise.
12921         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
12922         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
12923         New files.
12924         * vm/reference/java/lang/management/VMManagementFactory.java:
12925         (getMemoryManagerNames()): Added.
12926         (getGarbageCollectorNames()): Added.
12927         
12928 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12929
12930         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
12931         from lib_LTLIBRARIES.
12932         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
12933
12934 2006-07-05  Lillian Angel  <langel@redhat.com>
12935
12936         * java/awt/dnd/DragGestureEvent.java:
12937         Added new fields.
12938         (DragGestureEvent): Initialized new fields, added to check and 
12939         added documentation.
12940         (getSourceAsDragGestureRecognizer): Added documentation and 
12941         changed to use getSource.
12942         (getComponent): Added documentation and fixed to return the proper
12943         value.
12944         (getDragSource): Likewise.
12945         (getDragOrigin): Added documentation.
12946         (iterator): Implemented and added documentation.
12947         (toArray): Likewise.
12948         (toArray): Likewise.
12949         (getDragAction): Likewise.
12950         (getTriggerEvent): Likewise.
12951         (startDrag): Likewise.
12952         * java/awt/dnd/DragGestureRecognizer.java
12953         (resetRecognizer): Added FIXME.
12954         * java/awt/dnd/DragSource.java:
12955         Added new field.
12956         (DragSource): Set ds to be null if headless.
12957         (getDefaultDragSource): Added documentation and implemented.
12958         (isDragImageSupported): Marked as unimplemented.
12959         (startDrag): Likewise.
12960         (createDragSourceContext): Implemented.
12961         (NoDragGestureRecognizer): Formatted inner class.
12962         * java/awt/dnd/DropTarget.java
12963         (stop): Marked as unimplemented.
12964         (actionPerformed): Likewise.
12965         (addDropTargetListener): Added code to throw exception.
12966         (removeDropTargetListener): Added check, removed FIXME.
12967         (dragEnter): Implemented.
12968         (dragOver): Implemented.
12969         (dropActionChanged): Implemented.
12970         (dragExit): Implemented.
12971         (drop): Implemented.
12972         (addNotify): Implemented.
12973         (removeNotify): Implemented.
12974         (createDropTargetContext): Implemented.
12975         (createDropTargetAutoScroller): Implemented.
12976         (initializeAutoscrolling): Implemented.
12977         (updateAutoscroll): Implemented.
12978         (clearAutoscroll): Implemented.
12979         * java/awt/dnd/DropTargetContext.java
12980         (dropComplete): Implemented.
12981         (acceptDrag): Implemented.
12982         (rejectDrag): Implemented.
12983         (acceptDrop): Implemented.
12984         (rejectDrop): Implemented.
12985         (getCurrentDataFlavors): Implemented.
12986         (getTransferable): Partially implemented.
12987         * java/awt/dnd/DropTargetDragEvent.java
12988         (getDropAction): Uncommented correct code.
12989         * java/awt/dnd/DropTargetDropEvent.java
12990         (dropComplete) :Implemented.
12991         * java/awt/dnd/InvalidDnDOperationException.java
12992         (InvalidDnDOperationException): Added call to super.
12993
12994 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
12995
12996         * javax/swing/plaf/basic/BasicArrowButton.java:
12997         (paint): Removed getBounds() call, changed center point
12998         calculation.
12999
13000 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13001
13002         * javax/swing/InputMap.java
13003         (inputMap): Don't initialize yet,
13004         (InputMap): Removed TODO,
13005         (get): Check for null inputMap,
13006         (put): Return immediately for null keyStroke, check for null inputMap
13007         and initialize if necessary,
13008         (remove): Check for null inputMap,
13009         (size): Likewise,
13010         (clear): Likewise,
13011         (keys): Likewise,
13012         (allKeys): Likewise,
13013         (writeObject): Removed,
13014         (readObject): Removed.
13015
13016 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13017
13018         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13019         (createContent): Use different labels for buttons.
13020
13021 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13022
13023         * NEWS: Updated.
13024         * doc/vmintegration.texinfo: Likewise.
13025         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13026         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13027         New files.
13028         * java/lang/management/ManagementFactory.java:
13029         (getMemoryPoolMXBeans()): Implemented.
13030         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13031         * vm/reference/java/lang/management/VMManagementFactory.java:
13032         New files.
13033         
13034 2006-07-04  Lillian Angel  <langel@redhat.com>
13035
13036         * java/awt/dnd/DragSourceContext.java:
13037         Removed FIXMEs from fields.
13038         (DragSourceContext): Added code to initialize cursor and sourceActions.
13039         (getDragSource): Added documentation.
13040         (getComponent): Likewise.
13041         (getTrigger): Likewise.
13042         (getSourceActions): Added documentation and implemented.
13043         (setCursor): Implemented. Added documentation.
13044         (getCursor): Implemented. Added documentation.
13045         (dragEnter): Added code to notify DragSource's listeners.
13046         (dragOver): Likewise.
13047         (dragExit): Likewise.
13048         (dropActionChanged): Likewise.
13049         (dragDropEnd): Likewise.
13050         (dragMouseMoved): Implemented.
13051         (getTransferable): Added API documentation.
13052         (updateCurrentCursor): Added API documentation and partially implemented.
13053
13054 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13055
13056         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13057
13058 2006-07-04  Lillian Angel  <langel@redhat.com>
13059
13060         * java/awt/dnd/DragSourceContext.java
13061         (DragSourceContext): Implemented fully. Fixed API docs.
13062         (transferablesFlavorsChanged): Implemented.
13063         (dragEnter): Implemented.
13064         (dragOver): Implemented.
13065         (dragExit): Implemented.
13066         (dropActionChanged): Implemented.
13067         (dragDropEnd): Implemented.
13068
13069 2006-07-04  Lillian Angel  <langel@redhat.com>
13070
13071         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13072         Fixed name of constant.
13073         (getIconWidth): Changed name of constant returned.
13074         (getIconHeight): Likewise.
13075         (paint): Likewise.
13076         (createSeparator): Marked as unimplemented.
13077         * javax/swing/plaf/basic/BasicTableUI.java
13078         (focusGained): Marked as unimplemented.
13079         (focusLost): Marked as unimplemented.
13080         (mouseEntered): Likewise.
13081         (mouseMoved): Likewise.
13082         (uninstallDefaults): Likewise.
13083         * javax/swing/plaf/basic/BasicToolBarUI.java
13084         (mouseClicked): Changed comment.
13085         (mouseEntered): Likewise.
13086         (mouseExited): Likewise.
13087         (mouseMoved): Likewise.
13088         (setOrientation): Implemented.
13089         (ToolBarFocusListener): Marked as unimplemented.
13090         (focusGained): Marked as unimplemented.
13091         (focusLost): Marked as unimplemented.
13092
13093 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13094
13095         PR 28061
13096         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13097         Mind the effect of the root visibility on the position of the control.
13098         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13099         vertical line over first level nodes.
13100
13101 2006-07-04  Lillian Angel  <langel@redhat.com>
13102
13103         * javax/swing/plaf/basic/BasicMenuUI.java
13104         (installKeyboardActions): Implemented to call super. Nothing else
13105         needs to be done here.
13106         (setupPostTimer): Marked as unimplemented.
13107         (uninstallKeyboardActions): Implemented to call super. Nothing else
13108         needs to be done here.
13109         (mouseMoved): Removed TODO. Nothing to be done here.
13110         (ChangeHandler): Implemented.
13111         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13112         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13113         (menuKeyReleased): Removed TODO. Nothing to be done here.
13114         (menuKeyTyped): Marked as unimplemented.
13115
13116 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13117
13118         PR 28061
13119         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13120         (getDefaults): Set hash color to black.
13121         * javax/swing/plaf/basic/BasicLookAndFeel.java
13122         (initComponentDefaults): Set hash color to grey blue.
13123         * javax/swing/plaf/basic/BasicTreeUI.java
13124         (instellDefaults): Set hash color.
13125         * javax/swing/plaf/metal/MetalIconFactory.java
13126         (TreeControlIcon.paint): Rewritten.
13127
13128 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13129
13130         PR 28061
13131         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13132         Always cancel the current editing session before doing anything else,
13133         return immediately if this fails.
13134         (TreeHomeAction): Ensure that the lead selection path is visible after
13135         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13136         Likewise. TreeTraverseAction: Likewise.
13137
13138 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13139
13140         PR 28061
13141         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13142         Returned back the code to handle the start of the click-pause-click
13143         editing initiation, explained about this code. 
13144         (TreeStartEditingAction): New inner class.
13145         (stopEditingInCompleteEditing): Explained about this field.
13146         (completeEditing(boolean, boolean, boolean): Only return early
13147         if there is no current editing session.
13148         (createDefaultActions): Install TreeStartEditingAction and
13149         TreeCancelEditingAction.
13150
13151 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13152
13153         * configure.ac: Added new option --enable-default-preferences-peer
13154         to pass user specified default preference backend.
13155         If the GConf peer is built, GConf become the default backend.
13156         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13157         new file. 
13158         * lib/Makefile.am: excludes files terminating in 'in' from
13159         the metafiles list.
13160         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13161         from copy into META-INF.
13162         * java/util/prefs/Preferences.java: added two new import
13163         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13164         (getFactory): Now try to check for
13165         a system defined default preference backend before to fall back on
13166         FileBasedPreference.
13167
13168 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13169
13170         PR 28061
13171         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13172         (EXPANDED): Initialise to Boolean.TRUE.
13173         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13174         First configure layout cache and then set the assigned value 
13175         as row mapper. Set the root visibility property.
13176         (toggleExpandState): Obtains expansion state from the layout cache.
13177
13178 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13179
13180         * java/lang/management/MemoryPoolMXBean.java:
13181         New file.
13182         
13183 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13184
13185         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13186
13187 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13188
13189         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13190         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13191         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13192         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13193         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13194         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13195         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13196         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13197         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13198         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13199         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13200         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13201         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13202         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13203         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13204         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13205         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13206         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13207         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13208         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13209         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13210         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13211         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13212         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13213         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13214         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13215         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13216         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13217         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13218         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13219         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13220         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13221         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13222         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13223         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13224         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13225         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13226         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13227         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13228         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13229         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13230         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13231         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13232         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13233         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13234         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13235         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13236
13237 2006-07-02  Anthony Green  <green@redhat.com>
13238
13239         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13240         sure that every track written ends with an End Of Track meta
13241         message.
13242
13243 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13244
13245         * java/lang/management/MemoryUsage.java:
13246         (toString()): Fix missing MB for maximum memory usage.
13247         
13248 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13249
13250         * NEWS:
13251         Updated to include VMCompilationMXBeanImpl.
13252         * doc/vmintegration.texinfo:
13253         Likewise, along with update to VMMemoryMXBeanImpl
13254         as below.
13255         * examples/gnu/classpath/examples/management/TestCompilation.java,
13256         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13257         * java/lang/management/CompilationMXBeanImpl.java:
13258         New files.
13259         * java/lang/management/ManagementFactory.java:
13260         (getCompilationMXBean()): Implemented.
13261         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13262         New file.
13263         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13264         (getHeapMemoryUsage()): Added default implementation.   
13265         
13266 2006-07-02  Anthony Green  <green@redhat.com>
13267
13268         * NEWS: Mention MIDI file reader/writer providers.
13269
13270 2006-07-02  Anthony Green  <green@redhat.com>
13271
13272         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13273         gnu/javax/sound/midi/file/MidiFileWriter.java,
13274         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13275
13276 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13277
13278         * NEWS:
13279         Updated to include VMMemoryMXBeanImpl.
13280         * doc/vmintegration.texinfo: Likewise.
13281         * examples/gnu/classpath/examples/management/TestMemory.java:
13282         New file.
13283         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13284         Remove redundant import.
13285         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13286         New file.
13287         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13288         Remove redundant import.
13289         * java/lang/management/ManagementFactory.java:
13290         (getMemoryMXBean()): Implemented.
13291         * java/lang/management/MemoryMXBean.java,
13292         * java/lang/management/MemoryUsage.java:
13293         New files.
13294         * java/lang/management/ThreadInfo.java:
13295         (toString()): Updated documentation.
13296         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13297         New file.
13298         
13299 2006-07-01  Anthony Green  <green@redhat.com>
13300
13301         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13302         gnu/javax/sound/midi/file/MidiFileReader.java,
13303         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13304         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13305
13306 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13307
13308         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13309         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13310         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13311         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13312         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13313         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13314         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13315
13316 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13317
13318         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13319         * gnu/javax/crypto/pad/IPad.java: Likewise.
13320         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13321         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13322         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13323         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13324         * gnu/javax/crypto/pad/TBC.java: Likewise.
13325         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13326         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13327
13328 2006-07-01  Anthony Green  <green@redhat.com>
13329
13330         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13331         status byte test.
13332         (setMessage): Fix it again, in a different setMessage method.
13333
13334 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13335
13336         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13337         * gnu/javax/crypto/mode/CBC.java: Likewise.
13338         * gnu/javax/crypto/mode/CFB.java: Likewise.
13339         * gnu/javax/crypto/mode/CTR.java: Likewise.
13340         * gnu/javax/crypto/mode/EAX.java: Likewise.
13341         * gnu/javax/crypto/mode/ECB.java: Likewise.
13342         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13343         * gnu/javax/crypto/mode/ICM.java: Likewise.
13344         * gnu/javax/crypto/mode/IMode.java: Likewise.
13345         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13346         * gnu/javax/crypto/mode/OFB.java: Likewise.
13347
13348 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13349
13350         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13351         * gnu/javax/crypto/mac/HMac.java: Likewise.
13352         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13353         * gnu/javax/crypto/mac/IMac.java: Likewise.
13354         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13355         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13356         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13357         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13358         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13359         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13360         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13361
13362 2006-07-01  Anthony Green  <green@redhat.com>
13363
13364         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13365
13366 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13367
13368         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13369         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13370         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13371         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13372         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13373         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13374         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13375         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13376         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13377         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13378         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13379         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13380         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13381         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13382         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13383         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13384         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13385         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13386         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13387         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13388         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13389         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13390         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13391         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13392
13393 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13394
13395         * javax/swing/AbstractCellEditor.java: Source code formatting,
13396         * javax/swing/AbstractSpinnerModel.java: Likewise,
13397         * javax/swing/Box.java: Likewise,
13398         * javax/swing/BoxLayout.java: Likewise,
13399         * javax/swing/DefaultListModel.java: Likewise,
13400         * javax/swing/GrayFilter.java: Likewise,
13401         * javax/swing/LookAndFeel.java: Likewise,
13402         * javax/swing/ProgressMonitor.java: Likewise,
13403         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13404         * javax/swing/ScrollPaneLayout.java: Likewise,
13405         * javax/swing/SpringLayout.java: Likewise,
13406         * javax/swing/event/EventListenerList.java: Likewise,
13407         * javax/swing/event/MenuEvent.java: Likewise,
13408         * javax/swing/event/TreeExpansionListener.java: Likewise.
13409
13410 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13411
13412         * NEWS:
13413         Mention threading bean and getState().
13414         * doc/vmintegration.texinfo:
13415         Update documentation for threading bean and new
13416         method of VMThread.
13417         
13418 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13419         
13420         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13421         * examples/gnu/classpath/examples/management/TestOS.java,
13422         * examples/gnu/classpath/examples/management/TestRuntime.java,
13423         * examples/gnu/classpath/examples/management/TestThread.java:
13424         New files.
13425         
13426 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13427
13428         * java/lang/ThreadGroup.java
13429         (getThreadFromId, getThreadFromIdImpl): New methods.
13430
13431 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13432
13433         * java/lang/Thread.java:
13434         Make thread IDs start from 1 in a more efficient way.
13435
13436 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13437
13438         * java/lang/Thread.java:
13439         Make thread IDs start from 1.
13440         
13441 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13442
13443         * gnu/java/lang/management/BeanImpl.java:
13444         New superclass for all bean implementations.
13445         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13446         Extend BeanImpl and call permission code there.
13447         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13448         Extend BeanImpl.
13449         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13450         Extend BeanImpl and call permission code there.
13451         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13452         New file.
13453         * java/lang/management/ManagementFactory.java:
13454         (getThreadMXBean()): Implemented.
13455         * java/lang/management/ThreadInfo.java:
13456         (ThreadInfo(Thread,int)): Replaced...
13457         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13458         boolean, boolean, StackTraceElement[])): with this.
13459         (getBlockedCount()): Refactored to use local variables.
13460         (getBlockedTime()): Likewise.
13461         (getLockName()): Likewise.
13462         (getLockOwnerId()): Likewise.
13463         (getLockOwnerName()): Likewise.
13464         (getStackTrace()): Likewise.
13465         (getWaitedCount()): Likewise.
13466         (getWaitedTime()): Likewise.
13467         (isInNative()): Likewise.
13468         (isSuspended()): Likewise.
13469         (toString()): Changed to use new local variables.
13470         * java/lang/management/ThreadMXBean.java:
13471         (getThreadInfo(long, int)): Corrected documentation.
13472         (getThreadInfo(long[], int)): Likewise.
13473         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13474         New file.
13475         * vm/reference/java/lang/management/VMThreadInfo.java:
13476         Removed.
13477
13478 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13479
13480         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13481         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13482         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13483         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13484         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13485         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13486         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13487         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13488         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13489         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13490         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13491         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13492         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13493         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13494         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13495         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13496         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13497         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13498         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13499         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13500         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13501         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13502         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13503         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13504         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13505         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13506         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13507         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13508         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13509         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13510         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13511         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13512
13513 2006-07-01  Roman Kennke  <kennke@aicas.com>
13514
13515         * gnu/java/awt/java2d/AbstractGraphics2D.java
13516         (transform): Make field protected.
13517         (getDestinationRaster): Provide default implementation for
13518         previously abstract method.
13519
13520 2006-06-30  Tania Bento  <tbento@redhat.com>
13521
13522         * java/awt/TextArea.java
13523         (TextArea(String, int, int, int)): No longer throws
13524         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13525         values are invalid.  
13526         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13527         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13528         gets set to the default value of 0 (SCROLLBARS_BOTH).
13529          (appendText): Added case when peer = null.
13530         (insertText): Added case when peer == null.
13531         (replaceText): Added case when peer == null.
13532         * java/awt/TextComponent.java
13533         (TextComponent(String)): If text == null, set it to "".
13534
13535 2006-06-30  Lillian Angel  <langel@redhat.com>
13536
13537         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13538         (create): Added synchronized block around groupMap.get calls.
13539         (setCheckboxGroup): Likewise.
13540
13541 2006-06-30  Lillian Angel  <langel@redhat.com>
13542
13543         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13544         (create): Changed to be non-synchronized.
13545         (setLabel): Likewise.
13546         (setCheckboxGroup): Likewise.
13547         (addToGroupMap): Likewise. Added synchronized block around
13548         code.
13549         (dispose): Changed to be non-synchronized.
13550
13551 2006-06-30  Lillian Angel  <langel@redhat.com>
13552
13553         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13554         Changed all return values of native functions to void.
13555         (create): Changed function to be synchronized. Removed
13556         call to put value in groupMap, this is now done from 
13557         the native code.
13558         (setState): Changed function to be synchronized.
13559         (setLabel): Changed function to be synchronized.
13560         (setCheckboxGroup): Changed function to be synchronized. Removed
13561         call to put value in groupMap, this is now done from
13562         the native code.
13563         (postItemEvent): Changed function to be synchronized.
13564         (addToGroupMap): New function. Called by native code to add
13565         new value to the group.
13566         (dispose): Changed function to be synchronized.
13567         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13568         all functions.
13569         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13570         (cp_gtk_checkbox_init_jni): Added code to link to 
13571         java function.
13572         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13573         Changed return value to void. Added call
13574         to java function to set pointer in groupMap.
13575         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13576         changed check to an assert. Also, removed call to set/del pointer.
13577         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13578         Likewise. Also, added check to determine if native_group should be 
13579         set to NULL.
13580         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13581
13582 2006-06-30  Sven de Marothy  <sven@physto.se>
13583
13584         * gnu/java/awt/ClasspathToolkit.java,
13585         * gnu/java/awt/peer/x/XToolkit.java,
13586         * gnu/java/awt/peer/qt/QtToolkit.java,
13587         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13588         Remove ClasspathTextLayoutPeer.
13589         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13590         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13591         Files removed.
13592         
13593 2006-06-30  Sven de Marothy  <sven@physto.se>
13594
13595         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13596         (drawGlyphVector): Don't draw empty vectors.
13597
13598 2006-06-30  Lillian Angel  <langel@redhat.com>
13599             Tom Fitzsimmons <fitzsim@redhat.com>
13600
13601         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13602         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13603         Added current_group, groupMap fields. Added definitions for
13604         new native functions.
13605         (create): Removed FIXME. Added code to create the check button or
13606         radio button when appropriate. Updated groupMap to contain
13607         pointer to the newly created group.
13608         (setCheckboxGroup): Added code to handle all cases. Removing
13609         a button from a group, adding a button to a group, or changing the
13610         group of a button.
13611         (dispose): Changed to call super.
13612         * include/Makefile.am: Removed reference to 
13613         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13614         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13615         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13616         for new functions.
13617         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13618         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13619         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13620         Removed file.
13621         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13622         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13623         Renamed to checkbox_get_widget.
13624         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13625         Changed to use checkbox_get_widget.
13626         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13627         Removed.
13628         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13629         Changed to use checkbox_get_widget.
13630         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13631         Likewise.
13632         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13633         New function. Creates checkbutton without a group.
13634         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13635         Creates a radio button in a group, using groupPointer. If groupPointer
13636         is 0, then a new group is created.
13637         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13638         check button to a group, using groupPointer. A radio button is created
13639         in its place. If groupPointer is 0, then a new group is created.
13640         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13641         radio button is removed from the group. A check button is created in 
13642         its place.
13643         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13644         radio button is moved to a new group.
13645
13646 2006-06-30  Mark Wielaard  <mark@klomp.org>
13647
13648         * configure.ac: Move standard.omit creation after dirs are created.
13649         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13650         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13651         (clean-local): Remove standard.omit.
13652         * lib/gen-classlist.sh.in: Use omit file in build dir.
13653         * lib/standard.omit.in: Make exclude regex more explicit.
13654
13655 2006-06-30  Roman Kennke  <kennke@aicas.com>
13656
13657         * lib/Makefile.am: Added Escher dir/jar to classpath when
13658         requested.
13659         * configure.ac: Moved handling of standard.omit to a place
13660         where it actually gets executed.
13661
13662 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13663
13664         * java/awt/TextComponent.java: Reformatted source code,
13665         * java/awt/TextField.java: Likewise.
13666
13667 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13668
13669         * java/lang/Thread.java:
13670         (getState()): Handle case of no VMThread
13671         correctly.
13672
13673 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13674
13675         * java/lang/Thread.java,
13676         * java/lang/VMThread.java:
13677         Reverted patch from 2006-06-28.
13678         
13679 2006-06-29  Roman Kennke  <kennke@aicas.com>
13680
13681         * gnu/java/awt/peer/x/GLGraphics.java,
13682         * gnu/java/awt/peer/x/ImageConverter.java,
13683         * gnu/java/awt/peer/x/KeyboardMapping.java,
13684         * gnu/java/awt/peer/x/XEventPump.java,
13685         * gnu/java/awt/peer/x/XFontPeer.java,
13686         * gnu/java/awt/peer/x/XFontPeer2.java,
13687         * gnu/java/awt/peer/x/XFramePeer.java,
13688         * gnu/java/awt/peer/x/XGraphics.java,
13689         * gnu/java/awt/peer/x/XGraphics2D.java,
13690         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13691         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13692         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13693         * gnu/java/awt/peer/x/XImage.java,
13694         * gnu/java/awt/peer/x/XLightweightPeer.java,
13695         * gnu/java/awt/peer/x/XToolkit.java,
13696         * gnu/java/awt/peer/x/XWindowPeer.java,
13697         * gnu/java/awt/peer/x/fonts.properties: New files.
13698         * lib/standard.omit: Removed.
13699         * lib/standard.omit.in: Added.
13700         * configure.ac: Added configure option --with-escher. Added some
13701         configury for omitting gnu.java.awt.peer.x package when
13702         this option is not specified.
13703
13704 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13705
13706         * javax/swing/JComponent.java
13707         (JComponent()): Initialize the locale here, not the default locale,
13708         (getDefaultLocale): If null, return Locale.getDefault(),
13709         (setDefaultLocale): Added API docs.
13710
13711 2006-06-29  Tania Bento  <tbento@redhat.com>
13712
13713         * java/awt/Container.java
13714         (applyComponentOrientation): Implemented method.
13715
13716 2006-06-29  Gary Benson  <gbenson@redhat.com>
13717
13718         * java/io/File.java (listRoots): Merge security checks from libgcj.
13719
13720 2006-06-29  Gary Benson  <gbenson@redhat.com>
13721
13722         * java/io/FilePermission.java (implies): Work when path is "/".
13723
13724 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13725
13726         * java/lang/Thread.java:
13727         (Thread(ThreadGroup,Runnable,String,long)): Update
13728         state.
13729         (Thread(VMThread,String,int,boolean)): Likewise.
13730         (join(long,int)): Likewise.
13731         (resume()): Likewise.
13732         (sleep(long,int)): Likewise.
13733         (start()): Likewise.
13734         (stop()): Likewise.
13735         (suspend()): Likewise.
13736         (die()): Likewise.
13737         (getState()): Return either state or use VMThread.
13738         * java/lang/VMThread.java:
13739         (getState()): Added default implementation to return
13740         thread.state
13741         
13742 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13743
13744         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13745         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13746         endian swapping code.
13747
13748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13749         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13750         without alpha information correctly on big endian systems.
13751
13752 2006-06-28  Roman Kennke  <kennke@aicas.com>
13753
13754         * gnu/java/net/local/LocalSocket.java
13755         (setSoTimeout): Don't throw exception and ignore request.
13756         (getSoTimeout): Don't throw exception and always return 0.
13757
13758 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13759
13760         * javax/swing/JComponent.java
13761         (getRegisteredKeyStrokes): Implemented.
13762
13763 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13764
13765         * javax/swing/JComponent.java
13766         (verifyInputWhenFocusTarget): Initialise to true.
13767
13768 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13769
13770         * java/beans/VetoableChangeSupport.java
13771         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13772         null listener,
13773         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13774         for null property name and/or listener,
13775         * javax/swing/JComponent.java
13776         (getListeners): Handle VetoableChangeListener.class as a special case,
13777         (getVetoableChangeListeners): Fetch these from the 
13778         vetoableChangeSupport object.
13779
13780 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13781
13782         * javax/swing/JComponent.java
13783         (componentPopupMenu): New field,
13784         (inheritsPopupMenu): New field,
13785         (getInheritsPopupMenu): Implemented,
13786         (setInheritsPopupMenu): Likewise,
13787         (getComponentPopupMenu): Likewise,
13788         (setComponentPopupMenu): Likewise,
13789         * javax/swing/JLabel.java
13790         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13791
13792 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
13793
13794         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13795         (toString): New method.
13796         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13797         (toString): New method.
13798         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13799         (toString): New method.
13800         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13801         Handle case when Q is null.
13802         (decodePrivateKey): Likewise.
13803         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13804         Likewise.
13805         (decodePublicKey): Likewise.
13806         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13807         aliases for all block ciphers.
13808         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13809         (engineDoPhase): Compute fully the shared secret.
13810         (checkState): New method.
13811         (reset): Likewise.
13812         (engineGenerateSecret()): Reset key-agreement before returning.
13813         (engineGenerateSecret(byte[],int)): Check for short-buffer.
13814         Reset key-agreement before returning.
13815         (engineGenerateSecret(String)): Reset key-agreement before returning.
13816         (engineInit(Key,SecureRandom)): Call reset() before returning.
13817         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
13818         (engineInit): Replace printing to System.out with conditional logging.
13819         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
13820         When the key-size is not specified, attempt best effort to find a suitable
13821         value among those advertised by the cipher before setting it to the length
13822         of provided key material.
13823
13824 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13825
13826         * javax/swing/table/DefaultTableColumnModel.java
13827         (changeEvent): Don't initialize yet, removed FIXME,
13828         (fireColumnModelChanged): Initialize changeEvent if necessary.
13829
13830 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13831
13832         * java/lang/Thread.java:
13833         (getAllStackTraces()): Implemented.
13834         (getStackTrace()): Likewise.
13835         
13836 2006-06-27  Tania Bento  <tbento@redhat.com>
13837
13838         * java/awt/Component.java
13839         (setComponentOrientation): NPE should not be thrown.
13840
13841 2006-06-27  Tom Tromey  <tromey@redhat.com>
13842
13843         * configure.ac: Create gjar, gnative2ascii, gserialver.
13844         * tools/gappletviewer.in: Quote $@.
13845         * tools/gkeytool.in: Likewise.
13846         * tools/gjarsigner.in: Likewise.
13847         * tools/gjar.in: New file.
13848         * tools/gnative2ascii.in: Likewise.
13849         * tools/gserialver.in: Likewise.
13850         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
13851         gserialver.
13852         (bin_SCRIPTS): Likewise.
13853
13854 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13855
13856         * java/lang/management/ThreadMXBean.java:
13857         (getThreadInfo(long[])): Corrected return type.
13858         (getThreadInfo(long[], int)): Likewise.
13859
13860 2006-06-27  Mark Wielaard  <mark@klomp.org>
13861
13862         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
13863         nothing when listener is null.
13864         (removeFlavorListener): Likewise.
13865
13866         * java/awt/datatransfer/DataFlavor.java
13867         (getRepresentationClassFromMime): Renamed to
13868         getRepresentationClassFromMimeThrows.
13869         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
13870         (isRepresentationClassSerializable): Likewise.
13871         (isFlavorJavaFileListType): Likewise and check primary and
13872         subtype.
13873         (getParameter): Parameters are separated by semi-colons.
13874         (DataFlavor(Class,String,String)): Do some sanity checks.
13875         (DataFlavor(String,String,ClassLoader)): Call
13876         getRepresentationClassFromMimeThrows.
13877         (DataFlavor(String)): Likewise.
13878         (equals(DataFlavor)): Special case primary type text and charset
13879         parameter.
13880         
13881 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13882
13883         * java/awt/Component.java
13884         (setName): Fire required PropertyChangeEvent,
13885         * java/awt/Label.java
13886         (getText): Removed redundant brackets,
13887         (generateName): New method (override),
13888         (nextLabelNumber): New field,
13889         (getUniqueLong): New method.
13890
13891 2006-06-27  Roman Kennke  <kennke@aicas.com>
13892
13893         * gnu/java/awt/peer/swing/SwingComponentPeer.java
13894         (createImage): Delegate this to the parent.
13895         (handleEvent): Only handle PAINT/UPDATE events when the
13896         component is actually showing.
13897         (hide): Repaint the parent after hiding a component.
13898         (prepareImage): Have only one return point.
13899         (setVisible): Delegate to show() and hide().
13900         (createVolatileImage): Added null check to avoid NPE.
13901
13902 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13903
13904         * java/awt/Label.java: Reformatted source code.
13905
13906 2006-06-27  Roman Kennke  <kennke@aicas.com>
13907
13908         * java/awt/image/BufferedImage.java
13909         (getSource): Use a fixed DirectColorModel to deliver the
13910         RGB pixels to the ImageConsumer.
13911
13912 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13913
13914         * java/awt/Point.java
13915         (setLocation(double, double)): Round to nearest integer coordinates.
13916
13917 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
13918
13919         * java/awt/Component.java
13920         (minSizeSet): New field,
13921         (maxSize): Likewise,
13922         (maxSizeSet): Likewise,
13923         (isMaximumSizeSet): Implemented,
13924         (isMinimumSizeSet): Likewise,
13925         (isPreferredSizeSet): Likewise,
13926         (setMaximumSize): Likewise,
13927         (setMinimumSize): Likewise,
13928         (setPreferredSize): Likewise. 
13929
13930 2006-06-27  Roman Kennke  <kennke@aicas.com>
13931
13932         * javax/imageio/spi/IIORegistry.java
13933         (IIORegistry): Added BMP codec.
13934
13935 2006-06-27  Mark Wielaard  <mark@klomp.org>
13936
13937         * javax/swing/JComponent.java
13938         (firePropertyChange(String,char,char)): New override method.
13939
13940 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13941
13942         * java/lang/Thread.java:
13943         (getState()): New method.
13944         * java/lang/management/ClassLoadingMXBean.java:
13945         Corrected class documentation.
13946         * java/lang/management/ManagementFactory.java:
13947         Added new temporary marked stub to get thread bean.
13948         * java/lang/management/OperatingSystemMXBean.java:
13949         Corrected class documentation.
13950         * java/lang/management/RuntimeMXBean.java:
13951         Corrected class documentation.
13952         * java/lang/management/ThreadInfo.java,
13953         * java/lang/management/ThreadMXBean.java:
13954         New classes.
13955         * vm/reference/java/lang/VMThread.java:
13956         (getState()): New method.
13957         * vm/reference/java/lang/management/VMThreadInfo.java:
13958         New VM class.
13959
13960 2006-06-26  Sven de Marothy  <sven@physto.se>
13961
13962         * gnu/javax/imageio/gif/GIFFile.java
13963         * gnu/javax/imageio/gif/GIFImageReader.java
13964         * gnu/javax/imageio/gif/GIFImageSpi.java
13965         * gnu/javax/imageio/gif/GIFStream.java
13966         New files.
13967         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
13968
13969 2006-06-26  Tania Bento  <tbento@redhat.com>
13970
13971         * java/awt/List.java
13972         (List): A list should have at least 4 visible rows.     
13973         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
13974         not an IllegalArgumentException.
13975         (makeVisible): Should not throw an IllegalArgumentException if
13976         the specified index is out of range.
13977
13978 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13979
13980         * javax/swing/JList.java
13981         (getNextMatch): Reimplemented to perform a circular search for the 
13982         matching item.
13983
13984 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13985
13986         * javax/swing/JList.java
13987         (init): Set default value for visibleRowCount to 8,
13988         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
13989
13990 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
13991
13992         * javax/swing/JList.java
13993         (valueIsAdjusting): Removed,
13994         (init): Removed initialization of valueIsAdjusting field,
13995         (getValueIsAdjusting): Fetch value from selection model,
13996         (setValueIsAdjusting): Store value in selection model.
13997
13998 2006-06-26  Roman Kennke  <kennke@aicas.com>
13999
14000         * javax/swing/plaf/basic/BasicListUI.java
14001         (installKeyboardActions): Rewritten to fit with the
14002         ActionMap/InputMap architecture.
14003         (uninstallKeyboardActions): Implemented.
14004         (ListAction): Made private. Added TODO for splitting
14005         up this bulk Action.
14006         (ListAction.ListAction): New constructor. This one
14007         takes a cmd parameter to be installed as actionCommand.
14008
14009 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14010
14011         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14012         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14013
14014 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14015
14016         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14017         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14018         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14019         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14020         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14021         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14022         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14023         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14024         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14025         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14026         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14027         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14028         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14029         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14030         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14031         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14032         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14033         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14034         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14035         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14036         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14037         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14038         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14039         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14040         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14041         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14042         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14043         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14044         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14045         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14046         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14047         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14048         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14049         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14050         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14051         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14052         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14053         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14054         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14055         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14056         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14057         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14058         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14059         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14060         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14061         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14062         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14063         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14064         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14065         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14066         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14067         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14068         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14069         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14070         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14071         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14072         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14073         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14074         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14075         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14076         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14077         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14078         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14079         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14080         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14081         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14082         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14083         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14084         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14085         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14086         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14087         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14088         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14089         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14090         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14091         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14092         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14093         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14094         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14095         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14096         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14097         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14098
14099 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14100
14101         * javax/swing/JList.java
14102         (setLayoutOrientation): Check for valid argument.
14103
14104 2006-06-26  Roman Kennke  <kennke@aicas.com>
14105
14106         * javax/swing/JComponent.java
14107         (firePropertyChange(String,int,int)): New method. Overrides
14108         Component method and makes it public.
14109         (firePropertyChange(String,boolean,boolean)): Likewise.
14110
14111 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14112         
14113         * gnu/java/security/.cvsignore: New File.
14114         * gnu/java/security/Configuration.java.in: New File.
14115         * gnu/java/security/Properties.java: Change import from 
14116         gnu.classpath.Configuration to gnu.java.security.Configuration.
14117         * gnu/java/security/hash/Whirlpool.java: Likewise.
14118         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14119         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14120         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14121         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14122         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14123         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14124         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14125         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14126         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14127         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14128         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14129         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14130         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14131         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14132         * gnu/java/security/util/Base64.java: Likewise.
14133         * gnu/java/security/x509/X509CRL.java: Likewise.
14134         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14135         * gnu/java/security/x509/ext/Extension.java: Likewise.
14136         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14137         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14138         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14139         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14140         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14141         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14142         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14143         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14144         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14145         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14146         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14147         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14148         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14149         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14150         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14151         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14152         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14153         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14154         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14155         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14156         * gnu/javax/crypto/pad/TBC.java: Likewise.
14157         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14158         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14159         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14160         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14161         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14162         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14163         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14164         * gnu/javax/security/auth/login/GnuConfiguration.java 
14165         (getAppConfigurationEntry): Change reference to 
14166         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14167         (getConfigFromUserHome): Likewise.
14168         (getInputStreamFromURL): Likewise.
14169         (getUserHome): Likewise.
14170         (init): Likewise.
14171         (processSecurityProperties): Likewise.
14172         (processSystemProperty): Likewise.
14173         (processUserHome): Likewise.
14174         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14175         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14176         
14177
14178 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14179
14180         * javax/swing/text/DefaultCaret.java (isActive): New method.
14181
14182 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14183
14184         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14185         * java/lang/management/ClassLoadingMXBean.java:
14186         (getTotalLoadedClassCount()): Corrected return type.
14187         (getUnloadedClassCount()): Likewise.
14188         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14189         (getUnloadedClassCount()): Likewise.
14190         
14191 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14192
14193         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14194         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14195         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14196         * gnu/javax/crypto/cipher/Square.java: Likewise.
14197         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14198         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14199         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14200         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14201         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14202         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14203         * gnu/javax/crypto/cipher/DES.java: Likewise.
14204         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14205         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14206         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14207         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14208         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14209
14210 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14211
14212         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14213         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14214         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14215         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14216         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14217         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14218         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14219         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14220         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14221         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14222         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14223         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14224         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14225
14226 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14227
14228         * NEWS,
14229         * doc/vmintegration.texinfo:
14230         Updated with information on new VM interface.
14231         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14232         * java/lang/management/ClassLoadingMXBean.java:
14233         New files implementing the class loading bean.
14234         * java/lang/management/ManagementFactory.java:
14235         (getClassLoadingMXBean()): Implemented.
14236         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14237         New VM interface file.
14238
14239 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14240
14241         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14242         (isBootClassPathSupported()): Use SystemProperties
14243         rather than System.getProperty.
14244         
14245 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14246
14247         * gnu/java/security/Properties.java: Source formatting.
14248         * gnu/java/security/Registry.java: Likewise.
14249
14250 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14251
14252         * gnu/java/security/util/Util.java: Source formatting.
14253         * gnu/java/security/util/SimpleList.java: Likewise.
14254         * gnu/java/security/util/Sequence.java: Likewise.
14255         * gnu/java/security/util/PRNG.java: Likewise.
14256         * gnu/java/security/util/ExpirableObject.java: Likewise.
14257         * gnu/java/security/util/Base64.java: Likewise.
14258         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14259         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14260         * gnu/java/security/sig/ISignature.java: Likewise.
14261         * gnu/java/security/sig/BaseSignature.java: Likewise.
14262         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14263         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14264         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14265         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14266         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14267         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14268         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14269         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14270         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14271         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14272         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14273         * gnu/java/security/provider/Gnu.java: Likewise.
14274         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14275         * gnu/java/security/prng/RandomEvent.java: Likewise.
14276         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14277         * gnu/java/security/prng/MDGenerator.java: Likewise.
14278         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14279         * gnu/java/security/prng/IRandom.java: Likewise.
14280         * gnu/java/security/prng/EntropySource.java: Likewise.
14281         * gnu/java/security/prng/BasePRNG.java: Likewise.
14282
14283 2006-06-23  Francis Kung  <fkung@redhat.com>
14284
14285         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14286         (Harness.actionPerformed): Process additional options.
14287         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14288         (J2dBenchmarkWrapper.setAlias): New method.
14289         (J2dBenchmarkWrapper.setComposite): New method.
14290         (J2dBenchmarkWrapper.setFill): New method.
14291         (J2dBenchmarkWrapper.setRotation): New method.
14292         (J2dBenchmarkWrapper.setShear): New method.
14293         (J2dBenchmarkWrapper.setStroke): New method.
14294         (J2dBenchmarkWrapper.setTranslation): New method.
14295         (run): Add additional options to GUI.
14296         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14297         Added protected fields for various options.
14298         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14299         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14300         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14301         (getNextColor): Renamed to setRandom.
14302         (init): Load additional image for texturing if needed.
14303         (loadBufferedImage): New method.
14304         (main): Accept additional command-line switches.
14305         (prepareGraphics): New method.
14306         (resetGraphics): New method.
14307         (runTestSuite): Accept additional image-processing options.
14308         (setRandom): Renamed from getNextColor; generate various random options
14309         (test_drawArc): Rename getNextColor to setRandom.
14310         (test_drawCubic): Likewise.
14311         (test_drawEllipse): Likewise.
14312         (test_drawGeneralPath): Likewise.
14313         (test_drawImage): Likewise.
14314         (test_drawLine): Likewise.
14315         (test_drawQuadCurve): Likewise.
14316         (test_drawRectangle): Likewise.
14317         (test_drawRoundRectangle): Likewise.
14318         (test_drawTransparentImage): Likewise.
14319         (test_fillArc): Rename getNextColor to setRandom.
14320         (test_fillEllipse): Likewise.
14321         (test_fillGeneralPath): Likewise.
14322         (test_fillRectangle): Likewise.
14323         (test_fillRoundRectangle): Likewise.
14324         (TestRecorder.getAverage): Round the average time.
14325
14326 2006-06-23  Tom Tromey  <tromey@redhat.com>
14327
14328         * java/util/logging/LoggingMXBean.java: New file.
14329         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14330         (loggingBean): New field.
14331         (getLoggingMXBean): New method.
14332
14333 2006-06-23  Tania Bento  <tbento@redhat.com>
14334
14335         * java/awt/TextField.java
14336         (TextField): Default number of columns should be 0, not 1.
14337         (TextField): Check if number of columns given as argument
14338         is valid (>= 0) and set the number of columns accordingly.
14339         (TextField): Check if the string passed is null. If it is, 
14340         set columns to 0, else columns is set to the length of
14341         the string.
14342
14343 2006-06-23  Roman Kennke  <kennke@aicas.com>
14344
14345         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14346         (InternalFramePropertyChangeListener.propertyChange):
14347         Don't call getPropertyName() repeatedly. Added null checks
14348         to avoid NPEs. Call closeFrame() if the closed property
14349         changes.
14350
14351 2006-06-23  Roman Kennke  <kennke@aicas.com>
14352
14353         * javax/swing/JInternalFrame.java
14354         (maxTransition): Removed.
14355         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14356         Don't initialize storedBounds here.
14357         (dipose): Rewritten to correctly dispose the JInternalFrame.
14358         (getDesktopIcon): Don't initialize desktopIcon here.
14359         (getLayer): Delegate to JLayeredPane.getLayer().
14360         (getNormalBounds): Return bounds when storedBounds == null,
14361         otherwise storedBounds.
14362         (hide): Don't change selection. Also hide the desktopIcon.
14363         (moveToBack): Call getParent() only once.
14364         (moveToFront): Call getParent() only once.
14365         (pack): Call validate() to make sure that the layout is
14366         propagated to the children.
14367         (setClosed): Fire InternalFrameEvent first, before the
14368         PropertyVetoEvent.
14369         (setJMenuBar): Fire PropertyChangeEvent for this property.
14370         (setLayer): Delegate to JLayeredPane.
14371         (setLayeredPane): Check for null and throw IllegalArgumenException.
14372         (setMaximum): Remove handling of maxTransition and normalBounds.
14373         Should probably be done in the UI.
14374         (setNormalBounds): Store Rectangle object directly, not a copy.
14375         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14376         adding the RootPane doesn't add it to the contentPane.
14377         Fire PropertyChangeEvent.
14378         (setSelected): Added condition for when this property must not
14379         be changed.
14380         (show): Don't ask the DesktopPane to select the frame. Moved
14381         code around to fire InternalFrameEvent before actually calling
14382         super.show(). Also make the desktopIcon visible.
14383         (setTitle): Fire PropertyChangeEvent unconditionally.
14384
14385 2006-06-23  Roman Kennke  <kennke@aicas.com>
14386
14387         * javax/swing/JLayeredPane.java
14388         (getPosition): Moved code around to avoid unnecessary method calls.
14389         (setPosition): Delegate to setLayer().
14390         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14391         (insertIndexForLayer(Component,int,int)): New helper method
14392         to support the use of setComponentZOrder() which doesn't remove
14393         the component and thus the insertIndexForLayer must ignore
14394         the component to be moved to get the index right.
14395         (setLayer): Added check to prevent unnecessary execution of
14396         method body. Changed to update the component order here.
14397         Added repaint() to make sure that the update becomes visible.
14398         (addImpl): Call setLayer() only when a constraint has been specified.
14399         Validate and repaint the JLayeredPane.
14400
14401 2006-06-23  Roman Kennke  <kennke@aicas.com>
14402
14403         * java/awt/Container.java
14404         (getComponentZOrder): Use ncomponents instead of
14405         component.length so that we don't consider the empty space
14406         after the last component.
14407
14408 2006-06-22  Roman Kennke  <kennke@aicas.com>
14409
14410         * javax/swing/JComponent.java
14411         (vetoableChangeSupport): New field.
14412         (removeVetoableChangeListener): Rewritten to use
14413         vetoableChangeSupport.
14414         (addVetoableChangeListener): Rewritten to use
14415         vetoableChangeSupport.
14416         (fireVetoableChange): Rewritten to use
14417         vetoableChangeSupport.
14418         (addPropertyChangeListener): Removed. This is handled in
14419         Component already.
14420         (firePropertyChange(String,boolean,boolean)): Likewise.
14421         (firePropertyChange(String,char,char)): Likewise.
14422         (firePropertyChange(String,int,int)): Likewise.
14423         (revalidate): Don't do anything when the commponent has no
14424         parent.
14425
14426 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14427
14428         * javax/swing/JLabel.java: Updated API docs.
14429
14430 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14431
14432         * java/awt/Insets.java: Updated copyright year.
14433         (toString): Changed string, removed a line from the 
14434         documentation.
14435
14436 2006-06-22  Roman Kennke  <kennke@aicas.com>
14437
14438         * javax/swing/text/AbstractDocument.java
14439         (AbstractDocument): Set the i18n document property.
14440         (removeImpl): Added checks for correct boundaries.
14441
14442 2006-06-22  Roman Kennke  <kennke@aicas.com>
14443
14444         * javax/swing/text/PlainDocument.java
14445         (rootElement): Changed type to Element.
14446         (tabSize): Removed field. This is stored in the document properties
14447         instead.
14448         (PlainDocument): Set tabSize property. Init rootElement without
14449         cast.
14450         (insertUpdate): Rewritten. The previous implementation did not
14451         handle some corner cases properly and was a mess.
14452         (removeUpdate): Cast rootElement to BranchElement.
14453
14454 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14455
14456         * javax/swing/plaf/basic/BasicLabelUI.java
14457         (installKeyboardActions): Implemented,
14458         (uninstallKeyboardActions): Implemented,
14459         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14460         properties.
14461
14462 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14463
14464         * javax/swing/JMenu.java:
14465         (removeAll): Added check for popupMenu not being null.
14466
14467 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14468
14469         * javax/swing/JLabel.java
14470         (getText): Updated API docs,
14471         (setText): Corrected the check for an unchanged value, and the update 
14472         of the displayedMnemonicIndex.
14473
14474 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14475
14476         * javax/swing/JLabel.java
14477         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14478         field,
14479         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14480         where label text is null.
14481
14482 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14483
14484         * javax/swing/JLabel.java
14485         (setDisplayedMnemonic): Updated API docs,
14486         (getDisplayedMnemonic): Removed unnecessary type-cast,
14487         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14488         (getDisplayedMnemonicIndex): Updated API docs.
14489
14490 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14491
14492         * java/util/Collections (entrySet): Fixed compile error.
14493
14494 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14495
14496         * javax/swing/DefaultListSelectionModel.java
14497         (getSelectionMode): Updated API docs,
14498         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14499         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14500         setSelectionInterval(),
14501         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14502         SINGLE_INTERVAL_SELECTION cases.
14503
14504 2006-06-21  Roman Kennke  <kennke@aicas.com>
14505
14506         * javax/swing/text/AbstractDocument.java
14507         (BranchElement.numChildren): New field.
14508         (BranchElement.BranchElement): Initialize children array with
14509         one element (that's the least number of elements that makes sense).
14510         Initialize numChildren.
14511         (BranchElement.children): Use numChildren as boundary.
14512         (BranchElement.getElement): Use numChildren as boundary.
14513         (BranchElement.getElementCount): Use numChildren as boundary.
14514         (BranchElement.getElementIndex): Use numChildren as boundary.
14515         (BranchElement.getEndOffset): Use numChildren as boundary.
14516         (BranchElement.getStartOffset): Use numChildren as boundary.
14517         (BranchElement.positionToElement): Use numChildren as boundary.
14518         (BranchElement.replace): Handle the children array more efficiently
14519         by growing in blocks > 1, and reusing space from removed elements.
14520         (LeafElement.startDelta): Removed.
14521         (LeafElement.endDelta): Removed.
14522         (LeafElement.LeafElement): Removed handling of deltas.
14523         (LeafElement.getEndOffset): Likewise.
14524         (LeafElement.getStartOffset): Likewise.
14525         * javax/swing/text/JTextComponent.java
14526         (setDocument): Added locking of the old document to avoid dangling
14527         notification beeing delivered while the document is beeing
14528         disconnected.
14529         (getScrollableTracksViewportWidth): Fixed condition.
14530         * javax/swing/text/PlainDocument.java
14531         (createDefaultRoot): Create elements without AttributeSet.
14532         * javax/swing/text/rtf/RTFParser.java
14533         (parseFile): Handle slightly incorrect RTF gracefully.
14534         * javax/swing/text/rtf/RTFScanner.java
14535         (lastToken): New field.
14536         (readTokenImpl): New method.
14537         (peekToken): New method.
14538         (readToken): Changed to call readTokenImpl or return the lastToken
14539         if there's one present.
14540
14541 2006-06-21  Tania Bento  <tbento@redhat.com>
14542
14543         * javax/swing/JMenu.java
14544         (remove): An IllegalArgumentException should be thrown if
14545         either index < 0 or if index > 0 and there are no menu
14546         components. Also, a check was added that ensures there are
14547         menu components before removing the desired the component.
14548
14549 2006-06-21  Lillian Angel  <langel@redhat.com>
14550
14551         * javax/swing/text/DefaultCaret.java
14552         (install): Added check to prevent NPE.
14553         (propertyChange): Added checks to prevent NPEs.
14554
14555 2006-06-21  Tania Bento  <tbento@redhat.com>
14556
14557         * javax/swing/JMenu.java
14558         Changed instantiation of popupMenu to null.
14559         (JMenu): Instantiated popupMenu to new JPopupMenu.
14560         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14561         (add): Changed popupMenu to getPopupMenu().
14562         (add): Changed popupMenu to getPopupMenu().
14563         (add): Changed popupMenu to getPopupMenu().
14564         (add): Changed popupMenu to getPopupMenu().
14565         (remove): Changed popupMenu to getPopupMenu().
14566         (remove): Changed popupMenu to getPopupMenu().
14567         (insert): Changed popupMenu to getPopupMenu().
14568         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14569         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14570         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14571         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14572         (getMenuComponents): Changed popupMenu to getPopupMenu().
14573         (getPopupMenu): Check first if popupMenu is null and if so,
14574         instantiate it to a new JPopupMenu and set the invoker.
14575         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14576         (popupMenuWillBecomeVisible): Component Listener should only
14577         be added to the root container if the root container is not 
14578         null. This avoids a null pointer exception.
14579
14580 2006-06-21  Tania Bento  <tbento@redhat.com>
14581
14582         * javax/swing/JMenu.java
14583         (JMenu): Delay should be set to 200, not default of 0.
14584         (JMenu): Delay should be set to 200, not default of 0.
14585         (JMenu): Delay should be set to 200, not default of 0.
14586         (JMenu): Delay should be set to 200, not default of 0.  
14587         (remove): Added check that index >= 0 before removing
14588         the component.
14589         (getItem): Return null if item count equals 0.
14590         (isTearOff): Should throw new error and not return false.
14591         (getMenuComponent): Return null if popupMenu is null or
14592         if there are no menu components.
14593
14594 2006-06-21  Roman Kennke  <kennke@aicas.com>
14595
14596         * java/awt/font/FontRenderContext.java:
14597         (equals): Added special conditions for affineTransform beeing
14598         null.
14599
14600 2006-06-21  Roman Kennke  <kennke@aicas.com>
14601
14602         * javax/swing/UIManager.java
14603         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14604         must not be cleared.
14605
14606 2006-06-21  Roman Kennke  <kennke@aicas.com>
14607
14608         * javax/swing/plaf/metal/MetalUtils.java
14609         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14610         Graphics2D is available. Use fillRect instead of drawLine, this
14611         is much faster.
14612         (paintVerticalGradient): Use paintHorizontalGradient2D when
14613         Graphics2D is available. Use fillRect instead of drawLine, this
14614         is much faster.
14615         (paintHorizontalGradient2D): New method. Paints gradient
14616         using Graphics2D functions.
14617         (paintVerticalGradient2D): New method. Paints gradient
14618         using Graphics2D functions.
14619
14620 2006-06-21  Roman Kennke  <kennke@aicas.com>
14621
14622         * javax/swing/plaf/basic/BasicButtonListener.java
14623         (propertyChange): Create a TextLayout and store it in the button
14624         when the 'text' property changes.
14625         * javax/swing/plaf/basic/BasicButtonUI.java
14626         (paintText): Call BasicGraphicsUtils utility method for
14627         drawing strings, instead of Graphics.drawString().
14628         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14629         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14630         cached text layouts as client properties in JComponents.
14631         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14632         (drawStringUnderlineCharAt): New helper method.
14633         * javax/swing/plaf/basic/BasicMenuItemUI.java
14634         (PropertyChangeHandler.propertyChange): Update cached text layout
14635         when 'text' property changes. Use equals() instead of == for
14636         string comparison.
14637         (paintText): Use new BasicGraphicsUtils methods for painting
14638         the cached text layout.
14639         (installListeners): Call super.installListeners() and remove
14640         the unneeded listener installs.
14641         (uninstallListeners): Call super.uninstallListeners() and remove
14642         the unneeded listener uninstalls.
14643
14644 2006-06-21  Roman Kennke  <kennke@aicas.com>
14645
14646         * javax/swing/plaf/basic/BasicTextUI.java
14647         (PropertyChangeHandler.propertyChange): Handle document listener
14648         update here.
14649         (background): Removed unneeded fields.
14650         (inactiveBackground): Remove unneeded fields.
14651         (installUI): Install the document listener. Slightly changed
14652         order of operations. Don't trigger modelChanged().
14653         (installDefaults): Only install properties when the
14654         current properties are null or instances of UIResource.
14655         (installListeners): Removed unnecessary listener installs.
14656         (installDocumentListeners): Removed unneeded method.
14657         (uninstallListeners): Removed unnecessary listener uninstalls.
14658         (modelChanged): Removed call to installDocumentListeners().     
14659         * javax/swing/plaf/basic/BasicTextFieldUI.java
14660         (propertyChange): Update the colors by fetching them from
14661         SharedUIDefaults. Fixed conditions.
14662         * javax/swing/plaf/basic/SharedUIDefaults.java
14663         (getColor): New method.
14664
14665 2006-06-21  Roman Kennke  <kennke@aicas.com>
14666
14667         * javax/swing/SizeSequence.java
14668         (SizeSequence): Initialize array with correct number of entries.
14669
14670 2006-06-21  Roman Kennke  <kennke@aicas.com>
14671
14672         * javax/swing/JSplitPane.java
14673         (setDividerLocation): Substract divider size when computing
14674         the absolute size.
14675
14676 2006-06-21  Roman Kennke  <kennke@aicas.com>
14677
14678         * javax/swing/JComponent.java
14679         (paintChildrenWithOverlap): Determine opaque property by
14680         calling the corresponding Component method, without requiring
14681         a JComponent.
14682         (paintChildrenOptimized): Removed old unneeded code.
14683         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14684         method instead of SwingUtilities.convertRectangle(). This is
14685         more efficient.
14686
14687 2006-06-21  Roman Kennke  <kennke@aicas.com>
14688
14689         * javax/swing/AbstractButton.java
14690         (init): Call setText() instead of setting the property directly,
14691         so that listeners (especially in the UI) get notified.
14692
14693 2006-06-21  Roman Kennke  <kennke@aicas.com>
14694
14695         * javax/swing/UIManager.java
14696         (MultiplexUIDefaults): New inner class.
14697         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14698         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14699         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14700         directly. Print stacktrace if something goes wrong.
14701         (get): Delegate call to currentUIDefaults.
14702         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14703         it.
14704         (getUI): Delegate call to currentUIDefaults.
14705         (put): Delegate call to currentUIDefaults.
14706         (setLookAndFeel): Initialize currentUIDefaults with
14707         MultiplexUIDefaults. Set lookAndFeelDefaults.
14708         (setLookAndFeel): Use current thread's context classloader for
14709         loading the L&F.
14710
14711 2006-06-21  Roman Kennke  <kennke@aicas.com>
14712
14713         * javax/swing/text/GapContent.java
14714         (GapContentPosition.GapContentPosition): Replace
14715         Collections.binarySearch with call to local search() to make
14716         sure we find the first object that equals the searched object.
14717         (setPositionsInRange): Likewise.
14718         (adjustPositionsInRange): Likewise.
14719         (search): New helper method.
14720
14721 2006-06-21  Gary Benson  <gbenson@redhat.com>
14722
14723         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14724         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14725         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14726
14727 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14728
14729         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14730         APPLETVIEWER_EXECUTABLE to gappletviewer.
14731
14732 2006-06-20  Tom Tromey  <tromey@redhat.com>
14733
14734         PR classpath/28095:
14735         * java/net/URL.java (URL): Throw MalformedURLException if a
14736         RuntimeException is caught.  Chain exceptions.
14737
14738 2006-06-20  Lillian Angel  <langel@redhat.com>
14739
14740         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14741         (create): Added check to prevent Seg Fault. Should not
14742         set the label if it is null.
14743         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14744         (setText): Changed to be a non-native function. Calls
14745         setNativeText if the String parameter is non-null.
14746         (setNativeText): Replaces old native setText function.
14747         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14749         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14750         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14751         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14752         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14753
14754 2006-06-20  Lillian Angel  <langel@redhat.com>
14755
14756         * javax/swing/text/JTextComponent.java
14757         (AccessibleJTextComponent): Rewrote all javadocs
14758         for this inner class.
14759
14760 2006-06-20  Francis Kung  <fkung@redhat.com>
14761
14762         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14763         Changed many members to be protected.
14764         (J2dBenchmark): moved to init() instead.
14765         (init): New method.
14766         (main): Call init() after creating object
14767         (testComplete): New method.
14768         (test_drawArc): Use maxTests varialbe instead of constant.
14769         (test_drawCubicCurve): Likewise.
14770         (test_drawEllipse): Likewise.
14771         (test_drawGeneralPath): Likewise.
14772         (test_drawImage): Likewise.
14773         (test_drawLine): Likewise.
14774         (test_drawQuadCurve): Likewise.
14775         (test_drawRectangle): Likewise.
14776         (test_drawRoundRectangle): Likewise.
14777         (test_drawTransparentImage): Likewise.
14778         (test_fillArc): Likewise.
14779         (test_fillEllipse): Likewise.
14780         (test_fillGeneralPath): Likewise.
14781         (test_fillRectangle): Likewise.
14782         (test_fillRoundRectangle): Likewise.
14783         (GraphicsTest.runSetNoClipping): Added runCount parameter.
14784         (GraphicsTest.runSetWithClipping): Likewise.
14785         (GraphicsTest.runSetZeroClipping): Likewise.
14786         (GraphicsTest.run): Added checks for more option flags.
14787         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14788         New file.
14789
14790 2006-06-20  Roman Kennke  <kennke@aicas.com>
14791
14792         * javax/swing/text/GapContent.java
14793         (GapContentPosition.mark): New field.
14794         (GapContentPosition.index): Removed.
14795         (GapContentPosition.GapContentPosition): Changed to take the
14796         real offset as parameter. Added handling of reference counter.
14797         Try to cleanup before creating new instances.
14798         (getOffset): Delegate to the Mark method with same name.
14799         (Mark): New class, encapsulating a mark.
14800         (positionMarks): Removed field.
14801         (numMarks): Removed field.
14802         (marks): New field.
14803         (queueOfDeath): New field.
14804         (GapContent): Removed init of old fields, added init of new fields.
14805         (createPosition): Added check for validity of arguments.
14806         Create GapContentPosition directly with offset.
14807         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14808         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14809         (shiftGapStartDown): Call resetMarksAtZero().
14810         (shiftGapEndUp): Call resetMarksAtZero().
14811         (replace): Don't call resetMarksAtZero().
14812         (setPositionInRange): Replaced by simpler algorithm, similar to
14813         adjustPositionsInRange.
14814         (adjustPositionsInRange): Adapted to use of Mark objects.
14815         (resetMarksAtZero): Reset all marks that point to zero instead
14816         of only the first one.
14817         (dumpMarks): Adjusted to dump Mark objects.
14818         (insertMark): Removed.
14819         (garbageCollect): New method. Cleans up the marks list.
14820         (binarySearch): Removed.
14821
14822 2006-06-20  Lillian Angel  <langel@redhat.com>
14823
14824         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14825         (drawImage): Added call to updateColor because
14826         Cairo seems to lose the current color.
14827
14828 2006-06-20  Gary Benson  <gbenson@redhat.com>
14829
14830         * java/awt/Toolkit.java: Add security check.
14831         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
14832         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
14833
14834 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
14835
14836         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
14837         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14838         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14839         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
14840         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
14841         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14842         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
14843         * gnu/java/security/key/dss/FIPS186.java: Likewise.
14844         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
14845         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14846         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
14847         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14848         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14849         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
14850         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14851         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
14852         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
14853         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
14854         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
14855
14856 2006-06-19  Lillian Angel  <langel@redhat.com>
14857
14858         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
14859         (drawImage): Should always use getRGB to get the pixels.
14860         getData returns an incorrect array of pixels.
14861
14862 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14863
14864         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
14865         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
14866         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
14867         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
14868         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
14869         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
14870         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
14871         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
14872         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
14873         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
14874         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
14875         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
14876         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
14877         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
14878         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
14879         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
14880         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
14881         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
14882         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
14883         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
14884         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
14885         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
14886         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
14887         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
14888         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
14889         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
14890         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
14891         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
14892         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
14893         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
14894         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14895         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
14896         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
14897         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
14898         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
14899         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14900
14901 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
14902
14903         * NEWS: Updated (delayed) for security tools and tools.texinfo.
14904
14905 2006-06-19  Roman Kennke  <kennke@aicas.com>
14906
14907         * gnu/java/awt/peer/gtk/ComponentGraphics.java
14908         (drawImage): Clip volatile image correctly.
14909         (drawVolatileImage): Added arguments for clipping.
14910         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
14911         (drawVolatileImage): Added arguments for clipping. Clip image
14912         correctly.
14913         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
14914
14915 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14916
14917         PR 28035
14918         * java/rmi/server/UID.java (constructor): Synchronized
14919         the whole constructor on the UID class.
14920
14921 2006-06-19  Roman Kennke  <kennke@aicas.com>
14922
14923         * javax/swing/RepaintManager.java
14924         (addInvalidComponent): Only add component that are displayable,
14925         that have displayable parents and that have a validateRoot.
14926         Also, don't validate components that have a CellRendererPane
14927         ancestor.
14928
14929 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
14930
14931         * javax/swing/plaf/IconUIResource.java
14932         (IconUIResource): Throw IllegalArgumentException for null icon.
14933
14934 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14935
14936         PR 28035
14937         * java/rmi/server/UID.java (constructor): First increment
14938         uidCounter, and then use the value.
14939
14940 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
14941
14942         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
14943         * java/awt/GridBagConstraints.java: Indent.
14944
14945 2006-06-18  Tom Tromey  <tromey@redhat.com>
14946
14947         * native/jni/gconf-peer/.cvsignore: New file.
14948
14949 2006-06-18  Tom Tromey  <tromey@redhat.com>
14950
14951         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
14952         Also handle short options.
14953
14954 2006-06-18  Jim Huang  <jserv@kaffe.org>
14955
14956         PR classpath/28076:
14957         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
14958         Fixed typo.
14959
14960 2006-06-19  Mark Wielaard  <mark@klomp.org>
14961
14962         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
14963         on gnu/java/util/prefs/gconf/%.class.
14964         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
14965         chache typo, should be cache.
14966         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
14967         Declare tmp early.
14968         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
14969         Likewise.
14970         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
14971         Don't return a value for void function.
14972         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
14973         Likewise.
14974         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
14975         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
14976         function.
14977         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
14978         Mark clazz ad unused.
14979
14980 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
14981
14982         * gnu/java/security/hash/Whirlpool.java: Source formatting.
14983         * gnu/java/security/hash/Tiger.java: Likewise.
14984         * gnu/java/security/hash/Sha512.java: Likewise.
14985         * gnu/java/security/hash/Sha384.java: Likewise.
14986         * gnu/java/security/hash/Sha256.java: Likewise.
14987         * gnu/java/security/hash/Sha160.java: Likewise.
14988         * gnu/java/security/hash/RipeMD160.java: Likewise.
14989         * gnu/java/security/hash/RipeMD128.java: Likewise.
14990         * gnu/java/security/hash/MD5.java: Likewise.
14991         * gnu/java/security/hash/MD4.java: Likewise.
14992         * gnu/java/security/hash/MD2.java: Likewise.
14993         * gnu/java/security/hash/IMessageDigest.java: Likewise.
14994         * gnu/java/security/hash/Haval.java: Likewise.
14995         * gnu/java/security/hash/HashFactory.java: Likewise.
14996         * gnu/java/security/hash/BaseHash.java: Likewise.
14997
14998 2006-06-18  Sven de Marothy  <sven@physto.se>
14999
15000         * java/awt/event/KeyEvent.java:
15001         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15002         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15003         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15004
15005 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15006
15007         * gnu/java/security/util/Prime2.java: Removed.
15008         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15009         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15010         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15011         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15012         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15013         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15014         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15015         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15016         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15017         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15018         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15019         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15020
15021 2006-06-18  Sven de Marothy  <sven@physto.se>
15022
15023         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15024         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15025         remove commented-out code.
15026
15027 2006-06-18  Sven de Marothy  <sven@physto.se>
15028
15029         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15030         (FreetypeGlyphVector, clone): Implement cloning.
15031         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15032         * java/awt/font/TextMeasurer.java: Implement.
15033         * java/awt/font/LineBreakMeasurer.java: 
15034         Reimplement to use TextMeasurer.
15035         * java/awt/font/TextLayout.java
15036         New constructors.
15037         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15038         (getText, getFont): New private static methods.
15039         (setCharIndices): New method.
15040         * java/text/AttributedString.java
15041         (AttributedString): Fix constructor to stop at end point.
15042         
15043 2006-06-17  Tom Tromey  <tromey@redhat.com>
15044
15045         * lib/gen-classlist.sh.in: Search all top-level directories, not
15046         just 'org', in external.
15047
15048 2006-06-12  Mario torre  <neugens at limasoftware.net>
15049
15050         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15051         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15052         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15053         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15054         header file.
15055         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15056         * configure.ac: update to introduce new files. Added options
15057         to build gconf native peer used by the GConf preference backend.
15058         * include/Makefile.am: update to introduce new files.
15059         * native/jni/Makefile.am update to introduce new files.
15060         * scripts/check_jni_methods.sh: added three new ignored file
15061         from check.
15062         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15063         build gconf-peer shared library.
15064
15065 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15066
15067         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15068         Use Integer.valueOf() instead of new Integer().
15069         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15070         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15071         * gnu/java/security/util/Sequence.java: Likewise.
15072         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15073         * gnu/java/security/x509/X509Certificate.java: Likewise.
15074         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15075         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15076         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15077         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15078         * gnu/javax/crypto/cipher/DES.java: Likewise.
15079         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15080         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15081         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15082         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15083         * gnu/javax/crypto/cipher/Square.java: Likewise.
15084         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15085         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15086         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15087         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15088         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15089         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15090         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15091         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15092         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15093         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15094         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15095         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15096         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15097         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15098         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15099         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15100         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15101         * gnu/javax/crypto/mode/EAX.java: Likewise.
15102         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15103         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15104         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15105         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15106         * java/security/cert/X509CertSelector.java: Likewise.
15107
15108 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15109
15110         * javax/management/DynamicMBean.java:
15111         (setAttribute): Fixed to return void.
15112         * javax/management/MBeanFeatureInfo.java:
15113         New file.
15114         
15115 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15116
15117         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15118         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15119         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15120         into engineInitHandler and reuse the code in
15121         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15122         (engineInitHandler): New method.
15123         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15124         null, use random or default information when possible.
15125
15126 2006-06-16  Francis Kung  <fkung@redhat.com>
15127
15128         * examples/gnu/classpath/examples/swing/Demo.java:
15129         (mkButtonBar): Rename FillRect to JNIOverhead.
15130         (mkMenuBar): Rename FillRect to JNIOverhead.
15131         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15132         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15133         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15134         Moved from old FillRect.
15135
15136 2006-06-16  Tom Tromey  <tromey@redhat.com>
15137
15138         * tools/.cvsignore: Added new tool names.
15139
15140 2006-06-16  Keith Seitz  <keiths@redhat.com>
15141
15142         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15143         instantiation so that EventManager is created when getDefault
15144         is first called.
15145         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15146         of EventManager.
15147
15148 2006-06-16  Keith Seitz  <keiths@redhat.com>
15149
15150         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15151         (_initCount): New field.
15152         (Jdwp): Don't set isDebugging until fully initialized.
15153         (subcomponentInitialized): New method.
15154         (run): Wait for PacketProcessor and JdwpConnection to
15155         startup, then set isDebugging, and then let this thread
15156         die.
15157         * gnu/classpath/jdwp/transport/JdwpConnection.java
15158         (run): Add synchronization notification.
15159         * gnu/classpath/jdwp/processor/PacketProcessor.java
15160         (run): Likewise.
15161
15162 2006-06-16  Tom Tromey  <tromey@redhat.com>
15163
15164         * NEWS: Updated for JSR 166.
15165
15166 2006-06-16  Tom Tromey  <tromey@redhat.com>
15167
15168         * lib/Makefile.am (compile_classpath): Added jsr166.
15169         * configure.ac: Added external/jsr166/Makefile.
15170         * external/Makefile.am (SUBDIRS): Added jsr166.
15171         * external/jsr166/Makefile.am: New file.
15172         * lib/gen-classlist.sh.in: Look in external/jsr166.
15173
15174 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15175
15176         * gnu/classpath/jdwp/event/ExceptionEvent:
15177         Added Object instance to javadoc in constructor
15178         * gnu/classpath/jdwp/event/MethodEntryEvent:
15179         Ditto.
15180         * gnu/classpath/jdwp/event/MethodExitEvent:
15181         Ditto,
15182         * gnu/classpath/jdwp/event/SingleStepEvent:
15183         Ditto. 
15184
15185 2006-06-16  Tom Tromey  <tromey@redhat.com>
15186
15187         Imported JSR 166 reference implementation:
15188         * .classpath: Added external/jsr166.
15189         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15190         * java/util/AbstractQueue.java: Removed.
15191         * java/util/Queue.java: Removed.
15192         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15193         (runPeriodic): Added explicit cast.
15194         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15195         elements.clone.
15196
15197 2006-06-16  Tom Tromey  <tromey@redhat.com>
15198
15199         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15200         Removed.
15201         (getCallerClass): Now static.
15202         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15203
15204 2006-06-16  Lillian Angel  <langel@redhat.com>
15205
15206         * java/awt/FileDialog.java
15207         (FileDialog): Added @since tag to API docs.
15208         (FileDialog): Likewise.
15209         (FileDialog): Likewise.
15210         * java/awt/Font.java:
15211         Added @since tag to TYPE1_FONT field docs.
15212         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15213         (isThumbRollover): Likewise.
15214         (setThumbRollover): Likewise.
15215         (getSupportsAbsolutePositioning): Likewise.
15216         * javax/swing/plaf/basic/BasicSliderUI.java:
15217         (isDragging): Likewise.
15218
15219 2006-06-16  Lillian Angel  <langel@redhat.com>
15220
15221         * java/awt/FileDialog.java
15222         (FileDialog): Implemented.
15223         (FileDialog): Implemented.
15224         (FileDialog): Implemented.
15225         * java/awt/Font.java:
15226         Added TYPE1_FONT constant field.
15227
15228 2006-06-16  Lillian Angel  <langel@redhat.com>
15229
15230         * java/awt/font/TextLayout.java:
15231         Removed unneeded imports.
15232         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15233         Added new thumbRollover field.
15234         (mouseMoved): Added code to set thumbRollover field.
15235         (isThumbRollover): New function.
15236         (setThumbRollover): New function.
15237         (getSupportsAbsolutePositioning): Implemented. This
15238         needs to be changed once the feature has been 
15239         implemented.
15240         * javax/swing/plaf/basic/BasicSliderUI.java:
15241         Added new dragging field.
15242         (mouseDragged): Initialized dragging field.
15243         (isDragging): New function.
15244         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15245         (focusGained): Marked as not implemented.
15246         (focusLost): Likewise.
15247
15248 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15249
15250         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15251         Added check for null ThreadId to avoid null pointer
15252         exception.
15253
15254 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15255
15256         * javax/swing/DefaultComboBoxModel.java
15257         (removeElementAt): Set new selected item by calling setSelectedItem().
15258
15259 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15260
15261         * javax/swing/DefaultButtonModel.java
15262         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15263
15264 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15265
15266         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15267         (ListDataEvent): Handle case where index0 > index1,
15268         (toString): Implemented.
15269
15270 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15271
15272         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15273         (update): Added subexpression to if-statement.
15274
15275 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15276
15277         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15278         (installDefaults): Removed unneccessary code.
15279         (paint): Removed complex if-cascade, revert to default icon if
15280         icon property is not set.
15281         (getPreferredSize): New method.
15282
15283 2006-06-16  Roman Kennke  <kennke@aicas.com>
15284
15285         PR 28027
15286         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15287         (drawImage): Don't use setClip() but instead clipRect() to
15288         intersect the current clip with a new one.
15289
15290 2006-06-15  Tom Tromey  <tromey@redhat.com>
15291
15292         * scripts/sanitize-jsr166: New file.
15293         * external/jsr166/IMPORTING: New file.
15294         * vm/reference/sun/reflect/Reflection.java: New file.
15295         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15296         * vm/reference/sun/misc/Unsafe.java: ...here.
15297
15298 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15299
15300         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15301         gjarsigner and keytool to gkeytool.
15302         * doc/tools.texinfo: Add note about tool exectable names.
15303         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15304         jarsigner to gjarsigner and keytool to gkeytool.
15305         * tools/appletviewer.in: Rename ...
15306         * tools/gappletviewer.in: New file.
15307         * tools/jarsigner.in: Rename ...
15308         * tools/gjarsigner.in: New file.
15309         * tools/keytool.in: Rename ...
15310         * tools/gkeytool.in: New file.
15311         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15312
15313 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15314
15315         * javax/management/AttributeList.java:
15316         Add serialization UID.
15317         * javax/management/DynamicMBean.java:
15318         New file.
15319         * javax/management/JMRuntimeException.java:
15320         Add serialization UID and correct name
15321         of serialized field.
15322         * javax/management/MBeanInfo.java: New file.
15323         
15324 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15325
15326         * javax/management/AttributeList.java,
15327         * javax/management/JMRuntimeException.java,
15328         * javax/management/RuntimeOperationsException.java:
15329         New files.
15330         
15331 2006-06-15  Lillian Angel  <langel@redhat.com>
15332
15333         * java/awt/font/TextLayout.java:
15334         DEFAULT_CARET_POLICY changed to be public static final.
15335
15336 2006-06-15  Tania Bento  <tbento@redhat.com>
15337
15338         * javax/swing/plaf/metal/MetalScrollButton.java
15339         (MetalScrollButton): Should set 'focusable' to false.
15340
15341 2006-06-15  Tania Bento  <tbento@redhat.com>
15342
15343         * javax/swing/plaf/basic/BasicArrowButton.java
15344         (BasicArrowButton): Should set 'focusable' to false.
15345         (BasicArrowButton): Should set 'focusable' to false.
15346
15347 2006-06-15  Mark Wielaard  <mark@klomp.org>
15348
15349         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15350         (getGraphicsConfiguration): Return default screen device.
15351         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15352         New field.
15353         (GtkVolatileImage): Record initiating component.
15354         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15355         (getDeviceConfiguration): Return configuration of image component.
15356
15357 2006-06-15  Mark Wielaard  <mark@klomp.org>
15358
15359         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15360         closed.
15361
15362 2006-06-15  Mark Wielaard  <mark@klomp.org>
15363
15364         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15365         with null argument.
15366
15367 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15368
15369         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15370         (matches): Added explicit brackets to return statement.
15371
15372 2006-06-15  Tania Bento  <tbento@redhat.com>
15373
15374         * javax/swing/JRadioButtonMenuItem.java
15375         (JRadioButtonMenuItem): Should set 'focusable' to false.
15376
15377 2006-06-15  Tania Bento  <tbento@redhat.com>
15378
15379         * javax/swing/JCheckBoxMenuItem.java
15380         (JCheckBoxMenuItem): Should set 'focusable' to false.
15381
15382 2006-06-15  Tania Bento  <tbento@redhat.com>
15383
15384         * javax/swing/AbstractButton.java:
15385         (AbstractButton): 'Focusable' should be set to true and not false.
15386
15387 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15388
15389         * java/lang/management/ManagementFactory.java:
15390         Add private constructor to prevent instance creation.
15391         * java/lang/management/ManagementPermission.java:
15392         Make final.
15393         
15394 2006-06-15  Francis Kung  <fkung@redhat.com>
15395
15396         * javax/swing/plaf/basic/BasicArrowButton.java:
15397         (BasicArrowButton): move client property for not triggering out 
15398         of consturctor
15399         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15400         (configureArrowButton): set client property for not triggering
15401         (installUI): set client property for not triggering
15402         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15403         (PopupHelper.mousePressed): check client property for triggering
15404
15405 2006-06-15  Roman Kennke  <kennke@aicas.com>
15406
15407         PR 28037
15408         * javax/swing/RepaintManager.java
15409         (blitBuffer): Substract coordinates the other way around.
15410
15411 2006-06-15  Roman Kennke  <kennke@aicas.com>
15412
15413         PR 28027
15414         * javax/swing/JComponent.java
15415         (paintImmediately2): Only paint component without double buffering
15416         when all of it's parents have also double buffering disabled.
15417         (isPaintingDoubleBuffered): New helper method.
15418
15419 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15420
15421         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15422         (draw(Shape)): Pass null transform to getPathIterator(),
15423         (getClip): Likewise,
15424         * gnu/java/print/PostscriptGraphics2D.java
15425         (drawStringShape): Pass null transform to getPathIterator(),
15426         (writeShape): Likewise,
15427         * java/awt/Shape.java: Small updates to API docs.
15428
15429 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15430
15431         * javax/naming/InitialContext.java:
15432         (list(javax.naming.Name)): Fixed generic type.
15433         (list(String)): Likewise.
15434         (listBindings(javax.naming.Name)): Likewise.
15435         (listBindings(String)): Likewise.
15436         
15437 2006-06-14  Roman Kennke  <kennke@aicas.com>
15438
15439         * javax/swing/plaf/basic/BasicComboBoxUI.java
15440         (getAccessibleChildrenCount): Implemented.
15441         (getAccessibleChild): Implemented.
15442         (isNavigationKey): Implemented.
15443         (KeyHandler.keyPressed): Implemented.
15444
15445 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15446
15447         * java/lang/management/ManagementPermission.java:
15448         Added serialization UID.
15449         * javax/management/Attribute.java: Likewise.
15450         * javax/management/MBeanException.java,
15451         * javax/management/ReflectionException.java:
15452         Added serialization UID and changed to extend
15453         javax.management.JMException.
15454         
15455 2006-06-14  Lillian Angel  <langel@redhat.com>
15456
15457         * java/awt/Component.java
15458         (ignoreOldMouseEvents): Made static.
15459         (translateEvent): Made static.
15460         * java/awt/TextComponent.java
15461         (ignoreOldMouseEvents): Made static.
15462
15463 2006-06-14  Mark Wielaard  <mark@klomp.org>
15464
15465         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15466         call super.
15467         (drawRect): Likewise.
15468         (fillRect): Likewise.
15469
15470 2006-06-14  Lillian Angel  <langel@redhat.com>
15471
15472         * java/awt/Component.java
15473         (ignoreOldMouseEvents): New helper function.
15474         (translateEvent): Changed to be non-static and use new helper.
15475         * java/awt/TextComponent.java
15476         (ignoreOldMouseEvents): New helper function.
15477
15478 2006-06-14  Roman Kennke  <kennke@aicas.com>
15479
15480         * javax/swing/RepaintManager.java
15481         (MERGE_REGIONS): New constant flag.
15482         (commitBuffer): Exclude the merging of regions by default. This
15483         was causing painting artifacts in some applications, especially
15484         when different areas of the GUI are updated synchronously.
15485
15486 2006-06-14  Roman Kennke  <kennke@aicas.com>
15487
15488         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15489         New file. This is a benchmark for AWT 1.1 style graphics operations.
15490         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15491         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15492
15493 2006-06-14  Tom Tromey  <tromey@redhat.com>
15494
15495         * java/io/File.java (getParent): Javadoc fix.
15496
15497 2006-06-14  Tom Tromey  <tromey@redhat.com>
15498
15499         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15500         jar.
15501         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15502         when index entry does not exist.
15503
15504 2006-06-14  Tania Bento  <tbento@redhat.com>
15505
15506         * javax/swing/AbstractButton.java
15507         (AbstractButton): Set focusable to false, not true.
15508
15509 2006-06-14  Tania Bento  <tbento@redhat.com>
15510
15511         * javax/swing/JMenuItem.java
15512         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15513
15514 2006-06-14  Tania Bento  <tbento@redhat.com>
15515
15516         * javax/swing/JCheckBoxMenuItem.java
15517         (JCheckBoxMenuItem): Added check to set the selected state.
15518
15519 2006-06-14  Roman Kennke  <kennke@aicas.com>
15520
15521         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15522         (cairoDrawLine): New native method.
15523         (cairoDrawRect): New native method.
15524         (cairoFillRect): New native method.
15525         (drawLine): Use special native method.
15526         (drawRect): Use special native method.
15527         (fillRect): Use special native method.
15528         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15529         (cairoDrawLine): New native method.
15530         (cairoDrawRect): New native method.
15531         (cairoFillRect): New native method.
15532         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15533
15534 2006-06-14  Mark Wielaard  <mark@klomp.org>
15535
15536         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15537         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15538         cannot be allocated.
15539
15540 2006-06-14  Tom Tromey  <tromey@redhat.com>
15541
15542         PR java/28024:
15543         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15544         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15545
15546 2006-06-14  Roman Kennke  <kennke@aicas.com>
15547
15548         * javax/swing/JComponent.java
15549         (isRepainting): New flag.
15550         (paintImmediately2): Set isRepainting flag.
15551         (getRoot): Removed obsolete method.
15552         (paintDoubleBuffered): Differenciate between paint calls from
15553         RepaintManager and from AWT refresh. Call
15554         RepaintManager.commitBuffer with this and local coordinates.
15555         (findOpaqueParent): Stop searching at heavyweight component. These
15556         are always opaque.
15557         (paintChildrenOptimized): Don't paint heavyweight children. These
15558         should care for themselves.
15559         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15560         should care for themselves.
15561         * javax/swing/RepaintManager.java
15562         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15563         windows only.
15564         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15565         toplevel windows only.
15566         (getRoot): Removed obsolete method.
15567         (commitBuffer): Blit buffer on nearest heavyweight.
15568         (blitBuffer): New helper method.
15569         (getHeavyweightParent): New helper method.
15570         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15571         * javax/swing/SwingUtilities.java
15572         (convertRectangleToAncestor): New helper method.
15573
15574 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15575
15576         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15577         Condition all trace/debug code based on Configuration.DEBUG.
15578         Use logger instead of STDOUT and ot STDERR.
15579
15580 2006-06-13  Lillian Angel  <langel@redhat.com>
15581
15582         * native/plugin/gcjwebplugin.cc
15583         (NP_Initialize): Removed code to create whitelist file.
15584         (GCJ_New): Added code to create whitelist file.
15585         (plugin_user_trusts_documentbase): Fixed error message.
15586
15587 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15588
15589         * javax/swing/plaf/metal/MetalIconFactory.java
15590         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15591         prevent overwriting border,
15592         (VerticalSliderThumbIcon.gradientMask): Likewise.
15593
15594 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15595
15596         * javax/management/AttributeNotFoundException.java,
15597         * javax/management/InvalidAttributeValueException.java,
15598         * javax/management/JMException.java,
15599         * javax/management/MBeanException.java,
15600         * javax/management/OperationsException.java,
15601         * javax/management/ReflectionException.java:
15602         New files.
15603         
15604 2006-06-13  Roman Kennke  <kennke@aicas.com>
15605
15606         * java/awt/Component.java
15607         (dispatchEvent): Handle events even when consumed (this might be
15608         picked up later in the dispatching chain).
15609         * javax/swing/plaf/basic/BasicLookAndFeel.java
15610         (PopupHelper.mousePressed): Don't consume event. Only close popup
15611         when target component isn't flagged as DONT_CANCEL_POPUP.
15612         (DONT_CANCEL_POPUP): New package private constant for flagging
15613         special components that don't trigger popup closing.
15614         * javax/swing/plaf/basic/BasicArrowButton.java
15615         (BasicArrowButton): Set client property for not triggering closing
15616         of popups.
15617
15618 2006-06-13  Lillian Angel  <langel@redhat.com>
15619
15620         * java/awt/image/PixelGrabber.java
15621         (PixelGrabber): Added to API documentation.
15622
15623 2006-06-13  Keith Seitz  <keiths@redhat.com>
15624
15625         From Kyle Galloway  <kgallowa@redhat.com>:
15626         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15627         (ExceptionOnlyFilter): Allow null refId.
15628
15629         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15630         compatibility with filters.
15631         (getParameter): Modified to allow access to above. 
15632
15633 2006-06-13  Sven de Marothy  <sven@physto.se>
15634
15635         * gnu/java/awt/peer/gtk/CairoSurface.java
15636         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15637         (create): Use stride in ints.
15638
15639 2006-06-13  Keith Seitz  <keiths@redhat.com>
15640
15641         From Kyle Galloway  <kgallowa@redhat.com>:
15642         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15643
15644 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15645
15646         * javax/swing/plaf/basic/BasicSliderUI.java
15647         (calculateThumbSize): Removed unnecessary code,
15648         (calculateThumbLocation): Shift position by one,
15649         (calculateTickRect): Shift position by one when ticks are displayed,
15650         (calculateLabelRect): Calculate rect differently according to whether
15651         or not the labels are visible,
15652         (paintTrack): Shift track down one pixel.
15653
15654 2006-06-13  Lillian Angel  <langel@redhat.com>
15655
15656         * java/awt/image/PixelGrabber.java
15657         (PixelGrabber): Removed check to throw exception. JDK does
15658         not do this.
15659         (startGrabbing): Removed line to print stacktrace. 
15660
15661 2006-06-13  Mark Wielaard  <mark@klomp.org>
15662
15663         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15664         allocate unused AffineTransform. Add comment about conversion to
15665         BufferedImage.
15666         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15667         Recognize identity transform as "easy". Always convert to
15668         BufferedImage before calling super.
15669
15670 2006-06-13  Roman Kennke  <kennke@aicas.com>
15671
15672         * java/awt/Component.java
15673         (getGraphics): Translate child graphics correctly.
15674         (dispatchEvent): Only dispatch event if it hasn't been consumed
15675         yet by the global dispatcher.
15676         * javax/swing/plaf/basic/BasicLookAndFeel.java
15677         Added some API docs.
15678         (PopupHelper.mousePressed): Consume the event after closing
15679         opened menus.
15680
15681 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15682
15683         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15684         changes only,
15685         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15686         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15687         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15688         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15689         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15690         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15691         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15692         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15693         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15694         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15695         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15696         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15697         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15698         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15699         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15700         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15701
15702 2006-06-12  Sven de Marothy  <sven@physto.se>
15703
15704         * java/awt/font/LineBreakMeasurer.java): Implement.
15705
15706 2006-06-12  Keith Seitz  <keiths@redhat.com>
15707
15708         From Kyle Galloway  <kgallowa@redhat.com>:
15709         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15710
15711 2006-06-12  Keith Seitz  <keiths@redhat.com>
15712
15713         From Kyle Galloway  <kgallowa@redhat.com>:
15714         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15715
15716         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15717
15718 2006-06-12  Roman Kennke  <kennke@aicas.com>
15719
15720         * javax/swing/JComponent.java
15721         (paintDoubleBuffered): Correctly translate and clip the Graphics
15722         instance.
15723         (clipAndTranslateGraphics): New helper method.
15724
15725 2006-06-12  Roman Kennke  <kennke@aicas.com>
15726
15727         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15728         (copy): Use getClip() to copy the clip. Make copied transform
15729         null when original transform is null. Set clip here.
15730         (setTransform): Correctly update the clip.
15731         (setTransformImpl): New method. Updates the actual transform for
15732         Cairo.
15733         (transform): Correctly update the clip.
15734         (translate): Correctly update the clip.
15735         (clip): Handle null clip and argument correctly.
15736         (clipRect): Avoid creating new Rectangle objects.
15737         (getClip): Get the correct copy of the clip.
15738         (setClip): Correctly handle null argument.
15739         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15740         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15741         be null or whatever has been set in copy().
15742         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15743         (drawImage): Add translation to the image coordinates.
15744         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15745         (VolatileImageGraphics): Don't set clip here. The clip can either
15746         be null or whatever has been set in copy().
15747
15748 2006-06-12  Keith Seitz  <keiths@redhat.com>
15749
15750         From Kyle Galloway  <kgallowa@redhat.com>:
15751         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15752         (forCaught): Removed unused/unnecessary method.
15753         (forUncaught): Likewise.
15754         (matches): Implement.
15755
15756 2006-06-12  Keith Seitz  <keiths@redhat.com>
15757
15758         From Kyle Galloway  <kgallowa@redhat.com>:
15759         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15760
15761 2006-06-12  Keith Seitz  <keiths@redhat.com>
15762
15763         From Kyle Galloway  <kgallowa@redhat.com>:
15764         * gnu/classpath/jdwp/event/Event.java: Added constants for
15765         type.
15766         (getParameter): Changed parameter type from Class to int.
15767         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15768         Changed from Class type to constants.
15769         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15770         Likewise.
15771         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15772         Likewise.
15773         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15774         Likewise.
15775         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15776         Likewise.
15777         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15778         Likewise.
15779         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15780         Likewise.
15781         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15782         Likewise.
15783         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15784         Likewise.
15785         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15786         Likewise.
15787
15788 2006-06-12  Lillian Angel  <langel@redhat.com>
15789
15790         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15791         (StandaloneAppletWindow): Changed title of standalone window.
15792
15793 2006-06-12  Lillian Angel  <langel@redhat.com>
15794
15795         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15796         (layoutContainer): Added missing selectedComponent assignment.
15797
15798 2006-06-12  Lillian Angel  <langel@redhat.com>
15799
15800         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15801         (layoutContainer): Added check to prevent exception.
15802
15803 2006-06-12  Tom Tromey  <tromey@redhat.com>
15804
15805         * java/lang/Thread.java (uncaughtException): Javadoc fix.
15806
15807 2006-06-12  Mark Wielaard  <mark@klomp.org>
15808
15809         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15810         New static field.
15811         (ONE): Likewise.
15812         (lock): New method.
15813         (unlock): Likewise.
15814         (draw): Use lock() and unlock().
15815         (fill): Likewise.
15816         (drawRenderedImage): Likewise.
15817         (drawImage): Likewise.
15818         (drawGlyphVector): Likewise.
15819
15820 2006-06-12  Roman Kennke  <kennke@aicas.com>
15821
15822         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15823         (drawPixels): Include alpha in parameter list.
15824         (cairoFill): Include alpha in parameter list.
15825         (setComposite): Don't modify the color.
15826         (draw(Shape))): Use fill when the current composite has an alpha
15827         of != 1.0, so that the stroked shaped will be composited.
15828         (fill(Shape)): Call cairoFill() with alpha.
15829         (drawImage): Call drawPixels or drawSurface with alpha.
15830         (drawGlyphVector): When composite alpha is != 1.0, render the
15831         outline using fill() to enable compositing for text.
15832         (drawRaster): Call drawPixels with alpha.
15833         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15834         (nativeDrawSurface): Include alpha in parameter list.
15835         (drawSurface): Include alpha in parameter list. Pass it to
15836         nativeDrawSurface().
15837         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
15838         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
15839         Regenerated.
15840         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15841         (drawPixels): Handle possible alpha for compositing.
15842         (cairoFill): Likewise.
15843         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15844         (nativeDrawSurface): Handle possible alpha for compositing.
15845
15846 2006-06-12  Mark Wielaard  <mark@klomp.org>
15847
15848         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15849         Notify data when completely done. Wait for worker thread to finish.
15850         Rethrow any pending exceptions.
15851         (exception): New field.
15852         (run): Store pending exception.
15853
15854 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15855
15856         * java/lang/management/ManagementPermission.java:
15857         New file.
15858         
15859 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15860
15861         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
15862
15863 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
15864
15865         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
15866         Use String.charAt().
15867
15868 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
15869
15870         * doc/tools.texinfo
15871         (Applet Tools): New chapter.
15872         (appletviewer Tool): New section.
15873         (gcjwebplugin): New section.
15874
15875 2006-06-11  Mark Wielaard  <mark@klomp.org>
15876
15877         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
15878         Takes GdkPixbufWriter.
15879         (GdkPixbufWriter): Implements Runnable.
15880         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
15881         data processing.
15882         (DATADONE): New static final field.
15883         (data): New field.
15884         (write(byte[])): New method.
15885         (run): Likewise.
15886         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15887         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
15888         Get dataOutputWriteID from writeClass.
15889         (stream_save_request): Change stream field to writer.
15890         (save_to_stream): Remove FIXME, call writer.
15891         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
15892         Store writer.
15893
15894 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15895
15896         * NEWS:
15897         Mention new VM interface and use of properties.
15898         * doc/vmintegration.texinfo:
15899         Update with new gnu.java.lang.management section.
15900         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15901         New file.
15902         * java/lang/management/ManagementFactory.java:
15903         (getRuntimeMXBean()): Implemented.
15904         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
15905         New VM interface file.
15906         
15907 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15908
15909         PR Classpath/26065
15910         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
15911         debug code based on Configuration.DEBUG.
15912         Use logger instead of STDOUT and ot STDERR.
15913         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15914         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15915         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15916         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15917         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15918         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15919         * gnu/javax/crypto/pad/TBC.java: Likewise.
15920         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15921         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15922         * gnu/javax/crypto/pad/BasePad.java: Likewise.
15923         * gnu/javax/crypto/mac/OMAC.java: Likewise.
15924         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15925         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15926         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15927         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15928         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15929         * gnu/javax/crypto/keyring/Entry.java: Likewise.
15930         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15931         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15932         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15933         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15934         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15935         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15936         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15937         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15938         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15939         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15940         * gnu/java/security/Properties.java: Likewise.
15941         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15942         * gnu/java/security/x509/X509CRL.java: Likewise.
15943         * gnu/java/security/x509/ext/Extension.java: Likewise.
15944         * gnu/java/security/util/Prime2.java: Likewise.
15945         * gnu/java/security/util/Base64.java: Likewise.
15946         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15947         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15948         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15949         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15950         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15951         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15952         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15953         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15954         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15955         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15956         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15957         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15958         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15959         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15960         * gnu/java/security/hash/Whirlpool.java: Likewise.
15961
15962 2006-06-11  Mark Wielaard  <mark@klomp.org>
15963
15964         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
15965         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
15966         Remove unused variable glyph_index.
15967
15968 2006-06-11  Mark Wielaard  <mark@klomp.org>
15969
15970         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
15971         Don't recurse, return false if not an BufferedImage and no image
15972         source available.
15973         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
15974         end_gdk_drawing() to finally block.
15975         (fill): Likewise.
15976         (drawRenderedImage): Likewise.
15977         (drawImage): Likewise.
15978         (drawGlyphVector): Likewise.
15979
15980 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
15981
15982         * doc/tools.texinfo: Added text for new -cacert command.
15983         Re-structured sections.
15984         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
15985         for -cacert command.
15986         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
15987         (_CACERT): Likewise.
15988         (shutdownThread): New field.
15989         (Main): Install shutdown thread.
15990         (main): Uninstall shutdown thread.
15991         (start): Handle new -cacert command.
15992         (getParser): Likewise.
15993         (teardown): Increased visibility.
15994         (ShutdownHook): New inner class.
15995         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
15996
15997 2006-06-11  Sven de Marothy  <sven@physto.se>
15998
15999         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16000         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16001         (getOutline): Operate on the shape directly.
16002         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16003         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16004         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16005         (getGlyph renamed getGlyphs)
16006         * java/awt/geom/AffineTransform.java
16007         (getTranslateInstance): Set fields directly.
16008         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16009         (getGlyphs): Get all glyph codes at once.
16010         
16011 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16012
16013         PR Classpath/27853
16014         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16015
16016 2006-06-11  Sven de Marothy  <sven@physto.se>
16017
16018         * java/awt/font/TextLayout.java
16019         (getLogicalHighlightShape): Add check.
16020         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16021         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16022
16023 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16024
16025         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16026         Check that every component of 'cn' starts with a valid Java identifier char.
16027
16028 2006-06-10  Tom Tromey  <tromey@redhat.com>
16029
16030         * java/io/File.java (pathSeparator): Typo fix.
16031
16032 2006-06-10  Mark Wielaard  <mark@klomp.org>
16033
16034         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16035         Removed.
16036         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16037         Mark all unused parameters.
16038         (cp_gtk_get_cairo_t): Removed.
16039         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16040         Don't mix declerations and statements.
16041         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16042         Mark all unused parameters.
16043         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16044         Get cairographics2d pointer directly.
16045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16046         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16047         Use jlong to pass pointer.
16048         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16049         Mark all unused parameters.
16050         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16051         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16052         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16053         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16054         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16055         * include/java_io_VMFile.h: Regenerated.
16056
16057 2006-06-10  Roman Kennke  <kennke@aicas.com>
16058
16059         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16060         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16061         instead of setClip(), so that an already present clip is intersected
16062         and not resetted.
16063
16064 2006-06-10  Mark Wielaard  <mark@klomp.org>
16065
16066         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16067         Call getSize() to avoid accessor method.
16068
16069 2006-06-10  Mark Wielaard  <mark@klomp.org>
16070
16071         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16072         Qualify ElementSpec.
16073
16074 2006-06-10  Mark Wielaard  <mark@klomp.org>
16075
16076         * lib/.cvsignore: Add sun.
16077         * lib/Makefile.am (dist-hook): Likewise.
16078
16079 2006-06-10  Roman Kennke  <kennke@aicas.com>
16080
16081         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16082         * gnu/java/awt/peer/gtk/CairoSurface.java
16083         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16084         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16085         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16086         * native/jni/gtk-peer/cairographics2d.h
16087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16088         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16089         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16090         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16091         Changed method signatures and calls to pass native pointers directly
16092         into the JNI code, in order to avoid costly lookups on each
16093         JNI call.
16094         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16095         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16096         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16097         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16098         Regenerated
16099
16100 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16101
16102         PR 27973
16103         * javax/swing/text/DefaultStyledDocument.java 
16104         (ElementBuffer.insertContentTag):
16105         Do not recreate leaves and do not remove elements here. 
16106
16107 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16108
16109         * javax/swing/text/html/HTMLDocument.java
16110         (HTMLReader.HiddenAction): Implemented.
16111
16112 2006-06-10  Roman Kennke  <kennke@aicas.com>
16113
16114         * javax/swing/RepaintManager.java
16115         (getVolatileOffscreenBuffer): Store the created buffer.
16116         * javax/swing/JComponent.java
16117         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16118         for better performance.
16119
16120 2006-06-10  Roman Kennke  <kennke@aicas.com>
16121
16122         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16123         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16124         context correctly.
16125         (getRealBounds): Overridden to return the correct bounds.
16126
16127 2006-06-10  Roman Kennke  <kennke@aicas.com>
16128
16129         * javax/swing/plaf/metal/MetalButtonUI.java
16130         (update): Fixed to paint the gradient under the correct conditions.
16131         (updateWidthGradient): Removed.
16132         (isToolbarButton): New helper method.
16133         (isDrawingGradient): New helper method.
16134
16135 2006-06-09  Roman Kennke  <kennke@aicas.com>
16136
16137         * javax/swing/JTabbedPane.java
16138         (setSelectedIndex): Don't change the visibility of the components,
16139         this is done by the UI class.
16140         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16141         (TabbedPaneLayout.layoutContainer): Change visibility of component
16142         here, depending on the selected index. Only do this if the new
16143         selected component is not null. Some programs seem to expect
16144         this.
16145         (visibleComponent): New field.
16146         (getVisibleComponent): Changed to return visibleComponent field.
16147         (setVisibleComponent): Changed to set the visibility of
16148         the old and new visible component.
16149
16150 2006-06-09  Roman Kennke  <kennke@aicas.com>
16151
16152         * javax/swing/JComponent.java
16153         (paintChildrenOptimized): Paint component with a new Graphics
16154         object to protect the other painting code from modifications
16155         done in that object, and avoid cleanup ops on possibly dispose()ed
16156         Graphics object.
16157
16158 2006-06-09  Sven de Marothy  <sven@physto.se>
16159
16160         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16161         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16162         Use GTK locks while disposing (Xlib) surface.
16163
16164 2006-06-09  Tom Tromey  <tromey@redhat.com>
16165
16166         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16167         (uninstall-local): Delete 'sun' directory.
16168         (glibj.zip): Include 'sun' classes.
16169         (clean-local): Delete 'sun' directory.
16170         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16171
16172 2006-06-09  Roman Kennke  <kennke@aicas.com>
16173
16174         * gnu/java/awt/java2d/AbstractGraphics2D.java
16175         (drawImage): Fixed scaling.
16176         (fillShape): Removed offset handling.
16177         (fillShapeImpl): Limit scanlining to device bounds.
16178         (getSegments): Removed offset handling.
16179         * gnu/java/awt/java2d/PolyEdge.java
16180         (toString): Include isClip flag in output.
16181
16182 2006-06-08  Sven de Marothy  <sven@physto.se>
16183
16184         * java/awt/font/TextLayout.java
16185         (getOutline): Allow null transform.
16186
16187 2006-06-08  Sven de Marothy  <sven@physto.se>
16188
16189         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16190         (drawString): Use TextLayout instead of GlyphVector.
16191
16192 2006-06-08  Sven de Marothy  <sven@physto.se>
16193
16194         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16195         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16196         New constructor for bidirectionality.
16197         (getGlyphMetrics): Return whitespace glyphs.
16198         (getLogicalBounds): Offset rectangles to correct positions.
16199         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16200         (getBaselineFor): Default to ROMAN_BASELINE.
16201         (GdkFontLineMetrics): Guess some values for underline and 
16202         strikethrough.
16203         (layoutGlyphVector): Use bidirectionality.
16204         * java/awt/font/TextLayout.java: Implement, mostly.
16205         
16206 2006-06-09  Anthony Green  <green@redhat.com>
16207
16208         PR classpath/27888:
16209         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16210         * java/util/Collections.java (binarySearch): Use unsigned shift.
16211         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16212
16213 2006-06-09  Tom Tromey  <tromey@redhat.com>
16214
16215         * tools/.cvsignore: Added .deps.
16216
16217 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16218
16219         PR classpath/27966:
16220         * gnu/javax/security/auth/login/ConfigFileParser.java
16221         (validateClassName): Quote '.' in regexp.
16222
16223 2006-06-09  Tom Tromey  <tromey@redhat.com>
16224
16225         PR classpath/23863:
16226         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16227         finished.
16228         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16229         some includes.  Added <assert.h>.
16230         (_reent, _Bigint): New defines.
16231         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16232         (__ULong, __Long): New types.
16233         (_calloc_r): New function.
16234         (Balloc): Dynamically add new _freelist entries as needed.
16235         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16236         MAX_BIGNUMS to size _x[].
16237         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16238         _allocation_map, num.  Added _max_k.
16239
16240 2006-06-09  Roman Kennke  <kennke@aicas.com>
16241
16242         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16243         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16244         implementations.
16245
16246 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16247
16248         * java/awt/image/BufferedImage.java
16249         (BufferedImage(int, int, int)): Added API docs,
16250         (getProperty(String)): Return correct value for undefined properties,
16251         (getPropertyNames()): Added comments and removed FIXME.
16252
16253 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16254
16255         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16256         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16257
16258 2006-06-09  Francis Kung  <fkung@redhat.com>
16259
16260         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16261         (getPreferredSize): Return correct height for null or empty 
16262         items.
16263
16264 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16265
16266         * java/awt/datatransfer/DataFlavor.java
16267         (readExternal): Mark as stub,
16268         (writeExternal): Likewise,
16269         * java/awt/dnd/DropTargetContext.java
16270         (dropComplete): Mark as stub,
16271         (acceptDrag): Likewise,
16272         (rejectDrag): Likewise,
16273         (acceptDrop): Likewise,
16274         (rejectDrop): Likewise,
16275         (getCurrentDataFlavors): Likewise,
16276         (getTransferable): Likewise,
16277         * java/awt/dnd/DropTargetDropEvent.java
16278         (dropComplete): Mark as stub.
16279
16280 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16281
16282         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16283         (constructor): Do not lowercase the values.
16284         * javax/swing/text/html/HTMLDocument.java
16285         (HTMLReader.addSpecialElement): Implemented.
16286         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16287
16288 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16289
16290         On behalf of Matthew Wringe <mwringe@redhat.com>
16291         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16292         * gnu/javax/crypto/pad/ISO10126.java: New class.
16293         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16294         (getInstance): Added support for ISO-10126 scheme.
16295         (getNames): Likewise.
16296         Cache result for speed.
16297
16298 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16299
16300         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16301         flexible self-test by sub-classes.
16302         (test1BlockSize): New method.
16303
16304 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16305
16306         * javax/swing/plaf/basic/BasicLookAndFeel.java
16307         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16308         * javax/swing/plaf/basic/BasicScrollBarUI.java
16309         (installKeyboardActions): Implemented,
16310         (uninstallKeyboardActions): Implemented,
16311         (getInputMap): New method,
16312         (getActionMap): New method,
16313         (createActionMap): New method,
16314         (installUI): Call installKeyboardActions(),
16315         (uninstallUI): Call uninstallKeyboardActions().
16316         
16317 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16318
16319         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16320         (getActionMap): Use correct key to store action map.
16321
16322 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16323
16324         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16325         (executeInstruction): Added NOT support.
16326
16327 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16328
16329         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16330         New file.
16331
16332 2006-06-08  Tom Tromey  <tromey@redhat.com>
16333
16334         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16335         of 'types'.
16336
16337 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16338
16339         * java/lang/management/RuntimeMXBean.java:
16340         New file.
16341         
16342 2006-06-08  Lillian Angel  <langel@redhat.com>
16343
16344         * native/plugin/gcjwebplugin.cc:
16345         (NP_Shutdown): Freed whitelist_filename.
16346
16347 2006-06-08  Lillian Angel  <langel@redhat.com>
16348
16349         * native/plugin/Makefile.am:
16350         Removed DATA_DIRECTORY.
16351         * native/plugin/gcjwebplugin.cc:
16352         Added new global fields for whitelist_file
16353         and data_directory. Removed WHITELIST_FILE.
16354         (NP_Initialize): Initialized new fields. Also,
16355         Changed to use new fields.
16356         (NP_Shutdown): Freed data_directory.
16357         (GCJ_New): Changed to use new fields.
16358         (plugin_ask_user_about_documentbase): Likewise.
16359
16360 2006-06-08  Lillian Angel  <langel@redhat.com>
16361
16362         * native/plugin/Makefile.am:
16363         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16364         * native/plugin/gcjwebplugin.cc:
16365         Changed all instances of PLUGIN_DATA_DIRECTORY
16366         to DATA_DIRECTORY.
16367
16368 2006-06-08  Roman Kennke  <kennke@aicas.com>
16369
16370         * java/awt/LightweightDispatcher.java
16371         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16372         with convertPointToChild(). This is more efficient and avoids
16373         problems with getLocationOnScreen().
16374         (findTarget): Check for component beeing showing() early.
16375         Simplified AWTUtilities.convertPoint() to a simple substraction
16376         operation.
16377         (convertPointToChild): New helper method.
16378
16379 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16380
16381         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16382         message.
16383
16384 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16385             Lillian Angel  <langel@redhat.com>
16386
16387         * native/plugin/gcjwebplugin.cc
16388         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16389         Also, reset initialized field.
16390
16391 2006-06-08  Lillian Angel  <langel@redhat.com>
16392
16393         * javax/swing/plaf/basic/BasicProgressBarUI.java
16394         (paintString): Fixed to paint string at the correct location.
16395
16396 2006-06-08  Roman Kennke  <kennke@aicas.com>
16397
16398         * javax/swing/plaf/basic/BasicTreeUI.java
16399         (createDefaultActions): Added new actions.
16400         (TreePageAction.TreePageAction): Set action name.
16401         (TreePageAction.actionPerformed): Implemented.
16402         (TreePageAction.isEnabled): Implemented.
16403         (TreeToggleAction.TreePageAction): Set action name.
16404         (TreeToggleAction.actionPerformed): Implemented.
16405         (TreeToggleAction.isEnabled): Implemented.
16406         (TreeTraverseAction.TreeTraverseAction): Set action name.
16407         (TreeTraverseAction.actionPerformed): Use action name as command.
16408         (TreeTraverseAction.isEnabled): Implemented.
16409
16410 2006-06-08  Roman Kennke  <kennke@aicas.com>
16411
16412         * javax/swing/plaf/basic/BasicTreeUI.java
16413         (installKeyboardActions): Rewritten to correctly install the UI
16414         input and action maps.
16415         (getActionMap): New helper method.
16416         (createDefaultActionMap): New helper method.
16417         (TreeHomeAction.TreeHomeAction()): Implemented.
16418         (TreeHomeAction.actionPerformed): Implemented.
16419         (TreeHomeAction.isEnabled): Implemented.
16420         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16421         (TreeIncrementAction.actionPerformed): Use action name as command.
16422         (TreeIncrementAction.isEnabled): Implemented.
16423
16424 2006-06-08  Mark Wielaard  <mark@klomp.org>
16425
16426         PR 27917
16427         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16428         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16429         and unref loader.
16430
16431 2006-06-08  Mark Wielaard  <mark@klomp.org>
16432
16433         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16434         (attrs): Removed unused static.
16435
16436 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16437
16438         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16439         (getInputMap): New method,
16440         (getActionMap): New method,
16441         (createActionMap): New method,
16442         (installKeyboardActions): Implemented,
16443         (uninstallKeyboardActions): Implemented.
16444
16445 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16446
16447         * javax/swing/border/MatteBorder.java:
16448         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16449         throwing.
16450         (paintBorder): Added if-statement to abort painting early.
16451
16452 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16453
16454         Fixes PR27864.
16455         * gnu/xml/dom/DomIterator.java:
16456         (successor): Changed expression.
16457
16458 2006-06-08  Sven de Marothy  <sven@physto.se>
16459
16460         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16461         (defaultLayout): Do kerning.
16462         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16463         (getKerning): Correct class name, removed unused variable.
16464
16465 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16466
16467         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16468         libqtpeer.so unconditionally.
16469
16470 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16471
16472         * java/util/InputMismatchException.java:
16473         Documented.
16474         
16475 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16476
16477         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16478
16479 2006-06-07  Roman Kennke  <kennke@aicas.com>
16480
16481         * javax/swing/plaf/basic/BasicTreeUI.java
16482         (completeUIUninstall): Implemented.
16483         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16484         editing before uninstalling anything.
16485         (isToggleEvent): Implemented.
16486         (selectPathForEvent): Make use of isToggleEvent().
16487         (ComponentHandler.componentMoved): Implemented.
16488         (ComponentHandler.startTimer): Implemented.
16489         (ComponentHandler.getScrollPane): Implemented.
16490         (ComponentHandler.actionPerformed): Implemented.
16491
16492 2006-06-07  Francis Kung  <fkung@redhat.com>
16493
16494         * javax/swing/JMenuBar.java:
16495         (getSubElements): Do not return null values.
16496
16497 2006-06-07  Roman Kennke  <kennke@aicas.com>
16498
16499         PR 27902
16500         * gnu/regexp/BacktrackStack.java
16501         * gnu/regexp/CharIndexed.java
16502         * gnu/regexp/CharIndexedCharArray.java
16503         * gnu/regexp/CharIndexedCharSequence.java
16504         * gnu/regexp/CharIndexedInputStream.java
16505         * gnu/regexp/CharIndexedString.java
16506         * gnu/regexp/CharIndexedStringBuffer.java
16507         * gnu/regexp/RE.java
16508         * gnu/regexp/REException.java
16509         * gnu/regexp/REFilterInputStream.java
16510         * gnu/regexp/REMatch.java
16511         * gnu/regexp/REMatchEnumeration.java
16512         * gnu/regexp/RESyntax.java
16513         * gnu/regexp/REToken.java
16514         * gnu/regexp/RETokenAny.java
16515         * gnu/regexp/RETokenBackRef.java
16516         * gnu/regexp/RETokenChar.java
16517         * gnu/regexp/RETokenEnd.java
16518         * gnu/regexp/RETokenEndOfPreviousMatch.java
16519         * gnu/regexp/RETokenEndSub.java
16520         * gnu/regexp/RETokenIndependent.java
16521         * gnu/regexp/RETokenLookAhead.java
16522         * gnu/regexp/RETokenLookBehind.java
16523         * gnu/regexp/RETokenNamedProperty.java
16524         * gnu/regexp/RETokenOneOf.java
16525         * gnu/regexp/RETokenPOSIX.java
16526         * gnu/regexp/RETokenRange.java
16527         * gnu/regexp/RETokenRepeated.java
16528         * gnu/regexp/RETokenStart.java
16529         * gnu/regexp/RETokenWordBoundary.java
16530         * gnu/regexp/UncheckedRE.java
16531         * gnu/java/util/regex/BacktrackStack.java
16532         * gnu/java/util/regex/CharIndexed.java
16533         * gnu/java/util/regex/CharIndexedCharArray.java
16534         * gnu/java/util/regex/CharIndexedCharSequence.java
16535         * gnu/java/util/regex/CharIndexedInputStream.java
16536         * gnu/java/util/regex/CharIndexedString.java
16537         * gnu/java/util/regex/CharIndexedStringBuffer.java
16538         * gnu/java/util/regex/RE.java
16539         * gnu/java/util/regex/REException.java
16540         * gnu/java/util/regex/REFilterInputStream.java
16541         * gnu/java/util/regex/REMatch.java
16542         * gnu/java/util/regex/REMatchEnumeration.java
16543         * gnu/java/util/regex/RESyntax.java
16544         * gnu/java/util/regex/REToken.java
16545         * gnu/java/util/regex/RETokenAny.java
16546         * gnu/java/util/regex/RETokenBackRef.java
16547         * gnu/java/util/regex/RETokenChar.java
16548         * gnu/java/util/regex/RETokenEnd.java
16549         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16550         * gnu/java/util/regex/RETokenEndSub.java
16551         * gnu/java/util/regex/RETokenIndependent.java
16552         * gnu/java/util/regex/RETokenLookAhead.java
16553         * gnu/java/util/regex/RETokenLookBehind.java
16554         * gnu/java/util/regex/RETokenNamedProperty.java
16555         * gnu/java/util/regex/RETokenOneOf.java
16556         * gnu/java/util/regex/RETokenPOSIX.java
16557         * gnu/java/util/regex/RETokenRange.java
16558         * gnu/java/util/regex/RETokenRepeated.java
16559         * gnu/java/util/regex/RETokenStart.java
16560         * gnu/java/util/regex/RETokenWordBoundary.java
16561         * gnu/java/util/regex/UncheckedRE.java
16562         Moved gnu.regexp classes to gnu.java.util.regex package.
16563         * java/util/regex/Matcher.java
16564         * java/util/regex/Pattern.java
16565         Adjusted import statements for new package name for gnu regexp.
16566
16567 2006-06-07  Tom Tromey  <tromey@redhat.com>
16568
16569         PR classpath/27905:
16570         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16571         Added missing charsets.
16572         (charsetForName): Don't check 'extendedLoaded'.
16573
16574 2006-06-07  Roman Kennke  <kennke@aicas.com>
16575
16576         PR 27833
16577         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16578         (clip(Shape)): Implemented correctly, so that the current shape
16579         gets intersected by the parameter shape.
16580
16581 2006-06-07  Lillian Angel  <langel@redhat.com>
16582
16583         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16584         (getTabBounds): If this method is called with a tab index
16585         that is not in the rects array, we need to re-layout the container
16586         so it is created.
16587
16588 2006-06-07  Lillian Angel  <langel@redhat.com>
16589
16590         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16591         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16592         * java/lang/String.java
16593         (codePointCount): Fixed check to match API. Shouldn't throw exception
16594         if end == count. end is 1 more than the endIndex, so end == count is 
16595         possible.
16596
16597 2006-06-07  Gary Benson  <gbenson@redhat.com>
16598
16599         PR 24895
16600         * native/jni/java-io/java_io_VMFile.c
16601         (Java_java_io_VMFile_toCanonicalForm): New method.
16602         * configure.ac: Added checks for lstat and readlink.
16603         * include/java_io_VMFile.h: Added new method.
16604         * vm/reference/java/io/VMFile.java: Use new method.
16605         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16606         * NEWS: Documented the above.
16607         * java/io/File.java: Javadoc fix.
16608
16609 2006-06-07  Roman Kennke  <kennke@aicas.com>
16610
16611         PR 27920
16612         * javax/swing/JTree.java
16613         (JTree()): Initialize with default model.
16614         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16615         on the updateUI() / setModel() order.
16616         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16617         paths.
16618         * javax/swing/plaf/basic/BasicTreeUI.java
16619         (BasicTreeUI()): Initialize listeners in installListeners().
16620         (setModel): Complete editing on model change. Correctly resetup
16621         the listeners. Update the layout cache accordingly.
16622         (setShowRootHandles): Complete editing and update layout. Do not
16623         call back into the JTree, this could cause cycles.
16624         (prepareForUIInstall): Implemented. Moved some init code from
16625         installUI() to this method.
16626         (completeUIInstall): Implemented. Moved some init code from
16627         installUI() to this method.
16628         (createDefaultCellEditor): Check for type of renderer, and install
16629         with null renderer when not DefaultTreeCellRenderer.
16630         (updateLayoutCacheExpandedNodes): Added null check for tree root
16631         to avoid NPE.
16632         (updateRenderer): Call updateEditor().
16633         (installListeners): Initialize the listeners here. Added some null
16634         checks to avoid NPEs.
16635         (installUI): Moved some init code to prepareForUIInstall() and
16636         completeUIInstall().
16637         (completeEditing): Return immediately if editing component is null
16638         or if the setting is to not stop editing on complete editing.
16639         (checkForClickInExpandControl): Call handleExpandControlClick()
16640         instead of toggleExpandState() directly.
16641         (isLocationInExpandControl): Rewritten to correctly determine the
16642         expand click location.
16643         (MouseHandler.mousePressed): Rewritten to make better use of the
16644         instance methods of BasicTreeUI to handle the click.
16645         (PropertyHandler.propertyChange): Handle model and cell renderer
16646         updates.
16647         * javax/swing/tree/DefaultTreeCellEditor.java
16648         (DefaultTreeCellEditor): Removed initialization of the icon. This
16649         is done so that the constructor can deal with null renderer as the
16650         RI does. Maybe this needs more fixing.
16651         * javax/swing/tree/TreePath.java
16652         (isDescendant): Fixed this method. The previous version did too
16653         much and compared the wrong things, which lead to a ClassCastException
16654         in equals().
16655         * javax/swing/tree/VariableHeightLayoutCache.java
16656         (update): Do nothing when model is null.
16657         (setModel): Clear the tables and update the layout. Added null
16658         check to prevent NPE.
16659
16660 2006-06-07  Sven de Marothy  <sven@physto.se>
16661
16662         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16663
16664 2006-06-07  Sven de Marothy  <sven@physto.se>
16665
16666         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16667         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16668         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16669         New files.
16670
16671         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16672         (getGlyphVector): Removed native method.
16673         (createGlyphVector, getStringBounds): Use new GV class.
16674
16675         * include/Makefile.am
16676         * native/jni/gtk-peer/Makefile.am
16677         Add new files.
16678
16679         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16680         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16681         (getGlyphVector): Removed native method.
16682         
16683 2006-06-07  Chris Burdess  <dog@gnu.org>
16684
16685         * gnu/classpath/debug/TeeInputStream.java,
16686           gnu/classpath/debug/TeeOutputStream.java,
16687           gnu/classpath/debug/TeeReader.java,
16688           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16689         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16690           read more characters than absolutely necessary in tryRead method.
16691
16692 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16693
16694         * examples/gnu/classpath/examples/swing/Demo.java:
16695         (mkMenuBar): Put look and feel radio buttons into 
16696         appropriate button group.
16697
16698 2006-06-07  Chris Burdess  <dog@gnu.org>
16699
16700         * gnu/xml/stream/SAXParser.java,
16701           gnu/xml/stream/XMLParser.java: Add command line options for setting
16702           parsing parameters (for simpler debugging).
16703         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16704           closing output stream is propagated to application.
16705
16706 2006-06-06  Mark Wielaard  <mark@klomp.org>
16707
16708         PR 27917
16709         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16710         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16711         call disposeSurface.
16712         (disposeSurface): New native method.
16713         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16714         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16715         pattern_pixels.
16716         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16717         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16718         cairo_pattern_destroy.
16719         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16720         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16721         New function to destroy the surface.
16722         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16723         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16724         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16725
16726 2006-06-06  Mark Wielaard  <mark@klomp.org>
16727
16728         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16729         with JNICALL.
16730
16731 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16732
16733         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16734         (paint): If has focus, paint special background color,
16735         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16736         (FocusHandler.focusGained): Implemented,
16737         (FocusHandler.focusLost): Implemented.
16738
16739 2006-06-06  Tom Tromey  <tromey@redhat.com>
16740
16741         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16742         Javadoc fix.
16743         (writeAttributeSet): Implemented.
16744
16745 2006-06-06  Tom Tromey  <tromey@redhat.com>
16746
16747         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16748         Implement.
16749         (SpecialAction.end): Removed.
16750         (IsindexAction.end): Likewise.
16751
16752 2006-06-06  Tom Tromey  <tromey@redhat.com>
16753
16754         * include/jni.h (JDK1_1InitArgs): New struct.
16755         (JDK1_1AttachArgs): Likewise.
16756
16757 2006-06-06  Tom Tromey  <tromey@redhat.com>
16758
16759         * java/security/UnresolvedPermission.java (getUnresolvedType): New
16760         method.
16761         (getUnresolvedName): New method.
16762         (getUnresolvedActions): New method.
16763         (getUnresolvedCerts): New method.
16764
16765 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16766
16767         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16768         (getColor): Removed debugging code.
16769
16770 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16771
16772         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16773         (getColor): Added support for "rgb(red, green, blue)" notation.
16774         (translateTag): Use Boolean.TRUE, not new Boolean().
16775
16776 2006-06-06  Roman Kennke  <kennke@aicas.com>
16777
16778         PR 27651
16779         * javax/swing/JTree.java
16780         (JTree(TreeModel)): Call updateUI() before setModel().
16781         (setModel): Don't call updateUI here.
16782
16783 2006-06-06  Lillian Angel  <langel@redhat.com>
16784         
16785         * native/plugin/gcjwebplugin.cc:
16786         Fixed failure message and commenting.
16787         (NP_Initialize): Added more comments.
16788
16789 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16790
16791         * javax/swing/JSplitPane.java
16792         (AccessibleJSplitPane): API doc fixes,
16793         (setDividerLocation): Likewise,
16794         * javax/swing/plaf/basic/BasicLookAndFeel.java
16795         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16796         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16797         (getInputMap): New method,
16798         (getActionMap): New method,
16799         (createActionMap): New method,
16800         (installKeyboardActions): Implemented,
16801         (uninstallKeyboardActions): Implemented.
16802
16803 2006-06-06  Roman Kennke  <kennke@aicas.com>
16804
16805         PR 27523
16806         * javax/swing/MenuSelectionManager.java
16807         (processKeyEvent): Added check to avoid
16808         ArrayIndexOutOfBoundsException.
16809
16810 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16811
16812         * gnu/javax/swing/text/html/htmlAttributeSet.java
16813         (getAttributeNames): Rewritten
16814
16815 2006-06-06  Chris Burdess  <dog@gnu.org>
16816
16817         * gnu/xml/transform/TransformerImpl.java: Check type of created
16818           document (more cases).
16819
16820 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16821
16822         * gnu/javax/swing/text/html/htmlAttributeSet.java
16823         (clone): New method. (copyAttributes): New method.
16824         (getResolveParent): Comment fix. (getAttribute):
16825         Rewritten. (addAttribute): Rewritten.
16826         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
16827         New file.
16828
16829 2006-06-06  Roman Kennke  <kennke@aicas.com>
16830
16831         PR 27522
16832         * javax/swing/JMenuBar.java
16833         (processKeyBindingHelper): Added null check to prevent NPE.
16834
16835 2006-06-06  Roman Kennke  <kennke@aicas.com>
16836
16837         * javax/swing/plaf/basic/BasicInternalFrameUI.java
16838         (ShowSystemMenuAction): New class.
16839         (installKeyboardActions): Implemented.
16840         (uninstallKeyboardActions): Implemented.
16841         * javax/swing/plaf/metal/MetalInternalFrameUI.java
16842         (installKeyboardActions): Overridden to remove showSystemMenu action.
16843
16844 2006-06-06  Chris Burdess  <dog@gnu.org>
16845
16846         * gnu/xml/transform/TransformerImpl.java: Check type of created
16847           document.
16848
16849 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16850
16851         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
16852         (getScreenDevices): Added explicit cast.
16853
16854 2006-06-06  Roman Kennke  <kennke@aicas.com>
16855
16856         * javax/swing/plaf/basic/BasicTextUI.java
16857         (installKeyboardActions): Use shared input map. Correctly
16858         install the input/action maps in the component's input/action
16859         map hierarchies.
16860         (getActionMap): New helper method for fetching an ActionMap from
16861         the UIManager or creating a default one if there is none supplied
16862         by the UIManager.
16863         (createActionMap): Add the TransferHandler's actions here. Made
16864         method private.
16865         (getInputMap): Leave out unnecessary method parameter. Load
16866         shared input map.
16867         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
16868
16869 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16870
16871         * configure.ac: Added missing [ to expression.
16872
16873 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16874
16875         * configure.ac: Added missing { to expression.
16876
16877 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16878
16879         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
16880         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
16881         * include/Makefile.am: Added
16882         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
16883         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
16884         (GdkGraphicsConfiguration): Rewritten.
16885         (getColorModel): Rewritten.
16886         (getColorModel(int)): Rewritten.
16887         (getBounds): Rewritten.
16888         (createCompatibleVolatileImage): Implemented.
16889         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
16890         initializer.
16891         (getDefaultScreenDevice): Rewritten.
16892         (nativeGetDefaultScreenDevice): New method.
16893         (getScreenDevices): Rewritten.
16894         (nativeGetScreenDevices): New method.
16895         (nativeInitState): New method.
16896         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
16897         rewritten.
16898         (X11DisplayMode): New inner class.
16899         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
16900         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
16901         * native/jni/gtk-peer/gdkdisplay.h: New file.
16902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
16903         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
16904         New function.
16905         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
16906         New function.
16907         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16908         _nativeGetScreenDevices):
16909         New function.
16910         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
16911         _nativeGetDefaultScreenDevice):
16912         New function.
16913         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
16914         New file.
16915         * configure.ac: Added check for Xrandr library.
16916
16917 2006-06-06  Roman Kennke  <kennke@aicas.com>
16918
16919         * javax/swing/plaf/basic/BasicTableUI.java
16920         (getMaximumSize): Don't return null. Fixed calculation of
16921         table height.
16922         (getMinimumSize): Don't return null. Fixed calculation of
16923         table height.
16924         (getPreferredSize): Fixed calculation of with and height. Added
16925         API docs.
16926         (getHeight): New helper method.
16927
16928 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16929
16930         * javax/swing/JComponent.java
16931         (getInputMap(int)): Throw IllegalArgumentException for unknown 
16932         condition argument, and added API docs,
16933         (getInputMap()): Added API docs.
16934
16935 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
16936
16937         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
16938
16939 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16940
16941         * javax/swing/JTable.java
16942         (AccessibleJTableHeaderCell.header): New field,
16943         (AccessibleJTableHeaderCell.columnIndex): Likewise,
16944         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
16945         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
16946         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
16947         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
16948         (AccessibleJTable.getAccessibleChild(int)): Overridden,
16949         (AccessibleJTable.getAccessibleAt): Reimplemented.
16950
16951 2006-06-05  Sven de Marothy  <sven@physto.se>
16952
16953         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
16954         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16955         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16956         (initFromVolatile): New method.
16957         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16958         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16959         Reimplement.
16960         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
16961         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
16962         (copyArea, drawVolatileImage): New methods.
16963         
16964 2006-06-05  Tania Bento  <tbento@redhat.com>
16965
16966         * javax/swing/JFrame.java
16967         (frameInit): Set background color and fixed layout parameters.
16968
16969 2006-06-05  Tom Tromey  <tromey@redhat.com>
16970
16971         * NEWS: Mention VMURLConnection.
16972
16973 2006-06-05  Lillian Angel  <langel@redhat.com>
16974
16975         * native/plugin/gcjwebplugin.cc:
16976         Added new field to keep track of initialization.
16977         (plugin_start_appletviewer): Fixed to return an error value, if
16978         an error was encountered when loading the appletviewer.
16979         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
16980         has failed.
16981         (plugin_failed): New helper function. Shows a warning if the appletviewer
16982         has not been installed.
16983         (NP_Initialize): Added code to make sure this function is only called
16984         once.
16985
16986 2006-06-05  Lillian Angel  <langel@redhat.com>
16987
16988         * native/plugin/Makefile.am:
16989         Fixed to use a set plugin directory in the .mozilla directory.
16990         All applet logs are now stored here, instead of /tmp.
16991         * native/plugin/gcjwebplugin.cc:
16992         Added new fields for security warning.
16993         (GCJ_NEW): Added code to generate a security warning for all pages
16994         that spawn an appletviewer. This warning asks the user if they trust
16995         the applet and if they would like to add it to a 'whitelist'. This
16996         whitelist keeps track of all the addresses the user would like
16997         to trust indefinitely.
16998         (plugin_user_trusts_documentbase): New helper function.
16999         (plugin_add_documentbase_to_whitelist): New helper function.
17000         (plugin_ask_user_about_documentbase): New helper function.
17001         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17002         has been set.
17003         (plugin_start_appletviewer): Likewise.
17004         (plugin_create_applet_tag):  Reset all fields to null after they have been
17005         freed.
17006         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17007         if channel_error has been set.
17008         (plugin_stop_appletviewer): Likewise.
17009         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17010         should be created.      
17011
17012 2006-06-05  Francis Kung  <fkung@redhat.com>
17013         
17014         PR 27507
17015         * gnu/java/awt/peer/gtk/GtkImage.java
17016         (getSource): Added check to determine if in
17017         errorLoading state.
17018         * gnu/java/awt/peer/gtk/GtkToolkit.java
17019         (createImage): Added check to prevent NPE.
17020
17021 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17022
17023         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17024         Create the ImageView, when applicable.
17025         * gnu/javax/swing/text/html/CombinedAttributes.java,
17026         javax/swing/text/html/ImageView.java: New files.
17027
17028 2006-06-05  Roman Kennke  <kennke@aicas.com>
17029
17030         PR 27834
17031         * javax/swing/text/GapContent.java
17032         (setPositionsInRange): Compare with startIndex and endIndex
17033         rather than start and end.
17034         (dumpMarks): Only dump real marks.
17035
17036 2006-06-05  Sven de Marothy  <sven@physto.se>
17037
17038         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17039         (ComponentGraphics): Use 0,0 as clip origin.
17040         
17041 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17042
17043         * java/util/Formattable.java,
17044         * java/util/FormattableFlags.java,
17045         * java/util/Formatter.java:
17046         Documented.
17047
17048 2006-06-04  Tom Tromey  <tromey@redhat.com>
17049
17050         * javax/naming/Context.java (list): Genericized.
17051         (listBindings): Likewise.
17052         * javax/naming/Reference.java (addrs): Genericized.
17053         * javax/naming/InitialContext.java (myProps): Fixed type.
17054         (init): Genericized.
17055         
17056 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17057
17058         * java/util/DuplicateFormatFlagsException.java,
17059         * java/util/FormatFlagsConversionMismatchException.java,
17060         * java/util/FormatterClosedException.java,
17061         * java/util/IllegalFormatCodePointException.java,
17062         * java/util/IllegalFormatConversionException.java,
17063         * java/util/IllegalFormatException.java,
17064         * java/util/IllegalFormatFlagsException.java,
17065         * java/util/IllegalFormatPrecisionException.java,
17066         * java/util/IllegalFormatWidthException.java,
17067         * java/util/MissingFormatArgumentException.java,
17068         * java/util/MissingFormatWidthException.java,
17069         * java/util/UnknownFormatConversionException.java,
17070         * java/util/UnknownFormatFlagsException.java:
17071         Documented.
17072
17073 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17074
17075         * java/lang/System.java:
17076         (getenv()): Handle cases where split only
17077         returns an array of size 1.
17078         
17079 2006-06-04  Sven de Marothy  <sven@physto.se>
17080
17081         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17082         (createVolatileImage): Pass peer to VolatileImage constructor.
17083         * java/awt/Component.java
17084         (createVolatileImage): Call peer method directly.
17085         
17086 2006-06-04  Sven de Marothy  <sven@physto.se>
17087
17088         * gnu/java/awt/peer/gtk/CairoSurface.java
17089         (getFlippedBuffer): New method.
17090         (getGtkImage): Renamed method.
17091         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17092         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17093         Renamed getSharedImage to getGtkImage.
17094         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17095         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17096         (getFlippedBuffer): New method
17097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17098         Avoid window casts.
17099 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17100
17101         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17102         (drawVolatile): Add casts.
17103         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17104         (getOutline): Add casts.
17105         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17106         Comment out unused prototype.
17107         (getPixels): Add appropriate cast and comment out unused variable.
17108         
17109 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17110
17111         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17112         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17113         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17114         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17115         (getSystemInstance): Fix javadoc @link.
17116         (counter): Increased visibility.
17117         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17118         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17119         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17120         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17121         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17122         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17123         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17124         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17125         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17126         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17127         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17128         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17129         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17130         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17131         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17132         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17133         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17134         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17135         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17136         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17137         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17138         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17139         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17140         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17141         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17142         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17143         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17144         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17145         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17146         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17147         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17148
17149 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17150
17151         * gnu/java/security/PolicyFile.java: Updated copyright year.
17152         (logger): Increased visibility.
17153         * gnu/java/security/x509/Util.java: Updated copyright year.
17154         (hexDump): Fix javadoc @link.
17155         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17156         Removed unused import.
17157         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17158         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17159         * gnu/java/security/util/ExpirableObject.java: Likewise.
17160         (destroy): Likewise.
17161         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17162         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17163         Updated copyright year.
17164         (checkCRL): Fix javadoc @param.
17165
17166 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17167
17168         * java/lang/annotation/IncompleteAnnotationException.java:
17169         Documented.
17170
17171 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17172
17173         * java/lang/ProcessBuilder.java:
17174         Documented.
17175         (environment): Create as a copy.
17176         * java/lang/System.java:
17177         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17178         New constructor.
17179         (EnvironmentMap.put(String,String)): Override superclass
17180         method with checks for nulls and non-Strings.
17181         
17182 2006-06-02  Sven de Marothy  <sven@physto.se>
17183
17184         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17185         (cairoPreserveClip, cairoResetClip): New methods.
17186         (setClip, clip): Reimplement.
17187         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17188         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17189         (cairoPreserveClip, cairoResetClip): New methods.
17190         
17191 2006-06-02  Sven de Marothy  <sven@physto.se>
17192
17193         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17194         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17195         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17196         New files.
17197         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17198         (drawImage): Overloads for VolatileImage drawing.
17199         (drawVolatile): New method.
17200         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17201         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17202         (drawVolatile): New method.
17203         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17204         Unstub implementation.
17205         * include/Makefile.am
17206         * native/jni/gtk-peer/Makefile.am
17207         Add new files.
17208         * native/jni/gtk-peer/gtkpeer.h
17209         New prototype.
17210         
17211 2006-06-03  Roman Kennke  <kennke@aicas.com>
17212
17213         PR 27418
17214         * javax/swing/plaf/basic/BasicTextUI.java
17215         (damageRange): Added null check to avoid NPE.
17216
17217 2006-06-03  Roman Kennke  <kennke@aicas.com>
17218
17219         * javax/swing/text/PlainView.java
17220         (updateDamage): Check for valid longestLine and initialize if
17221         necessary.
17222
17223 2006-06-03  Mark Wielaard  <mark@klomp.org>
17224
17225         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17226         comments, not C++.
17227
17228 2006-06-02  Sven de Marothy  <sven@physto.se>
17229
17230         PR 27879 
17231         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17232         (copyArea): Implement.
17233         (copyAreaImpl, getRealBounds): New methods.
17234         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17235         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17236         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17237         (copyAreaImpl, getRealBounds): Implement.
17238         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17239         (nativeCopyArea): Reimplement.  
17240         
17241 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17242
17243         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17244         (XTEST_LIBS): New, substitute.
17245         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17246
17247 2006-06-02  Roman Kennke <kennke@aicas.com>
17248
17249         PR 26738
17250         * javax/swing/text/PlainView.java
17251         (updateDamage): Rewritten for correct repainting and revalidating.
17252         (findLongestLine): New helper method.
17253         (getLineLength): New helper method.
17254
17255 2006-06-02  Sven de Marothy  <sven@physto.se>
17256
17257         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17258         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17259         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17260         (nativeCopyArea): Change stride parameter to use # of ints.
17261         (setPixels): Add checks.
17262         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17263         (ComponentGraphics): Set background, clip.
17264         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17265         (Cairographics2D): Don't set clip.
17266         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17267         Add flush.
17268
17269 2006-06-02  Lillian Angel  <langel@redhat.com>
17270
17271         PR 24458
17272         * java/awt/DefaultKeyboardFocusManager.java
17273         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17274         to get the focused window.
17275
17276 2006-06-01  Miriam Schuster  <schmir11@web.de>
17277
17278         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17279         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17280
17281 2006-06-02  Roman Kennke <kennke@aicas.com>
17282
17283         * javax/swing/JTable.java
17284         (columnSelectionChanged): Don't return when there's only one
17285         column (might still need repainting). Correctly calculate
17286         repaint rectangle.
17287         (valueChanged): Use return value of SwingUtilities.computeUnion
17288         as dirty region.
17289
17290 2006-06-01  Keith Seitz  <keiths@redhat.com>
17291
17292         From Martin Platter  <motse@complang.tuwien.ac.at>:
17293         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17294         (executeSet): Fix buffer underflow reading reference ID.
17295         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17296         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17297         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17298         (executeSuperclass): Handle case of Object with ID zero.
17299
17300 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17301
17302         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17303         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17304         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17305         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17306         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17307         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17308         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17309         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17310         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17311         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17312         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17313
17314 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17315
17316         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17317         (Command): Add the shutdown hook.
17318         (doCommand): Remove the shutdown hook.
17319         (ShutdownHook): New class.
17320
17321 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17322
17323         * tools/jarsigner.in: Use @VM_BINARY@.
17324         * tools/keytool.in: Likewise.
17325
17326 2006-06-01  Sven de Marothy  <sven@physto.se>
17327
17328         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17329         (setColor): Update the cairo paint.
17330
17331 2006-06-01  Mark Wielaard  <mark@klomp.org>
17332
17333         * java/util/logging/LogManager.java (createInstance): Always add
17334         original exception on warning.
17335
17336 2006-06-01  Lillian Angel  <langel@redhat.com>
17337
17338         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17339         (prependCodebase): Fixed check. No dirname was ever considered to 
17340         be a file, so every applet fell into the if-statement causing a lot
17341         of classloading problems with the applets.
17342
17343 2006-06-01  Sven de Marothy  <sven@physto.se>
17344
17345         Patch submitted by Boris Dusek.
17346         * native/jni/qt-peer/qtmenupeer.cpp
17347         Fix segfault
17348
17349 2006-06-01  Roman Kennke <kennke@aicas.com>
17350
17351         * javax/swing/JTable.java
17352         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17353         why the behaviour is like it is.
17354         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17355         (AccessibleJTableHeader): New inner class.
17356         (AccessibleJTableHeaderCell): New inner class.
17357         (AccessibleJTable.lastSelectedRow): New field.
17358         (AccessibleJTable.lastSelectedColumn): New field.
17359         (AccessibleJTable.caption): New field.
17360         (AccessibleJTable.summary): New field.
17361         (AccessibleJTable.rowDescriptions): New field.
17362         (AccessibleJTable.columnDescriptions): New field.
17363         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17364         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17365         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17366         (AccessibleJTable.addAccessibleSelection): Implemented.
17367         (AccessibleJTable.removeAccessibleSelection): Implemented.
17368         (AccessibleJTable.clearAccessibleSelection): Implemented.
17369         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17370         (AccessibleJTable.valueChange): Implemented.
17371         (AccessibleJTable.tableRowsInserted): Implemented.
17372         (AccessibleJTable.tableRowsDeleted): Implemented.
17373         (AccessibleJTable.handleRowChange): New helper method.
17374         (AccessibleJTable.columnAdded): Implemented.
17375         (AccessibleJTable.columnMarginChanged): Implemented.
17376         (AccessibleJTable.columnMoved): Implemented.
17377         (AccessibleJTable.columnRemoved): Implemented.
17378         (AccessibleJTable.columnSelectionChanged): Implemented.
17379         (AccessibleJTable.handleColumnChange): New helper method.
17380         (AccessibleJTable.editingCanceled): Implemented.
17381         (AccessibleJTable.editingStopped): Implemented.
17382         (AccessibleJTable.getAccessibleRow): Implemented.
17383         (AccessibleJTable.getAccessibleColumn): Implemented.
17384         (AccessibleJTable.getAccessibleIndex): Implemented.
17385         (AccessibleJTable.getAccessibleCaption): Implemented.
17386         (AccessibleJTable.setAccessibleCaption): Implemented.
17387         (AccessibleJTable.getAccessibleSummary): Implemented.
17388         (AccessibleJTable.setAccessibleSummary): Implemented.
17389         (AccessibleJTable.getAccessibleRowCount): Implemented.
17390         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17391         (AccessibleJTable.getAccessibleAt): Implemented.
17392         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17393         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17394         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17395         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17396         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17397         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17398         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17399         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17400         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17401         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17402         (AccessibleJTable.isAccessibleSelected): Implemented.
17403         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17404         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17405         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17406         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17407         (getAccessibleContext): Register listeners for the accessibility
17408         class on the JTable.
17409
17410 2006-06-01  Sven de Marothy  <sven@physto.se>
17411
17412         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17413         (setPaint): Scale +1 pixel larger.
17414
17415 2006-06-01  Sven de Marothy  <sven@physto.se>
17416
17417         PR 27854
17418         * gnu/java/awt/Buffers.java (getData): Reimplement.
17419         * gnu/java/awt/peer/gtk/CairoSurface.java
17420         (getElem, setElem): Call native methods.
17421
17422 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17423
17424         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17425
17426 2006-06-01  Sven de Marothy  <sven@physto.se>
17427
17428         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17429         (drawImage): Check for zero size.
17430         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17431         (setFont): Declare new native method.
17432         (GdkTextLayout): Read some attributes.
17433         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17434         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17435         (setFont): New native method.
17436         
17437 2006-06-01  Sven de Marothy  <sven@physto.se>
17438
17439         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17440         (updateBufferedImage): Fix some errors.
17441
17442 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17443
17444         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17445         fixes,
17446         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17447         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17448         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17449         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17450         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17451         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17452         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17453         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17454         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17455         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17456         
17457 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17458
17459         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17460         * javax/swing/JEditorPane.java: Likewise,
17461         * javax/swing/JFormattedTextField.java: Likewise,
17462         * javax/swing/JLayeredPane.java: Likewise,
17463         * javax/swing/JScrollPane.java: Likewise,
17464         * javax/swing/JSlider.java: Likewise,
17465         * javax/swing/JSpinner.java: Likewise,
17466         * javax/swing/JTree.java: Likewise,
17467         * javax/swing/JViewport.java: Likewise,
17468         * javax/swing/UIDefaults.java: Likewise,
17469         * javax/swing/UIManager.java: Likewise.
17470         
17471 2006-06-01  Sven de Marothy  <sven@physto.se>
17472
17473         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17474         (BufferedImageGraphics): Cache surfaces.
17475         (updateBufferedImage): Copy directly for certain color models.
17476         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17477         (drawImage): Reimplement.
17478
17479 2006-06-01  Sven de Marothy  <sven@physto.se>
17480
17481         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17482         (setPixels): Don't swap, correct size.
17483
17484 2006-05-31  Anthony Green  <green@redhat.com>
17485
17486         PR 27828
17487         * java/net/InetSocketAddress.java: Defer getting the host
17488         name until somebody calls InetSocketAddress.getHostName().
17489         Fix "represenation" typo.
17490
17491 2006-06-01  Sven de Marothy  <sven@physto.se>
17492
17493         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17494         (updateBufferedImage): Simplify.
17495         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17496         (getPixels): Don't swap.
17497
17498 2006-06-01  Sven de Marothy  <sven@physto.se>
17499
17500         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17501         (setGradient): Reimplement.
17502         
17503 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17504
17505         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17506         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17507         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17508         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17509         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17510         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17511         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17512         Likewise.
17513
17514 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17515
17516         * javax/swing/table/JTableHeader.java
17517         (getColumnHeaderRenderer): New method,
17518         (getAccessibleColumnHeaderRenderer): Delegate part to new
17519         getColumnHeaderRenderer() method,
17520         (getLocale): Implemented.
17521
17522 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17523
17524         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17525         (cp_gtk_grab_current_drawable): Rename
17526         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17527         cp_gtk_grab_current_drawable, remove static declaration.
17528         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17529         function.
17530         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17532         Remove prototype of
17533         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17534         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17535         function.
17536         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17537         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17538         cp_gtk_grab_current_drawable here.
17539
17540 2006-05-31  Sven de Marothy  <sven@physto.se>
17541
17542         Should fix PR 27835
17543         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17544         (updateBufferedImage): Keep within image bounds.
17545
17546 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17547             Andreas Tobler  <a.tobler@schweiz.ch>
17548
17549         * configure.ac: Check for libXrender when the GTK peers are
17550         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17551         X_EXTRA_LIBS.
17552         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17553         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17554         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17555
17556 2006-05-31  Lillian Angel  <langel@redhat.com>
17557
17558         * javax/swing/plaf/basic/BasicProgressBarUI.java
17559         (paintString): Implemented to paint the string vertically.
17560
17561 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17562
17563         * javax/swing/JTable.java
17564         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17565         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17566         value,
17567         (AccessibleJTable.getAccessibleTable()): Likewise,
17568         (getAccessibleContext): Create new context if required.
17569
17570 2006-05-31  Roman Kennke <kennke@aicas.com>
17571
17572         * javax/swing/JTabbedPane.java
17573         (AccessibleJTabbedPane.stateChanged): Implemented.
17574         (Page.getAccessibleStateSet): Implemented.
17575         (Page.getAccessibleIndexInParent): Implemented.
17576         (getAccessibleContext): Add AccessibleJTabbedPane object
17577         as ChangeListener to the JTabbedPane.
17578
17579 2006-05-31  Roman Kennke <kennke@aicas.com>
17580
17581         * javax/swing/JMenuItem.java
17582         (getAccessibleContext): Register accessible object as ChangeListener
17583         to the JMenuItem.
17584         (AccessibleJMenuItem.armed): New field.
17585         (AccessibleJMenuItem.focusOwner): New field.
17586         (AccessibleJMenuItem.pressed): New field.
17587         (AccessibleJMenuItem.selected): New field.
17588         (stateChanged): Implemented.
17589
17590 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17591
17592         * javax/swing/ListSelectionModel.java: Added API docs all over.
17593
17594 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17595
17596         * examples/gnu/classpath/examples/swing/FillRect.java 
17597         (paintComponent): Optionally paint lines rather than rectangles.
17598         (createContent): Added option to test line painting.
17599
17600 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17601
17602         * javax/swing/event/EventListenerList.java
17603         (getListenerList): Updated API docs.
17604
17605 2006-05-30  Sven de Marothy  <sven@physto.se>
17606
17607         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17608         (drawImage): Clip scaled image to dest rectangle.
17609
17610 2006-05-30  Sven de Marothy  <sven@physto.se>
17611
17612         * gnu/java/awt/peer/gtk/CairoSurface.java:
17613         (CairoSurface): Convert pixels properly.
17614         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17615         Remove commented-out lines.
17616
17617 2006-05-30  Sven de Marothy  <sven@physto.se>
17618
17619         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17620         (drawImage): Use Toolkit to convert to BufferedImage.
17621         * gnu/java/awt/peer/gtk/CairoSurface.java
17622         (CairoSurface(GtkImage)): New Constructor.
17623         (getBufferedImage): New method.
17624         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17625         Don't fill background - FIXME.
17626         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17627         Remove unused methods.
17628         * gnu/java/awt/peer/gtk/GtkImage.java:
17629         (pixbuflock): New field. Methods change to use this lock.
17630         * gnu/java/awt/peer/gtk/GtkToolkit.java
17631         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17632         GtkPixbufDecoder.
17633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17634         (setPixels): Correct length in bytes.
17635
17636 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17637
17638         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17639         System.loadLibrary unconditionally.
17640         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17641         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17642         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17643         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17644
17645 2006-05-30  Mark Wielaard  <mark@klomp.org>
17646
17647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17648         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17649         Mark unused parameters, remove unused variables.
17650
17651 2006-05-30  Sven de Marothy  <sven@physto.se>
17652
17653         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17654         (copyArea): Implemented.
17655         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17656         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17657         (copyAreaNative): New method.
17658
17659 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17660
17661         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17662         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17663         for non big endian systems.
17664         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17665
17666 2006-05-30  Roman Kennke <kennke@aicas.com>
17667
17668         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17669         * java/awt/TexturePaint.java
17670         (createContext): Implemented.
17671
17672 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17673
17674         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17675         field early.
17676
17677 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17678
17679         * java/awt/Container.java:
17680         (removeAll): Reimplemented, added note.
17681
17682 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17683
17684         * java/awt/Container.java:
17685         (removeAll): Implemented different removal mechanism, added note.
17686
17687 2006-05-30  Lillian Angel  <langel@redhat.com>
17688
17689         PR 27785
17690         * java/awt/Component.java:
17691         (translateEvent): Added handling to translate WindowEvents
17692         * java/awt/Window.java:
17693         Removed unneeded imports.
17694
17695 2006-05-30  Mark Wielaard  <mark@klomp.org>
17696
17697         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17698         cairographics2d.h.
17699
17700 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17701
17702         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17703
17704 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17705
17706         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17707         (clearRect): Do not reuse the fg field, call updateColor.
17708         (drawRaster): Likewise.
17709         (setColor): Call updateColor.
17710         (updateColor): New method.
17711
17712 2006-05-30  Mark Wielaard  <mark@klomp.org>
17713
17714         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17715         (PTR_TO_JLONG): Likewise.
17716         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17717         (getPointer): Use new conversion macros.
17718         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17719         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17720         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17721         Likewise.
17722         (setNativeObject): Likewise.
17723         (getNativeObject): Likewise.
17724         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17725         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17726         Mark static.
17727         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17728         Correctly cast XID and pointer values.
17729         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17730         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17731         Mark unused variables.
17732         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17733         Likewise.
17734         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17735         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17736         Remove unused cairographics2d struct.
17737         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17738         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17739         Use new conversion macros.
17740         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17741
17742 2006-05-30  Mark Wielaard  <mark@klomp.org>
17743
17744         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17745
17746 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17747
17748         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17749         (copy): Do not reuse the fd field.
17750         (setColor): Do not set the color if the parameter
17751         matches fd field.
17752         (translate(double, double): Rewritten to use
17753         AffineTransform.translate. 
17754
17755 2006-05-30  Sven de Marothy  <sven@physto.se>
17756
17757         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17758         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17759         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17760         New files.
17761         * include/Makefile.am
17762         * native/jni/gtk-peer/Makefile.am
17763         Add new files.
17764         * gnu/java/awt/peer/gtk/CairoSurface.java
17765         (getSharedGtkImage): New method.
17766         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17767         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17768         Fix copyArea.
17769         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17770         Support a non-xrender context.
17771         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17772         Plug memory leak.
17773         * gnu/java/awt/peer/gtk/GtkImage.java
17774         * include/gnu_java_awt_peer_gtk_GtkImage.h
17775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17776         (initFromBuffer): New method.   
17777         * native/jni/gtk-peer/gtkpeer.h: 
17778         Remove declarations of previouslyremoved methods.
17779
17780 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
17781
17782         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17783
17784 2006-05-29  Mark Wielaard  <mark@klomp.org>
17785
17786         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17787         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17788         arguments.
17789         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17790         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17791         early. Remove unused return statement in void function.
17792         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17793         ptr early.
17794         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17795         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17796         unused arguments.
17797         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17798         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17799         Likewise.
17800         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17801         Likewise.
17802
17803 2006-05-29  Sven de Marothy  <sven@physto.se>
17804
17805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17806         (setPixels): Remove superfluous return statement.       
17807
17808 2006-05-29  Sven de Marothy  <sven@physto.se>
17809
17810         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17811         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17812         * gnu/java/awt/peer/gtk/CairoSurface.java
17813         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17814         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17815         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17816         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17817         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17818         * native/jni/gtk-peer/cairographics2d.h
17819         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17820         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17821         New files.
17822
17823         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17824         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17825         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
17826         Removed
17827
17828         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17829         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17830         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17831         (releasePeerGraphicsResource): Moved to Font peer class.
17832
17833         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
17834         (createGraphics): Use new context classes.
17835
17836         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17837         Use native BufferedImages where possible.
17838
17839         * gnu/java/awt/peer/gtk/GdkTextLayout.java
17840         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17841         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17842         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
17843         renamed to cairoDrawGdkTextLayout.
17844         
17845         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17846         (getGraphics): Use ComponentGraphics context.
17847         (createImage): Use native BufferedImage.
17848         
17849         * gnu/java/awt/peer/gtk/GtkImage.java:
17850         * include/gnu_java_awt_peer_gtk_GtkImage.h
17851         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17852         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
17853         Remove drawing methods.
17854                 
17855         * gnu/java/awt/print/JavaPrinterGraphics.java:
17856         Use CairoSurface instead of GtkImage.
17857         
17858         * include/Makefile.am
17859         * native/jni/gtk-peer/Makefile.am
17860         Update for new files.
17861
17862         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
17863         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
17864         Remove superfluous GtkImage code for GdkPixmaps. 
17865
17866         * native/jni/gtk-peer/gtkpeer.h
17867         Remove graphics2d structure.
17868         
17869 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17870
17871         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
17872         Do not reuse fg in the constructor.
17873
17874 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
17875
17876         * java/io/ObjectStreamConstants.java: Added API docs.
17877
17878 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17879
17880         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
17881         Take no action if this color is already set.
17882
17883 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17884
17885         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
17886         Rewritten. 
17887         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
17888         Optionally paint with translation. (createContent): Added option
17889         to test painting with translation
17890
17891 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
17892
17893         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
17894         pattern to the default value when null.
17895         Pass field pattern, and not parameter with same name to createFileStream.
17896
17897 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17898
17899         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
17900         New class implementing the OS bean.
17901         * gnu/java/lang/management/package.html:
17902         New file to document the gnu.java.lang.management package.
17903         * java/lang/management/ManagementFactory.java:
17904         New class to provide access to the OS bean.
17905         * java/lang/management/OperatingSystemMXBean.java:
17906         New interface.
17907         * java/lang/management/package.html:
17908         New file to document the java.lang.management package.
17909         
17910 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17911
17912         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
17913         (JKS): Likewise.
17914         (LIB): Likewise.
17915         (SECURITY): Likewise.
17916         (CACERTS): Likewise.
17917         (CACERTS_GKR): Likewise.
17918         (gkrCaCertsPathName): New field.
17919         (jksCaCertsPathName): Likewise.
17920         (selfSignedCertificate): Likewise.
17921         (start): Initialize trusted certificate key stores if -trustcacerts is
17922         specified.
17923         (ensureReplyIsOurs): Initialize selfSignedCertificate.
17924         (orderChain): Implemented.
17925         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
17926         certificate key stores if -trustcacerts option is specified.
17927         (findTrustInCACerts): Removed.
17928         (getCertPathParameters): New method.
17929         (validate): New method.
17930         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
17931
17932 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17933
17934         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
17935         (PATTERN_KEY): Likewise.
17936         (DEFAULT_PATTERN): Likewise.
17937         (LIMIT_KEY): Likewise.
17938         (DEFAULT_LIMIT): Likewise.
17939         (COUNT_KEY): Likewise.
17940         (DEFAULT_COUNT): Likewise.
17941         (APPEND_KEY): Likewise.
17942         (DEFAULT_APPEND): Likewise.
17943         (FileHandler()): Use pattern value as set in logging.properties.
17944         Use constants defined above.
17945         (FileHandler(1)): Use constants defined above.
17946         (FileHandler(2)): Likewise.
17947         (FileHandler(3)): Likewise.
17948         (FileHandler(4)): Likewise.
17949         (createFileStream): Likewise.
17950
17951 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17952
17953         * java/util/logging/FileHandler.java: Reverted previous patch.
17954         * java/util/logging/LogManager.java: Likewise.
17955
17956 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
17957
17958         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
17959         (DEFAULT_PATTERN): Likewise.
17960         (FileHandler()): Use configured pattern property if any; otherwise use a
17961         default value as per RI documentation.
17962         * java/util/logging/LogManager.java (getStringProperty): New method.
17963
17964 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17965
17966         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
17967
17968 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
17969
17970         * configure.ac (FOUND_CACAO): New automake conditional.
17971         Add --enable-tool-wrappers.
17972         * NEWS: Introduce the --enable-tool-wrappers option.
17973         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
17974         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
17975         rename ...
17976         * tools/toolwrapper.c: New file.
17977
17978 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
17979
17980         * java/awt/Graphics2D.java: Use full class name for 
17981         PrinterJob in javadoc.
17982
17983 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
17984
17985         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
17986         (callMouseMethod): Likewise.
17987
17988 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17989
17990         * native/jni/java-net/java_net_VMURLConnection.c:
17991         Fix function declarations to specify unused parameters.
17992         * scripts/check_jni_methods.sh:
17993         Remove copies of the same function using uniq.
17994         
17995 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17996
17997         * vm/reference/java/net/VMURLConnection.java:
17998         Make package-private and final.
17999         
18000 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18001
18002         * examples/gnu/classpath/examples/swing/TableDemo.java
18003         (TModed): Added editor for the icons column.
18004         (createContent): Increase the row height by 2 px.
18005
18006 2006-05-26  Tom Tromey  <tromey@redhat.com>
18007
18008         PR classpath/27685:
18009         * java/math/BigInteger.java (modPow): Correctly handle negative
18010         exponent.
18011
18012 2006-05-26  Tom Tromey  <tromey@redhat.com>
18013
18014         * configure.ac: Check for magic.h and -lmagic.
18015         * vm/reference/java/net/VMURLConnection.java: New file.
18016         * include/java_net_VMURLConnection.h: New file.
18017         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18018         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18019         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18020         Mention new file.
18021         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18022         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18023
18024 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18025
18026         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18027
18028 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18029
18030         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18031         libjawtgnu.la libjawt.la.
18032
18033 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18034
18035         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18036         gtkcairopeer.h.
18037
18038 2006-05-25  Lillian Angel  <langel@redhat.com>
18039         
18040         PR 26174
18041         * java/awt/Window.java
18042         (Window): Moved code to helper.
18043         (addWindowFocusListener): New function. Handles focus
18044         listener code. Added code to handle focus lost/gained
18045         from the window.
18046
18047 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18048
18049         * configure.ac:
18050         Make pkg-config check for GTK+ >= 2.8.
18051         
18052 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18053
18054         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18055         (flush): Remove debugging printfs.
18056
18057 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18058
18059         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18060         (schedule_flush): New function.
18061         (end_drawing_operation): Call schedule_flush.
18062
18063 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18064
18065         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18066         paint performance demo.
18067         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18068
18069 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18070
18071         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18072         Cairo version requirement.  Do not mention --enable-gtk-cairo
18073         configure option.
18074         * NEWS: Add entry for GdkGraphics2D.
18075         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18076         Cairo library and headers.
18077         * .externalToolBuilders/Configure.launch: Remove
18078         --enable-gtk-cairo from configure line.
18079         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18080         field.
18081         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18082         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18083         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18084         useGraphics2D references.  Always assume Graphics2D is enabled.
18085         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18086         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18087         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18088         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18089         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18090         useGraphics2D references.  Always assume Graphics2D is enabled.
18091         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18092         Graphics2D check.  Always assume Graphics2D is enabled.
18093         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18094         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18095         (realize): Remove method.
18096         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18097         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18098         (isRealized): Remove method.
18099         (realize): Implement as a native method.  Remove useGraphics2D
18100         references.  Always assume Graphics2D is enabled.
18101         * gnu/java/awt/peer/gtk/GtkImage.java,
18102         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18103         GdkGraphics references with GdkGraphics2D references.
18104         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18105         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18106         useGraphics2D references.  Always assume Graphics2D is enabled.
18107         * include/Makefile.am (GTKPEER_H_FILES): Remove
18108         gnu_java_awt_peer_gtk_GdkGraphics.h.
18109         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18110         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18111         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18112         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18113         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18114         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18115         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18116         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18117         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18118         (AM_LDFLAGS): Remove CAIRO_LIBS.
18119         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18120         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18121         to ...
18122         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18123
18124 2006-05-25  Lillian Angel  <langel@redhat.com>
18125
18126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18127         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18128         Added check to prevent assertion error. If widget->window is null, then
18129         use the parent widget's window to set the cursor on.
18130
18131 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18132
18133         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18134         Implemented.
18135
18136 2006-05-24  Lillian Angel  <langel@redhat.com>
18137
18138         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18139         (prependCodeBase): Added check to determine if the documentbase
18140         points to a directory or a file.
18141
18142 2006-05-24  Sven de Marothy  <sven@physto.se>
18143
18144         * java/awt/dnd/DragGestureRecognizer.java
18145         (resetRecognizer): Implement.
18146         (fireDragGestureRecognized): Implement.
18147
18148 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18149
18150         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18151         fixed source code formatting.
18152
18153 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18154
18155         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18156
18157 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18158
18159         Reported by Antony Balkisson.
18160         * javax/swing/JTable.java (selectAll): Return without action 
18161         if the table is empty.
18162
18163 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18164
18165         * examples/gnu/classpath/examples/swing/TableDemo.java:
18166         (SliderCell): New inner class. (setCustomEditors,
18167         setInformativeHeaders): New fields. (createContent):
18168         Rewritten.
18169         * javax/swing/DefaultCellEditor.java 
18170         (JComboBoxDelegate.shouldSelectCell): New method.
18171         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18172         * javax/swing/plaf/basic/BasicTableUI.java
18173         (MouseInputHandler.mouseClicked): Start editing on a single
18174         click if the cell editor is not a default cell editor.
18175
18176 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18177
18178         * javax/swing/naming/CompositeName.java,
18179         javax/swing/naming/CompoundName.java:
18180         Documented.
18181
18182 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18183
18184         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18185         ordering problem.
18186
18187 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18188
18189         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18190         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18191         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18192         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18193         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18194         * javax/swing/tree/ExpandVetoException.java: Likewise,
18195         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18196         * javax/swing/tree/RowMapper.java: Likewise,
18197         * javax/swing/tree/TreeNode.java: Likewise,
18198         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18199         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18200
18201 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18202
18203         * javax/swing/tree/DefaultTreeCellRenderer.java
18204         (DefaultTreeCellRenderer): Changed key for 
18205         setBackgroundNonSelectionColor(),
18206         plus API docs all over.
18207
18208 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18209         
18210         PR 27680
18211         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18212         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18213         Initialise in constructor. (columnMoved): Cancel editing.
18214         (createDefaultEditors): Rewritten. (editCellAt):
18215         Just invert the value if this is a boolean cell. 
18216         (initialiseLocalVars): Do not initialise renderer and editor tables.
18217         (setUI): Create editors and renderers here.
18218
18219 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18220
18221         * examples/gnu/classpath/examples/awt/Demo.java:
18222         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18223         instance as subframe.
18224         (ResolutionWindow): New inner class.
18225         (FullscreenWindow): New inner class.
18226
18227 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18228         
18229         PR 27680
18230         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18231         Set horizontal alignment to centered.
18232
18233 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18234
18235         * javax/accessibility/AccessibleContext.java
18236         (getAccessibleComponent): Fixed typo in docs,
18237         * javax/swing/JLabel.java:
18238         (AccessibleJLabel.getAccessibleName): Check for explicit 
18239         accessibleName,
18240         * javax/swing/JTableHeader.java
18241         (AccessibleJTableHeaderEntry.columnIndex): New field,
18242         (AccessibleJTableHeaderEntry.parent): New field,
18243         (AccessibleJTableHeaderEntry.table): New field,
18244         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18245         Implemented,
18246         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18247         utility method,
18248         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18249         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18250         (AccessibleJTableHeaderEntry.contains): Implemented,
18251         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18252         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18253         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18254         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18255         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18256         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18257         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18258         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18259         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18260         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18261         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18262         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18263         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18264         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18265         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18266         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18267         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18268         (AccessibleJTableHeaderEntry.getFont): Implemented,
18269         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18270         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18271         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18272         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18273         (AccessibleJTableHeaderEntry.getSize): Implemented,
18274         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18275         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18276         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18277         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18278         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18279         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18280         Implemented,
18281         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18282         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18283         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18284         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18285         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18286         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18287         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18288         (AccessibleJTableHeaderEntry.setFont): Implemented,
18289         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18290         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18291         (AccessibleJTableHeaderEntry.setSize): Implemented,
18292         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18293         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18294         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18295         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18296         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18297
18298 2006-05-22  Tom Tromey  <tromey@redhat.com>
18299
18300         * NEWS: Updated.
18301
18302 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18303
18304         * javax/swing/JLabel.java
18305         (AccessibleJLabel.getAccessibleName): New method (override),
18306         (setLabelFor): Fire 'labelFor' property change event before other
18307         events.
18308
18309 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18310
18311         * javax/swing/JLabel.java
18312         (AccessibleJLabel.getAccessibleRole): New method (override).
18313
18314 2006-05-22  Tom Tromey  <tromey@redhat.com>
18315
18316         * resource/gnu/classpath/tools/serialver/messages.properties: New
18317         file.
18318         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18319         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18320         field.
18321         (classpath): Likewise.
18322         (run): New method.
18323         (main): Use it.
18324         (addFileURL): New method.
18325         (getClassLoader): Likewise.
18326         (printMessage): Likewise.
18327
18328 2006-05-22  Tom Tromey  <tromey@redhat.com>
18329
18330         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18331
18332 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18333
18334         * javax/swing/JTable.java (doLayout): In the column
18335         resize mode, only repaing the changed part of the table.
18336         (getLeftResizingBoundary): New method.
18337
18338 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18339
18340         * javax/naming/spi/InitialContextFactory.java,
18341         javax/naming/spi/InitialContextFactoryBuilder.java,
18342         javax/naming/spi/NamingManager.java,
18343         javax/naming/spi/ObjectFactory.java,
18344         javax/naming/spi/ResolveResult.java,
18345         javax/naming/spi/Resolver.java,
18346         javax/naming/spi/StateFactory.java: Documented.
18347
18348 2006-05-21  Tom Tromey  <tromey@redhat.com>
18349
18350         PR classpath/27688:
18351         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18352         a WorkSet.
18353         (initSet): Removed.
18354         (shouldExtract): Removed.
18355         (run): Updated.
18356         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18357         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18358         method.
18359         (listJar): Use it.
18360         (allItems): New field.
18361         (run): Initialize it.
18362         (listJar): Use it.
18363
18364 2006-05-22  Sven de Marothy  <sven@physto.se>
18365
18366         * java/nio/CharBuffer.java
18367         (wrap): Fix bounds checking.
18368
18369 2004-08-26  Tom Tromey  <tromey@redhat.com>
18370
18371         * java/io/OutputStream.java 
18372         (OutputStream): Implements Closeable, Flushable.
18373
18374 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18375
18376         * java/io/ObjectOutputStream.java:
18377         (writeObject(Object)): Added enum support.
18378         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18379         * java/io/ObjectStreamClass.java:
18380         (isEnum()): New package-private method.
18381         (setFlags(Class)): Added enum support.
18382         * java/io/ObjectStreamConstants.java:
18383         (SC_ENUM): Added.
18384
18385 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18386
18387         * java/io/ObjectInputStream.java:
18388         (parseContent(byte)): Added enum support.
18389         * java/io/ObjectStreamConstants.java:
18390         (TC_ENUM): Added.
18391         (TC_MAX): Changed to new maximum, TC_ENUM.
18392
18393 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18394
18395         * java/beans/beancontext/BeanContextSupport.java:
18396         (instantiateChild(String)): Implemented.
18397         
18398 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18399
18400         * java/beans/beancontext/BeanContextSupport.java:
18401         (add(Object)): Add further documentation.
18402         (isEmpty()): Documented.
18403         (propertyChange(PropertyChangeEvent)): Implemented.
18404         (remove(Object)): Documented.
18405         (remove(Object,boolean)): Documented and implemented.
18406         (vetoableChange(PropertyChangeEvent)): Marked as
18407         implemented (only subclasses appear to need this).
18408         
18409 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18410
18411         * java/beans/beancontext/BeanContextSupport.java:
18412         (add(Object)): Implement support for the child being
18413         a BeanContextChild.
18414         (avoidingGui()): Implemented.
18415         (dontUseGui()): Likewise.
18416         (needsGui()): Likewise.
18417         (okToUseGui()): Likewise.
18418         
18419 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18420
18421         * javax/naming/Context.java,
18422         javax/naming/ContextNotEmptyException.java,
18423         javax/naming/Reference.java: Documented.
18424
18425 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18426
18427         * javax/swing/text/html/MinimalHTMLWriter.java
18428         (writeComponent, writeImage): Declare that the method
18429         may throw the IOException.
18430
18431 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18432         
18433         PR 26972
18434         * javax/naming/InitialContext.java (colon_list): Changed type to
18435         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18436         (merge): Rewritten.
18437
18438 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18439
18440         * javax/naming/InitialContext.java: Documented.
18441
18442 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18443
18444         * javax/naming/NameParser.java,
18445         javax/naming/NamingEnumeration.java,
18446         javax/naming/PartialResultException.java,
18447         javax/naming/SizeLimitExceededException.java,
18448         javax/naming/spi/ObjectFactory.java,
18449         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18450
18451 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18452
18453         * gnu/java/net/loader/JarURLLoader.java:
18454         Use Map.Entry instead of LinkedHashMap.Entry
18455         
18456 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18457
18458         * javax/naming/Context.java: Documented.
18459
18460 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18461
18462         * javax/naming/Referenceable.java: Documented.
18463         * javax/naming/spi/NamingManager.java: Documented.
18464
18465 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18466
18467         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18468         to messages.properties.
18469         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18470         Renamed to messages.properties.
18471         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18472         Likewise.
18473         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18474         Renamed from MessageBundle.properties.
18475         Added copyright notice.
18476         * resource/gnu/classpath/tools/keytool/messages.properties:
18477         Likewise.
18478         * tools/gnu/classpath/tools/jarsigner/Messages.java
18479         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18480         (getFormattedString): Fixed a spelling mistake.
18481         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18482
18483 2006-05-20  Sven de Marothy  <sven@physto.se>
18484
18485         * gnu/java/awt/font/opentype/NameDecoder.java
18486         Made class public.
18487         (getName): Use getShort instead of getChar(), fix PS name.
18488         (decodeName): New method.
18489         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18490         (getSubFamilyName): Implement.
18491         (getPostScriptName): Use the NameDecoder class instead.
18492         (parsePSName): Removed.
18493         (getName): Added
18494
18495 2006-05-20  Sven de Marothy  <sven@physto.se>
18496
18497         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18498         (getTrueTypeTable): New native method.
18499         (getPostScriptName): Reimplement.
18500         (parsePSName): New method.
18501         (getNumGlyphs): Implement.
18502         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18503         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18504         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18505         New function. File is now explicitly dependent on FT2.
18506         
18507 2006-05-20  Tom Tromey  <tromey@redhat.com>
18508
18509         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18510         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18511         file.
18512         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18513         (HandleFile): New class.
18514         (input, output, encoding, reversed): New fields.
18515         (createParser): New method.
18516         (run): Likewise.
18517         (main): Use 'run'.
18518         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18519         (notifyFile): Throws OptionException.
18520
18521 2006-05-20  Tom Tromey  <tromey@redhat.com>
18522
18523         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18524         from cp-tools.
18525
18526 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18527
18528         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18529         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18530         platforms.
18531         
18532 2006-05-20  Sven de Marothy  <sven@physto.se>
18533
18534         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18535         
18536 2006-05-20  Sven de Marothy  <sven@physto.se>
18537
18538         * gnu/java/awt/print/JavaPrinterJob.java 
18539         (print): Use PostScriptGraphics2D.
18540         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18541         
18542 2006-05-20  Sven de Marothy  <sven@physto.se>
18543
18544         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18545         
18546 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18547
18548         * gnu/java/security/OID.java: Updated copyright year.
18549         (OID): Removed unused Javadoc param tag.
18550         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18551         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18552
18553 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18554
18555         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18556         Formatting.
18557         Added trace/debug statements.
18558         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18559         Entry.  Also ensure that any previous entry for this alias is removed
18560         before a new one is added.
18561         (engineGetKey): Do not trace/log passwords.
18562         Trace key's class name only.
18563         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18564         Certificate Entry. Also ensure that previous entry for this alias is
18565         removed before a new one is added.
18566         (engineLoad): Do not trace/log passwords.
18567         (engineStore): Likewise.
18568         (engineSize): Use size of enumeration instead of collection size.
18569
18570 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18571
18572         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18573         (toString): New method.
18574         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18575         Do not trace/log passwords.
18576         Set masked to false before decoding envelope.
18577         Do not set payload to null.
18578         (encrypt): Set masked to true.
18579         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18580         Do not trace/log passwords.
18581         Set masked to false before decoding envelope.
18582         Do not set payload to null.
18583         Added trace/debug statements.
18584         (authenticate): Do not trace/log passwords.
18585         Set masked to true.
18586         Added trace/debug statements.
18587         (getMac): Added trace/debug statements.
18588         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18589         (remove(String)): Changed the signature to return a boolean.
18590         (toString): New method.
18591         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18592         Formatting
18593         (getCertificate): Likewise.
18594         (putCertificate): Likewise.
18595         (load): Likewise.
18596         Do not trace/log passwords.
18597         (store): Likewise.
18598         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18599         Do not trace/log passwords.
18600         Added more trace/logging statements.
18601         (putPrivateKey): Do not trace/log passwords.
18602         Trace only key's class name.
18603         Formatting.
18604         (containsPublicKey): Formatting.
18605         (getPublicKey): Likewise.
18606         Trace only key's class name.
18607         (putPublicKey): Trace only key's class name.
18608         (containsCertPath): Formatting.
18609         (getCertPath): Likewise.
18610         (putCertPath): Likewise.
18611         (load): Do not trace/log passwords.
18612         Formatting.
18613         (store): Likewise.
18614         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18615         (add): Do not set payload to null.
18616         Added trace/debug statements.
18617         (containsAlias): Added trace/debug statements.
18618         (get): Likewise.
18619         (remove(Entry)): Likewise.
18620         (remove(String)): Likewise.
18621         Changed the signature to return a boolean.
18622         Do not set payload to null unless really removed.
18623         (toString): New method.
18624         (decodeEnvelope): Clear entries before proceeding.
18625         (makeAliasList): Added trace/debug statements.
18626         Ensure only non-null aliases and alias-lists are added.
18627         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18628         (TYPES): New constant.
18629         (toString): New method.
18630         (defaultDecode): Add trace/debug statement.
18631
18632 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18633
18634         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18635         Increased visibility.
18636         (setup): Do not trace/log passwords.
18637         (parsed): Was not setting correct (rfc) field; fixed.
18638         (print1Chain): Formatting.
18639         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18640         Do not trace/log passwords.
18641         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18642         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18643         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18644         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18645         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18646         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18647         (orderChain): Added FIXME.
18648         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18649         Do not trace/log passwords.
18650         Removed commented out code.
18651         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18652         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18653         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18654         (setKeystoreURLParam): Likewise.
18655         (setKeystorePasswordParam): Do not trace/log passwords.
18656         (saveKeyStore): Likewise.
18657
18658 2006-05-19  Roman Kennke <kennke@aicas.com>
18659
18660         * gnu/java/awt/java2d/AbstractGraphics2D.java
18661         Added class docs.
18662         (pixel): Removed obsolete field.
18663         (draw(Shape)): Removed commented out code.
18664         (drawImage): Formatting.
18665         (drawString): Added optimization hook.
18666         (setPaint): Removed rawSetForeground().
18667         (getFontRenderContext): Return context with correct transform.
18668         (drawGlyphVector): Draw complete outline in one go.
18669         (copyArea): Added optimization hook.
18670         (clearRect): Added optimization hook.
18671         (drawImage): Added optimization hook.
18672         (fillShape): (Temporarily) Set antialiasing off by default for
18673         font rendering. Adjust the shape by some bits to improve rendering.
18674         Pass clip bounds to the render methods.
18675         (drawPixel): Removed.
18676         (rawSetPixel): Removed.
18677         (rawSetForeground): Removed.
18678         (rawDrawLine): Default impl calls standard pipeline.
18679         (rawDrawString): New method, calls standard pipeline for rendering.
18680         (rawClearRect): New method, calls standard pipeline for rendering.
18681         (rawFillRect): New method, calls standard pipeline for rendering.
18682         (rawDrawImage): New method, calls standard pipeline for rendering.
18683         (rawCopyArea): New method.
18684         (copyAreaImpl): New method.
18685         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18686         for rendering.
18687         (fillShapeAntialias): Fixed AA rendering.
18688         (fillScanlineAA): Fixed AA rendering.
18689         (getSegments): Take offset into account.
18690
18691 2006-05-19  Sven de Marothy  <sven@physto.se>
18692
18693         * javax/swing/text/AbstractWriter.java
18694         (getText): Fix parameters (start, length) not (start, end).
18695         
18696 2006-05-19  Tom Tromey  <tromey@redhat.com>
18697
18698         PR classpath/27444:
18699         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18700         Changed return type.
18701         * java/net/URLClassLoader.java (urlloaders): Removed.
18702         (addURLImpl): Updated.
18703         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18704         (indexSet): Likewise.
18705         (classPath): Changed type.
18706         (JarURLLoader): New constructor.
18707         (initialize): New method.
18708         (getResource): Use index set if it exists.
18709         (getClassPath): Updated.
18710         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18711         (prefixes): New field.
18712         (headers): Removed.
18713         (IndexListParser): Fill in prefixes.
18714         (clearAll): Clear prefixes.
18715         (getHeaders): Changed return type.
18716
18717 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18718
18719         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18720         (MouseInputHandler.mouseExitted): No nothing there.
18721         (MouseInputHandler.endDragging): Move column to the
18722         first/last position if released outside the horizontal
18723         table range.
18724
18725 2006-05-19  Lillian Angel  <langel@redhat.com>
18726
18727         * java/awt/font/GlyphVector.java
18728         (getGlyphCharIndex): Implemented.
18729         (getGlyphCharIndices): Implemented.
18730         (getGlyphOutline): Implemented.
18731         (getGlyphVisualBounds): Implemented.
18732         (getGlyphVisualBounds): Implemented.
18733         (getPixelBounds): Implemented.
18734         (getLayoutFlags): Implemented.
18735
18736 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18737
18738         * java/awt/LightweightDispatcher.java: Added field dragButton and
18739         documentation for it.
18740         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18741         added subexpression to if-clause in MOUSE_RELEASED case.
18742
18743 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18744
18745         * javax/swing/metal/MetalButtonUI.java:
18746         (update): Removed some subexpression from if-clause and call
18747         updateWithGradient.
18748         (updateWithGradient): New method.
18749
18750 2006-05-19  Roman Kennke <kennke@aicas.com>
18751
18752         * javax/swing/JComponent.java
18753         (findOverlapFreeParent): Implemented algorithm for finding
18754         overlapping in component hierarchy.
18755
18756 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
18757
18758         * java/lang/Thread.java
18759         (contextClassLoaderIsSystemClassLoader): New field.
18760         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18761         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18762         and set contextClassLoaderIsSystemClassLoader.
18763         (Thread(ThreadGroup,Runnable,String,long)):
18764         Set contextClassLoaderIsSystemClassLoader.
18765         (createAnonymousThreadName): New method.
18766         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18767         and fixed security check.
18768         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18769
18770 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18771
18772         * javax/swing/plaf/basic/BasicToolBarUI.java:
18773         (createNonRolloverBorder): Rewritten.
18774         (createRolloverBorder): Rewritten.
18775         (setToNonRolloverBorder): Store old border instance in hashtable.
18776         (setToRolloverBorder): Store old border instance in hashtable, use
18777         AbstractButton instead of JButton in statements.
18778         (setBorderToNormal): Rewritten.
18779         * javax/swing/plaf/metal/MetalLookAndFeel.java:
18780         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18781         ToolBar.nonrolloverBorder.
18782
18783 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
18784
18785         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18786         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18787
18788 2006-05-18  Lillian Angel  <langel@redhat.com>
18789
18790         * java/awt/font/GlyphMetrics.java
18791         (getLSB): Implemented.
18792         (getRSB): Implemented.
18793
18794 2006-05-18  Lillian Angel  <langel@redhat.com>
18795
18796         * java/awt/font/GraphicAttribute.java:
18797         Documented entire class.
18798         (GraphicAttribute): Added check for alignment.
18799         (getBounds): Implemented.
18800         (getJustificationInfo): Implemented.
18801
18802 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18803
18804         * java/awt/LightweightDispatcher.java:
18805         (handleMouseEvent): Added note, added subexpression to if-statement.
18806
18807 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18808
18809         * javax/swing/plaf/basic/BasicToolBarUI.java:
18810         (navigateFocusedComp): Marked as stub.
18811         (createRolloverBorder): Create a different Border instance, added note.
18812         * javax/swing/plaf/metal/MetalBorders.java:
18813         (ButtonBorder): Added documentation.
18814         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18815         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18816         subexpression into if-else cascade, added note.
18817
18818 2006-05-18  Lillian Angel  <langel@redhat.com>
18819
18820         * java/awt/font/ShapeGraphicAttribute.java:
18821         Documented entire class.
18822         (ShapeGraphicAttribute): Initialized bounds field.
18823         (draw): Implemented.
18824         (equals): Implemented.
18825         (getAdvance): Implemented.
18826         (getAscent): Implemented.
18827         (getBounds): Implemented.
18828         (getDescent): Implemented.
18829         (hashCode): Implemented.
18830
18831 2006-05-18  Roman Kennke <kennke@aicas.com>
18832
18833         * javax/swing/CellRendererPane.java
18834         (CellRendererPane): Set CellRendererPane to invisible.
18835
18836 2006-05-18  Roman Kennke <kennke@aicas.com>
18837
18838         * gnu/java/awt/peer/gtk/GdkGraphics.java
18839         (clipRect): Removed old intersection statement.
18840
18841 2006-05-18  Roman Kennke <kennke@aicas.com>
18842
18843         * gnu/java/awt/peer/gtk/GdkGraphics.java
18844         (clipRect): Don't use Rectangle.intersection() to avoid creating
18845         2 unnecessary Rectangle instances and fix a clipping problem.
18846         (computeIntersection): New helper method, adapted from SwingUtilities.
18847
18848 2006-05-18  Roman Kennke <kennke@aicas.com>
18849
18850         * javax/swing/JComponent.java
18851         (isCompletelyDirty): Removed.
18852         (paint): Don't mark children as clean, this is no longer necessary.
18853         (findOverlapFreeParent): Don't stop at Viewports, this breaks
18854         painting when something overlaps the viewport (like a popup/menu).
18855         * javax/swing/RepaintManager.java
18856         (currentRepaintManagers): Made package private to avoid accessor
18857         methods.
18858         (dirtyComponents): Made private.
18859         (dirtyComponentsWork): Made private.
18860         (markCompletelyDirty): Fixed bounds of dirtyrect to be
18861         component-local not parent-local. Do not set flag in JComponent.
18862         (markCompletelyClean): Don't set JComponent flag.
18863         (isCompletelyDirty): Rewritten to return true when the complete
18864         component is marked dirty.
18865         (paintDirtyRegions): Improved parent-merging so that the merged-in
18866         components don't get painted too. 'Outsourced' the compilation
18867         of the repaint root components.
18868         (compileRepaintRoots): New helper method.
18869
18870 2006-05-18  Roman Kennke <kennke@aicas.com>
18871
18872         PR 26368
18873         * javax/swing/text/GapContent.java
18874         (GapContentPosition(int)): Use adapted binarySearch method to
18875         allow for having a greater array than number of entries.
18876         (numMarks): New field, holds the end of the marks list.
18877         (GapContent): Initialize positionMarks with size of 10 instead of 0.
18878         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
18879         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
18880         (setPositionsInRange): Changed signature to narrow the purpose and
18881         special cases inside. Reimplemented to crunch together equal marks.
18882         (adjustPositionsInRange): Added assertion to make sure we do
18883         not accidentally change the order of the mark. Added some debug
18884         output for a special case of which I don't know if it even exists.
18885         (resetMarksAtZero): Made impl simpler.
18886         (dumpMarks): New debug helper method.
18887         (insertMark): Grow array in bigger chunks to avoid excessive copying.
18888         (binarySearch): New method. An adaption of Arrays.binarySearch()
18889         that allows for an maxIndex parameter.
18890
18891 2006-05-18  Roman Kennke <kennke@aicas.com>
18892
18893         * javax/swing/KeyboardManager.java
18894         (topLevelLookup): Use WeakHashMap to avoid memory leak.
18895
18896 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
18897
18898         * gnu/java/net/loader/JarURLLoader.java
18899         (JarURLLoader): Use a slightly more efficient URL constructor.
18900
18901 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
18902
18903         * gnu/java/awt/print/JavaPrinterGraphics.java
18904         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
18905         (drawImage(Image, int, int, ImageObserver)): Likewise,
18906         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
18907         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
18908         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
18909         ImageObserver)): Likewise,
18910         (drawImage(Image, int, int, int, int, int, int, int, int, 
18911         ImageObserver)): Likewise.
18912
18913 2006-05-17  Tom Tromey  <tromey@redhat.com>
18914
18915         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
18916         LinkedHashSet.
18917
18918 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18919
18920         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
18921         * javax/swing/border/BevelBorder.java: Likewise,
18922         * javax/swing/border/CompoundBorder.java: Likewise,
18923         * javax/swing/border/TitledBorder.java: Likewise.
18924
18925 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
18926
18927         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
18928         * javax/swing/table/DefaultTableModel.java: Likewise,
18929         * javax/swing/table/TableCellEditor.java: Likewise,
18930         * javax/swing/table/TableCellRenderer.java: Likewise.
18931
18932 2006-05-17  Lillian Angel  <langel@redhat.com>
18933
18934         * java/awt/font/ImageGraphicAttribute.java:
18935         Documented entire class.
18936         (ImageGraphicAttribute): Changed to call this.
18937         (ImageGraphicAttribute): Implemented.
18938         (draw): Implemented.
18939         (equals): Implemented.
18940         (getAdvance): Implemented.
18941         (getAscent): Implemented.
18942         (getBounds): Implemented.
18943         (getDescent): Implemented.
18944         (hashCode): Implemented.
18945         * javax/swing/text/html/HTMLDocument.java
18946         (create): Removed. Sufficent enough for
18947         super to be called.
18948         (insert): Likewise.
18949         (insertUpdate): Likewise.
18950         (processHTMLFrameHyperlinkEvent): Marked as stub.
18951         (start): Removed FIXME.
18952         (end): Likewise.
18953         (start): Called super. 
18954         (end): Called super.
18955         (getElement): removed unneeded code.
18956         (setParagraphAttribute): Removed. Sufficent enough
18957         for super to be called.
18958         (fireChangedUpdate): Likewise.
18959         (fireUndoableEditUpdate): Likewise.     
18960
18961 2006-05-17  Lillian Angel  <langel@redhat.com>
18962
18963         * java/awt/TexturePaint.java:
18964         Added documentation for class and all functions.
18965         (getTransparency): Implemented.
18966
18967 2006-05-17  Roman Kennke <kennke@aicas.com>
18968
18969         * java/awt/LightweightDispatcher.java
18970         (findTarget): Translate point to child components.
18971
18972 2006-05-17  Roman Kennke <kennke@aicas.com>
18973
18974         PR 26368
18975         * javax/swing/text/GapContent.java
18976         (GapContentPosition): Do no more implement Comparable.
18977         (GapContentPosition.mark): Removed field.
18978         (GapContentPosition.index): New field to hold the index into
18979         the positions array.
18980         (GapContentPosition(int)): Rewritten to use the new indirection
18981         to the positions array.
18982         (GapContentPosition.compareTo): Removed.
18983         (GapContentPosition.getOffset): Synchronized. Fetch mark from
18984         positionMarks array.
18985         (WeakPositionComparator): Removed obsolete class.
18986         (positions): Changed type to WeakHashMap.
18987         (positionMarks): New field, holds the marks of the positions.
18988         (GapContent): Initialize new fields.
18989         (createPosition): Rewritten to use the new indirection
18990         to the positions array.
18991         (getPositionsInRange): Rewritten to use the new indirection
18992         to the positions array.
18993         (setPositionsInRange): Rewritten to use the new indirection
18994         to the positions array.
18995         (adjustPositionsInRange): Rewritten to use the new indirection
18996         to the positions array.
18997         (insertMark): New helper method.
18998         (clearPositionReferences): Removed obsolete methods.
18999
19000 2006-05-17  Lillian Angel  <langel@redhat.com>
19001
19002         * java/awt/GraphicsConfiguration.java
19003         (getImageCapabilities): Implemented.
19004         (getBufferCapabilities): Implemented.
19005
19006 2006-05-17  Lillian Angel  <langel@redhat.com>
19007
19008         * javax/swing/plaf/basic/BasicSliderUI.java
19009         (focusGained): Implemented.
19010         (focusLost): Implemented.
19011         (paint): Added code to paint the focus.
19012         * javax/swing/plaf/metal/MetalSliderUI.java
19013         (paintThumb): Added code to set the thumbColor.
19014         (paintFocus): Implemented properly.
19015
19016 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19017
19018         PR 27383
19019         * javax/naming/spi/NamingManager.java (getURLContext):
19020         Always search for the factory class in all possible places
19021         and use VMStackWalker.
19022         (forName): New method.
19023
19024 2006-05-17  Roman Kennke <kennke@aicas.com>
19025
19026         * java/awt/LightweightDispatcher.java
19027         (handleMouseEvent): Fixed search algorithm for finding the
19028         mouse event target.
19029         (findTarget): Fixed search algorithm for finding the
19030         mouse event target.
19031
19032 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19033
19034         * javax/naming/spi/NamingManager.java: Documented.
19035
19036 2006-05-17  Mark Wielaard  <mark@klomp.org>
19037
19038         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19039         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19040         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19041         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19042
19043 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19044
19045         Fixes PR 26947.
19046         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19047         year.
19048         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19049         copied code from
19050         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19051
19052 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19053
19054         Fixes PR 27626.
19055         * java/awt/LightweightDispatcher.java:
19056         (handleMouseEvent): Moved assignment into switch-block, added notes.
19057
19058 2006-05-16  Lillian Angel  <langel@redhat.com>
19059
19060         * javax/swing/text/StyleContext.java:
19061         Changed staticAttributeKeys  to be a Hashtable.
19062         (getStaticAttribute): Implemented.
19063         (getStaticAttributeKey): Implemented.
19064         (readAttributeSet): Implemented.
19065         (writeAttributeSet): Added FIXME. Not sure how
19066         to implement this.
19067         (readAttributes): Implemented.
19068         (writeAttributes): Implemented.
19069         (registerStaticAttibuteKey): Fixed to add key to 
19070         the hash table.
19071
19072 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19073
19074         * javax/swing/DefaultButtonModel.java
19075         (setGroup): Removed event notification.
19076
19077 2006-05-16  Lillian Angel  <langel@redhat.com>
19078
19079         * javax/swing/plaf/basic/BasicComboBoxUI.java
19080         (installKeyboardActions): Implemented.
19081         (uninstallKeyboardActions): Implemented.
19082         * javax/swing/plaf/basic/BasicComboPopup.java
19083         (uninstallKeyboardActions): Removed FIXME. Nothing
19084         to be done here.
19085         (installKeyboardActions): Likewise.
19086         * javax/swing/plaf/basic/BasicTextUI.java
19087         (uninstallKeyboardActions): Implemented.
19088         * javax/swing/plaf/basic/BasicTreeUI.java:
19089         Added field for hashColor.
19090         Marked stub methods.
19091         (getHashColor): Implemented to use field.
19092         (setHashColor): Likewise.
19093         (getRowX): Implemented.
19094         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19095
19096 2006-05-16  Roman Kennke <kennke@aicas.com>
19097
19098         PR 26521
19099         * javax/swing/JTable.java
19100         (rowHeights): New field.
19101         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19102         in order to initialize rowHeights correctly.
19103         (tableChanged): Nullify rowHeights when model changes. Only
19104         create default columns from model when corresponding property
19105         is set. Sync table model with rowHeights as appropriate.
19106         (valueChanged): Call repaint with the correct rectangle.
19107         (rowAtPoint): Handle rowHeights.
19108         (getCellRect): Mostly rewritten. Check for boundaries
19109         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19110         Handle component orientation. Round correctly.
19111         (getRowHeight(int)): Implemented for variable row height.
19112         (setRowHeight(int,int)): Implemented for variable row height.
19113         (setRowHeight(int)): Nullify rowHeights.
19114         (setModel): Notify tableChanged().
19115         * javax/swing/plaf/basic/BasicTableUI.java
19116         (installDefaults): Create rendererPane in installUI.
19117         (installUI): Create and install rendererPane.
19118         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19119         and table.
19120         (paint): Correctly handle rowMargin.
19121
19122 2006-05-16  Tom Tromey  <tromey@redhat.com>
19123
19124         PR classpath/27563:
19125         * java/text/NumberFormat.java (getIntegerInstance): Use
19126         "integerFormat", not "numberFormat".
19127
19128 2006-05-16  Lillian Angel  <langel@redhat.com>
19129
19130         * javax/swing/JPopupMenu.java
19131         (addMenuKeyListener): Implemented.
19132         (removeMenuKeyListener): Implemented.
19133         (getMenuKeyListeners): Implemented.
19134         * javax/swing/ProgressMonitor.java:
19135         Added new protected field.
19136         (getAccessibleContext): Implemented.
19137
19138 2006-05-16  Lillian Angel  <langel@redhat.com>
19139
19140         * javax/swing/JFileChooser.java:
19141         Added new private field.
19142         (setDragEnabled): Implemented.
19143         (getDragEnabled): Implemented.
19144
19145 2006-05-16  Lillian Angel  <langel@redhat.com>
19146
19147         * java/awt/Window.java
19148         (applyResourceBundle): Implemented.
19149
19150 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19151
19152         * javax/swing/DefaultButtonModel.java
19153         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19154         states also.
19155
19156 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19157
19158         * javax/swing/JList.java (getSelectedValues):
19159         Ask the value for the indexed array element.
19160
19161 2006-05-16  Roman Kennke <kennke@aicas.com>
19162
19163         * javax/swing/JTable.java
19164         (valueChanged): Also repaint when table has only 1 row. Fixed
19165         repaint rectangle to span the entire changed rows.
19166
19167 2006-05-16  Roman Kennke <kennke@aicas.com>
19168
19169         PR 24031
19170         * javax/swing/JOptionPane.java
19171         (startModal): Rewritten. The events are now dispatched, even
19172         when the event dispatch thread gets blocked by the call
19173         to this method. Also, mouse events get intercepted outside the
19174         internal frame.
19175
19176 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19177
19178         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19179         (BorderListener.mouseDragged):Do not set cursor 
19180         if the frame is being dragged.
19181
19182 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19183
19184         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19185         (BorderListener): Rewritten. (InternalFrameBorder):
19186         Made package private.
19187         (InternalFrameBorder.offset):
19188         Renamed to cornerSize, made package private.
19189         (bSize): Made package private.
19190
19191 2006-05-16  Roman Kennke <kennke@aicas.com>
19192
19193         * javax/swing/JMenu.java
19194         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19195         (AccessibleJMenu.getAccessibleChild): Implemented.
19196         (AccessibleJMenu.getAccessibleSelection): Implemented.
19197         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19198         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19199         (AccessibleJMenu.getAccessibleRole): Documented.
19200         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19201         (AccessibleJMenu.addAccessibleSelection): Implemented.
19202         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19203         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19204         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19205         (createPath): New helper method.
19206
19207 2006-05-15  Tom Tromey  <tromey@redhat.com>
19208
19209         * java/text/MessageFormat.java (format): Now varargs.
19210
19211 2006-05-15  Tom Tromey  <tromey@redhat.com>
19212
19213         * java/lang/Thread.java (State): Fixed typo.
19214
19215 2006-05-15  Tom Tromey  <tromey@redhat.com>
19216
19217         * java/net/URLClassLoader.java: Moved inner classes to
19218         gnu.java.net.loader.
19219         (factoryCache): Changed type.
19220         (URL_LOADER_PREFIX): New constant.
19221         (URLClassLoader): Updated for new factoryCache.
19222         (addURLImpl): Use reflection to search for a loader.
19223         (findClass): Use getClass method on URLLoader.
19224         (getURLStreamHandler): Removed.
19225         * gnu/java/net/loader/URLLoader.java: New file, extracted
19226         from URLClassLoader.
19227         * gnu/java/net/loader/Resource.java: Likewise.
19228         * gnu/java/net/loader/FileResource.java: Likewise.
19229         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19230         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19231         * gnu/java/net/loader/JarURLResource.java: Likewise.
19232         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19233         * gnu/java/net/loader/RemoteResource.java: Likewise.
19234         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19235
19236 2006-05-15  Sven de Marothy  <sven@physto.se>
19237
19238         * native/target/generic/target_generic_network.h: 
19239         Add a pair of parenthesis.
19240
19241 2006-05-15  Mark Wielaard  <mark@klomp.org>
19242
19243         * java/awt/Graphics2D.java: Remove PrinterJob import.
19244
19245 2006-05-15  Mark Wielaard  <mark@klomp.org>
19246
19247         * doc/www.gnu.org/announce/20060515.wml: New file.
19248         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19249         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19250
19251 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19252
19253         * NEWS: Announce inclusion of gcjwebplugin.
19254         Announce inclusion of appletviewer.
19255         * INSTALL: Note gcjwebplugin dependencies.
19256
19257 2006-05-15  Mark Wielaard  <mark@klomp.org>
19258
19259         * configure.ac (VERSION): Set to 0.91-generics.
19260
19261 2006-05-15  Mark Wielaard  <mark@klomp.org>
19262
19263         * NEWS: Add release date and VMClassLoader.getBootPackages()
19264         changes.
19265
19266 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19267
19268         * README: Added CACAO to list of VMs.
19269
19270 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19271
19272         * javax/swing/RepaintManager.java (paintDirtyRegions):
19273         Break loop as soon as the component repaint is merged
19274         with some parent. (ComponentComparator): Removed.
19275         (comparator): Removed.
19276
19277 2006-05-15  Roman Kennke <kennke@aicas.com>
19278
19279         * javax/swing/border/TitledBorder.java
19280         (paintBorderWithTitle): Fixed indentation.
19281
19282 2006-05-15  Roman Kennke <kennke@aicas.com>
19283
19284         * javax/swing/border/TitledBorder.java
19285         (layoutBorderWithTitle): Fetch border using getBorder() instead
19286         of using the border field directly. Allows for the use of
19287         an UI supplied border in the case when a null border was set.
19288         Fixed component orientation.
19289         (paintBorderWithTitle): Fetch border using getBorder() instead
19290         of using the border field directly. Allows for the use of
19291         an UI supplied border in the case when a null border was set.
19292
19293 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19294
19295         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19296         (contains): New method.
19297
19298 2006-05-15  Tom Tromey  <tromey@redhat.com>
19299
19300         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19301         argument indices.
19302         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19303         argument indices.
19304
19305 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19306
19307         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19308          JViewport's.
19309         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19310         region. (paintDirtyRegions): Rewritten.
19311
19312 2006-05-15  Tom Tromey  <tromey@redhat.com>
19313
19314         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19315         MessageFormat.
19316         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19317         MessageFormat.
19318         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19319         (run): Use MessageFormat.
19320         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19321         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19322         (writeFile): Use MessageFormat.
19323
19324 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19325
19326         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19327         instead of directly calling the class loader.
19328
19329 2006-05-15  Tom Tromey  <tromey@redhat.com>
19330
19331         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19332         Removed old comment.
19333         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19334         Externalized strings.
19335         (getVersionString): Use MessageFormat.
19336         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19337         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19338         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19339         (getArgument): Use a MessageFormat.
19340         (handleLongOption): Likewise.
19341         (parse): Likewise.
19342
19343 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19344
19345         Fixes PR 27197.
19346         * javax/swing/text/FieldView.java:
19347         (paint): Calculate intersection between clip and allocation area and
19348         set that as new clip.
19349
19350 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19351
19352         * javax/swing/text/JTextComponent.java: Marked stub methods.
19353
19354 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19355
19356         * javax/swing/JTable.java: Marked stub methods.
19357
19358 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19359
19360         * tools/gnu/classpath/tools/jarsigner/Main.java:
19361         Increased visibility of fields used by parser anonymous classes.
19362         (KEYTOOL_TOOL): New constant.
19363         (cmdLineParser): Changed type to ToolParser.
19364         (fileAndAlias): new field.
19365         (main): Don't catch OptionException.
19366         (processArgs): Removed validation checks; now handled by ToolParser.
19367         (getParser): Removed.
19368         (ToolParserCallback): New inner class.
19369         (ToolParser): Likewise.
19370
19371 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19372
19373         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19374         Removed.
19375
19376 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19377
19378         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19379         endResizingFrame): Do not repaint, unless in the outline mode.
19380
19381 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19382
19383         * javax/swing/JTabbedPane.java
19384         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19385         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19386         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19387         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19388         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19389         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19390         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19391         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19392         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19393         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19394         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19395         (Page.getAccessibleName): Implemented.
19396
19397 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19398
19399         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19400         Do not repaint nor revalidate here.
19401
19402 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19403
19404         * javax/swing/RepaintManager.java (addDirtyRegion):
19405         If there is a lightweight parent, recursively add the corresponding
19406         region of the parent instead.
19407
19408 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19409
19410         * java/awt/Graphics2D.java: Added some API doc comments.
19411
19412 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19413
19414         * javax/swing/JTabbedPane.java
19415         (paramString): Reimplemented,
19416         (getAccessibleContext): Added API docs.
19417
19418 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19419
19420         * javax/swing/JFileChooser.java
19421         (paramString): Reimplemented,
19422         (getAccessibleContext): Updated API docs,
19423         (AccessibleJFileChooser): Added API docs.
19424
19425 2006-05-14  Tom Tromey  <tromey@redhat.com>
19426
19427         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19428         OptionException.
19429         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19430         OptionException.
19431         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19432         OptionException.
19433         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19434         validation to JarParser.
19435         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19436         (run): Moved validation to JarParser.  Don't throw OptionException.
19437         (initializeParser): Create a JarParser.
19438         (main): Don't catch OptionException.
19439         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19440         public.
19441         (validate): New method.
19442         (parse): Call it.  Print '-help' in error message when long-only.
19443
19444 2006-05-14  Tom Tromey  <tromey@redhat.com>
19445
19446         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19447         assignment.
19448
19449 2006-05-15  Sven de Marothy  <sven@physto.se>
19450
19451         * gnu/java/awt/print/JavaPrinterGraphics.java:
19452         Sweeping changes I can't be bothered to document in detail.
19453         * gnu/java/awt/print/JavaPrinterJob.java
19454         (getPageAttributes): New method.
19455         (setPageable,cancel,isCancelled): Implement.
19456
19457 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19458
19459         * javax/swing/JCheckBoxMenuItem.java
19460         (requestFocus): Fixed typo in API docs,
19461         (paramString): Just call super.paramString(),
19462         (getAccessibleContext): Added API docs,
19463         (AccessibleJCheckBoxMenuItem): Likewise.
19464
19465 2006-05-14  Tom Tromey  <tromey@redhat.com>
19466
19467         * tools/gnu/classpath/tools/jar/Indexer.java
19468         (writeCommandLineEntries): Simplify insertion.
19469         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19470         -m and -M.
19471
19472 2006-05-14  Tom Tromey  <tromey@redhat.com>
19473
19474         PR classpath/27514:
19475         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19476         constant.
19477         (JAR_INDEX_VERSION_KEY): Likewise.
19478         (IndexListParser): Updated.
19479         (getVersionInfo): Likewise.
19480         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19481         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19482         OptionException.
19483         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19484         -i.
19485         (ModeOption): New constructor.
19486         (parsed): Updated.  Use setArchiveFile.
19487         (setArchiveFile): New method.
19488         (run): Handle no-argument case.
19489         (main): Emit --help message on option error.
19490         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19491         (createManifest): New method.
19492         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19493         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19494         method.
19495         (writeManifest): Removed.
19496         (outputStream): Now a JarOutputStream.
19497         (writeCommandLineEntries): Changed parameters.  Updated callers.
19498         (run): Throws OptionException.
19499         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19500         * java/util/jar/Manifest.java (read): Typo fix.
19501
19502 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19503
19504         * javax/swing/JMenuItem.java
19505         (paramString): Fixed class name in API doc comment.
19506
19507 2006-05-14  Tom Tromey  <tromey@redhat.com>
19508
19509         * native/plugin/.cvsignore: Updated.
19510
19511 2006-05-14  Mark Wielaard  <mark@klomp.org>
19512
19513         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19514         comments.
19515
19516 2006-05-14  Chris Burdess  <dog@gnu.org>
19517
19518         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19519         nodes to be preserved during cloneNode.
19520
19521 2006-05-14  Mark Wielaard  <mark@klomp.org>
19522
19523         PR 27459
19524         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19525         inherited timeout on socket.
19526
19527 2006-05-14  Lillian Angel  <langel@redhat.com>
19528
19529         * java/util/SimpleTimeZone.java: Reverted patch.
19530         (SimpleTimeZone): Throw exception if startMonth ==
19531         endMonth.
19532         (SimpleTimeZone): Likewise.
19533         (checkRule): Rewritten to properly check all values (more
19534         efficently).
19535         This code is now more stable, at least less buggy than before.
19536         Fixed API documentation.
19537         (setStartRule): Moved checkRule call to end.
19538         (setStartRule): Likewise.
19539         (setEndRule): Likewise.
19540         (setEndRule): Likewise.
19541
19542 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19543
19544         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19545         Initialise to -1.
19546
19547 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19548
19549         PR classpath/27595
19550         * javax/swing/text/AbstractDocument.java:
19551         (insertString): Flipped if-expression and its blocks.
19552         (remove): Dito.
19553         (replace): Flipped if-expression and its blocks, added note, invoke
19554         insertString and remove instead of insertStringImpl and removeImpl.
19555
19556 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19557
19558         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19559
19560 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19561
19562         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19563         Added help text.
19564         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19565         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19566         Increased visibility of fields used by parser anonymous classes.
19567         (processArgs): Removed.
19568         (getParser): New method.
19569         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19570         (setup): Mark (Eclipse) strings that need not be externalised.
19571         (start): Likewise.
19572         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19573         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19574         command line option parsing.
19575         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19576         Increased visibility of fields used by parser anonymous classes.
19577         (processArgs): Removed.
19578         (setup): set 'all' local field.
19579         (getParser): New method.
19580         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19581         Increased visibility of fields used by parser anonymous classes.
19582         (processArgs): Removed.
19583         (getParser): New method.
19584         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19585         (setNewKeyPassword): Fixed comments.
19586         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19587         Increased visibility of fields used by parser anonymous classes.
19588         (processArgs): Removed.
19589         (getParser): New method.
19590         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19591         externalised.
19592         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19593         Increased visibility of fields used by parser anonymous classes.
19594         (processArgs): Removed.
19595         (setup): Mark (Eclipse) strings that need not be externalised.
19596         (getParser): New method.
19597         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19598         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19599         Increased visibility of fields used by parser anonymous classes.
19600         (processArgs): Removed.
19601         (getParser): New method.
19602         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19603         (ATTRIBUTES_OPT): New constant.
19604         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19605         Increased visibility of fields used by parser anonymous classes.
19606         (processArgs): Removed.
19607         (setup): Mark (Eclipse) strings that need not be externalised.
19608         (start): Likewise.
19609         Reduced logging level.
19610         (getParser): New method.
19611         * tools/gnu/classpath/tools/keytool/Command.java
19612         (processArgs): Made it concrete.
19613         (getParser): New abstract method.
19614         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19615
19616 2006-05-13  Casey Marshall  <csm@gnu.org>
19617
19618         Patch by Michael Barker <mike@middlesoft.co.uk>.
19619         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19620         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19621         gnu.java.nio.SocketChannelSelectionKeyImpl.
19622         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19623         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19624         VMChannel.
19625         * include/gnu_java_nio_VMChannel.h: new file.
19626         * java/nio/FileChannel.java (read,write): changed to call abstract
19627         method.
19628         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19629         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19630         `gnu_java_nio_VMChannel.c.'
19631         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19632
19633 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19634
19635         * javax/swing/text/AbstractDocument.java:
19636         (insertString): Flipped if-expression and its blocks.
19637         (remove): Dito.
19638         (replace): Flipped if-expression and its blocks, added note, invoke
19639         insertString and remove instead of insertStringImpl and removeImpl.
19640
19641 2006-05-13  Tom Tromey  <tromey@redhat.com>
19642
19643         * java/nio/ByteBufferImpl.java (compact): Always set position.
19644
19645 2006-05-13  Sven de Marothy  <sven@physto.se>
19646
19647         * gnu/java/awt/print/JavaPrinterGraphics.java
19648         (spoolPostScript): Use a faster writer.
19649
19650 2006-05-13  Sven de Marothy  <sven@physto.se>
19651
19652         * gnu/java/awt/print/JavaPrinterGraphics.java
19653         (colorTripleHex): Reimplement better.
19654
19655 2006-05-13  Sven de Marothy  <sven@physto.se>
19656
19657         * javax/swing/text/html/HTMLDocument.java
19658         (CharacterAction.start): Translate tag to StyleAttribute.
19659         (pushCharacterStyle): Push copy of attributes onto stack.
19660         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19661         New file
19662
19663 2006-05-13  Sven de Marothy  <sven@physto.se>
19664
19665         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19666         * java/awt/print/PrinterJob.java 
19667         (getPrinterJob): Return a JavaPrinterJob
19668         (setPrintService,getPrintService): Implement.
19669         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19670         (getPixels): Gtk_threads_enter required.
19671         * gnu/java/awt/print/JavaPrinterGraphics.java
19672         * gnu/java/awt/print/JavaPrinterJob.java
19673         * gnu/java/awt/print/SpooledDocumet.java: 
19674         New files.
19675         
19676 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19677
19678         * javax/swing/text/TextAction.java:
19679         (HorizontalMovementAction): New inner class.
19680         (VerticalMovementAction): New inner class.
19681         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19682         new inner classes to array 'defaultActions'.
19683         (SelectionBeginWordAction): New inner class.
19684         (SelectionEndWordAction): New inner class.
19685         (BeginWordAction): New inner class.
19686         (EndWordAction): New inner class.
19687         (PreviousWordAction.actionPerformed): Rewritten.
19688         (SelectLineAction): New inner class.
19689         (SelectWordAction): New inner class.
19690         (SelectionDownAction): Rewritten.
19691         (SelectionUpAction): Rewritten.
19692         (DownAction): Rewritten.
19693         (UpAction): Rewritten.
19694         (SelectionForwardAction): Rewritten.
19695         (SelectionBackwardAction): Rewritten.
19696         (ForwardAction): Rewritten.
19697         (BackwardAction): Rewritten.
19698         (BeginAction): New inner class.
19699         (EndAction): New inner class.
19700         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19701         Character.isISOControl.
19702
19703 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19704
19705         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19706         (WordFilter.getNextVisualPositionFrom): Added statement to check
19707         for variable pt not being null.
19708
19709 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19710
19711         * javax/swing/text/Utilities.java:
19712         (getNextWord): Fixed grammar in exception message.
19713         (getPreviousWord): Changed expression in first if-clause, added sub-
19714         expression to if-clause in while-loop.
19715         (getWordStart): Changed expression in if-clause.
19716         getNextVisualPositionFrom): Added package-private helper method.
19717
19718 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19719  
19720         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19721         Initialise to -1.
19722
19723 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19724
19725         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19726         Added help text.
19727         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19728         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19729         * tools/gnu/classpath/tools/jarsigner/Main.java:
19730         Increased visibility of fields used by parser anonymous classes.
19731         (HELP_PATH): Removed.
19732         (cmdLineParser): New field.
19733         (main): Handle JVM exit status.
19734         Handle command line parsing exceptions.
19735         (processArgs): Use getopt command line parser.
19736         (getParser): New method.
19737         (setupCommonParams): Removed checks now handled by processArgs().
19738         (setupSigningParams): Likewise.
19739         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19740         Reuse an existing message-bundle constant.
19741
19742 2006-05-12  Tom Tromey  <tromey@redhat.com>
19743
19744         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19745         Explicitly specify class for synchronization.
19746
19747 2006-05-12  Tom Tromey  <tromey@redhat.com>
19748
19749         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19750
19751 2006-05-12  Sven de Marothy  <sven@physto.se>
19752
19753         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19754         * gnu/java/net/protocol/http/HTTPURLConnection.java
19755         (setConnectTimeout): New method.
19756         (getConnection): Add timeout parameter.
19757         *  java/net/URLConnection.java  
19758         (getConnectTimeout, setConnectTimeout): Implement.
19759         * native/target/generic/target_generic_network.h: 
19760         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19761         
19762 2006-05-12  Sven de Marothy  <sven@physto.se>
19763   
19764         * gnu/javax/print/CupsServer.java
19765         (CupsServer): Make the Cups host configurable.
19766         * java/lang/System.java: Document the system property.
19767         
19768 2006-05-12  Roman Kennke <kennke@aicas.com>
19769   
19770         * javax/swing/border/TitledBorder.java
19771         (paintBorder): Rewritten for simplicity and correctness.
19772         (layoutBorderWithTitle): New helper method.
19773         (paintBorderWithTitle): New helper method.
19774         (getBorderInsets): Rewritten.
19775         (getMinimumSize): Rewritten.
19776         (getRealJustification): Removed.
19777         (getMeasurements): Removed.
19778         (Measurements): Removed.
19779   
19780 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19781   
19782         * javax/swing/plaf/basic/BasicPanelUI.java
19783         (sharedUI): New field,
19784         (createUI): Return a shared instance rather than a new instance,
19785         (installUI): Reformatted and added API docs,
19786         (installDefaults): Install border if one is defined,
19787         (uninstallDefaults): Uninstall border.
19788
19789 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19790
19791         * javax/swing/JProgressBar.java: Updated API docs all over.
19792
19793 2006-05-11  Lillian Angel  <langel@redhat.com>
19794
19795         * java/awt/ContainerOrderFocusTraversalPolicy.java
19796         (getComponentAfter): Should not throw exception if
19797         the ancestor is null. Added a check for this.
19798         Also, changed to use new helper function, we should
19799         iterate through all the components at least once.
19800         (getNextAvailableComponent): New helper function.
19801         (getPrevAvailableComponent): New helper function.
19802         (getComponentBefore): Should not throw exception if
19803         the ancestor is null. Added a check for this.
19804         Also, changed to use new helper function, we should
19805         iterate through all the components at least once.
19806         (getFirstComponent): Changed check to manually check
19807         fields. Calling accept() casts the object to a Component,
19808         so different values may be returned.
19809         (getLastComponent): Likewise.
19810
19811 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19812
19813         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19814         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19815         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19816         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
19817         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
19818         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
19819         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
19820         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
19821         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
19822         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
19823         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
19824         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
19825         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
19826         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
19827         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
19828         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
19829         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
19830         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
19831
19832 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19833
19834         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
19835         package-private, added field 'active'.
19836         (PropertyChangeHandler.propertyChange): Added variable 'name', added
19837         cases to update field 'active'.
19838         (mouseDragged): Added documentation, added if-clause to update
19839         selection or caret position.
19840         (mouseClicked): Added early return when text component is disabled.
19841         (focusGained): Moved statements into an if-clause.
19842         (focusLost): Added subexpression to if-clause.
19843         (install): Preset value of 'active'.
19844         (paint): Added subexpression to if-clause.
19845         (isVisible): Extended return expression.
19846         * javax/swing/text/JTextComponent.java:
19847         (copy): Copy only if component is enabled.
19848         (cut): Cut only if component is enabled and editable.
19849         (paste): Dito.
19850
19851 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19852
19853         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
19854         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
19855         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
19856         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
19857         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
19858         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
19859         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
19860
19861 2006-05-11  Roman Kennke <kennke@aicas.com>
19862
19863         * gnu/java/awt/font/GNUGlyphVector.java
19864         (GNUGlyphVector): Don't apply the font renderer context's
19865         transform.
19866   
19867 2006-05-11  Mark Wielaard  <mark@klomp.org>
19868
19869         * java/util/logging/Logger.java (global): Initialize inside static
19870         PrivilegedAction.
19871
19872 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19873   
19874         * javax/swing/JFrame.java
19875         (EXIT_ON_CLOSE): Added note to API docs,
19876         (close_action): Renamed closeAction,
19877         (JFrame()): Change title to "",
19878         (JFrame(String)): Added API docs,
19879         (getAccessibleContext): Likewise,
19880         (getDefaultCloseOperation): Updated for renamed field, added API docs,
19881         (processWindowEvent): Updated for renamed field,
19882         (setDefaultCloseOperation): Likewise, and updated API docs.
19883   
19884 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19885   
19886         * javax/swing/JFrame.java
19887         (paramString): Reimplemented,
19888         * javax/swing/SwingUtilities.java
19889         (convertWindowConstantToString): New method.
19890   
19891 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19892   
19893         * javax/swing/WindowConstants.java: Updated API docs.
19894   
19895 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19896   
19897         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
19898         (createUI): Removed 'final' qualifier for parameter,
19899         (paint): Reformatted.
19900   
19901 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19902   
19903         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
19904         (createUI): Removed 'final' qualifier on method argument.
19905   
19906 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19907   
19908         * javax/swing/plaf/basic/BasicCheckBoxUI.java
19909         (getDefaultIcon): Removed this redundant method.
19910
19911 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19912
19913         * javax/swing/plaf/basic/BasicRadioButtonUI.java
19914         (paint): Pass component size to paintFocus().
19915
19916 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19917
19918         * java/awt/Component.java:
19919         (dispatchEventImpl): Added comment.
19920   
19921   2006-05-11  Mark Wielaard  <mark@klomp.org>
19922   
19923         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
19924         Option constructor null argument to String.
19925   
19926 2006-05-11  Mark Wielaard  <mark@klomp.org>
19927
19928         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
19929         Fully qualify PathIterator constants
19930
19931 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
19932
19933         * java/awt/Component.java:
19934         (dispatchEventImpl): Added subexpression to if-clause.  
19935
19936 2006-05-11  Mark Wielaard  <mark@klomp.org>
19937
19938         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
19939         Map.Entry.
19940
19941 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19942
19943         * javax/swing/TransferHandler.java: Marked stub methods.
19944
19945 2006-05-10  Roman Kennke <kennke@aicas.com>
19946
19947         PR classpath/27481
19948         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19949         (installDefaults): Set background of content pane to null, if
19950         no custom color has been installed by the application yet.
19951
19952 2006-05-10  Roman Kennke <kennke@aicas.com>
19953
19954         PR classpath/27481
19955         * javax/swing/JRootPane.java
19956         (createContentPane): Don't set background to null.
19957
19958 2006-05-10  Sven de Marothy <sven@physto.se>
19959
19960         * java/awt/print/PrinterJob.java:
19961         (lookupPrintServices): Un-comment-out.
19962
19963 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
19964
19965         * tools/gnu/classpath/tools/getopt/OptionGroup.java
19966         (FILLER): New constant.
19967         (formatText(PrintStream,String,int)): New method.
19968         (formatText(PrintStream,String,int,Locale)): Likewise.
19969         (printHelp): Use formatText method.
19970         * tools/gnu/classpath/tools/getopt/Parser.java
19971         (MAX_LINE_LENGTH): New constant.
19972         (formatText(PrintStream,String)): New method.
19973         (formatText(PrintStream,String,Locale)): Likewise.
19974         (printHelp): New method.
19975         (printHelp(PrintStream)): Increased visibility to protected.
19976         Use formatText method.
19977
19978 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
19979
19980         * javax/swing/plaf/metal/MetalRadioButtonUI.java
19981         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
19982         modify the lookup key.
19983
19984 2006-05-10  Lillian Angel  <langel@redhat.com>
19985
19986         * java/util/SimpleTimeZone.java: Reverted patch.
19987         (SimpleTimeZone): Throw exception if startMonth == 
19988         endMonth.
19989         (SimpleTimeZone): Likewise.
19990         (checkRule): Rewritten to properly check all values (more 
19991         efficently).
19992         This code is now more stable, at least less buggy than before. 
19993         Fixed API documentation.
19994         (setStartRule): Moved checkRule call to end.
19995         (setStartRule): Likewise.
19996         (setEndRule): Likewise.
19997         (setEndRule): Likewise.
19998
19999 2006-05-10  Roman Kennke <kennke@aicas.com>
20000
20001         * gnu/java/awt/peer/swing/SwingComponent.java:
20002         Some API comment fixlets.
20003         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20004         (createImage): Create a BufferedImage, not a Toolkit image.
20005         (paint): Removed bogus API comment.
20006         (prepareImage): Added checks to avoid NPE.
20007         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20008         (getInsets): Added check to avoid NPE.
20009         (handleMouseEvent): Added check to avoid NPE.
20010         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20011         Some API comment fixlets.
20012         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20013         Some API comment fixlets.
20014         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20015         Changed start_pos name to startPos.
20016         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20017         Some API comment fixlets.
20018
20019 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20020
20021         * java/awt/BasicStroke.java
20022         (equals): Fixed typo in HTML tag for API doc comment.
20023
20024 2006-05-10  Gary Benson  <gbenson@redhat.com>
20025
20026         * java/lang/ThreadGroup.java (parent): Make package-private.
20027         * java/lang/SecurityManager.java (checkAccess(Thread)):
20028         Reference ThreadGroup.parent directly to avoid extra checks.
20029         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20030         Likewise.
20031
20032 2006-05-10  Roman Kennke <kennke@aicas.com>
20033
20034         Reported by Ingo Proetel (proetel@aicas.com)
20035         * java/awt/EventDispatchThread.java
20036         (DEFAULT_PRIORITY): New constant field.
20037         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20038         system property for adjusting the priority of the event
20039         dispatch thread.
20040
20041 2006-05-10  Roman Kennke <kennke@aicas.com>
20042
20043         Reported by Ingo Proetel (proetel@aicas.com)
20044         * java/awt/image/ColorModel.java
20045         (S_RGB_MODEL): New constant field.
20046         (getRGBDefault): Return constant SRGBColorModel.
20047         (SRGBColorModel): Specialized color model for sRGB.
20048
20049 2006-05-10  Roman Kennke <kennke@aicas.com>
20050
20051         * java/awt/ColorPaintContext.java
20052         (getRaster): Create Raster with (0,0) as source location.
20053
20054 2006-05-10  Roman Kennke <kennke@aicas.com>
20055
20056         * gnu/java/awt/java2d/AlphaCompositeContext.java
20057         (compose): Don't premultiply alpha to alpha itself.
20058
20059 2006-05-10  Roman Kennke <kennke@aicas.com>
20060
20061         * gnu/java/awt/java2d/AbstractGraphics2D.java
20062         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20063         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20064         New method.
20065         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20066         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20067         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20068         New method.
20069         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20070         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20071         New method.
20072         (scale): Inverse transform by doing 1/scale instead of -scale.
20073         (drawImage(Image,int,int,ImageObserver)): Implemented.
20074         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20075         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20076         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20077         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20078         Implemented.
20079         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20080         Implemented.
20081         (fillScanline): Work on translated destination raster for
20082         correct compositin.
20083         (init): Fetch the clip after the destination raster is initialized.
20084         * gnu/java/awt/java2d/ImagePaint.java: New file.
20085         * gnu/java/awt/java2d/RasterGraphics
20086         (drawImage): Removed.
20087
20088 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20089
20090         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20091         Clarify option descriptions.
20092         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20093         uppercase for metasyntactic variables.
20094
20095 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20096
20097         PR classpath/24216
20098         * javax/swing/text/AbstractDocument.java:
20099         (insertString): Added more documentation, added argument check.
20100         (remove): Added more documentation.
20101         (removeImpl): Added argument check.
20102         (replace): Added more documentation, added argument check.
20103
20104 2006-05-09  Tom Tromey  <tromey@redhat.com>
20105
20106         * tools/.cvsignore: Added appletviewer.
20107
20108 2006-05-09  Tom Tromey  <tromey@redhat.com>
20109
20110         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20111         empty groups.
20112
20113 2006-05-09  Tom Tromey  <tromey@redhat.com>
20114
20115         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20116         Special case for '-J'.  Use space instead of '='.
20117         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20118         comment.
20119
20120 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20121
20122         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20123         for plugin support headers and libraries.
20124         * native/Makefile.am: Recurse into plugin directory.
20125         * native/plugin/.cvsignore: New file.
20126         * native/plugin/Makefile.am: New file.
20127         * native/plugin/gcjwebplugin.cc: New file.
20128         * tools/Makefile.am: Install appletviewer wrapper script.
20129         * tools/appletviewer.in: Replace VM location heuristic with
20130         VM_BINARY configure substitution.
20131
20132 2006-05-09  Tom Tromey  <tromey@redhat.com>
20133
20134         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20135         an initial pass to look for short options.  Added 'longOnly' option.
20136         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20137         option.
20138         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20139         options into final group.  Added -J.
20140         (add): Insert new groups before final group.
20141         (printHelp): Updated.
20142
20143 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20144
20145         PR 27518
20146         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20147         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20148         Expect -classpath option.
20149         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20150         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20151         -classpath option.
20152         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20153         (classLoader): New field. (loadClass, setClassPath):
20154         New methods.
20155
20156 2006-05-09  Roman Kennke <kennke@aicas.com>
20157
20158         * gnu/java/awt/java2d/RasterGraphics.java
20159         (RasterGraphics): Call init() and super().
20160         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20161         this.
20162
20163 2006-05-09  Gary Benson  <gbenson@redhat.com>
20164
20165         * java/lang/Thread.java (Thread): Always perform threadgroup
20166         access checks on thread creation.
20167
20168 2006-05-09  Chris Burdess  <dog@gnu.org>
20169
20170         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20171           be preserved during cloneNode.
20172
20173 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20174
20175         PR 27517
20176         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20177         Do not demand all thrown exceptions to be an instance of RemoteException.
20178
20179 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20180
20181         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20182         Use hash-style comments.
20183         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20184         Likewise.
20185
20186 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20187
20188         * javax/swing/JLabel.java
20189         (paramString): Added more attribute details,
20190         * javax/swing/SwingUtilities.java
20191         (convertHorizontalAlignmentCodeToString): New method,
20192         (convertVerticalAlignmentCodeToString): New method.
20193
20194 2006-05-08  Tom Tromey  <tromey@redhat.com>
20195
20196         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20197         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20198         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20199         ZipInputStream.
20200         (run): Updated.
20201         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20202         for verbose.
20203         (run): Use ZipInputStream.
20204         (initSet): New method.
20205         (shouldExtract): Likewise.
20206         (run): Use new methods.
20207         * tools/gnu/classpath/tools/jar/Creator.java
20208         (writeCommandLineEntries): New overload.
20209         (writeFile): Use System.err for verbose.
20210         (writeManifest): New method.
20211         (writtenItems): New field.
20212         (writeFile): Update it.
20213         (writeCommandLineEntries): Return void.  Call writeManifest.
20214         (addEntries): Don't add extra '/'.
20215         * NEWS: Mention jar.
20216
20217 2006-05-08  Lillian Angel  <langel@redhat.com>
20218
20219         * gnu/java/net/IndexListParser.java: New class.
20220         * java/net/URLClassLoader.java
20221         (JarURLLoader): Fixed code to use new class.
20222
20223 2006-05-08  Roman Kennke <kennke@aicas.com>
20224
20225         * javax/swing/JComboBox.java
20226         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20227         (AccessibleJComboBox.getAccessibleChild): Implemented.
20228         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20229         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20230         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20231         (AccessibleJComboBox.getAccessibleAction): Implemented.
20232         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20233         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20234         (AccessibleJComboBox.doAccessibleAction): Implemented.
20235         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20236         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20237         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20238         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20239         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20240
20241 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20242
20243         * configure.ac: Add support for building appletviewer.
20244         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20245         New file.
20246         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20247         New file.
20248         * tools/appletviewer.c: New file.
20249         * tools/appletviewer.in: New file.
20250         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20251         New file.
20252         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20253         New file.
20254         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20255         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20256         file.
20257         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20258         New file.
20259         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20260         New file.
20261         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20262         file.
20263         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20264         file.
20265         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20266         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20267         New file.
20268         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20269         New file.
20270         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20271         New file.
20272         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20273         New file.
20274         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20275         New file.
20276         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20277         New file.
20278         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20279         file.
20280
20281 2006-05-08  Tom Tromey  <tromey@redhat.com>
20282
20283         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20284         * tools/gnu/classpath/tools/jar/Action.java: New file.
20285         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20286         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20287         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20288         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20289         * tools/gnu/classpath/tools/jar/Main.java: New file.
20290         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20291         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20292         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20293         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20294         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20295         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20296         file.
20297
20298 2006-05-08  Lillian Angel  <langel@redhat.com>
20299
20300         * java/net/URLClassLoader.java
20301         (JarURLLoader): Added check to make sure the INDEX.LIST file
20302         exists.
20303
20304 2006-05-08  Roman Kennke <kennke@aicas.com>
20305
20306         * gnu/java/awt/java2d/AbstractGraphics2D.java
20307         (fill): Removed commented out code.
20308         (fillShape): Also determine the outline of the clip and feed
20309         it into the rendering method. Use new helper method for
20310         converting the shapes into lists of segments.
20311         (getUserBounds): Removed obsolete method.
20312         (rawFillShape): Respect the clip when rendering shapes.
20313         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20314         However, the implementation can't clip still.
20315         (getSegments): New helper method for converting a shape into
20316         a list of segments.
20317         (clipShape): Removed obsolete method.
20318         * gnu/java/awt/java2d/PolyEdge.java
20319         (isClip): New field.
20320         (PolyEdge): Added isField argument to constructor.
20321
20322 2006-05-08  Roman Kennke <kennke@aicas.com>
20323
20324         PR 27481
20325         * javax/swing/JRootPane.java
20326         (createContentPane): Set background of the content pane to null,
20327         so that the content pane inherits its background from the
20328         root pane.
20329
20330 2006-05-08  Roman Kennke <kennke@aicas.com>
20331
20332         PR 27480
20333         * javax/swing/ButtonGroup.java
20334         (add): Check if new button is selected and if so, deselect other
20335         buttons in the group.
20336
20337 2006-05-08  Lillian Angel  <langel@redhat.com>
20338
20339         PR 27444
20340         * java/net/URLClassLoader.java
20341         (JarURLLoader): Added code to go through 
20342         META-INF/INDEX.LIST file to load all jars listed.
20343
20344 2006-05-08  Roman Kennke <kennke@aicas.com>
20345
20346         PR 27461
20347         * javax/swing/ImageIcon.java
20348         (ImageIcon(URL)): Set description to URL.toString().
20349
20350 2006-05-08  Roman Kennke <kennke@aicas.com>
20351
20352         PR 27482
20353         * javax/swing/JTable.java
20354         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20355         null when cell value is null.
20356
20357 2006-05-08  Roman Kennke <kennke@aicas.com>
20358
20359         PR 27484
20360         * javax/swing/DefaultDesktopManager.java
20361         (closeFrame): Don't perform default close action on the frame
20362         to prevent endless loop.
20363
20364 2006-05-08  Roman Kennke <kennke@aicas.com>
20365
20366         PR 27485
20367         * javax/swing/table/DefaultTableModel.java
20368         (addExtraRows): New helper method.
20369         (checkSize): New helper method.
20370         (setRowCount): Use addExtraRows helper method.
20371         (addColumn): Use addExtraRows helper method.
20372         (getColumnName): Check and adjust size if necessary using
20373         checkSize().
20374
20375 2006-05-08  Roman Kennke <kennke@aicas.com>
20376
20377         PR 27486
20378         * javax/swing/JTable.java
20379         (setValueAt): Allow setting values even when table is editable.
20380
20381 2006-05-08  Tom Tromey  <tromey@redhat.com>
20382
20383         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20384         space to error message.
20385
20386 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20387
20388         * javax/swing/AbstractButton.java: Fixed comment typos.
20389
20390 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20391
20392         PR classpath/27435:
20393         * java/util/zip/DeflaterEngine.java:
20394         (deflateFast(boolean,boolean)): Empty buffer when full.
20395         
20396 2006-05-07  Sven de Marothy <sven@physto.se>
20397
20398         Fixed PR27343
20399         * java/util/Calendar.java (setTimeZone): Force recalculation.
20400         
20401 2006-05-07  Sven de Marothy <sven@physto.se>
20402
20403         Fixed PR27463
20404         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20405         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20406         
20407 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20408
20409         PR classpath/27311:
20410         * gnu/java/text/StringFormatBuffer.java:
20411         (toString()): Implemented so we can see the contents.
20412         * java/text/DecimalFormat.java:
20413         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20414         Don't calculate the exponent when the number is 0 or less.
20415         Also, use log10 instead of log now it's available.
20416         
20417 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20418
20419         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20420         Use instance's field creationDate not the constructor's argument.
20421         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20422         Removed unused imports.
20423         Sorted imports.
20424         (log): New field.
20425         (decrypt): Added trace/debug/timing statements.
20426         (encrypt): Likewise.
20427         Use PRNG instead of instantiating every time a new SecureRandom.
20428         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20429         Removed unused imports.
20430         Sorted imports.
20431         (log): New field.
20432         (verify): Added trace/debug/timing statements.
20433         (authenticate): Likewise.
20434         Use PRNG instead of instantiating every time a new SecureRandom.
20435
20436 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20437
20438         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20439         (THREAD_FORMAT): Likewise.
20440         (dateFormat): Added field.
20441         (threadFormat): Added field.
20442         (format): Initialize instance fields if null.
20443         Use StringBuilder instead of StringBuffer.
20444
20445 2006-05-07  Roman Kennke <kennke@aicas.com>
20446
20447         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20448
20449 2006-05-07  Roman Kennke <kennke@aicas.com>
20450
20451         * gnu/java/awt/java2d/AbstractGraphics2D.java
20452         (fillShape): Determine user space bounds of shape and feed them
20453         into the actual rendering pipeline.
20454         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20455         (rawSetForeground): Likewise.
20456         (getDestinationColorModel): Removed.
20457         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20458         (rawFillShape): Handle paint context.
20459         (fillScanline): Implement painting and compositing.
20460         (fillShapeAntialias): Handle paint context.
20461         (fillScanlineAA): Implemented preliminary antialiasing based on
20462         composite context. Not working yet.
20463         (fillScanlineAlpha): Removed.
20464         (init): Fetch destination raster.
20465         (getDestinationRaster): New abstract method.
20466         (updateRaster): New backend method.
20467
20468 2006-05-07  Roman Kennke <kennke@aicas.com>
20469
20470         * gnu/java/awt/java2d/AlphaCompositeContext.java
20471         (compose): Fixed loops, conditions and logic to make compositing
20472         work correctly.
20473
20474 2006-05-07  Roman Kennke <kennke@aicas.com>
20475
20476         * java/awt/ColorPaintContext.java
20477         (ColorPaintContext): Fixed filling of the raster.
20478
20479 2006-05-07  Sven de Marothy <sven@physto.se>
20480
20481         Fixed PR27455
20482         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20483         * java/awt/Component.java (processMouseEvent): 
20484         Do lightweight cursor handling.
20485         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20486         (endResizing,mouseMoved): Save and reset original cursor, not the 
20487         default one.
20488
20489 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20490
20491         PR 27298
20492         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20493         getNodeDimensions): Mind the size of the node icon. (getRowX):
20494         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20495         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20496         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20497         (installDefaults): assign totalChildIndent. (installUI): Call
20498         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20499         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20500         the tree.
20501
20502 2006-05-06  Sven de Marothy <sven@physto.se>
20503
20504         Fixed PR27454
20505         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20506         Check for zero image sizes.
20507         
20508 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20509
20510         Fixed PR27362
20511         * java/util/Calendar.java (clear(int)): Forced internal state
20512         completion before performing a field clearing.
20513
20514 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20515
20516         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20517         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20518         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20519         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20520         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20521         UnmodifiableMapEntry as part of their return value. 
20522
20523 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20524
20525         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20526         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20527         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20528         Generate jarsigner and keytool scripts.
20529         * tools/keytool.in: New file (renamed from keytool.sh.in).
20530         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20531         * tools/.cvsignore: Replaced *.sh with *
20532         * configure.ac: Replaced tools/*.sh with tools/*.
20533
20534 2006-05-05  Roman Kennke <kennke@aicas.com>
20535
20536         * java/awt/image/ColorModel.java
20537         (getNormalizedComponents): Implemented.
20538
20539 2006-05-05  Roman Kennke <kennke@aicas.com>
20540
20541         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20542         (paint): Query the button model for it's state, not the
20543         button itself.
20544
20545 2006-05-05  Roman Kennke <kennke@aicas.com>
20546
20547         * javax/swing/JTable.java
20548         (tableChanged): Sync selection model with table model changes.
20549
20550 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20551
20552         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20553         if there are no visible nodes to paint.
20554
20555 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20556
20557         * javax/swing/JOptionPane.java: API doc updates.
20558
20559 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20560
20561         * javax/swing/JToolBar.java
20562         (paramString): Reimplemented.
20563
20564 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20565
20566         * javax/swing/JScrollBar.java
20567         (paramString): Reimplemented.
20568
20569 2006-05-04  Tom Tromey  <tromey@redhat.com>
20570
20571         PR classpath/27375:
20572         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20573         (readEntries): Updated.
20574         (getEntries): Likewise.
20575         (getEntry): Likewise.
20576         (getInputStream): Likewise.
20577
20578 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20579
20580         * gnu/javax/imageio/jpeg/DCT.java,
20581         gnu/javax/imageio/jpeg/HuffmanTable.java,
20582         gnu/javax/imageio/jpeg/JPEGComponent.java,
20583         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20584         gnu/javax/imageio/jpeg/JPEGException.java,
20585         gnu/javax/imageio/jpeg/JPEGFrame.java,
20586         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20587         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20588         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20589         gnu/javax/imageio/jpeg/JPEGMarker.java,
20590         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20591         gnu/javax/imageio/jpeg/JPEGScan.java,
20592         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20593         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20594
20595 2006-05-04  Lillian Angel  <langel@redhat.com>
20596
20597         * javax/swing/JLabel.java
20598         (JLabel): Pass in an empty string for the text parameter.
20599         (JLabel): Likewise.
20600         (JLabel): Likewise.
20601
20602 2006-05-04  Roman Kennke <kennke@aicas.com>
20603
20604         * javax/swing/plaf/basic/BasicButtonListener.java
20605         (mouseEntered): Fixed conditions for changing states.
20606
20607 2006-05-04  Roman Kennke <kennke@aicas.com>
20608
20609         * javax/swing/JOptionPane.java
20610         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20611
20612 2006-05-04  Roman Kennke <kennke@aicas.com>
20613
20614         * javax/swing/JLabel.java
20615         (AccessibleJLabel.getSelectedText): Return null instead of "".
20616         (AccessibleJLabel.getSelectionStart): Added comment why
20617         return -1 is correct here.
20618         (AccessibleJLabel.getSelectionEnd): Added comment why
20619         return -1 is correct here.
20620         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20621         to do here.
20622         (AccessibleJLabel.getCharCount): Added comment about what
20623         to do here.
20624         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20625         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20626         (paramString): Return super.paramString() here, this provides
20627         a more meaningful output.
20628
20629 2006-05-04  Roman Kennke <kennke@aicas.com>
20630
20631         * javax/swing/JComponent.java
20632         (paint): Added null check to avoid NPE when clip == null.
20633
20634 2006-05-04  Roman Kennke <kennke@aicas.com>
20635
20636         * javax/swing/AbstractButton.java
20637         (addImpl): New method. Installs an OverlayLayout if no
20638         other layout has been installed before.
20639         (setLayout): New method. Detect if a client app installs a custom
20640         layout.
20641
20642 2006-05-04  Roman Kennke <kennke@aicas.com>
20643
20644         * javax/swing/table/DefaultTableCellRenderer.java
20645         (noFocusBorder): Fixed width of empty border to 1.
20646         (getTableCellRendererComponent): Don't change the colors for
20647         focuses cells. Fixed border for focused cells.
20648
20649 2006-05-04  Roman Kennke <kennke@aicas.com>
20650
20651         * javax/swing/JTable.java
20652         (moveToCellBeingEdited): Adjust bounding box of editing component
20653         to exactly cover the grid.
20654         * javax/swing/plaf/basic/BasicTableUI.java
20655         (paint): Paint grid to the bottom and right of the cells instead
20656         of left and top. Adjust bounding box of cells accordingly.
20657         * javax/swing/plaf/metal/MetalLookAndFeel.java
20658         (initComponentDefaults): Fixed color of JTable selection border.
20659         * javax/swing/plaf/metal/OceanTheme.java
20660         (addCustomEntriesToTable): Fixed color of JTable selection border.
20661
20662 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20663
20664         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20665         Use _alias instead of alias.
20666
20667 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20668
20669         * configure.ac:
20670         Set version to 0.92-pre.
20671         * NEWS:
20672         Add space for 0.92 entries.
20673
20674 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20675
20676         * include/Makefile.am:
20677         Added rules for gnu.java.net.local.LocalSocketImpl.h
20678         * include/java_lang_VMSystem.h:
20679         Regenerated correctly.
20680         
20681 2006-05-03  Sven de Marothy <sven@physto.se>
20682        
20683         PR 24023, 24701
20684         * java/awt/Image.java:
20685         (getScaledInstance): Default to AreaAveraging for "smooth", 
20686         don't thrown an error on illegal flag values.
20687         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20688
20689 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20690
20691         * javax/swing/text/FieldView.java:
20692         (adjustAllocation): Added if-block to return null when shape argument
20693         is null.
20694         * javax/swing/text/PlainView.java:
20695         (updateDamage): Added if-block to return early if a is null.
20696
20697 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20698
20699         * javax/swing/plaf/basic/BasicTextUI.java:
20700         (changeUpdate): Added note.
20701         (removeUpdate): Dito.
20702         (insertUpdate): Dito.
20703         (damageRange): Added if-block to return early.
20704         (modelToView): Added check of getVisibleEditorRect's return value.
20705         (getVisibleEditorRect): Return null instead of empty rectangle.
20706         * javax/swing/text/DefaultCaret.java:
20707         (clearHighlight): Removed if-clause to create a highlight entry if it
20708         did not exist before.
20709         * javax/swing/text/WrappedPlainView.java:
20710         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20711         removed 2nd part of if-expression.
20712         (WrappedLine.updateDamage): Added more documentation, added check
20713         whether allocation area rectangle is null.
20714
20715 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20716
20717         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20718         Reset to preferred sizes if the argument is negative.
20719
20720 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20721
20722         * javax/swing/JList.java: Added/updated API docs.
20723
20724 2006-05-03  Lillian Angel  <langel@redhat.com>
20725
20726         * javax/swing/JComponent.java
20727         (getRoot): New private function. Gets the root appropriate
20728         for painting. If an applet exists as a parent, then it is returned.
20729         (paintDoubleBuffered): Changed to use new function.
20730         * javax/swing/RepaintManager.java
20731         (getRoot): New private function. Gets the root appropriate
20732         for painting. If an applet exists as a parent, then it is returned.
20733         (getOffscreenBuffer): Changed to use new function.
20734         * javax/swing/SwingUtilties.java
20735         (getRoot): Reverted last patch to return Window, even if 
20736         an Applet exists.
20737
20738 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20739
20740         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20741         a pair of one public keyring and one private keyring.
20742         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20743         (containsCertificate): Added logging.
20744         (getCertificate): Likewise.
20745         (putCertificate): Likewsie.
20746         (load): Likewise.
20747         (store): Likewise.
20748         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20749         (containsPrivateKey): Added logging.
20750         (getPrivateKey): Likewise.
20751         (putPrivateKey): Likewise.
20752         (containsPublicKey): Likewise.
20753         (getPublicKey): Likewise.
20754         (putPublicKey): Likewise.
20755         (containsCertPath): Likewise.
20756         (getCertPath): Likewise.
20757         (putCertPath): Likewise.
20758         (load): Likewise.
20759         (store): Likewise.
20760
20761 2006-05-03  Roman Kennke <kennke@aicas.com>
20762
20763         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20764         * java/awt/AlphaComposite.java
20765         (createContext): Implemented.
20766
20767 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20768
20769         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20770         Set the current color again after drawing the raster.
20771
20772 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20773
20774         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20775         Do not check pos < currLineEnd if currLineStart == currLineEnd.
20776
20777 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20778
20779         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20780         Assign returned value to field handler.
20781         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20782         Likewise.
20783
20784 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20785
20786         * javax/swing/ScrollPaneLayout.java (layoutContainer):
20787         Return without action if there is no view in the viewport.
20788         * javax/swing/text/WrappedPlainView.java 
20789         (WrappedLine.getPreferredSpan): If metrics == null, update
20790         metrics.
20791         * javax/swing/tree/DefaultTreeModel.java (constructors):
20792         Do not call setRoot, assign the root node directly.
20793
20794 2006-05-02  Lillian Angel  <langel@redhat.com>
20795
20796         * javax/swing/SwingUtilities.java
20797         (getRoot): Should return the Applet if it exists.
20798         Only return the Window if an Applet has not been
20799         encountered.
20800
20801 2006-05-02  Lillian Angel  <langel@redhat.com>
20802
20803         * gnu/javax/swing/text/html/parser/support/Parser.java
20804         (readAttributes): Reverted Audrius' last patch. There is 
20805         a slight difference in code between the NUMTOKEN and SLASH case. 
20806
20807 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20808
20809         * javax/swing/text/JTextComponent.java:
20810         (setText): Throw InternalError from catch-block.
20811         * javax/swing/text/GapContent.java:
20812         (removed): Removed if-expression, changed '>' to '>='.
20813
20814 2006-05-02  Roman Kennke <kennke@aicas.com>
20815
20816         * gnu/java/awt/java2d/AbstractGraphics2D.java
20817         (AA_SAMPLING): New constant.
20818         (alpha): New field. Used in the antialiasing renderer.
20819         (edgeTable): New field. Used in the antialiasing renderer.
20820         (AbstractGraphics2D): Initialize rendering hints wrt
20821         anti-aliasing.
20822         (draw): Clip after stroking. Commented out clipping for now,
20823         it seems to be buggy.
20824         (fill): Commented out clipping for now, it seems to be buggy.
20825         (setComposite): Don't create composite context.
20826         (setPaint): Only change paint when parameter is not null.
20827         (translate): Call setClip() so subclasses can update their clip
20828         too.
20829         (clip): Call setClip() so subclasses can update their clip
20830         too.
20831         (drawGlyphVector): Added clipping, but left it commented out
20832         because it's buggy.
20833         (getClipBounds): Returns null when clip is null.
20834         (drawLine): Call rawDrawLine with translation applied.
20835         (filLRect): Call rawFillRect with translation applied.
20836         (fillShape): Added support for anti-aliasing.
20837         (rawSetForeground(int,int,int)): New method.
20838         (rawFillShape): A couple of painting fixes.
20839         (fillScanline): Implemented to call rawDrawLine.
20840         (fillShapeAntialias): New method. Implements an anti-aliasing
20841         shape filler.
20842         (fillScanlineAA): New method. Used for the anti-aliasing
20843         shape filler.
20844         (fillScanlineAlpha): New method. Used for the anti-aliasing
20845         shape filler.
20846         (init): Initialize clip with the device bounds.
20847         (updateOptimization): Fixed the optimization condition.
20848
20849 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20850
20851         * javax/swing/text/GapContent.java:
20852         (GapContent): Restrict size argument by 2.
20853         (insertString): Changed expression from >= to >.
20854         (remove): Changed right side of expression to 'length - 1', changed
20855         exception message.
20856         (getChars): Throw exception if where below 0.
20857         (replace): Replaced call to setPositionsInRange() with
20858         resetMarksAtZero(), removed note.
20859
20860 2006-05-02  Roman Kennke <kennke@aicas.com>
20861
20862         PR 27326
20863         * javax/swing/MenuSelectionManager.java
20864         (setSelectedPath): Rewritten.
20865
20866 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20867
20868         * gnu/javax/swing/text/html/parser/support/Parser.java
20869         (readAttributes): Merge case NUMTOKEN: and case SLASH:
20870         sections.
20871
20872 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20873
20874         * tools/.cvsignore: Added keytool.sh.
20875         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
20876
20877 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20878
20879         * doc/tools.texinfo: New file.
20880         * doc/Makefile.am: Generate tools documentation.
20881
20882 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20883
20884         * tools/keytool.sh.in: New file.
20885         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20886         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
20887         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
20888         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
20889         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
20890         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20891         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
20892         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20893         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
20894         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
20895         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
20896         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
20897         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20898         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20899         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
20900         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
20901         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
20902         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
20903
20904 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20905
20906         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
20907         resemble more closely man-page style text.
20908         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
20909         Mark (Eclipse) strings that need not be externalised.
20910         (writeSF): Likewise.
20911         (writeDSA): Likewise.
20912         Use package-private Messages class to provide i18n-ready strings.
20913         (startSigning):
20914         Use package-private Messages class to provide i18n-ready strings.
20915         (updateEntry): Likewise.
20916         Mark (Eclipse) strings that need not be externalised.
20917         (finishSigning): Likewise.
20918         * tools/gnu/classpath/tools/jarsigner/Main.java:
20919         Mark (Eclipse) strings that need not be externalised.
20920         (main): Do not use constant strings as class name.
20921         Use package-private Messages class to provide i18n-ready strings.
20922         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20923         (processArgs): Do not use constant strings as class name.
20924         Mark (Eclipse) strings that need not be externalised.
20925         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20926         (start): Do not use constant strings as class name.
20927         (teardown): Likewise.
20928         Use ProviderUtil.
20929         (setupCommonParams): Do not use constant strings as class name.
20930         Use package-private Messages class to provide i18n-ready strings.
20931         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20932         (installNewProvider): Do not use constant strings as class name.
20933         Use ProviderUtil.
20934         (setupSigningParams): Do not use constant strings as class name.
20935         Use package-private Messages class to provide i18n-ready strings.
20936         Mark (Eclipse) strings that need not be externalised.
20937         (getCallbackHandler): Use CallbackUtil.
20938         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20939         Use package-private Messages class to provide i18n-ready strings.
20940         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
20941         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
20942         (verifySF): Likewise.
20943         (verifySFEntries): Do not use constant strings as class name.
20944         Use Boolean.valueOf instead of new Boolean().
20945         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
20946         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20947         New file.
20948         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
20949         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
20950
20951 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
20952
20953         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
20954         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
20955         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
20956
20957 2006-05-01  Tom Tromey  <tromey@redhat.com>
20958
20959         * java/nio/ByteBufferImpl.java (compact): Don't reset position
20960         in empty case.
20961         * gnu/java/nio/ChannelReader.java (read): Synchronize.
20962         (close): Synchronize.
20963         * java/nio/ShortBufferImpl.java (compact): Rewrote.
20964         * java/nio/LongBufferImpl.java (compact): Rewrote.
20965         * java/nio/IntBufferImpl.java (compact): Rewrote.
20966         * java/nio/FloatBufferImpl.java (compact): Rewrote.
20967         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
20968         * java/nio/CharBufferImpl.java (compact): Rewrote.
20969         * gnu/java/nio/ChannelWriter.java: New file.
20970         * java/nio/channels/Channels.java (newWriter): Implemented.
20971
20972 2006-05-01  Lillian Angel  <langel@redhat.com>
20973
20974         * java/util/SimpleTimeZone.java
20975         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
20976         (SimpleTimeZone): Likewise.
20977         (checkRule): Rewritten to properly check all values (more efficently). 
20978         This code is now more stable, at least less buggy than before. Fixed
20979         API documentation.
20980         (setStartRule): Moved checkRule call to end.
20981         (setStartRule): Likewise.
20982         (setEndRule): Likewise.
20983         (setEndRule): Likewise.
20984
20985 2006-05-01  Tom Tromey  <tromey@redhat.com>
20986
20987         * lib/.cvsignore: Added classes.2.
20988
20989 2006-05-01  Tom Tromey  <tromey@redhat.com>
20990
20991         * java/util/jar/JarFile.java (provider): Now package-private.
20992         * java/lang/Enum.java (compareTo): Javadoc fix.
20993         * java/lang/Boolean.java (compareTo): Javadoc fix.
20994
20995 2006-05-01  Lillian Angel  <langel@redhat.com>
20996
20997         * gnu/javax/swing/text/html/parser/support/Parser.java
20998         (readAttributes): Formatted function. Added handling for 
20999         SLASH token. The value of an attribute may start with a slash
21000         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21001         We should not be skipping over these type of attributes.
21002
21003 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21004
21005         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21006         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21007         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21008         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21009         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21010         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21011         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21012         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21013         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21014         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21015         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21016         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21017         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21018         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21019         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21020         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21021         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21022         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21023         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21024         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21025         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21026         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21027         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21028         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21029         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21030         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21031         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21032         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21033         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21034         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21035         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21036         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21037         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21038         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21039         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21040         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21041         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21042         * include/gnu_java_awt_peer_qt_QMatrix.h,
21043         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21044         * include/gnu_java_awt_peer_qt_QPen.h,
21045         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21046         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21047         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21048         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21049         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21050         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21051         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21052         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21053         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21054         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21055         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21056         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21057         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21058         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21059         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21060         * include/gnu_java_awt_peer_qt_QtImage.h,
21061         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21062         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21063         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21064         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21065         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21066         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21067         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21068         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21069         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21070         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21071         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21072         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21073         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21074         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21075         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21076         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21077         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21078         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21079         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21080         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21081         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21082         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21083         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21084         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21085         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21086         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21087         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21088         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21089         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21090         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21091         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21092         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21093         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21094         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21095         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21096         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21097         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21098         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21099         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21100         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21101         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21102         * include/java_lang_VMProcess.h:
21103         Regenerated.
21104         * native/jni/java-lang/java_lang_VMProcess.c:
21105         Redirect when pipe_count is 2 not 3.    
21106
21107 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21108
21109         * gnu/java/awt/font/FontDelegate.java,
21110         * gnu/java/awt/font/FontFactory.java,
21111         * gnu/java/awt/font/GNUGlyphVector.java,
21112         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21113         * gnu/java/awt/font/opentype/GlyphNamer.java,
21114         * gnu/java/awt/font/opentype/MacResourceFork.java,
21115         * gnu/java/awt/font/opentype/NameDecoder.java,
21116         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21117         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21118         * gnu/java/awt/font/opentype/Scaler.java,
21119         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21120         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21121         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21122         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21123         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21124         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21125         * gnu/java/awt/font/opentype/truetype/Zone.java,
21126         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21127         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21128         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21129         New files. Imported font framework from:
21130         http://www.brawer.ch/software/fonts/
21131
21132 2006-04-30  Roman Kennke <kennke@aicas.com>
21133
21134         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21135         (lastTabInRun): Fix calculation of the last tab in a run. This
21136         has caused painting problems sometimes, making the
21137         last tab painted incorrectly.
21138
21139 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21140
21141         PR 27297
21142         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21143         Use for and not while to prevent the endless loop.
21144
21145 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21146
21147         * javax/swing/JList.java
21148         (paramString): Changed from public to protected.
21149
21150 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21151
21152         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21153         (printHelpAndExit): Re-factored to use the above method.
21154
21155 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21156
21157         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21158         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21159         * tools/gnu/classpath/tools/jarsigner/Main.java:
21160         Changed license to GPL + Exception.
21161         (handler): New field.
21162         (getCallbackHandler): New method.
21163         (setupSigningParams): Use above method.
21164         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21165         Changed license to GPL + Exception.
21166         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21167         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21168         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21169         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21170
21171 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21172
21173         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21174         (handleConfirmation): Use print instead of println.
21175         (handleConfirmation): When case is YES_NO_OPTION, print default option
21176         if one was set.
21177         (handleLanguage): Use print instead of println.
21178
21179 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21180
21181         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21182         (putComponent): Handle O and OU components.
21183         (getDer): Use correct (it2) iterator.
21184         (readAttributeValue): Read next character and break if end-of-stream.
21185
21186 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21187
21188         * gnu/java/security/provider/Gnu.java (run):
21189         Add "RSA" as an alias to MD5withRSA.
21190         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21191         Always encode a NULL as the value of an algorithm parameters field.
21192         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21193         (encodePrivateKey): Added trace/log statements.
21194         (decodePrivateKey): Likewise.
21195         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21196         (setup): Added trace/log statements.
21197         (generate): Likewise.
21198         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21199         (toString): New method.
21200         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21201         (str): New field.
21202         (toString): New method.
21203         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21204         (getEncoded): Use defaultFormat.
21205         (toString): New method.
21206         * gnu/java/security/key/dss/DSSKey.java (toString):
21207         Include defaultFormat in string.
21208         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21209         Break if successfully decoded public key.
21210         (engineGeneratePrivate): Break if successfully decoded private key.
21211
21212 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21213
21214         * java/security/Security.java <clinit>: Add our Callback provider.
21215         * resource/java/security/classpath.security: Likewise
21216
21217 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21218
21219         PR 27296
21220         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21221         Decide about scroll bars from the preferred view size, not
21222         the current size.
21223         * javax/swing/ViewportLayout.java (layoutContainer):
21224         Do not change returned preferred size. Do not treat JScrollPane
21225         specially.
21226
21227 2006-04-28  Sven de Marothy <sven@physto.se>
21228
21229         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21230         * javax/swing/ProgressMonitor.java (actionPerformed): 
21231         Avoid divide-by-zero.
21232
21233 2006-04-28  Sven de Marothy <sven@physto.se>
21234
21235         * javax/swing/JSpinner.java: Fix default text justification.
21236         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21237
21238 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21239
21240         * javax/swing/JList.java
21241         (getMinSelectionIndex): Return correct value, added API docs,
21242         (getMaxSelectionIndex): Added API docs.
21243
21244 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21245
21246         * javax/swing/JList.java
21247         (JList(Object[])): Pass new model directly to init(),
21248         (JList(Vector)): Likewise,
21249         (JList(ListModel)): Renamed argument and updated API docs,
21250         (init): Throw IllegalArgumentException for null argument,
21251         (setListData(Object[])): Delegate model creation,
21252         (setListData(Vector)): Likewise,
21253         (createListModel(Object[])): New private method,
21254         (createListModel(Vector)): New private method,
21255         (paramString): Implemented.
21256
21257 2006-04-28  Tom Tromey  <tromey@redhat.com>
21258
21259         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21260         (isEnum): Rewrote.
21261         (isSynthetic): Likewise.
21262         (isAnnotation): Likewise.
21263         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21264         (isAnnotation): Likewise.
21265         (isEnum): Likewise.
21266
21267 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21268
21269         * javax/swing/text/View.java:
21270         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21271         view.
21272
21273 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21274
21275         * javax/swing/text/View.java:
21276         (getNextVisualPositionFrom): Rewritten.
21277         * javax/swing/text/CompositeView.java:
21278         (getNextEastWestVisualPositionFrom): Partly implemented.
21279         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21280
21281 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21282
21283         * javax/swing/JList.java
21284         (setFixedCellHeight): Use correct property name for event.
21285
21286 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21287
21288         * javax/swing/text/Utilities.java:
21289         (getNextWord): Use codePointAt instead of charAt, added note, changed
21290         if-expression, added throwing of exception.
21291         (getPreviousWord): Use codePointAt instead of charAt.
21292
21293 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21294
21295         * java/lang/StringBuilder.java
21296         (ensureCapacity, getChars, append(StringBuffer),
21297         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21298         insert(int,String), insert(int,char), trimToSize): Replaced
21299         System.arraycopy calls with VMSystem.arraycopy.
21300
21301 2006-04-27  Tom Tromey  <tromey@redhat.com>
21302
21303         * java/awt/image/renderable/RenderableImageProducer.java
21304         (requestTopDownLeftRightResend): Implemented.
21305         (run): Likewise.
21306         (startProduction): Add new consumer.
21307
21308 2006-04-27  Sven de Marothy  <sven@physto.se>
21309
21310         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21311
21312 2006-04-27  Roman Kennke <kennke@aicas.com>
21313
21314         * java/awt/LightweightDispatcher.java
21315         Dispatch events only to targets that have a mouselistener
21316         attached. Changed to also handle null targets.
21317
21318 2006-04-27  Roman Kennke <kennke@aicas.com>
21319
21320         * NEWS: Added entries about accessibility support and L&F
21321         window decorations.
21322
21323 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21324         
21325         * javax/swing/text/Utilities.java:
21326         (getTabbedTextOffset): Introduced width variable, rewritten the check
21327         which ends the loop.
21328         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21329         to false.
21330               
21331 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21332
21333         * examples/gnu/classpath/examples/swing/TreeDemo.java
21334         (createContent): Added root visibility and selection listener demos.
21335         * javax/swing/JTree.java (setRootVisible): If false, unselect
21336         the root node, if it is selected.
21337         * javax/swing/plaf/basic/BasicTreeUI.java 
21338         (TreeTraverseAction.actionPerformed): Do not select the root if it
21339         is not visible.
21340         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21341         removeSelectionPaths): Reset lead to null if the current lead path is
21342         removed from selection.
21343         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21344         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21345         Return the same path regardless is root visible or not. (update):
21346         Reduce the identation if the root is not visible.
21347         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21348         Return the same path regardless is root visible or not. (update):
21349         Reduce the identation if the root is not visible.
21350
21351 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21352
21353         * javax/swing/plaf/basic/BasicTreeUI.java
21354         (TreeAction.actionPerformed):Newly obtain the current lead
21355         path that must stay visible.
21356         (TreeTraverseAction.actionPerformed):Rewritten.
21357         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21358         Do not treat root specially. (setModel): Assume the root node
21359         initially expanded.
21360         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21361         Do not treat root specially. (setModel): Assume the root node
21362         initially expanded.
21363
21364 2006-04-26  Chris Burdess  <dog@gnu.org>
21365
21366         Fixes PR 27290
21367         * javax/xml/datatype/DatatypeFactory.java: Use complete
21368           implementation resolution mechanism.
21369
21370 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21371
21372         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21373         Implemented.
21374         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21375         Removed NoImplementException form the implemented method.
21376
21377 2006-04-26  Tom Tromey  <tromey@redhat.com>
21378
21379         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21380         throw IOException.
21381
21382 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21383
21384         * javax/swing/DefaultListSelectionModel.java
21385         (clone): Initialise empty listener list,
21386         (setSelectionMode): Throw IllegalArgumentException for bad input.
21387
21388 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21389
21390         * javax/swing/DefaultListSelectionModel.java
21391         (clearSelection): Clear the Bitset.
21392
21393 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21394
21395         * javax/swing/JTree.java (setLeadSelectionPath):
21396         Repaint the new and old lead pathes.
21397         * javax/swing/plaf/basic/BasicTreeUI.java
21398         (FocusHandler): Repaint the lead row when focus changes.
21399         (PropertyChangeHandler): Use existing constants, not the
21400         string literals for the property names.
21401         (TreeIncrementAction): Shrink the selection when moving
21402         from the selection edge to the selection anchor.
21403         (TreeSelectionHandler.valueChanged): Repaint the 
21404         new and old lead pathes.
21405         (paintRow): Treat row as focused only if it is the lead row.
21406         * javax/swing/tree/DefaultTreeCellRenderer.java
21407         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21408         (paint): Rewritten.
21409         * javax/swing/tree/DefaultTreeSelectionModel.java
21410         (addSelectionPath): Event construction fix (old and new lead were
21411         always the same).
21412         (addSelectionPaths): Likewise.
21413         * javax/swing/JComponent.java (setOpaque): Explained.
21414         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21415         Accept null.
21416         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21417         Accept null.
21418
21419 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21420
21421         * examples/gnu/classpath/examples/swing/TreeDemo.java
21422         (createContent): Call DefaultTreeModel.reload(), not the
21423         tree.repaint(). Expand the parent of the added node.
21424         * javax/swing/JTree.java (constructor): Do not call
21425         UpdateUI (and documented why). (treeDidChange):
21426         Added comment, excluding the misinterpretation of this method.
21427         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21428         focusListener, keyListener, mouseListener, propertyListener,
21429         selectionModelPropertyChangeListener, treeModelListener,
21430         treeSelectionListener): Made package private.
21431         (PropertyChangeHandler): If the model changes, install the
21432         listener on it. (installUI): Assign treeModel.
21433         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21434         comment, excluding misinterpretation.
21435         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21436         (reload(TreeNode)): Implemented.
21437
21438 2006-04-25  Tom Tromey  <tromey@redhat.com>
21439
21440         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21441         * javax/swing/tree/VariableHeightLayoutCache.java
21442         (getVisiblePathsFrom): Genericized.
21443         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21444         Genericized.
21445
21446 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21447
21448         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21449         If clicked on the other row, cancel the current editing session.
21450
21451 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21452
21453         * javax/swing/plaf/basic/BasicTreeUI.java
21454         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21455         (paintExpandControl): Always paint in one gap distance from the left
21456         border of the path bounds.
21457         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21458         into consideration.
21459         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21460         left edge.
21461
21462 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21463
21464         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21465
21466 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21467
21468         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21469         Allow slashes (/) in the unquoted parameter value. 
21470
21471 2006-04-25  Roman Kennke <kennke@aicas.com>
21472
21473         * gnu/java/awt/java2d/AbstractGraphics2D.java
21474         (drawString(String,int,int)): Implemented.
21475         (drawString(String,float,float)): Implemented.
21476         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21477         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21478         (getFontRenderContext): Implemented.
21479         (drawGlyphVector): Implemented.
21480         (getFont): Implemented.
21481         (setFont): Don't change font setting when null.
21482         (getFontMetrics): Implemented.
21483         (fillShape): Re-written to fill call rawFillShape() with a list
21484         of the edges instead of double arrays.
21485         (rawFillShape): Implemented using a polygon scanline conversion.
21486         (fillScanline): New helper method.
21487         (init): Initialize foreground black. Set font.
21488         * gnu/java/awt/java2d/PolyEdge.java: New file.
21489         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21490
21491 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21492
21493         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21494
21495 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21496
21497         * javax/swing/JTable.java: Fixed API doc tags,
21498         * javax/swing/text/AsyncBoxView.java: Likewise,
21499         * javax/swing/text/FlowView.java: Likewise.
21500
21501 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21502
21503         * javax/swing/table/DefaultTableColumnModel.java
21504         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21505
21506 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21507
21508         * javax/swing/table/DefaultTableColumnModel.java
21509         (DefaultTableColumnModel): Set selection model field and add 'this' as
21510         listener directly,
21511         (addColumn): Add 'this' as a PropertyChangeListener,
21512         (removeColumn): Remove column before firing event, and remove 'this' as
21513         a PropertyChangeListener,
21514         (setSelectionModel): Remove 'this' as a listener from old model, 
21515         (propertyChange): Check for 'width' property rather than
21516         TableColumn.COLUMN_WIDTH_PROPERTY.
21517
21518 2006-04-24  Chris Burdess  <dog@gnu.org>
21519
21520         Fixes PR 27262
21521         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21522           attributes when no doctype exists.
21523
21524 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21525
21526         * javax/swing/event/ChangeEvent.java: Updated API docs,
21527         * javax/swing/event/ChangeListener.java: Likewise,
21528         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21529         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21530         * javax/swing/table/TableColumnModel.java: Likewise.
21531
21532 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21533
21534         * javax/swing/text/Utilities.java:
21535         (getBreakLocation): Introduced shift variable, added notes.
21536         * javax/swing/text/WrappedPlainView.java:
21537         (calculateBreakPosition): Decrease allocation area bounds by insets,
21538         added early return when allocation area is empty, provide start offset
21539         as argument.
21540         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21541         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21542         numLines after loop.
21543         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21544         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21545         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21546         decreasing variable end by one, changed break condition in while-loop,
21547         added check for return value.
21548         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21549         allocation area is empty.
21550
21551 2006-04-24  Sven de Marothy  <sven@physto.se>
21552
21553         * gnu/java/awt/java2d/Segment.java: New file.
21554         * gnu/java/awt/java2d/CubicSegment.java: New file.
21555         * gnu/java/awt/java2d/QuadSegment.java: New file.
21556         * gnu/java/awt/java2d/LineSegment.java: New file.
21557         * java/awt/BasicStroke.java
21558         (start): New field.
21559         (end): New field.
21560         (createStrokedShape): Implemented.
21561         (solidStroke): New method.
21562         (dashedStroke): New method.
21563         (capEnds): New method.
21564         (convertPath): New method.
21565         (addSegments): New method.
21566         (capEnd): New method.
21567         (lineIntersection): New method.
21568         (joinSegments): New method.
21569
21570 2006-04-24  Roman Kennke <kennke@aicas.com>
21571
21572         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21573         Cloneable.
21574         (font): New field.
21575         (clip): Changed clip to be in user space not in target space.
21576         (isOptimized): Added flag to allow optimized drawing for
21577         primitive operations (e.g. for Swing).
21578         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21579         with the paint context etc.
21580         (draw): Clip the shape before drawing it.
21581         (fill): Clip the shape before drawing it.
21582         (setComposite): Update isOptimized flag.
21583         (setPaint): Likewise.
21584         (setStroke): Likewise.
21585         (translate): Update the clip.
21586         (rotate): Likewise.
21587         (scale): Likewise.
21588         (shear): Likewise.
21589         (transform): Likewise.
21590         (setTransform): Likewise.
21591         (clip): Added optimization for rectangle clips.
21592         (create): Implemented.
21593         (clone): New method.
21594         (setFont): Basic implementation.
21595         (setClip): Update opimization flag.
21596         (drawLine): Added possible optimization.
21597         (fillRect): Added possible optimization.
21598         (fillShape): Implemented shape-filling by filling the flattended
21599         shape using polygon fill.
21600         (drawPixel): Added basic painting.
21601         (rawSetPixel): Changed signature to only take coordinates.
21602         (rawSetForeground): New abstract method.
21603         (getUserBounds): Implemented default for this method.
21604         (rawDrawLine): New method.
21605         (rawFillRect): New method.
21606         (rawFillPolygon): New method.
21607         (init): New method.
21608         (updateOptimization): New method.
21609         (computeIntersection): New method.
21610         (updateClip): New method.
21611         (clipShape): New method.
21612
21613 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21614
21615         * java/lang/Package.java: Added compatibility constructor to ease
21616         VM interface migration.
21617
21618 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21619
21620         * java/lang/Class.java (getEnumConstants): Implemented without
21621         delegating to VMClass.
21622         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21623
21624 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21625
21626         * java/lang/ClassLoader.java (definePackage): Added argument to
21627         Package constructor.
21628         * java/lang/Package.java (Package): Added ClassLoader argument.
21629         (loader): New field.
21630         (getDeclaredAnnotations): Implemented without help from VMPackage.
21631         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21632         to Package constructor.
21633         * vm/reference/java/lang/VMPackage.java: Removed.
21634
21635 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21636
21637         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21638         (createContent): Added check box to swith between single and 
21639         multiple selection.
21640         * javax/swing/JTree.java (leadSelectionPath): Removed.
21641         (addSelectionInterval): Explained. (getLeadSelectionPath):
21642         Request the path from model. (getPathsBetweenRows): Explained.
21643         (setLeadSelectionPath): Set the path in model.
21644         * javax/swing/plaf/basic/BasicTreeUI.java 
21645         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21646         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21647         (MouseHandler.mousePressed): Call selectPathForEvent.
21648
21649 2006-04-23  Roman Kennke <kennke@aicas.com>
21650
21651         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21652
21653 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21654
21655         * NEWS:
21656         Mention changes to VMProcess and VMSystem.
21657         * doc/vmintegration.texinfo:
21658         Change documentation on VMProcess and VMSystem.
21659         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21660         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21661         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21662         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21663         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21664         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21665         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21666         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21667         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21668         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21669         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21670         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21671         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21672         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21673         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21674         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21675         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21676         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21677         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21678         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21679         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21680         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21681         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21682         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21683         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21684         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21685         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21686         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21687         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21688         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21689         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21690         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21691         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21692         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21693         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21694         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21695         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21696         * include/gnu_java_awt_peer_qt_QMatrix.h,
21697         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21698         * include/gnu_java_awt_peer_qt_QPen.h,
21699         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21700         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21701         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21702         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21703         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21704         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21705         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21706         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21707         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21708         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21709         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21710         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21711         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21712         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21713         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21714         * include/gnu_java_awt_peer_qt_QtImage.h,
21715         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21716         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21717         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21718         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21719         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21720         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21721         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21722         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21723         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21724         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21725         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21726         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21727         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21728         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21729         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21730         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21731         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21732         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21733         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21734         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21735         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21736         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21737         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21738         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21739         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21740         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21741         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21742         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21743         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21744         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21745         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21746         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21747         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21748         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21749         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21750         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21751         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21752         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21753         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21754         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21755         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21756         * include/java_lang_VMProcess.h,
21757         * include/java_lang_VMSystem.h:
21758         Regenerated with GCJ 4.1.
21759
21760 2006-04-22  Casey Marshall  <csm@gnu.org>
21761
21762         Fixes PR classpath/27228.
21763         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21764         (initialize): also accept `DHParameterSpec.'
21765         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21766         handle a passed-in `DHParameterSpec' properly.
21767         (generate): don't check if the random exponent is less than `q -
21768         1' if no `q' was specified.
21769
21770 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21771
21772         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21773         Only repaint the patches, speficied in the passed event.
21774         (expandPath): Do nothing if the path is already expanded.
21775         (scrollPathToVisible): Only scroll to visible, do nothing else.
21776         * javax/swing/plaf/basic/BasicTreeUI.java 
21777         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21778         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21779         (TreeTraverseAction.actionPerformed): Collapse the node on the
21780         action "selectParent". (selectPath): Rewritten.
21781         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21782         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21783         Do not reuse selection array.
21784         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21785         Accept null.
21786         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21787         Accept null.
21788
21789 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21790
21791         * javax/swing/tree/DefaultTreeSelectionModel.java
21792         (addSelectionPath): If the path cannot be added, set it.
21793         (addSelectionPaths): Call insureRowContinuity.
21794         (arePathsContiguous): Implemented.
21795         (canPathBeAdded): New private method.
21796         (canPathsBeAdded): Implemented.
21797         (canPathsBeRemoved): Implemented.
21798         (getPath): New private method.
21799         (insureRowContinuity): Implemented.
21800         (removeSelectionPath): Call insureRowContinuity.
21801         (removeSelectionPaths): Call insureRowContinuity.
21802         (resetRowSelection): Removed stub marking, not used in implementation 
21803         (nothing to do there).
21804         (selectOne): New private method.
21805         (setSelectionMode) Call insureRowContinuity.
21806         (setSelectionPaths) Remove the current selection by clearing it.
21807
21808 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
21809
21810         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21811         parameters consistendly, documented some methods.
21812         * java/sql/Blob.java: Likewise.
21813         * java/sql/CallableStatement.java: Likewise.
21814         * java/sql/Clob.java: Likewise.
21815         * java/sql/Connection.java: Likewise.
21816         * java/sql/DatabaseMetaData.java: Likewise.
21817         * java/sql/Date.java: Likewise.
21818         * java/sql/Driver.java: Likewise.
21819         * java/sql/PreparedStatement.java: Likewise.
21820         * java/sql/ResultSet.java: Likewise.
21821         * java/sql/ResultSetMetaData.java: Likewise.
21822         * java/sql/SQLData.java: Likewise.
21823         * java/sql/SQLOutput.java: Likewise.
21824         * java/sql/SQLWarning.java: Likewise.
21825         * java/sql/Statement.java: Likewise.
21826         * java/sql/Time.java: Likewise.
21827         * java/sql/Timestamp.java: Likewise.
21828
21829 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
21830
21831         * java/lang/reflect/AccessibleObject.java:
21832         Implemented AnnotatedElement.
21833         (getAnnotation, getAnnotations, getDeclaredAnnotations,
21834         isAnnotationPresent): New methods.
21835
21836 2006-04-21  Tom Tromey  <tromey@redhat.com>
21837
21838         PR classpath/27163:
21839         * gnu/java/net/protocol/ftp/FTPConnection.java
21840         (changeWorkingDirectory): Do nothing if path is empty.
21841
21842 2006-04-21  Tom Tromey  <tromey@redhat.com>
21843
21844         PR libgcj/27231:
21845         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
21846         case where no '/' appears in 'location'.
21847
21848 2006-04-21  Tom Tromey  <tromey@redhat.com>
21849
21850         * java/security/Security.java (<clinit>): Add all default providers.
21851         * resource/java/security/classpath.security: Added comment.
21852
21853 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21854
21855         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
21856         * javax/swing/SpinnerNumberModel.java: Likewise.
21857
21858 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21859
21860         * javax/swing/SpinnerDateModel.java
21861         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
21862         checking to call compareTo() on start and end.
21863
21864 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21865
21866         * javax/swing/border/AbstractBorder.java: API doc updates,
21867         * javax/swing/border/BevelBorder.java: Likewise,
21868         * javax/swing/border/CompoundBorder.java: Likewise,
21869         * javax/swing/border/EtchedBorder.java: Likewise,
21870         * javax/swing/border/LineBorder.java: Likewise,
21871         * javax/swing/border/MatteBorder.java: Likewise,
21872         * javax/swing/border/TitledBorder.java: Likewise.
21873
21874 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21875
21876         * gnu/javax/crypto/cipher/Anubis.java:
21877         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
21878         instance,
21879         * gnu/javax/crypto/cipher/Blowfish.java:
21880         (selfTest): Likewise,
21881         * gnu/javax/crypto/cipher/Cast5.java:
21882         (selfTest): Likewise,
21883         * gnu/javax/crypto/cipher/Khazad.java:
21884         (selfTest): Likewise,
21885         * gnu/javax/crypto/cipher/Rijndael.java:
21886         (selfTest): Likewise,
21887         * gnu/javax/crypto/cipher/Serpent.java:
21888         (selfTest): Likewise,
21889         * gnu/javax/crypto/cipher/Square.java:
21890         (selfTest): Likewise,
21891         * gnu/javax/crypto/cipher/Twofish.java:
21892         (selfTest): Likewise,
21893         * gnu/javax/crypto/mac/UMac32.java:
21894         (selfTest): Likewise,
21895         * gnu/javax/crypto/prng/CSPRNG.java:
21896         (getSystemInstance): Likewise.
21897
21898 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21899
21900         * gnu/java/security/hash/Haval.java:
21901         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
21902         instance,
21903         * gnu/java/security/hash/MD2.java:
21904         (selfTest): Likewise,
21905         * gnu/java/security/hash/MD4.java:
21906         (selfTest): Likewise,
21907         * gnu/java/security/hash/MD5.java:
21908         (selfTest): Likewise,
21909         * gnu/java/security/hash/RipeMD128.java:
21910         (selfTest): Likewise,
21911         * gnu/java/security/hash/RipeMD160.java:
21912         (selfTest): Likewise,
21913         * gnu/java/security/hash/Sha160.java:
21914         (selfTest): Likewise,
21915         * gnu/java/security/hash/Sha256.java:
21916         (selfTest): Likewise,
21917         * gnu/java/security/hash/Sha384.java:
21918         (selfTest): Likewise,
21919         * gnu/java/security/hash/Sha512.java:
21920         (selfTest): Likewise,
21921         * gnu/java/security/hash/Tiger.java:
21922         (selfTest): Likewise,
21923         * gnu/java/security/hash/Whirlpool.java:
21924         (selfTest): Likewise.
21925
21926 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21927
21928         * javax/swing/plaf/basic/BasicTreeUI.java 
21929         (PropertyChangeHandler.propertyChange): Set the row mapper
21930         for the selection model.
21931         * javax/swing/tree/AbstractLayoutCache.java 
21932         (NodeDimensions.getNodeDimensions): Explained.
21933         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
21934         Implemented. (setRowHeight): Invalidate sizes. 
21935         * javax/swing/tree/DefaultTreeSelectionModel.java
21936         (addSelectionPath, addSelectionPaths): Update lead row.
21937         (removeSelectionPath, removeSelectionPaths): Do nothing if
21938         selection is empty.
21939         (clone): Only clone list selection model if it is not null.
21940         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
21941         setSelectionPath, setSelectionPaths, toString): Implemented.
21942         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
21943         Pass the empty rectangle. (isFixedRowHeight): New method.
21944         * javax/swing/tree/VariableHeightLayoutCache.java
21945         (NodeRecord.getBounds): Pass the empty rectangle.
21946         
21947 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21948
21949         * gnu/java/security/Properties.java
21950         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
21951
21952 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
21953
21954         * gnu/classpath/jdwp/util/Value.java
21955         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
21956         creating new Boolean instances.
21957
21958 2006-04-20  Mark Wielaard  <mark@klomp.org>
21959
21960         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
21961         PrivilegedAction. Access awt.toolkit through SystemProperties.
21962
21963 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21964
21965         * javax/swing/ActionMap.java: Removed unused imports,
21966         * javax/swing/DefaultListSelectionModel.java
21967         (clearSelection): Removed unused label,
21968         * javax/swing/JScrollPane.java: Removed unused imports,
21969         * javax/swing/UIManager.java: Likewise,
21970         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
21971
21972 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21973
21974         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
21975         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
21976         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
21977         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
21978         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
21979
21980 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
21981
21982         * java/sql/Array.java: Fixed Eclipse API doc warnings,
21983         * java/sql/Blob.java: Likewise,
21984         * java/sql/CallableStatement.java: Likewise,
21985         * java/sql/Clob.java: Likewise,
21986         * java/sql/Connection.java: Likewise,
21987         * java/sql/DatabaseMetaData.java: Likewise,
21988         * java/sql/Date.java: Likewise,
21989         * java/sql/Driver.java: Likewise,
21990         * java/sql/PreparedStatement.java: Likewise,
21991         * java/sql/ResultSet.java: Likewise,
21992         * java/sql/ResultSetMetaData.java: Likewise,
21993         * java/sql/SQLData.java: Likewise,
21994         * java/sql/SQLOutput.java: Likewise,
21995         * java/sql/SQLWarning.java: Likewise,
21996         * java/sql/Statement.java: Likewise,
21997         * java/sql/Time.java: Likewise,
21998         * java/sql/Timestamp.java: Likewise.
21999
22000 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22001
22002         * java/sql/DriverManager.java
22003         (setLoginTimeout): Use incoming argument,
22004         (setLogStream): Likewise,
22005         (println): Fix API doc comment.
22006
22007 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22008
22009         * javax/swing/JMenuItem.java
22010         (paramString): Updated API docs,
22011         (getAccessibleContext): Added API docs,
22012         (AccessibleJMenuItem.stateChanged): Marked as stub,
22013         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22014         * javax/swing/JSlider.java
22015         (paramString): Fix for API docs,
22016         * javax/swing/JToolTip.java
22017         (getAccessibleContext): Fix for API docs.
22018
22019 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22020
22021         * javax/swing/JRadioButtonMenuItem.java
22022         (paramString): Reimplemented,
22023         (getAccessibleContext): API docs added,
22024         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22025         Likewise,
22026         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22027
22028 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22029
22030         * javax/swing/plaf/basic/BasicTreeUI.java
22031         (finish): Invalidate path bounds.
22032         (getMaxHeight): Set the row height to the layout cache.
22033         (startEditing): Do not request to recalculated 
22034         row height and preferred size.
22035         * javax/swing/tree/DefaultTreeCellEditor.java
22036         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22037         with 0.
22038         * javax/swing/tree/FixedHeightLayoutCache.java:
22039         Rewritten.
22040
22041 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22042
22043         * javax/swing/JDesktopPane.java
22044         (paramString): Reimplemented,
22045         plus API doc updates in AccessibleJDesktopPane.
22046
22047 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22048
22049         * javax/swing/ImageIcon.java:
22050         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22051         (AccessibleImageIcon.getLocale): Declared exception and always return 
22052         null,
22053         (getAccessibleContext): Updated API docs,
22054         plus updated API docs all over AccessibleImageIcon.
22055
22056 2006-04-20  Roman Kennke  <kennke@aicas.com>
22057
22058         PR 27196
22059         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22060         (paintText): Fetch the ascent only once. Add the ascent to
22061         the text rect also when tabs are disabled.
22062
22063 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22064
22065         * java/util/Locale.java (defaultLocale): Set to en_US per
22066         default and use user.country but prioritize user.region if
22067         defined.
22068         (getLocale(String language, String country)): Renamed region to
22069         country.
22070         (getLocale(String language, String region, String variant)):
22071         Likewise.
22072         (getAvailableLocales): Likewise.
22073
22074 2006-04-20  Roman Kennke  <kennke@aicas.com>
22075
22076         PR 27222
22077         * javax/swing/JList.java
22078         (JList()): Call init() with DefaultListModel instance.
22079         (JList(Object[])): Call init() with null.
22080         (JList(Vector)): Call init() with null.
22081         (JList(ListModel)): Call init() with model.
22082         (init): Changed to take the model as argument. Don't call
22083         setter methods and initialize stuff directly instead.
22084         (getCellBounds): Check if UI is null.
22085
22086 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22087
22088         * javax/swing/text/WrappedPlainView.java: Initialize
22089         WrappedLine.numLines with -1.
22090         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22091         numLines is -1 and reculcalate the value appropriately.
22092         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22093         allocation area is empty.
22094
22095 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22096
22097         * javax/swing/JTabbedPane.java
22098         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22099         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22100         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22101         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22102         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22103         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22104         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22105         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22106         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22107         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22108         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22109         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22110         (Page.getAccessibleStateSet): Likewise,
22111         (Page.getAccessibleIndexInParent): Likewise.
22112
22113 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22114
22115         * javax/swing/JProgressBar.java
22116         (paramString): Reimplemented.
22117
22118 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22119
22120         * javax/swing/JButton.java: Updated API docs all over.
22121
22122 2006-04-19  Roman Kennke  <kennke@aicas.com>
22123
22124         * java/awt/Toolkit.java
22125         (getDefaultToolkit): Use system classloader to load the
22126         toolkit.
22127
22128 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22129
22130         * javax/swing/text/DefaultCaret.java:
22131         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22132         instead of DefaultCaret.setDot.
22133
22134 2006-04-19  Roman Kennke  <kennke@aicas.com>
22135
22136         * native/jni/java-net/local.c
22137         (local_read): Handle EINTR correctly.
22138         (local_write): Likewise.
22139
22140 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22141
22142         PR classpath/27062, PR classpath/25650:
22143         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22144
22145 2006-04-19  Tom Tromey  <tromey@redhat.com>
22146
22147         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22148         value of 'pureMinutes'.  PR classpath/27189.
22149
22150 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22151
22152    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22153    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22154
22155 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22156
22157         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22158         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22159         (ITERATION_COUNT): Removed modifiers.
22160         (PASSWORD): Likewise.
22161         (SALT): Likewise.
22162         (PASSWORD_ENCODING): New property.
22163         (DEFAULT_PASSWORD_ENCODING): New constant.
22164         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22165         material (bytes) before a password (chars).
22166
22167 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22168
22169         * javax/swing/JMenu.java
22170         (getAccessibleChildrenCount): Marked as stub,
22171         (getAccessibleChild): Likewise,
22172         (getAccessibleSelection): Likewise,
22173         (getAccessibleSelection(int)): Likewise,
22174         (isAccessibleChildSelected): Likewise,
22175         (getAccessibleSelectionCount): Likewise,
22176         (addAccessibleSelection): Likewise,
22177         (removeAccessibleSelection): Likewise,
22178         (clearAccessibleSelection): Likewise,
22179         (selectAllAccessibleSelection): Likewise.
22180
22181 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22182
22183         * javax/swing/JSplitPane.java
22184         (getAccessibleContext): Added API docs,
22185         (paramString): Reimplemented,
22186         (setOrientation): Updated API docs,
22187         (setResizeWeight): Added argument checking and event notification.
22188
22189 2006-04-18  Casey Marshall  <csm@gnu.org>
22190
22191         Fixes PR classpath/25673        
22192         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22193         property is set. Update JavaDoc to reflect this.
22194
22195 2006-04-18  Lillian Angel  <langel@redhat.com>
22196
22197         * gnu/xml/dom/DomDocument.java
22198         (setCheckingCharacters): New function used to set
22199         checkingCharacters flag.
22200         * gnu/xml/dom/html2/DomHTMLParser.java
22201         (parseDocument): Added call to set checkingCharacters flag
22202         to false.
22203
22204 2006-04-18  Lillian Angel  <langel@redhat.com>
22205
22206         * gnu/xml/dom/DomDocument.java
22207         (checkNCName): Reverted last patch. Added check for colon at
22208         last position back in.
22209
22210 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22211
22212         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22213         New file.
22214         * examples/gnu/classpath/examples/swing/Demo.java:
22215         (mkMenuBar): Added NavigationFilter demo.
22216
22217 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22218
22219         * javax/swing/JSeparator.java: Updated API docs all over, plus
22220         (setOrientation): Fire PropertyChangeEvent,
22221         (paramString): Reimplemented.
22222
22223 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22224
22225         * javax/swing/plaf/basic/BasicTextUI.java:
22226         (getNextVisualPositionFrom): Implemented.
22227
22228 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22229
22230         * javax/swing/JPanel.java: Updated API docs all over, plus
22231         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22232         double-buffer flag.
22233
22234 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22235
22236         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22237         New file.
22238         * examples/gnu/classpath/examples/swing/Demo.java:
22239         (mkMenuBar): Added DocumenFilter demo.
22240
22241 2006-04-18  Tom Tromey  <tromey@redhat.com>
22242
22243         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22244
22245 2006-04-18  Mark Wielaard  <mark@klomp.org>
22246
22247         Reported by John Sullivan (johns@fsf.org)
22248         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22249
22250 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22251
22252         * javax/swing/JInternalFrame.java
22253         (JDesktopIcon.getAccessibleContext): Added API docs,
22254         (getDefaultCloseOperation): Likewise,
22255         (paramString): Added 'title' attribute,
22256         (setDefaultCloseOperation): Added API docs.
22257
22258 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22259
22260         * javax/swing/JSlider.java
22261         (paramString): Reimplemented.
22262
22263 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22264
22265         * javax/swing/JComboBox.java
22266         (paramString): Reimplemented,
22267         (getAccessibleContext): Added API docs,
22268         (AccessibleJComboBox.getAccessibleRole): Likewise.
22269
22270 2006-04-18  Roman Kennke  <kennke@aicas.com>
22271
22272         * javax/swing/RepaintManager.java
22273         (dirtyComponentsWork): New field.
22274         (ComponentComparator): Use dirtyComponentsWork instead of
22275         dirtyComponents.
22276         (RepaintManager): Initialize new field.
22277         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22278         and work on the copy.
22279
22280 2006-04-18  Roman Kennke  <kennke@aicas.com>
22281
22282         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22283         (setBounds): Call reshape().
22284         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22285         (SwingContainerPeer): Changed argument to be a Component
22286         instead a Container.
22287         (getInsets): Call insets().
22288         (handleMouseEvent): Added null check to avoid NPE.
22289         (handleMouseMotionEvent): Added null check to avoid NPE.
22290         
22291 2006-04-18  Roman Kennke  <kennke@aicas.com>
22292
22293         PR 27185
22294         * javax/swing/JComponent.java
22295         (paintChildrenWithOverlap): When one child is not opaque, propagate
22296         the dirty rectangles to the next child.
22297         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22298         This actually didn't work right and probably gained nothing.
22299
22300 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22301
22302         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22303         (moveToCellBeingEdited): Do not clone the rectangle here.
22304
22305 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22306
22307         * javax/swing/plaf/basic/BasicSliderUI.java
22308         (getActionMap): Fixed lookup key,
22309         (createActionMap): Modified actions to fetch slider/ui from the event
22310         source.
22311
22312 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22313
22314         * java/lang/Enum.java: Documented.
22315
22316 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22317
22318         * gnu/java/lang/InstrumentationImpl.java:
22319         Moved from java.lang.
22320         * java/lang/InstrumentationImpl.java:
22321         Removed.
22322         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22323         Moved from java.lang.
22324         * vm/reference/java/lang/VMClassLoader.java:
22325         Corrected reference to InstrumentationImpl.
22326         * vm/reference/java/lang/VMInstrumentationImpl.java:
22327         Removed.
22328         
22329 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22330
22331         * java/lang/annotation/Annotation.java:
22332         Documented.
22333         
22334 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22335
22336         * javax/swing/JToolBar.java
22337         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22338         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22339         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22340         (getAccessibleContext): Likewise.
22341
22342 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22343
22344         * configure.ac:
22345         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22346
22347         * native/fdlibm/Makefile.am,
22348         native/jni/classpath/Makefile.am:
22349         Don't use -module and -version-info for convenience libraries LDFLAGS.
22350         Fixes libtool warnings.
22351
22352 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22353
22354         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22355         (installKeyboardActions): Marked as stub,
22356         (uninstallKeyboardActions): Likewise,
22357         * javax/swing/plaf/basic/BasicComboPopup.java:
22358         (installKeyboardActions): Marked as stub,
22359         (uninstallKeyboardActions): Likewise,
22360         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22361         (installKeyboardActions): Marked as stub,
22362         (uninstallKeyboardActions): Likewise,
22363         * javax/swing/plaf/basic/BasicLabelUI.java:
22364         (installKeyboardActions): Marked as stub,
22365         (uninstallKeyboardActions): Likewise,
22366         * javax/swing/plaf/basic/BasicListUI.java:
22367         (installKeyboardActions): Marked as stub,
22368         (uninstallKeyboardActions): Likewise,
22369         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22370         (installKeyboardActions): Marked as stub,
22371         (uninstallKeyboardActions): Likewise,
22372         * javax/swing/plaf/basic/BasicMenuUI.java:
22373         (installKeyboardActions): Marked as stub,
22374         (uninstallKeyboardActions): Likewise,
22375         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22376         (installKeyboardActions): Marked as stub,
22377         (uninstallKeyboardActions): Likewise,
22378         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22379         (installKeyboardActions): Marked as stub,
22380         (uninstallKeyboardActions): Likewise,
22381         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22382         (installKeyboardActions): Marked as stub,
22383         (uninstallKeyboardActions): Likewise,
22384         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22385         (installKeyboardActions): Marked as stub,
22386         (uninstallKeyboardActions): Likewise,
22387         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22388         (installKeyboardActions): Marked as stub,
22389         (uninstallKeyboardActions): Likewise,
22390         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22391         (installKeyboardActions): Marked as stub,
22392         (uninstallKeyboardActions): Likewise,
22393         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22394         (installKeyboardActions): Marked as stub,
22395         (uninstallKeyboardActions): Likewise,
22396         * javax/swing/plaf/basic/BasicTableUI.java:
22397         (installKeyboardActions): Marked as stub,
22398         (uninstallKeyboardActions): Likewise,
22399         * javax/swing/plaf/basic/BasicTextUI.java:
22400         (installKeyboardActions): Marked as stub,
22401         (uninstallKeyboardActions): Likewise,
22402         * javax/swing/plaf/basic/BasicToolBarUI.java:
22403         (installKeyboardActions): Marked as stub,
22404         (uninstallKeyboardActions): Likewise.   
22405
22406 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22407
22408         * javax/swing/plaf/basic/BasicSliderUI.java
22409         (installKeyboardActions): Implemented,
22410         (uninstallKeyboardActions): Implemented,
22411         (scrollByBlock): Accept any value for direction,
22412         (scrollByUnit): Likewise,
22413         (getInputMap): New method,
22414         (getActionMap): New method,
22415         (createActionMap): New method.
22416
22417
22418 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22419         
22420         * doc/vmintegration.texinfo:
22421         Fix sectioning.
22422
22423 2006-04-16  Tom Tromey  <tromey@redhat.com>
22424
22425         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22426
22427 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22428
22429         * NEWS:
22430         Mention generics additions to the VM interface.
22431         * doc/vmintegration.texinfo:
22432         Added information on VMClass 1.5 additions and
22433         VMSecureRandom.
22434         
22435 2006-04-16  Casey Marshall  <csm@gnu.org>
22436
22437         * NEWS: add an entry mentioning local socket support.
22438
22439 2006-04-16  Casey Marshall  <csm@gnu.org>
22440
22441         * configure.ac (--enable-local-sockets): new enable argument.
22442         (ENABLE_LOCAL_SOCKETS): new define.
22443         * native/jni/java-net/Makefile.am (local_sources): new variable.
22444         (lib_javanet_la_SOURCES): append `local_sources.'
22445         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22446         * native/jni/java-net/local.c,
22447         * native/jni/java-net/local.h,
22448         * include/gnu_java_net_local_LocalSocketImpl.h,
22449         * gnu/java/net/local/LocalServerSocket.java,
22450         * gnu/java/net/local/LocalSocket.java,
22451         * gnu/java/net/local/LocalSocketAddress.java,
22452         * gnu/java/net/local/LocalSocketImpl.java: new files.
22453
22454 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22455
22456         * javax/accessibility/AccessibleAction.java:
22457         (DECREMENT): Added field.
22458         (INCREMENT): Likewise.
22459         (TOGGLE_EXPAND): Likewise.
22460         * javax/accessibility/AccessibleRole.java:
22461         (EDITBAR): Added field.
22462         (FOOTER): Likewise.
22463         (HEADER): Likewise.
22464         (PARAGRAPH): Likewise.
22465         (PROGRESS_MONITOR): Likewise.
22466         (RULER): Likewise.
22467         * javax/accessibility/AccessibleState.java:
22468         (INDETERMINATE): Added field.
22469         (MANAGES_DESCENDANTS): Likewise.
22470         (TRUNCATED): Likewise.
22471
22472 2006-04-14  Tom Tromey  <tromey@redhat.com>
22473
22474         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22475         Genericized.
22476         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22477         Genericized.
22478
22479 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22480
22481         * javax/swing/text/DefaultCaret.java:
22482         (getBypass): New method.
22483         (moveDot): Rewritten.
22484         (moveDotImpl): New method.
22485         (setDot): Rewritten.
22486         (setDotImpl): New method.
22487         (DefaultCaret.Bypass): New class.
22488
22489 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22490
22491         * javax/swing/text/AbstractDocument.java:
22492         (getBypass): New method.
22493         (insertString): Rewritten.
22494         (remove): Rewritten.
22495         (replace): Rewritten.
22496         (insertStringImpl): New method.
22497         (removeImpl): New method.
22498         (replaceImpl): New method.
22499         (AbstractDocument.Bypass): New class.
22500
22501 2006-04-14  Casey Marshall  <csm@gnu.org>
22502
22503         Fixes PR classpath/24642
22504         * NEWS: add note about SecureRandom changes, and addition of
22505         VMSecureRandom.
22506         * java/security/SecureRandom.java (isSeeded): new field.
22507         (setSeed, setSeed): set `isSeeded' to `true.'
22508         (nextBytes): seed this instance if `isSeeded' is false.
22509         (getSeed): call `generateSeed.'
22510         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22511         (generateSeed, generateSeed): new methods.
22512         * vm/reference/java/security/VMSecureRandom.java: new file.
22513
22514 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22515
22516         * javax/swing/text/FieldView.java:
22517         (paint): Apply clipping rectangle of the allocation area
22518         before painting the text.
22519         * javax/swing/text/DefaultHighlighter.java:
22520         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22521         compute union and intersection, calculate intersection with allocation
22522         area before painting, adjust x and width when painting multiple lines
22523         by the range of the allocation area.
22524
22525 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22526
22527         * javax/swing/text/DefaultHighlighter.java:
22528         (paintLayeredHighlights): Marked as stub.
22529
22530 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22531
22532         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22533         (propertyChanged): Added note, change color only if current background
22534         is a ColorUIResource instance.
22535
22536 2006-04-14  Tom Tromey  <tromey@redhat.com>
22537
22538         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22539         a stub.
22540         (next): Likewise.
22541
22542 2006-04-14  Tom Tromey  <tromey@redhat.com>
22543
22544         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22545
22546 2006-04-14  Mark Wielaard  <mark@klomp.org>
22547
22548         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22549         thread group when exceptionHandler isn't set.
22550         * vm/reference/java/lang/VMThread.java (run): Use result of
22551         thread.getUncaughtExceptionHandler directly.
22552
22553 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22554
22555         * javax/swing/JSplitPane.java
22556         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22557         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22558         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22559         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22560         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22561         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22562         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22563
22564 2006-04-10  Tom Tromey  <tromey@redhat.com>
22565
22566         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22567         Fixed parameter bounds.
22568
22569 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22570         
22571         * gnu/javax/crypto/assembly/Assembly.java,
22572         * gnu/javax/crypto/assembly/Cascade.java,
22573         * gnu/javax/crypto/assembly/CascadeStage.java,
22574         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22575         * gnu/javax/crypto/assembly/Direction.java,
22576         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22577         * gnu/javax/crypto/assembly/ModeStage.java,
22578         * gnu/javax/crypto/assembly/Operation.java,
22579         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22580         * gnu/javax/crypto/assembly/Stage.java,
22581         * gnu/javax/crypto/assembly/Transformer.java,
22582         * gnu/javax/crypto/cipher/Square.java,
22583         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22584         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22585         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22586         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22587         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22588         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22589         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22590         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22591         * gnu/javax/crypto/jce/cipher/PBES2.java,
22592         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22593         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22594         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22595         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22596         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22597         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22598         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22599         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22600         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22601         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22602         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22603         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22604         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22605         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22606         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22607         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22608         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22609         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22610         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22611         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22612         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22613         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22614         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22615         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22616         * gnu/javax/crypto/pad/WrongPaddingException.java,
22617         * gnu/javax/crypto/prng/ICMGenerator.java,
22618         * gnu/javax/crypto/prng/IPBE.java,
22619         * gnu/javax/crypto/prng/PBKDF2.java,
22620         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22621         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22622         * gnu/javax/crypto/sasl/srp/IALG.java,
22623         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22624         Remove CVS revision tags.
22625
22626 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22627
22628         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22629         Removed debugging code.
22630
22631 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22632  
22633         * javax/swing/JTree.java (getPreferredSize): Return the
22634         cloned instance.
22635         * javax/swing/ViewportLayout.java (layoutContainer):
22636         Do not manage the view size and location if the view is
22637         in the scroll pane. Also manage size and location for
22638         Scrollable, if it is not in the scroll pane.
22639         * javax/swing/plaf/basic/BasicTreeUI.java,
22640         * javax/swing/tree/FixedHeightLayoutCache.java,
22641         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22642         * gnu/javax/swing/tree/GnuPath.java: New file.
22643
22644 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22645
22646         * javax/swing/JToolBar.java
22647         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22648
22649 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22650
22651         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22652         (createCustomColoredPanel): Set background color as demo intends,
22653         changed custom selection color to red.
22654         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22655         Replaced various single variables with a Compound instance, added
22656         custom highlighter demo.
22657         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22658         TextAreaDemo).
22659         (TextFieldDemo.Compound): New class.
22660         (createTextFieldCompound): New method.
22661         (createLeftAlignedPanel): Rewritten.
22662         (createRightAlignedPanel): Rewritten.
22663         (createCenteredPanel): Rewritten.
22664         (createCustomColoredPanel): Removed.
22665         (createCustomColoredPanel1): New method.
22666         (createCustomColoredPanel2): New method.
22667         (createCustomBordersPanel): New method.
22668         (createMiscPanel): Rewritten.
22669         (actionPerformed): Rewritten.
22670         (createContent): Add panels of new compounds to main panel, put
22671         main panel in a JScrollPane.
22672         * examples/gnu/classpath/examples/swing/Demo.java:
22673         (Demo): Put desktop in a scrollpane.
22674         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22675         method via reflection.
22676
22677 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22678
22679         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22680         (createUI): Return new instance rather than shared instance.
22681
22682 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22683
22684         * javax/swing/text/FieldView.java:
22685         (checkContainer): Call updateVisibility() at the end.
22686
22687 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22688
22689         * java/awt/event/MouseEvent.java:
22690         (paramString): Add value of 'consumed' variable in string.
22691
22692 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22693
22694         PR 26967
22695         * javax/swing/JTextField.java: Removed scrollOffset variable.
22696         (JTextField): Moved up initialization of horizontalVisibility field.
22697         (getScrollOffset): Implemented.
22698         (setScrollOffset): Implemented.
22699         (getHorizonztalVisibility): Removed note.
22700         (scrollRectToVisible): New method.
22701         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22702         (checkContainer): New method.
22703         (updateVisibility): New method.
22704         (calculateHorizontalSpan): New method.
22705         (adjustAllocation): Removed unneeded local variables, added code
22706         to handle scrolling.
22707         (getPreferredSpan): Use new method calculateHorizontalSpan,
22708         avoid calculation by returning cached value cachedSpan.
22709         (paint): Added check whether the hosted component is a JTextField.
22710         (insertUpdate): Invalidate cached span value, update visibility
22711         if neccessary.
22712         (removeUpdate): Dito.
22713         (changeUpdate): Dito.
22714
22715 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22716
22717         * javax/swing/JInternalFrame.java
22718         (setTitle): Set old value to 'this.title', not 'title'.
22719
22720 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22721
22722         * javax/swing/JInternalFrame.java
22723         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22724         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22725         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22726         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22727         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22728         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22729         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22730         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22731         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22732         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22733         Implemented,
22734         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22735         Implemented,
22736         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22737         Implemented,
22738         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22739         Implemented,
22740         (JInternalFrame()): Use "" for default title,
22741         (getAccessibleContext): Updated API docs,
22742         (getDesktopIcon): Likewise,
22743         (getLayer): Check for layer in client properties, and return 
22744         DEFAULT_LAYER if no setting is found,
22745         (getTitle): Updated API docs,
22746         (setDesktopIcon): Fire property change event.
22747
22748 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22749
22750         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22751         Mind that the presence of one scroll bar may cause the
22752         need for another.
22753
22754 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
22755
22756         * gnu/regexp/REToken.java(unicodeAware): New field,
22757         (toLowerCase, toUpperCase): New methods.
22758         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22759         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22760         Use toLowerCase and toUpperCase defined in REToken instead of
22761         those defined in java.lang.Character.
22762         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22763         (initialize): Sets unicodeAware of the generated REToken to false if
22764         REG_ICASE_USASCII is set.
22765         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22766         to lower case and keep the original value.
22767         (matchOneString): Use the new method charEquals to compare characters.
22768         (charEquals): New method to compare characters.
22769         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22770
22771 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
22772
22773         * javax/swing/event/InternalFrameEvent.java:
22774         (paramString): Implemented,
22775         updated API docs all over.
22776         
22777 2006-04-12  Casey Marshall  <csm@gnu.org>
22778
22779         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22780         (Generator.setup): call `fillBlock.'
22781
22782 2006-04-12  Casey Marshall  <csm@gnu.org>
22783
22784         Fixes PR classpath/24481.
22785         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22786         initialize the adaptee.
22787         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22788         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22789         addRandomBytes): new methods.
22790
22791 2006-04-12  Tom Tromey  <tromey@redhat.com>
22792
22793         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22794         length strings.
22795
22796 2006-04-12  Lillian Angel  <langel@redhat.com>
22797
22798         * gnu/xml/dom/DomDocument.java
22799         (checkNCName): Removed unneeded part of check.
22800         * gnu/xml/dom/DomNode.java
22801         (dispatchEvent): Added code to grow ancestors array
22802         if needed. Changed checks to use depth of node instead.
22803         Fixes an infinite loop and segmentation fault.
22804         * gnu/xml/dom/html2/DomHTMLParser.java
22805         (handleEndTag): No need to use/make a copy of the node.
22806         Causes an infinite loop.
22807
22808 2006-04-12  Tom Tromey  <tromey@redhat.com>
22809
22810         PR classpath/27131:
22811         * java/util/BitSet.java (get): Early return if to==from.
22812
22813 2006-04-12  Mark Wielaard  <mark@klomp.org>
22814
22815         * java/security/SecureRandom.java (algorithm): New private field.
22816         (SecureRandom): Initialize algorithm.
22817         (SecureRandom(SecureRandomSpi,Provider,String)): New private
22818         constructor.
22819         (getInstance): Call 3 argument constructor.
22820         (getAlgorithm): New method.
22821
22822 2006-04-12  Mark Wielaard  <mark@klomp.org>
22823
22824         Port UncaughtExceptionHandler support from generics branch.
22825         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
22826
22827 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22828
22829         * java/lang/Thread.java:
22830         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
22831         Added docs and security check.
22832         (getUncaughtExceptionHandler()): Documented.
22833         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
22834         Added docs and security check.
22835         (getDefaultUncaughtExceptionHandler()): Documented.
22836         (getId()): Documented.
22837
22838 2006-04-12  Tom Tromey  <tromey@redhat.com>
22839
22840         * vm/reference/java/lang/VMThread.java (run): Use thread's
22841         uncaught handler.
22842         * java/lang/Thread.java (defaultHandler): New field.
22843         (setDefaultUncaughtExceptionHandler,
22844         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
22845         getUncaughtExceptionHandler): New methods.
22846         * java/lang/ThreadGroup.java (ThreadGroup): Implements
22847         UncaughtExceptionHandler.
22848         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
22849
22850 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
22851
22852         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
22853         buffer. Loop only once to determine Utf8 length when possible. Make
22854         the inner loop bounded by buf.length.
22855         (getUTFlength): New private method.
22856         (buf): New private field.
22857
22858 2006-04-11  Lillian Angel  <langel@redhat.com>
22859
22860         * gnu/xml/dom/DomNodeIterator.java
22861         (nextNode): Moved line of code to avoid an infinite loop.
22862         * gnu/xml/dom/html2/DomHTMLAppletElement.java
22863         (getCls): New function.
22864         (setCls): Likewise.
22865         (getSrc): Likewise.
22866         (setSrc): Likewise.
22867         * gnu/xml/dom/html2/DomHTMLDocument.java:
22868         Added DomHTMLEmbedElement to map.
22869         (getApplets): Added node name, 'embed'.
22870         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
22871         New class.
22872         * gnu/xml/dom/html2/DomHTMLObjectElement.java
22873         (getJavaCode): New function.
22874         (setJavaCode): Likewise.
22875         (getObject): Likewise.
22876         (setObject): Likewise.
22877         (getJavaObject): Likewise.
22878         (setJavaObject): Likewise.
22879         (getJavaArchive): Likewise.
22880         (setJavaArchive): Likewise.
22881         (getJavaCodeBase): Likewise.
22882         (setJavaCodeBase): Likewise.
22883         (getJavaType): Likewise.
22884         (setJavaType): Likewise.
22885         (setMayscript): Likewise.
22886         (getMayscript): Likewise.
22887         (setScriptable): Likewise.
22888         (getScriptable): Likewise.
22889         * gnu/xml/dom/html2/DomHTMLParser.java
22890         (parseDocument): Should not check for well formedness
22891         when parsing an html document.
22892         * java/awt/Window.java
22893         (dispatchEvent): Added check to avoid NPE.
22894
22895 2006-04-10  Tom Tromey  <tromey@redhat.com>
22896
22897         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
22898         name.
22899         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
22900         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22901
22902 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
22903
22904         * javax/swing/plaf/basic/BasicTextUI.java:
22905         (getNextVisualPositionFrom): Marked as stub.
22906
22907 2006-04-10  Roman Kennke  <kennke@aicas.com>
22908
22909         * javax/swing/plaf/basic/BasicLookAndFeel.java
22910         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
22911         and create the defaults as strings constants.
22912         (loadSystemColors): Implemented stubbed method.
22913
22914 2006-04-10  Tom Tromey  <tromey@redhat.com>
22915
22916         * .settings/org.eclipse.core.resources.prefs: Set encoding for
22917         ChangeLog.
22918
22919 2006-04-10  Tom Tromey  <tromey@redhat.com>
22920
22921         * java/io/CharArrayWriter.java (append): Javadoc fix.
22922         (append): Likewise.
22923
22924 2006-04-10  Tom Tromey  <tromey@redhat.com>
22925
22926         * javax/accessibility/AccessibleTextSequence.java: New file.
22927         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
22928         field.
22929         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
22930         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
22931         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
22932         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
22933         * javax/accessibility/AccessibleExtendedText.java: New file.
22934         * javax/accessibility/AccessibleContext.java
22935         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
22936         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
22937         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
22938         * javax/accessibility/AccessibleAttributeSequence.java: New file.
22939         * javax/accessibility/AccessibleStreamable.java: New file.
22940         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
22941         fix.
22942
22943 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22944
22945         * javax/swing/tree/AbstractLayoutCache.java 
22946         (getNodeDimensions, getRowsForPath): Implemented.
22947         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
22948         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22949
22950 2006-04-10  Roman Kennke  <kennke@aicas.com>
22951
22952         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
22953
22954 2006-04-10  Roman Kennke  <kennke@aicas.com>
22955
22956         * javax/swing/JInternalFrame.java
22957         (AccessibleJInternalFrame): Marked all stubbed methods as such
22958         by adding throws NotImplementedException.
22959
22960 2006-04-10  Roman Kennke  <kennke@aicas.com>
22961
22962         * javax/swing/JFileChooser.java
22963         (getAccessibleContext): Don't create a new instance on each
22964         call, instead store the accessible context in the
22965         accessibleContext field.
22966
22967 2006-04-10  Roman Kennke  <kennke@aicas.com>
22968
22969         * javax/swing/JComboBox.java
22970         (AccessibleJComboBox): Marked all stubbed methods as such
22971         by adding throws NotImplementedException.
22972
22973 2006-04-10  Roman Kennke  <kennke@aicas.com>
22974
22975         * javax/swing/ActionMap.java
22976         (readObject): Removed.
22977         (writeObject): Removed.
22978
22979 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22980
22981         * javax/swing/tree/DefaultTreeSelectionModel.java
22982         (addSelectionPaths, setSelectionPaths): Call 
22983         insureUniqueness. (clone, setRowMapper): Implemented.
22984         * TreePath (path): Marked final.
22985
22986 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22987
22988         * javax/swing/tree/DefaultTreeSelectionModel.java:
22989         Documented and autoformatted. (insureUniqueness):
22990         Removed stub marking.
22991
22992 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
22993
22994         * javax/swing/SizeSequence.java
22995         (sizes): Don't initialise here,
22996         (SizeSequence(int, int)): Initialise sizes field,
22997         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
22998         (setSize): Do nothing when index is out of bounds,
22999         (getIndex): Implemented,
23000         (setSizes): Reimplemented,
23001         (getSizes): Likewise,
23002         (insertEntries): Likewise,
23003         (removeEntries): Likewise,
23004         plus added API docs all over.
23005
23006 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23007
23008         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23009         one way message and retry after any IOException.
23010
23011 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23012
23013         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23014         Set the byte order.
23015
23016 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23017
23018         * org/omg/PortableServer/ServantLocatorPOA.java: 
23019         (preinvoke, postinvoke): Remove default implementation.
23020         * org/omg/PortableServer/ServantActivatorPOA.java: 
23021         (incarnate, etherealize): Remove default implementation.        
23022         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23023         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23024         (make_object): Moved method from ObjectReferenceFactoryOperations.
23025         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23026         Removed unspecified interface.  
23027         * org/omg/DynamicAny/_DynAnyStub.java:
23028         (_DynAnyStub(Delegate)): Removed constructor.
23029         * org/omg/DynamicAny/_DynArrayStub.java,
23030         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23031         * org/omg/DynamicAny/_DynEnumStub.java,
23032         * org/omg/DynamicAny/_DynFixedStub.java,
23033         * org/omg/DynamicAny/_DynSequenceStub.java,
23034         * org/omg/DynamicAny/_DynStructStub.java,
23035         * org/omg/DynamicAny/_DynUnionStub.java,
23036         * org/omg/DynamicAny/_DynValueStub.java: 
23037         Extend from ObjectImpl and not from _DynAnyStub.
23038         (type, next, destroy, copy, rewind, assign, component_count, 
23039         current_component, equal, from_any, get_any, get_boolean, get_char, 
23040         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23041         get_reference, get_short, get_string, get_typecode, get_ulong, 
23042         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23043         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23044         insert_long, insert_longlong, insert_octet, insert_reference, 
23045         insert_short, insert_string, insert_typecode, insert_ulong, 
23046         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23047         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23048         * org/omg/CosNaming/_BindingIteratorStub.java:
23049         (_BindingIteratorStub(Delegate)): Made package private.
23050         * org/omg/CosNaming/_NamingContextExtStub.java:
23051         (_NamingContextExtStub(Delegate)): Made package private.
23052         * org/omg/CosNaming/_NamingContextStub.java:
23053         (_NamingContextStub(Delegate)): Made package private.
23054         (throw4, throw5): Likewise.
23055         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23056         Adapt to package private constructor. Use _set_delegate instead.        
23057         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23058         * org/omg/CORBA/ORB.java: 
23059         (create_recursive_sequence_tc): Made abstract.
23060         (get_default_context): Likewise.
23061         * gnu/CORBA/OrbRestricted.java: 
23062         (create_recursive_sequence_tc): New moved method.
23063         (get_default_context): Likewise.        
23064         * org/omg/CORBA/ParameterMode.java: 
23065         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23066
23067 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23068
23069         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23070         More informative exception.
23071         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23072         * gnu/CORBA/SocketRepository.java (get_socket):
23073         Removed debugging code.
23074
23075 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23076
23077         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23078         one way message, but ignore if EOF was received.
23079         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23080         Minor.EOF if the end of file is received instead of the header.
23081
23082 2006-04-09  Roman Kennke  <kennke@aicas.com>
23083
23084         * javax/swing/plaf/metal/MetalRootPaneUI.java
23085         (MetalTitlePane.IconifyAction): New inner class.
23086         (MetalTitlePane.MaximizeAction): New inner class.
23087         (MetalTitlePane.createActions): Create iconifyAction and
23088         maximizeAction.
23089         (MetalRootLayout.titlePane): New field.
23090         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23091         constructor.
23092         (MetalRootLayout.preferredLayoutSize): Changed to not make
23093         assumptions about the actual component order.
23094         (MetalRootLayout.layoutContainer): Changed to not make
23095         assumptions about the actual component order.
23096         (installWindowDecorations): Pass the titlePane as parameter to
23097         the MetalRootLayout constructor.
23098         (uninstallWindowDecorations): Changed to not make
23099         assumptions about the actual component order.
23100
23101 2006-04-08  Roman Kennke  <kennke@aicas.com>
23102
23103         * javax/swing/plaf/metal/MetalRootPaneUI.java
23104         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23105         of frames.
23106         (MetalTitlePane.installListeners): Don't register a focus listener
23107         on the window. This is a potential memory leak and must be
23108         implemented on a different way. Install mouse listener here.
23109         (installWindowDecorations): Fixed assertion condition. Always
23110         insert the window decoration at index#1 in the layered 
23111         pane.
23112
23113 2006-04-08  Roman Kennke  <kennke@aicas.com>
23114
23115         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23116         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23117         Only resize window if actual width or height value changes.
23118         Avoids nasty flicker when only setLocation() is beeing called
23119         on a window.
23120
23121 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23122
23123         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23124         exception if the magic sequence does not match.
23125
23126 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23127
23128         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23129         response for the one way messages.
23130
23131 2006-04-08  Roman Kennke  <kennke@aicas.com>
23132
23133         * javax/swing/MenuSelectionManager.java
23134         (processKeyEvent): Implemented stub method.
23135         * javax/swing/JMenu.java
23136         (processKeyEvent): Implemented stub method.
23137         * javax/swing/JMenu.java
23138         (processKeyEvent): Implemented stub method.
23139         (processMenuKeyEvent): Implemented stub method.
23140
23141 2006-04-08  Roman Kennke  <kennke@aicas.com>
23142
23143         * javax/swing/AbstractAction.java
23144         (readObject): Removed unneeded method.
23145         (writeObject): Removed unneeded method.
23146
23147 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23148
23149         * javax/swing/plaf/synth/SynthPainter.java: 
23150         (paintSplitPaneDividerBorder): Removed.
23151
23152 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23153
23154         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23155         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23156         No longer constants.
23157         (static_initializer): Added to initialize above fields.
23158         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23159         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23160         (static_initializer): Added to initialize above fields.
23161
23162 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23163
23164         * java/awt/Dialog.java: Improved documentation all over.
23165         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23166         (Dialog(Dialog)): Likewise.
23167
23168 2006-04-08  Mark Wielaard  <mark@klomp.org>
23169
23170         * java/util/jar/JarFile.java (provider): New static field.
23171         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23172         to `getInstance.'
23173
23174 2006-04-08  Mark Wielaard  <mark@klomp.org>
23175
23176         PR 27081
23177         * java/lang/StackTraceElement.java (toString): Don't add space
23178         between type and source indicator.
23179
23180 2006-04-07  Casey Marshall  <csm@gnu.org>
23181
23182         Fixes PR classpath/24464        
23183         * java/util/jar/JarFile.java (verify, verifyHashes,
23184         EntryInputStream.<init>): pass the Gnu provider directly to
23185         `getInstance.'
23186
23187 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23188
23189         PR classpath/27071
23190         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23191         (DIGEST0): Use version 3 test vector.
23192         (Sd): Removed.
23193         (S_box): New field: Version 3 S-box values.
23194         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23195         (transform): Formating.
23196         (padBuffer): Likewise.
23197         (getResult): Likewise.
23198         (selfTest): Likewise.
23199
23200 2006-04-07  Tom Tromey  <tromey@redhat.com>
23201
23202         * java/util/InvalidPropertiesFormatException.java
23203         (serialVersionUID): New field.
23204         (readObject, writeObject): New methods.
23205         * java/util/Arrays.java (toString): Javadoc fixes.
23206         * java/net/URLConnection.java: Cleaned up imports.
23207         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23208         * java/lang/reflect/MalformedParameterizedTypeException.java
23209         (serialVersionUID): New field.
23210         * java/lang/reflect/GenericSignatureFormatError.java
23211         (serialVersionUID): New field.
23212         * java/lang/Class.java (Class): Javado fixes.
23213         (getComponentType): Likewise.
23214         (getGenericInterfaces): Likewise.
23215         (getTypeParameters): Likewise.
23216         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23217         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23218         New field.
23219         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23220         field.
23221         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23222         New field.
23223
23224 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23225
23226         * java/awt/Dialog.java 
23227         (AccessibleAWTDialog): Added api docs
23228         (AccessibleAWTDialog.getAccessibleStateSet):
23229          Renamed from getAccessibleState.
23230         * java/awt/Frame.java 
23231         (AccessibleAWTFrame): Added api docs
23232         (AccessibleAWTFrame.getAccessibleStateSet):
23233          Renamed from getAccessibleState.
23234
23235 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23236
23237         * java/awt/Dialog.java: Reformatted.
23238
23239 2006-04-07  Lillian Angel  <langel@redhat.com>
23240
23241         * java/awt/Component.java
23242         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23243         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23244
23245 2006-04-07  Tom Tromey  <tromey@redhat.com>
23246
23247         * java/beans/beancontext/BeanContextMembershipEvent.java
23248         (serialVersionUID): New field.
23249         * java/beans/beancontext/BeanContextServicesSupport.java
23250         (addBeanContextServicesListener): Synchronize.
23251         (addService): Implemented.
23252         (createBCSChild): Implemented.
23253         (BCSSChild): Added arguments.
23254         (fireServiceAdded): Implemented.
23255         (fireServiceRevoked): Implemented.
23256         (getCurrentServiceSelectors): Implemented.
23257         (hasService): Implemented.
23258         (removeBeanContextServicesListener): Implemented.
23259         (serviceAvailable): Implemented.
23260         (serviceRevoked): Implemented.
23261         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23262         arguments.
23263         (createBCSChild): Implemented.
23264         (BeanContextSupport): 
23265         (addBeanContextMembershipListener): Synchronize.
23266         (fireChildrenAdded): Implemented.
23267         (fireChildrenRemoved): Implemented.
23268         (BeanContextSupport): Use default locale.
23269         (isEmpty): Implemented.
23270         (isDesignTime): Implemented.
23271         (size): Implemented.
23272         (toArray): Synchronized.
23273         (toArray): Likewise.
23274         (iterator): Likewise.
23275         (BCSIterator): Implemented.
23276         (bcsChildren): Implemented.
23277         (validatePendingAdd): Implemented.
23278         (validatePendingRemove): Likewise.
23279         (childJustAddedHook): Implemented.
23280         (childJustRemovedHook): Likewise.
23281         (classEquals): Likewise.
23282         (toArray): Mark as stub.
23283         (setDesignTime): Implemented.
23284         (copyChildren): Implemented.
23285         (containsKey): Implemented.
23286         (contains): Likewise.
23287         (containsAll): Likewise.
23288         (getResource): Implemented.
23289         (getResourceAsStream): Likewise.
23290         (removeBeanContextMembershipListener): Likewise.
23291         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23292         (serialVersionUID): New field.
23293         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23294         (serialVersionUID): New field.
23295         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23296         fix.
23297
23298 2006-04-06  Roman Kennke  <kennke@aicas.com>
23299
23300         PR 26937
23301         * javax/swing/MenuSelectionManager.java
23302         (setSelectedPath): Search one more item in the loop.
23303         
23304 2006-04-06  Tom Tromey  <tromey@redhat.com>
23305
23306         * java/awt/image/renderable/RenderableImageProducer.java
23307         (image, context, consumers): New fields.
23308         (RenderableImageProducer): Implemented.
23309         (setRenderContext): Likewise.
23310         (addConsumer): Likewise.
23311         (isConsumer): Likewise.
23312         (removeConsumer): Likewise.
23313         (startProduction): Likewise.
23314
23315 2006-04-06  Roman Kennke  <kennke@aicas.com>
23316
23317         * java/awt/Component.java
23318         (AccessibleAWTComponent.getBounds): Return the component
23319         bounds regardless of its showing state.
23320         (AccessibleAWTComponent.getLocation): Return the component
23321         location regardless of its showing state.
23322         (AccessibleAWTComponent.getSize): Return the component
23323         size regardless of its showing state.
23324
23325 2006-04-06  Roman Kennke  <kennke@aicas.com>
23326
23327         * javax/swing/JRootPane.java
23328         (getAccessibleContext): New method. Provides an accessibleContext
23329         for JRootPanes.
23330
23331 2006-04-06  Roman Kennke  <kennke@aicas.com>
23332
23333         * java/awt/Toolkit.java
23334         (initAccessibility): Use the 'gnu.classpath.home.url' property
23335         to determine the system confiuration directory.
23336         * java/awt/Component.java
23337         (dispatchEvent): Trigger Toolkit dispatching here.
23338         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23339         so it can't be overridden by subclasses and is performed in
23340         any case.
23341
23342 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23343         
23344         * javax/naming/Binding.java: Added API docs.
23345         * javax/naming/NameClassPair.java: Added API docs.
23346         (fullName): New field.
23347         (setNameInNamespace): New 1.5 method.
23348         (getNameInNamespace): Likewise.
23349
23350 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23351
23352         * javax/naming/CompositeName.java: 
23353         (readObject): New deserialization method.
23354         (writeObject): New serialization method.
23355
23356 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23357
23358         * javax/security/auth/x500/X500Principal.java
23359         (readAttributeValue) Check for separator after quoted value was
23360         failing in all cases.
23361
23362 2006-04-06  Mark Wielaard  <mark@klomp.org>
23363
23364         * java/lang/Class.java (getClassLoader): Don't do security check
23365         when loader is null.
23366
23367 2006-04-06  Roman Kennke  <kennke@aicas.com>
23368
23369         * java/awt/Toolkit.java
23370         (getDefaultToolkit): Initialize accessibility after setting
23371         up the toolkit.
23372         (initAccessibility): New helper method to setup accessibility.
23373
23374 2006-04-06  Roman Kennke  <kennke@aicas.com>
23375
23376         * javax/swing/AbstractButton.java
23377         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23378         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23379         stub.
23380         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23381         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23382         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23383         (AccessibleAbstractButton.getCharCount): Implemented stub.
23384         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23385         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23386         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23387         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23388         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23389         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23390         private method.
23391
23392 2006-04-06  Roman Kennke  <kennke@aicas.com>
23393
23394         * java/awt/Component.java
23395         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23396         state here. This is only done in JComponent.
23397         * javax/swing/JComponent.java
23398         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23399         here.
23400         (getNextFocusableComponent): Implemented stub method.
23401         (grabFocus): Implemented stub method.
23402         (unregisterKeyboardAction): Implemented stub method.
23403         (setNextFocusableComponent): Implemented stub method.
23404         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23405         This is a helper class for providing compatibility with the older
23406         Swing focus API.
23407
23408 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23409
23410         Fixes bug #26995
23411         * javax/naming/directory/BasicAttribute.java,
23412         * javax/naming/directory/BasicAttributes.java: 
23413         (readObject): New deserialization method.
23414         (writeObject): New serialization method.
23415
23416 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23417
23418         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23419         (getErrorHandler): Made method abstract.
23420         (setErrorHanlder): Likewise.
23421         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23422         (getErrorHandler): Implement abstract method from superclass.
23423         (setErrorHandler): Likewise.
23424         (errorHandler): New field.
23425         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23426         (getErrorHandler): Implement abstract method from superclass.
23427         (setErrorHandler): Likewise.
23428         (errorHandler): New field.      
23429         * javax/xml/XMLConstants.java: Corrected since tag.
23430         (XMLConstants): Added private constructor.
23431         * javax/xml/datatype/Duration.java: Corrected since tag.
23432         (multiply): Made method abstract.
23433         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23434         (DatatypeConstants): Added private constructor.
23435         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23436         (XPathConstants): Added private constructor.
23437
23438 2006-04-05  Tom Tromey  <tromey@redhat.com>
23439
23440         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23441
23442 2006-04-05  Tom Tromey  <tromey@redhat.com>
23443
23444         PR libgcj/26625:
23445         * lib/Makefile.am (compile-classes): Touch the output file.
23446
23447 2006-04-05  Roman Kennke  <kennke@aicas.com>
23448
23449         * javax/swing/AbstractButton.java
23450         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23451         of the focused state. This is already done in AccessibleAWTComponent.
23452
23453 2006-04-05  Roman Kennke  <kennke@aicas.com>
23454
23455         * javax/swing/JComponent.java
23456         (accessibleContext): Fixed API doc for this field.
23457         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23458         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23459         Implemented and added API docs.
23460         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23461         Implemented and added API docs.
23462         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23463         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23464         Implemented and added API docs.
23465         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23466         Implemented and added API docs.
23467         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23468         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23469         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23470         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23471         (AccessibleJComponent.getAccessibleStateSet): Simply return
23472         super here. Added comment about this.
23473
23474 2006-04-05  Roman Kennke  <kennke@aicas.com>
23475
23476         * javax/swing/JComponent.java
23477         (AccessibleJComponent.addPropertyChangeListener): Install
23478         ContainerHandler and FocusHandler here.
23479         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23480         ContainerHandler and FocusHandler here.
23481         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23482         by super.getAccessibleChildrenCount().
23483         (AccessibleJComponent.getAccessibleChild): Replaced
23484         by super.getAccessibleChild().
23485         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23486         adding OPAQUE to the supported states.
23487         (AccessibleJComponent.getAccessibleName): Added titled border
23488         and label fallbacks.
23489         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23490         and label fallbacks.
23491         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23492         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23493         explaining why return null seems correct here.
23494         * javax/swing/JLabel.java
23495         (LABEL_PROPERTY): New constant.
23496         (setLabelFor): Store label in labeled component's client properties
23497         for the AccessibleJComponent to read.
23498
23499 2006-04-05  Tom Tromey  <tromey@redhat.com>
23500
23501         * java/util/zip/ZipFile.java (available): Defer to super if
23502         entry's size is unknown.
23503
23504 2006-04-05  Tom Tromey  <tromey@redhat.com>
23505
23506         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23507         property with mime.types name.
23508         * gnu/classpath/SystemProperties.java: Set
23509         gnu.classpath.mime.types.file if not already set.
23510         * java/net/URLConnection.java (defaultFactory): New field.
23511         (guessContentTypeFromStream): Mark as unimplemented.
23512         (getContentHandler): Updated with libgcj's implementation.
23513         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23514         from libgcj.
23515
23516 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23517
23518         PR classpath/27028
23519         PR classpath/24752
23520         * java/util/AbstractList.java (hasNext): Don't throw
23521         ConcurrentModificationException. Update Javadoc.
23522         (hasPrevious): Likewise.
23523         (nextIndex): Likewise.
23524         (previousIndex): Likewise.
23525         * java/util/HashMap.java (hasNext): Likewise.
23526         * java/util/Hashtable.java (hasNext): Likewise.
23527         * java/util/IdentityHashMap.java (hasNext): Likewise.
23528         * java/util/LinkedHashMap.java (hasNext): Likewise.
23529         * java/util/LinkedList.java (nextIndex): Likewise.
23530         (previousIndex): Likewise.
23531         (hasNext): Likewise.
23532         (hasPrevious): Likewise.
23533         * java/util/TreeMap.java (hasNext): Likewise.
23534         * java/util/WeakHashMap.java (hasNext): Likewise.
23535
23536 2006-04-05  Roman Kennke  <kennke@aicas.com>
23537
23538         * javax/swing/AbstractButton.java
23539         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23540         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23541         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23542         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23543         (AccessibleAbstractButton.getAccessibleActionDescription):
23544         Implemented stub.
23545         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23546         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23547         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23548         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23549         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23550         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23551
23552 2006-04-05  Roman Kennke  <kennke@aicas.com>
23553
23554         * javax/swing/JComboBox.java
23555         (selectWithKeyChar): Implemented stubbed method.
23556
23557 2006-04-05  Roman Kennke  <kennke@aicas.com>
23558
23559         * javax/swing/LookAndFeel.java
23560         (installProperty): New method. Allows primitive typed properties
23561         to be handled like UIResources.
23562         * javax/swing/AbstractButton.java
23563         (clientBorderPaintedSet): New field.
23564         (clientRolloverEnabledSet): New field.
23565         (clientIconTextGapSet): New field.
23566         (clientContentAreaFilledSet): New field.
23567         (setRolloverEnabled): Set the client field to true.
23568         (setBorderPainted): Likewise.
23569         (setIconTextGap): Likewise.
23570         (setContentAreaFilled): Likewise.
23571         (setUIProperty): New helper method.
23572         * javax/swing/JComponent.java
23573         (clientOpaqueSet): New field.
23574         (clientAutoscrollsSet): New field.
23575         (setAutoscrolls): Set the client field to true.
23576         (setOpaque): Likewise.
23577         (setUIProperty): New helper method.
23578         * javax/swing/JDesktopPane.java
23579         (clientDragModeSet): New field.
23580         (setDragMode): Set the client field to true.
23581         (setUIProperty): New helper method.
23582         * javax/swing/JSplitPane.java
23583         (clientDividerSizeSet): New field.
23584         (clientOneTouchExpandableSet): New field.
23585         (setDividerSize): Set the client field to true.
23586         (setOneTouchExpandable): Likewise.
23587         (setUIProperty): New helper method.
23588         * javax/swing/JTable.java
23589         (clientRowHeightSet): New field.
23590         (setRowHeight): Set the client field to true.
23591         (setUIProperty): New helper method.
23592         * javax/swing/JTree.java
23593         (clientRowHeightSet): New field.
23594         (clientScrollsOnExpandSet): New field.
23595         (clientShowsRootHandlesSet): New field.
23596         (setRowHeight): Set the client field to true.
23597         (setShowsRootHandles): Likewise.
23598         (setScrollsOnExpand): Likewise.
23599         (setUIProperty): New helper method.
23600
23601 2006-04-05  Roman Kennke  <kennke@aicas.com>
23602
23603         * java/awt/Component.java
23604         (getFont): Don't request the font from the peer's graphics. The
23605         graphics should instead get the font from the Component, which might
23606         result in a loop.
23607         (getFocusCycleAncestor): Don't special case Window.
23608         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23609         to here. Correctly determine the focus cycle root.
23610         (transferFocusBackward): Likewise.
23611         (transferFocusUpCycle): Likewise.
23612         * java/awt/Container.java
23613         (transferFocusDownCycle): Moved implementation from
23614         DefaultKeyboardFocusManager to here.
23615         * java/awt/DefaultKeyboardFocusManager.java
23616         (focusPreviousComponent): Moved implementation to
23617         Component.transferFocusBackward().
23618         (focusNextComponent): Moved implementation to
23619         Component.nextFocus().
23620         (upFocusCycle): Moved implementation to
23621         Component.transferFocusUpCycle().
23622         (downFocusCycle): Moved implementation to
23623         Container.transferFocusDownCycle().
23624
23625 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23626
23627         * java/awt/image/ComponentSampleModel.java
23628         (equals): Implemented,
23629         (hashCode): Likewise.
23630
23631 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23632
23633         * java/lang/Class.java
23634         (cast): New method.
23635
23636 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23637
23638         * java/awt/image/ComponentSampleModel.java
23639         (getBankIndices): Return a copy of the array, not a reference to the
23640         original,
23641         (getBandOffsets): Likewise.
23642
23643 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23644
23645         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23646
23647 2006-04-04  Tom Tromey  <tromey@redhat.com>
23648
23649         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23650
23651 2006-04-04  Tom Tromey  <tromey@redhat.com>
23652
23653         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23654         (MimeTypeMapper): Initialize.
23655         (fillFromFile): New method.
23656         (main): New method.
23657         (mime_strings): Updated.
23658
23659 2006-04-04  Tom Tromey  <tromey@redhat.com>
23660
23661         * lib/gen-classlist.sh.in: Correct handle generated files.
23662
23663 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23664
23665         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23666         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23667         * gnu/regexp/CharIndexedCharSequence.java: New file.
23668         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23669         gnu.regexp.CharIndexedCharSequence.
23670         * gnu/regexp/CharIndexedString.java: Likewise.
23671         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23672         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23673         using CharIndexedCharSequence. Use setAnchor when the input
23674         object is already a CharIndexed.
23675         * java/util/regex/Matcher.java(inputCharIndexed): New field
23676         to be used as a parameter of the RE#getMatch.
23677
23678 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23679
23680         * java/awt/image/SampleModel.java: Reformatted.
23681
23682 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23683
23684         * java/awt/image/ComponentSampleModel.java
23685         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23686         documentation,
23687         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23688         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23689         of the bandOffsets and bankIndices arguments, added API documentation,
23690         * java/awt/image/SampleModel.java
23691         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23692         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23693         less than or equal to zero, added API documentation.
23694
23695 2006-04-04  Lillian Angel  <langel@redhat.com>
23696
23697         * java/util/zip/ZipFile.java
23698         (getInputStream): Fixed to return size of ZipEntry
23699         minus the total bytes read. This guarantees that the 
23700         right value is returned even if some bytes have already
23701         been read.
23702
23703 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23704
23705         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23706         Remove static modifier.
23707
23708 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23709
23710         * java/awt/image/ComponentSampleModel.java: Reformatted.
23711
23712 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23713
23714         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23715         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23716         retrieval instructions to javadoc header.
23717         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23718         compressionType field.
23719         * lib/Makefile.am (propertydirs): Add javax directory.
23720         (propertyfiles): Likewise.
23721         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23722         New file.
23723
23724 2006-04-03  Tom Tromey  <tromey@redhat.com>
23725
23726         PR classpath/26971:
23727         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23728         (BasicAttributeEnumeration.where): Initialize to 0.
23729         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23730
23731 2006-04-03  Lillian Angel  <langel@redhat.com>
23732
23733         PR classpath/24596 and PR classpath/26930
23734         * java/util/zip/ZipFile.java
23735         (getInputStream): Override available function for 
23736         InflaterInputStream instance.
23737
23738 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23739
23740         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23741
23742 2006-04-03  Tom Tromey  <tromey@redhat.com>
23743
23744         * javax/security/auth/kerberos/ServicePermission.java: New file.
23745         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23746         * javax/security/auth/kerberos/KerberosKey.java: New file.
23747         * javax/security/auth/kerberos/KeyImpl.java: New file.
23748         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23749         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23750
23751 2006-04-03  Sven de Marothy  <sven@physto.se>
23752
23753         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23754         non-GtkImage images.
23755
23756 2006-04-03  Mark Wielaard  <mark@klomp.org>
23757
23758         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23759         as temporary file name.
23760
23761 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23762
23763         * INSTALL: Documented --with-glibj-zip option.
23764
23765 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23766
23767         Fixed all pscan warnings.
23768
23769         * native/jni/classpath/jcl.c (JCL_ThrowException),
23770         native/jni/classpath/jcl.h (DBG),
23771         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23772         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23773         Use "%s" format in fprintf and snprintf explicitely when printing a single 
23774         string to prevent format string exploits.
23775         
23776         * native/jni/java-net/javanet.h (DBG): Removed duplicate
23777         definition. Included jcl.h instead.
23778  
23779 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
23780
23781         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23782         (provider): Made it protected.
23783         (providerInstalled): New field.
23784         (Main): Made it a 0-arguments constructor.
23785         Removed throws clasue.
23786         (main): Removed throws clause.
23787         Call processArgs(args) after constructing instance.
23788         Call teardown() before existing.
23789         (processArgs): Added javadoc.
23790         Reduced to throws Exception.
23791         (start): Likewise.
23792         (teardown): New method.
23793         (setupCommonParams): Added javadoc.
23794         Install designated provider if not already installed.
23795         (installNewProvider): New method.
23796         (setupSigningParams): Added javadoc.
23797         Instantiate the KeyStore using type only.
23798         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23799         Removed unused imports.
23800         (start): Reduced to throws Exception.
23801         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23802         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23803         Re-organized imports.
23804         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23805         Test ignoring case.
23806         (getNames): Add "dsa" as an algorithm provided by this Factory.
23807         (makeInstance): Construct IllegalArgumentException with 2 arguments.
23808
23809 2006-04-03  Roman Kennke  <kennke@aicas.com>
23810
23811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23812         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23813         Replaced g_free() with pango_item_free() to avoid problems
23814         with the allocator.
23815
23816 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
23817
23818         Fixes bug #26668
23819         * java/util/logging/Level.java (parse): Document.
23820         * java/util/logging/LogManager.java (rootLogger): Removed.
23821         (LogManager): Just set loggers to new HashMap.
23822         (getLogManager): Make synchronized. Create and init LogManager if it
23823         doesn't exist yet.
23824         (static): Removed block.
23825         (MANAGER_PROPERTY): New private final string.
23826         (makeLogManager): Use new property string, move warning to
23827         createInstance() method.
23828         (CONFIG_PROPERTY): New private final string.
23829         (initLogManager): New method.
23830         (addLogger): Use Logger.root, not rootLogger.
23831         (findAncestor): Likewise.
23832         (readConfiguration): Move warning to createInstance() method.
23833         Add handlers directly to Logger.root. Warn about bad level values.
23834         (getClassProperty): Use new locateClass() method.
23835         (getInstanceProperty): Only catch specific newInstance Errors.
23836         (createInstance): Make private and takes a string to use in warning
23837         messages. Use new locateClass() method and generate appropriate
23838         warning message.
23839         (warn): New methods.
23840         (locateClass): Locates a class through the context class loader and
23841         system class loader as backup.
23842         * java/util/logging/Logger.java (root): New static final field.
23843         (Logger): Set parent to root.
23844         (setParent): Directly check root field.
23845
23846 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23847
23848         * java/util/Collections.java:
23849         (binarySearch(List, T)): Fixed signature.
23850         (unmodifiableList(List)): Likewise.
23851         (UnmodifiableList(List)): Fixed constructor.
23852         (UnmodifiableRandomAccessList(List)): Likewise.
23853         (unmodifiableMap(Map)): Fixed signature.
23854         (UnmodifiableMap(Map)): Fixed constructor.
23855         (unmodifiableSortedMap(Map)): Fixed signature.
23856         (UnmodifiableSortedMap(Map)): Fixed constructor.
23857         
23858 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23859
23860         * java/io/ObjectOutputStream.java:
23861         (writeObject(Object)): Added enum support.
23862         (writeClassDescriptor(ObjectStreamClass)): Likewise.
23863         * java/io/ObjectStreamClass.java:
23864         (isEnum()): New package-private method.
23865         (setFlags(Class)): Added enum support.
23866         * java/io/ObjectStreamConstants.java:
23867         (SC_ENUM): Added.
23868         
23869 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23870
23871         * javax/swing/text/Segment.java:
23872         (setPosition): Make exception message more verbose.
23873         * javax/swing/text/WrappedPlainView.java:
23874         (insertUpdate): Removed unneeded repaint call.
23875         (changeUpdate): Dito.
23876         (removeUpdate): Dito.
23877         (WrappedLine.determineNumLines): Do not return numLines, break
23878         from loop if no new break point has been calculated.
23879         (WrappedLine.updateDamage): Rewritten.
23880         (WrappedLine.insertUpdate): Removed unneeded update code.
23881         (WrappedLine.removeUpdate): Removed unneeded update code, added
23882         comment.        
23883
23884 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23885
23886         * configure.ac (with-glibj-zip): Added new option.
23887
23888         * examples/Makefile.am,
23889         lib/Makefile.am,
23890         tools/Makefile.am: Adapted build classpath to use glibj.zip,
23891         in addition to classes in lib directory.
23892
23893 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23894
23895         * tools/gnu/classpath/tools/giop/GRMIC.java,
23896         tools/gnu/classpath/tools/giop/IorParser.java,
23897         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
23898         tools/gnu/classpath/tools/giop/grmic/Generator.java,
23899         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
23900         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
23901         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
23902         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
23903         tools/gnu/classpath/tools/rmi/RMIC.java,
23904         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
23905         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
23906         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
23907         linking exception from the licensing header.
23908         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
23909         Added licensing header.
23910
23911 2006-04-02  Mark Wielaard  <mark@klomp.org>
23912
23913         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
23914         (jarsigner): Removed.
23915
23916 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
23917
23918         * configure.ac: don't check for isnan function.
23919         * native/fdlibm/fdlibm.h: Always use the isnan macro.
23920
23921 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23922
23923         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
23924         * tools/Makefile.am: Generate jarsigner shell script.
23925         * tools/jarsigner.sh.in: New template.
23926         * tools/.cvsignore: Added jarsigner.sh.
23927
23928 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
23929
23930         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
23931         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
23932         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
23933         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
23934         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
23935         Re-organised imports.
23936
23937 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
23938
23939         PR classpath/25924:
23940         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
23941         Handle case where alpha==0.
23942
23943 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23944
23945         PR #26676
23946         * javax/swing/text/Utilities.java:
23947         (getTabbedTextOffset): Added check to decrement pos not below zero,
23948         changed '>' comparison to '>='.
23949         * javax/swing/text/WrappedPlainView.java:
23950         (lineHeight): New field.
23951         (calculateBreakPosition): Throw InternalError in catch block, removed
23952         unneeded brackets, use specific version of
23953         Utilities.getTabbedTextOffset.
23954         (paint): Set various properties neccessary for drawing.
23955         (WrappedLine.paint): Removed code to set field of outer class.
23956         (WrappedLine.modelToView): Removed unneeded expression from
23957         if-statement.
23958         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
23959         -1 from return statement, copy only a subset into the Segment, removed
23960         special handling of mark value - just return it, simplified
23961         incrementation of currLineStart.
23962         (WrappedLine.insertUpdate): Recalculate numLines, report preference
23963         change to parent view.
23964         (WrappedLine.removeUpdate): Dito.
23965
23966 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23967
23968         * javax/swing/text/Segment.java:
23969         (toString): Return empty string when array is null.
23970
23971 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
23972
23973         * javax/swing/plaf/basic/BasicTextUI.java:
23974         (damageRange): Use SwingUtilities.computeUnion to avoid
23975         unneccessary Rectangle instantiation.
23976
23977 2006-04-01  Tom Tromey  <tromey@redhat.com>
23978
23979         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
23980
23981 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23982
23983         * javax/swing/text/CompositeView.java: Fixed copyright header.
23984         * javax/swing/text/BoxView.java: Fixed copyright header.
23985         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
23986         * javax/swing/text/Utilities.java: Fixed copyright header.
23987
23988 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
23989
23990         * javax/swing/text/CompositeView.java:
23991         (modelToView): Throw BadLocationException when no child
23992         view can be found, restructed to throw exception as early
23993         as possible.
23994         (viewToModel): Use mutable allocation as argument for viewToModel
23995         call on child view.
23996         * javax/swing/text/BoxView.java:
23997         (getViewAtPoint): Call setBounds() r before method returns with
23998         suitable child view.
23999         * javax/swing/text/Utilities.java:
24000         (getPositionBelow): Added try-catch-block around modelToView call,
24001         added method return when BadLocationException was thrown.
24002         * javax/swing/text/WrappedPlainView.java:
24003         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24004         added note about meaning of rect.x and rect.width, removed unneeded
24005         checks, added code to not return the last possible document offset.
24006
24007 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24008
24009         * javax/swing/text/WrappedPlainView.java:
24010         (WrappedLine.viewToModel): Change < to <= in if-statement,
24011         removed addition of currLineStart to return value.
24012         * javax/swing/text/BoxView.java:
24013         (getViewAtPoint): Use copy instead of r for method call
24014         which modifies the second argument.
24015
24016 2006-04-01  Mark Wielaard  <mark@klomp.org>
24017
24018         Fixes PR26973
24019         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24020
24021 2006-03-31  Tom Tromey  <tromey@redhat.com>
24022
24023         * lib/split-for-gcj.sh: Updated for multi-field format.
24024         * lib/Makefile.am (CLEANFILES): Added classes.2.
24025         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24026         classes.2 using multiple fields.
24027
24028 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24029
24030         * javax/swing/JTable.java (columnSelectionChanged):
24031         Removed print statement.
24032         * javax/swing/DefaultListSelectionModel.java
24033         (addSelectionInterval, removeSelectionInterval):
24034         Fire the difference between selection. (setLeadSelectionIndex):
24035         Fire the difference and mark current and previous lead
24036         selection indexes for repaint.
24037
24038 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24039
24040         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24041         unnecessary copying.
24042         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24043
24044 2006-03-31  Lillian Angel  <langel@redhat.com>
24045
24046         * java/awt/Component.java
24047         (translateEvent): oldKey should be the value of the
24048         key char.
24049
24050 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24051
24052         * javax/swing/JTable.java (columnSelectionChanged):
24053         Treat second repaint parameter as width.
24054
24055 2006-03-31  Lillian Angel  <langel@redhat.com>
24056         
24057         PR classpath/26924
24058         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24059         (realize): New native function.
24060         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24061         Added new function declaration.
24062         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24063         (realize): New function.
24064
24065 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24066         
24067         * javax/swing/text/GapContent.java:
24068         (replace): Move all Position instances from gap's end to
24069         it's start before increasing the gap start.
24070         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24071         (propertyChanged): Update the view only instead of
24072         indicating a document change.
24073
24074 2006-03-31  Roman Kennke  <kennke@aicas.com>
24075
24076         * javax/swing/JTextField.java
24077         (fireActionPerformed): Put the textfields text in the action
24078         instead of the action name.
24079
24080 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24081
24082         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24083         Check for null jar-file argument.
24084         (setupSigningParams): Check for null alias argument.
24085
24086 2006-03-31  Roman Kennke  <kennke@aicas.com>
24087
24088         * javax/swing/JComponent.java
24089         (paintChildren): Split up in two cases, depending on the
24090         optimizedDrawingEnabled flag.
24091         (paintChildrenWithOverlap): New method. Paints children when
24092         not optimizedDrawingEnabled. This implements better painting
24093         algorithm for overlapping components, so that the painted
24094         regions are minimized.
24095         (paintChildrenOptimized): New method. Paints children when
24096         when optimizedDrawingEnabled. This implements a painting
24097         algorithm that is optimized for the case when all children
24098         are guaranteed to be tiled.
24099
24100 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24101
24102         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24103         Attributes.putValue(String,String).
24104         (finishSigning): Likewise.
24105         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24106         (SIGNATURE_VERSION): Likewise.
24107         (readSFManifest): Use local string constant.
24108         (readMainSection): Likewise.
24109         (readVersionInfo): Likewise.
24110         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24111         Redefined using JarUtils constant.
24112         (SIGNATURE_VERSION): Likewise.
24113         (putValue(Name,String)): Made it private.
24114
24115 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24116
24117         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24118         New method. (clearSelection): Rewritten. (setSelectionInterval):
24119         Fire the difference between current and new selection.
24120         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24121         Only repaint the region, where selection has been changed.
24122         * javax/swing/plaf/basic/BasicTableUI.java 
24123         (TableAction.actionPerformed): Do not change the column selection
24124         when only row selection change is wanted (and in reverse) and 
24125         do not call the repaint() here.
24126
24127 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24128
24129         Fixes bug #26951
24130         * javax/swing/DefaultComboBoxModel.java
24131         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24132         vector.size(),
24133         (addElement): Call list.addElement() rather than list.add(), and only
24134         update selected item if it is currently null,
24135         (removeElementAt): Update selected item, then remove the element.
24136
24137 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24138
24139         Fixes bug #26955
24140         * java/awt/geom/Point2D.java
24141         (distanceSq(double, double)): Fixed order of arguments,
24142         (distanceSq(Point2D)): Likewise,
24143         (distance(double, double)): Likewise,
24144         (distance(Point2D)): Likewise.
24145
24146 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24147
24148         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24149         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24150         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24151         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24152         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24153
24154 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24155
24156         * javax.swing.JTable (constructor): Initialize column
24157         model column margin and table row margin before setting the
24158         table column model. (initialiseLocalVars): Do not call 
24159         setIntercellSpacing.
24160
24161 2006-03-30  Chris Burdess  <dog@gnu.org>
24162
24163         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24164           method signature.
24165         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24166
24167 2006-03-30  Mark Wielaard  <mark@klomp.org>
24168
24169         PR 26848
24170         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24171         adjust bounds. On resize invalidate and validate container.
24172         Always pass on ComponentEvents to Container super class.
24173         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24174         menuBar and pass to GtkWindowPeer super class.
24175         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24176         bounds and pass to GtkWindowPeer super class.
24177         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24178         New fields for local bounds.
24179         (getX, getY): New methods.
24180         (getWidth): Don't call into awtComponent.
24181         (getHeight): Likewise.
24182         (create): Cache local bounds.
24183         (setLocation): Documented, made protected and just call
24184         nativeSetLocation.
24185         (setLocationUnlocked): Removed unused method.
24186         (setBoundsUnlocked): Likewise.
24187         (setBounds): Check whether bounds actually changed and cache local
24188         bounds.
24189         (setSize): Documented and made protected.
24190         (setResizable): Documented and cache local bounds.
24191         (postConfigureEvent): Update local bounds. Don't call awtComponent
24192         directly but post ComponentEvents.
24193         (show): Cache local bounds.
24194         (getBounds): Override to return cached bounds.
24195
24196 2006-03-30  Lillian Angel  <langel@redhat.com>
24197
24198         * gnu/java/awt/peer/gtk/GdkGraphics.java
24199         (drawImage): Added check to prevent NPE.
24200         (drawImage): Likewise.
24201         (drawImage): Likewise.
24202         * java/awt/Choice.java
24203         (dispatchEventImpl): New function. selectedIndex was
24204         not being updated properly otherwise.
24205
24206 2006-03-30  Roman Kennke  <kennke@aicas.com>
24207
24208         * javax/swing/JTabbedPane.java
24209         (removeTabAt): Removed debug code.
24210
24211 2006-03-30  Roman Kennke  <kennke@aicas.com>
24212
24213         PR 26045
24214         * javax/swing/plaf/basic/BasicTextUI.java
24215         (installKeyboardActions): Simply call getKeymap() and install this.
24216         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24217
24218 2006-03-30  Roman Kennke  <kennke@aicas.com>
24219
24220         * javax/swing/JTabbedPane.java
24221         (removeTabAt): Adjust selection correctly when removing a tab
24222         before the selected tab. Also remove the component from the
24223         container, not only the tab object. Repaint and revalidate the
24224         component after the removal.
24225         (removeAll): Set selection to -1 before removing the tabs.
24226
24227 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24228
24229         * java/io/ObjectInputStream.java:
24230         (parseContent(byte)): Added enum support.
24231         * java/io/ObjectStreamConstants.java:
24232         (TC_ENUM): Added.
24233         (TC_MAX): Changed to new maximum, TC_ENUM.
24234         
24235 2006-03-29  Lillian Angel  <langel@redhat.com>
24236
24237         Partial fix for bug #26929
24238         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24239         (updateComponent): Removed. We want to clear the panel
24240         before painting.
24241         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24242         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24243         Should set the background to the saved background color.
24244
24245 2006-03-29  Mark Wielaard  <mark@klomp.org>
24246
24247         Partial fix for bug #26848 (pack).
24248         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24249         Always show instances of Window.
24250
24251 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24252
24253         * javax/swing/JSlider.java
24254         (setPaintLabels): Only create standard labels if labelTable is null,
24255         * javax/swing/plaf/basic/BasicSliderUI.java
24256         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24257         "paintTicks" property change,
24258         (calculateThumbSize): Updated API docs,
24259         (calculateContentRect): Likewise,
24260         (calculateTrackBuffer): Take into account the lowest and highest 
24261         labels when calculating buffer space,
24262         (calculateTrackRect): Include labels, if visible, in the calculation of
24263         the trackRect position,
24264         (calculateTickRect): Height is zero if ticks are not painted,
24265         (calculateLabelRect): Use max dimensions of actual labels,
24266         (getWidthOfHighValueLabel): Use preferred size,
24267         (getWidthOfLowValueLabel): Likewise,
24268         (getHeightOfHighValueLabel): Likewise,
24269         (getHeightOfLowValueLabel): Likewise,
24270         (drawInverted): Just return slider setting,
24271         (getHighestValueLabel): Updated API docs,
24272         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24273         to xPositionForValue() and yPositionForValue(),
24274         (paintHorizontalLabel): Removed full qualification of class name,
24275         (paintVerticalLabel): Likewise,
24276         (xPositionForValue): Reimplemented,
24277         (yPositionForValue): Reimplemented,
24278         * javax/swing/plaf/metal/MetalSliderUI.java
24279         (paintTrack): Made track one pixel longer.
24280
24281 2006-03-29  Tom Tromey  <tromey@redhat.com>
24282
24283         PR gcc/26901:
24284         * tools/Makefile.am (JCOMPILER): Added encoding options.
24285         * examples/Makefile.am (JCOMPILER): Added encoding options.
24286
24287 2006-03-29  Gary Benson  <gbenson@redhat.com>
24288
24289         Partial fix for PR classpath/24895
24290         * java/io/FilePermission.java (implies): Canonicalize paths.
24291
24292 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24293
24294         PR 26888
24295         * javax/swing/text/GapContent.java:
24296         (replace): Added call to resetMarksAtZero.
24297
24298 2006-03-29  Roman Kennke  <kennke@aicas.com>
24299
24300         PR 23527
24301         * javax/swing/plaf/basic/BasicMenuItemUI.java
24302         (cachedRect): New field.
24303         (BasicMenuItemUI): Initialize cachedRect field.
24304         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24305         to determine layout. Store maximum accelerator and text width
24306         in client properties of parent to allow correct alignment
24307         of accelerators among menu items of one menu.
24308         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24309         method. Align accelerators according to the values calculated
24310         in getPreferredMenuItemSize.
24311         (getAcceleratorString) New helper method.
24312         (layoutMenuItem): New helper method.
24313
24314 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24315
24316         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24317         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24318         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24319         Avoid NPEs.
24320         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24321         readExternal, writeExternal): New methods.
24322         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24323         two stages, invokeCommon(Remote, ...) and 
24324         invokeCommen(UnicastConnection, ...).
24325         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24326         also the ActivatableRef. toString(): Documented.
24327         * gnu/java/rmi/server/ActivatableRef.java,
24328         tools/gnu/classpath/tools/rmi/Persistent.java,
24329         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24330         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24331         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24332         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24333         tools/gnu/classpath/tools/rmi/RMID.java,
24334         tools/gnu/classpath/tools/rmi/RMID.txt,
24335         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24336         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24337         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24338         tools/gnu/classpath/tools/rmi/registry/package.html,
24339         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24340         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24341         New files.
24342         * tools/README: Documented.
24343         * NEWS: Added entry about the activation.
24344
24345 2006-03-29  Roman Kennke  <kennke@aicas.com>
24346
24347         PR 23527
24348         * javax/swing/plaf/basic/BasicMenuItemUI.java
24349         (viewRect): New field.
24350         (textRect): New field.
24351         (accelRect): New field.
24352         (iconRect): New field.
24353         (arrowIconRect): New field.
24354         (checkIconRect): New field.
24355         (BasicMenuItemUI): Initialize new fields.
24356         (paintMenuItem): Rewritten to correctly layout and paint
24357         the menu item in a more straightforward way. Use cached rectangle
24358         objects for layout.
24359         (paintAccelerator): Pulled inside the paintMenuItem method.
24360
24361 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24362
24363         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24364         Do not use initCause with UnexpectedException.
24365         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24366         Likewise. 
24367
24368 2006-03-29  Mark Wielaard  <mark@klomp.org>
24369
24370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24371         (setCursorID): Removed unused static variable.
24372
24373 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24374
24375         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24376
24377 2006-03-29  Mark Wielaard  <mark@klomp.org>
24378
24379         Fixes bug #26527
24380         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24381         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24382
24383 2006-03-28  Roman Kennke  <kennke@aicas.com>
24384
24385         * javax/swing/UIManager.java
24386         (installLookAndFeel): Implemented.
24387         (setInstalledLookAndFeels): Implemented.
24388
24389 2006-03-28  Roman Kennke  <kennke@aicas.com>
24390
24391         * javax/swing/plaf/metal/MetalButtonUI.java
24392         (update): Paint gradient only when the background color
24393         is not a UIResource and if the button is neither armed nor
24394         pressed and if the button is contentAreaFilled.
24395
24396 2006-03-28  Roman Kennke  <kennke@aicas.com>
24397
24398         * javax/swing/JLayeredPane.java
24399         (addImpl): Repaint added component.
24400
24401 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24402
24403         * java/util/regex/Matcher.java: Reverted.
24404
24405 2006-03-28  Roman Kennke  <kennke@aicas.com>
24406
24407         * javax/swing/text/AsyncBoxView.java
24408         (setEstimatedMajorSpan): Made method protected.
24409         (getEstimatedMajorSpan): Made method protected.
24410         * javax/swing/text/BoxView.java
24411         (flipEastAndWestAtEnds): Fixed typo.
24412         * javax/swing/text/InternationalFormatter.java
24413         (getActions): Made method protected.
24414         * javax/swing/text/Position.java
24415         (Bias): Made class final.
24416         * javax/swing/text/html/HTML.java
24417         (MEDIA): Made field package private. Not specified.
24418         (NOBR): Made field package private. Not specified.
24419         * javax/swing/text/html/NullView.java
24420         Made class package private.
24421         * javax/swing/text/html/parser/Entity.java
24422         Made class non-serializable as specified.
24423
24424 2006-03-28  Roman Kennke  <kennke@aicas.com>
24425
24426         * javax/swing/plaf/metal/MetalButtonUI.java
24427         (update): Don't paint gradient if the background color is
24428         no UIResource. Removed double getModel() call. Don't check for
24429         OceanTheme.
24430
24431 2006-03-28  Roman Kennke  <kennke@aicas.com>
24432
24433         * javax/swing/plaf/basic/BasicMenuItemUI.java
24434         (paint): Call paintMenuItem with the selectionBackground as
24435         parameter.
24436         (paintBackground): Fixed the condition and color for the background
24437         painting.
24438
24439 2006-03-28  Roman Kennke  <kennke@aicas.com>
24440
24441         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24442         (tabsOpaque): New field.
24443         (paintLeftTabBorder): Paint some parts only when the tabs are
24444         opaque. Determine the tab background using the paintLeftTabBorder()
24445         helper method.
24446         (paintRightTabBorder): Likewise.
24447         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24448
24449 2006-03-27  Tom Tromey  <tromey@redhat.com>
24450
24451         PR classpath/25189:
24452         * java/lang/Enum.java (valueOf): Ensure that the named field
24453         is an enum constant.
24454         (compareTo): Check class of enum.
24455
24456 2006-03-27  Tom Tromey  <tromey@redhat.com>
24457
24458         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24459
24460 2006-03-27  Tom Tromey  <tromey@redhat.com>
24461
24462         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24463         New constant.
24464         (getModifiersInternal): Renamed from getModifiers.
24465         (getModifiers): New method.
24466         (isBridge): Likewise.
24467         (isSynthetic): Likewise.
24468         (isVarArgs): Likewise.
24469         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24470         New constant.
24471         (getModifiersInternal): Renamed from getModifiers.
24472         (getModifiers): New method.
24473         (isSynthetic): Likewise.
24474         (isEnumConstant): Likewise.
24475         * vm/reference/java/lang/reflect/Constructor.java
24476         (getModifiersInternal): Renamed from getModifiers.
24477         (getModifiers): New method
24478         (CONSTRUCTOR_MODIFIERS): New constant.
24479         (isSynthetic): New method.
24480         (isVarArgs): Likewise.
24481         * java/lang/reflect/Member.java (isSynthetic): New method.
24482
24483 2006-03-28  Tom Tromey  <tromey@redhat.com>
24484
24485         * java/net/Proxy.java (TYPE): Added missing ";".
24486
24487 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24488
24489         * java/math/RoundingMode.java:
24490         Fixed serialization UID.
24491         * java/net/Proxy.java:
24492         (Type): Likewise.
24493         
24494 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24495
24496         * java/io/CharArrayWriter.java:
24497         (append(char)): Documented.
24498         (append(CharSequence)): Likewise.
24499         (append(CharSequence,int,int)): Likewise.
24500         
24501 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24502
24503         * vm/reference/java/lang/reflect/Constructor.java
24504         (getTypeParameters): Check return value of getSignature for null.
24505         * vm/reference/java/lang/reflect/Method.java
24506         (getTypeParameters): Check return value of getSignature for null.
24507
24508 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24509
24510         * java/rmi/activation/ActivationGroup_Stub.java:
24511         Made final.
24512         
24513 2006-03-27  Tom Tromey  <tromey@redhat.com>
24514        
24515         * java/io/CharArrayWriter.java (append): New overloads.
24516         
24517 2006-03-27  Lillian Angel  <langel@redhat.com>
24518
24519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24520         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24521         Added check for colormap. Prevents assertion error.
24522         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24523         Likewise.
24524         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24525         Likewise.
24526         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24527         Likewise.
24528         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24529         Likewise.
24530         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24531         Likewise.
24532
24533 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24534
24535         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24536         AC_MSG_ERROR instead of echoing the error message 
24537         that no compiler has been found manually.
24538
24539 2006-03-27  Roman Kennke  <kennke@aicas.com>
24540
24541         * javax/swing/RepaintManager.java
24542         (commitBuffer): Use simple drawImage() method instead of the
24543         scaling version.
24544
24545 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24546
24547         * javax/swing/text/PlainView.java:
24548         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24549         for painting the selected line.
24550
24551 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24552
24553         * javax/swing/plaf/basic/BasicSliderUI.java
24554         (getThumbSize): Removed TODO and updated API docs.
24555
24556 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24557
24558         * javax/swing/text/DefaultCaret.java:
24559         (mouseClicked): Word selection rewritten.
24560         (paint): Draw line inside the bounding rectangle.
24561         (damage): Retrieve caret height from line height.
24562
24563 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24564
24565         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24566         for null args.
24567         Check for -help option.
24568         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24569
24570 2006-03-27  Roman Kennke  <kennke@aicas.com>
24571
24572         * javax/swing/text/FieldView.java
24573         (getPreferredSpan): Don't include trailing newline in
24574         calculations.
24575         * javax/swing/text/PlainView.java
24576         (drawLine): Don't include trailing newline.
24577         (determineMaxLineLength): Don't include trailing newline.
24578         (getLineBuffer): Made method final.
24579
24580 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24581
24582         * javax/swing/JSlider.java
24583         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24584         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24585         NotImplementedException,
24586         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24587
24588 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24589
24590         * java/lang/ProcessBuilder.java:
24591         Made final.
24592
24593 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24594
24595         * gnu/java/net/protocol/http/Headers.java:
24596         Match layout of file on HEAD.
24597         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24598         Likewise.
24599         * java/awt/datatransfer/DataFlavor.java
24600         Likewise.
24601
24602 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24603
24604         * gnu/java/security/jce/hash/HavalSpi.java,
24605         * gnu/java/security/jce/hash/MD2Spi.java,
24606         * gnu/java/security/jce/hash/MD4Spi.java,
24607         * gnu/java/security/jce/hash/MD5Spi.java,
24608         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24609         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24610         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24611         * gnu/java/security/jce/hash/Sha160Spi.java,
24612         * gnu/java/security/jce/hash/Sha256Spi.java,
24613         * gnu/java/security/jce/hash/Sha384Spi.java,
24614         * gnu/java/security/jce/hash/Sha512Spi.java,
24615         * gnu/java/security/jce/hash/TigerSpi.java,
24616         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24617         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24618         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24619         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24620         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24621         * gnu/java/security/jce/sig/SignatureAdapter.java,
24622         * gnu/java/security/key/IKeyPairCodec.java,
24623         * gnu/java/security/key/IKeyPairGenerator.java,
24624         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24625         * gnu/java/security/key/dss/DSSKey.java,
24626         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24627         * gnu/java/security/key/dss/DSSPrivateKey.java,
24628         * gnu/java/security/key/dss/DSSPublicKey.java,
24629         * gnu/java/security/key/dss/FIPS186.java,
24630         * gnu/java/security/key/rsa/GnuRSAKey.java,
24631         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24632         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24633         * gnu/java/security/sig/ISignature.java,
24634         * gnu/java/security/sig/ISignatureCodec.java,
24635         * gnu/java/security/sig/dss/DSSSignature.java,
24636         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24637         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24638         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24639         * gnu/java/security/util/Util.java:
24640         Remove CVS revision tags.
24641
24642 2006-03-26  Tom Tromey  <tromey@redhat.com>
24643
24644         * java/io/InputStream.java (InputStream): Implements Closeable.
24645         
24646 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24647
24648         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24649         New methods.
24650         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24651         getAnchor): New methods.
24652         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24653         getAnchor): New methods.
24654         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24655         getAnchor): New methods.
24656         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24657         getAnchor): New methods.
24658         * gnu/regexp/REMatch.java(start1): New field.
24659         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24660         (match): set the starting position to start1[] instead of start[],
24661         (getMatchImpl): Set the found REMatch to the input,
24662         (makeCharIndexed): Made public.
24663         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24664         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24665         set the value of start[] copying from start1[].
24666         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24667         offset.
24668         * java/util/regex/Matcher.java(inputCharIndexed): New field
24669         to be used as a parameter of the RE#getMatch.
24670
24671 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24672
24673         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24674         Documented the default jre spawning strategy (none).
24675         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24676         getSystem): Obtain the acticivation system from the 
24677         DefaultActivationSystem.
24678
24679 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24680
24681         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24682         Ask user for keystore password if one was not provided.
24683
24684 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24685
24686         * tools/README: Added Security tools section.
24687         Documented the jarsigner tool.
24688
24689 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24690
24691         * javax/swing/JScrollBar.java
24692         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24693         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24694         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24695         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24696         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24697         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24698         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24699         (getAccessibleContext): Updated API docs.
24700
24701 2006-03-25  Tom Tromey  <tromey@redhat.com>
24702
24703         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24704         change or if generator script changes.
24705
24706 2006-03-25  Tom Tromey  <tromey@redhat.com>
24707
24708         * javax/naming/ldap/StartTlsRequest.java: New file.
24709         * javax/naming/ldap/StartTlsResponse.java: New file.
24710
24711 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24712
24713     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24714     to validate all components of a resource path.
24715     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24716     allowed to walk through every component of a resource path.
24717     
24718 2006-03-25  Michael Koch  <konqueror@gmx.de>
24719
24720         * NEWS: Added item for CLDR 1.3 update.
24721
24722 2006-03-25  Michael Koch  <konqueror@gmx.de>
24723
24724         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24725         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24726         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24727         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24728         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24729         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24730         Removed locales.
24731
24732 2006-03-25  Michael Koch  <konqueror@gmx.de>
24733
24734         * resource/gnu/java/locale/LocaleInformation_az.properties,
24735         resource/gnu/java/locale/LocaleInformation_bs.properties,
24736         resource/gnu/java/locale/LocaleInformation_byn.properties,
24737         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24738         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24739         resource/gnu/java/locale/LocaleInformation_gez.properties,
24740         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24741         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24742         resource/gnu/java/locale/LocaleInformation_haw.properties,
24743         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24744         resource/gnu/java/locale/LocaleInformation_kok.properties,
24745         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24746         resource/gnu/java/locale/LocaleInformation_sid.properties,
24747         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24748         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24749         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24750         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24751         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24752         resource/gnu/java/locale/LocaleInformation_syr.properties,
24753         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24754         resource/gnu/java/locale/LocaleInformation_tig.properties,
24755         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24756         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24757         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24758         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24759         resource/gnu/java/locale/LocaleInformation_wal.properties,
24760         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24761         New locales.
24762
24763 2006-03-25  Michael Koch  <konqueror@gmx.de>
24764
24765         * resource/gnu/java/locale/LocaleInformation_fa.properties,
24766         resource/gnu/java/locale/LocaleInformation_kn.properties,
24767         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24768         resource/gnu/java/locale/LocaleInformation_ko.properties,
24769         resource/gnu/java/locale/LocaleInformation_sl.properties,
24770         resource/gnu/java/locale/LocaleInformation_so.properties,
24771         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24772         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24773         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24774         resource/gnu/java/locale/LocaleInformation_sr.properties:
24775         Random fixes I forgot to commit before.
24776
24777 2006-03-25  Michael Koch  <konqueror@gmx.de>
24778
24779         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24780         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24781         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24782         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24783         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24784         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24785         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24786         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24787         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24788         resource/gnu/java/locale/LocaleInformation_en.properties,
24789         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24790         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24791         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24792         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24793         resource/gnu/java/locale/LocaleInformation_fa.properties,
24794         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24795         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24796         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24797         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24798         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24799         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24800         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24801         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24802         resource/gnu/java/locale/LocaleInformation_pa.properties,
24803         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24804         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24805         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24806         resource/gnu/java/locale/LocaleInformation_sa.properties,
24807         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24808         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24809         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24810         Updated currency formats.
24811
24812 2006-03-25  Roman Kennke  <kennke@aicas.com>
24813
24814         * javax/swing/text/AbstractDocument.java
24815         (getAttributeContext): Made method final.
24816         (getCurrentWriter): Likewise.
24817         (getEndPosition): Likewise.
24818         (getProperty): Likewise.
24819         (getStartPosition): Likewise.
24820         (putProperty): Likewise.
24821         (readLock): Likewise.
24822         (readUnlock): Likewise.
24823         (writeLock): Likewise.
24824         (writeUnlock): Likewise.
24825
24826 2006-03-25  Roman Kennke  <kennke@aicas.com>
24827
24828         * javax/swing/InputMap.java
24829         (allKeys): Check if parent keys is null.
24830         * javax/swing/KeyboardManager.java
24831         (registerEntireMap): Also register map's parent keys.
24832         * javax/swing/plaf/metal/MetalRootPaneUI.java
24833         (propertyChange): Also call super.propertyChange().
24834
24835 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24836
24837         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
24838         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24839         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24840         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
24841         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24842         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
24843
24844 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24845
24846         * gnu/java/util/jar/JarUtils.java: New file.
24847         * java/util/jar/Manifest.java (CRLF): Removed.
24848         (read_main_section): Likewise.
24849         (read_version_info): Likewise.
24850         (expect_header(String,BufferedReader)): Likewise.
24851         (expect_header(String,BufferedReader,String)): Likewise.
24852         (read_header_value): Likewise.
24853         (read_attributes): Likewise.
24854         (read_attribute): Likewise.
24855         (read_individual_sections): Likewise.
24856         (read_section_name): Likewise.
24857         (write_main_section): Likewise.
24858         (write_version_info): Likewise.
24859         (write_header): Likewise.
24860         (write_main_attributes): Likewise.
24861         (write_attribute_entry): Likewise.
24862         (write_individual_sections): Likewise.
24863         (write_entry_attributes): Likewise.
24864         (read): use JarUtils.
24865         (write): Likewise.
24866
24867 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
24868
24869         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
24870         (DEBUG): Removed.
24871         (debug): Likewise.
24872         (SignerInfo(BERReader)): Updated javadoc.
24873         Use JDK logging.
24874         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
24875         New constructor.
24876         (encode): New method.
24877         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
24878         (PKCS7_DATA): Removed.
24879         (DEBUG): Likewise.
24880         (debug): Likewise.
24881         (PKCS7SignedData(BERReader)): Updated javadoc.
24882         Use JDK logging.
24883         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
24884         constructor.
24885         (encode): New method.
24886         * gnu/java/security/pkcs/PKCS7Data.java: New file.
24887         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
24888         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
24889         (decodePrivateKey): Decode x from an OCTET STRING.
24890         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
24891         (toString): New method.
24892         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
24893         (str): Likewise.
24894         (toString): New method.
24895         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
24896         (toString): New method.
24897         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
24898
24899 2006-03-25  Roman Kennke  <kennke@aicas.com>
24900
24901         * java/util/GregorianCalender.java
24902         (computeTime): Fix comparison to correctly calculate the
24903         calendar.
24904
24905 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
24906
24907         Fixes bug #26837
24908         * java/awt/Window.java:         
24909         (setFocusCycleRoot): New overriden method.
24910         (isFocusCycleRoot): Likewise.
24911         (getFocusCycleRootAncestor): Likewise.
24912         * java/awt/Container.java:
24913         (getFocusTraversalPolicy): Check also for anchestor == null.
24914
24915 2006-03-25  Mark Wielaard  <mark@klomp.org>
24916
24917         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
24918         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
24919         close root tag.
24920
24921 2006-03-24  Tom Tromey  <tromey@redhat.com>
24922
24923         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
24924         Rewrote.
24925         (writeChar): Removed useless cast.
24926         (writeChars(String)): Implemented.
24927         (writeDouble): Rewrote.
24928         (writeFloat): Likewise.
24929         (writeUTF): Implemented.
24930         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
24931         to big endian.
24932
24933 2006-03-24  Roman Kennke  <kennke@aicas.com>
24934
24935         * javax/swing/JButton.java
24936         (def): Replaced field with defaultCapable field.
24937         (is_def): Removed field.
24938         (JButton): Initialize defaultCapable with true.
24939         (isDefaultButton): Documented and implemented method by querying
24940         the button's root pane if present.
24941         (isDefaultCapable): Changed def field to defaultCapable.
24942         Added documentation.
24943         (paramString): Call isDefaultButton() instead of accessing field,
24944         which got removed.
24945         (setDefaultCapable): Changed def field to defaultCapable.
24946         Added documentation.
24947         * javax/swing/JRootPane.java
24948         (setDefaultButton): Only change the default button if the
24949         new button is defaultCapable.
24950         * javax/swing/plaf/basic/BasicRootPaneUI.java
24951         (DefaultPressAction): New class.
24952         (DefaultReleaseAction): New class.
24953         (installKeyboardActions): Implemented.
24954         (uninstallKeyboardActions): Implemented.
24955         (propertyChange): Implemented.
24956         * javax/swing/plaf/metal/MetalBorders.java
24957         (ButtonBorder.paintBorder): 'Outsourced' default theme
24958         painting to paintDefaultButtonBorder().
24959         (ButtonBorder.paintDefaultButtonBorder): New helper method
24960         to paint the border in the default theme. This also fixes
24961         painting of the border for default buttons.
24962         (ButtonBorder.paintOceanButtonBorder): Added support for
24963         default button painting. Fixed border for pressed/default state.
24964         * javax/swing/plaf/metal/MetalButtonUI.java
24965         (update): Only paint gradient when in OceanTheme and when the
24966         button is not armed.
24967
24968 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24969
24970         * gnu/java/rmi/activation/ActivationSystemTransient.java:
24971         Inherit from Activator.
24972
24973 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24974
24975         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
24976         Print debug message if debug flag is set.
24977         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
24978         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
24979         detail, do not call iniCause(). (exportClass): New method.
24980         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
24981         Ignore null (bootstrap) class loader.
24982         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
24983         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
24984         visibility to protected.
24985         * java/rmi/activation/Activatable.java (export, register): Rewritten.
24986         (toStub): New method.
24987         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
24988         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
24989         Explained property java.rmi.activation.port.
24990
24991 2006-03-24  Tom Tromey  <tromey@redhat.com>
24992
24993         * .externalToolBuilders/CreateLocaleData.launch: Updated.
24994         * gnu/java/locale/.cvsignore: New file.
24995         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
24996         * java/util/Locale.java (getAvailableLocales): Clone result.
24997         (getISOCountries): Likewise.
24998         (getISOLanguages): Likewise.
24999         * scripts/generate-locale-list.sh: Make class public.  Added new
25000         array.
25001         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25002         (getLocaleCount): Likewise.
25003         * java/text/Collator.java (getInstance): Javadoc typo fix.
25004         (getAvailableLocales): Wrote.
25005
25006 2006-03-24  Roman Kennke  <kennke@aicas.com>
25007
25008         * javax/swing/JTabbedPane.java
25009         (getSelectedComponent): Return null when no component is
25010         selected.
25011
25012 2006-03-24  Mark Wielaard  <mark@klomp.org>
25013
25014         * NEWS: Add cursor and selection improvements.
25015
25016 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25017
25018         * java/awt/Component.java
25019         (getAccessibleName): Just return accessibleName,
25020         * javax/swing/AbstractButton.java
25021         (getAccessibleStateSet): Mark as stub,
25022         (getAccessibleName): Implemented,
25023         (getAcessibleIcon): Mark as stub,
25024         (getAccessibleRelationSet): Likewise,
25025         (getAccessibleAction): Likewise,
25026         (getAccessibleValue): Likewise,
25027         (getAccessibleActionCount): Likewise,
25028         (getAccessibleActionDescription): Likewise,
25029         (doAccessibleAction): Likewise,
25030         (getCurrentAccessibleValue): Likewise,
25031         (setCurrentAccessibleValue): Likewise,
25032         (getMinimumAccessibleValue): Likewise,
25033         (getMaximumAccessibleValue): Likewise,
25034         (getAccessibleText): Likewise,
25035         (getIndexAtPoint): Likewise,
25036         (getCharacterBounds): Likewise,
25037         (getCharCount): Likewise,
25038         (getCaretPosition): Likewise,
25039         (getAtIndex): Likewise,
25040         (getAfterIndex): Likewise,
25041         (getBeforeIndex): Likewise,
25042         (getCharacterAttribute): Likewise,
25043         (getSelectionStart): Likewise,
25044         (getSelectionEnd): Likewise,
25045         (getSelectedText): Likewise,
25046         (getTextRectangle): Likewise,
25047         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25048         (getIconTextGap): Added @since 1.4,
25049         (setContentAreaFilled): Reordered code to make event sequence match
25050         reference implementation,
25051         * javax/swing/JButton.java
25052         (getSelectedObjects): Removed,
25053         *javax/swing/JComponent.java
25054         (getAccessibleName): Call super.
25055
25056 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25057
25058         * javax/swing/JProgressBar.java
25059         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25060         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25061         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25062         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25063         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25064         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25065         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25066         (getAccessibleContext): Added API docs.
25067
25068 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25069
25070         * javax/swing/plaf/basic/BasicTextUI.java:
25071         (FocusListener.focusLost): Put current selection into the system
25072         clipboard.
25073
25074 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25075
25076         * java/awt/Component.java:
25077         (processMouseEvent): Remove call to consume event.
25078         (dispatchEventImpl): Handle specific events first, do focus request
25079         only when mouse event was not yet consumed.
25080         * javax/swing/text/DefaultCaret.java:
25081         (mousePressed): Rewritten.
25082         (setDot): Changed order of operations.
25083         (moveDot): Dito.
25084
25085 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25086
25087         * javax/swing/JComponent.java
25088         (AccessibleJComponent.changeSupport): Removed field,
25089         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25090         (AccessibleJComponent.addPropertyChangeListener): Call super,
25091         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25092         * javax/swing/JSlider.java
25093         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25094         (AccessibleJSlider.getAccessibleRole): Likewise,
25095         (AccessibleJSlider.getAccessibleValue): Likewise,
25096         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25097         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25098         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25099         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25100         (getAccessibleContext): Added API docs.
25101
25102 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25103
25104         * gnu/java/rmi/activation/ActivationSystemTransient.java
25105         (debug): Made public. (constructor): Made protected.
25106         (activate, getActivationDesc): Throw more informative exceptions.
25107         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25108         New method.
25109         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25110         Stub, implemented.
25111         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25112         Documented.
25113         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25114         Better exception.
25115         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25116         system, passed in the activation descriptor field.
25117         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25118         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25119         to package private final. (equals): Compare uid, not the system. 
25120         (hashCode): Forward to uid.hashCode(). toString(): New method.
25121         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25122         Rewritten. (equals): Compare UID only. toString(): New method.
25123         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25124         UID (space). (hashCode, toString): Rewritten.
25125         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25126         New method. (invoke): Treat null as an empty array for parameters.
25127         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25128         Include count, do not include the static machineId.
25129
25130 2006-03-23  Tom Tromey  <tromey@redhat.com>
25131
25132         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25133
25134 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25135
25136         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25137         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25138         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25139         (force): New field. (setForce): New method. (compile): Handle -force.
25140         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25141         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25142
25143 2006-03-23  Roman Kennke  <kennke@aicas.com>
25144
25145         * javax/swing/JTabbedPane.java
25146         (Page.getBackground): Return the JTabbedPane's background,
25147         rather than the page's component background.
25148         (Page.getForeground): Return the JTabbedPane's foreground,
25149         rather than the page's component foreground.
25150         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25151         (uninstallUI): Don't set colors to null.
25152         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25153         (paintTabBackground): Correctly determine the tab background.
25154         (getUnselectedBackground): New helper method to
25155         handle the UI property 'TabbedPane.unselectedBackground'
25156         correctly.
25157
25158 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25159
25160         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25161         (BorderListener.showingResizeCursor): New field.
25162         (BorderListener.mouseMoved, BorderListner.mouseExited):
25163         Implemented.
25164
25165 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25166
25167         * javax/swing/JComboBox.java
25168         (selectWithKeyChar): Mark as stub,
25169         * javax/swing/JFileChooser.java
25170         (setDragEnabled): Mark as stub,
25171         (getDragEnabled): Likewise,
25172         * javax/swing/JSlider.java
25173         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25174         (AccessibleJSlider.getAccessibleRole): Likewise,
25175         (AccessibleJSlider.getAccessibleValue): Likewise,
25176         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25177         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25178         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25179         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25180         * javax/swing/UIManager.java
25181         (installLookAndFeel): Mark as stub,
25182         (setInstalledLookAndFeels): Likewise.
25183
25184 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25185
25186         * javax/swing/filechooser/UnixFileSystemView.java
25187         (getSystemDisplayName): Mark as stub,
25188         (getSystemIcon): Likewise,
25189         (getSystemTypeDescription): Likewise.
25190
25191 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25192
25193         * javax/swing/tree/AbstractLayoutCache.java
25194         (getNodeDimensions): Mark as stub,
25195         (getPreferredHeight): Likewise,
25196         (getPreferredWidth): Likewise,
25197         (getRowsForPaths): Likewise,
25198         (isFixedRowHeight): Likewise,
25199         * javax/swing/tree/DefaultTreeModel.java
25200         (reload()): Mark as stub,
25201         (reload(TreeNode)): Likewise,
25202         (nodeStructureChanged): Likewise,
25203         * javax/swing/tree/DefaultTreeSelectionModel.java
25204         (clone): Mark as stub,
25205         (setRowMapper): Likewise,
25206         (setSelectionPaths): Likewise,
25207         (isRowSelected): Likewise,
25208         (resetRowSelection): Likewise,
25209         (insureRowContinuity): Likewise,
25210         (arePathsContiguous): Likewise,
25211         (canPathsBeAdded): Likewise,
25212         (canPathsBeRemoved): Likewise,
25213         (notifyPathChange): Likewise,
25214         (updateLeadIndex): Likewise,
25215         (insureUniqueness): Likewise,
25216         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25217         stubs,
25218         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25219
25220 2006-03-22  Tom Tromey  <tromey@redhat.com>
25221
25222         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25223         stub.
25224         (getStaticAttributeKey): Likewise.
25225         (readAttributeSet): Likewise.
25226         (writeAttributeSet): Likewise.
25227         (readAttributes): Likewise.
25228         (writeAttributes): Likewise.
25229         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25230         as stub.
25231         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25232         Mark as stub.
25233         (fireChangedUpdate): Likewise.
25234         (start): Likewise.
25235         (end): Likewise.
25236         (handleEndOfLineString): Likewise.
25237         (textAreaContent): Likewise.
25238         (preContent): Likewise.
25239         (addSpecialElement): Likewise.
25240         (setInnerHTML): Likewise.
25241         (setOuterHTML): Likewise.
25242         (insertBeforeStart): Likewise.
25243         (insertBeforeEnd): Likewise.
25244         (insertAfterEnd): Likewise.
25245         (insertAfterStart): Likewise.
25246         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25247         Mark all methods as stub.s
25248         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25249         as stub.
25250         (paintHorizontalSeparators): Likewise.
25251         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25252         Mark as stub.
25253         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25254         stub.
25255         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25256         as stubs.
25257         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25258         methods as stubs.
25259
25260 2006-03-22  Mark Wielaard  <mark@klomp.org>
25261
25262         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25263
25264 2006-03-22  Mark Wielaard  <mark@klomp.org>
25265
25266         Fixes bug #26527
25267         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25268         Takes GtkImage, x and y coordinates.
25269         (gtkWidgetSetCursorUnlocked): Likewise.
25270         (GtkComponentPeer): Set cursor when set.
25271         (setCursor): Handle GtkCursor.
25272         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25273         New method.
25274         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25275         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25276         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25277         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25278
25279 2006-03-23  Roman Kennke  <kennke@aicas.com>
25280
25281         PR 26805
25282         * gnu/java/security/Registry.java
25283         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25284         * gnu/javax/crypto/pad/PadFactory.java
25285         (getInstance): For PKCS#5, also return PKCS#7 pad
25286         algorithm.
25287         (getNames): Added PKCS#5.
25288         * javax/crypto/KeyGenerator.java
25289         (getInstance): Initialize key generator before returning
25290         it.
25291
25292 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25293
25294         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25295         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25296         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25297         if COMMENTS is set.
25298
25299 2006-03-22  Tom Tromey  <tromey@redhat.com>
25300
25301         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25302         (getBoolean): Likewise.
25303         (getString): Likewise.
25304         (getIcon): Likewise.
25305
25306 2006-03-22  Mark Wielaard  <mark@klomp.org>
25307
25308         Fixes bug #26301
25309         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25310         (GLightweightPeer(Component)): Install MouseListener.
25311         (setCursor): Implement.
25312         (mouseEntered): New method.
25313
25314 2006-03-22  Tom Tromey  <tromey@redhat.com>
25315
25316         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25317         constant.
25318         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25319         protected.
25320         (getFontForState): Likewise.
25321         (getInsets): Added 'result' argument.
25322         (getPainter): Renamed.
25323
25324 2006-03-22  Tom Tromey  <tromey@redhat.com>
25325
25326         * javax/swing/plaf/synth/SynthPainter.java
25327         (paintScrollBarThumbBackground): Added 'orientation' argument.
25328         (paintScrollBarThumbBorder): Likewise.
25329         (paintSliderThumbBackground): Likewise.
25330         (paintSliderThumbBorder): Likewise.
25331         (paintTabbedPaneTabBackground): Added 'index' argument.
25332         (paintTabbedPaneTabBorder): Likewise.
25333
25334 2006-03-22  Tom Tromey  <tromey@redhat.com>
25335
25336         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25337         (toString): New method.
25338
25339 2006-03-22  Tom Tromey  <tromey@redhat.com>
25340
25341         * doc/hacking.texinfo (Source Code Style Guide): Mention
25342         NotImplementedException.
25343         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25344         (flushBefore): Mark as stub.
25345         (read): Likewise.
25346         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25347         Mark as stub.
25348         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25349         as stub.
25350         (write): Likewise.
25351         (writeBit): Likewise.
25352         (writeChars): Likewise.
25353         (writeUTF): Likewise.
25354         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25355         as stub.
25356         (read): Likewise.
25357         * java/net/URLConnection.java (getContent): Mark as stub.
25358         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25359         * java/awt/TexturePaint.java (createContext): Mark as stub.
25360         (getTransparency): Mark as stub.
25361         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25362         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25363         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25364         stub.
25365         (getImageCapabilities): Likewise.
25366         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25367         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25368         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25369         methods as stubs.
25370         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25371         (getAdvanceBetween): Likewise.
25372         (getLayout): Likewise.
25373         (insertChar): Likewise.
25374         (getLineBreakIndex): Likewise.
25375         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25376         (getAdvance): Likewise.
25377         (getAscent): Likewise.
25378         (getDescent): Likewise.
25379         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25380         (insertChar): Likewise.
25381         (nextLayout): Likewise.
25382         (nextLayout): Likewise.
25383         (nextOffset): Likewise.
25384         (nextOffset): Likewise.
25385         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25386         (equals): Likewise.
25387         (getAdvance): Likewise.
25388         (getAscent): Likewise.
25389         (getBounds): Likewise.
25390         (getDescent): Likewise.
25391         (hashCode): Likewise.
25392         (ImageGraphicAttribute): Likewise.
25393         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25394         (getJustificationInfo): Likewise.
25395         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25396         (getGlyphCharIndices): Likewise.
25397         (getGlyphOutline): Likewise.
25398         (getGlyphPixelBounds): Likewise.
25399         (getLayoutFlags): Likewise.
25400         (getPixelBounds): Likewise.
25401         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25402         (getRSB): Likewise.
25403         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25404         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25405         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25406         Mark as stub.
25407         (resetRecognizer): Likewise.
25408         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25409         Mark as stub.
25410         (getNativesForFlavor): Likewise.
25411         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25412         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25413         as stub.
25414         (getRegion): Likewise.
25415         (createUI): Likewise.
25416         (initialize): Likewise.
25417         (uninitialize): Likewise.
25418         (getDefaults): Likewise.
25419         (load): Likewise.
25420         (shouldUpdateStyleOnAncestorChanged): Likewise.
25421         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25422         Mark as stub.
25423         (getPreferredSize): Likewise.
25424         (getMaximumSize): Likewise.
25425         (paintText): Likewise.
25426         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25427         as stub.
25428         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25429
25430 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25431
25432         * java/io/ObjectStreamConstants.java: Added since tag.
25433         (PROTOCOL_VERSION_1): Added javadoc.
25434         (PROTOCOL_VERSION_2): Likewise.
25435         * java/io/ObjectOutputStream.java: 
25436         (setDefaultProtocolVersion): Removed.
25437         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25438         
25439 2006-03-21  Lillian Angel  <langel@redhat.com>
25440
25441         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25442         (BMPInfoHeader): Removed debug lines.
25443         * gnu/javax/imageio/bmp/EncodeRLE4.java
25444         (encode): Implemented.
25445         (uncompress): New function implemented to
25446         uncompress the image before encoding.
25447         * gnu/javax/imageio/bmp/EncodeRLE8.java
25448         (encode): Implemented.
25449         (uncompress): New function implemented to
25450         uncompress the image before encoding.
25451
25452 2006-03-21  Roman Kennke  <kennke@aicas.com>
25453
25454         * javax/swing/text/html/FormView.java
25455         (getImageData): New helper method.
25456
25457 2006-03-21  Tom Tromey  <tromey@redhat.com>
25458
25459         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25460         fix.
25461         (Unsafe): Now final.
25462
25463 2006-03-21  Roman Kennke  <kennke@aicas.com>
25464
25465         * javax/swing/text/html/FormView.java
25466         (MouseEventListener): New inner class.
25467
25468 2006-03-21  Roman Kennke  <kennke@aicas.com>
25469
25470         * javax/swing/text/html/ListView.java: New file.
25471
25472 2006-03-21  Tom Tromey  <tromey@redhat.com>
25473
25474         * java/text/Bidi.java: Completed.
25475
25476 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25477
25478         * javax/swing/JTable.java:
25479         (columnAtPoint): Removed the null check, this method should throw a NPE
25480         if the argument is null.
25481
25482 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25483
25484         * javax/swing/text/DefaultHighlighter.java:
25485         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25486
25487 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25488
25489         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25490         the textcomponent having a selection.
25491         (clearSelection): Clear 'componentWithSelection' variable.
25492         (handleSelection): Clear selection of current component having a
25493         selection before setting a new selection in another component.
25494         (mouseDragged): Only react on left mouse button.
25495         (mouseClicked): Only react on left mouse button.
25496
25497 2006-03-21  Roman Kennke  <kennke@aicas.com>
25498
25499         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25500         (paintContentBorderTopEdge): Implemented.
25501         (paintContentBorderBottomEdge): Implemented.
25502         (paintContentBorderLeftEdge): Implemented.
25503         (paintContentBorderRightEdge): Implemented.
25504         (isLastTabInRun): New helper method.
25505
25506 2006-03-21  Roman Kennke  <kennke@aicas.com>
25507
25508         * javax/swing/JTabbedPane.java
25509         (Page.getForeground): Fall back to returning the tabbed pane's
25510         foreground if no foreground has been exclicitly set.
25511
25512 2006-03-21  Roman Kennke  <kennke@aicas.com>
25513
25514         * javax/swing/plaf/metal/MetalComboBoxButton.java
25515         (setEnabled): Update colors of button correctly.
25516         * javax/swing/plaf/metal/MetalComboBoxUI.java
25517         (MetalPropertyChangeListener.propertyChange): Update the colors
25518         of the list and the button when any of the color properties
25519         of the ComboBox change.
25520
25521 2006-03-21  Roman Kennke  <kennke@aicas.com>
25522
25523         * javax/swing/plaf/basic/BasicButtonUI.java
25524         (uninstallDefaults): Only nullify button colors if they are
25525         not UIResource instances.
25526
25527 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25528
25529         * javax/swing/JComponent.java
25530         (AccessibleJComponent.getAccessibleDescription): Call super,
25531         * javax/swing/JToolTip.java: API doc updates all over, plus
25532         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25533         (AccessibleJToolTip.getAccessibleRole): Implemented,
25534         (getAccessibleContext): Implemented,
25535         (paramString): Reimplemented,
25536         (setComponent): Fire PropertyChangeEvent,
25537         (setTipText): Likewise.
25538
25539 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25540
25541         * java/util/Formatter.java:
25542         Make the class final.
25543         
25544 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25545
25546         * java/lang/System.java:
25547         (nanoTime()): Documented.
25548         * java/lang/Thread.java:
25549         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25550         Added docs and security check.
25551         (getUncaughtExceptionHandler()): Documented.
25552         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25553         Added docs and security check.
25554         (getDefaultUncaughtExceptionHandler()): Documented.
25555         (getId()): Documented.
25556         (Thread.State): Documented.
25557         * vm/reference/gnu/classpath/Unsafe.java:
25558         Documented.
25559         (getUnsafe()): Updated to handle security.
25560         
25561 2006-03-20  Tom Tromey  <tromey@redhat.com>
25562
25563         * java/lang/System.java:
25564         (nanoTime()): Implemented.
25565         * java/lang/Thread.java:
25566         (getId()): Implemented.
25567         * java/util/AbstractMap.java:
25568         (SimpleImmutableEntry): New 1.6 class.
25569         (BasicMapEntry): Modified to be SimpleEntry.
25570         * java/util/Collections.java:
25571         Modified to use SimpleEntry.
25572         * java/util/EnumMap.java: Likewise.
25573         * java/util/HashMap.java: Likewise.
25574         * java/util/Hashtable.java: Likewise.
25575         * java/util/TreeMap.java: Likewise.
25576         * vm/reference/gnu/classpath/Unsafe.java:
25577         New class to handle low-level facilities for concurrency.
25578         * vm/reference/java/lang/VMSystem.java:
25579         (nanoTime()): Implemented.
25580         
25581 2006-03-20  Tom Tromey  <tromey@redhat.com>
25582
25583         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25584         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25585         (CertStoreSpi): Updated throws clause.
25586         * java/security/cert/CertPathValidatorSpi.java: Added import for
25587         javadoc.
25588         (engineValidate): Updated 'throws' clause.
25589         * java/security/cert/PKIXParameters.java: Javadoc fix.
25590         * java/security/cert/X509CertSelector.java
25591         (setAuthorityKeyIdentifier): Javadoc fix.
25592
25593 2006-03-20  Tom Tromey  <tromey@redhat.com>
25594
25595         * .classpath: Build gnu.javax.swing.plaf.
25596
25597 2006-03-20  Lillian Angel  <langel@redhat.com>
25598
25599         * gnu/javax/imageio/bmp/BMPDecoder.java:
25600         Removed unneeded import.
25601         * gnu/javax/imageio/bmp/BMPEncoder.java:
25602         New class.
25603         * gnu/javax/imageio/bmp/BMPFileHeader.java
25604         (BMPFileHeader): New constructor used to create info header
25605         for an output stream.
25606         (write): Fixed indexes.
25607         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25608         Initialized writerSpiNames field.
25609         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25610         New class.
25611         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25612         New class.
25613         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25614         Change visibility for fields.
25615         (BMPInfoHeader): New constructor used to create
25616         file header for an output stream.
25617         (intToDWord): New method. Converts an int to a
25618         double word.
25619         (intToWord): New method. Converts an int to a word.
25620         * gnu/javax/imageio/bmp/DecodeBF32.java:
25621         Removed unneeded imports.
25622         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25623         New class.
25624         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25625         New class.
25626         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25627         New class.
25628         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25629         New class.
25630         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25631         New class.
25632         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25633         New class.
25634         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25635         New class.
25636         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25637         New class.
25638         * javax/imageio/ImageIO.java:
25639         Fixed comment.
25640
25641 2006-03-20  Roman Kennke  <kennke@aicas.com>
25642
25643         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25644         (TabbedPaneLayout.normalizeTabRuns): New method.
25645         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25646         (paintTabBorder): Replaced if-else chain with switch.
25647         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25648         Ocean theme.
25649         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25650         Ocean theme.
25651         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25652         Ocean theme.
25653         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25654         Ocean theme.
25655         (paintTabBackground): Fetch background color from the TabbedPane.
25656         Fixed painting and improved by not using fillPolygon, and instead
25657         using fillRectangle. Replaced if-else chain with switch.
25658         (calculateMaxTabHeight): Added overridden method with FIXME.
25659         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25660         placement.
25661         (paintContentBorderTopEdge): Added stub with FIXME.
25662         (paintContentBorderBottomEdge): Added stub with FIXME.
25663         (paintContentBorderLeftEdge): Added stub with FIXME.
25664         (paintContentBorderRightEdge): Added stub with FIXME.
25665
25666 2006-03-20  Roman Kennke  <kennke@aicas.com>
25667
25668         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25669         (tabsOpaque): New field.
25670         (installDefaults): Fetch tabsOpaque property from UIManager.
25671         (paintTab): Fill tab background when tabsOpaque property is true.
25672         * javax/swing/plaf/basic/BasicLookAndFeel.java
25673         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25674
25675 2006-03-20  Roman Kennke  <kennke@aicas.com>
25676
25677         * javax/swing/JTabbedPane.java
25678         (Pane.getBackground): When no background was explicitly set, return
25679         the JTabbedPane's background.
25680
25681 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25682
25683         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25684         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25685         * org/omg/CORBA/BAD_INV_ORDER.java,
25686         * org/omg/CORBA/BAD_CONTEXT.java,
25687         * org/omg/CORBA/BAD_OPERATION.java,
25688         * org/omg/CORBA/BAD_PARAM.java,
25689         * org/omg/CORBA/BAD_QOS.java,
25690         * org/omg/CORBA/BAD_TYPECODE.java,
25691         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25692         * org/omg/CORBA/COMM_FAILURE.java,
25693         * org/omg/CORBA/CurrentHolder.java,
25694         * org/omg/CORBA/DATA_CONVERSION.java,
25695         * org/omg/CORBA/FREE_MEM.java,
25696         * org/omg/CORBA/IMP_LIMIT.java,
25697         * org/omg/CORBA/INITIALIZE.java,
25698         * org/omg/CORBA/INTERNAL.java,
25699         * org/omg/CORBA/INTF_REPOS.java,
25700         * org/omg/CORBA/INVALID_ACTIVITY.java,
25701         * org/omg/CORBA/INVALID_TRANSACTION.java,
25702         * org/omg/CORBA/INV_FLAG.java,
25703         * org/omg/CORBA/INV_IDENT.java,
25704         * org/omg/CORBA/INV_OBJREF.java,
25705         * org/omg/CORBA/INV_POLICY.java,
25706         * org/omg/CORBA/MARSHAL.java,
25707         * org/omg/CORBA/NO_RESOURCES.java,
25708         * org/omg/CORBA/NO_MEMORY.java,
25709         * org/omg/CORBA/NO_IMPLEMENT.java,
25710         * org/omg/CORBA/NO_PERMISSION.java,
25711         * org/omg/CORBA/NO_RESPONSE.java,
25712         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25713         * org/omg/CORBA/OBJ_ADAPTER.java,
25714         * org/omg/CORBA/ParameterModeHolder.java,
25715         * org/omg/CORBA/PolicyError.java,
25716         * org/omg/CORBA/PolicyErrorHolder.java,
25717         * org/omg/CORBA/PolicyHolder.java,
25718         * org/omg/CORBA/PolicyListHolder.java,
25719         * org/omg/CORBA/REBIND.java,
25720         * org/omg/CORBA/TIMEOUT.java,
25721         * org/omg/CORBA/TRANSACTION_MODE.java,
25722         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25723         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25724         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25725         * org/omg/CORBA/TRANSIENT.java,
25726         * org/omg/CORBA/TypeCodeHolder.java,
25727         * org/omg/CORBA/UNKNOWN.java,
25728         * org/omg/CORBA/UnionMember.java,
25729         * org/omg/CORBA/UnknownUserException.java,
25730         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25731         * org/omg/CORBA/WrongTransactionHolder.java,
25732         * org/omg/IOP/IOR.java,
25733         * org/omg/IOP/IORHolder.java,
25734         * org/omg/IOP/MultipleComponentProfileHolder.java,
25735         * org/omg/IOP/ServiceContextHolder.java,
25736         * org/omg/IOP/ServiceContextListHolder.java,
25737         * org/omg/IOP/TaggedComponentHolder.java,
25738         * org/omg/IOP/TaggedProfileHolder.java,
25739         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25740         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25741         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25742         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25743         Made class final, various javadoc fixlets.      
25744         * org/omg/CORBA/CompletionStatus.java, 
25745         * org/omg/CORBA/PERSIST_STORE.java,
25746         * org/omg/CORBA/ValueMember.java,
25747         * org/omg/PortableInterceptor/ForwardRequest.java,
25748         * org/omg/PortableInterceptor/InvalidSlot.java,
25749         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25750         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25751         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25752         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25753         * org/omg/IOP/Encoding.java,
25754         * org/omg/IOP/TaggedComponent.java,
25755         * org/omg/IOP/TaggedProfile.java: Made class final.
25756         * org/omg/CORBA/SystemException.java: Made class abstract.      
25757         * org/omg/CORBA/UserException.java: Made class abstract.
25758         (UserException): Now protected.
25759         (UserException(String)): Likewise.
25760         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25761         (typecode): Removed unused private variable.
25762
25763 2006-03-20  Chris Burdess  <dog@gnu.org>
25764
25765         Fixes PR 26761
25766         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25767
25768 2006-03-20  Roman Kennke  <kennke@aicas.com>
25769
25770         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25771         (paintTabArea): Look up tab run indices in tabRuns array instead
25772         of using the index directly.
25773
25774 2006-03-20  Roman Kennke  <kennke@aicas.com>
25775
25776         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25777         (paintTab): Fixed painting.
25778         (paintText): Fixed text painting.
25779         (paintFocusIndicator): Fixed painting of the focus rectangle.
25780         (paintContentBorder): Fixed painting of the content area.
25781
25782 2006-03-20  Mark Wielaard  <mark@klomp.org>
25783
25784         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25785         static lock Object field.
25786         (produce): Synchronize on pixbufLock when calling initState(),
25787         pumpBytes() and pumpDone().
25788         (finalize): Likewise when calling finish().
25789         (GdkPixbufWriter.write): Likewise when calling streamImage().
25790         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25791         when calling loadPixbuf. Chain exception.
25792         (GtkImage(byte[])): Likewise when calling loadImageFromData.
25793         (GtkImage(URL)): Likewise.
25794         (GtkImage(int,int)): Likewise when calling createPixmap().
25795         (GtkImage(GtkImage,int,int,int)): Likewise when calling
25796         createScaledPixmap().
25797         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25798         (setImage): Likewise when calling createPixmap() and setPixels().
25799         (getSource): Likewise when calling getPixels().
25800         (flush): Likewise when calling freePixmap().
25801         (finalize): Likewise.
25802         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25803         drawPixelsScaledFlipped().
25804         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25805         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25806         gdk_threads_enter/leave().
25807         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25808         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25809         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25810         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25812         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25813         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25814         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25815         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25816         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
25817         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
25818         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
25819         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
25820
25821 2006-03-20  Roman Kennke  <kennke@aicas.com>
25822
25823         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25824         (calculateTabHeight): Not need to use SwingUtilities here.
25825         (getTabInsets): Do not rotate insets.
25826
25827 2006-03-20  Roman Kennke  <kennke@aicas.com>
25828
25829         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25830         (paint): Make sure the layout is valid before painting.
25831         (paintTabArea): Made tab painting more straightforward and efficient.
25832
25833 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25834
25835         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
25836         (getScrollableUnitIncrement): Rewritten.
25837         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
25838         (getScrollableUnitIncrement): Rewritten.
25839         * javax/swing/plaf/basic/BasicScrollPaneUI.java
25840         (ROWS_PER_WHEEL_CLICK): New field. 
25841         (MouseWheelHandler.mouseWheelMoved): Rewritten.
25842
25843 2006-03-20  Roman Kennke  <kennke@aicas.com>
25844
25845         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25846         (paint): Make sure the layout is valid before painting.
25847         (paintTabArea): Made tab painting more straightforward and efficient.
25848
25849 2006-03-20  Roman Kennke  <kennke@aicas.com>
25850
25851         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25852         (MouseHandler.mousePressed): Rewritten for clearer and simpler
25853         code.
25854         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
25855         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
25856         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
25857         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
25858         bounds here. That is moved into layoutContainer().
25859         (calculateSize): Correctly respect insets. Made code slightly more
25860         clear and efficient.
25861         (calculateTabRects): Rewritten completely. The old code was
25862         not quite right and unstable in some situations.
25863         (layoutContainer): Moved layout of tabbed pane's subcomponents
25864         here.
25865         (tabRunsDirty): New field.
25866         (rolloverTab): New field.
25867         (tabForCoordinate): Rewritten for simplicity and correctness.
25868         (setRolloverTab): New method.
25869         (getRolloverTab): New method.
25870
25871 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25872
25873         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
25874         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
25875         (getScrollableUnitIncrement
25876         * javax/swing/Scrollable.java: Documented.
25877         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25878         (MouseWheelHandler):Rewritten.
25879
25880 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25881
25882         * doc/vmintegration.texinfo:
25883         Updated with gnu.classpath.Unsafe
25884         
25885 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25886
25887         * NEWS:
25888         Updated with VMArray and Unsafe changes.
25889         
25890 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25891
25892         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
25893         (getScrollableUnitIncrement): Rewritten.
25894         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
25895         (getScrollableUnitIncrement): Rewritten. 
25896         (getScrollableBlockIncrement): Rewritten.
25897         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
25898         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
25899         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
25900         New field. (installListeners): Install wheel listeners. 
25901         (uninstallListeners): Uninstall wheel listeners.
25902         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
25903         of the MouseWheelListener. (installListeners): Do not install wheel
25904         listener. (ROWS_PER_WHEEL_CLICK): Removed.
25905
25906 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25907
25908         * vm/reference/gnu/classpath/Unsafe.java:
25909         Documented.
25910         (getUnsafe()): Updated to handle security.
25911
25912 2006-03-19  Tom Tromey  <tromey@redhat.com>
25913
25914         * vm/reference/gnu/classpath/Unsafe.java:
25915         New class to handle low-level facilities for concurrency.
25916
25917 2006-03-19  Mark Wielaard  <mark@klomp.org>
25918
25919         * include/Makefile.am: Rename PlainDatagramSocketImpl to
25920         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
25921         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
25922         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
25923
25924 2006-03-19  Mark Wielaard  <mark@klomp.org>
25925
25926         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
25927         familyName.
25928         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
25929
25930 2006-03-19  Michael Koch  <konqueror@gmx.de>
25931
25932         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
25933         resource/gnu/java/locale/LocaleInformation_am.properties,
25934         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
25935         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25936         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
25937         resource/gnu/java/locale/LocaleInformation_bg.properties,
25938         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25939         resource/gnu/java/locale/LocaleInformation_ca.properties,
25940         resource/gnu/java/locale/LocaleInformation_cs.properties,
25941         resource/gnu/java/locale/LocaleInformation_cy.properties,
25942         resource/gnu/java/locale/LocaleInformation_da.properties,
25943         resource/gnu/java/locale/LocaleInformation_de.properties,
25944         resource/gnu/java/locale/LocaleInformation_dv.properties,
25945         resource/gnu/java/locale/LocaleInformation_el.properties,
25946         resource/gnu/java/locale/LocaleInformation_en.properties,
25947         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
25948         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25949         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25950         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
25951         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25952         resource/gnu/java/locale/LocaleInformation_es.properties,
25953         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
25954         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
25955         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
25956         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
25957         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
25958         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
25959         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
25960         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
25961         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
25962         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
25963         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
25964         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
25965         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
25966         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
25967         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
25968         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25969         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
25970         resource/gnu/java/locale/LocaleInformation_es_US.properties,
25971         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
25972         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
25973         resource/gnu/java/locale/LocaleInformation_fa.properties,
25974         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25975         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25976         resource/gnu/java/locale/LocaleInformation_fi.properties,
25977         resource/gnu/java/locale/LocaleInformation_fr.properties,
25978         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
25979         resource/gnu/java/locale/LocaleInformation_ga.properties,
25980         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25981         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25982         resource/gnu/java/locale/LocaleInformation_hr.properties,
25983         resource/gnu/java/locale/LocaleInformation_hu.properties,
25984         resource/gnu/java/locale/LocaleInformation_id.properties,
25985         resource/gnu/java/locale/LocaleInformation_is.properties,
25986         resource/gnu/java/locale/LocaleInformation_it.properties,
25987         resource/gnu/java/locale/LocaleInformation_ja.properties,
25988         resource/gnu/java/locale/LocaleInformation_kk.properties,
25989         resource/gnu/java/locale/LocaleInformation_kl.properties,
25990         resource/gnu/java/locale/LocaleInformation_km.properties,
25991         resource/gnu/java/locale/LocaleInformation_ky.properties,
25992         resource/gnu/java/locale/LocaleInformation_lo.properties,
25993         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
25994         resource/gnu/java/locale/LocaleInformation_lt.properties,
25995         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
25996         resource/gnu/java/locale/LocaleInformation_lv.properties,
25997         resource/gnu/java/locale/LocaleInformation_mk.properties,
25998         resource/gnu/java/locale/LocaleInformation_mn.properties,
25999         resource/gnu/java/locale/LocaleInformation_mr.properties,
26000         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26001         resource/gnu/java/locale/LocaleInformation_ms.properties,
26002         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26003         resource/gnu/java/locale/LocaleInformation_mt.properties,
26004         resource/gnu/java/locale/LocaleInformation_nb.properties,
26005         resource/gnu/java/locale/LocaleInformation_nl.properties,
26006         resource/gnu/java/locale/LocaleInformation_nn.properties,
26007         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26008         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26009         resource/gnu/java/locale/LocaleInformation_pa.properties,
26010         resource/gnu/java/locale/LocaleInformation_pl.properties,
26011         resource/gnu/java/locale/LocaleInformation_pt.properties,
26012         resource/gnu/java/locale/LocaleInformation_ru.properties,
26013         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26014         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26015         resource/gnu/java/locale/LocaleInformation_sa.properties,
26016         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26017         resource/gnu/java/locale/LocaleInformation_sk.properties,
26018         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26019         resource/gnu/java/locale/LocaleInformation_sv.properties,
26020         resource/gnu/java/locale/LocaleInformation_sw.properties,
26021         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26022         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26023         resource/gnu/java/locale/LocaleInformation_te.properties,
26024         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26025         resource/gnu/java/locale/LocaleInformation_th.properties,
26026         resource/gnu/java/locale/LocaleInformation_ti.properties,
26027         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26028         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26029         resource/gnu/java/locale/LocaleInformation_tr.properties,
26030         resource/gnu/java/locale/LocaleInformation_tt.properties,
26031         resource/gnu/java/locale/LocaleInformation_uk.properties,
26032         resource/gnu/java/locale/LocaleInformation_ur.properties,
26033         resource/gnu/java/locale/LocaleInformation_uz.properties,
26034         resource/gnu/java/locale/LocaleInformation_zh.properties,
26035         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26036         More updates for CLDR 1.3.
26037         
26038 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26039
26040         * doc/vmintegration.texinfo:
26041         Updated to include VMArray.
26042         * include/Makefile.am:
26043         Replace java_lang_reflect_Array.h with
26044         java_lang_reflect_VMArray.h
26045         * include/java_lang_reflect_VMArray.h:
26046         New autogenerated header.
26047         * include/java_lang_reflect_Array.h:
26048         Removed.
26049         * java/lang/reflect/Array.java:
26050         (newInstance(Class,int)): Calls VMArray.
26051         (createMultiArray(Class,int[],int)): Likewise.
26052         (createObjectArray(Class,int)): Removed.
26053         * native/jni/java-lang/Makefile.am:
26054         Replaced java_lang_reflect_Array.c with
26055         java_lang_reflect_VMArray.c
26056         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26057         Renamed from java_lang_reflect_Array.c.
26058         * vm/reference/java/lang/reflect/VMArray.java:
26059         (createObjectArray(Class,int)): Native method moved
26060         from java.lang.reflect.Array.
26061
26062 2006-03-19  Roman Kennke  <kennke@aicas.com>
26063
26064         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26065         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26066         New class.
26067         * examples/gnu/classpath/examples/swing/Demo.java
26068         (mkButtonBar): Hook up theme editor.
26069         (mkMenuBar): Hook up theme editor.
26070
26071 2006-03-19  Roman Kennke  <kennke@aicas.com>
26072
26073         * javax/swing/plaf/basic/BasicFileChooserUI.java
26074         (ApproveSelectionAction.actionPerformed): Added case for when
26075         nothing has been selected but the user has typed a filename
26076         into the textfield.
26077         (getFileName): Return the value of the text field.
26078
26079 2006-03-19  Roman Kennke  <kennke@aicas.com>
26080
26081         * javax/swing/JColorChooser.java
26082         (createDialog): Create JDialog instead of ModalDialog. Make this
26083         dialog modal by calling setModal(true).
26084         (ModalDialog): Removed unnecessary inner class.
26085
26086 2006-03-19  Tom Tromey  <tromey@redhat.com>
26087
26088         * java/awt/font/NumericShaper.java: Rewrote.
26089
26090 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26091
26092         * javax/swing/plaf/basic/BasicTableUI.java:
26093         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26094         New field. MouseInputHandler.mouseWheelMoved): New method.
26095         (installListeners): Register MouseInputHandler as
26096         wheel listener also.
26097         
26098 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26099
26100         PR 26746
26101         * javax/swing/ViewportLayout.java (layoutContainer):
26102         If Scrollable tracks dimension, set view size to the port size. 
26103         If port is larger than the view, move the view to the top/left.
26104
26105 2006-03-19  Roman Kennke  <kennke@aicas.com>
26106
26107         * javax/swing/MenuSelectionManager.java
26108         (isComponentPartOfCurrentMenu): Also consider the first element
26109         in a menu selection list. Make a isDescendentFrom check instead
26110         of simple equals to also catch sub components.
26111
26112 2006-03-19  Roman Kennke  <kennke@aicas.com>
26113
26114         * javax/swing/JComboBox.java
26115         (actionPerformed): Fetch selected item directly from the editor
26116         instead of trying to get it from the event.
26117
26118 2006-03-19  Roman Kennke  <kennke@aicas.com>
26119
26120         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26121         (listener): Removed field.
26122         (BasicComboBoxEditor): Removed initialization of listener field.
26123         (addActionListener): Add listener directly to editor.
26124         (removeActionListener): Remove listener directly from editor.
26125         (ComboBoxEditorListener): Removed class.
26126         * javax/swing/plaf/basic/BasicComboBoxUI.java
26127         (getPreferredSize): Fixed to return the minimumSize.
26128         (getMinimumSize): Improved code for more clearness.
26129         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26130         (rectangleForCurrentValue): Correctly respect insets.
26131         (getDefaultSize): Return preferredSize here. Dont override height
26132         with 100.
26133         (getDisplaySize): Moved around code for more clearness. Added
26134         handling of prototype renderer.
26135         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26136         arrowButton bounds since the former depends on the latter.
26137         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26138         (MetalComboBoxButton): Make button rollover disabled.
26139         (isFocusTraversable): Return false unconditionally.
26140         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26141         (EditorTextField): New class. Fixes the size properties.
26142         (MetalComboBoxEditor): Create instance of EditorTextField.
26143         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26144         (getMinimumSize): Fixed editable size.
26145
26146 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26147
26148         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26149
26150 2006-03-18  Roman Kennke  <kennke@aicas.com>
26151
26152         * javax/swing/plaf/metal/MetalToolBarUI.java
26153         (update): Added overridden method to support OceanTheme.
26154
26155 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26156
26157         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26158         Activate the cell editing on character keystroke.
26159
26160 2006-03-18  Mark Wielaard  <mark@klomp.org>
26161
26162         * java/awt/Component.java (eventTypeEnabled): Handle
26163         MouseEvent.MOUSE_WHEEL.
26164         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26165         New callback method.
26166         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26167         (AWT_MOUSE_WHEEL): New constant.
26168         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26169         (postMouseWheelEventID): New static variable.
26170         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26171         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26172         (button_number): Renamed to ...
26173         (button_number_direction): variable to hold button number or scroll
26174         direction.
26175         (component_button_press_cb): Use button_number_direction.
26176         (component_scroll_cb): New static callback function.
26177
26178 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26179
26180         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26181         Return without action.
26182
26183 2006-03-18  Mark Wielaard  <mark@klomp.org>
26184
26185         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26186         Don't cast graphics object to GdkGraphics.
26187         (updateComponent): Likewise.
26188
26189 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26190
26191         * examples/gnu/classpath/examples/swing/TableDemo.java
26192         (TModel.getColumnClass): Set second column to Icon.
26193         (TModel.isCellEditable): Say icons are not editable.
26194         (createContent): Fill the in second column with some icons from 
26195         MetalIconFactory.
26196
26197 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26198
26199         * examples/gnu/classpath/examples/swing/Demo.java
26200         (mkButtonBar): Set maximal button bar height to the preferred height.
26201
26202 2006-03-18  Roman Kennke  <kennke@aicas.com>
26203
26204         * javax/swing/plaf/basic/BasicComboPopup.java
26205         (show): Substract insets from scroller width.
26206         (getPopupHeightForRowCount): If height==0, return a default of 100
26207         instead for empty ComboBoxes.
26208
26209 2006-03-18  Roman Kennke  <kennke@aicas.com>
26210
26211         * javax/swing/plaf/basic/BasicLookAndFeel.java
26212         (PopupHelper.autoClosePopups): Removed field.
26213         (PopupHelper.mousePressed): Removed processing of registered
26214         autoclose popups.
26215         (registerForAutoClose): Removed unneeded method.
26216         (autoClosePopups): Removed unneeded method.
26217         (registerForAutoClose): Removed unneeded method.
26218
26219 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26220
26221         * javax.swing.JTable.java (TableTextField): Set border.
26222         (moveToCellBeingEdited): Do not adjust the editor boundaries
26223
26224 2006-03-18  Michael Koch  <konqueror@gmx.de>
26225
26226         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26227         resource/gnu/java/locale/LocaleInformation_af.properties,
26228         resource/gnu/java/locale/LocaleInformation_am.properties,
26229         resource/gnu/java/locale/LocaleInformation_ar.properties,
26230         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26231         resource/gnu/java/locale/LocaleInformation_be.properties,
26232         resource/gnu/java/locale/LocaleInformation_bg.properties,
26233         resource/gnu/java/locale/LocaleInformation_bn.properties,
26234         resource/gnu/java/locale/LocaleInformation_ca.properties,
26235         resource/gnu/java/locale/LocaleInformation_cs.properties,
26236         resource/gnu/java/locale/LocaleInformation_cy.properties,
26237         resource/gnu/java/locale/LocaleInformation_da.properties,
26238         resource/gnu/java/locale/LocaleInformation_de.properties,
26239         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26240         resource/gnu/java/locale/LocaleInformation_dz.properties,
26241         resource/gnu/java/locale/LocaleInformation_en.properties,
26242         resource/gnu/java/locale/LocaleInformation_eo.properties,
26243         resource/gnu/java/locale/LocaleInformation_es.properties,
26244         resource/gnu/java/locale/LocaleInformation_et.properties,
26245         resource/gnu/java/locale/LocaleInformation_eu.properties,
26246         resource/gnu/java/locale/LocaleInformation_fa.properties,
26247         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26248         resource/gnu/java/locale/LocaleInformation_fi.properties,
26249         resource/gnu/java/locale/LocaleInformation_fo.properties,
26250         resource/gnu/java/locale/LocaleInformation_fr.properties,
26251         resource/gnu/java/locale/LocaleInformation_ga.properties,
26252         resource/gnu/java/locale/LocaleInformation_gl.properties,
26253         resource/gnu/java/locale/LocaleInformation_gu.properties,
26254         resource/gnu/java/locale/LocaleInformation_he.properties,
26255         resource/gnu/java/locale/LocaleInformation_hi.properties,
26256         resource/gnu/java/locale/LocaleInformation_hr.properties,
26257         resource/gnu/java/locale/LocaleInformation_hu.properties,
26258         resource/gnu/java/locale/LocaleInformation_hy.properties,
26259         resource/gnu/java/locale/LocaleInformation_id.properties,
26260         resource/gnu/java/locale/LocaleInformation_is.properties,
26261         resource/gnu/java/locale/LocaleInformation_it.properties,
26262         resource/gnu/java/locale/LocaleInformation_ja.properties,
26263         resource/gnu/java/locale/LocaleInformation_ka.properties,
26264         resource/gnu/java/locale/LocaleInformation_km.properties,
26265         resource/gnu/java/locale/LocaleInformation_ko.properties,
26266         resource/gnu/java/locale/LocaleInformation_lo.properties,
26267         resource/gnu/java/locale/LocaleInformation_lt.properties,
26268         resource/gnu/java/locale/LocaleInformation_lv.properties,
26269         resource/gnu/java/locale/LocaleInformation_mk.properties,
26270         resource/gnu/java/locale/LocaleInformation_mr.properties,
26271         resource/gnu/java/locale/LocaleInformation_ms.properties,
26272         resource/gnu/java/locale/LocaleInformation_mt.properties,
26273         resource/gnu/java/locale/LocaleInformation_nb.properties,
26274         resource/gnu/java/locale/LocaleInformation_nl.properties,
26275         resource/gnu/java/locale/LocaleInformation_nn.properties,
26276         resource/gnu/java/locale/LocaleInformation_om.properties,
26277         resource/gnu/java/locale/LocaleInformation_pl.properties,
26278         resource/gnu/java/locale/LocaleInformation_ps.properties,
26279         resource/gnu/java/locale/LocaleInformation_pt.properties,
26280         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26281         resource/gnu/java/locale/LocaleInformation_ro.properties,
26282         resource/gnu/java/locale/LocaleInformation_ru.properties,
26283         resource/gnu/java/locale/LocaleInformation_sk.properties,
26284         resource/gnu/java/locale/LocaleInformation_sl.properties,
26285         resource/gnu/java/locale/LocaleInformation_so.properties,
26286         resource/gnu/java/locale/LocaleInformation_sq.properties,
26287         resource/gnu/java/locale/LocaleInformation_sr.properties,
26288         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26289         resource/gnu/java/locale/LocaleInformation_sv.properties,
26290         resource/gnu/java/locale/LocaleInformation_sw.properties,
26291         resource/gnu/java/locale/LocaleInformation_ta.properties,
26292         resource/gnu/java/locale/LocaleInformation_te.properties,
26293         resource/gnu/java/locale/LocaleInformation_th.properties,
26294         resource/gnu/java/locale/LocaleInformation_tr.properties,
26295         resource/gnu/java/locale/LocaleInformation_uk.properties,
26296         resource/gnu/java/locale/LocaleInformation_uz.properties,
26297         resource/gnu/java/locale/LocaleInformation_vi.properties,
26298         resource/gnu/java/locale/LocaleInformation_zh.properties,
26299         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26300         Updated to use the new localized strings for currencies, languages,
26301         variants, territories, etc.
26302
26303 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26304
26305         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26306         (start, end): Added comment about the negative values of them,
26307         (finish): Saves the input text in matchedCharIndexed,
26308         (toString): If the start or end index is out of bounds of the
26309         matched text, get the substring from matchedCharIndexed.
26310         Added special handlings in case start/end index < -1,
26311         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26312         Added special handlings in case start/end index < -1,
26313         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26314         found match, but keep the index as the original match.
26315         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26316         found match, but keep the index as the original match.
26317         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26318         in case start/end index < -1.
26319         
26320 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26321
26322         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26323         Set to false.   
26324
26325 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26326          
26327         * javax/swing/text/DefaultCaret.java:
26328         (mouseClicked) Use setDot() and moveDot() instead of
26329         JTextComponent.select().
26330
26331 2006-03-17  Roman Kennke  <kennke@aicas.com>
26332
26333         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26334         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26335         border painting for the Ocean theme.
26336         (MetalComboBoxEditor): Create editor directly instead of going
26337         to super.
26338         
26339 2006-03-17  Roman Kennke  <kennke@aicas.com>
26340
26341         * javax/swing/text/JTextComponent.java
26342         (JTextComponent): Make text components opaque.
26343
26344 2006-03-17  Roman Kennke  <kennke@aicas.com>
26345
26346         * javax/swing/plaf/metal/MetalComboBoxUI.java
26347         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26348         layoutComboBox().
26349         (MetalPropertyChangeListener.propertyChange): Update focusable
26350         flag according to the enable and editable state.
26351         (editablePropertyChanged): Removed unnecessary code.
26352         (getMinimumSize): Rewritten to correctly compute the
26353         size, respecting the insets of the components and the icon,
26354         the visual properties of the combobox, etc.
26355         (configureEditor): Update listeners correctly.
26356         (unconfigureEditor): Update listeners correctly.
26357         (layoutComboBox): Implemented.
26358
26359 2006-03-17  Roman Kennke  <kennke@aicas.com>
26360
26361         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26362         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26363         instead of Flush3DBorder.
26364         (paintBorder): Fixed border painting.
26365         (editorBorderInsets): Fixed border's insets.
26366
26367 2006-03-17  Roman Kennke  <kennke@aicas.com>
26368
26369         * javax/swing/plaf/metal/MetalComboBoxButton.java
26370         (rendererPane): Documented.
26371         (MetalComboBoxButton): Set enabled flag from ComboBox.
26372         Set focusable flag from ComboBox's enabled flag.
26373         (isFocusTraversable): Make button focus traversable if
26374         ComboBox is not editable but enable.
26375         (paintComponent): Fixed painting to correctly adjust
26376         the boxes of the renderer and button.
26377
26378 2006-03-17  Roman Kennke  <kennke@aicas.com>
26379
26380         * javax/swing/plaf/basic/BasicButtonUI.java
26381         (installDefaults): Only install UI margin if installed margin.
26382         is null or a UIResource.         
26383         (uninstallDefaults): Only uninstall margin if it's       
26384         a UIResource.    
26385          
26386  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26387          
26388          * javax/swing/text/DefaultCaret.java:   
26389          (mouseClicked) Use setDot() and moveDot() instead of    
26390          JTextComponent.select().        
26391  
26392 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26393
26394         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26395         inner classes into package-private inner classes, added actions
26396         for caret movement and selection to the next and previous word
26397         and an action which selects the whole text.
26398
26399 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26400
26401         * javax/swing/Spring.java: Uncomment springdebug methods and
26402         rename them toString.
26403         * javax/swing/SpringLayout.java: Likewise.
26404
26405 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26406
26407         * javax/swing/text/FieldView.java:
26408         (viewToModel): Added call to adjust allocation area.
26409
26410 2006-03-17  Roman Kennke  <kennke@aicas.com>
26411
26412         * javax/swing/plaf/basic/BasicComboBoxUI.java
26413         (mouseListener): Removed field.
26414         (buttonBackground): Removed field.
26415         (buttonShadow): Removed field.
26416         (buttonDarkShadow): Removed field.
26417         (buttonHighlight): Removed field.
26418         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26419         (installUI): Initialize and configure renderer and editor here.
26420         (uninstallUI): Close popup before uninitializing.
26421         Message popup that we are uninitializing. Clear layout.
26422         (installDefaults): Install UI border. Don't install colors.
26423         (installListeners): Install listeners fetched from the popup.
26424         Remove handling of mouseListener.
26425         (uninstallDefaults): Uninstall border. Don't handle colors.
26426         (uninstallListeners): Don't handle mouseListener. Uninstall
26427         listener from the popup.
26428         (createMouseListener): Removed method.
26429         (createRenderer): Create UIResource.
26430         (installComponents): Cleaned up.
26431         (uninstallComponents): Only remove renderer when it is
26432         a UIResource.
26433         (addEditor): Remove editor before adding new one.
26434         Fetch editor from comboBox.
26435         (removeEditor): Only do something when editor != null. Unconfigure
26436         editor before removing.
26437         (configureEditor): Add key listener. Call comboBox.configureEditor.
26438         (unconfigureEditor): Removed key listener.
26439         (configureArrowButton): Only handle when arrowButton != null.
26440         Add mouse listeners to arrow button.
26441         (unconfigureArrowButton): Remove listeners.
26442         (createArrowButton): Don't handle colors here.
26443         (setPopupVisible): Don't handle focus here.
26444         (paint): Only paint when comboBox is not editable. Update
26445         hasFocus flag.
26446         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26447         (getMinimumSize): Respect insets here.
26448         (getMaximumSize): Return preferredSize with width of 32767.
26449         (getInsets): Return ComboBox insets.
26450         (paintCurrentValue): Paint using currentValuePane.
26451         Install correct colors. Don't revalidate.
26452         (paintCurrentValueBackground): Implemented.
26453         (getDefaultSize): Reimplemented using a default renderer.
26454         (getDisplaySize): Reimplemented to use renderer.
26455         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26456         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26457         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26458         (FocusHandler.focusGained): Don't invalidate minimumSize.
26459         (FocusHandler.focusLost): Don't invalidate minimumSize.
26460         Only close popup if focus change is not temporary.
26461         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26462         Reconfigure editor if not null.
26463         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26464         editor if necessary.
26465         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26466         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26467         (MouseHandler): Removed unnecessary class.
26468
26469 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26470
26471         * examples/gnu/classpath/examples/swing/Demo.java:
26472         (Demo): Set default closing operation to shutdown the runtime.
26473
26474 2006-03-17  Roman Kennke  <kennke@aicas.com>
26475
26476         * javax/swing/plaf/basic/BasicComboPopup.java
26477         (BasicComboPopup): Create listeners here.
26478         Configure components here.
26479         (show): Correctly calculate bounds using computePopupBounds().
26480         Make scroller fixed-size. Removed special autocloser handling.
26481         (hide): Rewritten to use MenuSelectionHandler.
26482         (createList): Don't set selection mode here.
26483         (configureList): Correctly install colors and fonts and selectionMode.
26484         (createScroller): Set scrollpane policies.
26485         (configureScroller): Make scroller and scrollbar not-focusable.
26486         (configurePopup): Make popup opaque and borderPainted.
26487         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26488         (delegateFocus): Implemented.
26489         (convertMouseEvent): Implemented.
26490         (updateListBoxSelectionForEvent): Implemented to also handle
26491         autoscrolling.
26492         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26493         Only open popup on left mouse-click.
26494         (InvocationMouseHandler.mouseReleased): Rewritten.
26495         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26496         support autoscrolling.
26497         (ItemHandler.itemStateChanged): Implemented to sync selection with
26498         the comboBox.
26499         (ListMouseHandler.mouseReleased): Fetch selected index directly
26500         from list.
26501         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26502         the list box.
26503         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26504         When model changes, then update listeners correctly.
26505         (uninstallListeners): Don't uninstall list listeners.
26506         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26507         from comboBox.
26508         (syncSelection): New helper method.
26509
26510 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26511
26512         * javax/swing/text/PlainView.java:
26513         (drawLine): Rewritten.
26514         (drawSelectedText): Corrected last argument for
26515         Utilities.drawTabbedText() call.
26516         (paint): Store start and end of selection in object variables,
26517         store constant values of for-loop in local variables.
26518         * javax/swing/text/Utilities.java:
26519         (drawTabbedText): Add 'pixelWidth' to the return value, store
26520         constant value of for-loop in local variable.
26521
26522 2006-03-17  Roman Kennke  <kennke@aicas.com>
26523
26524         * javax/swing/plaf/basic/BasicComboPopup.java
26525         (BasicComboPopup): Create listeners here.
26526         Configure components here.
26527         (show): Correctly calculate bounds using computePopupBounds().
26528         Make scroller fixed-size. Removed special autocloser handling.
26529         (hide): Rewritten to use MenuSelectionHandler.
26530         (createList): Don't set selection mode here.
26531         (configureList): Correctly install colors and fonts and selectionMode.
26532         (createScroller): Set scrollpane policies.
26533         (configureScroller): Make scroller and scrollbar not-focusable.
26534         (configurePopup): Make popup opaque and borderPainted.
26535         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26536         (delegateFocus): Implemented.
26537         (convertMouseEvent): Implemented.
26538         (updateListBoxSelectionForEvent): Implemented to also handle
26539         autoscrolling.
26540         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26541         Only open popup on left mouse-click.
26542         (InvocationMouseHandler.mouseReleased): Rewritten.
26543         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26544         support autoscrolling.
26545         (ItemHandler.itemStateChanged): Implemented to sync selection with
26546         the comboBox.
26547         (ListMouseHandler.mouseReleased): Fetch selected index directly
26548         from list.
26549         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26550         the list box.
26551         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26552         When model changes, then update listeners correctly.
26553         (uninstallListeners): Don't uninstall list listeners.
26554         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26555         from comboBox.
26556         (syncSelection): New helper method.
26557
26558 2006-03-17  Roman Kennke  <kennke@aicas.com>
26559
26560         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26561         (noFocusBorder): Make border with insets of (1,1,1,1).
26562         (BasicComboBoxRenderer): Make renderer opaque.
26563         No need to explicitly set alignment.
26564         (getListCellRendererComponent): Rewritten to correctly initialize
26565         color and font.
26566
26567 2006-03-17  Roman Kennke  <kennke@aicas.com>
26568
26569         * javax/swing/JPopupMenu.java
26570         (setVisible): Handle JPopupMenu opening and closing via
26571         the MenuSelectionHandler.
26572
26573 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26574
26575         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26576         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26577         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26578         Likewise.       
26579         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26580         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26581         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26582         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26583         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26584         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26585         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26586         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26587         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26588         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26589
26590 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26591
26592         * java/rmi/activation/Activatable.java: Implemented.
26593         java/rmi/activation/ActivationDesc.java: Implemented.
26594         java/rmi/activation/ActivationGroup.java: Implemented.
26595         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26596         java/rmi/activation/ActivationID.java: Implemented.
26597         java/rmi/activation/ActivationSystem.java: Implemented.
26598         * gnu/java/rmi/server/UnicastServerRef.java 
26599         (exportObject, incommingMessageCall): Documented.
26600         * java/rmi/activation/package.html: Documented.
26601         * java/rmi/server/ObjID.java (objNum, space): Made package
26602         protected.
26603         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26604         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26605         Iteration bug fix.
26606         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26607         gnu/java/rmi/activation/BidiTable.java: New file.
26608         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26609         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26610         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26611
26612 2006-03-17  Mark Wielaard  <mark@klomp.org>
26613
26614         * java/security/BasicPermission.java (BasicPermission): Check
26615         name equals empty string to force NullPointerException.
26616
26617 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26618
26619         PR classpath/26606
26620         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26621         * javax/swing/Spring.java: Complete implementation
26622         * javax/swing/SpringLayout.java: Likewise.
26623
26624 2006-03-16  Keith Seitz  <keiths@redhat.com>
26625
26626         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26627         all references.
26628         (run): Remove catch clause for InterruptedException. It is no
26629         longer necessary.
26630
26631 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26632
26633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26634         (getFontMetrics): Handle monospaced fonts specially.
26635
26636 2006-03-16  Keith Seitz  <keiths@redhat.com>
26637
26638         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26639         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26640         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26641         Don't suspend the current thread unless it is not part of the JDWP
26642         thread group.
26643
26644 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26645
26646         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26647         return 0.
26648         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26649         font metrics through toolkit.
26650         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26651         Likewise.
26652         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26653         (getFontMetrics): To calculate Java logical ascent and descent
26654         values, average Pango ink and logical values.
26655
26656 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26657
26658         * java/lang/Character.java: Updated header comment.
26659
26660 2006-03-16  Tom Tromey  <tromey@redhat.com>
26661
26662         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26663         constructor.
26664         * javax/sound/sampled/FloatControl.java: Now abstract.
26665         * javax/sound/sampled/EnumControl.java: Now abstract.
26666         * javax/sound/sampled/CompoundControl.java: Now abstract.
26667         * javax/sound/sampled/BooleanControl.java: Now abstract.
26668
26669 2006-03-16  Tom Tromey  <tromey@redhat.com>
26670
26671         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26672
26673 2006-03-16  Roman Kennke  <kennke@aicas.com>
26674
26675         * java/util/zip/ZipFile.java
26676         (openFile): New helper method.
26677         (ZipFile): Use new openFile method to ensure the proper
26678         exception is thrown. This applies for all overloaded constructors.
26679
26680 2006-03-16  Roman Kennke  <kennke@aicas.com>
26681
26682         * java/text/DateFormatSymbols.java
26683         (setAmPmStrings): Added null check and throw NPE.
26684         (setEras): Likewise.
26685         (setLocalPatternChars): Likewise.
26686         (setMonths): Likewise.
26687         (setShortMonths): Likewise.
26688         (setShortWeekdays): Likewise.
26689         (setWeekdays): Likewise.
26690         (setZoneStrings): Likewise.
26691
26692 2006-03-16  Roman Kennke  <kennke@aicas.com>
26693
26694         * javax/swing/DefaultDesktopManager.java
26695         (iconifyFrame): Repaint after removing the frame.
26696         (removeIconFor): Repaint after removing the icon.
26697
26698 2006-03-16  Roman Kennke  <kennke@aicas.com>
26699
26700         * javax/swing/JInternalFrame.java
26701         (remove): Respect the rootPaneCheckingEnabled flag here.
26702
26703 2006-03-16  Roman Kennke  <kennke@aicas.com>
26704
26705         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26706         Moved from examples into gnu.javax.swing.. namespace.
26707         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26708         Moved to gnu.javax.swing.. namespace.
26709         * examples/gnu/classpath/examples/swing/Demo.java:
26710         (themesMenu): New field. Used to disable theme switch in
26711         non-Metal-L&Fs.
26712         (mkMenuBar): Added L&F menu.
26713         (ChangeThemeAction.actionPerformed): Only switch theme when
26714         in Metal L&F.
26715         (ChangeLAFAction): New class used for changing themes.
26716         * javax/swing/UIManager.java
26717         (installed): Added GNU L&F as installed L&F.
26718
26719 2006-03-16  Mark Wielaard  <mark@klomp.org>
26720
26721         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26722         * examples/gnu/classpath/examples/icons/badge.png: Added.
26723         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26724         from icon directory.
26725
26726 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26727
26728         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26729         example.
26730         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26731         * examples/gnu/classpath/examples/awt/Demo.java: Add
26732         AnimationApplet demo.
26733         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26734         demo.
26735
26736 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26737
26738         PR classpath/26486
26739         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26740         method.
26741         (handleEvent): Likewise.
26742         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26743         Remove field.
26744         (beginNativeRepaint): Remove method.
26745         (endNativeRepaint): Likewise.
26746         (handleEvent): Call paintComponent and updateComponent.
26747         (paintComponent): New method.
26748         (updateComponent): Likewise.
26749         (repaint): Return early if width or height is less than one.
26750         (postExposeEvent): Remove isInRepaint reference.
26751         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26752         Remove method.
26753         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26754         from GtkWindowPeer.
26755         (postMouseEvent): Likewise.
26756         (postExposeEvent): Likewise.
26757         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26758         Override to do nothing.
26759         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26760         from GtkWindowPeer.
26761         (postMouseEvent): Likewise.
26762         (postExposeEvent): Likewise.
26763         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26764         paint and update handling from GtkComponentPeer.
26765         (updateComponent): Override to call paintComponent.
26766         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26767         gdk_flush calls with schedule_flush calls.
26768         (flush): New function.
26769         (schedule_flush): Likewise.
26770
26771 2006-03-15  Tom Tromey  <tromey@redhat.com>
26772
26773         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26774         constructor.
26775         (BCSIterator): Likewise.
26776         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26777         New constructor.
26778         (BCSSProxyServiceProvider): Likewise.
26779         (BCSSServiceProvider): Likewise.
26780
26781 2006-03-15  Tom Tromey  <tromey@redhat.com>
26782
26783         * javax/sound/midi/Track.java (Track): New constructor.
26784         (events): Now package-private.
26785         * javax/sound/midi/MidiUnavailableException.java
26786         (MidiUnavailableException): Removed invalid constructors.
26787         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26788         * javax/sound/midi/InvalidMidiDataException.java
26789         (InvalidMidiDataException): Removed invalid constructors.
26790         * javax/sound/midi/Sequencer.java (hashCode): Now final.
26791         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26792         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26793         (SYSTEM_EXCLUSIVE): Removed.
26794         (getDataLength): Updated.
26795         * javax/sound/midi/MidiDevice.java (Info): Now protected.
26796         (equals): Now final
26797         (getName): Now final.
26798         (getVendor): Now final.
26799         (getDescription): Likewise.
26800         (hashCode): Likewise.
26801         (getVersion): Likewise.
26802         (toString): Likewise.
26803         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26804         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26805         (getEarlyReflectionDelay): Likewise.
26806         (getEarlyReflectionIntensity): Likewise.
26807         (getLateReflectionDelay): Likewise.
26808         (getLateReflectionIntensity): Likewise.
26809         (toString): Likewise.
26810         * javax/sound/sampled/Port.java (toString): Now final.
26811         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26812         (getLine): Likewise.
26813         (getType): Likewise.
26814         * javax/sound/sampled/Mixer.java (Info): Now protected.
26815         (getDescription): Now final.
26816         (getName): Likewise.
26817         (getVendor): Likewise.
26818         (getVersion): Likewise.
26819         (toString): Likewise.
26820         * javax/sound/sampled/Control.java: Now abstract.
26821         (Type.toString): Now final.
26822
26823 2006-03-15  Keith Seitz  <keiths@redhat.com>
26824
26825         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
26826         of this redundant variable.
26827         (LineTable): Assert that the number of line numbers and the number of
26828         code indicies is the same.
26829
26830 2006-03-15  Tom Tromey  <tromey@redhat.com>
26831
26832         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
26833         final.
26834         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
26835         fix.
26836         * java/util/zip/ZipFile.java (ENDNRD): New constant.
26837         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
26838         * java/util/zip/Inflater.java (end): Not deprecated.
26839         * java/util/zip/Deflater.java (end): Not deprecated.
26840         * java/text/Bidi.java (Bidi): Now final.
26841         * java/nio/MappedByteBuffer.java (finalize): Now protected.
26842
26843 2006-03-15  Keith Seitz  <keiths@redhat.com>
26844
26845         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
26846         (Location): Index is a long, not an int.
26847         (getMethod): New method.
26848         (getIndex): New method.
26849         (toString): New method.
26850
26851 2006-03-15  Tom Tromey  <tromey@redhat.com>
26852
26853         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
26854         * java/awt/image/LookupOp.java (filter): Now final.
26855         (getBounds2D): Likewise.
26856         (getPoint2D): Likewise.
26857         (getTable): Likewise.
26858         (getRenderingHints): Likewise.
26859         * java/awt/image/ConvolveOp.java (filter): Now final.
26860         (getBounds2D): Likewise.
26861         (getKernel): Likewise.
26862         (getPoint2D): Likewise.
26863         (getRenderingHints): Likewise.
26864         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
26865         (getMatrix): Likewise.
26866         (getBounds2D): Likewise.
26867         (getRenderingHints): Likewise.
26868         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
26869         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
26870         private.
26871         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
26872         protected.
26873         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
26874         protected.
26875         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
26876
26877 2006-03-15  Keith Seitz  <keiths@redhat.com>
26878
26879         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
26880         Update javadoc.
26881         (matches): Implement.
26882
26883 2006-03-15  Keith Seitz  <keiths@redhat.com>
26884
26885         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
26886         
26887         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
26888
26889 2006-03-15  Tom Tromey  <tromey@redhat.com>
26890
26891         * java/lang/StrictMath.java (signum): New methods.
26892
26893 2006-03-15  Tom Tromey  <tromey@redhat.com>
26894
26895         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
26896
26897 2006-03-15  Lillian Angel  <langel@redhat.com>
26898
26899         PR classpath/24211
26900         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
26901         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
26902         Added check to avoid segmentation fault.
26903
26904 2006-03-15  Lillian Angel  <langel@redhat.com>
26905
26906         * java/awt/Container.java
26907         (getComponentAt): Fixed documentation.
26908         (getComponentAt): Likewise.
26909
26910 2006-03-15  Roman Kennke  <kennke@aicas.com>
26911
26912         * javax/swing/JComponent.java
26913         (dragBuffer): New field.
26914         (dragBufferInitialized): New field.
26915         (paint): Added facility for buffered dragging of components.
26916         (initializeDragBuffer): New method.
26917         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
26918         API docs.
26919         * javax/swing/plaf/basic/BasicInternalFrameUI.java
26920         (BorderListener.mouseDragged): Turn on buffered dragging.
26921         (BorderListener.mouseReleased): Turn off buffered dragging.
26922
26923 2006-03-15  Lillian Angel  <langel@redhat.com>
26924
26925         * java/awt/Container.java
26926         (getComponentAt): Fixed documentation.
26927         (getComponentAt): Likewise.
26928         (findComponentAt): Likewise.
26929         (findComponentAt): Likewise.
26930
26931 2006-03-15  Roman Kennke  <kennke@aicas.com>
26932
26933         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
26934         (PropertyChangeHandler.propertyChange): Call enableActions().
26935         Fixed 'iconable' property name.
26936
26937 2006-03-15  Chris Burdess  <dog@gnu.org>
26938
26939         Fixes PR 26700
26940         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
26941
26942 2006-03-15  Roman Kennke  <kennke@aicas.com>
26943
26944         * examples/gnu/classpath/examples/swing/Demo.java:
26945         (desktop): New field.
26946         (mkMenuBar): Added new subdemos.
26947         (mkButtonWorld): Removed.
26948         (CheckCellRenderer): Moved to ListDemo.
26949         (LabelCellRenderer): Moved to ListDemo.
26950         (mkTreeWorld): Moved to TreeDemo.
26951         (mkDesktopWorld): Removed.
26952         (mkTabWorld): Moved to TabbedPaneDemo.
26953         (mkTabbedPane): Removed.
26954         (Demo): Replaced 'worlds' tabbed pane with desktop.
26955         (PopupAction): Made class non-static.
26956         (PopupAction.actionPerformed): Bring up subdemos in internal
26957         frame.
26958         (mkButtonBar): Added new demos.
26959         (createDesktop): New method.
26960         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
26961         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
26962         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
26963         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
26964         * examples/gnu/classpath/examples/swing/badge.png: New image file.
26965
26966 2006-03-15  Lillian Angel  <langel@redhat.com>
26967         
26968         * java/awt/Container.java
26969         (getComponentAt): Fixed mistake in comments.
26970         (getComponentAt): Likewise.
26971         (locate): Likewise. Also, handled lightweight components.
26972         Heavyweights take precedence over lightweights, so we should
26973         iterate through the heavyweights first.
26974
26975 2006-03-15  Lillian Angel  <langel@redhat.com>
26976
26977         * java/awt/Container.java
26978         (getComponentAt): Added API documentation.
26979         (getComponentAt): Likewise.
26980         (locate): Likewise. Also, removed lines to ignore
26981         invisible components.
26982         (findComponentAt): Added API documentation.
26983         (findComponentAt): Added API documentation.
26984         (findComponentForMouseEvent): Removed, never used.
26985
26986 2006-03-15  Roman Kennke  <kennke@aicas.com>
26987
26988         * javax/swing/Popup.java
26989         (LightweightPopup.show): Repaint the panel after showing it.
26990
26991 2006-03-15  Lillian Angel  <langel@redhat.com>
26992
26993         * java/awt/Component.java
26994         (show): repaint should only be called if the component
26995         isShowing and isLightweight.
26996
26997 2006-03-15  Roman Kennke  <kennke@aicas.com>
26998
26999         * javax/swing/JInternalFrame.java
27000         (setClosable): Made this property bound.
27001         (setResizable): Made this property bound.
27002         (setIconifiable): Made this property bound.
27003         (setMaximizable): Made this property bound.
27004
27005 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27006
27007         * javax/swing/table/TableColumn.java
27008         (sizeWidthToFit): Implemented.
27009
27010 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27011
27012         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27013         (setIdentifier): Fire required PropertyChangeEvent,
27014         (setCellEditor): Likewise.
27015
27016 2006-03-15  Roman Kennke  <kennke@aicas.com>
27017
27018         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27019         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27020         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27021         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27022         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27023         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27024         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27025         * examples/gnu/classpath/examples/swing/TableDemo.java,
27026         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27027         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27028         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27029         * examples/gnu/classpath/examples/swing/Demo.java:
27030         Cleaned up. Reworked handling of Sub-demos to load lazily.
27031         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27032         New interface. Used for loading the subdemos lazily.
27033
27034 2006-03-15  Roman Kennke  <kennke@aicas.com>
27035
27036         * javax/swing/plaf/basic/BasicToolBarUI.java
27037         (PropertyListener.propertyChange): Added null check to avoid NPE.
27038
27039 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27040
27041         * javax/swing/table/TableColumn.java
27042         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27043         (width): Likewise.
27044         (minWidth): Likewise,
27045         (preferredWidth): Likewise,
27046         (maxWidth): Likewise,
27047         (headerRenderer): Likewise,
27048         (cellRenderer): Likewise,
27049         (cellEditor): Likewise,
27050         (changeSupport): Likewise,
27051         (firePropertyChange(String, Object, Object)): Removed,
27052         (firePropertyChange(String, int. int)): Likewise,
27053         (firePropertyChange(String, boolean, boolean)): Likewise,
27054         (setModelIndex): Fire property change,
27055         (setHeaderValue): Call changeSupport directly to generate event,
27056         (setHeaderRenderer): Likewise,
27057         (setCellRenderer): Likewise,
27058         (setWidth): Likewise,
27059         (setPreferredWidth): Likewise,
27060         (setMinWidth): Likewise,
27061         (setMaxWidth): Likewise,
27062         (createDefaultHeaderRenderer): Added API docs.
27063
27064 2006-03-14  Roman Kennke  <kennke@aicas.com>
27065
27066         * examples/gnu/classpath/examples/swing/Demo.java
27067         Removed static initializer.
27068         (mkMenuBar): Made method non-static. Added themes menu.
27069         (ChangeThemeAction): New inner class, used to change themes.
27070
27071 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27072
27073         * javax/swing/table/TableColumn.java
27074         (setMaxWidth): Updated width and preferredWidth if necessary,
27075         (getMaxWidth): Updated API docs.
27076
27077 2006-03-14  Roman Kennke  <kennke@aicas.com>
27078
27079         * javax/swing/plaf/basic/BasicSliderUI.java
27080         (TrackListener.mouseDragged): Only process event when slider is
27081         enabled.
27082         (TrackListener.mouseReleased): Only process event when slider is
27083         enabled.
27084         (TrackListener.mousePressed): Only process event when slider is
27085         enabled.
27086
27087 2006-03-14  Roman Kennke  <kennke@aicas.com>
27088
27089         * NEWS: Added note about OceanTheme support.
27090
27091 2006-03-14  Roman Kennke  <kennke@aicas.com>
27092
27093         * javax/swing/plaf/metal/MetalIconFactory.java
27094         (HorizontalSliderThumbIcon.gradientMask): New field
27095         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27096         OceanTheme.
27097         (VerticalSliderThumbIcon.gradientMask): New field
27098         (VerticalSliderThumbIcon.paintIcon): Added support for the
27099         OceanTheme.
27100         * javax/swing/plaf/metal/MetalUtils.java
27101         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27102         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27103
27104 2006-03-14  Mark Wielaard  <mark@klomp.org>
27105
27106         Fixes bug #26641
27107         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27108         of handleMouseEvent.
27109         (handleMouseEvent): Return boolean to indicate whether we handled the
27110         event by passing it to a lightweight.
27111
27112 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27113
27114         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27115         * org/omg/PortableServer/ServantActivatorPOA.java,
27116         * org/omg/PortableServer/ServantLocatorPOA.java: 
27117         Make class abstract and minor api docs fixlets.
27118         * org/omg/PortableServer/ForwardRequest.java, 
27119         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27120         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27121         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27122         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27123         * org/omg/PortableServer/POAPackage/NoServant.java, 
27124         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27125         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27126         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27127         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27128         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27129         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27130         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27131         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27132         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27133         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27134
27135 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27136
27137         * NEWS: Added entry about printing support.
27138
27139 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27140
27141         * javax/swing/table/TableColumn.java
27142         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27143         (isResizable): Likewise,
27144         (setWidth): Likewise,
27145         (getWidth): Likewise,
27146         (setPreferredWidth): Likewise,
27147         (getPreferredWidth): Likewise,
27148         (setMinWidth): Check for negative argument and update width and 
27149         preferredWidth if necessary,
27150         (getMinWidth): Updated API docs.
27151
27152 2006-03-14  Lillian Angel  <langel@redhat.com>
27153         
27154         * java/awt/Container.java
27155         (addImpl): Removed call to repaint. No need to repaint here.
27156
27157 2006-03-14  Roman Kennke  <kennke@aicas.com>
27158
27159         * javax/swing/plaf/metal/MetalSliderUI.java
27160         (paintTrack): Added OceanTheme support.
27161
27162 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27163
27164         * javax/swing/table/TableColumn.java
27165         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27166         (isResizable): Updated API docs.
27167
27168 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27169
27170         * javax/swing/LookAndFeel.java: Updated API docs.
27171
27172 2006-03-14  Roman Kennke  <kennke@aicas.com>
27173
27174         * javax/swing/plaf/metal/MetalUtils.java
27175         (paintGradient): Added support for 'masked' gradients.
27176         (paintHorizontalGradient): Likewise.
27177         (paintVerticalGradient): Likewise.
27178         * javax/swing/plaf/metal/MetalIconFactory.java
27179         (RadioButtonIcon.gradientMask): New field.
27180         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27181
27182 2006-03-14  Mark Wielaard  <mark@klomp.org>
27183
27184         Fixes bug #26645.
27185         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27186         New field.
27187         (removeActionListener): Add listener to ComboBoxEditorListener.
27188         (removeActionListener): Remove listener from ComboBoxEditorListener.
27189         (ComboBoxEditorListener): New static helper class.
27190
27191 2006-03-14  Roman Kennke  <kennke@aicas.com>
27192
27193         * javax/swing/plaf/metal/MetalBorders.java
27194         (getToolBarButtonBorder): Don't create a UIResource border
27195         here.
27196         * javax/swing/plaf/metal/MetalToolBarUI.java
27197         (installUI): New overridden method. Installs the rollover property.
27198         (uninstallUI): New overridden method. Resets the rollover property.
27199         * javax/swing/plaf/metal/MetalUtils.java
27200         (paintGradient): Fetch Float values from the UIManager. Adjusted
27201         method signatures accordingly.
27202         (paintHorizontalGradient): Adjusted signature to accept float
27203         instead of double.
27204         (paintVerticalGradient): Adjusted signature to accept float
27205         instead of double.
27206         * javax/swing/plaf/metal/OceanTheme.java
27207         (addCustomEntriesToTable): Added missing UIDefaults entries,
27208         except of Icons. Fixed gradient entries to use Float instead
27209         of Double.
27210
27211 2006-03-14  Roman Kennke  <kennke@aicas.com>
27212
27213         * javax/swing/JInternalFrame.java
27214         (JInternalFrame): Make JInternalFrame opaque.
27215         * javax/swing/JToolBarFrame.java
27216         (JToolBar): Make JToolBar opaque.
27217
27218 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27219
27220         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27221         * javax/swing/tree/TreePath.java: Likewise.
27222
27223 2006-03-13  Tom Tromey  <tromey@redhat.com>
27224
27225         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27226         Genericized.
27227         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27228         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27229
27230 2006-03-13  Keith Seitz  <keiths@redhat.com>
27231
27232         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27233         (executeMethods): Output number of methods.
27234
27235 2006-03-13  Roman Kennke  <kennke@aicas.com>
27236
27237         * javax/swing/plaf/basic/BasicButtonUI.java
27238         (uninstallDefaults): Only uninstall border if it's a UIResource.
27239         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27240         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27241         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27242         (installUI): Don't touch the opaque flag of the glassPane and
27243         the frame. Don't invalidate.
27244         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27245         (installUI): Don't touch the opaque flag of the glassPane.
27246         * javax/swing/plaf/basic/BasicMenuBarUI.java
27247         (properyChangeListener): Made field private.
27248         (ChangeHandler): Made class private.
27249         (ContainerHandler): Made class private.
27250         (PropertyChangeHandler): Made class private.
27251         * javax/swing/plaf/basic/BasicMenuUI.java
27252         (MenuHandler): Made class private.
27253         (PropertyChangeHandler): Removed unneeded class.
27254         (MenuDragMouseHandler): Made class private.
27255         (MenuKeyHandler): Made class private.
27256         * javax/swing/plaf/basic/BasicPanelUI.java
27257         (installDefaults): Made method protected. Don't set opaque
27258         flag.
27259         * javax/swing/plaf/basic/BasicScrollBarUI.java
27260         (TrackListener.shouldScroll): Made method private.
27261         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27262         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27263         Made constructor package private.
27264         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27265         (cellBorder): Made field private.
27266         * javax/swing/plaf/basic/BasicTextUI.java
27267         (installDefaults): Don't make component opaque.
27268         * javax/swing/plaf/basic/BasicToolBarUI.java
27269         (createNonRollOverBorder): Don't create UIResource border.
27270         (createRollOverBorder): Don't create UIResource border.
27271         (installComponents): Moved setRolloverBorders call here.
27272         (installDefaults): Moved setRolloverBorders call from here.
27273         (installUI): Don't make toolbar opaque.
27274         (setBorderToNonRollover): Handle AbstractButton instead of
27275         JButton here.
27276         (uninstallComponents): Don't nullify class fields here.
27277
27278 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27279
27280         * javax/swing/SwingUtilities.java
27281         (calculateInnerArea): handle null component, and replace 
27282         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27283         creation.
27284
27285 2006-03-13  Roman Kennke  <kennke@aicas.com>
27286
27287         * javax/swing/JColorChooser.java
27288         (updateUI): Don't call revalidate().
27289         * javax/swing/JComboBox.java
27290         (updateUI): Don't call invalidate().
27291         * javax/swing/JDesktopPane.java
27292         (updateUI): Don't call invalidate().
27293         * javax/swing/JFileChooser.java
27294         (updateUI): Don't call revalidate().
27295         * javax/swing/JMenu.java
27296         (updateUI): Don't call invalidate().
27297         * javax/swing/JMenuBar.java
27298         (updateUI): Don't call invalidate().
27299         * javax/swing/JMenuItem.java
27300         (updateUI): Don't call invalidate().
27301         * javax/swing/JOptionPane.java
27302         (updateUI): Don't call invalidate().
27303         * javax/swing/JPopupMenu.java
27304         (updateUI): Don't call invalidate().
27305         * javax/swing/JProgressBar.java
27306         (updateUI): Don't call invalidate().
27307         * javax/swing/JScrollBar.java
27308         (updateUI): Don't call invalidate() and repaint().
27309         * javax/swing/JScrollPane.java
27310         (updateUI): Rewritten to be like the other updateUI()
27311         methods.
27312         * javax/swing/JSlider.java
27313         (updateUI): Don't call invalidate() and repaint().
27314         * javax/swing/JSplitPane.java
27315         (updateUI): Don't call invalidate() and repaint().
27316         * javax/swing/JTabbedPane.java
27317         (updateUI): Don't call invalidate().
27318         * javax/swing/JTable.java
27319         (updateUI): Don't call revalidate() and repaint().
27320         * javax/swing/JToolBar.java
27321         (updateUI): Don't call revalidate() and repaint().
27322         * javax/swing/JToolTip.java
27323         (updateUI): Don't call revalidate() and repaint().
27324
27325 2006-03-13  Roman Kennke  <kennke@aicas.com>
27326
27327         * javax/swing/SwingUtilities.java
27328         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27329         menus and non-Swing components is improved.
27330         (updateComponentTreeUIImpl): New helper method.
27331         (replaceUIActionMap): Added check for uiActionMap==parent to
27332         avoid loop.
27333         (replaceUIInputMap): Added check for uiInputMap==parent to
27334         avoid loop.
27335
27336 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27337
27338         * gnu/classpath/debug/Component.java: 
27339         (IPP) New component for IPP debugging. 
27340         (EVERYTHING): Adapted to include IPP.
27341         * javax/print/PrintServiceLookup.java: 
27342         (registerServiceProvider): New method.
27343         (registerService): Likewise.
27344         (lookupPrintServices): Likewise.
27345         (lookupMultiDocPrintServices): Likewise.
27346         (lookupDefaultPrintService): Likewise.
27347         (static_initializer): Likewise.
27348         (printServiceLookups): New field for found service providers.
27349         (printServices): New field for application registered providers.
27350         (systemProvider): New field for the system provider.    
27351         * javax/print/ServiceUI.java: New file. 
27352         * javax/print/package.html: Added more usage content.
27353         * javax/print/event/package.html: Likewise.
27354         * javax/print/attribute/package.html: Likewise.
27355         * javax/print/attribute/standard/package.html: Likewise.
27356         * gnu/javax/print/PrintUriException.java,
27357         gnu/javax/print/PrintFlavorException.java,
27358         gnu/javax/print/PrinterDialog.java,
27359         gnu/javax/print/PrintAttributeException.java,
27360         gnu/javax/print/CupsPrintServiceLookup.java,
27361         gnu/javax/print/CupsServer.java,
27362         gnu/javax/print/CupsPrintService.java,
27363         gnu/javax/print/CupsMediaMapping.java,
27364         gnu/javax/print/CupsIppOperation.java:
27365         New implementation files of the Java Print Service API.
27366         * gnu/javax/print/ipp/IppValueTag.java,
27367         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27368         gnu/javax/print/ipp/IppStatusCode.java,
27369         gnu/javax/print/ipp/IppUtilities.java,
27370         gnu/javax/print/ipp/IppResponse.java,
27371         gnu/javax/print/ipp/IppException.java,
27372         gnu/javax/print/ipp/IppPrintService.java,
27373         gnu/javax/print/ipp/IppRequest.java,
27374         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27375         gnu/javax/print/ipp/IppDelimiterTag.java,
27376         gnu/javax/print/ipp/DocPrintJobImpl.java:
27377         New files of the IPP client implementation.
27378         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27379         gnu/javax/print/ipp/attribute/StatusMessage.java,
27380         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27381         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27382         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27383         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27384         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27385         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27386         New attribute syntax/role files of the printing implementation.
27387         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27388         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27389         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27390         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27391         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27392         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27393         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27394         gnu/javax/print/ipp/attribute/supported/
27395         OrientationRequestedSupported.java, 
27396         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27397         gnu/javax/print/ipp/attribute/supported/
27398         MultipleDocumentHandlingSupported.java, 
27399         gnu/javax/print/ipp/attribute/supported/
27400         MultipleDocumentJobsSupported.java, 
27401         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27402         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27403         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27404         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27405         gnu/javax/print/ipp/attribute/supported/
27406         GeneratedNaturalLanguageSupported.java,
27407         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27408         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27409         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27410         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27411         New supported attribute files.
27412         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27413         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27414         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27415         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27416         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27417         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27418         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27419         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27420         New printer description attribute files.
27421         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27422         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27423         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27424         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27425         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27426         gnu/javax/print/ipp/attribute/job/JobId.java,
27427         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27428         gnu/javax/print/ipp/attribute/job/JobUri.java,
27429         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27430         New job description attribute files.
27431         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27432         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27433         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27434         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27435         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27436         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27437         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27438         gnu/javax/print/ipp/attribute/defaults/
27439         MultipleDocumentHandlingDefault.java,
27440         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27441         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27442         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27443         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27444         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27445         New default printing attribute files.
27446         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27447         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27448         * examples/gnu/classpath/examples/print/Demo.java: 
27449         New demo application of the current implemented functionality.
27450
27451 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27452
27453         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27454         java/rmi/activation/ActivationDesc.java.java,
27455         java/rmi/activation/ActivationGroup.java,
27456         java/rmi/activation/ActivationID.java,
27457         java/rmi/activation/ActivationMonitor.java,
27458         java/rmi/activation/ActivationSystem.java,
27459         java/rmi/activation/package.html: Documenting.
27460
27461 2006-03-13  Roman Kennke  <kennke@aicas.com>
27462
27463         * javax/swing/JInternalFrame.java
27464         (setSelected): Repaint frame when it is showing and the selection
27465         state changes.
27466
27467 2006-03-13  Roman Kennke  <kennke@aicas.com>
27468
27469         * javax/swing/AbstractButton.java
27470         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27471         instead of null.
27472
27473 2006-03-13  Roman Kennke  <kennke@aicas.com>
27474
27475         * javax/accessibility/AccessibleContext.java
27476         (getAccessibleRelationSet): Return empty set instead of null.
27477
27478 2006-03-13  Roman Kennke  <kennke@aicas.com>
27479
27480         * javax/swing/ImageIcon.java
27481         (loadImage): Remove completed images from the MediaTracker. This
27482         avoids a potential memory leak.
27483
27484 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27485
27486         * javax/print/MultiDocPrintService.java, 
27487         * javax/print/MultiDocPrintJob.java, 
27488         * javax/print/MultiDoc.java: Added and enhanced documentation.
27489
27490 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27491
27492         * java/rmi/activation/ActivationID.java (uid): New field.
27493         (writeExternal, readExternal): New methods. 
27494         (equals, hashCode): Rewritten.
27495         * java/rmi/activation/ActivationInstantiator.java,
27496         * java/rmi/activation/ActivationSystem.java,
27497         * java/rmi/activation/Activator.java,
27498         * java/rmi/activation/Activatable.java,
27499         * java/rmi/activation/ActivationGroup.java,
27500         * java/rmi/activation/ActivationGroupDesc.java: 
27501         Documented and autoformatted.
27502         * java/rmi/activation/package.html: Added content.
27503         
27504 2006-03-12  Chris Burdess  <dog@gnu.org>
27505
27506         Fixes PR 26652
27507         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27508           encoding are specified.
27509
27510 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27511
27512         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27513         (changeEvent): Initialise in fireStateChange(),
27514         (setSelectedIndex): Check if change is made before firing event,
27515         (clearSelection): Delegate to setSelectedIndex(),
27516         (fireStateChanged): Initialise changeEvent if necessary,
27517         * javax/swing/SingleSelectionModel.java: API docs all over.
27518
27519 2006-03-11  Tom Tromey  <tromey@redhat.com>
27520
27521         * java/util/zip/InflaterInputStream.java: Reverted previous
27522         patch.
27523
27524 2006-03-11  Mark Wielaard  <mark@klomp.org>
27525
27526         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27527         Compare name.
27528
27529 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27530
27531         * javax/swing/event/TreeSelectionEvent.java
27532         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27533         not one of the added/removed paths,
27534         (cloneWithSource): Reformatted.
27535
27536 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27537
27538         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27539         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27540
27541 2006-03-10  Casey Marshall  <csm@gnu.org>
27542
27543         Fixes PR 23768.
27544         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27545         reset `state.'
27546         (doFinal, update): new methods.
27547         (init, init, init, init): initialize `state' after trying the
27548         implementation, which can throw an exception.
27549         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27550         methods.
27551
27552 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27553
27554         * gnu/regexp/BacktrackStack.java: New file.
27555         * gnu/regexp/RE.java(findMatch): New method.
27556         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27557         REMatchList): Removed. (backtrackStack): New field.
27558         * gnu/regexp/REToken.java(match): Changed from an abstract
27559         method to an ordinary method defined with the new method
27560         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27561         findFixedLengthMatches, backtrack, toString): New methods.
27562         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27563         * gnu/regexp/RETokenBackRef.java: Likewise.
27564         * gnu/regexp/RETokenChar.java: Likewise.
27565         * gnu/regexp/RETokenEnd.java: Likewise.
27566         * gnu/regexp/RETokenEndSub.java: Likewise.
27567         * gnu/regexp/RETokenIndependent.java: Likewise.
27568         * gnu/regexp/RETokenLookAhead.java: Likewise.
27569         * gnu/regexp/RETokenLookBehind.java: Likewise.
27570         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27571         * gnu/regexp/RETokenPOSIX.java: Likewise.
27572         * gnu/regexp/RETokenRange.java: Likewise.
27573         * gnu/regexp/RETokenStart.java: Likewise.
27574         * gnu/regexp/RETokenWordBoundary.java: Likewise
27575         * gnu/regexp/RETokenOneOf.java: Rewriten.
27576         * gnu/regexp/RETokenRepeated.java: Rewriten.
27577
27578 2006-03-10  Roman Kennke  <kennke@aicas.com>
27579
27580         * javax/swing/plaf/metal/MetalBorders.java
27581         (RolloverButtonBorder.paintBorder): Only call super here.
27582         * javax/swing/plaf/metal/MetalButtonListener.java
27583         (propertyChange): Only call super here.
27584         * javax/swing/plaf/metal/MetalButtonUI.java
27585         (update): Changed condition from isOpaque() to isContentAreaFilled()
27586         for the gradient fill.
27587         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27588         (paintText): API doc fix. Makes paintText not deprecated as specified
27589         but adds comment that this is obsolete.
27590         * javax/swing/plaf/metal/MetalUtils.java
27591         (fillMetalPattern): Fixed condition so that the Java2D is not
27592         used when the noGraphics2D property is set.
27593
27594 2006-03-10  Roman Kennke  <kennke@aicas.com>
27595
27596         * javax/swing/plaf/metal/MetalLookAndFeel.java
27597         (createDefaultTheme): Set OceanTheme as default metal theme.
27598
27599 2006-03-10  Roman Kennke  <kennke@aicas.com>
27600
27601         * javax/swing/text/WrappedPlainView.java
27602         (metrics): Made field package private to avoid accessor method.
27603         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27604         The drawLine (righly) interprets the y parameter as the baseline.
27605         * javax/swing/text/Utilities.java
27606         (getBreakLocation): Don't consider the offset. The returned value
27607         for getTabbedTextOffset is already relative to the offset.
27608
27609 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27610
27611         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27612         (dateFormat): Made private.
27613         (put): Replace only the last occurance and the value.
27614         (putAll): Save one iteration. Clarified documentation.
27615
27616 2006-03-10  Tom Tromey  <tromey@redhat.com>
27617
27618         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27619         implementation.
27620         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27621         not '8'.
27622
27623 2006-03-10  Lillian Angel  <langel@redhat.com>
27624
27625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27626         (comboboxgroup_get_widget): New function.
27627         (removed): Fixed to use new function to get the correct widget.
27628         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27629         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27630         function.
27631
27632 2006-03-10  Lillian Angel  <langel@redhat.com>
27633
27634         * java/awt/GridBagLayout.java
27635         (ArrangeGrid): Added checks to determine if component
27636         is placed last in a row or column. If so, the location
27637         of the last component should be used to get the location
27638         of the current component.
27639
27640 2006-03-10  Lillian Angel  <langel@redhat.com>
27641
27642         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27643         (nativeSetCheckboxGroup): No need to use new function here.
27644         Should just pass in pointer.
27645
27646 2006-03-10  Lillian Angel  <langel@redhat.com>
27647
27648         * java/awt/GridBagLayout.java
27649         (distributeSizeAndWeight): Change else if to else. This
27650         allows for components to be added to a new row when 
27651         their gridheight is REMAINDER.
27652
27653 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27654
27655         * java/rmi/activation/ActivationDesc.java,
27656         java/rmi/activation/ActivationGroupID.java,
27657         java/rmi/activation/Activator.java,
27658         java/rmi/server/Operation.java,
27659         java/rmi/server/RemoteServer.java: Documented and formatted.
27660
27661 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27662
27663         * javax/swing/JToggleButton.java: Fixed API doc tags,
27664         * javax/swing/OverlayLayout.java: Likewise.
27665
27666 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27667
27668         * javax/swing/DefaultCellEditor.java
27669         (cancelCellEditing): Removed spurious API doc tag.
27670
27671 2006-03-10  Lillian Angel  <langel@redhat.com>
27672
27673         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27674         (create): Put checkbox widget into an event box so it paints properly.
27675         (connectSignals): Fixed to use new function.
27676         (nativeSetCheckboxGroup): Likewise.
27677         (gtkToggleButtonSetActive): Likewise.
27678         (gtkWidgetModifyFont): Likewise.
27679         (gtkButtonSetLabel): Likewise.
27680         (combobox_get_widget): New function.
27681
27682 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27683
27684         * javax/swing/text/rtf/package.html: New file.
27685         
27686 2006-03-10  Roman Kennke  <kennke@aicas.com>
27687
27688         * javax/swing/plaf/metal/OceanTheme.java
27689         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27690         * javax/swing/plaf/metal/MetalScrollBarUI.java
27691         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27692         (paintThumbHorizontal): Added handling of OceanTheme.
27693         (paintThumbVertical): Added handling of OceanTheme.
27694
27695 2006-03-10  Roman Kennke  <kennke@aicas.com>
27696
27697         Reported by Fridjof Siebert <siebert@aicas.com>
27698         * java/awt/MediaTracker.java
27699         (removeImage): Only set prev to e when the the images of the
27700         entries are not the same. This avoids a potentially corrupt list.
27701
27702 2006-03-10  Chris Burdess  <dog@gnu.org>
27703
27704         PR 26620:
27705         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27706           checking while reindenting.
27707
27708 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27709
27710         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27711
27712 2006-03-09  Tom Tromey  <tromey@redhat.com>
27713
27714         PR classpath/26585:
27715         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27716         subdir.  Added README.
27717         (install-data-local): Removed.
27718         (uninstall-local): Likewise.
27719         (EXTRA_DIST): Removed.
27720
27721 2006-03-09  Tom Tromey  <tromey@redhat.com>
27722
27723         PR classpath/26623:
27724         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27725         Renamed.
27726         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27727         Renamed.
27728         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27729         Renamed.
27730         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27731         Renamed.
27732         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27733         Renamed.
27734         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27735         Renamed.
27736         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27737         Renamed.
27738         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27739         Renamed.
27740         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27741         Renamed.
27742         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27743         Renamed.
27744         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27745         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27746
27747 2006-03-09  Keith Seitz  <keiths@redhat.com>
27748
27749         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27750         (executeVariableTable): Use VMMethod instead of reflection.
27751         (executeLineTable): Likewise.
27752         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27753         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27754         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27755         (getLineTable): Removed. Now resides in VMMethod.
27756         (getVarTable): Likewise.
27757         (getAllClassMethods): New method.
27758         
27759 2006-03-09  Keith Seitz  <keiths@redhat.com>
27760
27761         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27762         * gnu/classpath/jdwp/event/ThreadStartEvent.java
27763         (ThreadStartEvent): Likewise.
27764         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27765         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27766         (ConditionalFilter): Likewise.
27767         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27768         (ExceptionOnlyFilter): Likewise.
27769         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27770         (FieldOnlyFilter): Likewise.
27771         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27772         (getSize): Likewise.
27773         (StepFilter): Likewise.
27774         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27775         * gnu/classpath/jdwp/transport/JdwpPacket.java
27776         (JdwpPacket): Likewise.
27777         (fromBytes): Likewise.
27778         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27779         (JdwpReplyPacket): Likewise.
27780         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27781         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27782         (getReferenceType): Likewise.
27783         (newObjectId): Likewise.
27784         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27785         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27786         (getFrames): Fix typo in parameter name and update javadoc.
27787         (getClassMethod): Update javadoc.
27788
27789 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
27790
27791         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27792         * javax/swing/event/TreeSelectionListener.java: Likewise.
27793
27794 2006-03-09  Lillian Angel  <langel@redhat.com>
27795
27796         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27797         (getHScrollbarHeight): Fixed property name.
27798         (getVScrollbarHeight): Likewise.
27799
27800 2006-03-09  Lillian Angel  <langel@redhat.com>
27801
27802         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27803         (get_widget): New function.
27804         (gtkWidgetSetParent): Changed to use new function.
27805         (gtkWidgetSetCursorUnlocked): Likewise.
27806         (gtkWidgetSetSensitive): Likewise.
27807         (gtkWidgetRequestFocus): Likewise.
27808         (gtkWindowGetLocationOnScreen): Likewise.
27809         (gtkWidgetGetDimensions): Likewise.
27810         (gtkWidgetGetPreferredDimensions): Likewise.
27811         (setNativeBounds): Likewise.
27812         (gtkWidgetGetBackground): Likewise.
27813         (gtkWidgetGetForeground): Likewise.
27814         (gtkWidgetSetBackground): Likewise.
27815         (gtkWidgetSetForeground): Likewise.
27816         (setVisibleNativeUnlocked): Likewise.
27817         (isEnabled): Likewise.
27818         (isRealized): Likewise.
27819         (setNativeEventMask): Likewise.
27820
27821 2006-03-09  Lillian Angel  <langel@redhat.com>
27822
27823         PR Classpath\22163
27824         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
27825         (create): Added combobox widget to an event box.
27826         (connectSignals): Added call to choice_get_widget to get the
27827         combobox out of the event box.
27828         (append): Likewise.
27829         (nativeRemoveAll): Likewise.
27830         (nativeRemove): Likwise.
27831         (nativeAdd): Likewise.
27832         (selectNative): Likewise.
27833         (choice_get_widget): New function.
27834         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
27835         (create): Added list scroll window widget to an event box.
27836         (connectSignals): Changed call to use new function to get the
27837         correct widget out of the event box.
27838         (getWidgetModifyFont): Likewise.
27839         (getWidgetRequestFocus): Likewise.
27840         (append): Likewise.
27841         (add): Likewise.
27842         (delItems): Likewise.
27843         (select): Likewise.
27844         (deselect): Likewise.
27845         (getSize): Likewise.
27846         (getSelectedIndexes): Likewise.
27847         (makeVisible): Likewise.
27848         (setMultipleMode): Likewise.
27849         (list_get_widget): New function.
27850         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27851         (create): Added scrollpane to an eventbox.
27852         (setScrollPosition): Changed call to use new function to get the
27853         correct widget out of the event box.
27854         (gtkScrolledWindowSetHScrollIncrement): Likewise.
27855         (gtkScrolledWindowSetVScrollIncrement): Likewise.
27856         (getHScrollbarHeight): Likewise.
27857         (getVScrollbarWidth): Likewise.
27858         (setPolicy): Likewise.
27859         (scrollpane_get_widget): New function.
27860         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
27861         (connectSignals): Changed call to use new function to get the
27862         correct widget out of the event box.
27863         (create): Added scrollbar to an eventbox.
27864         (setLineIncrement): Changed call to use new function to get the
27865         correct widget out of the event box.
27866         (setPageIncrement): Likewise.
27867         (setBarValues): Likewise.
27868         (scrollbar_get_widget): New function.
27869         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
27870         (create): Added text area scroll window widget to an event box.
27871         (connectSignals): Changed call to use new function to get the
27872         correct widget out of the event box.
27873         (insert): Likewise.
27874         (replaceRange): Likewise.
27875         (gtkWidgetModifyFont): Likewise.
27876         (gtkWidgetRequestFocus): Likewise.
27877         (getHScrollbarHeight): Likewise.
27878         (getVScrollbarWidth): Likewise.
27879         (getCaretPosition): Likewise.
27880         (setCaretPosition):Likewise.
27881         (getSelectionStart): Likewise.
27882         (getSelectionEnd): Likewise.
27883         (select): Likewise.
27884         (setEditable): Likewise.
27885         (getText): Likewise.
27886         (setText): Likewise.
27887         (textarea_get_widget): New function.
27888
27889 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27890
27891         * java/rmi/dgc/VMID.java: 
27892         (equals, hashCode, static initializer): Rewritten.
27893         * java/rmi/dgc/package.html: Documented.
27894         
27895 2006-03-09  Mark Wielaard  <mark@klomp.org>
27896
27897         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
27898         New static field.
27899         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
27900         (canCache): Likewise.
27901         (GtkClipboard): Take String argument.
27902         (getInstance): Removed.
27903         (getClipboardInstance, getSelectionInstance): New static methods.
27904         (setSystemContents): Make synchronized. Takes boolean argument.
27905         (initNativeState): Add clipboard and selection.
27906         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
27907         (announceClipboardChange, announcePrimaryChange): New static field.
27908         (announce): Take GtkClipboard as argument.
27909         (run): Check which clipboard to announce change for.
27910         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
27911         boolean field.
27912         (GtkSelection): Take GtkClipboard as argument.
27913         (requestText, requestImage, requestURIs, requestBytes): Add boolean
27914         clipboard argument.
27915         (requestMimeTypes): Likewise.
27916         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
27917         New method.
27918         * java/awt/Toolkit.java (getSystemSelection): Document.
27919         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
27920         (cp_gtk_selection_instance): New var.
27921         (current_selection, owner): Removed.
27922         (clipboard_owner_change_cb): Use clipboard argument.
27923         (initNativeState): Store clipboard and selection instances. Cache
27924         setSystemContentsID, provideContentID, provideTextID, provideImageID,
27925         and provideURIsID.
27926         (clipboard_get_func): Use clipboard argument.
27927         (clipboard_clear_func): Likewise. Always call method.
27928         (advertiseContent): Don't cache method ids here. Check whether to
27929         use clpboard or selection. Don't set owner or current_selection.
27930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
27931         (requestText, requestImage, requestURIs, requestBytes): Use extra
27932         boolean argument to select clipboard.
27933         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
27934         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
27935         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
27936         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
27937
27938 2006-03-09  Keith Seitz  <keiths@redhat.com>
27939
27940         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
27941         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
27942         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
27943         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
27944         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
27945         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
27946         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
27947         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
27948         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
27949
27950 2006-03-09  Mark Wielaard  <mark@klomp.org>
27951
27952         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
27953         bounds for index is valid.
27954         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
27955         (paint): Likewise.
27956         (getCellBounds): Update documentation.
27957
27958 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
27959
27960         * .classpath: added exclude pattern on source folders
27961         (Makefiles, README and .cvsignore)
27962
27963 2006-03-08  Michael Koch  <konqueror@gmx.de>
27964
27965         * java/net/Proxy.java (NO_PROXY): Made final.
27966         (equals): Likewise.
27967         (hashCode): Likewise.
27968
27969 2006-03-08  Keith Seitz  <keiths@redhat.com>
27970
27971         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
27972         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27973         (getClassMethod): New method.
27974
27975 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27976
27977         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
27978     
27979 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27980
27981         * java/rmi/server/ObjID.java: Documented and autoformatted.
27982
27983 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27984
27985         PR 26584
27986         * tools/Makefile.am (install-data-local,
27987         uninstall-local): Install/uninstall the tools/README only.
27988         * tools/gnu/classpath/tools/giop/README: Updated.
27989         * tools/README: New file.
27990
27991 2006-03-08  Lillian Angel  <langel@redhat.com>
27992
27993         * java/awt/GridBagLayout.java
27994         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
27995         then the next item should be set to current_y (not 0).
27996
27997 2006-03-08  Lillian Angel  <langel@redhat.com>
27998
27999         * java/awt/GridBagLayout.java
28000         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28001         in the bottom-most spot of the column, we need to place that component
28002         at the y-location of the other components in that row. If there are
28003         no other components in that row, then place it at y = 0.
28004
28005 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28006
28007         * javax/swing/ProgressMonitor.java: Updated API docs,
28008         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28009
28010 2006-03-08  Michael Koch  <konqueror@gmx.de>
28011
28012         * java/net/InetSocketAddress.java
28013         (InetSocketAddress(String,int,resolve)): New private contructor.
28014         (InetSocketAddress(String,int)): Use new private constructor.
28015         (createUnresolved): New method.
28016
28017 2006-03-07  Michael Koch  <konqueror@gmx.de>
28018
28019         * gnu/java/net/DefaultProxySelector.java,
28020         java/net/Proxy.java, java/net/ProxySelector.java:
28021         New files.
28022
28023 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28024
28025         * java/rmi/server/UID.java (constructor): Assign last and time fields
28026         after pause.
28027
28028 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28029
28030         * java/rmi/server/UID.java: New file (replacing). 
28031
28032 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28033
28034         * java/util/jar/Manifest.java: Removed unused imports.
28035         (CRLF): New constant.
28036         (read): Added method documentation.
28037         Use UTF-8 encoding instead of 8859_1.
28038         (write): Added method documentation.
28039         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28040         (write_main_section): Replace PrintWriter arg with OutputStream.
28041         Replace JarException with IOException.
28042         (write_version_info): Likewise.
28043         (write_main_attributes): Likewise.
28044         (write_attribute_entry): Likewise.
28045         (write_individual_sections): Likewise.
28046         (write_entry_attributes): Likewise.
28047         (write_header): Replace PrintWriter arg with OutputStream.
28048         Re-implemented.
28049
28050 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28051
28052         * javax/swing/tree/DefaultMutableTreeNode.java
28053         (getFirstChild): Updated API docs,
28054         (getLastChild): Likewise,
28055         (getChildAfter): Likewise,
28056         (getChildBefore): Likewise,
28057         (isNodeSibling): Return true if node == this,
28058         (getSiblingCount): Updated API docs,
28059         (getNextSibling): Likewise,
28060         (getPreviousSibling): Likewise,
28061         (isLeaf): Likewise,
28062         (getFirstLeaf): Likewise,
28063         (getLastLeaf): Likewise,
28064         (getNextLeaf): Implemented,
28065         (getPreviousLeaf): Implemented.
28066
28067 2006-03-07  Tom Tromey  <tromey@redhat.com>
28068
28069         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28070         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28071         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28072         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28073         field.
28074
28075 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28076
28077         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28078         (clone): Reimplemented,
28079         (add): Throw IllegalArgumentException if child is an ancestor,
28080         (remove(int)): Set child's parent to null,
28081         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28082         null,
28083         (insert): Check allowsChildren flag, check for null argument, and
28084         check for a node that is an ancestor,
28085         (getIndex): Throw IllegalArgumentException for null argument,
28086         (setAllowsChildren): If setting to false, remove existing children,
28087         (removeAllChildren): Set parent to null for removed children.
28088
28089 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28090
28091         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28092         over.
28093
28094 2006-03-06  Tom Tromey  <tromey@redhat.com>
28095
28096         * java/lang/StrictMath.java (ulp): New methods.
28097         * java/lang/Math.java (ulp): New methods.
28098
28099 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28100
28101         * gnu/java/rmi/server/UnicastRef.java,
28102         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28103         
28104 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28105
28106         * gnu/java/rmi/server/CombinedClassLoader.java 
28107         (findClass, findLibrary, findResouce, findResources): check
28108         all loaders in array.
28109         
28110 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28111
28112         PR 25526
28113         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28114         (RefProtector):    new inner class. (dirty): Rewritten.
28115         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28116         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28117         new methods. (readExternal): Create LeaseRenewingTask if non local.
28118         * gnu/java/rmi/server/UnicastServer.java (objects):
28119         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28120         (getExported): New method.
28121         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28122         
28123 2006-03-06  Mark Wielaard  <mark@klomp.org>
28124
28125         * doc/www.gnu.org/announce/20060306.wml: New file.
28126         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28127         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28128         
28129 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28130
28131         * javax/swing/plaf/metal/MetalLookAndFeel.java
28132         (initComponentDefaults): Use Boolean.TRUE for
28133         'CheckBoxMenuItem.borderPainted'.
28134         
28135 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28136
28137         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28138         (dateFormat): Made private.
28139         (put): Replace only the last occurance and the value.
28140         (putAll): Reimplemented with the put method.
28141         
28142 2006-03-06  Lillian Angel  <langel@redhat.com>
28143
28144         PR classpath/26569
28145         * java/awt/List.java
28146         (preferredSize): Return the size of the list if the peer is 
28147         null.
28148         * gnu/java/awt/peer/gtk/GtkListPeer.java
28149         (preferredSize): Code was returning the minimum size of the 
28150         list. Added adjustment to the width of the list so it is a 
28151         proper size.
28152         
28153 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28154
28155         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28156         (getRequestProperty): Remove duplicated null check.
28157         * java/net/URLConnection.java:
28158         (URLConnection): Javadoc fix.
28159         (addRequestProperty): Likewise.
28160         (getDefaultRequestProperty): Likewise.
28161         (getHeaderField): Likewise.
28162         (getHeaderFieldDate): Likewise.
28163         (getHeaderFieldKey): Likewise.
28164         (getHeaderFields): Likewise.
28165         (getRequestProperties): Likewise.
28166         (getRequestProperty): Likewise.
28167         (setDefaultRequestProperty): Likewise.
28168         (setRequestProperty): Likewise.
28169         
28170 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28171       
28172         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28173         * examples/gnu/classpath/examples/swing/Demo.java:
28174         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28175         textarea example.
28176         (mkMenuBar): Added entry for text area example.
28177         
28178 2006-03-06  Tom Tromey  <tromey@redhat.com>
28179
28180         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28181         (FORMATTED_TEXT_FIELD): Likewise.
28182         
28183 2006-03-06  Tom Tromey  <tromey@redhat.com>
28184
28185         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28186         
28187 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28188
28189         * examples/gnu/classpath/examples/swing/Demo.java:
28190         (mkMenuBar): Added menu entry that will display the VM's name,
28191         version and distributor.
28192         
28193 2006-03-06  Tom Tromey  <tromey@redhat.com>
28194          
28195         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28196         Javadoc fix.
28197         (getName): Likewise.
28198         
28199 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28200
28201         * java/util/jar/Manifest.java: Removed unused imports.
28202         (CRLF): New constant.
28203         (read): Added method documentation.
28204         Use UTF-8 encoding instead of 8859_1.
28205         (write): Added method documentation.
28206         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28207         (write_main_section): Replace PrintWriter arg with OutputStream.
28208         Replace JarException with IOException.
28209         (write_version_info): Likewise.
28210         (write_main_attributes): Likewise.
28211         (write_attribute_entry): Likewise.
28212         (write_individual_sections): Likewise.
28213         (write_entry_attributes): Likewise.
28214         (write_header): Replace PrintWriter arg with OutputStream.
28215         Re-implemented.
28216         
28217 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28218
28219         
28220         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28221         API doc tag warnings,
28222         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28223         
28224 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28225
28226         * gnu/java/net/protocol/file/Connection.java (unquote):
28227         Update position in buffer after decoding a unicode character
28228         outside of the basic plane.
28229         
28230 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28231
28232         * java/net/URI.java
28233         (quote): Pass Unicode characters outside the basic plane through.
28234         
28235 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28236        
28237         * javax/swing/plaf/basic/BasicTextUI.java:
28238         (damageRange): Rewritten if-expressions to correctly identify the
28239         break condition.
28240
28241 2006-03-06  Mark Wielaard  <mark@klomp.org>
28242
28243         * configure.ac: Set version to 0.90-generics.
28244         * NEWS: Fix typos.
28245
28246 2006-03-06  Mark Wielaard  <mark@klomp.org>
28247
28248         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28249         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28250         (isnan): Define explicitly isnan if it is not a macro.
28251
28252 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28253
28254         * javax/swing/text/GapContent.java:
28255         (insertString): Throw exception when argument is below
28256         zero.
28257
28258 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28259
28260         * javax/swing/text/PlainDocument.java:
28261         (insertUpdate): Extended if-expression, added
28262         code to generate another Element when newly inserted characters
28263         and old ones will be on the same line.
28264
28265 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28266
28267         * javax/swing/text/DefaultCaret.java:
28268         (mouseDragged): Do selection when shift is pressed.
28269         (mouseClicked): Implemented.
28270
28271 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28272
28273         * javax/swing/text/PlainDocument.java: Fix copyright header,
28274         added author tags.
28275         (insertUpdate): Do not copy the whole document any more, added some
28276         more variables to prevent needless method calls.
28277
28278 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28279
28280         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28281         is required on Darwin.
28282         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28283         (AM_CFLAGS): Likewise.
28284
28285 2006-03-06  Mark Wielaard  <mark@klomp.org>
28286
28287         * NEWS: Add updates for 0.90 release.
28288
28289 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28290
28291         * javax/swing/text/GapContent.java:
28292         (insertString): Throw exception when argument is below
28293         zero.
28294
28295 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28296
28297         
28298         * javax/swing/filechooser/FileFilter.java:
28299         (accept): Fixed API doc tag,
28300        (getDescription): Likewise,
28301         * javax/swing/filechooser/FileView.java:       
28302         (isTraversable): Fixed API doc tag.
28303
28304 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28305
28306         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28307         added API docs all over.
28308
28309 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28310
28311         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28312         and corrected a bad API doc tag.
28313
28314 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28315
28316         * javax/swing/undo/StateEditable.java
28317         (restoreState): Fixed bad API doc tag,
28318         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28319         AbstractUndoableEdit.java,
28320         * javax/swing/undo/UndoableEditSupport.java
28321         (createCompoundEdit): Fixed bad API doc tag,
28322         * javax/swing/undo/UndoManager.java
28323         (editToBeUndone): Fixed bad API doc tag,
28324         (editToBeRedone): Likewise.
28325
28326 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28327
28328         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28329         * javax/swing/FocusManager.java: Likewise.
28330
28331
28332 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28333
28334         
28335         * javax/swing/plaf/metal/MetalComboBoxButton.java
28336         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28337         JList)): Fixed API doc tag,
28338         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28339         (createLayout): Fixed API doc warning.
28340         
28341 2006-03-05  Tom Tromey  <tromey@redhat.com>
28342
28343         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28344         ClassHelper.getUserName.
28345         * vm/reference/java/lang/reflect/Method.java (toString): Use
28346         ClassHelper.getUserName.
28347         (getUserTypeName): Removed.
28348         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28349         * vm/reference/java/lang/reflect/Field.java (toString): Use
28350         ClassHelper.getUserName.
28351
28352 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28353
28354         Fixes PR 22813
28355         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28356         Allows directories as valid resources.
28357
28358 2006-03-05  Mark Wielaard  <mark@klomp.org>
28359
28360         * configure.ac (VERSION): Set to 0.90-pre-generics.
28361         * Merge with CVS trunk from classpath-0_90-branch-point.
28362
28363 2006-03-04  Tom Tromey  <tromey@redhat.com>
28364
28365         * javax/swing/SpringLayout.java (Constraints): New constructor.
28366         * javax/swing/Spring.java (width): New method.
28367         (height): Likewise.
28368         (scale): Likewise.
28369
28370 2006-03-04  Mark Wielaard  <mark@klomp.org>
28371
28372         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28373         existing connection from pool before returning.
28374
28375 2006-03-04  Mark Wielaard  <mark@klomp.org>
28376
28377         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28378         exceptions thrown by handlers while cleaning up and rethrow original
28379         exception.
28380
28381 2006-03-04  Tom Tromey  <tromey@redhat.com>
28382
28383         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28384         method.
28385         (findConstructor): Likewise.
28386         (instantiateClass): Likewise.
28387
28388 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28389
28390         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28391         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28392         lease value and not always the default one.
28393         (LeaseRecord): Remember the array of objects, marked as dirty.
28394         java/rmi/dgc/Lease.java: Boilerplate fix.
28395
28396 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28397
28398         * java/util/jar/Attributes.java (putValue): Made it public and updated
28399         method documentation.
28400
28401 2006-03-04  Mark Wielaard  <mark@klomp.org>
28402
28403         * java/awt/Container.java (remove(int)): Always call removeNotify()
28404         on removed Component.
28405
28406 2006-03-04  Mark Wielaard  <mark@klomp.org>
28407
28408         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28409         * javax/swing/JEditorPane.java (setText): Check for empty String
28410         with equals(), not equality (==).
28411
28412 2006-03-04  Mark Wielaard  <mark@klomp.org>
28413
28414         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28415         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28416
28417 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28418
28419         * javax/swing/text/GapContent.java
28420         (getArray): Mark as final.
28421
28422 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28423
28424         * javax/swing/text/StyleConstants.java
28425         (CharacterConstants.Background): Marked final,
28426         (CharacterConstants.BidiLevel): Likewise,
28427         (CharacterConstants.Bold): Likewise,
28428         (CharacterConstants.ComponentAttribute): Likewise,
28429         (CharacterConstants.Family): Likewise,
28430         (CharacterConstants.Size): Likewise,
28431         (CharacterConstants.Foreground): Likewise,
28432         (CharacterConstants.IconAttribute): Likewise,
28433         (CharacterConstants.Italic): Likewise,
28434         (CharacterConstants.StrikeThrough): Likewise,
28435         (CharacterConstants.Subscript): Likewise,
28436         (CharacterConstants.Superscript): Likewise,
28437         (CharacterConstants.Underline): Likewise,
28438         (ColorConstants.Foreground): Likewise,
28439         (ColorConstants.Background): Likewise,
28440         (FontConstants.Bold): Likewise,
28441         (FontConstants.Family): Likewise,
28442         (FontConstants.Italic): Likewise,
28443         (FontConstants.Size): Likewise,
28444         (ParagraphConstants.Alignment): Likewise,
28445         (ParagraphConstants.FirstLineIndent): Likewise,
28446         (ParagraphConstants.LeftIndent): Likewise,
28447         (ParagraphConstants.LineSpacing): Likewise,
28448         (ParagraphConstants.Orientation): Likewise,
28449         (ParagraphConstants.RightIndent): Likewise,
28450         (ParagraphConstants.SpaceAbove): Likewise,
28451         (ParagraphConstants.SpaceBelow): Likewise,
28452         (ParagraphConstants.TabSet): Likewise.  
28453
28454 2006-03-03  Tom Tromey  <tromey@redhat.com>
28455
28456         * javax/net/ssl/SSLException.java: Added missing @since.
28457         Wrote javadoc.
28458
28459 2006-03-03  Tom Tromey  <tromey@redhat.com>
28460
28461         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28462         (serialVersionUID): New field.
28463
28464 2006-03-03  Tom Tromey  <tromey@redhat.com>
28465
28466         * java/security/spec/InvalidKeySpecException.java
28467         (InvalidKeySpecException): New constructors.
28468         * java/security/cert/CertificateParsingException.java
28469         (CertificateParsingException): New constructors.
28470         * java/security/cert/CertificateEncodingException.java
28471         (CertificateEncodingException): New constructors.
28472         * java/security/cert/CertificateException.java (CertificateException):
28473         New constructors.
28474         * java/security/cert/CRLException.java (CRLException): New
28475         constructors.
28476
28477 2006-03-03  Tom Tromey  <tromey@redhat.com>
28478
28479         * java/security/SignatureException.java (SignatureException): New
28480         constructors.
28481         * java/security/ProviderException.java (ProviderException): New
28482         constructors.
28483         * java/security/NoSuchAlgorithmException.java
28484         (NoSuchAlgorithmException): New constructors.
28485         * java/security/KeyStoreException.java (KeyStoreException): New
28486         constructors.
28487         * java/security/KeyManagementException.java (KeyManagementException):
28488         New constructors.
28489         * java/security/InvalidKeyException.java (InvalidKeyException): New
28490         constructors.
28491         * java/security/KeyException.java (KeyException): New constructors.
28492         * java/security/InvalidAlgorithmParameterException.java
28493         (InvalidAlgorithmParameterException): New constructors.
28494         * java/security/DigestException.java (DigestException): New
28495         constructors.
28496         * java/security/GeneralSecurityException.java
28497         (GeneralSecurityException): New constructors.
28498
28499 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28500
28501         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28502         warnings,
28503         * javax/swing/event/DocumentEvent.java: Likewise,
28504         * javax/swing/event/EventListenerList.java: Likewise,
28505         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28506         * javax/swing/event/MenuKeyEvent.java: Likewise,
28507         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28508         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28509         * javax/swing/event/TreeModelEvent.java: Likewise,
28510         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28511         * javax/swing/event/UndoableEditEvent.java: Likewise.
28512
28513 2006-03-03  Tom Tromey  <tromey@redhat.com>
28514
28515         * java/awt/Insets.java (set): New method.
28516         (equals): Added @since.
28517
28518 2006-03-03  David Daney  <ddaney@avtrex.com>
28519
28520         * gnu/java/net/protocol/http/HTTPURLConnection.java
28521         (getRequestProperties): Rewrote.
28522         (addRequestProperty): Rewrote.
28523         (getHeaderFields): Rewrote.
28524         (getHeaderField): Rewrote.
28525         (getHeaderFieldKey): Rewrote.
28526         (getHeaderField): Removed useless cast.
28527         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28528         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28529         interface.
28530         (notifyHeaderHandlers): Use new Headers interface.
28531
28532 2006-03-03  Tom Tromey  <tromey@redhat.com>
28533
28534         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28535         * javax/naming/spi/ResolveResult.java,
28536         javax/naming/event/NamingExceptionEvent.java,
28537         javax/naming/event/NamingEvent.java,
28538         javax/naming/directory/SearchResult.java,
28539         javax/naming/directory/SearchControls.java,
28540         javax/naming/directory/SchemaViolationException.java,
28541         javax/naming/directory/NoSuchAttributeException.java,
28542         javax/naming/directory/ModificationItem.java,
28543         javax/naming/directory/InvalidSearchFilterException.java,
28544         javax/naming/directory/InvalidSearchControlsException.java,
28545         javax/naming/directory/InvalidAttributesException.java,
28546         javax/naming/directory/InvalidAttributeIdentifierException.java,
28547         javax/naming/directory/AttributeModificationException.java,
28548         javax/naming/directory/AttributeInUseException.java,
28549         javax/naming/TimeLimitExceededException.java,
28550         javax/naming/SizeLimitExceededException.java,
28551         javax/naming/PartialResultException.java,
28552         javax/naming/Reference.java,
28553         javax/naming/ServiceUnavailableException.java,
28554         javax/naming/OperationNotSupportedException.java,
28555         javax/naming/NotContextException.java,
28556         javax/naming/NoPermissionException.java,
28557         javax/naming/NoInitialContextException.java,
28558         javax/naming/NameNotFoundException.java,
28559         javax/naming/NameAlreadyBoundException.java,
28560         javax/naming/NameClassPair.java,
28561         javax/naming/MalformedLinkException.java,
28562         javax/naming/LinkLoopException.java,
28563         javax/naming/LinkException.java,
28564         javax/naming/LimitExceededException.java,
28565         javax/naming/InvalidNameException.java,
28566         javax/naming/InterruptedNamingException.java,
28567         javax/naming/InsufficientResourcesException.java,
28568         javax/naming/ContextNotEmptyException.java,
28569         javax/naming/ConfigurationException.java,
28570         javax/naming/CannotProceedException.java,
28571         javax/naming/CommunicationException.java,
28572         javax/naming/Binding.java,
28573         javax/naming/AuthenticationNotSupportedException.java,
28574         javax/naming/AuthenticationException.java: Added serialVersionUID.
28575
28576 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28577
28578         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28579
28580 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28581
28582         * javax/swing/event/TableModelListener.java: Updated API docs.
28583
28584 2006-03-03  Mark Wielaard  <mark@klomp.org>
28585
28586         * java/awt/Component.java (addNotify): Expand documentation.
28587
28588 2006-03-03  Mark Wielaard  <mark@klomp.org>
28589
28590         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28591         Always call setParentAndBounds().
28592         (setComponentBounds): Always call setBounds().
28593         (setBounds): Call setVisible().
28594         (setVisible): If no pixels are showing then don't make it visible.
28595         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28596         to call setParentAndBounds() anymore.
28597
28598 2006-03-03  Roman Kennke  <kennke@aicas.com>
28599
28600         * javax/swing/JInternalFrame.java
28601         (JInternalFrame): Set frame invisible.
28602         (show): Reformatted.
28603         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28604         (installDefaults): Do not set invisible here.
28605
28606 2006-03-03  Roman Kennke  <kennke@aicas.com>
28607
28608         * java/awt/Toolkit.java
28609         (getScreenInsets): Return (0,0,0,0) here.
28610
28611 2006-03-03  Roman Kennke  <kennke@aicas.com>
28612
28613         * javax/swing/text/FlowView.java
28614         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28615         (FlowStrategy.getLogicalView): Made method protected.
28616
28617 2006-03-03  Chris Burdess  <dog@gnu.org>
28618
28619         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28620           gnu/xml/validation/relaxng/AttributePattern.java,
28621           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28622           gnu/xml/validation/relaxng/ChoicePattern.java,
28623           gnu/xml/validation/relaxng/DataPattern.java,
28624           gnu/xml/validation/relaxng/Define.java,
28625           gnu/xml/validation/relaxng/ElementPattern.java,
28626           gnu/xml/validation/relaxng/EmptyPattern.java,
28627           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28628           gnu/xml/validation/relaxng/Grammar.java,
28629           gnu/xml/validation/relaxng/GrammarException.java,
28630           gnu/xml/validation/relaxng/GrammarValidator.java,
28631           gnu/xml/validation/relaxng/GroupPattern.java,
28632           gnu/xml/validation/relaxng/InterleavePattern.java,
28633           gnu/xml/validation/relaxng/ListPattern.java,
28634           gnu/xml/validation/relaxng/NSNameNameClass.java,
28635           gnu/xml/validation/relaxng/NameClass.java,
28636           gnu/xml/validation/relaxng/NameNameClass.java,
28637           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28638           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28639           gnu/xml/validation/relaxng/Param.java,
28640           gnu/xml/validation/relaxng/Pattern.java,
28641           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28642           gnu/xml/validation/relaxng/RefPattern.java,
28643           gnu/xml/validation/relaxng/TextPattern.java,
28644           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28645           builder and data model.
28646         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28647           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28648           gnu/xml/validation/xmlschema/AttributeUse.java,
28649           gnu/xml/validation/xmlschema/ComplexType.java,
28650           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28651           gnu/xml/validation/xmlschema/Particle.java,
28652           gnu/xml/validation/xmlschema/ValidationException.java,
28653           gnu/xml/validation/xmlschema/XMLSchema.java,
28654           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28655           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28656           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28657           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28658           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28659           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28660           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28661           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28662           W3C XML Schema builder and schema components.
28663         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28664           XML Schema namespace URIs.
28665
28666 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28667
28668         * NEWS: Add entry for --enable-collections.
28669         * configure.ac: Add --enable-collections option.
28670         * lib/Makefile.am (collections.jar): New target.
28671         (glibj_DATA): Add $(COLLECTIONS).
28672         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28673         configure substitution.
28674         (classpath): Read from command line.
28675         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28676
28677 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28678
28679         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28680
28681 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28682
28683         * javax/swing/event/ListSelectionEvent.java
28684         (toString): Implemented,
28685         plus updated API docs all over.
28686
28687 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28688
28689         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28690         API doc warnings,
28691         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28692
28693 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28694
28695         * gnu/java/rmi/dgc/DGCImpl.java,
28696         java/rmi/dgc/DGC.java,
28697         java/rmi/dgc/Lease.java: Formatted and commented.
28698
28699 2006-03-03  Roman Kennke  <kennke@aicas.com>
28700
28701         * NEWS: Added comment about text highlighting and copy+paste
28702         in Swing.
28703
28704 2006-03-03  Roman Kennke  <kennke@aicas.com>
28705
28706         * javax/swing/JTabbedPane.java
28707         (remove(int)): Call super.remove(int) instead of remove(Component).
28708         Avoids a stack overflow.
28709
28710 2006-03-03  Roman Kennke  <kennke@aicas.com>
28711
28712         * javax/swing/JTable.java
28713         (distributeSpillResizing): Avoid ArithmeticException by checking
28714         divisor.
28715
28716 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28717
28718         * javax/swing/text/package.html: Added package description.
28719
28720 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28721
28722         * javax/swing/CellRendererPane.java: Minor API doc fix,
28723         * javax/swing/ComboBoxModel.java: Updated API docs.
28724
28725 2006-03-03  Chris Burdess  <dog@gnu.org>
28726
28727         Fixes PR 26503
28728         * gnu/xml/stream/EntityReferenceImpl.java,
28729           gnu/xml/stream/FilteredEventReader.java,
28730           gnu/xml/stream/SAXParser.java,
28731           gnu/xml/stream/XIncludeFilter.java,
28732           gnu/xml/stream/XMLEventAllocatorImpl.java,
28733           gnu/xml/stream/XMLEventFactoryImpl.java,
28734           gnu/xml/stream/XMLEventImpl.java,
28735           gnu/xml/stream/XMLEventReaderImpl.java,
28736           gnu/xml/stream/XMLEventWriterImpl.java,
28737           gnu/xml/stream/XMLInputFactoryImpl.java,
28738           gnu/xml/stream/XMLOutputFactoryImpl.java,
28739           gnu/xml/stream/XMLParser.java,
28740           javax/xml/stream/EventFilter.java,
28741           javax/xml/stream/Location.java,
28742           javax/xml/stream/StreamFilter.java,
28743           javax/xml/stream/XMLEventFactory.java,
28744           javax/xml/stream/XMLEventReader.java,
28745           javax/xml/stream/XMLEventWriter.java,
28746           javax/xml/stream/XMLInputFactory.java,
28747           javax/xml/stream/XMLOutputFactory.java,
28748           javax/xml/stream/XMLReporter.java,
28749           javax/xml/stream/XMLResolver.java,
28750           javax/xml/stream/XMLStreamConstants.java,
28751           javax/xml/stream/XMLStreamReader.java,
28752           javax/xml/stream/events/EntityDeclaration.java,
28753           javax/xml/stream/events/EntityReference.java,
28754           javax/xml/stream/events/XMLEvent.java,
28755           javax/xml/stream/util/EventReaderDelegate.java,
28756           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28757           StAX API as specified in JWSDP 2.0.
28758         * gnu/xml/stream/EndEntityImpl.java,
28759           gnu/xml/stream/LocationImpl.java,
28760           gnu/xml/stream/StartEntityImpl.java,
28761           gnu/xml/stream/XMLStreamReaderImpl.java,
28762           javax/xml/stream/XMLFilter.java,
28763           javax/xml/stream/XMLIterator.java,
28764           javax/xml/stream/events/EndEntity.java,
28765           javax/xml/stream/events/StartEntity.java: Removed legacy files.
28766
28767 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28768
28769         * javax/swing/CellEditor.java: API doc updates,
28770         * javax/swing/DefaultCellEditor.java: Likewise.
28771
28772 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28773
28774         * javax/swing/AbstractListModel.java:
28775         (AbstractListModel): Added API docs,
28776         (fireContentsChanged): Minor API doc correction,
28777         (fireIntervalAdded): Likewise,
28778         (fireIntervalRemoved): Likewise.
28779
28780 2006-03-03  Roman Kennke  <kennke@aicas.com>
28781
28782         * NEWS: Added paragraph about Swing improvements.
28783
28784 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28785
28786         * javax/swing/AbstractAction.java: Updated API docs all over,
28787         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28788         (stopCellEditing): Minor API doc correction,
28789         * javax/swing/UnsupportedLookAndFeelException.java
28790         (UnsupportedLookAndFeelException): Changed argument name, updated API
28791         docs.
28792
28793 2006-03-03  Roman Kennke  <kennke@aicas.com>
28794
28795         * javax/swing/plaf/metal/MetalUtils.java
28796         (fillMetalPattern): Added switch to not use Graphics2D methods,
28797         even if they are available.
28798
28799 2006-03-03  Roman Kennke  <kennke@aicas.com>
28800
28801         * javax/swing/plaf/basic/BasicHTML.java
28802         (isHTMLString): Check for string beeing null.
28803         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28804         (BasicInternalFrameListener.internalFrameActivated): Implemented.
28805         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28806         (InternalFrameLayout): Don't touch the glass pane here.
28807         (installUI): Fix handling of glass pane.
28808         * javax/swing/plaf/basic/BasicLabelUI.java
28809         (vr): New field.
28810         (ir): New field.
28811         (tr): New field.
28812         (BasicLabelUI): Initialize new fields.
28813         (getPreferredSize): Avoid creating new Rectangles by using
28814         SwingUtilities method.
28815         (paint): Avoid creating new Rectangles by reusing
28816         new fields. Added some preliminary handling of HTML inside the
28817         label.
28818         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
28819         (uninstallComponents): Clear HTML renderer.
28820         (propertyChange): Check for HTML text and install renderer if
28821         appropriate.
28822         * javax/swing/plaf/basic/BasicListUI.java
28823         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
28824         method.
28825         * javax/swing/plaf/basic/BasicTextUI.java
28826         (RootView.getStartOffset): Implemented.
28827         (RootView.getEndOffset): Implemented.
28828         (RootView.getDocument): Implemented.
28829
28830 2006-03-03  Roman Kennke  <kennke@aicas.com>
28831
28832         * javax/swing/text/DefaultStyledDocument.java
28833         (ElementBuffer.inserUpdate): Added check for zero-length
28834         element.
28835         * javax/swing/text/DefaultStyledDocument.java
28836         (setIndex): Improved exception message.
28837         * javax/swing/text/TableView.java
28838         Made class abstract.
28839         (TableRow.replace): Probably extend columnRequirements
28840         arrays.
28841         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
28842         of super.layoutMajorAxis.
28843         (columnRequirements): Made field package private.
28844         (TableView): Do not load any child views here.
28845         (layoutColumns): Implemented this method.
28846         (updateColumnRequirements): New helper method.
28847         * javax/swing/text/Utilities.java
28848         (getBreakLocation): Also take offset into account when
28849         finding end location.
28850         * javax/swing/text/html/HTMLDocument.java
28851         (HTMLReader.parseStack): New field.
28852         (HTMLReader.blockOpen): Properly handle p-implied tags.
28853         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
28854         (HTMLReader.addContent): Insert p-implied when adding content to
28855         a block element.
28856         * javax/swing/text/html/HTMLEditorKit.java
28857         (HTMLFactory.create): Create HTMLTableView for <table> tags and
28858         ParagraphView for TD tags. Print out warning for tags that don't have
28859         matching view yet and create NullView for them.
28860         (read): Only set document base when document != null.
28861         * javax/swing/text/html/HTMLTableView.java:
28862         New class
28863
28864 2006-03-03  Roman Kennke  <kennke@aicas.com>
28865
28866         * javax/swing/plaf/basic/BasicHTML.java
28867         (HTMLRootView): New inner class.
28868         (createHTMLView): Embed view inside a HTMLRootView.
28869
28870 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
28871
28872         * gnu/java/net/protocol/jar/Connection.java: 
28873         (connect): Throw FileNotFoundException.
28874         (getInputStream): Remove duplicated code.
28875
28876 2006-03-03  Roman Kennke  <kennke@aicas.com>
28877
28878         * javax/swing/RepaintManager.java
28879         (commitBuffer): Added null check for clip.
28880
28881 2006-03-02  Lillian Angel <langel@redhat.com>
28882
28883         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28884         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
28885         to use GtkWidget instead of GTKMenu.
28886
28887 2006-03-02  Lillian Angel <langel@redhat.com>
28888
28889         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
28890         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
28891         use the submenu to get the list of children. This now works
28892         in the same way as addItem.
28893
28894 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
28895
28896         * java/lang/StringBuilder.java:
28897         (codePointAt): New method.
28898         (codePointBefore): Likewise.
28899         (codePointCount): Likewise.
28900         (trimToSize): Likewise.
28901
28902 2006-03-02  Tom Tromey  <tromey@redhat.com>
28903
28904         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
28905
28906 2006-03-02  Tom Tromey  <tromey@redhat.com>
28907
28908         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
28909         (getProviderInstance): 
28910
28911 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
28912
28913         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
28914         Fix regression caused by move to VM variant.
28915         PR classpath/22926.
28916         
28917 2006-03-01  Tom Tromey  <tromey@redhat.com>
28918
28919         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
28920         * vm/reference/java/net/VMInetAddress.java: Organized imports.
28921         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
28922         imports for javadoc.
28923         (getProxyClass): Javadoc fixes.
28924         (getProxyData): Likewise.
28925         (generateProxyClass): Likewise.
28926         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
28927         (setOut): Likewise.
28928         (setErr): Likewise.
28929         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
28930         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
28931         fix.
28932         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
28933         javadoc.
28934         (getModifiers): Likewise.
28935         (getDeclaredClasses): Javadoc fix.
28936         (getDeclaredFields): Likewise.
28937         (getDeclaredMethods): Likewise.
28938         (getDeclaredConstructors): Likewise.
28939         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
28940         Javadoc fix.
28941
28942 2006-03-01  Tom Tromey  <tromey@redhat.com>
28943
28944         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
28945         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
28946         (getVersion): Javadoc fix.
28947         (get): Likewise.
28948         * gnu/java/net/protocol/http/Headers.java: Organized imports.
28949         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
28950
28951 2006-03-01  David Daney  <ddaney@avtrex.com>
28952
28953         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
28954         as relative if it contains a colon but no protocol handler can be
28955         found.
28956
28957 2006-03-01  Roman Kennke  <kennke@aicas.com>
28958
28959         * javax/swing/text/AbstractDocument.java
28960         (LeafElement.LeafElement): Handle delta with respect to content
28961         length not document length.
28962         * javax/swing/text/CompositeView.java
28963         (getViewIndex): Handle bias correctly.
28964         * javax/swing/text/DefaultCaret.java
28965         (paint): Align caret position to document bounds to avoid trouble
28966         when removing large portions of content.
28967         * javax/swing/text/DefaultStyledDocument.java
28968         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
28969         (ElementBuffer.createFracture): Copy old childs attribute. The
28970         ElementSpec usually doesn't carry attribute information.
28971         Use pos instead of offset.
28972         (ElementBuffer.insertFracture): Use pos instead of offset.
28973         (createDefaultRootElement): Don't use create* and instead directly
28974         instantiate the elements.
28975         (handleInsertAfterNewline): Compare the paragraphs startOffset
28976         rather than previous paragraphs endOffset.
28977         * javax/swing/text/JTextComponent.java
28978         (getScrollableTracksViewportWidth): Remove unnecessary cast to
28979         JViewport.
28980         (getScrollableTracksViewportHeight): Remove unnecessary cast to
28981         JViewport.
28982         * javax/swing/text/PlainView.java
28983         (damageLineRange): Avoid creating new Rectangle by using
28984         SwingUtilities.
28985         * javax/swing/text/View.java
28986         (forwardUpdate): Correct the use of bias.
28987         (modelToView): Avoid new Rectangles by using SwingUtilities.
28988         (dump): Made (temprorarily) protected for use in BasicTextUI.
28989         (dump(int)): Dump out the element of the view.
28990
28991 2006-03-01  Lillian Angel  <langel@redhat.com>
28992
28993         * NEWS: javax.imageio.plugins.bmp implementation.
28994
28995 2006-03-01  Lillian Angel  <langel@redhat.com>
28996
28997         * javax/imageio/ImageWriteParam.java: 
28998         Added documentation for fields.
28999         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29000         New class implemented.
29001
29002 2006-03-01  Tom Tromey  <tromey@redhat.com>
29003
29004         * NEWS: Mention java.util.prefs update.
29005
29006 2006-03-01  Tom Tromey  <tromey@redhat.com>
29007
29008         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29009         * java/nio/charset/UnmappableCharacterException.java:
29010         (serialVersionUID): New field.
29011         * java/nio/charset/MalformedInputException.java:
29012         (serialVersionUID): New field.
29013         * java/nio/charset/CoderMalfunctionError.java:
29014         (serialVersionUID): New field.
29015         * java/nio/charset/CharacterCodingException.java:
29016         (serialVersionUID): New field.
29017         * java/nio/channels/UnsupportedAddressTypeException.java:
29018         (serialVersionUID): New field.
29019         * java/nio/channels/UnresolvedAddressException.java:
29020         (serialVersionUID): New field.
29021         * java/nio/channels/OverlappingFileLockException.java:
29022         (serialVersionUID): New field.
29023         * java/nio/channels/NotYetConnectedException.java:
29024         (serialVersionUID): New field.
29025         * java/nio/channels/NotYetBoundException.java
29026         (serialVersionUID): New field.
29027         * java/nio/channels/NonWritableChannelException.java
29028         (serialVersionUID): New field.
29029         * java/nio/channels/NonReadableChannelException.java
29030         (serialVersionUID): New field.
29031         * java/nio/channels/NoConnectionPendingException.java
29032         (serialVersionUID): New field.
29033         * java/nio/channels/IllegalSelectorException.java
29034         (serialVersionUID): New field.
29035         * java/nio/channels/IllegalBlockingModeException.java
29036         (serialVersionUID): New field.
29037         * java/nio/channels/FileLockInterruptionException.java
29038         (serialVersionUID): New field.
29039         * java/nio/channels/ConnectionPendingException.java
29040         (serialVersionUID): New field.
29041         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29042         New field.
29043         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29044         New field.
29045         * java/nio/channels/ClosedByInterruptException.java
29046         (serialVersionUID): New field.
29047         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29048         New field.
29049         * java/nio/channels/AsynchronousCloseException.java
29050         (serialVersionUID): New field.
29051         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29052         New field.
29053         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29054         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29055         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29056         field.
29057         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29058         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29059         Javadoc fix.  Added import.
29060         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29061         (validOps): Likewise.
29062         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29063         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29064         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29065         * java/nio/channels/Channels.java: Added import.
29066         * java/nio/channels/FileChannel.java (lock): Typo fix.
29067         (tryLock): Likewise.
29068
29069 2006-03-01  Tom Tromey  <tromey@redhat.com>
29070
29071         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29072         FileBasedFactory.
29073         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29074         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29075         (clear): Likewise.
29076         (putSpi): Likewise.
29077         (newNode): Likewise.
29078         (node): Likewise.
29079         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29080         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29081         field.
29082         (systemRoot): Use it.
29083         (userPreferences): New field.
29084         (userRoot): Use it.
29085
29086 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29087
29088         * java/util/ResourceBundle.java
29089         (tryBundle): Catch and ignore all Exceptions.
29090
29091 2006-02-28  Roman Kennke  <kennke@aicas.com>
29092
29093         * javax/swing/plaf/basic/BasicScrollBarUI.java
29094         (getPreferredSize): Fixed add a fixed space between the buttons
29095         instead of something related to min/max.
29096         (installComponents): Create and install buttons here.
29097         (installDefaults): Don't create buttons here.
29098         * javax/swing/plaf/metal/MetalScrollBarUI.java
29099         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29100         (getPreferredSize): New method.
29101
29102 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29103
29104         * examples/gnu/classpath/examples/swing/Demo.java
29105         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29106         connected 'Spinner' action to SpinnerDemo, 
29107         (mkCheckbox): Removed,
29108         (mkRadio): Likewise,
29109         (mkSpinner): Likewise,
29110         (mkToggle): Likewise,
29111         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29112         connected 'Spinner' action to SpinnerDemo.
29113
29114 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29115
29116         * javax/print/ServiceUIFactory.java: Added documentation to class.
29117
29118 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29119
29120         PR classpath/26434
29121         * javax/swing/DefaultListSelectionModel.java:
29122         (addSelectionInterval): Return early if either of the arguments is -1.
29123         (removeSelectionInterval): Likewise.
29124         (setSelectionInterval): Likewise.
29125
29126 2006-02-28  Lillian Angel  <langel@redhat.com>
29127
29128         * javax/swing/text/DefaultFormatter.java
29129         (stringToValue): Added NPE check.
29130
29131 2006-02-28  Roman Kennke  <kennke@aicas.com>
29132
29133         PR classpath/25675
29134         * javax/swing/JList.java
29135         (getPreferredScrollableViewportSize): Restored specified behaviour.
29136         * javax/swing/plaf/metal/MetalFileChooserUI.java
29137         (createList): Set filelist panel's preferredSize, so that it doesn't
29138         get size into infinity for big lists.
29139
29140 2006-02-28  Lillian Angel  <langel@redhat.com>
29141
29142         * javax/swing/ViewportLayout.java
29143         (layoutContainer): Should not extend container to be 
29144         minimum size. Mauve test shows that the preferred size
29145         and the size of the viewport can be set smaller than
29146         the minimum.
29147
29148 2006-02-28  Lillian Angel  <langel@redhat.com>
29149
29150         PR classpath/25675
29151         * javax/swing/JList.java
29152         (getPreferredScrollableViewportSize): Added a check to determine
29153         if orientation is VERTICAL_WRAP. If it is, we should only 
29154         show 3 columns. 
29155
29156 2006-02-28  Lillian Angel  <langel@redhat.com>
29157
29158         PR classpath/26003
29159         * javax/swing/ViewportLayout.java:
29160         Patch submitted by Audrius Meskauskas
29161         (addLayoutComponent): Added documentation.
29162         (removeLayoutComponent): Likewise.
29163         (preferredLayoutSize): Likewise.
29164         (minimumLayoutSize): Likewise.
29165         (layoutContainer): Fixed code, so view is set
29166         to the right position when inside a scrollpane. 
29167
29168 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29169
29170         * java/math/BigInteger.java:
29171         Committed patch by Rafael: 
29172         developer.classpath.org/pipermail/classpath-patches/
29173         2006-February/000473.html
29174         (signum): Return early 0 if words == null and ival == 0.
29175         (readObject): Handle special case of magnitude.length or signum being
29176         0.
29177         (writeObject): If signum is zero return a zero-sized byte[].
29178
29179 2006-02-28  Lillian Angel  <langel@redhat.com>
29180
29181         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29182         (create): Initially set the directory to the current working directory.
29183         (setDirectory): Removed else-if. No need for this check.
29184
29185 2006-02-28  Tom Tromey  <tromey@redhat.com>
29186
29187         * .project: Run java builder before header generation.
29188
29189 2006-02-28  Tom Tromey  <tromey@redhat.com>
29190
29191         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29192         Javadoc fix.
29193         * gnu/java/util/prefs/EventDispatcher.java: New file.
29194         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29195         (NodeWriter): Specify UTF-8.
29196         (writeHeader): Emit DOCTYPE.
29197         * java/util/prefs/Preferences.java (getFactory): Add cause to
29198         exception.
29199         (exportNode): Documented.
29200         (exportSubtree): Likewise.
29201         (importPreferences): Likewise.
29202         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29203         (writeObject): Likewise.
29204         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29205         (writeObject): Likewise.
29206         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29207         (nodeListeners): New field.
29208         (preferenceListeners): Likewise.
29209         (addNodeChangeListener): Implemented.
29210         (addPreferenceChangeListener): Likewise.
29211         (removeNodeChangeListener): Likewise.
29212         (removePreferenceChangeListener): Likewise.
29213         (fire): New methods.
29214         (put): Fire event.
29215         (remove): Likewise.
29216         (purge): Likewise.  Fixed synchronization.
29217         (removeNode): Fixed synchronization.
29218         (getNode): Fire event.
29219         (flushNode): Fixed synchronization.
29220
29221 2006-02-28  Roman Kennke  <kennke@aicas.com>
29222
29223         * javax/swing/text/BranchElement.java
29224         (startOffset): New field.
29225         (endOffset): New field.
29226         (BranchElement): Initialize new fields.
29227         (getEndOffset): Rewritten to possibly return cached values
29228         if element has no children.
29229         (getStartOffset): Rewritten to possibly return cached values
29230         if element has no children.
29231         * javax/swing/text/LeafElement.java
29232         (startDelta): New field.
29233         (endDelta): New field.
29234         (LeafElement): Handle possible delta of start/endOffset when
29235         these parameters lie outside the document range.
29236         (getStartOffset): Handle possible startDelta.
29237         (getEndOffset): Handle possible startDelta.
29238
29239 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29240
29241         * NEWS: Added line about Unicode 4.0.0 support.
29242
29243 2006-02-28  Roman Kennke  <kennke@aicas.com>
29244
29245         * javax/swing/SwingUtilities.java
29246         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29247
29248 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29249
29250         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29251
29252 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29253
29254         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29255         Amended class documentation.
29256         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29257         STRING.
29258         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29259         a BIT STRING construct.
29260         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29261         documentation.
29262         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29263         STRING.
29264         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29265         a BIT STRING construct.
29266         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29267         (engineVerify): Added logging.
29268
29269 2006-02-28  Roman Kennke  <kennke@aicas.com>
29270
29271         * java/awt/Component.java
29272         (dispatchEventImpl): Let the Toolkit dispatch global events.
29273         * java/awt/Container.java
29274         (dispatchEventImpl): Let the LightweightDispatcher handle events
29275         first.
29276         * java/awt/EventQueue.java
29277         (dispatchEvent): Don't do the global event dispatching here. This
29278         is moved to the Component.
29279         (globalDispatchEvent): Moved this method to Toolkit.
29280         * java/awt/LightweightDispatcher.java
29281         (instances): New field.
29282         (getInstance): New method. Delivers an instance of
29283         LightweightDispatcher.
29284         (LightweightDispatcher): Made default constructor private.
29285         (dispatchEvent): New method. Replaces the eventDispatched method.
29286         This now returns true when the event was actually dispatched.
29287         (eventDispatched): Replaced by dispatchEvent.
29288         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29289         received the last MOUSE_RELEASED.
29290         * java/awt/Toolkit.java
29291         (Toolkit): Don't register LightweightDispatcher as global event
29292         handler.
29293         (globalDispatchEvent): Moved here from EventQueue.
29294
29295 2006-02-27  David Daney  <ddaney@avtrex.com>
29296
29297         PR classpath/25851
29298         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29299         up.
29300         (getRequestProperties): Rewrote.
29301
29302 2006-02-27  David Daney  <ddaney@avtrex.com>
29303
29304         PR classpath/26312
29305         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29306         up.
29307         (ChunkedInputStream): Extend InputStream.
29308         (in): New field.
29309         (headers): Moved to top of class.
29310         (constructor): Save referenct to in.
29311         (read(byte[])): Removed method.
29312         (read(byte[], int, int)): Made synchronized and throw IOException
29313         on error parsing chunk header.
29314         (available): New method.
29315         (close): New method.
29316
29317 2006-02-27  David Daney  <ddaney@avtrex.com>
29318
29319         * gnu/java/net/protocol/http/HTTPURLConnection.java
29320         (imports): Cleaned up.
29321         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29322         (constructor): ... Here, using SystemProperties instead of System.
29323         
29324 2006-02-27  Lillian Angel  <langel@redhat.com>
29325
29326         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29327         (setDirectory): GtkFileChooser requires an absolute directory
29328         name. Added a check to make the directory passed to nativeSetDirectory
29329         is absolute.
29330
29331 2006-02-27  Roman Kennke  <kennke@aicas.com>
29332
29333         * javax/swing/SwingUtilities.java
29334         (computeIntersection): Changed to store result in rect, instead of
29335         creating new Rectangle instances. Fixed API docs accordingly.
29336         (computeUnion): Changed to store result in rect, instead of
29337         creating new Rectangle instances. Fixed API docs accordingly.
29338
29339 2006-02-27  Roman Kennke  <kennke@aicas.com>
29340
29341         * javax/swing/JViewport.java
29342         (static_init): Changed default scrollmode to BLIT.
29343         (paintSimple): Added some clipping to avoid painting problems.
29344         (paintBlit): Added some clipping to avoid painting problems.
29345
29346 2006-02-27  Roman Kennke  <kennke@aicas.com>
29347
29348         * javax/swing/JComponent.java
29349         (rectCache): Made field static to save memory.
29350         (getVisibleRect): Don't use rectCache and create new Rectangle
29351         instance instead.
29352         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29353         (repaint(long,int,int,int,int)): Directly call
29354         RepaintManager.addDirtyRegion(). The visibleRect check is now
29355         performed in the RepaintManager.
29356
29357 2006-02-27  Roman Kennke  <kennke@aicas.com>
29358
29359         * javax/swing/RepaintManager.java
29360         (currentRepaintManagers): Made field private.
29361         (rectCache): New field.
29362         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29363         component. Changed Rectangle handling to avoid unnecessary new
29364         Rectangle instances.
29365         (getOffscreenBuffer): Create buffer with size of the root window.
29366         Respect the maximum buffer size here.
29367         (commitBuffer): Align the regions so that they are inside the buffer
29368         image and inside the clip. This avoids problems with a bug in GTKImage.
29369         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29370
29371 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29372
29373         * native/fdlibm/e_acos.c,
29374         * native/fdlibm/e_asin.c,
29375         * native/fdlibm/e_atan2.c,
29376         * native/fdlibm/e_cosh.c,
29377         * native/fdlibm/e_exp.c,
29378         * native/fdlibm/e_fmod.c,
29379         * native/fdlibm/e_hypot.c,
29380         * native/fdlibm/e_log.c,
29381         * native/fdlibm/e_log10.c,
29382         * native/fdlibm/e_rem_pio2.c,
29383         * native/fdlibm/e_remainder.c,
29384         * native/fdlibm/e_sinh.c,
29385         * native/fdlibm/e_sqrt.c,
29386         * native/fdlibm/k_cos.c,
29387         * native/fdlibm/k_sin.c,
29388         * native/fdlibm/k_tan.c,
29389         * native/fdlibm/s_atan.c,
29390         * native/fdlibm/s_cbrt.c,
29391         * native/fdlibm/s_ceil.c,
29392         * native/fdlibm/s_copysign.c,
29393         * native/fdlibm/s_cos.c,
29394         * native/fdlibm/s_expm1.c,
29395         * native/fdlibm/s_fabs.c,
29396         * native/fdlibm/s_finite.c,
29397         * native/fdlibm/s_floor.c,
29398         * native/fdlibm/s_log1p.c,
29399         * native/fdlibm/s_rint.c,
29400         * native/fdlibm/s_scalbn.c,
29401         * native/fdlibm/s_sin.c,
29402         * native/fdlibm/s_tan.c,
29403         * native/fdlibm/s_tanh.c:
29404         Fixed to call our macros rather than __HI and __LO.
29405         * native/fdlibm/fdlibm.h:
29406         Reintroduced previous extraction code.
29407         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29408         (GET_HIGH_WORD(i,d)): Readded.
29409         (GET_LOW_WORD(i,d)): Readded.
29410         (INSERT_WORDS(d,ix0,ix1)): Readded.
29411         (SET_HIGH_WORD(d,i)): Readded.
29412         (SET_LOW_WORD(d,i)): Readded.
29413         * native/jni/gtk-peer/gthread-jni.c:
29414         Use Glib macros to convert integers/pointers portably.
29415         
29416 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29417
29418         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29419         as the fallback SPI.
29420         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29421         ones referencing GNU-CRYPTO classes.
29422         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29423         (engineValidate): Use GNU-CRYPTO class.
29424         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29425         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29426         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29427         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29428         * gnu/java/security/provider/DSAParameters: Likewise.
29429         * gnu/java/security/provider/DSASignature: Likewise.
29430         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29431         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29432         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29433         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29434         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29435         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29436         * gnu/java/security/provider/MD2withRSA: Likewise.
29437         * gnu/java/security/provider/MD4withRSA: Likewise.
29438         * gnu/java/security/provider/MD5: Likewise.
29439         * gnu/java/security/provider/MD5withRSA: Likewise.
29440         * gnu/java/security/provider/RSA: Likewise.
29441         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29442         * gnu/java/security/provider/SHA: Likewise.
29443         * gnu/java/security/provider/SHA1PRNG: Likewise.
29444         * gnu/java/security/provider/SHA1withRSA: Likewise.
29445         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29446
29447 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29448
29449         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29450         (engineGeneratePublic): Added logging.
29451         (engineGeneratePrivate): Likewise.
29452         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29453         (encodePublicKey): Added logging.
29454         Clarified in method documentation that params is optional, but is
29455         always NULL if present.
29456         (decodePublicKey): Added logging.
29457         Handle optional NULL element.
29458
29459 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29460
29461         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29462
29463 2006-03-03  Tom Tromey  <tromey@redhat.com>
29464
29465         * java/awt/MenuBar.java (shortcuts): Genericized.
29466
29467 2006-03-03  Tom Tromey  <tromey@redhat.com>
29468
29469         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29470         Genericized.
29471         (getListenerType): Likewise.
29472         * java/beans/Introspector.java (getBeanInfo): Genericized.
29473         * java/beans/DefaultPersistenceDelegate.java (initialize):
29474         Genericized.
29475
29476 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29477
29478         * java/math/BigDecimal.java:
29479         (precision): Fixed overflow problem with large numbers.
29480         (longValueExact): New method.
29481         (intValueExact): Likewise.
29482         (byteValueExact): Likewise.
29483         (shortValueExact): Likewise.
29484
29485 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29486
29487         * java/math/BigDecimal.java:
29488         (remainder(BigDecimal)): New method.
29489         (divideAndRemainder(BigDecimal)): Likewise.
29490         (divideToIntegralValue(BigDecimal)): Likewise.
29491         (floor): New implementation method.
29492
29493 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29494
29495         * java/math/BigDecimal.java:
29496         (divide(BigDecimal, int, RoundingMode)): New method.
29497         (divide(BigDecimal, RoundingMode)): Likewise.
29498         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29499         when the new scale is < 0.
29500         (setScale(int, RoundingMode)): New method.
29501         (ulp): Likewise.
29502
29503 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29504
29505         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29506         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29507         (add(BigDecimal, MathContext)): New method.
29508         (subtract(BigDecimal, MathContext)): Likewise.
29509         (precision): Fixed to correctly handle BigIntegers with more than 19
29510         digits.
29511         (pow(int, MathContext)): New method.
29512
29513 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29514
29515         * java/math/BigDecimal.java: Added @throws clause to constructors.
29516         (mathContext): Removed this unneeded field.
29517         (BigDecimal(int, MathContext)): New constructor.
29518         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29519         (multiply(BigDecimal, MathContext)): New method.
29520         (negate(MathContext)): Likewise.
29521         (plus(MathContext)): Likewise.
29522         (numDigitsInLong): Fixed to properly handle negatives.
29523         
29524 2006-02-25  Chris Burdess  <dog@gnu.org>
29525   
29526         * gnu/java/net/CRLFInputStream.java,
29527           gnu/java/net/LineInputStream.java: Streams that use mark
29528           capabilities on the underlying stream do not expose mark
29529           functionality themselves.
29530         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29531           off > 0.
29532
29533 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29534
29535         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29536         option flags passed to match methods.
29537         (MF_FIND_ALL): New flag.
29538         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29539         do not try other possibilties once a match is found.
29540         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29541         so that all possibilities can be found.
29542         (match): Rewritten using new methods matchMinimum and _match.
29543         (_match): New method which performs a depth-first recursive search.
29544         (matchMinimum): New method.
29545         (initVisited), (visitedContains), (addVisited): New methods for
29546         manipulating an array of icharacter positions which _match has
29547         already visited.
29548
29549 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29550
29551         * java/math/BigDecimal.java:
29552         (BigDecimal(long, MathContext)): New constructor.
29553         (BigDecimal(BigInteger, MathContext)): Likewise.
29554         (BigDecimal(String, MathContext)): Likewise.
29555         (BigDecimal(double, MathContext)): Likewise.
29556         (round): Fixed a typo where the precision field was used instead of a
29557         call to the precision method, and also store the new precision in the
29558         returned BigDecimal.
29559         (abs(MathContext)): New method.
29560
29561 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29562
29563         * java/math/BigDecimal.java
29564         (toBigInteger): Fixed problem where this method couldn't handle 
29565         negative values for scale.
29566         (toBigIntegerExact): New method.
29567         (stripTrailingZeros): Likewise.
29568
29569 2006-02-24  David Daney  <ddaney@avtrex.com>
29570
29571         PR classpath/26082
29572         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29573         type Pool.
29574         (Pool): New inner class.
29575         (timeLastUsed): New field.
29576         (setPool): Changed parameter type to Pool.
29577         (release): Moved pool management logic to new class Pool.
29578         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29579         Removed.
29580         (maxConnections) : Removed.
29581         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29582         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29583   
29584 2006-02-24  Lillian Angel  <langel@redhat.com>
29585   
29586         * java/awt/Container.java:
29587         Added new field. True if Container has been cleared and
29588         heavyweights need to be repainted.
29589         (paint): Fixed comment. Fixed to use backCleared and 
29590         reset backCleared.
29591         (update): Set backCleared to true after the background
29592         of the container has been cleared.
29593   
29594 2006-02-24  Lillian Angel  <langel@redhat.com>
29595   
29596         * java/awt/TextField.java
29597         (addNotify): Added call to super.
29598   
29599 2006-02-24  Lillian Angel  <langel@redhat.com>
29600   
29601         * java/awt/Component.java
29602         (reshape): Reverted last patch. Should have check here.
29603         (addNotify): Added check. If parent is lightweight, then
29604         initialize listener on the parent.
29605         (HeavyweightInLightweightListener): New class.
29606   
29607 2006-02-24  Roman Kennke  <kennke@aicas.com>
29608   
29609         * javax/swing/plaf/basic/BasicComboPopup.java
29610         (show): Register the popup with the autocloser after it has been
29611         opened completely, by putting the registration on the eventqueue.
29612   
29613 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29614   
29615         * gnu/java/security/prng/BasePRNG.java:
29616         (clone()): Added cast of buffer to byte[].
29617         * gnu/javax/crypto/mac/TMMH16.java:
29618         (clone()): Fixed casting of cloned arrays.
29619         * native/fdlibm/fdlibm.h:
29620         Added missing defines from old fdlibm.h needed by Darwin.
29621         (GET_FLOAT_WORD(i,d)): Re-added.
29622         (SET_FLOAT_WORD(d,i)): Re-added.
29623         
29624 2006-02-24  Roman Kennke  <kennke@aicas.com>
29625   
29626         * java/awt/Container.java:
29627         (dispatcher): Removed field.
29628         (dispatchEventImpl): Removed lightweight dispatching.
29629         (addNotifyContainerChildren): Removed LightweightDispatcher
29630         handling.
29631         (LightweightDispatcher): Removed class.
29632         * java/awt/LightweightDispatcher.java: New class.
29633         * java/awt/Toolkit.java
29634         (Toolkit): Install LightweightDispatcher in global listener
29635         array.
29636   
29637 2006-02-24  Chris Burdess  <dog@gnu.org>
29638   
29639         Fixes PR 26324
29640         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29641           off > 0.
29642   
29643 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29644   
29645         * NEWS: Mentions the VMMath runtime changes.
29646         * doc/vmintegration.texinfo: Updated to include
29647         VMMath.
29648   
29649 2006-02-24  Roman Kennke  <kennke@aicas.com>
29650   
29651         * javax/swing/plaf/basic/BasicLookAndFeel.java
29652         (PopupHelper.autoClosePopups): New field.
29653         (PopupHelper.mousePressed): Also autoclose any registered popups.
29654         (PopupHelper.registerForAutoClose): New method.
29655         (PopupHelper.autoClosePopups): New method.
29656         (popupHelper): Changed type of field to PopupHelper.
29657         (registerForAutoClose): New method.
29658         * javax/swing/plaf/basic/BasicComboPopup.java
29659         (show): Register this popup for autoclosing.
29660   
29661 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29662   
29663         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29664         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29665         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29666   
29667 2006-02-24  Roman Kennke  <kennke@aicas.com>
29668   
29669         Reported by Ingo Proetel <proetel@aicas.com>
29670         * java/util/logging/LogManager.java
29671         (addLogger): Search the parent loggers for log level
29672         configuration and inherit that.
29673         (readConfiguration): Provide minimal default configuration
29674         if no configuration can be found otherwise.
29675
29676 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29677
29678         * java/math/BigDecimal.java:
29679         (toString): Fixed a problem where the negative sign was being displayed
29680         twice in the exponent.
29681         (toEngineeringString): New method.
29682         (toPlainString): Likewise.
29683         (pow): Likewise.
29684
29685 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29686
29687         * java/math/BigDecimal.java:
29688         (toString): Rewrote this method to behave as specified.  Added API
29689         comments to explain behaviour.
29690         (scaleByPowerOfTen): New method.
29691
29692 2006-02-23  Roman Kennke  <kennke@aicas.com>
29693   
29694         * javax/swing/JRootPane.java
29695         (isOptimizedDrawingEnabled): Implemented to return true
29696         when the glassPane is not visible.
29697   
29698 2006-02-23  Roman Kennke  <kennke@aicas.com>
29699   
29700         * javax/swing/plaf/basic/BasicLookAndFeel.java
29701         (PopupHelper): New inner class.
29702         (popupHelper): New field.
29703         (initialize): New method.
29704         (uninitialize): New method.
29705         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29706         (mouseInputListener): Removed field.
29707         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29708         handling of GlassPane.
29709         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29710         handling of GlassPane.
29711         (MouseInputHandler): Removed class.
29712
29713 2006-02-23  Roman Kennke  <kennke@aicas.com>
29714
29715         * java/awt/AWTEvent.java
29716         (eventIdToMask): New utility method.
29717         * java/awt/EventQueue.java
29718         (dispatchEvent): Also globally dispatch events via the toolkit.
29719         (globalDispatchEvent): New method.
29720         * java/awt/Toolkit.java
29721         (awtEventListeners): New field.
29722         (Toolkit()): Initialize new field.
29723         (createComponent): Create GLightweightPeer here.
29724         (addAWTEventListener): Implemented and documented.
29725         (removeAWTEventListener): Implemented and documented.
29726         (getAWTEventListeners): Implemented and documented both method
29727         variants.
29728         * java/awt/event/AWTEventListenerProxy.java
29729         (eventDispatched): Don't filter events here.
29730
29731 2006-02-23  Chris Burdess  <dog@gnu.org>
29732
29733         Fixes PR 26410
29734         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29735           gnu/xml/dom/JAXPFactory.java,
29736           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29737           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29738           implement DocumentBuilderFactory.get/setFeature methods.
29739
29740 2006-02-23  Lillian Angel  <langel@redhat.com>
29741
29742         * gnu/java/awt/peer/GLightweightPeer.java
29743         (repaint): Scott's proposed fix. Send repaint to the
29744         component's parent.
29745         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29746         (setBounds): Removed next_parent, not needed. Removed
29747         lightweightChild, we always need to compensate for the
29748         menu bar's height.
29749         * java/awt/Component.java
29750         (setBounds): Removed check. Caused lots of problems, because some
29751         components were not being invalidated. Components should be
29752         invalidated when they are resized or moved, and in some cases,
29753         when a parent is resized/moved, the components do not know
29754         about it and do not adjust.
29755         * java/awt/Graphics.java
29756         (hitClip): Scott's proposed fix. Added check to handle a 
29757         null clip.
29758   
29759 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29760   
29761         * javax/print/attribute/standard/MediaSize.java: 
29762         (media): Field renamed to mediaName for serialization.
29763         (MediaSize): Adapted to new fieldname.
29764         (getMediaSizeName): Likewise.
29765         * javax/print/attribute/HashAttributeSet.java: 
29766         (interfaceName): Field renamed to myInterface for serialization.
29767         (HashAttributeSet): Adapted to the new fieldname.
29768         (add): Likewise.
29769         (addAll): Likewise.
29770         (addInternal): Likewise.
29771         (attributeMap): Made transient.
29772         (readObject): New serialization method.
29773         (writeObject): Likewise.
29774         * javax/print/attribute/AttributeSetUtilities.java: 
29775         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29776         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29777         (SynchronizedAttributeSet.addAll): Likewise.
29778         (SynchronizedAttributeSet.clear): Likewise.
29779         (SynchronizedAttributeSet.containsKey): Likewise.
29780         (SynchronizedAttributeSet.containsValue): Likewise.     
29781         (SynchronizedAttributeSet.equals): Likewise.
29782         (SynchronizedAttributeSet.get): Likewise.
29783         (SynchronizedAttributeSet.hashCode): Likewise.  
29784         (SynchronizedAttributeSet.isEmpty): Likewise.
29785         (SynchronizedAttributeSet.remove): Likewise.    
29786         (SynchronizedAttributeSet.size): Likewise.      
29787         (SynchronizedAttributeSet.toArray): Likewise.   
29788         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29789         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29790         (UnmodifiableAttributeSet.addAll): Likewise.
29791         (UnmodifiableAttributeSet.clear): Likewise.
29792         (UnmodifiableAttributeSet.containsKey): Likewise.
29793         (UnmodifiableAttributeSet.containsValue): Likewise.     
29794         (UnmodifiableAttributeSet.equals): Likewise.
29795         (UnmodifiableAttributeSet.get): Likewise.
29796         (UnmodifiableAttributeSet.hashCode): Likewise.  
29797         (UnmodifiableAttributeSet.isEmpty): Likewise.
29798         (UnmodifiableAttributeSet.remove): Likewise.    
29799         (UnmodifiableAttributeSet.size): Likewise.      
29800         (UnmodifiableAttributeSet.toArray): Likewise.   
29801         * javax/print/attribute/standard/MediaPrintableArea.java: 
29802         (width): Field renamed to w for serialization.
29803         (height): Field renamed to h for serialization. 
29804         (MediaPrintableArea): Adapted to the new fieldnames.    
29805         (MediaPrintableArea): Likewise.
29806         (equals): Likewise.
29807         (hashCode): Likewise.
29808         (getHeight): Likewise.
29809         (getWidth): Likewise.
29810   
29811 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29812   
29813         * include/java_lang_VMMath.h:
29814         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29815         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29816         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
29817         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
29818         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
29819         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
29820         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
29821         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
29822         * java/lang/Math.java:
29823         (cbrt(double)): Implemented.
29824         (cosh(double)): Implemented.
29825         (expm1(double)): Implemented.
29826         (hypot(double,double)): Implemented.
29827         (log10(double)): Implemented.
29828         (log1p(double)): Implemented.
29829         (signum(double)): Implemented.
29830         (signum(float)): Implemented.
29831         (sinh(double)): Implemented.
29832         (tanh(double)): Implemented.
29833         * native/fdlibm/Makefile.am:
29834         Added new files from fdlibm 5.3.
29835         * native/fdlibm/e_acos.c,
29836         * native/fdlibm/e_asin.c,
29837         * native/fdlibm/e_atan2.c,
29838         * native/fdlibm/e_exp.c,
29839         * native/fdlibm/e_fmod.c,       
29840         * native/fdlibm/e_log.c,
29841         * native/fdlibm/e_rem_pio2.c,
29842         * native/fdlibm/e_remainder.c,
29843         * native/fdlibm/e_scalb.c,
29844         * native/fdlibm/e_sqrt.c,
29845         * native/fdlibm/k_cos.c,
29846         * native/fdlibm/k_rem_pio2.c,
29847         * native/fdlibm/k_sin.c,
29848         * native/fdlibm/k_tan.c,
29849         * native/fdlibm/s_atan.c,
29850         * native/fdlibm/s_ceil.c,
29851         * native/fdlibm/s_copysign.c,
29852         * native/fdlibm/s_cos.c,
29853         * native/fdlibm/s_fabs.c,
29854         * native/fdlibm/s_finite.c,
29855         * native/fdlibm/s_floor.c,
29856         * native/fdlibm/s_rint.c,
29857         * native/fdlibm/s_scalbn.c,
29858         * native/fdlibm/s_sin.c,
29859         * native/fdlibm/s_tan.c,
29860         * native/fdlibm/w_acos.c,
29861         * native/fdlibm/w_asin.c,
29862         * native/fdlibm/w_atan2.c,
29863         * native/fdlibm/w_acos.c,
29864         * native/fdlibm/w_exp.c,
29865         * native/fdlibm/w_fmod.c,
29866         * native/fdlibm/w_log.c,
29867         * native/fdlibm/w_pow.c,
29868         * native/fdlibm/w_remainder.c,
29869         * native/fdlibm/w_sqrt.c:
29870         Updated to fdlibm 5.3.
29871         * native/fdlibm/e_cosh.c,
29872         * native/fdlibm/e_hypot.c,
29873         * native/fdlibm/e_log10.c,
29874         * native/fdlibm/e_sinh.c,
29875         * native/fdlibm/s_cbrt.c,
29876         * native/fdlibm/s_expm1.c,
29877         * native/fdlibm/s_log1p.c,
29878         * native/fdlibm/s_tanh.c,
29879         * native/fdlibm/w_cosh.c,
29880         * native/fdlibm/w_hypot.c,
29881         * native/fdlibm/w_log10.c,
29882         * native/fdlibm/w_sinh.c:
29883         Imported from fdlibm 5.3.
29884         * native/fdlibm/fdlibm.h:
29885         Imported from fdlibm 5.3 with Classpath additions.
29886         * native/fdlibm/namespace.h:
29887         Updated from new math_symbols file.
29888         * native/jni/java-lang/java_lang_VMMath.c:
29889         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
29890         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
29891         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
29892         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
29893         Implemented.
29894         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
29895         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
29896         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
29897         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
29898         * scripts/math_symbols:
29899         Added tanh, expm1, log10 and log1p.
29900         * vm/reference/java/lang/VMMath.java:
29901         (cbrt(double)): Implemented.
29902         (cosh(double)): Implemented.
29903         (expm1(double)): Implemented.
29904         (hypot(double,double)): Implemented.
29905         (log10(double)): Implemented.
29906         (log1p(double)): Implemented.
29907         (sinh(double)): Implemented.
29908         (tanh(double)): Implemented.
29909         
29910 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29911
29912         * javax/print/DocFlavor.java: Added documentation all over.
29913         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
29914         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
29915         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
29916         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
29917         (URL.TEXT_HTML_HOST): Likewise.
29918         (URL.TEXT_PLAIN_HOST): Likewise.
29919         (hostEncoding): Initialize with host default charset encoding.
29920         (mediaSubtype): Made transient.
29921         (mediaType): Likewise.
29922         (params): Made transient. Changed type to TreeMap.
29923         (className): Removed, changed to myClassName.
29924         (myClassName): New field as defined in serialized form.
29925         (DocFlavor): Adapted to new variable types, names.
29926         (parseMimeType): Reimplemented.
29927         (getParameter): Search with lowercase name.
29928         (getRepresentationClassName): Adapted to changed variable name.
29929         (hashCode): Likewise.
29930         (toString): Reimplemented.
29931         (readObject): New method for serialization.
29932         (writeObject): Likewise.
29933   
29934 2006-02-23  Roman Kennke  <kennke@aicas.com>
29935   
29936         * javax/swing/RepaintManager.java
29937         (commitBuffer): Clip the repaint area with the current clip.
29938   
29939 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
29940   
29941         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
29942         (DEFAULT_PRIME_SIZE): Made public.
29943         (DEFAULT_EXPONENT_SIZE): Likewise.
29944         (setup): Handle DHParameterSpec as well.
29945         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
29946         defaultFormat instead of Raw.
29947         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
29948         (checkIsConstructed): Removed.
29949         (checkIsBigInteger): Likewise.
29950         (decodePublicKey): Use DerUtil.
29951         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
29952         (checkIsConstructed): Removed.
29953         (checkIsBigInteger): Likewise.
29954         (decodePrivateKey): Use DerUtil.
29955         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
29956         KeyAgreement.DH.
29957         Added mappings for AlgorithmParameters.DH and
29958         AlgorithmParameterGenerator.DH.
29959         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
29960         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
29961         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
29962         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
29963         Return result.
29964         (engineGeneratePublic): Likewise.
29965         * gnu/java/security/util/DerUtil.java: New file.
29966         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
29967         Include only valid RSA PKCS1 (v1.5) signature names.
29968         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
29969         (RSAPKCS1V1_5SignatureX509Codec): Removed.
29970         (checkIsConstructed): Likewise.
29971         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
29972         (checkIsConstructed): Removed.
29973         (checkIsBigInteger): Likewise.
29974         (decodeSignature): Use DerUtil.
29975         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
29976         (checkIsConstructed): Removed.
29977         (checkIsBigInteger): Likewise.
29978         (decodePublicKey): Use DerUtil.
29979         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
29980         (checkIsConstructed): Removed.
29981         (checkIsBigInteger): Likewise.
29982         (decodePrivateKey): Use DerUtil.
29983         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
29984         (checkIsConstructed): Removed.
29985         (checkIsBigInteger): Likewise.
29986         (decodePublicKey): Use DerUtil.
29987         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
29988         (checkIsConstructed): Removed.
29989         (checkIsBigInteger): Likewise.
29990         (decodePrivateKey): Use DerUtil.
29991         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
29992         (DEFAULT_MODULUS_LENGTH): Made it public.
29993         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
29994         defaultFormat instead of Raw.
29995         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
29996         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
29997         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
29998         Return result.
29999         (engineGeneratePublic): Likewise.
30000         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30001
30002 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30003
30004         * java/math/BigDecimal.java:
30005         (BigDecimal(char[], int, int, MathContext)): New constructor.
30006         (BigDecimal(char[], MathContext)): Likewise.
30007         (BigDecimal(char[])): Likewise.
30008         (BigDecimal(char[], int, int)): Likewise.
30009         (BigDecimal(String)): Fixed handling of exponent and scale.
30010
30011 2006-02-22  Mark Wielaard  <mark@klomp.org>
30012
30013         * java/awt/Checkbox.java (setState): Check that state actually changed
30014         before calling peer.
30015         (dispatchEventImpl): Set new state if ItemEvent.
30016         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30017         (create): Set currentState.
30018         (setState): Make synchronized, check and set currentState before
30019         calling gtkToggleButtonSetActive.
30020         (postItemEvent): Make synchronized, check and set currentState before
30021         posting ItemEvent.
30022         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30023         (postItemEventID): Method now takes boolean.
30024         (item_toggled_cb): Likewise.
30025   
30026 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30027   
30028         * javax/swing/text/DefaultHighlighter.java:
30029         (changeHighlight): Added code to minimize the damaged area.
30030   
30031 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30032   
30033         * javax/swing/text/PlainView.java:
30034         (getPreferredSpan): Added missing 'break'.
30035         statement which corrects an unwanted fall through.
30036         (updateDamage): Update maxLineLength correctly when text is
30037         removed, call preferenceChanged accordingly.
30038         (viewToModel): Restrict line number to be within 0 and the
30039         number of elements-1.
30040   
30041 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30042   
30043         * javax/swing/text/Utilities.java:
30044         (getPositionAbove): Prefer first value by changing comparison
30045         from < to <=.
30046         (getPositionBelow): Dito.
30047   
30048 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30049   
30050         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30051         behavior when magic caret position is null.
30052   
30053 2006-02-22  Roman Kennke  <kennke@aicas.com>
30054   
30055         * javax/swing/JTextField.java
30056         (isValidateRoot): New method.
30057   
30058 2006-02-22  Roman Kennke  <kennke@aicas.com>
30059   
30060         * javax/swing/JEditorPane.java
30061         (getPreferredSize): Rewritten to behave like the reference impl.
30062         (getScrollableTracksViewportWidth): Likewise.
30063         (getScrollableTracksViewportHeight): Likewise.
30064   
30065 2006-02-22  Roman Kennke  <kennke@aicas.com>
30066   
30067         * javax/swing/RepaintManager.java
30068         (addInvalidComponent): Also consider the component itself.
30069   
30070 2006-02-22  Mark Wielaard  <mark@klomp.org>
30071   
30072         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30073         qualify AbstractDocument.AttributeContext.
30074         (blockOpen): Likewise.
30075   
30076 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30077
30078         * java/math/BigDecimal.java:
30079         (mathContext): New field.
30080         (precision): Likewise.
30081         (BigDecimal(int)): New constructor.
30082         (BigDecimal(long)): Likewise.
30083         (BigDecimal(BigInteger)): Added API docs.
30084         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30085         and added API docs.
30086         (plus): New method.
30087         (round): Likewise.
30088         (precision): Likewise.
30089         (valueOf): Likewise.
30090         (numDigitsInLong): New implementation method.
30091
30092 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30093
30094         * java/math/MathContext.java: New class.
30095         * java/math/RoundingMode: New Enum.
30096
30097 2006-02-21  Mark Wielaard  <mark@klomp.org>
30098   
30099         * java/awt/Component.java (translateEvent): Translate
30100         AdjustmentEvents to 1.0 Events.
30101         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30102         Call setValue() before processing event.
30103         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30104         whether we are currently changing and being called back from the
30105         Scrollbar component.
30106         (setBarValues): New native method.
30107         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30108         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30109         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30110         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30111         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30112   
30113 2006-02-21  Roman Kennke  <kennke@aicas.com>
30114   
30115         * javax/swing/text/View.java
30116         (setParent): Set child parent to null when disconnecting
30117         the view from the View hierarchy.
30118   
30119 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30120   
30121         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30122   
30123 2006-02-21  Roman Kennke  <kennke@aicas.com>
30124   
30125         * javax/swing/text/WrappedPlainView.java
30126         (calculateBreakPosition): Changed to use the view's allocation instead
30127         of the container's preferredSize.
30128   
30129 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30130   
30131         * java/awt/CardLayout.java:
30132         (first): Updated api documentation.
30133         (last): Likewise.
30134         (next): Likewise.
30135         (previous): Likewise.
30136         (show): Clarified api docs. Return if name is null. Throw
30137         IllegalArgumentException if layout of container is not this.
30138         (gotoComponent): Updated api documentation. Throw
30139         IllegalArgumentException if layout of container is not this.
30140   
30141 2006-02-21  Roman Kennke  <kennke@aicas.com>
30142   
30143         * javax/swing/text/NavigationFilter.java
30144         (getNextVisualPositionFrom): New method.
30145   
30146 2006-02-21  Roman Kennke  <kennke@aicas.com>
30147   
30148         * javax/swing/plaf/basic/BasicTextUI.java
30149         (RootView.setView): Call setParent() on the view with this as
30150         argument instead of null.
30151         (setView): Don't set root view's parent here.
30152   
30153 2006-02-21  Roman Kennke  <kennke@aicas.com>
30154   
30155         * javax/swing/text/AbstractDocument.java
30156         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30157         the resolving parent.
30158         (AbstractElement.getResolveParent): Fixed to handle possible null
30159         parent.
30160         * javax/swing/text/BoxView.java
30161         (childReqs): New field.
30162         (paint): Added debugging code (commented out).
30163         (getPreferredSpan): Rewritten to use new update* methods.
30164         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30165         for the minor axis and preferredSpan for the major axis.
30166         (getMinimumSpan): Rewritten to use new update* methods.
30167         (baselineRequirements): Rewritten to avoid creation of 
30168         unnecessary SizeRequirements objects.
30169         (baselineLayout): Rewritten to use new update* methods.
30170         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30171         unnecessary SizeRequirements objects.
30172         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30173         unnecessary SizeRequirements objects.
30174         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30175         into warnings.
30176         (layoutMajorAxis): Rewritten to use new update* methods.
30177         (layoutMinorAxis): Rewritten to use new update* methods.
30178         (getChildRequirements): Replaced by the update* methods.
30179         (getAlignment): Use update* methods.
30180         (updateChildRequirements): New methods. Updates the child requirements
30181         if necessary.
30182         (updateRequirements): New methods. Updates the BoxView requirements
30183         if necessary.
30184         * javax/swing/text/DefaultStyledDocument.java
30185         (ElementBuffer.insert): Added warning for illegal replacement operation.
30186         * javax/swing/text/FlowView.java
30187         (layoutRow): When offset doesn't change, return -1.
30188         (LogicalView): Now subclasses BoxView.
30189         (loadChildren): Let the CompositeView.setParent() load the children
30190         of the logicalView.
30191         (calculateMinorRequirements): New overridden method.
30192         * javax/swing/text/GlyphView.java
30193         (DefaultGlyphPainter.paint): Fixed typo.
30194         (startOffset): Made field private.
30195         (endOffset): Made field private.
30196         (paint): Call getStartOffset() and getEndOffset() instead of the
30197         element methods.
30198         (isStrikeThrough): Fixed typo.
30199         (breakView): Use Utilities.getBreakLocation() to determine best
30200         break location.
30201         (changedUpdate): Call preferencedChange on this instead of parent.
30202         (removeUpdate): Call preferencedChange on this instead of parent.
30203         * javax/swing/text/ParagraphView.java
30204         (Row.getAlignment): For Y_AXIS, call super.
30205         (getAlignment): Likewise.
30206         * javax/swing/text/Utilities.java
30207         (getBreakLocation): Set Segment object directly on the BreakIterator.
30208         * javax/swing/text/html/HTML.java
30209         (Attribute): Made class non-serializable and final as specified.
30210         (Attribute(String)): Made constructor private.
30211         (Attribute.compareTo): Removed.
30212         (Attribute.equals): Removed.
30213         (Attribute.hashCode): Removed.
30214         (Tag): Made class non-comparable and non-serializable as specified.
30215         (Tag.compareTo): Removed.
30216         (Tag.equals): Removed.
30217         (Tag.hashCode): Removed.
30218         * javax/swing/text/html/HTMLDocument.java
30219         (HTMLReader.blockOpen): Add tag as name attribute to element.
30220         * javax/swing/text/html/HTMLEditorKit.java
30221         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30222         fallback.
30223         * javax/swing/text/html/InlineView.java
30224         (setPropertiesFromAttributes): Call super.
30225         * javax/swing/text/html/NullView.java: New class.
30226   
30227 2006-02-21  Roman Kennke  <kennke@aicas.com>
30228   
30229         PR classpath/26368
30230         * javax/swing/text/GapContent.java
30231         (GapContentPosition): Made class private.
30232         (InsertUndo): Made class private.
30233         (UndoRemove): Made class private.
30234         (WeakPositionComparator): New inner class.
30235         (positions): Made field private.
30236         (createPosition): Clear up GC'ed positions before creating
30237         a new one. Store position as WeakReference.
30238         (getPositionsInRange): Changed to handle WeakReference
30239         positions.
30240         (setPositionsInRange): Changed to handle WeakReference
30241         positions.
30242         (adjustPositionsInRange): Changed to handle WeakReference
30243         positions.
30244         (dumpPositions): Handle WeakReference positions.
30245         (clearPositionReferences): New method.
30246   
30247 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30248   
30249         * javax/swing/plaf/basic/BasicTextUI.java:
30250         (paint): Remove unneccessary part of the if-expression.
30251         (damageRange): Added case where the range spans multiple lines.
30252         * javax/swing/text/DefaultCaret.java:
30253         (clearHighlight): New method.
30254         (handleHighlight): Removed unneccessary part of the if-expression.
30255         (setDot): Use clearHighlight method.
30256         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30257         of Vector.
30258         (paint): Prevented calling size() on every loop iteration, fixed
30259         calculation of allocation area bounds.
30260         (getHighlights): Implemented.
30261         (removeHighlight): Mark damaged area in textcomponent.
30262         (addHighlight): Mark damaged area in textcomponent.
30263         (changeHighlight): Mark damaged area in textcomponent.
30264         (DefaultHighlighter.HighlightEntry): Made it a real
30265         Highlighter.Highlight implementation.
30266         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30267         calculations.
30268
30269 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30270
30271         * java/util/zip/ZipConstants.java
30272         (LOCSIG): Change type to long.
30273         (EXTSIG): Likewise.
30274         (CENSIG): Likewise.
30275         (ENDSIG): Likewise.
30276         * java/util/zip/ZipOutputStream.java
30277         (writeLeInt(long)): New method.
30278   
30279 2006-02-21  Michael Koch  <konqueror@gmx.de>
30280   
30281         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30282   
30283 2006-02-20  Mark Wielaard  <mark@klomp.org>
30284   
30285         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30286         (begin_drawing_operation): Output stacktrace and return on bad cairo
30287         status.
30288         (end_drawing_operation): Likewise. And reset cairo_t.
30289   
30290 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30291   
30292         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30293         in backward selection action.
30294   
30295 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30296   
30297         * java/lang/reflect/Proxy.java:
30298         (ProxyData.getProxyData): Skipped overriding of core methods.
30299         (ProxyData.isCoreObjectMethod): New method.
30300   
30301 2006-02-20  Mark Wielaard  <mark@klomp.org>
30302   
30303         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30304   
30305 2006-02-20  Roman Kennke  <kennke@aicas.com>
30306   
30307         * javax/swing/text/html/Option.java: New class.
30308   
30309 2006-02-20  Lillian Angel  <langel@redhat.com>
30310   
30311         * java/swt/Window.java
30312         (show): Calling show() on the owned windows caused problems.
30313         Changed back to get the peer and call setVisible.
30314   
30315 2006-02-20  Roman Kennke  <kennke@aicas.com>
30316   
30317         * javax/swing/plaf/basic/BasicTextUI.java
30318         (damageRange): Implemented this method.
30319   
30320 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30321   
30322         * javax/swing/text/GapContent.java:
30323         (shiftGapEndUp): Corrected new mark value.
30324         * javax/swing/text/AbstractDocument.java:
30325         (remove): Changed order of operations.
30326   
30327 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30328   
30329         * javax/swing/text/GapContent.java:
30330         (shiftGapEndUp): Reverted.
30331         * javax/swing/text/AbstractDocument.java:
30332         (remove): Reverted.
30333   
30334 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30335   
30336         * javax/swing/text/GapContent.java:
30337         (shiftGapEndUp): Corrected new mark value.
30338         * javax/swing/text/AbstractDocument.java:
30339         (remove): Changed order of operations.
30340   
30341 2006-02-20  Mark Wielaard  <mark@klomp.org>
30342   
30343         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30344         parent field.
30345         (insert): Likewise.
30346         (addNotify): Add the item after addNotifying it.
30347         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30348         there is a peer. Use getParent() and setParent() to manipulate parent
30349         field.
30350         (add(Menu)): Use getParent() and setParent() to manipulate parent
30351         field. Call addNotify() and addMenu() when there is a peer.
30352         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30353         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30354         when there is a peer.
30355         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30356         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30357         (setFont): Call setFont(Font).
30358         (setFont(Font)): Document. Only set font when not null.
30359         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30360         protected.
30361         (connectSignals): Likewise.
30362         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30363         connectSignals().
30364         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30365         protected.
30366         (postMenuActionEvent): Document.
30367         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30368         protected.
30369         (addItem): Document. Made private.
30370         (addTearOff): Made private.
30371         (connectSignals): New protected overridden method.
30372         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30373         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30374         (create): Document.
30375         (addMenu): Made private, take GtkMenuPeer as argument and document.
30376         (GtkMenuBarPeer): Document.
30377         (nativeSetHelpMenu): Removed.
30378         (addHelpMenu): Implement.
30379         (delMenu): Document.
30380         (addMenu): Implement.
30381         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30382         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30383         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30384         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30385         Removed.
30386   
30387 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30388   
30389         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30390         Expect that proxy interfaces may have different class loaders.
30391         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30392         * java/rmi/registry/Registry.java,
30393         * java/rmi/server/UnicastRemoteObject.java: 
30394         Documented about proxy stubs.
30395         * gnu/java/rmi/server/CombinedClassLoader.java,
30396         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30397         * NEWS: Added entry.
30398
30399 2006-02-19  Mark Wielaard  <mark@klomp.org>
30400
30401         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30402         Parent and Bounds of our children if either or parent is showing, or
30403         we are a Window and are showing ourselves now.
30404   
30405 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30406   
30407         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30408         New method.
30409         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30410         Another stub name fix.
30411   
30412 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30413   
30414         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30415         Call convertStubName. (convertStubName): New method.
30416         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30417         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30418         (convertStubName): New method.
30419         (getMethodHashCode): 
30420         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30421         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30422
30423 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30424
30425         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30426
30427 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30428
30429         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30430
30431 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30432
30433         * javax/swing/JViewport.java (paintBackingStore): If the component has
30434         not been scrolled, only repaint the buffer part, indicated by
30435         the parameter graphics clip. 
30436      
30437 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30438
30439         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30440         internal format.
30441         (writePrivateKey): Likewise.
30442         (writeKey): New method.
30443         (getKeyType): Likewise.
30444         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30445         internal format.
30446         (readPrivateKey): Likewise.
30447         (getKeyPairCodec): New method.
30448         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30449         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30450         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30451         (RSA_PSS_ENCODING): Likewise..
30452         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30453         (RSA_PSS_SIG): Redefined using other constants.
30454         (RSA_PKCS1_V1_5_SIG): Likewise.
30455         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30456         * gnu/java/security/util/FormatUtil.java: New file.
30457         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30458         (getInstance): Let RSASignatureFactory handle RSA signature names.
30459         (getNames): Handle new RSA signature (with format) names.
30460         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30461         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30462         for null md.
30463         (name): Include hash algorithm name.
30464         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30465         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30466         (RSAPSSSignature): Call constructor with IMessageDigest.
30467         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30468         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30469         file.
30470         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30471         Likewise.
30472         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30473         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30474         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30475         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30476         hash algorithm name to exception.
30477         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30478         * gnu/java/security/key/KeyPairCodecFactory.java
30479         (names): New class field.
30480         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30481         (getInstance(String,String)): New method.
30482         (getInstance(String,int)): New method.
30483         (getInstance(byte[])): Removed.
30484         (getInstance(Key)): Handle new formats.
30485         (getNames): Likewise.
30486         (getEncodingName(int)): Moved to FormatUtil.
30487         (getEncodingShortName(int)): Likewise.
30488         (getRawCodec(String)): New method.
30489         (getX509Codec(String)): Likewise.
30490         (getPKCS8Codec(String)): Likewise.
30491         (getRawCodec(Key)): Likewise.
30492         (getX509Codec(Key)): Likewise.
30493         (getPKCS8Codec(Key)): Likewise.
30494         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30495         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30496         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30497         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30498         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30499         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30500         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30501         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30502         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30503
30504 2006-02-18  Mark Wielaard  <mark@klomp.org>
30505
30506         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30507         DragSource.
30508         (NoDragGestureRecognizer): New static class.
30509         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30510         Toolkit doesn't support drag and drop.
30511
30512 2006-02-18  Mark Wielaard  <mark@klomp.org>
30513
30514         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30515         (AbstractAction(String)): Just call putValue() for NAME.
30516         (putValue): Nothing to do is old and new value are both null.
30517
30518 2006-02-18  Mark Wielaard  <mark@klomp.org>
30519
30520         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30521         through getContentPane().
30522         (preferredLayoutSize): Likewise.
30523
30524 2006-02-18  Mark Wielaard  <mark@klomp.org>
30525
30526         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30527         actually set before painting.
30528
30529 2006-02-18  Mark Wielaard  <mark@klomp.org>
30530
30531         * javax/swing/text/html/HTMLDocument.java (addContent):
30532         Fully qualify AbstractDocument.AttributeContext and
30533         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30534
30535 2006-02-18  Mark Wielaard  <mark@klomp.org>
30536
30537         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30538         (getRepresentationClassFromMime): Add exception cause to
30539         IllegalArgumentException.
30540   
30541 2006-02-17  Lillian Angel  <langel@redhat.com>
30542   
30543         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30544         Removed unneeded import.
30545         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30546         Removed unneeded imports.
30547         * java/awt/BorderLayout.java:
30548         Fixed comment, this is not yet handled in the JDK 1.5.
30549         * java/awt/Container.java:
30550         Removed unneeded import.
30551   
30552 2006-02-17  Lillian Angel  <langel@redhat.com>
30553   
30554         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30555         (setBounds): Removed check. Coordinates should always be changed
30556         to incorporate the parent's coordinates.
30557         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30558         (setMenuBar): Added checks. Don't validate component if it has 
30559         not been validated yet, it will be validated later. Only validate
30560         if it has already been validated, in that case it needs to be
30561         revalidated.
30562         * java/awt/Window.java
30563         (show): Added check. If the window is visible, then bring it to the
30564         front. Otherwise, iterate through all its children windows and show them.
30565         No need to do both.
30566
30567 2006-02-17  Roman Kennke  <kennke@aicas.com>
30568
30569         * javax/swing/text/html/ParagraphView.java: New file.
30570
30571 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30572
30573         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30574         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30575         same location where was the initial text.
30576         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30577
30578 2006-02-17  Chris Burdess  <dog@gnu.org>
30579
30580         Fixes PRs 26319, 26320, 26321, 26322, 26325
30581         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30582           rethrowing exception.
30583         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30584           1.1-style prefix unbinding in 1.0 document" error for xmlns
30585           prefixes, not xmlns attributes. Fix a problem with empty namespace
30586           stack at the end of a document. Permit parameter entity references
30587           in element and attribute-list definition name area. Corrected
30588           normalisation of whitespace character entity references in CDATA
30589           attribute values. Fixed number of characters read following a
30590           reset when detecting end of character data with characters after a
30591           Unicode surrogate pair.
30592   
30593 2006-02-17  Roman Kennke  <kennke@aicas.com>
30594   
30595         * javax/swing/text/html/HTMLEditorKit.java
30596         (HTMLFactory.create): Create InlineView for content tags.
30597         * javax/swing/text/html/HTMLDocument.java
30598         (HTMLReader.flush): Call create() on first flush and insert
30599         on subsequent flushes.
30600   
30601 2006-02-17  Roman Kennke  <kennke@aicas.com>
30602   
30603         * javax/swing/text/AbstractDocument.java
30604         (BranchElement.getStartOffset): Implemented workaround for wrong
30605         NPE.
30606         (BranchElement.getEndOffset): Implemented workaround for wrong
30607         NPE.
30608         (ElementBuffer.split): Use createBranchElement() instead of
30609         new BranchElement().
30610         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30611         new BranchElement().
30612         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30613         instead of new BranchElement().
30614         (createDefaultRoot): Use createBranchElement() and createLeafElement
30615         instead of the constructors.
30616         (create): Rewritten.
30617   
30618 2006-02-17  Keith Seitz  <keiths@redhat.com>
30619   
30620         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30621         (SIZE): New constant.
30622         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30623         (executeIDsizes): Use SIZE constant.
30624         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30625         (SIZE): New constant.
30626
30627 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30628
30629         * javax/swing/JTable.java (IconCellRenderer): Set the component
30630         text to empty string. (createDefaultRenderers): Register
30631         IconCellRenderer also for ImageIcon. 
30632         (getCellEditor(int, int), getCellRenderer(int, int)):
30633         Use model index for data model and column index for column model.
30634         (getColumnClass): Convert to model index before requesting class
30635         from model. 
30636   
30637 2006-02-17  Roman Kennke  <kennke@aicas.com>
30638   
30639         * javax/swing/text/html/HTMLDocument.java
30640         (createDefaultRoot): Implemented.
30641         (createLeafElement): Implemented.
30642         (createBranchElement): Implemented.
30643         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30644         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30645         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30646         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30647         (HTMLReader.blockOpen): Add name attribute with the current tag.
30648         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30649   
30650 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30651   
30652         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30653         Rewritten.
30654         * javax/swing/table/JTableHeader.java: Documenting related methods.
30655   
30656 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30657   
30658         Fixes PR 25752
30659         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30660         (connect): Changed to use SystemProperties.
30661         (getInputStream): Try changeWorkingDirectory to figure out if
30662         url is a directory, if not use retrieve.
30663         (getOutputStream): Don't worry about directories, simply always
30664         try to do a store.
30665   
30666 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30667   
30668         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30669         (ActiveModeDTP): Mark accept thread as daemon.
30670   
30671 2006-02-17  Michael Koch  <konqueror@gmx.de>
30672   
30673         * tools/.cvsignore: Ignore tools.zip.
30674   
30675 2006-02-16  Keith Seitz  <keiths@redhat.com>
30676   
30677         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30678         Set the ID's reference.
30679         (<clinit>): Remove comments for field, method, and frame ID types,
30680         which will not be handled by VMIdManager.
30681   
30682 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30683   
30684         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30685         Use model index, not the column number.
30686         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30687         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30688         movement by painting draggingHeaderRect.
30689         * NEWS: Added entry about JTable columns. 
30690   
30691 2006-02-16  Keith Seitz  <keiths@redhat.com>
30692   
30693         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30694         default size of eight bytes.
30695         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30696         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30697         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30698         (executeIDsizes): Use new static methods.
30699         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30700         method.
30701         
30702 2006-02-16  David Daney  <ddaney@avtrex.com>
30703   
30704         PR classpath/26312
30705         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30706         return value with 0xff.
30707   
30708 2006-02-16  Keith Seitz  <keiths@redhat.com>
30709   
30710         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30711         (matches): Use Iterator instead of ListIterator.
30712   
30713 2006-02-16  Keith Seitz  <keiths@redhat.com>
30714   
30715         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30716         processor thread for easier debugging.
30717         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30718         main thread.
30719   
30720 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30721   
30722         * javax/swing/JTable.java 
30723         (TableColumnPropertyChangeHandler.propertyChange): Return without
30724         action if table header resizing column in not null. (doLayout):
30725         Only repaint the header if it is not null.      
30726         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30727         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30728         Rewritten. (MouseInputHandler.endResizing): New method.
30729   
30730 2006-02-16  Roman Kennke  <kennke@aicas.com>
30731   
30732         * javax/swing/text/html/InlineView.java: New file.
30733   
30734 2006-02-16  Roman Kennke  <kennke@aicas.com>
30735   
30736         * javax/swing/JTabbedPane.java
30737         (AccessibleJTable.getAccessibleChild): Implemented to return
30738         the Page instance for the specified index.
30739         (Page): Changed to implement Accessible and extend
30740         AccessibleContext.
30741         (Page.getAccessibleContext): New method.
30742         (Page.getAccessibleRole): New method.
30743         (Page.getAccessibleStateSet): New method.
30744         (Page.getAccessibleIndexInParent): New method.
30745         (Page.getAccessibleChildrenCount): New method.
30746         (Page.getAccessibleChild): New methdod.
30747         (Page.getLocale): New method.
30748   
30749 2006-02-16  Roman Kennke  <kennke@aicas.com>
30750   
30751         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30752         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30753         tabCount gets greater than tabRuns.length.
30754         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30755         when tabCount gets greater than tabRuns.length.
30756         (paintTabArea): Don't set tabCount == runCount.
30757   
30758 2006-02-16  Roman Kennke  <kennke@aicas.com>
30759   
30760         * javax/swing/plaf/basic/BasicTextUI.java
30761         (installUI): Moved installation of PropertyChangeListener
30762         to installListeners(). Call modelChanged() after everything is
30763         is installed.
30764         (installListeners): Install PropertyChangeListener here.
30765         (uninstallUI): Moved uninstallation of PropertyChangeListener
30766         to uninstallListeners.
30767         (uninstallListeners): Uninstall PropertyChangeListener here.
30768
30769 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30770
30771         * javax/swing/JTable.java (doLayout): 
30772         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30773         on exit.
30774         javax/swing/plaf/basic/BasicTableHeaderUI.java 
30775         (MouseInputHandler.mouseDragged): Do not repaint the header.
30776   
30777 2006-02-16  Roman Kennke  <kennke@aicas.com>
30778   
30779         * javax/swing/JViewport.java
30780         (static_initializer): Set default scrollMode to backingstore.
30781   
30782 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30783   
30784         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30785         returned by getCellRect. To not translate the component.
30786   
30787 2006-02-16  Roman Kennke  <kennke@aicas.com>
30788   
30789         * javax/swing/JComponent.java
30790         (rectCache): Made field non-static to avoid nasty interferences.
30791         (computeVisibleRect): Avoid creation of new Rectangles and double
30792         calculations on ints by using Swing.computeIntersection() instead
30793         of Rectangle2D.intersect().
30794         (repaint): Interect the dirty region with the visible rectangle
30795         of this component to avoid unnecessary painting.
30796   
30797 2006-02-16  Gary Benson  <gbenson@redhat.com>
30798   
30799         * java/lang/Thread.java (stop): Add a missing access check.
30800   
30801 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
30802   
30803         * javax/swing/text/JTextComponent.java:
30804         (replaceSelection): Added code to update the magic caret position.
30805         * javax/swing/text/DefaultEditorKit.java: Added code to update
30806         the magic caret position of the text component in all relevant
30807         movement actions, make use of the magic caret position in up
30808         and down movements and selections, simplified some actions
30809         (code-wise).
30810
30811 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
30812
30813         * gnu/java/lang/CharData.java: Regenerated from 
30814         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30815         and scripts/unicode-muncher.pl.
30816         * java/lang/Character.java: 
30817         (PrivateUseCharacters): New private static class.
30818         (UnassignedCharacters): Likewise.
30819         (blocks): Changed from char[] to char[][] to reflect the changes in 
30820         gnu/java/lang/CharData.  There is now one char[] per Unicode code
30821         plane.
30822         (data): Likewise.
30823         (numValue): Likewise.
30824         (upper): Likewise.
30825         (lower): Likewise.
30826         (direction): Likewise.
30827         (readChar): Replaced this method with new method readCodePoint.
30828         (readCodePoint): New method.
30829         (isLowerCase(char)): Redirected to new isLowerCase(int).
30830         (isLowerCase(int)): New method.
30831         (isUpperCase(char)): Redirected to new isUpperCase(int).
30832         (isUpperCase(int)): New method.
30833         (isTitleCase(char)): Redirected to new isTitleCase(int).
30834         (isTitleCase(int)): New method.
30835         (isDigit(char)): Redirected to new isDigit(int).
30836         (isDigit(int)): New method.
30837         (isDefined(char)): Redirected to new isDefined(int).
30838         (isDefined(int)): New method.
30839         (isLetter(char)): Redirected to new isLetter(int).
30840         (isLetter(int)): New method.
30841         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
30842         (isLetterOrDigit(int)): New method.
30843         (isJavaIdentifierStart(char)): Redirected to new 
30844         isJavaIdentifierStart(int).
30845         (isJavaIdentifierStart(int)): New method.
30846         (isJavaIdentifierPart(char)): Redirected to new 
30847         isJavaIdentifierPart(int).
30848         (isJavaIdentifierPart(int)): New method.
30849         (isUnicodeIdentifierStart(char)): Redirected to new
30850         isUnicodeIdentifierStart(int).
30851         (isUnicodeIdentifierStart(int)): New method.
30852         (isUnicodeIdentifierPart(char)): Redirected to new 
30853         isUnicodeIdentifierPart(int).
30854         (isUnicodeIdentifierPart(int)): New method.
30855         (isIdentifierIgnorable(char)): Redirected to new
30856         isIdentifierIgnorable(int).
30857         (isIdentifierIgnorable(int)): New method.
30858         (toLowerCase(char)): Changed access to lower to correspond with new
30859         char[][] type of lower.
30860         (toLowerCase(int)) New method.
30861         (toUpperCase(char)): Changed access to upper to correspond with new
30862         char[][] type of upper.
30863         (toUpperCase(int)): New method.
30864         (toTitleCase(int)): New method.
30865         (digit(char, int)): Replaced call to readChar with call to 
30866         readCodePoint and changed access to numValue to reflect new char[][]
30867         type of numValue. 
30868         (digit(int, int)): New method.
30869         (getNumericValue(char)): Changed access to numValue to reflect new
30870         char[][] type of numValue.
30871         (getNumericValue(int)): New method.
30872         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
30873         (isSpaceChar(int)): New method.
30874         (isWhitespace(char)): Redirected to new isWhitespace(int).
30875         (isWhitespace(int)): New method.
30876         (isISOControl(char)): Redirected to new isISOControl(int).
30877         (isISOControl(int)): New method.
30878         (getType(char)): Redirected to new getType(int).
30879         (getType(int)): New method.
30880         (getDirectionality(char)): Redirected to new getDirectionality(int).
30881         (getDirectionality(int)): New method.
30882         (isMirrored(char)): Changed call to readChar to readCodePoint.
30883         (isMirrored(int)): New method.
30884         * java/lang/String.java:
30885         (upperCaseExpansion): Changed access to Character.direction to reflect
30886         new char[][] type of direction.
30887         (offsetByCodePoints): New method.
30888         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
30889         4.0.0 which introduced supplementary character assignments.  
30890
30891 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30892
30893         * javax/swing/JTable.java,
30894         javax/swing/plaf/basic/BasicTableHeaderUI.java,
30895         javax/swing/table/DefaultTableModel.java: Documented.
30896   
30897 2006-02-15  Lillian Angel  <langel@redhat.com>
30898   
30899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
30900         Removed duplicate methods.
30901   
30902 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30903   
30904         * javax/swing/JTable.java (distributeSpillResizing): New method.
30905         (doLayout): Use distributeSpillResizing when resizing.
30906         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30907         Rewritten. (installListeners): Add mouse motion listener. 
30908         (uninstallListeners): Remove mouse motion listener. 
30909   
30910 2006-02-15  Lillian Angel  <langel@redhat.com>
30911   
30912         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
30913         (setVisible): Removed method.
30914         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
30915         (setLocation): New method.
30916         (setLocationUnlocked): New method.
30917         (show): Changed to use setLocation instead of setBounds.
30918         * java/awt/Component.java
30919         (show): Should call peer.show(), not peer.setVisible(), so the
30920         location of the component is correctly set.
30921         (preferredSize): Added curly braces so else statements are
30922         properly associated with if's.
30923         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
30924         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
30925         New function.
30926         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
30927         LocationUnlocked): New function.
30928         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
30929         Added declarations for Java_gnu_java_awt_peer_gtk_
30930         GtkWindowPeer_nativeSetLocation and 
30931         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
30932         _nativeSetLocationUnlocked.
30933   
30934 2006-02-15  Mark Wielaard  <mark@klomp.org>
30935   
30936         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
30937         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
30938         Downcast gtk_plug_new result when used.
30939   
30940 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
30941   
30942         * java/io/ObjectOutputStream.java (writeClassDescriptor):
30943         Call assignNewHandle() after writing Proxy class.
30944   
30945 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
30946   
30947         Fixes bug #14144
30948         * java/io/ObjectInputStream.java (readClassDescriptor):
30949         Class doesn't have to be abstract for first_nonserial.
30950   
30951 2006-02-15  Roman Kennke  <kennke@aicas.com>
30952   
30953         * javax/swing/JInternalFrame.java
30954         (setClosed): Call dispose to actually make the frame invisible
30955         and unselected.
30956   
30957 2006-02-15  Roman Kennke  <kennke@aicas.com>
30958   
30959         * javax/swing/JInternalFrame.java
30960         (dispose): Call setVisible(false) instead of hide.
30961         (doDefaultCloseOperation): Likewise.
30962   
30963 2006-02-15  Roman Kennke  <kennke@aicas.com>
30964   
30965         * javax/swing/JComponent.java
30966         (paintChildren): Also check for the visibility of a child component
30967         to avoid artifacts.
30968         (repaint): Simply add this component to the RepaintManager rather than
30969         trying to do useless optimization here.
30970   
30971 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
30972   
30973         * javax/swing/JSpinner.java
30974         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
30975         PropertyChangeListener,
30976         (DefaultEditor.getSpinner): Updated API docs,
30977         (DefaultEditor.dismiss): Likewise,
30978         (DefaultEditor.getTextField): Likewise,
30979         (DefaultEditor.layoutContainer): Likewise,
30980         (DefaultEditor.minimumLayoutSize): Likewise,
30981         (DefaultEditor.preferredLayoutSize): Likewise,
30982         (DefaultEditor.propertyChange): Implemented,
30983         (DefaultEditor.stateChanged): Implemented,
30984         (DefaultEditor.removeLayoutComponent): Updated API docs,
30985         (DefaultEditor.addLayoutComponent): Likewise,
30986         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
30987         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
30988         (NumberEditor.getFormat): Implemented,
30989         (NumberEditor.getModel): Updated API docs,
30990         (NumberEditorFormatter): New static inner class,
30991         (ListEditor.getModel): Updated API docs,
30992         (DateEditor.dateFormat): Removed,
30993         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
30994         (DateEditor.DateEditor(JSpinner, String)): Likewise,
30995         (DateEditor.init): Removed,
30996         (DateEditor.getFormat): Reimplemented,
30997         (DateEditorFormatter): New static inner class,
30998         (ModelListener): New inner class,
30999         (model): Updated API docs,
31000         (editor): Likewise,
31001         (listener): Removed,
31002         (JSpinner()): Updated API docs,
31003         (JSpinner(SpinnerModel)): Set up ModelListener,
31004         (setEditor): Fire property change,
31005         (getModel): Updated API docs,
31006         (setModel): Removed check for null editor,
31007         (setValue): Updated API docs,
31008         (getUIClassID): Updated API docs,
31009         (createEditor): Handle SpinnerListModel case,
31010         * javax/swing/plaf/basic/BasicSpinnerUI.java
31011         (createUI): Updated API docs,
31012         (createPropertyChangeListener): Added FIXME,
31013         (installDefaults): Set text field border to null,
31014         (DefaultLayoutManager): Updated API docs,
31015         (DefaultLayoutManager.layoutContainer): Modified layout,
31016         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31017         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31018         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31019         (DefaultLayoutManager.addLayoutComponent): Likewise,
31020         (DefaultLayoutManager.minSize): Renamed prefSize,
31021         (DefaultLayoutManager.setBounds): Reformatted,
31022         (DefaultLayoutManager.editor): Added API docs,
31023         (DefaultLayoutManager.next): Likewise,
31024         (DefaultLayoutManager.previous): Likewise,
31025         * javax/swing/plaf/metal/MetalLookAndFeel.java
31026         (initComponentDefaults): Added entry for 'Spinner.border',
31027         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31028
31029 2006-02-15  Chris Burdess  <dog@gnu.org>
31030
31031         * gnu/xml/validation/datatype/BooleanType.java,
31032           gnu/xml/validation/datatype/ByteType.java,
31033           gnu/xml/validation/datatype/DateTimeType.java,
31034           gnu/xml/validation/datatype/DateType.java,
31035           gnu/xml/validation/datatype/DecimalType.java,
31036           gnu/xml/validation/datatype/DoubleType.java,
31037           gnu/xml/validation/datatype/DurationType.java,
31038           gnu/xml/validation/datatype/FloatType.java,
31039           gnu/xml/validation/datatype/GDayType.java,
31040           gnu/xml/validation/datatype/GMonthDayType.java,
31041           gnu/xml/validation/datatype/GMonthType.java,
31042           gnu/xml/validation/datatype/GYearMonthType.java,
31043           gnu/xml/validation/datatype/GYearType.java,
31044           gnu/xml/validation/datatype/IntType.java,
31045           gnu/xml/validation/datatype/IntegerType.java,
31046           gnu/xml/validation/datatype/LongType.java,
31047           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31048           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31049           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31050           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31051           gnu/xml/validation/datatype/NegativeIntegerType.java,
31052           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31053           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31054           gnu/xml/validation/datatype/PositiveIntegerType.java,
31055           gnu/xml/validation/datatype/ShortType.java,
31056           gnu/xml/validation/datatype/SimpleType.java,
31057           gnu/xml/validation/datatype/TimeType.java,
31058           gnu/xml/validation/datatype/TypeBuilder.java,
31059           gnu/xml/validation/datatype/UnsignedByteType.java,
31060           gnu/xml/validation/datatype/UnsignedIntType.java,
31061           gnu/xml/validation/datatype/UnsignedLongType.java,
31062           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31063           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31064           minInclusive facets use the value space of the base type, and
31065           implement.
31066
31067 2006-02-15  Mark Wielaard  <mark@klomp.org>
31068
31069         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31070         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31071         gtk_plug_new() returns a GtkWindow.
31072
31073 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31074
31075         * javax/swing/SpinnerNumberModel.java
31076         (getNextValue): Check for null maximum,
31077         (getPreviousValue): Check for null minimum.
31078   
31079 2006-02-15  Roman Kennke  <kennke@aicas.com>
31080   
31081         * javax/swing/plaf/basic/BasicTableUI.java
31082         (paint): Paint vertical and horizontal lines one pixel shifted
31083         left/top.
31084   
31085 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31086   
31087         * java/util/zip/ZipFile.java
31088         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31089         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31090         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31091         (readEntries): Rewritten to use PartialInputStream.
31092         (locBuf, checkLocalHeader): Removed.
31093         (getInputStream): Rewritten to use new PartialInputStream.
31094         (PartialInputStream): Rewritten to do buffering.
31095
31096 2006-02-15  Michael Koch  <konqueror@gmx.de>
31097
31098         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31099         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31100         Make sure the embedded window gets no decorations.
31101         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31102         (window_get_frame_extents): Return early of the window has no
31103         decorations.
31104   
31105 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31106   
31107         * examples/gnu/classpath/examples/swing/TableDemo.java
31108         (TModel, createContent): Explain which value appears in the header.
31109         * javax/swing/JTable.java (setColumnModel): Only set the
31110         column header value if the getHeaderValue() returns null.
31111
31112 2006-02-14  Mark Wielaard  <mark@klomp.org>
31113
31114         Fixes bug #23931
31115         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31116         (getErrorImage): New static method.
31117         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31118         (bufferedImageOrError): Renamed to ...
31119         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31120         Returns GtkImage.getErrorImage() when argument null.
31121         (createImage(String)): Always use imageOrError.
31122         (createImage(URL)): Likewise.
31123         (createImage(ImageProducer)): Likewise.
31124         (createImage(byte[],int,int)): Likewise.
31125
31126 2006-02-14  Roman Kennke  <kennke@aicas.com>
31127
31128         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31129         unneeded imports.
31130         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31131         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31132         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31133         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31134         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31135
31136 2006-02-14  Roman Kennke  <kennke@aicas.com>
31137
31138         * javax/swing/text/AsyncBoxView.java
31139         (ChildState.locator): Removed wrong field.
31140         (ChildState): Removed initialization of removed field.
31141         (locator): Changed access modifier to be protected as specified.
31142
31143 2006-02-14  Roman Kennke  <kennke@aicas.com>
31144
31145         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31146         * javax/swing/Timer.java: Some small reindention.
31147         (task): Made package private to avoid synthetic accessor method.
31148   
31149 2006-02-14  Roman Kennke  <kennke@aicas.com>
31150   
31151         * javax/swing/SwingUtilities.java
31152         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31153         no icon.
31154   
31155 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31156   
31157         * examples/gnu/classpath/examples/swing/TableDemo.java:
31158         Making the columns variable width.
31159         * javax/swing/JTable.java (distributeSpill, doLayout):
31160           Call getPreferredSize and not getSize().
31161   
31162 2006-02-14  Roman Kennke  <kennke@aicas.com>
31163   
31164         * javax/swing/DefaultCellEditor.java
31165         (DefaultCellEditor): API doc fixlet.
31166   
31167 2006-02-14  Roman Kennke  <kennke@aicas.com>
31168   
31169         * javax/swing/JViewport.java
31170         (isPaintRoot): New field.
31171         (repaint): Only call super here. Also added a comment regarding
31172         the diversion from the JDK.
31173         (paintBlit): Implemented real blitting.
31174         (paintImmediately2): New method. Overrides the same package private
31175         method in JComponent.
31176   
31177 2006-02-14  Roman Kennke  <kennke@aicas.com>
31178   
31179         * javax/swing/plaf/basic/BasicTableUI.java
31180         (paint): Check for boundary cases when determining the painting
31181         area.
31182   
31183 2006-02-14  Mark Wielaard  <mark@klomp.org>
31184   
31185         * java/awt/Menu.java (add): Always set parent of item to this. Call
31186         addNotify() on item when we have a MenuPeer already.
31187         (insert): Always adjust parent for item. Call addNotify() on item if
31188         we already have a peer.
31189         (remove(int)): Always clear item parent. Call removeNotify() on item
31190         if we had a peer.
31191   
31192 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31193   
31194         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31195         row == getRowCount().
31196   
31197 2006-02-14  Lillian Angel  <langel@redhat.com>
31198         
31199         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31200         (setVisible): New method to override super. Need to set the
31201         native bounds of the component, so it appears at the
31202         correct location.
31203
31204 2006-02-14  Mark Wielaard  <mark@klomp.org>
31205
31206         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31207         (remove): If menu component is the current MenuBar remove it,
31208         otherwise call super.remove().
31209         * java/awt/MenuBar.java (frame): Remove field.
31210         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31211
31212 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31213
31214         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31215         to NameServicePersistent.
31216         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31217         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31218
31219 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31220
31221         * NEWS: Updated tool status.
31222         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31223         (constructor, bind, rebind): Rewritten.  
31224         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31225         * tools/gnu/classpath/tools/giop/README: Updated.
31226         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31227         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31228         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31229         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31230         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31231         New files.
31232   
31233 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31234   
31235         * javax/swing/JComponent.java
31236         (getListeners): Check for PropertyChangeListener.class and delegate to 
31237         getPropertyChangeListeners() for that case.
31238   
31239 2006-02-13  Roman Kennke  <kennke@aicas.com>
31240   
31241         * javax/swing/plaf/basic/BasicTableUI.java
31242         (paint): Determine the cells that need painting based on the
31243         current clip. Use getCellRect() for calculating the cell
31244         bounds.
31245   
31246 2006-02-13  Roman Kennke  <kennke@aicas.com>
31247   
31248         * javax/swing/JTable.java
31249         (rectCache): New field.
31250         (getCellRect): Returns cached Rectangle instance.
31251   
31252 2006-02-13  Roman Kennke  <kennke@aicas.com>
31253   
31254         * javax/swing/JLayeredPane.java
31255         (removeAll): New method. Avoid potential memory leak.
31256         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31257         calculation.
31258   
31259 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31260   
31261         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31262         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31263   
31264 2006-02-13  Tom Tromey  <tromey@redhat.com>
31265   
31266         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31267         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31268   
31269 2006-02-13  Roman Kennke  <kennke@aicas.com>
31270   
31271         * javax/swing/RepaintManager.java
31272         (offscreenBuffers): New field.
31273         (doubleBuffer): Removed field.
31274         (repaintUnderway): New field.
31275         (commitRequests): New field.
31276         (RepaintManager): Initialize new fields.
31277         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31278         buffers when done.
31279         (getOffscreenBuffer): Returns the offscreen buffer for the
31280         corresponding root component.
31281         (commitBuffer): New method.
31282         (commitRemainingBuffers): New method.
31283         * javax/swing/JComponent.java
31284         (paint): Call paintDoubleBuffered with the current clip.
31285         (paintImmediately2): Don't paint on screen here.
31286         (paintDoubleBuffered): Rewritten for real double buffering.
31287         (paintSimple): Draw to screen in this method.
31288   
31289 2006-02-13  Roman Kennke  <kennke@aicas.com>
31290   
31291         * javax/swing/JRootPane.java
31292         (JRootPane): Set opaque property to true.
31293   
31294 2006-02-13  Tom Tromey  <tromey@redhat.com>
31295   
31296         * .classpath: Updated for external/relaxngDatatype.
31297   
31298 2006-02-13  Chris Burdess  <dog@gnu.org>
31299   
31300         * gnu/xml/stream/UnicodeReader.java,
31301           gnu/xml/validation/datatype/Annotation.java,
31302           gnu/xml/validation/datatype/AnySimpleType.java,
31303           gnu/xml/validation/datatype/AnyType.java,
31304           gnu/xml/validation/datatype/AnyURIType.java,
31305           gnu/xml/validation/datatype/AtomicSimpleType.java,
31306           gnu/xml/validation/datatype/Base64BinaryType.java,
31307           gnu/xml/validation/datatype/BooleanType.java,
31308           gnu/xml/validation/datatype/ByteType.java,
31309           gnu/xml/validation/datatype/DateTimeType.java,
31310           gnu/xml/validation/datatype/DateType.java,
31311           gnu/xml/validation/datatype/DecimalType.java,
31312           gnu/xml/validation/datatype/DoubleType.java,
31313           gnu/xml/validation/datatype/DurationType.java,
31314           gnu/xml/validation/datatype/EntitiesType.java,
31315           gnu/xml/validation/datatype/EntityType.java,
31316           gnu/xml/validation/datatype/EnumerationFacet.java,
31317           gnu/xml/validation/datatype/Facet.java,
31318           gnu/xml/validation/datatype/FloatType.java,
31319           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31320           gnu/xml/validation/datatype/GDayType.java,
31321           gnu/xml/validation/datatype/GMonthDayType.java,
31322           gnu/xml/validation/datatype/GMonthType.java,
31323           gnu/xml/validation/datatype/GYearMonthType.java,
31324           gnu/xml/validation/datatype/GYearType.java,
31325           gnu/xml/validation/datatype/HexBinaryType.java,
31326           gnu/xml/validation/datatype/IDRefType.java,
31327           gnu/xml/validation/datatype/IDRefsType.java,
31328           gnu/xml/validation/datatype/IDType.java,
31329           gnu/xml/validation/datatype/IntType.java,
31330           gnu/xml/validation/datatype/IntegerType.java,
31331           gnu/xml/validation/datatype/LanguageType.java,
31332           gnu/xml/validation/datatype/LengthFacet.java,
31333           gnu/xml/validation/datatype/ListSimpleType.java,
31334           gnu/xml/validation/datatype/LongType.java,
31335           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31336           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31337           gnu/xml/validation/datatype/MaxLengthFacet.java,
31338           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31339           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31340           gnu/xml/validation/datatype/MinLengthFacet.java,
31341           gnu/xml/validation/datatype/NCNameType.java,
31342           gnu/xml/validation/datatype/NMTokenType.java,
31343           gnu/xml/validation/datatype/NMTokensType.java,
31344           gnu/xml/validation/datatype/NameType.java,
31345           gnu/xml/validation/datatype/NegativeIntegerType.java,
31346           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31347           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31348           gnu/xml/validation/datatype/NormalizedStringType.java,
31349           gnu/xml/validation/datatype/NotationType.java,
31350           gnu/xml/validation/datatype/PatternFacet.java,
31351           gnu/xml/validation/datatype/PositiveIntegerType.java,
31352           gnu/xml/validation/datatype/QNameType.java,
31353           gnu/xml/validation/datatype/ShortType.java,
31354           gnu/xml/validation/datatype/SimpleType.java,
31355           gnu/xml/validation/datatype/StringType.java,
31356           gnu/xml/validation/datatype/TimeType.java,
31357           gnu/xml/validation/datatype/TokenType.java,
31358           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31359           gnu/xml/validation/datatype/Type.java,
31360           gnu/xml/validation/datatype/TypeBuilder.java,
31361           gnu/xml/validation/datatype/TypeLibrary.java,
31362           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31363           gnu/xml/validation/datatype/UnionSimpleType.java,
31364           gnu/xml/validation/datatype/UnsignedByteType.java,
31365           gnu/xml/validation/datatype/UnsignedIntType.java,
31366           gnu/xml/validation/datatype/UnsignedLongType.java,
31367           gnu/xml/validation/datatype/UnsignedShortType.java,
31368           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31369           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31370           RELAX NG datatype library implementation for XML Schema Datatypes.
31371
31372 2006-02-13  Chris Burdess  <dog@gnu.org>
31373
31374         * LICENCE,
31375           NEWS,
31376           configure.ac,
31377           doc/README.jaxp,
31378           external/Makefile.am,
31379           external/relaxngDatatype/.cvsignore,
31380           external/relaxngDatatype/Makefile.am,
31381           external/relaxngDatatype/README.txt,
31382           external/relaxngDatatype/copying.txt,
31383           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31384           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31385           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31386           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31387           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31388           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31389           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31390           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31391           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31392           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31393           lib/Makefile.am,
31394           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31395           datatypes library API.
31396   
31397 2006-02-13  Mark Wielaard  <mark@klomp.org>
31398   
31399         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31400         final.
31401         (gtkWidgetModifyFont(Font)): New protected helper method.
31402         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31403         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31404         protected and document.
31405         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31406         Likewise.
31407         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31408         Likewise.
31409         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31410         Likewise.
31411         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31412         (setFont): Removed method. Done in GtkMenuComponent.
31413         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31414         abstract and protected.
31415         (setFont): Made private, add implementation.
31416         (setFont(Font)): Implemented.
31417         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31418         Made protected and document.
31419         (create): Made protected.
31420         (setFont): Removed method. Done in GtkMenuComponent.
31421         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31422         (gtkWidgetModifyFont): Made protected and document.
31423         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31424         Removed, similar to GtkGenericPeer super class implementation.
31425         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31426         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31427         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31428         Removed.
31429   
31430 2006-02-13  Mark Wielaard  <mark@klomp.org>
31431   
31432         * java/lang/Math.java (static): Explicitly call
31433         System.loadLibrary("javalang").
31434   
31435 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31436   
31437         * javax/print/StreamPrintServiceFactory.java: New file.
31438   
31439 2006-02-13  Tom Tromey  <tromey@redhat.com>
31440   
31441         * tools/.cvsignore: Added Makefile.
31442   
31443 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31444   
31445         * java/awt/print/PrinterGraphics.java: Reformatted.
31446         * java/awt/print/Paper.java: Likewise.
31447         * java/awt/print/PageFormat.java: Likewise.
31448         * java/awt/print/Pageable.java: Likewise.
31449   
31450 2006-02-13  Lillian Angel  <langel@redhat.com>
31451   
31452         * java/awt/BorderLayout.java
31453         (layoutContainer): Rewrote part of this function to 
31454         properly set the bounds of the components.
31455         (setBounds): Removed method, not needed.
31456   
31457 2006-02-13  Roman Kennke  <kennke@aicas.com>
31458   
31459         * javax/swing/text/DefaultStyledDocument.java
31460         (ElementBuffer.clone): Fixed replace call.
31461         (clone): Removed method.
31462   
31463 2006-02-13  Roman Kennke  <kennke@aicas.com>
31464   
31465         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31466   
31467 2006-02-13  Roman Kennke  <kennke@aicas.com>
31468   
31469         * java/rmi/server/UnicastRemoteObject.java
31470         (exportObject(Remote)): Forward method call to export(Remote,int).
31471   
31472 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31473   
31474         * include/Makefile.am:
31475         Swapped Math.h for VMMath.h
31476         * include/java_lang_Math.h:
31477         Removed.
31478         * include/java_lang_VMMath.h:
31479         New autogenerated header for the new class.
31480         * java/lang/Math.java:
31481         (sin(double)): Changed to link to VMMath.
31482         (cos(double)): Changed to link to VMMath.
31483         (tan(double)): Changed to link to VMMath.
31484         (asin(double)): Changed to link to VMMath.
31485         (acos(double)): Changed to link to VMMath.
31486         (atan(double)): Changed to link to VMMath.
31487         (atan2(double)): Changed to link to VMMath.
31488         (exp(double)): Changed to link to VMMath.
31489         (log(double)): Changed to link to VMMath.
31490         (sqrt(double)): Changed to link to VMMath.
31491         (pow(double,double)): Changed to link to VMMath.
31492         (IEEEremainder(double,double)): Changed to link to VMMath.
31493         (ceil(double)): Changed to link to VMMath.
31494         (floor(double)): Changed to link to VMMath.
31495         (rint(double)): Changed to link to VMMath.
31496         * native/jni/java-lang/Makefile.am:
31497         Replaced java_lang_Math.c with java_lang_VMMath.c
31498         * native/jni/java-lang/java_lang_Math.c:
31499         Removed.
31500         * native/jni/java-lang/java_lang_VMMath.c:
31501         Renamed from java_lang_Math.c.
31502         * vm/reference/java/lang/VMMath.java:
31503         New class.
31504         (sin(double)): New native method.
31505         (cos(double)): New native method.
31506         (tan(double)): New native method.
31507         (asin(double)): New native method.
31508         (acos(double)): New native method.
31509         (atan(double)): New native method.
31510         (atan2(double)): New native method.
31511         (exp(double)): New native method.
31512         (log(double)): New native method.
31513         (sqrt(double)): New native method.
31514         (pow(double,double)): New native method.
31515         (IEEEremainder(double,double)): New native method.
31516         (ceil(double)): New native method.
31517         (floor(double)): New native method.
31518         (rint(double)): New native method.
31519         
31520 2006-02-13  Lillian Angel  <langel@redhat.com>
31521   
31522         * java/awt/Component.java
31523         (repaint): No need to call isShowing, it is done in the other repaint call.
31524         (repaint): Likewise.
31525         (repaint): Likewise.
31526   
31527 2006-02-13  Lillian Angel  <langel@redhat.com>
31528   
31529         * java/awt/Component.java
31530         (repaint): Reverted last change.
31531         (repaint): Likewise.
31532         (repaint): Likewise.
31533
31534 2006-02-13  Lillian Angel  <langel@redhat.com>
31535
31536         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31537         (handleEvent): Made more efficent by handling paint event and
31538         setting the clip for the graphics.
31539         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31540         (handleEvent): Likewise.
31541         * java/awt/Component.java
31542         (repaint): No need to call isShowing, it is done in the other repaint call.
31543         (repaint): Likewise.
31544         (repaint): Likewise.
31545   
31546 2006-02-13  Roman Kennke  <kennke@aicas.com>
31547   
31548         * javax/swing/text/AbstractDocument.java
31549         (setParent): Added API docs. Call setParent(null) on children before
31550         disconnecting this view from the View hierarchy.
31551   
31552 2006-02-13  Roman Kennke  <kennke@aicas.com>
31553   
31554         * javax/swing/text/AbstractDocument.java
31555         (readUnlock): Don't attempt to unlock when the current threads also
31556         holds a write lock.
31557   
31558 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31559   
31560         * javax/swing/plaf/metal/MetalBorders.java
31561         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31562         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31563         insets argument,
31564         (Flush3DBorder.borderInsets): New field,
31565         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31566         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31567         null insets argument, and populate result from borderInsets,
31568         (PaletteBorder.borderInsets): New field,
31569         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31570         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31571         null insets argument, and populate result from borderInsets,
31572         (InternalFrameBorder.borderInsets): New field,
31573         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31574         directly,
31575         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31576         for null insets argument, and populate result from borderInsets,
31577         (MenuItemBorder.borderInsets): Initialise to correct value.
31578
31579 2006-02-13  Roman Kennke  <kennke@aicas.com>
31580
31581         * javax/swing/text/AsyncBoxView.java: New file.
31582
31583 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31584
31585         Fixes bug #26166
31586         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31587         was moved to a new method parseCharClass.
31588         (parseCharClass): New method originally in initialize. Added parsing
31589         of nested character classes.
31590         (ParseCharClassResult): New inner class used as a return value of
31591         parseCharClass.
31592         (getCharExpression),(getNamedProperty): Made static.
31593         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31594         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31595         nested character classes.
31596         (RETokenOneOf): New constructor accepting the Vector addition.
31597         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31598         stands for only one character.
31599         (match): Added the processing of the Vector addition.
31600         (matchN), (matchP): Do not check next token if addition is used.
31601   
31602 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31603   
31604         * AUTHORS: add self.
31605   
31606 2006-02-12  Tom Tromey  <tromey@redhat.com>
31607   
31608         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31609         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31610         (securityContext): Likewise.
31611         (log): Likewise.
31612   
31613 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31614   
31615         Fixes PR 26218.
31616   
31617         * gnu/java/net/protocol/file/Connection.java (unquote):
31618         Convert Unicode characters outside basic plane to UTF-8,
31619         rather than throwing an exception.
31620   
31621 2006-02-12  Tom Tromey  <tromey@redhat.com>
31622   
31623         * javax/sound/sampled/LineEvent.java (readObject): New method.
31624         (writeObject): Likewise.
31625         (serialVersionUID): New field.
31626   
31627 2006-02-12  Mark Wielaard  <mark@klomp.org>
31628   
31629         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31630         Silently ignores null listener.
31631         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31632         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31633         array for null propertyName.
31634
31635 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31636
31637         * java/rmi/MarshalledObject.java: Added api docs to the class.
31638         * java/rmi/Remote.java: Added interface api docs.
31639         * java/rmi/package.html: Added package description.
31640         * java/rmi/AccessException.java: Minor api doc fixes.
31641         * java/rmi/NoSuchObjectException.java: Likewise.
31642         * java/rmi/AlreadyBoundException.java: Likewise.
31643         * java/rmi/RemoteException.java: Likewise.
31644         * java/rmi/NotBoundException.java: Likewise.
31645         * java/rmi/RMISecurityException.java: Likewise.
31646         * java/rmi/StubNotFoundException.java: Likewise.        
31647
31648 2006-02-12  Mark Wielaard  <mark@klomp.org>
31649
31650         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31651         q() to get EventQueue.
31652         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31653         (enableQueue): Remove static method.
31654         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31655         Don't call GtkGenericPeer.enableQueue().
31656
31657 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31658
31659         * java/rmi/MarshalledObject.java: Reformatted.
31660         * java/rmi/Naming.java: Likewise.       
31661
31662 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31663
31664         * java/io/InputStream.java
31665         (read(byte[],int,int)): Changed argument validation to prevent
31666         integer overflow. Remove redundant check.
31667   
31668 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31669   
31670         Fixes PR 26220
31671         * java/io/InputStreamReader.java
31672         (InputStreamReader(InputStream)): Use SystemProperties.
31673         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31674         Throw NullPointerException if in is null.
31675         Added maxBytesPerChar initialisation.
31676         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31677         Throw NullPointerException if in is null.
31678
31679 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31680
31681         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31682         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31683         (GnuDHPublicKey): New constructor.
31684         (getEncoded): Removed.
31685         (valueOf): Added support for ASN.1 encoding.
31686         (getEncoded(int)): Likewise.
31687         (equals): New method.
31688         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31689         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31690         (GnuDHPrivateKey(5)): New constructor.
31691         (getEncoded): Removed.
31692         (valueOf): Added support for ASN.1 encoding.
31693         (getEncoded(int)): Likewise.
31694         (equals): New method.
31695         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31696         (PREFERRED_ENCODING_FORMAT): New constant.
31697         (DEFAULT_ENCODING_FORMAT): Likewise.
31698         (preferredFormat): New field.
31699         (setup): Handle preferred encoding format identifier.
31700         (generate): Call constructors with format identifier.
31701         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31702         (GnuDHKey): Added an int argument.
31703         (getEncoded): New method.
31704         (getFormat): New implementation.
31705         (getEncoded(int)): New abstract method.
31706         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31707         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31708         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31709         key-pair generator and key-factory.
31710         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31711         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31712         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31713         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31714         (invokeConstructor): New method.
31715         (getConcreteClass): Likewise.
31716         (getConcreteCtor): Likewise.
31717         (invokeValueOf): Likewise.
31718         (getValueOfMethod): Likewise.
31719         (engineGeneratePublic): Add support for DH keys.
31720         (engineGeneratePrivate): Likewise.
31721         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31722         (decodeDHPublicKey(byte[])): Likewise.
31723         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31724         (decodeDHPrivateKey(byte[])): Likewise.
31725
31726 2006-02-11  Mark Wielaard  <mark@klomp.org>
31727
31728         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31729         Removed field.
31730         (repaint): Immediately post to queue when tm <= 0, otherwise call
31731         RepaintTimerTask.schedule().
31732         (RepaintTimerTask): Make static.
31733         (RepaintTimerTask.repaintTimer): New static final field.
31734         (RepaintTimerTask.awtComponent): New field.
31735         (schedule): New static method.
31736
31737 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31738
31739         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31740         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31741         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31742         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31743         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31744         Rewritten.
31745         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31746   
31747 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31748   
31749         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31750         (engineGeneratePublic): Added support for raw key-specifications.
31751         (engineGeneratePrivate): Likewise.
31752         (decodeDSSPublicKey): New method.
31753         (decodeRSAPublicKey): Likewise.
31754         (decodeDSSPrivateKey): Likewise.
31755         (decodeRSAPrivateKey): Likewise.
31756         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31757         (encodePrivateKey): Throw InvalidParameterException.
31758         (decodePublicKey): Likewise.
31759         (decodePrivateKey): Likewise.
31760         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31761         (encodePublicKey): Likewise.
31762         (encodePrivateKey): Likewise.
31763         (decodePublicKey): Likewise.
31764         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31765         (encodePrivateKey): Likewise.
31766         (decodePublicKey): Likewise.
31767         (decodePrivateKey): Likewise.
31768         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31769         (encodePublicKey): Likewise.
31770         (encodePrivateKey): Likewise.
31771         (decodePublicKey): Likewise.
31772   
31773 2006-02-10  Roman Kennke  <kennke@aicas.com>
31774   
31775         * javax/swing/text/StyleContext.java
31776         (registerStaticAttributeKey): New static method.
31777   
31778 2006-02-10  Roman Kennke  <kennke@aicas.com>
31779   
31780         * javax/swing/text/DefaultStyledDocument.java
31781         (ElementBuffer.clone): New method.
31782   
31783 2006-02-10  Roman Kennke  <kennke@aicas.com>
31784   
31785         * javax/swing/text/ParagraphView.java
31786         (findOffsetToCharactersInString): New method.
31787         (getClosestPositionTo): New method.
31788         (getPartialSize): New method.
31789         (getTabBase): New method.
31790         (adjustRow): New method.
31791         (breakView): New method.
31792         (getBreakWeight): New method.
31793   
31794 2006-02-10  Roman Kennke  <kennke@aicas.com>
31795   
31796         * javax/swing/text/GapContent.java
31797         (updateUndoPositions): New method.
31798         * javax/swing/text/StringContent.java
31799         (updateUndoPositions): New method.
31800   
31801 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
31802   
31803         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31804         Made it public.
31805         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31806         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31807         Added support for encoded key specifications.
31808         (engineGeneratePrivate): Likewise.
31809         (engineGetKeySpec): Likewise.
31810         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31811   
31812 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
31813   
31814         * javax/swing/text/Utilities.java:
31815         (getTabbedTextOffset): Fixed usage of variable p0.
31816         (getPositionAbove): Rewritten.
31817         (getPositionBelow): Rewritten.
31818   
31819 2006-02-09  Roman Kennke  <kennke@aicas.com>
31820   
31821         * javax/swing/text/BoxView.java
31822         (getAxis): Added @since tag.
31823         (setAxis): Added @since tag.
31824         (layoutChanged): Added @since tag.
31825         (isLayoutValid): Added @since tag.
31826         (paint): Don't call setSize here. This is done in RootView already.
31827         (getMaximumSpan): Reimplemented to return the requirements'
31828         maximum size. Added API docs.
31829         (getMinimumSpan): New method.
31830         (layout): Fixed layout order.
31831         (modelToView): Call layout instead of setSize here.
31832         (getResizeWeight): New method.
31833         (getChildAllocation): New method.
31834         (forwardUpdate): New method.
31835         (viewToModel): New method.
31836         (flipEastEndWestEnds): New method.
31837         * javax/swing/text/CompositeView.java
31838         (modelToView): Made this method more robust by returning a default
31839         location if it's not possible to calculate one via the children.
31840         This default location returns the left or right edge of this
31841         view.
31842         (createDefaultLocation): New helper method.
31843         * javax/swing/text/IconView.java
31844         (modelToView): Don't throw BadLocationException. This should
31845         really only be thrown if the position is outside the document
31846         model, not if it's outside the view's boundary.
31847   
31848 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31849   
31850         * tools/Makefile.am: Handle rmi and giop folders separately.
31851   
31852 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31853   
31854         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
31855         * javax/swing/SpinnerNumberModel.java: Likewise.
31856   
31857 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
31858   
31859         * javax/swing/SpinnerDateModel.java: Removed tabs,
31860         * javax/swing/SpinnerNumberModel.java: Likewise.
31861   
31862 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
31863   
31864         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
31865         * doc/unicode/UnicodeData-4.0.0.txt: New file.
31866   
31867 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
31868   
31869         Fixes bug #26081
31870         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
31871         (isRedirect): Removed, moved to Response.java.
31872         (connect): If error condition redirect responseSink to errorSink.
31873         (getInputStream): If error condition throw IOException, for the error
31874         codes 404 and 410 throw a FileNotFoundException.        
31875         * gnu/java/net/protocol/http/Response.java (isError): New method.
31876         (isRedirect): New method, moved from HTTPURLConnection.java.
31877   
31878 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31879   
31880         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
31881         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
31882         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
31883         Better diagnostic.
31884         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
31885         Rewritten.
31886         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
31887         AbstractMethodGenerator.
31888         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
31889         tools/gnu/classpath/tools/rmi/RMIC.java,
31890         tools/gnu/classpath/tools/rmi/RMIC.txt,
31891         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
31892         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
31893         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
31894         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
31895         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
31896         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
31897         New files.
31898         * NEWS: Corrected entry about the tools.
31899   
31900 2006-02-09  Lillian Angel  <langel@redhat.com>
31901   
31902         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31903         (handleEvent): Added more to check to prevent assertion errors.
31904         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31905         (handleEvent): Likewise.
31906         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31907         (handleEvent): Likewise.
31908   
31909 2006-02-09  Mark Wielaard  <mark@klomp.org>
31910   
31911         * javax/swing/JTable.java (tableChanged): Interpret null event as
31912         "everything changed".
31913   
31914 2006-02-09  Roman Kennke  <kennke@aicas.com>
31915   
31916         * javax/swing/text/DefaultCaret.java
31917         (DocumentHandler.removeUpdate): When update policy is
31918         'on eventqueue', and the update doesn't come from the
31919         event queue, check if the current dot location is still
31920         valid.
31921         (moveDot): Make sure the new dot location is valid.
31922         (setDot): Set the mark the same as the dot.
31923   
31924 2006-02-09  Roman Kennke  <kennke@aicas.com>
31925   
31926         * javax/swing/text/AbstractDocument.java
31927         (remove): Perform all operations within a write lock and in the
31928         correct order.
31929   
31930 2006-02-09  Mark Wielaard  <mark@klomp.org>
31931   
31932         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31933         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
31934         creater than min, adjusting page_size if necessary.
31935         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
31936   
31937 2006-02-09  Lillian Angel  <langel@redhat.com>
31938   
31939         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31940         (handleEvent): Added code to handle PaintEvent.UPDATE.
31941         Sun does not call update(Graphics g) on Panels.
31942         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31943         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
31944         Sun does not call update(Graphics g) on Panels.
31945   
31946 2006-02-09  Roman Kennke  <kennke@aicas.com>
31947   
31948         * javax/swing/text/BoxView.java
31949         (myAxis): Made field private.
31950         (xLayoutValid): Replaced by layoutValid array.
31951         (yLayoutValid): Replaced by layoutValid array.
31952         (layoutValid): New field.
31953         (spansX): Replaced by spans array.
31954         (spansY): Replaced by spans array.
31955         (spans): New field.
31956         (offsetsX): Replaced by offsets array.
31957         (offsetsY): Replaced by offsets array.
31958         (offsets): New field.
31959         (requirements): New field.
31960         (BoxView): Initialize new fields.
31961         (layoutChanged): Rewritten to use the layoutValid array.
31962         (isLayoutValid): Rewritten to use the layoutValid array.
31963         (replace): Use the new arrays.
31964         (getPreferredSpan): Rewritten to call calculateXXXRequirements
31965         instead of baselineRequirements.
31966         (baselineRequirements): Rewritten to calculate baseline requirements.
31967         (baselineLayout): Rewritten to calculate baseline layout.
31968         (childAllocation): Use new arrays.
31969         (layout): Rewritten. Only update the layout if necessary.
31970         (layoutMajorAxis): Directly set layoutValid.
31971         (layoutMinorAxis): Directly set layoutValid. Use cached size
31972         requirements.
31973         (getWidth): Use new span array.
31974         (getHeight): Likewise.
31975         (setSize): Rewritten to simply call layout().
31976         (validateLayout): Removed unneeded method.
31977         (getSpan): Use new arrays.
31978         (getOffset): Use new arrays.
31979         (getAlignment): Use cached requirements if possible.
31980         (preferenceChanged): Use new arrays.
31981         * javax/swing/text/FlowView.java
31982         (FlowStrategy.insertUpdate): Do nothing here.
31983         (FlowStrategy.removeUpdate): Do nothing here.
31984         (FlowStrategy.changedUpdate): Do nothing here.
31985         (FlowStrategy.layoutRow): Rewritten.
31986         (FlowStrategy.createView): Rewritten.
31987         (FlowStrategy.adjustRow): New method.
31988         (LogicalView.getViewIndex): Fixed condition for finding child
31989         view.
31990         (layoutDirty): New field indicating the state of the layout.
31991         (FlowView): Initialize new field.
31992         (loadChildren): Set parent on logical view so that preferenceChanges
31993         get propagated upwards.
31994         (layout): Rewritten to match the specs.
31995         (insertUpdate): Set layout to dirty.
31996         (removeUpdate): Set layout to dirty.
31997         (changedUpdate): Set layout to dirty.
31998         * javax/swing/text/GlyphView.java
31999         (getBreakWeight): Rewritten to use the Utilities class. Commented
32000         out though because that is broken.
32001         (insertUpdate): Call preferenceChanged on this object instead of
32002         parent.
32003         * javax/swing/text/ParagraphView.java
32004         (Row.loadChildren): Overridden to be a noop to prevent initial
32005         creation of child views. This is carried out by the flow layout.
32006         * javax/swing/text/View.java
32007         (getPreferredSpan): Added API docs.
32008         (getResizeWeight): Added API docs.
32009         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32010         point.
32011         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32012         resizable instead of Integer.MAX_VALUE.
32013         (getAlignment): Added API docs.
32014         (replace): Added API docs.
32015         (forwardUpdate): Rewritten to only notify child views that need to
32016         be notified.
32017   
32018 2006-02-09  Roman Kennke  <kennke@aicas.com>
32019   
32020         * javax/swing/plaf/basic/BasicTextUI.java
32021         (RootView.paint): Call setSize() before painting the view.
32022   
32023 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32024   
32025         Fixes bug #26112
32026         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32027         flag which enables backslash escape in a replacement.
32028         (getReplacement): New public static method. 
32029         (substituteImpl),(substituteAllImpl): Use getReplacement.
32030         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32031         * java/util/regex/Matcher.java(appendReplacement)
32032         Use RE#getReplacement.
32033         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32034
32035 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32036
32037         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32038         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32039         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32040         (PREFERRED_ENCODING_FORMAT): New constant.
32041         (DEFAULT_ENCODING_FORMAT): Likewise.
32042         (preferredFormat): New field.
32043         (setup): Add support for preferred encoding format.
32044         (generate): Call key constructors with explicit format identifier.
32045         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32046         Call constructor with 3 arguments..
32047         (GnuRSAPublicKey(3)): New constructor.
32048         (valueOf): Added support for ASN.1 format.
32049         (getEncoded): Likewise.
32050         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32051         Call constructor with 5 arguments.
32052         (GnuRSAPrivateKey(5)): New constructor.
32053         (GnuRSAPrivateKey(9)): New constructor.
32054         (valueOf): Added support for ASN.1 format.
32055         (getEncoded): Likewise.
32056         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32057         (GnuRSAKey): Modified constructor.
32058         (getFormat): Return preferred format identifier.
32059         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32060         (decodePrivateKey): Fixed documentation.
32061         Check Version field.
32062         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32063         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32064         format.
32065         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32066         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32067         (engineGeneratePublic): Added support for RSA.
32068         (engineGeneratePrivate): Likewise.
32069
32070 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32071
32072         * java/net/URLConnection.java:
32073         (setAllowUserInteraction): Throw IllegalStateException if connected.
32074         (getRequestProperty): Document return value if key is null.
32075         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32076         (getRequestProperty): Return null if key is null.
32077         (getRequestProperties): Throw IllegalStateException if connected.
32078         (setRequestProperty): Call super method for exception tests.
32079         (addRequestProperty): Likewise.
32080   
32081 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32082   
32083         * gnu/java/net/protocol/http/Request.java:
32084         (Request): Remove initialization of removed field.
32085         (requestBodyNegotiationThreshold): Removed now unused field.
32086         (setRequestBodyNegotiationThreshold): Remove now unused method.
32087         (dispatch): Do not use 'Expect 100-continue' header if content-length
32088         is over a treshold. If user specified 'Expect 100-continue' still
32089         initialize the expectingContinue variable.
32090
32091 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32092
32093         * javax/swing/SpinnerNumberModel.java
32094         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32095         maximum and minimum to take null values,
32096         (setValue): Only fire ChangeEvent if new value is different to old 
32097         value,
32098         (setMinimum): Fixed test for updating value,
32099         (setMaximum): Likewise,
32100         (setStepSize): Likewise.
32101   
32102 2006-02-08  Tom Tromey  <tromey@redhat.com>
32103   
32104         * tools/.cvsignore: Added Makefile.in.
32105   
32106 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32107   
32108         * java/rmi/server/RemoteRef.java,
32109         java/rmi/server/RemoteStub.java: Commented.
32110   
32111 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32112   
32113         * javax/swing/SpinnerDateModel.java
32114         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32115         checks,
32116         (getPreviousValue): Check result against start, not end,
32117         (setValue): Check that value actually changes before firing 
32118         ChangeEvent.
32119
32120 2006-02-08  Lillian Angel  <langel@redhat.com>
32121
32122         * java/awt/Choice.java
32123         (select): Fixed up code, added some checks to prevent errors.
32124         (dispatchEventImpl): Removed. This function is not needed. It 
32125         causes several assertion errors.
32126   
32127 2006-02-08  Roman Kennke  <kennke@aicas.com>
32128   
32129         * javax/swing/text/PlainView.java
32130         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32131         drawing unnecessary characters.
32132   
32133 2006-02-08  Lillian Angel  <langel@redhat.com>
32134   
32135         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32136         (handleEvent): Fixed check to determine if height or
32137         width is less than 1.
32138   
32139 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32140   
32141         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32142   
32143 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32144   
32145         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32146         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32147         Documenting the code generator.
32148         * gnu/CORBA/IOR.java (toStringFormatted, 
32149         CodeSet_component.toStringFormatted): New methods.
32150         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32151         * tools/gnu/classpath/tools/giop/README: Rewritten.
32152         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32153         (printHelpAndExit): Removed.
32154         *tools/gnu/classpath/tools/giop/IorParser.java,
32155         tools/gnu/classpath/tools/giop/IorParser.txt,
32156         tools/gnu/classpath/tools/giop/NameService.java,
32157         tools/gnu/classpath/tools/giop/NamingService.txt,
32158         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32159         NEWS: Added note about GIOP tools.
32160
32161 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32162
32163         * .classpath: New source patch (tools).
32164         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32165         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32166         * tools/gnu/classpath/tools/Makefile.am,
32167         tools/gnu/classpath/tools/giop/GRMIC.java
32168         tools/gnu/classpath/tools/giop/GRMIC.txt,
32169         tools/gnu/classpath/tools/giop/README,
32170         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32171         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32172         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32173         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32174         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32175         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32176         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32177         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32178         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32179         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32180         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32181         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32182   
32183 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32184   
32185         * java/awt/BasicStroke.java: Updated API docs all over,
32186         * java/awt/doc-files/capjoin.png: New file.
32187   
32188 2006-02-07  Lillian Angel  <langel@redhat.com>
32189   
32190         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32191         (handleEvent): Added check. Should not paint or update the 
32192         component if it's width and height are both 0.  
32193   
32194 2006-02-07  Roman Kennke  <kennke@aicas.com>
32195   
32196         * javax/swing/text/AbstractDocument.java
32197         (insertString): Enclose locking/unlocking in try-finally block
32198         and also keep locked while notifying the listeners.
32199   
32200 2006-02-07  Roman Kennke  <kennke@aicas.com>
32201   
32202         * javax/swing/text/GlyphView.java
32203         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32204         element boundary).
32205         (getStartOffset): Return element boundary if startOffset < 0.
32206         (getEndOffset): Return element boundary if endOffset < 0.
32207         (createFragment): Set startOffset and endOffset fields of fragment
32208         if one of p0 or p1 is not at the element boundary.
32209   
32210 2006-02-07  Roman Kennke  <kennke@aicas.com>
32211   
32212         * javax/swing/CellRendererPane.java
32213         (paintComponent): Enclosed painting in try finally to properly
32214         clean up even when throwing an exception.
32215   
32216 2006-02-07  Roman Kennke  <kennke@aicas.com>
32217   
32218         * javax/swing/UIManager.java
32219         (listeners): Made this an instance of
32220         java.beans.PropertyChangeSupport instead of the obsoleted
32221         SwingPropertyChangeSupport.
32222
32223 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32224
32225         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32226         of actions "delete-next" and "delete-previous", added new TextAction
32227         implementations for "selection-begin", "selection-begin-line",
32228         "selection-end" and "selection-end-line".
32229   
32230 2006-02-07  Roman Kennke  <kennke@aicas.com>
32231   
32232         * javax/swing/plaf/basic/BasicTextUI.java
32233         (paint): Acquire read lock on the document before calling
32234         paintSafely.
32235         (paintSafely): Added comment about what this method does.
32236         (paintBackground): Implemented to actually paint the background.
32237         (update): Overridden to _not_ paint the background. This is done
32238         in paintBackground in this UI.
32239   
32240 2006-02-07  Roman Kennke  <kennke@aicas.com>
32241   
32242         * javax/swing/text/View.java
32243         (forwardUpdate): Don't notify newly added child views as specified.
32244   
32245 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32246   
32247         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32248   
32249 2006-02-07  Roman Kennke  <kennke@aicas.com>
32250   
32251         * javax/swing/text/DefaultStyledDocument.java
32252         (ElementBuffer.insert): Only register change when the element
32253         actually changed.
32254   
32255 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32256   
32257         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32258         method.
32259         (getEncodingShortName): Likewise.
32260         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32261         (PKCS8_FORMAT): Likewise.
32262         (ASN1_FORMAT): Likewise.
32263         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32264         constructor with 5 arguments.
32265         (DSSPublicKey(5)): New constructor.
32266         (valueOf): Handle ASN.1 encoding.
32267         (getEncoded): Likewise.
32268         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32269         constructor with 5 arguments.
32270         (DSSPrivateKey(5)): New constructor.
32271         (valueOf): Handle ASN.1 encoding.
32272         (getEncoded): Likewise.
32273         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32274         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32275         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32276         (PREFERRED_ENCODING_FORMAT): New constant.
32277         (DEFAULT_ENCODING_FORMAT): Likewise.
32278         (preferredFormat): New field.
32279         (setup): Handle preferred format ID.
32280         (generate): Use new ctors with 5 arguments.
32281         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32282         ID as an additional argument.
32283         (defaultFormat): new field.
32284         (getFormat): Returns the preferred format as a short string.
32285         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32286         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32287         Likewise
32288         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32289         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32290         encoding format.
32291         (initialize(int,boolean,SecureRandom)): Likewise.
32292         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32293         writeLength() instead of write().
32294         return buf.length + 1 instead of buf.length.
32295   
32296 2006-02-07  Roman Kennke  <kennke@aicas.com>
32297   
32298         * javax/swing/plaf/basic/BasicTextUI.java
32299         (RootView.preferenceChange): Changed view parameter to view so
32300         that it doesn't hide a field of that class.
32301         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32302         (RootView.modelToView): Removed unnecessary cast from View to View.
32303         (PropertyChangeHandler): Made inner class private.
32304         (updateHandler): Made field private.
32305         (getVisibleEditorRect): Removed unneeded local variable that
32306         shadowed a field with the same name and purpose.
32307   
32308 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32309   
32310         * javax/swing/text/JTextComponent.java:
32311         (getSelectedText): Calculate offset and use that as
32312         second argument.
32313   
32314 2006-02-07  Roman Kennke  <kennke@aicas.com>
32315   
32316         * javax/swing/JTextPane.java
32317         (setCharacterAttributes): Replace input attributes when
32318         replace==true.
32319   
32320 2006-02-07  Roman Kennke  <kennke@aicas.com>
32321   
32322         * java/awt/Component.java
32323         (firePropertyChange(String,byte,byte)): Made method public.
32324         (firePropertyChange(String,char,char)): Made method public.
32325         (firePropertyChange(String,short,short)): Made method public.
32326         (firePropertyChange(String,long,long)): Made method public.
32327         (firePropertyChange(String,float,float)): Made method public.
32328         (firePropertyChange(String,double,double)): Made method public.
32329   
32330 2006-02-06  Tom Tromey  <tromey@redhat.com>
32331   
32332         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32333         2006.
32334         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32335   
32336 2006-02-06  Anthony Green  <green@redhat.com>
32337   
32338         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32339   
32340 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32341   
32342         * .settings/org.eclipse.jdt.core.prefs:
32343         Force a line split on extends and implements.
32344         Force a white-space after unary operators.
32345         Don't force a new-line after @params.
32346         Add new-line at end-of-file.
32347         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32348   
32349 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32350   
32351         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32352         Registry constant.
32353         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32354         Likewise.
32355         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32356         Likewise.
32357         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32358         Likewise.
32359         * gnu/java/security/provider/EncodedKeyFactory.java
32360         (ID_DSA): Redefined in terms of Registry constant.
32361         (ID_DSA): Redefined in terms of Registry constant.
32362         (ID_DH): Redefined in terms of Registry constant.
32363         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32364         (PKCS8_ENCODING): Likewise.
32365         (ASN1_ENCODING): Likewise.
32366         (RAW_ENCODING_SHORT_NAME): Likewise.
32367         (X509_ENCODING_SORT_NAME): Likewise.
32368         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32369         (ASN1_ENCODING_SHORT_NAME): Likewise.
32370         (X509_ENCODING_ID): Likewise.
32371         (PKCS8_ENCODING_ID): Likewise.
32372         (ASN1_ENCODING_ID): Likewise.
32373         (DSA_OID_STRING): Likewise.
32374         (RSA_OID_STRING): Likewise.
32375         (DH_OID_STRING): Likewise.
32376
32377 2006-02-06  Roman Kennke  <kennke@aicas.com>
32378
32379         * javax/swing/text/GlyphView.java:
32380         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32381         Only fill background if there is a background set on the view.
32382         Call Utilities.drawTabbedText with the baseline height, rather than
32383         the upper left corner of the view rectangle.
32384         (getBackground): Return null if no background is set.
32385         * javax/swing/text/GlyphView.java:
32386         (setPropertiesFromAttributes): Use null for background when no
32387         background is set. StyleConstants.getBackground() doesn't work
32388         for this, because it returns Color.BLACK in that case.
32389   
32390 2006-02-06  Roman Kennke  <kennke@aicas.com>
32391   
32392         * java/awt/Container.java
32393         (changeSupport): Removed duplicate (from Component) field.
32394         (addPropertyChangeListener): Call super.
32395   
32396 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32397   
32398         * java/util/regex/Matcher.java(matches):
32399         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32400   
32401 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32402
32403         Fixes bug #25812
32404         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32405         * gnu/regexp/CharIndexedCharArray.java
32406         (lookBehind),(length): Implemented.
32407         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32408         * gnu/regexp/CharIndexedString.java: Likewise.
32409         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32410         * gnu/regexp/REToken.java(getMaximumLength): New method.
32411         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32412         maxLength.
32413         (initialize): Parse (?<=X), (?<!X), (?>X).
32414         (getMaximumLength): Implemented.
32415         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32416         * gnu/regexp/RETokenChar.java: Likewise.
32417         * gnu/regexp/RETokenEnd.java: Likewise.
32418         * gnu/regexp/RETokenEndSub.java: Likewise.
32419         * gnu/regexp/RETokenLookAhead.java: Likewise.
32420         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32421         * gnu/regexp/RETokenOneOf.java: Likewise.
32422         * gnu/regexp/RETokenPOSIX.java: Likewise.
32423         * gnu/regexp/RETokenRange.java: Likewise.
32424         * gnu/regexp/RETokenRepeated.java: Likewise.
32425         * gnu/regexp/RETokenStart.java: Likewise.
32426         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32427         * gnu/regexp/RETokenIndependent.java: New file.
32428         * gnu/regexp/RETokenLookBehind.java: New file.
32429   
32430 2006-02-06  Roman Kennke  <kennke@aicas.com>
32431   
32432         * java/awt/Component.java
32433         (firePropertyChange(String,byte,byte)): New method.
32434         (firePropertyChange(String,char,char)): New method.
32435         (firePropertyChange(String,short,short)): New method.
32436         (firePropertyChange(String,long,long)): New method.
32437         (firePropertyChange(String,float,float)): New method.
32438         (firePropertyChange(String,double,double)): New method.
32439
32440 2006-02-06  Roman Kennke  <kennke@aicas.com>
32441
32442         * javax/swing/JComponent.java
32443         (AccessibleJComponent.changeSupport): Changed to be a
32444         java.beans.PropertyChangeSupport rather than
32445         SwingPropertyChangeSupport.
32446         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32447         of above field.
32448         (changeSupport): Removed unneeded field.
32449         (removePropertyChangeListener): Removed unneeded methods.
32450         (addPropertyChangeListener): Removed unneeded methods.
32451         (getPropertyChangeListeners): Removed unneeded methods.
32452         (firePropertyChange(String,boolean,boolean)): Changed to simply
32453         call super. Added specnote.
32454         (firePropertyChange(String,char,char)): Changed to simply
32455         call super. Added specnote.
32456         (firePropertyChange(String,int,int)): Changed to simply
32457         call super. Added specnote.
32458         (firePropertyChange(String,byte,byte)): Removed.
32459         (firePropertyChange(String,Object,Object)): Removed.
32460         (firePropertyChange(String,double,double)): Removed.
32461         (firePropertyChange(String,float,float)): Removed.
32462         (firePropertyChange(String,long,long)): Removed.
32463         (firePropertyChange(String,short,short)): Removed.
32464   
32465 2006-02-06  Roman Kennke  <kennke@aicas.com>
32466   
32467         * javax/swing/event/SwingPropertyChangeSupport.java
32468         (listeners): Removed field.
32469         (propertyListeners): Removed field.
32470         (source): Removed field.
32471         (SwingPropertyChangeSupport()): Removed initialization of removed
32472         fields.
32473         (addPropertyChangeListener): Removed methods.
32474         (removePropertyChangeListener): Removed methods.
32475         (getPropertyChangeListeners): Removed methods.
32476         (firePropertyChange): Removed methods.
32477         (hasListeners): Removed methods.
32478   
32479 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32480   
32481         Fixes PR 25313
32482         * java/net/InetAddress.java
32483         (readResolve): Implemented.
32484   
32485 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32486   
32487         Fixes PR 26121
32488         * java/io/ObjectInputStream.java
32489         (readNextBlock()): Handle TC_RESET.
32490   
32491 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32492         
32493         * javax/print/attribute/standard/Compression.java,
32494         * javax/print/attribute/standard/Finishings.java, 
32495         * javax/print/attribute/standard/JobMediaSheets.java,
32496         * javax/print/attribute/standard/JobSheets.java,
32497         * javax/print/attribute/standard/JobState.java,
32498         * javax/print/attribute/standard/JobStateReason.java,
32499         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32500         * javax/print/attribute/standard/PrintQuality.java,
32501         * javax/print/attribute/standard/Media.java,
32502         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32503         * javax/print/attribute/standard/PrinterStateReason.java,
32504         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32505         (getName): Make method final.
32506         (getCategory): Likewise.
32507         * javax/print/attribute/standard/MediaSize.java: 
32508         (getName): Make method final.
32509         (getCategory): Likewise.
32510         (ISO): Added private default constructor.
32511         (NA): Likewise.
32512         (JIS): Likewise.
32513         (Other): Likewise.
32514         (Engineering): Likewise.
32515
32516 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32517         
32518         * native/jni/java-net/javanet.c (_javanet_connect):
32519         Throw ConnectException instead of IOException if connection failed.
32520         * native/jni/java-net/javanet.h:
32521         Add a define for java.net.ConnectException
32522   
32523 2006-02-05  Mark Wielaard  <mark@klomp.org>
32524   
32525         Fixes bug #26101
32526         reported by Egon Willighagen <egon.willighagen@gmail.com>
32527         * javax/swing/DefaultListCellRenderer.java
32528         (getListCellRendererComponent): Turn null value into empty string.
32529   
32530 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32531   
32532         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32533         a Unicode block if the name starts with "In".
32534         (UnicodeBlockHandler): New inner class.
32535   
32536 2006-02-04  Roman Kennke  <kennke@aicas.com>
32537   
32538         * java/awt/Container.java
32539         (getComponentZOrder): New method.
32540         (setComponentZOrder): New method.
32541         * javax/swing/JLayeredPane.java
32542         (setPosition): Reimplemented to use setComponentZOrder().
32543         (getIndexOf): Reimplemented to use getComponentZOrder().
32544         (addImpl): Pass layerContraint to super call. Important for possibly
32545         installed layout managers.
32546         (swapComponents): Remove unneeded method.
32547
32548 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32549
32550         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32551         DSAKeyPairGenerator.
32552         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32553         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32554         message.
32555         Surround call to adaptee in a try/catch.
32556         (initialize((DSAParams,SecureRandom)): New method.
32557         (initialize(int,boolean,SecureRandom)): New method.
32558         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32559         KeyPairGenerator rather than KeyPairGeneratorSpi.
32560         (KeyPairGeneratorAdapter): Call super with algorithm name.
32561
32562 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32563
32564         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32565         (getDefaultPRNG): New method.
32566         (parseO): Use method above.
32567         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32568         (getDefaultPRNG): New method.
32569         (createO): Use method above.
32570         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32571         (nextByte): Use above field.
32572         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32573         * gnu/java/security/sig/rsa/RSA.java: New class field.
32574         (newR): Use above field
32575         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32576         (encode): Use field.above.
32577         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32578         (getDefaultPRNG): new method.
32579         (nextRandomBytes): Use above method.
32580         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32581         * gnu/java/security/sig/BaseSignature.java: Likewise.
32582         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32583         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32584         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32585         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32586         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32587         (getDefaultPRNG): new method.
32588         (nextRandomBytes): Use above method.
32589         (STRICT_DEFAULTS): new class field.
32590         (USE_DEFAULTS): more documentation to clarify behavior.
32591         (setup): amended to handle new attribute.
32592         * gnu/java/security/util/PRNG.java: New file.
32593   
32594 2006-02-03  Lillian Angel  <langel@redhat.com>
32595   
32596         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32597         chooser field should be protected, not package-private. 
32598   
32599 2006-02-03  Lillian Angel  <langel@redhat.com>
32600         
32601         * javax/swing/text/DefaultStyledDocument.java
32602         (changeUpdate): Cleaned up code.
32603         (split): Likewise.
32604         (insertUpdate): Set offset to be equal to pos after
32605         insertContentTag call.
32606         (insertContentTag): If paragraph has no children, should use
32607         replace instead of Edit.
32608         (insertFracture): Moved around code to prevent any exception. Also,
32609         left side of tree should not be recreated if it has already been 
32610         edited. In that case, we should only be creating a new right branch
32611         when fracturing.
32612         (getEditForParagraphAndIndex): No need to check index. We should
32613         use the same edit for each paragraph.
32614   
32615 2006-02-03  Mark Wielaard  <mark@klomp.org>
32616   
32617         * javax/swing/event/SwingPropertyChangeSupport.java
32618         (propertyListeners): Change type to HashMap.
32619         (SwingPropertyChangeSupport): Allocate HashMap.
32620   
32621 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32622   
32623         * java/security/KeyPairGenerator.java (getInstance): Test for
32624         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32625   
32626 2006-02-02  Roman Kennke  <kennke@aicas.com>
32627   
32628         * javax/swing/RepaintManager.java
32629         Made fields private.
32630         (RepaintWorker.run): Enclosed work stuff in try finally block in
32631         order to clean up correctly if invalidation or painting fails,
32632         otherwise we would get no more RepaintWorkers onto the EventQueue.
32633         Also, now the RepaintWorker is marked 'dead' only after it has
32634         finished its work, avoid more than one RepaintWorker on the queue.
32635         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32636         instead of hierarchy depths.
32637         (workDirtyComponents): Removed unused field.
32638         (repaintOrder): Removed unused field.
32639         (workRepaintOrder): Removed unused field.
32640         (workInvalidComponents): Removed unused field.
32641         (RepaintManager()): Removed initialization of removed fields.
32642         (addInvalidComponent): Fine tuned synchronization.
32643         (removeInvalidComponent): Fine tune synchronization.
32644         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32645         synchronization. Don't manager repaintOrder here.
32646         (insertRepaintOrder): Removed method.
32647         (markCompletelyClean): Fine tuned synchronization.
32648         (validateInvalidComponents): Dont use a working copy of the
32649         invalidComponents list, instead fine tuned synchronization on this
32650         list. Also, don't search validateRoot, this is already done in
32651         addInvalidComponent().
32652         (paintDirtyRegions): Compute repaint order here, based on size of
32653         damaged regions. Fine tuned synchronization. Avoid use of working
32654         copies of dirtyComponent.
32655   
32656 2006-02-02  Lillian Angel  <langel@redhat.com>
32657   
32658         * javax/swing/text/DefaultStyledDocument.java
32659         (insertUpdate): JoinNextDirection should push the 
32660         'next' paragraph on the stack.
32661   
32662 2006-02-02  Lillian Angel  <langel@redhat.com>
32663   
32664         * javax/swing/text/DefaultStyledDocument.java
32665         (insertUpdate): Rewrote code for Originate. This prevents
32666         leaves being created multiple times. If it is on the last 
32667         ElementSpec, the leaves need to be created right then; 
32668         otherwise, only a branch is created.
32669         (insertContentTag): Rewrote to add new leaf directly if
32670         this is a branch with no children. Otherwise, it
32671         recreates the remainder of the tree as before.
32672   
32673 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32674   
32675         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32676         for making a list of REMatch instances.
32677         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32678         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32679         (match): Rewritten using REMatchList.
32680         (matchRest): Rewritten using REMatchList.
32681   
32682 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32683   
32684         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32685         (friendsMove):  Call repaint() only after endOfGame is assigned.
32686   
32687 2006-02-02  Mark Wielaard  <mark@klomp.org>
32688   
32689         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32690         * java/util/AbstractCollection.java (toString): Only use Iterator,
32691         check whether collection contains itself.
32692   
32693 2006-02-01  Casey Marshall  <csm@gnu.org>
32694   
32695         Partial fix for PR classpath/25143.
32696         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32697         (<init>): fill in `algName,' derive `algOid' from `algName.'
32698         (getOid): new method.
32699         (encode): embed NULL value for parameters if `params' is `null.'
32700   
32701 2006-02-01  Casey Marshall  <csm@gnu.org>
32702   
32703         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32704         <monoman@gmail.com>.    
32705         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32706         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32707   
32708 2006-02-01  Casey Marshall  <csm@gnu.org>
32709   
32710         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32711         * gnu/java/security/der/DERValue.java
32712         (getLength, getEncoded, getEncodedLength): throw an exception,
32713         don't initialize `encoded' to a bogus value.
32714         (toString): return a more helpful string.
32715
32716         Partial fix for PR classpath/25144.
32717         * gnu/java/security/der/DERWriter.java (write): if the value is
32718         the pseudo-value used for CONSTRUCTED, write the encoded value
32719         directly.
32720         
32721 2006-02-01  Tom Tromey  <tromey@redhat.com>
32722   
32723         * java/security/Security.java (loadProviders): Use system class
32724         loader.
32725   
32726 2006-02-01  Mark Wielaard  <mark@klomp.org>
32727   
32728         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32729         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32730         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32731         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32732         (UnicodeCategoriesHandler): New private static class.
32733         
32734 2006-02-01  Lillian Angel  <langel@redhat.com>
32735   
32736         * javax/swing/text/DefaultStyledDocument.java:
32737         Removed unneeded fields.
32738         (insertUpdate): Removed field initialization.
32739         (insertContentTag): Rewrote part of function. Still
32740         not complete.
32741   
32742 2006-02-01  Lillian Angel  <langel@redhat.com>
32743   
32744         * javax/swing/text/DefaultStyledDocument.java
32745         (insertParagraph): Cleaned up code.
32746         (insertFirstContentTag): Fixed call to recreateLeaves.
32747         (insertContentTag): Added check to code to determine where
32748         content should be inserted with respect to next element.
32749         (createFracture): Removed check, recreateLeaves is called in 
32750         other places when needed.
32751         (recreateLeaves): Added new parameter for paragraph instead
32752         of checking the stack. Removed editing for newBranch, replaced
32753         with a replace call.
32754
32755 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
32756
32757         * doc/unicode/Blocks-4.0.0.txt: New file.
32758         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
32759         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32760         * scripts/unicode-blocks.pl: Copied this over from the generics branch
32761         but replaced some 1.5-only features (such as enum).
32762   
32763 2006-01-31  Roman Kennke  <kennke@aicas.com>
32764   
32765         * javax/swing/text/PasswordView.java
32766         (drawSelectedText): Use drawEchoCharacter() method to draw echo
32767         character.
32768         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32769         character.
32770   
32771 2006-01-31  Roman Kennke  <kennke@aicas.com>
32772   
32773         * javax/swing/JTextField.java
32774         (getPreferredSize): Also include textfield's insets in width
32775         calculation.
32776   
32777 2006-01-31  Roman Kennke  <kennke@aicas.com>
32778   
32779         * javax/swing/plaf/basic/BasicTextUI.java
32780         (getPreferredSize): Include the textcomponent's insets in
32781         preferredSize.
32782   
32783 2006-01-31  Roman Kennke  <kennke@aicas.com>
32784   
32785         * javax/swing/table/DefaultTableCellRenderer.java
32786         (getTableCellRendererComponent): Moved setting of the value into
32787         setValue(). Removed (bogus) special handling of JTextField values.
32788         (setValue): Made ?: statement more clear by rewriting it
32789         with if .. else.
32790   
32791 2006-01-31  Roman Kennke  <kennke@aicas.com>
32792   
32793         * javax/swing/JLayeredPane.java
32794         (insertIndexForLayer): Fixed algorithm to correctly determine
32795         inser index for positions >= 0.
32796         (addImpl): Fixed API docs for the index parameter.
32797   
32798 2006-01-31  Mark Wielaard  <mark@klomp.org>
32799   
32800         * java/net/URI.java (getURIGroup): Check for null to see whether
32801         group actually exists.
32802   
32803 2006-01-31  Lillian Angel  <langel@redhat.com>
32804   
32805         * javax/swing/text/DefaultStyledDocument.java
32806         (changeUpdate): Fixed calls to split to incorporate 
32807         new parameter.
32808         (insertParagraph): Likewise. Uses 0 as editIndex
32809         because inserting into a new paragraph.
32810         (insertContentTag): Fixed check to use 
32811         recreateLeaves. Added a FIXME comment.
32812         (split): Added a new parameter for edits.
32813   
32814 2006-01-31  Roman Kennke  <kennke@aicas.com>
32815   
32816         * javax/swing/plaf/basic/BasicRootPaneUI.java
32817         (installDefaults): Don't install a background color here.
32818   
32819 2006-01-31  Lillian Angel  <langel@redhat.com>
32820   
32821         * javax/swing/text/DefaultStyledDocument.java
32822         (insert): Removed comment.
32823         (insertUpdate): Added comment.
32824         (recreateLeaves): Removed call to push newBranch onto the
32825         stack. This does not need to be done here.
32826   
32827 2006-01-31  Chris Burdess  <dog@gnu.org>
32828   
32829         * gnu/xml/stream/SAXParser.java,
32830           gnu/xml/stream/UnicodeReader.java,
32831           gnu/xml/stream/XIncludeFilter.java,
32832           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
32833           only resolved the system ID not the stream. Make some utility methods
32834           public and static for use by other private XML APIs.
32835         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
32836           called without throwing IllegalStateException.
32837         * java/util/logging/SimpleFormatter.java: Write thrown exception if
32838           provided.
32839
32840 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32841
32842         Fixes bug #22873
32843         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
32844         for an invalid index and return null for a skipped group.
32845
32846 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32847
32848         Fixes bug #26002
32849         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
32850         (NamedProperty): New inner class.
32851         (getNamedProperty): New method.
32852         (getRETokenNamedProperty): New Method.
32853         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
32854         * gnu/regexp/RETokenNamedProperty.java: New file.
32855
32856 2006-01-31  Roman Kennke  <kennke@aicas.com>
32857
32858         * javax/swing/plaf/PlainView.java
32859         (paint): Call drawLine with baseline coordinates.
32860         (drawLine): Documented and indented this method.
32861         (drawUnselecetedText): Documented and indented this method.
32862         * javax/swing/plaf/text/Utilites.java
32863         (drawTabbedText): The coordinates denote the baseline of the text
32864         not the upper left corner.
32865   
32866 2006-01-31  Roman Kennke  <kennke@aicas.com>
32867   
32868         * javax/swing/plaf/basic/BasicTextUI.java
32869         (createKeymap): Don't store KeyBindings[] as focusInputMap in
32870         UIManager. Added FIXME regarding the implementation of this method.
32871   
32872 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32873   
32874         * examples/gnu/classpath/examples/swing/ButtonDemo.java
32875         (ButtonDemo): Move content initialisation to new method,
32876         (initFrameContent): New method,
32877         (main): Call initFrameContent(),
32878         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
32879         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
32880         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
32881         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
32882         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
32883   
32884 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
32885   
32886         * examples/gnu/classpath/examples/swing/Demo.java
32887         (Demo): Set frame size,
32888         (mkButtonBar): Removed stacked sub-panels.
32889   
32890 2006-01-30  Lillian Angel  <langel@redhat.com>
32891   
32892         * javax/swing/text/DefaultStyledDocument.java:
32893         Added new fields.
32894         (insert): Initialized fields. Removed call to addEdit, 
32895         and created ElementEdit instead.
32896         (insertUpdate): Added check for fracturing. If the
32897         fracturing was not successful, we should push the
32898         last element back on the stack.
32899         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
32900         Also, changed replace calls to use Edit.
32901         (insertFirstContentTag): Removed unneeded check and fixed call
32902         to recreateLeaves.
32903         (insertContent): Fixed check to use new fields. Added code in
32904         to check if leaves overlap.
32905         (createFracture): Fixed call to recreateLeaves.
32906         (recreateLeaves): Fixed code and cleaned it up a bit.
32907         (insertFracture): Set fracNotCreated field.
32908         (addEdit): Removed, this method is not needed.
32909   
32910 2006-01-30  Roman Kennke  <kennke@aicas.com>
32911   
32912         * javax/swing/JRootPane.java
32913         (RootLayout.prefSize): Removed caching for preferredSize.
32914         (RootLayout.invalidateLayout): Likewise.
32915         (RootLayout.preferredLayoutSize): Likewise.     
32916   
32917 2006-01-30  Roman Kennke  <kennke@aicas.com>
32918   
32919         PR classpath/26035
32920         * javax/swing/JFrame.java
32921         (frameInit): Handle the defaultLookAndFeelDecorated flag.
32922         * javax/swing/plaf/metal/MetalRootPaneUI.java
32923         (MetalFrameBorder): New inner class, provides the border for
32924         top level containers with L&F decorations.
32925         (MetalTitlePane): New inner class, provides the title pane for
32926         top level containers with L&F decorations.
32927         (MetalRootLayout): New inner class. Used to layout the root pane
32928         when L&F window decorations are enabled.
32929         (installUI): New method. Handles window decorations.
32930         (uninstallUI): New method. Handles window decorations.
32931         (propertyChange): Handles window decorations.
32932         (installWindowDecorations): New method. Handles window
32933         decorations.
32934         (uninstallWindowDecorations): New method. Handles window
32935         decorations.
32936         * javax/swing/plaf/metal/MetalLookAndFeel.java
32937         (getSupportsWindowDecorations): Overridden to return true.
32938
32939 2006-01-30  Mark Wielaard  <mark@klomp.org>
32940
32941         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
32942         IllegalArgumentException when orientation is illegal.
32943         (JProgressBar(int, int, int)): Likewise and throw exception.
32944         (setOrientation): Likewise.
32945   
32946 2006-01-30  Roman Kennke  <kennke@aicas.com>
32947   
32948         * javax/swing/ViewportLayout.java
32949         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
32950   
32951 2006-01-30  Mark Wielaard  <mark@klomp.org>
32952   
32953         * javax/swing/JProgressBar.java (orientation): Always set by
32954         constructor.
32955         (JProgressBar(int)): Document default on 'illegal' value.
32956         (JProgressBar(int, int, int)): Likewise and set orientation to
32957         HORIZONTAL when 'illegal'.
32958         (setOrientation): Likewise.
32959   
32960 2006-01-30  Roman Kennke  <kennke@aicas.com>
32961   
32962         * javax/swing/plaf/basic/BasicListUI.java
32963         (ListDataHandler.contentsChanged): Update the
32964         updateLayoutStateNeeded flag.
32965         (ListDataHandler.intervalAdded): Update the
32966         updateLayoutStateNeeded flag.
32967         (ListDataHandler.intervalRemoved): Update the
32968         updateLayoutStateNeeded flag.
32969         (PropertyChangeHandler.propertyChange): Correctly update the
32970         listeners on new list model.
32971         (maybeUpdateLayoutState): Don't consider the validation state
32972         of the list.
32973   
32974 2006-01-30  Mark Wielaard  <mark@klomp.org>
32975   
32976         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
32977         sortKeys is null.
32978   
32979 2006-01-30  Roman Kennke  <kennke@aicas.com>
32980   
32981         * javax/swing/JLayeredPane.java
32982         (insertIndexForLayer): Fixed algorithm to correctly insert
32983         components within different layers and -1 position.
32984   
32985 2006-01-30  Mark Wielaard  <mark@klomp.org>
32986   
32987         * doc/api/Makefile.am (create_html): Add -validhtml.
32988   
32989 2006-01-30  Roman Kennke  <kennke@aicas.com>
32990   
32991         * javax/swing/JLayeredPane.java
32992         (insertIndexForLayer): Fixed algorithm to correctly insert
32993         components within same layer and -1 position.
32994   
32995 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32996   
32997         Fixes bug #24876
32998         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
32999         New execution flag.
33000         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33001         implicit RETokenEnd at the end of the regexp chain.
33002         Do not select the longest match, but select the first match.
33003         (match): Do not take care of REMatch.empty.
33004         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33005         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33006         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33007         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33008         Do not take care of REMatch.empty. Set and check REMatch.empty
33009         when trying to match the single token.
33010
33011 2006-01-30  Mark Wielaard  <mark@klomp.org>
33012
33013         * java/awt/Cursor.java (toString): Include name and type.
33014
33015 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33016
33017         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33018         the ipad buffer.
33019         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33020   
33021 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33022         
33023         PR 26027
33024         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33025         Consider the validation state of the list. 
33026
33027 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33028
33029         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33030         INSTANCE added.
33031         * java/beans/XMLDecoder.java:
33032         (setExceptionListener): Use shared DefaultExceptionListener
33033         instance.
33034         * java/beans/Encoder.java:
33035         (setExceptionListener): Use shared DefaultExceptionListener
33036         instance.
33037   
33038 2006-01-29  Roman Kennke  <kennke@aicas.com>
33039   
33040         * javax/swing/ScrollPaneLayout.java
33041         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33042   
33043 2006-01-29  Mark Wielaard  <mark@klomp.org>
33044   
33045         * java/net/SocketPermission.java (setActions): Trim and lower case
33046         action.
33047   
33048 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33049   
33050         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33051         incorrectly failing primality test for some known primes. Fixed.
33052         (passFermatLittleTheorem): Removed.
33053         (passMillerRabin): Removed.
33054         (isProbablePrime): Cache primes that pass the primality tests.
33055         Use BigInteger.isProbablePrime(int) for primality tests.
33056         (debugBI): New static debugging method.
33057   
33058 2006-01-28  Roman Kennke  <kennke@aicas.com>
33059   
33060         * javax/swing/plaf/basic/BasicListUI.java
33061         (updateLayoutState): Removed unneeded special case for VERTICAL.
33062   
33063 2006-01-28  Roman Kennke  <kennke@aicas.com>
33064   
33065         * javax/swing/plaf/basic/BasicListUI.java
33066         (getCellBounds): Determine correct list width when having a
33067         layoutOrientation of VERTICAL.
33068         (maybeUpdateLayoutState): Don't consider the validation state of
33069         the list.
33070   
33071 2006-01-28  Mark Wielaard  <mark@klomp.org>
33072   
33073         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33074         * java/awt/print/NoPrinterJob.java: New (fake) class.
33075         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33076   
33077 2006-01-28  Mark Wielaard  <mark@klomp.org>
33078   
33079         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33080   
33081 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33082   
33083         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33084         (addChildren): New method.
33085   
33086 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33087   
33088         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33089         constructor for cloning purposes.
33090         (clone): New implementation that ensures cloning.
33091         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33092         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33093           "GNU".
33094   
33095 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33096   
33097         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33098         Call updateCurrentVisiblePath.
33099   
33100 2006-01-27  Roman Kennke  <kennke@aicas.com>
33101   
33102         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33103   
33104 2006-01-27  Roman Kennke  <kennke@aicas.com>
33105   
33106         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33107         (createContent): Only create new content if we don't have one
33108         already.
33109         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33110         (createContent): Only create new content if we don't have one
33111         already.
33112         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33113         (createContent): Only create new content if we don't have one
33114         already.
33115         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33116         (createContent): Only create new content if we don't have one
33117         already.
33118         * examples/gnu/classpath/examples/swing/SliderDemo.java
33119         (createContent): Only create new content if we don't have one
33120         already.
33121         * examples/gnu/classpath/examples/swing/TableDemo.java
33122         (createContent): Only create new content if we don't have one
33123         already.
33124         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33125         (createContent): Only create new content if we don't have one
33126         already.
33127   
33128 2006-01-27  Lillian Angel  <langel@redhat.com>
33129   
33130         * javax/swing/text/DefaultStyledDocument.java
33131         (insertFirstContentTag): Removed check, not needed. This
33132         still needs to be fixed for some cases. Added call to
33133         recreateLeaves.
33134         (createFracture): Added call to recreateLeaves.
33135         (recreateLeaves): New method used to recreate all the
33136         leaves after the initial insertion. This still needs 
33137         more work.
33138         (handleInsertAfterNewline): Removed else, not needed.
33139   
33140 2006-01-27  Roman Kennke  <kennke@aicas.com>
33141   
33142         * javax/swing/JLayeredPane.java
33143         (inserIndexForLayer): Fixed direction of search.
33144   
33145 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33146   
33147         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33148         node into nodeStates.
33149   
33150 2006-01-27  Roman Kennke  <kennke@aicas.com>
33151   
33152         * javax/swing/JLayeredPane.java
33153         (FRAME_CONTENT_LAYER): Made field final.
33154         (componentToLayer): Made field private.
33155         (rectCache): Removed field.
33156         (layers): Removed field.
33157         (JLayeredPane()): Removed initialization of removed fields.
33158         (getLayer): Rewritten to make use of client properties in
33159         JComponents and to be more straighforward.
33160         (static getLayer): Rewritten to make use of client properties in
33161         JComponents.
33162         (layerToRange): Removed method.
33163         (incrLayer): Removed method.
33164         (decrLayer): Removed method.
33165         (highestLayer): Rewritten to be more straightforward.
33166         (lowestLayer): Rewritten to be more straightforward.
33167         (getPosition): Rewritten to be more straightforward.
33168         (getComponentsInLayer): Rewritten to be more straightforward.
33169         (getComponentCountInLayer): Rewritten to be more straightforward.
33170         (getIndexOf): Rewritten to be more straightforward.
33171         (inserIndexForLayer): Rewritten to be more straightforward.
33172         (remove): Rewritten to be more straightforward.
33173         (setLayer): Rewritten to be more straightforward.
33174         (addImpl): Rewritten to be more straightforward.
33175         (putLayer): Rewritten to be more straightforward.
33176
33177 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33178
33179         * java/lang/Character.java:
33180         (offsetByCodePoints(CharSequence, int, int)): New API method.
33181         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33182         (toChars): Throw the Exception that the docs say we throw.
33183         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33184         statement.
33185         * java/lang/String.java:
33186         (String(int[], int, int)): New API constructor.
33187   
33188 2006-01-27  Lillian Angel  <langel@redhat.com>
33189   
33190         * javax/swing/text/DefaultStyledDocument.java
33191         (insert): Moved this loop to insertUpdate.
33192         (insertUpdate): Likewise. Fixed variable
33193         names. Incremented pos if new paragraph
33194         is inserted.
33195         (split): Changed edits to use replace instead. Prevents
33196         assertion errors.
33197         (insertFirstContentTag): Removed else.
33198         (insertContentTag): Implemented else for JoinNextDirection.
33199         (createFracture): Fixed up code, still not fully complete.
33200         (insertFracture): Fixed to use return value from 
33201         recreateAfterFracture.
33202         (recreateAfterFracture): Changed to return an array of the
33203         elements to be added. This prevents an assertion error.
33204         (contains): New function checks if an element is already in 
33205         the Vector. Vector's contain function was not enough to use.
33206         (addAddedElement): Changed to use new contains function.
33207         (addAddedElements): Likewise.
33208         (addRemovedElement): Likewise.
33209         (addRemovedElements): Likewise.        
33210         
33211 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33212
33213         PR 25520
33214         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33215         If no user class loaders found on the stack, return the thread 
33216         context class loader. (currentClassLoader): Explained.
33217   
33218 2006-01-27  Roman Kennke  <kennke@aicas.com>
33219   
33220         * java/awt/Container.java
33221         (swapComponents): Removed unspecified method.
33222         * javax/swing/JLayeredPane.java
33223         (setPosition): Reimplemented correctly.
33224         (swapComponents): New helper method.
33225   
33226 2006-01-27  Mark Wielaard  <mark@klomp.org>
33227   
33228         * configure.ac: Set version to 0.21-pre.
33229   
33230 2006-01-27  Roman Kennke  <kennke@aicas.com>
33231   
33232         PR classpath/25968
33233         * javax/swing/JComponent.java
33234         (findOverlapFreeParent): Improved the algorithm to make better use
33235         of the optimizedDrawingEnabled flag.
33236         * javax/swing/JLayeredPane.java
33237         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33238         * javax/swing/JViewport.java
33239         (computeBlit): Fixed check to decide if blitting is possible or not,
33240         so that it doesn't blit if nothing was scrolled (in order to
33241         update the buffer when the view updates itself).
33242   
33243 2006-01-27  Roman Kennke  <kennke@aicas.com>
33244   
33245         * javax/swing/plaf/metal/MetalFileChooserUI.java
33246         (createList): Don't set scrollbar policy.
33247   
33248 2006-01-27  Roman Kennke  <kennke@aicas.com>
33249   
33250         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33251         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33252         Fixed to also handle non-Swing toplevel containers.
33253         (PopupMenuHandler.popupMenuWillBecomeVisible):
33254         Fixed to also handle non-Swing toplevel containers.
33255         * javax/swing/Popup.java
33256         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33257         popup.
33258   
33259 2006-01-27  Roman Kennke  <kennke@aicas.com>
33260   
33261         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33262         (InternalFramePropertyChangeListener): Don't implement
33263         VetoableChangeListener.
33264         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33265         (internalFrameVetoableChangeListener): Removed unneeded field.
33266         (installListeners): Don't install vetoableChangeListener.
33267         * javax/swing/event/DocumentEvent.java
33268         (EventType): Made class final.
33269   
33270 2006-01-27  Roman Kennke  <kennke@aicas.com>
33271   
33272         * javax/swing/SwingUtilities.java
33273         (calculateInsetArea): Removed unneeded method. The method
33274         calculateInnerArea has the same purpose and is actually specified.
33275         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33276         * javax/swing/plaf/basic/BasicMenuItemUI.java
33277         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33278         of SwingUtilities.calculateInsetArea().
33279   
33280 2006-01-27  Roman Kennke  <kennke@aicas.com>
33281   
33282         * javax/swing/plaf/basic/BasicTreeUI.java
33283         (installDefaults): Removed requestFocusInWindow() call.
33284         * javax/swing/JComponent.java
33285         (requestFocusInWindow(boolean)): Made method protected.
33286         (printComponent): Made method protected.
33287         (printChildren): Made method protected.
33288         (printComponent): Made method protected.
33289         (printBorder): Made method protected.
33290   
33291 2006-01-27  Roman Kennke  <kennke@aicas.com>
33292   
33293         * javax/swing/AbstractButton.java
33294         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33295         package private.
33296         * javax/swing/ImageIcon.java
33297         (component): Made field final.
33298         (tracker): Made field final.
33299         * javax/swing/JApplet.java
33300         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33301         * javax/swing/JCheckBox.java
33302         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33303         protected.
33304         * javax/swing/JDialog.java
33305         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33306         * javax/swing/JFrame.java
33307         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33308         * javax/swing/JLayeredPane.java
33309         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33310         protected.
33311         (DEFAULT_LAYER): Made field final.
33312         (PALETTE_LAYER): Made field final.
33313         (MODAL_LAYER): Made field final.
33314         (POPUP_LAYER): Made field final.
33315         (DRAG_LAYER): Made field final.
33316         * javax/swing/JMenu.java
33317         (ActionChangeListener): Made class private.
33318         * javax/swing/JOptionPane.java
33319         (UNITITIALIZED_VALUE): Made field final.
33320         * javax/swing/JPanel.java
33321         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33322         * javax/swing/JPopupMenu.java
33323         (ActionChangeListener): Made class private.
33324         * javax/swing/JTree.java
33325         (paramString): Made method protected.
33326         * javax/swing/JViewport.java
33327         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33328         * javax/swing/JWindow.java
33329         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33330         * javax/swing/RepaintManager.java
33331         (RepaintWorker): Made class private.
33332   
33333 2006-01-27  Roman Kennke  <kennke@aicas.com>
33334   
33335         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33336         (handleEvent): Removed debug statement.
33337   
33338 2006-01-27  Roman Kennke  <kennke@aicas.com>
33339   
33340         * java/awt/Component.java
33341         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33342         more than it helps.
33343   
33344 2006-01-26  Lillian Angel  <langel@redhat.com>
33345   
33346         * javax/swing/text/DefaultStyledDocument.java
33347         (createFracture): Commented out a known problem,
33348         added FIXME tag.
33349   
33350 2006-01-26  Lillian Angel  <langel@redhat.com>
33351   
33352         * javax/swing/text/DefaultStyledDocument.java
33353         (ElementBuffer): Added fields.
33354         (remove): Initialized pos.
33355         (change): Likewise.
33356         (insert): Likewise.
33357         (insertUpdate): Incremented pos. Fixed check, createFracture should
33358         be called on first tag if it is not ContentType.
33359         (insertFirstContentTag): Reworked to use proper offsets and
33360         set offset accordingly. This might need more work in the future.
33361         (insertContentTag): Likewise. Fixed to use pos, instead of 
33362         offset.
33363         (createFracture): Fixed to recreate other leaves. Still needs
33364         more work.
33365         (insertFracture): Reimplemented.
33366         (recreateAfterFracture): New method.
33367         (getParagraphElement): Reimplemented, more efficent.
33368
33369 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33370
33371         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33372         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33373         ordering for little-endian arms without VFP.
33374
33375 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33376
33377         PR classpath/25981
33378         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33379
33380 2006-01-26  Mark Wielaard  <mark@klomp.org>
33381
33382         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33383         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33384         Add trailing zeros to the fraction of the decimal with the smallest
33385         scale.
33386
33387 2006-01-26  Roman Kennke  <kennke@aicas.com>
33388
33389         * javax/swing/text/html/ObjectView.java: New file.
33390
33391 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33392
33393         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33394         Call startEditing when appropriate.
33395         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33396         (startEditing): Always edit if directly ordered from 
33397         MouseHandler.mousePressed.
33398         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33399         New field. (createTreeCellEditor): Set click count to start.
33400         (getTreeCellEditorComponent): Assing realEditor directly.
33401
33402 2006-01-25  Casey Marshall  <csm@gnu.org>
33403
33404         Merging GNU Crypto and Jessie.
33405
33406         * NEWS: mention the merge in the 0.21 notes.
33407         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33408         (SSL_RECORD_LAYER): new constants.
33409         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33410         to provider.
33411         * resource/java/security/classpath.security: add new providers.
33412         * gnu/javax/crypto/assembly/Assembly.java,
33413         gnu/javax/crypto/assembly/Cascade.java,
33414         gnu/javax/crypto/assembly/CascadeStage.java,
33415         gnu/javax/crypto/assembly/CascadeTransformer.java,
33416         gnu/javax/crypto/assembly/DeflateTransformer.java,
33417         gnu/javax/crypto/assembly/Direction.java,
33418         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33419         gnu/javax/crypto/assembly/ModeStage.java,
33420         gnu/javax/crypto/assembly/Operation.java,
33421         gnu/javax/crypto/assembly/PaddingTransformer.java,
33422         gnu/javax/crypto/assembly/Stage.java,
33423         gnu/javax/crypto/assembly/Transformer.java,
33424         gnu/javax/crypto/assembly/TransformerException.java,
33425         gnu/javax/crypto/cipher/Anubis.java,
33426         gnu/javax/crypto/cipher/BaseCipher.java,
33427         gnu/javax/crypto/cipher/Blowfish.java,
33428         gnu/javax/crypto/cipher/Cast5.java,
33429         gnu/javax/crypto/cipher/CipherFactory.java,
33430         gnu/javax/crypto/cipher/DES.java,
33431         gnu/javax/crypto/cipher/IBlockCipher.java,
33432         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33433         gnu/javax/crypto/cipher/Khazad.java,
33434         gnu/javax/crypto/cipher/NullCipher.java,
33435         gnu/javax/crypto/cipher/Rijndael.java,
33436         gnu/javax/crypto/cipher/Serpent.java,
33437         gnu/javax/crypto/cipher/Square.java,
33438         gnu/javax/crypto/cipher/TripleDES.java,
33439         gnu/javax/crypto/cipher/Twofish.java,
33440         gnu/javax/crypto/cipher/WeakKeyException.java,
33441         gnu/javax/crypto/jce/GnuCrypto.java,
33442         gnu/javax/crypto/jce/GnuSasl.java,
33443         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33444         gnu/javax/crypto/jce/cipher/AESSpi.java,
33445         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33446         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33447         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33448         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33449         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33450         gnu/javax/crypto/jce/cipher/DESSpi.java,
33451         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33452         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33453         gnu/javax/crypto/jce/cipher/PBES2.java,
33454         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33455         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33456         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33457         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33458         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33459         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33460         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33461         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33462         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33463         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33464         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33465         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33466         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33467         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33468         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33469         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33470         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33471         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33472         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33473         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33474         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33475         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33476         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33477         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33478         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33479         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33480         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33481         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33482         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33483         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33484         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33485         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33486         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33487         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33488         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33489         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33490         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33491         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33492         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33493         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33494         gnu/javax/crypto/jce/mac/MacAdapter.java,
33495         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33496         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33497         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33498         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33499         gnu/javax/crypto/jce/mac/OMacImpl.java,
33500         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33501         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33502         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33503         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33504         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33505         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33506         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33507         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33508         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33509         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33510         gnu/javax/crypto/jce/params/DEREncodingException.java,
33511         gnu/javax/crypto/jce/params/DERReader.java,
33512         gnu/javax/crypto/jce/params/DERWriter.java,
33513         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33514         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33515         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33516         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33517         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33518         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33519         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33520         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33521         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33522         gnu/javax/crypto/key/GnuSecretKey.java,
33523         gnu/javax/crypto/key/IKeyAgreementParty.java,
33524         gnu/javax/crypto/key/IncomingMessage.java,
33525         gnu/javax/crypto/key/KeyAgreementException.java,
33526         gnu/javax/crypto/key/KeyAgreementFactory.java,
33527         gnu/javax/crypto/key/OutgoingMessage.java,
33528         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33529         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33530         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33531         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33532         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33533         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33534         gnu/javax/crypto/key/dh/ElGamalSender.java,
33535         gnu/javax/crypto/key/dh/GnuDHKey.java,
33536         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33537         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33538         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33539         gnu/javax/crypto/key/dh/RFC2631.java,
33540         gnu/javax/crypto/key/srp6/SRP6Host.java,
33541         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33542         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33543         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33544         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33545         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33546         gnu/javax/crypto/key/srp6/SRP6User.java,
33547         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33548         gnu/javax/crypto/key/srp6/SRPKey.java,
33549         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33550         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33551         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33552         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33553         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33554         gnu/javax/crypto/keyring/BaseKeyring.java,
33555         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33556         gnu/javax/crypto/keyring/CertPathEntry.java,
33557         gnu/javax/crypto/keyring/CertificateEntry.java,
33558         gnu/javax/crypto/keyring/CompressedEntry.java,
33559         gnu/javax/crypto/keyring/EncryptedEntry.java,
33560         gnu/javax/crypto/keyring/Entry.java,
33561         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33562         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33563         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33564         gnu/javax/crypto/keyring/IKeyring.java,
33565         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33566         gnu/javax/crypto/keyring/IPublicKeyring.java,
33567         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33568         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33569         gnu/javax/crypto/keyring/MeteredInputStream.java,
33570         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33571         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33572         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33573         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33574         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33575         gnu/javax/crypto/keyring/Properties.java,
33576         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33577         gnu/javax/crypto/mac/BaseMac.java,
33578         gnu/javax/crypto/mac/HMac.java,
33579         gnu/javax/crypto/mac/HMacFactory.java,
33580         gnu/javax/crypto/mac/IMac.java,
33581         gnu/javax/crypto/mac/MacFactory.java,
33582         gnu/javax/crypto/mac/MacInputStream.java,
33583         gnu/javax/crypto/mac/MacOutputStream.java,
33584         gnu/javax/crypto/mac/OMAC.java,
33585         gnu/javax/crypto/mac/TMMH16.java,
33586         gnu/javax/crypto/mac/UHash32.java,
33587         gnu/javax/crypto/mac/UMac32.java,
33588         gnu/javax/crypto/mode/BaseMode.java,
33589         gnu/javax/crypto/mode/CBC.java,
33590         gnu/javax/crypto/mode/CFB.java,
33591         gnu/javax/crypto/mode/CTR.java,
33592         gnu/javax/crypto/mode/EAX.java,
33593         gnu/javax/crypto/mode/ECB.java,
33594         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33595         gnu/javax/crypto/mode/ICM.java,
33596         gnu/javax/crypto/mode/IMode.java,
33597         gnu/javax/crypto/mode/ModeFactory.java,
33598         gnu/javax/crypto/mode/OFB.java,
33599         gnu/javax/crypto/pad/BasePad.java,
33600         gnu/javax/crypto/pad/IPad.java,
33601         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33602         gnu/javax/crypto/pad/PKCS7.java,
33603         gnu/javax/crypto/pad/PadFactory.java,
33604         gnu/javax/crypto/pad/SSL3.java,
33605         gnu/javax/crypto/pad/TBC.java,
33606         gnu/javax/crypto/pad/TLS1.java,
33607         gnu/javax/crypto/pad/WrongPaddingException.java,
33608         gnu/javax/crypto/prng/ARCFour.java,
33609         gnu/javax/crypto/prng/CSPRNG.java,
33610         gnu/javax/crypto/prng/Fortuna.java,
33611         gnu/javax/crypto/prng/ICMGenerator.java,
33612         gnu/javax/crypto/prng/IPBE.java,
33613         gnu/javax/crypto/prng/PBKDF2.java,
33614         gnu/javax/crypto/prng/PRNGFactory.java,
33615         gnu/javax/crypto/prng/UMacGenerator.java,
33616         gnu/javax/crypto/sasl/AuthInfo.java,
33617         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33618         gnu/javax/crypto/sasl/ClientFactory.java,
33619         gnu/javax/crypto/sasl/ClientMechanism.java,
33620         gnu/javax/crypto/sasl/ConfidentialityException.java,
33621         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33622         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33623         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33624         gnu/javax/crypto/sasl/InputBuffer.java,
33625         gnu/javax/crypto/sasl/IntegrityException.java,
33626         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33627         gnu/javax/crypto/sasl/NoSuchUserException.java,
33628         gnu/javax/crypto/sasl/OutputBuffer.java,
33629         gnu/javax/crypto/sasl/SaslEncodingException.java,
33630         gnu/javax/crypto/sasl/SaslInputStream.java,
33631         gnu/javax/crypto/sasl/SaslOutputStream.java,
33632         gnu/javax/crypto/sasl/SaslUtil.java,
33633         gnu/javax/crypto/sasl/ServerFactory.java,
33634         gnu/javax/crypto/sasl/ServerMechanism.java,
33635         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33636         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33637         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33638         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33639         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33640         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33641         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33642         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33643         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33644         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33645         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33646         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33647         gnu/javax/crypto/sasl/plain/PlainClient.java,
33648         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33649         gnu/javax/crypto/sasl/plain/PlainServer.java,
33650         gnu/javax/crypto/sasl/srp/CALG.java,
33651         gnu/javax/crypto/sasl/srp/ClientStore.java,
33652         gnu/javax/crypto/sasl/srp/IALG.java,
33653         gnu/javax/crypto/sasl/srp/KDF.java,
33654         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33655         gnu/javax/crypto/sasl/srp/SRP.java,
33656         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33657         gnu/javax/crypto/sasl/srp/SRPClient.java,
33658         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33659         gnu/javax/crypto/sasl/srp/SRPServer.java,
33660         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33661         gnu/javax/crypto/sasl/srp/ServerStore.java,
33662         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33663         gnu/javax/net/ssl/Base64.java,
33664         gnu/javax/net/ssl/EntropySource.java,
33665         gnu/javax/net/ssl/NullManagerParameters.java,
33666         gnu/javax/net/ssl/PrivateCredentials.java,
33667         gnu/javax/net/ssl/SRPManagerParameters.java,
33668         gnu/javax/net/ssl/SRPTrustManager.java,
33669         gnu/javax/net/ssl/StaticTrustAnchors.java,
33670         gnu/javax/net/ssl/provider/Alert.java,
33671         gnu/javax/net/ssl/provider/AlertException.java,
33672         gnu/javax/net/ssl/provider/Certificate.java,
33673         gnu/javax/net/ssl/provider/CertificateRequest.java,
33674         gnu/javax/net/ssl/provider/CertificateType.java,
33675         gnu/javax/net/ssl/provider/CertificateVerify.java,
33676         gnu/javax/net/ssl/provider/CipherSuite.java,
33677         gnu/javax/net/ssl/provider/ClientHello.java,
33678         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33679         gnu/javax/net/ssl/provider/CompressionMethod.java,
33680         gnu/javax/net/ssl/provider/Constructed.java,
33681         gnu/javax/net/ssl/provider/ContentType.java,
33682         gnu/javax/net/ssl/provider/Context.java,
33683         gnu/javax/net/ssl/provider/DiffieHellman.java,
33684         gnu/javax/net/ssl/provider/DigestInputStream.java,
33685         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33686         gnu/javax/net/ssl/provider/Enumerated.java,
33687         gnu/javax/net/ssl/provider/Extension.java,
33688         gnu/javax/net/ssl/provider/Extensions.java,
33689         gnu/javax/net/ssl/provider/Finished.java,
33690         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33691         gnu/javax/net/ssl/provider/Handshake.java,
33692         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33693         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33694         gnu/javax/net/ssl/provider/Jessie.java,
33695         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33696         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33697         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33698         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33699         gnu/javax/net/ssl/provider/KeyPool.java,
33700         gnu/javax/net/ssl/provider/MacException.java,
33701         gnu/javax/net/ssl/provider/OverflowException.java,
33702         gnu/javax/net/ssl/provider/PRNG.java,
33703         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33704         gnu/javax/net/ssl/provider/Random.java,
33705         gnu/javax/net/ssl/provider/RecordInput.java,
33706         gnu/javax/net/ssl/provider/RecordInputStream.java,
33707         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33708         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33709         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33710         gnu/javax/net/ssl/provider/SSLHMac.java,
33711         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33712         gnu/javax/net/ssl/provider/SSLRandom.java,
33713         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33714         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33715         gnu/javax/net/ssl/provider/SSLSocket.java,
33716         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33717         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33718         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33719         gnu/javax/net/ssl/provider/SecurityParameters.java,
33720         gnu/javax/net/ssl/provider/ServerHello.java,
33721         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33722         gnu/javax/net/ssl/provider/Session.java,
33723         gnu/javax/net/ssl/provider/SessionContext.java,
33724         gnu/javax/net/ssl/provider/Signature.java,
33725         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33726         gnu/javax/net/ssl/provider/TLSHMac.java,
33727         gnu/javax/net/ssl/provider/TLSRandom.java,
33728         gnu/javax/net/ssl/provider/Util.java,
33729         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33730         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33731         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33732         gnu/javax/security/auth/Password.java,
33733         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33734         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33735         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33736         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33737         gnu/javax/security/auth/callback/GnuCallbacks.java,
33738         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33739         gnu/java/security/Registry.java,
33740         gnu/java/security/Properties.java,
33741         gnu/java/security/hash/BaseHash.java,
33742         gnu/java/security/hash/HashFactory.java,
33743         gnu/java/security/hash/Haval.java,
33744         gnu/java/security/hash/IMessageDigest.java,
33745         gnu/java/security/hash/MD2.java,
33746         gnu/java/security/hash/MD4.java,
33747         gnu/java/security/hash/MD5.java,
33748         gnu/java/security/hash/RipeMD128.java,
33749         gnu/java/security/hash/RipeMD160.java,
33750         gnu/java/security/hash/Sha160.java,
33751         gnu/java/security/hash/Sha256.java,
33752         gnu/java/security/hash/Sha384.java,
33753         gnu/java/security/hash/Sha512.java,
33754         gnu/java/security/hash/Tiger.java,
33755         gnu/java/security/hash/Whirlpool.java,
33756         gnu/java/security/jce/hash/HavalSpi.java,
33757         gnu/java/security/jce/hash/MD2Spi.java,
33758         gnu/java/security/jce/hash/MD4Spi.java,
33759         gnu/java/security/jce/hash/MD5Spi.java,
33760         gnu/java/security/jce/hash/MessageDigestAdapter.java,
33761         gnu/java/security/jce/hash/RipeMD128Spi.java,
33762         gnu/java/security/jce/hash/RipeMD160Spi.java,
33763         gnu/java/security/jce/hash/Sha160Spi.java,
33764         gnu/java/security/jce/hash/Sha256Spi.java,
33765         gnu/java/security/jce/hash/Sha384Spi.java,
33766         gnu/java/security/jce/hash/Sha512Spi.java,
33767         gnu/java/security/jce/hash/TigerSpi.java,
33768         gnu/java/security/jce/hash/WhirlpoolSpi.java,
33769         gnu/java/security/jce/prng/HavalRandomSpi.java,
33770         gnu/java/security/jce/prng/MD2RandomSpi.java,
33771         gnu/java/security/jce/prng/MD4RandomSpi.java,
33772         gnu/java/security/jce/prng/MD5RandomSpi.java,
33773         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33774         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33775         gnu/java/security/jce/prng/SecureRandomAdapter.java,
33776         gnu/java/security/jce/prng/Sha160RandomSpi.java,
33777         gnu/java/security/jce/prng/Sha256RandomSpi.java,
33778         gnu/java/security/jce/prng/Sha384RandomSpi.java,
33779         gnu/java/security/jce/prng/Sha512RandomSpi.java,
33780         gnu/java/security/jce/prng/TigerRandomSpi.java,
33781         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33782         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33783         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33784         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33785         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33786         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33787         gnu/java/security/jce/sig/SignatureAdapter.java,
33788         gnu/java/security/key/IKeyPairCodec.java,
33789         gnu/java/security/key/IKeyPairGenerator.java,
33790         gnu/java/security/key/KeyPairCodecFactory.java,
33791         gnu/java/security/key/KeyPairGeneratorFactory.java,
33792         gnu/java/security/key/dss/DSSKey.java,
33793         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33794         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33795         gnu/java/security/key/dss/DSSPrivateKey.java,
33796         gnu/java/security/key/dss/DSSPublicKey.java,
33797         gnu/java/security/key/dss/FIPS186.java,
33798         gnu/java/security/key/rsa/GnuRSAKey.java,
33799         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33800         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33801         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33802         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33803         gnu/java/security/prng/BasePRNG.java,
33804         gnu/java/security/prng/EntropySource.java,
33805         gnu/java/security/prng/IRandom.java,
33806         gnu/java/security/prng/LimitReachedException.java,
33807         gnu/java/security/prng/MDGenerator.java,
33808         gnu/java/security/prng/PRNGFactory.java,
33809         gnu/java/security/prng/RandomEvent.java,
33810         gnu/java/security/prng/RandomEventListener.java,
33811         gnu/java/security/sig/BaseSignature.java,
33812         gnu/java/security/sig/ISignature.java,
33813         gnu/java/security/sig/ISignatureCodec.java,
33814         gnu/java/security/sig/SignatureFactory.java,
33815         gnu/java/security/sig/dss/DSSSignature.java,
33816         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
33817         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
33818         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
33819         gnu/java/security/sig/rsa/EMSA_PSS.java,
33820         gnu/java/security/sig/rsa/RSA.java,
33821         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
33822         gnu/java/security/sig/rsa/RSAPSSSignature.java,
33823         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
33824         gnu/java/security/util/Base64.java,
33825         gnu/java/security/util/ExpirableObject.java,
33826         gnu/java/security/util/Prime2.java,
33827         gnu/java/security/util/Sequence.java,
33828         gnu/java/security/util/SimpleList.java,
33829         gnu/java/security/util/Util.java,
33830         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
33831         new files imported from GNU Crypto and Jessie.
33832
33833 2006-01-25  Tom Tromey  <tromey@redhat.com>
33834
33835         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
33836         Fixed calculation of number of bytes to read.
33837         (size, count, meta, eof): Document.
33838
33839 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
33840
33841         * java/lang/Character.java:
33842         (codePointCount(char[], int, int)): New API method.
33843         (codePointCount(CharSequence, int, int)): Likewise.
33844   
33845 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33846   
33847         PR 25205
33848         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
33849         Rewritten.
33850         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
33851         action if not editing.
33852         * javax/swing/plaf/basic/BasicTreeUI.java 
33853         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
33854         (CellEditorHandler.editingStopped): Delegate to stopEditing.
33855         (EditorUpdateTimer): Removed.
33856         (TreeAction.actionPerformed): Stop and not cancel the current editing 
33857         when starting editing another node.
33858         (editorTimer, newVal): Removed.
33859         (cancelEditing): Do not send the cancel message.
33860         (completeEditing): Obtain the edited value from the editor.
33861         (finish): New method.
33862         (paintRow): Do not paint the editing component here.
33863         (startEditing, stopEditing): Rewritten.
33864         * javax/swing/tree/DefaultTreeCellEditor.java
33865         (DefaultTextField): Added SVUID.
33866         (EditorContainer): Rewritten.
33867         (RealEditorListener): New inner class.
33868         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
33869         (constructor): Add cell editor listener. Do not instantiate timer.
33870         (actionPerformed): Return without action.
33871         (cancelCellEditing): Rewritten.
33872         (createTreeCellEditor): Add cell editor listener to the editor.
33873         (getCellEditorValue): Request the value from the realEditor.
33874         (isCellEditable): Removed timer management.
33875         (prepareForEditing): Remove all components befor adding the 
33876         editingComponent.
33877         (startEditingTimer): Start only if it is not null.
33878         (stopCellEditing): Rewritten.
33879         (stopEditingTimer): New method.
33880         (valueChanged): Do not configure editing component here.
33881   
33882 2006-01-25  Roman Kennke  <kennke@aicas.com>
33883   
33884         * javax/swing/text/html/FormView.java: New file.
33885   
33886 2006-01-25  Roman Kennke  <kennke@aicas.com>
33887   
33888         * javax/swing/JSplitPane.java
33889         (addImpl): Call resetToPreferredSizes() when no dividerLocation
33890         has been set in order to set an initial layout.
33891         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33892         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
33893         layout of the right component.
33894         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
33895         dividerLocation to the size of the left component.
33896         (createDefaultNonContinuousLayoutDivider): Fetch the color from
33897         the UIManager.
33898         (setDividerLocation): Don't validate the location here. Sometimes
33899         the divider needs to be set to an invalid location.
33900         (startDragging): Don't revalidate and repaint here.
33901         (finishDraggingTo): Don't repaint here. Also, don't call
33902         dragDividerTo() here.
33903         * javax/swing/plaf/basic/BasicLookAndFeel.java
33904         (initComponentDefaults): Added SplitPaneDivider.draggingColor
33905         default value.
33906   
33907 2006-01-25  Roman Kennke  <kennke@aicas.com>
33908   
33909         * javax/swing/JSplitPane.java
33910         (addImpl): Removed invalidate() and layout() call.
33911         * javax/swing/plaf/basic/BasicSplitPaneUI.java
33912         (PropertyHandler.propertyChange): Remove layoutContainer() and
33913         repaint() call.
33914   
33915 2006-01-25  Roman Kennke  <kennke@aicas.com>
33916   
33917         * configure.ac
33918         * native/Makefile.am
33919         * native/jni/classpath/Makefile.am
33920         * native/jni/classpath/jcl.c
33921         * native/jni/classpath/jcl.h
33922         * native/jni/classpath/native_state.c
33923         * native/jni/gtk-peer/Makefile.am
33924         * native/jni/java-io/Makefile.am
33925         * native/jni/java-io/java_io_VMFile.c
33926         * native/jni/java-io/java_io_VMObjectStreamClass.c
33927         * native/jni/java-lang/Makefile.am
33928         * native/jni/java-net/Makefile.am
33929         * native/jni/java-net/java_net_VMInetAddress.c
33930         * native/jni/java-net/javanet.c
33931         * native/jni/java-net/javanet.h
33932         * native/jni/java-nio/Makefile.am
33933         * native/jni/java-nio/gnu_java_nio_VMPipe.c
33934         * native/jni/java-nio/gnu_java_nio_VMSelector.c
33935         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
33936         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
33937         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
33938         * native/jni/java-util/Makefile.am
33939         * native/jni/java-util/java_util_VMTimeZone.c
33940         * native/jni/midi-dssi/Makefile.am
33941         * native/jni/xmlj/Makefile.am
33942         * native/target/Makefile.am
33943         * native/target/Linux/target_native_math.h
33944         * native/target/Linux/target_native_memory.h
33945         * native/target/Linux/Makefile.am
33946         * native/target/Linux/target_native_io.h
33947         * native/target/Linux/target_native_math_float.h
33948         * native/target/Linux/target_native_math_int.h
33949         * native/target/generic/target_generic.c
33950         * native/target/generic/target_generic_io.c
33951         * native/target/generic/target_generic_math.h
33952         * native/target/generic/target_generic_memory.h
33953         * native/target/generic/target_generic_misc.c
33954         * native/target/generic/target_generic_network.c
33955         * native/target/generic/Makefile.am
33956         * native/target/generic/target_generic.h
33957         * native/target/generic/target_generic_file.h
33958         * native/target/generic/target_generic_io.h
33959         * native/target/generic/target_generic_math_float.h
33960         * native/target/generic/target_generic_math_int.h
33961         * native/target/generic/target_generic_misc.h
33962         * native/target/generic/target_generic_network.h:
33963         Reverted target native related changes back to the state of the
33964         0.20 release.
33965         * native/target/MinGW/.cvsignore
33966         * native/target/MinGW/Makefile.am
33967         * native/target/MinGW/target_native.h
33968         * native/target/MinGW/target_native_file.h
33969         * native/target/MinGW/target_native_io.h
33970         * native/target/MinGW/target_native_math.h
33971         * native/target/MinGW/target_native_memory.h
33972         * native/target/MinGW/target_native_misc.h
33973         * native/target/MinGW/target_native_network.h
33974         * native/target/RTEMS/.cvsignore
33975         * native/target/RTEMS/Makefile.am
33976         * native/target/RTEMS/target_native.h
33977         * native/target/RTEMS/target_native_file.h
33978         * native/target/RTEMS/target_native_io.h
33979         * native/target/RTEMS/target_native_math.h
33980         * native/target/RTEMS/target_native_memory.h
33981         * native/target/RTEMS/target_native_misc.h
33982         * native/target/RTEMS/target_native_network.h
33983         * native/target/SunOS/.cvsignore
33984         * native/target/SunOS/Makefile.am
33985         * native/target/SunOS/target_native.h
33986         * native/target/SunOS/target_native_file.h
33987         * native/target/SunOS/target_native_io.h
33988         * native/target/SunOS/target_native_math.h
33989         * native/target/SunOS/target_native_memory.h
33990         * native/target/SunOS/target_native_misc.h
33991         * native/target/SunOS/target_native_network.h
33992         * native/target/embOS/.cvsignore
33993         * native/target/embOS/Makefile.am
33994         * native/target/embOS/target_native.h
33995         * native/target/embOS/target_native_file.h
33996         * native/target/embOS/target_native_io.c
33997         * native/target/embOS/target_native_io.h
33998         * native/target/embOS/target_native_math.h
33999         * native/target/embOS/target_native_memory.h
34000         * native/target/embOS/target_native_misc.h
34001         * native/target/embOS/target_native_network.h
34002         * native/target/posix/.cvsignore
34003         * native/target/posix/Makefile.am
34004         * native/target/posix/target_posix.c
34005         * native/target/posix/target_posix.h
34006         * native/target/posix/target_posix_file.c
34007         * native/target/posix/target_posix_file.h
34008         * native/target/posix/target_posix_io.c
34009         * native/target/posix/target_posix_io.h
34010         * native/target/posix/target_posix_math.c
34011         * native/target/posix/target_posix_math.h
34012         * native/target/posix/target_posix_memory.c
34013         * native/target/posix/target_posix_memory.h
34014         * native/target/posix/target_posix_misc.c
34015         * native/target/posix/target_posix_misc.h
34016         * native/target/posix/target_posix_network.c
34017         * native/target/posix/target_posix_network.h:
34018         Removed.
34019   
34020 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34021   
34022         * javax/print/PrintService.java,
34023         * javax/print/DocPrintJob.java,
34024         * javax/print/CancelablePrintJob.java:
34025         Added and enhanced api documentation for class and methods.             
34026
34027 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34028
34029         * javax/print/SimpleDoc.java: Make class final.
34030         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34031         * javax/print/attribute/DateTimeSyntax.java: 
34032         (toString): New overridden method.
34033         * javax/print/attribute/standard/JobStateReasons.java:
34034         (add): Use the super.add method to avoid recursion.
34035         * javax/print/attribute/standard/PrinterStateReasons.java: 
34036         (put): Use the super.put method to avoid recursion.
34037
34038 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34039
34040         * java/beans/XMLEncoder.java:
34041         (writeExpression): Added early return (fixes PR #25941).
34042         (setExceptionListener, anonymous Class): Removed printStackTrace
34043         call.
34044         * java/beans/Encoder: Removed unused imports.
34045         (setupDefaultPersistenceDelegates): Removed unneccessary
34046         PersistenceDelegates for subclasses.
34047         * java/beans/PersistenceDelegate:
34048         (initialize): Use local variable as first argument as it was
34049         intended once.
34050         * java/beans/DefaultPersistenceDelegate:
34051         (initialize): Added call to superclass' implementation, added
34052         early return.
34053   
34054 2006-01-24  Tom Tromey  <tromey@redhat.com>
34055   
34056         * java/util/regex/PatternSyntaxException.java: Added @since.
34057         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34058         * java/util/regex/MatchResult.java: New file.
34059   
34060 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34061   
34062         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34063         minor reformatting.
34064   
34065 2006-01-24  Gary Benson  <gbenson@redhat.com>
34066   
34067         * java/net/SocketPermission.java: Implemented serialization.
34068   
34069 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34070   
34071         * javax/swing/text/StringContent.java
34072         (remove): Modified argument check to prevent removal of last character,
34073         (getChars): Removed null argument check to allow NullPointerException,
34074         added API docs,
34075         (checkLocation): Added API docs and white space.
34076   
34077 2006-01-23  Lillian Angel  <langel@redhat.com>
34078   
34079         * javax/swing/text/DefaultStyledDocument.java
34080         (insertUpdate): Should only call createFracture with 
34081         StartTagType. Added check.
34082         (insertContentTag): Should use the tags length for splitting.
34083         Also, added a check to determine if current's start and end offset are
34084         equal to the offset and endOffset. If so, only one leaf element
34085         should be added. 
34086         (createFracture): Removed FIXME. This function is complete.
34087         (split): Added calls to replace. Changed so the child is 
34088         added immediately to the paragraph. Prevents NPEs.
34089
34090 2006-01-23  Mark Wielaard  <mark@klomp.org>
34091
34092         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34093
34094 2006-01-23  Tom Tromey  <tromey@redhat.com>
34095
34096         * gnu/java/security/x509/X509Certificate.java (parse):
34097         Unconditionally read value; for version==1 case when reading
34098         algorithm ID.
34099
34100 2006-01-23  Roman Kennke  <kennke@aicas.com>
34101
34102         * javax/swing/plaf/synth/ColorType.java,
34103         * javax/swing/plaf/synth/Region.java,
34104         * javax/swing/plaf/synth/SynthConstants.java,
34105         * javax/swing/plaf/synth/SynthContext.java
34106         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34107         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34108         * javax/swing/plaf/synth/SynthPainter.java,
34109         * javax/swing/plaf/synth/SynthStyle.java,
34110         * javax/swing/plaf/synth/SynthStyleFactory.java,
34111         * javax/swing/plaf/synth/package.html:
34112         New files. Added the public API and framework classes for the
34113         Synth look and feel.
34114   
34115 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34116   
34117         * javax/swing/text/Segment.java: API docs all over.
34118   
34119 2006-01-23  Lillian Angel  <langel@redhat.com>
34120   
34121         * javax/swing/text/DefaultStyledDocument.java
34122         (split): Should not use createLeafElement and createBranchElement here.
34123         We should just instaniate the LeafElements and BranchElements instead 
34124         to avoid the case where create*Element is overridden.
34125   
34126 2006-01-23  Lillian Angel  <langel@redhat.com>
34127   
34128         * javax/swing/text/DefaultStyledDocument.java
34129         (insertFirstContentTag): Moved check outside of if-statement.
34130         This should be checked before creating the new leaf element.
34131         (insertFracture): Fixed check to prevent an NPE. The previous
34132         leaf should only be recreated if it has been created by
34133         insertFirstContentTag. Also, fixed up code: if the endOffset is
34134         greater than the offset, then we need to create a temp leaf
34135         as a place holder. Otherwise, the leaf elements should be
34136         created normally.
34137   
34138 2006-01-23  Gary Benson  <gbenson@redhat.com>
34139   
34140         * java/net/SocketPermission.java: Almost completely rewritten.
34141   
34142 2006-01-23  Lillian Angel  <langel@redhat.com>
34143         
34144         * javax/swing/text/DefaultStyledDocument.java
34145         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34146   
34147 2006-01-23  Lillian Angel  <langel@redhat.com>
34148   
34149         * javax/swing/text/DefaultStyledDocument.java:
34150         Formatted ElementBuffer and added new fields.
34151         (remove): Added check to determine if length is 0.
34152         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34153         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34154         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34155         that have been recreated.
34156         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34157         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34158         FIXME tags to the lines that need to be rewritten.      
34159
34160 2006-01-23  Mark Wielaard  <mark@klomp.org>
34161
34162         * examples/Makefile.am: Add support for fastjar.
34163
34164 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34165
34166         * gnu/regexp/REToken.java(empty): Made Cloneable.
34167         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34168         Use separate methods matchN and matchP depending on the
34169         boolean negative.
34170         (matchN): New method used when negative. Done as before.
34171         (matchP): New method used when not negative. Each token is
34172         tried not by itself but by a clone of it.
34173
34174 2006-01-23  Chris Burdess  <dog@gnu.org>
34175
34176         Fixes bug #25906
34177         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34178           class to avoid getLength method contention.
34179         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34180
34181 2006-01-23  Chris Burdess  <dog@gnu.org>
34182
34183         * native/jni/java-util/Makefile.am: Include library required
34184           explicitly by BSD systems.
34185         * native/target/generic/target_generic_misc.h: Remove old commented
34186           out code.
34187         * native/target/generic/target_generic_network.h: Fallbacks (to
34188           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34189
34190 2006-01-22  Tom Tromey  <tromey@redhat.com>
34191
34192         * native/target/posix/.cvsignore: Added .deps.
34193
34194 2006-01-22  Mark Wielaard  <mark@klomp.org>
34195
34196         Fixes bug #25832,
34197         reported by James Damour <James.Damour@corp.request.com>
34198         * java/awt/Container.java (addImpl): Use empty string as name when
34199         null constraints for LayoutManager.addLayoutComponent().
34200
34201 2006-01-22  Chris Burdess  <dog@gnu.org>
34202
34203         Fixes bug #25903
34204         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34205           representing current directory as base for relative URLs.
34206
34207 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34208
34209         Fixes bug #25837
34210         * gnu/regexp/REMatch.java(empty): New boolean indicating
34211         an empty string matched.
34212         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34213         string matched.
34214         (initialize): Support back reference \10, \11, and so on.
34215         (parseInt): renamed from getEscapedChar and returns int.
34216         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34217         when an empty string matched. Fixed a bug of the case where
34218         an empty string matched. Added special handling of {0}.
34219         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34220         when an empty string matched. Fixed the case insensitive matching.
34221   
34222 2006-01-21  Roman Kennke  <kennke@aicas.com>
34223   
34224         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34225         (paint): Added painting of border if one is installed.
34226   
34227 2006-01-21  Roman Kennke  <kennke@aicas.com>
34228   
34229         PR classpath/25843:
34230         * javax/swing/plaf/basic/BasicBorders.java
34231         (getSplitPaneDividerBorder): Use new border constructor
34232         without arguments.
34233         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34234         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34235         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34236         colors are fetched dynamically in the paintBorder method.
34237         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34238         the look and feel.
34239         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34240         unconditionally.
34241         * javax/swing/plaf/basic/BasicLookAndFeel.java
34242         (initComponentDefaults): Added default for SplitPaneDivider.border.
34243         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34244         (tmpBorder): Removed unneeded inner class.
34245         (BasicSplitPaneDivider): Removed setting of border.
34246         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34247         itself.
34248         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34249         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34250         to get behaviour right.
34251         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34252         implementation. This must be rewritten since the layout now works
34253         slightly different (basically, it shouldn't modify the sizes[]
34254         here but instead the dividerLocation.
34255         (dividerLocation): New field.
34256         (installDefaults): Initialize border on divider.
34257         (uninstallDefaults): Only remove background color and border from
34258         splitPane if they are instances of UIDefaults (== not set by
34259         application).
34260         (setDividerLocation): Set the dividerLocation field instead of
34261         doing stunt acts here.
34262         (getDividerLocation): Return dividerLocation field.
34263         (getMinimumDividerLocation): Fixed calculation of minimum location.
34264         
34265 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34266   
34267         * m4/acinclude.m4
34268         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34269   
34270         * lib/Makefile.am: Likewise. 
34271   
34272 2006-01-21  Roman Kennke  <kennke@aicas.com>
34273   
34274         * javax/swing/PopupFactory.java
34275         (getPopup): If there is no Swing root found in any way, use a
34276         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34277         for the Swing AWT peers.
34278   
34279 2006-01-20  Tom Tromey  <tromey@redhat.com>
34280   
34281         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34282         Read response body for redirect.
34283   
34284 2006-01-20  Chris Burdess  <dog@gnu.org>
34285   
34286         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34287           redirects on 304.
34288   
34289 2006-01-20  Lillian Angel  <langel@redhat.com>
34290   
34291         * javax/swing/text/DefaultStyledDocument.java
34292         (pad): Removed, not needed.
34293         (printElements): Likewise.
34294         (printEdit): Likewise.
34295   
34296 2006-01-20  Roman Kennke  <kennke@aicas.com>
34297   
34298         * javax/swing/text/DefaultFormatter.java
34299         (DefaultFormatter): Don't set a value class.
34300   
34301 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34302   
34303         * javax/swing/DefaultCellEditor.java: Commented.
34304   
34305 2006-01-19  Roman Kennke  <kennke@aicas.com>
34306   
34307         * javax/swing/JOptionPane.java
34308         Added cast to Frame for JDialog constructor.
34309   
34310 2006-01-19  Roman Kennke  <kennke@aicas.com>
34311   
34312         * javax/swing/JWindow.java
34313         (JWindow(Window)): Fixed to accept null owner argument.
34314         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34315         owner argument.
34316         * javax/swing/SwingUtilities.java
34317         (getOwnerFrame): Owner parameter and return value are fixed to
34318         be of type Window for compatibity with the above JWindow
34319         constructor.
34320         * javax/swing/JDialog.java
34321         (JDialog): Added cast to Frame to make sure the correct constructor
34322         is called.
34323         * javax/swing/JFileChooser.java
34324         (createDialog): Added cast to Frame for JDialog constructor.
34325   
34326 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34327   
34328         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34329   
34330 2006-01-19  Roman Kennke  <kennke@aicas.com>
34331   
34332         * javax/swing/JWindow.java: Added API docs to the constructors.
34333   
34334 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34335   
34336         * javax/swing/JTable.java: Commenting method headers.
34337         (EditorUpdateTimer): Removed.
34338   
34339 2006-01-19  Roman Kennke  <kennke@aicas.com>
34340   
34341         * javax/swing/JDialog.java
34342         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34343         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34344         SwingUtilities.getOwnerFrame() with the owner argument.
34345         * javax/swing/JFileChooser.java
34346         (showOpenDialog(Component)): Call pack() on the dialog instead of
34347         setting a fixed height.
34348         (showSaveDialog()): Likewise.
34349         (showDialog()): Likewise.
34350         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34351         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34352         with null.
34353         * javax/swing/JWindow.java
34354         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34355         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34356         argument.
34357         * javax/swing/SwingUtilities.java
34358         (getOwnerFrame): Changed to take a owner parameter that is returned
34359         as owner frame when not null.
34360   
34361 2006-01-19  Roman Kennke  <kennke@aicas.com>
34362   
34363         * gnu/java/awt/peer/swing/SwingFramePeer.java
34364         (handleMouseEvent): Fixed handling of mouse events.
34365         (handleMouseMotionEvent): Fixed handling of mouse events.
34366
34367 2006-01-19  Roman Kennke  <kennke@aicas.com>
34368
34369         * native/target/generic/target_generic_misc.c:
34370         (targetGenericMisc_formatString): Added missing method.
34371
34372 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34373
34374         * m4/acinclude.m4: Test also for ecj found before exiting configure
34375         with no javac found error message. 
34376
34377 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34378
34379         Fixes bug #23212
34380         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34381         \0123, \x1B, \u1234.
34382         (getEscapedChar): New method.
34383         (CharExpression): New inner class.
34384         (getCharExpression): New Method.
34385         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34386         RE_UNICODE_CHAR): New syntax bits.
34387
34388 2006-01-19  Roman Kennke  <kennke@aicas.com>
34389
34390         * native/target/Makefile.am: Fixed so that posix stuff is really
34391         only built when requested.
34392
34393 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34394
34395         * javax/swing/JTable.java (editingStopped, editingCancelled):
34396         Repaint the edited cell.
34397         (setValueAt): Do not add the value object to this container.
34398         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34399         (editingStopped): Use editingRow, editingColumn and not
34400         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34401         (doLayout): Move the editor component, if present, into the new
34402         location and call repaint(). (moveToCellBeingEdited): new method.
34403         (TableTextField): new inner class.
34404         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34405         (setValueAt): Repaint the changed segment.
34406         (createDefaultEditors): Implemented.
34407         (BooleanCellRenderer): Center the checkbox and use the default foreground
34408         and background colors.   
34409         * javax/swing/plaf/basic/BasicTableUI.java
34410         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34411         (paint): No need to allocate rectangle for each cell.   
34412         * javax/swing/DefaultCellEditor.java: Rewritten.         
34413         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34414         Use TableDemo.java table example.
34415         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34416
34417 2006-01-19  Roman Kennke  <kennke@aicas.com>
34418
34419         * configure.ac: Added/fixed --enable-posix-layer option to enable
34420         build of posix layer.
34421         * native/target/Makefile.am: Added build for posix layer.
34422
34423 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34424
34425         * configure.ac: Set TARGET to Linux per default.
34426         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34427         libtargetos.la.
34428         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34429         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34430         AM_CPPFLAGS.
34431         
34432 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34433
34434         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34435           what looked like proprietary documentation with original or new one.
34436         * java/security/spec/PSSParameterSpec.java: Likewise.
34437         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34438         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34439         * java/security/AlgorithmParameterGenerator.java: Likewise.
34440         * java/security/AlgorithmParameters.java: Likewise.
34441         * java/security/Identity.java: Likewise.
34442         * java/security/IdentityScope.java: Likewise.
34443         * java/security/KeyFactory.java: Likewise.
34444         * java/security/KeyPairGenerator.java: Likewise.
34445         * java/security/MessageDigest.java: Likewise.
34446         * java/security/Policy.java: Likewise.
34447         * java/security/ProtectionDomain.java: Likewise.
34448         * java/security/Security.java: Likewise.
34449         * java/security/Signature.java: Likewise.
34450         * java/security/SignatureSpi.java: Likewise.
34451         * java/security/SignedObject.java: Likewise.
34452         * java/security/Signer.java: Likewise.
34453   
34454 2006-01-18  Roman Kennke  <kennke@aicas.com>
34455   
34456         * configure.ac: Added --enable-posix-layer option to enable
34457         build of the posix target layer.
34458   
34459 2006-01-18  Roman Kennke  <kennke@aicas.com>
34460   
34461         * native/jni/java-net/java_net_VMInetAddress.c
34462         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34463         for INADDR_ANY.
34464   
34465 2006-01-18  Roman Kennke  <kennke@aicas.com>
34466   
34467         * native/jni/java-util/java_util_VMTimeZone.c:
34468         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34469         to use target native layer.
34470         (jint_to_charbuf): Removed unneeded helper function.
34471   
34472 2006-01-18  Roman Kennke  <kennke@aicas.com>
34473   
34474         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34475         Removed unnecessary include.
34476         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34477         Reorganized includes to only include sys/* headers when available.
34478         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34479         (get_pagesize): Return 0 when nothing else works.
34480         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34481         Replaced munmap() and strerror() with corresponding target macros.
34482         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34483         Replaced strerror() with corresponding target macro.
34484         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34485         Replaced strerror() with corresponding target macro.
34486         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34487         (Java_java_nio_VMDirectByteBuffer_allocate):
34488         Replaced malloc() with the corresponding target macro.
34489         (Java_java_nio_VMDirectByteBuffer_free):
34490         Replaced free() with the corresponding target macro.
34491         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34492         Add index to pointer when assigning the value.
34493         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34494         Replaced memcpy with corresponding target macro. Add index when
34495         doing the memcpy, not when fetching the pointer.
34496         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34497         Replaced memcpy with corresponding target macro.
34498         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34499         Replaced memmove with the corresponding target macro.
34500
34501 2006-01-17  Tom Tromey  <tromey@redhat.com>
34502
34503         PR classpath/20198:
34504         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34505         (JarURLLoader): Likewise.
34506         (addURLImpl): Canonicalize file URLs.
34507
34508 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34509
34510         * configure.ac: Set TARGET.
34511         * native/Makefile.am, native/jni/classpath/Makefile.am,
34512         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34513         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34514         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34515         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34516         native/target/Linux/Makefile.am,
34517         native/target/generic/Makefile.am,
34518         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34519         and target stuff linked in and link it against lib*.so libraries.
34520
34521 2006-01-17  Roman Kennke  <kennke@aicas.com>
34522
34523         * native/jni/java-net/javanet.c:
34524         (_javanet_connect): Changed type of some local variables to jint.
34525         Fixed error handling to throw a SocketTimeoutException if the
34526         connection attempt times out.
34527         (_javanet_bind): Changed type of some local variables to jint.
34528         (_javanet_accept): Likewise.
34529         (_javanet_recvfrom): Likewise.
34530         (_javanet_sendto): Fixed error handling to throw a
34531         PortUnreachableException when connection is refused.
34532         (_javanet_get_option): Changed type of some local variables to jint.
34533         Implemented SOCKOPT_SO_BROADCAST.
34534         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34535         target native macro.
34536         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34537         target native macro.
34538         * native/jni/java-net/javanet.h:
34539         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34540         SOCKOPT_SO_BROADCAST.
34541   
34542 2006-01-17  Lillian Angel  <langel@redhat.com>
34543   
34544         * javax/swing/text/DefaultStyledDocument.java
34545         (insert): Cleaned up loop. No need to make so many calls
34546         to getAddedElements and getRemovedElements.
34547         (insertFracture): Removed unneeded array.
34548   
34549 2006-01-17  Lillian Angel  <langel@redhat.com>
34550         
34551         * javax/swing/text/JTextComponent.java
34552         (AccessibleJTextComponent): Implemented.
34553         (getCaretPosition): Implemented.
34554         (getSelectedText): Implemented.
34555         (getSelectionStart): Implemented.
34556         (getSelectionEnd): Implemented.
34557         (getSelectionEnd): Implemented.
34558         (getCharCount): Implemented.
34559         (insertTextAtIndex): Implemented.
34560         (getTextRange): Implemented.
34561         (delete): Implemented.
34562         (cut): Implemented.
34563         (paste): Implemented.
34564         (replaceText): Implemented.
34565         (selectText): Implemented.
34566   
34567 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34568   
34569         * javax/swing/text/DefaultStyledDocument.java:
34570         (pad): New debugging method.
34571         (printElements): Likewise.
34572         (printPendingEdits): Likewise.
34573         (printElement): Likewise.
34574         (Edit): Improved docs, moved this class to be an inner class of
34575         ElementBuffer since it only applies within that scope.  Changed added 
34576         and removed to be Vectors instead of arrays because we need to be able 
34577         to add to them after construction.
34578         (ElementBuffer): Updated docs with link to article that helped in this
34579         classes implementation.
34580         (ElementBuffer.Edit.getRemovedElements): New method.
34581         (ElementBuffer.Edit.getAddedElements): Likewise.
34582         (ElementBuffer.Edit.addRemovedElement): Likewise.
34583         (ElementBuffer.Edit.addRemovedElements): Likewise.
34584         (ElementBuffer.Edit.addAddedElement): Likewise.
34585         (ElementBuffer.Edit.addAddedElements): Likewise.
34586         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34587         addAddedElements.
34588         (ElementBuffer.getEditForParagraphAndIndex): New method.
34589         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34590         BranchElement.  Corrected style of adding the edit to use the new Edit
34591         facilities.
34592         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34593         the new Edit facilities.
34594         (ElementBuffer.split): Likewise.
34595         (ElementBuffer.insertParagraph): Likewise.
34596         (ElementBuffer.insertContentTag): Likewise.
34597         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34598         not just the root and the first one. Apply the structural changes to 
34599         the tree at the same time as updating the DocumentEvent.
34600         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34601         handling of EndTags as the first ElementSpec.  Instead have to handle
34602         ContentTags as a special case if they are the first ElementSpec and if
34603         not have to fracture the tree.
34604         (ElementBuffer.createFracture): New method.  May not be complete yet.
34605         Added FIXME indicating what may remain to be done.
34606         (ElementBuffer.insertFirstContentTag): New method.
34607         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34608         be done.  Changed the adding of edits to use the new Edit facilities.
34609         Removed the adding of edits for Elements that weren't in the tree prior
34610         to the insertion.
34611         (insertUpdate): Removed incorrect condition for setting a StartTag's
34612         direction to JoinNextDirection.
34613         * javax/swing/text/StyleContent.java: 
34614         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34615         that was causing an ArrayOutOfBoundsException.
34616   
34617 2006-01-17  Roman Kennke  <kennke@aicas.com>
34618   
34619         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34620         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34621         exception messages a little.
34622         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34623         alternative implementation for systems without filesystems.
34624         Replaced snprintf with the corresponding target native macro.
34625         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34626         Only do something when we have a filesystem.
34627         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34628         alternative implementation for systems without filesystems.
34629         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34630         alternative implementation for systems without filesystems.
34631         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34632         alternative implementation for systems without filesystems.
34633         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34634         Only do something when we have a filesystem.
34635         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34636         Only do something when we have a filesystem.
34637         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34638         alternative implementation for systems without filesystems.
34639         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34640         Replaced ssize_t variables with jint. Provided
34641         alternative implementation for systems without filesystems.
34642         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34643         Replaced ssize_t variables with jint. Provided
34644         alternative implementation for systems without filesystems.
34645         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34646         Replaced ssize_t variables with jint. Provided
34647         alternative implementation for systems without filesystems.
34648         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34649         Only do something when we have a filesystem.
34650         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34651         Replaced ssize_t variables with jint. Provided
34652         alternative implementation for systems without filesystems.
34653         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34654         to use the corresponding target native macro.
34655         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34656         to use the corresponding target native macro.
34657   
34658 2006-01-17  Lillian Angel  <langel@redhat.com>
34659   
34660         * javax/swing/text/DefaultTextUI.java:
34661         Added deprecated tag.
34662         * javax/swing/text/JTextComponent.java
34663         (AccessibleJTextComponent): Fixed API doc and
34664         partiall9 implemented.
34665         (getCaretPosition): Fixed API doc and implemented.
34666         (getSelectedText): Fixed API doc.
34667         (getSelectionStart): Likewise.
34668         (getSelectionEnd): Likewise.
34669         (caretUpdate): Fixed API doc and
34670         partially implemented.
34671         (getAccessibleStateSet): Likewise.
34672         (getAccessibleRole): Fixed API doc and implemented.
34673         (getAccessibleEditableText): Implemented.
34674         (getAccessibleText): Fixed API doc and implemented.
34675         (insertUpdate): Fixed API doc.
34676         (changedUpdate): Likewise.
34677         (getIndexAtPoint): Likewise.
34678         (getRootEditorRect): Removed.
34679         (getCharacterBounds): Fixed API doc.
34680         (getCharCount): Likewise.
34681         (getCharacterAttribute): Likewise.
34682         (getAtIndex): Likewise.
34683         (getAfterIndex): Likewise.
34684         (getBeforeIndex): Likewise.
34685         (getAccessibleActionCount): Added function stub.
34686         (getAccessibleActionDescription): Added function,
34687         partially implemented.
34688         (doAccessibleAction): Added function stub.
34689         (setTextContents): Likewise.
34690         (insertTextAtIndex): Likewise.
34691         (delete): Likewise.
34692         (cut): Likewise.
34693         (paste): Likewise.
34694         (replaceText): Likewise.
34695         (selectText): Likewise.
34696         (setAttributes): Likewise.
34697         (getAccessibleContext): Implemented.
34698   
34699 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34700   
34701         Fixes bug #25817
34702         * gnu/regexp/RETokenRange.java(constructor):
34703         Keep lo and hi as they are.
34704         (match): Changed the case insensitive comparison.
34705   
34706 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34707   
34708         * gnu/regexp/RETokenChar.java(chain):
34709         Do not concatenate tokens whose insens flags are diffent.
34710   
34711 2006-01-17  Roman Kennke  <kennke@aicas.com>
34712   
34713         * native/target/generic/target_generic_network.c:
34714         (targetGenericNetwork_receive): Fixed signature to match the
34715         corresponding .h file.
34716         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34717         to match the corresponding .h file.
34718   
34719 2006-01-17  Roman Kennke  <kennke@aicas.com>
34720   
34721         * native/jni/classpath/jcl.c:
34722         (JCL_malloc): Replaced calls to malloc with the corresponding
34723         target layer macro.
34724         (JCL_free): Replaced calls to free with the corresponding
34725         target layer macro.
34726         * native/jni/classpath/native_state.c:
34727         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34728         calloc with the corresponding target layer macro.
34729         (remove_node): Replaced calls to free with the corresponding
34730         target layer macro.
34731         (add_node): Replaced calls to malloc with the corresponding
34732         target layer macro.
34733
34734 2006-01-17  Roman Kennke  <kennke@aicas.com>
34735
34736         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34737         (getFieldReference): Use MALLOC/FREE macros for portability instead
34738         of direct call to malloc() and free().
34739
34740 2006-01-17  Roman Kennke  <kennke@aicas.com>
34741
34742         * native/jni/classpath/jcl.c: Added missing imports.
34743         (JCL_realloc): Fixed signature to include oldsize. This is needed
34744         for some targets. Make this function use the MEMORY_REALLOC macro
34745         for portability.
34746         * native/jni/classpath/jcl.h
34747         (JCL_realloc): Adjusted signature.
34748         * native/jni/java-io/java_io_VMFile.c:
34749         (Java_java_io_VMFile_create): Use target layer macro for handling
34750         errno, for portability.
34751         (Java_java_io_VMFile_length): Release filename string in error cases
34752         before returning.
34753         (Java_java_io_VMFile_list): Initialize filename variable. Use new
34754         version of JCL_realloc.
34755         * native/jni/java-net/java_net_VMInetAddress.c:
34756         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34757         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34758         * native/jni/java-net/javanet.c:
34759         (_javanet_bind): Make errorstr variable const to avoid compiler
34760         warning.
34761         (_javanet_set_option): Fixed typo.
34762         (_javanet_get_option): Fixed typo.
34763         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34764         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34765         error_string variable const to avoid compiler warning.
34766         * native/target/generic/target_generic_file.h:
34767         Replaced // comments with /* */ comments to avoid compiler warnings.
34768         Added some spaces to make code better readable.
34769         * native/target/generic/target_generic_memory.h:
34770         Replaced // comments with /* */ comments to avoid compiler warnings.
34771         * native/target/generic/target_generic_misc.c:
34772         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34773         compiler warnings due to use of varargs.
34774         * native/target/generic/target_generic_misc.h:
34775         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34776         compiler warnings due to use of varargs.
34777         * native/target/generic/target_generic_network.h:
34778         Replaced // comments with /* */ comments to avoid compiler warnings.
34779         (targetGenericNetwork_receive): Fixed signature to use signed chars
34780         for buffer parameter to avoid warning when passing a jbyte to the
34781         function.
34782   
34783 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
34784   
34785         * javax/swing/text/StyleConstants.java
34786         (getAlignment): Removed isDefined() check, so that resolving parent is 
34787         used for lookup,
34788         (getBackground): Likewise, plus changed default value to Color.BLACK,
34789         (getBidiLevel): Removed isDefined() check,
34790         (getComponent): Likewise,
34791         (getFirstLineIndent): Likewise,
34792         (getFontFamily): Likewise,
34793         (getFontSize): Likewise,
34794         (getForeground): Likewise,
34795         (getIcon): Likewise,
34796         (getLeftIndent): Likewise,
34797         (getLineSpacing): Likewise,
34798         (getRightIndent): Likewise,
34799         (getSpaceAbove): Likewise,
34800         (getSpaceBelow): Likewise,
34801         (getTabSet): Likewise,
34802         (isBold): Likewise,
34803         (isItalic): Likewise,
34804         (isStrikeThrough): Likewise,
34805         (isSubscript): Likewise,
34806         (isSuperscript): Likewise,
34807         (isUnderline): Likewise.
34808
34809 2006-01-17  Gary Benson  <gbenson@redhat.com>
34810
34811         * java/lang/System.java (setSecurityManager): Catch
34812         ClassNotFoundException not Throwable.
34813
34814 2006-01-16  Anthony Green  <green@redhat.com>
34815
34816         PR classpath/25803
34817         * gnu/java/net/protocol/http/Request.java
34818           (createResponseBodyStream): Remove Content-Encoding for
34819           compressed streams.
34820   
34821 2006-01-16  Chris Burdess  <dog@gnu.org>
34822   
34823         * gnu/xml/stream/XMLParser.java,
34824           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
34825           XMLStreamWriter arguments for conformance to the XML specifications.
34826         * gnu/xml/transform/Stylesheet.java,
34827           gnu/xml/transform/Template.java,
34828           gnu/xml/transform/TransformerImpl.java,
34829           gnu/xml/xpath/LangFunction.java,
34830           gnu/xml/xpath/Selector.java: better handling of template priorities;
34831           fix indents when pretty-printing; recursive tests for xml:lang.
34832         * gnu/xml/util/XHTMLWriter.java,
34833           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
34834
34835 2006-01-16  Roman Kennke  <kennke@aicas.com>
34836
34837         * native/target/MinGW/.cvsignore: New file.
34838         * native/target/RTEMS/.cvsignore: New file.
34839         * native/target/SunOS/.cvsignore: New file.
34840         * native/target/embOS/.cvsignore: New file.
34841         * native/target/posix/.cvsignore: New file.
34842
34843 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
34844
34845         * javax/swing/text/StyleConstants.java: Updated API docs all over.
34846
34847 2006-01-16  Roman Kennke  <kennke@aicas.com>
34848
34849         * configure.ac: Include new target native directories in build.
34850
34851 2006-01-16  Roman Kennke  <kennke@aicas.com>
34852
34853         * native/target/generic/target_generic_file.h: Added missing
34854         include.
34855         * native/target/generic/target_generic_network.c: Fixed several
34856         typos and includes.
34857         * native/target/generic/target_generic_network.h: Likewise.
34858
34859 2006-01-16  Roman Kennke  <kennke@aicas.com>
34860
34861         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
34862         to include the new targets.
34863         * native/target/posix/Makefile.am: Fixed filenames.
34864
34865 2006-01-16  Roman Kennke  <kennke@aicas.com>
34866
34867         * native/target/Makefile.am: Include new targets.
34868         * native/target/Linux/Makefile.am: Include new memory layer.
34869         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
34870         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
34871         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
34872         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
34873         * native/target/generic/Makefile.am: Include new memory and math
34874         layer.
34875         * native/target/posix/Makefile.am: New file. Includes posix in dist.
34876   
34877 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34878   
34879         Fixes bug #22884
34880         * gnu/regexp/RE.java(initialize): Parse embedded flags.
34881         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
34882   
34883 2006-01-16  Roman Kennke  <kennke@aicas.com>
34884   
34885         * native/target/generic/target_generic_network.c: Fixed typo.
34886         * native/target/generic/target_generic_network.h: Fixed typo.
34887   
34888 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
34889   
34890         * doc/vmintegration.texinfo: Updated subsection of the
34891         java.lang.InstrumentationImpl documentation.
34892   
34893 2006-01-16  Roman Kennke  <kennke@aicas.com>
34894   
34895         * native/target/RTEMS/target_native.h,
34896         * native/target/RTEMS/target_native_file.h,
34897         * native/target/RTEMS/target_native_io.h,
34898         * native/target/RTEMS/target_native_math.h,
34899         * native/target/RTEMS/target_native_memory.h,
34900         * native/target/RTEMS/target_native_misc.h,
34901         * native/target/RTEMS/target_native_network.h:
34902         New files. Implement the target native layer for the RTEMS platform.
34903   
34904 2006-01-16  Roman Kennke  <kennke@aicas.com>
34905   
34906         * native/target/SunOS/target_native.h,
34907         * native/target/SunOS/target_native_file.h,
34908         * native/target/SunOS/target_native_io.h,
34909         * native/target/SunOS/target_native_math.h,
34910         * native/target/SunOS/target_native_memory.h,
34911         * native/target/SunOS/target_native_misc.h,
34912         * native/target/SunOS/target_native_network.h:
34913         New files. Implement the target native layer for the SunOS platform.
34914   
34915 2006-01-16  Roman Kennke  <kennke@aicas.com>
34916   
34917         * native/target/MinGW/target_native.h,
34918         * native/target/MinGW/target_native_file.h,
34919         * native/target/MinGW/target_native_io.h,
34920         * native/target/MinGW/target_native_math.h,
34921         * native/target/MinGW/target_native_memory.h,
34922         * native/target/MinGW/target_native_misc.h,
34923         * native/target/MinGW/target_native_network.h:
34924         New files. Implement the target native layer for the MinGW
34925         platform.
34926   
34927 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34928   
34929         PR 25770
34930         * javax/swing/DefaultCellEditor.java
34931         (delegate): Assign new instance immediately.
34932         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
34933         (getTableCellEditorComponent): Rewritten.
34934         (prepareAsJTextField):New method (add listener only once).
34935         * javax/swing/JTable.java
34936         (editingCanceled): Rewritten.
34937         (editingStopped ): Rewritten.
34938         (rowAtPoint): Mind row margin.
34939         (getCellRect): Mind row margin.
34940         (getDefaultEditor): Removing JTextComponent border.
34941         (editCellAt): Rewritten.
34942         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
34943         Activate editing mode by the mouse clicks.
34944         (getMaximumSize): Mind row margin.
34945         (getPreferredSize): Mind row margin.
34946         (TableAction): Added 'stop editing' command. 
34947
34948 2006-01-16  Roman Kennke  <kennke@aicas.com>
34949
34950         * jni/java-io/java_io_VMFile.c
34951         (Java_java_io_VMFile_list): Use new 4 argument version of
34952         TARGET_NATIVE_FILE_READ_DIR macro.
34953         * target/Linux/target_native_io.h: Fixed comment at #endif.
34954         * target/Linux/target_native_memory.h: New file. Contains
34955         portability macros for memory operations.
34956         * target/generic/target_generic.c: New file. Contains some functions
34957         for portability.
34958         * target/generic/target_generic.h: Use posix target and shorter macro
34959         names if CP_NEW is set. 
34960         * target/generic/target_generic_file.h: Use posix target and shorter
34961         macro names if CP_NEW is set.
34962         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
34963         * target/generic/target_generic_io.c: New file. Contains some
34964         functions for IO portability.
34965         * target/generic/target_generic_io.h: Use posix target and shorter
34966         macro names if CP_NEW is set.
34967         * target/generic/target_generic_misc.c: New file. Contains some
34968         functions for miscallaneaous portability issues.
34969         * target/generic/target_generic_misc.h: Use posix target and shorter
34970         macro names if CP_NEW is set.
34971         * target/generic/target_generic_network.c: New file. Contains some
34972         functions for networking portability.
34973         * target/generic/target_generic_network.h: Use posix target and
34974         shorter macro names if CP_NEW is set.
34975         * target/posix/Makefile.am,
34976         * target/posix/target_posix.c,
34977         * target/posix/target_posix.h,
34978         * target/posix/target_posix_file.c,
34979         * target/posix/target_posix_file.h,
34980         * target/posix/target_posix_io.c,
34981         * target/posix/target_posix_io.h,
34982         * target/posix/target_posix_math.c,
34983         * target/posix/target_posix_math.h,
34984         * target/posix/target_posix_memory.c,
34985         * target/posix/target_posix_memory.h,
34986         * target/posix/target_posix_misc.c,
34987         * target/posix/target_posix_misc.h,
34988         * target/posix/target_posix_network.c,
34989         * target/posix/target_posix_network.h:
34990         New files. This implements the target native layer macros for
34991         Posix-like systems.
34992
34993 2006-01-16  Gary Benson  <gbenson@redhat.com>
34994
34995         * java/net/SocketPermission.java (implies): Fix action checks.
34996
34997 2006-01-16  Roman Kennke  <kennke@aicas.com>
34998
34999         * native/target/generic/target_generic_math_float.h: Removed. This
35000         file has been replaced by target_generic_math.h.
35001         * native/target/generic/target_generic_math_int.h: Removed. This
35002         file has been replaced by target_generic_math.h.
35003         * native/target/generic/target_generic_math.h: New file. Replaces
35004         the old _int and _float versions.
35005         * native/target/Linux/target_native_math_float.h: Removed. This
35006         file has been replaced by target_native_math.h.
35007         * native/target/Linux/target_native_math_int.h: Removed. This
35008         file has been replaced by target_native_math.h.
35009         * native/target/Linux/target_native_math.h: New file. Replaces
35010         the old _int and _float versions.
35011         * native/target/Linux/Makefile.am: Adjusted for the changed
35012         filenames.
35013         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35014         instead of target_native_math_int.h.
35015         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35016         Likewise.
35017         * native/target/generic/target_generic_file.h: Likewise.
35018   
35019 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35020   
35021         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35022   
35023 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35024   
35025         * javax/swing/text/SimpleAttributeSet.java
35026         (SimpleAttributeSet()): Initialise storage directly,
35027         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35028         NullPointerException,
35029         (containsAttribute): If key is found locally, don't check resolving
35030         parent if the value doesn't match,
35031         (getAttribute): Removed redundant instanceof and cast.
35032   
35033 2006-01-16  Gary Benson  <gbenson@redhat.com>
35034   
35035         * java/lang/System.java (setSecurityManager): Ensure policy
35036         files are loaded before a security manager is put in place.
35037   
35038 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35039   
35040         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35041   
35042 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35043   
35044         * javax/print/attribute/standard/MediaSize.java: 
35045         (static_initializer): Added comment.
35046         (MediaSize): Added javadoc to mention cache registration.
35047         (MediaSize): Likewise.
35048         (MediaSize): Likewise.
35049         (MediaSize): Likewise.
35050   
35051 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35052   
35053         PR classpath/25202
35054         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35055         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35056         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35057         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35058           copyright year.
35059           (toString): Added method implementation.
35060           (LoginModuleControlFlag.toString): Removed class name from result.
35061         * javax/security/auth/login/Configuration.java: Updated copyright year.
35062           (getConfig(): replaced calls to NullConfiguration with
35063           GnuConfiguration.
35064
35065 2006-01-15  Tom Tromey  <tromey@redhat.com>
35066
35067         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35068         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35069         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35070         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35071         (setPersistenceDelegate): Likewise.
35072
35073 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35074
35075         * javax/print/attribute/standard/PrinterStateReasons.java: 
35076         (printerStateReasonSet): Genericize the return type.
35077
35078 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35079
35080         * javax/swing/table/DefaultTableCellRenderer.java 
35081         (getTableCellRendererComponent): Render null as the empty cell.
35082
35083 2006-01-14  Anthony Green  <green@redhat.com>
35084
35085         * java/net/ServerSocket.java (accept): Remove bogus
35086         security check.
35087         (implAccept): Add FIXME comment.
35088
35089 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35090
35091         Fixes bug #25387
35092         * javax/print/Doc.java: Added and enhanced documentation.
35093         * javax/print/SimpleDoc.java: New file. 
35094   
35095 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35096   
35097         * javax/print/attribute/standard/MediaSize.java: 
35098         (Other.TABLOID): New MediaSize added in 1.5
35099   
35100 2006-01-14  Chris Burdess  <dog@gnu.org>
35101   
35102         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35103           correctly when I/O and runtime exceptions occur during parsing.
35104   
35105 2006-01-13  Roman Kennke  <kennke@aicas.com>
35106   
35107         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35108         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35109         * gnu/java/awt/peer/swing/SwingComponent.java,
35110         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35111         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35112         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35113         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35114         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35115         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35116         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35117         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35118         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35119         * gnu/java/awt/peer/swing/SwingToolkit.java,
35120         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35121         * gnu/java/awt/peer/swing/package.html:
35122         New files. Implemented some basic AWT peers based on Swing.
35123   
35124 2006-01-13  Roman Kennke  <kennke@aicas.com>
35125   
35126         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35127   
35128 2006-01-13  Roman Kennke  <kennke@aicas.com>
35129   
35130         * java/awt/MenuComponent.java: Reformatted to better match our
35131         coding style.
35132   
35133 2006-01-13  Roman Kennke  <kennke@aicas.com>
35134   
35135         * java/awt/Frame.java: Reformatted to better match our
35136         coding style.
35137   
35138 2006-01-13  Roman Kennke  <kennke@aicas.com>
35139   
35140         * java/awt/MenuBar.java
35141         (accessibleContext): Removed unnecessary field. This is already
35142         defined in MenuComponent.
35143         (setHelpMenu): Renamed the peer variable to myPeer because it was
35144         hiding a field of MenuComponent.
35145         (addNotify): Removed unnecessary cast.
35146   
35147 2006-01-13  Roman Kennke  <kennke@aicas.com>
35148   
35149         * java/awt/MenuBar.java: Reformatted to better match our
35150         coding style.
35151   
35152 2006-01-13  Roman Kennke  <kennke@aicas.com>
35153   
35154         * java/awt/MenuBar.java
35155         (frame): New field.
35156         (removeNotify): Clear frame field when beeing removed from the
35157         frame.
35158         * java/awt/Frame.java
35159         (setMenuBar): Store a reference of the frame in the MenuBar.
35160         * java/awt/MenuComponent.java
35161         (postEvent): Implemented to forward the call to the parent until
35162         a parent can handle the event.
35163         (dispatchEvent): Moved handling of old style events from
35164         dispatchEventImpl() to here.
35165         (dispatchEventImpl): Moved handling of old style events to
35166         dispatchEvent().
35167   
35168 2006-01-13  Roman Kennke  <kennke@aicas.com>
35169   
35170         * java/awt/Component.java
35171         (dispatchEvent): Moved handling of old style events from
35172         dispatchEventImpl() to this method.
35173         (translateEvent): Removed unnecessary cast.
35174         (dispatchEventImpl): Moved handling of old style events to
35175         dispatchEvent().
35176         
35177 2006-01-13  Lillian Angel  <langel@redhat.com>
35178   
35179         * javax/swing/text/DefaultStyledDocument.java
35180         (createDefaultRoot): Removed FIXME.
35181         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35182         removed FIXME.
35183   
35184 2006-01-13  Lillian Angel  <langel@redhat.com>
35185   
35186         * javax/swing/text/DefaultStyledDocument.java
35187         (Edit): New inner class.
35188         (changeUpdate): Changed addEdit call to add a new
35189         instance of Edit to the edits Vector, so addEdits can
35190         be done later.
35191         (split): Likewise.
35192         (insertParagraph): Likewise.
35193         (insertFracture): Likewise.
35194         (insertContentTag): Likewise.
35195         (insert): Added loop to go through edits Vector and perform
35196         addEdit on each object.
35197   
35198 2006-01-13  Chris Burdess  <dog@gnu.org>
35199   
35200         * gnu/xml/transform/AbstractNumberNode.java,
35201           gnu/xml/transform/ApplyImportsNode.java,
35202           gnu/xml/transform/ApplyTemplatesNode.java,
35203           gnu/xml/transform/AttributeNode.java,
35204           gnu/xml/transform/CallTemplateNode.java,
35205           gnu/xml/transform/ChooseNode.java,
35206           gnu/xml/transform/CommentNode.java,
35207           gnu/xml/transform/CopyNode.java,
35208           gnu/xml/transform/CopyOfNode.java,
35209           gnu/xml/transform/DocumentFunction.java,
35210           gnu/xml/transform/ElementNode.java,
35211           gnu/xml/transform/ForEachNode.java,
35212           gnu/xml/transform/IfNode.java,
35213           gnu/xml/transform/LiteralNode.java,
35214           gnu/xml/transform/MessageNode.java,
35215           gnu/xml/transform/OtherwiseNode.java,
35216           gnu/xml/transform/ParameterNode.java,
35217           gnu/xml/transform/ProcessingInstructionNode.java,
35218           gnu/xml/transform/Stylesheet.java,
35219           gnu/xml/transform/Template.java,
35220           gnu/xml/transform/TemplateNode.java,
35221           gnu/xml/transform/TextNode.java,
35222           gnu/xml/transform/TransformerImpl.java,
35223           gnu/xml/transform/ValueOfNode.java,
35224           gnu/xml/transform/WhenNode.java,
35225           gnu/xml/xpath/NodeTypeTest.java,
35226           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35227           with-param parameters when template does not define parameters; apply
35228           conflict resolution for templates; strip whitespace on documents
35229           retrieved via document() function; allow node() to match document
35230           nodes.
35231
35232 2006-01-13  Mark Wielaard  <mark@klomp.org>
35233
35234         * doc/www.gnu.org/announce/20060113.wml: New file.
35235         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35236         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35237   
35238 2006-01-13  Lillian Angel  <langel@redhat.com>
35239   
35240         * javax/swing/text/DefaultStyledDocument.java:
35241         Removed unused fields.
35242         (insert): Removed unused fields.
35243         (endEdit): Removed, not needed.
35244         (insertUpdate): Removed call to endEdit.
35245         (prepareContentInsertion): Removed, not needed.
35246         (insertContentTag): Removed call to prepareContentInsertion.
35247         (printElements): Removed, not needed.
35248         (attributeSetsAreSame): Removed, not needed.
35249   
35250 2005-01-13  Mark Wielaard  <mark@klomp.org>
35251
35252         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35253         Duplicate of toString(int, StringBuilder).
35254
35255 2005-01-13  Mark Wielaard  <mark@klomp.org>
35256
35257         * configure.ac: Set version to 0.20.
35258         * NEWS: Add entries for all the new work done.
35259
35260 2005-01-13  Mark Wielaard  <mark@klomp.org>
35261
35262         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35263
35264 2005-01-13  Mark Wielaard  <mark@klomp.org>
35265
35266         * java/util/regex/Pattern.java (Pattern): Chain REException.
35267
35268 2006-01-13  Chris Burdess  <dog@gnu.org>
35269
35270         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35271
35272 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35273
35274         * java/security/Security.java
35275         (getProperty): Added hack to skip security check when trusted
35276         code is direct caller.
35277
35278 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35279
35280         * java/io/PrintStream.java
35281         (line_separator, PrintStream(OutputStream,boolean)): Use
35282         SystemProperties.
35283
35284 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35285
35286         * gnu/java/nio/charset/Provider.java: Added comment about its
35287         special relation with CharsetProvider.
35288         (static): Removed.
35289         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35290         its special relation with CharsetProvider.
35291         (static): Removed.
35292         * java/nio/charset/spi/CharsetProvider.java
35293         (CharsetProvider): Add special case to skip security check for
35294         built in providers.
35295
35296 2005-01-13  Mark Wielaard  <mark@klomp.org>
35297
35298         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35299         name, accel, mnemonic and command are defined before setting.
35300
35301 2005-01-12  Mark Wielaard  <mark@klomp.org>
35302
35303         * javax/swing/plaf/metal/MetalFileChooserUI.java
35304         (FileRenderer.getListCellRendererComponent): Set empty name and null
35305         icon when File is null.
35306
35307 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35308
35309         * gnu/java/rmi/server/UnicastRef.java (newCall):
35310         Throw ConnectException after catching IOException.
35311
35312 2006-01-12  Lillian Angel  <langel@redhat.com>
35313
35314         * javax/swing/text/DefaultStyledDocument.java
35315         (insertUpdate): Removed unneeded check.
35316
35317 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35318
35319         * javax/swing/text/DefaultStyledDocument.java:
35320         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35321         and we haven't come immediately after a fracture, adjust the Element
35322         offsets.  Added comment explaining the situation.
35323         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35324         call to insertUpdate.  Fired the UndoableEditUpdate.
35325
35326 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35327
35328         Fixes bug #22802
35329         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35330         character classes within a subexpression.
35331
35332 2006-12-12  Lillian Angel  <langel@redhat.com>
35333
35334         * javax/swing/text/DefaultStyledDocument.java
35335         (insertUpdate): Added check to check if attribute set is 
35336         empty.
35337         (insertUpdate): Added check to determine if last character
35338         is a newline. If it is, we should not be fracturing.
35339         (insert): Added check to determine if attribute set is empty.
35340         If it is, insertUpdate should not be called.
35341
35342 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35343
35344         * configure.ac: Check for isnan.
35345
35346         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35347         define the macro.
35348
35349 2006-01-12  Chris Burdess  <dog@gnu.org>
35350
35351         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35352           1.1 character ranges.
35353
35354 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35355
35356         * javax/swing/TransferHandler.java:
35357         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35358         gnu/testlet/javax/swing/JTextField/CopyPaste.
35359
35360 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35361
35362         * resource/Makefile.am: Install 
35363         logging.properties into $(prefix)/lib.
35364         * resource/Makefile.am (securitydir): Changed to 
35365         $(prefix)/lib/security.
35366
35367 2006-01-12  Roman Kennke  <kennke@aicas.com>
35368
35369         * javax/swing/JTextField.java
35370         (createDefaultModel): Moved installation of the filterNewlines
35371         property to setDocument().
35372         (setDocument): New method. Installs the filterNewlines property
35373         on the document.
35374
35375 2006-01-12  Chris Burdess  <dog@gnu.org>
35376
35377         * gnu/xml/dom/DomNode.java,
35378           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35379           output.
35380         * gnu/xml/xpath/NameTest.java,
35381           gnu/xml/xpath/NamespaceTest.java,
35382           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35383           navigation.
35384         * gnu/xml/transform/MessageNode.java: Use standard logging system
35385           for outputting messages.
35386
35387 2006-01-12  Tom Tromey  <tromey@redhat.com>
35388
35389         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35390         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35391         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35392         (static initializer): Removed cache code.
35393         (checkCacheFor, addToCache): Removed.
35394         (getAllByName): Removed cache code.
35395         (lookup_time): Removed.
35396         (InetAddress): Updated.
35397
35398 2006-01-12  Chris Burdess  <dog@gnu.org>
35399
35400         * gnu/xml/dom/DomDocument.java,
35401           gnu/xml/dom/DomElement.java,
35402           gnu/xml/dom/DomNode.java,
35403           gnu/xml/stream/XMLParser.java,
35404           gnu/xml/transform/Bindings.java,
35405           gnu/xml/transform/ElementAvailableFunction.java,
35406           gnu/xml/transform/ElementNode.java,
35407           gnu/xml/transform/FunctionAvailableFunction.java,
35408           gnu/xml/transform/NamespaceProxy.java,
35409           gnu/xml/transform/StreamSerializer.java,
35410           gnu/xml/transform/Stylesheet.java,
35411           gnu/xml/transform/TransformerImpl.java,
35412           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35413           document and element nodes; correct coalescing semantics when parsing;
35414           attribute-sets can only refer to top-level variables and parameters;
35415           fix namespace retrieval during element-available and
35416           function-available functions; implement xsl:fallback for extension
35417           elements; tokenize whitespace correctly during whitespace stripping;
35418           correct following and previous node axes selectors.
35419
35420 2006-01-12  Roman Kennke  <kennke@aicas.com>
35421
35422         * java/util/Hashtable.java
35423         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35424         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35425
35426 2006-01-12  Lillian Angel  <langel@redhat.com>
35427
35428         * javax/swing/text/GapContent.java
35429         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35430
35431 2006-01-12  Mark Wielaard  <mark@klomp.org>
35432
35433         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35434         Throw UnknowHostException when name could not be resolved.
35435
35436 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35437
35438         * java/net/URL.java
35439         (static, getURLStreamHandler): Use SystemProperties.
35440
35441 2006-01-12  Mark Wielaard  <mark@klomp.org>
35442
35443         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35444         Use packet.getLength().
35445         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35446         (nativeReceive): Check whether the receiver wants zero bytes.
35447
35448 2006-01-12  Mark Wielaard  <mark@klomp.org>
35449
35450         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35451         other side orderly closed connection.
35452         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35453         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35454         when end of stream reached.
35455
35456 2006-01-12  Mark Wielaard  <mark@klomp.org>
35457
35458         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35459         Remove asserts.
35460         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35461         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35462         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35463         * native/jni/java-net/javanet.c: Likewise.
35464
35465 2006-01-12  Mark Wielaard  <mark@klomp.org>
35466
35467         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35468         PR classpath/23863.
35469
35470 2006-01-11  Chris Burdess  <dog@gnu.org>
35471
35472         * gnu/xml/transform/AttributeNode.java,
35473           gnu/xml/transform/ElementNode.java,
35474           gnu/xml/transform/LiteralNode.java,
35475           gnu/xml/transform/StreamSerializer.java,
35476           gnu/xml/transform/StrippingInstruction.java,
35477           gnu/xml/transform/Stylesheet.java,
35478           gnu/xml/transform/TransformerImpl.java,
35479           gnu/xml/transform/ValueOfNode.java,
35480           gnu/xml/xpath/Expr.java,
35481           gnu/xml/xpath/LocalNameFunction.java,
35482           gnu/xml/xpath/NameFunction.java,
35483           gnu/xml/xpath/NameTest.java,
35484           gnu/xml/xpath/NamespaceUriFunction.java,
35485           gnu/xml/xpath/NodeTypeTest.java,
35486           gnu/xml/xpath/SubstringFunction.java,
35487           javax/xml/namespace/QName.java: don't determine element namespace
35488           from namespace aliases when specified; better namespace handling
35489           when serializing elements; don't create HTML meta element unless
35490           head element exists; correct encoding of CDATA sections containing
35491           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35492           default encoding for HTML output; rewrite of XSLT
35493           strip-space/preserve-space handling; correct doctype-public and
35494           doctype-system output attributes; insert generated doctype before
35495           document element; fixed result tree whitespace stripping
35496           algorithm; fixed semantics of XPath name, local-name, and
35497           namespace-uri functions; name tests handle XML/XMLNS namespaces
35498           correctly; fixed semantics of processing-instruction node test.
35499         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35500           aid debugging.
35501
35502 2006-01-11  Lillian Angel  <langel@redhat.com>
35503
35504         * javax/swing/text/DefaultStyledDocument.java
35505         (insertFracture): Added calls to addEdit for each time a structure 
35506         is changed. addEdit is called on the newBranch, previous, and parent
35507         structures.
35508
35509 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35510
35511         * javax/swing/text/DefaultStyledDocument.java:
35512         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35513         This will have been taken care of in insertFracture.  Added a comment
35514         explaining that we need to add edits to the DocumentEvent and that
35515         this may be the place to do it.
35516
35517 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35518
35519         * javax/swing/text/DefaultStyledDocument.java:
35520         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35521         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35522         elementStack when there is a start tag with JoinNextDirection.
35523
35524 2006-01-11  Roman Kennke  <kennke@aicas.com>
35525
35526         Reported by: Fridjof Siebert <siebert@aicas.com>
35527         * java/util/Hashtable.java
35528         (KEYS): Removed unneeded field.
35529         (VALUES): Removed unneeded field.
35530         (ENTRIES): Removed unneeded field.
35531         (keys): Return a KeyEnumerator instance.
35532         (elements): Returns a ValueEnumerator instance.
35533         (toString): Use an EntryIterator instance.
35534         (keySet): Return a KeyIterator instance.
35535         (values): Return a ValueIterator instance.
35536         (entrySet): Return an EntryIterator instance.
35537         (hashCode): Use EntryIterator instance.
35538         (rehash): Changed this loop to avoid redundant reads and make
35539         it obvious that null checking is not needed.
35540         (writeObject): Use EntryIterator instance.
35541         (HashIterator): Removed class.
35542         (Enumerator): Removed class.
35543         (EntryIterator): New class.
35544         (KeyIterator): New class.
35545         (ValueIterator): New class.
35546         (EntryEnumerator): New class.
35547         (KeyEnumerator): New class.
35548         (ValueEnumerator): New class.
35549
35550 2006-01-11  Lillian Angel  <langel@redhat.com>
35551
35552         * javax/swing/text/DefaultStyledDocument.java
35553         (toString): Shouldn't append the '>' character here.
35554         (createDefaultRoot): Should not set the resolve parent. This
35555         causes problems when comparing attribute sets.
35556
35557 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35558
35559         * javax/swing/text/DefaultStyledDocument.java:
35560         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35561         end tags.
35562         (ElementBuffer.insertFracture): New method.
35563         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35564         JoinFractureDirection - this only applies to start tags, not content
35565         tags.
35566         (insertUpdate): Corrected conditions for setting direction to 
35567         JoinNextDirection.
35568
35569 2006-01-10  Roman Kennke  <kennke@aicas.com>
35570
35571         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35572         * ChangeLog-2005: New File.
35573
35574 2006-01-10  Roman Kennke  <kennke@aicas.com>
35575
35576         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35577         (get): Release the array with the correct pointer.
35578         (put): Release the array with the correct pointer. Copy the array
35579         around _before_ releasing it.
35580
35581 2006-01-10  Roman Kennke  <kennke@aicas.com>
35582
35583         * javax/swing/ViewportLayout.java
35584         (layoutContainer): Fixed condition, to avoid ClasscastException.
35585
35586 2006-01-10  Roman Kennke  <kennke@aicas.com>
35587
35588         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35589         (MouseHandler.mousePressed): Fixed indendation.
35590         (MouseHandler.mouseDragged): Fixed indendation.
35591
35592 2006-01-10  Roman Kennke  <kennke@aicas.com>
35593
35594         * javax/swing/plaf/basic/BasicLookAndFeel.java
35595         (playSound): Added @since 1.4 to the API docs.
35596
35597 2006-01-10  Roman Kennke  <kennke@aicas.com>
35598
35599         * javax/swing/plaf/basic/BasicListUI.java
35600         (maybeUpdateLayoutState): Also update the layout state, if the
35601         list has been invalidated since the last update.
35602
35603 2006-01-10  Roman Kennke  <kennke@aicas.com>
35604
35605         * javax/swing/plaf/ComponentUI.java
35606         (update): Fixed indendation.
35607
35608 2006-01-10  Roman Kennke  <kennke@aicas.com>
35609
35610         * javax/swing/ViewportLayout.java
35611         (layoutContainer): Fixed condition, so that Scrollable components
35612         are always forced to have to Viewport size, when they
35613         return true for getScrollableTracksViewportHeight() and ..Width().
35614
35615 2006-01-10  Roman Kennke  <kennke@aicas.com>
35616
35617         * javax/swing/RepaintManager.java
35618         (validateInvalidComponents): Fixed condition to avoid NPE.
35619
35620 2006-01-10  Roman Kennke  <kennke@aicas.com>
35621
35622         * javax/swing/JViewport.java:
35623         (static_initializer): Removed unused variable myScrollMode.
35624
35625 2006-01-10  Roman Kennke  <kennke@aicas.com>
35626
35627         * javax/swing/JTabbedPane.java:
35628         Cleared API docs a little.
35629
35630 2006-01-10  Roman Kennke  <kennke@aicas.com>
35631
35632         * java/util/StringTokenizer.java
35633         (StringTokenizer(String, String, boolean)):
35634         Don't trigger NPE here for conformance with the spec.
35635
35636 2006-01-10  Roman Kennke  <kennke@aicas.com>
35637
35638         * java/util/ArrayList.java
35639         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35640
35641 2006-01-10  Roman Kennke  <kennke@aicas.com>
35642
35643         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35644         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35645         field to avoid NPE.
35646
35647 2006-01-10  Roman Kennke  <kennke@aicas.com>
35648
35649         * native/jni/java-net/javanet.c
35650         (_javanet_shutdownOutput): Replaced strerror() with
35651         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35652         (_javanet_shutdownInput): Replaced strerror() with
35653         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35654
35655 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35656
35657         * java/beans/EventSetDescriptor.java: Reformatted and
35658         fixed API docs.
35659
35660 2006-01-10  Roman Kennke  <kennke@aicas.com>
35661
35662         * java/lang/SecurityManager.java
35663         Fully qualified AWT class references in API docs.
35664
35665 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35666
35667         * java/beans/EventSetDescriptor.java:
35668         (getGetListenerMethod): New method.
35669
35670 2006-01-10  Mark Wielaard  <mark@klomp.org>
35671
35672         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35673
35674 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35675
35676         PR classpath/25727
35677         * java/util/Hashtable.java
35678         (contains): Call equals on existing value.
35679         (containsKey, get, put, remove): Call equals on existing key.
35680         (getEntry): Call equals on existing entry.
35681
35682 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35683
35684         PR classpath/24618
35685         * java/util/AbstractMap.java
35686         (equals(Object,Object)): Test for identity first.
35687         * java/util/WeakHashMap.java
35688         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35689         (WeakBucket.WeakEntry.toString): Fixed string representation of
35690         null key.
35691         (internalGet): Use helper method to determine equality.
35692
35693 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35694
35695         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35696         constructors.
35697
35698 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35699
35700         * javax/swing/text/PlainDocument.java:
35701         (insertUpdate): Handle special case of an insertion immediately 
35702         following a newline character.
35703
35704 2006-01-09  Roman Kennke  <kennke@aicas.com>
35705
35706         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35707         (connect): Added stream parameter to _connect() call.
35708         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35709         (connect): Added stream parameter to _connect() call.
35710         * native/jni/java-net/javanet.c
35711         (_javanet_create_localfd): Added stream parameter. Look up
35712         fd field based on the stream parameter either in SocketImpl or
35713         in DatagramSocketImpl.
35714         (_javanet_connect): Added stream parameter. Call create_localfd
35715         using this stream parameter. Set localPort field either in
35716         SocketImpl or in DatagramSocketImpl, depending on the stream
35717         flag.
35718         * native/jni/java-net/javanet.c
35719         (_javanet_connect): Added stream parameter.
35720
35721 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35722
35723         * javax.management.Attribute.java: Grammar and 
35724         formatting fixes.
35725
35726 2006-01-09  Mark Wielaard  <mark@klomp.org>
35727
35728         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35729         exception when channel is not readable or writable.
35730         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35731         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35732         there is enough space to mmap().
35733
35734 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35735
35736         * java/beans/Introspector.java:
35737         (getBeanInfo(Class, int)): New method.
35738         (getBeanInfo(Class, Class): Moved common code in a new method.
35739         (merge): New method.
35740
35741 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35742
35743         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35744
35745 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35746
35747         * javax/swing/text/DefaultStyledDocument.java:
35748         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35749         inlined this method because it needs to change the value of the 
35750         finalStartTag and finalStartDirection variables.
35751         (checkForInsertAfterNewline): Removed this method.
35752         (handleInsertAfterNewline): Added case for making the start tag's 
35753         direction JoinNextDirection.
35754
35755 2006-01-09  Lillian Angel  <langel@redhat.com>
35756
35757         * javax/swing/plaf/basic/BasicTreeUI.java:
35758         Added new field.
35759         (setRowHeight): Row height is set to the max height of
35760         all the nodes, or 20 as a default value.
35761         (getPathBounds): Cleaned up code.
35762         (getMaxHeight): New helper function that gets the max 
35763         height of all the rows.
35764         (getClosestPathForLocation): Fixed to use getMaxHeight.
35765         (updateCachedPreferredSize): Likewise.
35766         (installUI): Shouldn't expand tree on startup.
35767         (getNodeDimensions): Fixed to use getMaxHeight. 
35768
35769 2006-01-09  Mark Wielaard  <mark@klomp.org>
35770
35771         * javax/swing/JList.java (setSelectedIndex): Clear selection when
35772         argument is negative.
35773
35774 2006-01-08  Mark Wielaard  <mark@klomp.org>
35775
35776         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35777
35778 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35779
35780         * javax.management.Attribute.java: New file. 
35781
35782 2006-01-09  Roman Kennke  <kennke@aicas.com>
35783
35784         * java/net/DatagramSocketImpl.java
35785         (localPort): Renamed to localport for correct access from native
35786         code.
35787
35788 2006-01-09  Roman Kennke  <kennke@aicas.com>
35789
35790         * javax/swing/Popup.java
35791         (LightweightPopup.hide): Repaint the layered pane when popup is
35792         removed.
35793
35794 2006-01-09  Roman Kennke  <kennke@aicas.com>
35795
35796         * java/awt/Container.java
35797         (remove): Don't repaint the container here.
35798
35799 2006-01-08  Tom Tromey  <tromey@redhat.com>
35800
35801         * java/lang/InheritableThreadLocal.java: Organized imports.
35802
35803 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35804
35805         Fixes bug #25679
35806         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35807         when an empty string matched an empty token.
35808
35809 2006-01-08  Chris Burdess  <dog@gnu.org>
35810
35811         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35812           content models from external entities.
35813         * gnu/xml/stream/UnicodeReader.java: Report error instead of
35814           attempting to continue with unpaired surrogates.
35815         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35816           resolving entities with character entity references; better
35817           checking of valid character ranges; don't report an error for URI
35818           fragments in notation declarations; check unbound namespace
35819           prefixes for elements and attributes, including XML 1.1 unbinding
35820           syntax; namespace-aware checking of attribute duplicates.
35821
35822 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
35823
35824         * java/beans/Statement.java: Doc fixes.
35825         (doExecute): Workaround for Class.forName call.
35826         (toString): Made output look more like on the JDK.
35827         * java/beans/Expression.java: Doc fixes.
35828         (toString): Made output look more like on the JDK.
35829         * java/beans/PersistenceDelegate.java,
35830         java/beans/DefaultPersistenceDelegate.java,
35831         java/beans/Encoder.java,
35832         java/beans/XMLEncoder.java: New file.
35833         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
35834         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
35835         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
35836         gnu/java/beans/encoder/Context.java,
35837         gnu/java/beans/encoder/GenericScannerState.java,
35838         gnu/java/beans/encoder/IgnoringScannerState.java,
35839         gnu/java/beans/encoder/MapPersistenceDelegate.java,
35840         gnu/java/beans/encoder/ObjectId.java,
35841         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
35842         gnu/java/beans/encoder/ReportingScannerState.java,
35843         gnu/java/beans/encoder/Root.java,
35844         gnu/java/beans/encoder/ScanEngine.java,
35845         gnu/java/beans/encoder/ScannerState.java,
35846         gnu/java/beans/encoder/StAXWriter.java,
35847         gnu/java/beans/encoder/Writer.java: New file.
35848         * gnu/java/beans/encoder/elements/Array_Get.java,
35849         gnu/java/beans/encoder/elements/Element.java,
35850         gnu/java/beans/encoder/elements/List_Set.java,
35851         gnu/java/beans/encoder/elements/Array_Set.java,
35852         gnu/java/beans/encoder/elements/NullObject.java,
35853         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
35854         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
35855         gnu/java/beans/encoder/elements/StringReference.java,
35856         gnu/java/beans/encoder/elements/ClassResolution.java,
35857         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
35858         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
35859         gnu/java/beans/encoder/elements/ObjectReference.java,
35860         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
35861         gnu/java/beans/encoder/elements/List_Get.java,
35862         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
35863
35864 2006-01-08  Chris Burdess  <dog@gnu.org>
35865
35866         * java/lang/Character.java (toChars,toCodePoint): Correct these
35867           methods to use algorithms from Unicode specification.
35868  
35869 2006-01-08  Mark Wielaard  <mark@klomp.org>
35870
35871         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
35872
35873 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
35874
35875         Fixes bug #25711
35876         * examples/Makefile.am: Corrected DESTDIR install paths.
35877
35878 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35879
35880         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
35881         ASCII character (line 46).
35882
35883 2006-01-07  Roman Kennke  <kennke@aicas.com>
35884
35885         * javax/swing/text/TableView.java: New file.
35886
35887 2006-01-07  Chris Burdess  <dog@gnu.org>
35888
35889         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
35890         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
35891         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
35892           available; correct handling of unparsed entity references;
35893           absolutize all base URIs; remove commented out code.
35894
35895 2006-01-07  Chris Burdess  <dog@gnu.org>
35896
35897         * gnu/xml/stream/SAXParser.java,
35898           gnu/xml/stream/XMLParser.java: Add SAX property to return base
35899           URI of the current event.
35900
35901 2006-01-07  Chris Burdess  <dog@gnu.org>
35902
35903         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
35904           aware processing.
35905
35906 2006-01-07  Chris Burdess  <dog@gnu.org>
35907
35908         * gnu/xml/stream/SAXParser.java,
35909           gnu/xml/stream/XIncludeFilter.java,
35910           gnu/xml/stream/XMLParser.java: Updated documentation.
35911
35912 2006-01-07  Chris Burdess  <dog@gnu.org>
35913
35914         * AUTHORS: add self.
35915
35916 2006-01-06  Casey Marshall  <csm@gnu.org>
35917
35918         * AUTHORS: add myself.
35919
35920 2006-01-06  Casey Marshall  <csm@gnu.org>
35921
35922         PR classpath/25699
35923         * javax/crypto/CipherInputStream.java (logger): new constant.
35924         (cipher): make final.
35925         (outLength, inBuffer, inLength): removed.
35926         (isStream): make final.
35927         (VIRGIN, LIVING, DYING, DEAD, state): removed.
35928         (eof): new field.
35929         (<init>): call `super,' not `this;' remove `inBuffer' and
35930         `outBuffer' initialization; init `eof;' add debug logging.
35931         (<init>): call `this' with a new null cipher.
35932         (available): fix javadoc to reflect the real semantics; if we
35933         don't have a buffer, call `nextBlock.'
35934         (close): synchronize.
35935         (read): synchronize; fix testing for buffered data.
35936         (read): synchronize; add `skip' semantics if first argument is
35937         `null;' decrypt stream cipher data only if there is any; fix tests
35938         for buffered data.
35939         (skip): stop using `available' to see how many data are buffered.
35940         (nextBlock): simplify to use cipher-allocated output buffers
35941         instead of internally allocated ones.
35942
35943 2006-01-06  Tom Tromey  <tromey@redhat.com>
35944
35945         * java/lang/String.java (codePointCount): Fixed javadoc.
35946
35947 2006-01-06  Tom Tromey  <tromey@redhat.com>
35948
35949         * java/lang/String.java (contains): Added @since.
35950
35951 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35952
35953         Fixes bug #25616
35954         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
35955         * gnu/regexp/RETokenRepeated.java(match): Break the loop
35956         when an empty string matched an empty token.
35957
35958 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
35959
35960         PR classpath/24858
35961         * gnu/java/util/WeakIdentityHashMap.java: New file.
35962         * java/lang/InheritableThreadLocal.java
35963         (newChildThread): Modified to remove key indirection.
35964         * java/lang/Thread.java
35965         (locals): Changed type to WeakIdentityHashMap.
35966         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
35967         WeakHashMap.
35968         * java/lang/ThreadLocal.java
35969         (key, Key): Removed.
35970         (get, set): Changed to use "this" instead of "key".
35971
35972 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
35973
35974         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
35975
35976         * native/fdlibm/java-assert.h: Removed file.
35977
35978         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
35979         Replaced use of JvAssert by assert.
35980
35981 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
35982
35983         * javax/swing/text/DefaultCaret.java:
35984         (setDot): Fixed paramater to Math.max to be this.dot and not the 
35985         parameter dot.
35986
35987 2006-01-05  Roman Kennke  <kennke@aicas.com>
35988
35989         * javax/swing/plaf/basic/BasicListUI.java
35990         (getCellHeight): New helper method.
35991         (getCellBounds): Use new helper method for determining the cell
35992         height.
35993         (paint): Don't call list.indexToLocation() but instead call
35994         directly into the same UI method.
35995         (locationToIndex): Fixed calculation of # visible rows and handling
35996         of cell heights.
35997         (indexToLocation): Fixed calculation of # visible rows and handling
35998         of cell heights.
35999
36000 2006-01-05  Roman Kennke  <kennke@aicas.com>
36001
36002         * javax/swing/plaf/metal/MetalFileChooserUI.java
36003         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36004         in the file chooser.
36005
36006 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36007
36008         * javax/swing/JTextPane.java:
36009         (replaceSelection): If the document is an AbstractDocument, use replace
36010         rather than remove and insert.
36011         * javax/swing/event/EventListenerList.java:
36012         (getListeners): Reversed the order of the listeners to match the 
36013         reference implementation.
36014         * javax/swing/text/AbstractDocument.java:
36015         (insertString): Add the UndoableEdit from the content.insertString call
36016         to the DocumentEvent.
36017         (DefaultDocumentEvent.toString): Implemented.
36018         * javax/swing/text/DefaultCaret.java:
36019         (setDot): Make sure dot is > 0 and less than the length of the 
36020         document.
36021         * javax/swing/text/DefaultStyledDocument.java:
36022         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36023         event when we get start and end tags.  This ensures that we create the
36024         proper BranchElements in endEdit().
36025         (ElementBuffer.insertUpdate): Added FIXME to handle 
36026         JoinFractureDirection case.
36027         (insertUpdate): Added code to check if we're inserting immediately 
36028         after a newline and to handle this case (create start and end tags). 
36029         Only change the direction of the first and last tags if they are of 
36030         type ContentType.
36031         (checkForInsertAfterNewline): New helper method.
36032         (handleInsertAfterNewline): Likewise.
36033         * javax/swing/text/View.java:
36034         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36035         container.
36036
36037 2006-01-05  Mark Wielaard  <mark@klomp.org>
36038
36039         * newsitems.txt: Add fosdem meeting.
36040         * events/events.wml: Likewise.
36041         * events/fosdem06.wml: New file.
36042         
36043 2006-01-05  Lillian Angel  <langel@redhat.com>
36044         
36045         * javax/swing/text/GapContent.java
36046         (createPosition): No positions should be created inside the
36047         gap. Fixed check to ensure this does not happen.
36048
36049 2006-01-05  Roman Kennke  <kennke@aicas.com>
36050
36051         * javax/swing/RepaintManager.java
36052         (validateInvalidComponents): Search for the validate root
36053         and start validating there.
36054
36055 2006-01-05  Roman Kennke  <kennke@aicas.com>
36056
36057         * javax/swing/plaf/basic/BasicListUI.java
36058         (ComponentHandler): Removed unneeded class.
36059         (ListDataHandler.contentsChanged): Revalidate instead of calling
36060         damageLayout().
36061         (ListDataHandler.intervalAdded): Revalidate instead of calling
36062         damageLayout().
36063         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36064         damageLayout().
36065         (PropertyChangeHandler.propertyChange): Or flags together instead
36066         of adding them. Don't call damageLayout().
36067         (componentListener): Removed unnecessary field.
36068         (damageLayout): Removed unnecessary method.
36069         (installListeners): Don't install unnecessary listeners.
36070         (uninstallListeners): Dito.
36071         (getPreferredSize): Don't ask for the real list height and
36072         calculate with the previously calculated list height.
36073         (locationToIndex): Renamed list parameter to l so that it doesn't
36074         shadow the field with the same name.
36075         (indexToLocation): Renamed list parameter to l so that it doesn't
36076         shadow the field with the same name.
36077
36078 2006-01-04  Tom Tromey  <tromey@redhat.com>
36079
36080         * include/.cvsignore: Ignore config-int.h.
36081
36082 2006-01-04  Roman Kennke  <kennke@aicas.com>
36083
36084         * javax/swing/plaf/basic/BasicListUI.java
36085         (getPreferredSize): Rewritten to match the specs.
36086
36087 2006-01-04  Roman Kennke  <kennke@aicas.com>
36088
36089         * javax/swing/JFileChooser.java
36090         (showOpenDialog): Set fixed width on the dialog.
36091         (showSaveDialog): Set fixed width on the dialog.
36092         (showDialog): Set fixed width on the dialog.
36093
36094 2006-01-04  Roman Kennke  <kennke@aicas.com>
36095
36096         * javax/swing/plaf/basic/BasicListUI.java
36097         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36098         Adjusted iteration to not use visibleRowCount and instead iterate
36099         over the real number of elements in cellHeights.
36100         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36101         Adjusted iteration to not use visibleRowCount and instead iterate
36102         over the real number of elements in cellHeights.
36103
36104 2006-01-04  Roman Kennke  <kennke@aicas.com>
36105
36106         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36107         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36108         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36109
36110 2006-01-04  Roman Kennke  <kennke@aicas.com>
36111
36112         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36113         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36114         New VM class.
36115         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36116         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36117         New file.
36118         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36119         Removed.
36120         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36121         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36122         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36123         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36124         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36125         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36126         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36127         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36128
36129 2006-01-04  Lillian Angel  <langel@redhat.com>
36130
36131         * javax/swing/plaf/metal/MetalFileChooserUI.java
36132         (propertyChange): Fixed to change the combo box label
36133         appropriately. Also, fixed to set the textfield's text
36134         correctly.
36135         (editFile): Fixed size of editing field.
36136         (installComponents): Correctly aligned all panels.
36137         (installStrings): Fixed to set the label's text
36138         appropriately depending on the dialog type.
36139
36140 2006-01-04  Lillian Angel  <langel@redhat.com>
36141
36142         PR classpath/25473 
36143         PR classpath/25479
36144         * javax/swing/JTree.java
36145         (JTree): Because some L&F defaults have been updated,
36146         the selectionMode for the tree needed to be set to SINGLE.
36147         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36148         Initialized accessoryPanel.
36149         * javax/swing/plaf/metal/MetalFileChooserUI.java
36150         (installComponents): Added accessoryPanel to the filechooser.
36151
36152 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36153
36154         * configure.ac: Added AX_CREATE_STDINT_H
36155
36156         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36157
36158         * m4/ax_create_stdint_h.m4: New file.
36159
36160         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36161         typedefs. Removed stdint.h and inttypes.h includes.
36162  
36163 2006-01-03  Mark Wielaard  <mark@klomp.org>
36164
36165         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36166         register keyboard action when accelerator is not null.
36167         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36168         re-register accelerator if not null.
36169         (installKeyboardActions): Only put accelerator in map when not null.
36170
36171 2006-01-04  Lillian Angel  <langel@redhat.com>
36172
36173         * javax/swing/plaf/basic/BasicLookAndFeel.java
36174         (initComponentDefaults): Removed unneeded default.
36175         * javax/swing/plaf/metal/MetalLookAndFeel.java
36176         (initComponentDefaults): Added and fixed several defaults.
36177
36178 2006-01-04  Roman Kennke  <kennke@aicas.com>
36179
36180         * javax/swing/plaf/basic/BasicHTML.java: New class.
36181
36182 2006-01-03  Tom Tromey  <tromey@redhat.com>
36183
36184         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36185         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36186
36187 2006-01-03  Mark Wielaard  <mark@klomp.org>
36188
36189         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36190
36191 2006-01-03  Mark Wielaard  <mark@klomp.org>
36192
36193         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36194         Always call createDefaultTheme().
36195         (createDefaultTheme): Check whether theme is still null.
36196
36197 2006-01-03  Mark Wielaard  <mark@klomp.org>
36198
36199         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36200         Color.WHITE if null.
36201
36202 2006-01-03  Lillian Angel  <langel@redhat.com>
36203
36204         * javax/swing/plaf/metal/MetalLookAndFeel.java
36205         (getDescription): Fixed to return the correct string.
36206         (getID): Likewise.
36207         (getName): Likewise.
36208         (getDefaults): Added check to avoid NPE.
36209         (getAcceleratorForeground): Likewise.
36210         (getAcceleratorSelectedForeground): Likewise.
36211         (getBlack): Likewise.
36212         (getControl): Likewise.
36213         (getControlDarkShadow): Likewise.
36214         (getControlDisabled): Likewise.
36215         (getControlHighlight): Likewise.
36216         (getControlInfo): Likewise.
36217         (getControlShadow): Likewise.
36218         (getControlTextColor): Likewise.
36219         (getControlTextFont): Likewise.
36220         (getDesktopColor): Likewise.
36221         (getFocusColor): Likewise.
36222         (getHighlightedTextColor): Likewise.
36223         (getInactiveControlTextColor): Likewise.
36224         (getInactiveSystemTextColor): Likewise.
36225         (getMenuBackground): Likewise.
36226         (getMenuDisabledForeground): Likewise.
36227         (getMenuForeground): Likewise.
36228         (getMenuSelectedBackground): Likewise.
36229         (getMenuSelectedForeground): Likewise.
36230         (getMenuTextFont): Likewise.
36231         (getPrimaryControl): Likewise.
36232         (getPrimaryControlDarkShadow): Likewise.
36233         (getPrimaryControlHighlight): Likewise.
36234         (getPrimaryControlInfo): Likewise.
36235         (getPrimaryControlShadow): Likewise.
36236         (getSeparatorBackground): Likewise.
36237         (getSeparatorForeground): Likewise.
36238         (getSubTextFont): Likewise.
36239         (getSystemTextColor): Likewise.
36240         (getSystemTextFont): Likewise.
36241         (getTextHighlightColor): Likewise.
36242         (getUserTextColor): Likewise.
36243         (getUserTextFont): Likewise.
36244         (getWhite): Likewise.
36245         (getWindowBackground): Likewise.
36246         (getWindowTitleBackground): Likewise.
36247         (getWindowTitleFont): Likewise.
36248         (getWindowTitleForeground): Likewise.
36249         (getWindowTitleInactiveBackground): Likewise.
36250         (getWindowTitleInactiveForeground): Likewise.
36251
36252 2006-01-03  Mark Wielaard  <mark@klomp.org>
36253
36254         * javax/swing/JTextArea.java
36255         (JTextArea(Document,text,int,int)): Only call setText() when text is
36256         not null.
36257
36258 2006-01-03  Lillian Angel  <langel@redhat.com>
36259
36260         * javax/swing/plaf/basic/BasicFileChooserUI.java
36261         (installStrings): Fixed installation of defaults that
36262         were changed in BasicLookAndFeel.
36263         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36264         (installDefaults): Fixed installation of defaults that
36265         were changed in BasicLookAndFeel.
36266
36267 2006-01-03  Lillian Angel  <langel@redhat.com>
36268
36269         * javax/swing/plaf/basic/BasicLookAndFeel.java
36270         (initComponentDefaults): Fixed several defaults that differed
36271         from the JDK.
36272
36273 2006-01-03  Lillian Angel  <langel@redhat.com>
36274
36275         * javax/swing/tree/DefaultTreeSelectionModel.java
36276         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36277
36278 2006-01-03  Lillian Angel  <langel@redhat.com>
36279
36280         * javax/swing/AbstractAction.java
36281         (AbstractAction): Fixed to pass in null. Should not be 
36282         an empty string. Removed TODO comment.
36283         (AbstractAction): Removed TODO comment.
36284         * javax/swing/JList.java
36285         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36286         * javax/swing/JMenuItem.java
36287         (JMenuItem): Set all defaults if the action passed in is not null.
36288         * javax/swing/JProgressBar.java
36289         (JProgressBar): Added check to prevent NPE.
36290
36291 2006-01-03  Lillian Angel  <langel@redhat.com>
36292
36293         * javax/swing/plaf/basic/BasicListUI.java
36294         (getPreferredSize): The JDK adds some extra space to 
36295         the list, so we should as well.
36296         * javax/swing/plaf/metal/MetalFileChooserUI.java
36297         (getPreferredSize): Should only take the fileListPanel's
36298         width into account when getting the size. Also, the buttonPanel's
36299         size should not be checked, since it is in the bottomPanel already.
36300         (getMinimumSize): Likewise.
36301
36302 2006-01-03  Lillian Angel  <langel@redhat.com>
36303
36304         * javax/swing/JList.java
36305         (init): visibleRowCount should be 7, like the JDK.
36306         * javax/swing/plaf/metal/MetalFileChooserUI.java
36307         (installComponents): No need to add the fileFilterCombo
36308         to a panel. It can be added to the row directly.
36309
36310 2006-01-03  Lillian Angel  <langel@redhat.com>
36311         
36312         PR classpath/25480 PR classpath/25478
36313         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36314         (updateViewport): Made changes suggested by
36315         Chris Lansdown.
36316         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36317         Removed unneeded import.
36318         (createList): Removed comment, JList wrapping 
36319         now works.
36320         (getPreferredSize): Made changes suggested by
36321         Chris Lansdown. Uses fileListPanel, instead
36322         of fileList.
36323         (getMinimumSize): Uses fileListPanel, instead
36324         of fileList.
36325         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36326         (paintFocus): Fixed height.
36327
36328 2006-01-03  Roman Kennke  <kennke@aicas.com>
36329
36330         * javax/swing/plaf/basic/BasicListUI.java
36331         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36332
36333 2006-01-03  Roman Kennke  <kennke@aicas.com>
36334
36335         * javax/swing/plaf/basic/BasicListUI.java
36336         (locationToIndex): Special case for when variable cell heights
36337         are possible. (cellHeights is used instead of cellHeight).
36338         (indexToLocation): Special case for when variable cell heights
36339         are possible. (cellHeights is used instead of cellHeight).
36340
36341 2006-01-03  Roman Kennke  <kennke@aicas.com>
36342
36343         * javax/swing/text/DefaultStyledDocument.java
36344         (ElementBuffer.remove): New method.
36345         (ElementBuffer.removeUpdate): New method.
36346         (removeUpdate): New method.
36347
36348 2006-01-03  Roman Kennke  <kennke@aicas.com>
36349
36350         * lib/Makefile.am:
36351         (dist-hook): Preserve attributes of Java sources when copying to
36352         dist dir.
36353
36354 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36355
36356         * AUTHORS: Added self.
36357         * java/security/Security.java (getProvider): Ensures provider's name is
36358           not null, not an empty string, and is trimmed before usage.
36359
36360 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36361
36362         * gnu/CORBA/Poa/AOM.java (add):
36363         Changed parameter Object into gnuServantObject.
36364         (Obj.object): Changed type to gnuServantObject.
36365         (findObject): Rewritten.
36366
36367 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36368
36369         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36370         buffering. Ability has gone in Qt-4.1.x.
36371
36372         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36373         to have the right include flags.
36374
36375 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36376
36377         * java/security/MessageDigest.java (getInstance(String,String)):
36378         Use trimmed copy of provider name.
36379         * gnu/java/security/Engine.java
36380         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36381         service and algorithm names.
36382
36383 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36384
36385         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36386         localhost is null or is an empty string. Trim hostname before
36387         lookup.
36388