2015-01-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libjava / classpath / ChangeLog-2006
blobb8cfb24e259b69d3f13b5b837be7ae1f504cf4c1
1 2006-12-30  Casey Marshall  <csm@gnu.org>
3         * gnu/java/security/x509/X509Certificate.java (serialVersionUID):
4         new constant.
5         (extensions): parameterize.
6         (getExtendedKeyUsage): parameterize return type.
7         (getSubjectAlternativeNames): parameterize return type; handle changes
8         to `SubjectAlternativeNames' class.
9         (getIssuerAlternativeNames): parameterize return type; handle changes
10         to `IssuerAlternativeNames' class.
11         (getCriticalExtensionOIDs, getNonCriticalExtensionOIDs): parameterize
12         return type.
13         * gnu/java/security/x509/ext/CertificatePolicies.java
14         (policies, policyQualifierInfos): parameterize.
15         * gnu/java/security/x509/ext/ExtendedKeyUsage.java (purposeIds): 
16         parameterize.
17         * gnu/java/security/x509/ext/Extension.java (<init>): add support
18         for NameConstraints extension.
19         * gnu/java/security/x509/ext/GeneralName.java: new class.
20         * gnu/java/security/x509/ext/GeneralNames.java (names): parameterize;
21         retrofit to use the GeneralName class. 
22         * gnu/java/security/x509/ext/GeneralSubtree.java: new class.
23         * gnu/java/security/x509/ext/IssuerAlternativeNames.java (getNames):
24         change return type to GeneralName parameterized list.
25         * gnu/java/security/x509/ext/NameConstraints.java: new class.
26         * gnu/java/security/x509/ext/SubjectAlternativeNames.java (getNames):
27         change return type to GeneralName parameterized list.
28         * java/security/cert/X509CertSelector.java: re-sorted methods.
29         (makeName): new method.
30         (addPathToName, addPathToName, getPathToNames, getPolicy,
31         getSubjectAlternativeNames, setPathToNames, setPolicy): implemented.
32         (keyPurposeSet, altNames, policy): parametized.
33         (pathToNames): new field.
35 2006-12-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
37         * java/text/DateFormatSymbols:
38         (DateFormatSymbols()): Update documentation.
39         (DateFormatSymbols(Locale)): Likewise.
40         (getInstance()): Implemented.
41         (getInstance(Locale)): Partially implemented.
42         * java/util/Calendar.java:
43         (SHORT, LONG, ALL_STYLES): New constants.
44         (getDisplayName(int,int,Locale)); Implemented.
45         (getDisplayNames(int,int,Locale)): Likewise.
46         
47 2006-12-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
49         * java/util/Arrays.java:
50         (copyOf(boolean[],int)): Implemented.
51         (copyOfRange(boolean[],int,int)): Likewise.
52         (copyOf(byte[],int)): Likewise.
53         (copyOfRange(byte[],int,int)): Likewise.
54         (copyOf(char[],int)): Likewise.
55         (copyOfRange(char[],int,int)): Likewise.
56         (copyOf(double[],int)): Likewise.
57         (copyOfRange(double[],int,int)): Likewise.
58         (copyOf(float[],int)): Likewise.
59         (copyOfRange(float[],int,int)): Likewise.
60         (copyOf(int[],int)): Likewise.
61         (copyOfRange(int[],int,int)): Likewise.
62         (copyOf(long[],int)): Likewise.
63         (copyOfRange(long[],int,int)): Likewise.
64         (copyOf(short[],int)): Likewise.
65         (copyOfRange(short[],int,int)): Likewise.
66         (copyOf(T[],int)): Likewise.
67         (copyOfRange(T[],int,int)): Likewise.
68         (copyOf(U[],int,Class<? extends T>)): Likewise.
69         (copyOfRange(U[],int,int,Class<? extends T>)):
70         Likewise.
71         * java/util/Collections.java:
72         (asLifoQueue(Deque<T>)): Implemented.
73         (newSetFromMap(Map<E>)): Likewise.
74         (MapSet): New class for newSetFromMap.
75         (LIFOQueue): New class for asLifoQueue.
76         
77 2006-12-28  Jeroen Frijters  <jeroen@frijters.net>
79         * javax/net/ssl/SSLServerSocketFactory.java:
80         (getDefault): Return inoperative factory instead of throwing error
81         (as per spec).
82         (ErrorServerSocketFactory): New class.
83         * javax/net/ssl/SSLSocketFactory.java:
84         (getDefault): Return inoperative factory instead of throwing error
85         (as per spec).
86         (ErrorSocketFactory): New class.
88 2006-12-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
90         * java/util/AbstractMap.java:
91         (SimpleImmutableEntry): Document and add
92         serialVersionUID.
93         (SimpleEntry): Likewise, and fix JAPI errors.
94         * java/util/TreeMap.java:
95         (entrySet()): Return navigableSet instead.
96         (headMap(K, boolean)): Implemented.
97         (subMap(K, boolean, K, boolean)): Likewise.
98         (tailMap(K, boolean)): Likewise.
99         (highestLessThan(K,boolean)): Likewise.
100         (lowestGreaterThan(K,boolean,boolean)): Likewise.
101         (SubMap.ceilingEntry(K)): Likewise.
102         (SubMap.ceilingKey(K)): Likewise.
103         (SubMap.descendingKeySet()): Likewise.
104         (SubMap.descendingMap()): Likewise.
105         (SubMap.entrySet()): Return navigableSet instead.
106         (SubMap.firstEntry()): Implemented.
107         (SubMap.floorEntry(K)): Likewise.
108         (SubMap.floorKey(K)): Likewise.
109         (SubMap.headMap(K,boolean)): Likewise.
110         (SubMap.higherEntry(K)): Likewise.
111         (SubMap.higherKey(K)): Likewise.
112         (SubMap.lastEntry()): Likewise.
113         (SubMap.lowerEntry(K)): Likewise.
114         (SubMap.lowerKey(K)): Likewise.
115         (SubMap.navigableKeySet()): Likewise.
116         (SubMap.pollFirstEntry()): Likewise.
117         (SubMap.pollLastEntry()): Likewise.
118         (SubMap.subMap(K,boolean,K,boolean)): Likewise.
119         (SubMap.tailMap(K,boolean)): Likewise.
120         (SubMap.KeySet): New class for keySet().
121         (SubMap.NavigableKeySet): New class for navigableKeySet().
122         (SubMap.EntrySet): New class for entrySet().
123         (SubMap.NavigableEntrySet): Likewise.
124         (ceilingEntry(K)): Likewise.
125         (ceilingKey(K)): Likewise.
126         (descendingKeySet()): Likewise.
127         (descendingMap()): Likewise.
128         (firstEntry()): Implemented.
129         (floorEntry(K)): Likewise.
130         (floorKey(K)): Likewise.
131         (higherEntry(K)): Likewise.
132         (higherKey(K)): Likewise.
133         (lastEntry()): Likewise.
134         (lowerEntry(K)): Likewise.
135         (lowerKey(K)): Likewise.
136         (navigableKeySet()): Likewise.
137         (pollFirstEntry()): Likewise.
138         (pollLastEntry()): Likewise.
139         (DescendingMap): New class for descendingMap().
140         (KeySet): New class for keySet().
141         (NavigableKeySet): New class for navigableKeySet().
142         (DescendingSet): New class for descendingSet().
143         (EntrySet): New class for entrySet().
144         (NavigableEntrySet): Likewise.
145         * java/util/TreeSet.java:
146         (headSet(T,boolean)): Implemented.
147         (subSet(T,boolean,T,boolean)): Likewise.
148         (tailSet(T,boolean)): Likewise.
149         (descendingIterator()): Likewise.
150         (descendingSet()): Likewise.
151         (floor(T)): Likewise.
152         (higher(T)): Likewise.
153         (lower(T)): Likewise.
154         (pollFirst(T)): Likewise.
155         (pollLast(T)): Likewise.
156         
157 2006-12-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
159         * java/util/LinkedList.java:
160         (offer(T)): Documented.
161         (element()): Likewise.
162         (peek()): Likewise.
163         (poll()): Likewise.
164         (remove()): Likewise.
165         (descendingIterator()): Implemented.
166         (offerFirst(T)): Likewise.
167         (offerLast(T)): Likewise.
168         (peekFirst()): Likewise.
169         (peekLast()): Likewise.
170         (pollFirst()): Likewise.
171         (pollLast()): Likewise.
172         (pop()): Likewise.
173         (push(T)): Likewise.
174         (removeFirstOccurrence(Object)): Likewise.
175         (removeLastOccurrence(Object)): Likewise.
176         
177 2006-12-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
179         * NEWS: Mention 1.6 support for java.lang.management
180         * configure.ac: Check for getloadavg.
181         * examples/gnu/classpath/examples/management/TestOS.java:
182         Print system load average.
183         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
184         (getSystemLoadAverage()): Implemented.
185         * include/Makefile.am: Add new header.
186         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h:
187         Regenerated.
188         * include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h:
189         Generated.
190         * java/lang/management/OperatingSystemMXBean.java:
191         (getSystemLoadAverage()): Implemented.
192         * native/jni/java-lang/Makefile.am: Add new native code.
193         * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
194         New file.
195         * vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java:
196         Likewise.
197         
198 2006-12-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
200         * NEWS:
201         Add information on threading bean VM update.
202         
203 2006-12-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
205         * doc/vmintegration.texinfo:
206         Updated to match new threading bean API.
207         * gnu/java/lang/management/ThreadMXBeanImpl.java:
208         (MONITOR_SUPPORT): New constant for object monitor
209         lock support property.
210         (SYNCHRONIZER_SUPPORT): New constant for ownable
211         synchronizer lock support property.
212         (dumpAllThreads(boolean,boolean)): Implemented.
213         (findDeadlockedThreads()): Likewise.
214         (getThreadInfo(long[],boolean,boolean)): Likewise.
215         (isObjectMonitorUsageSupported()): Likewise.
216         (isSynchronizerUsageSupported()): Likewise.
217         * java/lang/management/ThreadInfo.java:
218         (ThreadInfo(Thread,long,long,Object,Thread,long,
219         long,boolean,boolean,StackTraceElement[],
220         MonitorInfo[], LockInfo[])): New constructor.
221         (ThreadInfo(long,String,Thread.State,long,long,
222         String,long,String,long,long,boolean,boolean,
223         StackTraceElement[],MonitorInfo[], LockInfo[])):
224         Likewise.
225         (from(CompositeData)): Updated to handle new attributes.
226         (getLockedMonitors()): Implemented.
227         (getLockedSynchronizers()): Likewise.
228         (getLockInfo()): Likewise.
229         (getLockName()): Handle blocking as documented in 1.6
230         (getLockOwnerId()): Likewise.
231         (getLockOwnerName()): Likewise.
232         (toString()): Likewise.
233         (isThreadBlocked()): Thread blocked check based on
234         documented 1.6 semantics.
235         * java/lang/management/ThreadMXBean.java:
236         (dumpAllThreads(boolean,boolean)): Implemented.
237         (findDeadlockedThreads()): Likewise.
238         (getThreadInfo(long[],boolean,boolean)): Likewise.
239         (isObjectMonitorUsageSupported()): Likewise.
240         (isSynchronizerUsageSupported()): Likewise.
241         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
242         (findDeadlockedThreads()): New native method.
243         (getLockInfo(ThreadInfo)): Likewise.
244         (getMonitorInfo(ThreadInfo)): Likewise.
245         
246 2006-12-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
248         * java/lang/management/MonitorInfo.java:
249         Make variables private.
250         * java/util/Arrays.java:
251         (binarySearch(byte[],byte)): Implemented in terms
252         of range-based variant.
253         (binarySearch(short[],short)): Likewise.
254         (binarySearch(int[],int)): Likewise.
255         (binarySearch(long[],long)): Likewise.
256         (binarySearch(char[],char)): Likewise.
257         (binarySearch(float[],float)): Likewise.
258         (binarySearch(double[],double)): Likewise.
259         (binarySearch(byte[],int,int,byte)): Implemented.
260         (binarySearch(short[],int,int,short)): Likewise.
261         (binarySearch(int[],int,int,int)): Likewise.
262         (binarySearch(long[],int,int,long)): Likewise.
263         (binarySearch(char[],int,int,char)): Likewise.
264         (binarySearch(float[],int,int,float)): Likewise.
265         (binarySearch(double[],int,int,double)): Likewise.
266         (binarySearch(Object[],int,int,Object)): Likewise.
267         (binarySearch(T[],int,int,T,Comparator)): Likewise.
268         
269 2006-12-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
271         * java/beans/ConstructorProperties.java:
272         New file.
273         * java/lang/management/LockInfo.java:
274         Likewise.
275         * java/lang/management/MonitorInfo.java:
276         Likewise.
277         * java/lang/management/ThreadInfo.java:
278         (getStackTraceType()): New method to
279         make the StackTraceElement type accessible.
280         (from(CompositeData)): Refactored to use
281         getStackTraceType().
282         
283 2006-12-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
285         * gnu/classpath/Pair.java: New class.
286         * java/io/ObjectInputStream.java:
287         (readUnshared()): Implemented.
288         (readObject(boolean)): Renamed from readObject
289         in order to handle unshared serialization.
290         (parseContent(byte,boolean)): Added unshared parameter.
291         (assignNewHandle(Object,boolean)): Likewise.
292         (rememberHandle(Object,boolean,int)): Likewise.
293         (lookupHandle(int)): Added handling of invalidated handles.
294         (processResolution(ObjectStreamClass,Object,int,boolean)):
295         Added unshared parameter.
296         * java/io/ObjectOutputStream.java:
297         (writeUnshared()): Implemented.
298         (writeObject(Object,boolean)): Renamed from
299         writeObject(Object) in order to handle
300         unshared serialization.
301         
302 2006-12-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
304         * gnu/java/lang/management/BeanImpl.java:
305         (translate(String)): Correct handling of
306         CompositeData objects.
307         * java/lang/management/ManagementFactory.java:
308         (ManagementInvocationHandler.invoke(Object,
309         Method,Object[])): Handle translation and notifications.
310         (ManagementInvocationHandler.translate(Object,
311         Method)): Implement type translation.
312         * java/lang/management/MemoryUsage.java:
313         (from(CompositeData)): Fix capitalisation.
314         * java/lang/management/ThreadInfo.java:
315         (from(CompositeData)): Likewise.
316         * javax/management/StandardMBean.java:
317         (getMBeanInfo()): Add notification handling.
318                 
319 2006-12-23  Sven de Marothy  <sven@physto.se>
321         * java/util/GregorianCalendar.java,
322         (add): Don't set fields directly anymore. Use set()
324 2006-12-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
326         PR classpath/30268:
327         * javax/management/MBeanServerFactory.java:
328         Initialise map of servers immediately.
329         (createMBeanServer(String)): Remove map
330         construction.
332 2006-12-22  Francis Kung  <fkung@redhat.com>
334         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
335         (shiftX): Remove rounding.
336         (shiftY): Likewise.
338 2006-12-22  Francis Kung  <fkung@redhat.com>
340         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
341         (locked): Removed field.
342         (BufferedImageGraphics): Remove locked flag.
343         (drawComposite): Transform bounds properly; set cairo composite directly.
344         (drawImage): Transform bounds properly.
345         (updateBufferedImage): Remove locked flag; transform bounds properly.
346         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
347         (copyArea): Add comment.
348         (drawImage): Transform bounds properly; update clipping region.
349         (getClipInDevSpace): Transform bounds properly.
350         (getTransformedBounds): New method.
351         (setAntialias): Updated javadoc.
352         (setCustomPaint): Transform bounds properly.
353         (updateClip): Avoid use of GeneralPath when possible.
355 2006-12-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
357         PR classpath/30217:
358         * javax/management/ObjectName.java:
359         (getKeyPropertyList()): Remove cast and call
360         to UnmodifiableMap.
361         
362 2006-12-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
364         PR classpath/30216:
365         * javax/management/MBeanServerDelegate.java:
366         Initialise list of listeners immediately.
367         (addListener(NotificationListener)): Remove list
368         construction.
369         
370 2006-12-21  David Daney  <ddaney@avtrex.com>
372         * gnu/java/net/protocol/http/Headers.java: Update imports.  Implement
373         Iterable<Headers.HeaderElement>.
374         (iterator): Make public.
375         * gnu/java/net/protocol/http/Request.java (dispatch): Use enhanced for
376         loop.
377         (notifyHeaderHandlers): Same.
378         * gnu/java/net/protocol/http/SimpleCookieManager.java (addCookies):
379         Remove unneeded cast.
381 2006-12-21  Mario Torre  <neugens@limasoftware.net>
383         * .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning
384         instead of error for empty control flow statements.
385         * gnu/javax/swing/text/html/css/CSSParser.java (parseSelector): 
386         (parseValue): Reverted last change.
387         * java/text/BreakIterator.java (preceding): likewise.
388         * external/jsr166/java/util/AbstractQueue.java (clear): likewise.
389         * gnu/java/io/Base64InputStream.java (read): likewise.
390         * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate): 
391         likewise.
392         * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
393         * java/util/zip/ZipInputStream.java (closeEntry): likewise.
394         * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
395         * java/io/StreamTokenizer.java (nextToken): likewise.
396         * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
397         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java (execute):
398         likewise.
399         * gnu/java/nio/charset/ByteCharset.java (Decoder.decodeLoop): likewise.
400         Also fixed typo.
401         * gnu/java/awt/print/PostScriptGraphics2D.java (spoolPostScript): likewise.
402         * gnu/java/awt/print/JavaPrinterGraphics.java (spoolPostScript): likewise.
403         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
404         likewise.
405         * javax/swing/text/html/CSSParser.java: 
406         (parse): likewise.
407         * java/lang/String.java (trim): likewise.
408         * java/lang/StrictMath.java (remPiOver2): likewise.
409         * gnu/java/awt/peer/qt/QtToolkit.java (QtToolkit): likewise.
410         * javax/swing/JComponent.java (paintImmediately2): likewise.
411         (paintChildren): likewise.
412         * java/util/EnumMap.java (..next): likewise.
413         * java/util/BitSet.java (length): likewise.
414         * java/util/Collections.java (binarySearch): likewise.
415         * java/util/StringTokenizer.java (nextToken): likewise.
416         * java/util/PriorityQueue.java (.next): likewise.
417         * java/math/BigInteger.java (BigInteger): likewise.
418         * gnu/java/lang/management/BeanImpl.java (translate): likewise.
420 2006-12-19  Mario Torre  <neugens@limasoftware.net>
422         * javax/imageio/spi/ServiceRegistry.java: fixed Empty control-flow
423         statement.
424         * tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java: likewise.
425         * gnu/java/io/Base64InputStream.java (read): likewise.
426         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java: likewise.
427         * java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
428         * java/util/zip/ZipInputStream.java (closeEntry): likewise.
429         * java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
430         * org/omg/CORBA/ORB.java: likewise.
431         * javax/swing/plaf/metal/MetalFileChooserUI.java: likewise.
432         * gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
433         * tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java: likewise.
434         * java/text/MessageFormat.java (MessageFormatElement.setLocale): likewise.
435         * java/text/BreakIterator.java (preceding): likewise.
436         * gnu/javax/net/ssl/provider/SSLEngineImpl.java: likewise.
437         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
438         likewise.
439         * java/beans/XMLEncoder.java (writeObject): likewise.
440         * gnu/java/beans/encoder/ScanEngine.java (ScanEngine): likewise.
441         * java/util/Collections.java (binarySearch): likewise.
442         * java/util/StringTokenizer.java (nextToken): likewise.
443         * java/util/PriorityQueue.java (.next): likewise.
444         * java/util/EnumMap.java (..next): likewise.
445         * java/util/BitSet.java (length): likewise.
446         * java/util/Date.java (parse): likewise.
447         * javax/swing/text/html/CSSParser.java (parse): likewise.
448         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
449         (TabbedPaneScrollLayout.calculateTabRects): likewise.
450         * java/lang/Character.java (UnicodeBlock): likewise.
451         * java/lang/String.java (trim): likewise.
452         * java/lang/StrictMath.java (remPiOver2): likewise. 
453         * javax/swing/JFormattedTextField.java (commitEdit): likewise.
454         * javax/swing/JComponent.java (paintImmediately2): likewise.
455         (paintChildren): likewise.
456         * javax/swing/JToolTip.java (paramString): likewise.
457         * javax/swing/JEditorPane.java (JEditorPane): likewise.
458         * gnu/CORBA/Poa/gnuPOA.java: likewise.
459         * gnu/javax/security/auth/login/ConfigFileParser.java
460         (parseAppOrOtherEntry): likewise.
461         (parse): likewise.
462         * java/math/BigInteger.java (setBitOp): likewise.
463         (add): likewise.
464         (BigInteger): likewise.
465         * gnu/java/lang/management/BeanImpl.java (translate): likewise.
466         * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
467         likewise.
468         * javax/swing/text/AbstractDocument.java (BranchElement): likewise.
469         * javax/swing/text/JTextComponent.java (getScrollableTracksViewportWidth): 
470         likewise.
471         * javax/swing/text/FieldView.java (checkContainer): likewise.
472         * javax/swing/text/AsyncBoxView.java (ChildLocator.updateChildOffsets): 
473         likewise.
474         * java/text/DecimalFormat.java (formatToCharacterIterator): likewise.
475         (parse): small refactoring.
477 2006-12-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
479         * java/lang/Enum.java:
480         (finalize()): Implemented.
481         
482 2006-12-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
484         * gnu/java/lang/management/BeanImpl.java:
485         (getAttribute(String)): Fix Map and List conversion.
486         * java/lang/management/ManagementFactory.java:
487         (newPlatformMXBeanProxy(MBeanServerConnection,
488         String, Class<T>)): Add a comma.
489         
490 2006-12-18  Tom Tromey  <tromey@redhat.com>
492         * vm/reference/java/net/VMNetworkInterface.java (addresses):
493         Genericized.
494         (VMNetworkInterface): Updated.
495         * java/net/URLClassLoader.java (urls): Genericized.
496         (urlinfos): Likewise.
497         (addURLImpl): Updated.
498         (findClass): Likewise.
499         (newInstance): Likewise.
500         * java/net/URL.java (ph_cache): Genericized.
501         (getURLStreamHandler): Updated.
502         * java/net/ResolverCache.java (cache): Genericized.
503         (killqueue): Likewise.
504         * java/net/NetworkInterface.java (getInetAddresses): Genericized.
505         * java/net/MimeTypeMapper.java (mime_types): Genericized.
506         (fillFromFile): Likewise.
507         (main): Likewise.
508         * gnu/java/net/protocol/jar/Handler.java (flat): Genericized.
509         * gnu/java/net/protocol/jar/Connection.java (JarFileCache.cache):
510         Genericized.
511         (JarFileCache.get): Updated.
512         * gnu/java/net/protocol/http/SimpleCookieManager.java (cookies):
513         Genericized.
514         (SimpleCookieManager): Updated.
515         (setCookie): Likewise.
516         (getCookies): Likewise.
517         (addCookies): Likewise.
518         * gnu/java/net/protocol/http/Request.java (responseHeaderHandlers):
519         Genericized.
520         (Request): Updated.
521         (createResponseBodyStream): Removed unused variable.
522         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Remove
523         unused variable.
524         (getRequestProperties): Genericized.
525         * gnu/java/net/protocol/http/HTTPConnection.java
526         (handshakeCompletedListeners): Genericized.
527         (nonceCounts): Likewise.
528         (HTTPConnection): Updated.
529         (Pool.connectionPool): Likewise.
530         (getNonceCount): Updated.
531         (incrementNonce): Likewise.
532         * gnu/java/net/protocol/http/Headers.java (headers): Genericized.
533         * gnu/java/net/protocol/http/ChunkedInputStream.java (CR, LF): Removed
534         unused fields.
535         * gnu/java/net/protocol/ftp/FTPURLConnection.java (connect):
536         Genericized.
537         (getRequestProperties): Likewise.
538         (addRequestPropertyValue): Likewise.  Fixed return result.
539         * gnu/java/net/protocol/ftp/FTPConnection.java (nameList):
540         Genericized.
541         * gnu/java/net/local/LocalSocket.java: Fixed imports.
542         * gnu/java/net/local/LocalServerSocket.java: Fixed imports.
543         * gnu/java/net/loader/URLStreamHandlerCache.java (factoryCache):
544         Genericized.
545         (add): Updated.
546         (get): Likewise.
547         * gnu/java/net/loader/URLLoader.java (getClassPath): Genericized.
548         * gnu/java/net/loader/JarURLLoader.java (classPath): Genericized.
549         (initialize): Updated.
550         (getClassPath): Genericized.
551         * gnu/java/net/IndexListParser.java (prefixes): Genericized.
552         (IndexListParser): Updated.
553         (getHeaders): Likewise.
554         * gnu/java/net/HeaderFieldHelper.java (headerFieldKeys): Genericized.
555         (headerFieldValues): Likewise.
556         (HeaderFieldHelper): Updated.
557         (getHeaderFieldValueByKey): Likewise.
558         (getHeaderFields): Likewise.
559         * gnu/java/net/GetLocalHostAction.java: Genericized.
560         * gnu/java/net/DefaultContentHandlerFactory.java (imageTypes):
561         Genericized.
563 2006-12-18  Tom Tromey  <tromey@redhat.com>
565         * java/util/prefs/Preferences.java (getFactory): Genericized.
566         * java/util/prefs/AbstractPreferences.java (childCache): Genericized.
567         (nodeListeners): Likewise.
568         (preferenceListeners): Likewise.
569         (cachedChildren): Rewrote.
570         (childrenNames): Updated.
571         (addNodeChangeListener): Likewise.
572         (addPreferenceChangeListener): Likewise.
573         * gnu/java/util/prefs/gconf/GConfNativePeer.java (getKeys):
574         Genericized.
575         (getChildrenNodes): Likewise.
576         (gconf_client_all_nodes): Likewise.
577         (gconf_client_all_keys): Likewise.
578         * gnu/java/util/prefs/MemoryBasedPreferences.java (entries):
579         Genericized.
580         (keysSpi): Likewise.
581         (getSpi): Likewise.
582         * gnu/java/util/prefs/GConfBasedPreferences.java (childrenNamesSpi):
583         Genericized.
584         (keysSpi): Likewise.
585         (postorderRemove): Likewise.
586         * gnu/java/util/prefs/EventDispatcher.java (queue): Genericized.
587         (run): Updated.
589 2006-12-18  Francis Kung  <fkung@redhat.com>
591         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
592         (drawGlyphVector): Round bounds instead of casting & truncating..
594 2006-12-17  Tom Tromey  <tromey@redhat.com>
596         * javax/sound/sampled/BooleanControl.java (type): Removed unused
597         field.
598         * javax/sound/sampled/AudioSystem.java (getAudioFileTypes):
599         Genericized.
600         (getAudioInputStream): Removed unused variable.
601         (getMixerInfo): Genericized.
602         (getSourceLineInfo): Likewise.
603         (getTargetEncodings): Likewise.
604         (getTargetFormats): Likewise.
605         (getTargetLineInfo): Likewise.
606         * javax/sound/sampled/AudioFormat.java (properties): Genericized.
607         (AudioFormat): Updated.
608         * javax/sound/sampled/AudioFileFormat.java (properties): Genericized.
609         (AudioFileFormat): Updated.
611 2006-12-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
613         * java/lang/management/ManagementFactory.java:
614         (newPlatformMXBeanProxy(MBeanServerConnection,
615         String, Class<T>)): Initial implementation.
616         
617 2006-12-17  Tom Tromey  <tromey@redhat.com>
619         * javax/naming/spi/Resolver.java: Fixed comments and imports.
620         * javax/naming/ldap/InitialLdapContext.java (InitialLdapContext):
621         Genericized.
622         * javax/naming/directory/BasicAttributes.java (attributes):
623         Genericized.
624         (BasicAttributes): Updated.
625         (get): Likewise.
626         (getAll): Likewise.
627         (getIDs): Rewrote.
628         (readObject): Updated.
629         (BasicAttributesEnumeration): Genericized.
630         * javax/naming/directory/BasicAttribute.java (BasicAttribute):
631         Genericized.
632         (clone): Likewise.
633         (readObject): Likewise.
634         * javax/naming/Reference.java (Reference): Genericized.
635         (clone): Likewise.
636         (get): Likewise.
637         (get): Likewise.
638         * javax/naming/InitialContext.java (colon_list): Genericized.
639         (merge): Likewise.
640         * javax/naming/CompoundName.java (elts): Genericized.
641         (CompoundName): Updated.
642         (addAll): Likewise.
643         (compareTo): Likewise.
644         (endsWith): Likewise.
645         (get): Likewise.
646         (hashCode): Likewise.
647         (startsWith): Likewise.
648         (readObject): Likewise.
649         * javax/naming/CompositeName.java (elts): Genericized.
650         (CompositeName): Updated.
651         (addAll): Likewise.
652         (compareTo): Likewise.
653         (get): Likewise.
654         (getPrefix): Likewise.
655         (getSuffix): Likewise.
656         (toString): Likewise.
657         (readObject): Likewise.
659 2006-12-17  Mark Wielaard  <mark@klomp.org>
661         * doc/www.gnu.org/include/layout.wml: Remove gif reference.
662         * doc/www.gnu.org/include/macros.wml: Correct FSF contact info.
664         * doc/www.gnu.org/newsitems.txt: Add 0.93.
665         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
666         * doc/www.gnu.org/announce/20061211.wml: New file.
668 2006-12-17  Mark Wielaard  <mark@klomp.org>
670         * examples/Makefile.am (JCOMPILER): Don't warn for deprecation,
671         serial, typeHiding, unchecked, unused and varargsCast.
672         * tools/Makefile.am (JCOMPILER): Likewise.
674 2006-12-17  Mark Wielaard  <mark@klomp.org>
676         * tools/Makefile.am (TOOLS_ZIP): Don't remove .lst files immediately.
677         (clean-local): Remove all .lst files
678         * tools/.cvsignore: Add *.lst.
680 2006-12-16  Roman Kennke  <kennke@aicas.com>
682         * examples/gnu/classpath/examples/awt/HintingDemo.java:
683         New demonstration program for the autohinter.
685 2006-12-16  Roman Kennke  <kennke@aicas.com>
687         * gnu/java/awt/font/FontDelegate.java
688         (FLAG_FITTED): New constant field.
689         (FLAG_NO_HINT_HORIZONTAL): New constant field.
690         (FLAG_NO_HINT_VERTICAL): New constant field.w
691         (FLAG_NO_HINT_EDGE_POINTS): New constant field.
692         (FLAG_NO_HINT_STRONG_POINTS): New constant field.
693         (FLAG_NO_HINT_WEAK_POINTS): New constant field.
694         (TYPE_FITTED): Replaced by flags above.
695         (TYPE_SCALED): Replaced by flags above.
696         (TYPE_ORIGINAL): Replaced by flags above.
697         * gnu/java/awt/font/GNUGlyphVector.java
698         (getGlyphOutline): Use FLAG_FITTED.
699         * gnu/java/awt/font/autofit/AutoHinter.java
700         (setFlags): New method. Sets hinting flags.
701         * gnu/java/awt/font/autofit/GlyphHints.java
702         (flags): New field.
703         (alignStrongPoint): Use 16.16 fixed arithmetic.
704         (doAlignEdgePoints): New helper method.
705         (doAlignStrongPoints): New helper method.
706         (doAlignWeakPoints): New helper method.
707         (doHorizonal): Check flags.
708         (doVertical): Check flags.
709         * gnu/java/awt/font/autofit/Latin.java
710         (applyHints): Check hinting flags.
711         (computeEdges): Also initialize fitted position.
712         (scaleMetricsDim): Commented out buggy block.
713         * gnu/java/awt/font/opentype/Hinter.java
714         (setFlags): New method.
715         * gnu/java/awt/font/opentype/OpenTypeFont.java
716         (checkHinter): Accept flags parameter.
717         (createGlyphVector): Pass flags to hinter.
718         (getGlyphOutline): Pass flags to hinter.
719         * gnu/java/awt/font/opentype/truetype/Fixed.java
720         (floatValue16): New method.
721         * gnu/java/awt/font/opentype/truetype/Zone.java
722         (getX): Use new flags.
723         (getY): Use new flags.
725 2006-12-16  Mark Wielaard  <mark@klomp.org>
727         * tools/Makefile.am (TOOLS_ZIP): Remove all-classes.lst.
728         (clean-local): Likewise.
730 2006-12-16  Mark Wielaard  <mark@klomp.org>
732         * tools/Makefile.am (TOOLS_ZIP): Don't pass -w to JCOMPILER.
734 2006-12-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
736         * java/util/Collections.java:
737         (toArray()): Return Object[] as required.
738         (toArray(S[])): Use new type variable S rather than
739         the class one.
740         
741 2006-12-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
743         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Added support for Sun's
744         javac.
745         (CLASSPATH_WITH_JAVAC): Added.
746         (CLASSPATH_CHECK_JAVAC): Likewise.
747         * lib/Makefile.am (JAVAC): Renamed to JCOMPILER.
748         (FOUND_JAVAC): Added support for Sun's javac.
749         * examples/Makefile.am: Likewise.
750         * tools/Makefile.am: Likewise.
752 2006-12-15  Francis Kung  <fkung@redhat.com>
754         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
755         (draw): Pass boolean to setAntialias.
756         (drawGlyphVector): Likewise.
757         (drawString): Likewise.
758         (fill): Likewise.
759         (setAntialias): Change signature to accept boolean.
761 2006-12-15  Roman Kennke  <kennke@aicas.com>
763         * gnu/java/awt/font/FontDelegate.java
764         (TYPE_FITTED): New constant.
765         (TYPE_ORIGINAL): New constant.
766         (TYPE_SCALED): New constant.
767         (getGlyphOutline): Allow the kind of outline be specified as one
768         of the constants above.
769         * gnu/java/awt/font/GNUGlyphVector.java
770         (getGlyphOutline(int,int)): Add type parameter for fetching
771         the intermediate outlines for debugging.
772         (getGlyphOutline(int)): Fetch TYPE_FITTED outline from font
773         delegate.
774         (getOutline(float,float,int)): Added for debugging purpose.
775         (performDefaultLayout): Round the advance here for better hinting.
776         This is only a workaround for not hinting the metrics right now.
777         * gnu/java/awt/font/autofit/AxisHints.java
778         (getEdgeIndex): New helper method. Fetches the index of
779         a given edge in the array.
780         (newEdge): Fixed sorting.
781         * gnu/java/awt/font/autofit/Edge.java
782         (pos): New field. Stores the fitted position.
783         (scale): New field.
784         (toString): More debug output.
785         * gnu/java/awt/font/autofit/GlyphHints.java
786         (alignEdgePoints): New method. Aligns the points of an outline
787         to their edges hinted positions.
788         (alignStrongPoints): New method. Aligns strong points.
789         (alignWeakPoints): New method. Aligns weak points.
790         (getPointIndex): New helper method.
791         (iupInterp): New helper method. Interpolates points.
792         (iupShift): New helper method. Shifts a complete contour.
793         (storePoint): New helper method.
794         * gnu/java/awt/font/autofit/Latin.java
795         (alignEdgePoints): Moved to GlyphHints.
796         (alignLinkedEdge): New helper method.
797         (alignSerifEdge): New helper method.
798         (alignStrongPoints): Moved to GlyphHints.
799         (alignWeakPoints): Moved to GlyphHints.
800         (applyHints): Call moved methods on GlyphHints.
801         (computeStemWidth): New helper method.
802         (doHorzSnap): New helper method.
803         (doVertSnap): New helper method.
804         (doMono): New helper method.
805         (doneWidth): New helper method.
806         (doStemAdjust): New helper method.
807         (hintEdges): Implemented.
808         (initWidths): Removed old comment.
809         (snapWidth): New helper method.
810         * gnu/java/awt/font/autofit/Width.java
811         (toString): More debug output.
812         * gnu/java/awt/font/opentype/OpenTypeFont.java
813         (getGlyphOutline): Add type parameter for debugging.
814         * gnu/java/awt/font/opentype/Scaler.java
815         (getOutline): Add type parameter for debugging.
816         * gnu/java/awt/font/opentype/truetype/Point.java
817         Make all flags of short type. Add new accessor methods for
818         coordinates that can return scaled and original shapes too.
819         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
820         (getOutline): Add type parameter for debugging.
821         * gnu/java/awt/font/opentype/truetype/Zone.java
822         Add type parameter to X and Y accessors.
823         (getPath): Add type parameter.
824         (getPathIterator): Likewise.
825         (transform): Do store transformed value in the x and y fields too.
826         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java
827         (type): New field.
828         (ZonePathIterator): Add type parameter.
829         (getSegment): Fetch coordinates with type.
830         (getStartSegment): Likewise.
832 2006-12-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
834         * autogen.sh: Check for all 2.6x autoconf versions.
836 2006-12-15  Francis Kung  <fkung@redhat.com>
838         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
839         (antialias): New private field.
840         (ignoreAA): New private field.
841         (cairoSetAntialias): New native method.
842         (draw): Check anti-alias setting.
843         (drawGlyphVector): Likewise.
844         (drawString): Likewise.
845         (fill): Likewise.
846         (setAntialias): New private method.
847         (setup): Set default antialias value.
848         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
849         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
850         (gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetAntialias): New method.
852 2006-12-15  Tom Tromey  <tromey@redhat.com>
854         * external/jsr166/.cvsignore: Added Makefile.
856 2006-12-15  Tom Tromey  <tromey@redhat.com>
858         * tools/gnu/classpath/tools/serialver/SerialVer.java (addFileURL):
859         Genericized.
860         (getClassLoader): Likewise.
861         (classes): Likewise.
862         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (main):
863         Removed unused variable.
864         * tools/gnu/classpath/tools/jar/WorkSet.java (allItems): Genericize.
865         (initSet): Likewise.
866         * tools/gnu/classpath/tools/jar/Main.java (entries): Genericize.
867         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile):
868         Genericized.
869         * tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close the
870         input stream.
871         (writtenItems): Genericize.
872         (addEntries): Likewise.
873         (getAllEntries): Likewise.
875 2006-12-15  Tom Tromey  <tromey@redhat.com>
877         PR classpath/29526:
878         * gnu/java/nio/ChannelInputStream.java (read): New overload.
879         (read): Mask return result.
881 2006-12-15  Andrew Haley  <aph@redhat.com>
883         * tools/Makefile.am (TOOLS_ZIP): Pass -g -w to javac.
884         Create all-classes.lst that contains all source filenames.
885         Delete asm.lst.
887         * tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close
888         the inputStream.
890 2006-12-14  David Daney  <ddaney@avtrex.com>
892         * gnu/java/net/protocol/http/HTTPURLConnection.java: Clean
893         imports.
894         (getHeaderFields): Change return type to Map<String,List<String>>
895         * gnu/java/net/protocol/http/Headers.java: Clean imports.
896         (headers) Change type to ArrayList<HeaderElement>.
897         (iterator) Change return type to Iterator<HeaderElement>.
898         (getValue) Remove casts.
899         (put) Same.
900         (putAll) Same.
901         (remove) Same.
902         (getAsMap) Change return type to Map<String,List<String>> and use
903         generics internally.
904         (getHeaderName) Remove casts.
905         (getHeaderValue) Same.
907 2006-12-14  Roman Kennke  <kennke@aicas.com>
909         * gnu/java/awt/font/autofit/HintScaler.java
910         Renamed Scaler to HintScaler to avoid name-clash.
911         * gnu/java/awt/font/autofit/AutoHinter.java
912         (scaler): New field.
913         (applyHints): Scale the metrics before applying the hints.
914         (init): Copy font into scaler.
915         * gnu/java/awt/font/autofit/Edge.java
916         (blueEdge): New field.
917         (toString): Include first and last fields in debug output.
918         * gnu/java/awt/font/autofit/GlyphHints.java
919         (reload): Grab the scales here.
920         * gnu/java/awt/font/autofit/Latin.java
921         (computeBlueEdges): Implemented blue-edge detection.
922         (computeEdges): Correctly calculate edgeDistanceThreshold and
923         the scaled edge position.
924         (initWidths): Renamed Scaler to HintScaler. Sort widths and
925         store widthCount.
926         (scaleMetrics): Add HintScaler parameter. Implemented to scale
927         the metrics.
928         (scaleMetricsDim): New helper method.
929         * gnu/java/awt/font/autofit/LatinAxis.java
930         (orgDelta): New field.
931         (orgScale): New field.
932         * gnu/java/awt/font/autofit/LatinBlue.java: Reordered flags.
933         (FLAG_BLUE_ACTIVE): New flag.
934         * gnu/java/awt/font/autofit/Scaler.java: Renamed to HintScaler.
935         * gnu/java/awt/font/autofit/Script.java
936         (scaleMetrics): Add HintScaler argument.
937         * gnu/java/awt/font/autofit/ScriptMetrics.java
938         Renamed Scaler to HintScaler.
939         * gnu/java/awt/font/autofit/Utils.java
940         (sort(int,Width[])): New helper method. Sorts Width arrays.
941         (mulDiv): New helper method.
942         (pixFloor): New helper method.
943         (pixRound): New helper method.
944         * gnu/java/awt/font/autofit/Width.java
945         (toString): New method. For debug output.
946         * gnu/java/awt/font/opentype/truetype/Fixed.java
947         (mul16): New method. Multiplies with 16.16 fixed point arithmetics.
948         (div16): New method. Divides with 16.16 fixed point arithmetics.
949         (valueOf16): New method. Converts double to 16.16 fixed point.
950         * gnu/java/awt/font/opentype/truetype/Zone.java
951         (scaleX): New field.
952         (scaleY): New field.
953         (shearX): New field.
954         (shearY): New field.
955         (transform): Store translation and shearing in fields instead of
956         local vars.
958 2006-12-14  Roman Kennke  <kennke@aicas.com>
960         * gnu/java/awt/font/autofit/AutoHinter.java
961         (hints): New field.
962         (applyHints): New method. Implements the actual hinting.
963         * gnu/java/awt/font/autofit/AxisHints.java
964         (edges): New field.
965         (AxisHints): Initialize edges field.
966         (newEdge): New method. Records a new edge and sorts it into the
967         existing list.
968         * gnu/java/awt/font/autofit/Edge.java: New class.
969         * gnu/java/awt/font/autofit/GlyphHints.java
970         (GlyphHints): Initialize the scales with 1.
971         (doHorizontal): New method.
972         (doVertical): New method.
973         * gnu/java/awt/font/autofit/Latin.java
974         (alignEdgePoints): New stub method.
975         (alignStrongPoints): New stub method.
976         (alignWeakPoints): New stub method.
977         (applyHints): Take outline as argument. Implemented skeleton.
978         (computeBlueEdges): New stub method.
979         (computeEdges): New method. Detects edges on a glyph outline.
980         (detectFeatures): New methods. Performs local feature analysis.
981         (hintEdges): New stub method.
982         (initBlues): Remove debug output.
983         * gnu/java/awt/font/autofit/LatinAxis.java
984         (edgeDistanceThreshold): Changed to be an int
985         (as fixed-point decimal).
986         * gnu/java/awt/font/autofit/Script.java
987         (applyHints): Include the outline in the method call.
988         * gnu/java/awt/font/autofit/Segment.java
989         (FLAG_EDGE_NORMAL): Set value to 0.
990         (FLAG_EDGE_SERIF): New constant.
991         (FLAG_EDGE_DONE): New constant.
992         (edge): New field.
993         (edgeNext): New field.
994         * gnu/java/awt/font/opentype/Hinter.java
995         (applyHints): New method. Applies the hints to the specified outline.
996         * gnu/java/awt/font/opentype/OpenTypeFont.java
997         (getGlyphOutline): Check the hinter and call the scaler with the
998         hinter.
999         * gnu/java/awt/font/opentype/Scaler.java
1000         (getOutline): Also pass a Hinter.
1001         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
1002         (loadCompoundGlyph): Also accept a hinter argument.
1003         (loadGlyph): Also accept a hinter argument.
1004         (loadSimpleGlyph): Also accept a hinter argument. Hint the
1005         resulting outline.
1006         (loadSubGlyph): Also accept a hinter argument.
1007         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
1008         (getOutline): Accept hinter and pass it to the loader.
1009         (getRawOutline): Pass null hinter to the loader.
1011 2006-12-14  Roman Kennke  <kennke@aicas.com>
1013         * gnu/java/awt/font/autofit/LatinBlue.java:
1014         New class.
1016 2006-12-14  Roman Kennke  <kennke@aicas.com>
1018         * gnu/java/awt/font/autofit/Latin.java
1019         (CAPITAL_TOP): New constant.
1020         (CAPITAL_BOTTOM): New constant.
1021         (SMALL_F_TOP): New constant.
1022         (SMALL_TOP): New constant.
1023         (SMALL_BOTTOM): New constant.
1024         (SMALL_MINOR): New constant.
1025         (BLUE_MAX): New constant.
1026         (IDENTITY): New constant transform.
1027         (MAX_TEST_CHARS): New constant.
1028         (TEST_CHARS): New constants.
1029         (initBlues): Implemented.
1030         (initWidths): Use constant identity transform for loading
1031         the test glyph.
1032         (isTopBlue): New helper method.
1033         * gnu/java/awt/font/autofit/LatinAxis.java
1034         (widths): Initialize in constructor.
1035         (blues): New field. Stores the blue zones.
1036         (blueCount): New field. The number of blue zones.
1037         (LatinAxis): New constructor.
1038         * gnu/java/awt/font/autofit/Utils.java
1039         (sort): New helper method.
1040         * gnu/java/awt/font/opentype/truetype/Zone.java
1041         (getContourEnd): New helper method.
1043 2006-12-13  David Daney  <ddaney@avtrex.com>
1045         * java/lang/Collections.java
1046         (UnmodifiableEntrySet.toArray): Fix bad casts.
1048 2006-12-13  Roman Kennke  <kennke@aicas.com>
1050         * gnu/java/awt/font/autofit/AutoHinter.java: New class. The entry
1051         point into the autohinter.
1052         * gnu/java/awt/font/autofit/AxisHints.java
1053         (majorDir): New field.
1054         (numEdges): New field.
1055         (numSegments): New field.
1056         (AxisHints): New constructor.
1057         (newSegment): New method. Records a new segment.
1058         * gnu/java/awt/font/autofit/Constants.java
1059         (DIR_DOWN): New constant.
1060         (DIR_LEFT): New constant.
1061         (DIR_RIGHT): New constant.
1062         (DIR_TOP): New constant.
1063         (DIR_NONE): New constant.
1064         * gnu/java/awt/font/autofit/GlyphHints.java
1065         (contours): New field.
1066         (numContours): New field.
1067         (maxPoints): New field.
1068         (metrics): New field.
1069         (numPoints): New field.
1070         (points): New field.
1071         (GlyphHints): New constructor.
1072         (computeInflectionPoints): New helper method.
1073         (computeSegments): Moved to Latin.
1074         (linkSegments): Moved to Lating.
1075         (reload): Implemented.
1076         (rescale): Copy the metrics.
1077         (setWeakPoint): New helper method.
1078         * gnu/java/awt/font/autofit/Latin.java
1079         (MAX_WIDTH): Make package private.
1080         (computeSegments): New method. Computes the segments to a glyph.
1081         (initWidths): Implemented. Determines the standard widths of stems
1082         for the font.
1083         (linkSegments): New method. Links stem segments and determines
1084         serif segments.
1085         * gnu/java/awt/font/autofit/LatinMetrics.java
1086         (LatinMetrics()): New constructor.
1087         (LatinMetrics(OpenTypeFont)): New constructor.
1088         * gnu/java/awt/font/autofit/ScriptMetrics.java
1089         (ScriptMetrics): New constructor.
1090         * gnu/java/awt/font/autofit/Segment.java
1091         (FLAG_EDGE_NORMAL): New constant.
1092         (FLAG_EDGE_ROUND): New constant.
1093         (contour): New field.
1094         (dir): New field.
1095         (first): New field.
1096         (flags): New field.
1097         (index): Removed.
1098         (last): New field.
1099         (len): New field.
1100         (maxPos): New field.
1101         (minPos): New field.
1102         (numLinked): New field.
1103         (score): New field.
1104         (serif): New field.
1105         (toString): New method. For debug output.
1106         * gnu/java/awt/font/autofit/Utils.java: New utility class.
1107         * gnu/java/awt/font/opentype/Hinter.java: New interface for
1108         hinter implementations.
1109         * gnu/java/awt/font/opentype/OpenTypeFont.java
1110         (hinter): New field. Stores the hinter for that font.
1111         (checkHinter): Checks if a hinter is installed and installs one
1112         if necessary.
1113         (createGlyphVector): Check installed hinter.
1114         * gnu/java/awt/font/opentype/truetype/Fixed.java: Make class public
1115         for access in the autohinting package.
1116         * gnu/java/awt/font/opentype/truetype/Point.java: New class. Stores
1117         coordinates and additional info that describe the outline of a glyph.
1118         * gnu/java/awt/font/opentype/truetype/Zone.java: Use Point class
1119         for storing the points.
1121 2006-12-13  Tom Tromey  <tromey@redhat.com>
1123         * java/security/BasicPermission.java: Remove gcj workaround.
1124         * java/security/cert/X509Certificate.java: Remove gcj workaround.
1125         * java/net/ServerSocket.java (ServerSocket): Remove gcj
1126         workaround.
1127         (getImpl): Likewise.
1128         * java/util/TreeMap.java (TreeIterator): Remove gcj workaround.
1129         * java/text/AttributedStringIterator.java (getRunLimit): Remove
1130         qualifications.
1131         (getRunStart): Likewise.
1132         * java/awt/AWTKeyStroke.java (removeEldestEntry): Remove gcj
1133         workaround.
1134         * java/awt/AlphaComposite.java (removeEldestEntry): Remove gcj
1135         workaround.
1136         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO,
1137         BIG_VALUE): Don't fully qualify.
1138         * gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Removed
1139         imports.
1140         * gnu/javax/sound/midi/alsa/AlsaPortDevice.java: Removed import.
1141         * gnu/javax/sound/midi/dssi/DSSISynthesizer.java: Removed import.
1142         * javax/swing/JComponent.java (firePropertyChange): Removed.
1143         * javax/swing/text/InternationalFormatter.java (clone):
1144         Uncomment.
1145         * javax/swing/text/AbstractDocument.java (addEdit): Remove gcj
1146         workaround.
1147         (getChange): Likewise.
1149 2006-12-13  Tom Tromey  <tromey@redhat.com>
1151         * examples/Makefile.am: Removed gcjx code.
1152         * lib/Makefile.am: Removed gcjx code.
1153         * tools/Makefile.am: Removed gcjx code.
1154         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Removed gcjx code.
1155         (CLASSPATH_WITH_GCJX): Removed.
1156         (CLASSPATH_CHECK_GCJX): Likewise.
1158 2006-12-13  Tom Tromey  <tromey@redhat.com>
1160         * tools/toolwrapper.c (MAINCLASS): New define.
1161         (main): Use it.
1162         * tools/Makefile.am (gnative2ascii_CFLAGS): Added -D for
1163         MAINCLASS.
1164         (gserialver_CFLAGS): Likewise.
1165         * tools/gnative2ascii.in: Main class is named Native2ASCII.
1166         * tools/gserialver.in: Main class is named SerialVer.
1168 2006-12-12  Roman Kennke  <kennke@aicas.com>
1170         * javax/imageio/FileCacheImageOutputStream.java
1171         (cache): New field. The actual cache as RandomAccessFile.
1172         (cacheDir): Removed. Not needed at all.
1173         (cacheFile): New field. The cache file.
1174         (maxPos): New field. Stores the maximum position.
1175         (FileCacheImageOutputStream): Initialize cache file.
1176         (checkStreamClosed): Removed. This should be done by the super
1177         method checkClosed().
1178         (close): Properly close the stream and delete the cache.
1179         (flushBefore): Implemented to also flush the cache.
1180         (length): Implemented to return the length of the cache.
1181         (read()): Implemented to read from the cache.
1182         (read(byte[],int,int)): Likewise.
1183         (seek): Implemented to seek the cache too.
1184         (write(int)): Write to cache.
1185         (write(byte[],int,int))
1187 2006-12-12  Francis Kung  <fkung@redhat.com>
1189         PR 30155
1190         * javax/imageio/spi/IIORegistry.java (IIORegistry): Register Toolkit SPIs.
1192 2006-12-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1194         * javax/management/AttributeList.java:
1195         Extend ArrayList<Object>.
1196         
1197 2006-12-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1199         PR classpath/30154:
1200         * javax/management/MBeanServer.java:
1201         (createMBeanServer(String)): Check for a null
1202         builder.
1204 2006-12-11  Roman Kennke  <kennke@aicas.com>
1206         * java/awt/print/PrinterJob.java
1207         (lookupStreamPrintServices): Uncommented and fixed parameters.
1209 2006-12-11  Roman Kennke  <kennke@aicas.com>
1211         * java/awt/datatransfer/SystemFlavorMap.java
1212         (flavorToNativeMap): Make typesafe.
1213         (nativeToFlavorMap): Make typesafe.
1214         (SystemFlavorMap): Read in mapping by reading the flavormap.properties.
1215         (addFlavorForUnencodedNative): Access maps in a typesafe way.
1216         (addUnencodedNativeForFlavor): Access maps in a typesafe way.
1217         (getFlavorsForNative): Implemented.
1218         (getNativesForFlavor): Implemented.
1219         (setupMapping): New helper method.
1221 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
1223         * javax/net/ssl/SSLSocketFactory.java (getDefault):
1224         Chain exception cause.
1226 2006-12-11  Roman Kennke  <kennke@aicas.com>
1228         * .classpath: Include ASM in Eclipse classpath.
1230 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1232         * gnu/java/lang/management/BeanImpl.java:
1233         (translate(String)): Trim strings of whitespace.
1234         * javax/management/MBeanAttributeInfo.java:
1235         (MBeanAttributeInfo(String,String,Method,Method)):
1236         Use Class.getName() for normal (non-parameterized) cases.
1237         * javax/management/MBeanConstructorInfo.java:
1238         (MBeanConstructorInfo(String, Constructor)):
1239         Likewise.
1240         * javax/management/MBeanOperationInfo.java:
1241         (MBeanOperationInfo(String, Method)):
1242         Likewise.
1244 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1246         * java/lang/Class.java:
1247         (getClasses()): Return Class<?>[].
1248         (internalGetClasses()): Likewise.
1249         (getConstructor(Class<?>...)): Add type parameter
1250         to parameters.
1251         (getDeclaredConstructor(Class<?>...)): Likewise.
1252         (getDeclaredClasses()): Return Class<?>[].
1253         (getDeclaredClasses(boolean)): Likewise.
1254         (getDeclaredConstructors()): Return Constructor<?>[].
1255         (getDeclaredConstructors(boolean)): Likewise.
1256         (getDeclaredMethod(String,Class<?>...)): Add type
1257         parameter to parameters.
1258         (getInterfaces()): Return Class<?>[].
1259         (getMethods(String,Class<?>...)): Add type
1260         parameter to parameters.
1261         * java/text/CollationKey.java:
1262         Make non-final.
1263         * java/text/DecimalFormatSymbols.java:
1264         Likewise.
1265         
1266 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1268         * gnu/java/lang/management/BeanImpl.java:
1269         (translate(String)): Handle Map and List as
1270         Strings of the form "java.util.Map<K,V>" and
1271         "java.util.List<E>"
1272         * javax/management/MBeanAttributeInfo.java:
1273         (MBeanAttributeInfo(String,String,Method,Method)):
1274         Use generic parameter and return types.
1275         * javax/management/MBeanConstructorInfo.java:
1276         (MBeanConstructorInfo(String, Constructor)):
1277         Use generic parameter types.
1278         * javax/management/MBeanOperationInfo.java:
1279         (MBeanOperationInfo(String, Method)):
1280         Use generic parameter and return types.
1281         
1282 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1284         * gnu/java/lang/management/BeanImpl.java:
1285         (translate(String)): Comment out code for using type
1286         variables for Map and List.
1287         * java/lang/Thread.java:
1288         (Thread(ThreadGroup,Runnable,String,long)): Fix
1289         incrementation of totalThreadsCreated to be prior to use.
1290         
1291 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1293         * javax/management/MBeanServerFactory.java:
1294         (createMBeanServer(String)): Added security check.
1295         (findMBeanServer(String)): Likewise.
1296         (newMBeanServer(String)): Likewise.
1297         (releaseMBeanServer(String)): Likewise.
1298         * javax/management/MBeanServerPermission.java:
1299         New file.
1300         
1301 2006-12-08  David Daney  <ddaney@avtrex.com>
1303         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
1304         Fix comment.
1306 2006-12-08  David Daney  <ddaney@avtrex.com>
1308         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
1310 2006-12-08  David Daney  <ddaney@avtrex.com>
1312         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
1313         SocketException.
1314         (HTTPConnection): Handle NumberFormatException in properties parsing.
1315         (Pool.get): Set timeout on reused sockets.
1316         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
1317         Initialize.
1318         (HTTPURLConnection): Cleanup properties handling.
1319         (getConnection): Use both connection and read timeouts.
1320         (setConnectTimeout): Removed.
1321         (setReadTimeout): New method.
1322         * java/net/URLConnection.java (timeout): Renamed to...
1323         (connectTimeout): ... connectTimeout throughout.
1324         (readTimeout): New field.
1325         (getReadTimeout): New method.
1326         (setReadTimeout): New method.
1328 2006-12-08  Tania Bento  <tbento@redhat.com>
1330         * java/awt/ScrollPane.java
1331         (doLayout): Change the location of the scrollpane's child
1332         to (0, 0).
1334 2006-12-08  David Daney  <ddaney@avtrex.com>
1336         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
1337         New method.
1338         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
1339         SocketTimeoutException if a blocking socket timesout.
1340         (Java_gnu_java_nio_VMChannel_readScattering): Same.
1341         (Java_gnu_java_nio_VMChannel_read__I): Same.
1342         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
1343         (Java_gnu_java_nio_VMChannel_connect6): Same.
1345 2006-12-08  Mark Wielaard  <mark@klomp.org>
1347         * configure.ac (VERSION): Set to 0.93-generics.
1348         * NEWS: Add release date.
1350 2006-12-08  Tania Bento  <tbento@redhat.com>
1352         * java/awt/ScrollPane.java
1353         (getScrollPosition): Throw NullPointerException if scrollpane
1354         does have a child.
1355         (setScrollPosition(int, int)): Throw NullPointerException if
1356         scrollpane does have a child.  Check that both ints are within
1357         the allowed bounds; If they are not, scroll to the closest allowed
1358         bound.
1360 2006-12-07  Roman Kennke  <kennke@aicas.com>
1362         * javax/swing/JEditorPane.java
1363         (EditorKitMapping): New inner helper class.
1364         (editorKits): New static field for caching editor kit instances.
1365         (static_initiazer): Initialize static mappings here.
1366         (createEditorKitForContentType): Try to use cached instance.
1367         Use correct classloader for loading.
1368         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
1369         class.
1370         (getEditorKitForContentType): Store the fetched editor kit.
1371         Fallback to createDefaultEditorKit().
1372         (init): Don't clean the static registry here.
1373         (registerEditorKitForContentType(String,String,ClassLoader)):
1374         Implemented.
1375         (registerEditorKitForContentType(String,String)): Delegate to
1376         the other version of this method with the thread's context
1377         classloader.
1379 2006-12-07  Mark Wielaard  <mark@klomp.org>
1381         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1382         (setPage): Don't convert URL to String for setPage().
1384 2006-12-07  Mark Wielaard  <mark@klomp.org>
1386         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
1388 2006-12-07  Mark Wielaard  <mark@klomp.org>
1390         * tools/Makefile.am: Explicitly define  and use bootclasspath as
1391         GLIBJ_BOOTCLASSPATH
1393 2006-12-07  Mark Wielaard  <mark@klomp.org>
1395         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1396         Always load from system class loader.
1398 2006-12-07  Mark Wielaard  <mark@klomp.org>
1400         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1401         private constructor.
1402         (URL(URL,String,URLStreamHandler)): Call new constructor.
1403         (URL(URL,String)): Likewise.
1404         (URL(String)): Likewise.
1406 2006-12-07  Tom Tromey  <tromey@redhat.com>
1408         * NEWS: Mention ASM.
1409         * INSTALL: Don't mention --with-asm.
1410         * tools/external/README: New file.
1411         * tools/toolwrapper.c (main): Don't use ASM_JAR.
1412         * tools/gjavah.in: Don't use PATH_TO_ASM.
1413         * tools/grmic.in: Likewise.
1414         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
1415         'asm'.
1416         (javah, rmic): Removed variables.
1417         (bin_PROGRAMS): Updated.
1418         (gappletviewer_CFLAGS): Don't define ASM_JAR.
1419         (gjarsigner_CFLAGS): Likewise.
1420         (gkeytool_CFLAGS): Likewise.
1421         (gjar_CFLAGS): Likewise.
1422         (gnative2ascii_CFLAGS): Likewise.
1423         (gserialver_CFLAGS): Likewise.
1424         (grmiregistry_CFLAGS): Likewise.
1425         (gtnameserv_CFLAGS): Likewise.
1426         (gorbd_CFLAGS): Likewise.
1427         (grmid_CFLAGS): Likewise.
1428         (gjavah_CFLAGS): Likewise.
1429         (grmic_CFLAGS): Likewise.
1430         (bin_SCRIPTS): Updated.
1431         (TOOLS_JAVA_FILES): Updated.
1432         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
1433         * configure.ac: Removed --with-asm.  Always build gjavah.
1435 2006-12-06  Roman Kennke  <kennke@aicas.com>
1437         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1438         New class.
1439         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1440         (LoadActionListener): Call setPage() helper method.
1441         (createContent): Register tweaked editor kit. For FormSubmitEvents
1442         call submitForm(), otherwise setPage().
1443         (postData): Helper method for posting form data.
1444         (setPage): Helper method for navigating to a new URL.
1445         (submitForm): Helper method for submitting a form.
1446         * examples/gnu/classpath/examples/swing/forms.html:
1447         Added text/password fields and select boxes.
1448         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1450 2006-12-06  Roman Kennke  <kennke@aicas.com>
1452         * javax/swing/text/html/FormView.java
1453         (SubmitThread.postData): Implemented.
1454         (SubmitThread.run): Pass data to postData().
1455         (actionPerformed): Reset form when reset button is activated.
1456         (createComponent): Add support for select lists and comboboxes.
1457         Don't set value of text and password fields here, this is done
1458         now in HTMLDocument for consistency.
1459         (getElementFormData): Add support for fetching form data from
1460         select lists and comboboxes as well as textareas.
1461         (getSelectData): New helper method. Fetches form data from
1462         select boxes.
1463         (getTextAreaData): New helper method. Fetches form data from
1464         textareas.
1465         (resetForm): New helper method. Resets the entire form.
1466         * javax/swing/text/html/HTMLDocument.java
1467         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1468         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1469         (HTMLReader.FormAction.setModel): Initialize text and password
1470         values here. Also, use the resetable special models.
1471         Group radio buttons into ButtonGroup for exclusive selection.
1472         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1473         (HTMLReader.buttonGroups): New field.
1474         (HTMLReader.numOptions): New field.
1475         (HTMLReader.option): New field.
1476         (HTMLReader.selectModel): New field.
1477         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1478         (HTMLReader.handleText): Handle OPTION text.
1479         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1480         (HTMLReader.textAreaContent): Set initial content.
1481         * javax/swing/text/html/Option.java
1482         (Option): Make copy of attribute set. Initialize selected state.
1483         (getValue): Fetch value from attribute set.
1484         * javax/swing/text/html/ResetableModel.java: New interface.
1485         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1486         Supports resetting the state.
1487         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1488         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1489         * javax/swing/text/html/SelectListModel.java: Likewise.
1491 2006-12-06  Roman Kennke  <kennke@aicas.com>
1493         * javax/swing/text/DefaultCaret.java
1494         (appear): Adjust visibility here.
1495         (setDotImpl): Don't adjust visibility here.
1496         (moveDotImpl): Don't adjust visibility here.
1498 2006-12-06  Roman Kennke  <kennke@aicas.com>
1500         * gnu/java/awt/peer/gtk/AsyncImage.java
1501         (Loader.run): Synchronize on the AsyncImage to avoid threading
1502         issues.
1503         (addObservers): Check for obs==null outside and synchronize on
1504         this inside to avoid locking issues.
1505         (checkImage): New helper method.
1506         (notifyObservers): Check that the correct lock is held and
1507         remove actual locking.
1508         * gnu/java/awt/peer/gtk/GtkToolkit.java
1509         (checkImage): Added special handling for AsyncImages.
1510         
1511 2006-12-06  Roman Kennke  <kennke@aicas.com>
1513         * examples/gnu/classpath/examples/swing/Demo.java
1514         (getIcon): Made package private.
1515         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1516         (hyperlinkUpdate): Convert URL to string.
1518 2006-12-06  Mark Wielaard  <mark@klomp.org>
1520         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
1521         null Observer.
1523 2006-12-06  Roman Kennke  <kennke@aicas.com>
1525         * examples/gnu/classpath/examples/icons/back.png,
1526         * examples/gnu/classpath/examples/icons/reload.png:
1527         New icons for the HTML browser.
1528         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1529         (history): New field. Manages the browsing history.
1530         (HtmlDemo): Initialize history.
1531         (createContent): Set location and add history. Add toolbar.
1532         (createToolBar): New helper method.
1533         (main): Make default size bigger.
1534         * examples/gnu/classpath/examples/swing/frame1.html,
1535         * examples/gnu/classpath/examples/swing/frame2.html,
1536         * examples/gnu/classpath/examples/swing/frame3.html,
1537         * examples/gnu/classpath/examples/swing/frame4.html,
1538         * examples/gnu/classpath/examples/swing/frames.html,
1539         * examples/gnu/classpath/examples/swing/tables.html:
1540         New example pages.
1541         * examples/gnu/classpath/examples/swing/welcome.html
1542         Add a couple of links and new test pages.
1544 2006-12-06  Roman Kennke  <kennke@aicas.com>
1546         * javax/swing/JEditorPane.java
1547         (getStream): Buffer the stream for efficiency.
1548         (setPage): Don't scroll the view at this point.
1549         * javax/swing/plaf/basic/BasicTextUI.java
1550         (RootView.paint): Call RootView's setSize to get synchronization.
1551         (RootView.setSize): Synchronize to prevent race in layout code.
1552         * javax/swing/text/AbstractDocument.java
1553         (notifyListeners): New field.
1554         (fireChangedUpdate): Track notifyListener field.
1555         (fireRemoveUpdate): Track notifyListener field.
1556         (fireIndertUpdate): Track notifyListener field.
1557         (writeLock): Check notifyListener and throw IllegalStateException.
1558         * javax/swing/text/View.java
1559         (preferenceChanged): Create local var for better thread safety and
1560         more efficiency.
1562 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1564         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1565         lightweight component, not just for non-Panel components.
1566         (addImpl): Do not call doLayout.
1567         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1568         (setNativeBounds): Ensure widget parent is a GtkFixed before
1569         calling gtk_fixed_move.
1570         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1571         (setNativeBounds): Likewise.
1572         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1573         (setNativeBounds): Likewise.
1575 2006-12-06  Roman Kennke  <kennke@aicas.com>
1577         * javax/swing/text/html/TableView.java
1578         (RowView.layoutMajorAxis): Check column index for invalid value.
1579         (updateGrid): Check column index for invalid value.
1581 2006-12-06  Roman Kennke  <kennke@aicas.com>
1583         * javax/swing/text/html/BlockView.java
1584         (getAlignment): Align blocks horizontally by the superclass.
1585         * javax/swing/text/html/HTMLEditorKit.java
1586         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1587         Add mapping for misplaced tr, td and th tags. Include object mapping.
1588         * javax/swing/text/html/TableView.java
1589         (RowView.replace): Invalidate grid early.
1590         (gridValid): Initialize with false.
1591         (create): Only create RowView and CellView for correctly placed
1592         tags. Avoid unnecessary casts.
1593         (getAlignment): Removed.
1594         (replace): Invalidate grid early.
1596 2006-12-06  Francis Kung  <fkung@redhat.com>
1598         * java/awt/geom/RectangularShape.java
1599         (getBounds): Remove empty rectangle check.
1601 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1603         Fixes PR 29853.
1604         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1605         newValue are the same.
1606         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1608 2006-12-06  Tania Bento  <tbento@redhat.com>
1610         * javax/swing/border/CompoundBorder.java:
1611         (isBorderOpaque): If inside border is null, return true if outside
1612         border is opaque, false otherwise; if outside border is null, return
1613         true if inside border is opaque, false otherwise; if inside or
1614         outside border are both not null, then return true only if both the
1615         inside and outside border are opaque, false otherwise.
1617 2006-12-06  Tania Bento  <tbento@redhat.com>
1619         * javax/swing/border/CompoundBorder.java:
1620         (isBorderOpaque): If inside and outside border both have a null
1621         value, return true.
1623 2006-12-06  Chris Burdess  <dog@gnu.org>
1625         Fixes PR 29272.
1626         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1627         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1629 2006-12-06  Chris Burdess  <dog@gnu.org>
1631         Fixes PR 29264.
1632         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1633           writeDTD method.
1635 2006-12-06  Chris Burdess  <dog@gnu.org>
1637         Fixes PR 28816.
1638         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1639           discover schema factory implementation class.
1641 2006-12-05  Francis Kung  <fkung@redhat.com>
1643         * java/awt/BasicStroke.java
1644         (capEnd): Prevent division by zero.
1645         * java/awt/geom/Arc2D.java
1646         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1647         (ArcIterator.currentSegment): Handle a negative extent.
1649 2006-12-05  Francis Kung  <fkung@redhat.com>
1651         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1652         (constructor): Handle translated subimages properly, ie, if the image's
1653         0,0 position is not the data buffer's first element.
1655 2006-12-05  Roman Kennke  <kennke@aicas.com>
1657         * gnu/java/awt/peer/gtk/AsyncImage.java
1658         (Loader.run): Nullify observers after loading.
1659         (observers): Made package private.
1660         (addObserver): Check for null observers field. Create local
1661         variable for thread safety.
1662         (getHeight): Use addObserver() for checking state of field
1663         and notifying observer when necessary.
1664         (getWidth): Use addObserver() for checking state of field
1665         and notifying observer when necessary.
1666         (getProperty): Use addObserver() for checking state of field
1667         and notifying observer when necessary.
1668         (notifyObservers): Check for null observers field. Create local
1669         variable for thread safety.
1671 2006-12-05  Roman Kennke  <kennke@aicas.com>
1673         * javax/swing/text/html/HTMLEditorKit.java
1674         (HTMLFactory.create): Removed debug output.
1675         * javax/swing/text/html/InlineView.java
1676         (getBreakWeight): Likewise.
1677         * javax/swing/text/html/StyleSheet.java
1678         (addRule): Likewise.
1679         (ListPainter.paint): Removed debug output.
1681 2006-12-05  Roman Kennke  <kennke@aicas.com>
1683         * javax/swing/text/html/BlockView.java
1684         (painter): Made package visible.
1685         * javax/swing/text/html/StyleSheet.java
1686         (translateBorder): New helper method.
1687         (translateHTMLToCSS): Add mappings for border attributes.
1688         * javax/swing/text/html/TableView.java
1689         Made class subclass of BlockView to get CSS goodness.
1690         (CellView.rowSpan): New field.
1691         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1692         (RowView.overlap): New field.
1693         (RowView.rowIndex): New field.
1694         (RowView.layoutMajorAxis): Skip overlapping cells.
1695         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1696         (numColumns): New field.
1697         (tmpRect): New field.
1698         (TableView): Initialize tmpRect.
1699         (calculateColumnRequirements): Adjusted and fixed for multirows.
1700         (getAlignment): Overridden to center tables.
1701         (paint): Overridden to fix clipping.
1702         (getStyleSheet): Made protected.
1703         (layoutMajorAxis): Invalidate rows.
1704         (setPropertiesFromAttributes): Made protected and call super.
1705         (updateGrid): Update the overlapping information for multirows.
1707 2006-12-05  Roman Kennke  <kennke@aicas.com>
1709         * gnu/java/awt/peer/gtk/AsyncImage.java
1710         (addObserver): Check for null and ignore null observers.
1711         (getWidth): Check for null and ignore null observers.
1712         (getHeight): Check for null and ignore null observers.
1713         (getProperty): Check for null and ignore null observers.
1715 2006-12-05  Francis Kung  <fkung@redhat.com>
1717         * java/awt/BasicStroke.java
1718         (capEnd): Prevent division by zero.
1719         * java/awt/geom/Arc2D.java
1720         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1721         (ArcIterator.currentSegment): Handle a negative extent.
1723 2006-12-05  Francis Kung  <fkung@redhat.com>
1725         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1726         (constructor): Handle translated subimages properly, ie, if the image's
1727         0,0 position is not the data buffer's first element.
1729 2006-12-05  Roman Kennke  <kennke@aicas.com>
1731         * javax/swing/text/html/ImageView.java
1732         (imageUpdate): Use spans field to determine if the CSS width/height
1733         are set. Call safePreferenceChanged to protect view structure
1734         from threading issues.
1735         (spans): Made package private.
1736         (ImageView): Initialize loadOnDemand with false.
1737         (loadImage): Call Toolkit.prepareImage() to make sure we have
1738         our Observer registered.
1739         (safePreferenceChanged): New helper method. Calls preferenceChanged
1740         in a thread safe environment.
1742 2006-12-05  Roman Kennke  <kennke@aicas.com>
1744         * NEWS: Add entry about improved HTML support.
1746 2006-12-05  Roman Kennke  <kennke@aicas.com>
1748         * javax/swing/text/html/ImageView.java
1749         (ImageView): Initialize spans array here.
1750         (setPropertiesFromAttributes): Moved init of spans array to
1751         constructor.
1753 2006-12-05  Roman Kennke  <kennke@aicas.com>
1755         * javax/swing/text/html/BlockView.java
1756         (painter): Made package visible.
1757         * javax/swing/text/html/StyleSheet.java
1758         (translateBorder): New helper method.
1759         (translateHTMLToCSS): Add mappings for border attributes.
1760         * javax/swing/text/html/TableView.java
1761         Made class subclass of BlockView to get CSS goodness.
1762         (CellView.rowSpan): New field.
1763         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1764         (RowView.overlap): New field.
1765         (RowView.rowIndex): New field.
1766         (RowView.layoutMajorAxis): Skip overlapping cells.
1767         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1768         (numColumns): New field.
1769         (tmpRect): New field.
1770         (TableView): Initialize tmpRect.
1771         (calculateColumnRequirements): Adjusted and fixed for multirows.
1772         (getAlignment): Overridden to center tables.
1773         (paint): Overridden to fix clipping.
1774         (getStyleSheet): Made protected.
1775         (layoutMajorAxis): Invalidate rows.
1776         (setPropertiesFromAttributes): Made protected and call super.
1777         (updateGrid): Update the overlapping information for multirows.
1779 2006-12-05  Roman Kennke  <kennke@aicas.com>
1781         * javax/swing/text/html/HTMLEditorKit.java
1782         (HTMLFactory.create): Removed debug output.
1783         * javax/swing/text/html/InlineView.java
1784         (getBreakWeight): Likewise.
1785         * javax/swing/text/html/StyleSheet.java
1786         (addRule): Likewise.
1787         (ListPainter.paint): Removed debug output.
1789 2006-12-06  Roman Kennke  <kennke@aicas.com>
1791         * javax/swing/text/html/BlockView.java
1792         (getAlignment): Align blocks horizontally by the superclass.
1793         * javax/swing/text/html/HTMLEditorKit.java
1794         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1795         Add mapping for misplaced tr, td and th tags. Include object mapping.
1796         * javax/swing/text/html/TableView.java
1797         (RowView.replace): Invalidate grid early.
1798         (gridValid): Initialize with false.
1799         (create): Only create RowView and CellView for correctly placed
1800         tags. Avoid unnecessary casts.
1801         (getAlignment): Removed.
1802         (replace): Invalidate grid early.
1805 2006-12-06  Roman Kennke  <kennke@aicas.com>
1807         * javax/swing/text/html/TableView.java
1808         (RowView.layoutMajorAxis): Check column index for invalid value.
1809         (updateGrid): Check column index for invalid value.
1811 2006-12-06  Roman Kennke  <kennke@aicas.com>
1813         * javax/swing/JEditorPane.java
1814         (getStream): Buffer the stream for efficiency.
1815         (setPage): Don't scroll the view at this point.
1816         * javax/swing/plaf/basic/BasicTextUI.java
1817         (RootView.paint): Call RootView's setSize to get synchronization.
1818         (RootView.setSize): Synchronize to prevent race in layout code.
1819         * javax/swing/text/AbstractDocument.java
1820         (notifyListeners): New field.
1821         (fireChangedUpdate): Track notifyListener field.
1822         (fireRemoveUpdate): Track notifyListener field.
1823         (fireIndertUpdate): Track notifyListener field.
1824         (writeLock): Check notifyListener and throw IllegalStateException.
1825         * javax/swing/text/View.java
1826         (preferenceChanged): Create local var for better thread safety and
1827         more efficiency.
1829 2006-12-06  Roman Kennke  <kennke@aicas.com>
1831         * examples/gnu/classpath/examples/icons/back.png,
1832         * examples/gnu/classpath/examples/icons/reload.png:
1833         New icons for the HTML browser.
1834         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1835         (history): New field. Manages the browsing history.
1836         (HtmlDemo): Initialize history.
1837         (createContent): Set location and add history. Add toolbar.
1838         (createToolBar): New helper method.
1839         (main): Make default size bigger.
1840         * examples/gnu/classpath/examples/swing/frame1.html,
1841         * examples/gnu/classpath/examples/swing/frame2.html,
1842         * examples/gnu/classpath/examples/swing/frame3.html,
1843         * examples/gnu/classpath/examples/swing/frame4.html,
1844         * examples/gnu/classpath/examples/swing/frames.html,
1845         * examples/gnu/classpath/examples/swing/tables.html:
1846         New example pages.
1847         * examples/gnu/classpath/examples/swing/welcome.html
1848         Add a couple of links and new test pages.
1850 2006-12-06  Roman Kennke  <kennke@aicas.com>
1852         * examples/gnu/classpath/examples/swing/Demo.java
1853         (getIcon): Made package private.
1854         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1855         (hyperlinkUpdate): Convert URL to string.
1857 2006-12-06  Roman Kennke  <kennke@aicas.com>
1859         * javax/swing/text/DefaultCaret.java
1860         (appear): Adjust visibility here.
1861         (setDotImpl): Don't adjust visibility here.
1862         (moveDotImpl): Don't adjust visibility here.
1864 2006-12-06  Roman Kennke  <kennke@aicas.com>
1866         * javax/swing/text/html/FormView.java
1867         (SubmitThread.postData): Implemented.
1868         (SubmitThread.run): Pass data to postData().
1869         (actionPerformed): Reset form when reset button is activated.
1870         (createComponent): Add support for select lists and comboboxes.
1871         Don't set value of text and password fields here, this is done
1872         now in HTMLDocument for consistency.
1873         (getElementFormData): Add support for fetching form data from
1874         select lists and comboboxes as well as textareas.
1875         (getSelectData): New helper method. Fetches form data from
1876         select boxes.
1877         (getTextAreaData): New helper method. Fetches form data from
1878         textareas.
1879         (resetForm): New helper method. Resets the entire form.
1880         * javax/swing/text/html/HTMLDocument.java
1881         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1882         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1883         (HTMLReader.FormAction.setModel): Initialize text and password
1884         values here. Also, use the resetable special models.
1885         Group radio buttons into ButtonGroup for exclusive selection.
1886         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1887         (HTMLReader.buttonGroups): New field.
1888         (HTMLReader.numOptions): New field.
1889         (HTMLReader.option): New field.
1890         (HTMLReader.selectModel): New field.
1891         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1892         (HTMLReader.handleText): Handle OPTION text.
1893         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1894         (HTMLReader.textAreaContent): Set initial content.
1895         * javax/swing/text/html/Option.java
1896         (Option): Make copy of attribute set. Initialize selected state.
1897         (getValue): Fetch value from attribute set.
1898         * javax/swing/text/html/ResetableModel.java: New interface.
1899         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1900         Supports resetting the state.
1901         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1902         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1903         * javax/swing/text/html/SelectListModel.java: Likewise.
1905 2006-12-06  Roman Kennke  <kennke@aicas.com>
1907         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1908         New class.
1909         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1910         (LoadActionListener): Call setPage() helper method.
1911         (createContent): Register tweaked editor kit. For FormSubmitEvents
1912         call submitForm(), otherwise setPage().
1913         (postData): Helper method for posting form data.
1914         (setPage): Helper method for navigating to a new URL.
1915         (submitForm): Helper method for submitting a form.
1916         * examples/gnu/classpath/examples/swing/forms.html:
1917         Added text/password fields and select boxes.
1918         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1920 2006-12-07  Mark Wielaard  <mark@klomp.org>
1922         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1923         private constructor.
1924         (URL(URL,String,URLStreamHandler)): Call new constructor.
1925         (URL(URL,String)): Likewise.
1926         (URL(String)): Likewise.
1928 2006-12-07  Mark Wielaard  <mark@klomp.org>
1930         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1931         Always load from system class loader.
1933 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1935         Fixes PR 29853.
1936         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1937         newValue are the same.
1938         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1940 2006-12-06  Chris Burdess  <dog@gnu.org>
1942         Fixes PR 29272.
1943         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1944         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1946 2006-12-06  Chris Burdess  <dog@gnu.org>
1948         Fixes PR 29264.
1949         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1950         writeDTD method.
1952 2006-12-056  Chris Burdess  <dog@gnu.org>
1954         Fixes PR 28816.
1955         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1956         discover schema factory implementation class.
1958 2006-12-05  Roman Kennke  <kennke@aicas.com>
1960         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1961         asynchronous loading of images.
1962         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1963         (drawImage): Fetch real image from possibly AsyncImage.
1964         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1965         (drawImage): Fetch real image from possibly AsyncImage.
1966         * gnu/java/awt/peer/gtk/GtkToolkit.java
1967         (createImage(URL)): Create async image.
1968         (imageOrError): Made method static for easy access from AsyncImage.
1969         (prepareImage): For async images, register the observer to the
1970         image.
1972 2006-12-05  Roman Kennke  <kennke@aicas.com>
1974         (paintComponent): Include paint area from event.
1975         (updateComponent): Include paint area from event.
1977 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1979         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1980         lightweight component, not just for non-Panel components.
1981         (addImpl): Do not call doLayout.
1982         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1983         (setNativeBounds): Ensure widget parent is a GtkFixed before
1984         calling gtk_fixed_move.
1985         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1986         (setNativeBounds): Likewise.
1987         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1988         (setNativeBounds): Likewise.
1990 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1992         * java/awt/Component.java (getFontImpl): Return a default font if
1993         topmost parent's font is null.
1995 2006-12-04  Mark Wielaard  <mark@klomp.org>
1997         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1998         Remove debug output.
2000 2006-12-04  Roman Kennke  <kennke@aicas.com>
2002         * java/awt/font/TextLayout.java
2003         (hitTestChar): Fixed conditions for inclusion of range.
2004         Use layout information in the run for more efficiency.
2006 2006-12-04  Roman Kennke  <kennke@aicas.com>
2008         * javax/swing/text/GlyphView.java
2009         (J2DGlyphPainter): New inner class.
2010         (checkPainter): For Java2D capable environments create
2011         a J2DGlyphPainter.
2013 2006-12-04  Roman Kennke  <kennke@aicas.com>
2015         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2016         (FreeTypeGlyphVector): Don't filter control chars here.
2017         (getGlyphs): Filter control chars and replace them by
2018         hair space char.
2020 2006-12-04  Roman Kennke  <kennke@aicas.com>
2022         * native/jni/java-nio/gnu_java_nio_VMChannel.c
2023         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
2025 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2027         * gnu/java/lang/management/BeanImpl.java:
2028         (translate(String)): Don't assume the list uses "E",
2029         just use the first and only type variable.
2030         * java/lang/management/ManagementFactory.java:
2031         (getPlatformMBeanServer()): Register logging bean.
2032         * javax/management/openmbean/OpenType.java:
2033         (OpenType(String,String,String)): Actually use
2034         the string created to handle arrays.
2035         
2036 2006-12-04  Mark Wielaard  <mark@klomp.org>
2038         * native/jni/java-nio/gnu_java_nio_VMChannel.c
2039         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
2041 2006-12-04  Mark Wielaard  <mark@klomp.org>
2043         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
2044         Make static.
2045         * native/jni/java-nio/gnu_java_nio_VMChannel.c
2046         (JCL_thread_interrupted): Only take JNIEnv.
2047         (vm_channel_class): New static variable.
2048         (initID): Set vm_channel_class.
2049         Wrap all reads() and writes() in do-while blocks that check
2050         interrupted status.
2052 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2054         * gnu/javax/management/Server.java:
2055         Make map final and initialise it.
2056         (unregisterMBean(ObjectName)): Match against
2057         delegate's object name and not the instance.
2058         * java/lang/management/ManagementFactory.java:
2059         Added constant fields.
2060         (getPlatformMBeanServer()): Implemented.
2061         * javax/management/MBeanServerFactory.java: New file.
2062         
2063 2006-12-04  Roman Kennke  <kennke@aicas.com>
2065         * javax/swing/text/BoxView.java
2066         (paint): Replaced painting algorithm with more simple and more
2067         reliable painting of the box.
2068         * javax/swing/text/html/BlockView.java
2069         (PositionInfo): New inner class. Stores additional CSS
2070         positioning information.
2071         (positionInfo): New field.
2072         (BlockView): Initialize positionInfo field.
2073         (fetchLayoutInfo): New helper method. Fetches additional
2074         CSS positioning information.
2075         (layoutMajorAxis): Perform additional CSS layout.
2076         (layoutMinorAxis): Perform additional CSS layout.
2077         (positionView): New helper method.
2078         (replace): Overridden to fetch additional layout information.
2079         * javax/swing/text/html/CSS.java
2080         (Attribute.POSITION): New field.
2081         (Attribute.LEFT): New field.
2082         (Attribute.RIGHT): New field.
2083         (Attribute.TOP): New field.
2084         (Attribute.BOTTOM): New field.
2085         (getValue): Create Length for left, right, top and bottom
2086         attributes.
2088 2006-12-04  Roman Kennke  <kennke@aicas.com>
2090         * gnu/javax/swing/text/html/parser/support/Parser.java
2091         (Sgml): Consume any whitespace that immediately follows
2092         and sgml insertion.
2093         (parseDocument): Consume any initial whitespace.
2095 2006-12-03  Mark Wielaard  <mark@klomp.org>
2097         * gnu/javax/management/Server.java (beans): Initialize.
2098         (registerMBean): Don't initialize beans.
2100 2006-12-03  Mark Wielaard  <mark@klomp.org>
2102         * java/util/logging/LogManager.java (getLevelProperty): Check
2103         whether value is null before passing to Level.parse().
2105 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
2107         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
2108         whether given a null lock and lockOwner.
2110 2006-12-03  Mark Wielaard  <mark@klomp.org>
2112         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
2113         (PageLoader.page): Made package local.
2114         (PageLoader.run): Don't reset loader.
2115         (PageLoader.cancel): New method.
2116         (loading): Renamed to loader.
2117         (getPage): Return loader.page.
2118         (setPage): Always set loader. Never reset to null.
2120 2006-12-03  Mark Wielaard  <mark@klomp.org>
2122         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
2123         path[k] is null.
2124         (isLastChild): Return false when path is null.
2126 2006-12-03  Mark Wielaard  <mark@klomp.org>
2128         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
2129         to currentPaintArea.
2130         (paintComponent): Work with local reference to currentPaintArea.
2131         (updateComponent): Likewise.
2132         (coalescePaintEvent): Set currentPaintArea.
2134 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2136         * javax/management/MBeanServerBuilder.java: New file.
2137         
2138 2006-12-01  Mark Wielaard  <mark@klomp.org>
2140         * java/text/DecimalFormat.java (parse): Always increment parsing
2141         index and adjust pos result.
2143 2006-12-01  Roman Kennke  <kennke@aicas.com>
2145         * javax/swing/text/html/HTML.java
2146         (Attribute.DYNAMIC_CLASS): New field.
2147         (Attribute.PSEUDO_CLASS): New field.
2148         * javax/swing/text/html/HTMLDocument.java
2149         (HTMLReader.CharacterAction.start): Initialize anchor with link
2150         pseudo attribute.
2151         (updateSpecialClass): New helper method. Updates the dynamic
2152         or pseudo class for anchor tags.
2153         * javax/swing/text/html/HTMLEditorKit.java
2154         (LinkController.lastAnchorElement): New field. For tracking
2155         enter/exit of anchors.
2156         (LinkController.activateLink): Set pseudo class to 'visited'.
2157         (LinkController.mouseMoved): Added support for tracking
2158         the 'hover' dynamic class.
2159         * javax/swing/text/html/InlineView.java
2160         (changedUpdate): Fetch new properties.
2161         * javax/swing/text/html/StyleSheet.java
2162         (attributeSetToMap): New helper method.
2163         (getRule): Also append dynamic and pseudo class to key.
2164         (resolveStyle): Resolve style based generally on all attributes.
2165         * javax/swing/text/html/TableView.java
2166         (RowView.layoutMajorAxis): Make sure the grid is valid.
2167         (updateGrid): Made package private.
2168         * gnu/javax/swing/text/html/css/Selector.java
2169         (calculateSpecificity): Added support for dynamic and pseudo classes.
2170         (matches): Changed to operate on general attributes.
2171         Added support for dynamic and pseudo classes.
2173 2006-12-01  Mario Torre  <neugens@limasoftware.net>
2175         * java/text/DecimalFormat.java (formatInternal): move the formatting of
2176         fractional portion in a separate method.
2177         Also fixes the handling of decimal separator and its associated field.
2178         (handleFractionalPart): new method, needed to relax a bit
2179         formatInternal.
2180         
2181 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2183         * java/beans/beancontext/BeanContextServicesSupport.java:
2184         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
2185         Class)): Implemented.
2186         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
2187         Class, Object)): Implemented.
2188         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
2189         Object, Object)): Implemented.
2190         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
2191         Implemented.
2192         (initialiseBeanContextResources()): Implemented.
2193         (releaseBeanContextResoures()): Implemented.
2194         
2195 2006-12-01  Mark Wielaard  <mark@klomp.org>
2197         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
2199 2006-12-01  Roman Kennke  <kennke@aicas.com>
2201         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
2202         handling border styles.
2203         * gnu/javax/swing/text/html/css/BorderWidth.java
2204         (isValid): New method.
2205         * gnu/javax/swing/text/html/css/Length.java
2206         (isValid): New method.
2207         * javax/swing/text/html/CSS.java
2208         (addInternal): Added shorthand parsing for border, padding and
2209         margin.
2210         (parseBackgroundShorthand): Added API docs.
2211         (parsePaddingShorthand): New method. Handles padding shorthand
2212         values.
2213         (parseMarginShorthand): New method. Handles margin shorthand
2214         values.
2215         (parseBorderShorthand): New method. Handles border shorthand
2216         values.
2217         * javax/swing/text/html/StyleSheet.java
2218         (translateHTMLToCSS): Set specific padding attributes.
2219         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
2220         These shorthands are now handled in CSS.
2221         (BoxPainter.paint): Exclude the outer margin.
2223 2006-12-01  Roman Kennke  <kennke@aicas.com>
2225         * gnu/javax/swing/text/html/css/Length.java
2226         (emBase): New field.
2227         (exBase): New field.
2228         (isFontEMRelative): New field.
2229         (isFontEXRelative): New field.
2230         (Length): Recognize and setup EM and EX relative values.
2231         (getValue): Handle EM and EX relative values.
2232         (isEMRelative): New method.
2233         (isEXRelative): New method.
2234         (setEMBase): New method.
2235         (setEXBase): New method.
2236         (setFontBases): New method.
2237         * gnu/javax/swing/text/html/parser/support/Parser.java
2238         (_handleEmptyTag): Use new isBlock() helper method.
2239         (_handleEndTag_remaining): Use new isBlock() helper method.
2240         (_handleStartTag): Consume whitespace after block start tag.
2241         (Comment): Consume whitespace after a comment.
2242         (isBlock): New helper method.
2243         (readAttributes): Consider all characters in unquoted attribute
2244         values.
2245         * javax/swing/text/html/BlockView.java
2246         (layoutMinorAxis): Use cached span value.
2247         (paint): Added debug code (commented out).
2248         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
2249         * javax/swing/text/html/CSSBorder.java
2250         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
2251         with stylesheet.
2252         (getBorderWidth): Set the EM and EX base on the length values.
2253         * javax/swing/text/html/HTMLDocument.java
2254         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
2255         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
2256         (HTMLReader.inImpliedParagraph): Removed.
2257         (HTMLReader.inParagraph): Removed.
2258         (HTMLReader.parseStack): New field.
2259         (HTMLReader.addContent): Use new paragraph handling.
2260         (HTMLReader.addSpecialElement): Use new paragraph handling.
2261         (HTMLReader.blockClose): Use new paragraph handling.
2262         (HTMLReader.blockOpen): Use new paragraph handling.
2263         (HTMLReader.inImpliedParagraph): New helper method.
2264         (HTMLReader.inParagraph): New helper method.
2265         * javax/swing/text/html/ImageView.java
2266         (attributes): New field. Caches view attributes.
2267         (spans): New field. Caches CSS spans.
2268         (getAttributes): Correctly setup CSS view attributes.
2269         (getPreferredSpan): Use caches spans.
2270         (getStyleSheet): Use the view's getDocument() method.
2271         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
2272         (updateSize): Use cached spans.
2273         * javax/swing/text/html/ParagraphView.java
2274         (setPropertiesFromAttributes): Setup EM and EX.
2275         * javax/swing/text/html/StyleSheet.java
2276         (BoxPainter.BoxPainter): Setup EM and EX correctly.
2277         (getEMBase): New helper method.
2278         (getEXBase): New helper method.
2279         * javax/swing/text/html/TableView.java
2280         (width): New field. Caches the table width.
2281         (calculateMinorAxisRequirements): Use caches span.
2282         (setPropertiesFromAttributes): Cache span and setup EM/EX.
2283         (updateGrid): Correctly setup EM/EX.
2285 2006-11-30  Roman Kennke  <kennke@aicas.com>
2287         * javax/swing/text/html/FormSubmitEvent.java: New class.
2288         * javax/swing/text/html/FormView.java
2289         (SubmitThread): New class for submitting data in a separate thread.
2290         (actionPerformed): Fetch the actual for data.
2291         (addData): New helper method.
2292         (getElementFormData): New helper method.
2293         (getFormData): New helper method.
2294         (getInputFormData): New helper method.
2295         (submitData): Implemented.
2296         * javax/swing/text/html/FrameView.java
2297         (createComponent): Add this as hyperlink listener.
2298         Set the target document as frame document.
2299         (getTopEditorPane): New helper method.
2300         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
2301         (handleHyperlinkEvent): New helper method.
2302         (handleFormSubmitEvent): New helper method.
2303         * javax/swing/text/html/HTMLDocument.java
2304         (HTMLReader.BaseAction.start): Track the base target.
2305         (HTMLReader.BaseAction.end): Removed.
2306         (baseTarget): New field.
2307         (frameDocument): New field.
2308         (getBaseTarget): New property accessor.
2309         (isFrameDocument): New property accessor.
2310         (processHTMLFrameHyperlinkEvent): Implemented.
2311         (setFrameDocument): New property accessor.
2312         (updateFrame): New helper method.
2313         (updateFrameSet): New helper method.
2314         * javax/swing/text/html/HTMLEditorKit.java
2315         (LinkController.createHyperlinkEvent): Handle frame documents.
2316         (autoFormSubmission): New field.
2317         (HTMLEditorKit): Set autoFormSubmission to true.
2318         (isAutoFormSubmission): New property accessor.
2319         (setAutoFormSubmission): New property accessor.
2321 2006-11-30  Roman Kennke  <kennke@aicas.com>
2323         * javax/swing/text/ElementIterator.java
2324         (ElementRef): New inner class.
2325         (currentDepth): Removed.
2326         (currentElement): Removed.
2327         (previousItem): Removed.
2328         (stack): New field. Holds the iteration stack.
2329         (state): Removed.
2330         (ElementIterator(Document)): Removed init of removed fields.
2331         (ElementIterator(Element)): Removed init of removed fields.
2332         (current): Changed to stack based algorithm.
2333         (deepestLeaf): New helper method.
2334         (depth): Changed to stack based algorithm.
2335         (first): Changed to stack based algorithm.
2336         (next): Changed to stack based algorithm.
2337         (previous): Changed to stack based algorithm.
2339 2006-11-30  Francis Kung  <fkung@redhat.com>
2341         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
2342         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
2344 2006-11-30  Francis Kung  <fkung@redhat.com>
2346         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2347         (draw): Set transform in buffered composite.
2348         (drawComposite): Do not transform bounds; round bounds.
2349         (drawGlyphVector):  Set transform in buffered composite.
2350         (drawRenderedImage):  Set transform in buffered composite.
2351         (fill):  Set transform in buffered composite.
2352         (updateBufferedImage): Fix scanline & height calculations.
2353         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2354         (createPath): Simplify width & height calculation.
2355         (drawImage): Also transform width & height.
2357 2006-11-30  Roman Kennke  <kennke@aicas.com>
2359         * javax/swing/text/html/FrameSetView.java: New class. Implements
2360         HTML framesets.
2361         * javax/swing/text/html/FrameView.java: New class. Implements
2362         HTML frames.
2363         * javax/swing/text/html/HTMLDocument.java:
2364         (HTMLReader.addSpecialElement): Only add one artificial space.
2365         * javax/swing/text/html/HTMLEditorKit.java
2366         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
2367         * gnu/javax/swing/text/html/parser/support/Parser.java
2368         (_handleEmptyTag): Also consume whitespace after frame tags.
2370 2006-11-30  Gary Benson  <gbenson@redhat.com>
2372         * java/lang/Thread.java: Javadoc fixes.
2374 2006-11-29  Tom Tromey  <tromey@redhat.com>
2376         PR classpath/28203:
2377         * java/lang/Class.java (getAnnotations): Rewrote.
2379 2006-11-29  Tania Bento  <tbento@redhat.com>
2381         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
2382         (parseParams): Unescape 'val' before putting it into the Map.
2383         (unescapeString): New private method.
2385 2006-11-29  Tom Tromey  <tromey@redhat.com>
2387         * tools/gnu/classpath/tools/getopt/package.html: New file.
2389 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
2391         * javax/swing/plaf/metal/MetalIconFactory.java
2392         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
2393         (VerticalSliderThumbIcon.paintIcon()): Likewise.
2395 2006-11-29  Mario Torre  <neugens@limasoftware.net>
2397         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
2398         with the default international currency sign \u00A4.
2399         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
2400         table for string formatting.
2401         (formatInternal): likewise.
2402         (scanNegativePattern): likewise.
2403         (applyPattern): likewise.
2404         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
2405         Locale is immutable and does not need clone.
2407 2006-11-29  Francis Kung  <fkung@redhat.com>
2409         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2410         (drawLine): Remove hard-coded pixel shifting.
2412 2006-11-29  Roman Kennke  <kennke@aicas.com>
2414         * java/awt/Component.java
2415         (isShowing): Simplified condition code and avoid unnecessary
2416         if-codepaths.
2417         (coalesceEvents): Always coalesce paint events and let the peer
2418         figure out the expanding of the repaint area.
2419         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2420         (currentPaintEvents): Removed. Replaced by paintArea.
2421         (paintArea): New field. Tracks the dirty area.
2422         (SwingComponentPeer): Removed init of currentPaintEvents.
2423         (coalescePaintEvent): Simplified to only union the dirty regions.
2424         (handleEvent): Paint dirty region that was tracked in paintArea.
2425         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2426         (paintArea): New field. Tracks the dirty region.
2427         (coalescePaintEvent): Implemented to track the dirty region.
2428         (paintComponent): Use the dirty region in paintArea. Protect
2429         state by putting the paint and dispose code in a try-finally.
2430         (updateComponent): Use the dirty region in paintArea. Protect
2431         state by putting the paint and dispose code in a try-finally.
2433 2006-11-29  Roman Kennke  <kennke@aicas.com>
2435         * java/awt/font/TextLayout.java
2436         (getVisualHighlightShape): Removed debug output.
2438 2006-11-28  Andrew Haley  <aph@redhat.com>
2440         * vm/reference/sun/reflect/misc/ReflectUtil.java
2441         (checkPackageAccess): Implement.
2443 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
2445         * native/jni/java-lang/java_lang_VMDouble.c:
2446         (parseDoubleFromChars) New function. Factored out from ...
2447         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
2448         (dtoa_toString): New function. Factored out from ...
2449         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
2450         Changed conversion mode to 2, as modes 0 and 1 don't round
2451         as the API spec demands. Invoke conversion function as often
2452         as necessary with growing precision until a reversible
2453         representation of the double in form of a string is reached.
2455 2006-11-28  Roman Kennke  <kennke@aicas.com>
2457         * javax/swing/JComponent.java
2458         (putClientProperty): Do not fire event when both old and new
2459         value are == null.
2461 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2463         * java/lang/Enum.java:
2464         Make name and ordinal final.
2465         
2466 2006-11-27  Casey Marshall  <csm@gnu.org>
2468         * java/util/jar/JarEntry.java (certs): removed.
2469         (jarfile): new field.
2470         (getCertificates): read the certificates from the containing JarFile.
2471         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
2472         fill in 'certs,' fill in 'jarfile' for the entry.
2473         (getEntry): likewise.
2474         
2475 2006-11-27  Francis Kung  <fkung@redhat.com>
2477         * java/awt/image/WritableRaster.java
2478         (createChild): Implemented.
2480 2006-11-27  Roman Kennke  <kennke@aicas.com>
2482         * java/awt/font/TextLayout.java
2483         (TextLayout(TextLayout,int,int)): Also layout the new runs.
2484         (getVisualHighlightShape): Implemented.
2485         (layoutRuns): Fixed boundary so that the last run is also laid out.
2486         (left): New helper method.
2487         (right): New helper method.
2489 2006-11-27  Roman Kennke  <kennke@aicas.com>
2491         * java/awt/font/TextLayout.java
2492         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
2493         (getCaretShape(TextHitInfo)): Use natural bounds.
2494         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
2495         (getCaretShapes(int,Rectangle2D)): Delegate to new method
2496         above with DEFAULT_CARET_POLICY.
2497         (getCaretShapes(int)): Use natural bounds.
2499 2006-11-27  Roman Kennke  <kennke@aicas.com>
2501         * java/awt/font/TextLayout.java
2502         (Run.font): New field.
2503         (Run.location): New field.
2504         (Run.Run): Initialize font.
2505         (font): Removed field. This is moved into Run as the actual font
2506         is something run-specific.
2507         (TextLayout(String,Font,FontRenderContext)): Set font on the
2508         single runs. Layout the runs here.
2509         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
2510         (findRunAtIndex): New helper method.
2511         (getCaretInfo): Implemented.
2512         (layoutRuns): New helper method.
2513         (toString): Don't put font in output string.
2515 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
2517         * AUTHORS: Added Jeroen Fritjers.
2519 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
2521         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
2522         for FieldPosition to be null.
2523         Check if the factional part is just 0 and can be omitted from the
2524         result.
2525         (scanNegativePattern): Fixed index out of bound exception when searching
2526         for international currency symbol in negative pattern.  
2528 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2530         * java/beans/beancontext/BeanContextSupport.java:
2531         (readObject(ObjectInputStream)): Implemented.
2532         (writeObject(ObjectOutputStream)): Likewise.
2533         (BCSChild.getTargetChild()): Added.
2534         (bcsPreDeserializationHook()): Implemented.
2535         (bcsPreSerializationHook()): Likewise.
2536         (childDeserializedHook(Object,BCSChild)): Likewise.
2537         (isSerializing()): Likewise.
2538         (readChildren(ObjectInputStream)): Likewise.
2539         (writeChildren(ObjectOutputStream)): Likewise.
2540         
2541 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
2542             Ian Lance Taylor  <ian <at> airs.com>
2543             Paolo Bonzini <bonzini <at> gnu.org>
2545         Fixes bug #25557.
2547         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
2548         increased portability.  Likewise, use -f instead of -e.
2550 2006-11-26  Mark Wielaard  <mark@klomp.org>
2552         * lib/Makefile.am (propertydirs): Removed.
2553         (resources): Explicitly create all dirs.
2555 2006-11-26  Mark Wielaard  <mark@klomp.org>
2557         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
2559 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2561         * native/target/.cvsignore,
2562         native/target/generic/.cvsignore,
2563         native/target/Linux/.cvsignore:
2564         Removed no longer used files.
2566         * native/target: Removed no longer used directory.
2568 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2570         Fixes bug #29133.
2572         * libraries/clib/nio/gnu_java_nio_VMSelector.c
2573         (Java_gnu_java_nio_VMSelector_select):
2574         Use strerror if strerror_r is not available.
2576         Reported by:  Michael Franz <mvfranz@gmail.com>,
2577                       Riccardo Mottola <zuse@libero.it>
2579 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2581         Fixes bug #26756.
2582         
2583         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
2584         STRICT_WARNING_CFLAGS since it caused the build to fail 
2585         on GNU/Linux.
2587 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
2589         * doc/vmintegration.texinfo: Update VM Threading Model section.
2591 2006-11-26  Tom Tromey  <tromey@redhat.com>
2593         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
2594         include ifaddrs.h.
2595         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
2596         conditional.
2597         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
2598         Conditionally include ifaddrs.h.
2599         (getif_address): Updated conditional.
2600         (getif_index): Likewise.
2601         * configure.ac: Check for ifaddrs.h.
2603 2006-11-25  Mark Wielaard  <mark@klomp.org>
2605         * java/io/File.java (list): Return empty list for unreadable dirs.
2607 2006-11-25  Mark Wielaard  <mark@klomp.org>
2609         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2610         Synchronize on font peer.
2611         (setFont): Likewise.
2612         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2613         synchronized.
2614         (getTextMetrics): Likewise.
2616 2006-11-25  Roman Kennke  <kennke@aicas.com>
2618         * javax/swing/text/GapContent.java
2619         (getPositionsInRange): Rewritten to use the more efficient
2620         binary search searchFirst() and avoid an NPE that was caused
2621         by GC'ed positions.
2623 2006-11-25  Mark Wielaard  <mark@klomp.org>
2625         * javax/swing/text/CompositeView.java (modelToView): Never return
2626         null.
2628 2006-11-25  Mark Wielaard  <mark@klomp.org>
2630         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2631         Check whether rowView instanceof RowView.
2632         (updateGrid): Likewise.
2634 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
2636         PR28462
2637         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2638         * java/text/NumberFormat.java (format): all format methods, fixed
2639         FieldPosition argument should never be null.
2640         (format(Object, StringBuffer, FieldPosition)): fixed signature,
2641         method is not final.
2642         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2643         locale.
2644         * AUTHORS: added my name to the file.
2646 2006-11-25  Mark Wielaard  <mark@klomp.org>
2648         * javax/swing/text/html/StyleSheet.java (paint): Guard against
2649         getChildAllocation() returning null.
2651 2006-11-25  Mark Wielaard  <mark@klomp.org>
2653         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2654         Use clazzIndex for id substring.
2656 2006-11-25  Mark Wielaard  <mark@klomp.org>
2658         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2659         it is still running.
2661 2006-11-25  Mark Wielaard  <mark@klomp.org>
2663         Fixes bug #28822
2664         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2665         CREATE_API_DOCS
2667 2006-11-24  Tania Bento  <tbento@redhat.com>
2669         * java/awt/font/TextHitInfo.java
2670         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2671         (beforeOffset): Decreased first parameter by 1.
2673 2006-11-24  Francis Kung  <fkung@redhat.com>
2675         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2676         (constructor): Check sample model when setting fastCM flag.
2677         (updateBufferedImage): Check scanline and sample model offsets before
2678         copying data directly into the image data buffer.
2680 2006-11-24  Francis Kung  <fkung@redhat.com>
2682         * gnu/java/awt/java2d/QuadSegment.java
2683         (offsetSubdivided): Handle special straight-line cases.
2685 2006-11-24  Roman Kennke  <kennke@aicas.com>
2687         * java/awt/dnd/DropTarget.java
2688         (DropTargetAutoScroller.HYSTERESIS): New constant.
2689         (DropTargetAutoScroller.DELAY): New constant.
2690         (DropTargetAutoScroller.inner): New field. A cached
2691         Rectangle instance.
2692         (DropTargetAutoScroller.outer): New field. A cached
2693         Rectangle instance.
2694         (DropTargetAutoScroller.timer): New field. The actual timer.
2695         (DropTargetAutoScroller.DropTargetAutoScroller):
2696         Initialize timer.
2697         (DropTargetAutoScroller.actionPerformed): Implemented.
2698         (DropTargetAutoScroller.stop): Implemented.
2699         (DropTargetAutoScroller.updateLocation): Implemented.
2700         (clearAutoscroll): Stop the autoscroller before nullifying it.
2701         (createDropTargetAutoScroller): Don't set the field here,
2702         only return a new instance.
2703         (dragEnter): Only do something when active. Initialize
2704         auto scrolling.
2705         (dragExit): Only do something when active. Stop auto scrolling.
2706         (dragOver): Only do something when active. Update auto scrolling.
2707         (drop): Only do something when active. Update auto scrolling.
2708         (dropActionChanged): Only do something when active. Update
2709         auto scrolling.
2710         (initializeAutoScrolling): Check if component is an instance
2711         of Autoscroll, otherwise do nothing.
2712         (setActive): Disable autoscrolling when deactivating.
2713         (setComponent): When component is set to null, disable autoscrolling.
2715 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
2717         * java/beans/beancontext/BeanContextServicesSupport.java
2718         (getChildBeanContextServicesListener): Implemented.
2720 2006-11-23  Roman Kennke  <kennke@aicas.com>
2722         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2723         (createGraphics): Use constructor to create new instance of
2724         BufferedImageGraphics.
2725         * java/awt/Toolkit.java
2726         (getDefaultToolkit): Really try to get a real toolkit. Only
2727         use HeadlessToolkit if no other is available.
2728         * gnu/java/awt/peer/gtk/GtkToolkit.java
2729         (checkHeadless): New helper method. Checks for headless environment
2730         and throws HeadlessException if appropriate.
2731         (createButton): Check for headless.
2732         (createCanvas): Check for headless.
2733         (createCheckbox): Check for headless.
2734         (createCheckboxMenuItem): Check for headless.
2735         (createChoice): Check for headless.
2736         (createDialog): Check for headless.
2737         (createDragGestureRecognizer): Check for headless.
2738         (createDragSourceContextPeer): Check for headless.
2739         (createEmbeddedWindow): Check for headless.
2740         (createFileDialog): Check for headless.
2741         (createFrame): Check for headless.
2742         (createCheckbox): Check for headless.
2743         (createLabel): Check for headless.
2744         (createList): Check for headless.
2745         (createMenu): Check for headless.
2746         (createMenuBar): Check for headless.
2747         (createMenuItem): Check for headless.
2748         (createPanel): Check for headless.
2749         (createPopupMenu): Check for headless.
2750         (createScrollbar): Check for headless.
2751         (createScrollPane): Check for headless.
2752         (createTextArea): Check for headless.
2753         (createTextField): Check for headless.
2754         (createWindow): Check for headless.
2756 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2758         * java/beans/beancontext/BeanContextSupport.java
2759         (deserialize): Implemented,
2760         (serialize): Implemented.
2762 2006-11-23  Roman Kennke  <kennke@aicas.com>
2764         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2765         (createGraphics): Try to use Cairo graphics if available.
2767 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2769         * java/beans/beancontext/BeanContextSupport.java
2770         (toArray): Added API docs,
2771         (toArray(Object[])): Added API docs, removed NotImplementedException.
2773 2006-11-22  Tania Bento  <tbento@redhat.com>
2775         * javax/swing/JRootPane.java
2776         (setLayeredPane): Added documentation; throw 
2777         IllegalComponentStateException if layered pane parameter is null.
2779 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2781         * java/beans/beancontext/BeanContextSupport.java
2782         (avoidingGui): Removed NotImplementedException.
2784 2006-11-22  Francis Kung  <fkung@redhat.com>
2786         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2787         (drawGlyphVector): Clip updated area to glyph bounds.
2788         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2789         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2790         x-coordinate and y-coordinate pixel shifting.
2791         (shifted): Removed method.
2792         (shiftX): New method, recognising scaling transforms.
2793         (shiftY): New method, recognising scaling transforms.
2794         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2796 2006-11-22  Roman Kennke  <kennke@aicas.com>
2798         * java/awt/font/TextLayout.java
2799         (hash): New field. Caches the hash code.
2800         (hashCode): Implemented.
2802 2006-11-22  Roman Kennke  <kennke@aicas.com>
2804         * java/awt/image/ImageFilter.java
2805         Reformat whole class.
2806         (getFilterInstance): Don't touch the consumer field. Don't check
2807         consumer.
2808         (imageComplete): Don't check consumer.
2809         (setColorModel): Don't check consumer.
2810         (setDimensions): Don't check consumer.
2811         (setHints): Don't check consumer.
2812         (setPixels): Don't check consumer.
2813         (setProperties): Pass the original property too.
2814         * java/awt/image/IndexColorModel.java
2815         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2816         transparent pixel by calling the new helper method.
2817         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2818         transparent pixel by calling the new helper method.
2819         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2820         transparent pixel by calling the new helper method.
2821         (coerceData): Removed. This is not needed.
2822         (getAlpha): Simply return value from color map. The transparent
2823         pixel has to be there.
2824         (setTransparentPixel): New helper method. Inserts the transparent
2825         pixel.
2826         * java/awt/image/RGBImageFilter.java
2827         Reformat whole class.
2828         (convertColorModelToDefault): Removed. No longer needed.
2829         (filterIndexColorModel): Don't handle transparent pixels
2830         separately.
2831         (filterRGBPixels): Set pixels on consumer already.
2832         (makeColor): Removed. No longer needed.
2833         * java/awt/image/ReplicateScaleFilter.java
2834         (replicatePixels): Removed.
2835         (setDimension): Correctly compute destination size, avoid double
2836         calculations.
2837         (setPixels): Avoid double calculations. Fixed some boundary cases.
2838         (setupSources): New helper method.
2839         * java/awt/image/SampleModel.java
2840         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2841         and TYPE_DOUBLE.
2842         * java/awt/image/SinglePixelPackedSampleModel.java
2843         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2844         This is not needed as the superclass already copies line
2845         by line.
2846         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2847         removed some checks that the RI also doesn't perform. Call
2848         DataBuffer.setElem().
2850 2006-11-22  Roman Kennke  <kennke@aicas.com>
2852         * java/awt/text/TextLayout.java
2853         (getLogicalRangesForVisualSelection): Implemented.
2855 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2857         * sun/reflect/annotation/AnnotationParser.java,
2858         * sun/reflect/annotation/AnnotationType.java,
2859         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2860         * sun/reflect/annotation/ExceptionProxy.java:
2861         Stubbed.
2862         * sun/misc/ServiceConfigurationError.java,
2863         * sun/misc/Service.java:
2864         Implemented.
2865         
2866 2006-11-21  Roman Kennke  <kennke@aicas.com>
2868         * java/awt/text/TextLayout.java
2869         (Run.isLeftToRight): New helper method.
2870         (logicalToVisual): New field. Maps logical indices to visual
2871         indices.
2872         (visualToLogical): New field. Maps visual indices to logical
2873         indices.
2874         (TextLayout): Setup mappings.
2875         (setupMappings): New method for setting up the mappings.
2876         (getCharacterLevel): Reorganized code.
2877         (getNextLeftHit(int)): Implemented.
2878         (getNextLeftHit(int,CaretPolicy)): New method.
2879         (getNextLeftHit(TextHitInfo)): Implemented.
2880         (getNextRightHit(int)): Implemented.
2881         (getNextRightHit(int,CaretPolicy)): New method.
2882         (getNextRightHit(TextHitInfo)): New method.
2883         (getVisualOtherHit): Implemented.
2884         (checkHitInfo): New helper methods for checking parameters.
2885         (hitToCaret): New helper method. Maps hit infos to caret locations.
2886         (caretToHit): New helper method. Maps caret locations to hit infos.
2887         (isCharacterLTR): New helper method.
2888         (CaretPolicy.getStrongCaret): Implemented.
2890 2006-11-21  Francis Kung  <fkung@redhat.com>
2892         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2893         (draw): Include stroke width when calculating bounds.
2894         (updateBufferedImage): Round bounds more generously, handle negative
2895         height/width values, and clip more intelligently.
2896         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2897         (createPath): Add shortcut optimization for lines.
2898         (draw): Include stroke width when calculating bounds.
2899         (drawLine): Delegate to main draw() method.
2900         (drawRect): Likewise.
2901         (fillRect): Delegate to main fill() method.
2902         (findStrokedBounds): New method.
2903         (setCustomPaint): Round bounds more generously.
2904         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2905         (drawLine): Removed.
2906         (drawRect): Removed.
2907         (fillRect): Removed.
2909 2006-11-21  Francis Kung  <fkung@redhat.com>
2911         * gnu/java/awt/java2d/TexturePaintContext.java
2912         (getRaster): Handle negative coordinate values.
2913         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2914         (setPaint): Moved custom paint processing to a new method.
2915         (setPaintPixels): Added x, y parameters.
2916         (getRealBounds): Added documentation.
2917         (copy): Copy clipping information.
2918         (drawLine): Process custom paints.
2919         (setCustomPaint): New method.
2920         (fill): Process custom paints.
2921         (drawGlyphVector): Process custom paints.
2922         (drawRect): Process custom paints.
2923         (draw): Process custom paints.
2924         * gnu/java/awt/peer/gtk/CairoSurface.java
2925         (cairoCM_opaque): New constant.
2926         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2927         (argb32): Removed constant.
2928         (rgb32): Removed constant.
2929         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2930         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2931         (updateBufferedImage): Transform to device-space before updating.
2932         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2933         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2934         parameters.
2935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2936         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2937         source at designated x, y origin.
2939 2006-11-21  Roman Kennke  <kennke@aicas.com>
2941         * java/awt/text/TextLayout.java
2942         (Run): New inner helper class.
2943         (length): New field.
2944         (naturalBounds): New field.
2945         (offset): New field.
2946         (runIndices): Removed. This is now encapsulate in a Run object.
2947         (runs): Changed to Run[].
2948         (string): Changed to char[].
2949         (totalAdvance): New field. Caches advance value.
2950         (TextLayout(String,Font,FontRenderContext)): Change to store
2951         string as char[] and run layout as Run[]. Clean out empty
2952         run items.
2953         (TextLayout(TextLayout,int,int)): Change to store
2954         string as char[] and run layout as Run[].
2955         (clone): Call private constructor for maximum efficiency.
2956         (determineWhitespace): Adapted to use char[] data.
2957         (draw): Adapted to use Run objects.
2958         (getAdvance): Cache computed total advance.
2959         (getBlackBoxBounds): Adapted to use Run objects.
2960         (getCaretInfo): Use natural layout bounds.
2961         (getCharacterCount): Return length field.
2962         (getLogicalHighlightShape): Adapted to use Run objects.
2963         (getNaturalBounds): New helper method. Calculates and returns the
2964         natural bounds of this text layout.
2965         (getOutline): Adapted to use Run objects.
2966         (getStringProperties): Adapted to use char[] data.
2967         (getVisibleAdvance): Adapted to use char[] and Run data.
2968         (handleJustify): Adapted to use char[] and Run data.
2969         (hitTestChar(float,float,Rectangle2D)): Implemented.
2970         (hitTestChar(float,float)): Use natural bounds.
2971         (setCharIndices): Adapted to use char[] and Run data.
2972         (toString): Adapted to use char[] and Run data.
2973         * java/text/Bidi.java
2974         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2976 2006-11-21  Roman Kennke  <kennke@aicas.com>
2978         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2979         Removed. This is now an inner class in GdkFontPeer.
2980         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2981         (drawString(float,float)): Use text layout cache from
2982         GdkFontPeer.
2983         (getFontMetrics): Delegate to GdkFontPeer.
2984         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2985         (getGlyphCodes): Also check array size.
2986         (getGlyphPositions): Also check array size.
2987         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2988         (GdkFontLineMetrics.fm): Removed.
2989         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2990         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2991         (GdkFontLineMetrics.underlineOffset): Removed.
2992         (GdkFontLineMetrics.underlineThickness): Removed.
2993         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2994         FontMetrics argument. Don't init removed fields.
2995         (GdkFontLineMetrics.getAscent): Return font peer's field.
2996         (GdkFontLineMetrics.getDescent): Return font peer's field.
2997         (GdkFontLineMetrics.getHeight): Return font peer's field.
2998         (GdkFontLineMetrics.getLeading): Return font peer's field.
2999         (GdkFontLineMetrics.getNumChars): Reformat.
3000         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
3001         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
3002         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
3003         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
3004         (GdkFontMetrics): Moved class in here as inner class. 
3005         Make it use the font peer's fields and for the char(s) width
3006         and string width method, use TextLayout to measure the actual widths.
3007         (ascent): New field.
3008         (bundle): Removed.
3009         (DEFAULT_CTX): New constant field.
3010         (descent): New field.
3011         (FONT_METRICS_ASCENT): New constant.
3012         (FONT_METRICS_DESCENT): New constant.
3013         (FONT_METRICS_HEIGHT): New constant.
3014         (FONT_METRICS_MAX_ADVANCE): New constant.
3015         (FONT_METRICS_MAX_ASCENT): New constant.
3016         (FONT_METRICS_MAX_DESCENT): New constant.
3017         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
3018         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
3019         (height): New field.
3020         (maxAdvance): New field.
3021         (maxAscent): New field.
3022         (maxDescent): New field.
3023         (metrics): New field. Stores a FontMetrics for this font.
3024         (textLayoutCache): New field. Caches TextLayout instances.
3025         (underlineOffset): New field.
3026         (underlineThickness): New field.
3027         (cinit): Don't initialize resource bundle.
3028         (GdkFontPeer): Setup the metrics.
3029         (getFontMetrics): Return stored metrics if possible.
3030         (getLineMetrics): Adapt to new constructor.
3031         (initFont): New helper method.
3032         (setupMetrics): New helper method.
3033         * gnu/java/awt/peer/gtk/GtkToolkit.java
3034         (LRUCache): Made class a static class.
3035         (getFontMetrics): Delegate to GdkFontPeer.
3036         * native/jni/gtk-peer/gdkfont.h
3037         Added new constant defines.
3038         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
3039         (getFontMetrics): Rewritten to fetch the font metrics from
3040         FreeType.
3042 2006-11-20  Tania Bento  <tbento@redhat.com>
3044         * javax/swing/ButtonGroup.java:
3045         (setSelected): Select the ButtonModel if all conditions
3046         are met.
3048 2006-11-20  Tania Bento  <tbento@redhat.com>
3050         * javax/swing/JSlider.java:
3051         (updateLabelUIs): Removed casting.
3053 2006-11-20  Mark Wielaard  <mark@klomp.org>
3055         * gnu/java/util/regex/RE.java (messages): Don't initialize.
3056         (bundle): New static final String field.
3057         (getLocalizedMessage): Initialize messages when still null.
3058         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
3059         (set): Use RE.getLocalizedMessage().
3060         (clear): Likewise.
3061         (setLineSeparator): Likewise.
3063 2006-11-20  Roman Kennke  <kennke@aicas.com>
3065         * javax/swing/text/html/StyleSheet.java
3066         (linked): New field.
3067         (styleSheet): Replaced by linked.
3068         (addStyleSheet): Use an arraylist for simplicity.
3069         (getRule): Removed useless instantiation.
3070         (getStyleSheets): Convert array list to array.
3071         (removeStyleSheet): Use an arraylist for simplicity.
3072         (resolveStyle): Include styles from linked lists.
3074 2006-11-20  Roman Kennke  <kennke@aicas.com>
3076         * javax/swing/text/BoxView.java
3077         (BoxView): Initialize with invalid req's.
3078         (forwardUpdate): Trigger repaint when children changed the
3079         major axis.
3080         (getResizeWeight): Return resizable when the pref differs from
3081         the min or the pref differs from the max size.
3082         (layoutMajorAxis): Actually sum up the preferred sizes.
3083         (paint): Made binary search more robust.
3084         (replace): Let arrays shrink when needed.
3085         (replaceLayoutArray): Let arrays shrink when needed.
3086         (setAxis): Trigger preferenceChanged.
3087         * javax/swing/text/CompositeView.java
3088         (getInsideAllocation): Call insets method to take account
3089         of overriding subclasses.
3090         * javax/swing/text/DefaultStyledDocument.java
3091         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
3092         (ElementBuffer.insertUpdate): Only remove the found element, not
3093         all.
3094         * javax/swing/text/GlyphView.java
3095         (insertUpdate): Pass null in preferenceChanged.
3096         (removeUpdate): Pass null in preferenceChanged.
3097         (changedUpdate): Pass null in preferenceChanged.
3098         * javax/swing/text/Utilities.java
3099         (drawTabbedText): Avoid single calls to charWidth() and instead
3100         call charsWidth() on whole chunks.
3101         * javax/swing/text/html/HTMLDocument.java
3102         (BlockElement.getName): Fall back to super when necessary.
3103         (RunElement.getName): Fall back to super when necessary.
3104         (HTMLReader.MAX_THRESHOLD): New constant field.
3105         (HTMLReader.GROW_THRESHOLD): New constant field.
3106         (HTMLReader.theshold): New field.
3107         (HTMLReader.HTMLReader): Fetch threshold from document.
3108         (HTMLReader.addContent): Sucessivly grow the threshold.
3109         (createLeafElement): Don't create two elemens and don't set
3110         attribute.
3111         * javax/swing/text/html/TableView.java
3112         (RowView.replace): Invalidate grid.
3113         (gridValid): Made package private.
3114         (layoutMinorAxis): Mark all rows as invalid.
3115         (replace): Invalidate grid.
3117 2006-11-20  Roman Kennke  <kennke@aicas.com>
3119         * javax/swing/text/AbstractDocument.java
3120         (DefaultDocumentEvent.changes): Changed to be a HashMap.
3121         (DefaultDocumentEvent.modified): Made private.
3122         (DefaultDocumentEvent.THRESHOLD): New constant field.
3123         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
3124         changes table.
3125         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
3126         exceeding threshold.
3127         (DefaultDocumentEvent.getChange): Use iterative approach
3128         when we have no hashmap yet.
3129         (documentCV): Removed.
3130         (numWriters): Renamed from numWritersWaiting.
3131         (createPosition): Reformat.
3132         (getCurrentWriter): Synchronized.
3133         (readLock): Implement more straightforward.
3134         (readUnlock): Implement more straightforward.
3135         (writeLock): Implement more straightforward.
3136         (writeUnlock): Implement more straightforward.
3137         (remove): Write-lock here.
3138         (removeImpl): Don't write-lock here.
3140 2006-11-20  Roman Kennke  <kennke@aicas.com>
3142         * javax/swing/JEditorPane.java
3143         (setPage): Set priority on loading thread.
3145 2006-11-20  Roman Kennke  <kennke@aicas.com>
3147         * javax/swing/plaf/basic/BasicTextUI.java
3148         (RootView.paint): Avoid allocation.
3149         (cachedInsets): New field. Caches an Insets instance.
3150         (getNextVisualPositionFrom): Read-lock the document to avoid
3151         thread nastiness. Push allocation.
3152         (getPreferredSize): Push fake allocation when not yet laid out.
3153         (getVisibleEditorRect): Use cached insets.
3154         (viewToModel): Read-lock the document to avoid
3155         thread nastiness. Push allocation.
3157 2006-11-20  Roman Kennke  <kennke@aicas.com>
3159         * javax/swing/text/StyleContext.java
3160         (attributeSetPool): Synchronize this map.
3161         (addAttribute): Synchronize this method.
3162         (addAttributes: Synchronize this method.
3163         (readObject): Install synchronized map on target object.
3164         (removeAttribute): Synchronize this method.
3165         (removeAttributes): Synchronize this method.
3166         (removeAttributes): Synchronize this method.    
3167         
3168 2006-11-20  Roman Kennke  <kennke@aicas.com>
3170         * javax/swing/text/GapContent.java
3171         (GapContentPosition.GapContentPosition): Removed constructor.
3172         (Mark): Made subclass of WeakReference to refer directly to
3173         the associated position.
3174         (Mark.refCount): Removed.
3175         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
3176         New constructor. Used to reference a position and register the
3177         reference queue.
3178         (Mark.Mark(index)): Call super and don't adjust mark offset.
3179         (Mark.compareTo): Removed.
3180         (Mark.equals): Removed.
3181         (Mark.getOffset): Return at least null. Removed assert.
3182         (Mark.getPosition): New helper method.
3183         (garbageMarks): New field.
3184         (positions): Removed.
3185         (searchMark): New field.
3186         (GapContent): Removed init of positions map.
3187         (addImpl): New helper method.
3188         (adjustPositionsInRange): Removed.
3189         (compare): New helper method.
3190         (createPosition): Rewritten for new datastructures. This now
3191         performs a much more efficient binary search for finding
3192         a position at the requested offste.
3193         (garbageCollect): Rewritten to collect unused marks.
3194         (getPositionsInRange): Adjusted for new data structures.
3195         (removeImpl): New helper method.
3196         (replace): Use new addImpl() and removeImpl() helper method for
3197         correctly adjusting the positions and gap.
3198         (search): Rewritten. Implements a more suitable binary search.
3199         (searchFirst): New helper method.
3200         (setPositionsInRange): Removed.
3201         (shiftEnd): Update the marks here.
3202         (shiftGap): Update the marks here.
3203         (shiftGapEndUp): Update the marks here.
3204         (shiftGapStartDown): Update the marks here.
3206 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
3208         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
3209         digest algorithm implementations.
3210         (readSignatures): Parse the manifest once and reuse that data.
3211         Add support for line breaks.
3212         (verifyHashes): Use the parsed manifest entry.
3213         (readManifestEntry): Removed.
3215 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3217         * java/beans/beancontext/BeanContextServicesSupport.java:
3218         Added more documentation.
3219         (addService(Class,BeanContextServiceProvider,boolean)):
3220         Synchronized over global hierarchy lock.
3221         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
3222         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
3223         (childJustRemovedHook(Object,BCSChild)): Implemented.
3224         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
3225         Implemented.
3226         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
3227         Added revocation-only listeners.
3228         (getBeanContextServicesPeer()): Implemented.
3229         (getCurrentServiceClasses(Class)): Synchronized over global
3230         hierarchy lock.
3231         (getCurrentServiceSelectors(Class)): Synchronized over global
3232         hierarchy lock, and fixed FIXME.
3233         (getService(BeanContextChild,Object,Class,Object,
3234         BeanContextServiceRevokedListener)): Implemented.
3235         (hasService(Class)): Synchronized over global hierarchy lock.
3236         (releaseService(BeanContextChild,Object,Object)): Implemented.
3237         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
3238         * java/beans/beancontext/BeanContextSupport.java:
3239         (remove(Object, boolean)): Documentation correction.
3240         
3241 2006-11-19  Roman Kennke  <kennke@aicas.com>
3243         * javax/swing/JEditorPane.java
3244         (PageStream): New inner class.
3245         (PageLoader): New inner class.
3246         (loading): New field.
3247         (setPage): Implemented asynchronous loading.
3248         * javax/swing/text/DefaultStyledDocument.java
3249         (ElementBuffer.create): New helper method.
3250         (create): Use new ElementBuffer method instead of hack.
3251         * javax/swing/text/html/HTMLDocument.java
3252         (HTMLReader.flushImpl): New helper method.
3253         (HTMLReader.addContent): Use flushImpl().
3254         (HTMLReader.blockClose): Added null check.
3255         (HTMLReader.flush): Use flushImpl().
3256         * javax/swing/text/html/HTMLEditorKit.java
3257         (createDefaultDocument): Set load priority to 4 and token threshold
3258         to 100.
3259         * javax/swing/text/html/TableView.java
3260         (insertUpdate): Overridden to provide correct view factory.
3261         (removeUpdate): Overridden to provide correct view factory.
3262         (changedUpdate): Overridden to provide correct view factory.
3264 2006-11-19  Roman Kennke  <kennke@aicas.com>
3266         * javax/swing/text/BoxView.java
3267         (clipRect): New field.
3268         (tmpRect): New field.
3269         (layout): Reorganized code. Now uses layoutAxis() helper method.
3270         (layoutAxis): New helper method.
3271         (paint): Optimized by using cached Rectangle objects and
3272         a binary search for child views inside the clip.
3273         * javax/swing/text/CompositeView.java
3274         (insideAllocation): Made private and initialized in constructor.
3275         (getInsideAllocation): Removed initialization block for
3276         insideAllocation field. Avoid unnecessary allocations.
3277         * javax/swing/text/GlyphView.java
3278         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
3279         The remaining stuff (background, underline and striking) is
3280         done in the GlpyhView itself. Avoid unnecessary allocations.
3281         (cached): A cached Segment instance.
3282         (getText): Return cached segment.
3283         (paint): Paint underline, strike and background here. Avoid
3284         unecessary allocs.
3286 2006-11-19  Roman Kennke  <kennke@aicas.com>
3288         * javax/swing/text/html/StyleSheet.java
3289         (getFontSize): Removed debug output.
3290         (ListPainter.tmpRect): New field.
3291         (ListPainter.paint): Align bullet vertically centered to
3292         the first line of the paragraph.
3294 2006-11-17  Roman Kennke  <kennke@aicas.com>
3296         * gnu/javax/swing/text/html/css/CSSParser.java
3297         (parseDeclaration): Trim string before reporting.
3298         * gnu/javax/swing/text/html/css/FontSize.java
3299         (size): New field.
3300         (isRelative): New field.
3301         (sizeIndex): New field.
3302         (FontSize): Initialize new fields.
3303         (getValue): Changed to call getValue(int).
3304         (getValue(int)): New method. Implements relative font sizes.
3305         (isRelative): New method.
3306         (mapAbsolute): Store index.
3307         (mapEM): New helper method.
3308         (mapLarger): New helper method.
3309         (mapPercent): New helper method.
3310         (mapRelative): New helper method.
3311         (mapSmaller): New helper method.
3312         (mapValue): New helper method.
3313         * javax/swing/text/html/CSS.java
3314         (parseBackgroundShorthand): Create CSSColor directly.
3315         * javax/swing/text/html/StyleSheet.java
3316         (addRule): Invalidate resolved styles.
3317         (getFont): Call new getFontSize() method to resolve relative
3318         font sizes.
3319         (getFontSize): New helper method. Resolves relative font sizes.
3320         (translateHTMLToCSS): Create CSS objects directly.
3322 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3324         * gnu/java/util/regex/RETokenNamedProperty.java:
3325         (getHandler(String)): Add support for 'all'.
3327 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3329         * gnu/javax/management/Server.java:
3330         Initial implementation of a GNU management server.
3331         * javax/management/MBeanPermission.java,
3332         * javax/management/MBeanRegistration.java,
3333         * javax/management/MBeanTrustPermission.java:
3334         Implemented.
3335         
3336 2006-11-17  Mark Wielaard  <mark@klomp.org>
3338         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
3340 2006-11-17  Gary Benson  <gbenson@redhat.com>
3342         * java/net/DatagramSocket.java (getLocalAddress, connect,
3343         receive): Perform security check on address not hostname.
3345 2006-11-16  Roman Kennke  <kennke@aicas.com>
3347         * gnu/javax/swing/text/html/parser/support/Parser.java
3348         (_handleText): Fixed condition for consuming whitespace.
3349         Removed validator check, this is superfluous now.
3351 2006-11-16  Roman Kennke  <kennke@aicas.com>
3353         * gnu/javax/swing/text/html/css/CSSParser.java
3354         (parseRuleset): Support 'combined' selectors.
3355         (main): Adapt callback for combined selectors support.
3356         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3357         (startStatement): Take selector array as argument, to
3358         support combined selectors.
3359         * javax/swing/text/html/BlockView.java
3360         (calculateMinorAxisRequirements): Fetch and apply alignment.
3361         * javax/swing/text/html/StyleSheet.java
3362         (CSSStyle): Inverted the constants for correct precedence.
3363         (CSSStyleSheetParserCallback.styles): New field. Stores the current
3364         styles.
3365         (CSSStyleSheetParserCallback.style): Removed.
3366         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
3367         (CSSStyleSheetParserCallback.end): Push multiple styles.
3368         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
3370 2006-11-16  Roman Kennke  <kennke@aicas.com>
3372         * javax/swing/text/FlowView.java
3373         (LogicalView.getPreferredSpan): Calculate maximum correctly.
3374         * javax/swing/text/GlyphView.java
3375         (tabExpander): New field.
3376         (tabX): New field.
3377         (breakView): Set tabX on broken view.
3378         (getPartialSpan): Let the painter fetch the span.
3379         (getTabbedSpan): Update the tab expander field. Maybe trigger
3380         relayout.
3381         (getTabExpander): Simply return the stored expander.
3382         * javax/swing/text/Utilities.java
3383         (getTabbedTextOffset): Made algoritm a little smarter and more
3384         efficient.
3385         (getTabbedTextWidth): Don't add single char widths, instead add
3386         chunks of characters.
3387         * javax/swing/text/html/ParagraphView.java
3388         (calculateMinorAxisRequirements): Adjust margin only when the
3389         CSS span is not fixed.
3391 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
3393         * java/beans/beancontext/BeanContextSupport.java
3394         (getChildBeanContextMembershipListener): Implemented,
3395         (getChildPropertyChangeListener): Implemented,
3396         (getChildSerializable): Implemented,
3397         (getChildVetoableChangeListener): Implemented,
3398         (getChildVisibility): Implemented,
3399         (setDesignTime): Use same property name as Sun's implementation.
3401 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
3403         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
3404         * java/beans/Statement.java
3405         (toString): Updated to match reference implementation.
3407 2006-11-15  Roman Kennke  <kennke@aicas.com>
3409         * javax/swing/text/html/HTMLEditorKit.java
3410         (InsertHTMLTextAction.actionPerformed): Also try inserting
3411         the alternate tag. Adjust the selection accordingly.
3412         (InsertHTMLTextAction.adjustSelection): New helper method.
3413         Adjusts the selection after an insertion.
3414         (insertAtBoundary): Delegate to deprecated method.
3415         (insertAtBoundry): Implemented missing method.
3416         (tryInsert): New helper method.
3417         (defaultActions): Implemented to fill the array with
3418         a couple of InsertHTMLTextActions.
3420 2006-11-15  Roman Kennke  <kennke@aicas.com>
3422         * javax/swing/text/html/ImageView.java
3423         (Observer): New class. Observes image loading.
3424         (haveHeight): New field.
3425         (haveWidth): New field.
3426         (height): New field.
3427         (width): New field.
3428         (image): New field.
3429         (imageIcon): New field.
3430         (loading): New field.
3431         (observer): New field.
3432         (reloadImage): New field.
3433         (reloadProperties): New field.
3434         (ImageView): Initialize observer and some flags.
3435         (getImage): Update the image state and return the image.
3436         (loadImage): New helper method. Actually starts loading.
3437         (paint): Rewritten to paint the image directly, not via Icon.
3438         (reloadImage): Rewritten. Loads the image and its properties.
3439         (renderIcon): Removed. No more necessary.
3440         (setPropertiesFromAttributes): Don't nullify image here.
3441         Added comment about missing impl.
3442         (setSize): Added comment about missing impl.
3443         (updateSize): New helper method. Updates the size attributes.
3444         (updateState): New helper method. Makes sure the image
3445         and its properties are valid.
3447 2006-11-15  Roman Kennke  <kennke@aicas.com>
3449         * gnu/javax/swing/text/html/parser/support/Parser.java
3450         (_handleEndTag_remaining): Consume whitespace after a closing
3451         block like tag.
3453 2006-11-15  Roman Kennke  <kennke@aicas.com>
3455         * javax/swing/text/html/HTMLDocument.java
3456         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
3457         directly.
3458         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
3459         directly.
3460         (HTMLReader.parseStack): Removed.
3461         (HTMLReader.blockClose): Simply call addContent() with ' '
3462         instead of doing more complicated stuff. Removed parseStack
3463         handling.
3464         (HTMLReader.blockOpen): Removed parseStack handling.
3465         (getInsertingReader): Removed parseStack init.
3466         * gnu/javax/swing/text/html/parser/htmlValidator.java
3467         (closeTag): Return true only when the tag actually should be
3468         closed.
3469         * gnu/javax/swing/text/html/parser/support/Parser.java
3470         (_handleEndTag): Only actually close the tag when the validator
3471         allows it.
3473 2006-11-15  Roman Kennke  <kennke@aicas.com>
3475         * javax/swing/text/html/CSS.java
3476         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
3477         attribute.
3478         * javax/swing/text/html/StyleSheet.java
3479         (BoxPainter.bottomPadding): New field.
3480         (BoxPainter.leftPadding): New field.
3481         (BoxPainter.rightPadding): New field.
3482         (BoxPainter.topPadding): New field.
3483         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
3484         too.
3485         (BoxPainter.getInset): Recognize and include the padding.
3486         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
3487          javax/swing/text/html/TableView.java
3488         (RowView.calculateMajorAxisRequirements): Adjust req's for
3489         cellSpacing.
3490         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
3491         (cellSpacing): New field.
3492         (columnRequirements): Made package private to avoid accessor method.
3493         (calculateMinorAxisRequirements): Include cellSpacing.
3494         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
3495         (layoutMajorAxis): Likewise.
3496         (layoutColumns): Respect cellSpacing.
3497         (setParent): Overridden to fetch the CSS attributes when view gets
3498         connected.
3499         (setPropertiesFromAttributes): New method. Fetches the cell
3500         spacing from the CSS attributes.
3502 2006-11-15  Roman Kennke  <kennke@aicas.com>
3504         * gnu/javax/swing/text/html/parser/support/Parser.java
3505         (_handleText): Consume whitespace directly before a closing tag.
3506         (restOfTag): Consume whitespace directly after opening.
3507         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
3508         (preprocess): Don't perform array boundary checking by
3509         catch AIOOBE, instead check the boundary in loop condition.
3510         * gnu/javax/swing/text/html/parser/support/low/Constants.java
3511         (TAG_CLOSE): New constants. Describes the token pattern for
3512         a closing tag.
3514 2006-11-14  Roman Kennke  <kennke@aicas.com>
3516         * javax/swing/text/html/ImageView.java
3517         (getPreferredSpan): Use CSS length values.
3518         * javax/swing/text/html/TableView.java
3519         (CellView.calculateMajorAxisRequirements): Overridden to
3520         set the maximum reqs to maximum.
3521         (RowView.getMaximumSize): For the X_AXIS, set the maximum
3522         span to maximum.
3523         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
3524         the total column reqs.
3525         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
3526         the total column reqs.
3527         * gnu/javax/swing/text/html/css/CSSColor.java
3528         (convertValue): Catch NumberFormatExceptions for more robustness.
3529         * gnu/javax/swing/text/html/css/FontSize.java
3530         (mapPixels): Actually map px values. Catch NFE for more robustness.
3532 2006-11-14  Roman Kennke  <kennke@aicas.com>
3534         * gnu/java/awt/font/autofit/AxisHints.java,
3535         * gnu/java/awt/font/autofit/Constants.java,
3536         * gnu/java/awt/font/autofit/GlyphHints.java,
3537         * nu/java/awt/font/autofit/Latin.java,
3538         * nu/java/awt/font/autofit/LatinAxis.java,
3539         * gnu/java/awt/font/autofit/LatinMetrics.java,
3540         * gnu/java/awt/font/autofit/Scaler.java,
3541         * gnu/java/awt/font/autofit/Script.java,
3542         * gnu/java/awt/font/autofit/ScriptMetrics.java,
3543         * gnu/java/awt/font/autofit/Segment.java,
3544         * gnu/java/awt/font/autofit/Width.java:
3545         New classes. This is some skeleton stuff for the FreeType-alike
3546         auto-gridfitter.
3547         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
3548         * gnu/java/awt/font/opentype/OpenTypeFont.java
3549         (unitsPerEm): Made field public.
3550         (getRawGlyphOutline): New method. Fetches the raw outline.
3551         * gnu/java/awt/font/opentype/Scaler.java
3552         (getRawGlyphOutline): New method. Fetches the raw outline.
3553         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
3554         (loadGlyph): New method. This is used to load raw outlines.
3555         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
3556         (getRawOutline): New method. Fetches the raw outline.
3557         * gnu/java/awt/font/opentype/truetype/Zone.java:
3558         Made class public.
3560 2006-11-14  Roman Kennke  <kennke@aicas.com>
3562         * javax/swing/RepaintManager.java
3563         (RepaintManager): Fetch the default state for the double buffering
3564         from a system property gnu.swing.doublebuffering.
3566 2006-11-14  Roman Kennke  <kennke@aicas.com>
3568         * javax/swing/plaf/basic/BasicLabelUI.java
3569         (cachedInsets): New field.
3570         (getFontMetrics): New helper method. Fetches the font metrics
3571         from the component or the toolkit.
3572         (getPreferredSize): Use getFontMetrics() helper method for
3573         fetching the font metrics.
3574         (paint): Use getFontMetrics() helper method for
3575         fetching the font metrics. Only paint if icon or text
3576         are != null. Use cached insets.
3577         (paintDisabledText): Don't store/restore color object. The
3578         JComponent painting mechanism takes care of this by calling
3579         create().
3580         (paintEnabledText): Don't store/restore color object. The
3581         JComponent painting mechanism takes care of this by calling
3582         create().
3584 2006-11-14  Roman Kennke  <kennke@aicas.com>
3586         * gnu/java/awt/peer/GLightweightPeer.java
3587         (handleEvent): Try to do something reasonable and trigger painting
3588         for the lightweight component.
3589         (getFontMetrics): Fetch and return a font metrics object from
3590         the Toolkit.
3592 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3594         * gnu/java/util/regex/RETokenNamedProperty.java:
3595         (getHandler(String)): Add support for 'all'.
3596         
3597 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
3599         * AUTHORS: Add myself.
3601 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3603         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
3604         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
3605         Roman Kennke's entry.
3607 2006-11-13  Roman Kennke  <kennke@aicas.com>
3609         * java/awt/image/IndexColorModel.java
3610         (createCompatibleSampleModel): Implemented missing method.
3612 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
3614         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3615         from big endian systems correctly.
3617 2006-11-11  Roman Kennke  <kennke@aicas.com>
3619         * gnu/javax/swing/text/html/css/CSSColor.java
3620         (isValidColor): New helper method. Checks strings if they
3621         form a valid color value.
3622         * gnu/javax/swing/text/html/css/Length.java
3623         (Length): Catch number format exceptions.
3624         * javax/swing/text/html/CSS.java
3625         (addInternal): New method. Checks for shorthand CSS attributes
3626         and parses them.
3627         (parseBackgroundShorthand): New method. Parses the background
3628         shorthand attribute.
3629         * javax/swing/text/html/HTMLDocument.java
3630         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3631         (HTMLReader.LinkAction.start): Implemented to load the linked
3632         stylesheet.
3633         (HTMLReader.LinkAction.end): Removed. This is not needed.
3634         * javax/swing/text/html/StyleSheet.java
3635         (CSSStyleSheetParserCallback.declaration): Push declaration
3636         through CSS.addInternal() to parse shorthand attributes.
3637         (addCSSAttribute): Push declaration through CSS.addInternal()
3638         to parse shorthand attributes.
3639         (importStyleSheet): Implemented. This adds a stylesheet from
3640         an URL.
3641         * javax/swing/text/html/TableView.java
3642         (calculateColumnRequirements): Increase column index for
3643         non CellView children to avoid endless loop.
3644         * javax/swing/text/CompositeView.java
3645         (setParent): Comparen with numChildren not with real arraylength.
3647 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
3649         * java/beans/beancontext/BeanContextSupport.java
3650         (getChildBeanContextChild): Implemented.
3652 2006-11-10  Roman Kennke  <kennke@aicas.com>
3654         * javax/swing/text/View.java
3655         (updateLayout): Only repaint when needed.
3657 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
3659         * java/util/Collections.java
3660         (sort(List)): Minor API doc addition,
3661         (sort(List, Comparator)): Likewise.
3663 2006-11-10  David Fu  <fchoong@netbeans.jp>
3665         * javax/swing/text/html/HTMLWriter.java
3666         (traverse): Removed Classpath specific handling of implied
3667         tags.
3668         (traverseHtmlFragment): Removed Classpath specific handling of
3669         implied tags.
3671 2006-11-10  Roman Kennke  <kennke@aicas.com>
3673         * javax/swing/text/ParagraphView.java
3674         (Row.getMaximumSize): Removed. This method is not necessary.
3675         * javax/swing/text/html/TableView.java
3676         (CellView): Moved attribute init to setPropertiesFromAttributes().
3677         (setPropertiesFromAttributes): Fetch attributes here.
3678         (RowView.RowView): Documented.
3679         (RowView.getMaximumSpan): Overridden to restrict the max span
3680         in the Y direction.
3681         (RowView.layoutMajorAxis): Correctly layout the spans.
3682         (columnWidths): New field. Stores the width attributes of
3683         the columns.
3684         (calculateColumnRequirements): Added support for relative
3685          (== percent) width attributes.
3686         (calculateMajorAxisRequirements): Removed.
3687         (calculateMinorAxisRequirements): Removed unnecessary code.
3688         (getMaximumSpan): Overridden to restrict the table's width.
3689         (layoutColumns): Documented. Implement more clever table layout,
3690         i.e. for relative columns etc.
3691         (layoutMinorAxis): Don't mark rows invalid.
3692         (updateGrid): Added docs. Initialize column widths.
3694 2006-11-09  Roman Kennke  <kennke@aicas.com>
3696         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3697         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3698         Implement basic headless toolkit.
3699         * java/awt/Toolkit.java
3700         (getDefaultToolkit): Check headless property and create
3701         headless toolkit when true.
3703 2006-11-09  Ingo Proetel  <proetel@aicas.com>
3704 2006-11-09  Roman Kennke  <kennke@aicas.com>
3706         * gnu/java/awt/peer/swing/SwingButtonPeer.java
3707         (SwingButton.button): New field.
3708         (SwingButton.SwingButton): Added constructor.
3709         (SwingButton.isShowing): Access button field instead of
3710         the surrounding class.
3711         (SwingButton.getParent): Access button field instead of
3712         the surrounding class.
3713         (SwingButtonPeer): Call new SwingButton constructor.
3714         * gnu/java/awt/peer/swing/SwingComponent.java:
3715         Several documentation updates.
3716         * gnu/java/awt/peer/swing/SwingComponentPeer.java
3717         (currentPaintEvents): New field.
3718         (peerFont): New field.
3719         (SwingComponentPeer): Initialize currentPaintEvents fields.
3720         (coalescePaintEvents): Implemented.
3721         (dispose): Unregister peer from heavyweight list of its container.
3722         (getGraphics): Fetch graphics from parent component.
3723         (handleEvent): Discard paint event if its coalesced.
3724         (init): Register component with its container for proper painting.
3725         (paint): Call peerPaint().
3726         (peerPaint): Added argument that indicates if we should update.
3727         Call paint or update on the actual AWT component.
3728         (peerPaintComponent): New method. Paints the peer (Swing) component.
3729         (setFont): Set peerFont field.
3730         * gnu/java/awt/peer/swing/SwingContainerPeer.java
3731         (backbuffer): New field.
3732         (focusOwner): New field.
3733         (heavyweightDescendents): New field.
3734         (SwingContainerPeer): Take Container as argument. Don't call init
3735         yet.
3736         (addHeavyweightDescendent): New method.
3737         (getFocusOwner): New helper method.
3738         (getInsets): Delegate to insets().
3739         (handleKeyEvent): Dispatch event to focus owner.
3740         (handleMouseEvent): Dispatch to child component.
3741         (isDoubleBuffering): New helper method.
3742         (peerPaint): Overridden to implement container painting with
3743         double buffering.
3744         (peerPaintChildren): New method. Paints the descendents of this
3745         container.
3746         (removeHeavyweightDescendent): New helper method.       
3747         * gnu/java/awt/peer/swing/SwingFramePeer.java
3748         (peerPaint): Removed.
3749         (peerPaintComponent): Overridden to paint the menu bar.
3750         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3751         (SwingLabel.label): New field.
3752         (SwingLabel.SwingLabel): Added constructor with Label argument.
3753         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3754         the actual AWT component.
3755         (SwingLabel.getParent): Implemented to fetch the parent from
3756         the AWT component.
3757         (SwingLabel.isShowing): Access the label field.
3758         (SwingLabelPeer): Set alignment from label.
3759         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3760         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3761         fixlet.
3762         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3763         Don't be a lighweight peer.
3764         (SwingPanelPeer): Call init.
3765         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3766         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3767         (SwingTextField.textField): New field.
3768         (SwingTextField.SwingTextField): New constructor.
3769         (SwingTextField.isShowing): Access field not enclosing class.
3770         (SwingTextField.getGraphics): New method.
3771         (SwingTextField.getParent): New method.
3772         (SwingTextFieldPeer): Call new constructor.
3773         (select): Renamed arguments.
3774         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3775         (SwingWindowPeer): Call init.
3777 2006-11-09  Tania Bento  <tbento@redhat.com>
3779         * javax/swing/JLabel.java
3780         (JLabel(Icon)): Changed documentation; Changed text to null.
3781         (JLabel(Icon,int)): Likewise.
3782         (JLabel(text)): Changed documenation.
3783         (JLabel(text,int)): Likewise.
3784         (JLabel(text,Icon,int)): Changed documentation; Throw 
3785         IllegalArgumentException if int is not one of LEFT, RIGHT,
3786         CENTER, LEADING or TRAILING.
3788 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3790         * java/beans/beancontext/BeanContextSupport.java
3791         (BeanContextSupport): Use correct dtime default,
3792         (BeanContextSupport(BeanContext)): Likewise,
3793         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3794         locale argument,
3795         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3796         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3798 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3800         * java/beans/beancontext/BeanContextSupport.java
3801         (getBeanContextPeer): Implemented.
3803 2006-11-09  Roman Kennke  <kennke@aicas.com>
3805         * javax/swing/text/html/BlockView.java
3806         (cssHeight): Removed.
3807         (cssWidth): Removed.
3808         (cssSpans): New field. Replaces the two fields above.
3809         (BlockView): Allocate cssSpans array.
3810         (layoutMinorAxis): Fetch and use child span, not this view's span.
3811         (setCSSSpan): Adjusted to use cssSpans array.
3812         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3814 2006-11-09  Roman Kennke  <kennke@aicas.com>
3816         * javax/swing/text/html/InlineView.java
3817         (nowrap): New field.
3818         (getBreakWeight): Add support for nowrap.
3819         (setPropertiesFromAttributes): Fetch the nowrap setting.
3821 2006-11-09  Roman Kennke  <kennke@aicas.com>
3823         * gnu/javax/swing/text/html/css/CSSParser.java
3824         (parseRuleset): Use new Selector class.
3825         (parseValue): Parse multiple anys, not only one.
3826         (main): Allow stylesheet be specified on the command line.
3827         Use new Selector class.
3828         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3829         (startStatement): Use Selector class.
3830         * gnu/javax/swing/text/html/css/CSSScanner.java
3831         (readName): Actually read a character in the loop to avoid
3832         endless loop.
3833         * gnu/javax/swing/text/html/css/Length.java
3834         (getValue): Only multiply when we have a percentage value.
3835         * gnu/javax/swing/text/html/css/Selector.java:
3836         New class. Provides handling of CSS selectors.
3837         * javax/swing/text/html/StyleSheet.java
3838         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3839         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3840         (CSSStyle.PREC_NORM): New constant field.
3841         (CSSStyle.PREC_UA): New constant field.
3842         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3843         (CSSStyle.precedence): New field.
3844         (CSSStyle.priority): Removed.
3845         (CSSStyle.selector): New field.
3846         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3847         and precendence.
3848         (CSSStyle.compareTo): Adjusted to use the precedence and
3849         specificity of the selector.
3850         (CSSStyleSheetParserCallback.precedence): New field.
3851         (CSSStyleSheetParserCallback.selector): Removed.
3852         (CSSStyleSheetParserCallback.style): New field.
3853         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3854         Initialize with precedence.
3855         (CSSStyleSheetParserCallback.declaration): Don't look up
3856         existing rule, simply create new one.
3857         (CSSStyleSheetParserCallback.endStatement): Append style
3858         to stylesheet.
3859         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3860         class.
3861         (css): Changed to be ArrayList.
3862         (addRule): Create parser with author-normal precendence.
3863         (getRule): Fixed implementation.
3864         (loadRules): Create parser with UA precendence.
3865         (resolveStyle): Use Selector class for resolving and matching
3866         stylesheet rules.
3867         (translateHTMLToCSS): Added mappings for a couple of HTML
3868         attributes.
3870 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3872         Fixes bug #29770
3873         * java/beans/SimpleBeanInfo.java
3874         (loadImage): Check for nulls.
3876 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3878         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3879         (getpeername): Added 16 byte offset to memcpy operation.
3881 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3883         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3884         (getsockname): Added 16 byte offset to memcpy operation.
3886 2006-11-08  Mark Wielaard  <mark@klomp.org>
3888         Fixes bug #29754
3889         * java/io/OutputStreamWriter.java
3890         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3891         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3893 2006-11-08  Roman Kennke  <kennke@aicas.com>
3895         * javax/swing/text/html/HTMLEditorKit.java
3896         (getParser): Use plain HTML_401F DTD.
3897         * javax/swing/text/html/HTMLDocument.java
3898         (HTMLReader.print): Removed method and all calls to it.
3899         (HTMLReader.printBuffer): Removed method and all calls to it.
3900         (HTMLReader.inImpliedParagraph): New field.
3901         (HTMLReader.inParagraph): New field.
3902         (HTMLReader.addContent): Create implied p-tag if necessary.
3903         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3904         (HTMLReader.blockClose): Close implied p-tag if necessary.
3905         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3906         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3908 2006-11-08  Roman Kennke  <kennke@aicas.com>
3910         * javax/swing/text/html/HTMLEditorKit.java
3911         (HTMLFactory.create): Removed mapping for TD tag. This
3912         is done in TableView.
3913         * javax/swing/text/html/TableView.java:
3914         Implemented from scratch.
3916 2006-11-07  Roman Kennke  <kennke@aicas.com>
3918         * gnu/javax/swing/text/html/parser/support/Parser.java
3919         (_handleText): Check if text content is actually allowed before
3920         passing empty text fragments on to the parser callbacks.
3922 2006-11-07  Mark Wielaard  <mark@klomp.org>
3924         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3925         path.
3926         (flat): New method.
3928 2006-11-07  Tania Bento  <tbento@redhat.com>
3930         * java/awt/FlowLayout.java
3931         (getSize): If parent does not have a component, then a 
3932         different formula is used to calcuate the width.
3934 2006-11-07  Roman Kennke  <kennke@aicas.com>
3936         * javax/swing/text/html/HTMLEditorKit.java
3937         (HTMLFactory.create): Include ListView.
3938         * javax/swing/text/html/ListView.java
3939         (paint): Removed comment.
3940         * javax/swing/text/html/StyleSheet.java
3941         (CSSStyle.priority): New field.
3942         (CSSStyle.CSSStyle(int)): New constructor with priority.
3943         (CSSStyle.compareTo): New method. Used for sorting the styles.
3944         (CSSStyleSheetParserCallback.declaration): Store the style
3945         with the complete selector.
3946         (ListPainter.attributes): Renamed as field.
3947         (ListPainter.styleSheet): New field.
3948         (ListPainter.type): New field.
3949         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3950         (ListPainter.paint): Provide simplistic implementation.
3951         (getListPainter): Pass StyleSheet to constructor.
3952         (resolveStyle): Fixed CSS style resolving.
3954 2006-11-07  Roman Kennke  <kennke@aicas.com>
3956         * gnu/javax/swing/text/html/css/BorderWidth.java:
3957         New class. Handles CSS border width values.
3958         * gnu/javax/swing/text/html/css/Length.java
3959         (floatValue): Made protected so that BorderWidth can access it.
3960         * javax/swing/text/html/CSS.java
3961         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3962         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3963         (Attribute.BORDER_LEFT_COLOR): New static field.
3964         (Attribute.BORDER_LEFT_STYLE): New static field.
3965         (Attribute.BORDER_RIGHT_COLOR): New static field.
3966         (Attribute.BORDER_RIGHT_STYLE): New static field.
3967         (Attribute.BORDER_TOP_COLOR): New static field.
3968         (Attribute.BORDER_TOP_STYLE): New static field.
3969         (getValue): Added some mappings for the border color and
3970         border width values.
3971         * javax/swing/text/html/CSSBorder.java: New class. Implements
3972         CSS borders.
3973         * javax/swing/text/html/StyleSheet.java
3974         (BoxPainter.background): New field.
3975         (BoxPainter.border): New field.
3976         (BoxPainter.bottomInset): Documented.
3977         (BoxPainter.leftInset): Documented.
3978         (BoxPainter.rightInset): Documented.
3979         (BoxPainter.topInset): Documented.
3980         (BoxPainter.BoxPainter): Added support for borders and background.
3981         (BoxPainter.getInset): Add border insets.
3982         (BoxPainter.paint): Implemented. Paints the background and the
3983         CSS border.
3984         (addRule): Be less picky about parse and IO exceptions.
3985         (getBoxPainter): Adjust to new BoxPainter constructor.
3987 2006-11-07  Andreas  <a.tobler@schweiz.org>
3989         * examples/Makefile.am: Add rule to install the *.html files we use
3990         in the Swing Demo.
3992 2006-11-06  Francis Kung  <fkung@redhat.com>
3994         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3995         (fillRect): Handle custom composites.
3996         (drawRenderedImage): Handle custom composites.
3997         (drawImage): Handle custom composites.
3998         (createBuffer): New method.
3999         (drawLine): Handle custom composites.
4000         (drawComposite): New method.
4001         (fill): Handle custom composites.
4002         (getNativeCM): New method.
4003         (drawGlyphVector): Handle custom composites.
4004         (drawRect): Handle custom composites.
4005         (draw): Handle custom composites.
4006         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4007         (drawComposite): Unset composite during draw call, to prevent parent
4008         from handling composite again.
4009         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4010         (getBufferCM): Added comments.
4011         (getNativeCM): Made abstract.
4012         (setComposite): Removed comments.
4014 2006-11-06  Roman Kennke  <kennke@aicas.com>
4016         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
4017         Fixed initial window size and start document.
4019 2006-11-06  Roman Kennke  <kennke@aicas.com>
4021         * javax/swing/text/html/HTMLDocument.java
4022         (HTMLReader.addSpecialElement): Removed comment about
4023         htmlAttributeSet.
4024         (HTMLReader.handleComment): Create SimpleAttributeSet instead
4025         of htmlAttributeSet.
4026         * javax/swing/text/html/parser/DocumentParser.java
4027         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
4028         of htmlAttributeSet.
4029         * javax/swing/text/html/parser/ParserDelegator.java
4030         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
4031         of htmlAttributeSet.
4032         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
4033         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
4034         of htmlAttributeSet.
4035         * gnu/javax/swing/text/html/parser/support/Parser.java
4036         (getAttributes): Return a SimpleAttributeSet.
4037         (restOfTag): Don't set resolving parent here.
4039 2006-11-06  Tania Bento  <tbento@redhat.com>
4041         * java/awt/TextComponent.java
4042         (setSelectionStart): Added check.
4044 2006-11-06  Tania Bento  <tbento@redhat.com>
4046         * java/awt/TextField.java
4047         (minimumSize(int)): Check if minimum size has been previously
4048         set and changed values of Dimension returned if peer == null.
4049         (preferredSize(int)): Check if preferred size has been previously
4050         set and changed values of Dimension returned if peer == null.
4052 2006-11-06  Roman Kennke  <kennke@aicas.com>
4054         * javax/swing/JTree.java
4055         (TreeModelHandler.treeNodesRemoved): Implemented.
4056         (TreeModelHandler.treeStructureChanged): Implemented.
4057         (nodeStates): Made package private.
4059 2006-11-06  Francis Kung  <fkung@redhat.com>
4061         PR 29420
4062         * javax/swing/JTree.java
4063         (clearSelectionPathStates): New private method to clean up nodeStates.
4064         (removeSelectionPath): Call clearSelectionPathStates().
4065         (removeSelectionPaths): Call clearSelectionPathStates().
4066         (removeSelectionRow): Call clearSelectionPathStates().
4067         (setSelectionPath): Call clearSelectionPathStates().
4068         (setSelectionPaths): Call clearSelectionPathStates().
4069         (setSelectionRow): Call clearSelectionPathStates().
4071 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4073         Fixes bug #29703
4074         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
4076 2006-11-06  Roman Kennke  <kennke@aicas.com>
4078         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
4079         Changed to implement a minimalistic browser.
4080         * examples/gnu/classpath/examples/swing/forms.html,
4081         * examples/gnu/classpath/examples/swing/textstyles.html,
4082         * examples/gnu/classpath/examples/swing/welcome.html:
4083         Some example content.
4085 2006-11-06  Roman Kennke  <kennke@aicas.com>
4087         * javax/swing/text/ComponentView.java
4088         (setParent): Lock the document and repaint the hosting
4089         container.
4090         * javax/swing/text/FlowView.java
4091         (FlowStrategy.createView): Removed comment.
4092         (FlowView): Initialize span with Short.MAX_VALUE.
4093         (getFlowStart): Return 0 unconditionally.
4094         (layout): Moved code around to make it more readable.
4095         (loadChildren): Always set the parent.
4096         * javax/swing/text/GlyphView.java
4097         (DefaultGlyphPainter.fontMetrics): New field.
4098         (DefaultGlyphPainter.getAscent): Use new helper method to
4099         synchronize the font metrics.
4100         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
4101         to synchronize the font metrics.
4102         (DefaultGlyphPainter.getDescent): Use new helper method to
4103         synchronize the font metrics.
4104         (DefaultGlyphPainter.getHeight): Use new helper method to
4105         synchronize the font metrics.
4106         (DefaultGlyphPainter.getSpan): Use new helper method to
4107         synchronize the font metrics.
4108         (DefaultGlyphPainter.modelToView): Use new helper method to
4109         synchronize the font metrics.
4110         (DefaultGlyphPainter.updateFontMetrics): New helper method for
4111         font metrics caching.
4112         (DefaultGlyphPainter.viewToModel): Use new helper method to
4113         synchronize the font metrics. Fixed view to model mapping.
4114         * javax/swing/text/View.java
4115         (removeAll): Pass null to replace().
4116         (setParent): Only reparent children that have this view as parent.
4118 2006-11-05  Mark Wielaard  <mark@klomp.org>
4120         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
4121         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
4122         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
4123         Removed.
4124         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
4125         Removed.
4126         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
4127         Remove gnu_java_nio_channels_FileChannelImpl.c.
4129 2006-11-03  Roman Kennke  <kennke@aicas.com>
4131         * javax/swing/text/html/BlockView.java
4132         (attributes): New field.
4133         (cssHeight): New field.
4134         (cssWidth): New field.
4135         (painter): New field.
4136         (calculateMajorAxisRequirements): Overridden to account for
4137         CSS settings.
4138         (calculateMinorAxisRequirements): Overridden to account for
4139         CSS settings.
4140         (layoutMinorAxis): Overridden to account for CSS settings.
4141         (changedUpdate): Formatting fixlet.
4142         (constrainSize): New helper method.
4143         (getAlignment): Fix alignment.
4144         (getAttributes): Cache attributes for better performance.
4145         (getStyleSheet): Fetch stylesheet from document rather than creating
4146         a new one.
4147         (paint): Remove comment.
4148         (setCSSSpan): New helper method.
4149         (setPropertiesFromAttributes): Implemented to fetch the
4150         recognized properties.
4151         * javax/swing/text/html/CSS.java
4152         (getValue): Added mapping for width and height attributes.
4153         * javax/swing/text/html/InlineView.java
4154         (longestWord): New field.
4155         (getLongestWord): New helper method.
4156         (calculateLongestWord): New helper method.
4157         (getMinimumSpan): Overridden to constrain the minimum span by the
4158         longest word.
4159         * javax/swing/text/html/ParagraphView.java
4160         (cssHeight): New field.
4161         (cssWidth): New field.
4162         (calculateMinorAxisRequirements): Overridden to account for
4163         CSS settings.
4164         (setCSSSpan): New helper method.
4165         (setPropertiesFromAttributes): Fetch CSS width and height. Added
4166         null check.
4167         * gnu/javax/swing/text/html/css/Length.java
4168         (percentage): New field.
4169         (Length): Determine percentage values.
4170         (getValue(float)): New method for handling percentage values.
4171         (isPercentage): New method.
4173 2006-11-03  Tania Bento  <tbento@redhat.com>
4175         * java/awt/TextArea.java
4176         (getMinimumSize): Changed documentation.
4177         (getPreferredSize): Changed documentation.
4178         (getMinimumSize(int,int)): Changed documenation.
4179         (getPreferredSize(int,int)): Changed documenation.
4180         (minimumSize): Changed documentation.
4181         (preferredSize): Changed documenation.
4182         (minimumSize(int,int)): Changed documentation.  Checked if 
4183         minimum size had been previously set and changed values of
4184         Dimension returned if peer == null.
4185         (preferredSize(int, int)): Checked if preferred size had been
4186         previously set and changed values of Dimension returned if
4187         peer = null.
4189 2006-11-03  Tania Bento  <tbento@redhat.com>
4191         * java/awt/event/ComponentEvent.java
4192         (paramString): Changed format of string representation returned.
4194 2006-11-03  Roman Kennke  <kennke@aicas.com>
4196         * javax/swing/text/html/HTMLDocument.java
4197         (HTMLReader.FormAction.start): Added support for textarea.
4198         (HTMLReader.FormAction.end): Added support for textarea.
4199         (HTMLReader.HeadAction.end): Call super to actually close the
4200         block.
4201         (HTMLReader.inTextArea): New field.
4202         (HTMLReader.textAreaDocument): New field.
4203         (HTMLReader.handleText): Call textAreaContent when inside
4204         a textarea tag.
4205         (HTMLReader.textAreaContent): Implemented to initialize
4206         the text area's model.
4207         * javax/swing/text/html/FormView.java
4208         (createComponent): Added support for textarea tag.
4210 2006-11-03  Roman Kennke  <kennke@aicas.com>
4212         * javax/swing/text/html/HTMLDocument.java
4213         (HTMLReader.IsindexAction.start): Implemented.
4215 2006-11-03  Roman Kennke  <kennke@aicas.com>
4217         * javax/swing/text/html/StyleSheet.java
4218         (addRule): Implemented.
4219         * javax/swing/text/html/HTMLDocument.java
4220         (HTMLReader.inStyleTag): New field.
4221         (HTMLReader.styles): New field.
4222         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
4223         if any.
4224         (HTMLReader.StyleAction.start): Set inStyleTag flag.
4225         (HTMLReader.StyleAction.end): Set inStyleTag flag.
4226         (HTMLReader.handleText): When inside a style tag, add
4227         content to the styles array.
4229 2006-11-02  Roman Kennke  <kennke@aicas.com>
4231         * javax/swing/text/html/FormView.java
4232         (maxIsPreferred): New field.
4233         (createComponent): Initialize components correctly.
4234         (getMaximumSpan): Return the preferred span for components
4235         that need this. The maxIsPreferred flag is set accordingly
4236         in createComponent.
4237         * javax/swing/text/html/HTMLDocument.java
4238         (HTMLReader.FormAction.start): Implemented to set the
4239         correct model as attribute.
4240         (HTMLReader.FormAction.setModel): New helper method.
4241         (HTMLReader.FormAction.end): Call super to finish the element.
4242         Added TODO about things left to do.
4243         (HTMLReader.handleComment): Use SimpleAttributeSet rather
4244         than htmlAttributeSet.
4245         * javax/swing/text/html/HTMLEditorKit.java
4246         (HTMLFactory.create): Create BlockView for FORM tags.
4247         Create FormView for INPUT, TEXTAREA and SELECT tags.
4249 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
4251         * java/awt/geom/GeneralPath.java: API doc fixes.
4253 2006-11-02  Roman Kennke  <kennke@aicas.com>
4255         * javax/swing/text/html/ImageView.java
4256         (getImageURL): Fetch attribute from element. Consider the
4257         base URL for relative image locations.
4259 2006-11-02  Roman Kennke  <kennke@aicas.com>
4261         * javax/swing/JEditorPane.java
4262         (setContentType): Strip off attributes.
4263         * javax/swing/text/html/HTMLEditorKit.java
4264         (LinkController.activateLink(int,JEditorPane,int,int): New
4265         method. Implements activation of a hyperlink.
4266         (LinkController.activateLinke(int,JEditorPane)): Delegate
4267         to the other activateLink() method.
4268         (LinkController.createHyperlinkEvent): New helper method.
4269         (LinkController.mouseClicked): Implemented to activate the link.
4270         (LinkController.mouseDragged): Added comment that this
4271         method does nothing.
4272         (LinkController.mouseMoved): Update cursor for hyperlinks.
4273         (mouseHandler): Renamed field to linkController.
4274         (HTMLEditorKit): Create a link controller.
4275         (clone): Give the clone a new link controller.
4276         (deinstall): De-install link controller as mouseMotionListener too.
4277         (install): Install link controller as mouseMotionListener too.
4279 2006-11-02  Roman Kennke  <kennke@aicas.com>
4281         PR 29644
4282         * javax/swing/text/FlowView.java
4283         (FlowStrategy.changedUpdate): Reversed condition. This caused
4284         wrong layout and bad performance.
4285         (FlowStrategy.insertUpdate): Reversed condition. This caused
4286         wrong layout and bad performance.
4287         (FlowStrategy.removeUpdate): Reversed condition. This caused
4288         wrong layout and bad performance.
4289         (LogicalView): Changed to be a subclass of CompositeView.
4290         (LogicalView()): Only take one Element argument.
4291         (LogicalView.childAllocation): New method for implementing
4292         the abstract CompositeView method.
4293         (LogicalView.forwardUpdateToView): Overridden for correct
4294         reparenting.
4295         (getMinimumSpan): Overridden to handle line breaking correctly.
4296         (getPreferredSpan): Implemented to handle line breaking correctly.
4297         (getViewAtPoint): New method for implementing
4298         the abstract CompositeView method.
4299         (getViewIndexAtPosition): Overridden to handle leaf elements
4300         correctly.
4301         (isAfter): New method for implementing
4302         the abstract CompositeView method.
4303         (isBefore): New method for implementing
4304         the abstract CompositeView method.
4305         (loadChildren): Overridden to handle leaf elements
4306         correctly.
4307         (paint): New method for implementing
4308         the abstract CompositeView method.
4309         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
4310         (loadChildren): Initialize flow layout by sending a synthetic
4311         insertUpdate() to the layout strategy.
4312         * javax/swing/text/GlyphView.java
4313         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
4314         font metrics if component is not available. Add initial offset
4315         to result.
4316         (breakView): Be more clever when breaking the view.
4317         (getBreakLocation): New helper method to determine a good
4318         break location.
4319         (getBreakWeight): Be more clever when breaking the view.
4320         (getTabbedSpan): Make sure we have a painter. Use view's
4321         start and end offset rather than the element's.
4322         * javax/swing/text/Utilities.java
4323         (drawTabbedText): Avoid useless add and sub with the y offset.
4325 2006-11-02  Roman Kennke  <kennke@aicas.com>
4327         PR 29644
4328         * gnu/java/awt/peer/ClasspathFontPeer.java
4329         (getStringBounds): Removed abstract method. This is replaced
4330         in java.awt.Font to use a TextLayout.
4331         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4332         (GtkWindowPeer): Set a font on the window object.
4333         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4334         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
4335         Changed to take char,int,int instead of String. Filter
4336         control characters.
4337         (FreetypeGlyphVector(Font,String,FontRenderContext)):
4338         Create char array out of string.
4339         (getLogicalBounds): Don't translate bounds. They already are
4340         translated.
4341         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
4342         (stringWidth): Filter out control characters.
4343         * gnu/java/awt/peer/gtk/GdkFontPeer.java
4344         (getStringBounds): Removed unneeded method.
4345         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
4346         constructor.
4347         * gnu/java/awt/peer/qt/QtFontPeer.java
4348         (getStringBounds): Removed unneeded method.
4349         * gnu/java/awt/peer/x/XFontPeer.java
4350         (getStringBounds): Removed unneeded method.
4351         * gnu/java/awt/peer/x/XFontPeer2.java
4352         (getStringBounds): Removed unneeded method.
4353         * java/awt/Font.java
4354         (getStringBounds(char[],int,int,FontRenderContext)):
4355         Use TextLayout to determine the bounds.
4356         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
4357         Delegate to the char[] version of this method.
4358         (getStringBounds(String,FontRenderContext)):
4359         Delegate to the char[] version of this method.
4360         (getStringBounds(String,int,int,FontRenderContext)):
4361         Delegate to the String version of this method.
4363 2006-11-01  Tania Bento  <tbento@redhat.com>
4365         * java/awt/ScrollPaneAdjustable.java
4366         (paramString): Changed format of string representation returned.
4367         (paramStringHelper): New private method.
4369 2006-11-01  Tania Bento  <tbento@redhat.com>
4371         * java/awt/GridBagLayout.java
4372         (toString): Implemented method.
4374 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
4376         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
4377         initialization to NP_Initialize.
4378         (NP_Initialize): Initialize GLib threading.
4380 2006-10-31  Tania Bento  <tbento@redhat.com>
4382         * javax/swing/JTextField.java
4383         (fireActionPerformed): When creating the new event, if
4384         actionCommand == null, then getText() is used.
4386 2006-10-31  Francis Kung  <fkung@redhat.com>
4388         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4389         (fillArc): Corrected arc type to Arc2D.PIE.
4391 2006-10-31  Roman Kennke  <kennke@aicas.com>
4393         * javax/swing/text/html/HTMLDocument.java
4394         (HTMLReader.PreAction.end): Implemented.
4395         (HTMLReader.PreAction.start): Implemented.
4396         (HTMLReader.inPreTag): New field.
4397         (HTMLReader.handleTag): When inside a pre tag, call preContent().
4398         (HTMLReader.preContent): Implemented.
4400 2006-10-31  Tania Bento  <tbento@redhat.com>
4402         * javax/swing/JTextField.java
4403         (fireActionPerformed): When creating the new event, 
4404         actionCommand should be used as the command, not
4405         getText().
4407 2006-10-31  Roman Kennke  <kennke@aicas.com>
4409         * javax/swing/text/html/HTMLEditorKit.java
4410         (write): Use HTMLWriter or MinimalHTMLWriter for writing
4411         HTML or Styled documents.
4413 2006-10-31  David Fu  <fchoong@netbeans.jp>
4415         * javax/swing/text/html/HTMLWriter.java: New class.
4417 2006-10-30  Roman Kennke  <kennke@aicas.com>
4419         * java/awt/dnd/DragSourceContext.java
4420         (dragExit): Use constant fields instead of 0.
4421         (updateCurrentCursor): Completed implementation.
4423 2006-10-30  Roman Kennke  <kennke@aicas.com>
4425         * java/awt/dnd/DragGestureRecognizer.java
4426         (resetRecognizer): Added API docs. Do not replace the events object
4427         but rather clear() it. Removed not implemented tag.
4429 2006-10-30  Roman Kennke  <kennke@aicas.com>
4431         * java/awt/datatransfer/DataFlavor.java
4432         (writeExternal): Remove not implemented tag.
4434 2006-10-30  Roman Kennke  <kennke@aicas.com>
4436         * java/awt/datatransfer/DataFlavor.java
4437         (javaFileListFlavor): Don't explicitly specify class.
4438         (plainTextFlavor): Don't explicitly specify class.
4439         (mimeType): Changed to type MimeType. Remove final.
4440         (representationClass): Remove final.
4441         (DataFlavor): Don't do anything here.
4442         (DataFlavor(Class,String,String)): Removed.
4443         (DataFlavor(Class,String)): Initialize here.
4444         (DataFlavor(String,String,ClassLoader)): Initialize in init().
4445         (DataFlavor(String,String)): Initialize in init().
4446         (DataFlavor(String)): Initialize in init().
4447         (init): New initialization method.
4448         (getMimeType): Delegate to MimeType.toString().
4449         (getParameter(String,String)): Removed. Is now done in MimeType.
4450         (getParameter(String)): Delegate to MimeType.
4451         (getPrimaryType): Delegate to MimeType.
4452         (getRepresentationClassFromMime): Removed.
4453         (getRepresentationClassFromMimeThrows): Removed.
4454         (getSubType): Delegate to MimeType.
4455         (hashCode): Take MimeType.toString() for the hashCode.
4456         (isFlavorRemoveObjectType): Return true only when representation
4457         class is remove and serializable and the mime type is remote.
4458         (isFlavorSerializedObjectType): Return true only when representation
4459         class is serializable and the mime type is serialized.
4460         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
4461         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
4462         (readExternal): Implemented stub method.
4463         (writeExternal): Implemented stub method.
4464         * java/awt/datatransfer/MimeType.java: New helper class.
4466 2006-10-28  Roman Kennke  <kennke@aicas.com>
4468         * javax/swing/TransferHandler.java
4469         (importData): Implemented stub method. Added API docs.
4471 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
4473         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
4474         function.
4475         * native/jni/classpath/classpath_jawt.h: Likewise.
4476         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
4477         initializer for surface_info_x11->depth.
4479 2006-10-26  Tania Bento  <tbento@redhat.com>
4480         
4481         * java/awt/FileDialog.java:
4482         (setFile): Changed if-clause condition.
4484 2006-10-25  Francis Kung  <fkung@redhat.com>
4486         * include/gnu_java_nio_VMChannel.h,
4487         * include/java_net_VMNetworkInterface.h,
4488         * include/gnu_java_nio_EpollSelectorImpl.h,
4489         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
4490         * include/gnu_java_nio_FileChannelImpl.h,
4491         * include/gnu_java_nio_KqueueSelectorImpl.h,
4492         * include/gnu_java_nio_VMPipe.h,
4493         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
4495 2006-10-25  Tania Bento  <tbento@redhat.com>
4497         * java/awt/Dialog.java: Created new private variable
4498         next_dialog_number.
4499         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
4500         Set cursor to default cursor.
4501         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
4502         Same.
4503         (generateName): New method.
4504         (getUniqueLong): New private method.
4505         * java/awt/FileDialog.java: Created new private variable
4506         next_file_dialog_number.
4507         (setFile): If file == "", set it to null.
4508         (generateName): New method.
4509         (getUniqueLong): New private method.
4511 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4513         * java/net/MulticastSocket.java:
4514         (setNetworkInterface): Rewritten.
4516 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4518         * native/jni/java-net/javanet.h: Added declaration for
4519         _javanet_create_inetaddress.
4520         * native/jni/java-net/javanet.c:
4521         (_javanet_create_inetaddress): Removed static keyword.
4523 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4525         * gnu/java/net/PlainDatagramSocketImpl.java:
4526         (connect): Use VMChannel instance for connect call.
4527         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
4528         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
4529         (setOption): Handle multicast options.
4530         (getOption): Handle multicast options.
4531         * gnu/java/net/PlainSocketImpl.java:
4532         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
4533         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
4534         (setOption): Filter unappropriate options.
4535         (getOption): Filter unappropriate options.
4536         (connect): Use given SocketAddress.
4537         (close): Reset address and port.
4538         (getInetAddress): 
4539         * include/Makefile.am: Removed all occurences of
4540         gnu_java_net_VMPlainDatagramSocketImpl.h.
4541         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
4542         * native/jni/java-net/Makefile.am: Removed
4543         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
4544         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
4545         Removed.
4546         as SocketException, declare to throw SocketException.
4547         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
4548         for SocketException and ConnectException.
4549         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
4550         of IOException.
4551         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
4552         of IOException.
4553         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
4554         (JCL_thread_interrupted): New function.
4555         (initIDs): Added initialisation for isThreadInterrupted method id.
4556         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
4557         CPNET_IP_TTL to java_sockopt enum.
4558         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
4559         case, handle SO_LINGER case properly.
4560         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
4561         case, handle SO_LINGER case properly.
4562         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
4563         function.
4564         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
4565         function.
4566         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
4567         function.
4568         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
4569         IPV6_LEAVE_GROUP.
4570         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
4571         * vm/reference/gnu/java/nio/VMChannel.java:
4572         (connect(int, byte[], int, int)): Declare to throw SocketException.
4573         (connect6): Declare to throw SocketException.
4574         (connect(InetSocketAddress, int)): Catch IOException and rethrow
4575         (isThreadInterrupted): New method.
4576         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
4577         field.
4578         (setTimeToLive): New method.
4579         (getTimeToLive): New method.
4580         (setMulticastInterface(int, InetAddress)): New method.
4581         (setMulticastInterface(int, int, Inet4Address): New method.
4582         (setMulticastInterface6(int, int, Inet6Address): New method.
4583         (setOptions): Handle SO_LINGER case.
4584         (getOptions): Add missing SO_REUSEADDR case.
4585         * java/net/Socket.java:
4586         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
4587         when exception was thrown out of connect().
4588         (setSoLinger): Replaced instantiations with valueOf calls, replaced
4589         Boolean.FALSE with Integer.valueOf(-1).
4590         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
4591         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
4592         * NEWS: Documented VM interface changes.
4594 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4596         * java/net/Inet6Address.java:
4597         (isMulticastAddress): Fixed check.
4599 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4601         Fixes PR29576
4602         * java/net/MulticastSocket.java:
4603         (getNetworkInterface): Return a special NetworkInterface instance
4604         if the socket's multicast interface is set to any.
4606 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4608         Fixes PR29576
4609         * java/net/NetworkInterface.java:
4610         (createAnyInterface): New method.
4611         (equals): Added if-statement to handle case where netif.name is null.
4612         * vm/reference/java/net/VMNetworkInterface.java:
4613         (hashCode): Rewritten.
4614         (VMNetworkInterface): New constructor.
4616 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4618         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4619         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4620         Add ASM_JAR to bootclasspath.
4622 2006-10-24  Tania Bento  <tbento@redhat.com>
4624         * java/awt/Scrollbar.java:
4625         (setLineIncrement): Removed unnecessary if-clause and if 
4626         lineIncrement == 0, then it should be set to 1, not 0.
4627         (setPageIncrement): Removed unnecessary if-clause and if
4628         pageIncrement == 0, then it should be set to 1, not 0.
4629         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4630         If maximum <= minimum, maximum should be set to mininum + 1. The
4631         actual value of maximum is maximum - visibleAmount, so I made 
4632         this change to the appropriate if-check. Remove the two unneccessary
4633         if-clauses.
4635 2006-10-23  Francis Kung  <fkung@redhat.com>
4637         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4638         (cairoSetFont): New method.
4639         (copy): Set font using setFont method.
4640         (setFont): Call cairoSetFont.
4641         (setup): Set font using setFont method.
4642         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4643         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4644         (install_font_peer): Removed.
4645         (cairoDrawGlyphVector): Removed call to install_font_peer.
4646         (cairoSetFont): New method.
4648 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4650         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4651         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4652         NativeEventLoopRunningEvent after GTK main loop start and stop.
4653         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4654         (getNextEvent): Set dispatchThread to null.
4655         (postEventImpl): Set nativeLoopRunning.
4656         (pop): Interrupt event dispatch thread.
4657         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4659 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4661         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4662         Added include.
4663         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4664         Likewise.
4666 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
4668         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4669         * javax/crypto/CipherOutputStream.java: Re-implemented.
4670         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4671         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4672         decryption mode and check if it is a complete block.
4673         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4674         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4675         partially processed data into account.
4677 2006-10-21  Tom Tromey  <tromey@redhat.com>
4679         PR classpath/29086:
4680         * java/util/AbstractCollection.java (toArray): Removed cast.
4682 2006-10-20  Tom Tromey  <tromey@redhat.com>
4684         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4685         Don't use mangled class name for .h file.
4686         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4687         Don't use mangled class name for .c file.
4688         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4689         Handle classes from the default package.
4691 2006-10-20  Francis Kung  <fkung@redhat.com>
4693         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4695 2006-10-19  Francis Kung  <fkung@redhat.com>
4697         PR 29510
4698         * java/awt/image/BufferedImage.java
4699         (constructor): Updated some properties of default image types.
4700         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4701         (argb32): Updated field to match default in BufferedImage.
4703 2006-10-18  Roman Kennke  <kennke@aicas.com>
4705         PR 29419
4706         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4707         (copyArea): Changed size comparison to return when size == 0
4708         too.
4709         * javax/swing/JViewport.java
4710         (paintBackingStore): Check width and height of blitted area
4711         and only do blit if its > 0.
4712         (paintBlit): Check width and height of blitted area
4713         and only do blit if its > 0.
4715 2006-10-18  Roman Kennke  <kennke@aicas.com>
4717         PR 27091
4718         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4719         (maximize): New native method.
4720         (unmaximize): New native method.
4721         (iconify): New native method.
4722         (deiconify): New native method.
4723         (getState): Implemented.
4724         (setState): Implemented.
4725         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4726         (oldState): Rename to windowState and made protected, so that
4727         the FramePeer can access it.
4728         (postWindowEvent): Handle state change events more gently and
4729         correctly.
4730         * java/awt/Frame.java
4731         (getState): Fetch state from getExtendedState().
4732         (setExtendedState): Update the peer. Check if the state change
4733         is actually supported.
4734         (getExtendedState): Update the state from the peer.
4735         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4736         (maximize): New method.
4737         (unmaximize): New method.
4738         (iconify): New method.
4739         (deiconify): New method.
4740         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4741         (AWT_FRAME_NORMAL): New macro.
4742         (AWT_FRAME_ICONIFIED): New macro.
4743         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4744         (window_window_state_cb): Rewritten to handle window state changes
4745         more gently (mostly on the java side of the world).
4746         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4748 2006-10-18  Tania Bento  <tbento@redhat.com>
4750         * java/awt/CardLayout.java:
4751         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4752         its height and width if Container passed as argument is null.
4753         (gotoComponent): Consider the case where the component is not visible.
4755 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4757         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4758         Rename file...
4759         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4760         New file.
4761         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4762         Remove file.
4763         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4764         Remove file.
4765         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4766         Likewise.
4767         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4768         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4769         Retrieve user-visible strings through Messages.getString.
4770         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4771         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4772         Likewise.
4773         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4774         Likewise.
4775         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4776         Likewise.
4777         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4778         Likewise.
4779         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4780         Likewise.
4781         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4782         Likewise.
4784 2006-10-18  Roman Kennke  <kennke@aicas.com>
4786         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4787         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4788         (window_show_cb): Removed unnecessary function.
4789         (connect_signals): Don't connect signal for show.  *
4790         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4791         (hasBeenShown): Removed. This is handled in java.awt.Window.
4792         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4793         in java.awt.Window.  * java/awt/Window.java
4794         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4796 2006-10-18  Francis Kung  <fkung@redhat.com>
4798         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4799         (drawRenderedImage):  New method.
4800         (drawImage): New method.
4801         (CairoSurfaceGraphics): Set clip.
4802         (createBuffer): New method.
4803         (getBufferCM): New method.
4804         (drawComposite): New method.
4805         (fill): New method.
4806         (getNativeCM): New method.
4807         (drawGlyphVector): New method.
4808         (draw): New method.
4809         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4810         (getNativeCM): Reflect renamed field.
4811         * gnu/java/awt/peer/gtk/CairoSurface.java
4812         (cairoCM_pre): Renamed from cairoColorModel.
4813         (cairoColorModel): Set premultiplication to false.
4815 2006-10-18  Roman Kennke  <kennke@aicas.com>
4817         PR 28769
4818         * javax/swing/JScrollPane.java
4819         (viewportBorder): Made field private.
4820         (wheelScrollingEnabled): Made field private.
4821         (JScrollPane): Enabled wheel scrolling by default.
4822         * javax/swing/JTree.java
4823         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4824         here.
4825         (getScrollableUnitIncrement): Fixed thinko.
4826         * javax/swing/plaf/basic/BasicScrollBarUI.java
4827         (static scrollByBlock): New static method to avoid code duplication
4828         for the BasicScrollPane wheel scrolling.
4829         (static scrollByUnits): New static method to avoid code duplication
4830         for the BasicScrollPane wheel scrolling.
4831         (scrollByBlock): Delegate to static helper method.
4832         (scrollByUnit): Delegate to static helper method.
4833         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4834         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4835         static helper methods to avoid code duplication.
4836         (MouseWheelHandler.bounds): Removed.
4837         (MouseWheelHandler.getValue): Removed.
4838         (MouseWheelHandler.scroll): Removed.
4840 2006-10-18  Roman Kennke  <kennke@aicas.com>
4842         PR 29502
4843         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4844         (updateComponent): Don't override this here.
4845         * java/awt/Window.java
4846         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4847         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4848         flag.
4849         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4850         flag.
4852 2006-10-18  Roman Kennke  <kennke@aicas.com>
4854         * javax/swing/JEditorPane.java
4855         (getStream): Try to detect and set the content type of the
4856         connection stream.
4858 2006-10-18  Roman Kennke  <kennke@aicas.com>
4860         * javax/swing/RepaintManager.java
4861         (RepaintWorkerEvent): Pass full set of params to super.
4862         (RepaintWorker.dispatch): Overridden to allow apps to call this
4863         via reflection.
4864         (addDirtyRegion): Synchronize a little more to protect the
4865         dirtyComponents field and avoid NPEs.
4866         (invokeLater): Pass full set of params to RepaintWorkerEvent
4867         constructor.
4869 2006-10-18  Roman Kennke  <kennke@aicas.com>
4871         * javax/swing/JEditorPane.java
4872         (page): Removed field. The page is now stored in the correct
4873         document property.
4874         (getPage): Fetch page URL from document property.
4875         (read): Set the document for this JEditorPane. Use a Reader
4876         for reading in the document.
4877         (setPage): Call getStream() to get the stream from which we read.
4878         Fire property change. Store page in document property.
4880 2006-10-18  Roman Kennke  <kennke@aicas.com>
4882         * java/awt/datatransfer/DataFlavor.java
4883         (DataFlavor(String)): Removed check for space in mime string.
4885 2006-10-18  Roman Kennke  <kennke@aicas.com>
4887         * java/awt/Container.java
4888         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4889         begin|endValidate().
4890         (validate): Call ContainerPeer.begin|endValidate() here.
4891         Added some local vars to avoid NPEs.
4893 2006-10-18  Roman Kennke  <kennke@aicas.com>
4895         * native/target/.cvsignore
4896         * native/target/Linux/.cvsignore
4897         * native/target/generic/.cvsignore:
4898         Added to let CVS ignore the generated Makefile and Makefile.in
4899         files.
4901 2006-10-18  Roman Kennke  <kennke@aicas.com>
4903         PR 29448
4904         * java/awt/Window.java
4905         (eventTypeEnabled): Overridden to handle WindowEvents.
4906         (processEvent): Switch between processWindowEvent(),
4907         processWindowFocusEvent() and processWindowStateEvent() here,
4908         rather than simply calling processWindowEvent().
4909         (processWindowEvent): Only dispatch event to listener, do not
4910         switch to processWindowFocusEvent() or processWindowStateEvent()
4911         here.
4912         * javax/swing/JFrame.java
4913         (frameInit): Explicitly enable window and key events here.
4914         (processWindowEvent): Throw out some unnecessary code.
4915         * javax/swing/JWindow.java
4916         (windowInit): Explicitly enable key events here.
4917         * javax/swing/JDialog.java
4918         (close_action): Renamed to closeAction.
4919         (dialogInit): Explicitly enable window events here.
4920         (getDefaultCloseOperation): Renamed close_action to closeAction.
4921         (processWindowEvent): Throw out some unnecessary code.
4922         Renamed close_action to closeAction.
4923         (setDefaultCloseOperation): Renamed close_action to closeAction.
4925 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4927         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4928         to track native GTK event loop status.
4929         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4930         clear running flag when native GTK event loop starts and stops.
4932 2006-10-17  Roman Kennke  <kennke@aicas.com>
4934         * javax/swing/TransferHandler.java
4935         (exportToClipboard): Implemented.
4937 2006-10-17  Francis Kung  <fkung@redhat.com>
4939         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4940         region to account for pixel-shifting.
4941         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4942         proctected.
4944 2006-10-17  Francis Kung  <fkung@redhat.com>
4946         PR 29450
4947         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4948         (getLogicalBounds): Translate individual glyphs before appending bounds.
4949         (getOutline): Translate individual glyphs before appending outline.
4951 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4953         PR 29014
4954         * java/awt/font/TextLayout.java
4955         (bidi): New field.
4956         (constructor): Store bidi in field.
4957         (getCharacterLevel): Implemented.
4959 2006-10-17  Roman Kennke  <kennke@aicas.com>
4961         * javax/swing/TransferHandler.java
4962         (PropertyTransferable): New inner class. Handles transfers
4963         from component properties.
4964         (createTransferable): Implemented.
4966 2006-10-17  Francis Kung  <fkung@redhat.com>
4968         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4969         (drawComposite): Ensure composite does not extend beyond buffer
4970         bounds.
4971         * java/awt/image/Raster.java
4972         (createChild): Ensure child does not extend beyond parent's
4973         bounds.
4974         * java/awt/image/WritableRaster.java
4975         (createWritableChild): Ensure child does not extend beyond
4976         parent's bounds.
4978 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4980         * native/jni/classpath/jcl.c
4981         (JNI_OnLoad): Corrected calling convention.
4983 2006-10-16  Roman Kennke  <kennke@aicas.com>
4985         * javax/swing/TransferHandler.java
4986         (propertyName): New field.
4987         (TransferHandler(String)): Store property name in field.
4988         (canImport): Implemented stub method.
4989         (exportDone): This is a no-op. Removed not-implemented mark.
4990         (getPropertyDataFlavor): New helper method.
4991         (getPropertyDescriptor): New helper method.
4993 2006-10-16  Roman Kennke  <kennke@aicas.com>
4995         * javax/swing/AbstractButton.java
4996         (AccessibleJButton.getAfterIndex): Implemented.
4997         (AccessibleJButton.getAtIndex): Implemented.
4998         (AccessibleJButton.getBeforeIndex): Implemented.
4999         (AccessibleJButton.getCharacterAttribute): Completed incomplete
5000         method implementation.
5002 2006-10-16  Roman Kennke  <kennke@aicas.com>
5004         * javax/swing/JLabel.java
5005         (AccessibleJLabel.getIndexAtPoint): Implemented.
5006         (AccessibleJLabel.getCharacterBounds): Implemented.
5007         (AccessibleJLabel.getTextRectangle): New helper method.
5009 2006-10-16  Roman Kennke  <kennke@aicas.com>
5011         * javax/swing/filechooser/FileSystemView.java
5012         (getFileSystemView): Mark as implemented.
5014 2006-10-14  Roman Kennke  <kennke@aicas.com>
5016         PR 27957
5017         * javax/swing/JComponent.java
5018         (toolTipText): Removed field.
5019         (createToolTip): Don't set tooltip text here. This is done
5020         in the ToolTipManager.
5021         (setToolTipText): Set tooltip text as client property.
5022         (getToolTipText): Get tooltip text from client property.
5023         * javax/swing/ToolTipManager.java
5024         (currentComponent): Made field non-static and of type JComponent.
5025         (currentPoint): Made field non-static.
5026         (currentTip): Made field non-static.
5027         (popup): Made field non-static.
5028         (toolTipText): New field. Stores the current tooltip text.
5029         (checkTipUpdate): New helper method. Checks for updates of
5030         the tooltip text and triggers the appropriate actions.
5031         (getContentPaneDeepestComponent): Removed unneeded casts.
5032         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
5033         text from component.
5034         (mouseMoved): Check for tooltip text updates.
5035         (showTip): Set tooltip text from current setting.
5037 2006-10-14  Roman Kennke  <kennke@aicas.com>
5039         PR 27956
5040         * javax/swing/JSlider.java
5041         (setPaintLabels): Call setLabelTable() instead of setting
5042         the field directly. This also updates the label's size.
5044 2006-10-13  Tom Tromey  <tromey@redhat.com>
5046         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
5047         method.
5049 2006-10-13  Tania Bento  <tbento@redhat.com>
5051         * java/awt/ScrollPane.java
5052         (setLayout): Should throw AWTError whenever called.
5054 2006-10-13  Roman Kennke  <kennke@aicas.com>
5056         PR 29448
5057         * java/awt/Component.java
5058         (dispatchEventImpl): Special handle ComponentReshapeEvents to
5059         update the AWT's knowledge about a component's size.
5060         * gnu/java/awt/ComponentReshapeEvent.java: New class.
5061         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
5062         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
5063         to update the AWT's knowledge about the component bounds.
5065 2006-10-13  Tania Bento  <tbento@redhat.com>
5067         * java/awt/ScrollPaneAdjustable.java
5068         (setMaximum): Should throw AWTError whenever called.
5069         (setMinimum): Same.
5070         (setVisibleAmount): Same.
5072 2006-10-13  Tania Bento  <tbento@redhat.com>
5074         * java/awt/ScrollPane.java
5075         (addImpl): When calling super, index should be value passed, 
5076         not -1.
5077         (getIsValidString): New helper method for paramString().
5078         (getScrollbarDisplayString): New helper method for paramString(). 
5079         (paramString): Changed format of outputted string.
5081 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
5083         * javax/swing/tree/DefaultTreeSelectionModel.java
5084         (clone): Added cast to TreePath[].
5086 2006-10-13  Roman Kennke  <kennke@aicas.com>
5088         PR 27780
5089         * javax/swing/JMenuItem.java
5090         (isDragging): New field. Indicates if we are inside a mouse
5091         drag.
5092         (createMenuDragMouseEvent): Removed unneeded method.
5093         (processMenuDragMouseEvent): Track if we are dragging.
5094         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
5095         * javax/swing/plaf/basic/BasicMenuItemUI.java
5096         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
5097         MenuSelectionManager from event.
5098         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
5099         MenuSelectionManager from event.
5100         (MenuDragMouseHandler.menuDragMouseExited): Fetch
5101         MenuSelectionManager from event.
5102         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
5103         release inside menu item, otherwise clear selection.
5104         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
5105         and getY(). Call doClick() rather than the doClick() of JMenuItem.
5106         (doClick): Perform an immediate click.
5108 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
5110         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
5111         return if object is not in the list.
5113 2006-10-12  Andrew Haley  <aph@redhat.com>
5115         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
5116         * java/lang/ThreadLocal.java: Likewise.
5118 2006-10-12  Roman Kennke  <kennke@aicas.com>
5120         PR 27956
5121         * javax/swing/JSlider.java
5122         (LabelUIResource): New inner class. A JLabel as UIResource.
5123         (createStandardLabels): Don't set label bounds here.
5124         Create LabelUIResource instances.
5125         (setInverted): Repaint.
5126         (setLabelTable): Update the label UIs. Revalidate and repaint.
5127         (setMajorTickSpacing): Update the label table. Repaint if
5128         necessary.
5129         (setMinorTickSpacing): Repaint if necessary.
5130         (setOrientation): Revalidate.
5131         (setPaintLabels): Revalidate and repaint.
5132         (setPaintTicks): Revalidate and repaint.
5133         (setPaintTrack): Repaint.
5134         (updateLabelUIs): Set the label sizes here.
5135         (updateUI): Also update the label UIs.
5136         * javax/swing/plaf/basic/BasicSliderUI.java
5137         (ComponentHandler.componentResized): Don't revalidate.
5138         (FocusHandler.focusGained): Don't set field.
5139         (FocusHandler.focusLost): Don't set field.
5140         (PropertyChangeHandler.propertyChange): Calculate geometry
5141         and repaint for a couple more properties.
5142         (TrackListener.mouseReleased): Repaint.
5143         (hasFocus): Removed unneeded field.
5144         (calculateContentRect): No need to check for content size < 0.
5145         (calculateFocusRect): Use insets from insetCache.
5146         (calculateLabelRect): Fixed calculation of label rectangle.
5147         It is relative to the tick rectangle, rather than the content
5148         rectangle.
5149         (calculateTickRect): Small restructuring to avoid unnecessary
5150         comparisons.
5151         (calculateTrackRect): Fixed calculation of track rectangle.
5152         (getMaximumSize): Fixed. Fetch preferred size and set
5153         the height of width to Short.MAX_VALUE.
5154         (getMinimumHorizontalSize): Fixed to return UIManager value.
5155         (getMinimumVerticalSize): Fixed to return UIManager value.
5156         (getPreferredHorizontalSize): Fixed to return UIManager value.
5157         (getPreferredVerticalSize): Fixed to return UIManager value.
5158         (getMinimumSize): Fixed to return the UIManager value plus
5159         insets added.
5160         (getPreferredSize): Fixed to return the UIManager value plus
5161         insets added.
5162         (getWidthOfWidestLabel): Restructured for more cleanness and
5163         efficiency.
5164         (hitClip): New helper method.
5165         (paintHorizontalLabel): Replaced by more efficient and clean
5166         implementation.
5167         (paintVerticalLabel): Replaced by more efficient and clean
5168         implementation.
5169         (paintLabels): Replaced by more efficient and clean
5170         implementation.
5171         (paint): Check if rectangles intersect with clip for maximum
5172         efficiency.
5173         (recalculateIfInsetsChanged): Fixed. This method should
5174         recalculate only when the insets changed.
5175         (setThumbLocation): Repaint with a reasonable clip.
5176         (xPositionForValue): Made more clean and efficient.
5177         (yPositionForValue): Made more clean and efficient.
5178         * javax/swing/plaf/basic/BasicLookAndFeel.java
5179         (initComponenDefaults): Added Slider.horizontalSize,
5180         Slider.verticalSize, Slider.minimumHorizontalSize and
5181         Slider.minimumVerticalSize properties.
5182         * javax/swing/plaf/metal/MetalSliderUI.java
5183         (getTickLength): Add 1 for horizontal sliders and 3 for
5184         vertical sliders.
5185         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
5186         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
5187         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
5188         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
5190 2006-10-12  Roman Kennke  <kennke@aicas.com>
5192         PR 28696
5193         * javax/swing/text/FlowView.java
5194         (FlowStrategy.layout): Preserve logical views from getting lost.
5195         (FlowStrategy.layoutRow): Fix line breaking.
5196         (FlowStrategy.adjustRow): Fix line breaking.
5197         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
5198         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
5199         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
5200         (createView): Don't check index.
5201         (contains): New helper method.
5202         (reparent): New helper method.
5203         (layoutDirty): Removed unneeded field.
5204         (FlowView): Removed layoutDirty field init.
5205         (changedUpdate): Removed layoutDirty handling.
5206         (insertUpdate): Removed layoutDirty handling.
5207         (removeUpdate): Removed layoutDirty handling.
5208         (layout): Use isLayoutValid() rather than the layoutDirty field.
5209         * javax/swing/text/GlyphView.java
5210         (startOffset): Removed.
5211         (endOffset): Removed.
5212         (offset): New field.
5213         (length): New field.
5214         (GlyphView): Initialize new fields. Removed old fields.
5215         (createFragment): Create fragment with new relative offsets.
5216         (getEndOffset): Work with new relative offsets.
5217         (getStartOffset): Work with new relative offsets.
5218         * javax/swing/text/ParagraphView.java
5219         (Row.getStartOffset): Overidden to determine the minimum start
5220         offset from the children.
5221         (Row.getEndOffset): Overidden to determine the maximum end
5222         offset from the children.
5223         * javax/swing/text/html/BRView.java
5224         Make subclass of InlineView.
5225         (getBreakWeight): Fall back to super for Y_AXIS.
5227 2006-10-12  Roman Kennke  <kennke@aicas.com>
5229         PR 28733
5230         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5231         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
5232         one that avoids faulty state that could cause division by zero
5233         error.
5235 2006-10-12  Roman Kennke  <kennke@aicas.com>
5237         PR 28057
5238         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5239         (paint): Determine correct icon. Added support for HTML label.
5240         Added small optimizations.
5241         (getPreferredSize): Only consider the buttons iconTextGap, and
5242         only when the text is not null.
5243         * javax/swing/plaf/basic/BasicLookAndFeel.java
5244         (initComponentDefaults): Fetch border for RadioButton from
5245         BasicButtons.getRadioButtonBorder().
5246         * javax/swing/plaf/metal/MetalRadioButtonUI.java
5247         (paintFocus): Paint focus rectangle one pixel smaller.
5249 2006-10-12  Roman Kennke  <kennke@aicas.com>
5251         PR 29418
5252         * javax/swing/tree/AbstractLayoutCache.java
5253         (getNodeDimensions): Don't throw InternalError, but instead
5254         return null.
5255         (getRowsForPaths): Check for null here.
5256         (isFixedRowHeight): Returns true when rowHeight > 0.
5257         (setSelectionModel): Set this as the row mapper for the selection
5258         model.
5259         * javax/swing/tree/VariableHeightLayoutCache.java
5260         (NodeRecord.NodeRecord): Initialize bounds field.
5261         (getBounds): Simply return the bounds field.
5262         (row2Node): Changed to be an ArrayList.
5263         (RECT_CACHE): New field. Caches a Rectangle instance.
5264         (countRows): Added y parameter and return value. The method
5265         now takes the current y position as parameter, and returns
5266         the updated y position.
5267         (getBounds): Fixed to return the correct bounds.
5268         (getPathForRow): Replaced by fixed implementation.
5269         (getPreferredHeight): Replaced by more efficient implementation.
5270         This simply fetches the last node record and returns its lower
5271         bounds.
5272         (getPreferredWidth): Added null check.
5273         (getVisibleChildCount): Added null check.
5274         (getVisiblePathsFrom): Added null check.
5275         (setExpandedState): Also expand the ancestors of the node
5276         to be expanded.
5277         (setModel): Set dirty flag rather than updating for real.
5278         (setNodeDimensions): Overridden to set the dirty flag.
5279         (setRowHeight): Overridden to set the dirty flag.
5280         (update): Don't special case the root here, this is done now
5281         in countRows().
5283 2006-10-12  Roman Kennke  <kennke@aicas.com>
5285         * javax/swing/JComponent.java
5286         (paintImmediately2): Added support for components which need
5287         to force themselves as paint root.
5288         (isPaintRoot): New method. This should be overridden by components
5289         which need to force themselves as paint root.
5290         * javax/swing/JViewport.java
5291         (isPaintRoot): Overridden to force the viewport as paint root
5292         when running in backingstore mode.
5294 2006-10-12  Roman Kennke  <kennke@aicas.com>
5296         * javax/swing/tree/DefaultTreeSelectionModel.java
5297         (PathPlaceHolder): New inner class. Wraps a path and its status
5298         wrt to its newness.
5299         (selectedPaths): New field. A supporting datastructure.
5300         (tmpPaths): New field. A supporting datastructure.
5301         (DefaultTreeSelectionModel): Initialize the list selection model,
5302         the leadIndex and the supporting datastructures.
5303         (addPropertyChangeListener): Create changeSupport object lazily.
5304         (addSelectionPaths): Mostly rewritten to handle the different
5305         selection modes correctly.
5306         (addSelectionPath): Delegate to addSelectionPaths().
5307         (arePathsContiguous): Replaced with more efficient implementation
5308         using BitSet
5309         (canPathBeAdded): Removed unneeded method.
5310         (canPathsBeAdded): Replaced with more efficient implementation.
5311         (clearSelection): Create correct event. Clear the fields correctly,
5312         including the supporting datastructures.
5313         (clone): Also clone the supporting datastructures and nullify
5314         changeSupport field.
5315         (getMaxSelectionRow): Delegate to list selection model.
5316         (getMinSelectionRow): Delegate to list selection model.
5317         (getPath): Removed unneeded method.
5318         (getPropertyChangeListeners): Handle null changeSupport field
5319         correctly.
5320         (getRow): Handle null rowMapper field correctly.
5321         (getSelectionRows): Handle invisible rows correctly.
5322         (insureRowContinuity): Replaced by more efficient and correct
5323         implementation.
5324         (isRowSelected): Delegate to list selection model.
5325         (notifyPathChange): Made more efficient by use of PathPlaceHolder
5326         class.
5327         (removePropertyChangeListener): Handle null changeSupport field.
5328         (removeSelectionPaths): Mostly rewritten to handle the different
5329         selection modes correctly.
5330         (removeSelectionPath): Delegate to removeSelectionPaths().
5331         (resetRowSelection): Handle list selection model.
5332         (selectOne): Removed unneeded field.
5333         (setRowMapper): Reset the row selection.
5334         (setSelectionMode): Check for invalid mode and set to
5335         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
5336         (setSelectionPaths): Mostly rewritten to handle the different
5337         selection modes correctly.
5338         (setSelectionPath): Delegate to setSelectionPaths().
5339         (updateLeadIndex): Made more efficient.
5341 2006-10-11  Francis Kung  <fkung@redhat.com>
5343         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
5344         (buffer, locked): New fields.
5345         (constructors): Initialize new variables.
5346         (createBuffer): New method.
5347         (draw): Implement custom composites.
5348         (drawComposite): New method.
5349         (drawGlyphVector): Implement custom composites.
5350         (drawImage): Implement custom composites.
5351         (drawRenderedImage): Implement custom composites.
5352         (fill): Implement custom composites.
5353         (getBufferCM): New method.
5354         (getNativeCM): New method.
5355         (updateBufferedImage): Fix premultiplication.
5356         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5357         (copy): Copy composite.
5358         (drawImage): Set background properly.
5359         (getBufferCM): New method.
5360         (setComposite): Reset alpha composite when using custom composite.
5361         * gnu/java/awt/peer/gtk/CairoSurface.java
5362         (cairoColorModel): New field.
5363         (nativeColorModel): Renamed.
5364         (constructor): Use renamed createCairoSampleModel method.
5365         (createCairoSampleModel): New method.
5366         (createNativeSampleModel): Renamed.
5367         (getBufferedImage): Use renamed cairoColorModel field.
5368         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
5369         (gdkColorModel): New field.
5370         (createGdkSampleModel): New method.
5371         (getPixels): Added comments.
5372         (getSnapshot): Use GDK colour and sample models.
5373         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
5374         (createBuffer): Use GDK colour and sample models.
5375         (getNativeCM): Added comments.
5376         * java/awt/image/BufferedImage.java
5377         (constructor): Set premultiplied flag properly.
5378         
5379 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
5381         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5382         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
5384 2006-10-10  Francis Kung  <fkung@redhat.com>
5386         PR 29372
5387         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5388         (createPath): Added isDraw parameter.
5389         (draw): Updated createPath call.
5390         (fill): Updated createPath call.
5392 2006-10-10  Tom Tromey  <tromey@redhat.com>
5394         PR classpath/29362:
5395         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
5396         there is a stylesheet.
5398 2006-10-10  Roman Kennke  <kennke@aicas.com>
5400         * java/awt/Toolkit.java
5401         (getDefaultTookit): Make method synchronized to avoid
5402         accidentally creating more than one toolkits from different
5403         threads.
5405 2006-10-10  Roman Kennke  <kennke@aicas.com>
5407         * java/awt/LightweightDispatcher.java
5408         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
5409         (redispatch): Transfer the button to the redispatched event.
5411 2006-10-10  Francis Kung  <fkung@redhat.com>
5413         * java/awt/image/ColorModel.java (coerceData): Implemented.
5415 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
5417         * vm/reference/java/lang/VMClassLoader.java:
5418         (defineClassWithTransformers): Use proper class name format.
5420 2006-10-09  Gary Benson  <gbenson@redhat.com>
5422         * java/net/ServerSocket.java
5423         (implAccept): Add security check.
5424         (accept): Close socket if security check fails.
5425         (setSocketFactory): Add security check and already-set check.
5427 2006-10-09  Roman Kennke  <kennke@aicas.com>
5429         PR 29325
5430         * javax/swing/JSplitPane.java
5431         (dividerLocation): New field. Stores the divider location.
5432         (JSplitPane): Initialize dividerLocation with -1.
5433         (addImpl): Removed unneeded local variables.
5434         (getDividerLocation): Manage dividerLocation in the JSplitPane
5435         class, not in the UI.
5436         (setDividerLocation): Manage dividerLocation in the JSplitPane
5437         class, not in the UI. Only call the UI method for notification.
5438         * javax/swing/plaf/basic/BasicSplitPaneUI.java
5439         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
5440         location from the JSplitPane. Honour the minimumSize, but only
5441         if the divider location hasn't been set explicitly.
5442         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
5443         statement.
5444         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
5445         statement.
5446         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
5447         the divider location.
5448         (dividerLocationSet): New field.
5449         (dividerLocation): Removed field.
5450         (createActionMap): Fetch and set divider location on the JSplitPane.
5451         (getDividerLocation): Return the actual real divider location.
5452         (getMaximumSize): Removed unneeded cast.
5453         (getPreferredSize): Removed unneeded cast.
5454         (getMinimumSize): Removed unneeded cast.
5455         (installUI): Initialize dividerLocationSet with false.
5456         (uninstallUI): Initialize dividerLocationSet with false.
5457         (setDividerLocation): Set dividerLocationSet to true.
5459 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
5461         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
5462         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
5463         convert jstring into char *.
5464         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
5465         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
5466         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
5467         (getif_address): Added const modifier to second argument.
5468         (getif_index): Dito.
5470 2006-10-09  Roman Kennke  <kennke@aicas.com>
5472         * javax/swing/JTree.java
5473         (isSelected): Added API docs.
5475 2006-10-09  Roman Kennke  <kennke@aicas.com>
5477         * javax/swing/JTree.java
5478         (isSelected): Delegate to the selection model directly.
5480 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
5482         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
5483         sizeof_struct_kevent to _sizeof_struct_kevent.
5485 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
5487         * tools/gnu/classpath/tools/rmic/RMICException.java:
5488         javadoc corrections, reformatted.
5490 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
5492         * gnu/java/lang/InstrumentationImpl.java:
5493         Made constructor package visible.
5495 2006-10-05  Gary Benson  <gbenson@redhat.com>
5497         * java/net/Socket.java
5498         (Socket): Perform security check on address not hostname.
5500 2006-10-04  Roman Kennke  <kennke@aicas.com>
5502         * javax/swing/tree/VariableHeightLayoutCache.java
5503         (getBounds): When rect is null, create a new Rectangle.
5505 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5507         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
5508         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
5509         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
5510         (cpnio_select): Use CPNIO_EXPORT.
5511         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
5512         inline instead of extern inline, as newer GCCs changed their
5513         behavior.
5515 2006-10-04  Gary Benson  <gbenson@redhat.com>
5517         * java/net/InetAddress.java: Updated javadoc.
5518         (<clinit>, getByLiteral): Throw InternalError on failures.
5520 2006-10-03  Francis Kung  <fkung@redhat.com>
5522         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5523         (compCtx): New field for composite context.
5524         (copy): Copy composite.
5525         (dispose): Dispose of composite context.
5526         (getNativeCM): New method.
5527         (setComposite): Discard old composite context and set up new context.
5528         (setRenderingHints): Update composite context.
5529         * gnu/java/awt/peer/gtk/CairoSurface.java
5530         (nativeColorModel): New field, renamed from nativeModel.
5531         (nativeModel): Renamed field to nativeColorModel.
5532         (CairoSurface(int, int)): Call new method to create sample model.
5533         (createNativeSampleModel): New method.
5534         (getBufferedImage): Updated variable name.
5535         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
5536         (buffer): New field.
5537         (createBuffer): New method.
5538         (draw): New method.
5539         (drawComposite): New method.
5540         (drawGlyphVector): New method.
5541         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
5542         (drawImage(Image, int, int, ImageObserver)): Check composite.
5543         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
5544         (fill): New method.
5545         (getNativeCM): New method.
5546         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
5547         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
5548         intermediary pixbuf to grab on-screen pixels.
5550 2006-10-03  Tom Tromey  <tromey@redhat.com>
5552         PR classpath/28987:
5553         * java/util/IdentityHashMap.java (tombstone): Removed.
5554         (emptyslot): Removed.
5555         (nullslot): New field.
5556         (IdentityHashMap): Don't fill array.
5557         (clear): Fill with null.
5558         (hash): Now final.  Use linear probing.
5559         (xform): New method.
5560         (unxform): Likewise.
5561         (removeAtIndex): Likewise.
5562         (clone, containsKey, containsValue, entrySet, get, hashCode,
5563         keySet, put, remove, values): Updated.
5564         (IdentityIterator, IdentityEntry): Likewise.
5565         (writeObject): Likewise.
5567 2006-10-03  Tom Tromey  <tromey@redhat.com>
5569         * java/util/Locale.java (hashcode): Updated javadoc.
5570         (hashcodeCache): Removed.
5571         (Locale): Updated.
5572         (hashCode): Updated.
5573         (writeObject): New method.
5574         (readObject): Updated.
5576 2006-10-02  Francis Kung  <fkung@redhat.com>
5578         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
5579         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
5580         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5581         (clearRect): Paint background colour with AlphaComposite.SRC rule.
5582         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
5583         pre-multiply data before drawing.
5584         (fillRect): Draw using regular fill() method.
5585         (setComposite): Handle null case with AlphaComposite.SrcOver default.
5586         * gnu/java/awt/peer/gtk/CairoSurface.java
5587         (nativeModel): Use correct value for alpha premultiplication (true).
5588         * java/awt/image/BufferedImage.java
5589         (coerceData): Update isPremultiplied field.
5591 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5593         * gnu/classpath/ListenerData.java:
5594         New class for holding listener data.
5595         * gnu/java/lang/management/MemoryMXBeanImpl.java:
5596         ListenerData class moved to its own file.
5597         * javax/management/MBeanServerDelegate.java,
5598         * javax/management/MBeanServerDelegateMBean.java,
5599         * javax/management/MBeanServerNotification.java:
5600         Implemented.
5602 2006-10-02  Tania Bento  <tbento@redhat.com>
5604         * java/ast/Rectangle.java:
5605         (Rectangle(Rectangle)): Do not throw NPE.
5606         (Rectangle(Point, Dimension)): Same.
5607         (Rectangle(Point)): Same.
5608         (Rectangle(Dimension)): Same.
5610 2006-09-29  Casey Marshall  <csm@gnu.org>
5612         PR 29190
5613         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5614         `AbstractSelectionKey.'
5615         (cancel, isValid): removed.
5616         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5617         (events): new field.
5618         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5619         fields.
5620         (<clinit>): initialize those constants.
5621         (<init>): don't initialize `cancelledKeys;' initialize `events.'
5622         (doSelect): deregister cancelled keys; remove keys attached to
5623         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5624         `events' buffer; reallocate `events' buffer if needed.
5625         (register): reallocate `events' buffer if needed.
5626         (reallocateBuffer): new method.
5627         (cancel): removed.
5629 2006-09-29  Roman Kennke  <kennke@aicas.com>
5631         PR 28929
5632         * javax/swing/JViewport.java
5633         (cinit): Renamed system property to gnu.swing.scrollmode
5634         to avoid bloat. Default to BACKINGSTORE, this is much
5635         more reliable.
5636         (repaint): Forward repaint() to parent as is specified.
5638 2006-09-29  Tania Bento  <tbento@redhat.com>
5640         * javax/swing/plaf/basic/BasicTableUI.java
5641         (getPreferredSize): The number of iterations for the for-loop should be
5642         the number of columns in the table's column model, not the number of
5643         columns of the table.
5644         * javax/swing/JTable.java
5645         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5646         lines that are not needed.
5647         (initializeLocalVars): dragEnabled should be set to false, not true.
5648         (getCellRenderer): Added a check to prevent an
5649         ArrayIndexOutOfBoundsException.
5650         (doLayout): The number of iterations for the for-loops should be the
5651         number of columns in the table's column model, not the number of columns
5652         of the table.
5654 2006-09-29  Roman Kennke  <kennke@aicas.com>
5656         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5657         API docs.
5658         (isOptimized): Initialize with true.
5659         (paintRaster): Removed unneeded field.
5660         (shapeCache): New static field. Caches certain shapes for reuse.
5661         (computeIntersection): Removed unneeded casts.
5662         (drawArc): Use shape cache.
5663         (drawImage): Removed unneeded statement.
5664         (drawLine): Use shape cache. Pass untranslated coordinates
5665         to rawDrawLine().
5666         (drawOval): Use shape cache.
5667         (drawPolygon): Use shape cache.
5668         (drawRect): Overridden to provide accelerated rectangle drawing
5669         if possible and to use the shape cache.
5670         (drawRoundRect): Use shape cache.
5671         (fillArc): Use shape cache.
5672         (fillOval): Use shape cache.
5673         (fillPolygon): Use shape cache.
5674         (fillRect): Pass untranslated coordinates to rawFillRect().
5675         Use shape cache.
5676         (fillRoundRect): Use shape cache.
5677         (fillScanlineAA): Removed unneeded statement.
5678         (fillScanline): Updated API docs.
5679         (fillShapeAntialias): Removed unnecessary cast.
5680         (fillShapeImpl): Update API docs. Removed unnecessary cast.
5681         (fillShape): Updated API docs.
5682         (getShapeCache): New helper method.
5683         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5684         certain shapes for reuse in AbstractGraphics2D.
5686 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5688         * javax/management/BadBinaryOpValueExpException.java:
5689         (getExp()): Implemented.
5690         * javax/management/MBeanConnection.java:
5691         Renamed to MBeanServerConnection.
5692         * javax/management/MBeanServer.java:
5693         (setAttribute(Attribute)): Fixed...
5694         (setAttribute(ObjectName,Attribute)): to this.
5695         * javax/management/MBeanServerConnection.java:
5696         Renamed from MBeanConnection.
5697         * javax/management/QueryExp.java:
5698         Extend Serializable.
5699         * javax/management/ValueExp.java:
5700         Likewise.
5701         * javax/management/loading/ClassLoaderRepository.java:
5702         (loadClass(String)): Throw ClassNotFoundException.
5703         (loadClassBefore(ClassLoader,String)): Likewise.
5704         (loadClassWithout(String, ClassLoader): Fixed...
5705         (loadClassWithout(ClassLoader,String)): to this.
5706         
5707 2006-09-28  Roman Kennke  <kennke@aicas.com>
5709         * javax/swing/tree/DefaultTreeCellRenderer.java
5710         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5711         property from UIManager.
5712         (paint): Rewritten to use super's implementation and only paint
5713         background and focus indicator before.
5714         (paintFocus): New helper method.
5715         (getXOffset): New helper method.
5717 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5718         
5719         * javax/management/BadBinaryOpValueExpException.java,
5720         * javax/management/MBeanConnection.java,
5721         * javax/management/MBeanServer.java,
5722         * javax/management/ObjectInstance.java:
5723         Implemented.
5724         * javax/management/ObjectName.java:
5725         (setMBeanServer(MBeanServer)): Implemented.
5726         * javax/management/QueryExp.java,
5727         * javax/management/ValueExp.java,
5728         * javax/management/loading/ClassLoaderRepository.java:
5729         Implemented.
5731 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5733         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5735 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5737         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5738         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5739         * gnu/java/nio/EpollSelectorImpl.java:
5740         (doSelect): Use Integer.valueOf() instead of constructor call.
5741         (register): Use Integer.valueOf() instead of constructor call.
5743 2006-09-27  Roman Kennke  <kennke@aicas.com>
5745         * java/awt/Container.java
5746         (addContainerListener): Activate newEventsOnly for the component.
5747         Ignore null listeners.
5749 2006-09-27  Roman Kennke  <kennke@aicas.com>
5751         * java/awt/EventQueue.java
5752         (Queue): New inner class. Implements the actual queue.
5753         (LOW_PRIORITY): New constant field.
5754         (NORM_PRIORITY): New constant field.
5755         (queueHead): Removed. Moved into Queue.
5756         (queueTail): Removed. Moved into Queue.
5757         (queues): New field.
5758         (EventQueue): Initialize two internal queues, one for
5759         normal events, one for low priority events.
5760         (getNextEventImpl): New helper method, fetches the next event.
5761         (getNextEvent): Use getNextEventImpl() for fetching the event.
5762         (peekEvent): Use getNextEventImpl() for fetching the event.
5763         (peekEvent(int)): Search for event in all queues.
5764         (postEventImpl(AWTEvent)): Moved actual posting into
5765         postEventImpl(AWTEvent,int). Prioritize events here.
5766         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5767         event into correct queue. Re-enable event coalescing.
5768         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5769         * javax/swing/RepaintManager.java
5770         (RepaintWorkerEvent): New internal class. This is a low priority
5771         event for the repaint worker.
5772         (addDirtyRegion): Use new internal invokeLater() for sending
5773         a low priority event.
5774         (addInvalidComponent): Use new internal invokeLater() for sending
5775         a low priority event.
5776         (commitBuffer): Added some null checks.
5777         (invokeLater): New helper method. Sends a low priority
5778         repaint worker event on the event queue.
5780 2006-09-27  Roman Kennke  <kennke@aicas.com>
5782         PR 29036
5783         PR 29161
5784         * javax/swing/plaf/basic/BasicButtonUI.java
5785         (cachedInsets): New field.
5786         (installListeners): Fire synthetic property change to initialize
5787         TEXT_LAYOUT_CACHE for the button because the font has been
5788         installed before.
5789         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5790         (paint): Use cached insets.
5791         (paintText): Let new method forward to old one, not vice versa.
5792         * javax/swing/plaf/basic/BasicMenuItemUI.java
5793         (defaultAcceleratorLabelGap): Removed unused field.
5794         (MenuGap): Removed unused field.
5795         (propertyChangeListener): Made private.
5796         (getAcceleratorRect): Removed unused method.
5797         (getAcceleratorText): Removed unused method.
5798         (getPath): Removed unnecessary cast.
5799         (installListeners): Fire synthetic property change to initialize
5800         TEXT_LAYOUT_CACHE for the button because the font has been
5801         installed before.
5802         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5803         (layoutMenuItem): Removed unused statements.
5804         
5805 2006-09-27  Roman Kennke  <kennke@aicas.com>
5807         PR 29218
5808         * javax/swing/tree/DefaultTreeModel.java
5809         (isLeaf): Check if the node allows children when
5810         asksAllowsChildren is true, otherwise fall back
5811         to return the node's leaf property.
5813 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5815         * scripts/check_jni_methods.sh: removed methods from the
5816         ignore list:
5817         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5818         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5819         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5820         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5821         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5822         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5823         to better follow the GNU style.
5824         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5825         regenerated header file for GConfNativePeer.
5827 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5829         * INSTALL: Added information about grmic being built when ASM
5830         is available, added information about gconf dependency, indented
5831         Qt4 dependency section.
5832         * configure.ac: Added information about grmic being built when ASM
5833         is available.
5835 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5837         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5838         DeleteGlobalRef on a local ref.
5840 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5842         * scripts/check_jni_methods.sh: added two new methods in the
5843         ignore list:
5844         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5845         and
5846         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5847         * native/jni/gconf-peer/GConfNativePeer.c:
5848         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5849         refacored method name, renamed from
5850         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5851         Added code to unescape escaped GConf key names.
5852         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5853         refacored method name, renamed from
5854         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5855         Added code to unescape escaped GConf key names.
5856         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5857         new function.
5858         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5859         new function.
5860         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5861         version javadoc tag.
5862         (escapeString): new method.
5863         (unescapeString): likewise.
5864         (gconf_escape_key): new native method.
5865         (gconf_unescape_key): likewise.
5866         (gconf_client_suggest_sync): update native method signature, now
5867         explicity throws BackingStoreException.
5868         (gconf_client_all_nodes): update native method signature, now
5869         explicity throws BackingStoreException. Refactored method name,
5870         renamed from gconf_client_gconf_client_all_nodes.
5871         (gconf_client_all_keys): update native method signature, now
5872         explicity throws BackingStoreException. Refactored method name,
5873         renamed from gconf_client_gconf_client_all_keys.
5874         (getKeys): refactored to use the new method name
5875         gconf_client_all_keys.
5876         (getChildrenNodes): refactored to use the new method name
5877         gconf_client_all_nodes.
5878         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5879         version javadoc tag.
5880         (GConfBasedPreferences): Added code to escape node names from
5881         invalid characters so that GConf now accept invalid node names.
5882         (GConfBasedPreferences): Moved code to register the current
5883         node to the list of nodes watched by GConf outside the constructor.
5884         (childSpi): Added code to register the current node to the
5885         list of nodes watched by GConf.
5886         (getGConfKey): Added code to escape key names from
5887         invalid characters so that GConf now accept invalid key names.
5889 2006-09-26  Tom Tromey  <tromey@redhat.com>
5891         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5892         call mkdirs in output-directory case.
5893         (getPrintStream): Create output directory.
5894         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5895         Don't call mkdirs.
5897 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5899         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5900         Accept three additional arguments.
5901         (writePreambleImpl): New method.
5902         (getPrintStreamImpl): Likewise.
5903         (printClass): Adapted to use new methods in Printer superclass.
5904         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5905         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5906         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5907         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5908         (force): Likewise.
5909         (getParser): Add support for -o option.
5910         Check that only one of -d or -o is defined.
5911         Add support for -jni option.
5912         Add support for -force option.
5913         (makeOutputFile): New method.
5914         (writeHeaders): Removed File argument from signature.
5915         (run): Take into account newly added fields.
5916         Invoke concrete PrintStream implementations with augmented constructors.
5917         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5918         (isDirectory): Likewise.
5919         (force): Likewise.
5920         (wrotePreamble): Likewise.
5921         (Printer): Changed ctor to accept three additional arguments.
5922         (printClass): Changed signature to accept one ClassWrapper argument.
5923         (writePreambleImpl): New abstract method.
5924         (getPrintStreamImpl): Likewise.
5925         (getPrintStream): New method.
5926         (writePreamble): Likewise.
5928 2006-09-26  Tania Bento  <tbento@redhat.com>
5930         * java/awt/GridLayout.java
5931         (toString): There is no common before hgap.
5932         * java/awt/Rectangle.java
5933         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5934         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5935         Rectangle is null.
5936         (Rectangle(Point)): Throw NPE if Point is null.
5937         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5939 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5941         * javax/swing/plaf/metal/MetalIconFactory.java
5942         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5943         returned by getShift(),
5944         (FileIcon16.getShift): Updated API docs,
5945         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5946         returned by getShift(),
5947         (FolderIcon16.getShift): Updated API docs,
5948         (TreeFolderIcon.getShift): Likewise,
5949         (TreeLeafIcon.getShift): Likewise.
5951 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5953         * javax/swing/plaf/metal/MetalIconFactory.java
5954         (FileIcon16.paintIcon): Fetch colors from look and feel,
5955         (FolderIcon16.paintIcon): Likewise.
5957 2006-09-25  Casey Marshall  <csm@gnu.org>
5959         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5960         `readScattering.'
5961         (write): revert back to using `writeGathering.'
5962         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5963         the first buffer that has data remaining, and start at that one.
5965 2006-09-25  Tom Tromey  <tromey@redhat.com>
5967         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5968         variable.
5970 2006-09-25  Tom Tromey  <tromey@redhat.com>
5972         * tools/.cvsignore: Updated.
5974 2006-09-25  Tom Tromey  <tromey@redhat.com>
5976         PR libgcj/29178:
5977         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5978         (Encoder.canEncode): Likewise.
5979         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5980         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5981         method.
5982         (Encoder.canEncode): Likewise.
5983         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5984         method.
5985         (Encoder.canEncode): Likewise.
5987 2006-09-25  Tom Tromey  <tromey@redhat.com>
5989         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5990         (Balloc): Updated.
5992 2006-09-25  Francis Kung  <fkung@redhat.com>
5994         * java/awt/image/ColorModel.java
5995         (coerceData): Made abstract.
5996         (coerceDataWorker): New protected method.
5997         * java/awt/image/ComponentColorModel.java
5998         (coerceData): Return new instance of proper ColorModel.
5999         * java/awt/image/DirectColorModel.java
6000         (coerceData): Return new instance of proper ColorModel.
6001         * java/awt/image/IndexColorModel.java
6002         (coerceData): New method.
6004 2006-09-24  Casey Marshall  <csm@gnu.org>
6006         * gnu/java/nio/FileChannelImpl.java
6007         (read): call `read' in a loop, don't use `readScattering.'
6008         (write): call `write' in a loop, don't use `writeGathering.'
6010 2006-09-24  Mark Wielaard  <mark@klomp.org>
6012         * configure.ac: Move -pedantic from WARNING to STRICT flags.
6014 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
6016         * java/nio/channels/spi/AbstractSelectableChannel.java
6017         (register): Set interestOps and attachment when the key already
6018         exists.
6020 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
6022         * java/net/ServerSocket.java
6023         (bind(SocketAddress,int)): Added support for null address.
6024         Throw proper exception if already bound.
6025         Handle unresolved addresses correctly. Ignore exceptions that
6026         happen during close in error path (to prevent losing the original
6027         exception.)
6029 2006-09-24  Mark Wielaard  <mark@klomp.org>
6031         Suggested by Aaron M. Ucko <ucko@debian.org>
6032         Fixes bug #29203
6033         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
6035 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
6037         * java/nio/channels/spi/AbstractSelectableChannel.java
6038         (implCloseChannel): Cancel all keys after closing the channel.
6040 2006-09-22  Casey Marshall  <csm@gnu.org>
6042         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
6043         after we delete them.
6044         (selectedKeys): return an empty set if nothing's been selected.
6045         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
6046         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
6047         throw an exception on EBADF.
6048         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
6049         throw exception on EINTR, just return 0.
6050         
6051 2006-09-22  Casey Marshall  <csm@gnu.org>
6053         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
6054         remove `const' from `filename.'
6055         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
6056         `filename.'
6057         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
6059 2006-09-22  Casey Marshall  <csm@gnu.org>
6061         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
6062         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
6063         allocate `filename,' and handle changes to `cpio_readDir.'
6064         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
6065         available; copy the filename into the destination buffer; return
6066         an error code if readdir returns NULL, but errno is 0.
6067         * native/jni/native-lib/cpio.h (cpio_readDir): change second
6068         parameter to `const char *.'
6070 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6072         * javax/management/ObjectName.java:
6073         Implemented.
6074         
6075 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6077         * resource/gnu/classpath/tools/orbd: New directory.
6078         * resource/gnu/classpath/tools/rmic: Likewise.
6079         * resource/gnu/classpath/tools/rmid: Likewise.
6080         * resource/gnu/classpath/tools/rmiregistry: Likewise.
6081         * resource/gnu/classpath/tools/tnameserv: Likewise.
6082         * tools/gnu/classpath/tools/giop: Move contents to...
6083         * tools/gnu/classpath/tools/orbd,
6084         tools/gnu/classpath/tools/tnameserv: New directories.
6085         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
6086         * tools/gnu/classpath/tools/rmic: New directory.
6087         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
6088         * tools/gnu/classpath/tools/rmid: New directory.
6089         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
6090         * tools/gnu/classpath/tools/rmiregistry: New directory.
6091         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
6092         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
6093         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
6094         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
6095         Likewise.
6096         * resource/gnu/classpath/tools/tnameserv/messages.properties:
6097         Likewise.
6098         * tools/gnu/classpath/tools/orbd/Main.java,
6099         tools/gnu/classpath/tools/orbd/Messages.java,
6100         tools/gnu/classpath/tools/orbd/PersistentContext.java,
6101         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
6102         tools/gnu/classpath/tools/orbd/PersistentMap.java,
6103         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
6104         tools/gnu/classpath/tools/rmic/CompilationError.java,
6105         tools/gnu/classpath/tools/rmic/Generator.java,
6106         tools/gnu/classpath/tools/rmic/GiopIo.java,
6107         tools/gnu/classpath/tools/rmic/HashFinder.java,
6108         tools/gnu/classpath/tools/rmic/Main.java,
6109         tools/gnu/classpath/tools/rmic/Messages.java,
6110         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
6111         tools/gnu/classpath/tools/rmic/RMICException.java,
6112         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
6113         tools/gnu/classpath/tools/rmic/RmicBackend.java,
6114         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
6115         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
6116         tools/gnu/classpath/tools/rmic/Variables.java,
6117         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
6118         tools/gnu/classpath/tools/rmic/templates,
6119         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
6120         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
6121         tools/gnu/classpath/tools/rmid/Main.java,
6122         tools/gnu/classpath/tools/rmid/Messages.java,
6123         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
6124         tools/gnu/classpath/tools/rmiregistry/Main.java,
6125         tools/gnu/classpath/tools/rmiregistry/Messages.java,
6126         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
6127         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
6128         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
6129         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
6130         tools/gnu/classpath/tools/tnameserv/Main.java,
6131         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
6132         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
6133         RMIC.java from cp-tools.
6134         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
6135         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
6136         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
6137         and grmic.
6138         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
6139         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
6140         Rename...
6141         (start): New method.
6142         * tools/Makefile.am: Add build support for new tool wrappers.
6143         * tools/gorbd.in: New file.
6144         * tools/grmic.in: Likewise.
6145         * tools/grmid.in: Likewise.
6146         * tools/grmiregistry.in: Likewise.
6147         * tools/gtnameserv.in: Likewise.
6148         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
6149         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
6150         file.
6151         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
6152         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
6153         * tools/gnu/classpath/tools/common/Persistent.java: New file.
6155 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6157         Fixes bug #29047
6158         * gnu/java/util/regex/RETokenRepeated.java
6159         (findMatch): Rewriten without using recursive calls,
6160         (FindMatchControlStack): New class,
6161         (FindMatchControl): New class,
6162         (TryAnotherResult): New class,
6163         (tryAnother): New method.
6165 2006-09-22  Gary Benson  <gbenson@redhat.com>
6167         * java/net/SocketPermission.java
6168         (processHostport): Cope with IPv6 addresses with a
6169         one-digit first component.
6171 2006-09-22  Roman Kennke  <kennke@aicas.com>
6173         * java/awt/Component.java
6174         (enableEvents): Set newEventsOnly flag.
6175         * java/awt/Container.java
6176         (dispatchEventImpl): Consume event if lightweight dispatcher
6177         dispatched the event. Don't call processEvent() here, this
6178         is already done in Component.dispatchEventImpl(). For
6179         heavyweights or when the lightweight dispatcher could
6180         not dispatch, fall back to calling super.
6181         (dispatchNoLightweight): New helper method to avoid
6182         recursivly calling the lightweight dispatcher.
6183         * java/awt/LightweightDispatcher.java
6184         (dragButton): Removed field.
6185         (dragTarget): Removed field.
6186         (mouseEventTarget): New field.
6187         (convertPointToChild): Removed method.
6188         (dispatchEvent): Don't depend on component beeing
6189         a window.
6190         (findTarget): Improved algorithm for finding a target.
6191         Before we went down to the deepest component and went
6192         up again to find a suitable target. Now we go
6193         down only once, without going up.
6194         (handleMouseEvent): Broke method down into some smaller
6195         helper methods.
6196         (isDragging): New helper method.
6197         (isMouseListening): New helper method.
6198         (redispatch): New helper method.
6199         (trackEnterExit): New helper method.
6201 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
6203         * javax/swing/SizeSequence.java
6204         (getSize): Return 0 if index is out of bounds.
6206 2006-09-21  Tom Tromey  <tromey@redhat.com>
6208         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
6209         (PathOptionGroup): Make -I a joined option.
6210         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
6211         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
6212         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
6213         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
6214         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
6215         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
6216         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
6217         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
6218         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
6219         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
6220         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
6221         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
6222         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
6223         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
6224         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
6225         * tools/gnu/classpath/tools/jar/Main.java: Updated.
6226         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
6227         * tools/gnu/classpath/tools/javah/Main.java: Updated.
6228         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
6229         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
6230         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
6231         unused entries.
6232         * resource/gnu/classpath/tools/common/Messages.properties: New file.
6233         * tools/gnu/classpath/tools/common/Messages.java: New file.
6234         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
6235         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
6236         from getopt.
6237         (ClasspathToolParser): Add -J option here.
6238         (ClasspathToolParser): Call other constructor in this class.
6239         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
6240         Handle joined options.
6241         (handleShortOptions): Likewise.
6242         (handleShortOption): Removed.
6243         (finalGroup): New field.
6244         (Parser): Initialize new field.  Don't add -J option.
6245         (addFinal): New method.
6246         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
6247         isJoined.
6248         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
6249         (Option): Check short option for validity.
6250         (Option): New constructors.
6251         (joined): New field.
6253 2006-09-21  csm  <csm@pollux.local>
6255         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
6256         `InterruptedIOException;' try again if it gets thrown.
6257         (receive): likewise, but re-throw `SocketTimeoutException.'
6258         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
6259         if we have nothing to select.
6261 2006-09-21  Francis Kung  <fkung@redhat.com>
6263         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
6264         (getLogicalBounds): Respect glyph transformations.
6265         (getGlyphOutline): Added null pointer check.
6266         (getGlyphTransform): Do not generate identity transform (API permits null).
6267         (setGlyphPosition): Do not invalidate transform.
6268         (setGlyphTransform): Do not modify glyph position.
6270 2006-09-21  Francis Kung  <fkung@redhat.com>
6272         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
6274 2006-09-21  Francis Kung  <fkung@redhat.com>
6276         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
6277         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
6278         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
6280 2006-09-21  Tania Bento  <tbento@redhat.com>
6282         * javax/swing/JTabbedPane.java:
6283         (insertTab): Notify ChangeListeners if the tab inserted is selected.
6284         (setModel): A ChangeListener should be created only if there does not 
6285         currently exist one.
6287 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
6289         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6290         (MaximizeAction.actionPerformed): Change icon on maxButton.
6292 2006-09-21  Roman Kennke  <kennke@aicas.com>
6294         * javax/swing/plaf/basic/BasicScrollPaneUI.java
6295         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
6296         Use more efficient getViewPosition() and getViewSize() methods
6297         to avoid creating a rectangle.
6298         (HSBChangeListener.stateChanged): Update the view position
6299         unconditionally. Let the Viewport figure out if something
6300         changed.
6301         (VSBChangeListener.stateChanged): Update the view position
6302         unconditionally. Let the Viewport figure out if something
6303         changed.
6304         * javax/swing/JViewport.java
6305         (ViewListener.componentResized): Fire state change, because
6306         the extentSize changes.
6307         (extentSize): Removed unneeded field.
6308         (viewSize): Removed unneeded field.
6309         (getExtentSize): Return the viewport's size here.
6310         (getViewRect): Reformatted.
6311         (getViewSize): Reordered for only one return statement.
6312         (paintImmediately2): Fixed up javadoc.
6313         (paint): Removed unneeded statement.
6314         (setExtentSize): Set viewport size and check for actual change
6315         of value.
6316         (setViewPosition): Simplified condition. Set scrollUnderway
6317         true and don't set isViewSizeSet. Avoid creating one Point
6318         object.
6319         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
6320         to false.
6321         * javax/swing/JScrollBar.java
6322         (ScrollBarListener): New class. Forwards change events from
6323         the model as adjustment events.
6324         (sbChangeListener): New field.
6325         (JScrollBar): Install listener on new model.
6326         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
6327         method.
6328         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
6329         method to allow custom isAdjusting value.
6330         (setMaximum): Only forward to model.
6331         (setMinimum): Only forward to model.
6332         (setValue): Only forward to model.
6333         (setVisibleAmount): Only forward to model.
6334         (setValues): Only forward to model.
6335         (setModel): Update the change listener.
6337 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6339         * java/util/Formatter.java (basicIntegralConversion): Removed 
6340         check for ZERO && !LEFT_JUSTIFY.
6341                 
6342 2006-09-20  Roman Kennke  <kennke@aicas.com>
6344         PR 29036
6345         * javax/swing/plaf/metal/DefaultMetalTheme.java
6346         (PLAIN_CONTROL_TEXT_FONT): New constant field.
6347         (BOLD_CONTROL_TEXT_FONT): New constant field.
6348         (PLAIN_MENU_TEXT_FONT): New constant field.
6349         (BOLD_MENU_TEXT_FONT): New constant field.
6350         (controlTextFont): Removed.
6351         (menuTextFont): Removed.
6352         (CONTROL_TEXT_FONT): New constant field.
6353         (MENU_TEXT_FONT): New constant field.
6354         (getControlTextFont): Use getFont() helper method for fetching
6355         the correct font.
6356         (getMenuTextFont): Use getFont() helper method for fetching
6357         the correct font.
6358         (getFont): New helper method.
6359         (isBoldMetal): New helper method.
6361 2006-09-20  Casey Marshall  <csm@gnu.org>
6363         * NEWS: mention epoll selector along with the kqueue one.
6365 2006-09-20  Casey Marshall  <csm@gnu.org>
6367         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
6368         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
6370 2006-09-20  Francis Kung  <fkung@redhat.com>
6372         PR 29011
6373         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
6374         (getGlyphTransform): Use translation instead of scale.
6375         (performDefaultLayout): Increment position values instead of resetting, and
6376         pre-increment instead of post-increment.
6377         (setGlyphTransform): Handle null case with identity transform.
6379 2006-09-20  Casey Marshall  <csm@gnu.org>
6381         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
6382         (AC_CHECK_FUNCS): check for `epoll_create.'
6383         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
6384         * gnu/java/nio/EpollSelectorImpl.java: new file.
6385         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
6386         field.
6387         (openSelector): return epoll selector if requested and available.
6388         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
6389         (gnu_java_nio_EpollSelectorImpl.h): new target.
6390         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
6391         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
6392         gnu_java_nio_EpollSelectorImpl.c.
6393         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
6395 2006-09-20  Casey Marshall  <csm@gnu.org>
6397         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
6398         call `isConnected.'
6399         (isConnected): return false if `connectionPending' is true.
6401 2006-09-20  Francis Kung  <fkung@redhat.com>
6403         PR 29011
6404         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
6405         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
6406         (getGlyphOutline): Call getGylphTransform to generate transform.
6407         (getGylphPosition): Read position directly out of array.
6408         (getGlyphPositions): Read positions directly out of array.
6409         (getGlyphTransform): Generate transform based on gylphPositions array.
6410         (performDefaultLayout): Populate glyphPositions array instead of transforms.
6411         (setGlyphPosition): Set position directly into array.
6412         (setGlyphTransform): Update positions array as well.
6414 2006-09-20  David Daney  <ddaney@avtrex.com>
6416         PR classpath/28661
6417         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
6418         default content-type for POST method.
6420 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
6422         * javax/swing/plaf/basic/BasicRadioButtonUI.java
6423         (BasicRadioButtonUI): Don't fetch icon here,
6424         (installDefaults): Initialise icon here,
6425         (getDefaultIcon): Just return icon.
6427 2006-09-20  Mark Wielaard  <mark@klomp.org>
6429         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
6430         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
6431         (EXTRA_DIST): Include javanio.c.
6433 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
6435         * java/awt/geom/RoundRectangle2D.java:
6436         (getPathIterator): Reimplemented,
6437         and updated various API doc comments.
6439 2006-09-20  Roman Kennke  <kennke@aicas.com>
6441         * java/awt/Container.java
6442         (addImpl): Set the new component's parent after it has been
6443         added to the array. Call addNotify() and invalidate()
6444         after the component has been added, so that the peer
6445         gets to know about the component structure when it is created.
6446         * java/awt/Window.java
6447         (dispatchEventImpl): Only revalidate when window is resized,
6448         let the other stuff be processed by the superclass.
6449         (dispose): Post WINDOW_CLOSED event only when some listener
6450         is registered or event is explicitly enabled.
6451         (show): Post WINDOW_OPENED event when appropriate.
6453 2006-09-20  Roman Kennke  <kennke@aicas.com>
6455         * java/awt/Component.java
6456         (addNotify): Invalidate here. Fetch peer font.
6457         (getFont): Delegate to helper method, to protect from
6458         overriding client code. Lock the tree while fetching the font.
6459         (getFontImpl): New helper method. Moved code from getFont() in
6460         here.
6461         (removeNotify): Nullify peerFont too.
6462         (setFont): Synchronize on tree and component to avoid threading
6463         issues. Update the peerFont correctly.
6464         (validate): Update the peer font if necessary, before validating.
6465         (getGraphics): Revert to recursive graphics fetching.
6466         Set component font on the Graphics object.
6467         (translateEvent): Removed unnecessary cast.
6468         * java/awt/Container.java
6469         (invalidateTree): Made final and private. Made implementation
6470         slightly more efficient.
6471         (setFont): Get old and new font via getFont() to account for
6472         the real font, and only invalidate the tree when they are not
6473         the same and not equal.
6474         (visitChild): Set the font of the child on the component graphics.
6475         * java/awt/Frame.java
6476         (setMenuBar): Create local reference of peer for thread safety.
6477         Only call simple invalidate, not invalidateTree().
6479 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
6481         PR 29012
6482         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
6483         (constructor): Copy image field.
6485 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
6487         * javax/swing/JMenuBar.java
6488         (getHelpMenu): Implemented to throw an Error, and added API docs,
6489         (getMargin): Added API docs,
6490         (setMargin): Likewise.
6492 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
6494         * javax/swing/AbstractButton.java
6495         (AbstractButton): Don't call updateUI(),
6496         * javax/swing/JButton.java
6497         (JButton(String, Icon)): Call setModel() before init(),
6498         * javax/swing/JMenuItem.java
6499         (JMenuItem()): Delegate to another constructor,
6500         (JMenuItem(Icon)): Likewise,
6501         (JMenuItem(Action)): Set model,
6502         (JMenuItem(String, Icon)): Likewise,
6503         * javax/swing/JToggleButton.java
6504         (init): Call setModel() before init().
6506 2006-09-19  Mark Wielaard  <mark@klomp.org>
6508         Fixes bug #29137
6509         * java/util/logging/LogManager.java (addLogger): Always check for
6510         existing children of a new Logger.
6512 2006-09-19  Roman Kennke  <kennke@aicas.com>
6514         * javax/swing/plaf/basic/BasicScrollPaneUI.java
6515         (HSBChangeListener.stateChanged): Moved handling of header to
6516         syncScrollPaneWithViewport().
6517         (VSBChangeListener.stateChanged): Moved handling of header to
6518         syncScrollPaneWithViewport().
6519         (ViewportChangedHandler.stateChanged): Removed unused statements.
6520         (syncScrollPaneWithViewport): Added null checks. Use setValues
6521         rather then the single setter methods to avoid multiple
6522         adjustments and side effects. Also snyc the headers here.
6523         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
6524         (uninstallUI): Removed unnecessary cast and this qualifier as well
6525         as the call to super.
6527 2006-09-19  Gary Benson  <gbenson@redhat.com>
6529         * java/net/ResolverCache.java: New class (a DNS cache).
6530         * java/net/InetAddress.java
6531         (internalGetCanonicalHostName, getAllByName): Use the above.
6533 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
6535         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
6536         * java/net/ServerSocket.java
6537         (port): New field.
6538         (bind): Set port field.
6539         (close): Set impl to null.
6540         (isClosed): Check impl and channel instead of using VMChannel.
6541         (toString): Use port field and getLocalPort() method.
6542         * java/net/Socket.java
6543         (isClosed): Check impl and channel instead of using VMChannel.
6545 2006-09-18  Tom Tromey  <tromey@redhat.com>
6547         * java/util/concurrent/CopyOnWriteArrayList.java
6548         (CopyOnWriteArrayList): New constructor.
6550 2006-09-18  Casey Marshall  <csm@gnu.org>
6552         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6553         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
6555 2006-09-18  Tom Tromey  <tromey@redhat.com>
6557         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
6558         isConnected): Removed old comment.
6559         (getRemoteSocketAddress): Uncommented.
6560         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
6561         setTrafficClass, getTrafficClass, setReuseAddress,
6562         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
6563         isOutputShutdown): Uncommented.
6565 2006-09-18  David Pirkle  <dpirkle@symyx.com>
6567         Fixes PR 28589
6568         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
6569           input stream during resolution.
6571 2006-09-18  Roman Kennke  <kennke@aicas.com>
6573         * java/awt/LightweightDispatcher.java
6574         (findTarget): Correctly translate child coordinates.
6575         Use Component.eventTypeEnabled() for checking if a component
6576         has a certain event enabled.
6577         (handleMouseEvent): Find the correct mouse event target.
6578         Use Component.eventTypeEnabled() for checking if a component
6579         has a certain event enabled.
6581 2006-09-18  Roman Kennke  <kennke@aicas.com>
6583         * java/awt/Component.java
6584         (show): Test for the peer beeing lightweight directly.
6585         (paintAll): Validate before painting. Don't paint when not
6586         showing. Call peer.paint() when the component is heavyweight.
6587         (repaint): Delegate to the parent when lightweight, rather
6588         than skipping to the nearest heavyweight.
6589         (createImage): Added null check to prevent NPE.
6590         (dispatchEvent): Moved old event dispatching and toolkit
6591         event dispatching to dispatchEventImpl.
6592         (addComponentListener): Don't enable event. Only add listener
6593         when not null. Switch to new event dispatching only.
6594         (addFocusListener): Likewise.
6595         (addHierarchyListener): Likewise.
6596         (addHierarchyBoundsListener): Likewise.
6597         (addKeyListener): Likewise.
6598         (addMouseListener): Likewise.
6599         (addMouseMotionListener): Likewise.
6600         (addMouseWheelListener): Likewise.
6601         (addInputMethodListener): Likewise.
6602         (coalesceEvents): For mouse events coalesce them only when
6603         their modifiers are equal. For paint events coalesce the events
6604         when one contains the other, without going through complicated
6605         heuristics.
6606         (dispatchEventImpl): Moved old event dispatching and toolkit
6607         event dispatching to dispatchEventImpl.
6608         (coalescePaintEvents): Removed.
6609         (HeavyweightInLightweightListener.componentHidden):
6610         Fixed condition.
6611         * java/awt/Container.java
6612         (addImpl): Don't enable events on lightweights.
6613         (remove): Reordered operations. Don't remove any listeners.
6614         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6615         Only removeNotify() when peer is != null. Only invalidate if 
6616         not already invalid. Only fire ContainerEvent if there is
6617         an interested listener or the event is enabled. Dispatch this
6618         event directly without the event queue.
6619         (removeAll): Likewise.
6620         (paintComponents): Only paint when showing. Also paint heavyweights.
6621         Don't paint the container itself.
6622         (removeNotify): Create local variables for improved thread safety.
6623         (addNotifyContainerChildren): Don't enable events for lightweights.
6625 2006-09-18  Roman Kennke  <kennke@aicas.com>
6627         * java/awt/EventQueue.java
6628         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6629         (next_in): Removed obsolete field.
6630         (next_out): Removed obsolete field.
6631         (queueHead): New field. Markes the head of the queue.
6632         (queueTail): New field. Markes the tail of the queue.
6633         (queue): Removed obsolete field.
6634         (EventQueue): Documented empty block.
6635         (getNextEvent): Changed array based implementation to single-linked
6636         list based implementation.
6637         (invokeAndWait): Use an Object as synchronization object rather
6638         than the current thread.
6639         (peekEvent(int)): Changed array based implementation to single-linked
6640         list based implementation.
6641         (peekEvent()): Changed array based implementation to single-linked
6642         list based implementation.
6643         (pop()): Changed array based implementation to single-linked
6644         list based implementation.
6645         (postEvent): Foward to postEventImpl.
6646         (postEventImpl): Changed array based implementation to single-linked
6647         list based implementation.
6648         (push): Changed array based implementation to single-linked
6649         list based implementation.
6650         * java/awt/AWTEvent.java
6651         (queueNext): New field. Implements a single-linked list for
6652         the EventQueue.
6654 2006-09-17  Mark Wielaard  <mark@klomp.org>
6656         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6657         resource from HTMLEditorKit.class.
6659 2006-09-17  Mark Wielaard  <mark@klomp.org>
6661         * javax/swing/plaf/basic/BasicToolBarUI.java
6662         (setBorderToNonRollover): Check whether border is null.
6663         (setBorderToRollover): Likewise.
6665 2006-09-17  Mark Wielaard  <mark@klomp.org>
6667         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6669 2006-09-17  Mark Wielaard  <mark@klomp.org>
6671         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6672         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6673         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6674         (Java_gnu_java_nio_VMChannel_lock): Likewise.
6675         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6677 2006-09-17  Casey Marshall  <csm@gnu.org>
6679         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6680         unused.
6682 2006-09-17  Chris Burdess  <dog@gnu.org>
6684         Fixes PR 27610 27687.
6685         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6686         * gnu/xml/transform/SAXTemplatesHandler.java,
6687         * gnu/xml/transform/SAXTransformerHandler.java: New files.
6688         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6689           SAXTransformerFactory.
6691 2006-09-16  Casey Marshall  <csm@gnu.org>
6693         * NEWS: updated.
6694         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6695         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6696         kqueue, and kevent.
6697         (HAVE_INET6): define if IPv6 is supported.
6698         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6699         (native_fd): removed.
6700         (impl): new field.
6701         (<init>): throw IOException; initialize fields.
6702         (finalize): removed.
6703         (getNativeFD): removed.
6704         (bind): use `PlainSocketImpl.bind.'
6705         (create): use `PlainSocketImpl.initSocket.'
6706         (disconnect): use `PlainSocketImpl.disconnect.'
6707         (getLocalPort): new method.
6708         (send): use `VMChannel.send.'
6709         (receive): use `VMChannel.receive.'
6710         (setOption): use `PlainSocketImpl.setOption.'
6711         (getOption): use `PlainSocketImpl.getOption.'
6712         (close): use `VMChannel.State.close.'
6713         (join): use `PlainSocketImpl.join.'
6714         (leave): use `PlainSocketImpl.leave.'
6715         (joinGroup, leaveGroup): implemented.
6716         * gnu/java/net/PlainSocketImpl.java: make non-final.
6717         (native_fd): removed.
6718         (impl): new field.
6719         (channel): new field.
6720         (<init>): initialize `impl.'
6721         (finalize, getNativeFD): removed.
6722         (setOption): use `PlainSocketImpl.setOption.'
6723         (getOption): use `PlainSocketImpl.getOption.'
6724         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6725         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6726         (create): create `channel,' initialize `impl's native state.
6727         (connect): use `connect(SocketAddress, int).'
6728         (connect): use `SocketChannelImpl.connect;' initialize `address'
6729         and `port.'
6730         (bind): use `VMPlainSocketImpl.bind.'
6731         (listen): use `VMPlainSocketImpl.listen.'
6732         (accept): use `SocketChannelImpl.accept.'
6733         (available): use `VMChannel.available.'
6734         (close): use `PlainSocketImpl.close.'
6735         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6736         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6737         getPort): new methods.
6738         (SocketInputStream.read): use `VMChannel.read.'
6739         (SocketInputStream.read): use `SocketChannel.read.'
6740         (SocketOutputStream.write): use `VMChannel.write.'
6741         (SocketOutputStream.write): use `SocketChannel.write.'
6742         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6743         (channel): new field.
6744         (<init>): initialize `channel.'
6745         (implCloseSelectableChannel): use `VMChannel.close.'
6746         (implConfigureBlocking): use `VMChannel.setBlocking.'
6747         (connect): use `VMChannel.connect.'
6748         (disconnect): use `VMChannel.disconnect.'
6749         (isConnected): use `VMChannel.getPeerAddress.'
6750         (write): use `VMChannel.write.'
6751         (write): use `VMChannel.writeGathering.'
6752         (read): use `VMChannel.read.'
6753         (read): use `VMChannel.readScattering.'
6754         (receive): use `VMChannel.receive.'
6755         (send): use `VMChannel.send.'
6756         (getVMChannel): new method.
6757         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6758         access native FD through VMChannel.State.
6759         * gnu/java/nio/FileChannelImpl.java: moved from
6760         gnu/java/nio/channels/FileChannelImpl.java.
6761         * gnu/java/nio/FileLockImpl.java: fix imports.
6762         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6763         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6764         * gnu/java/nio/NIOSocket.java (impl): removed.
6765         (channel): new field.
6766         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6767         (getPlainSocketImpl, setChannel): removed.
6768         (isConnected): new method.
6769         * gnu/java/nio/NIOSocketImpl.java: new file.
6770         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6771         `VMChannelOwner.'
6772         (SourceChannelImpl.native_fd): removed.
6773         (SourceChannelImpl.<init>): init with a `VMChannel.'
6774         (SourceChannelImpl.getNativeFD): removed.
6775         (SourceChannelImpl.getVMChannel): new method.
6776         (SourceChannelImpl.implCloseSelectableChannel): implement.
6777         (SinkChannelImpl): implement `VMChannelOwner.'
6778         (SinkChannelImpl.native_fd): removed.
6779         (SinkChannelImpl.<init>): init with a `VMChannel.'
6780         (SinkChannelImpl.implCloseSelectableChannel): implement.
6781         (SinkChannelImpl.getNativeFD): removed.
6782         (SinkChannelImpl.getVMChannel): new method.
6783         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6784         deprecated.
6785         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6786         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6787         (openSelector): return kqueue selector if available.
6788         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6789         `VMChannelOwner.'
6790         (channel): new field.
6791         (<init>): init `channel.'
6792         (finalizer): check if the `VMChannel.State' is valid.
6793         (implCloseSelectableChannel): use `VMChannel.close.'
6794         (implConfigureBlocking): use `VMChannel.setBlocking.'
6795         (accept): use `VMChannel.accept.'
6796         (getVMChannel): new method.
6797         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6798         access native FD through `VMChannel.State.'
6799         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6800         (impl): removed.
6801         (channel, connected, connectAddress): new field.
6802         (<init>): new constructors.
6803         (getPlainSocketImpl): removed.
6804         (implCloseSelectableChannel): use `VMChannel.close.'
6805         (implConfigureBlocking): use `VMChannel.setBlocking.'
6806         (connect): use `connect(SocketAddress,int).'
6807         (connect): use `VMChannel.connect.'
6808         (finishConnect): don't use a selector.
6809         (isConnected): use `VMChannel.getPeerAddress.'
6810         (read): use `VMChannel.read.'
6811         (read): use `VMChannel.readScattering.'
6812         (write): use `VMChannel.write.'
6813         (write): use `VMChannel.writeGathering.'
6814         (getVMChannel): new method.
6815         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6816         native FD from `VMChannel.State.'
6817         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6818         get native FD from `VMChannel.State.'
6819         * gnu/java/nio/VMChannelOwner.java: new file.
6820         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6821         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6822         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6823         `gnu_java_nio_channels_FileChannelImpl.h.'
6824         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6825         * include/gnu_java_nio_FileChannelImpl.h: new file.
6826         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6827         * include/gnu_java_nio_VMChannel.h: regenerated.
6828         * include/gnu_java_nio_VMPipe.h: regenerated.
6829         * include/java_net_VMNetworkInterface.h: regenerated.
6830         * java/io/FileDescriptor.java: fix imports.
6831         * java/io/FileInputStream.java (<init>): handle exceptions.
6832         (read): wrap the destination arary.
6833         * java/io/FileOutputStream.java (<init>): handle exceptions.
6834         (write): wrap the source array.
6835         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6836         * java/net/DatagramSocket.java (<init>): handle exceptions.
6837         (receive): handle length/port setting.
6838         (connect): bind to any address/port if the argument is null.
6839         * java/net/NetworkInterface.java (name, inetAddress): removed.
6840         (netif): new field.
6841         (<init>): make private.
6842         (getName): return `netif.name.'
6843         (getInetAddresses): access `netif.addresses.'
6844         (getDisplayName): return `netif.name.'
6845         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6846         (condense): removed.
6847         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6848         (equals): compare `netif' fields.
6849         (hashCode): get hash codes from `netif.'
6850         (toString): use a StringBuffer.
6851         * java/net/ServerSocket.java (close): don't set `impl' to null.
6852         (isClosed): use `VMChannel.State.isClosed.'
6853         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6854         the `SocketImpl' is a `PlainSocketImpl.'
6855         (close): just close the `impl.'
6856         (toString): use `super.toString' in the value we return.
6857         (isConnected): just access `impl,' not `getImpl.'
6858         (isBound): use `PlainSocketImpl' methods if we can.
6859         (isClosed): look at `VMChannel.State.'
6860         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6861         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6862         an exception if they were not.
6863         (JCL_GetRawData): throw an exception if cached fields weren't
6864         created.
6865         * native/jni/java-lang/java_lang_VMProcess.c: handle
6866         FileChannelImpl move.
6867         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6868         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6869         THROW_NO_NETWORK): new macros.
6870         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6871         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6872         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6873         (java_sockopt): new enum.
6874         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6875         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6876         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6877         reimplemented.
6878         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6879         reimplemented.
6880         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6881         function.
6882         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6883         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6884         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6885         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6886         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6887         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6888         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6889         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6890         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6891         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6892         (getif_address): new function.
6893         (getif_index): new function.
6894         * native/jni/java-net/java_net_VMNetworkInterface.c
6895         (java_net_VMNetworkInterface_init,
6896         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6897         (Java_java_net_VMNetworkInterface_initIds): new function.
6898         (struct netif_entry): new struct.
6899         (free_netif_list): new function.
6900         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6901         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6902         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6903         gnu_java_nio_channels_FileChannelImpl.c, add
6904         gnu_java_nio_KqueueSelectorImpl.c.
6905         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6906         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6907         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6908         ALIGN_DOWN): new macros.
6909         (JCL_init_buffer): get the address through GetDirectBufferAddress
6910         if possible.
6911         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6912         Java_gnu_java_nio_VMChannel_stdout_1fd,
6913         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6914         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6915         value.
6916         (Java_gnu_java_nio_VMChannel_read): renamed...
6917         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6918         this; handle interrupted IO; add HAVE_READ check.
6919         (Java_gnu_java_nio_VMChannel_write): renamed...
6920         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6921         this; handle zero-length write; add HAVE_WRITE check.
6922         (Java_gnu_java_nio_VMChannel_receive): new function.
6923         (Java_gnu_java_nio_VMChannel_send): new function.
6924         (Java_gnu_java_nio_VMChannel_send6): new function.
6925         (Java_gnu_java_nio_VMChannel_read__I): new function.
6926         (Java_gnu_java_nio_VMChannel_write__II): new function.
6927         (Java_gnu_java_nio_VMChannel_socket): new function.
6928         (Java_gnu_java_nio_VMChannel_connect): new function.
6929         (Java_gnu_java_nio_VMChannel_connect6): new function.
6930         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6931         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6932         (Java_gnu_java_nio_VMChannel_accept): new function.
6933         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6934         (Java_gnu_java_nio_VMChannel_close): new function.
6935         (Java_gnu_java_nio_VMChannel_available): new function.
6936         (FileChannel_mode): new enum.
6937         (Java_gnu_java_nio_VMChannel_open): new function.
6938         (Java_gnu_java_nio_VMChannel_position): new function.
6939         (Java_gnu_java_nio_VMChannel_seek): new function.
6940         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6941         (Java_gnu_java_nio_VMChannel_lock): new function.
6942         (Java_gnu_java_nio_VMChannel_unlock): new function.
6943         (Java_gnu_java_nio_VMChannel_size): new function.
6944         (Java_gnu_java_nio_VMChannel_map): new function.
6945         (Java_gnu_java_nio_VMChannel_flush): new function.
6946         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6947         (Java_gnu_java_nio_VMPipe_init): removed.
6948         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6949         * native/jni/java-nio/javanio.c: new file.
6950         * native/jni/java-nio/javanio.h: new file.
6951         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6952         systems without `gethostbyname_r.'
6953         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6954         field.
6955         (<init>, <init>): new constructors.
6956         (setOption, getOption): make instance methods; defer to native
6957         implementation.
6958         (connect): removed.
6959         (bind): make an instance method; defer to native methods.
6960         (accept): removed.
6961         (available): removed.
6962         (listen): make an instance method; defer to native method.
6963         (read): removed.
6964         (join, leave): new methods.
6965         (write): removed.
6966         (joinGroup, leaveGroup): new methods.
6967         (shutdownInput, shutdownOutput): make instance methods.
6968         (sendUrgentData): removed.
6969         (State): new class.
6970         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6971         (fd): removed.
6972         (nfd): new field.
6973         (<init>): new, public constructors.
6974         (getVMChannel): methods removed.
6975         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6976         stderr_fd): new methods.
6977         (setBlocking): make an instance method.
6978         (available): new method.
6979         (read): get native fd from `nfd.'
6980         (read): new single-byte read method.
6981         (readScattering): get native fd from `nfd.'
6982         (receive): new method.
6983         (write, writeGathering): get native fd from `nfd.'
6984         (send): new method.
6985         (write): new single-byte write method.
6986         (initSocket): new method.
6987         (connect): new method.
6988         (disconnect): new method.
6989         (getLocalAddress): new method.
6990         (getPeerAddress): new method.
6991         (accept): new method.
6992         (openFile): new method.
6993         (position): new method.
6994         (seek): new method.
6995         (truncate): new method.
6996         (lock): new method.
6997         (unlock): new method.
6998         (size): new method.
6999         (map): new method.
7000         (flush): new method.
7001         (close): new method.
7002         (State): new class.
7003         (Kind): new class.
7004         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
7005         (pipe, pipe0): new method.
7006         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
7007         new fields.
7008         (<clinit>): call `initIds.'
7009         (initIds): new method.
7010         (getInterfaces): removed.
7011         (getVMInterfaces): new method.
7012         (addAddress): new method.
7013         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
7015 2006-09-16  Chris Burdess  <dog@gnu.org>
7017         Fixes PR 28572.
7018         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
7019           when in text output mode.
7021 2006-09-16  Chris Burdess  <dog@gnu.org>
7023         Fixes PR 27293.
7024         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
7026 2006-09-14  Michael Koch  <konqueror@gmx.de>
7028         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
7030 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
7032         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
7033         Added !cl.isArray() to serialVersionUID mismatch check.
7035 2006-09-14  Francis Kung  <fkung@redhat.com>
7037         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
7038         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
7039         be compatibe with Cairo 1.2.x.
7041 2006-09-14  Francis Kung  <fkung@redhat.com>
7043         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
7044         (cairoSurfaceSetFilter): Removed method.
7045         (drawImage): Pass interpolation type as argument to drawing methods.
7046         (drawPixels): Added interpolation parameter.
7047         (drawRaster): Pass interpolation type as argument to drawing method.
7048         (getInterpolation): New method.
7049         (setRenderingHint): Store hints, but do not set interpolation in cairo.
7050         (setRenderingHints): Store hints, but do not set interpolation in cairo.
7051         * gnu/java/awt/peer/gtk/CairoSurface.java
7052         (drawSurface): Added interpolation parameter.
7053         (nativeDrawSurface): Added interpolation parameter.
7054         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
7055         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
7056         parameter.
7057         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
7058         * native/jni/gtk-peer/cairographics2d.h
7059         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
7060         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
7061         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
7062         parameter.
7063         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
7064         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
7065         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
7066         interpolation parameter.
7068 2006-09-14  Gary Benson  <gbenson@redhat.com>
7070         * java/net/InetAddress.java
7071         (internalGetCanonicalHostName): New method.
7072         (getCanonicalHostName): Use internalGetCanonicalHostName.
7073         (getByLiteral): New method.
7074         (getAllByName): Use getByLiteral.
7075         * java/net/SocketPermission.java
7076         (host): Replaced with...
7077         (hostname, address): New fields.
7078         (equals, hashcode): Reflect the above.
7079         (setHostPort): Parse host into hostname or address.
7080         (implies): Rewrite host checks.
7082 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
7084         Fixes PR28699
7085         * java/awt/Menu.java
7086         (insert(MenuItem, int)): Fixed loop range,
7087         (insert(String, int)): Updated API docs.
7089 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
7091         Fixes PR22800
7092         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
7093         architectures (like Arm).
7094         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
7095         Reverted SWAP_DOUBLE patch.
7096         (doubleToRawLongBits): Likewise.
7097         (longBitsToDouble): Likewise.
7099 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
7101         * java/awt/Menu.java: Reformatted source file.
7103 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
7105         * gnu/java/rmi/server/ActivatableRef.java
7106         (readExternal, writeExternal): Partial fix for serialization format.
7108 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
7110         PR classpath/28984
7111         * java/io/InputStreamReader.java
7112         (read(char[],int,int)): Fixed bug.
7114 2006-09-13  Francis Kung  <fkung@redhat.com>
7116         * java/awt/image/BandCombineOp.java: Updated documentation.
7117         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
7119 2006-09-13  Tom Tromey  <tromey@redhat.com>
7121         PR classpath/29034:
7122         * java/io/PipedReader.java (read): Return early if len==0.
7123         * java/io/PipedInputStream.java (read): Return early if len==0.
7125 2006-09-13  Francis Kung  <fkung@redhat.com>
7127         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
7128         Removed hard-coded max sample value.
7129         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
7130         Fixed finding of max sample value.
7132 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7134         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7135         (setPaint): Check null argument ('p').
7137 2006-09-12  Francis Kung  <fkung@redhat.com>
7139         PR 27940
7140         * gnu/java/awt/java2d/TexturePaintContext.java
7141         (constructor): Fixed typo, getMinY instead of getMaxX.
7142         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
7143         (setPaint): Implemented support for custom Paint classes.
7144         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
7145         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
7146         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
7147         to setPaintPixels, and added repeat parameter.
7148         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
7149          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
7151 2006-09-12  Gary Benson  <gbenson@redhat.com>
7153         * java/net/NetworkInterface.java (getInetAddresses):
7154         Fix port used in security check.
7156 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7158         * javax/swing/plaf/metal/DefaultMetalTheme.java
7159         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
7160         (MENU_TEXT_FONT): Renamed 'menuTextFont',
7161         (getControlTextFont): Check 'swing.boldMetal' setting before 
7162         initialising font,
7163         (getMenuTextFont): Likewise.
7165 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7167         * javax/swing/plaf/metal/OceanTheme.java
7168         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
7170 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7172         * javax/swing/plaf/metal/MetalIconFactory.java
7173         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
7175 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7177         * javax/swing/AbstractSpinnerModel.java: API doc updates.
7179 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
7181         * javax/swing/AbstractButton.java
7182         (AbstractButton): Initialise textIconGap field.
7184 2006-09-11  Tom Tromey  <tromey@redhat.com>
7186         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
7187         "volatile" when needed.
7189 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
7191         * java/text/AttributedCharacterIterator.java
7192         (LANGUAGE): Initialise with lower case string,
7193         (INPUT_METHOD_SEGMENT): Likewise,
7194         (READING): Likewise,
7195         * java/text/AttributedStringIterator.java
7196         (getRunLimit): Check all attributes for changes.
7198 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
7200         * java/text/AttributedCharacterIterator.java: Added @since tag, 
7201         renamed some variables (no underscores) and removed some spaces to
7202         match the common style,
7203         * java/text/AttributedString.java: Likewise,
7204         * java/text/AttributedStringIterator.java: Likewise.
7206 2006-09-11  Gary Benson  <gbenson@redhat.com>
7208         * java/net/Inet4Address.java
7209         (FAMILY): Renamed back to AF_INET.
7210         (<init>, writeReplace): Reflect the above.
7211         * java/net/Inet6Address.java
7212         (FAMILY): Renamed back to AF_INET6.
7213         (<init>): Reflect the above.
7215 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
7217         Fixes PR29010
7218         * java/text/AttributedString.java
7219         (AttributedString(AttributedCharacterIterator, int, int, 
7220         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
7221         attribute.
7223 2006-09-11  Gary Benson  <gbenson@redhat.com>
7225         * java/net/Inet4Address.java
7226         (AF_INET): Renamed to FAMILY.
7227         (<init>, writeReplace): Reflect the above.
7228         * java/net/Inet6Address.java
7229         (AF_INET6): Renamed to FAMILY.
7230         (<init>): Reflect the above.
7232 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
7234         Fixes bug #28867
7235         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
7236         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
7237         * java/net/Socket.java: Avoid creating a redundant file descriptor.
7238         (implCreated): Deleted, (getImpl): Don't check impleCreated,
7239         (bind): Call getImpl().create(true).
7241 2006-09-09  Chris Burdess  <dog@gnu.org>
7243         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
7244           an instance of org.w3c.dom.NodeList.
7246 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
7248         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
7249         missing security manager when run in standalone mode.
7251 2006-09-08  Francis Kung  <fkung@redhat.com>
7253         * java/awt/image/AffineTransformOp.java: Updated documentation.
7254         (createCompatibleDestRaster): Updated formatting.
7255         (filter(BufferedImage, BufferedImage)): Updated formatting.
7256         (filter(Raster, WritableRaster)): Delegated processing to native peers for
7257         if colour model is compatible.
7258         (filterBicubic): Get entire pixel at once, and use appropriate array type.
7259         (filterBilinear): Get entire pixel at once, and use appropriate array type.
7261 2006-09-08  Gary Benson  <gbenson@redhat.com>
7263         * java/net/InetAddress.java
7264         (family): Updated javadoc and made private.
7265         (<init>): Add an address family argument.
7266         (readObject): Don't overwrite family.
7267         * java/net/Inet4Address.java
7268         (AF_INET): New constant.
7269         (<init>): Use AF_INET as the family.
7270         (writeReplace): Likewise.
7271         * java/net/Inet6Address.java
7272         (AF_INET6): New constant.
7273         (<init>): Use AF_INET6 as the family.
7275 2006-09-08  Gary Benson  <gbenson@redhat.com>
7277         * java/net/InetAddress.java
7278         (getHostName): Move lookup into getCanonicalHostName.
7279         (getCanonicalHostName): Move lookup from getHostName,
7280         Perform security check on canonical name (ie after lookup).
7282 2006-09-08  Gary Benson  <gbenson@redhat.com>
7284         * java/net/Inet4Address.java (isMulticastAddress,
7285         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
7286         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
7287         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
7288         implementations from InetAddress.
7289         * java/net/InetAddress.java (isMulticastAddress,
7290         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
7291         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
7292         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
7293         implementations with UnsupportedOperationExceptions.
7294         
7295 2006-09-08  Gary Benson  <gbenson@redhat.com>
7297         * java/net/InetAddress.java
7298         (inaddr_any): Removed.
7299         (ANY_IF, LOCALHOST): Create using getByAddress.
7300         (<init>): Updated javadoc.
7301         (getHostName): Cache hostname even if the lookup failed.
7302         (getByAddress): Create Inet4Address objects when passed
7303         IPv4-mapped IPv6 addresses.
7304         (aton): Removed.
7305         (getAllByName): Create address objects using getByAddress.
7306         Do not perform security checks unless actually required.
7307         Do not strip whitespace from the hostname.
7308         (getInaddrAny): Removed.
7309         (getLocalHost): Return the loopback address if getByName
7310         throws a SecurityException.
7311         (readResolve): Updated javadoc.
7312         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
7313         * include/java_net_VMInetAddress.h
7314         (Java_java_net_VMInetAddress_aton): Likewise.
7315         * native/jni/java-net/java_net_VMInetAddress.c
7316         (Java_java_net_VMInetAddress_aton): New method.
7317         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
7318         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
7319         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
7320         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
7321         * NEWS: Added note about updated VM interface.
7323 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
7325         * javax/swing/plaf/basic/BasicInternalFrameUI.java
7326         (setNorthPane): Assign component to titlePane.
7328 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7330         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
7331         Remove unused variable alt_addr.
7332         * gnu/CORBA/NamingService/NameTransformer.java (toName):
7333         Remove unused variables.
7335 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
7337         * javax/swing/plaf/metal/MetalScrollBarUI.java
7338         (installDefaults): Initialise scrollBarWidth from UI defaults here,
7339         (createDecreaseButton): Don't fetch scrollBarWidth here, 
7340         (createIncreaseButton): Likewise.
7342 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
7344         * java/awt/image/MemoryImageSource.java: Added API docs.
7346 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
7348         * javax/swing/plaf/basic/BasicScrollBarUI.java
7349         (installDefaults): Call configureScrollBarColors().
7351 2006-09-06  Francis Kung  <fkung@redhat.com>
7353         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
7354         (constructor): Make copy of arrays.
7355         (createCompatibleDestImage): Changed treatment of null ColorModel.
7356         (filter(BufferedImage, BufferedImage)): Re-implemented.
7357         (filter(Raster, WritableRaster, boolean[])): New method.
7358         (filter(Raster, WritableRaster)): Re-implemented.
7359         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
7360         (getPoint2D): Cleaned up formatting.
7361         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
7363 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
7365         * javax/swing/UIManager.java
7366         (getBoolean(Object)): Reimplemented,
7367         (getBoolean(Object, Locale)): Likewise,
7368         (getBorder(Object)): Likewise,
7369         (getBorder(Object, Locale)): Likewise,
7370         (getColor(Object)): Likewise,
7371         (getColor(Object, Locale)): Likewise,
7372         (getDimension(Object)): Likewise,
7373         (getDimension(Object, Locale)): Likewise,
7374         (getFont(Object)): Likewise,
7375         (getFont(Object, Locale)): Likewise,
7376         (getIcon(Object)): Likewise,
7377         (getIcon(Object, Locale)): Likewise,
7378         (getInsets(Object)): Updated API docs,
7379         (getInsets(Object, Locale)): Likewise,
7380         (getInt(Object)): Reimplemented,
7381         (getInt(Object, Locale)): Likewise,
7382         (getString(Object)): Likewise,
7383         (getString(Object, Locale)): Likewise.
7385 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
7387         * javax/swing/UIManager.java
7388         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
7389         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
7391 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
7393         * javax/swing/plaf/metal/MetalLookAndFeel.java
7394         (initComponentDefaults): Corrected various font defaults.
7396 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
7398         * java/awt/List.java: Added @since to various methods.
7400 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
7402         * native/jni/native-lib/cpprocess.c:
7403         (forkAndExec(char*,char*,int,int,pid_t,char*)):
7404         Add redirection of stdout to stderr.
7405         * native/jni/native-lib/cpprocess.h:
7406         Added redirect argument.
7407         * native/jni/java-lang/java_lang_VMProcess.c
7408         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
7409         * vm/reference/java/lang/VMProcess.java: Likewise.
7410         * include/java_lang_VMProcess.h: Regenerated.
7411         
7412 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
7414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
7415         __attribute to __attribute__.
7417         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
7418         header include.
7420 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
7422         * java/awt/List.java: Source code reformatted.
7424 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7426         * gnu/CORBA/CollocatedOrbs.java,
7427         gnu/CORBA/SafeForDirectCalls.java: New files.
7428         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
7429         Implement gnu.CORBA.SafeForDirectCalls.
7430         * gnu/CORBA/NamingService/Ext.java: Likewise.
7431         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
7432         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
7433         of the local host. (ior_to_object): Return the local object
7434         where possible. (run): Register/unregister this ORB.
7435         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
7436         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
7437         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
7438         (constructors): Initialize noRetain. (_invoke): Drop servant
7439         if noRetain is true. (getHandler): Always seach for the new servant
7440         if noRetain is true.
7441         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
7442         * NEWS: Added note about the new feature.
7444 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
7446         * java/awt/Choice.java
7447         (addItem): Fixed API doc glitch.
7449 2006-09-05  Francis Kung  <fkung@redhat.com>
7451         * java/awt/image/LookupOp.java: Updated documentation & formatting.
7452         (createCompatibleDestImage): Re-implemented.
7453         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
7454         compatibility, and use ColorConvertOp for color conversion if needed.
7455         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
7457 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7459         gnu/CORBA/CDR/Vio.java,
7460         org/omg/CORBA_2_3/ORB.java,
7461         org/omg/CORBA_2_3/portable/InputStream.java,
7462         org/omg/CORBA_2_3/portable/OutputStream.java,
7463         org/omg/CosNaming/BindingIteratorHelper.java,
7464         org/omg/CosNaming/BindingTypeHelper.java,
7465         org/omg/CosNaming/NameComponentHelper.java,
7466         org/omg/CosNaming/NameHelper.java,
7467         org/omg/CosNaming/NamingContextExtHelper.java,
7468         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
7469         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
7470         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
7471         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
7472         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
7473         org/omg/CosNaming/NamingContextHelper.java,
7474         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
7475         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
7476         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
7477         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
7478         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
7479         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
7480         org/omg/DynamicAny/AnySeqHelper.java,
7481         org/omg/DynamicAny/DynAnyFactoryHelper.java,
7482         org/omg/DynamicAny/DynAnyFactoryOperations.java,
7483         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
7484         org/omg/DynamicAny/DynAnyHelper.java,
7485         org/omg/DynamicAny/DynAnyOperations.java,
7486         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
7487         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
7488         org/omg/DynamicAny/DynAnySeqHelper.java,
7489         org/omg/DynamicAny/DynArrayHelper.java,
7490         org/omg/DynamicAny/DynEnumHelper.java,
7491         org/omg/DynamicAny/DynFixedHelper.java,
7492         org/omg/DynamicAny/DynSequenceHelper.java,
7493         org/omg/DynamicAny/DynStructHelper.java,
7494         org/omg/DynamicAny/DynStructOperations.java,
7495         org/omg/DynamicAny/DynUnionHelper.java,
7496         org/omg/DynamicAny/DynValueHelper.java,
7497         org/omg/DynamicAny/NameDynAnyPairHelper.java,
7498         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
7499         org/omg/IOP/CodecFactoryHelper.java,
7500         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
7501         org/omg/IOP/CodecOperations.java,
7502         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
7503         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
7504         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
7505         org/omg/IOP/ComponentIdHelper.java,
7506         org/omg/IOP/ExceptionDetailMessage.java,
7507         org/omg/IOP/MultipleComponentProfileHelper.java,
7508         org/omg/IOP/ProfileIdHelper.java,
7509         org/omg/IOP/ServiceContextListHelper.java,
7510         org/omg/IOP/ServiceIdHelper.java,
7511         org/omg/IOP/TAG_CODE_SETS.java,
7512         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
7513         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
7514         org/omg/PortableInterceptor/CurrentHelper.java,
7515         org/omg/PortableInterceptor/IORInfo.java,
7516         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
7517         org/omg/PortableInterceptor/ORBIdHelper.java,
7518         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
7519         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
7520         org/omg/PortableInterceptor/ORBInitializerOperations.java,
7521         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
7522         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
7523         org/omg/PortableInterceptor/RequestInfoOperations.java,
7524         org/omg/PortableInterceptor/ServerIdHelper.java,
7525         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
7526         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
7527         org/omg/PortableServer/AdapterActivatorOperations.java,
7528         org/omg/PortableServer/CurrentHelper.java,
7529         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
7530         org/omg/PortableServer/ForwardRequestHelper.java,
7531         org/omg/PortableServer/IdAssignmentPolicyValue.java,
7532         org/omg/PortableServer/IdUniquenessPolicyValue.java,
7533         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
7534         org/omg/PortableServer/LifespanPolicyValue.java,
7535         org/omg/PortableServer/POA.java,
7536         org/omg/PortableServer/POAHelper.java,
7537         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
7538         org/omg/PortableServer/POAManagerPackage/State.java,
7539         org/omg/PortableServer/POAOperations.java,
7540         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
7541         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
7542         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
7543         org/omg/PortableServer/POAPackage/NoServantHelper.java,
7544         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
7545         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
7546         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
7547         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
7548         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
7549         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
7550         org/omg/PortableServer/RequestProcessingPolicyValue.java,
7551         org/omg/PortableServer/ServantActivatorHelper.java,
7552         org/omg/PortableServer/ServantLocatorHelper.java,
7553         org/omg/PortableServer/ServantLocatorOperations.java,
7554         org/omg/PortableServer/ServantRetentionPolicyValue.java,
7555         org/omg/PortableServer/ThreadPolicyValue.java,
7556         org/omg/PortableServer/_ServantActivatorStub.java,
7557         org/omg/PortableServer/_ServantLocatorStub.java,
7558         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
7560 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7562         * javax/rmi/CORBA/Tie.java,
7563         org/omg/CORBA/AnyHolder.java,
7564         org/omg/CORBA/AnySeqHelper.java,
7565         org/omg/CORBA/AnySeqHolder.java,
7566         org/omg/CORBA/BooleanHolder.java,
7567         org/omg/CORBA/BooleanSeqHelper.java,
7568         org/omg/CORBA/BooleanSeqHolder.java,
7569         org/omg/CORBA/ByteHolder.java,
7570         org/omg/CORBA/CharHolder.java,
7571         org/omg/CORBA/CharSeqHelper.java,
7572         org/omg/CORBA/CharSeqHolder.java,
7573         org/omg/CORBA/Context.java,
7574         org/omg/CORBA/CurrentHelper.java,
7575         org/omg/CORBA/CustomValue.java,
7576         org/omg/CORBA/DataOutputStream.java,
7577         org/omg/CORBA/DefinitionKindHelper.java,
7578         org/omg/CORBA/DomainManagerOperations.java,
7579         org/omg/CORBA/DoubleHolder.java,
7580         org/omg/CORBA/DoubleSeqHelper.java,
7581         org/omg/CORBA/DoubleSeqHolder.java,
7582         org/omg/CORBA/DynAny.java,
7583         org/omg/CORBA/DynSequence.java,
7584         org/omg/CORBA/DynValue.java,
7585         org/omg/CORBA/DynamicImplementation.java,
7586         org/omg/CORBA/FieldNameHelper.java,
7587         org/omg/CORBA/FixedHolder.java,
7588         org/omg/CORBA/FloatHolder.java,
7589         org/omg/CORBA/FloatSeqHelper.java,
7590         org/omg/CORBA/FloatSeqHolder.java,
7591         org/omg/CORBA/IdentifierHelper.java,
7592         org/omg/CORBA/IntHolder.java,
7593         org/omg/CORBA/LocalObject.java,
7594         org/omg/CORBA/LongHolder.java,
7595         org/omg/CORBA/LongLongSeqHelper.java,
7596         org/omg/CORBA/LongLongSeqHolder.java,
7597         org/omg/CORBA/LongSeqHelper.java,
7598         org/omg/CORBA/LongSeqHolder.java,
7599         org/omg/CORBA/ORB.java,
7600         org/omg/CORBA/ObjectHelper.java,
7601         org/omg/CORBA/ObjectHolder.java,
7602         org/omg/CORBA/OctetSeqHelper.java,
7603         org/omg/CORBA/OctetSeqHolder.java,
7604         org/omg/CORBA/PolicyErrorCodeHelper.java,
7605         org/omg/CORBA/PolicyErrorHelper.java,
7606         org/omg/CORBA/PolicyHelper.java,
7607         org/omg/CORBA/PolicyListHelper.java,
7608         org/omg/CORBA/PolicyTypeHelper.java,
7609         org/omg/CORBA/PrincipalHolder.java,
7610         org/omg/CORBA/RepositoryIdHelper.java,
7611         org/omg/CORBA/Request.java,
7612         org/omg/CORBA/ShortHolder.java,
7613         org/omg/CORBA/ShortSeqHelper.java,
7614         org/omg/CORBA/ShortSeqHolder.java,
7615         org/omg/CORBA/StringSeqHelper.java,
7616         org/omg/CORBA/StringSeqHolder.java,
7617         org/omg/CORBA/ULongLongSeqHelper.java,
7618         org/omg/CORBA/ULongLongSeqHolder.java,
7619         org/omg/CORBA/ULongSeqHelper.java,
7620         org/omg/CORBA/ULongSeqHolder.java,
7621         org/omg/CORBA/UShortSeqHelper.java,
7622         org/omg/CORBA/UShortSeqHolder.java,
7623         org/omg/CORBA/ValueBaseHelper.java,
7624         org/omg/CORBA/ValueBaseHolder.java,
7625         org/omg/CORBA/VersionSpecHelper.java,
7626         org/omg/CORBA/WCharSeqHelper.java,
7627         org/omg/CORBA/WCharSeqHolder.java,
7628         org/omg/CORBA/WStringSeqHelper.java,
7629         org/omg/CORBA/WStringSeqHolder.java,
7630         org/omg/CORBA/WrongTransactionHelper.java,
7631         org/omg/CORBA/_IDLTypeStub.java,
7632         org/omg/CORBA/_PolicyStub.java,
7633         org/omg/CORBA/portable/BoxedValueHelper.java,
7634         org/omg/CORBA/portable/Delegate.java,
7635         org/omg/CORBA/portable/ObjectImpl.java,
7636         org/omg/CORBA/portable/ServantObject.java,
7637         org/omg/CORBA/portable/StreamableValue.java,
7638         org/omg/CosNaming/BindingType.java,
7639         org/omg/CosNaming/IstringHelper.java,
7640         org/omg/DynamicAny/FieldNameHelper.java,
7641         org/omg/PortableServer/Servant.java: Documentation fixes.
7643 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
7645         * java/awt/Rectangle.java
7646         (setRect(double, double, double, double)): Modified rounding of input
7647         values.
7649 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7651         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7652         Disallow H1 - H6 in the paragraphs.
7653         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7654         (preprocess): Leave at most one leading and/or trailing space.
7655         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7656         Do not add any text after closing the HTML tag.
7658 2006-09-02  Roman Kennke  <kennke@aicas.com>
7660         PR 28928
7661         * javax/swing/plaf/basic/BasicTextUI.java
7662         (RootView.getPreferredSpan): Default to 10 when there is no
7663         real view.
7664         (RootView.getMinimumSpan): Forward to view and default to 10
7665         when there is no real view.
7666         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7667         (getMaximumSize): Check for overflow.
7668         * javax/swing/text/FieldView.java
7669         (getResizeWeight): Removed unneeded assignment.
7671 2006-09-01  Francis Kung  <fkung@redhat.com>
7672         * java/awt/image/ColorConvertOp.java
7673         (copyImage): Updated javadoc and comments.
7674         (copyRaster): Add javadoc.
7675         (createCompatibleColorModel): Add javadocs and comments.
7676         (createCompatibleDestImage): Use correct transfer type.
7677         (createCompatibleDestRaster): Add new parameter for transfer type.
7678         (filter): Use correct transfer type.
7679         * java/awt/image/ConvolveOp.java: Updated javadocs.
7680         (createCompatibleDestImage): Set new image properties correctly.
7681         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7682         (filter(WritableRaster, Raster): Clip sample values to [0-255].
7684 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7686         * javax/swing/table/DefaultTableModel.java:
7687         (checkSize): Added null check for dataVector.
7689 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7691         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7692         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7693         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7695 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7697         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7698         (paintIcon): Removed unused import statements, lowered cast requirement
7699         from JCheckBox to AbstractButton.
7701 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7703         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7704         (initComponentDefaults): Added, changed and removed some
7705         tabbed pane properties.
7707 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7709         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7710         (createContent): Changed menu item name and tab naming.
7712 2006-09-01  Roman Kennke  <kennke@aicas.com>
7714         PR 28922
7715         * javax/swing/plaf/basic/BasicHTML.java
7716         (HTMLRootView.getAttributes): Overridden to return null.
7717         (HTMLRootView.getElement): Overridden to return the view's
7718         element.
7720 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7722         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7723         (calculateTabAreaHeight): Use getTabRunOverlay method instead
7724         of accessing variable directly.
7725         (calculateTabAreaWidth): Dito.
7727 2006-08-31  Keith Seitz  <keiths@redhat.com>
7729         * include/jvmti.h: Include jvmti_md.h.
7731 2006-08-31  Keith Seitz  <keiths@redhat.com>
7733         From Martin Platter  <motse@complang.tuwien.ac.at>:
7734         * Makefile.am (include_HEADERS): Include jvmti.h.
7735         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7736         (jvmtiError): Remove superfluous comma after last entry.
7737         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7738         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7739         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7740         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7741         character pointer.
7742         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7743         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7744         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7745         character pointer.
7747 2006-08-31  Roman Kennke  <kennke@aicas.com>
7749         * javax/swing/text/BoxView.java
7750         (getWidth): Return the width with insets added, not with one
7751         added and one removed.
7752         (getHeight): Return the height with insets added, not with one
7753         added and one removed.
7754         * javax/swing/text/GlyphView.java
7755         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7756         * javax/swing/text/ParagraphView.java
7757         (Row.getAlignment): Adjust alignment with respect to
7758         the justification attribute.
7759         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7760         attribute.
7761         * javax/swing/text/html/CSS.java
7762         (getValue): Convert length values.
7763         * javax/swing/text/html/Paragraph.java
7764         (painter): New field.
7765         (paint): Implemented to delegate painting to the BoxPainter too.
7766         (setPropertiesFromAttributes): Implemented to load attributes
7767         from CSS.
7768         * javax/swing/text/html/StyleSheet.java
7769         (BoxPainter.as): Removed field.
7770         (BoxPainter.leftInset): New field.
7771         (BoxPainter.bottomInset): New field.
7772         (BoxPainter.rightInset): New field.
7773         (BoxPainter.topInset): New field.
7774         (BoxPainter.BoxPainter): Implemented to load the insets from
7775         CSS.
7776         (BoxPainter.getInset): Implemented.
7777         * gnu/javax/swing/text/html/Length.java: New class.
7778         Converts CSS length units to usable values.
7780 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7782         * configure.ac: Add check for gethostbyname_r.
7783         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7784         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7785         SOCKET_NOSIGNAL according to the configure check.
7786         (cpnet_send): Use SOCKET_NOSIGNAL.
7787         (cpnet_sendTo): Likewise.
7788         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7789         defined.
7790         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7791         are not available.
7793         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7795 2006-08-31  Roman Kennke  <kennke@aicas.com>
7797         * javax/swing/JEditorPane.java
7798         (getPreferredSize): Replace preferred size with minimum
7799         UI size only if the scrollable does _not_ track the viewport
7800         size and only if the viewport's size is smaller than the
7801         scrollable's size.
7802         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7803         method calls.
7804         * javax/swing/plaf/basic/BasicTextUI.java
7805         (getPreferredSize): Read-lock the document to avoid
7806         concurrency problems.
7807         (getMaximumSize): Return maximum size of the view.
7808         Read-lock the document to avoid concurrency problems.
7809         (getMinimumSize): Return minimum size of the view.
7810         Read-lock the document to avoid concurrency problems.
7812 2006-08-31  Gary Benson  <gbenson@redhat.com>
7814         * java/net/SocketPermission.java
7815         (maybeBracketIPv6Address): Renamed to processHostport.
7816         (processHostport): Also translate "" to "localhost".
7817         (setHostPort): Remove special cases for empty hostport and for
7818         extra colons in hostport (processHostport handles these now).
7820 2006-08-31  Mark Wielaard  <mark@klomp.org>
7822         * javax/swing/text/ZoneView.java (Zone): Make static class.
7823         Constructor takes axis parameter.
7824         (createZone): Create Zone with getAxis() as major axis.
7826 2006-08-30  Roman Kennke  <kennke@aicas.com>
7828         * javax/swing/text/ZoneView.java
7829         (loadChildren): Implemented.
7830         (getViewIndexAtPosition): Implemented.
7831         (checkZoneAt): New helper method.
7832         (splitZone): New helper method.
7833         (getPreferredZoneEnd): New helper method.
7835 2006-08-30  Roman Kennke  <kennke@aicas.com>
7837         * javax/swing/text/ZoneView.java: New class.
7839 2006-08-30  Roman Kennke  <kennke@aicas.com>
7841         * javax/swing/JMenu.java
7842         (getMenu): Removed unneeded cast.
7843         (getPopupMenuOrigin): Made positioning algorithm better respect
7844         the screen bounds.
7845         (setMenuLocation): Also set the location on the popup if it's
7846         not null.
7847         (setModel): Use menuChangeListener so that we don't override
7848         the changeListener field from AbstractButton.
7849         (setPopupMenuVisible): Use custom location if set, otherwise
7850         fallback to getPopupMenuOrigin().
7852 2006-08-29  Roman Kennke  <kennke@aicas.com>
7854         * javax/swing/text/InternationalFormatter.java
7855         (stringToValue): Fixed bounds check.
7856         * javax/swing/text/MaskFormatter.java
7857         (MaskFormatter): Don't explicitly set allosInvalid property.
7858         (convertStringToValue): New helper method.
7859         (convertValueToString): New helper method.
7860         (convertValue): Removed. Replaced by the 2 convert* methods
7861         above.
7862         (getPadCharAt): Removed.
7863         (isCharValid): Removed.
7864         (pad): Removed.
7865         (stringToValue): Fixed stringToValue conversion.
7866         (stripLiterals): Removed.
7867         (valueToString): Fixed valueToString conversion.
7868         * javax/swing/text/DefaultFormatter.java
7869         (DefaultFormatter): Default to commitsOnValidEdit = false.
7871 2006-08-29  Roman Kennke  <kennke@aicas.com>
7873         * javax/swing/text/TextAction.java
7874         (getTextComponent): Check event for null and return null in
7875         this case.
7876         (augmentList): Augment Actions based on their names.
7877         * javax/swing/text/DefaultEditorKit.java
7878         (BeginAction.actionPerformed): Check target for null.
7879         (BeginLineAction.actionPerformed): Check target for null.
7880         (CopyAction.actionPerformed): Check target for null.
7881         (CutAction.actionPerformed): Check target for null.
7882         (EndAction.actionPerformed): Check target for null.
7883         (EndLineAction.actionPerformed): Check target for null.
7884         (InsertBreakAction.actionPerformed): Check target for null.
7885         (InsertTabAction.actionPerformed): Check target for null.
7886         (PasteAction.actionPerformed): Check target for null.
7887         (SelectAllAction.actionPerformed): Check target for null.
7888         (SelectionBeginAction.actionPerformed): Check target for null.
7889         (SelectionBeginLineAction.actionPerformed): Check target for null.
7890         (SelectionEndAction.actionPerformed): Check target for null.
7891         (SelectionEndLineAction.actionPerformed): Check target for null.
7892         (SelectLineAction.actionPerformed): Check target for null.
7893         (SelectWordAction.actionPerformed): Check target for null.
7895 2006-08-29  Roman Kennke  <kennke@aicas.com>
7897         * javax/swing/plaf/basic/BasicTextUI.java
7898         (FocusHandler): New class. This is moved from the anonymous
7899         inner focus listener class to a static member class, and
7900         is now shared between components.
7901         (DocumentHandler): This class is combined with the PropertyHandler
7902         into the Handler class.
7903         (PropertyChangeHandler): This class is combined with the
7904         DocumentHandler into the Handler class.
7905         (Handler): New class. This combines the Property and Document
7906         handler into one class.
7907         (RootView.changedUpdate): Only forward if real view != null.
7908         (RootView.insertUpdate): Only forward if real view != null.
7909         (RootView.removeUpdate): Only forward if real view != null.
7910         (documentHandler): Removed field and replaced by handler.
7911         (focuslistener): Made field static and renamed to focusListener.
7912         (handler): New field.
7913         (kit): Lazily initialize field.
7914         (rootView): Lazily initialize field.
7915         (updateHandler): Removed and replaced by handler.
7916         (getEditorKit): Lazily instantiate field.
7917         (installDefaults): Don't set margin twice. Install correct
7918         property for disabledTextColor. Moved caret and highlighter
7919         initialization to installFixedDefaults.
7920         (installFixedDefaults): New method. Installs defaults that
7921         can't be overridden by subclasses.
7922         (installListeners): Only install focus handler when new
7923         system property gnu.swing.text.no-xlike-clipboard is not set.
7924         Lazily initialize focus handler.
7925         (installUI): Lazily initialize rootView. Install handler
7926         both for property and document changes.
7927         (uninstallDefaults): Uninstall the UI defaults.
7928         (uninstallFixedDefaults): New method. Uninstalls the fixed
7929         defaults.
7930         (installListeners): Only uninstall focus handler when not null.
7931         (uninstallUI): Uninstall property and document listener here.
7933 2006-08-29  Gary Benson  <gbenson@redhat.com>
7935         * java/net/SocketPermission.java
7936         (maybeBracketIPv6Address): New method.
7937         (<init>): Pass the hostport argument through the above.
7939         * java/net/NetworkInterface.java (getInetAddresses):
7940         Don't bracket IPv6 addresses.
7942 2006-08-28  Roman Kennke  <kennke@aicas.com>
7944         * javax/swing/text/BoxView.java
7945         (calculateMinorAxisRequirements): Initialize max size
7946         with Integer.MAX_VALUE.
7947         * javax/swing/text/Utilities.java
7948         (getBreakLocation): For simple chars, scan the text directly.
7949         * javax/swing/text/WrappedPlainView.java
7950         (tabBase): New field.
7951         (tabSize): New field.
7952         (calculateBreakPosition): Use Utilities. Fixed for correct
7953         break calculation.
7954         (changedUpdate): Update children directly.
7955         (insertUpdate): Update children directly. Notify children.
7956         (removeUpdate): Update children directly. Notify children.
7957         (updateChildren): New helper method.
7958         (nextTabStop): Fixed to return correct results.
7959         (paint): Update tabBase.
7960         (updateMetrics): Update tab size.
7962 2006-08-28  Roman Kennke  <kennke@aicas.com>
7964         * javax/swing/text/Position.java
7965         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7966         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7968 2006-08-28  Roman Kennke  <kennke@aicas.com>
7970         * javax/swing/text/View.java
7971         (height): Removed unneeded field.
7972         (width): Removed unneeded field.
7973         (getBreakWeight): Return GoodBreakWeight when pos is after
7974         the view's span.
7975         (getToolTipText): Check view index more carefully. Avoid
7976         Rectangle creation.
7977         (insertUpdate): Only execute method body if view count > 0.
7978         When updateChildren returns false, clear the ec variable.
7979         (updateChildren): Added null checks.
7980         (viewToModel): Initialize bias array correctly.
7981         * javax/swing/text/CompositeView.java
7982         (children): Made private.
7983         (numChildren): New field.
7984         (loadChildren): Check factory for null. Don't load children
7985         when factory is null.
7986         (replace): Removed null check. Nullify removed children. Made
7987         growing the array more efficient.
7988         (getViewCount): Return numChildren rather then the real array
7989         size.
7990         * javax/swing/text/BoxView.java
7991         (getViewAtPoint): Fixed algorithm for finding the view.
7992         (replace): Made array growing more efficient.
7993         (replaceLayoutArray): New helper method for growing/patching
7994         the layout arrays.
7995         (viewToModel): Make sure we have a valid layout.
7997 2006-08-28  Tania Bento  <tbento@redhat.com>
7999         * java/awt/MenuShortcut.java
8000         (MenuShortcut (int, boolean)): Set keyName.
8001         (toString): Modified string output.
8002         (setKeyName): New private method.
8004 2006-08-28  Roman Kennke  <kennke@aicas.com>
8006         * javax/swing/text/GapContent.java
8007         (Mark.getOffset): Made assert less strict, include boundary.
8008         (search): Made package private to avoid accessor method.
8010 2006-08-28  Roman Kennke  <kennke@aicas.com>
8012         * javax/swing/text/StringContent.java
8013         (InsertUndo.positions): New field.
8014         (InsertUndo.redo): Update the undo positions.
8015         (InsertUndo.undo): Fetch the undo positions.
8016         (Mark): New class. Layer of indirection to allow Positions
8017         to be GC'ed while we still hold references to the Mark.
8018         (RemoveUndo.len): New field.
8019         (RemoveUndo.positions): New field.
8020         (RemoveUndo.RemoveUndo): Fetch undo positions.
8021         (RemoveUndo.redo): Re-fetch positions and string.
8022         (RemoveUndo.undo): Update undo positions.
8023         (StickyPosition.mark): New field.
8024         (StickyPosition.offset): Removed field.
8025         (StickyPosition.StickyPosition): Create new Mark. Register
8026         Position in queueOfDeath. Update reference count on mark.
8027         (StickyPosition.getOffset): Return offset stored in mark.
8028         (StickyPosition.setOffset): Removed unneeded method.
8029         (UndoPosRef): New class. Handles undo/redo on positions/marks.
8030         (EMPTY): New field.
8031         (marks): New field. Stores the marks.
8032         (positions): Removed field.
8033         (queueOfDeath): New field. Used for GCing the positions.
8034         (StringContent): Initialize queueOfDeath.
8035         (createPosition): Lazily create marks vector.
8036         (garbageCollect): New helper method. Collects positions
8037         to be GCed and updates their marks.
8038         (getChars): Fixed bounds check.
8039         (getPositionsInRange): When v == null, create new Vector,
8040         otherwise use v. Store UndoPosRefs in vector.
8041         (getString): Added comment about bug in RI.
8042         (insertString): Use new helper method for replacing the array.
8043         Correctly update positions.
8044         (length): Removed this qualifier.
8045         (remove): Use new helper method for replacing the array.
8046         Correctly update positions.
8047         (replace): New helper method for growing or patching the array.
8048         (updateUndoPositions): Implemented. Updates the positions
8049         for undo/redo operations.
8051 2006-08-27  Roman Kennke  <kennke@aicas.com>
8053         * javax/swing/text/StyleContext.java
8054         (NamedStyle.attributes): Made field transient.
8055         (NamedStyle.changeEvent): Made field transient.
8056         (NamedStyle.name): Removed field. The name is stored as
8057         attribute.
8058         (NamedStyle.NamedStyle(String,Style)): Call setName() for
8059         storing the name and check for null name and resolveParent.
8060         Don't initialize changeEvent.
8061         (NamedStyle.copyAttributes): Return a new NamedStyle,
8062         rather than a plain copy of the attributes field.
8063         (NamedStyle.fireStateChange): Lazily create changeEvent
8064         field.
8065         (NamedStyle.getName): Fetch name from attributes.
8066         (NamedStyle.setName): Store name from attributes.
8067         (NamedStyle.readObject): Implemented for correct
8068         deserialization.
8069         (NamedStyle.writeObject): Implemented for correct
8070         serialization.
8071         (NamedStyle.setResolveParent): When new parent is null,
8072         remove resolveParent attribute. Use addAttribute() method
8073         rather than StyleContext addAttribute().
8074         (NamedStyle.toString): Fixed to produce output equal to the
8075         RI.
8076         (SmallAttributeSet.resolveParent): New field.
8077         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
8078         the resolveParent field correctly.
8079         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
8080         array but store it directly. Update
8081         the resolveParent field correctly.
8082         (SmallAttributeSet.clone): Return this as the object is
8083         immutable.
8084         (SmallAttributeSet.containsAttributes): Make sure that keys
8085         and values are the same.
8086         (SmallAttributeSet.containsAttribute):  Make sure that keys
8087         and values are the same.
8088         (SmallAttributeSet.copyAttributes): Return this as the object is
8089         immutable.
8090         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
8091         are equal if they have the same number of attributes and
8092         one contains the other.
8093         (SmallAttributeSet.getAttribute): Improved lookup of
8094         resolveParent.
8095         (SmallAttributeSet.getResolveParent): Improved lookup of
8096         resolveParent.
8097         (SmallAttributeSet.isEqual): When comparing object is a
8098         SmallAttributeSet, consider them equal only if they are the
8099         same object.
8100         (SmallAttributeSet.toString): Fixed to produce output equal to the
8101         RI.
8102         (attributeSetPool): New field.
8103         (defaultStyleContext): Initialize lazily.
8104         (defaultStyle): Removed field. This is stored in the style context
8105         as attribute.
8106         (listenerList): Removed field. The NamedStyle stores the
8107         listeners.
8108         (readAttributeKeys): New static field. Used for looking up
8109         the serialization mappings when reading.
8110         (search): New field. Used as search key.
8111         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
8112         (styles): New field. Stores the styles and listeners.
8113         (styleTable): Removed field. Replaced by styles field.
8114         (writeAttributeKeys): New static field. Used for looking up
8115         the serialization mappings when writing.
8116         (static_initializer): Register mappings for all keys in
8117         StyleConstants.
8118         (StyleContext): Initialize styles correctly.
8119         (addAttributes): Fixed caching of immutable attributes.
8120         (addAttribute): Fixed caching of immutable attributes.
8121         (removeAttributes): Fixed caching of immutable attributes.
8122         (removeAttribute): Fixed caching of immutable attributes.
8123         (addChangeListener): Add listener to styles field.
8124         (removeChangeListener): Remove listener from styles field.
8125         (getChangeListeners): Fetch listeners from styles field.
8126         (addStyle): Add style to styles field.
8127         (cleanupPool): New method.
8128         (getDefaultStyleContext): Lazily create context.
8129         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
8130         (getMutableAttributeSet): New helper method. Used for
8131         caching.
8132         (getStaticAttribute): Fetch key from readAttributeKeys.
8133         (getStyleNames): Return names from styles field.
8134         (getStyle): Lookup style in styles field.
8135         (removeStyle): Remove style from styles field.
8136         (readAttributeSet): Fixed deserialization.
8137         (writeAttributeSet): Fixed serialization.
8138         (readObject): Fixed deserialization.
8139         (writeObject): Fixed serialization.
8140         (reclaim): Simply cleanup the pool.
8141         (registerStaticAttributeKey): Store mapping in both ways.
8142         (searchImmutableSet): New helper method for caching.
8143         (toString): Fixed for output like the RI.
8144         * javax/swing/text/StyleConstants.java
8145         (keys): New field. Stores all known keys.
8146         (StyleConstants): Store created key in keys list.
8147         * javax/swing/event/EventListenerList.java
8148         (readObject): Fixed deserialization.
8149         (writeObject): Fixed serialization.
8151 2006-08-25  Roman Kennke  <kennke@aicas.com>
8153         * javax/swing/text/CompositeView.java
8154         (insets): Removed. Replaced by single short fields.
8155         (top): New field. Replaces insets.
8156         (bottom): New field. Replaces insets.
8157         (left): New field. Replaces insets.
8158         (right): New field. Replaces insets.
8159         (CompositeView): Initialize insets fields.
8160         (createDefaultLocation): Removed unneeded method.
8161         (getBottomInset): Return field directly.
8162         (getTopInset): Return field directly.
8163         (getLeftInset): Return field directly.
8164         (getRightInset): Return field directly.
8165         (getInsideAllocation): Adjusted to work on new insets fields.
8166         (getViewIndex): Fixed check.
8167         (loadChildren): Don't replace the old children.
8168         (replace): Make sure that there is an array to operate on.
8169         Only set parent to null, when it is this View.
8170         (setInsets): Adjusted to work with new insets fields.
8171         (setParagraphInsets): Fixed to pull insets directly from
8172         StyleConstants.
8174 2006-08-25  Roman Kennke  <kennke@aicas.com>
8176         * javax/swing/text/ComponentView.java
8177         (Interceptor): New inner helper class. Used to propagate
8178         invalidate requests and cache component layout sizes.
8179         (interceptor): New field.
8180         (getAlignment): Fetch alignment from interceptor container.
8181         (getComponent): Don't create component here. This is done
8182         in setParent().
8183         (getMaximumSpan): Fetch layout info from interceptor. Check
8184         for illegal axis.
8185         (getMinimumSpan): Fetch layout info from interceptor. Check
8186         for illegal axis.
8187         (getPreferredSpan): Fetch layout info from interceptor. Check
8188         for illegal axis.
8189         (modelToView): Fixed model to view mapping.
8190         (viewToModel): Fixed view to model mapping.
8191         (paint): Check for null. Set bounds on interceptor rather
8192         then component.
8193         (setParentImpl): Install interceptor between component
8194         and hosting container.
8195         (setParent): Call super.setParent() immediately.
8197 2006-08-25  Roman Kennke  <kennke@aicas.com>
8199         * javax/swing/text/LabelView.java
8200         (setPropertiesFromAttributes): Only set background when
8201         the corresponding attribute is actually defined, otherwise
8202         set to null, as the StyleConstants would return black.
8203         * javax/swing/text/DefaultStyledDocument.java
8204         (ElementBuffer.documentEvent): Removed obsolete field.
8205         (ElementBuffer.change): Do prepareEdits() and finishEdits()
8206         to correctly update the element structure.
8207         (ElementBuffer.insertContentTag): Removed unused statement.
8208         (ElementBuffer.recreateAfterFracture): Removed
8209         unused obsolete method.
8210         (setCharacterAttributes): Removed unused statement.
8212 2006-08-25  Roman Kennke  <kennke@aicas.com>
8214         * examples/gnu/classpath/examples/swing/Demo.java
8215         (LaterMain.run): Removed unused local variable.
8216         (Demo): Don't put desktop in scrollpane.
8217         (addChildren): Removed unused method.
8218         (mkButtonBar): Added HTML demo.
8219         (mkMenuBar): Added HTML demo.
8220         (mkPanel): Removed unused method.
8221         (mkScrollPane): Removed unused method.
8222         (mkTree): Removed unused method.
8223         (valign2str): Removed unused method.
8224         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
8225         Initialize text field with some HTML that already works.
8226         (DEBUG): New field. Set to true for debugging output.
8227         (createContent): Dump element tree after parsing.
8229 2006-08-25  Roman Kennke  <kennke@aicas.com>
8231         * javax/swing/text/html/CSS.java
8232         (getValue): Added color value conversion.
8233         * javax/swing/text/html/HTMLDocument.java
8234         (HTMLReader.ConvertAction): New class, converts HTML style tags
8235         to CSS attributes.
8236         (HTMLReader.initTags): Register ConvertAction for <font> tag.
8237         * javax/swing/text/html/InlineView.java
8238         (setPropertiesFromAttributes): Implemented to fetch
8239         CSS character attributes.
8240         * javax/swing/text/html/StyleSheet.java
8241         (addCSSAttribute): Convert value.
8242         (getBackground): Implemented to fetch CSS background color
8243         attribute.
8244         (getForeground): Implemented to fetch CSS color
8245         attribute.
8246         (getFont): Adjust font size for superscript and subscript.
8247         (translateHTMLToCSS): Rudimentary implementation that
8248         copies the original attributes, so that any CSS attributes in
8249         there are preserved.
8250         (stringToColor): Use CSSColor for conversion.
8251         * gnu/javax/swing/text/html/css/CSSColor.java:
8252         New class. Converts CSS color values to RGB color values.
8253         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
8254         Removed. This is more or less replaced by CSSColor and the
8255         ConvertAction in HTMLReader.
8257 2006-08-25  Roman Kennke  <kennke@aicas.com>
8259         * javax/swing/text/BoxView.java
8260         (childReqs): Removed obsolete field.
8261         (baselineLayout): Reimplemented for correct baseline layout.
8262         (baselineRequirements): Reimplemented for correct baseline
8263         layout.
8264         (updateChildRequirements): Removed obsolete method.
8265         * javax/swing/text/GlyphView.java
8266         (DefaultGlyphPainter.getSpan): Removed unused statement.
8267         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
8268         specially. The subscript/superscript layout is performed
8269         via the alignment, the font is supplied by the StyleContext.
8270         (breakView): Removed unused statements.
8271         (getAlignment): Adjust alignment according to the
8272         superscript/subscript setting.
8273         (getFont): Reimplemented to fetch the font from the style
8274         context, or from the document if the stylecontext is not
8275         available.
8276         (getPreferredSpan): Adjust span for superscript. Use switch
8277         instead of if-else.
8278         * javax/swing/text/LabelView.java
8279         (setPropertiesFromAttributes): Fetch background and foreground
8280         from document / style context.
8281         (isSubscript): Resync properties if needed.
8282         * javax/swing/text/ParagraphView.java
8283         (Row.calculateMinorAxisRequirements): Overridden to perform
8284         a baseline layout.
8285         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
8287 2006-08-24  Roman Kennke  <kennke@aicas.com>
8289         * javax/swing/text/Utilities.java
8290         (BUF_LENGTH): Removed unused field.
8291         (drawTabbedText): Removed unneeded cast.
8292         (getBreakLocation): Removed unneeded cast.
8293         Fixed offset to account for Segments not starting at 0.
8295 2006-08-24  Roman Kennke  <kennke@aicas.com>
8297         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8298         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
8299         (TabbedPaneScrollLayout.layoutContainer): Likewise.
8300         (ScrollingPane.updateUI): Likewise.
8301         (calculateTabWidth): Rewritten to correctly and efficiently
8302         layout the tab width.
8303         (layoutLabel): Call SwingUtilities method with the tabPane
8304         as argument.
8305         (paintContentBorderLeftEdge): Removed unused statement.
8306         (paintContentBorderRightEdge): Removed unused statement.
8307         (paintContentBorder): Removed unused statement.
8309 2006-08-24  Roman Kennke  <kennke@aicas.com>
8311         * javax/swing/plaf/basic/BasicTextUI.java
8312         (RootView.getAttributes): Overridden to return null,
8313         as the RootView has no parent.
8315 2006-08-24  Roman Kennke  <kennke@aicas.com>
8317         * javax/swing/text/html/CSSParser.java: Removed.
8318         * javax/swing/text/html/CSS.java
8319         (getValue): New helper method. Returns special converter
8320         instances for certain kinds of property values.
8321         * javax/swing/text/html/HTMLDocument.java
8322         (HTMLReader.CharacterAction.start): Don't translate tags
8323         here. Instead, store the attributes directly with the tag
8324         as key.
8325         (content): Removed field. The Content object is handled
8326         by AbstractDocument.
8327         (styleSheet): Removed field. The styleSheet is the styleContext
8328         of this document and handled by the DefaultStyledDocument already.
8329         (HTMLDocument(Content,StyleSheet): Simply call super here.
8330         The super classes already handle the content and styleContext.
8331         (HTMLDocument()): Call this() with a default GapContent and
8332         StyleSheet.
8333         (getStyleSheet): Return the styleContext here.
8334         (insertUpdate): New method. Overridden to add the
8335         CONTENT dummy tag to the element's attributes.
8336         (setBase): Set the base on the styleContext.
8337         * javax/swing/text/html/HTMLEditorKit.java
8338         (styleContext): Removed unneeded field.
8339         (styleSheet): Made field private.
8340         (HTMLEditorKit): Do nothing here. The StyleSheet is
8341         created lazily in getStyleSheet(). A styleContext is not
8342         needed here.
8343         (getStyleSheet): Create StyleSheet correctly.
8344         (insertHTML): Removed unneeded cast.
8345         * javax/swing/text/html/InlineView.java
8346         (attributes): New field.
8347         (changedUpdate): Reload attributes. Trigger preferenceChanged.
8348         (getAttributes): Implemented to fetch the attributes from
8349         the stylesheet.
8350         * javax/swing/text/html/MultiAttributeSet.java: New class.
8351         Multiplexes between several AttributeSets.
8352         * javax/swing/text/html/MultiStyle.java: New class.
8353         Multiplexes between several Styles.
8354         * javax/swing/text/html/ParagraphView.java
8355         (attributes): New field.
8356         (getAttributes): Implemented to fetch the attributes from
8357         the stylesheet.
8358         * javax/swing/text/html/StyleSheet.java
8359         (CssParser): Removed inner class.
8360         (CSSStyle): New inner class. Represents a style defined
8361         by a CSS rule.
8362         (CSSStyleSheetParserCallback): New class, for parsing
8363         CSS stylesheets.
8364         (css): New field. Stores the CSS rules.
8365         (resolvedStyles): New field. Stores resolved styles.
8366         (StyleSheet): Initialize resolvedStyles map.
8367         (addRule): Removed bogus impl.
8368         (getFont): Implemented to fetch font, based on CSS rules.
8369         (getResolvedStyle): New helper method. Looks up resolved
8370         styles, and resolves a style if necessary.
8371         (resolveStyle): New pair of helper methods. Resolves
8372         CSS style rules.
8373         (getRule(String)): Provide rudimentary implementation.
8374         (getRule(Tag,Element)): Implemented.
8375         (getViewAttributes): Implemented.
8376         (loadRules): Implemented.
8377         (translateHTMLToCSS): Tagged as not implemented.
8378         * javax/swing/text/html/ViewAttributeSet.java: New class.
8380 2006-08-24  Roman Kennke  <kennke@aicas.com>
8382         * javax/swing/text/FlowView.java:
8383         (LogicalView.getAttributes): New method. Overrides super
8384         impl to return the attributes of the FlowView instance.
8385         * javax/swing/text/LabelView.java:
8386         (setPropertiesFromAttributes): Fetch attributes from
8387         View, rather then from the Element. (In the HTML
8388         package the getAttributes() method is overridden to
8389         return different attributes). Fetch font from the StyledDocument.
8391 2006-08-24  Roman Kennke  <kennke@aicas.com>
8393         * javax/swing/text/DefaultEditorKit.java:
8394         (DefaultKeyTypedAction.actionPerform): Also filter
8395         ALT and CTRL modifiers.
8397 2006-08-24  Roman Kennke  <kennke@aicas.com>
8399         * gnu/javax/swing/text/html/css/FontSize.java,
8400         * gnu/javax/swing/text/html/css/FontStyle.java,
8401         * gnu/javax/swing/text/html/css/FontWeight.java:
8402         New classes. Used to convert CSS font attributes to AWT/Swing
8403         Font constants.
8405 2006-08-24  Francis Kung  <fkung@redhat.com>
8406         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
8407         * java/awt/image/ColorConvertOp.java: Updated javadocs.
8408         (srccs, dstcs, rasterValid): Variables removed.
8409         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
8410         (copyRaster): Check for null rendering hints
8411         (createCompatibleColorModel): New private method.
8412         (createCompatibleDestImage): Re-implemented.
8413         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
8414         (createCompatibleDestRaster(Raster)): Re-implemented.
8415         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
8416         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
8417         (getPoint2D): Clean up formatting.
8418         * java/awt/image/ComponentColorModel.java
8419         (constructor): use findBits method instead of passing null.
8420         (findBits): New method.
8422 2006-08-24  Gary Benson  <gbenson@redhat.com>
8424         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
8425         addresses.
8427 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
8429         * java/lang/ref/Reference.java
8430         (queue, nextOnQueue): Made volatile.
8431         (enqueue): Made thread safe.
8432         * java/lang/ref/ReferenceQueue.java
8433         (lock): New field.
8434         (poll): Removed synchronized.
8435         (enqueue): Changed to synchronize on lock object, to update Reference
8436         state and return success status.
8437         (dequeue, remove): Synchronize on lock object.
8439 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
8441         * java/security/SecureClassLoader.java
8442         (protectionDomainCache): Changed to HashMap.
8443         (SecureClassLoader): Removed redundant security check.
8444         (defineClass(String,byte[],int,int,CodeSource): Moved
8445         protection domain lookup/construction to new method.
8446         (defineClass(String,ByteBuffer,CodeSource): New method.
8447         (getProtectionDomain): New method.
8449 2006-08-23  Roman Kennke  <kennke@aicas.com>
8451         * javax/swing/JComponent.java
8452         (isRepainting): Made package private.
8453         (paintChild): New field.
8454         (findOpaqueParent): Removed method. This is now in
8455         paintImmediately().
8456         (findOverlapFreeParent): Removed method. This is now
8457         in paintImmediately2().
8458         (findPaintRoot): Removed method. This is now
8459         in paintImmediately2().
8460         (isCompletelyObscured): Changed to take rectangle as single
8461         ints as argument.
8462         (isPaintingDoubleBuffered): Removed method. This is now
8463         in paintImmediately2().
8464         (isPartiallyObscured): New helper method.
8465         (onTop): New helper method for optimization.
8466         (paintChildren): Paint only to specific child when
8467         requested like this from paintImmediately2().
8468         (paintDoubleBuffered): Changed to take rectangle as single int
8469         arguments.
8470         (paintImmediately2): Changed to take rectangle as single int
8471         arguments. Optimized determination of paint root.
8472         (paintImmediately(Rectangle)): Change to delegate to
8473         paintImmediately(int,int,int,int).
8474         (paintImmediately(int,int,int,int)): Look for opaque ancestor
8475         and start painting there.
8476         (paint): Call paintDoubleBuffered() with int arguments. Only
8477         paint component, when not completely occupied by opaque child.
8478         (processKeyBinding): Removed unnecessary cast.
8479         (isOccupiedByChild): New helper method.
8480         * javax/swing/RepaintManager.java
8481         (repaintUnderway): Removed obsolete field.
8482         (commitRequests): Removed obsolete field.
8483         (RepaintManager): Removed initialization of obsolete fields.
8484         (addDirtyRegion): Removed unused statement.
8485         (commitBuffer): Changed to take plain ints as argument.
8486         (compileRepaintRoots): Optimized to avoid use of Rectangle.
8487         Compute offsets in place, rather than using SwingUtilities.
8488         (paintDirtyRegions): Removed unused field.
8489         * javax/swing/JMenuItem.java
8490         (onTop): Return true when not descendant of JInternalFrame.
8491         * javax/swing/JPopupMenu.java
8492         (onTop): Return true.
8493         * javax/swing/JToolTip.java
8494         (onTop): Return true.
8495         * javax/swing/JViewport.java
8496         (paintImmediately2): Change signature to match the
8497         corresponding JComponent method.
8499 2006-08-23  Tania Bento  <tbento@redhat.com>
8501         * java/awt/Color.java
8502         (brighter): Modified algorithm to correctly determine the
8503         new brighter colour.
8505 2006-08-23  Roman Kennke  <kennke@aicas.com>
8507         * java/awt/Container.java
8508         (maxSize): Removed field. This is already declared in Component.
8509         (validateTree): Check for ContainerPeer. Don't addNotify here.
8510         Only validate Component instances if they are invalid.
8512 2006-08-22  Roman Kennke  <kennke@aicas.com>
8514         * javax/swing/JComponent.java
8515         (preferredSize): Removed field.
8516         (maximumSize): Removed field.
8517         (minimumSize): Removed field.
8518         (getMaximumSize): Adjusted to delegate to Component, rather
8519         then managing the size in JComponent.
8520         (getMinimumSize): Adjusted to delegate to Component, rather
8521         then managing the size in JComponent.
8522         (getPreferredSize): Adjusted to delegate to Component, rather
8523         then managing the size in JComponent.
8524         (isMaximumSizeSet): Removed.
8525         (isMinimumSizeSet): Removed.
8526         (isPreferredSizeSet): Removed.
8527         (setMaximumSize): Removed.
8528         (setMinimumSize): Removed
8529         (setPreferredSize): Removed.
8531 2006-08-22  Roman Kennke  <kennke@aicas.com>
8533         * javax/swing/AbstractButton.java
8534         (ButtonChangeListener.stateChanged): Delegate to combined
8535         handler.
8536         (EventHandler): New inner class. Handles all three types
8537         of events on the model.
8538         (eventHandler): New field. Stores the combined event
8539         handler.
8540         (AbstractButton): Moved listener initialization to
8541         setModel().
8542         (createActionListener): Return combined handler.
8543         (createChangeListener): Return combined handler.
8544         (createItemListener): Return combined handler.
8545         (getEventHandler): New helper method for creating the combined
8546         handler.
8547         (setModel): Initialize listeners here.
8548         * javax/swing/plaf/basic/BasicButtonListener.java
8549         (ButtonAction): New class. Implements the keyboard action
8550         for buttons.
8551         (checkOpacity): Implemented.
8552         (createDefaultActionMap): New helper method.
8553         (installKeyboardActions): Rewritten to install InputMap
8554         and ActionMap according to 'new' keyboard input method.
8555         (mouseClicked): Commented as no-op.
8556         (mouseDragged): Commented as no-op.
8557         (mouseMoved): Commented as no-op.
8558         (propertyChange): Check for contentAreaFilled change and
8559         update opacity. Pull handling of HTLM in font and text handler.
8560         (stateChanged): Repaint button.
8561         (uninstallKeyboardActions): Properly uninstall keyboard actions.
8562         * javax/swing/plaf/basic/BasicButtonUI.java
8563         (listener): Removed.
8564         (sharedListener): New static field. Stores the shared listener.
8565         (sharedUI): New static field. Stores the shared UI.
8566         (createButtonListener): Return shared instance here.
8567         (createUI): Return shared instance here.
8568         (getButtonListener): New helper method. Looks for the
8569         BasicButtonListener installed on a button and returns it.
8570         (installDefaults): Correctly install rollover property here.
8571         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
8572         (installKeyboardActions): Fetch listener with new helper method.
8573         (installListeners): Don't use removed field. Check for null.
8574         (installUI): Added comment about order of method invocations.
8575         (uninstallDefaults): Don't uninstall non-uninstallable properties.
8576         (uninstallKeyboardActions): Fetch listener with new helper method.
8577         (uninstallListeners): Fetch listener with new helper method.
8578         (paintIcon): Paint icon offset when pressed and armed.
8579         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
8580         * javax/swing/plaf/metal/MetalButtonUI.java
8581         (sharedUI): New field. Stores the shared UI.
8582         (MetalButtonUI): Don't initialize fields here.
8583         (createButtonListener): Removed method. Use super impl.
8584         (createUI): Return shared instance.
8585         (getDisabledTextColor): Update field here.
8586         (getFocusColor): Update field here.
8587         (getSelectColor): Update field here.
8588         (installDefaults): Don't handle rollover property here.
8589         (uninstallDefaults): Don't handle rollover property here.
8590         (paintButtonPressed): Use accessor method to update the
8591         field value.
8593 2006-08-21  Mark Wielaard  <mark@klomp.org>
8595         Merge NATIVE_LAYER branch.
8597         2006-08-20  Mark Wielaard  <mark@klomp.org>
8599         * doc/tools.texinfo: Add file from trunk.
8600         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
8601         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
8602         headers.
8603         * native/jni/java-lang/java_lang_VMProcess.c
8604         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8605         * native/jni/java-net/java_net_VMInetAddress.c
8606         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8607         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8608         files.
8609         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8610         mask.
8611         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8612         theaddr.
8613         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8614         cpnet.h.
8615         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8616         don't implement.
8617         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8618         argument.
8619         * include/java_lang_VMProcess.h: Regenerated.
8621         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
8623         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8624         (nativeReceive): Fixed the type of the arrays (use java types).
8625         (nativeSendTo): Force throwing an exception if port is 0.
8627         * native/jni/java-net/javanet.c:
8628         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8629         returned.
8630         (_javanet_recvfrom): Likewise.
8631         (_javanet_sendto): Throw a NullPointerException if the socket is
8632         not connected and no address is given.
8633         
8634         * native/jni/java-net/javanet.h
8635         (NULL_EXCEPTION): Defined.
8637         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
8639         * native/jni/java-net/java_net_VMInetAddress.c
8640         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8641         error.
8643         * native/jni/java-net/javanet.c
8644         (_javanet_accept): Fixed bogus call to TARGET.
8645         (_javanet_create_inetaddress): Fixed address generation. Fixed
8646         bogus memory free.
8647         (_javanet_bind): set "Reuse address" flag.
8649         * native/jni/native-lib/cpio.c
8650         (cpio_getModificationTime): Fixed type.
8651         (cpio_removeFile): Use rmdir too.
8653         * native/jni/native-lib/cpnet.c
8654         (cpnet_getHostByName): Fixed error detection.
8656         * native/jni/native-lib/cpnet.h
8657         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8658         memory.
8659         (cpnet_IPV4AddressToBytes): Fixed types.
8660         
8661         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
8663         * native/jni/native-lib/cpio.c
8664         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8666         * native/jni/native-lib/cpnet.h:
8667         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8668         messed by signs in jbyte.
8669         
8670         * native/jni/native-lib/cpproc.h
8671         (CPIO_EXEC_NUM_PIPES): Compilation fix.
8673         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
8675         * native/jni/native-lib/cpnet.c
8676         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8677         (waitForWritable, waitForReadable): New functions.
8678         (socketTimeouts): New static global table to hold timeouts for all
8679         socket fds.
8680         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8681         Added waitForXXXX safeguards to handle socket timeouts.
8683         * native/jni/java-net/javanet.c
8684         (_javanet_accept): Check for the right error value when a timeout
8685         occurs.
8686         
8687         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
8689         * native/jni/java-io/Makefile.am,
8690         native/jni/java-lang/Makefile.am,
8691         native/jni/java-net/Makefile.am,
8692         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8694         * native/jni/native-lib/Makefile.am: Added cpproc.c
8696         * native/jni/native-lib/cpio.c: Implemented missing functions for
8697         CPIO.
8699         * native/jni/native-lib/cpnet.c
8700         (cpnet_getHostByName): Fixed address array initialization.
8701         
8702         * native/jni/native-lib/cpproc.c: Implemented.
8703         
8704         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8706         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8708         * m4/gcc_attribute.m4: New file from ac_archive.
8709         
8710         * native/jni/java-net/javanet.c: Adapted to cpnet API
8711         modification.
8713         * native/jni/native-lib/cpnet.c: Implemented.
8715         * native/jni/native-lib/cpnet.h
8716         (cpnet_openSocketDatagram,
8717         cpnet_openSocketStream): These calls need an address family now.
8718         (cpnet_IPV4AddressToBytes,
8719         cpnet_bytesToIPV4Address): Convert the address to network order.
8720         
8721         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8723         * native/jni/java-io/java_io_VMFile.c,
8724         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8725         native/jni/midi-dssi/dssi_data.h,
8726         native/jni/native-lib/cpio.c,
8727         native/jni/native-lib/cpmath.h: Removed cpmath
8728         dependency. Fixed coding style.
8730         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8732         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8733         dependency. Simplified the JNI code by moving some part into the
8734         native layer.
8736         * native/jni/native-lib/cpproc.h: New interface to handle processes.
8738         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8740         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8741         errors. Removed any remaining TARGET invocations.
8743         * native/jni/java-net/javanet.c
8744         (_javanet_create_inetaddress): Removed spurious arr and
8745         octets. Fixed compilation errors.
8747         * native/jni/native-lib/cpnet.h
8748         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8749         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8750         cpnet_isIPV4Address): New functions.
8751         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8752         the rest.
8753         
8754         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8756         * native/jni/java-io/java_io_VMFile.c,
8757         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8758         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8759         native/jni/java-net/javanet.c,
8760         native/jni/java-net/javanet.h: Adapted the VM layer code
8761         to the new native layer.
8763         * native/jni/native-lib/cpnet.h
8764         (cpnet_addMembership,
8765         cpnet_dropMembership,
8766         cpnet_getAvailableBytes): Added the declarations of
8767         some new functions.
8768         (cpnet_newIPV6Address,
8769         cpnet_IPV6AddressToBytes,
8770         cpnet_bytesToIPV6Address): Implemented.
8771         (cpnet_newIPV4Address): Initialize the sin_family field.
8773         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8775         * native/target: Removed.
8777         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8778         Makefile generation.
8780         * native/jni/native-lib/Makefile.am,
8781         native/jni/native-lib/cpnet.h,
8782         native/jni/native-lib/cpnet.c
8783         native/jni/native-lib/cpio.h,
8784         native/jni/native-lib/cpio.c,
8785         native/jni/native-lib/cpmath.h: Imported new native compatibility
8786         layer.
8788 2006-08-21  Roman Kennke  <kennke@aicas.com>
8790         * gnu/javax/swing/text/html/css/CSSParser.java:
8791         New class.
8792         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8793         New interface.
8794         * gnu/javax/swing/text/html/css/CSSParserException.java:
8795         New exception.
8796         * gnu/javax/swing/text/html/css/CSSScanner.java:
8797         Adjusted API comments. Made all constants package private.
8798         (EOF): New constant field.
8799         (parseBuffer): Made package private.
8800         (tokenEnd): Made package private.
8801         (CSSScanner): Initialize lookahead buffer with -1.
8802         (main): Print out to System.out rather then System.err.
8803         (nextToken): Push back character after IDENT.
8805 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8807         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8809 2006-08-21  Roman Kennke  <kennke@aicas.com>
8811         * gnu/javax/swing/text/html/css/CSSScanner.java
8812         (main): Use buffered input stream.
8813         (nextToken): Removed 65536 workaround. Use int value directly
8814         without cast to char.
8815         (readComment): Use int value directly without cast to char.
8816         Cast to char only when putting the character into the buffer.
8817         (readEscape): Likewise.
8818         (readIdent): Likewise.
8819         (readName): Likewise.
8820         (readNum): Likewise.
8821         (readString): Likewise.
8822         (readWhitespace): Likewise.
8824 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8826         * java/io/InputStreamReader.java
8827         (bytesCache): New field.
8828         (cacheLock): New field.
8829         (read(byte[],int,int): Avoid allocations of new byte
8830         array on every call and reuse cached byte array if possible.
8832 2006-08-21  Roman Kennke  <kennke@aicas.com>
8834         * gnu/java/net/local/LocalSocketImpl.java
8835         Only load native lib if this is supported by runtime.
8836         * native/jni/java-net/local.c
8837         Include config.h unconditionally.
8838         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8839         Include config.h unconditionally.
8841 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8843         * java/io/ObjectInputStream.java
8844         (objectLookupTable): Changed to be a Vector.
8845         (ObjectInputStream): Initialize objectLookupTable as Vector.
8846         (assignNewHandle): Store Object using handle index rather than
8847         Hashtable, using the new rememberHandle() method.
8848         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8849         with a caching in ObjectStreamClass.
8850         (inputGetObjectStreamClass): Replaced by hierarchy().
8851         (lookupHandle): New method. Looks up an object by it's handle
8852         index.
8853         (parseContent): Avoid creating of Integer objects. Use
8854         hierarchy() method for looking up the class hierarchy.
8855         (processResolution): Use rememberHandle() to store
8856         handle per index, rather than Hashtabling the object.
8857         (readFields): 
8858         (rememberHandle): New method.
8859         * java/io/ObjectOutputStream.java
8860         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8861         Hashtable for improved lookup performance.
8862         (ObjectOutputStream): Initialize OIDLookupTable as
8863         ObjectIdentityMap2Int.
8864         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8865         (findHandle): Change to use ObjectIdentityMap2Int.
8866         (getBooleanField): Removed.
8867         (getByteField): Removed.
8868         (getCharField): Removed.
8869         (getDoubleField): Removed.
8870         (getField): Removed.
8871         (getFloatField): Removed.
8872         (getIntField): Removed.
8873         (getLongField): Removed.
8874         (getObjectField): Removed.
8875         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8876         (writeFields(Object,ObjectStreamField)): New helper method.
8877         Use switch rather then if-else cascade.
8878         (writeObject): Use int handle, rather then Integer.
8879         * java/io/ObjectStreamClass.java
8880         (hierarchy): New field. Caches the class hierarchy.
8881         (methodCache): New field. Caches methods.
8882         (readObjectSignature): New field. Stores the read signature.
8883         (uidCache): New field. Caches UIDs.
8884         (writeObjectSignature): New field. Stores the write signature.
8885         (cacheMethods): Cache methods in methodCache.
8886         (calculateClassID): Outsourced from getClassUID()
8887         for computing the UIDs.
8888         (getClassUIDFromField): Outsourced from getClassUID() for
8889         fetching the UID from the class field.
8890         (getClassUID): Use cached uid if possible. Use new helper
8891         methods for fetching the UID from the field or computing
8892         from scratch.
8893         (getObjectStreamClasses): Removed. Replaced by more
8894         efficient hierarchy() method, that also caches the result.
8895         (hierarchy): Replaces getObjectStreamClasses() for caching
8896         the result.
8897         (loadedByBootOrApplicationClassLoader): New helper method.
8898         (setClass): Invalidate hierarchy cache.
8899         (setSuperclass): Invalidate hierarchy cache.
8900         * java/io/ObjectStreamField.java
8901         (field): Made field package private for access from other
8902         classes.
8903         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8904         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8905         hashtable for mapping objects to ints.
8907 2006-08-21  Roman Kennke  <kennke@aicas.com>
8909         * java/io/File.java
8910         (getAbsolutePath): Fetch absolute path from
8911         VMFile.getAbsolutePath(). Moved actual impl to there.
8912         (isAbsolute): Let VMFile determine the absoluteness.
8913         (toURL): Let VMFile convert the filename.
8914         * vm/reference/java/io/VMFile.java
8915         (getAbsolutePath): New method.
8916         (isAbsolute): New method.
8917         (toURL): New method.
8919 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8921         * NEWS: Added note about updated VM interface.
8923 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8925         * java/lang/management/ManagementFactory.java:
8926         Updated documentation.
8927         
8928 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8930         Fixes bug #28412
8931         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8932         New methods.
8933         * gnu/java/util/regex/CharIndexedCharSequence.java,
8934         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8935         new methods above.
8936         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8937         (match): call the new method setHitEnd of the input,
8938         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8939         Some optimization commented out, Use CharIndexed#move1 instead of move.
8940         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8941         * gnu/java/util/regex/REToken.java(match): The method body has been
8942         moved to an internal private method, (matchFake): New method,
8943         (setHitEnd): New method.
8944         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8945         if the match is not complete, (matchOneString): Count the number of
8946         characters which matched the pattern.
8947         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8948         (setFake): New method, (match): Call super.match or super.matchFake.
8949         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8950         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8951         setHitEnd of the input,
8952         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8953         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8954         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8956 2006-08-18  Tom Tromey  <tromey@redhat.com>
8958         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8959         the 'int', not the cast char.
8961 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8963         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8964         which isn't available in all shells.
8966 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8968         * lib/Makefile.am (resources): Fix some shell portability issues.
8970 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8972         * configure.ac (tool-wrappers): Check for ltdl support when tool
8973         wrapper binaries are enabled.
8974         * tools/Makefile.am (LIBJVM): Remove variable.
8975         (AM_CPPFLAGS): Add LIBJVM define.
8976         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8977         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8978         gjavah_LDFLAGS): Remove variables.
8979         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8981 2006-08-18  Tom Tromey  <tromey@redhat.com>
8983         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8984         debugging prints.
8985         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8986         print.
8987         (readEntries): Likewise.
8989 2006-08-17  Roman Kennke  <kennke@aicas.com>
8991         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8992         (layoutLabel): Reset the text and icon rectangles.
8994 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8996         PR classpath/28537
8997         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8998         Transform gappletviewer name using program_transform_name.
9000 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
9002         * javax/swing/filechooser/FileSystemView.java
9003         (getFileSystemView): Always return UnixFileSystemView, since
9004         that's the only one we got. Marked with NotImplementedException.
9005         * javax/swing/plaf/basic/BasicFileChooserUI.java
9006         (mouseClicked, installUI): Don't parse path by hand.
9008 2006-08-17  Roman Kennke  <kennke@aicas.com>
9010         * javax/swing/JComponent.java
9011         (scrollRectToVisible): Handle intermediate non-JComponents
9012         more gracefully.
9014 2006-08-17  Roman Kennke  <kennke@aicas.com>
9016         * javax/swing/RepaintManager.java
9017         (blitBuffer): Removed. This is now done in commitBuffer().
9018         (commitBuffer): Always paint on the root window or applet.
9019         No need to look for intermediate heavyweights. Optimized
9020         rectangle translation.
9021         (commitRemainingBuffers): Removed. Not needed anymore.
9022         (getHeavyweightParent): Removed. Not needed anymore.
9023         (getOffscreenBuffer): Fetch offscreen image from the
9024         actual root component.
9025         (paintDirtyRegions): Don't call commitRemainingBuffers().
9027 2006-08-17  Roman Kennke  <kennke@aicas.com>
9029         * javax/swing/SwingUtilities.java
9030         (clipString): New helper method for trimming strings.
9031         (layoutCompoundLabelImpl): Fixed algorithm to conform
9032         testsuites. Trim text if it's too long. Avoid creating
9033         new Rectangles. Optimized for performance.
9034         (layoutCompoundLabel): Use switch rather then if-else-chain.
9035         * javax/swing/plaf/basic/BasicButtonUI.java
9036         (viewR): New field.
9037         (iconR): New field.
9038         (textR): New field.
9039         (paint): Reset and use cached rectangles. Only call paintIcon()
9040         if icon is not null. Don't call paintButtonPressed() when
9041         button is selected, only when it is both armed and pressed.
9042         * javax/swing/plaf/basic/BasicGraphicsUtils.java
9043         (getPreferredButtonSize): Reused cached rectangles rather
9044         then creating new ones. Don't create new Rectangle via
9045         Rectangle.union().
9046         * javax/swing/plaf/basic/BasicLabelUI.java
9047         (getPreferredSize): Correctly reset cached rectangles. Especially
9048         the view rect must have a big size to give it room for layouting.
9049         Short cut layout when text == null.
9050         (paint): Correctly reset cached rectangles.
9051         * javax/swing/plaf/basic/BasicMenuItemUI.java
9052         (resetRectangles): New helper method.
9053         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
9054         (paintMenuItem): Correctly reset the cached rectangles.
9055         * javax/swing/plaf/basic/BasicRadioButtonUI.java
9056         (getPreferredSize): Use cached Rectangle objects and initialize
9057         them correctly.
9058         (paint): Use cached Rectangle objects and initialize
9059         them correctly.
9061 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
9063         * java/util/Calendar.java: API doc additions.
9065 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
9067         * javax/swing/DefaultButtonModel.java:
9068         (setRollover): Simplified statement.
9070 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
9072         * gnu/java/rmi/server/RMIClassLoaderImpl.java
9073         (loadClass): Rewritten to use getClassLoader.
9074         (loadProxyClass): Implemented.
9075         (getClassLoader): Fixed support for null or empty codebase.
9076         * gnu/java/rmi/server/RMIObjectInputStream.java
9077         (resolveClass): Use user class loader as default class loader.
9078         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
9079         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
9080         (loadClass): Simplified and use user class loader instead of
9081         context class loader as default.
9082         * java/io/ObjectInputStream.java
9083         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
9084         * vm/reference/gnu/classpath/VMStackWalker.java
9085         (firstNonNullClassLoader): New method.
9086         * vm/reference/java/io/VMObjectInputStream.java
9087         (loaderAction, currentClassLoader): Removed.
9089 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
9091         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9092         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
9093         by current scroll offset, added method documention.
9094         (getTabBounds(int, Rectangle)): Added method documentation.
9095         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
9096         (paintContentBorderLeftEdge): Changed y to 1.
9098 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
9100         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9101         (MouseHandler.mouseReleased): Implemented.
9102         (MouseHandler.mousePressed): Added delegation to tabbed pane.
9103         (MouseHandler.mouseEntered): Dito.
9104         (MouseHandler.mouseExited): Dito.
9105         (MouseHandler.mouseMoved): Dito.
9106         (MouseHandler.redispatchEvent): New method.
9107         (PropertyChangeHandler.propertyChange): Added extra block level,
9108         added code to handle tab placement changes, added comment.
9109         (updateViewPosition): Set unneeded coordinate to 0, added comment.
9111 2006-08-16  Roman Kennke  <kennke@aicas.com>
9113         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
9114         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
9115         New file.
9117 2006-08-16  Mark Wielaard  <mark@klomp.org>
9119         * java/awt/Component.java (orientation): Renamed to
9120         componentOrientation.
9121         (setComponentOrientation): Use new field name.
9122         (getComponentOrientation): Likewise.
9124 2006-08-16  Roman Kennke  <kennke@aicas.com>
9126         PR 28750
9127         * javax/swing/plaf/basic/BasicTreeUI.java
9128         (CellEditorHandler.editingCancelled): Call completeEditing
9129         directly.
9130         (CellEditorHandler.editingStopped): Call completeEditing
9131         directly.
9132         (NodeDimensionHandler.getNodeDimensions): Rewritten
9133         to use the preferred sizes of the renderer and editor.
9134         (TreeExpansionHandler.treeCollapsed): Complete editing
9135         here.
9136         (TreeSelectionHandler.valueChanged): Complete editing
9137         here.
9138         (cancelEditing): Call completeEditing with false, false and
9139         false. Don't call finish (removed method).
9140         (completeEditing(boolean,boolean,boolean): Only do something when
9141         stopEditingInCompleteEditing is true. Nullify editingComponent
9142         and editingPath. Remove editingComponent from tree. Update
9143         the layout when necessary and repaint.
9144         (completeEditing): Stop editing when necessary.
9145         (editorRequestFocus): New helper method. Request focus
9146         on the actual editor.
9147         (finish) Removed. This is now done in completeEditing().
9148         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
9149         (setLargeModel): Complete editing here.
9150         (setRootVisible): Complete editing here.
9151         (setRowHeight): Complete editing here.
9152         (setSelectionModel): Complete editing here.
9153         (startEditing): Correctly initialize and start editing.
9154         (updateExpandedDescendants): Complete editing here.
9155         * javax/swing/tree/DefaultTreeCellEditor.java
9156         (DefaultTextField): Fetch size from super and use renderer's height
9157         if appropriate.
9158         (EditorContainer.EditorContainer): Set layout to null, just
9159         to make sure.
9160         (EditorContainer.doLayout): Layout so that the editor
9161         is offset to the right of the icon.
9162         (EditorContainer.getPreferredSize): Implemented to
9163         provide a reasonable preferred size.
9164         (EditorContainer.paint): Position icon in the middle.
9165         Also paint border if appropriate.
9166         (EditorContainer.setBounds): Removed.
9167         (RealEditorListener): Removed.
9168         (DefaultTreeCellEditor): Set correct border.
9169         (cancelCellEditing): Message real editor. Call finish().
9170         (createCellEditor): Don't add listener.
9171         (determineOffset): Correctly determine offset, and update
9172         the icon.
9173         (finish): New helper method.
9174         (getTreeCellEditorComponent): Set correct font. Call
9175         prepareForEditing() and determineOffset() to correctly initialize
9176         the state.
9177         (stopCellEditing): Messsage realEditor to stop editing. Call
9178         finish to clean up.
9179         (stopEditingTimer): Removed.
9180         (valueChanged): Correctly reset lastPath.
9181         * javax/swing/tree/DefaultTreeCellRenderer.java
9182         (getPreferredSize): Return super plus some extra space for
9183         better readability.
9185 2006-08-16  Roman Kennke  <kennke@aicas.com>
9187         * javax/swing/plaf/metal/MetalTreeUI.java
9188         (LineStyleListener): New property listener, that updates
9189         the line style setting if the corresponding property
9190         changes.
9191         (lineStyleListener): New field.
9192         (lineStyle): New field.
9193         (LINE_STYLE_ANGLED): New constant field.
9194         (LINE_STYLE_HORIZONTAL): New constant field.
9195         (LINE_STYLE_NONE): New constant field.
9196         (LINE_STYLE_VALUE_ANGLED): New constant field.
9197         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
9198         (LINE_STYLE_VALUE_NONE): New constant field.
9199         (LINE_STYLE_PROPERTY): New constant field.
9200         (decodeLineStyle): Implemented.
9201         (installUI): Install line style listener. Set initial
9202         lineStyle.
9203         (uninstallUI): Uninstall line style listener.
9204         (paintHorizontalPartOfLeg): Only call super for angled
9205         lineStyle.
9206         (paintVerticalPartOfLeg): Only call super for angled
9207         lineStyle.
9208         (paintHorizontalSeparators): Implemented.
9209         (paint): If lineStyle==HORIZONTAL, call
9210         paintHorizontalSeparators().
9211         * examples/gnu/classpath/examples/swing/TreeDemo.java
9212         (createContent): Add panel for selecting line styles.   
9214 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
9215         
9216         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
9217         (createContent): Rewritten.
9218         (createPlacementChangingMenuItem): New method.
9219         (createLayoutPolicyChangingMenuItem): New method.
9220         (createTabbedPane): New method.
9221         (createTabContent): New method.
9223 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
9225         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9226         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
9227         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
9229 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
9231         * javax/swing/text/WrappedPlainView.java:
9232         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
9233         (calculateBreakPosition): Add p0 to return value.
9235 2006-08-15  Roman Kennke  <kennke@aicas.com>
9237         * javax/swing/plaf/basic/BasicTreeUI.java
9238         (MouseHandler.selectedOnPress): New field.
9239         (MouseHandler.handleEvent): New helper method for handling
9240         selection and start/stop editing for mouse events.
9241         (MouseHandler.mouseDragged): Commented as no-op method.
9242         (MouseHandler.mouseMoved): Commented as no-op method.
9243         (MouseHandler.mousePressed): Use handleEvent() to handle
9244         selection and editing handling.
9245         (MouseHandler.mouseReleased): Use handleEvent() to handle
9246         selection and editing handling.
9247         (MouseInputHandler.MouseInputHandler): Register itself
9248         as mouse listener on source. Redispatch event to
9249         destination.
9250         (MouseInputHandler.dispatch): New helper method.
9251         (MouseInputHandler.mouseClicked): Dispatch event.
9252         (MouseInputHandler.mouseDragged): Dispatch event.
9253         (MouseInputHandler.mouseEntered): Stop dispatching
9254         if dragging stopped.
9255         (MouseInputHandler.mouseExited): Stop dispatching
9256         if dragging stopped.
9257         (MouseInputHandler.mouseMoved): Stop dispatching.
9258         (MouseInputHandler.mousePressed): Marked as no-op.
9259         (MouseInputHandler.mouseReleased): Dispatch and stop
9260         dispatching afterwards.
9261         (MouseInputHandler.removeFromSource): Implemented.
9262         (PropertyChangeHandler.propertyChange): Also handle
9263         editable property changes by calling setEditable().
9264         (SelectionModelPropertyChangeHandler.propertyChange):
9265         Reset row selection.
9266         (startEditTimer): Removed.
9267         (setCellEditor): Call updateEditor().
9268         (setEditable): Call updateEditor().
9269         (startEditingAtPath): Make path fully visible before starting
9270         editing.
9271         (startEditing): Maybe cancel previous edit session. Add
9272         editing component itself, not its parent container.
9273         Register MouseInputHandler for correctly redispatching
9274         initial events.
9275         (stopEditing): Message cellEditor and only completeEditing()
9276         when approved by cell editor.
9277         (updateCellEditor): Complete editing before updating
9278         the cell editor. Get cell editor from JTree if possible,
9279         otherwise create default editor. Update the listeners
9280         on the editor.
9281         * javax/swing/tree/DefaultTreeCellEditor.java
9282         (CLICK_COUNT_TO_START): Removed.
9283         (DefaultTreeCellEditor): Install correct border. Let setTree()
9284         update the listeners. Don't initialize lastPath and font yet.
9285         (actionPerformed): Implemented to start editing.
9286         (createTreeCellEditor): Set click count to start to 1, rather than
9287         3.
9288         (isCellEditable): Prepare editor here. Determine if we can
9289         start immediately, or if we trigger a timer to do so.
9290         (prepareForEditing): Don't removeAll() (not necessary),
9291         check editingComponent to be non-null.
9292         (setTree): Update listeners.
9293         (shouldStartEditingTimer): Check for left mouse button.
9294         (startEditingTimer): Lazily create timer.
9296 2006-08-15  Lillian Angel  <langel@redhat.com>
9298         * java/awt/dnd/DropTargetDragEvent.java
9299         (getTransferable): Implemented.
9301 2006-08-15  Roman Kennke  <kennke@aicas.com>
9303         * java/util/Vector.java
9304         (removeAll): Added comment about NPE.
9305         (retainAll): Added comment about NPE.
9307 2006-08-15  Roman Kennke  <kennke@aicas.com>
9309         * java/util/zip/ZipFile.java
9310         (UTF8DECODER): Removed.
9311         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
9312         (utf8Decoder): New instance field.
9313         (decodeChars): Lazily create UTF8 decoder. Use instance
9314         field rather than a static field to avoid corruption.
9316 2006-08-15  Roman Kennke  <kennke@aicas.com>
9318         * java/io/PrintStream.java
9319         (line_separator): Provide default for system property.
9320         * java/io/FileDescriptor.java
9321         (valid): Create local copy of channel field for better
9322         threading safetly.
9324 2006-08-15  Ingo Proetel  <proetel@aicas.com>
9326         * java/util/zip/ZipFile.java
9327         (PartialInputStream.UTF8DECODER): New constant field, used
9328         for decoding UTF8 strings.
9329         (readLeShort): Access buffer directly if it has enough bytes
9330         available.
9331         (readLeInt): Access buffer directly if it has enough bytes
9332         available.
9333         (decodeChars): New helper method for decoding UTF8 strings.
9334         (readString): Avoid NIO charset decoder if possible.
9336 2006-08-15  Roman Kennke  <kennke@aicas.com>
9338         * java/util/Vector.java
9339         (removeAll): Don't explicitly null-check here. The RI allows
9340         null arguments when Vector is empty. In other cases we
9341         implicitly throw an NPE.
9342         (retainAll): Don't explicitly null-check here. The RI allows
9343         null arguments when Vector is empty. In other cases we
9344         implicitly throw an NPE.
9346 2006-08-14  Casey Marshall  <csm@gnu.org>
9348         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
9349         of changes made on this branch.
9350         Files modified:
9351         * gnu/classpath/debug/Component.java
9352         * gnu/classpath/debug/SystemLogger.java
9353         * gnu/java/security/action/GetPropertyAction.java
9354         * gnu/java/security/action/GetSecurityPropertyAction.java
9355         * gnu/javax/crypto/RSACipherImpl.java
9356         * gnu/javax/net/ssl/PrivateCredentials.java
9357         * gnu/javax/net/ssl/provider/Alert.java
9358         * gnu/javax/net/ssl/provider/AlertException.java
9359         * gnu/javax/net/ssl/provider/Certificate.java
9360         * gnu/javax/net/ssl/provider/CertificateRequest.java
9361         * gnu/javax/net/ssl/provider/CertificateType.java
9362         * gnu/javax/net/ssl/provider/CertificateVerify.java
9363         * gnu/javax/net/ssl/provider/CipherSuite.java
9364         * gnu/javax/net/ssl/provider/ClientHello.java
9365         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
9366         * gnu/javax/net/ssl/provider/CompressionMethod.java
9367         * gnu/javax/net/ssl/provider/Constructed.java
9368         * gnu/javax/net/ssl/provider/ContentType.java
9369         * gnu/javax/net/ssl/provider/DiffieHellman.java
9370         * gnu/javax/net/ssl/provider/Extension.java
9371         * gnu/javax/net/ssl/provider/Finished.java
9372         * gnu/javax/net/ssl/provider/Handshake.java
9373         * gnu/javax/net/ssl/provider/Jessie.java
9374         * gnu/javax/net/ssl/provider/ProtocolVersion.java
9375         * gnu/javax/net/ssl/provider/Random.java
9376         * gnu/javax/net/ssl/provider/ServerHello.java
9377         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
9378         * gnu/javax/net/ssl/provider/Signature.java
9379         * gnu/javax/net/ssl/provider/Util.java
9380         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
9381         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
9382         * java/security/MessageDigest.java
9383         * java/security/MessageDigestSpi.java
9384         * java/security/Signature.java
9385         * java/security/SignatureSpi.java
9386         * javax/crypto/Mac.java
9387         * javax/crypto/MacSpi.java
9388         * javax/net/ssl/HandshakeCompletedEvent.java
9389         * javax/net/ssl/HttpsURLConnection.java
9390         * javax/net/ssl/SSLContext.java
9391         * javax/net/ssl/SSLContextSpi.java
9392         * javax/net/ssl/SSLSession.java
9393         Files added:
9394         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
9395         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
9396         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
9397         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
9398         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
9399         * gnu/javax/net/ssl/provider/ServerDHParams.java 
9400         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
9401         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
9402         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
9403         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
9404         * gnu/javax/net/ssl/provider/ServerNameList.java 
9405         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
9406         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
9407         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
9408         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
9409         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
9410         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
9411         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
9412         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
9413         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
9414         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
9415         * gnu/javax/net/ssl/provider/Record.java 
9416         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
9417         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
9418         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
9419         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
9420         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
9421         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
9422         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
9423         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
9424         * gnu/javax/net/ssl/provider/ExtensionList.java 
9425         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
9426         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
9427         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
9428         * gnu/javax/net/ssl/provider/ServerHandshake.java 
9429         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
9430         * gnu/javax/net/ssl/provider/SessionImpl.java 
9431         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
9432         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
9433         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
9434         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
9435         * gnu/javax/net/ssl/provider/HelloRequest.java 
9436         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
9437         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
9438         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
9439         * gnu/javax/net/ssl/provider/ClientHandshake.java 
9440         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
9441         * gnu/javax/net/ssl/provider/CertificateURL.java 
9442         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
9443         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
9444         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
9445         * gnu/javax/net/ssl/provider/Builder.java 
9446         * gnu/javax/net/ssl/provider/Debug.java 
9447         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
9448         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
9449         * gnu/javax/net/ssl/provider/DelegatedTask.java 
9450         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
9451         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
9452         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
9453         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
9454         * javax/net/ssl/SSLEngine.java 
9455         * javax/net/ssl/CertPathTrustManagerParameters.java 
9456         * javax/net/ssl/KeyStoreBuilderParameters.java 
9457         * javax/net/ssl/X509ExtendedKeyManager.java 
9458         * javax/net/ssl/SSLEngineResult.java 
9459         * gnu/javax/net/ssl/PreSharedKeyManager.java 
9460         * gnu/javax/net/ssl/Session.java 
9461         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
9462         * gnu/javax/net/ssl/SSLCipherSuite.java 
9463         * gnu/javax/net/ssl/AbstractSessionContext.java 
9464         * gnu/javax/net/ssl/SessionStoreException.java 
9465         * gnu/javax/net/ssl/SSLRecordHandler.java 
9466         * gnu/javax/net/ssl/SSLProtocolVersion.java 
9467         * gnu/javax/crypto/key/GnuPBEKey.java 
9468         * gnu/java/security/util/ByteBufferOutputStream.java 
9469         * gnu/java/security/Requires.java 
9470         * gnu/javax/security/auth/callback/CertificateCallback.java 
9471         Files removed:
9472         * gnu/javax/net/ssl/provider/Context.java
9473         * gnu/javax/net/ssl/provider/DigestInputStream.java
9474         * gnu/javax/net/ssl/provider/DigestOutputStream.java
9475         * gnu/javax/net/ssl/provider/Enumerated.java
9476         * gnu/javax/net/ssl/provider/Extensions.java
9477         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
9478         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
9479         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
9480         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
9481         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
9482         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
9483         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
9484         * gnu/javax/net/ssl/provider/KeyPool.java
9485         * gnu/javax/net/ssl/provider/OverflowException.java
9486         * gnu/javax/net/ssl/provider/RecordInput.java
9487         * gnu/javax/net/ssl/provider/RecordInputStream.java
9488         * gnu/javax/net/ssl/provider/RecordOutputStream.java
9489         * gnu/javax/net/ssl/provider/RecordingInputStream.java
9490         * gnu/javax/net/ssl/provider/SSLRSASignature.java
9491         * gnu/javax/net/ssl/provider/SSLServerSocket.java
9492         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
9493         * gnu/javax/net/ssl/provider/SSLSocket.java
9494         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
9495         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
9496         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
9497         * gnu/javax/net/ssl/provider/SecurityParameters.java
9498         * gnu/javax/net/ssl/provider/Session.java
9499         * gnu/javax/net/ssl/provider/SessionContext.java
9500         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
9501         * gnu/javax/net/ssl/provider/XMLSessionContext.java
9503 2006-08-14  Roman Kennke  <kennke@aicas.com>
9505         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9506         (DividerLayout.layoutContainer): Removed debug output.
9507         * javax/swing/plaf/basic/BasicSplitPaneUI.java
9508         (BasicHorizontalLayoutManager.axis): New field.
9509         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
9510         New constructor.
9511         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
9512         Call new axis constructor.
9513         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
9514         handle direction.
9515         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
9516         handle direction.
9517         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
9518         Refactored to handle direction.
9519         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
9520         to handle direction.
9521         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
9522         handle direction.
9523         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
9524         to handle direction.
9525         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
9526         to handle direction.
9527         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
9528         to handle direction.
9529         (BasicHorizontalLayoutManager.updateComponents): Don't reset
9530         divider size.
9531         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
9532         New explicit constructor. Calls super with vertical axis.
9533         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
9534         to BasicHorizontalLayoutManager.
9535         (BasicVerticalLayoutManager.getInitialLocation): Functionality
9536         moved to BasicHorizontalLayoutManager.
9537         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
9538         Functionality moved to BasicHorizontalLayoutManager.
9539         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
9540         moved to BasicHorizontalLayoutManager.
9541         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
9542         moved to BasicHorizontalLayoutManager.
9543         (BasicVerticalLayoutManager.minimumSizeOfComponent):
9544         Functionality moved to BasicHorizontalLayoutManager.
9545         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
9546         moved to BasicHorizontalLayoutManager.
9547         (BasicVerticalLayoutManager.setComponentToSize): Functionality
9548         moved to BasicHorizontalLayoutManager.
9549         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9550         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
9551         (BUTTON_SPRITE_R): New constant field.
9552         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
9553         L sprite for left buttons.
9554         
9555 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
9557         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
9558         (query_formats): g_free 'name' after usage.
9559         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
9560         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
9562 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9564         PR classpath/27723
9565         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
9566         seamonkey-plugin.
9568 2006-08-14  Francis Kung  <fkung@redhat.com>
9570         PR 28694
9571         * java/awt/image/ColorModel.java
9572         (coerceData): Added check for non-transparent images.
9574 2006-08-14  Francis Kung  <fkung@redhat.com>
9576         * java/awt/image/BandCombineOp.java
9577         (BandCombineOp): Perform checks on validity of matrix.
9578         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
9579         (filter): Updated to work with new matrix storage.
9580         (getMatrix): Updated javadoc.
9581         (getPoint2D): Formatting change.
9583 2006-08-14  Francis Kung  <fkung@redhat.com>
9585         * java/awt/image/AffineTransformOp.java
9586         (AffineTransformOp): Updated javadoc.
9587         (createCompatibleDestImage): Match behaviour of reference implementation.
9588         (createCompatibleDestRaster): Formatting changes.
9589         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
9590         (filter(Raster, WritableRaster)): Re-implemented.
9591         (filterBicubic): New private method.
9592         (filterBilinear): New private method.
9593         (filterNearest): New private method.
9594         (getBounds2D): No longer fixed around one point for rotations.
9595         (getInterpolationType): Add support for bicubic interpolation.
9597 2006-08-14  Roman Kennke  <kennke@aicas.com>
9599         * javax/swing/plaf/metal/MetalLookAndFeel.java
9600         (MetalLookAndFeel): Moved theme initialization to
9601         getDefaults().
9602         (createDefaultTheme): Forward to getCurrentTheme().
9603         (getDefaults): Initialize theme before doing anything else.
9604         (getCurrentTheme): Recognize swing.metalTheme property.
9606 2006-08-14  Roman Kennke  <kennke@aicas.com>
9608         * javax/swing/JTable
9609         (getScrollableUnitIncrement): Expose partially exposed
9610         row in scrolling direction.
9612 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9614         * javax/swing/JTable (getScrollableUnitIncrement): 
9615         Removing my name as the whole method body have been
9616         recently completely replaced.
9618 2006-08-14  Roman Kennke  <kennke@aicas.com>
9620         PR 28028
9621         * javax/swing/text/Utilities.java
9622         (getTabbedTextOffset): Don't add p0 here.
9624 2006-08-14  Roman Kennke  <kennke@aicas.com>
9626         PR 28719
9627         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9628         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9629         when wheel is going up.
9631 2006-08-14  Roman Kennke  <kennke@aicas.com>
9633         PR 28693
9634         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9635         (BasicOneTouchButton): New inner class.
9636         (DividerLayout.changeButtonOrientation): Removed.
9637         (DividerLayout.positionButtons): Moved into layoutContainer.
9638         (DividerLayout.layoutContainer): Reworked for correct layout.
9639         (OneTouchAction): New inner class.
9640         (centerOneTouchButtons): New field.
9641         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9642         UIManager.
9643         (createLeftOneTouchButton): Reimplemented to return
9644         BasicOneTouchButton.
9645         (createRightOneTouchButton): Reimplemented to return
9646         BasicOneTouchButton.
9647         (getPreferredSize): Reimplemented to return fixed preferredSize.
9648         (oneTouchExpandableChanged): Add OneTouchAction action to
9649         buttons. Don't install mouse listeners.
9650         (MouseHandler.mousePressed): Removed handling of one touch buttons.
9651         (paint): Don't trigger extra paint for buttons.
9652         (propertyChange): Revalidate splitPane when orientation is changed.
9653         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9654         oneTouchExpandable is true.
9655         * javax/swing/plaf/basic/BasicSplitPaneUI.java
9656         (installDefaults): Install dividerSize on the divider too.
9657         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9658         (MetalDividerLayout): Removed. Functionality is already
9659         in BasicSplitPaneDivider.DividerLayout.
9660         (MetalOneTouchButton): New inner class.
9661         (BUTTON_SPRITE): New constant field.
9662         (MetalSplitPaneDivider): Don't change layout.
9663         (createLeftOneTouchButton): Overridden to return custom button
9664         for Metal.
9665         (createRightOneTouchButton): Overridden to return custom button
9666         for Metal.
9667         (paint): Don't trigger button painting. Call super instead.
9669 2006-08-13  Roman Kennke  <kennke@aicas.com>
9671         * javax/swing/plaf/basic/BasicTableHeaderUI.java
9672         (installKeyboardAction): Unmarked as stub. Added comment
9673         explaining that the RI seems to do nothing here.
9674         (uninstallKeyboardAction): Unmarked as stub. Added comment
9675         explaining that the RI seems to do nothing here.
9677 2006-08-13  Roman Kennke  <kennke@aicas.com>
9679         PR 28135
9680         * javax/swing/ScrollPaneLayout.java
9681         (layoutContainer): Consider the viewportBorder of the
9682         JScrollPane.
9683         (minimumLayoutSize): Consider the viewportBorder of the
9684         JScrollPane.
9685         (preferredLayoutSize): Consider the viewportBorder of the
9686         JScrollPane.
9687         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9688         (installDefaults): Also install viewportBorder if specified.
9689         (paint): Paint viewportBorder if present.
9690         (uninstallDefaults): Uninstall viewportBorder if appropriate.
9691         Don't nullify foreground, background and font. Uninstall
9692         border via LookAndFeel helper method to avoid uninstall
9693         user set border.
9695 2006-08-13  Roman Kennke  <kennke@aicas.com>
9697         PR 28696
9698         * javax/swing/plaf/basic/BasicHTML.java
9699         (HTMLRootView.HTMLRootView): Trigger initial layout.
9700         (HTMLRootView.setSize): Overridden to forward to real view.
9701         * javax/swing/plaf/basic/BasicToolTipUI.java
9702         (PropertyChangeHandler): New inner class. Updates the HTML
9703         renderer.
9704         (propertyChangeHandler): New field.
9705         (getMaximumSize): Add HTML width delta.
9706         (getMinimumSize): Add HTML width delta.
9707         (getPreferredSize): Reimplemented to use HTML view for size
9708         calculation if appropriate, otherwise use simple stringWidth()
9709         measurement.
9710         (installListeners): Install propertyChangeHandler.
9711         (uninstallListeners): Uninstall propertyChangeHandler.
9712         (installUI): Update HTML renderer.
9713         (uninstallUI): Update HTML renderer.
9714         (paint): Reimplemented to use HTML view for rendering if
9715         appropriate, simple drawString otherwise.
9716         * javax/swing/plaf/metal/MetalToolTipUI.java
9717         (getPreferredSize): Call super and add accelerator delta.
9718         (paint): Simply call super.
9720 2006-08-13  Roman Kennke  <kennke@aicas.com>
9722         * javax/swing/JMenu.java
9723         (changeListener): Renamed to menuChangeListener to avoid
9724         shadowing changeListener field from AbstractButton.
9726 2006-08-13  Roman Kennke  <kennke@aicas.com>
9728         * javax/swing/JTree.java
9729         (getScrollableUnitIncrement): Fixed direction.
9730         (getScrollableBlockIncrement): Implemented to scroll one
9731         page.
9732         * javax/swing/tree/VariableHeightLayoutCache.java
9733         (distance): Consider y + height already outside the node.
9735 2006-08-13  Roman Kennke  <kennke@aicas.com>
9737         * javax/swing/JTable.java
9738         (getScrollableUnitIncrement): Fixed direction. Make it behave
9739         like the RI.
9740         (getScrollableBlockIncrement): Fixed direction. Make it behave
9741         like the RI.
9743 2006-08-13  Roman Kennke  <kennke@aicas.com>
9745         * javax/swing/JList.java
9746         (getScrollableUnitIncrement): Fixed direction. Implemented
9747         horizontal scrolling. Improved usability.
9748         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9750 2006-08-13  Roman Kennke  <kennke@aicas.com>
9752         * javax/swing/plaf/basic/BasicScrollBarUI.java
9753         (scrollByUnit): Scroll by -unit when direction is not positive
9754         and +unit otherwise.
9755         (scrollByBlock): Scroll by -unit when direction is not positive
9756         and +unit otherwise.
9758 2006-08-13  Roman Kennke  <kennke@aicas.com>
9760         PR 28028
9761         * javax/swing/text/PlainView.java
9762         (paint): Limit painted area to the lines inside the clip
9763         and allocation.
9765 2006-08-13  Roman Kennke  <kennke@aicas.com>
9767         * javax/swing/plaf/basic/BasicTextUI.java
9768         (uninstallListeners): Unregister document listener.
9770 2006-08-13  Sven de Marothy  <sven@physto.se>
9772         * java/util/Locale.java
9773         (hashcodeCache): New field.
9774         (hashCode): use the above field instead of the serialized one
9775         (writeObject): Removed method.
9776         (readObject): Intern strings.
9777         (equals): Revert to previous method.
9779 2006-08-13  Roman Kennke  <kennke@aicas.com>
9781         * javax/swing/JTabbedPane.java
9782         (JTabbedPane): Call setModel() here and let this install the
9783         change listener correctly.
9784         (setModel): Correctly uninstall and reinstall ChangeListener when
9785         model changes.
9787 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9789         PR Classpath/23952
9790         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9791         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9792         (lastDefaultLocale): Removed.
9793         (emptyLocale): Likewise.
9794         (BundleKey.defaultLocale): New field.
9795         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9796         (BundleKey.set): Likewise.
9797         (BundleKey.equals): Take defaultLocal field into consideration.
9798         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9800 2006-08-13  Roman Kennke  <kennke@aicas.com>
9802         * javax/swing/JMenu.java
9803         (MenuChangeListener): New inner class, helps firing menu events.
9804         (changeListener): New field.
9805         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9806         (add(Action)): Create Action using createActionComponent()
9807         and add via add(Component).
9808         (setModel): Install and uninstall MenuChangeListener here.
9810 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9812         PR Classpath/27372
9813         * java/math/BigInteger.java: Updated copyright year.
9814         (init): Consume as little bytes as possible.
9815         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9816         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9817         as per RI's documentation.
9819 2006-08-13  Sven de Marothy  <sven@physto.se>
9821         * java/util/Locale.java
9822         (hashcode): Is a serialized field, not transient.
9823         (equals): Should NOT compare strings by reference.
9824         (readObject/writeObject): Use the default methods and handle the hash
9825         seperately.
9827 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9829         PR Classpath/28678
9830         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9831         Updated documentation.
9832         Formatting.
9833         (getInstance(String, String, Provider, Object[])): Likewise.
9834         Separate checks for null and empty string arguments.
9835         Include as much information as possible in the exception's message.
9836         Do not swallow original exception; instead use it as the cause of the
9837         resulting exception.
9838         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9839         (getInstance(String)): Updated documentation.
9840         Formatting.
9841         Store last exception caught when iterating through all providers.
9842         If no implementation found, raise last exception if one was caught.
9843         (getInstance(String, String)): Updated documentation.
9844         Formatting.
9845         Check for null or empty provider as per RI-5's documentation.
9846         (getInstance(String, Provider)): Updated documentation.
9847         Formatting.
9848         Use as much information as possible in the exception message.
9849         Do not swallow original exception; instead use it as the cause for the
9850         ultimate raised exception(s).
9851         * java/security/cert/CertificateFactory.java: Likewise.
9852         * java/security/cert/CertPathBuilder.java: Likewise.
9853         * java/security/cert/CertPathValidator.java: Likewise.
9854         * java/security/cert/CertStore.java: Likewise.
9855         * java/security/AlgorithmParameterGenerator.java: Likewise.
9856         * java/security/AlgorithmParameters.java: Likewise.
9857         * java/security/KeyFactory.java: Likewise.
9858         * java/security/KeyPairGenerator.java: Likewise.
9859         * java/security/KeyStore.java: Likewise.
9860         * java/security/MessageDigest.java: Likewise.
9861         * java/security/SecureRandom.java: Likewise.
9862         * java/security/Signature.java: Likewise.
9863         * javax/crypto/Cipher.java: Likewise.
9864         * javax/crypto/ExemptionMechanism.java: Likewise.
9865         * javax/crypto/KeyAgreement.java: Likewise.
9866         * javax/crypto/KeyGenerator.java: Likewise.
9867         * javax/crypto/Mac.java: Likewise.
9868         * javax/crypto/SecretKeyFactory.java: Likewise.
9869         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9870         * javax/net/ssl/SSLContext.java: Likewise.
9871         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9873 2006-08-13  Roman Kennke  <kennke@aicas.com>
9875         * javax/swing/JEditorPane.java
9876         (getScrollableTracksViewportHeight): Also check maximum size.
9877         * javax/swing/JTextPane.java
9878         (insertIcon): Use input attributes for adding the icon
9879         attribute.
9880         * javax/swing/plaf/basic/BasicTextUI.java
9881         (RootView.setSize): Overridden to forward to real view.
9882         (getPreferredSize): Trigger setSize() on the view.
9883         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9884         to viewToModel() call, rather then null.
9885         * javax/swing/text/ParagraphView.java
9886         (changedUpdate): Invalide layout. Call super.
9887         * javax/swing/text/SimpleAttributeSet.java
9888         (clone): Use super's clone method to create clone.
9889         * javax/swing/text/StyleConstants.java
9890         (setIcon): Also set element name attribute.
9891         * javax/swing/text/StyledEditorKit.java
9892         (BoldAction.actionPerformed): Actually set the bold attribute,
9893         not italic.
9894         (setCharacterAttributes): Replaced with more straightforward
9895         impl.
9896         * javax/swing/text/TextAction.java
9897         (getFocusedComponent): Implemented.
9898         * javax/swing/text/Utilities.java
9899         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9900         of null.
9901         * javax/swing/text/View.java
9902         (changedUpdate): Nullify element change when updateChildren
9903         says so.
9905 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9907         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9908         Fix documentation typos.
9910 2006-08-11  David Daney  <ddaney@avtrex.com>
9912         PR classpath/28580
9913         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9914         createResponseBodyStream in more cases and with new parameter.
9915         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9916         HEAD and !mayHaveBody responses specially.
9917         
9918 2006-08-11  Roman Kennke  <kennke@aicas.com>
9920         * javax/swing/text/GlyphView.java
9921         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9922         * javax/swing/text/LabelView.java
9923         (valid): New flag indicating if the text attributes are valid.
9924         (LabelView): Initialize valid field with false.
9925         (setPropertiesFromAttributes): Call setter methods instead
9926         of setting properties directly. Set valid to true.
9927         (changedUpdate): Invalidate attributes. Call super.
9928         (getBackground): Sync attributes if necessary.
9929         (getForeground): Sync attributes if necessary.
9930         (getFont): Sync attributes if necessary.
9931         (isUnderline): Sync attributes if necessary.
9932         (isSuperscript): Sync attributes if necessary.
9933         (isStrikeThrough): Sync attributes if necessary.
9934         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9935         from toolkit if Container is not available yet.
9937 2006-08-11  Roman Kennke  <kennke@aicas.com>
9939         * javax/swing/text/PlainView.java
9940         (tabBase): New field.
9941         (tabSize): New field.
9942         (updateMetrics): Update tabSize.
9943         (lineToRect): Only allocate when really necessary.
9944         (modelToView): Use tabBase for offset calculations.
9945         (paint): Only allocate when really necessary. Update tabBase.
9946         (nextTabStop): Fixed tab calculation.
9947         (viewToModel): Correctly handle multiline text and locations
9948         outside the view's bounds. Set bias.
9949         (getLineLength): Use tabBase.
9950         * javax/swing/text/Utilities.java
9951         (drawTabbedText): Don't special case newlines. The views
9952         must take care of this.
9954 2006-08-11  Roman Kennke  <kennke@aicas.com>
9956         * javax/swing/text/GapContent.java
9957         (UndoPosRef): New inner class. Used for resetting positions
9958         after undo/redo operations.
9959         (InsertUndo.positions): New field.
9960         (InsertUndo.undo): Store positions in removed range.
9961         (InsertUndo.redo): Restore positions in re-inserted range.
9962         (UndoRemove.positions): New field.
9963         (UndoRemove.UndoRemove): Store positions in removed range.
9964         (UndoRemove.undo): Restore positions in re-inserted range.
9965         (UndoRemove.redo): Store positions in removed range.
9966         (insertString): Create InsertUndo instance before actually
9967         inserting the string.
9968         (remove): Create UndoRemove instance before actually
9969         removing.
9970         (getPositionsInRange): Don't clear the Vector. Return Vector
9971         of UndoPosRefs.
9972         (updateUndoPositions): Implemented to reset all UndoPosRefs
9973         in the vector.
9975 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9977         * java/io/ObjectInputStream.java (readClassDescriptor):
9978         Use class's class loader to resolve field types.
9979         * java/io/ObjectStreamField.java
9980         (ObjectStreamField(String,String,ClassLoader)): Removed.
9981         (ObjectStreamField(String,String)): Don't try to resolve typename.
9982         (resolveType): New method.
9984 2006-08-10  Roman Kennke  <kennke@aicas.com>
9986         * javax/swing/text/BoxView.java
9987         (calculateMajorAxisRequirements): Sum up the preferred and
9988         maximum sizes.
9989         (isAfter): Also add in the rectangle's with/height.
9990         (childAllocation): Don't trigger layout here.
9991         (layoutMinorAxis): Removed debug output.
9992         (getWidth): Consider the insets.
9993         (getHeight): Consider the insets.
9994         (setSize): Consider the insets.
9995         (updateRequirements): Check axis and throw
9996         IllegalArgumentException.
9998 2006-08-10  Roman Kennke  <kennke@aicas.com>
10000         * javax/swing/text/AbstractDocument.java
10001         (BidiRootName): New constant field, denotes the element name
10002         for bidi root elements.
10003         (AsyncLoadPriority): New constant field, denotes the property
10004         to store the asynchronousLoadPriority.
10005         (I18N): New constant field, denotes the property for
10006         I18N support.
10007         (bidiRoot): Made field type BidiRootElement.
10008         (AbstractDocument): Build initial element structure for
10009         bidi.
10010         (getAsynchronousLoadPriority): Implemented. Returns the
10011         value stored in the document properties.
10012         (setAsynchronousLoadPriority): Implemented. Sets the
10013         value stored in the document properties.
10014         (getEndPosition): Implemented to use a Position from the
10015         content.
10016         (getStartPosition): Implemented to use a Position from the
10017         content.
10018         (insertStringImpl): Update the I18N setting if necessary.
10019         (insertUpdate): Update the bidi structure if necessary.
10020         (postRemoveUpdate): Update the bidi structure if necessary.
10021         (putProperty): Update the I18N setting and bidi structure
10022         if necessary.
10023         (updateBidi): New helper method for updating the bidi
10024         structure.
10025         (getBidis): New helper method. Fetches the Bidi analysers
10026         for the paragraphs of the range to check.
10027         (dump): Also dump the bidi structure.
10028         (AbstractElement.dump): Indent the '>' correctly.
10029         (AbstractElement.children): Check numChildren rather then
10030         children.length.
10031         (BidiRootElement): New inner class.
10032         (BidiElement): New inner class.
10034 2006-08-10  Roman Kennke  <kennke@aicas.com>
10036         * javax/swing/text/GapContent.java
10037         (getChars): Optimized to only copy array when really necessary.
10038         Respect the partialReturn property.
10040 2006-08-10  Lillian Angel  <langel@redhat.com>
10042         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
10043         (getComponentPeer): Added check to prevent NPE.
10045 2006-08-10  Gary Benson  <gbenson@redhat.com>
10047         * java/security/AccessControlContext.java (<init>):
10048         Avoid a duplicated AccessController.getContext() call.
10050 2006-08-09  Mark Wielaard  <mark@klomp.org>
10051   
10052         * doc/www.gnu.org/newsitems.txt: Add 0.92.
10053         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
10054         * doc/www.gnu.org/announce/20060809.wml: New file.
10056 2006-08-09  Mark Wielaard  <mark@klomp.org>
10058         * configure.ac (VERSION): Set to 0.92-generics.
10059         * NEWS: Add updates for 0.92 release.
10061 2006-08-09  Tom Tromey  <tromey@redhat.com>
10063         PR classpath/28658:
10064         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
10065         the pattern match any number of spaces in the text.
10067 2006-08-09  Sven de Marothy  <sven@physto.se>
10069         * java/awt/image/BufferedImage.java
10070         (BufferedImage): Reimplement predefined-type constructor.
10071         (observers/tileObservers): Field renamed to tileObservers.
10072         (createDefaultIndexedColorModel): New method.
10074 2006-08-09  Tom Tromey  <tromey@redhat.com>
10076         PR classpath/28666:
10077         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
10078         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
10079         Create a 'short' array.
10081 2006-08-09  Tom Tromey  <tromey@redhat.com>
10083         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
10084         handle arrays.
10085         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
10086         (writeFields): Print "L" after int constant.  Don't mangle the field
10087         name.  Only print int/long fields.
10089 2006-08-09  Tom Tromey  <tromey@redhat.com>
10091         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
10092         "javah".
10094 2006-08-09  Sven de Marothy  <sven@physto.se>
10096         * javax/swing/JTree.java
10097         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
10098         (setSelectionModel): Null parameter should create an EmptySelectionM.
10100 2006-08-09  Roman Kennke  <kennke@aicas.com>
10102         * javax/swing/text/AbstractDocument.java
10103         (insertString): Perform modifications inside a write lock.
10104         (insertStringImpl): Don't lock here. This is already done
10105         in insertString().
10106         (replace): Perform modifications inside a write lock.
10107         (AbstractElement.AbstractElement): Call addAttributes() to
10108         add the attributes.
10109         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
10110         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
10111         (BranchElement.BranchElement): Set lastIndex to -1.
10112         (BranchElement.getElementIndex): Implemented more efficient
10113         search.
10115 2006-08-09  Roman Kennke  <kennke@aicas.com>
10117         * javax/swing/text/DefaultStyledDocument.java
10118         (Edit): Moved this inner class into ElementBuffer where it
10119         is actually needed.
10120         (edits): Moved this field into ElementBuffer.
10121         (getEditForParagraphAndIndex): Removed obsolete method.
10122         (insertUpdate): Added some optimizations and fixes. Split
10123         out handling insertion after newlines.
10124         (insertAfterNewline): New helper method. Handles insertions
10125         after a newline.
10126         (ElementBuffer.Edit): New inner class. Moved here from
10127         DefaultStyledDocument.
10128         (ElementBuffer.createdFracture): New field.
10129         (ElementBuffer.documentEvent): Made private.
10130         (ElementBuffer.edits): New field. Moved here from
10131         DefaultStyledDocument.
10132         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
10133         (ElementBuffer.fracturedChild): New field.
10134         (ElementBuffer.fracturedParent): New field.
10135         (ElementBuffer.insertPath): New field.
10136         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
10137         fracturedParent.
10138         (ElementBuffer.offsetLastIndex): New field.
10139         (ElementBuffer.offsetLastIndexReplace): New field.
10140         (ElementBuffer.recreateLeafs): New field.
10141         (ElementBuffer.ElementBuffer): Don't initialize stack here.
10142         (ElementBuffer.canJoin): New helper method.
10143         (ElementBuffer.changeUpdate): Changed to use elementStack with
10144         Edits rather than Elements. Let the split method do the work.
10145         (ElementBuffer.cloneAsNecessary): New helper method.
10146         (ElementBuffer.createFracture): Changed to fracture the bottommost
10147         child in the stack.
10148         (ElementBuffer.finishEdit): New helper method. Moved out
10149         from insertUpdate to perform the actual changes and update
10150         the event.
10151         (fracture): New helper method.
10152         (insertContentTag): Fixed some bugs and changed to use Edit
10153         instances in the stack, rather then Elements.
10154         (insertElement): New helper method. Moved out from insertUpdate()
10155         to process the ElementSpecs.
10156         (insertFirstContentTag): Fixed some problems and changed to use Edit
10157         instances in the stack, rather then Elements.
10158         (insertFracture): Removed. Basically moved into createFracture()
10159         and fracture().
10160         (insertParagraph): Removed.
10161         (insertUpdate): Split out the ElementSpec processing into
10162         insertElement(). Use Edit instances in the stack. Fixed some
10163         problems.
10164         (insert): Split out the preparation and finishing code into
10165         prepareEdit() and finishEdit().
10166         (join): New helper method.
10167         (pop): New helper method.
10168         (prepareEdit): New helper method.
10169         (recreateFracturedElement): New helper method.
10170         (recreateLeaves): Removed.
10171         (recreate): New helper method.
10172         (removeElements): New helper method. Split out from removeUpdate().
10173         (removeUpdate): Split out the actual removal. Use the
10174         Edit stack to perform removal and perform the remove actions
10175         and event updates afterwards, just like in insertImpl().
10176         (remove): Use prepareEdit() and finishEdit().
10177         (split): Replaced with more flexible impl.
10179 2006-08-09  Sven de Marothy  <sven@physto.se>
10181         * gnu/java/awt/peer/gtk/CairoSurface.java
10182         Change class to extend WritableRaster and not DataBuffer.
10183         (CairoDataBuffer): New inner class.
10184         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
10185         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10186         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10187         Accomodate the above change.
10189 2006-08-09  Sven de Marothy  <sven@physto.se>
10191         * gnu/java/awt/peer/gtk/GtkMainThread.java
10192         New file.
10193         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10194         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10195         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
10196         * gnu/java/awt/peer/gtk/GtkToolkit.java
10197         Minor style fixes; removed unused fields, 
10198         set fields to private where possible.
10199         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
10200         Call GtkMainThread.createWindow().
10201         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10202         (dispose): New method.
10203         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
10204         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
10205         (gtkQuit): New native method.
10207 2006-08-08  Lillian Angel  <langel@redhat.com>
10209         * java/awt/Component.java
10210         (setDropTarget): Added check.
10212 2006-08-08  Lillian Angel  <langel@redhat.com>
10214         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
10215         (GtkDragSourceContextPeer): Added FIXME. Changed call
10216         to setTarget. 
10217         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
10218         (GtkDropTargetContextPeer): Removed target initialization.
10219         * java/awt/Component.java
10220         (setTarget): Removed commented out code.
10222 2006-08-08  Mark Wielaard  <mark@klomp.org>
10224         * javax/swing/text/DefaultHighlighter.java: Qualify
10225         Highlighter.HighlightPainter class name for gcj.
10227 2006-08-05  Roman Kennke  <kennke@aicas.com>
10229         * javax/swing/plaf/basic/BasicTableUI.java
10230         (MouseInputHandler.mousePressed): Request focus on list
10231         component.
10233 2006-08-05  Roman Kennke  <kennke@aicas.com>
10235         * javax/swing/plaf/basic/BasicListUI.java
10236         (MouseInputHandler.mousePressed): Request focus on list
10237         component.
10239 2006-08-05  Roman Kennke  <kennke@aicas.com>
10241         PR 28650
10242         * javax/swing/plaf/basic/BasicMenuBarUI.java
10243         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
10244         than Tree.actionMap.
10245         * javax/swing/plaf/basic/BasicTreeUI.java
10246         (action): Removed obsolete field.
10247         (uninstallKeyboardActions): Removed action field handling.
10248         (installKeyboardActions): Removed action field handling.
10249         (createDefaultActions): Don't install removed TreeAction.
10250         (TreeAction): Removed obsolete inner class.
10251         (ActionListenerProxy): Removed obsolete inner class.
10252         (MouseHandler.mousePressed): Request focus on JTree component
10253         on mouse press.
10255 2006-08-08  Roman Kennke  <kennke@aicas.com>
10257         * javax/swing/plaf/basic/BasicListUI.java
10258         (MouseInputHandler.mousePressed): Request focus on list
10259         component.
10261 2006-08-08  Roman Kennke  <kennke@aicas.com>
10263         * javax/swing/plaf/basic/BasicTableUI.java
10264         (MouseInputHandler.mousePressed): Request focus on list
10265         component.
10267 2006-08-08  Roman Kennke  <kennke@aicas.com>
10269         * javax/swing/plaf/basic/BasicTextUI.java
10270         (damageRange(JTextComponent,int,int)): Call damageRange() with
10271         correct biases, rather than null.
10272         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
10273         to use simpler modelToView() approach without much special
10274         casing. This seems not worth the effort and actually
10275         caused problems. Added locking of the document.
10276         * javax/swing/text/BoxView.java
10277         (requirementsValid): New field.
10278         (calculateMajorAxisRequirements): Rewritten without using
10279         SizeRequirements. The SizeRequirements algorithms are slightly
10280         different and too inefficient.
10281         (calculateMinorAxisRequirements): Rewritten without using
10282         SizeRequirements. The SizeRequirements algorithms are slightly
10283         different and too inefficient.
10284         (getAlignment): Simply return the alignment of the cached
10285         requirements.
10286         (getMaximumSpan): Add insets.
10287         (getMinimumSpan): Add insets.
10288         (getPreferredSpan): Add insets.
10289         (layoutMajorAxis): Rewritten without using
10290         SizeRequirements. The SizeRequirements algorithms are slightly
10291         different and too inefficient.
10292         (layoutMinorAxis): Rewritten without using
10293         SizeRequirements. The SizeRequirements algorithms are slightly
10294         different and too inefficient.
10295         (modelToView): Call setSize() rather than layout().
10296         (paint): Check clip for more efficient painting.
10297         (preferenceChanged): Invalidate requirements here.
10298         (replace): Invalidate requirements here.
10299         (updateRequirements): Update requirements only when requirements
10300         are marked invalid.
10301         * javax/swing/text/CompositeView.java
10302         (modelToView): Added some more checks and handling of corner cases.
10303         * javax/swing/text/FlowView.java
10304         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
10305         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
10306         * javax/swing/text/IconView.java
10307         (getAlignment): Implemented to return 1.0 for vertical alignment.
10308         * javax/swing/text/ParagraphView.java
10309         (Row.getMaximumSpan): Implemented to let Rows span the whole
10310         ParagraphView.
10311         (getAlignment): Fixed horizontal alignment and vertical alignment
10312         for empty paragraphs to be 0.5.
10314 2006-08-08  Roman Kennke  <kennke@aicas.com>
10316         * javax/swing/text/View.java
10317         (modelToView): Added special handling for corner case at the end
10318         of the view and for multiline views.
10320 2006-08-08  Roman Kennke  <kennke@aicas.com>
10322         * javax/swing/plaf/basic/BasicTextUI.java
10323         (modelToView): Read-lock the document. Set size of the
10324         root view before fetching the model-to-view mapping.
10325         (getViewIndex): Check of the position is inside the range and
10326         return -1 if this is not the case.
10327         (getViewAtPosition(int,Rectangle): Update child allocation for valid
10328         view index.
10329         (getViewIndexAtPosition(int)): Delegate the index search to
10330         the element since we have a 1:1 mapping between elements and
10331         views here.
10332         * javax/swing/text/DefaultCaret.java
10333         (appear): Ignore BadLocationException.
10334         (paint): Ignore BadLocationException.
10335         * javax/swing/text/FlowView.java
10336         (changedUpdate): Also notify the layoutPool view.
10337         (removeUpdate): Also notify the layoutPool view.
10338         * javax/swing/text/ParagraphView.java
10339         (Row.getViewIndexAtPosition): Overridden to search linearily
10340         through the view instead of relying on a 1:1 model to view
10341         mapping.
10342         * javax/swing/text/View.java
10343         (removeUpdate): Clear ElementChange object if updateChildren
10344         returns false.
10345         (forwardUpdate): Special handle some boundary cases.
10347 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
10349         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
10350         (hasInheritedParameters): New method.
10351         (equals): Updated documentation.
10352         Take into consideration the outcome of hasInheritedParameters invocation.
10353         (toString): Call hasInheritedParameters and adjust the result accordingly.
10354         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
10355         Updated documentation.
10356         Handle case of public keys with null p, q, and g MPIs.
10357         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
10359 2006-08-07  Tom Tromey  <tromey@redhat.com>
10361         PR libgcj/23682:
10362         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10363         (attachment): Likewise.
10364         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10365         synchronized.
10366         (isValid): Likewise.
10367         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10368         (ch): Likewise.
10369         (interestOps): Synchronize.
10370         (readyOps): Likewise.
10371         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10372         interestOps call.
10374 2006-08-07  C. Scott Marshall  <csm@gnu.org>
10376         Fixes PR 28608.
10377         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
10378         the mark has been set.
10379         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
10380         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
10381         allocated data.
10383 2006-08-07  Sven de Marothy  <sven@physto.se>
10385         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10386         (drawGlyphVector): Synchronize against font object when drawing.
10387         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10388         (nativeDrawGlyphVector): Use pango locking when drawing.
10389         (install_font_peer): Use pango locking when creating the cairo face.
10391 2006-08-06  Roman Kennke  <kennke@aicas.com>
10393         PR 28571
10394         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
10395         (getPreferredSize): Renamed method to preferredSize(). That's
10396         the one that gets called from java.awt.*.
10397         * java/awt/peer/ComponentPeer.java
10398         (getPreferredSize): Added specnote about this method never
10399         beeing called in the RI.
10400         (getMinimumSize): Added specnote about this method never
10401         beeing called in the RI.
10403 2006-08-03  Sven de Marothy  <sven@physto.se>
10405         * gnu/java/awt/peer/gtk/ComponentGraphics.java
10406         (grab, nativeGrab): New methods.
10407         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
10408         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
10409         (nativeGrab): New method.
10410         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10411         (print): Implement.
10412         * java/awt/Component.java
10413         (printAll): Should call peer print method.
10415 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10417         * java/net/URL.java (getContent(Class[])): Implement.
10419 2006-08-06  Mark Wielaard  <mark@klomp.org>
10421         PR 28555
10422         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
10423         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
10424         withParams is null.
10425         * gnu/xml/transform/ForEachNode.java (clone): Check whether
10426         sortKeys is null.
10428 2006-08-06  Roman Kennke  <kennke@aicas.com>
10430         * NEWS: Added note about the X peers.
10431         * INSTALL: Added install notes about the X peers. 
10433 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
10434             Paul Jenner  <psj@harker.dyndns.org>
10436         * README: Update bug, patches and cvs instructions plus new URLs of
10437         various external projects.
10439 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
10441         * configure.ac (MOZILLA_FOUND): Fall back to
10442         mozilla-firefox-plugin.
10444 2006-08-06  Mario Torre  <neugens@limasoftware.net>
10446         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10447         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10448         g_type_init earlier in function to correctly initialize the
10449         type system used by the backend.
10451 2006-08-05  Roman Kennke  <kennke@aicas.com>
10452   
10453         * javax/swing/text/DefaultHighlight.java
10454         (DefaultHighlightPainter.paintHighlight): Removed method.
10455         (DefaultHighlightPainter.paintLayer): Implemented.
10456         (DefaultHighlightPainter.paint): Implemented more efficient
10457         painting for multiline-highlights.
10458         (HighlightEntry.p0): Changed to be a Position.
10459         (HighlightEntry.p1): Changed to be a Position.
10460         (HighlightEntry.HighlightEntry): Changed to take Position
10461         arfuments.
10462         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
10463         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
10464         (LayerHighlightEntry): New inner class. Extends HighlightEntry
10465         and tracks the painted rectangle for efficient repainting.
10466         (addHighlight): Handle layered highlight.
10467         (changeHighlight): Handle layered highlight.
10468         (paintLayeredHighlights): Implemented.
10469         (paint): Paint only non-layered highlights here.
10470         (removeAllHighlights): Trigger correct repaint.
10471         (removeHighlight): Handle layered highlight here for
10472         more efficient repainting.
10473         * javax/swing/text/GlyphView.java
10474         (paint): Handle layered highlights.
10475         * javax/swing/text/PlainView.java
10476         (paint): Handle layered highlights.
10477         * javax/swing/text/WrappedPlainView.java
10478         (WrappedLine.paint): Handle layered highlights.
10480 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10481   
10482         PR 26972
10483         * NEWS: As suggested by Paul Jennier, added note about the fix of
10484         the InitialContext.
10486 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10488         * NEWS: Added entry about the context factories for JNDI.
10490 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10492         PR 27383
10493         * gnu/CORBA/Connected_objects.java (size): New method.
10494         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
10495         New method.
10496         * javax/naming/spi/NamingManager.java (getURLContext):
10497         Also search for the URL context factories in 
10498         gnu/javax/naming/jndi/url.
10499         * gnu/javax/naming/giop/ContextContinuation.java,
10500         gnu/javax/naming/giop/CorbalocParser.java,
10501         gnu/javax/naming/giop/GiopNamingEnumeration.java,
10502         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
10503         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
10504         gnu/javax/naming/giop/ListBindingsEnumeration.java,
10505         gnu/javax/naming/giop/ListEnumeration.java,
10506         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
10507         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
10508         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
10509         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
10510         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
10511         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
10512         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
10513         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
10515 2006-08-06  Sven de Marothy  <sven@physto.se>
10517         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10518         (drawGlyphVector): Synchronize against font object when drawing.
10519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10520         (nativeDrawGlyphVector): Use pango locking when drawing.
10521         (install_font_peer): Use pango locking when creating the cairo face.
10523 2006-08-06  C. Scott Marshall  <csm@gnu.org>
10525         Fixes PR 28608.
10526         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
10527         the mark has been set.
10528         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
10529         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
10530         allocated data.
10532 2006-08-06  Mark Wielaard  <mark@klomp.org>
10534         PR 28555
10535         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
10536         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
10537         withParams is null.
10538         * gnu/xml/transform/ForEachNode.java (clone): Check whether
10539         sortKeys is null.
10541 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
10542             Paul Jenner  <psj@harker.dyndns.org>
10544         * README: Update bug, patches and cvs instructions plus new URLs of
10545         various external projects.
10546   
10547 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10549         * gnu/java/lang/management/BeanImpl.java:
10550         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
10551         with open variant.
10552         (getCachedMBeanInfo()): Return open variant.
10553         (getMBeanInfo()): Likewise.
10554         (getTypeFromClass(Class)): Implemented.
10555         (translateSignature(MBeanParameterInfo)): Likewise.
10556         (translate(String)): Likewise.
10557         * javax/management/StandardMBean.java:
10558         (getMBeanInfo()): Return attribute names with capital letters,
10559         as in docs for java.lang.management.ManagementFactory, and
10560         ensure descriptions are not "".
10561         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
10562         * javax/management/openmbean/OpenMBeanInfoSupport.java,
10563         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10564         (toString()): Use Arrays.toString().
10565         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10566         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
10567         Set open type here rather than in other constructors.
10569 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10571         * javax/management/MBeanFeatureInfo.java:
10572         Make string variable package-private.
10573         * javax/management/StandardMBean.java:
10574         (getMBeanInterface()): Made final.
10575         * javax/management/openmbean/SimpleType.java:
10576         Made final.
10578 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
10580         * java/awt/Component.java (setDropTarget): Commented out GTK specific
10581         code.
10582   
10583 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10585         * examples/gnu/classpath/examples/swing/FillRect.java,
10586         * gnu/CORBA/Focused_ORB.java,
10587         * gnu/CORBA/interfaces/gnuSocketFactory.java,
10588         * gnu/classpath/ByteArray.java,
10589         * gnu/classpath/ObjectPool.java,
10590         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
10591         * gnu/java/awt/peer/x/fonts.properties,
10592         * gnu/java/security/util/Prime2.java,
10593         * gnu/javax/imageio/gif/GIFStream.java,
10594         * javax/swing/text/html/HTMLTableView.java,
10595         * native/cni/Makefile.am,
10596         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
10597         * org/omg/CORBA/SendingContext/Runtime.java,
10598         * resource/gnu/regexp/MessagesBundle.properties,
10599         * resource/gnu/regexp/MessagesBundle_fr.properties,
10600         * resource/gnu/regexp/MessagesBundle_it.properties,
10601         * tools/appletviewer.in,
10602         * tools/jarsigner.in,
10603         * tools/keytool.in,
10604         * vm/reference/java/lang/management/VMThreadInfo.java:
10605         Removed.
10606         * examples/gnu/classpath/examples/awt/aicas.png,
10607         * examples/gnu/classpath/examples/awt/palme.gif,
10608         * examples/gnu/classpath/examples/java2d/aicas.png,
10609         * examples/gnu/classpath/examples/java2d/palme.gif,
10610         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10611         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10612         * java/awt/doc-files/capjoin.png,
10613         * java/awt/geom/doc-files/Area-1.png,
10614         * java/awt/geom/doc-files/Ellipse-1.png,
10615         * java/awt/geom/doc-files/GeneralPath-1.png:
10616         Added.
10617         
10618 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10620         * configdiag.jnlp:
10621         Removed.
10622         
10623 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10625         * gnu/java/lang/management/BeanImpl.java:
10626         (getAttribute(String)): Implemented.
10628 2006-08-05  Roman Kennke  <kennke@aicas.com>
10630         * javax/swing/text/JTextComponent.java
10631         (AccessibleJTextComponent.dot): Renamed field into caretDot.
10632         (AccessibleJTextComponent.textComp): Removed field
10633         and replace with JTextComponent.this construct.
10634         (AccessibleJTextComponent.AccessibleJTextComponent):
10635         Fetch caret position.
10636         (caretUpdate): Implemented. Fires property change events and
10637         updates the caretDot field.
10638         (changedUpdate): Implemented. Fires property change events.
10639         (insertUpdate): Implemented. Fires property change events.
10640         (removeUpdate): Implemented. Fires property change events.
10641         (cut): Replaced textComp with JTextComponent.this construct.
10642         (paste): Replaced textComp with JTextComponent.this construct.
10643         (replaceText): Replaced textComp with JTextComponent.this construct.
10644         (selectText): Replaced textComp with JTextComponent.this construct.
10645         (getCaretPosition): Replaced textComp with JTextComponent.this
10646         construct.
10647         (getCharCount): Replaced textComp with JTextComponent.this construct.
10648         (getSelectedText): Replaced textComp with JTextComponent.this
10649         construct.
10650         (getSelectionEnd): Replaced textComp with JTextComponent.this
10651         construct.
10652         (getSelectionStart): Replaced textComp with JTextComponent.this
10653         construct.
10654         (getTextRange): Replaced textComp with JTextComponent.this
10655         construct.
10656         (doAccessibleAction): Implemented.
10657         (getAccessibleActionCount): Implemented.
10658         (getAccessibleActionDescription): Implemented.
10659         (getAccessibleStateSet): Implemented.
10660         (getAfterIndex): Implemented.
10661         (getBeforeIndex): Implemented.
10662         (getAtIndex): Implemented.
10663         (getAtIndexImpl): New helper method.
10664         (getCharacterAttribute): Implemented.
10665         (getCharacterBounds): Implemented.
10666         (getIndexAtPoint): Implemented. 
10667         (insertTextAtIndex): Implemented.
10668         (setAttributes): Implemented.
10669         (setTextContents): Implemented.
10671 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
10672   
10673         * configure.ac: Better handling of default-preferences-peer option.
10675 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
10677         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10678         double[].
10680 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10682         * javax/management/openmbean/TabularData.java:
10683         Documentation corrections.
10684         * javax/management/openmbean/TabularDataSupport.java:
10685         New file.
10687 2006-08-04  Francis Kung  <fkung@redhat.com>
10689         * java/awt/BasicStroke.java
10690         (dashedStroke): Implemented.
10692 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10694         * javax/management/BadAttributeValueExpException.java,
10695         * javax/management/BadStringOperationException.java,
10696         * javax/management/InstanceAlreadyExistsException.java,
10697         * javax/management/InstanceNotFoundException.java,
10698         * javax/management/InvalidApplicationException.java,
10699         * javax/management/MBeanRegistrationException.java,
10700         * javax/management/MalformedObjectNameException.java,
10701         * javax/management/RuntimeErrorException.java,
10702         * javax/management/RuntimeMBeanException.java,
10703         * javax/management/ServiceNotFoundException.java:
10704         New files.
10705         
10706 2006-08-04  Roman Kennke  <kennke@aicas.com>
10708         * javax/swing/SwingUtilities.java
10709         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10710          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10711         layoutCompoundLabelImpl().
10712         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10713          Rectangle,Rectangle,Rectangle,int)): Delegate to new
10714         layoutCompoundLabelImpl().
10715         (layoutCompoundLabelImpl): New helper method. Moved impl from
10716         layoutCompoundLabel() to here and added handling of HTML.
10717         * javax/swing/plaf/basic/BasicButtonUI.java
10718         (installUI): Update HTML view if appropriate.
10719         (uninstallUI): New method. Do the usual uninstallUI things
10720         and uninstall HTML view.
10721         (getMinimumSize): New method. Adjusts the minimum size
10722         by the HTML view minimum size.
10723         (getMaximumSize): New method. Adjusts the maximum size
10724         by the HTML view maximum size.
10725         (getPreferredSize): Pass the button's iconTextGap to the
10726         BasicGraphicsUtils method.
10727         (paint): Let HTML view paint the text, if present.
10728         * javax/swing/plaf/basic/BasicButtonListener.java
10729         (propertyChange): Update the HTML view when the button's
10730         text is changed.
10731         
10732 2006-08-04  Mario Torre  <neugens@limasoftware.net>
10734         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10735         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10736         g_type_init earlier in function to correctly initialize the
10737         type system used by the backend.
10739 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10741         PR 26972
10742         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10743         Documented.
10744         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10746 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10748         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10749         Fixes PR27864.
10750         * gnu/xml/dom/DomIterator.java:
10751         (successor): Added if-statement.
10753 2006-08-04  Mark Wielaard  <mark@klomp.org>
10755         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10757 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10759         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10760         (update): Check size and paint smaller gradient.
10761         * javax/swing/plaf/metal/MetalBorders.java:
10762         (MenuBarBorder): Removed borderColor field.
10763         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10764         MetalLookAndFeel.
10766 2006-08-03  Roman Kennke  <kennke@aicas.com>
10768         PR 27637
10769         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10770         (ComponentHandler.componentResized): Reimplemented to handle
10771         arbitrary parents.
10772         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10773         component listener on changed ancestor.
10774         (installListeners): Install componentListener.
10775         (uninstallListeners): Uninstall componentListener.
10777 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10779         * StrictMath.java (cbrt): Return argument if it is a NaN.
10780         (cosh): Likewise.
10781         (expm1): Likewise.
10782         (sinh): Likewise.
10783   
10784 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10785   
10786         * java/lang/StrictMath.java (tanh): New method.
10787   
10788 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10789   
10790         * scripts/import-cacerts.sh: Batch CA certificates import script.
10791   
10792 2006-08-03  Roman Kennke  <kennke@aicas.com>
10794         PR 27606
10795         * javax/swing/plaf/basic/BasicListUI.java
10796         (paintCell): Pass row index to cell renderer.
10797         * javax/swing/plaf/basic/MetalFileChooserUI.java
10798         (DirectoryComboBoxRenderer.indentIcon): New field.
10799         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10800         Initialize indentIcon.
10801         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10802         Fall back to super and removed standard functionality.
10803         Handle indentation.
10804         (IndentIcon): New class. Wraps and indents another icon.
10806 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10808         * javax/management/MBeanConstructorInfo.java:
10809         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10810         Copy array rather than directly assigning.
10811         * javax/management/MBeanInfo.java:
10812         (MBeanInfo(String,String,MBeanAttributeInfo[],
10813         MBeanConstructorInfo[], MBeanOperationInfo[],
10814         MBeanNotificationInfo[])): Likewise.
10815         * javax/management/MBeanOperationInfo.java:
10816         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10817         Likewise.
10818         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10819         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10820         New files.
10821         * javax/management/openmbean/OpenMBeanInfo.java:
10822         Corrected documentation.
10823         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10824         New file.
10825         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10826         Corrected documentation.
10827         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10828         New file.
10829         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10830         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10831         Call other constructor rather than reimplementing.
10833 2006-08-02  Lillian Angel  <langel@redhat.com>
10835         * java/awt/dnd/DragSource.java
10836         (isDragImageSupported): Implemented.
10837         (getDragThreshold): Changed default value.
10838         * java/awt/dnd/DropTarget.java
10839         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10840         (DropTarget): Likewise.
10841         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10842         (addDropTargetListener): Added check to determine if new DropTargetListener
10843         is this class. If so, an IllegalArgumentException is thrown. If the 
10844         new listener is null, nothing happens.
10846 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10848         * configure.ac (MOZILLA_FOUND): Fall back to
10849         mozilla-firefox-plugin.
10851 2006-08-02  Sven de Marothy  <sven@physto.se>
10853         * java/awt/geom/AffineTransform.java
10854         (hashCode): Tweak impl. 
10855         * java/awt/font/FontRenderContext.java
10856         (hashCode): Implement. 
10858 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10860         * java/lang/StrictMath.java (sinh): New method.
10862 2006-08-02  Roman Kennke  <kennke@aicas.com>
10864         PR 27605
10865         * javax/swing/JComboBox.java
10866         (setSelectedItem): Fire ActionEvent here.
10867         * javax/swing/plaf/basic/BasicDirectoryModel.java
10868         (directories): Changed to type Vector.
10869         (files): New field.
10870         (loadThread): New field.
10871         (DirectoryLoadThread): New inner class. This loads the contents
10872         of directories asynchronously.
10873         (getDirectories): Return cached Vector.
10874         (getFiles): Return cached Vector.
10875         (getSize): Return plain size of contents Vector.
10876         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10877         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10878         (sort): Don't store sorted list in contents. This must be done
10879         asynchronously from the EventThread.
10880         (validateFileCache): Rewritten for asynchronous reading
10881         of directory contents.
10882         * javax/swing/plaf/basic/BasicFileChooserUI.java
10883         (installListeners): Install model as PropertyChangeListener.
10884         (uninstallListeners): Uninstall model as PropertyChangeListener.
10885         (createPropertyChangeListener): Return null just like the
10886         RI.
10888 2006-08-02  Sven de Marothy  <sven@physto.se>
10889   
10890         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10891         (remove): Force event on removing item 0 when it's selected.
10892         (handleEvent): Always call Choice.selected().
10893         * java/awt/Choice.java:
10894         (remove): Simplify and correct.
10895   
10896 2006-08-02  Mark Wielaard  <mark@klomp.org>
10897   
10898         PR 28535
10899         * configure.ac (gconf-peer): Check for gdk-2.0.
10900         * native/jni/gconf-peer/Makefile.am
10901         (AM_LDFLAGS): Use GDK_LIBS.
10902         (AM_CFLAGS): Use GDK_CFLAGS.
10903   
10904 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10905   
10906         * java/net/URL.java (getContent(Class[])): Implement.
10907   
10908 2006-08-02  Roman Kennke  <kennke@aicas.com>
10909   
10910         PR 27624
10911         * javax/swing/JMenu.java
10912         (JMenu()): Removed setting of delay.
10913         (JMenu(String)): Removed setting of delay.
10914         (JMenu(Action)): Removed setting of delay.
10915         (JMenu(String,boolean)): Removed setting of delay.
10916         (setSelectedHelper): Removed unneeded method.
10917         (setSelected): Simply set the model state.
10918         (setPopupMenuVisible): Recognize the popup location
10919         determined by getPopupMenuOrigin().
10920         (getPopupMenuOrigin): Recognize the UI properties for
10921         X and Y offset.
10922         (menuSelectionChanged): Call setSelected() directly.
10923         * javax/swing/JPopupMenu.java
10924         (menuSelectionChanged): If invoker is a JMenu, then delegate
10925         to that to get the position right.
10926         * javax/swing/Popup.java
10927         (LightweightPopup.show): Insert the popup as first component
10928         in the layer, so that it overlaps it's caller.
10929         * javax/swing/plaf/basic/BasicMenuItemUI.java
10930         (getPath): Don't include the popup.
10931         * javax/swing/plaf/basic/BasicMenuUI.java
10932         (SelectMenuAction): New class. This invokes the popup when
10933         a menu is selected.
10934         (installDefaults): Install delay of 200 ms.
10935         (setupPostTimer): Implemented.
10936         (MouseInputHandler.mouseClicked): Do nothing here.
10937         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10938         magic to handle the selection. Open the menu via a timer.
10939         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10940         magic to handle the selection. Open the menu via a timer.
10941         (MenuDragMouseHandler.menuMouseDragged): Probably use
10942         timer.
10943         (menuDragMouseEntered): Do nothing here.
10944   
10945 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10946         
10947         * javax/management/openmbean/InvalidOpenTypeException.java,
10948         * javax/management/openmbean/KeyAlreadyExistsException.java:
10949         New files.
10951 2006-08-02  Roman Kennke  <kennke@aicas.com>
10953         PR 27604
10954         * javax/swing/plaf/basic/BasicChooserUI.java
10955         (BasicFileView.getName): Fetch the real name from the
10956         file chooser's FileSystemView.
10957         * javax/swing/plaf/metal/MetalChooserUI.java
10958         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10959         Set the text fetched from the JFileChooser.getName().
10960         * javax/swing/FileSystemView.java
10961         (createFileObject): When file is a filesystem root,
10962         create a filesystem root object first.
10963         (getSystemDisplayName): Return the filename. Added specnote
10964         about ShellFolder class that is mentioned in the spec.
10965         * javax/swing/UnixFileSystemView.java
10966         (getSystemDisplayName): Implemented to return the real name
10967         of a file, special handling files like '.' or '..'.
10969 2006-08-03  Mark Wielaard  <mark@klomp.org>
10971         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10973 2006-08-03  Roman Kennke  <kennke@aicas.com>
10975         PR 28562
10976         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10977         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10978         components when visual property chanegs.
10980 2006-08-03  Roman Kennke  <kennke@aicas.com>
10982         PR 28562
10983         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10984         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10985         component when visual properties change.
10987 2006-08-03  Roman Kennke  <kennke@aicas.com>
10989         PR 28534
10990         * javax/swing/JTree.java
10991         (JTree(TreeModel)): Set cell renderer to null.
10992         * javax/swing/plaf/basic/BasicTreeUI.java
10993         (setCellRenderer): Finish editing before setting the
10994         cell renderer. Refresh the layout. Don't set the
10995         currentCellRenderer field here (that's done in updateRenderer).
10996         (updateRenderer): Handle createdRenderer field here too.
10997         Set renderer to a default handler when the current renderer
10998         in the JTree is null.
11000 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
11002         PR Classpath/23899
11003         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
11005 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
11007         PR Classpath/28556
11008         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
11009         Updated documentation to clarify that RFC-2459 states that the parameters
11010         field of the AlgorithmIdentifier element MUST be NULL if present.
11011         Amended the code to reflect the specs.
11012         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
11014 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11016         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
11017         Call parameter 'defaultValue' not 'defValue'.
11019 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11021         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
11022         New file.
11024 2006-08-01  Roman Kennke  <kennke@aicas.com>
11025   
11026         PR 28562
11027         * javax/swing/plaf/basic/BasicOptionPaneUI.java
11028         (PropertyChangeHandler.propertyChange): Cleanly reinstall
11029         components when visual property chanegs.
11030   
11031 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11033         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
11034         (toString()): Corrected documentation.
11035         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
11036         * javax/management/openmbean/OpenMBeanInfo.java,
11037         * javax/management/openmbean/OpenMBeanOperationInfo.java:
11038         New files.
11039         * javax/management/openmbean/OpenMBeanParameterInfo.java:
11040         (toString()): Corrected documentation.
11041         
11042 2006-08-01  Tania Bento  <tbento@redhat.com>
11044         * java/awt/Choice.java
11045         (remove(int)): Added documentation.
11047 2006-08-01  Tania Bento  <tbento@redhat.com>
11048         
11049         * java/awt/Choice.java
11050         (remove(int)): An IllegalArgumentException should not be thrown
11051         if int is invalid.  Update selectedIndex and peer selection.
11053 2006-08-01  Tania Bento  <tbento@redhat.com>
11055         * java/awt/CardLayout.java
11056         (toString): Changed format of string outputted.
11057         (goToComponent): Changed the order of the if-clause.
11059 2006-07-31  Tom Tromey  <tromey@redhat.com>
11061         * INSTALL: Updated for ASM.
11063 2006-07-31  Tom Tromey  <tromey@redhat.com>
11065         PR libgcj/23682:
11066         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
11067         (attachment): Likewise.
11068         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
11069         synchronized.
11070         (isValid): Likewise.
11071         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
11072         (ch): Likewise.
11073         (interestOps): Synchronize.
11074         (readyOps): Likewise.
11075         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
11076         interestOps call.
11078 2006-07-31  Roman Kennke  <kennke@aicas.com>
11080         * NEWS: Added note about the X peers.
11081         * INSTALL: Added install notes about the X peers.
11083 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
11085         * StrictMath.java (getLowDWord): Return long instead of int.
11086         (getHighDWord): Likewise.
11087         (buildDouble): Take two long arguments.
11088         (cbrt): Adapted to int -> long change.
11089         (expm1): Likewise.
11090         (cosh): Likewise.
11092 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
11094         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
11095         -avoid-version.
11097 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
11099         * java/security/Provider.java: Updated copyright year.
11100         Updated documentation.
11101         Formatting.
11102         (put): Updated documentation.
11103         Added security manager check.
11104         Canonicalize the key before adding its mapping.
11105         (get): Override superclass implementation to use canonicalized keys.
11106         (remove): Updated documentation.
11107         Added security manager check.
11108         Canonicalize the key before removing its mapping.
11109         (clear): Updated documentation.
11110         Added security manager check.
11111         (toCanonicalKey): New method.
11113 2006-07-30  Matt Wringe  <mwringe@redhat.com>
11115         * gnu/java/security/Engine.java
11116         (getInstance): Ignore self referencing aliases.
11118 2006-07-30  Mark Wielaard  <mark@klomp.org>
11120         * javax/swing/JComponent.java (getListeners): Revert
11121         un-genericization.
11123 2006-07-30  Mark Wielaard  <mark@klomp.org>
11125         * resource/java/security/classpath.security: Add /dev/urandom as
11126         default securerandom.source.
11128 2006-07-30  Mark Wielaard  <mark@klomp.org>
11130         * java/util/GregorianCalendar.java (maximums): Months can have up to
11131         6 weeks.
11132         (nonLeniencyCheck): weeks is either 5 or 6.
11134 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11135         
11136         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
11137         * javax/management/openmbean/OpenMBeanParameterInfo.java:
11138         New files.
11140 2006-07-30  Matt Wringe  <mwringe@redhat.com>
11142         * gnu/java/security/Engine.java 
11143         (getInstance): Ignore self referencing aliases.
11145 2006-07-30  Sven de Marothy  <sven@physto.se>
11147         * java/awt/Choice.java:
11148         (accessibleAction): Call select() directly.
11149         (add, insert, remove): Reimplement.
11150         (dispatchEventImpl): Always call super.
11151         (processItemEvent): Does not set the index.
11152         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
11153         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11154         (append): removed.
11155         (nativeAdd): Name changed to add.
11156         (selection_changed_cb): Simplify callback.
11157         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
11158         (selected): New field.
11159         (add): Replaced with native impl.
11160         (handleEvent): New method.      
11161         
11162 2006-07-30  Sven de Marothy  <sven@physto.se>
11164         * java/awt/Choice.java:
11165         Reformat, fix copyright year.
11167 2006-07-29  Mark Wielaard  <mark@klomp.org>
11169         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
11170         static field isPaintingDoubleBuffered to not have the same name
11171         as a method.
11173 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11174   
11175         * examples/gnu/classpath/examples/management/TestBeans.java:
11176         New file.
11177         * javax/management/MBeanAttributeInfo.java:
11178         (toString()): Implemented.
11179         * javax/management/MBeanConstructorInfo.java:
11180         (toString()): Implemented.
11181         * javax/management/MBeanFeatureInfo.java:
11182         (toString()): Implemented.
11183         * javax/management/MBeanInfo.java:
11184         (toString()): Implemented.
11185         * javax/management/MBeanNotificationInfo.java:
11186         (toString()): Implemented.
11187         * javax/management/MBeanOperationInfo.java:
11188         (toString()): Implemented.
11189         * javax/management/MBeanParameterInfo.java:
11190         (toString()): Implemented.
11191         * javax/management/StandardMBean.java:
11192         (getMBeanInfo()): Fix attribute naming.
11194 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11196         * gnu/java/lang/management/BeanImpl.java:
11197         Extended javax.management.StandardMBean.
11198         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
11199         * gnu/java/lang/management/CompilationMXBeanImpl.java,
11200         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
11201         * gnu/java/lang/management/MemoryMXBeanImpl.java,
11202         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
11203         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11204         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
11205         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
11206         * gnu/java/lang/management/ThreadMXBeanImpl.java:
11207         Call the superclass with the appropriate class.
11208         * java/lang/management/ManagementFactory.java:
11209         (getOperatingSystemMXBean()): Catch exception from
11210         StandardMBean.
11211         (getRuntimeMXBean()): Likewise.
11212         (getClassLoadingMXBean()): Likewise.
11213         (getThreadMXBean()): Likewise.
11214         (getMemoryMXBean()): Likewise.
11215         (getCompilationMXBean()): Likewise.
11216         (getMemoryPoolMXBeans()): Likewise.
11217         (getMemoryManagerMXBeans()): Likewise.
11218         (getGarbageCollectorMXBeans()): Likewise.
11219         * javax/management/MBeanFeatureInfo.java:
11220         hashCode()): Fixed to check for null values.
11222 2006-07-29  Matt Wringe  <mwringe@redhat.com>
11224         * gnu/java/security/Engine.java
11225         (getInstance): Add case insentivity to algorithm names
11226         * java/security/Provider.java
11227         (put): Stop using canonical key naming
11228         (remove): Likewise
11229         (toCanonicalKey): Method removed
11230         (get): Method removed, no longer needs to overwrite
11231         parent implementation
11233 2006-07-29  Mark Wielaard  <mark@klomp.org>
11235         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
11236         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
11237         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
11238         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
11239         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
11240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
11241         Removed.
11243 2006-07-29  Sven de Marothy  <sven@physto.se>
11245         * java/math/BigDecimal.java
11246         Adjust copyright date.
11247         (divide(BigDecimal): Implement.
11248         (precision): Reimplement.
11249         (numDigitsInBigInteger, numDigitsInLong): Removed.
11250         (toString): Get exponent from string length,
11251         fix negative values with exponential form.
11252         (toEngineeringString): Same as for toString.
11253         (setScale): Throw ArithmeticException if scale < 0.
11255 2006-07-27  Francis Kung  <fkung@redhat.com>
11257         * gnu/java/awt/java2d/CubicSegment.java: Added import.
11258         (cp1): Renamed from first().
11259         (c2): Renamed from last().
11260         (first): Renamed to cp1().
11261         (getDisplacedSegments): Implemented.
11262         (last): Renamed to cp2().
11263         * gnu/java/awt/java2d/LineSegment.java
11264         (cp1): Renamed from first().
11265         (c2): Renamed from last().
11266         (first): Renamed to cp1().
11267         (last): Renamed to cp2().
11268         * gnu/java/awt/java2d/QuadSegment.java
11269         (cp1): Renamed from first().
11270         (c2): Renamed from last().
11271         (first): Renamed to cp1().
11272         (last): Renamed to cp2().
11273         * gnu/java/awt/java2d/Segment.java: Added comments.
11274         (first): New field.
11275         (Segment): Keep track of first element in list.
11276         (add): Update first & last element variables.
11277         (cp1): Renamed from first().
11278         (c2): Renamed from last().
11279         (first()): Renamed to cp1() to reduce ambiguity.
11280         (last()): Renamed to cp2() to reduce ambiguity.
11281         (reverseAll): Update first element variable..
11282         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11283         (draw): Remove flattening path iterator.
11284         * java/awt/BasicStroke.java: Clarified comments.
11285         (addSegments): Refactored some code into joinSegments and
11286         joinInnerSegments.
11287         (capEnd): Rename of Segment.first() and Segment.end().
11288         (joinInnerSegments): New method.
11289         (joinOuterSegments): New method.
11290         (joinSegments): Refactored some code into joinOuterSegments.
11291         (solidStroke): Connect segments together properly.
11293 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
11295         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
11296         -avoid-version.
11297         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
11298         Likewise.
11299         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
11300         Likewise.
11301         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
11302         Likewise.
11304 2006-07-28  Tom Tromey  <tromey@redhat.com>
11306         * configure.ac: Enable -Werror by default on Linux-with-gcc.
11308 2006-07-28  Lillian Angel  <langel@redhat.com>
11310         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
11311         Removed function declarations.
11312         (connect_signals_for_widget): Removed implementation because
11313         stub functions have been removed.
11314         (drag_begin_cb): Removed function.
11315         (drag_motion_cb): Likewise.
11316         (drag_data_get_cb): Likewise.
11317         (drag_data_delete_cb): Likewise.
11318         (drag_drop_cb): Likewise.
11319         (drag_end_cb): Likewise.
11320         (drag_data_received_cb): Likewise.      
11322 2006-07-28  Mark Wielaard  <mark@klomp.org>
11324         * configure.ac: Set version to 0.93-pre.
11326 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
11328         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
11330 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
11332         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
11333         (getCallbackHandler): Fully qualify linked class in javadoc.
11334         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
11335         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
11336         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
11338 2006-07-27  Tom Tromey  <tromey@redhat.com>
11340         PR classpath/28486:
11341         * java/net/URLStreamHandler.java (equals): Properly handle default
11342         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
11344 2006-07-27  Roman Kennke  <kennke@aicas.com>
11346         * javax/swing/text/AbstractDocument.java
11347         (documentCV): Made field private.
11348         (bypass): Made field private.
11349         (bidiRoot): New field.
11350         (AbstractDocument): Initialize bidiRoot.
11351         (getBidiRootElement): Return bidiRoot.
11352         (getRootElements): Adjusted to also return the bidiRoot element.
11353         (BranchElement.startOffset): Removed unneeded field.
11354         (BranchElement.endOffset): Removed unneeded field.
11355         (BranchElement.BranchElement): Removed unneeded fields.
11356         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
11357         done automatically when there's no element left in the array.
11358         (BranchElement.getStartOffset): Likewise.
11359         (BranchElement.replace): Reordered calculations to avoid double
11360         calculations.
11361         (removeImpl): Silently ignore requests with length <= 0.
11362         * javax/swing/text/GapContent.java
11363         (createPosition): Removed explicit check for correct offset.
11364         This class can deal with offsets outside the document.
11365         (shiftEnd): Update all positions, even those outside the
11366         document.
11367         (adjustPositionsInRange): Fixed to also adjust positions outside
11368         the document boundary.
11370 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
11372     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
11373     defining class.
11374     (getParameter): Returns _klass field instead of determining
11375     class from _instance.
11376     (setCatchLoc): New method.
11377     (writeData): Now assumes Location deals with empty locations instead of
11378     using null.
11379     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
11380     locations and write out accordingly.
11381     (getEmptyLocation): New method. 
11383 2006-07-27  Roman Kennke  <kennke@aicas.com>
11385         * javax/swing/text/SimpleAttributeSet.java
11386         (EMPTY): Use EmptyAttributeSet for this field rather than
11387         SimpleAttributeSet.
11388         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
11389         an empty and immutable AttributeSet.
11391 2006-07-27  Roman Kennke  <kennke@aicas.com>
11393         * java/awt/Component.java
11394         (reshape): Invalidate the component itself only when the
11395         size has changed. Invalidate the parent always. Fixed
11396         repainting. Pulled out the notification into
11397         notifyReshape().
11398         (notifyReshape): New helper method. Notify interested listeners
11399         about a reshape.
11400         (update): Simply call paint() without clearing the background.
11401         This is done in Container.update() if appropriate.
11402         (repaint): Delagate the repaint to the nearest heavyweight
11403         parent (for lightweights) and send an UPDATE event, rather than
11404         calling ComponentPeer.repaint().
11405         * java/awt/Container.java
11406         (backCleared): Removed field.
11407         (paint): Removed handling of backCleared flag.
11408         (update): Only paint if the container is actually
11409         showing. Removed handling of backCleared flag.
11411 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
11413         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
11414         authorship.
11415         (NavigateAction): New inner class.
11416         (NavigatePageDownAction): New inner class.
11417         (NavigatePageUpAction): New inner class.
11418         (RequestFocusAction): New inner class.
11419         (RequestFocusForVisibleComponentAction): New inner class.
11420         (FocusHandler.focusGained): Implemented.
11421         (FocusHandler.focusLost): Implemented.
11422         (MouseHandler.mouseReleased): Implemented.
11423         (MouseHandler.mousePressed): Rewritten.
11424         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
11425         currentScrollLocation to 0.
11426         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
11427         removed local variables, fixed indentation to stay under 80 column
11428         limit.
11429         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
11430         one, set selectedIndex to 0 if its negative, corrected start values
11431         for normalization, suppressed padding when only one tab run,
11432         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
11433         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
11434         80 column limit, corrected the starting value for the bounds fixing
11435         phase.
11436         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
11437         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
11438         selectedRun, set start index for loop to 0.
11439         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
11440         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
11441         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
11442         alignment and visibility handling.
11443         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
11444         layout mode.
11445         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
11446         (currentScrollOffset): New field.
11447         (tabRuns): Rewritten documentation.
11448         (selectedColor): New field.
11449         (tempTextRect): New field.
11450         (tempIconRect): New field.
11451         (scrollTab): New method.
11452         (updateButtons): New method.
11453         (updateViewPosition): New method.
11454         (createLayoutManager): Reordered method calls, predefine new fields,
11455         register proper listeners.
11456         (uninstallComponents): Implemented.
11457         (installDefaults): Corrected property names, fixed indentation,.
11458         (uninstallDefaults): Set new fields to null.
11459         (uninstallListeners): Remove listeners from components neccessary for
11460         scrolling tab layout.
11461         (installKeyboardActions): Implemented.
11462         (uninstallKeyboardActions): Implemented.
11463         (paint): Paint tab area background.
11464         (paintTabArea): Fixed indentation, removed usage of local Rectangle
11465         objects.
11466         (getTabLabelShiftX): Rewritten.
11467         (getTabLabelShiftY): Rewritten.
11468         (paintFocusIndicator): Reindented.
11469         (paintTabBorder): Rewritten.
11470         (paintTabBackground): Corrected color usage, rewritten background
11471         rectangle painting.
11472         (paintContentBorderTopEdge): Rewritten.
11473         (paintContentBorderBottomEdge): Rewritten.
11474         (paintContentBorderLeftEdge): Rewritten.
11475         (paintContentBorderRightEdge): Rewritten.
11476         (tabForCoordinate): Return selected index when no tab could be
11477         found, removed FIXME note.
11478         (getRunForTab): Changed return value for first if-statement.
11479         (navigateSelectedTab): Fixed last argument for both
11480         getTabRunOffset() calls.
11481         (selectedNextTabInRun): Added scrolling code.
11482         (selectedPreviousTabInRun): Added scrolling code.
11483         (selectedNextTab): Added scrolling code.
11484         (selectedPreviousTab): Added scrolling code.
11485         (selectAdjacentRunTab): Added scrolling code.
11486         (getTextViewForTab): Added FIXME note.
11487         (calculateTabHeight): Changed FIXME note.
11488         (getTabRunOffset): Fixed indentation.
11489         (getNextTabIndexInRun): Corrected return value.
11490         (rotateInsets): Make TOP case the default in switch-statement.
11491         (getActionMap): New method.
11492         (createActionMap): New method.
11493         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
11494         (createLayoutManager): Rewritten.
11495         (paintLeftTabBorder): Do not paint left line when previous tab
11496         is selected but current tab is the first in its run, do not paint
11497         left line when current tab is selected and is first in its run.
11498         (paintRightTabBorder): Added missing setColor() call, fixed color
11499         usage, do not paint right line if previous tab is selected but
11500         current tab is the first in its run.
11501         (paintBottomTabBorder): Do not paint left line if tab is selected
11502         and is the first tab in the last run.
11503         (paintFocusIndicator): New method.
11504         (getLabelShiftX): New method.
11505         (getLabelShiftY): New method.
11507 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
11509         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
11510         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
11511         g_assert from unused obj.
11512         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
11513         obj as unused and remove g_assert on it.
11515 2006-07-26  Roman Kennke  <kennke@aicas.com>
11517         * javax/swing/RepaintManager.java
11518         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
11519         for the component.
11520         (isCompletelyDirty): Consider a component completely dirty
11521         when it has a dirty region with Integer.MAX_VALUE.
11523 2006-07-26  Roman Kennke  <kennke@aicas.com>
11525         * java/awt/KeyboardFocusManager.java
11526         (getGlobalFocusOwner): Explicitly check for thread security.
11527         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
11528         (getGlobalFocusedWindow): Explicitly check for thread security.
11529         (getGlobalActiveWindow): Explicitly check for thread security.
11530         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
11531         (getGlobalObject): Added new argument for specifying if
11532         a security check should be performed or not.
11533         (setGlobalObject): Don't check for thread security when
11534         calling getGlobalObject.
11536 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11538         * javax/management/MBeanConstructorInfo.java:
11539         Documentation fix.
11540         * javax/management/MBeanInfo.java:
11541         (MBeanInfo(String,String,MBeanAttributeInfo[],
11542         MBeanConstructorInfo[], MBeanOperationInfo[],
11543         MBeanNotificationInfo[])): Implemented.
11544         (equals(Object)): Likewise.
11545         (getAttributes()): Likewise.
11546         (getConstructors()): Likewise.
11547         (getOperations()): Likewise.
11548         (hashCode()): Likewise.
11549         * javax/management/MBeanOperationInfo.java,
11550         * javax/management/NotCompliantMBeanException.java,
11551         * javax/management/StandardMBean.java:
11552         New files.
11554 2006-07-26  Sven de Marothy  <sven@physto.se>
11556         * java/awt/geom/GeneralPath.java: Fix severe typo.
11557         
11558 2006-07-26  Sven de Marothy  <sven@physto.se>
11560         * include/java_lang_VMSystem.h
11561         * vm/reference/java/lang/VMSystem.java
11562         * native/jni/java-lang/java_lang_VMSystem.c
11563         (nanoTime, currentTimeMillis): Switch the former to native code and
11564         the latter to java.
11565         
11566 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
11568         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
11569         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
11570         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
11571         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
11572         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
11573         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
11574         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
11575         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
11576         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
11577         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
11578         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
11579         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
11580         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
11581         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
11582         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
11583         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
11584         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
11585         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
11586         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
11587         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
11588         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
11590 2006-07-26  Roman Kennke  <kennke@aicas.com>
11592         * java/awt/KeyboardFocusManager.java
11593         (getFocusOwner): Don't check permanent owner.
11594         (getGlobalFocusOwner): Don't check permanent owner.
11596 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
11598         * StrictMath.java (cosh): New method.
11599         (expm1): New method.
11600         (EXPM1_Q1): New field.
11601         (EXPM1_Q2): Likewise.
11602         (EXPM1_Q3): Likewise.
11603         (EXPM1_Q4): Likewise.
11604         (EXPM1_Q6): Likewise.
11606 2006-07-26  Roman Kennke  <kennke@aicas.com>
11608         * javax/swing/plaf/basic/BasicButtonListener.java
11609         (mousePressed): Request focus if appropriate.
11610         * javax/swing/text/DefaultCaret.java
11611         (mousePressed): Also handle the focus of the text component
11612         as specified. Don't consume events.
11614 2006-07-26  Roman Kennke  <kennke@aicas.com>
11616         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11617         (focusRequest): Removed field.
11618         (postFocusEvent(int,boolean,Component)): Removed.
11619         (postFocusEvent(int,boolean)): Reverted to post event using
11620         the heavyweight component.
11621         (requestFocus): Post focus event using the heavyweight
11622         component.
11623         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11624         (requestFocus): Post focus event using the heavyweight
11625         component.
11626         * java/awt/AWTEvent.java
11627         (isFocusManagerEvent): New field, indicating if this is
11628         an event that is redispatched by the KeyboardFocusManager.
11629         * java/awt/Component.java
11630         (requestFocusImpl): Register component for
11631         heavyweight->lightweight mapping.
11632         (dispatchEventImpl): Retarget focus events before dispatching
11633         to the KeyboardFocusManager. Use new AWTEvent flag instead
11634         of locking hack. Dispatch all events through the
11635         KeyboardFocusManager. Don't request focus on lightweight
11636         components.
11637         * java/awt/DefaultKeyboardFocusManager.java
11638         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11639         FOCUS_LOST.
11640         (handleFocusGained): Fixed handling of temporary vs permanent
11641         focus changes. Added some checks.
11642         (handleFocusLost): Fixed handling of temporary vs permanent
11643         focus changes. Added some checks.
11644         * java/awt/EventDispatchThread.java
11645         (run): Don't dispatch to KeyboardFocusManager here. This
11646         is done in Component.dispatchEventImpl().
11647         * java/awt/KeyboardFocusManager.java
11648         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11649         (focusRequests): New field.
11650         (retargetFocusEvent): New method. Retargets focus events
11651         that come from heavyweights to the correct lightweight component.
11652         (addLightweightFocusRequest): New method. Stores a mapping
11653         for later retargetting of heavyweight focus events.
11654         * java/awt/Window.java
11655         (addFocusListener): Removed bogus method. If at all, this
11656         should be performed in the KeyboardFocusManager.
11657         (Window): Don't install a focus listener on the Window.
11659 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11661         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11662         (drawLine): Apply shift to line coordinates.
11664 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11666         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11667         (copyimage): Do not call setRenderingHints() when the respective map
11668         does not exist.
11669         (filter): Removed code to clone the ColorModel instance.
11670         * java/awt/image/ColorModel.java:
11671         (cloneColorModel): Removed.
11673 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11675         * javax/swing/JTabbedPane.java:
11676         (setSelectedIndex): Removed updating of component visibility status,
11677         added note.
11678         (remove(Component)): Use indexOfComponent() to find whether we have
11679         to use super.remove(int) or removeTabAt().
11681 2006-07-26  Roman Kennke  <kennke@aicas.com>
11683         * javax/swing/JOptionPane.java
11684         (createDialog): Add property change handler for closing
11685         the dialog when the value property changes.
11686         (ValuePropertyHandler): New inner helper class.
11687         * javax/swing/plaf/basic/BasicOptionPaneUI.java
11688         (OptionPaneCloseAction): New class.
11689         (messageForeground): Removed field.
11690         (messageBorder): Removed field.
11691         (buttonBorder): Removed field.
11692         (addIcon): Configure the new label.
11693         (addMessageComponents): Configure newly created labels.
11694         (burstStringInto): Likewise.
11695         (createButtonArea): Install border here.
11696         (createMessageArea): Install border and foreground here.
11697         (createSeparator): Added comment and removed
11698         NotImplementedException.
11699         (installComponents): Don't install the UI defaults for the
11700         message and button area here. This is moved to the
11701         corresponding create* methods. Adjusted comment about
11702         separator.
11703         (installDefaults): Removed initialization of removed fields.
11704         (installKeyboardActions): Implemented.
11705         (getActionMap): New helper method.
11706         (createDefaultActions): New helper method.
11707         (uninstallDefaults): Removed de-initialization of removed fields.
11708         (uninstallKeyboardActions): Implemented.
11709         (configureLabel): New helper method.
11710         * javax/swing/plaf/basic/BasicTableUI.java
11711         (getActionMap): Fixed the UI property names.
11712         * javax/swing/plaf/basic/BasicToolBarUI.java
11713         (getActionMap): Fixed the UI property names.
11715 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11717         * java/awt/image/BandedSampleModel.java
11718         (getDataElements): Check for negative x or y,
11719         (getPixels): Likewise,
11720         (getSamples): Likewise,
11721         (setSamples): Likewise.
11723 2006-07-26  Roman Kennke  <kennke@aicas.com>
11725         * javax/swing/plaf/basic/BasicToolBarUI.java
11726         (ToolBarAction): New inner class for handling keyboard
11727         actions.
11728         (installKeyboardActions): Implemented.
11729         (getActionMap): New helper method.
11730         (createDefaultActions): New helper method.
11731         (installListeners): Install focus listener on toolbar's
11732         children, rather than the toolbar itself.
11733         (navigateFocusedComp): Implemented.
11734         (uninstallKeyboardActions): Implemented.
11735         (uninstallListeners): Uninstall focus listener from
11736         toolbar's children, rather than the toolbar itself.
11737         (ToolBarContListener.componentAdded): Install focus
11738         listener on added child.
11739         (ToolBarContListener.componentRemoved): Uninstall focus
11740         listener from removed child.
11741         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11742         (ToolBarFocusListener.focusGained): Implemented.
11743         (ToolBarFocusListener.focusLost): Implemented.
11745 2006-07-26  Roman Kennke  <kennke@aicas.com>
11747         * java/awt/DefaultKeyboardFocusManager.java
11748         (dispatchEvent): Notify old focus owner when it has lost
11749         focus.
11751 2006-07-26  Roman Kennke  <kennke@aicas.com>
11753         * javax/swing/plaf/basic/BasicTableUI.java
11754         (FocusHandler.focusGained): Implemented to refresh the
11755         lead cell.
11756         (FocusHandler.focusLost): Implemented to refresh the
11757         lead cell.
11758         (FocusHandler.repaintLeadCell): New helper method.
11759         (MouseInputHandler.mouseEntered): Do nothing here.
11760         (MouseInputHandler.mouseExited): Do nothing here.
11761         (MouseInputHandler.mouseMoved): Do nothing here.
11762         (installKeyboardActions): Rewritten to use a shared InputMap
11763         and ActionMap and correctly install the maps via SwingUtilities
11764         methods.
11765         (getActionMap): New helper method.
11766         (createDefaultActions): New helper method.
11767         (ActionListenerProxy): Removed unneeded class.
11768         (TableAction): Made class static.
11769         (TableAction.actionPerformed): Determine table by fetching
11770         the event source. Pass the table to helper methods.
11771         Use __command__ hack to determine the action command.
11772         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11773         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11774         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11775         (TableAction.getLastVisibleRowIndex): Get table as argument.
11776         (TableAction.advanceMultipleSelection): Get table as argument.
11777         (uninstallDefaults): Do nothing here.
11778         (uninstallKeyboardActions): Uninstall the keyboard actions.
11780 2006-07-26  Roman Kennke  <kennke@aicas.com>
11782         * javax/swing/JComponent.java
11783         (processKeyBinding): Store the action command as property
11784         in the Action instance that we call. This allows for
11785         improvement on the side of the Action.
11787 2006-07-26  Roman Kennke  <kennke@aicas.com>
11789         * javax/swing/plaf/metal/MetalUtils.java
11790         (fillMetalPattern): Use fillRect() instead of drawLine() to
11791         fill single pixels.
11793 2006-07-26  Roman Kennke  <kennke@aicas.com>
11795         * javax/swing/text/GapContent.java
11796         (getChars): Check for negative length and throw
11797         BadLocationException.
11799 2006-07-26  Roman Kennke  <kennke@aicas.com>
11801         * javax/swing/plaf/basic/BasicMenuBarUI.java
11802         (FocusAction): Made class static.
11804 2006-07-26  Roman Kennke  <kennke@aicas.com>
11806         * javax/swing/plaf/basic/BasicLookAndFeel.java
11807         (initComponentDefaults): Add keyboard bindings for
11808         PopupMenu.
11810 2006-07-26  Roman Kennke  <kennke@aicas.com>
11812         * javax/swing/UIManager.java
11813         (getLookAndFeelDefaults): Return the look and feel defaults.
11814         (setLookAndFeel): Improved exception messsage.
11816 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11818         * javax/swing/text/StringContent.java
11819         (StringContent): Changed initialLength to 10.
11821 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11823         * java/util/Vector.java: Fixed API doc typo.
11825 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11827         * java/awt/image/BandedSampleModel.java
11828         (createCompatibleSampleModel): Fixed typo in loop increment, set
11829         correct scanlineStride, and updated API docs.
11831 2006-07-25  Roman Kennke  <kennke@aicas.com>
11833         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11834         (NavigateAction): New inner class. This is responsible for
11835         keyboard navigation through menus.
11836         (KeyboardHelper): New inner class. This manages the
11837         keyboard mappings and focus when a popup opens or closes.
11838         (keyboardHelper): New static field.
11839         (numPopups): New static field.
11840         (installUI): Create KeyboardHelper for first popup.
11841         Call installKeyboardActions().
11842         (installKeyboardActions): Removed NotImplementedException.
11843         This method is a no-op.
11844         (installKeyboardActionsImpl): New method. Installs keyboard
11845         mapping when a popup is opened.
11846         (getActionMap): New helper method.
11847         (createDefaultActions): New helper method.
11848         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11849         uninstalled. Call uninstallKeyboardActions().
11850         (uninstallKeyboardActions): Removed NotImplementedException.
11851         This method is a no-op.
11852         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11853         mapping when a popup is closed.
11854         
11855 2006-07-25  Roman Kennke  <kennke@aicas.com>
11857         * java/awt/Component.java
11858         (requestFocus()): Reimplemented to use requestFocusImpl().
11859         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11860         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11861         (requestFocusInWindow(boolean)): Reimplemented to use
11862         requestFocusImpl().
11863         (requestFocusImpl): Reimplemented focus request to use
11864         new peer method. Also added some obvious additional checks
11865         for rejecting focus requests early.
11866         * java/awt/ComponentPeer.java
11867         (requestFocus(Component,boolean,boolean,long)): Documented
11868         this method.
11869         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11870         (requestFocus): New field.
11871         (gtkWidgetHasFocus): New native method.
11872         (gtkWidgetCanFocus): New native method.
11873         (requestFocus): Replaced with assert false to prevent
11874         usage of obsolete method.
11875         (postFocusEvent(int,boolean,Component)): New overloaded method
11876         for posting the focus event to a specific target.
11877         (postFocusEvent(int,boolean)): Post event to requestFocus
11878         component.
11879         (requestFocus(Component,boolean,boolean,long)): Implemented.
11880         (getWindowFor): New helper method.
11881         (isLightweightDescendant): New helper method.
11882         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11883         (gtkWindowHasFocus): New native method.
11884         (requestFocus(Component,boolean,boolean,long)): New method.
11885         Overrides GtkComponentPeer method to specially handly the
11886         case when a Window receives a focus request for a lightweight
11887         child.
11888         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11889         (gtkWidgetHasFocus): New native method.
11890         (gtkWidgetCanFocus): New native method.
11891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11892         (gtkWindowHasFocus): New native method.
11893         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11894         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11895         Regenerated.
11897 2006-07-25  Francis Kung  <fkung@redhat.com>
11899         * java/awt/DefaultKeyboardFocusManager.java
11900         (dispatchEvent): Add check for valid component.
11902 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11904         * javax/management/MBeanConstructorInfo.java:
11905         New file.
11906         * javax/management/MBeanNotificationInfo.java:
11907         Documentation fix.
11908         * javax/management/MBeanParameterInfo.java:
11909         New file.
11911 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11913         * java/awt/peer/gtk/CairoGraphics.java:
11914         (drawLine): Added special case for 1 pixel lines.
11916 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11918         Fixes PR27844.
11919         * java/awt/peer/gtk/CairoGraphics.java:
11920         (drawLine): Removed calls to shifted().
11922 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11924         * javax/swing/JTabbedPane.java:
11925         (remove(Component)): Rewritten.
11926         (setSelectedIndex): Implemented updating of component visibility state.
11928 2006-07-25  Sven de Marothy  <sven@physto.se>
11930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11931         (init): Default to the actual depth in the worst case.
11932         
11933         * java/awt/Font.java
11934         (createFont(int, File)): New method.
11935         
11936 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11938         Fixes bug #28413
11939         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11940         New field.
11941         (RETokenEnd): New constructer to set check_java_line_terminators.
11942         (matchThis): Checck line terminators if check_java_line_terminators.
11943         * gnu/java/util/regex/RETokenStart.java: Likewise.
11944         * gnu/regexp/RE.java(initialize): Use the new constructors for
11945         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11946         * java/util/regex/Pattern.java(Patteren): Changed so that
11947         gnu/regexp/RE.java may use the new the new constructors.
11949 2006-07-25  Roman Kennke  <kennke@aicas.com>
11951         * java/awt/Container.java
11952         (focusTraversalPolicyProvider): New field.
11953         (isFocusTraversalPolicyProvider): New method.
11954         (setFocusTraversalPolicyProvider): New method.
11955         * java/awt/ContainerOrderFocusTraversalPolicy.java
11956         (getFirstComponent): Use accept() instead of lengthy checks.
11957         Don't fetch getComponents() to avoid copying of array.
11958         Traverse down the hierarchy to find the first focused component.
11959         * java/awt/DefaultKeyboardFocusManager.java
11960         (dispatchEvent): Let the initial component request focus.
11962 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11964         * javax/swing/text/Segment.java
11965         (last): Update current index before returning DONE for zero count.
11966         
11967 2006-07-24  Mark Wielaard  <mark@klomp.org>
11969         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11971 2006-07-25  Roman Kennke  <kennke@aicas.com>
11973         * javax/swing/plaf/basic/BasicMenuBarUI.java
11974         (FocusAction): New inner class. Used to grab focus.
11975         (installKeyboardActions): Implemented.
11976         (uninstallKeyboardActions): Implemented.
11977         (getActionMap): New helper method.
11978         (createDefaultActions): New helper method.
11980 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11982         * examples/gnu/classpath/examples/swing/Demo.java:
11983         (mkMenuBar): Install instantiable basic look and feel.
11984         (InstantiableBasicLookAndFeel): New inner class.
11986 2006-07-25  Roman Kennke  <kennke@aicas.com>
11988         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11989         (GlassPaneDispatcher.dragTarget): New field.
11990         (GlassPaneDispatcher.isDragging): New field.
11991         (GlassPaneDispatcher.pressedComponent): Removed field.
11992         (GlassPaneDispatcher.tempComponent): Removed field.
11993         (GlassPaneDispatcher.pressCount): Removed field.
11994         (GlassPaneDispatcher.mousePressed): Call
11995         borderListener.mousePressed() to activate the frame.
11996         (acquireComponentForMouseEvent): Removed method.
11997         (handleEvent): Rewritten.
11998         (redispatch): New method.
11999         (InternalFramePropertyChangeListener.propertyChange):
12000         Make glasspane invisible when frame is selected, and visible
12001         if it gets deselected.
12002         
12003 2006-07-25  Roman Kennke  <kennke@aicas.com>
12005         * java/awt/LightweightDispatcher.java
12006         (handleMouseEvent): Dispatch event to real target if
12007         the dragTarget has become invisible in the meantime.
12009 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
12011         * javax/swing/text/TabSet.java
12012         (equals): New method override for 1.5,
12013         (hashCode): Likewise,
12014         (toString): Added spaces to match reference implementation.
12016 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12018         * javax/management/IntrospectionException.java,
12019         * javax/management/MBeanAttributeInfo.java:
12020         New files.
12021         * javax/management/MBeanNotificationInfo.java:
12022         Documentation cleanups.
12023         
12024 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
12026         * javax/swing/text/TabSet.java
12027         (TabSet): Check for null argument,
12028         (getTab): Throw IllegalArgumentException for index out of bounds,
12029         (getTabIndexAfter): Changed test to '<=',
12030         and updated API docs all over,
12031         * javax/swing/text/TabStop.java: Updated API docs.
12033 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
12035         * javax/swing/text/TabStop.java
12036         (toString): Don't use 'left ' prefix, and added space between tab
12037         location and '(w/leader)' suffix.
12039 2006-07-24  Francis Kung  <fkung@redhat.com>
12041         * javax/swing/JComboBox.java
12042         (DefaultKeySelectionManager): Implemented.
12043         (createDefaultKeySelectionManager): Implemented.
12044         (getKeySelectionManager): Implemented.
12045         (processKeyEvent): Removed duplicate code.
12046         * javax/swing/JPopupMenu.java
12047         (selectionModel): Changed visibility.
12048         * javax/swing/plaf/basic/BasicComboBoxUI.java
12049         (KeyHandler.keyPressed): Added navigation keys.
12050         (configureEditor): Add key listener.
12051         (installListeners): Install focus listener to combo box.
12052         (isNavigationKey): Added enter, escape, and tab.
12053         (selectPreviousPossibleValue): Added out of bounds check.
12054         (unconfigureEditor): Remove key listener.
12055         * javax/swing/plaf/metal/MetalComboBoxButton.java
12056         (paintComponent): Highlight combo box when in focus.
12058 2006-07-24  Roman Kennke  <kennke@aicas.com>
12060         * javax/swing/SwingUtilities.java
12061         (isLeftMouseButton): Fixed condition.
12062         * java/awt/LightweightDispatcher.java
12063         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
12064         is dragged.
12066 2006-07-24  Roman Kennke  <kennke@aicas.com>
12068         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
12069         (setPaint): Fixed scaleX and scaleY.
12071 2006-07-24  Roman Kennke  <kennke@aicas.com>
12073         * javax/swing/JTable.java
12074         (handleInsert): Repaint the whole table for variable row
12075         height tables and an optimized region otherwise.
12076         (handleDelete): Likewise.
12077         (handleUpdate): Likewise.
12079 2006-07-24  Mario Torre  <neugens@limasoftware.net>
12081         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
12082         now explicity registerListeners on GtkMouseDragGestureRecognizer
12083         instance.
12084         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
12085         (unregisterListeners): new method, overrided from base class
12086         to rise visibility (from protected to public).
12087         (registerListeners): Likewise.
12088         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
12089         removed call to registerListeners from the constructor.
12091 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12093         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
12094         * java/lang/management/MemoryPoolMXBean.java:
12095         (getType()): Changed return type to MemoryType.
12096         * java/lang/management/MemoryType.java:
12097         New file.
12099 2006-07-23  Mark Wielaard  <mark@klomp.org>
12101         * configure.ac: Check for moc and moc-qt4.
12103 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
12105         * java/awt/image/Kernel.java: API doc updates.
12107 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
12109         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
12110         bit more.
12112 2006-07-22  Mark Wielaard  <mark@klomp.org>
12114         * java/lang/Iterable.java: Import all of java.util.
12115         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
12116         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
12118 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12120         * doc/vmintegration.texinfo:
12121         Document getType(String).
12122         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
12123         * java/lang/management/MemoryPoolMXBean.java:
12124         (getType()): Implemented.
12125         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
12126         (getType(String)): Implemented.
12127         
12128 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12130         * doc/vmintegration.texinfo:
12131         Move end of itemization block.
12133 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
12135         * javax/swing/plaf/metal/MetalLookAndFeel.java:
12136         (initComponentDefaults): Added new properties, added comments.
12137         
12138 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12140         * doc/vmintegration.texinfo:
12141         Mention callback methods.
12142         * gnu/java/lang/management/MemoryMXBeanImpl.java:
12143         (fireNotification(String,String,long,long,long,long,long)):
12144         Made package-private.
12145         (fireThresholdExceededNotification(String,long,long,long,
12146         long,long)): Likewise.
12147         (fireCollectionThresholdExceededNotification(String,long,
12148         long,long,long,long)): Likewise.
12149         * java/lang/management/MemoryMXBean.java:
12150         Document notifications.
12152 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12154         * gnu/java/lang/management/MemoryMXBeanImpl.java:
12155         (fireNotification(String,String,long,long,long,long,long)):
12156         Implemented.
12157         (fireThresholdExceededNotification(String,long,long,long,
12158         long,long)): Likewise.
12159         (fireCollectionThresholdExceededNotification(String,long,
12160         long,long,long,long)): Likewise.
12161         * java/lang/management/MemoryNotificationInfo.java:
12162         Use composite type from MemoryMXBeanImpl.
12163         * javax/management/openmbean/CompositeData.java:
12164         Correct documentation.
12165         * javax/management/openmbean/CompositeDataSupport.java,
12166         * javax/management/openmbean/InvalidKeyException.java:
12167         New files.
12169 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
12171         * gnu/java/security/util/IntegerUtil.java: New file.
12173 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
12175         PR Classpath/28100
12176         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
12177         (KEY_SIZE): Likewise.
12178         (adjustParity(int,byte[],int): New method.
12179         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
12180         (isParityAdjusted(int,byte[],int)): New method.
12181         (isParityAdjusted): Call above method with 3 as 1st argument.
12182         (keySizes): Add 8 and 16 as other valid key sizes.
12183         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
12185 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
12187         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
12188         code for the pixel swap routine to be more efficient.
12190 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
12192         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
12193         (lastIndexOf(E, int)): Likewise.
12194         (add(E)): Increase the size of newData array by one.
12195         (add(int, E)): Likewise.
12197 2006-07-20  Lillian Angel  <langel@redhat.com>
12199         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
12200         Removed unused fields.
12201         (GtkMouseDragGestureRecognizer): Removed initializations.
12203 2006-07-20  Lillian Angel  <langel@redhat.com>
12205         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
12206         (GtkMouseDragGestureRecognizer): New constructor.
12207         (GtkMouseDragGestureRecognizer): New constructor.
12208         (GtkMouseDragGestureRecognizer): New constructor.
12209         (mouseClicked): Removed FIXME.
12210         (mousePressed): Implemented.
12211         (mouseReleased): Implemented.
12212         (mouseEntered): Implemented.
12213         (mouseDragged): Implemented to check mouse point and trigger origin.
12214         (mouseMoved): Removed FIXME.
12215         (getDropActionFromEvent): New helper function used to convert mouse event
12216         modifiers to a drop action.
12217         * java/awt/dnd/DragSource.java
12218         (getDragThreshold): Changed to return some arbitrary value for testing
12219         purposes.
12221 2006-07-20  Roman Kennke  <kennke@aicas.com>
12223         * java/awt/LightweightDispatcher.java
12224         (findTarget): Also consider components that have their eventMask
12225         set, for compatibility with stonage AWT. Optimized check
12226         for MouseListener.
12227         (handleMouseEvent): Likewise.
12229 2006-07-20  Roman Kennke  <kennke@aicas.com>
12231         * javax/swing/JTable.java
12232         (tableChanged): Split out handling of the event into multiple
12233         subroutines.
12234         (handleCompleteChange): New method. Clear the selection and
12235         check the lead/anchor indices.
12236         (handleInsert): New method. Check the lead/anchor indices.
12237         Optimized repainting.
12238         (handleDelete): New method. Check the lead/anchor indices.
12239         Optimized repainting.
12240         (handleUpdate): New method. Optimized repainting.
12241         (checkSelection): New helper method.
12242         (setSelectionModel): Update lead/anchor indices.
12244 2006-07-20  Lillian Angel  <langel@redhat.com>
12246         PR 28440
12247         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
12248         (dispose): Reset all fields.
12250 2006-07-20  Roman Kennke  <kennke@aicas.com>
12252         * gnu/java/awt/peer/x/XToolkit.java
12253         (createImage(InputStream)): Only copy image to Pixmap if
12254         it's actually opaque. Transparent images are left as
12255         BufferedImage and composited later onto the screen.
12256         * gnu/java/awt/peer/x/XGraphics.java
12257         (XGraphics): Fetch some parameters for image rendering.
12258         (drawImage): Added special handling of transparent images.
12259         (getRGB): New helper method.
12260         (setRGB): New helper method.
12262 2006-07-20  Roman Kennke  <kennke@aicas.com>
12264         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
12265         ImageInputStreams as normal InputStreams.
12266         * gnu/javax/imageio/gif/GIFStream.java:
12267         Moved to gnu/javax/imageio/IIOInputStream.java.
12268         * gnu/javax/imageio/gif/GIFImageReader.java
12269         (readImage): Use IIOInputStream.
12270         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
12271         (canDecodeInput): Use IIOInputStream.
12272         * gnu/javax/imageio/png/PNGException.java: Make subclass
12273         of IOException.
12274         * gnu/javax/imageio/png/PNGImageReader.java: New class.
12275         Implements the ImageIO ImageReader for PNG.
12276         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
12277         Implements the ImageIO ImageReaderSpi for PNG.
12278         * javax/imageio/spi/IIORegistry.java:
12279         (IIORegistry): Add PNGImageReaderSpi.
12281 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
12283         * java/awt/image/ComponentSampleModel.java
12284         (getPixel): Added argument check,
12285         (getSample): Modified exception message.
12287 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
12289         PR Classpath/28422
12290         * java/awt/image/ConvolveOp.java
12291         (filter(Raster, WritableRaster)): Reimplemented,
12292         (fillEdge): New private method.
12294 2006-07-19  Keith Seitz  <keiths@redhat.com>
12296         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
12297         (JVMTI_VERSION): Define.
12299 2006-07-19  Roman Kennke  <kennke@aicas.com>
12301         * resource/gnu/regexp/MessagesBundle.properties,
12302         * resource/gnu/regexp/MessagesBundle_fr.properties,
12303         * resource/gnu/regexp/MessagesBundle_it.properties:
12304         Moved to resource/gnu/java/util/regex.
12305         * resource/gnu/java/util/regex/MessagesBundle.properties,
12306         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
12307         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
12308         New files.
12309         * gnu/java/util/regex/RE.java
12310         Use new resource bundle location.
12312 2006-07-19  Roman Kennke  <kennke@aicas.com>
12314         * javax/swing/JComponent.java
12315         (paintChildren): Refactored. The paintChildrenOptimized method
12316         has been moved back in here. Added locking of the tree and
12317         only check for completely obscured child components
12318         when not optimized drawing enabled. Use Graphics.create() to
12319         protect from irreversible changes.
12320         (isCompletelyObscured): New helper method.
12321         (paintComponent): Also use Graphics.create() for Graphics2D,
12322         to protect from irreverible changes.
12323         (clipAndTranslateGraphics): Refactored to use more efficient
12324         iterative (vs recursive) approach.
12325         * javax/swing/RepaintManager.java
12326         (getOffscreenBuffer): Create image from root component.
12327         
12328 2006-07-19  Roman Kennke  <kennke@aicas.com>
12330         * gnu/java/awt/peer/x/XGraphics.java
12331         (translate): Don't set the clip on the X server.
12332         (clipRect): Use setXClip() to set the clip on the X server.
12333         (hitClip): More efficient and correct implementation.
12334         (setClip): Use setXClip() to set the clip on the X server.
12335         (setClip(Shape)): Use setXClip() to set the clip on the X server.
12336         (copyArea): Translate and clip the source rectangle correctly.
12337         (dispose): Only flush when object is not yet disposed.
12338         (clone): Use setXClip() to set the clip on the X server.
12340 2006-07-19  Sven de Marothy  <sven@physto.se>
12342         * gnu/javax/imageio/png/PNGChunk.java,
12343         * gnu/javax/imageio/png/PNGData.java,
12344         * gnu/javax/imageio/png/PNGDecoder.java,
12345         * gnu/javax/imageio/png/PNGEncoder.java,
12346         * gnu/javax/imageio/png/PNGException.java,
12347         * gnu/javax/imageio/png/PNGFile.java,
12348         * gnu/javax/imageio/png/PNGFilter.java,
12349         * gnu/javax/imageio/png/PNGGamma.java,
12350         * gnu/javax/imageio/png/PNGHeader.java,
12351         * gnu/javax/imageio/png/PNGICCProfile.java,
12352         * gnu/javax/imageio/png/PNGPalette.java,
12353         * gnu/javax/imageio/png/PNGPhys.java,
12354         * gnu/javax/imageio/png/PNGTime.java:
12355         New files.
12357 2006-07-19  Sven de Marothy  <sven@physto.se>
12359         * java/net/Inet6Address.java:
12360         (getScopedId, getScopedInterface): New methods.
12361         
12362 2006-07-19  Lillian Angel  <langel@redhat.com>
12364         * examples/gnu/classpath/examples/awt/Demo.java
12365         (DragDropWindow): Fixed typo in Label text.
12366         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
12367         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
12368         (startDrag): Initialized context field.
12369         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
12370         function.
12371         (dragEnter): New function.
12372         (dragExit): Likewise.
12373         (dragDropEnd): Likewise.
12374         (dragMouseMoved): Likewise.
12375         (dragOver): Likewise.
12376         (dragActionChanged): Likewise.
12378 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
12380         PR Classpath/26302
12381         * resource/java/security/classpath.security: Updated copyright year.
12382         (auth.login.defaultCallbackHandler): New property; set to our default
12383         callback handler. This is needed by the LoginContext when no callback
12384         handler was specified.
12385         * javax/security/auth/login/LoginContext.java: Updated copyright year.
12386         (LoginContext(4)): Assign passed parameters to local fields before invoking
12387         lookup method.
12389 2006-07-19  Roman Kennke  <kennke@aicas.com>
12391         * gnu/java/awt/peer/x/XGraphics.java
12392         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
12393         Fixed ordering of parameters.
12395 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12397         * gnu/java/lang/management/MemoryMXBeanImpl.java:
12398         (MemoryMXBeanImpl()): Implemented.
12399         (ListenerData): New private class.
12400         (addNotificationListener(NotificationListener,
12401         NotificationFilter, Object)): Implemented.
12402         (getNotificationInfo()): Likewise.
12403         (removeNotificationListener(NotificationListener)):
12404         Likewise.
12405         (removeNotificationListener(NotificationListener,
12406         NotificationFilter, Object)): Likewise.
12407         
12408 2006-07-18  Roman Kennke  <kennke@aicas.com>
12410         * gnu/java/awt/peer/x/XFontPeer.java
12411         (encodeFont): Be more flexible with font sizes.
12412         (validSize): New helper method.
12413         * gnu/java/awt/peer/x/XGraphics.java
12414         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
12415         Implemented.
12416         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
12417         Implemented.
12418         * gnu/java/awt/peer/x/XImage.java
12419         (properties): New field.
12420         (getProperty): Implemented.
12421         * resource/gnu/java/awt/peer/x/fonts.properties:
12422         Added copyright header. Fixed font size field.
12424 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
12426         * java/awt/image/BandedSampleModel.java
12427         (createDataBuffer): New method override,
12428         * java/awt/image/ByteLookupTable.java
12429         (ByteLookupTable(int, byte[][])): Create new array to hold references,
12430         (ByteLookuptable(int, byte[])): Check for null array,
12431         * java/awt/image/ComponentSampleModel.java
12432         (createDataBuffer): Removed unnecessary braces,
12433         (getSample): Check (x, y) is within bounds,
12434         * java/awt/image/ShortLookupTable.java
12435         (ShortLookupTable(int, short[][])): Create new array to hold references,
12436         (ShortLookupTable(int, short[])): Check for null array,
12437         (getTable): Added API docs,
12438         (lookupPixel): Source reformatting.
12440 2006-07-18  Tania Bento  <tbento@redhat.com>
12441         
12442         * java/awt/GridLayout.java
12443         (setHgap): Illegal Argument Exception should not be thrown if 
12444         hgap < 0.
12445         (setVgap): Illegal Argument Exception should not be thrown if 
12446         vgap < 0.
12447         (toString): Opening square braket ([) should appear before hgap
12448         value, not the name of the class.
12450 2006-07-18  Roman Kennke  <kennke@aicas.com>
12452         * lib/copy-vmresources.sh.in: Reverted.
12453         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
12454         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
12456 2006-07-18  Roman Kennke  <kennke@aicas.com>
12458         * lib/copy-vmresources.sh.in: Include properties from X peers.
12460 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
12462         PR Classpath/27205
12463         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
12464         certificate validity.
12465         (getIssuerName): New method.
12466         (getSubjectName): Likewise.
12467         (getNotAfterDate): Likewise.
12468         (getNotBeforeDate): Likewise.
12469         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
12470         messages for newly added messages in SFHelper.
12472 2006-07-18  Roman Kennke  <kennke@aicas.com>
12474         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
12475         * gnu/java/awt/peer/x/XEventPump.java
12476         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
12477         * gnu/java/awt/peer/x/XFramePeer.java
12478         Made a subclass of XWindowPeer, rather than SwingFramePeer.
12479         * gnu/java/awt/peer/x/XGraphics.java
12480         Made subclass of Graphics rather than Graphics2D. Removed
12481         all Graphics2D specific method stubs.
12482         (setColor): Map colors using the X color map that is
12483         stored in XToolkit.
12484         * gnu/java/awt/peer/x/XToolkit.java
12485         (colorMap): New field.
12486         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
12487         instance.
12488         (createDialog): Implemented.
12489         (createImage(ImageProducer)): Implemented.
12490         (createImage(InputStream)): Use createImage(ImageProducer)
12491         to convert the BufferedImage to an XImage.
12492         * gnu/java/awt/peer/x/XWindowPeer.java
12493         (XWindowPeer): Removed debug output.
12495 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
12497         * java/awt/image/BufferedImageOp.java: API docs added,
12498         * java/awt/image/RasterOp.java: Likewise.
12500 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
12502         * java/awt/Graphics2D.java: API docs updated.
12504 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
12506         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
12507         source code.
12509 2006-07-18  Sven de Marothy  <sven@physto.se>
12511         * java/net/Inet6Address.java:
12512         Add 1.5 serialized fields.
12513         (getByAddress): New methods.
12514         (readObject, writeObject): New methods. 
12515         (equals): Reimplement.
12517 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
12519         * java/awt/image/Raster.java: Added API docs and reformatted source
12520         code.
12522 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
12524         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
12525         imports.
12526         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
12527         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
12528         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
12529         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
12530         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
12531         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
12532         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
12533         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
12534         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
12535         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
12536         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
12537         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
12538         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
12539         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
12540         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
12541         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
12542         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
12543         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
12544         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
12545         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
12546         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
12548 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
12550         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
12551         to make it compile again under jikes. Note added.
12553 2006-07-17  Lillian Angel  <langel@redhat.com>
12555         * examples/gnu/classpath/examples/awt/Demo.java
12556         (Demo): Added new window for DnD demo.
12557         (DragDropWindow): New class.
12558         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12559         Added new fields and declarations for native functions.
12560         (GtkDragSourceContextPeer): Implemented.
12561         (getComponentPeer): New function.
12562         (startDrag): Partially implemented.
12563         (getCursor): Implemented.
12564         (setCursor): Implemented.
12565         * include/GtkDragSourceContextPeer.h: New file.
12566         * include/Makefile.am: Added new header file.
12567         * java/awt/Component.java
12568         (addNotify): Added call to the dropTarget's addNotify.
12569         * java/awt/dnd/DragSource.java
12570         (startDrag): Fixed code to use shared instances of peer and
12571         context.
12572         (getDragThreshold): Added stub.
12573         * java/awt/dnd/DropTarget.java
12574         (DropTarget): Implemented fully.
12575         (addNotify): Added code to get the peer of the parent that is
12576         not lightweight.
12577         * java/awt/dnd/DropTargetDragEvent.java
12578         (getTransferable): Added stub.
12579         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
12580         * native/jni/gtk-peer/Makefile.am: Added new c file.
12581         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12582         Changed to extend GtkGenericPeer.
12583         (GtkDropTargetContextPeer): New constructor.
12584         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12585         Changed to extend GtkGenericPeer.
12586         (GtkDropTargetContextPeer): New constructor.
12588 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12590         * java/awt/image/SinglePixelPackedSampleModel.java
12591         (createSubsetSampleModel): Added argument check and API docs.
12593 2006-07-17  Roman Kennke  <kennke@aicas.com>
12595         * gnu/java/awt/peer/x/XGraphics.java
12596         (copyArea): Implemented.
12598 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12600         * java/awt/image/SinglePixelPackedSampleModel.java
12601         (getSampleSize): Return copy of array,
12602         (getOffset): Added API docs,
12603         (getScanlineStride): Likewise,
12604         (hashCode): Implemented.
12606 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12608         * java/awt/image/MultiPixelPackedSampleModel.java
12609         (getOffset): Updated API docs and source reformatting,
12610         (getBitOffset): Source reformatting only,
12611         (getDataElements): Likewise,
12612         (getPixel): Likewise,
12613         (getPixels): Removed method override,
12614         (setDataElements): Reimplemented.
12616 2006-07-17  Gary Benson  <gbenson@redhat.com>
12618         * resource/META-INF/services/.cvsignore: New file.
12619         * lib/.cvsignore: Updated.      
12621 2006-07-17  Roman Kennke  <kennke@aicas.com>
12623         * javax/swing/plaf/basic/BasicButtonListener.java
12624         (propertyChange): Only do the text layout caching as long
12625         as the noGraphics2D property isn't set.
12626         * javax/swing/plaf/basic/BasicMenuItemUI.java
12627         (PropertyChangeHandler.propertyChange): Only do the text layout
12628         caching as long as the noGraphics2D property isn't set.
12630 2006-07-17  Roman Kennke  <kennke@aicas.com>
12632         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12633         (XGraphicsEnvironment): Make constructor public so that it
12634         can be called via Class.forName().newInstance().
12635         * gnu/java/awt/peer/x/XImage.java
12636         (XImage): Fetch GraphicsEnvironment via
12637         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12638         than the XToolkit method, to avoid double instantiation
12639         of the XGraphicsEnvironment.
12640         * gnu/java/awt/peer/x/XToolkit.java
12641         (env): Removed field.
12642         (getLocalGraphicsEnvironment): Removed impl. This method
12643         should not be called since we set the graphicsenv property
12644         in the constructor.
12646 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12648         * java/util/UUID.java:
12649         (compareTo(Object)): Call compareTo(UUID).
12650         (compareTo(UUID)): Implemented.
12651         
12652 2006-07-16  Tom Tromey  <tromey@redhat.com>
12654         * java/lang/StrictMath.java (cbrt): Added '@since'.
12656 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
12658         * java/lang/StrictMath.java (cbrt): New method.
12659         (getLowDWord): New helper method.
12660         (getHighDWord): Likewise.
12661         (buildDouble): Likewise.
12662         (CBRT_B1): New field.
12663         (CBRT_B2): Likewise.
12664         (CBRT_C): Likewise.
12665         (CBRT_D): Likewise.
12666         (CBRT_E): Likewise.
12667         (CBRT_F): Likewise.
12668         (CBRT_G): Likewise.
12670 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12672         * javax/management/MBeanInfo.java:
12673         (getNotifications()): Implemented.
12674         * javax/management/NotificationBroadcaster.java:
12675         (removeNotificationListener(NotificationListener)):
12676         Renamed from removeListener.
12677         * javax/management/NotificationEmitter.java:
12678         (removeNotificationListener(NotificationListener,
12679         NotificationFilter, Object)): Likewise.
12680         * javax/management/NotificationFilter.java:
12681         Implement Serializable.
12682         * javax/management/NotificationListener.java:
12683         Implement java.util.EventListener.
12684         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12685         Implement Serializable.
12687 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12689         * java/lang/management/MemoryNotificationInfo.java:
12690         New file.
12691         
12692 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12694         PR 28392
12695         * gnu/javax/swing/text/html/parser/htmlValidator.java 
12696         (tagIsValidForContext): If it is not possible to insert any tag, but 
12697         is possible to insert a P, insert a P.
12698         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12699         (newInstance): Removed print statement. (getBodyElements):
12700         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12701         valid body level tags (will be enclosed into P's).
12703 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
12705         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12706         Condition the creation of .keystore (a default keystore) based on the
12707         createIfNotFound argument as well.
12709 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12711         PR 28392
12712         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12713         Removed heading p tag from the parsing example.
12714         * gnu/javax/swing/text/html/parser/HTML_401F.java:
12715         (createHtmlContentModel): Explained.
12716         (defineElements): Call getBodyElements to get the body
12717         elements. (getBodyElements): New method. (model):
12718         Made protected from private.
12719         * gnu/javax/swing/text/html/parser/htmlValidator.java
12720         (openTag): Mind that current content model may be null.
12721         (tagIsValidForContext): If the tag is PCDATA, and it is not
12722         valid for context, but the paragraph (P) is valid for context,
12723         suggest to insert the P tag here.
12724         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12725         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12726         implied P tags here.
12727         * javax/swing/text/html/HTMLEditorKit.java (getParser):
12728         Get the custom parser, using HTML_401Swing.java DTD.
12729         * javax/swing/text/html/parser/ParserDelegator.java:
12730         Removed the obsolete note that HTMLEditorKit does not exist.
12731         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12732         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12734 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12736         * javax/management/ListenerNotFoundException.java:
12737         New file.
12738         * javax/management/MBeanFeatureInfo.java:
12739         (hashCode()): Use summation instead of multiplication
12740         for consistency with other classes.
12741         * javax/management/MBeanNotificationInfo.java,
12742         * javax/management/Notification.java,
12743         * javax/management/NotificationBroadcaster.java,
12744         * javax/management/NotificationEmitter.java,
12745         * javax/management/NotificationFilter.java,
12746         * javax/management/NotificationListener.java:
12747         New files.
12748         * javax/management/OperationsException.java:
12749         (serialVersionUID): Added.
12750         
12751 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12752             Mark Wielaard  <mark@klomp.org>
12754         * java/io/PrintStream.java: Added four constructors, for File and
12755         String describing a filename with or without explicit encoding.
12757 2006-07-16  Sven de Marothy  <sven@physto.se>
12759         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12760         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12761         New files.
12763 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12765         PR Classpath/28391
12766         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12767         New method.
12768         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12769         (setProviderClassNameParam): Made private.
12770         (setKeystoreTypeParam): Likewise.
12771         (setKeyPasswordParam): Likewise
12772         (setKeystorePasswordParam): Likewise.
12773         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12774         create or not the keystore if it's not there, and the second is the store's
12775         password to process before loading the keystore. Amended the code
12776         accordingly.
12777         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12778         setKeyStoreParams(5) with true as its first argument.
12779         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12780         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12782 2006-07-16  Sven de Marothy  <sven@physto.se>
12784         * java/util/UUID.java: New file.
12786 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12788         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12789         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12790         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12791         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12792         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12793         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12794         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12795         added Key Wrapping Algorithm SPIs.
12797 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12799         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12800         wrapping/unwrapping to invoke their engineGetOutputSize.
12802 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12804         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12805         (engineInit): If a SecureRandom was specified then use it.
12806         (nextRandomBytes): New method.
12807         (engineWrap): Use above method.
12808         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12809         (getDefaultPRNG): New method.
12810         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12811         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12812         New constant.
12814 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12816         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12817         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12819 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12821         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12822         offset into consideration.
12824 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12826         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12827         Fixed comment. This functions now requires to be called
12828         with gdk lock held, the comment states that.
12829         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12830         Introduces gdk locks around critical regions of code.
12831         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12832         Likewise.
12833         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12834         Likewise.
12835         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12836         Likewise.
12837         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12838         Likewise.
12839         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12840         Likewise.
12841         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12842         Likewise.
12843         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12844         Likewise.
12845         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12846         Likewise.
12847         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12848         Likewise.
12849         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12850         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12852 2006-07-15  Sven de Marothy  <sven@physto.se>
12854         * javax/swing/JFileChooser.java
12855         Change default selection mode to FILES_ONLY.
12856         * javax/swing/plaf/basic/BasicDirectoryModel.java
12857         Document, fix selection mode filtering.
12858         (renameFile): Implement
12859         * javax/swing/plaf/basic/BasicFileChooserUI.java
12860         (selectedDir): New field to handle selected directories,
12861         disallow selecting of directories in FILES_ONLY mode.
12862         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12863         (EditingActionListener.actionPerformed):
12864         Stop editing on all actions (e.g. return-key press)
12866 2006-07-15  Mark Wielaard  <mark@klomp.org>
12868         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12869         to code.
12870         (JNI Implementation): Mark JVMTI Implementation as next.
12871         (JVMTI Implementation): Mark JNI Implementation as prev.
12873 2006-07-15  Mark Wielaard  <mark@klomp.org>
12875         * include/Makefile.am: Remove
12876         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12877         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12878         * native/jni/gtk-peer/Makefile.am: Remove
12879         gnu_java_awt_peer_gtk_GdkTextLayout.c
12880         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12881         Removed.
12883         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12885 2006-07-15  Mark Wielaard  <mark@klomp.org>
12887         * autogen.sh: Recognize autoconf 2.60.
12889 2006-07-15  Keith Seitz  <keiths@redhat.com>
12891         * NEWS: Update for JVMTI and jvmti.h.
12892         * doc/vmintegration.texinfo: Likewise.
12893         * include/jvmti.h: New file.
12895 2006-07-15  Mark Wielaard  <mark@klomp.org>
12897         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12898         Removed C++ style comment.
12900 2006-07-15  Sven de Marothy  <sven@physto.se>
12902         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12903         * java/awt/MouseInfo.java,
12904         * java/awt/PointerInfo.java,
12905         * java/awt/peer/MouseInfoPeer.java:
12906         New files.
12908         * java/awt/Image.java
12909         (accelerationPriority): New field.
12910         (setAccelerationPriority, getAccelerationPriority): New methods..
12912         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12913         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12914         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12915         (getMouseCoordinates): New method.
12917         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12918         (updateAlwaysOnTop): Remove stub overload.
12920         * gnu/java/awt/ClasspathToolkit.java,
12921         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12922         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12923         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12924         (getMouseInfoPeer): New method.
12925         (getMouseNumberOfButtons): New method.
12926         
12927         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12928         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12929         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12930         (gtkWindowSetAlwaysOnTop): New method.
12931         (updateAlwaysOnTop): Implement.
12933         * java/awt/Toolkit.java,
12934         (getMouseInfoPeer): New method.
12936         * java/awt/Window.java
12937         (alwaysOnTop): New field.
12938         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12940         * java/awt/peer/WindowPeer.java: Doc fix.
12942 2006-07-14  Sven de Marothy  <sven@physto.se>
12944         * java/awt/font/TextLayout.java:
12945         (hitTestChar): Stub method.
12946         * java/awt/font/TextMeasurer.java:
12947         (getLayout): Throw exception on invalid argument.
12948         
12949 2006-07-14  Sven de Marothy  <sven@physto.se>
12951         * java/awt/image/DataBuffer.java
12952         (DataBuffer): Call constructors in the correct order,
12953         
12954 2006-07-14  Mark Wielaard  <mark@klomp.org>
12956         Revert to previous implementation.
12957         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12958         constraints insets.
12960 2006-07-14  Roman Kennke  <kennke@aicas.com>
12962         * gnu/java/awt/peer/x/XToolkit.java
12963         (XToolkit): Install properties to SystemProperties
12964         rather than System, to avoid SecurityManager.
12965         (getImage(String)): Return error image when string is invalid.
12966         (createImage(URL)): Moved image loading to helper method.
12967         (createImage(ImageProducer)): Implemented.
12968         (createImage(byte[],int,int)): Implemented.
12969         (createImage(InputStream)): New helper method.
12971 2006-07-14  Tania Bento  <tbento@redhat.com>
12973         * java/awt/FlowLayout.java
12974         (setHgap): No Excpetion should be thrown if hgap has
12975         a negative value.
12976         (setVgap): No Exception should be thrown if vgap has
12977         a negative value.
12979 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12981         * java/awt/image/MultiPixelPackedSampleModel.java: 
12982         Added API docs all over.
12984 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12986         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12987         (engineInit): Throw InvalidAlgorithmParameterException
12988         for invalid IVParameterSpec IV length.
12990 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12992         * java/awt/image/MultiPixelPackedSampleModel.java
12993         (createDataBuffer): Include dataBitOffset in calculating the size for
12994         the data buffer.
12996 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12998         * java/awt/image/MultiPixelPackedSampleModel.java
12999         (getSampleSize()): Return a copy of the array,
13000         (getTransferType()): New method override.
13002 2006-07-14  Roman Kennke  <kennke@aicas.com>
13004         * java/awt/CardLayout.java
13005         (show): Validate parent to make sure that the layout is
13006         valid.
13008 2006-07-14  Roman Kennke  <kennke@aicas.com>
13010         * java/awt/Component.java
13011         (enable): Added tree locking.
13012         (disable): Added tree locking.
13013         (show): Added tree locking.
13014         (hide): Added tree locking.
13015         (getLocationOnScreen): Added tree locking.
13016         (reshape): Added tree locking.
13017         (addHierarchyListener): Added tree locking.
13018         (removeHierarchyListener): Added tree locking.
13019         (addHierarchyBoundsListener): Added tree locking.
13020         (removeHierarchyBoundsListener): Added tree locking.
13021         (addNotify): Added tree locking.
13022         (removeNotify): Added tree locking.
13023         * java/awt/Container.java
13024         (invalidateTree): Added tree locking.
13025         (getAlignmentX): Added tree locking.
13026         (getAlignmentY): Added tree locking.
13027         (addNotify): Added tree locking.
13028         (setComponentZOrder): Added tree locking.
13029         (getComponentZOrder): Added tree locking.
13031 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
13033         * java/awt/image/MultiPixelPackedSampleModel.java
13034         (createSubsetSampleModel): Restored argument check, but let null
13035         through.
13037 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
13039         * java/awt/image/MultiPixelPackedSampleModel.java
13040         (createSubsetSampleModel): Removed argument check.
13042 2006-07-14  Roman Kennke  <kennke@aicas.com>
13044         * java/awt/Component.java
13045         (numHierarchyListeners): New field.
13046         (numHierarchyBoundsListeners): New field.
13047         (show): Fire hierarchy events here. Only fire component event
13048         if there is actually a listener for it.
13049         (hide): Fire hierarchy events here. Only fire component event
13050         if there is actually a listener for it.
13051         (reshape): Fire hierarchy events here. Only fire component event
13052         if there is actually a listener for it.
13053         (addHierarchyListeners): Update listener counters.
13054         (removeHierarchyListeners): Update listener counters.
13055         (addHierarchyBoundsListeners): Update listener counters.
13056         (removeHierarchyBoundsListeners): Update listener counters.
13057         (fireHierarchyEvent): New helper method for firing hierarchy
13058         events.
13059         * java/awt/Container.java
13060         (addImpl): Update listener counters. Fire hierarchy event.
13061         (remove): Update listener counters. Fire hierarchy event.
13062         (fireHierarchyEvent): New helper method for firing hierarchy
13063         events.
13064         (updateHierarchyListenerCount): New helper method for
13065         updating the listener counters.
13067 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
13069         * java/awt/image/MultiPixelPackedSampleModel.java
13070         (equals): New method override,
13071         (hashCode): Likewise.
13073 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
13075         * java/awt/image/MultiPixelPackedSampleModel.java
13076         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
13077         Corrected scanlineStride calculation.
13079 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
13081         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
13082         (AES_KWA): Likewise.
13083         (AES128_KWA): Likewise.
13084         (AES192_KWA): Likewise.
13085         (AES256_KWA): Likewise.
13086         (RIJNDAEL_KWA): Likewise.
13087         (TRIPLEDES_KWA): Likewise.
13088         (DESEDE_KWA): Likewise.
13089         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
13090         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
13091         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
13092         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
13093         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
13094         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
13096 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
13098         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
13099         (PADDING_BLOCK_SIZE): New constant.
13100         (init(Map attributes)): New method.
13101         * gnu/javax/crypto/pad/BasePad.java (init): New method.
13103 2006-07-14  Mario Torre  <neugens@limasoftware.net>
13105         * gnu/java/security/OID.java (OID): Private Constructor removed as
13106         it is not needed anymore.
13107         (clone): Fixed. Now uses super.clone instead of the private
13108         constructor as per specification of clone method.
13109         (serialVersionUID): added new field to allow serialization.
13111 2006-07-13  Sven de Marothy  <sven@physto.se>
13113         * gnu/javax/imageio/gif/GIFImageReader.java
13114         (read): Remove old debugging trace.
13116 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
13118         PR awt/28369:
13119         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
13120         blue mask.
13122 2006-07-13  Roman Kennke  <kennke@aicas.com>
13124         * java/awt/Component.java
13125         (DEFAULT_MAX_SIZE): New static constant.
13126         (preferredSize): Return copy of the actual value computed
13127         by new helper method.
13128         (preferredSizeImpl): New helper method. Adds locking and
13129         correct handling of cached value.
13130         (minimumSize): Return copy of the actual value computed
13131         by new helper method.
13132         (minimumSizeImpl): New helper method. Adds locking and
13133         correct handling of cached value.
13134         (getMaximumSize):  Return copy of the actual value computed
13135         by new helper method.
13136         (maximumSizeImpl): New helper method. Adds locking and
13137         correct handling of cached value.
13138         (invalidate): Correct handling of cached layout information.
13139         Added locking.
13140         * java/awt/Container.java
13141         (preferredSize): Minimized locking. Corrected handling of cached
13142         values. Return copy of real value.
13143         (minimumSize): Minimized locking. Corrected handling of cached
13144         values. Return copy of real value.
13145         (getMaximumSize): Minimized locking. Corrected handling of cached
13146         values. Return copy of real value.
13147         
13148 2006-07-13  Tania Bento  <tbento@redhat.com>
13150         * gnu/java/awt/peer/ClasspathFontPeer.java
13151         (isLogicalFontName): Return true if name == default.
13152         (logicalFontNameToFaceName): Check if name == default,
13153         and if so, return "Dialog.plain".
13154         (setStandardAttributes(String, Map)): If name == null, 
13155         it should be set to "Default", not "SansSerif".
13156         * java/awt/Canvas.java
13157         (generateName): Fixed documentation.
13158         * java/awt/CheckboxMenuItem.java
13159         Added static variable "next_chkmenuitem_number".
13160         (generateName): Added and implemented method.
13161         (getUniqueLong): Likewise.
13162         * java/awt/Choice.java
13163         Added static variable "next_choice_number".
13164         (generateName): Added and implemented method.
13165         (getUniqueLong): Likewise.
13166         * java/awt/Cursor.java
13167         (Cursor(int)): Set name depending on the type passed.
13168         * java/awt/List.java
13169         Added static variable "next_list_number".
13170         (generateName): Added and implemented method.
13171         (getUniqueLong): Likewise.
13172         * java/awt/Menu.java
13173         Added static variable "next_menu_number".
13174         (generateName): Added and implemented method.
13175         (getUniqueLong): Likewise.
13176         * java/awt/MenuBar.java
13177         Added static variable "next_menubar_number".
13178         (generateName): Added and implemented method.   
13179         (getUniqueLong): Likewise.
13180         * java/awt/MenuComponent.java
13181         (getName): Before returning name, check if name == null
13182         and name is not explicity set.  If this is the case,    
13183         name will be generated.
13184         (generateName): Added and implemented method.   
13185         * java/awt/MenuItem.java
13186         Added static variable "next_menuitem_number".
13187         (generateName): Added and implemented method.   
13188         (getUniqueLong): Likewise.
13189         * java/awt/PopupMenu.java
13190         Added static variable "next_popup_number".
13191         (generateName): Added and implemented method.
13192         (getUniqueLong): Likewise.
13193         * java/awt/ScrollPane.java
13194         Added static variable "next_scrollpane_number".
13195         (generateName): Added and implemented method.
13196         (getUniqueLong): Likewise.
13197         * java/awt/TextField.java
13198         Added static variable "next_textfield_number".
13199         (generateName): Added and implemented method.
13200         (getUniqueLong): Likewise.
13203 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
13205         * java/awt/image/SinglePixelPackedSampleModel.java
13206         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
13207         mask correctly as an unsigned integer,
13208         (equals): New method override.
13210 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13212         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
13213         insertAfterStart, insertBeforeEnd):  Removed stub markings.
13215 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
13217         * java/awt/image/BandedSampleModel.java: API doc updates and source 
13218         code reformatting,
13219         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
13221 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
13223         * java/awt/image/BandedSampleModel.java: API doc updates.
13225 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13227         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
13228         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
13229         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
13230         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
13231         (HRMLReader.blockClose): Mind that parser stack may be empty. 
13232         (HTMLReader.handeComment, HTMLReader.handleStartTag,
13233         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
13234         (HTMLReader.shouldInsert): New method. (getElement(String)): 
13235         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
13236         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
13237         Implemented. (getInsertingReader): New method. 
13238         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
13239         Added buttons to demonstrate the work of the insert actions.
13241 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
13243         * java/awt/image/SampleModel.java: API doc updates and additions,
13244         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
13246 2006-07-12  Sven de Marothy  <sven@physto.se>
13248         * javax/swing/JFileChooser.java:
13249         (createDialog): Close operation should cause a cancel.
13251 2006-07-12  Francis Kung  <fkung@redhat.com>
13253         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
13254         (cairoArc): New native method.
13255         (cairoRestore): New native method.
13256         (cairoSave): New native method.
13257         (cairoScale): New native method.
13258         (createPath): New method to centralize code from draw and fill.
13259         (draw): Modified to use createPath method.
13260         (fill): Modified to use createPath method.
13261         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
13262         function declarations.
13263         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
13264         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
13265         method.
13266         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
13267         method.
13268         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
13269         method.
13270         
13271 2006-07-12  Tom Tromey  <tromey@redhat.com>
13273         PR libgcj/27271:
13274         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
13275         on PartialInputStream.
13276         (PartialInputStream.dummyByteCount): New field.
13277         (PartialInputStream.fillBuffer): Handle dummy byte.
13278         (PartialInputStream.read): Likewise.
13279         (PartialInputStream.addDummyByte): New method.
13281 2006-07-12  Mario Torre  <neugens@limasoftware.net>
13283         * native/jni/gconf-peer/GConfNativePeer.c
13284         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13285         Fixed C++ style comment.
13287 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
13289         * java/util/Arrays.java
13290         (asList): Updated API docs.
13292 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
13294         Fixes PR28350.
13295         * native/jni/gconf-peer/GConfNativePeer.c:
13296         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13297         Changed if-expression.
13298         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13299         Added check for _value not being NULL.
13300         
13301 2006-07-11  Roman Kennke  <kennke@aicas.com>
13303         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
13304         (read): Use fd when local sockets are disabled to make the
13305         compiler quite.
13306         (write): Likewise.
13308 2006-07-11  Roman Kennke  <kennke@aicas.com>
13310         * java/awt/image/MultiPixelPackedSampleModel.java
13311         (MultiPixelPackedSampleModel): Substract -1 so that the integer
13312         division gets rounded up.
13314 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13316         * java/lang/management/ManageFactory.java:
13317         (getMemoryManagerMXBeans()): Use addAll, not add.
13318         
13319 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
13321         PR 27649:
13322         * gnu/classpath/ByteArray.java: Removed (moved).
13323         * gnu/java/security/util/ByteArray.java: New File.
13324         * gnu/javax/crypto/RSACipherImpl.java: Reference 
13325         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
13327 2006-07-11  Roman Kennke  <kennke@aicas.com>
13329         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
13330         (available): Pass fd as argument and avoid JNI class/field
13331         lookup.
13332         (read): Likewise.
13333         (write): Likewise.
13334         * include/gnu_java_net_local_LocalSocketImpl.h:
13335         Regenerated.
13336         * gnu/java/net/local/LocalSocketImpl.h
13337         (available): Pass fd as argument and avoid JNI class/field
13338         lookup.
13339         (read): Likewise.
13340         (write): Likewise.      
13342 2006-07-11  Sven de Marothy  <sven@physto.se>
13344         * gnu/javax/sound/sampled/AU/AUReader.java:
13345         Correct file extension from .as to .au.
13347 2006-07-11  Sven de Marothy  <sven@physto.se>
13349         * gnu/javax/sound/sampled/AU/AUReader.java:
13350         New file.
13351         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
13352         Added new provider.
13354 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
13356         * javax/swing/JTable.java
13357         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
13358         (setColumnSelectionAllowed): Likewise.
13360 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
13362         PR 27649:
13363         * gnu/classpath/debug/Simple1LineFormatter.java: Use
13364         AccessController.doPrivileged instead of SystemProperties.getProperty.
13365         * gnu/classpath/debug/SystemLogger.java: Likewise.
13366         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
13367         repeated getProperty calls for "file.seperator".
13368         (refresh): Since already in privileged block, call System.getProperty
13369         instead of SystemProperties.getProperty.
13370         * gnu/java/security/key/dss/DSSKey.java
13371         (toString): Use AccessController.doPrivileged instead of
13372         SystemProperties.getProperty.
13373         * gnu/java/security/key/dss/DSSPrivateKey.java
13374         (toString): Likewise.
13375         * gnu/java/security/key/dss/DSSPublicKey.java
13376         (toString): Likewise.
13377         * gnu/java/security/key/rsa/GnuRSAKey.java
13378         (toString): Likewise.
13379         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
13380         (toString): Likewise.
13381         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
13382         (toString): Likewise.
13383         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13384         * gnu/javax/crypto/key/dh/GnuDHKey.java 
13385         (toString): Likewise.
13386         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
13387         (toString): Likewise.
13388         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
13389         (toString): Likewise.
13391 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
13393         * javax/swing/AbstractButton.java
13394         (disabledIcon): Fixed name (was 'disabeldIcon'),
13395         (getDisabledIcon): Updated for corrected field name,
13396         (setDisabledIcon): Fire a PropertyChangeEvent.
13398 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
13400         * javax/swing/DefaultBoundedRangeModel.java
13401         (readObject): New private method,
13402         (writeObject): Likewise.
13404 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
13406         * javax/swing/ButtonGroup.java
13407         (add): Ignore null argument,
13408         (remove): Ignore null argument.  If removing selected button, clear the
13409         sel field,
13410         (findButton): Changed case for method name, and documented,
13411         (setSelected): Updated for modification to findButton() method name,
13412         (isSelected): Updated API docs.
13414 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
13416         * java/awt/image/BufferedImage.java
13417         (BufferedImage(int, int, int)): Use correct color space for 
13418         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
13419         IllegalArgumentException for an unrecognised type.
13421 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13423         * java/lang/management/ManagementFactory.java:
13424         (getMemoryPoolMXBeans): Genericized fully.
13425         (getMemoryManagerMXBeans): Likewise.
13426         (getGarbageCollectorMXBeans): Likewise.
13427         
13428 2006-07-10  Tom Tromey  <tromey@redhat.com>
13430         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
13431         Genericized.
13432         (getMemoryManagerMXBeans): Likewise.
13433         (getGarbageCollectorMXBeans): Likewise.
13435 2006-07-10  Mario Torre  <neugens@limasoftware.net>
13437         * java/awt/BasicStroke.java: Removed unused import.
13438         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
13439         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
13440         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
13442 2006-07-10  Matt Wringe  <mwringe@redhat.com>
13444         PR classpath/28212:
13445         * javax/crypto/spec/SecretKeySpec.java 
13446         (equals): Check object type. 
13448 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13450         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
13451         communication/StructureToPassHelper.java,
13452         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
13453         communication/StructureToReturnHelper.java,
13454         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
13455         communication/TreeNodeHelper.java,
13456         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
13457         communication/WeThrowThisExceptionHelper.java,
13458         gnu/CORBA/ForwardRequestHelper.java,
13459         org/omg/CORBA/CompletionStatusHelper.java,
13460         org/omg/CORBA/CurrentHelper.java,
13461         org/omg/CORBA/DefinitionKindHelper.java,
13462         org/omg/CORBA/IDLTypeHelper.java,
13463         org/omg/CORBA/NameValuePairHelper.java,
13464         org/omg/CORBA/ObjectHelper.java,
13465         org/omg/CORBA/ParameterModeHelper.java,
13466         org/omg/CORBA/PolicyErrorCodeHelper.java,
13467         org/omg/CORBA/PolicyErrorHelper.java,
13468         org/omg/CORBA/PolicyHelper.java,
13469         org/omg/CORBA/PolicyListHelper.java,
13470         org/omg/CORBA/PolicyTypeHelper.java,
13471         org/omg/CORBA/ServiceDetailHelper.java,
13472         org/omg/CORBA/ServiceInformationHelper.java,
13473         org/omg/CORBA/SetOverrideTypeHelper.java,
13474         org/omg/CORBA/StringValueHelper.java,
13475         org/omg/CORBA/UnionMemberHelper.java,
13476         org/omg/CORBA/UnknownUserExceptionHelper.java,
13477         org/omg/CORBA/VisibilityHelper.java,
13478         org/omg/CORBA/WStringValueHelper.java,
13479         org/omg/CORBA/WrongTransactionHelper.java,
13480         org/omg/CosNaming/BindingHelper.java,
13481         org/omg/CosNaming/BindingIteratorHelper.java,
13482         org/omg/CosNaming/BindingListHelper.java,
13483         org/omg/CosNaming/BindingTypeHelper.java,
13484         org/omg/CosNaming/NameComponentHelper.java,
13485         org/omg/CosNaming/NameHelper.java,
13486         org/omg/CosNaming/NamingContextExtHelper.java,
13487         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
13488         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
13489         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
13490         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
13491         org/omg/CosNaming/NamingContextHelper.java,
13492         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
13493         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
13494         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
13495         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
13496         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
13497         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
13498         org/omg/DynamicAny/AnySeqHelper.java,
13499         org/omg/DynamicAny/DynAnyFactoryHelper.java,
13500         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
13501         org/omg/DynamicAny/DynAnyHelper.java,
13502         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
13503         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
13504         org/omg/DynamicAny/DynAnySeqHelper.java,
13505         org/omg/DynamicAny/DynArrayHelper.java,
13506         org/omg/DynamicAny/DynEnumHelper.java,
13507         org/omg/DynamicAny/DynFixedHelper.java,
13508         org/omg/DynamicAny/DynSequenceHelper.java,
13509         org/omg/DynamicAny/DynStructHelper.java,
13510         org/omg/DynamicAny/DynUnionHelper.java,
13511         org/omg/DynamicAny/DynValueHelper.java,
13512         org/omg/DynamicAny/NameDynAnyPairHelper.java,
13513         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
13514         org/omg/DynamicAny/NameValuePairHelper.java,
13515         org/omg/DynamicAny/NameValuePairSeqHelper.java,
13516         org/omg/IOP/CodecFactoryHelper.java,
13517         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
13518         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
13519         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
13520         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
13521         org/omg/IOP/ComponentIdHelper.java,
13522         org/omg/IOP/IORHelper.java,
13523         org/omg/IOP/MultipleComponentProfileHelper.java,
13524         org/omg/IOP/ProfileIdHelper.java,
13525         org/omg/IOP/ServiceContextHelper.java,
13526         org/omg/IOP/ServiceContextListHelper.java,
13527         org/omg/IOP/ServiceIdHelper.java,
13528         org/omg/IOP/TaggedComponentHelper.java,
13529         org/omg/IOP/TaggedProfileHelper.java,
13530         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
13531         org/omg/PortableInterceptor/AdapterNameHelper.java,
13532         org/omg/PortableInterceptor/AdapterStateHelper.java,
13533         org/omg/PortableInterceptor/CurrentHelper.java,
13534         org/omg/PortableInterceptor/ForwardRequestHelper.java,
13535         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
13536         org/omg/PortableInterceptor/InvalidSlotHelper.java,
13537         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
13538         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
13539         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
13540         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
13541         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
13542         org/omg/PortableServer/CurrentHelper.java,
13543         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
13544         org/omg/PortableServer/ForwardRequestHelper.java,
13545         org/omg/PortableServer/POAHelper.java,
13546         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
13547         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
13548         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
13549         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
13550         org/omg/PortableServer/POAPackage/NoServantHelper.java,
13551         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
13552         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
13553         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
13554         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
13555         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
13556         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
13557         org/omg/PortableServer/ServantActivatorHelper.java,
13558         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
13559         typecode caching and always use OrbRestricted.Singleton.
13561 2006-07-09  Tom Tromey  <tromey@redhat.com>
13563         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
13565 2006-07-09  Mark Wielaard  <mark@klomp.org>
13567         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
13568         New static final boolean field.
13569         (getComponentGraphics): Use hasXRenderExtension.
13570         (setClip): Override method for locking.
13572 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13574         * javax/swing/AbstractButton.java
13575         (setHorizontalTextPosition): Added check for illegal argument,
13576         (setVerticalTextPosition): Likewise.
13578 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13580         * javax/swing/Timer.java
13581         (setDelay): Throw IllegalArgumentException for negative delay,
13582         (setInitialDelay): Likewise,
13583         * javax/swing/ToolTipManager.java
13584         (setInitialDelay): Document IllegalArgumentException,
13585         (setDismissDelay): Likewise,
13586         (setReshowDelay): Likewise.
13588 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13590         * java/lang/management/MemoryUsage.java:
13591         (from(javax.management.openmbean.CompositeData)):
13592         Implemented.
13593         * java/lang/management/ThreadInfo.java:
13594         Changed to use open types throughout for the state.
13595         (ThreadInfo(long,String,String,long,long,String,
13596         long,String,long,long,boolean,StackTraceElement[])):
13597         New constructor.
13598         (checkAttribute(javax.management.openmbean.CompositeType,
13599         String, javax.management.openmbean.OpenType)): New method.
13600         (from(javax.management.openmbean.CompositeData)):
13601         Implemented.
13602         (getLockName()): Fixed to use new variable.
13603         (getLockOwnerId()): Likewise.
13604         (getLockOwnerName()): Likewise.
13605         (getThreadId()): Likewise.
13606         (getThreadName()): Likewise.
13607         (getThreadState()): Likewise.
13608         (toString()): Refactored to use new variables.
13609         * javax/management/openmbean/ArrayType.java:
13610         New file.
13611         * javax/management/openmbean/CompositeType.java:
13612         Variables should be transient, not volatile.
13613         * javax/management/openmbean/OpenDataException.java:
13614         (serialVersionUID): Added.
13615         * javax/management/openmbean/SimpleType.java:
13616         New file.
13617         * javax/management/openmbean/TabularType.java
13618         Variables should be transient, not volatile.
13620 2006-07-09  Tom Tromey  <tromey@redhat.com>
13622         * tools/.cvsignore: Updated for new tools.
13624 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13626         * javax/management/openmbean/CompositeData.java,
13627         * javax/management/openmbean/CompositeType.java,
13628         * javax/management/openmbean/OpenDataException.java,
13629         * javax/management/openmbean/OpenType.java,
13630         * javax/management/openmbean/TabularData.java,
13631         * javax/management/openmbean/TabularType.java,
13632         * javax/management/openmbean/package.html:
13633         New files.
13635 2006-07-09  Mark Wielaard  <mark@klomp.org>
13637         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13638         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13639         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13641 2006-07-08  Anthony Green  <green@redhat.com>
13643         * gnu/javax/sound/sampled/WAV/WAVReader.java,
13644         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
13645         New files.
13647 2006-07-09  Mario Torre  <neugens@limasoftware.net>
13649         * native/jni/gconf-peer/GConfNativePeer.c:
13650         Fixed indentation to be more compliant to the GNU coding
13651         guidelines.
13652         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13653         Added explicit test for errors in the GConf backend.
13654         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13655         Added explicit test for errors in the GConf backend.
13656         Fixed Segmentation Fault when non valid key names are given as input.
13657         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13658         likewise.
13659         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13660         Added explicit test for errors in the GConf backend.
13661         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13662         Added javadoc comments for all native methods.
13663         (nodeExist): removed test to check for valid absolute path name
13664         for nodes.
13665         (startWatchingNode): likewise.
13666         (stopWatchingNode): likewise.
13667         (setString): likewise, plus fixed javadoc comments.
13668         (unset): likekwise.
13669         (getKey): likewise.
13670         (getKeys): likewise, also fixed javadoc comments.
13671         (getChildrenNodes): likewise.
13672         * gnu/java/util/prefs/GConfBasedPreferences.java:
13673         changed DEFAULT_USER_ROOT to /apps/classpath.
13674         (constructor): Test to check for a valid absolute path for nodes
13675         is now in the contructor for that node, instead of being on
13676         each method of the backend.
13677         (getGConfKey): removed empty new line.
13679 2006-07-08  Mark Wielaard  <mark@klomp.org>
13681         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13683 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13685         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13686         Handle the forced break in the same way as exceeding the
13687         available row space.
13688         * javax/swing/text/html/HRuleView.java: Rewritten.
13689         * javax/swing/text/html/HTMLDocument.java 
13690         (HTMLReader.addSpecialElement):Reserve two characters for
13691         the special elements.
13692         * examples/gnu/classpath/examples/swing/HtmlDemo.java
13693         (text): Extended the HTML example to parse.
13695 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13697         * javax/swing/AbstractButton.java
13698         (setHorizontalAlignment): Check for illegal argument,
13699         (setVerticalAlignment): Likewise.
13701 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13703         * javax/swing/text/html/TableView.java
13704         (getStyleSheet): New method. (RowView.getStyleSheet):
13705         New method.
13707 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13709         * javax/swing/AbstractButton.java
13710         (setRolloverIcon): Call setRolloverEnabled(true),
13711         (setRolloverSelectedIcon): Likewise.
13713 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13715         * javax/swing/border/TitledBorder.java
13716         (setTitlePosition): Added message to exception,
13717         (setTitleJustification): Likewise.
13719 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13721         * javax/swing/plaf/metal/MetalLookAndFeel.java
13722         (createDefaultTheme): Corrected API docs,
13723         (initComponentDefaults): Added entry for 'TitledBorder.border',
13724         (getCurrentTheme): Initialise theme if it is null.
13726 2006-07-07  Roman Kennke  <kennke@aicas.com>
13728         * java/awt/Component.java
13729         (isValid): Return false when component has no peer,
13730         don't query the showing state.
13732 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13734         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13735         Advance the offset also in the case of the enforced break.
13737 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13739         * javax/swing/plaf/basic/BasicArrowButton.java
13740         (MAXIMUM_SIZE): Removed field,
13741         (MINIMUM_SIZE): Likewise,
13742         (PREFERRED_SIZE): Likewise,
13743         (getMaximumSize): Return new instance every time,
13744         (getMinimumSize): Likewise,
13745         (getPreferredSize): Likewise.
13747 2006-07-07  Roman Kennke  <kennke@aicas.com>
13749         * java/awt/LightweightDispatcher.java
13750         (findTarget):  Avoid array copying in
13751         Container.getComponents().
13753 2006-07-07  Roman Kennke  <kennke@aicas.com>
13755         * javax/swing/JComponent.java
13756         (paintChildrenWithOverlap): Avoid array copying in
13757         Container.getComponents().
13758         (paintChildrenOptimized): Avoid array copying in
13759         Container.getComponents().
13760         (fireAncestorEvent):  Avoid array copying in
13761         Container.getComponents().
13762         (findOverlapFreeParent): Avoid array copying in
13763         Container.getComponents().
13765 2006-07-07  Matt Wringe <mwringe@redhat.com>
13767         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13768         (passwordValid): New field.
13769         (setPassword): New method.
13770         (setSalt): Likewise.
13771         (setIterationCount): Likewise.
13772         (setKeyLength): Likewise.
13773         (PBEKeySpec(char[])): Use new setter methods.
13774         (PBEKeySpec(char[], byte[], int)): Likewise.
13775         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13776         (clearPassword): Set passwordValid to false.
13777         (getPassword): Check that clearPassword() was not called earlier.
13778         Return a clone of the password.
13779         (getSalt): Return a clone of the salt if it was not null.
13781 2006-07-07  Roman Kennke  <kennke@aicas.com>
13783         * java/awt/Component.java
13784         (isValid): Always return false when component is
13785         not showing.
13786         (setFont): Always set font, even when setting
13787         the same or equal font again.
13789 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13791         * javax/swing/plaf/metal/MetalIconFactory.java
13792         (CheckBoxMenuItemIcon): Implement UIResource,
13793         (FileChooserDetailViewIcon): Likewise,
13794         (FileChooserHomeFolderIcon): Likewise,
13795         (FileChooserListViewIcon): Likewise,
13796         (FileChooserNewFolderIcon): Likewise,
13797         (FileChooserUpFolderIcon): Removed redundant 'implements',
13798         (RadioButtonMenuItemIcon): Implement UIResource,
13799         (HorizontalSliderThumbIcon): Likewise,
13800         (InternalFrameCloseIcon): Likewise,
13801         (InternalFrameDefaultMenuIcon): Likewise,
13802         (InternalFrameAltMaximizeIcon): Likewise,
13803         (InternalFrameMaximizeIcon): Likewise,
13804         (InternalFrameMinimizeIcon): Likewise,
13805         (VerticalSliderThumbIcon): Likewise,
13806         (TreeHardDriveIcon): Likewise,
13807         (TreeFloppyDriveIcon): Likewise,
13808         (TreeComputerIcon): Likewise,
13809         (horizontalSliderThumbIcon): New field,
13810         (verticalSliderThumbIcon): New field,
13811         (getHorizontalSliderThumbIcon): Cache icon,
13812         (getVerticalSliderThumbIcon): Likewise.
13814 2006-07-06  Mark Wielaard  <mark@klomp.org>
13816         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13817         (DISTCLEANFILES): Add standard.omit.
13818         (clean-local): Remove Makefile.deps, only remove dirs.
13820 2006-07-06  Roman Kennke  <kennke@aicas.com>
13822         * java/awt/Component.java
13823         (setFont): Only invalidate when component is valid.
13824         * java/awt/Container.java
13825         (setLayout): Only invalidate when component is valid.
13827 2006-07-06  Lillian Angel  <langel@redhat.com>
13829         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13830         New class not fully implemented.
13831         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13832         New class not fully implemented.
13833         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13834         New class not fully implemented.
13835         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13836         New class not fully implemented.
13837         * nu/java/awt/peer/gtk/GtkToolkit.java:
13838         Fixed Imports.
13839         (createDragSourceContextPeer): Implemented.
13840         (createDragGestureRecognizer): New function to override
13841         java.awt.Toolkit.createDragGestureRecognizer.
13842         * java/awt/dnd/DragSource.java
13843         (NoDragGestureRecognizer): Removed inner class.
13844         (createDragGestureRecognizer): Re-Implemented to 
13845         call Toolkit's createDragGestureRecognizer.
13846         (createDefaultDragGestureRecognizer): Re-Implemented to
13847         call Toolkit's createDragGestureRecognizer.
13848         * java/awt/dnd/DropTarget.java
13849         (addNotify): Added check to determine type of peer and call
13850         addDropTarget.
13851         (removeNotify): Added call to removeDropTarget.
13853 2006-07-06  Tom Tromey  <tromey@redhat.com>
13855         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13856         'queue'.
13857         (run): Wait on queue, not 'this'.
13859 2006-07-06  Lillian Angel  <langel@redhat.com>
13861         * java/awt/dnd/DragSource.java
13862         (startDrag): Implemented. Added comments describing
13863         what the function should do. Removed FIXME.
13865 2006-07-06  Tania Bento  <tbento@redhat.com>
13866         
13867         * gnu/java/awt/Canvas.java
13868         Added new private variable 'next_canvas_number'.
13869         (generateName): Added.
13870         (getUniqueLong): Added.
13872 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13874         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13875         (getColor): Made public.
13876         * javax/swing/text/html/StyleSheet.java (stringToColor):
13877         Use CharacterAttributeTranslator.getColor(String)
13879 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13881         * javax/swing/text/html/HTMLEditorKit.java:
13882         (HTMLFactory.createElement): Update reference to the html table view.
13883         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13884         * javax/swing/text/html/TableView.java: New file.
13886 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13888         * javax/swing/text/html/HTMLEditorKit.java: 
13889         (HTMLFactory.createElement): Uncomment
13890         code for BRView and HRuleView.
13891         * javax/swing/text/html/BRView.java,
13892         javax/swing/text/html/HRuleView.java: New files.
13894 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13896         * java/lang/Thread.java:
13897         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13898         Added generic type signature.
13900 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13902         * NEWS: Updated.
13903         * doc/vmintegration.texinfo: Likewise.
13904         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13905         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13906         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13907         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13908         * java/lang/management/GarbageCollectorMXBean.java:
13909         New files.
13910         * java/lang/management/ManagementFactory.java:
13911         (getGarbageCollectorMXBeans()): Implemented.
13912         (getMemoryManagerMXBeans()): Likewise.
13913         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13914         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13915         New files.
13916         * vm/reference/java/lang/management/VMManagementFactory.java:
13917         (getMemoryManagerNames()): Added.
13918         (getGarbageCollectorNames()): Added.
13919         
13920 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13922         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13923         from lib_LTLIBRARIES.
13924         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13926 2006-07-05  Lillian Angel  <langel@redhat.com>
13928         * java/awt/dnd/DragGestureEvent.java:
13929         Added new fields.
13930         (DragGestureEvent): Initialized new fields, added to check and 
13931         added documentation.
13932         (getSourceAsDragGestureRecognizer): Added documentation and 
13933         changed to use getSource.
13934         (getComponent): Added documentation and fixed to return the proper
13935         value.
13936         (getDragSource): Likewise.
13937         (getDragOrigin): Added documentation.
13938         (iterator): Implemented and added documentation.
13939         (toArray): Likewise.
13940         (toArray): Likewise.
13941         (getDragAction): Likewise.
13942         (getTriggerEvent): Likewise.
13943         (startDrag): Likewise.
13944         * java/awt/dnd/DragGestureRecognizer.java
13945         (resetRecognizer): Added FIXME.
13946         * java/awt/dnd/DragSource.java:
13947         Added new field.
13948         (DragSource): Set ds to be null if headless.
13949         (getDefaultDragSource): Added documentation and implemented.
13950         (isDragImageSupported): Marked as unimplemented.
13951         (startDrag): Likewise.
13952         (createDragSourceContext): Implemented.
13953         (NoDragGestureRecognizer): Formatted inner class.
13954         * java/awt/dnd/DropTarget.java
13955         (stop): Marked as unimplemented.
13956         (actionPerformed): Likewise.
13957         (addDropTargetListener): Added code to throw exception.
13958         (removeDropTargetListener): Added check, removed FIXME.
13959         (dragEnter): Implemented.
13960         (dragOver): Implemented.
13961         (dropActionChanged): Implemented.
13962         (dragExit): Implemented.
13963         (drop): Implemented.
13964         (addNotify): Implemented.
13965         (removeNotify): Implemented.
13966         (createDropTargetContext): Implemented.
13967         (createDropTargetAutoScroller): Implemented.
13968         (initializeAutoscrolling): Implemented.
13969         (updateAutoscroll): Implemented.
13970         (clearAutoscroll): Implemented.
13971         * java/awt/dnd/DropTargetContext.java
13972         (dropComplete): Implemented.
13973         (acceptDrag): Implemented.
13974         (rejectDrag): Implemented.
13975         (acceptDrop): Implemented.
13976         (rejectDrop): Implemented.
13977         (getCurrentDataFlavors): Implemented.
13978         (getTransferable): Partially implemented.
13979         * java/awt/dnd/DropTargetDragEvent.java
13980         (getDropAction): Uncommented correct code.
13981         * java/awt/dnd/DropTargetDropEvent.java
13982         (dropComplete) :Implemented.
13983         * java/awt/dnd/InvalidDnDOperationException.java
13984         (InvalidDnDOperationException): Added call to super.
13986 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13988         * javax/swing/plaf/basic/BasicArrowButton.java:
13989         (paint): Removed getBounds() call, changed center point
13990         calculation.
13992 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13994         * javax/swing/InputMap.java
13995         (inputMap): Don't initialize yet,
13996         (InputMap): Removed TODO,
13997         (get): Check for null inputMap,
13998         (put): Return immediately for null keyStroke, check for null inputMap
13999         and initialize if necessary,
14000         (remove): Check for null inputMap,
14001         (size): Likewise,
14002         (clear): Likewise,
14003         (keys): Likewise,
14004         (allKeys): Likewise,
14005         (writeObject): Removed,
14006         (readObject): Removed.
14008 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
14010         * gnu/classpath/examples/swing/TabbedPaneDemo.java
14011         (createContent): Use different labels for buttons.
14013 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14015         * NEWS: Updated.
14016         * doc/vmintegration.texinfo: Likewise.
14017         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
14018         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
14019         New files.
14020         * java/lang/management/ManagementFactory.java:
14021         (getMemoryPoolMXBeans()): Implemented.
14022         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
14023         * vm/reference/java/lang/management/VMManagementFactory.java:
14024         New files.
14025         
14026 2006-07-04  Lillian Angel  <langel@redhat.com>
14028         * java/awt/dnd/DragSourceContext.java:
14029         Removed FIXMEs from fields.
14030         (DragSourceContext): Added code to initialize cursor and sourceActions.
14031         (getDragSource): Added documentation.
14032         (getComponent): Likewise.
14033         (getTrigger): Likewise.
14034         (getSourceActions): Added documentation and implemented.
14035         (setCursor): Implemented. Added documentation.
14036         (getCursor): Implemented. Added documentation.
14037         (dragEnter): Added code to notify DragSource's listeners.
14038         (dragOver): Likewise.
14039         (dragExit): Likewise.
14040         (dropActionChanged): Likewise.
14041         (dragDropEnd): Likewise.
14042         (dragMouseMoved): Implemented.
14043         (getTransferable): Added API documentation.
14044         (updateCurrentCursor): Added API documentation and partially implemented.
14046 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14048         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
14050 2006-07-04  Lillian Angel  <langel@redhat.com>
14052         * java/awt/dnd/DragSourceContext.java
14053         (DragSourceContext): Implemented fully. Fixed API docs.
14054         (transferablesFlavorsChanged): Implemented.
14055         (dragEnter): Implemented.
14056         (dragOver): Implemented.
14057         (dragExit): Implemented.
14058         (dropActionChanged): Implemented.
14059         (dragDropEnd): Implemented.
14061 2006-07-04  Lillian Angel  <langel@redhat.com>
14063         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
14064         Fixed name of constant.
14065         (getIconWidth): Changed name of constant returned.
14066         (getIconHeight): Likewise.
14067         (paint): Likewise.
14068         (createSeparator): Marked as unimplemented.
14069         * javax/swing/plaf/basic/BasicTableUI.java
14070         (focusGained): Marked as unimplemented.
14071         (focusLost): Marked as unimplemented.
14072         (mouseEntered): Likewise.
14073         (mouseMoved): Likewise.
14074         (uninstallDefaults): Likewise.
14075         * javax/swing/plaf/basic/BasicToolBarUI.java
14076         (mouseClicked): Changed comment.
14077         (mouseEntered): Likewise.
14078         (mouseExited): Likewise.
14079         (mouseMoved): Likewise.
14080         (setOrientation): Implemented.
14081         (ToolBarFocusListener): Marked as unimplemented.
14082         (focusGained): Marked as unimplemented.
14083         (focusLost): Marked as unimplemented.
14085 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14087         PR 28061
14088         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
14089         Mind the effect of the root visibility on the position of the control.
14090         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
14091         vertical line over first level nodes.
14093 2006-07-04  Lillian Angel  <langel@redhat.com>
14095         * javax/swing/plaf/basic/BasicMenuUI.java
14096         (installKeyboardActions): Implemented to call super. Nothing else
14097         needs to be done here.
14098         (setupPostTimer): Marked as unimplemented.
14099         (uninstallKeyboardActions): Implemented to call super. Nothing else
14100         needs to be done here.
14101         (mouseMoved): Removed TODO. Nothing to be done here.
14102         (ChangeHandler): Implemented.
14103         (menuDragMouseExited): Removed TODO. Nothing to be done here.
14104         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
14105         (menuKeyReleased): Removed TODO. Nothing to be done here.
14106         (menuKeyTyped): Marked as unimplemented.
14108 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14110         PR 28061
14111         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
14112         (getDefaults): Set hash color to black.
14113         * javax/swing/plaf/basic/BasicLookAndFeel.java
14114         (initComponentDefaults): Set hash color to grey blue.
14115         * javax/swing/plaf/basic/BasicTreeUI.java
14116         (instellDefaults): Set hash color.
14117         * javax/swing/plaf/metal/MetalIconFactory.java
14118         (TreeControlIcon.paint): Rewritten.
14120 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14122         PR 28061
14123         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
14124         Always cancel the current editing session before doing anything else,
14125         return immediately if this fails.
14126         (TreeHomeAction): Ensure that the lead selection path is visible after
14127         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
14128         Likewise. TreeTraverseAction: Likewise.
14130 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14132         PR 28061
14133         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
14134         Returned back the code to handle the start of the click-pause-click
14135         editing initiation, explained about this code. 
14136         (TreeStartEditingAction): New inner class.
14137         (stopEditingInCompleteEditing): Explained about this field.
14138         (completeEditing(boolean, boolean, boolean): Only return early
14139         if there is no current editing session.
14140         (createDefaultActions): Install TreeStartEditingAction and
14141         TreeCancelEditingAction.
14143 2006-07-04  Mario Torre  <neugens@limasoftware.net>
14145         * configure.ac: Added new option --enable-default-preferences-peer
14146         to pass user specified default preference backend.
14147         If the GConf peer is built, GConf become the default backend.
14148         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
14149         new file. 
14150         * lib/Makefile.am: excludes files terminating in 'in' from
14151         the metafiles list.
14152         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
14153         from copy into META-INF.
14154         * java/util/prefs/Preferences.java: added two new import
14155         classes gnu.classpath.ServiceFactory and java.util.Iterator.
14156         (getFactory): Now try to check for
14157         a system defined default preference backend before to fall back on
14158         FileBasedPreference.
14160 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
14162         PR 28061
14163         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
14164         (EXPANDED): Initialise to Boolean.TRUE.
14165         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
14166         First configure layout cache and then set the assigned value 
14167         as row mapper. Set the root visibility property.
14168         (toggleExpandState): Obtains expansion state from the layout cache.
14170 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14172         * java/lang/management/MemoryPoolMXBean.java:
14173         New file.
14174         
14175 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
14177         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
14179 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
14181         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
14182         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
14183         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
14184         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
14185         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
14186         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
14187         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
14188         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
14189         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
14190         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
14191         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
14192         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
14193         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
14194         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
14195         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
14196         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
14197         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
14198         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
14199         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
14200         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
14201         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
14202         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
14203         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
14204         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14205         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
14206         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14207         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
14208         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
14209         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
14210         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
14211         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
14212         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
14213         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
14214         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
14215         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
14216         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
14217         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
14218         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
14219         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
14220         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
14221         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
14222         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14223         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14224         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
14225         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
14226         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
14227         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
14229 2006-07-02  Anthony Green  <green@redhat.com>
14231         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
14232         sure that every track written ends with an End Of Track meta
14233         message.
14235 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14237         * java/lang/management/MemoryUsage.java:
14238         (toString()): Fix missing MB for maximum memory usage.
14239         
14240 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14242         * NEWS:
14243         Updated to include VMCompilationMXBeanImpl.
14244         * doc/vmintegration.texinfo:
14245         Likewise, along with update to VMMemoryMXBeanImpl
14246         as below.
14247         * examples/gnu/classpath/examples/management/TestCompilation.java,
14248         * gnu/java/lang/management/CompilationMXBeanImpl.java,
14249         * java/lang/management/CompilationMXBeanImpl.java:
14250         New files.
14251         * java/lang/management/ManagementFactory.java:
14252         (getCompilationMXBean()): Implemented.
14253         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
14254         New file.
14255         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
14256         (getHeapMemoryUsage()): Added default implementation.   
14257         
14258 2006-07-02  Anthony Green  <green@redhat.com>
14260         * NEWS: Mention MIDI file reader/writer providers.
14262 2006-07-02  Anthony Green  <green@redhat.com>
14264         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
14265         gnu/javax/sound/midi/file/MidiFileWriter.java,
14266         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
14268 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14270         * NEWS:
14271         Updated to include VMMemoryMXBeanImpl.
14272         * doc/vmintegration.texinfo: Likewise.
14273         * examples/gnu/classpath/examples/management/TestMemory.java:
14274         New file.
14275         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
14276         Remove redundant import.
14277         * gnu/java/lang/management/MemoryMXBeanImpl.java:
14278         New file.
14279         * gnu/java/lang/management/ThreadMXBeanImpl.java:
14280         Remove redundant import.
14281         * java/lang/management/ManagementFactory.java:
14282         (getMemoryMXBean()): Implemented.
14283         * java/lang/management/MemoryMXBean.java,
14284         * java/lang/management/MemoryUsage.java:
14285         New files.
14286         * java/lang/management/ThreadInfo.java:
14287         (toString()): Updated documentation.
14288         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
14289         New file.
14290         
14291 2006-07-01  Anthony Green  <green@redhat.com>
14293         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
14294         gnu/javax/sound/midi/file/MidiFileReader.java,
14295         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
14296         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
14298 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
14300         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
14301         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14302         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
14303         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
14304         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
14305         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
14306         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
14308 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
14310         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
14311         * gnu/javax/crypto/pad/IPad.java: Likewise.
14312         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
14313         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14314         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14315         * gnu/javax/crypto/pad/SSL3.java: Likewise.
14316         * gnu/javax/crypto/pad/TBC.java: Likewise.
14317         * gnu/javax/crypto/pad/TLS1.java: Likewise.
14318         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
14320 2006-07-01  Anthony Green  <green@redhat.com>
14322         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
14323         status byte test.
14324         (setMessage): Fix it again, in a different setMessage method.
14326 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
14328         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
14329         * gnu/javax/crypto/mode/CBC.java: Likewise.
14330         * gnu/javax/crypto/mode/CFB.java: Likewise.
14331         * gnu/javax/crypto/mode/CTR.java: Likewise.
14332         * gnu/javax/crypto/mode/EAX.java: Likewise.
14333         * gnu/javax/crypto/mode/ECB.java: Likewise.
14334         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
14335         * gnu/javax/crypto/mode/ICM.java: Likewise.
14336         * gnu/javax/crypto/mode/IMode.java: Likewise.
14337         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
14338         * gnu/javax/crypto/mode/OFB.java: Likewise.
14340 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
14342         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
14343         * gnu/javax/crypto/mac/HMac.java: Likewise.
14344         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
14345         * gnu/javax/crypto/mac/IMac.java: Likewise.
14346         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
14347         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
14348         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
14349         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14350         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
14351         * gnu/javax/crypto/mac/UHash32.java: Likewise.
14352         * gnu/javax/crypto/mac/UMac32.java: Likewise.
14354 2006-07-01  Anthony Green  <green@redhat.com>
14356         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
14358 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
14360         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
14361         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
14362         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
14363         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
14364         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
14365         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
14366         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
14367         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14368         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14369         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14370         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14371         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
14372         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
14373         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
14374         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
14375         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
14376         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
14377         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14378         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14379         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
14380         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
14381         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
14382         * gnu/javax/crypto/keyring/Properties.java: Likewise.
14383         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
14385 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
14387         * javax/swing/AbstractCellEditor.java: Source code formatting,
14388         * javax/swing/AbstractSpinnerModel.java: Likewise,
14389         * javax/swing/Box.java: Likewise,
14390         * javax/swing/BoxLayout.java: Likewise,
14391         * javax/swing/DefaultListModel.java: Likewise,
14392         * javax/swing/GrayFilter.java: Likewise,
14393         * javax/swing/LookAndFeel.java: Likewise,
14394         * javax/swing/ProgressMonitor.java: Likewise,
14395         * javax/swing/ProgressMonitorInputStream.java: Likewise,
14396         * javax/swing/ScrollPaneLayout.java: Likewise,
14397         * javax/swing/SpringLayout.java: Likewise,
14398         * javax/swing/event/EventListenerList.java: Likewise,
14399         * javax/swing/event/MenuEvent.java: Likewise,
14400         * javax/swing/event/TreeExpansionListener.java: Likewise.
14402 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14404         * NEWS:
14405         Mention threading bean and getState().
14406         * doc/vmintegration.texinfo:
14407         Update documentation for threading bean and new
14408         method of VMThread.
14409         
14410 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14411         
14412         * examples/gnu/classpath/examples/management/TestClassLoading.java,
14413         * examples/gnu/classpath/examples/management/TestOS.java,
14414         * examples/gnu/classpath/examples/management/TestRuntime.java,
14415         * examples/gnu/classpath/examples/management/TestThread.java:
14416         New files.
14417         
14418 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
14420         * java/lang/ThreadGroup.java
14421         (getThreadFromId, getThreadFromIdImpl): New methods.
14423 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
14425         * java/lang/Thread.java:
14426         Make thread IDs start from 1 in a more efficient way.
14428 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14430         * java/lang/Thread.java:
14431         Make thread IDs start from 1.
14432         
14433 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14435         * gnu/java/lang/management/BeanImpl.java:
14436         New superclass for all bean implementations.
14437         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
14438         Extend BeanImpl and call permission code there.
14439         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
14440         Extend BeanImpl.
14441         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14442         Extend BeanImpl and call permission code there.
14443         * gnu/java/lang/management/ThreadMXBeanImpl.java:
14444         New file.
14445         * java/lang/management/ManagementFactory.java:
14446         (getThreadMXBean()): Implemented.
14447         * java/lang/management/ThreadInfo.java:
14448         (ThreadInfo(Thread,int)): Replaced...
14449         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
14450         boolean, boolean, StackTraceElement[])): with this.
14451         (getBlockedCount()): Refactored to use local variables.
14452         (getBlockedTime()): Likewise.
14453         (getLockName()): Likewise.
14454         (getLockOwnerId()): Likewise.
14455         (getLockOwnerName()): Likewise.
14456         (getStackTrace()): Likewise.
14457         (getWaitedCount()): Likewise.
14458         (getWaitedTime()): Likewise.
14459         (isInNative()): Likewise.
14460         (isSuspended()): Likewise.
14461         (toString()): Changed to use new local variables.
14462         * java/lang/management/ThreadMXBean.java:
14463         (getThreadInfo(long, int)): Corrected documentation.
14464         (getThreadInfo(long[], int)): Likewise.
14465         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
14466         New file.
14467         * vm/reference/java/lang/management/VMThreadInfo.java:
14468         Removed.
14470 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
14472         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
14473         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
14474         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
14475         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
14476         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
14477         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
14478         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
14479         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
14480         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14481         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
14482         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
14483         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
14484         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
14485         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
14486         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
14487         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
14488         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
14489         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
14490         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
14491         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
14492         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
14493         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14494         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
14495         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
14496         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
14497         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
14498         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
14499         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
14500         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
14501         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
14502         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
14503         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
14505 2006-07-01  Roman Kennke  <kennke@aicas.com>
14507         * gnu/java/awt/java2d/AbstractGraphics2D.java
14508         (transform): Make field protected.
14509         (getDestinationRaster): Provide default implementation for
14510         previously abstract method.
14512 2006-06-30  Tania Bento  <tbento@redhat.com>
14514         * java/awt/TextArea.java
14515         (TextArea(String, int, int, int)): No longer throws
14516         IllegalArgumentException if rows, columns, or scrollbarVisibility 
14517         values are invalid.  
14518         (TextArea(String, int, int, int)): If rows or columns are < 0, 
14519         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
14520         gets set to the default value of 0 (SCROLLBARS_BOTH).
14521          (appendText): Added case when peer = null.
14522         (insertText): Added case when peer == null.
14523         (replaceText): Added case when peer == null.
14524         * java/awt/TextComponent.java
14525         (TextComponent(String)): If text == null, set it to "".
14527 2006-06-30  Lillian Angel  <langel@redhat.com>
14529         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14530         (create): Added synchronized block around groupMap.get calls.
14531         (setCheckboxGroup): Likewise.
14533 2006-06-30  Lillian Angel  <langel@redhat.com>
14535         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14536         (create): Changed to be non-synchronized.
14537         (setLabel): Likewise.
14538         (setCheckboxGroup): Likewise.
14539         (addToGroupMap): Likewise. Added synchronized block around
14540         code.
14541         (dispose): Changed to be non-synchronized.
14543 2006-06-30  Lillian Angel  <langel@redhat.com>
14545         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14546         Changed all return values of native functions to void.
14547         (create): Changed function to be synchronized. Removed
14548         call to put value in groupMap, this is now done from 
14549         the native code.
14550         (setState): Changed function to be synchronized.
14551         (setLabel): Changed function to be synchronized.
14552         (setCheckboxGroup): Changed function to be synchronized. Removed
14553         call to put value in groupMap, this is now done from
14554         the native code.
14555         (postItemEvent): Changed function to be synchronized.
14556         (addToGroupMap): New function. Called by native code to add
14557         new value to the group.
14558         (dispose): Changed function to be synchronized.
14559         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
14560         all functions.
14561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14562         (cp_gtk_checkbox_init_jni): Added code to link to 
14563         java function.
14564         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
14565         Changed return value to void. Added call
14566         to java function to set pointer in groupMap.
14567         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
14568         changed check to an assert. Also, removed call to set/del pointer.
14569         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
14570         Likewise. Also, added check to determine if native_group should be 
14571         set to NULL.
14572         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
14574 2006-06-30  Sven de Marothy  <sven@physto.se>
14576         * gnu/java/awt/ClasspathToolkit.java,
14577         * gnu/java/awt/peer/x/XToolkit.java,
14578         * gnu/java/awt/peer/qt/QtToolkit.java,
14579         * gnu/java/awt/peer/gtk/GtkToolkit.java,
14580         Remove ClasspathTextLayoutPeer.
14581         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
14582         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
14583         Files removed.
14584         
14585 2006-06-30  Sven de Marothy  <sven@physto.se>
14587         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
14588         (drawGlyphVector): Don't draw empty vectors.
14590 2006-06-30  Lillian Angel  <langel@redhat.com>
14591             Tom Fitzsimmons <fitzsim@redhat.com>
14593         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
14594         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14595         Added current_group, groupMap fields. Added definitions for
14596         new native functions.
14597         (create): Removed FIXME. Added code to create the check button or
14598         radio button when appropriate. Updated groupMap to contain
14599         pointer to the newly created group.
14600         (setCheckboxGroup): Added code to handle all cases. Removing
14601         a button from a group, adding a button to a group, or changing the
14602         group of a button.
14603         (dispose): Changed to call super.
14604         * include/Makefile.am: Removed reference to 
14605         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14606         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14607         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14608         for new functions.
14609         * native/jni/gtk-peer/Makefile.am: Removed reference to 
14610         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14611         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14612         Removed file.
14613         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14614         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
14615         Renamed to checkbox_get_widget.
14616         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
14617         Changed to use checkbox_get_widget.
14618         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
14619         Removed.
14620         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14621         Changed to use checkbox_get_widget.
14622         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14623         Likewise.
14624         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14625         New function. Creates checkbutton without a group.
14626         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14627         Creates a radio button in a group, using groupPointer. If groupPointer
14628         is 0, then a new group is created.
14629         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14630         check button to a group, using groupPointer. A radio button is created
14631         in its place. If groupPointer is 0, then a new group is created.
14632         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14633         radio button is removed from the group. A check button is created in 
14634         its place.
14635         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14636         radio button is moved to a new group.
14638 2006-06-30  Mark Wielaard  <mark@klomp.org>
14640         * configure.ac: Move standard.omit creation after dirs are created.
14641         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14642         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14643         (clean-local): Remove standard.omit.
14644         * lib/gen-classlist.sh.in: Use omit file in build dir.
14645         * lib/standard.omit.in: Make exclude regex more explicit.
14647 2006-06-30  Roman Kennke  <kennke@aicas.com>
14649         * lib/Makefile.am: Added Escher dir/jar to classpath when
14650         requested.
14651         * configure.ac: Moved handling of standard.omit to a place
14652         where it actually gets executed.
14654 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
14656         * java/awt/TextComponent.java: Reformatted source code,
14657         * java/awt/TextField.java: Likewise.
14659 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
14661         * java/lang/Thread.java:
14662         (getState()): Handle case of no VMThread
14663         correctly.
14665 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14667         * java/lang/Thread.java,
14668         * java/lang/VMThread.java:
14669         Reverted patch from 2006-06-28.
14670         
14671 2006-06-29  Roman Kennke  <kennke@aicas.com>
14673         * gnu/java/awt/peer/x/GLGraphics.java,
14674         * gnu/java/awt/peer/x/ImageConverter.java,
14675         * gnu/java/awt/peer/x/KeyboardMapping.java,
14676         * gnu/java/awt/peer/x/XEventPump.java,
14677         * gnu/java/awt/peer/x/XFontPeer.java,
14678         * gnu/java/awt/peer/x/XFontPeer2.java,
14679         * gnu/java/awt/peer/x/XFramePeer.java,
14680         * gnu/java/awt/peer/x/XGraphics.java,
14681         * gnu/java/awt/peer/x/XGraphics2D.java,
14682         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14683         * gnu/java/awt/peer/x/XGraphicsDevice.java,
14684         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14685         * gnu/java/awt/peer/x/XImage.java,
14686         * gnu/java/awt/peer/x/XLightweightPeer.java,
14687         * gnu/java/awt/peer/x/XToolkit.java,
14688         * gnu/java/awt/peer/x/XWindowPeer.java,
14689         * gnu/java/awt/peer/x/fonts.properties: New files.
14690         * lib/standard.omit: Removed.
14691         * lib/standard.omit.in: Added.
14692         * configure.ac: Added configure option --with-escher. Added some
14693         configury for omitting gnu.java.awt.peer.x package when
14694         this option is not specified.
14696 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
14698         * javax/swing/JComponent.java
14699         (JComponent()): Initialize the locale here, not the default locale,
14700         (getDefaultLocale): If null, return Locale.getDefault(),
14701         (setDefaultLocale): Added API docs.
14703 2006-06-29  Tania Bento  <tbento@redhat.com>
14705         * java/awt/Container.java
14706         (applyComponentOrientation): Implemented method.
14708 2006-06-29  Gary Benson  <gbenson@redhat.com>
14710         * java/io/File.java (listRoots): Merge security checks from libgcj.
14712 2006-06-29  Gary Benson  <gbenson@redhat.com>
14714         * java/io/FilePermission.java (implies): Work when path is "/".
14716 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14718         * java/lang/Thread.java:
14719         (Thread(ThreadGroup,Runnable,String,long)): Update
14720         state.
14721         (Thread(VMThread,String,int,boolean)): Likewise.
14722         (join(long,int)): Likewise.
14723         (resume()): Likewise.
14724         (sleep(long,int)): Likewise.
14725         (start()): Likewise.
14726         (stop()): Likewise.
14727         (suspend()): Likewise.
14728         (die()): Likewise.
14729         (getState()): Return either state or use VMThread.
14730         * java/lang/VMThread.java:
14731         (getState()): Added default implementation to return
14732         thread.state
14733         
14734 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
14736         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14737         GdkPixbuf correctly on big endian systems. Fix a typo in the little
14738         endian swapping code.
14740         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14741         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14742         without alpha information correctly on big endian systems.
14744 2006-06-28  Roman Kennke  <kennke@aicas.com>
14746         * gnu/java/net/local/LocalSocket.java
14747         (setSoTimeout): Don't throw exception and ignore request.
14748         (getSoTimeout): Don't throw exception and always return 0.
14750 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14752         * javax/swing/JComponent.java
14753         (getRegisteredKeyStrokes): Implemented.
14755 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14757         * javax/swing/JComponent.java
14758         (verifyInputWhenFocusTarget): Initialise to true.
14760 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14762         * java/beans/VetoableChangeSupport.java
14763         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14764         null listener,
14765         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14766         for null property name and/or listener,
14767         * javax/swing/JComponent.java
14768         (getListeners): Handle VetoableChangeListener.class as a special case,
14769         (getVetoableChangeListeners): Fetch these from the 
14770         vetoableChangeSupport object.
14772 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14774         * javax/swing/JComponent.java
14775         (componentPopupMenu): New field,
14776         (inheritsPopupMenu): New field,
14777         (getInheritsPopupMenu): Implemented,
14778         (setInheritsPopupMenu): Likewise,
14779         (getComponentPopupMenu): Likewise,
14780         (setComponentPopupMenu): Likewise,
14781         * javax/swing/JLabel.java
14782         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14784 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14786         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14787         (toString): New method.
14788         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14789         (toString): New method.
14790         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14791         (toString): New method.
14792         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14793         Handle case when Q is null.
14794         (decodePrivateKey): Likewise.
14795         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14796         Likewise.
14797         (decodePublicKey): Likewise.
14798         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14799         aliases for all block ciphers.
14800         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14801         (engineDoPhase): Compute fully the shared secret.
14802         (checkState): New method.
14803         (reset): Likewise.
14804         (engineGenerateSecret()): Reset key-agreement before returning.
14805         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14806         Reset key-agreement before returning.
14807         (engineGenerateSecret(String)): Reset key-agreement before returning.
14808         (engineInit(Key,SecureRandom)): Call reset() before returning.
14809         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14810         (engineInit): Replace printing to System.out with conditional logging.
14811         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14812         When the key-size is not specified, attempt best effort to find a suitable
14813         value among those advertised by the cipher before setting it to the length
14814         of provided key material.
14816 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14818         * javax/swing/table/DefaultTableColumnModel.java
14819         (changeEvent): Don't initialize yet, removed FIXME,
14820         (fireColumnModelChanged): Initialize changeEvent if necessary.
14822 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14824         * java/lang/Thread.java:
14825         (getAllStackTraces()): Implemented.
14826         (getStackTrace()): Likewise.
14827         
14828 2006-06-27  Tania Bento  <tbento@redhat.com>
14830         * java/awt/Component.java
14831         (setComponentOrientation): NPE should not be thrown.
14833 2006-06-27  Tom Tromey  <tromey@redhat.com>
14835         * configure.ac: Create gjar, gnative2ascii, gserialver.
14836         * tools/gappletviewer.in: Quote $@.
14837         * tools/gkeytool.in: Likewise.
14838         * tools/gjarsigner.in: Likewise.
14839         * tools/gjar.in: New file.
14840         * tools/gnative2ascii.in: Likewise.
14841         * tools/gserialver.in: Likewise.
14842         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14843         gserialver.
14844         (bin_SCRIPTS): Likewise.
14846 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14848         * java/lang/management/ThreadMXBean.java:
14849         (getThreadInfo(long[])): Corrected return type.
14850         (getThreadInfo(long[], int)): Likewise.
14852 2006-06-27  Mark Wielaard  <mark@klomp.org>
14854         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14855         nothing when listener is null.
14856         (removeFlavorListener): Likewise.
14858         * java/awt/datatransfer/DataFlavor.java
14859         (getRepresentationClassFromMime): Renamed to
14860         getRepresentationClassFromMimeThrows.
14861         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14862         (isRepresentationClassSerializable): Likewise.
14863         (isFlavorJavaFileListType): Likewise and check primary and
14864         subtype.
14865         (getParameter): Parameters are separated by semi-colons.
14866         (DataFlavor(Class,String,String)): Do some sanity checks.
14867         (DataFlavor(String,String,ClassLoader)): Call
14868         getRepresentationClassFromMimeThrows.
14869         (DataFlavor(String)): Likewise.
14870         (equals(DataFlavor)): Special case primary type text and charset
14871         parameter.
14872         
14873 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14875         * java/awt/Component.java
14876         (setName): Fire required PropertyChangeEvent,
14877         * java/awt/Label.java
14878         (getText): Removed redundant brackets,
14879         (generateName): New method (override),
14880         (nextLabelNumber): New field,
14881         (getUniqueLong): New method.
14883 2006-06-27  Roman Kennke  <kennke@aicas.com>
14885         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14886         (createImage): Delegate this to the parent.
14887         (handleEvent): Only handle PAINT/UPDATE events when the
14888         component is actually showing.
14889         (hide): Repaint the parent after hiding a component.
14890         (prepareImage): Have only one return point.
14891         (setVisible): Delegate to show() and hide().
14892         (createVolatileImage): Added null check to avoid NPE.
14894 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14896         * java/awt/Label.java: Reformatted source code.
14898 2006-06-27  Roman Kennke  <kennke@aicas.com>
14900         * java/awt/image/BufferedImage.java
14901         (getSource): Use a fixed DirectColorModel to deliver the
14902         RGB pixels to the ImageConsumer.
14904 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14906         * java/awt/Point.java
14907         (setLocation(double, double)): Round to nearest integer coordinates.
14909 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14911         * java/awt/Component.java
14912         (minSizeSet): New field,
14913         (maxSize): Likewise,
14914         (maxSizeSet): Likewise,
14915         (isMaximumSizeSet): Implemented,
14916         (isMinimumSizeSet): Likewise,
14917         (isPreferredSizeSet): Likewise,
14918         (setMaximumSize): Likewise,
14919         (setMinimumSize): Likewise,
14920         (setPreferredSize): Likewise. 
14922 2006-06-27  Roman Kennke  <kennke@aicas.com>
14924         * javax/imageio/spi/IIORegistry.java
14925         (IIORegistry): Added BMP codec.
14927 2006-06-27  Mark Wielaard  <mark@klomp.org>
14929         * javax/swing/JComponent.java
14930         (firePropertyChange(String,char,char)): New override method.
14932 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14934         * java/lang/Thread.java:
14935         (getState()): New method.
14936         * java/lang/management/ClassLoadingMXBean.java:
14937         Corrected class documentation.
14938         * java/lang/management/ManagementFactory.java:
14939         Added new temporary marked stub to get thread bean.
14940         * java/lang/management/OperatingSystemMXBean.java:
14941         Corrected class documentation.
14942         * java/lang/management/RuntimeMXBean.java:
14943         Corrected class documentation.
14944         * java/lang/management/ThreadInfo.java,
14945         * java/lang/management/ThreadMXBean.java:
14946         New classes.
14947         * vm/reference/java/lang/VMThread.java:
14948         (getState()): New method.
14949         * vm/reference/java/lang/management/VMThreadInfo.java:
14950         New VM class.
14952 2006-06-26  Sven de Marothy  <sven@physto.se>
14954         * gnu/javax/imageio/gif/GIFFile.java
14955         * gnu/javax/imageio/gif/GIFImageReader.java
14956         * gnu/javax/imageio/gif/GIFImageSpi.java
14957         * gnu/javax/imageio/gif/GIFStream.java
14958         New files.
14959         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14961 2006-06-26  Tania Bento  <tbento@redhat.com>
14963         * java/awt/List.java
14964         (List): A list should have at least 4 visible rows.     
14965         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14966         not an IllegalArgumentException.
14967         (makeVisible): Should not throw an IllegalArgumentException if
14968         the specified index is out of range.
14970 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14972         * javax/swing/JList.java
14973         (getNextMatch): Reimplemented to perform a circular search for the 
14974         matching item.
14976 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14978         * javax/swing/JList.java
14979         (init): Set default value for visibleRowCount to 8,
14980         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14982 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14984         * javax/swing/JList.java
14985         (valueIsAdjusting): Removed,
14986         (init): Removed initialization of valueIsAdjusting field,
14987         (getValueIsAdjusting): Fetch value from selection model,
14988         (setValueIsAdjusting): Store value in selection model.
14990 2006-06-26  Roman Kennke  <kennke@aicas.com>
14992         * javax/swing/plaf/basic/BasicListUI.java
14993         (installKeyboardActions): Rewritten to fit with the
14994         ActionMap/InputMap architecture.
14995         (uninstallKeyboardActions): Implemented.
14996         (ListAction): Made private. Added TODO for splitting
14997         up this bulk Action.
14998         (ListAction.ListAction): New constructor. This one
14999         takes a cmd parameter to be installed as actionCommand.
15001 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
15003         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
15004         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
15006 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
15008         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
15009         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
15010         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
15011         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
15012         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
15013         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
15014         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
15015         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
15016         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15017         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15018         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
15019         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
15020         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
15021         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
15022         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
15023         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
15024         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
15025         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
15026         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
15027         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
15028         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
15029         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
15030         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
15031         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
15032         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
15033         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
15034         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
15035         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
15036         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
15037         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
15038         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
15039         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
15040         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
15041         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
15042         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
15043         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
15044         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
15045         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
15046         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
15047         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
15048         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
15049         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
15050         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
15051         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
15052         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15053         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
15054         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
15055         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
15056         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
15057         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
15058         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
15059         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
15060         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15061         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
15062         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
15063         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
15064         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
15065         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
15066         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
15067         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
15068         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
15069         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
15070         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
15071         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
15072         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
15073         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
15074         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
15075         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
15076         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
15077         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
15078         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
15079         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
15080         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15081         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
15082         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
15083         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
15084         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15085         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
15086         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
15087         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
15088         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
15089         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
15091 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
15093         * javax/swing/JList.java
15094         (setLayoutOrientation): Check for valid argument.
15096 2006-06-26  Roman Kennke  <kennke@aicas.com>
15098         * javax/swing/JComponent.java
15099         (firePropertyChange(String,int,int)): New method. Overrides
15100         Component method and makes it public.
15101         (firePropertyChange(String,boolean,boolean)): Likewise.
15103 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
15104         
15105         * gnu/java/security/.cvsignore: New File.
15106         * gnu/java/security/Configuration.java.in: New File.
15107         * gnu/java/security/Properties.java: Change import from 
15108         gnu.classpath.Configuration to gnu.java.security.Configuration.
15109         * gnu/java/security/hash/Whirlpool.java: Likewise.
15110         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15111         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15112         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15113         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15114         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15115         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15116         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15117         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15118         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15119         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
15120         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
15121         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15122         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15123         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15124         * gnu/java/security/util/Base64.java: Likewise.
15125         * gnu/java/security/x509/X509CRL.java: Likewise.
15126         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
15127         * gnu/java/security/x509/ext/Extension.java: Likewise.
15128         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15129         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15130         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15131         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15132         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15133         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
15134         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15135         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15136         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
15137         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
15138         * gnu/javax/crypto/keyring/Entry.java: Likewise.
15139         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
15140         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
15141         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
15142         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15143         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15144         * gnu/javax/crypto/mac/OMAC.java: Likewise.
15145         * gnu/javax/crypto/pad/BasePad.java: Likewise.
15146         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
15147         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
15148         * gnu/javax/crypto/pad/TBC.java: Likewise.
15149         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
15150         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
15151         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
15152         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
15153         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
15154         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
15155         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
15156         * gnu/javax/security/auth/login/GnuConfiguration.java 
15157         (getAppConfigurationEntry): Change reference to 
15158         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
15159         (getConfigFromUserHome): Likewise.
15160         (getInputStreamFromURL): Likewise.
15161         (getUserHome): Likewise.
15162         (init): Likewise.
15163         (processSecurityProperties): Likewise.
15164         (processSystemProperty): Likewise.
15165         (processUserHome): Likewise.
15166         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
15167         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
15168         
15170 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
15172         * javax/swing/text/DefaultCaret.java (isActive): New method.
15174 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15176         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
15177         * java/lang/management/ClassLoadingMXBean.java:
15178         (getTotalLoadedClassCount()): Corrected return type.
15179         (getUnloadedClassCount()): Likewise.
15180         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
15181         (getUnloadedClassCount()): Likewise.
15182         
15183 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
15185         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
15186         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15187         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15188         * gnu/javax/crypto/cipher/Square.java: Likewise.
15189         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15190         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15191         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15192         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15193         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
15194         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
15195         * gnu/javax/crypto/cipher/DES.java: Likewise.
15196         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
15197         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15198         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15199         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
15200         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15202 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
15204         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
15205         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
15206         * gnu/javax/crypto/assembly/Stage.java: Likewise.
15207         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
15208         * gnu/javax/crypto/assembly/Operation.java: Likewise.
15209         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15210         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
15211         * gnu/javax/crypto/assembly/Direction.java: Likewise.
15212         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
15213         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
15214         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
15215         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
15216         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
15218 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15220         * NEWS,
15221         * doc/vmintegration.texinfo:
15222         Updated with information on new VM interface.
15223         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
15224         * java/lang/management/ClassLoadingMXBean.java:
15225         New files implementing the class loading bean.
15226         * java/lang/management/ManagementFactory.java:
15227         (getClassLoadingMXBean()): Implemented.
15228         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
15229         New VM interface file.
15231 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15233         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
15234         (isBootClassPathSupported()): Use SystemProperties
15235         rather than System.getProperty.
15236         
15237 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
15239         * gnu/java/security/Properties.java: Source formatting.
15240         * gnu/java/security/Registry.java: Likewise.
15242 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
15244         * gnu/java/security/util/Util.java: Source formatting.
15245         * gnu/java/security/util/SimpleList.java: Likewise.
15246         * gnu/java/security/util/Sequence.java: Likewise.
15247         * gnu/java/security/util/PRNG.java: Likewise.
15248         * gnu/java/security/util/ExpirableObject.java: Likewise.
15249         * gnu/java/security/util/Base64.java: Likewise.
15250         * gnu/java/security/sig/SignatureFactory.java: Likewise.
15251         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
15252         * gnu/java/security/sig/ISignature.java: Likewise.
15253         * gnu/java/security/sig/BaseSignature.java: Likewise.
15254         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
15255         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
15256         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
15257         * gnu/java/security/sig/rsa/RSA.java: Likewise.
15258         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
15259         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
15260         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
15261         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
15262         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
15263         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
15264         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
15265         * gnu/java/security/provider/Gnu.java: Likewise.
15266         * gnu/java/security/prng/RandomEventListener.java: Likewise.
15267         * gnu/java/security/prng/RandomEvent.java: Likewise.
15268         * gnu/java/security/prng/PRNGFactory.java: Likewise.
15269         * gnu/java/security/prng/MDGenerator.java: Likewise.
15270         * gnu/java/security/prng/LimitReachedException.java: Likewise.
15271         * gnu/java/security/prng/IRandom.java: Likewise.
15272         * gnu/java/security/prng/EntropySource.java: Likewise.
15273         * gnu/java/security/prng/BasePRNG.java: Likewise.
15275 2006-06-23  Francis Kung  <fkung@redhat.com>
15277         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
15278         (Harness.actionPerformed): Process additional options.
15279         (J2dBenchmarkWrapper): Defer init call until after options are processed.
15280         (J2dBenchmarkWrapper.setAlias): New method.
15281         (J2dBenchmarkWrapper.setComposite): New method.
15282         (J2dBenchmarkWrapper.setFill): New method.
15283         (J2dBenchmarkWrapper.setRotation): New method.
15284         (J2dBenchmarkWrapper.setShear): New method.
15285         (J2dBenchmarkWrapper.setStroke): New method.
15286         (J2dBenchmarkWrapper.setTranslation): New method.
15287         (run): Add additional options to GUI.
15288         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15289         Added protected fields for various options.
15290         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
15291         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
15292         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
15293         (getNextColor): Renamed to setRandom.
15294         (init): Load additional image for texturing if needed.
15295         (loadBufferedImage): New method.
15296         (main): Accept additional command-line switches.
15297         (prepareGraphics): New method.
15298         (resetGraphics): New method.
15299         (runTestSuite): Accept additional image-processing options.
15300         (setRandom): Renamed from getNextColor; generate various random options
15301         (test_drawArc): Rename getNextColor to setRandom.
15302         (test_drawCubic): Likewise.
15303         (test_drawEllipse): Likewise.
15304         (test_drawGeneralPath): Likewise.
15305         (test_drawImage): Likewise.
15306         (test_drawLine): Likewise.
15307         (test_drawQuadCurve): Likewise.
15308         (test_drawRectangle): Likewise.
15309         (test_drawRoundRectangle): Likewise.
15310         (test_drawTransparentImage): Likewise.
15311         (test_fillArc): Rename getNextColor to setRandom.
15312         (test_fillEllipse): Likewise.
15313         (test_fillGeneralPath): Likewise.
15314         (test_fillRectangle): Likewise.
15315         (test_fillRoundRectangle): Likewise.
15316         (TestRecorder.getAverage): Round the average time.
15318 2006-06-23  Tom Tromey  <tromey@redhat.com>
15320         * java/util/logging/LoggingMXBean.java: New file.
15321         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
15322         (loggingBean): New field.
15323         (getLoggingMXBean): New method.
15325 2006-06-23  Tania Bento  <tbento@redhat.com>
15327         * java/awt/TextField.java
15328         (TextField): Default number of columns should be 0, not 1.
15329         (TextField): Check if number of columns given as argument
15330         is valid (>= 0) and set the number of columns accordingly.
15331         (TextField): Check if the string passed is null. If it is, 
15332         set columns to 0, else columns is set to the length of
15333         the string.
15335 2006-06-23  Roman Kennke  <kennke@aicas.com>
15337         * javax/swing/plaf/basic/BasicInternalFrameUI.java
15338         (InternalFramePropertyChangeListener.propertyChange):
15339         Don't call getPropertyName() repeatedly. Added null checks
15340         to avoid NPEs. Call closeFrame() if the closed property
15341         changes.
15343 2006-06-23  Roman Kennke  <kennke@aicas.com>
15345         * javax/swing/JInternalFrame.java
15346         (maxTransition): Removed.
15347         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
15348         Don't initialize storedBounds here.
15349         (dipose): Rewritten to correctly dispose the JInternalFrame.
15350         (getDesktopIcon): Don't initialize desktopIcon here.
15351         (getLayer): Delegate to JLayeredPane.getLayer().
15352         (getNormalBounds): Return bounds when storedBounds == null,
15353         otherwise storedBounds.
15354         (hide): Don't change selection. Also hide the desktopIcon.
15355         (moveToBack): Call getParent() only once.
15356         (moveToFront): Call getParent() only once.
15357         (pack): Call validate() to make sure that the layout is
15358         propagated to the children.
15359         (setClosed): Fire InternalFrameEvent first, before the
15360         PropertyVetoEvent.
15361         (setJMenuBar): Fire PropertyChangeEvent for this property.
15362         (setLayer): Delegate to JLayeredPane.
15363         (setLayeredPane): Check for null and throw IllegalArgumenException.
15364         (setMaximum): Remove handling of maxTransition and normalBounds.
15365         Should probably be done in the UI.
15366         (setNormalBounds): Store Rectangle object directly, not a copy.
15367         (setRootPane): Go into rootPaneCheckingEnabled mode so that
15368         adding the RootPane doesn't add it to the contentPane.
15369         Fire PropertyChangeEvent.
15370         (setSelected): Added condition for when this property must not
15371         be changed.
15372         (show): Don't ask the DesktopPane to select the frame. Moved
15373         code around to fire InternalFrameEvent before actually calling
15374         super.show(). Also make the desktopIcon visible.
15375         (setTitle): Fire PropertyChangeEvent unconditionally.
15377 2006-06-23  Roman Kennke  <kennke@aicas.com>
15379         * javax/swing/JLayeredPane.java
15380         (getPosition): Moved code around to avoid unnecessary method calls.
15381         (setPosition): Delegate to setLayer().
15382         (insertIndexForLayer(int,int)): Delegate to new private helper method.
15383         (insertIndexForLayer(Component,int,int)): New helper method
15384         to support the use of setComponentZOrder() which doesn't remove
15385         the component and thus the insertIndexForLayer must ignore
15386         the component to be moved to get the index right.
15387         (setLayer): Added check to prevent unnecessary execution of
15388         method body. Changed to update the component order here.
15389         Added repaint() to make sure that the update becomes visible.
15390         (addImpl): Call setLayer() only when a constraint has been specified.
15391         Validate and repaint the JLayeredPane.
15393 2006-06-23  Roman Kennke  <kennke@aicas.com>
15395         * java/awt/Container.java
15396         (getComponentZOrder): Use ncomponents instead of
15397         component.length so that we don't consider the empty space
15398         after the last component.
15400 2006-06-22  Roman Kennke  <kennke@aicas.com>
15402         * javax/swing/JComponent.java
15403         (vetoableChangeSupport): New field.
15404         (removeVetoableChangeListener): Rewritten to use
15405         vetoableChangeSupport.
15406         (addVetoableChangeListener): Rewritten to use
15407         vetoableChangeSupport.
15408         (fireVetoableChange): Rewritten to use
15409         vetoableChangeSupport.
15410         (addPropertyChangeListener): Removed. This is handled in
15411         Component already.
15412         (firePropertyChange(String,boolean,boolean)): Likewise.
15413         (firePropertyChange(String,char,char)): Likewise.
15414         (firePropertyChange(String,int,int)): Likewise.
15415         (revalidate): Don't do anything when the commponent has no
15416         parent.
15418 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
15420         * javax/swing/JLabel.java: Updated API docs.
15422 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
15424         * java/awt/Insets.java: Updated copyright year.
15425         (toString): Changed string, removed a line from the 
15426         documentation.
15428 2006-06-22  Roman Kennke  <kennke@aicas.com>
15430         * javax/swing/text/AbstractDocument.java
15431         (AbstractDocument): Set the i18n document property.
15432         (removeImpl): Added checks for correct boundaries.
15434 2006-06-22  Roman Kennke  <kennke@aicas.com>
15436         * javax/swing/text/PlainDocument.java
15437         (rootElement): Changed type to Element.
15438         (tabSize): Removed field. This is stored in the document properties
15439         instead.
15440         (PlainDocument): Set tabSize property. Init rootElement without
15441         cast.
15442         (insertUpdate): Rewritten. The previous implementation did not
15443         handle some corner cases properly and was a mess.
15444         (removeUpdate): Cast rootElement to BranchElement.
15446 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
15448         * javax/swing/plaf/basic/BasicLabelUI.java
15449         (installKeyboardActions): Implemented,
15450         (uninstallKeyboardActions): Implemented,
15451         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
15452         properties.
15454 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
15456         * javax/swing/JMenu.java:
15457         (removeAll): Added check for popupMenu not being null.
15459 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
15461         * javax/swing/JLabel.java
15462         (getText): Updated API docs,
15463         (setText): Corrected the check for an unchanged value, and the update 
15464         of the displayedMnemonicIndex.
15466 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
15468         * javax/swing/JLabel.java
15469         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
15470         field,
15471         (setDisplayedMnemonicIndex): Modified argument checking to handle case
15472         where label text is null.
15474 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
15476         * javax/swing/JLabel.java
15477         (setDisplayedMnemonic): Updated API docs,
15478         (getDisplayedMnemonic): Removed unnecessary type-cast,
15479         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
15480         (getDisplayedMnemonicIndex): Updated API docs.
15482 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
15484         * java/util/Collections (entrySet): Fixed compile error.
15486 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
15488         * javax/swing/DefaultListSelectionModel.java
15489         (getSelectionMode): Updated API docs,
15490         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
15491         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
15492         setSelectionInterval(),
15493         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
15494         SINGLE_INTERVAL_SELECTION cases.
15496 2006-06-21  Roman Kennke  <kennke@aicas.com>
15498         * javax/swing/text/AbstractDocument.java
15499         (BranchElement.numChildren): New field.
15500         (BranchElement.BranchElement): Initialize children array with
15501         one element (that's the least number of elements that makes sense).
15502         Initialize numChildren.
15503         (BranchElement.children): Use numChildren as boundary.
15504         (BranchElement.getElement): Use numChildren as boundary.
15505         (BranchElement.getElementCount): Use numChildren as boundary.
15506         (BranchElement.getElementIndex): Use numChildren as boundary.
15507         (BranchElement.getEndOffset): Use numChildren as boundary.
15508         (BranchElement.getStartOffset): Use numChildren as boundary.
15509         (BranchElement.positionToElement): Use numChildren as boundary.
15510         (BranchElement.replace): Handle the children array more efficiently
15511         by growing in blocks > 1, and reusing space from removed elements.
15512         (LeafElement.startDelta): Removed.
15513         (LeafElement.endDelta): Removed.
15514         (LeafElement.LeafElement): Removed handling of deltas.
15515         (LeafElement.getEndOffset): Likewise.
15516         (LeafElement.getStartOffset): Likewise.
15517         * javax/swing/text/JTextComponent.java
15518         (setDocument): Added locking of the old document to avoid dangling
15519         notification beeing delivered while the document is beeing
15520         disconnected.
15521         (getScrollableTracksViewportWidth): Fixed condition.
15522         * javax/swing/text/PlainDocument.java
15523         (createDefaultRoot): Create elements without AttributeSet.
15524         * javax/swing/text/rtf/RTFParser.java
15525         (parseFile): Handle slightly incorrect RTF gracefully.
15526         * javax/swing/text/rtf/RTFScanner.java
15527         (lastToken): New field.
15528         (readTokenImpl): New method.
15529         (peekToken): New method.
15530         (readToken): Changed to call readTokenImpl or return the lastToken
15531         if there's one present.
15533 2006-06-21  Tania Bento  <tbento@redhat.com>
15535         * javax/swing/JMenu.java
15536         (remove): An IllegalArgumentException should be thrown if
15537         either index < 0 or if index > 0 and there are no menu
15538         components. Also, a check was added that ensures there are
15539         menu components before removing the desired the component.
15541 2006-06-21  Lillian Angel  <langel@redhat.com>
15543         * javax/swing/text/DefaultCaret.java
15544         (install): Added check to prevent NPE.
15545         (propertyChange): Added checks to prevent NPEs.
15547 2006-06-21  Tania Bento  <tbento@redhat.com>
15549         * javax/swing/JMenu.java
15550         Changed instantiation of popupMenu to null.
15551         (JMenu): Instantiated popupMenu to new JPopupMenu.
15552         (JMenu): Instantiated popupMenu to new JPopupMenu.      
15553         (add): Changed popupMenu to getPopupMenu().
15554         (add): Changed popupMenu to getPopupMenu().
15555         (add): Changed popupMenu to getPopupMenu().
15556         (add): Changed popupMenu to getPopupMenu().
15557         (remove): Changed popupMenu to getPopupMenu().
15558         (remove): Changed popupMenu to getPopupMenu().
15559         (insert): Changed popupMenu to getPopupMenu().
15560         (setSelectedHelper): Changed popupMenu to getPopupMenu().
15561         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
15562         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
15563         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
15564         (getMenuComponents): Changed popupMenu to getPopupMenu().
15565         (getPopupMenu): Check first if popupMenu is null and if so,
15566         instantiate it to a new JPopupMenu and set the invoker.
15567         * javax/swing/plaf/basic/BasicPopupMenuUI.java
15568         (popupMenuWillBecomeVisible): Component Listener should only
15569         be added to the root container if the root container is not 
15570         null. This avoids a null pointer exception.
15572 2006-06-21  Tania Bento  <tbento@redhat.com>
15574         * javax/swing/JMenu.java
15575         (JMenu): Delay should be set to 200, not default of 0.
15576         (JMenu): Delay should be set to 200, not default of 0.
15577         (JMenu): Delay should be set to 200, not default of 0.
15578         (JMenu): Delay should be set to 200, not default of 0.  
15579         (remove): Added check that index >= 0 before removing
15580         the component.
15581         (getItem): Return null if item count equals 0.
15582         (isTearOff): Should throw new error and not return false.
15583         (getMenuComponent): Return null if popupMenu is null or
15584         if there are no menu components.
15586 2006-06-21  Roman Kennke  <kennke@aicas.com>
15588         * java/awt/font/FontRenderContext.java:
15589         (equals): Added special conditions for affineTransform beeing
15590         null.
15592 2006-06-21  Roman Kennke  <kennke@aicas.com>
15594         * javax/swing/UIManager.java
15595         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
15596         must not be cleared.
15598 2006-06-21  Roman Kennke  <kennke@aicas.com>
15600         * javax/swing/plaf/metal/MetalUtils.java
15601         (paintHorizontalGradient): Use paintHorizontalGradient2D when
15602         Graphics2D is available. Use fillRect instead of drawLine, this
15603         is much faster.
15604         (paintVerticalGradient): Use paintHorizontalGradient2D when
15605         Graphics2D is available. Use fillRect instead of drawLine, this
15606         is much faster.
15607         (paintHorizontalGradient2D): New method. Paints gradient
15608         using Graphics2D functions.
15609         (paintVerticalGradient2D): New method. Paints gradient
15610         using Graphics2D functions.
15612 2006-06-21  Roman Kennke  <kennke@aicas.com>
15614         * javax/swing/plaf/basic/BasicButtonListener.java
15615         (propertyChange): Create a TextLayout and store it in the button
15616         when the 'text' property changes.
15617         * javax/swing/plaf/basic/BasicButtonUI.java
15618         (paintText): Call BasicGraphicsUtils utility method for
15619         drawing strings, instead of Graphics.drawString().
15620         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15621         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15622         cached text layouts as client properties in JComponents.
15623         (drawString(JComponent,Graphics,String,int,int)): New helper method.
15624         (drawStringUnderlineCharAt): New helper method.
15625         * javax/swing/plaf/basic/BasicMenuItemUI.java
15626         (PropertyChangeHandler.propertyChange): Update cached text layout
15627         when 'text' property changes. Use equals() instead of == for
15628         string comparison.
15629         (paintText): Use new BasicGraphicsUtils methods for painting
15630         the cached text layout.
15631         (installListeners): Call super.installListeners() and remove
15632         the unneeded listener installs.
15633         (uninstallListeners): Call super.uninstallListeners() and remove
15634         the unneeded listener uninstalls.
15636 2006-06-21  Roman Kennke  <kennke@aicas.com>
15638         * javax/swing/plaf/basic/BasicTextUI.java
15639         (PropertyChangeHandler.propertyChange): Handle document listener
15640         update here.
15641         (background): Removed unneeded fields.
15642         (inactiveBackground): Remove unneeded fields.
15643         (installUI): Install the document listener. Slightly changed
15644         order of operations. Don't trigger modelChanged().
15645         (installDefaults): Only install properties when the
15646         current properties are null or instances of UIResource.
15647         (installListeners): Removed unnecessary listener installs.
15648         (installDocumentListeners): Removed unneeded method.
15649         (uninstallListeners): Removed unnecessary listener uninstalls.
15650         (modelChanged): Removed call to installDocumentListeners().     
15651         * javax/swing/plaf/basic/BasicTextFieldUI.java
15652         (propertyChange): Update the colors by fetching them from
15653         SharedUIDefaults. Fixed conditions.
15654         * javax/swing/plaf/basic/SharedUIDefaults.java
15655         (getColor): New method.
15657 2006-06-21  Roman Kennke  <kennke@aicas.com>
15659         * javax/swing/SizeSequence.java
15660         (SizeSequence): Initialize array with correct number of entries.
15662 2006-06-21  Roman Kennke  <kennke@aicas.com>
15664         * javax/swing/JSplitPane.java
15665         (setDividerLocation): Substract divider size when computing
15666         the absolute size.
15668 2006-06-21  Roman Kennke  <kennke@aicas.com>
15670         * javax/swing/JComponent.java
15671         (paintChildrenWithOverlap): Determine opaque property by
15672         calling the corresponding Component method, without requiring
15673         a JComponent.
15674         (paintChildrenOptimized): Removed old unneeded code.
15675         (paintImmediately): Use JComponent's convertRectangleToAncestor()
15676         method instead of SwingUtilities.convertRectangle(). This is
15677         more efficient.
15679 2006-06-21  Roman Kennke  <kennke@aicas.com>
15681         * javax/swing/AbstractButton.java
15682         (init): Call setText() instead of setting the property directly,
15683         so that listeners (especially in the UI) get notified.
15685 2006-06-21  Roman Kennke  <kennke@aicas.com>
15687         * javax/swing/UIManager.java
15688         (MultiplexUIDefaults): New inner class.
15689         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15690         (userUIDefaults): Changed name to be lookAndFeelDefaults.
15691         (<cinit>): Call setLookAndFeel(String) instead of trying to load
15692         directly. Print stacktrace if something goes wrong.
15693         (get): Delegate call to currentUIDefaults.
15694         (getDefaults): If currentUIDefaults is null, then lazily instantiate
15695         it.
15696         (getUI): Delegate call to currentUIDefaults.
15697         (put): Delegate call to currentUIDefaults.
15698         (setLookAndFeel): Initialize currentUIDefaults with
15699         MultiplexUIDefaults. Set lookAndFeelDefaults.
15700         (setLookAndFeel): Use current thread's context classloader for
15701         loading the L&F.
15703 2006-06-21  Roman Kennke  <kennke@aicas.com>
15705         * javax/swing/text/GapContent.java
15706         (GapContentPosition.GapContentPosition): Replace
15707         Collections.binarySearch with call to local search() to make
15708         sure we find the first object that equals the searched object.
15709         (setPositionsInRange): Likewise.
15710         (adjustPositionsInRange): Likewise.
15711         (search): New helper method.
15713 2006-06-21  Gary Benson  <gbenson@redhat.com>
15715         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15716         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15717         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15719 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15721         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15722         APPLETVIEWER_EXECUTABLE to gappletviewer.
15724 2006-06-20  Tom Tromey  <tromey@redhat.com>
15726         PR classpath/28095:
15727         * java/net/URL.java (URL): Throw MalformedURLException if a
15728         RuntimeException is caught.  Chain exceptions.
15730 2006-06-20  Lillian Angel  <langel@redhat.com>
15732         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15733         (create): Added check to prevent Seg Fault. Should not
15734         set the label if it is null.
15735         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15736         (setText): Changed to be a non-native function. Calls
15737         setNativeText if the String parameter is non-null.
15738         (setNativeText): Replaces old native setText function.
15739         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15740         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15741         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15742         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15743         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15744         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15746 2006-06-20  Lillian Angel  <langel@redhat.com>
15748         * javax/swing/text/JTextComponent.java
15749         (AccessibleJTextComponent): Rewrote all javadocs
15750         for this inner class.
15752 2006-06-20  Francis Kung  <fkung@redhat.com>
15754         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15755         Changed many members to be protected.
15756         (J2dBenchmark): moved to init() instead.
15757         (init): New method.
15758         (main): Call init() after creating object
15759         (testComplete): New method.
15760         (test_drawArc): Use maxTests varialbe instead of constant.
15761         (test_drawCubicCurve): Likewise.
15762         (test_drawEllipse): Likewise.
15763         (test_drawGeneralPath): Likewise.
15764         (test_drawImage): Likewise.
15765         (test_drawLine): Likewise.
15766         (test_drawQuadCurve): Likewise.
15767         (test_drawRectangle): Likewise.
15768         (test_drawRoundRectangle): Likewise.
15769         (test_drawTransparentImage): Likewise.
15770         (test_fillArc): Likewise.
15771         (test_fillEllipse): Likewise.
15772         (test_fillGeneralPath): Likewise.
15773         (test_fillRectangle): Likewise.
15774         (test_fillRoundRectangle): Likewise.
15775         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15776         (GraphicsTest.runSetWithClipping): Likewise.
15777         (GraphicsTest.runSetZeroClipping): Likewise.
15778         (GraphicsTest.run): Added checks for more option flags.
15779         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15780         New file.
15782 2006-06-20  Roman Kennke  <kennke@aicas.com>
15784         * javax/swing/text/GapContent.java
15785         (GapContentPosition.mark): New field.
15786         (GapContentPosition.index): Removed.
15787         (GapContentPosition.GapContentPosition): Changed to take the
15788         real offset as parameter. Added handling of reference counter.
15789         Try to cleanup before creating new instances.
15790         (getOffset): Delegate to the Mark method with same name.
15791         (Mark): New class, encapsulating a mark.
15792         (positionMarks): Removed field.
15793         (numMarks): Removed field.
15794         (marks): New field.
15795         (queueOfDeath): New field.
15796         (GapContent): Removed init of old fields, added init of new fields.
15797         (createPosition): Added check for validity of arguments.
15798         Create GapContentPosition directly with offset.
15799         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15800         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15801         (shiftGapStartDown): Call resetMarksAtZero().
15802         (shiftGapEndUp): Call resetMarksAtZero().
15803         (replace): Don't call resetMarksAtZero().
15804         (setPositionInRange): Replaced by simpler algorithm, similar to
15805         adjustPositionsInRange.
15806         (adjustPositionsInRange): Adapted to use of Mark objects.
15807         (resetMarksAtZero): Reset all marks that point to zero instead
15808         of only the first one.
15809         (dumpMarks): Adjusted to dump Mark objects.
15810         (insertMark): Removed.
15811         (garbageCollect): New method. Cleans up the marks list.
15812         (binarySearch): Removed.
15814 2006-06-20  Lillian Angel  <langel@redhat.com>
15816         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15817         (drawImage): Added call to updateColor because
15818         Cairo seems to lose the current color.
15820 2006-06-20  Gary Benson  <gbenson@redhat.com>
15822         * java/awt/Toolkit.java: Add security check.
15823         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15824         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15826 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15828         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15829         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15830         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15831         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15832         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15833         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15834         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15835         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15836         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15837         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15838         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15839         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15840         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15841         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15842         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15843         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15844         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15845         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15846         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15848 2006-06-19  Lillian Angel  <langel@redhat.com>
15850         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15851         (drawImage): Should always use getRGB to get the pixels.
15852         getData returns an incorrect array of pixels.
15854 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15856         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15857         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15858         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15859         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15860         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15861         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15862         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15863         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15864         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15865         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15866         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15867         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15868         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15869         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15870         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15871         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15872         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15873         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15874         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15875         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15876         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15877         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15878         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15879         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15880         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15881         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15882         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15883         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15884         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15885         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15886         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15887         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15888         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15889         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15890         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15891         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15893 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15895         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15897 2006-06-19  Roman Kennke  <kennke@aicas.com>
15899         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15900         (drawImage): Clip volatile image correctly.
15901         (drawVolatileImage): Added arguments for clipping.
15902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15903         (drawVolatileImage): Added arguments for clipping. Clip image
15904         correctly.
15905         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15907 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15909         PR 28035
15910         * java/rmi/server/UID.java (constructor): Synchronized
15911         the whole constructor on the UID class.
15913 2006-06-19  Roman Kennke  <kennke@aicas.com>
15915         * javax/swing/RepaintManager.java
15916         (addInvalidComponent): Only add component that are displayable,
15917         that have displayable parents and that have a validateRoot.
15918         Also, don't validate components that have a CellRendererPane
15919         ancestor.
15921 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15923         * javax/swing/plaf/IconUIResource.java
15924         (IconUIResource): Throw IllegalArgumentException for null icon.
15926 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15928         PR 28035
15929         * java/rmi/server/UID.java (constructor): First increment
15930         uidCounter, and then use the value.
15932 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15934         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15935         * java/awt/GridBagConstraints.java: Indent.
15937 2006-06-18  Tom Tromey  <tromey@redhat.com>
15939         * native/jni/gconf-peer/.cvsignore: New file.
15941 2006-06-18  Tom Tromey  <tromey@redhat.com>
15943         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15944         Also handle short options.
15946 2006-06-18  Jim Huang  <jserv@kaffe.org>
15948         PR classpath/28076:
15949         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15950         Fixed typo.
15952 2006-06-19  Mark Wielaard  <mark@klomp.org>
15954         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15955         on gnu/java/util/prefs/gconf/%.class.
15956         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15957         chache typo, should be cache.
15958         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15959         Declare tmp early.
15960         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15961         Likewise.
15962         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15963         Don't return a value for void function.
15964         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15965         Likewise.
15966         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15967         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15968         function.
15969         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15970         Mark clazz ad unused.
15972 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15974         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15975         * gnu/java/security/hash/Tiger.java: Likewise.
15976         * gnu/java/security/hash/Sha512.java: Likewise.
15977         * gnu/java/security/hash/Sha384.java: Likewise.
15978         * gnu/java/security/hash/Sha256.java: Likewise.
15979         * gnu/java/security/hash/Sha160.java: Likewise.
15980         * gnu/java/security/hash/RipeMD160.java: Likewise.
15981         * gnu/java/security/hash/RipeMD128.java: Likewise.
15982         * gnu/java/security/hash/MD5.java: Likewise.
15983         * gnu/java/security/hash/MD4.java: Likewise.
15984         * gnu/java/security/hash/MD2.java: Likewise.
15985         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15986         * gnu/java/security/hash/Haval.java: Likewise.
15987         * gnu/java/security/hash/HashFactory.java: Likewise.
15988         * gnu/java/security/hash/BaseHash.java: Likewise.
15990 2006-06-18  Sven de Marothy  <sven@physto.se>
15992         * java/awt/event/KeyEvent.java:
15993         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15994         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15995         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15997 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15999         * gnu/java/security/util/Prime2.java: Removed.
16000         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
16001         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
16002         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
16003         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
16004         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
16005         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
16006         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
16007         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
16008         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
16009         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
16010         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
16011         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
16013 2006-06-18  Sven de Marothy  <sven@physto.se>
16015         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
16016         * java/awt/font/TextMeasurer.java: Fix copyright date, 
16017         remove commented-out code.
16019 2006-06-18  Sven de Marothy  <sven@physto.se>
16021         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16022         (FreetypeGlyphVector, clone): Implement cloning.
16023         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
16024         * java/awt/font/TextMeasurer.java: Implement.
16025         * java/awt/font/LineBreakMeasurer.java: 
16026         Reimplement to use TextMeasurer.
16027         * java/awt/font/TextLayout.java
16028         New constructors.
16029         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
16030         (getText, getFont): New private static methods.
16031         (setCharIndices): New method.
16032         * java/text/AttributedString.java
16033         (AttributedString): Fix constructor to stop at end point.
16034         
16035 2006-06-17  Tom Tromey  <tromey@redhat.com>
16037         * lib/gen-classlist.sh.in: Search all top-level directories, not
16038         just 'org', in external.
16040 2006-06-12  Mario torre  <neugens at limasoftware.net>
16042         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
16043         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
16044         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
16045         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
16046         header file.
16047         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
16048         * configure.ac: update to introduce new files. Added options
16049         to build gconf native peer used by the GConf preference backend.
16050         * include/Makefile.am: update to introduce new files.
16051         * native/jni/Makefile.am update to introduce new files.
16052         * scripts/check_jni_methods.sh: added three new ignored file
16053         from check.
16054         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
16055         build gconf-peer shared library.
16057 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
16059         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
16060         Use Integer.valueOf() instead of new Integer().
16061         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16062         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
16063         * gnu/java/security/util/Sequence.java: Likewise.
16064         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
16065         * gnu/java/security/x509/X509Certificate.java: Likewise.
16066         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
16067         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16068         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
16069         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
16070         * gnu/javax/crypto/cipher/DES.java: Likewise.
16071         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16072         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
16073         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16074         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
16075         * gnu/javax/crypto/cipher/Square.java: Likewise.
16076         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
16077         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16078         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
16079         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
16080         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
16081         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
16082         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16083         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16084         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
16085         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
16086         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
16087         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16088         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16089         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
16090         * gnu/javax/crypto/mac/UHash32.java: Likewise.
16091         * gnu/javax/crypto/mac/UMac32.java: Likewise.
16092         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
16093         * gnu/javax/crypto/mode/EAX.java: Likewise.
16094         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
16095         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
16096         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
16097         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
16098         * java/security/cert/X509CertSelector.java: Likewise.
16100 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16102         * javax/management/DynamicMBean.java:
16103         (setAttribute): Fixed to return void.
16104         * javax/management/MBeanFeatureInfo.java:
16105         New file.
16106         
16107 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
16109         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
16110         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
16111         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
16112         into engineInitHandler and reuse the code in
16113         engineInit(int, Key, AlgorithmSpec, SecureRandom).
16114         (engineInitHandler): New method.
16115         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
16116         null, use random or default information when possible.
16118 2006-06-16  Francis Kung  <fkung@redhat.com>
16120         * examples/gnu/classpath/examples/swing/Demo.java:
16121         (mkButtonBar): Rename FillRect to JNIOverhead.
16122         (mkMenuBar): Rename FillRect to JNIOverhead.
16123         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
16124         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
16125         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
16126         Moved from old FillRect.
16128 2006-06-16  Tom Tromey  <tromey@redhat.com>
16130         * tools/.cvsignore: Added new tool names.
16132 2006-06-16  Keith Seitz  <keiths@redhat.com>
16134         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
16135         instantiation so that EventManager is created when getDefault
16136         is first called.
16137         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
16138         of EventManager.
16140 2006-06-16  Keith Seitz  <keiths@redhat.com>
16142         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
16143         (_initCount): New field.
16144         (Jdwp): Don't set isDebugging until fully initialized.
16145         (subcomponentInitialized): New method.
16146         (run): Wait for PacketProcessor and JdwpConnection to
16147         startup, then set isDebugging, and then let this thread
16148         die.
16149         * gnu/classpath/jdwp/transport/JdwpConnection.java
16150         (run): Add synchronization notification.
16151         * gnu/classpath/jdwp/processor/PacketProcessor.java
16152         (run): Likewise.
16154 2006-06-16  Tom Tromey  <tromey@redhat.com>
16156         * NEWS: Updated for JSR 166.
16158 2006-06-16  Tom Tromey  <tromey@redhat.com>
16160         * lib/Makefile.am (compile_classpath): Added jsr166.
16161         * configure.ac: Added external/jsr166/Makefile.
16162         * external/Makefile.am (SUBDIRS): Added jsr166.
16163         * external/jsr166/Makefile.am: New file.
16164         * lib/gen-classlist.sh.in: Look in external/jsr166.
16166 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
16168         * gnu/classpath/jdwp/event/ExceptionEvent:
16169         Added Object instance to javadoc in constructor
16170         * gnu/classpath/jdwp/event/MethodEntryEvent:
16171         Ditto.
16172         * gnu/classpath/jdwp/event/MethodExitEvent:
16173         Ditto,
16174         * gnu/classpath/jdwp/event/SingleStepEvent:
16175         Ditto. 
16177 2006-06-16  Tom Tromey  <tromey@redhat.com>
16179         Imported JSR 166 reference implementation:
16180         * .classpath: Added external/jsr166.
16181         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
16182         * java/util/AbstractQueue.java: Removed.
16183         * java/util/Queue.java: Removed.
16184         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
16185         (runPeriodic): Added explicit cast.
16186         * external/jsr166/java/util/ArrayDeque.java (clone): Use
16187         elements.clone.
16189 2006-06-16  Tom Tromey  <tromey@redhat.com>
16191         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
16192         Removed.
16193         (getCallerClass): Now static.
16194         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
16196 2006-06-16  Lillian Angel  <langel@redhat.com>
16198         * java/awt/FileDialog.java
16199         (FileDialog): Added @since tag to API docs.
16200         (FileDialog): Likewise.
16201         (FileDialog): Likewise.
16202         * java/awt/Font.java:
16203         Added @since tag to TYPE1_FONT field docs.
16204         * javax/swing/plaf/basic/BasicScrollBarUI.java:
16205         (isThumbRollover): Likewise.
16206         (setThumbRollover): Likewise.
16207         (getSupportsAbsolutePositioning): Likewise.
16208         * javax/swing/plaf/basic/BasicSliderUI.java:
16209         (isDragging): Likewise.
16211 2006-06-16  Lillian Angel  <langel@redhat.com>
16213         * java/awt/FileDialog.java
16214         (FileDialog): Implemented.
16215         (FileDialog): Implemented.
16216         (FileDialog): Implemented.
16217         * java/awt/Font.java:
16218         Added TYPE1_FONT constant field.
16220 2006-06-16  Lillian Angel  <langel@redhat.com>
16222         * java/awt/font/TextLayout.java:
16223         Removed unneeded imports.
16224         * javax/swing/plaf/basic/BasicScrollBarUI.java:
16225         Added new thumbRollover field.
16226         (mouseMoved): Added code to set thumbRollover field.
16227         (isThumbRollover): New function.
16228         (setThumbRollover): New function.
16229         (getSupportsAbsolutePositioning): Implemented. This
16230         needs to be changed once the feature has been 
16231         implemented.
16232         * javax/swing/plaf/basic/BasicSliderUI.java:
16233         Added new dragging field.
16234         (mouseDragged): Initialized dragging field.
16235         (isDragging): New function.
16236         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16237         (focusGained): Marked as not implemented.
16238         (focusLost): Likewise.
16240 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
16242         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
16243         Added check for null ThreadId to avoid null pointer
16244         exception.
16246 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
16248         * javax/swing/DefaultComboBoxModel.java
16249         (removeElementAt): Set new selected item by calling setSelectedItem().
16251 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
16253         * javax/swing/DefaultButtonModel.java
16254         (setSelected): Use 'this', not null, for the item in the ItemEvent.
16256 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
16258         * javax/swing/event/ListDataEvent.java: updated API docs, plus
16259         (ListDataEvent): Handle case where index0 > index1,
16260         (toString): Implemented.
16262 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
16264         * javax/swing/plaf/metal/MetalMenuBarUI.java:
16265         (update): Added subexpression to if-statement.
16267 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
16269         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
16270         (installDefaults): Removed unneccessary code.
16271         (paint): Removed complex if-cascade, revert to default icon if
16272         icon property is not set.
16273         (getPreferredSize): New method.
16275 2006-06-16  Roman Kennke  <kennke@aicas.com>
16277         PR 28027
16278         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16279         (drawImage): Don't use setClip() but instead clipRect() to
16280         intersect the current clip with a new one.
16282 2006-06-15  Tom Tromey  <tromey@redhat.com>
16284         * scripts/sanitize-jsr166: New file.
16285         * external/jsr166/IMPORTING: New file.
16286         * vm/reference/sun/reflect/Reflection.java: New file.
16287         * vm/reference/gnu/classpath/Unsafe.java: Moved...
16288         * vm/reference/sun/misc/Unsafe.java: ...here.
16290 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
16292         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
16293         gjarsigner and keytool to gkeytool.
16294         * doc/tools.texinfo: Add note about tool exectable names.
16295         * tools/Makefile.am: Rename appletviewer to gappletviewer,
16296         jarsigner to gjarsigner and keytool to gkeytool.
16297         * tools/appletviewer.in: Rename ...
16298         * tools/gappletviewer.in: New file.
16299         * tools/jarsigner.in: Rename ...
16300         * tools/gjarsigner.in: New file.
16301         * tools/keytool.in: Rename ...
16302         * tools/gkeytool.in: New file.
16303         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
16305 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16307         * javax/management/AttributeList.java:
16308         Add serialization UID.
16309         * javax/management/DynamicMBean.java:
16310         New file.
16311         * javax/management/JMRuntimeException.java:
16312         Add serialization UID and correct name
16313         of serialized field.
16314         * javax/management/MBeanInfo.java: New file.
16315         
16316 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16318         * javax/management/AttributeList.java,
16319         * javax/management/JMRuntimeException.java,
16320         * javax/management/RuntimeOperationsException.java:
16321         New files.
16322         
16323 2006-06-15  Lillian Angel  <langel@redhat.com>
16325         * java/awt/font/TextLayout.java:
16326         DEFAULT_CARET_POLICY changed to be public static final.
16328 2006-06-15  Tania Bento  <tbento@redhat.com>
16330         * javax/swing/plaf/metal/MetalScrollButton.java
16331         (MetalScrollButton): Should set 'focusable' to false.
16333 2006-06-15  Tania Bento  <tbento@redhat.com>
16335         * javax/swing/plaf/basic/BasicArrowButton.java
16336         (BasicArrowButton): Should set 'focusable' to false.
16337         (BasicArrowButton): Should set 'focusable' to false.
16339 2006-06-15  Mark Wielaard  <mark@klomp.org>
16341         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
16342         (getGraphicsConfiguration): Return default screen device.
16343         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
16344         New field.
16345         (GtkVolatileImage): Record initiating component.
16346         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16347         (getDeviceConfiguration): Return configuration of image component.
16349 2006-06-15  Mark Wielaard  <mark@klomp.org>
16351         * java/awt/geom/GeneralPath.java (closePath): Return if path already
16352         closed.
16354 2006-06-15  Mark Wielaard  <mark@klomp.org>
16356         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
16357         with null argument.
16359 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
16361         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16362         (matches): Added explicit brackets to return statement.
16364 2006-06-15  Tania Bento  <tbento@redhat.com>
16366         * javax/swing/JRadioButtonMenuItem.java
16367         (JRadioButtonMenuItem): Should set 'focusable' to false.
16369 2006-06-15  Tania Bento  <tbento@redhat.com>
16371         * javax/swing/JCheckBoxMenuItem.java
16372         (JCheckBoxMenuItem): Should set 'focusable' to false.
16374 2006-06-15  Tania Bento  <tbento@redhat.com>
16376         * javax/swing/AbstractButton.java:
16377         (AbstractButton): 'Focusable' should be set to true and not false.
16379 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16381         * java/lang/management/ManagementFactory.java:
16382         Add private constructor to prevent instance creation.
16383         * java/lang/management/ManagementPermission.java:
16384         Make final.
16385         
16386 2006-06-15  Francis Kung  <fkung@redhat.com>
16388         * javax/swing/plaf/basic/BasicArrowButton.java:
16389         (BasicArrowButton): move client property for not triggering out 
16390         of consturctor
16391         * javax/swing/plaf/basic/BasicComboBoxUI.java:
16392         (configureArrowButton): set client property for not triggering
16393         (installUI): set client property for not triggering
16394         * javax/swing/plaf/basic/BasicLookAndFeel.java:
16395         (PopupHelper.mousePressed): check client property for triggering
16397 2006-06-15  Roman Kennke  <kennke@aicas.com>
16399         PR 28037
16400         * javax/swing/RepaintManager.java
16401         (blitBuffer): Substract coordinates the other way around.
16403 2006-06-15  Roman Kennke  <kennke@aicas.com>
16405         PR 28027
16406         * javax/swing/JComponent.java
16407         (paintImmediately2): Only paint component without double buffering
16408         when all of it's parents have also double buffering disabled.
16409         (isPaintingDoubleBuffered): New helper method.
16411 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
16413         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16414         (draw(Shape)): Pass null transform to getPathIterator(),
16415         (getClip): Likewise,
16416         * gnu/java/print/PostscriptGraphics2D.java
16417         (drawStringShape): Pass null transform to getPathIterator(),
16418         (writeShape): Likewise,
16419         * java/awt/Shape.java: Small updates to API docs.
16421 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16423         * javax/naming/InitialContext.java:
16424         (list(javax.naming.Name)): Fixed generic type.
16425         (list(String)): Likewise.
16426         (listBindings(javax.naming.Name)): Likewise.
16427         (listBindings(String)): Likewise.
16428         
16429 2006-06-14  Roman Kennke  <kennke@aicas.com>
16431         * javax/swing/plaf/basic/BasicComboBoxUI.java
16432         (getAccessibleChildrenCount): Implemented.
16433         (getAccessibleChild): Implemented.
16434         (isNavigationKey): Implemented.
16435         (KeyHandler.keyPressed): Implemented.
16437 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16439         * java/lang/management/ManagementPermission.java:
16440         Added serialization UID.
16441         * javax/management/Attribute.java: Likewise.
16442         * javax/management/MBeanException.java,
16443         * javax/management/ReflectionException.java:
16444         Added serialization UID and changed to extend
16445         javax.management.JMException.
16446         
16447 2006-06-14  Lillian Angel  <langel@redhat.com>
16449         * java/awt/Component.java
16450         (ignoreOldMouseEvents): Made static.
16451         (translateEvent): Made static.
16452         * java/awt/TextComponent.java
16453         (ignoreOldMouseEvents): Made static.
16455 2006-06-14  Mark Wielaard  <mark@klomp.org>
16457         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
16458         call super.
16459         (drawRect): Likewise.
16460         (fillRect): Likewise.
16462 2006-06-14  Lillian Angel  <langel@redhat.com>
16464         * java/awt/Component.java
16465         (ignoreOldMouseEvents): New helper function.
16466         (translateEvent): Changed to be non-static and use new helper.
16467         * java/awt/TextComponent.java
16468         (ignoreOldMouseEvents): New helper function.
16470 2006-06-14  Roman Kennke  <kennke@aicas.com>
16472         * javax/swing/RepaintManager.java
16473         (MERGE_REGIONS): New constant flag.
16474         (commitBuffer): Exclude the merging of regions by default. This
16475         was causing painting artifacts in some applications, especially
16476         when different areas of the GUI are updated synchronously.
16478 2006-06-14  Roman Kennke  <kennke@aicas.com>
16480         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
16481         New file. This is a benchmark for AWT 1.1 style graphics operations.
16482         * examples/gnu/classpath/examples/awt/palme.gif: New file.
16483         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
16485 2006-06-14  Tom Tromey  <tromey@redhat.com>
16487         * java/io/File.java (getParent): Javadoc fix.
16489 2006-06-14  Tom Tromey  <tromey@redhat.com>
16491         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
16492         jar.
16493         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
16494         when index entry does not exist.
16496 2006-06-14  Tania Bento  <tbento@redhat.com>
16498         * javax/swing/AbstractButton.java
16499         (AbstractButton): Set focusable to false, not true.
16501 2006-06-14  Tania Bento  <tbento@redhat.com>
16503         * javax/swing/JMenuItem.java
16504         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
16506 2006-06-14  Tania Bento  <tbento@redhat.com>
16508         * javax/swing/JCheckBoxMenuItem.java
16509         (JCheckBoxMenuItem): Added check to set the selected state.
16511 2006-06-14  Roman Kennke  <kennke@aicas.com>
16513         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16514         (cairoDrawLine): New native method.
16515         (cairoDrawRect): New native method.
16516         (cairoFillRect): New native method.
16517         (drawLine): Use special native method.
16518         (drawRect): Use special native method.
16519         (fillRect): Use special native method.
16520         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16521         (cairoDrawLine): New native method.
16522         (cairoDrawRect): New native method.
16523         (cairoFillRect): New native method.
16524         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16526 2006-06-14  Mark Wielaard  <mark@klomp.org>
16528         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16529         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
16530         cannot be allocated.
16532 2006-06-14  Tom Tromey  <tromey@redhat.com>
16534         PR java/28024:
16535         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
16536         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
16538 2006-06-14  Roman Kennke  <kennke@aicas.com>
16540         * javax/swing/JComponent.java
16541         (isRepainting): New flag.
16542         (paintImmediately2): Set isRepainting flag.
16543         (getRoot): Removed obsolete method.
16544         (paintDoubleBuffered): Differenciate between paint calls from
16545         RepaintManager and from AWT refresh. Call
16546         RepaintManager.commitBuffer with this and local coordinates.
16547         (findOpaqueParent): Stop searching at heavyweight component. These
16548         are always opaque.
16549         (paintChildrenOptimized): Don't paint heavyweight children. These
16550         should care for themselves.
16551         (paintChildrenWithOverlap): Don't paint heavyweight children. These
16552         should care for themselves.
16553         * javax/swing/RepaintManager.java
16554         (getOffscreenBuffer): Associate offscreen buffer with toplevel
16555         windows only.
16556         (getVolatileOffscreenBuffer): Associate offscreen buffer with
16557         toplevel windows only.
16558         (getRoot): Removed obsolete method.
16559         (commitBuffer): Blit buffer on nearest heavyweight.
16560         (blitBuffer): New helper method.
16561         (getHeavyweightParent): New helper method.
16562         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
16563         * javax/swing/SwingUtilities.java
16564         (convertRectangleToAncestor): New helper method.
16566 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
16568         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
16569         Condition all trace/debug code based on Configuration.DEBUG.
16570         Use logger instead of STDOUT and ot STDERR.
16572 2006-06-13  Lillian Angel  <langel@redhat.com>
16574         * native/plugin/gcjwebplugin.cc
16575         (NP_Initialize): Removed code to create whitelist file.
16576         (GCJ_New): Added code to create whitelist file.
16577         (plugin_user_trusts_documentbase): Fixed error message.
16579 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16581         * javax/swing/plaf/metal/MetalIconFactory.java
16582         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
16583         prevent overwriting border,
16584         (VerticalSliderThumbIcon.gradientMask): Likewise.
16586 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16588         * javax/management/AttributeNotFoundException.java,
16589         * javax/management/InvalidAttributeValueException.java,
16590         * javax/management/JMException.java,
16591         * javax/management/MBeanException.java,
16592         * javax/management/OperationsException.java,
16593         * javax/management/ReflectionException.java:
16594         New files.
16595         
16596 2006-06-13  Roman Kennke  <kennke@aicas.com>
16598         * java/awt/Component.java
16599         (dispatchEvent): Handle events even when consumed (this might be
16600         picked up later in the dispatching chain).
16601         * javax/swing/plaf/basic/BasicLookAndFeel.java
16602         (PopupHelper.mousePressed): Don't consume event. Only close popup
16603         when target component isn't flagged as DONT_CANCEL_POPUP.
16604         (DONT_CANCEL_POPUP): New package private constant for flagging
16605         special components that don't trigger popup closing.
16606         * javax/swing/plaf/basic/BasicArrowButton.java
16607         (BasicArrowButton): Set client property for not triggering closing
16608         of popups.
16610 2006-06-13  Lillian Angel  <langel@redhat.com>
16612         * java/awt/image/PixelGrabber.java
16613         (PixelGrabber): Added to API documentation.
16615 2006-06-13  Keith Seitz  <keiths@redhat.com>
16617         From Kyle Galloway  <kgallowa@redhat.com>:
16618         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16619         (ExceptionOnlyFilter): Allow null refId.
16621         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16622         compatibility with filters.
16623         (getParameter): Modified to allow access to above. 
16625 2006-06-13  Sven de Marothy  <sven@physto.se>
16627         * gnu/java/awt/peer/gtk/CairoSurface.java
16628         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16629         (create): Use stride in ints.
16631 2006-06-13  Keith Seitz  <keiths@redhat.com>
16633         From Kyle Galloway  <kgallowa@redhat.com>:
16634         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16636 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16638         * javax/swing/plaf/basic/BasicSliderUI.java
16639         (calculateThumbSize): Removed unnecessary code,
16640         (calculateThumbLocation): Shift position by one,
16641         (calculateTickRect): Shift position by one when ticks are displayed,
16642         (calculateLabelRect): Calculate rect differently according to whether
16643         or not the labels are visible,
16644         (paintTrack): Shift track down one pixel.
16646 2006-06-13  Lillian Angel  <langel@redhat.com>
16648         * java/awt/image/PixelGrabber.java
16649         (PixelGrabber): Removed check to throw exception. JDK does
16650         not do this.
16651         (startGrabbing): Removed line to print stacktrace. 
16653 2006-06-13  Mark Wielaard  <mark@klomp.org>
16655         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16656         allocate unused AffineTransform. Add comment about conversion to
16657         BufferedImage.
16658         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16659         Recognize identity transform as "easy". Always convert to
16660         BufferedImage before calling super.
16662 2006-06-13  Roman Kennke  <kennke@aicas.com>
16664         * java/awt/Component.java
16665         (getGraphics): Translate child graphics correctly.
16666         (dispatchEvent): Only dispatch event if it hasn't been consumed
16667         yet by the global dispatcher.
16668         * javax/swing/plaf/basic/BasicLookAndFeel.java
16669         Added some API docs.
16670         (PopupHelper.mousePressed): Consume the event after closing
16671         opened menus.
16673 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16675         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
16676         changes only,
16677         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16678         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16679         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16680         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16681         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16682         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16683         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16684         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16685         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16686         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16687         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16688         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16689         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16690         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16691         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16692         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16694 2006-06-12  Sven de Marothy  <sven@physto.se>
16696         * java/awt/font/LineBreakMeasurer.java): Implement.
16698 2006-06-12  Keith Seitz  <keiths@redhat.com>
16700         From Kyle Galloway  <kgallowa@redhat.com>:
16701         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16703 2006-06-12  Keith Seitz  <keiths@redhat.com>
16705         From Kyle Galloway  <kgallowa@redhat.com>:
16706         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16708         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16710 2006-06-12  Roman Kennke  <kennke@aicas.com>
16712         * javax/swing/JComponent.java
16713         (paintDoubleBuffered): Correctly translate and clip the Graphics
16714         instance.
16715         (clipAndTranslateGraphics): New helper method.
16717 2006-06-12  Roman Kennke  <kennke@aicas.com>
16719         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16720         (copy): Use getClip() to copy the clip. Make copied transform
16721         null when original transform is null. Set clip here.
16722         (setTransform): Correctly update the clip.
16723         (setTransformImpl): New method. Updates the actual transform for
16724         Cairo.
16725         (transform): Correctly update the clip.
16726         (translate): Correctly update the clip.
16727         (clip): Handle null clip and argument correctly.
16728         (clipRect): Avoid creating new Rectangle objects.
16729         (getClip): Get the correct copy of the clip.
16730         (setClip): Correctly handle null argument.
16731         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16732         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16733         be null or whatever has been set in copy().
16734         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16735         (drawImage): Add translation to the image coordinates.
16736         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16737         (VolatileImageGraphics): Don't set clip here. The clip can either
16738         be null or whatever has been set in copy().
16740 2006-06-12  Keith Seitz  <keiths@redhat.com>
16742         From Kyle Galloway  <kgallowa@redhat.com>:
16743         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16744         (forCaught): Removed unused/unnecessary method.
16745         (forUncaught): Likewise.
16746         (matches): Implement.
16748 2006-06-12  Keith Seitz  <keiths@redhat.com>
16750         From Kyle Galloway  <kgallowa@redhat.com>:
16751         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16753 2006-06-12  Keith Seitz  <keiths@redhat.com>
16755         From Kyle Galloway  <kgallowa@redhat.com>:
16756         * gnu/classpath/jdwp/event/Event.java: Added constants for
16757         type.
16758         (getParameter): Changed parameter type from Class to int.
16759         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16760         Changed from Class type to constants.
16761         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16762         Likewise.
16763         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16764         Likewise.
16765         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16766         Likewise.
16767         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16768         Likewise.
16769         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16770         Likewise.
16771         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16772         Likewise.
16773         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16774         Likewise.
16775         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16776         Likewise.
16777         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16778         Likewise.
16780 2006-06-12  Lillian Angel  <langel@redhat.com>
16782         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16783         (StandaloneAppletWindow): Changed title of standalone window.
16785 2006-06-12  Lillian Angel  <langel@redhat.com>
16787         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16788         (layoutContainer): Added missing selectedComponent assignment.
16790 2006-06-12  Lillian Angel  <langel@redhat.com>
16792         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16793         (layoutContainer): Added check to prevent exception.
16795 2006-06-12  Tom Tromey  <tromey@redhat.com>
16797         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16799 2006-06-12  Mark Wielaard  <mark@klomp.org>
16801         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16802         New static field.
16803         (ONE): Likewise.
16804         (lock): New method.
16805         (unlock): Likewise.
16806         (draw): Use lock() and unlock().
16807         (fill): Likewise.
16808         (drawRenderedImage): Likewise.
16809         (drawImage): Likewise.
16810         (drawGlyphVector): Likewise.
16812 2006-06-12  Roman Kennke  <kennke@aicas.com>
16814         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16815         (drawPixels): Include alpha in parameter list.
16816         (cairoFill): Include alpha in parameter list.
16817         (setComposite): Don't modify the color.
16818         (draw(Shape))): Use fill when the current composite has an alpha
16819         of != 1.0, so that the stroked shaped will be composited.
16820         (fill(Shape)): Call cairoFill() with alpha.
16821         (drawImage): Call drawPixels or drawSurface with alpha.
16822         (drawGlyphVector): When composite alpha is != 1.0, render the
16823         outline using fill() to enable compositing for text.
16824         (drawRaster): Call drawPixels with alpha.
16825         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16826         (nativeDrawSurface): Include alpha in parameter list.
16827         (drawSurface): Include alpha in parameter list. Pass it to
16828         nativeDrawSurface().
16829         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16830         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16831         Regenerated.
16832         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16833         (drawPixels): Handle possible alpha for compositing.
16834         (cairoFill): Likewise.
16835         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16836         (nativeDrawSurface): Handle possible alpha for compositing.
16838 2006-06-12  Mark Wielaard  <mark@klomp.org>
16840         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16841         Notify data when completely done. Wait for worker thread to finish.
16842         Rethrow any pending exceptions.
16843         (exception): New field.
16844         (run): Store pending exception.
16846 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16848         * java/lang/management/ManagementPermission.java:
16849         New file.
16850         
16851 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16853         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16855 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16857         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16858         Use String.charAt().
16860 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16862         * doc/tools.texinfo
16863         (Applet Tools): New chapter.
16864         (appletviewer Tool): New section.
16865         (gcjwebplugin): New section.
16867 2006-06-11  Mark Wielaard  <mark@klomp.org>
16869         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16870         Takes GdkPixbufWriter.
16871         (GdkPixbufWriter): Implements Runnable.
16872         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16873         data processing.
16874         (DATADONE): New static final field.
16875         (data): New field.
16876         (write(byte[])): New method.
16877         (run): Likewise.
16878         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16879         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16880         Get dataOutputWriteID from writeClass.
16881         (stream_save_request): Change stream field to writer.
16882         (save_to_stream): Remove FIXME, call writer.
16883         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16884         Store writer.
16886 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16888         * NEWS:
16889         Mention new VM interface and use of properties.
16890         * doc/vmintegration.texinfo:
16891         Update with new gnu.java.lang.management section.
16892         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16893         New file.
16894         * java/lang/management/ManagementFactory.java:
16895         (getRuntimeMXBean()): Implemented.
16896         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16897         New VM interface file.
16898         
16899 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16901         PR Classpath/26065
16902         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16903         debug code based on Configuration.DEBUG.
16904         Use logger instead of STDOUT and ot STDERR.
16905         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16906         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16907         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16908         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16909         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16910         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16911         * gnu/javax/crypto/pad/TBC.java: Likewise.
16912         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16913         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16914         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16915         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16916         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16917         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16918         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16919         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16920         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16921         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16922         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16923         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16924         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16925         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16926         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16927         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16928         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16929         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16930         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16931         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16932         * gnu/java/security/Properties.java: Likewise.
16933         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16934         * gnu/java/security/x509/X509CRL.java: Likewise.
16935         * gnu/java/security/x509/ext/Extension.java: Likewise.
16936         * gnu/java/security/util/Prime2.java: Likewise.
16937         * gnu/java/security/util/Base64.java: Likewise.
16938         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16939         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16940         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16941         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16942         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16943         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16944         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16945         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16946         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16947         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16948         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16949         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16950         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16951         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16952         * gnu/java/security/hash/Whirlpool.java: Likewise.
16954 2006-06-11  Mark Wielaard  <mark@klomp.org>
16956         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16957         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16958         Remove unused variable glyph_index.
16960 2006-06-11  Mark Wielaard  <mark@klomp.org>
16962         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16963         Don't recurse, return false if not an BufferedImage and no image
16964         source available.
16965         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16966         end_gdk_drawing() to finally block.
16967         (fill): Likewise.
16968         (drawRenderedImage): Likewise.
16969         (drawImage): Likewise.
16970         (drawGlyphVector): Likewise.
16972 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16974         * doc/tools.texinfo: Added text for new -cacert command.
16975         Re-structured sections.
16976         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16977         for -cacert command.
16978         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16979         (_CACERT): Likewise.
16980         (shutdownThread): New field.
16981         (Main): Install shutdown thread.
16982         (main): Uninstall shutdown thread.
16983         (start): Handle new -cacert command.
16984         (getParser): Likewise.
16985         (teardown): Increased visibility.
16986         (ShutdownHook): New inner class.
16987         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16989 2006-06-11  Sven de Marothy  <sven@physto.se>
16991         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16992         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16993         (getOutline): Operate on the shape directly.
16994         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16995         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16996         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16997         (getGlyph renamed getGlyphs)
16998         * java/awt/geom/AffineTransform.java
16999         (getTranslateInstance): Set fields directly.
17000         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17001         (getGlyphs): Get all glyph codes at once.
17002         
17003 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
17005         PR Classpath/27853
17006         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
17008 2006-06-11  Sven de Marothy  <sven@physto.se>
17010         * java/awt/font/TextLayout.java
17011         (getLogicalHighlightShape): Add check.
17012         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17013         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
17015 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
17017         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
17018         Check that every component of 'cn' starts with a valid Java identifier char.
17020 2006-06-10  Tom Tromey  <tromey@redhat.com>
17022         * java/io/File.java (pathSeparator): Typo fix.
17024 2006-06-10  Mark Wielaard  <mark@klomp.org>
17026         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
17027         Removed.
17028         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17029         Mark all unused parameters.
17030         (cp_gtk_get_cairo_t): Removed.
17031         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
17032         Don't mix declerations and statements.
17033         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
17034         Mark all unused parameters.
17035         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
17036         Get cairographics2d pointer directly.
17037         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17038         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17039         Use jlong to pass pointer.
17040         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17041         Mark all unused parameters.
17042         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17043         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
17044         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
17045         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
17046         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
17047         * include/java_io_VMFile.h: Regenerated.
17049 2006-06-10  Roman Kennke  <kennke@aicas.com>
17051         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17052         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
17053         instead of setClip(), so that an already present clip is intersected
17054         and not resetted.
17056 2006-06-10  Mark Wielaard  <mark@klomp.org>
17058         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
17059         Call getSize() to avoid accessor method.
17061 2006-06-10  Mark Wielaard  <mark@klomp.org>
17063         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
17064         Qualify ElementSpec.
17066 2006-06-10  Mark Wielaard  <mark@klomp.org>
17068         * lib/.cvsignore: Add sun.
17069         * lib/Makefile.am (dist-hook): Likewise.
17071 2006-06-10  Roman Kennke  <kennke@aicas.com>
17073         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17074         * gnu/java/awt/peer/gtk/CairoSurface.java
17075         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17076         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17077         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17078         * native/jni/gtk-peer/cairographics2d.h
17079         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17080         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17081         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17083         Changed method signatures and calls to pass native pointers directly
17084         into the JNI code, in order to avoid costly lookups on each
17085         JNI call.
17086         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
17087         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
17088         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
17089         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
17090         Regenerated
17092 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17094         PR 27973
17095         * javax/swing/text/DefaultStyledDocument.java 
17096         (ElementBuffer.insertContentTag):
17097         Do not recreate leaves and do not remove elements here. 
17099 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17101         * javax/swing/text/html/HTMLDocument.java
17102         (HTMLReader.HiddenAction): Implemented.
17104 2006-06-10  Roman Kennke  <kennke@aicas.com>
17106         * javax/swing/RepaintManager.java
17107         (getVolatileOffscreenBuffer): Store the created buffer.
17108         * javax/swing/JComponent.java
17109         (paintDoubleBuffered): Try to use a volatile offscreen buffer
17110         for better performance.
17112 2006-06-10  Roman Kennke  <kennke@aicas.com>
17114         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17115         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
17116         context correctly.
17117         (getRealBounds): Overridden to return the correct bounds.
17119 2006-06-10  Roman Kennke  <kennke@aicas.com>
17121         * javax/swing/plaf/metal/MetalButtonUI.java
17122         (update): Fixed to paint the gradient under the correct conditions.
17123         (updateWidthGradient): Removed.
17124         (isToolbarButton): New helper method.
17125         (isDrawingGradient): New helper method.
17127 2006-06-09  Roman Kennke  <kennke@aicas.com>
17129         * javax/swing/JTabbedPane.java
17130         (setSelectedIndex): Don't change the visibility of the components,
17131         this is done by the UI class.
17132         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17133         (TabbedPaneLayout.layoutContainer): Change visibility of component
17134         here, depending on the selected index. Only do this if the new
17135         selected component is not null. Some programs seem to expect
17136         this.
17137         (visibleComponent): New field.
17138         (getVisibleComponent): Changed to return visibleComponent field.
17139         (setVisibleComponent): Changed to set the visibility of
17140         the old and new visible component.
17142 2006-06-09  Roman Kennke  <kennke@aicas.com>
17144         * javax/swing/JComponent.java
17145         (paintChildrenOptimized): Paint component with a new Graphics
17146         object to protect the other painting code from modifications
17147         done in that object, and avoid cleanup ops on possibly dispose()ed
17148         Graphics object.
17150 2006-06-09  Sven de Marothy  <sven@physto.se>
17152         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17153         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17154         Use GTK locks while disposing (Xlib) surface.
17156 2006-06-09  Tom Tromey  <tromey@redhat.com>
17158         * lib/Makefile.am (install-data-local): Copy 'sun' files.
17159         (uninstall-local): Delete 'sun' directory.
17160         (glibj.zip): Include 'sun' classes.
17161         (clean-local): Delete 'sun' directory.
17162         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
17164 2006-06-09  Roman Kennke  <kennke@aicas.com>
17166         * gnu/java/awt/java2d/AbstractGraphics2D.java
17167         (drawImage): Fixed scaling.
17168         (fillShape): Removed offset handling.
17169         (fillShapeImpl): Limit scanlining to device bounds.
17170         (getSegments): Removed offset handling.
17171         * gnu/java/awt/java2d/PolyEdge.java
17172         (toString): Include isClip flag in output.
17174 2006-06-08  Sven de Marothy  <sven@physto.se>
17176         * java/awt/font/TextLayout.java
17177         (getOutline): Allow null transform.
17179 2006-06-08  Sven de Marothy  <sven@physto.se>
17181         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17182         (drawString): Use TextLayout instead of GlyphVector.
17184 2006-06-08  Sven de Marothy  <sven@physto.se>
17186         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
17187         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17188         New constructor for bidirectionality.
17189         (getGlyphMetrics): Return whitespace glyphs.
17190         (getLogicalBounds): Offset rectangles to correct positions.
17191         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17192         (getBaselineFor): Default to ROMAN_BASELINE.
17193         (GdkFontLineMetrics): Guess some values for underline and 
17194         strikethrough.
17195         (layoutGlyphVector): Use bidirectionality.
17196         * java/awt/font/TextLayout.java: Implement, mostly.
17197         
17198 2006-06-09  Anthony Green  <green@redhat.com>
17200         PR classpath/27888:
17201         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
17202         * java/util/Collections.java (binarySearch): Use unsigned shift.
17203         * java/util/Arrays.java (binarySearch): Use unsigned shift.
17205 2006-06-09  Tom Tromey  <tromey@redhat.com>
17207         * tools/.cvsignore: Added .deps.
17209 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
17211         PR classpath/27966:
17212         * gnu/javax/security/auth/login/ConfigFileParser.java
17213         (validateClassName): Quote '.' in regexp.
17215 2006-06-09  Tom Tromey  <tromey@redhat.com>
17217         PR classpath/23863:
17218         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
17219         finished.
17220         * native/fdlibm/mprec.c: New version from newlib.  Commented out
17221         some includes.  Added <assert.h>.
17222         (_reent, _Bigint): New defines.
17223         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
17224         (__ULong, __Long): New types.
17225         (_calloc_r): New function.
17226         (Balloc): Dynamically add new _freelist entries as needed.
17227         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
17228         MAX_BIGNUMS to size _x[].
17229         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
17230         _allocation_map, num.  Added _max_k.
17232 2006-06-09  Roman Kennke  <kennke@aicas.com>
17234         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17235         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
17236         implementations.
17238 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
17240         * java/awt/image/BufferedImage.java
17241         (BufferedImage(int, int, int)): Added API docs,
17242         (getProperty(String)): Return correct value for undefined properties,
17243         (getPropertyNames()): Added comments and removed FIXME.
17245 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
17247         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
17248         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
17250 2006-06-09  Francis Kung  <fkung@redhat.com>
17252         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
17253         (getPreferredSize): Return correct height for null or empty 
17254         items.
17256 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
17258         * java/awt/datatransfer/DataFlavor.java
17259         (readExternal): Mark as stub,
17260         (writeExternal): Likewise,
17261         * java/awt/dnd/DropTargetContext.java
17262         (dropComplete): Mark as stub,
17263         (acceptDrag): Likewise,
17264         (rejectDrag): Likewise,
17265         (acceptDrop): Likewise,
17266         (rejectDrop): Likewise,
17267         (getCurrentDataFlavors): Likewise,
17268         (getTransferable): Likewise,
17269         * java/awt/dnd/DropTargetDropEvent.java
17270         (dropComplete): Mark as stub.
17272 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17274         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
17275         (constructor): Do not lowercase the values.
17276         * javax/swing/text/html/HTMLDocument.java
17277         (HTMLReader.addSpecialElement): Implemented.
17278         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
17280 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
17282         On behalf of Matthew Wringe <mwringe@redhat.com>
17283         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
17284         * gnu/javax/crypto/pad/ISO10126.java: New class.
17285         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
17286         (getInstance): Added support for ISO-10126 scheme.
17287         (getNames): Likewise.
17288         Cache result for speed.
17290 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
17292         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
17293         flexible self-test by sub-classes.
17294         (test1BlockSize): New method.
17296 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
17298         * javax/swing/plaf/basic/BasicLookAndFeel.java
17299         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
17300         * javax/swing/plaf/basic/BasicScrollBarUI.java
17301         (installKeyboardActions): Implemented,
17302         (uninstallKeyboardActions): Implemented,
17303         (getInputMap): New method,
17304         (getActionMap): New method,
17305         (createActionMap): New method,
17306         (installUI): Call installKeyboardActions(),
17307         (uninstallUI): Call uninstallKeyboardActions().
17308         
17309 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
17311         * javax/swing/plaf/basic/BasicScrollPaneUI.java
17312         (getActionMap): Use correct key to store action map.
17314 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
17316         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
17317         (executeInstruction): Added NOT support.
17319 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
17321         * sun/reflect/annotation/AnnotationInvocationHandler.java:
17322         New file.
17324 2006-06-08  Tom Tromey  <tromey@redhat.com>
17326         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
17327         of 'types'.
17329 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17331         * java/lang/management/RuntimeMXBean.java:
17332         New file.
17333         
17334 2006-06-08  Lillian Angel  <langel@redhat.com>
17336         * native/plugin/gcjwebplugin.cc:
17337         (NP_Shutdown): Freed whitelist_filename.
17339 2006-06-08  Lillian Angel  <langel@redhat.com>
17341         * native/plugin/Makefile.am:
17342         Removed DATA_DIRECTORY.
17343         * native/plugin/gcjwebplugin.cc:
17344         Added new global fields for whitelist_file
17345         and data_directory. Removed WHITELIST_FILE.
17346         (NP_Initialize): Initialized new fields. Also,
17347         Changed to use new fields.
17348         (NP_Shutdown): Freed data_directory.
17349         (GCJ_New): Changed to use new fields.
17350         (plugin_ask_user_about_documentbase): Likewise.
17352 2006-06-08  Lillian Angel  <langel@redhat.com>
17354         * native/plugin/Makefile.am:
17355         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
17356         * native/plugin/gcjwebplugin.cc:
17357         Changed all instances of PLUGIN_DATA_DIRECTORY
17358         to DATA_DIRECTORY.
17360 2006-06-08  Roman Kennke  <kennke@aicas.com>
17362         * java/awt/LightweightDispatcher.java
17363         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
17364         with convertPointToChild(). This is more efficient and avoids
17365         problems with getLocationOnScreen().
17366         (findTarget): Check for component beeing showing() early.
17367         Simplified AWTUtilities.convertPoint() to a simple substraction
17368         operation.
17369         (convertPointToChild): New helper method.
17371 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
17373         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
17374         message.
17376 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
17377             Lillian Angel  <langel@redhat.com>
17379         * native/plugin/gcjwebplugin.cc
17380         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
17381         Also, reset initialized field.
17383 2006-06-08  Lillian Angel  <langel@redhat.com>
17385         * javax/swing/plaf/basic/BasicProgressBarUI.java
17386         (paintString): Fixed to paint string at the correct location.
17388 2006-06-08  Roman Kennke  <kennke@aicas.com>
17390         * javax/swing/plaf/basic/BasicTreeUI.java
17391         (createDefaultActions): Added new actions.
17392         (TreePageAction.TreePageAction): Set action name.
17393         (TreePageAction.actionPerformed): Implemented.
17394         (TreePageAction.isEnabled): Implemented.
17395         (TreeToggleAction.TreePageAction): Set action name.
17396         (TreeToggleAction.actionPerformed): Implemented.
17397         (TreeToggleAction.isEnabled): Implemented.
17398         (TreeTraverseAction.TreeTraverseAction): Set action name.
17399         (TreeTraverseAction.actionPerformed): Use action name as command.
17400         (TreeTraverseAction.isEnabled): Implemented.
17402 2006-06-08  Roman Kennke  <kennke@aicas.com>
17404         * javax/swing/plaf/basic/BasicTreeUI.java
17405         (installKeyboardActions): Rewritten to correctly install the UI
17406         input and action maps.
17407         (getActionMap): New helper method.
17408         (createDefaultActionMap): New helper method.
17409         (TreeHomeAction.TreeHomeAction()): Implemented.
17410         (TreeHomeAction.actionPerformed): Implemented.
17411         (TreeHomeAction.isEnabled): Implemented.
17412         (TreeIncrementAction.TreeIncrementAction()): Implemented.
17413         (TreeIncrementAction.actionPerformed): Use action name as command.
17414         (TreeIncrementAction.isEnabled): Implemented.
17416 2006-06-08  Mark Wielaard  <mark@klomp.org>
17418         PR 27917
17419         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17420         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
17421         and unref loader.
17423 2006-06-08  Mark Wielaard  <mark@klomp.org>
17425         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17426         (attrs): Removed unused static.
17428 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
17430         * javax/swing/plaf/basic/BasicScrollPaneUI.java
17431         (getInputMap): New method,
17432         (getActionMap): New method,
17433         (createActionMap): New method,
17434         (installKeyboardActions): Implemented,
17435         (uninstallKeyboardActions): Implemented.
17437 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
17439         * javax/swing/border/MatteBorder.java:
17440         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
17441         throwing.
17442         (paintBorder): Added if-statement to abort painting early.
17444 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
17446         Fixes PR27864.
17447         * gnu/xml/dom/DomIterator.java:
17448         (successor): Changed expression.
17450 2006-06-08  Sven de Marothy  <sven@physto.se>
17452         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17453         (defaultLayout): Do kerning.
17454         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17455         (getKerning): Correct class name, removed unused variable.
17457 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
17459         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
17460         libqtpeer.so unconditionally.
17462 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17464         * java/util/InputMismatchException.java:
17465         Documented.
17466         
17467 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
17469         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17471 2006-06-07  Roman Kennke  <kennke@aicas.com>
17473         * javax/swing/plaf/basic/BasicTreeUI.java
17474         (completeUIUninstall): Implemented.
17475         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
17476         editing before uninstalling anything.
17477         (isToggleEvent): Implemented.
17478         (selectPathForEvent): Make use of isToggleEvent().
17479         (ComponentHandler.componentMoved): Implemented.
17480         (ComponentHandler.startTimer): Implemented.
17481         (ComponentHandler.getScrollPane): Implemented.
17482         (ComponentHandler.actionPerformed): Implemented.
17484 2006-06-07  Francis Kung  <fkung@redhat.com>
17486         * javax/swing/JMenuBar.java:
17487         (getSubElements): Do not return null values.
17489 2006-06-07  Roman Kennke  <kennke@aicas.com>
17491         PR 27902
17492         * gnu/regexp/BacktrackStack.java
17493         * gnu/regexp/CharIndexed.java
17494         * gnu/regexp/CharIndexedCharArray.java
17495         * gnu/regexp/CharIndexedCharSequence.java
17496         * gnu/regexp/CharIndexedInputStream.java
17497         * gnu/regexp/CharIndexedString.java
17498         * gnu/regexp/CharIndexedStringBuffer.java
17499         * gnu/regexp/RE.java
17500         * gnu/regexp/REException.java
17501         * gnu/regexp/REFilterInputStream.java
17502         * gnu/regexp/REMatch.java
17503         * gnu/regexp/REMatchEnumeration.java
17504         * gnu/regexp/RESyntax.java
17505         * gnu/regexp/REToken.java
17506         * gnu/regexp/RETokenAny.java
17507         * gnu/regexp/RETokenBackRef.java
17508         * gnu/regexp/RETokenChar.java
17509         * gnu/regexp/RETokenEnd.java
17510         * gnu/regexp/RETokenEndOfPreviousMatch.java
17511         * gnu/regexp/RETokenEndSub.java
17512         * gnu/regexp/RETokenIndependent.java
17513         * gnu/regexp/RETokenLookAhead.java
17514         * gnu/regexp/RETokenLookBehind.java
17515         * gnu/regexp/RETokenNamedProperty.java
17516         * gnu/regexp/RETokenOneOf.java
17517         * gnu/regexp/RETokenPOSIX.java
17518         * gnu/regexp/RETokenRange.java
17519         * gnu/regexp/RETokenRepeated.java
17520         * gnu/regexp/RETokenStart.java
17521         * gnu/regexp/RETokenWordBoundary.java
17522         * gnu/regexp/UncheckedRE.java
17523         * gnu/java/util/regex/BacktrackStack.java
17524         * gnu/java/util/regex/CharIndexed.java
17525         * gnu/java/util/regex/CharIndexedCharArray.java
17526         * gnu/java/util/regex/CharIndexedCharSequence.java
17527         * gnu/java/util/regex/CharIndexedInputStream.java
17528         * gnu/java/util/regex/CharIndexedString.java
17529         * gnu/java/util/regex/CharIndexedStringBuffer.java
17530         * gnu/java/util/regex/RE.java
17531         * gnu/java/util/regex/REException.java
17532         * gnu/java/util/regex/REFilterInputStream.java
17533         * gnu/java/util/regex/REMatch.java
17534         * gnu/java/util/regex/REMatchEnumeration.java
17535         * gnu/java/util/regex/RESyntax.java
17536         * gnu/java/util/regex/REToken.java
17537         * gnu/java/util/regex/RETokenAny.java
17538         * gnu/java/util/regex/RETokenBackRef.java
17539         * gnu/java/util/regex/RETokenChar.java
17540         * gnu/java/util/regex/RETokenEnd.java
17541         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
17542         * gnu/java/util/regex/RETokenEndSub.java
17543         * gnu/java/util/regex/RETokenIndependent.java
17544         * gnu/java/util/regex/RETokenLookAhead.java
17545         * gnu/java/util/regex/RETokenLookBehind.java
17546         * gnu/java/util/regex/RETokenNamedProperty.java
17547         * gnu/java/util/regex/RETokenOneOf.java
17548         * gnu/java/util/regex/RETokenPOSIX.java
17549         * gnu/java/util/regex/RETokenRange.java
17550         * gnu/java/util/regex/RETokenRepeated.java
17551         * gnu/java/util/regex/RETokenStart.java
17552         * gnu/java/util/regex/RETokenWordBoundary.java
17553         * gnu/java/util/regex/UncheckedRE.java
17554         Moved gnu.regexp classes to gnu.java.util.regex package.
17555         * java/util/regex/Matcher.java
17556         * java/util/regex/Pattern.java
17557         Adjusted import statements for new package name for gnu regexp.
17559 2006-06-07  Tom Tromey  <tromey@redhat.com>
17561         PR classpath/27905:
17562         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
17563         Added missing charsets.
17564         (charsetForName): Don't check 'extendedLoaded'.
17566 2006-06-07  Roman Kennke  <kennke@aicas.com>
17568         PR 27833
17569         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17570         (clip(Shape)): Implemented correctly, so that the current shape
17571         gets intersected by the parameter shape.
17573 2006-06-07  Lillian Angel  <langel@redhat.com>
17575         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17576         (getTabBounds): If this method is called with a tab index
17577         that is not in the rects array, we need to re-layout the container
17578         so it is created.
17580 2006-06-07  Lillian Angel  <langel@redhat.com>
17582         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17583         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
17584         * java/lang/String.java
17585         (codePointCount): Fixed check to match API. Shouldn't throw exception
17586         if end == count. end is 1 more than the endIndex, so end == count is 
17587         possible.
17589 2006-06-07  Gary Benson  <gbenson@redhat.com>
17591         PR 24895
17592         * native/jni/java-io/java_io_VMFile.c
17593         (Java_java_io_VMFile_toCanonicalForm): New method.
17594         * configure.ac: Added checks for lstat and readlink.
17595         * include/java_io_VMFile.h: Added new method.
17596         * vm/reference/java/io/VMFile.java: Use new method.
17597         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
17598         * NEWS: Documented the above.
17599         * java/io/File.java: Javadoc fix.
17601 2006-06-07  Roman Kennke  <kennke@aicas.com>
17603         PR 27920
17604         * javax/swing/JTree.java
17605         (JTree()): Initialize with default model.
17606         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17607         on the updateUI() / setModel() order.
17608         (setModel): Correctly (un-)setup the listeners. Clear the expanded
17609         paths.
17610         * javax/swing/plaf/basic/BasicTreeUI.java
17611         (BasicTreeUI()): Initialize listeners in installListeners().
17612         (setModel): Complete editing on model change. Correctly resetup
17613         the listeners. Update the layout cache accordingly.
17614         (setShowRootHandles): Complete editing and update layout. Do not
17615         call back into the JTree, this could cause cycles.
17616         (prepareForUIInstall): Implemented. Moved some init code from
17617         installUI() to this method.
17618         (completeUIInstall): Implemented. Moved some init code from
17619         installUI() to this method.
17620         (createDefaultCellEditor): Check for type of renderer, and install
17621         with null renderer when not DefaultTreeCellRenderer.
17622         (updateLayoutCacheExpandedNodes): Added null check for tree root
17623         to avoid NPE.
17624         (updateRenderer): Call updateEditor().
17625         (installListeners): Initialize the listeners here. Added some null
17626         checks to avoid NPEs.
17627         (installUI): Moved some init code to prepareForUIInstall() and
17628         completeUIInstall().
17629         (completeEditing): Return immediately if editing component is null
17630         or if the setting is to not stop editing on complete editing.
17631         (checkForClickInExpandControl): Call handleExpandControlClick()
17632         instead of toggleExpandState() directly.
17633         (isLocationInExpandControl): Rewritten to correctly determine the
17634         expand click location.
17635         (MouseHandler.mousePressed): Rewritten to make better use of the
17636         instance methods of BasicTreeUI to handle the click.
17637         (PropertyHandler.propertyChange): Handle model and cell renderer
17638         updates.
17639         * javax/swing/tree/DefaultTreeCellEditor.java
17640         (DefaultTreeCellEditor): Removed initialization of the icon. This
17641         is done so that the constructor can deal with null renderer as the
17642         RI does. Maybe this needs more fixing.
17643         * javax/swing/tree/TreePath.java
17644         (isDescendant): Fixed this method. The previous version did too
17645         much and compared the wrong things, which lead to a ClassCastException
17646         in equals().
17647         * javax/swing/tree/VariableHeightLayoutCache.java
17648         (update): Do nothing when model is null.
17649         (setModel): Clear the tables and update the layout. Added null
17650         check to prevent NPE.
17652 2006-06-07  Sven de Marothy  <sven@physto.se>
17654         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17656 2006-06-07  Sven de Marothy  <sven@physto.se>
17658         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17659         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17660         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17661         New files.
17663         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17664         (getGlyphVector): Removed native method.
17665         (createGlyphVector, getStringBounds): Use new GV class.
17667         * include/Makefile.am
17668         * native/jni/gtk-peer/Makefile.am
17669         Add new files.
17671         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17672         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17673         (getGlyphVector): Removed native method.
17674         
17675 2006-06-07  Chris Burdess  <dog@gnu.org>
17677         * gnu/classpath/debug/TeeInputStream.java,
17678           gnu/classpath/debug/TeeOutputStream.java,
17679           gnu/classpath/debug/TeeReader.java,
17680           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17681         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17682           read more characters than absolutely necessary in tryRead method.
17684 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
17686         * examples/gnu/classpath/examples/swing/Demo.java:
17687         (mkMenuBar): Put look and feel radio buttons into 
17688         appropriate button group.
17690 2006-06-07  Chris Burdess  <dog@gnu.org>
17692         * gnu/xml/stream/SAXParser.java,
17693           gnu/xml/stream/XMLParser.java: Add command line options for setting
17694           parsing parameters (for simpler debugging).
17695         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17696           closing output stream is propagated to application.
17698 2006-06-06  Mark Wielaard  <mark@klomp.org>
17700         PR 27917
17701         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17702         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17703         call disposeSurface.
17704         (disposeSurface): New native method.
17705         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17706         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17707         pattern_pixels.
17708         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17709         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17710         cairo_pattern_destroy.
17711         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17712         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17713         New function to destroy the surface.
17714         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17715         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17716         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17718 2006-06-06  Mark Wielaard  <mark@klomp.org>
17720         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17721         with JNICALL.
17723 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17725         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17726         (paint): If has focus, paint special background color,
17727         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17728         (FocusHandler.focusGained): Implemented,
17729         (FocusHandler.focusLost): Implemented.
17731 2006-06-06  Tom Tromey  <tromey@redhat.com>
17733         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17734         Javadoc fix.
17735         (writeAttributeSet): Implemented.
17737 2006-06-06  Tom Tromey  <tromey@redhat.com>
17739         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17740         Implement.
17741         (SpecialAction.end): Removed.
17742         (IsindexAction.end): Likewise.
17744 2006-06-06  Tom Tromey  <tromey@redhat.com>
17746         * include/jni.h (JDK1_1InitArgs): New struct.
17747         (JDK1_1AttachArgs): Likewise.
17749 2006-06-06  Tom Tromey  <tromey@redhat.com>
17751         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17752         method.
17753         (getUnresolvedName): New method.
17754         (getUnresolvedActions): New method.
17755         (getUnresolvedCerts): New method.
17757 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17759         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17760         (getColor): Removed debugging code.
17762 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17764         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17765         (getColor): Added support for "rgb(red, green, blue)" notation.
17766         (translateTag): Use Boolean.TRUE, not new Boolean().
17768 2006-06-06  Roman Kennke  <kennke@aicas.com>
17770         PR 27651
17771         * javax/swing/JTree.java
17772         (JTree(TreeModel)): Call updateUI() before setModel().
17773         (setModel): Don't call updateUI here.
17775 2006-06-06  Lillian Angel  <langel@redhat.com>
17776         
17777         * native/plugin/gcjwebplugin.cc:
17778         Fixed failure message and commenting.
17779         (NP_Initialize): Added more comments.
17781 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17783         * javax/swing/JSplitPane.java
17784         (AccessibleJSplitPane): API doc fixes,
17785         (setDividerLocation): Likewise,
17786         * javax/swing/plaf/basic/BasicLookAndFeel.java
17787         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17788         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17789         (getInputMap): New method,
17790         (getActionMap): New method,
17791         (createActionMap): New method,
17792         (installKeyboardActions): Implemented,
17793         (uninstallKeyboardActions): Implemented.
17795 2006-06-06  Roman Kennke  <kennke@aicas.com>
17797         PR 27523
17798         * javax/swing/MenuSelectionManager.java
17799         (processKeyEvent): Added check to avoid
17800         ArrayIndexOutOfBoundsException.
17802 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17804         * gnu/javax/swing/text/html/htmlAttributeSet.java
17805         (getAttributeNames): Rewritten
17807 2006-06-06  Chris Burdess  <dog@gnu.org>
17809         * gnu/xml/transform/TransformerImpl.java: Check type of created
17810           document (more cases).
17812 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17814         * gnu/javax/swing/text/html/htmlAttributeSet.java
17815         (clone): New method. (copyAttributes): New method.
17816         (getResolveParent): Comment fix. (getAttribute):
17817         Rewritten. (addAttribute): Rewritten.
17818         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17819         New file.
17821 2006-06-06  Roman Kennke  <kennke@aicas.com>
17823         PR 27522
17824         * javax/swing/JMenuBar.java
17825         (processKeyBindingHelper): Added null check to prevent NPE.
17827 2006-06-06  Roman Kennke  <kennke@aicas.com>
17829         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17830         (ShowSystemMenuAction): New class.
17831         (installKeyboardActions): Implemented.
17832         (uninstallKeyboardActions): Implemented.
17833         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17834         (installKeyboardActions): Overridden to remove showSystemMenu action.
17836 2006-06-06  Chris Burdess  <dog@gnu.org>
17838         * gnu/xml/transform/TransformerImpl.java: Check type of created
17839           document.
17841 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17843         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17844         (getScreenDevices): Added explicit cast.
17846 2006-06-06  Roman Kennke  <kennke@aicas.com>
17848         * javax/swing/plaf/basic/BasicTextUI.java
17849         (installKeyboardActions): Use shared input map. Correctly
17850         install the input/action maps in the component's input/action
17851         map hierarchies.
17852         (getActionMap): New helper method for fetching an ActionMap from
17853         the UIManager or creating a default one if there is none supplied
17854         by the UIManager.
17855         (createActionMap): Add the TransferHandler's actions here. Made
17856         method private.
17857         (getInputMap): Leave out unnecessary method parameter. Load
17858         shared input map.
17859         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17861 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17863         * configure.ac: Added missing [ to expression.
17865 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17867         * configure.ac: Added missing { to expression.
17869 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17871         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17872         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17873         * include/Makefile.am: Added
17874         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17875         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17876         (GdkGraphicsConfiguration): Rewritten.
17877         (getColorModel): Rewritten.
17878         (getColorModel(int)): Rewritten.
17879         (getBounds): Rewritten.
17880         (createCompatibleVolatileImage): Implemented.
17881         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17882         initializer.
17883         (getDefaultScreenDevice): Rewritten.
17884         (nativeGetDefaultScreenDevice): New method.
17885         (getScreenDevices): Rewritten.
17886         (nativeGetScreenDevices): New method.
17887         (nativeInitState): New method.
17888         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17889         rewritten.
17890         (X11DisplayMode): New inner class.
17891         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17892         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17893         * native/jni/gtk-peer/gdkdisplay.h: New file.
17894         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17895         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17896         New function.
17897         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17898         New function.
17899         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17900         _nativeGetScreenDevices):
17901         New function.
17902         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17903         _nativeGetDefaultScreenDevice):
17904         New function.
17905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17906         New file.
17907         * configure.ac: Added check for Xrandr library.
17909 2006-06-06  Roman Kennke  <kennke@aicas.com>
17911         * javax/swing/plaf/basic/BasicTableUI.java
17912         (getMaximumSize): Don't return null. Fixed calculation of
17913         table height.
17914         (getMinimumSize): Don't return null. Fixed calculation of
17915         table height.
17916         (getPreferredSize): Fixed calculation of with and height. Added
17917         API docs.
17918         (getHeight): New helper method.
17920 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17922         * javax/swing/JComponent.java
17923         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17924         condition argument, and added API docs,
17925         (getInputMap()): Added API docs.
17927 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17929         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17931 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17933         * javax/swing/JTable.java
17934         (AccessibleJTableHeaderCell.header): New field,
17935         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17936         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17937         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17938         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17939         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17940         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17941         (AccessibleJTable.getAccessibleAt): Reimplemented.
17943 2006-06-05  Sven de Marothy  <sven@physto.se>
17945         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17946         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17947         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17948         (initFromVolatile): New method.
17949         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17950         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17951         Reimplement.
17952         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17953         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17954         (copyArea, drawVolatileImage): New methods.
17955         
17956 2006-06-05  Tania Bento  <tbento@redhat.com>
17958         * javax/swing/JFrame.java
17959         (frameInit): Set background color and fixed layout parameters.
17961 2006-06-05  Tom Tromey  <tromey@redhat.com>
17963         * NEWS: Mention VMURLConnection.
17965 2006-06-05  Lillian Angel  <langel@redhat.com>
17967         * native/plugin/gcjwebplugin.cc:
17968         Added new field to keep track of initialization.
17969         (plugin_start_appletviewer): Fixed to return an error value, if
17970         an error was encountered when loading the appletviewer.
17971         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17972         has failed.
17973         (plugin_failed): New helper function. Shows a warning if the appletviewer
17974         has not been installed.
17975         (NP_Initialize): Added code to make sure this function is only called
17976         once.
17978 2006-06-05  Lillian Angel  <langel@redhat.com>
17980         * native/plugin/Makefile.am:
17981         Fixed to use a set plugin directory in the .mozilla directory.
17982         All applet logs are now stored here, instead of /tmp.
17983         * native/plugin/gcjwebplugin.cc:
17984         Added new fields for security warning.
17985         (GCJ_NEW): Added code to generate a security warning for all pages
17986         that spawn an appletviewer. This warning asks the user if they trust
17987         the applet and if they would like to add it to a 'whitelist'. This
17988         whitelist keeps track of all the addresses the user would like
17989         to trust indefinitely.
17990         (plugin_user_trusts_documentbase): New helper function.
17991         (plugin_add_documentbase_to_whitelist): New helper function.
17992         (plugin_ask_user_about_documentbase): New helper function.
17993         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17994         has been set.
17995         (plugin_start_appletviewer): Likewise.
17996         (plugin_create_applet_tag):  Reset all fields to null after they have been
17997         freed.
17998         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17999         if channel_error has been set.
18000         (plugin_stop_appletviewer): Likewise.
18001         (NP_Initialize): Likewise. Also, added code to determine if directory and file
18002         should be created.      
18004 2006-06-05  Francis Kung  <fkung@redhat.com>
18005         
18006         PR 27507
18007         * gnu/java/awt/peer/gtk/GtkImage.java
18008         (getSource): Added check to determine if in
18009         errorLoading state.
18010         * gnu/java/awt/peer/gtk/GtkToolkit.java
18011         (createImage): Added check to prevent NPE.
18013 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18015         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
18016         Create the ImageView, when applicable.
18017         * gnu/javax/swing/text/html/CombinedAttributes.java,
18018         javax/swing/text/html/ImageView.java: New files.
18020 2006-06-05  Roman Kennke  <kennke@aicas.com>
18022         PR 27834
18023         * javax/swing/text/GapContent.java
18024         (setPositionsInRange): Compare with startIndex and endIndex
18025         rather than start and end.
18026         (dumpMarks): Only dump real marks.
18028 2006-06-05  Sven de Marothy  <sven@physto.se>
18030         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
18031         (ComponentGraphics): Use 0,0 as clip origin.
18032         
18033 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18035         * java/util/Formattable.java,
18036         * java/util/FormattableFlags.java,
18037         * java/util/Formatter.java:
18038         Documented.
18040 2006-06-04  Tom Tromey  <tromey@redhat.com>
18042         * javax/naming/Context.java (list): Genericized.
18043         (listBindings): Likewise.
18044         * javax/naming/Reference.java (addrs): Genericized.
18045         * javax/naming/InitialContext.java (myProps): Fixed type.
18046         (init): Genericized.
18047         
18048 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18050         * java/util/DuplicateFormatFlagsException.java,
18051         * java/util/FormatFlagsConversionMismatchException.java,
18052         * java/util/FormatterClosedException.java,
18053         * java/util/IllegalFormatCodePointException.java,
18054         * java/util/IllegalFormatConversionException.java,
18055         * java/util/IllegalFormatException.java,
18056         * java/util/IllegalFormatFlagsException.java,
18057         * java/util/IllegalFormatPrecisionException.java,
18058         * java/util/IllegalFormatWidthException.java,
18059         * java/util/MissingFormatArgumentException.java,
18060         * java/util/MissingFormatWidthException.java,
18061         * java/util/UnknownFormatConversionException.java,
18062         * java/util/UnknownFormatFlagsException.java:
18063         Documented.
18065 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18067         * java/lang/System.java:
18068         (getenv()): Handle cases where split only
18069         returns an array of size 1.
18070         
18071 2006-06-04  Sven de Marothy  <sven@physto.se>
18073         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18074         (createVolatileImage): Pass peer to VolatileImage constructor.
18075         * java/awt/Component.java
18076         (createVolatileImage): Call peer method directly.
18077         
18078 2006-06-04  Sven de Marothy  <sven@physto.se>
18080         * gnu/java/awt/peer/gtk/CairoSurface.java
18081         (getFlippedBuffer): New method.
18082         (getGtkImage): Renamed method.
18083         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18084         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
18085         Renamed getSharedImage to getGtkImage.
18086         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18088         (getFlippedBuffer): New method
18089         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18090         Avoid window casts.
18091 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18094         (drawVolatile): Add casts.
18095         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
18096         (getOutline): Add casts.
18097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
18098         Comment out unused prototype.
18099         (getPixels): Add appropriate cast and comment out unused variable.
18100         
18101 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
18103         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
18104         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
18105         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
18106         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
18107         (getSystemInstance): Fix javadoc @link.
18108         (counter): Increased visibility.
18109         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
18110         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
18111         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
18112         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
18113         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
18114         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
18115         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
18116         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
18117         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
18118         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
18119         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
18120         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
18121         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
18122         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
18123         * gnu/javax/crypto/mac/OMAC.java: Likewise.
18124         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
18125         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
18126         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
18127         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
18128         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
18129         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
18130         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
18131         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
18132         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
18133         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
18134         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
18135         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
18136         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
18137         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
18138         * gnu/javax/crypto/assembly/Direction.java: Likewise.
18139         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
18141 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
18143         * gnu/java/security/PolicyFile.java: Updated copyright year.
18144         (logger): Increased visibility.
18145         * gnu/java/security/x509/Util.java: Updated copyright year.
18146         (hexDump): Fix javadoc @link.
18147         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
18148         Removed unused import.
18149         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
18150         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
18151         * gnu/java/security/util/ExpirableObject.java: Likewise.
18152         (destroy): Likewise.
18153         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
18154         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
18155         Updated copyright year.
18156         (checkCRL): Fix javadoc @param.
18158 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18160         * java/lang/annotation/IncompleteAnnotationException.java:
18161         Documented.
18163 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18165         * java/lang/ProcessBuilder.java:
18166         Documented.
18167         (environment): Create as a copy.
18168         * java/lang/System.java:
18169         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
18170         New constructor.
18171         (EnvironmentMap.put(String,String)): Override superclass
18172         method with checks for nulls and non-Strings.
18173         
18174 2006-06-02  Sven de Marothy  <sven@physto.se>
18176         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18177         (cairoPreserveClip, cairoResetClip): New methods.
18178         (setClip, clip): Reimplement.
18179         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18180         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18181         (cairoPreserveClip, cairoResetClip): New methods.
18182         
18183 2006-06-02  Sven de Marothy  <sven@physto.se>
18185         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
18186         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
18187         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
18188         New files.
18189         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18190         (drawImage): Overloads for VolatileImage drawing.
18191         (drawVolatile): New method.
18192         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18193         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18194         (drawVolatile): New method.
18195         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
18196         Unstub implementation.
18197         * include/Makefile.am
18198         * native/jni/gtk-peer/Makefile.am
18199         Add new files.
18200         * native/jni/gtk-peer/gtkpeer.h
18201         New prototype.
18202         
18203 2006-06-03  Roman Kennke  <kennke@aicas.com>
18205         PR 27418
18206         * javax/swing/plaf/basic/BasicTextUI.java
18207         (damageRange): Added null check to avoid NPE.
18209 2006-06-03  Roman Kennke  <kennke@aicas.com>
18211         * javax/swing/text/PlainView.java
18212         (updateDamage): Check for valid longestLine and initialize if
18213         necessary.
18215 2006-06-03  Mark Wielaard  <mark@klomp.org>
18217         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
18218         comments, not C++.
18220 2006-06-02  Sven de Marothy  <sven@physto.se>
18222         PR 27879 
18223         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18224         (copyArea): Implement.
18225         (copyAreaImpl, getRealBounds): New methods.
18226         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18227         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18228         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18229         (copyAreaImpl, getRealBounds): Implement.
18230         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18231         (nativeCopyArea): Reimplement.  
18232         
18233 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
18235         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
18236         (XTEST_LIBS): New, substitute.
18237         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
18239 2006-06-02  Roman Kennke <kennke@aicas.com>
18241         PR 26738
18242         * javax/swing/text/PlainView.java
18243         (updateDamage): Rewritten for correct repainting and revalidating.
18244         (findLongestLine): New helper method.
18245         (getLineLength): New helper method.
18247 2006-06-02  Sven de Marothy  <sven@physto.se>
18249         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18250         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18251         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18252         (nativeCopyArea): Change stride parameter to use # of ints.
18253         (setPixels): Add checks.
18254         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18255         (ComponentGraphics): Set background, clip.
18256         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18257         (Cairographics2D): Don't set clip.
18258         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18259         Add flush.
18261 2006-06-02  Lillian Angel  <langel@redhat.com>
18263         PR 24458
18264         * java/awt/DefaultKeyboardFocusManager.java
18265         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
18266         to get the focused window.
18268 2006-06-01  Miriam Schuster  <schmir11@web.de>
18270         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
18271         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
18273 2006-06-02  Roman Kennke <kennke@aicas.com>
18275         * javax/swing/JTable.java
18276         (columnSelectionChanged): Don't return when there's only one
18277         column (might still need repainting). Correctly calculate
18278         repaint rectangle.
18279         (valueChanged): Use return value of SwingUtilities.computeUnion
18280         as dirty region.
18282 2006-06-01  Keith Seitz  <keiths@redhat.com>
18284         From Martin Platter  <motse@complang.tuwien.ac.at>:
18285         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
18286         (executeSet): Fix buffer underflow reading reference ID.
18287         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
18288         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
18289         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
18290         (executeSuperclass): Handle case of Object with ID zero.
18292 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
18294         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
18295         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
18296         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
18297         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
18298         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
18299         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
18300         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
18301         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
18302         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
18303         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
18304         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
18306 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
18308         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
18309         (Command): Add the shutdown hook.
18310         (doCommand): Remove the shutdown hook.
18311         (ShutdownHook): New class.
18313 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
18315         * tools/jarsigner.in: Use @VM_BINARY@.
18316         * tools/keytool.in: Likewise.
18318 2006-06-01  Sven de Marothy  <sven@physto.se>
18320         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
18321         (setColor): Update the cairo paint.
18323 2006-06-01  Mark Wielaard  <mark@klomp.org>
18325         * java/util/logging/LogManager.java (createInstance): Always add
18326         original exception on warning.
18328 2006-06-01  Lillian Angel  <langel@redhat.com>
18330         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18331         (prependCodebase): Fixed check. No dirname was ever considered to 
18332         be a file, so every applet fell into the if-statement causing a lot
18333         of classloading problems with the applets.
18335 2006-06-01  Sven de Marothy  <sven@physto.se>
18337         Patch submitted by Boris Dusek.
18338         * native/jni/qt-peer/qtmenupeer.cpp
18339         Fix segfault
18341 2006-06-01  Roman Kennke <kennke@aicas.com>
18343         * javax/swing/JTable.java
18344         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
18345         why the behaviour is like it is.
18346         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
18347         (AccessibleJTableHeader): New inner class.
18348         (AccessibleJTableHeaderCell): New inner class.
18349         (AccessibleJTable.lastSelectedRow): New field.
18350         (AccessibleJTable.lastSelectedColumn): New field.
18351         (AccessibleJTable.caption): New field.
18352         (AccessibleJTable.summary): New field.
18353         (AccessibleJTable.rowDescriptions): New field.
18354         (AccessibleJTable.columnDescriptions): New field.
18355         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
18356         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
18357         (AccessibleJTable.isAccessibleChildSelected): Implemented.
18358         (AccessibleJTable.addAccessibleSelection): Implemented.
18359         (AccessibleJTable.removeAccessibleSelection): Implemented.
18360         (AccessibleJTable.clearAccessibleSelection): Implemented.
18361         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
18362         (AccessibleJTable.valueChange): Implemented.
18363         (AccessibleJTable.tableRowsInserted): Implemented.
18364         (AccessibleJTable.tableRowsDeleted): Implemented.
18365         (AccessibleJTable.handleRowChange): New helper method.
18366         (AccessibleJTable.columnAdded): Implemented.
18367         (AccessibleJTable.columnMarginChanged): Implemented.
18368         (AccessibleJTable.columnMoved): Implemented.
18369         (AccessibleJTable.columnRemoved): Implemented.
18370         (AccessibleJTable.columnSelectionChanged): Implemented.
18371         (AccessibleJTable.handleColumnChange): New helper method.
18372         (AccessibleJTable.editingCanceled): Implemented.
18373         (AccessibleJTable.editingStopped): Implemented.
18374         (AccessibleJTable.getAccessibleRow): Implemented.
18375         (AccessibleJTable.getAccessibleColumn): Implemented.
18376         (AccessibleJTable.getAccessibleIndex): Implemented.
18377         (AccessibleJTable.getAccessibleCaption): Implemented.
18378         (AccessibleJTable.setAccessibleCaption): Implemented.
18379         (AccessibleJTable.getAccessibleSummary): Implemented.
18380         (AccessibleJTable.setAccessibleSummary): Implemented.
18381         (AccessibleJTable.getAccessibleRowCount): Implemented.
18382         (AccessibleJTable.getAccessibleColumnCount): Implemented.
18383         (AccessibleJTable.getAccessibleAt): Implemented.
18384         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
18385         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
18386         (AccessibleJTable.getAccessibleRowHeader): Implemented.
18387         (AccessibleJTable.setAccessibleRowHeader): Implemented.
18388         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
18389         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
18390         (AccessibleJTable.getAccessibleRowDescription): Implemented.
18391         (AccessibleJTable.setAccessibleRowDescription): Implemented.
18392         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
18393         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
18394         (AccessibleJTable.isAccessibleSelected): Implemented.
18395         (AccessibleJTable.isAccessibleRowSelected): Implemented.
18396         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
18397         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
18398         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
18399         (getAccessibleContext): Register listeners for the accessibility
18400         class on the JTable.
18402 2006-06-01  Sven de Marothy  <sven@physto.se>
18404         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
18405         (setPaint): Scale +1 pixel larger.
18407 2006-06-01  Sven de Marothy  <sven@physto.se>
18409         PR 27854
18410         * gnu/java/awt/Buffers.java (getData): Reimplement.
18411         * gnu/java/awt/peer/gtk/CairoSurface.java
18412         (getElem, setElem): Call native methods.
18414 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18416         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
18418 2006-06-01  Sven de Marothy  <sven@physto.se>
18420         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18421         (drawImage): Check for zero size.
18422         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
18423         (setFont): Declare new native method.
18424         (GdkTextLayout): Read some attributes.
18425         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18426         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18427         (setFont): New native method.
18428         
18429 2006-06-01  Sven de Marothy  <sven@physto.se>
18431         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18432         (updateBufferedImage): Fix some errors.
18434 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
18436         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
18437         fixes,
18438         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
18439         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
18440         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
18441         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
18442         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
18443         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
18444         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
18445         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
18446         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
18447         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
18448         
18449 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
18451         * javax/swing/JComboBox.java: Minor source code formatting fixes,
18452         * javax/swing/JEditorPane.java: Likewise,
18453         * javax/swing/JFormattedTextField.java: Likewise,
18454         * javax/swing/JLayeredPane.java: Likewise,
18455         * javax/swing/JScrollPane.java: Likewise,
18456         * javax/swing/JSlider.java: Likewise,
18457         * javax/swing/JSpinner.java: Likewise,
18458         * javax/swing/JTree.java: Likewise,
18459         * javax/swing/JViewport.java: Likewise,
18460         * javax/swing/UIDefaults.java: Likewise,
18461         * javax/swing/UIManager.java: Likewise.
18462         
18463 2006-06-01  Sven de Marothy  <sven@physto.se>
18465         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18466         (BufferedImageGraphics): Cache surfaces.
18467         (updateBufferedImage): Copy directly for certain color models.
18468         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18469         (drawImage): Reimplement.
18471 2006-06-01  Sven de Marothy  <sven@physto.se>
18473         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18474         (setPixels): Don't swap, correct size.
18476 2006-05-31  Anthony Green  <green@redhat.com>
18478         PR 27828
18479         * java/net/InetSocketAddress.java: Defer getting the host
18480         name until somebody calls InetSocketAddress.getHostName().
18481         Fix "represenation" typo.
18483 2006-06-01  Sven de Marothy  <sven@physto.se>
18485         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18486         (updateBufferedImage): Simplify.
18487         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18488         (getPixels): Don't swap.
18490 2006-06-01  Sven de Marothy  <sven@physto.se>
18492         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18493         (setGradient): Reimplement.
18494         
18495 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
18497         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
18498         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
18499         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18500         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
18501         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
18502         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18503         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18504         Likewise.
18506 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18508         * javax/swing/table/JTableHeader.java
18509         (getColumnHeaderRenderer): New method,
18510         (getAccessibleColumnHeaderRenderer): Delegate part to new
18511         getColumnHeaderRenderer() method,
18512         (getLocale): Implemented.
18514 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
18516         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18517         (cp_gtk_grab_current_drawable): Rename
18518         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
18519         cp_gtk_grab_current_drawable, remove static declaration.
18520         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
18521         function.
18522         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
18523         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
18524         Remove prototype of
18525         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
18526         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
18527         function.
18528         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
18529         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
18530         cp_gtk_grab_current_drawable here.
18532 2006-05-31  Sven de Marothy  <sven@physto.se>
18534         Should fix PR 27835
18535         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18536         (updateBufferedImage): Keep within image bounds.
18538 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
18539             Andreas Tobler  <a.tobler@schweiz.ch>
18541         * configure.ac: Check for libXrender when the GTK peers are
18542         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
18543         X_EXTRA_LIBS.
18544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18545         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
18546         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
18548 2006-05-31  Lillian Angel  <langel@redhat.com>
18550         * javax/swing/plaf/basic/BasicProgressBarUI.java
18551         (paintString): Implemented to paint the string vertically.
18553 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18555         * javax/swing/JTable.java
18556         (AccessibleJTable.AccessibleJTable()): Check for null editor,
18557         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
18558         value,
18559         (AccessibleJTable.getAccessibleTable()): Likewise,
18560         (getAccessibleContext): Create new context if required.
18562 2006-05-31  Roman Kennke <kennke@aicas.com>
18564         * javax/swing/JTabbedPane.java
18565         (AccessibleJTabbedPane.stateChanged): Implemented.
18566         (Page.getAccessibleStateSet): Implemented.
18567         (Page.getAccessibleIndexInParent): Implemented.
18568         (getAccessibleContext): Add AccessibleJTabbedPane object
18569         as ChangeListener to the JTabbedPane.
18571 2006-05-31  Roman Kennke <kennke@aicas.com>
18573         * javax/swing/JMenuItem.java
18574         (getAccessibleContext): Register accessible object as ChangeListener
18575         to the JMenuItem.
18576         (AccessibleJMenuItem.armed): New field.
18577         (AccessibleJMenuItem.focusOwner): New field.
18578         (AccessibleJMenuItem.pressed): New field.
18579         (AccessibleJMenuItem.selected): New field.
18580         (stateChanged): Implemented.
18582 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18584         * javax/swing/ListSelectionModel.java: Added API docs all over.
18586 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18588         * examples/gnu/classpath/examples/swing/FillRect.java 
18589         (paintComponent): Optionally paint lines rather than rectangles.
18590         (createContent): Added option to test line painting.
18592 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18594         * javax/swing/event/EventListenerList.java
18595         (getListenerList): Updated API docs.
18597 2006-05-30  Sven de Marothy  <sven@physto.se>
18599         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18600         (drawImage): Clip scaled image to dest rectangle.
18602 2006-05-30  Sven de Marothy  <sven@physto.se>
18604         * gnu/java/awt/peer/gtk/CairoSurface.java:
18605         (CairoSurface): Convert pixels properly.
18606         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18607         Remove commented-out lines.
18609 2006-05-30  Sven de Marothy  <sven@physto.se>
18611         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18612         (drawImage): Use Toolkit to convert to BufferedImage.
18613         * gnu/java/awt/peer/gtk/CairoSurface.java
18614         (CairoSurface(GtkImage)): New Constructor.
18615         (getBufferedImage): New method.
18616         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18617         Don't fill background - FIXME.
18618         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18619         Remove unused methods.
18620         * gnu/java/awt/peer/gtk/GtkImage.java:
18621         (pixbuflock): New field. Methods change to use this lock.
18622         * gnu/java/awt/peer/gtk/GtkToolkit.java
18623         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
18624         GtkPixbufDecoder.
18625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18626         (setPixels): Correct length in bytes.
18628 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18630         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18631         System.loadLibrary unconditionally.
18632         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18633         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18634         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18635         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18637 2006-05-30  Mark Wielaard  <mark@klomp.org>
18639         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18640         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18641         Mark unused parameters, remove unused variables.
18643 2006-05-30  Sven de Marothy  <sven@physto.se>
18645         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18646         (copyArea): Implemented.
18647         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18648         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18649         (copyAreaNative): New method.
18651 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
18653         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18654         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18655         for non big endian systems.
18656         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18658 2006-05-30  Roman Kennke <kennke@aicas.com>
18660         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18661         * java/awt/TexturePaint.java
18662         (createContext): Implemented.
18664 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18666         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18667         field early.
18669 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18671         * java/awt/Container.java:
18672         (removeAll): Reimplemented, added note.
18674 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18676         * java/awt/Container.java:
18677         (removeAll): Implemented different removal mechanism, added note.
18679 2006-05-30  Lillian Angel  <langel@redhat.com>
18681         PR 27785
18682         * java/awt/Component.java:
18683         (translateEvent): Added handling to translate WindowEvents
18684         * java/awt/Window.java:
18685         Removed unneeded imports.
18687 2006-05-30  Mark Wielaard  <mark@klomp.org>
18689         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18690         cairographics2d.h.
18692 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18694         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18696 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18698         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18699         (clearRect): Do not reuse the fg field, call updateColor.
18700         (drawRaster): Likewise.
18701         (setColor): Call updateColor.
18702         (updateColor): New method.
18704 2006-05-30  Mark Wielaard  <mark@klomp.org>
18706         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18707         (PTR_TO_JLONG): Likewise.
18708         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18709         (getPointer): Use new conversion macros.
18710         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18711         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18712         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18713         Likewise.
18714         (setNativeObject): Likewise.
18715         (getNativeObject): Likewise.
18716         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18717         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18718         Mark static.
18719         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18720         Correctly cast XID and pointer values.
18721         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18722         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18723         Mark unused variables.
18724         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18725         Likewise.
18726         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18727         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18728         Remove unused cairographics2d struct.
18729         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18730         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18731         Use new conversion macros.
18732         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18734 2006-05-30  Mark Wielaard  <mark@klomp.org>
18736         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18738 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18740         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18741         (copy): Do not reuse the fd field.
18742         (setColor): Do not set the color if the parameter
18743         matches fd field.
18744         (translate(double, double): Rewritten to use
18745         AffineTransform.translate. 
18747 2006-05-30  Sven de Marothy  <sven@physto.se>
18749         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18750         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18751         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18752         New files.
18753         * include/Makefile.am
18754         * native/jni/gtk-peer/Makefile.am
18755         Add new files.
18756         * gnu/java/awt/peer/gtk/CairoSurface.java
18757         (getSharedGtkImage): New method.
18758         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18759         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18760         Fix copyArea.
18761         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18762         Support a non-xrender context.
18763         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18764         Plug memory leak.
18765         * gnu/java/awt/peer/gtk/GtkImage.java
18766         * include/gnu_java_awt_peer_gtk_GtkImage.h
18767         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18768         (initFromBuffer): New method.   
18769         * native/jni/gtk-peer/gtkpeer.h: 
18770         Remove declarations of previouslyremoved methods.
18772 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18774         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18776 2006-05-29  Mark Wielaard  <mark@klomp.org>
18778         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18779         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18780         arguments.
18781         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18782         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18783         early. Remove unused return statement in void function.
18784         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18785         ptr early.
18786         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18787         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18788         unused arguments.
18789         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18790         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18791         Likewise.
18792         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18793         Likewise.
18795 2006-05-29  Sven de Marothy  <sven@physto.se>
18797         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18798         (setPixels): Remove superfluous return statement.       
18800 2006-05-29  Sven de Marothy  <sven@physto.se>
18802         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18803         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18804         * gnu/java/awt/peer/gtk/CairoSurface.java
18805         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18806         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18807         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18808         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18809         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18810         * native/jni/gtk-peer/cairographics2d.h
18811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18812         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18813         New files.
18815         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18816         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18817         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18818         Removed
18820         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18821         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18822         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18823         (releasePeerGraphicsResource): Moved to Font peer class.
18825         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18826         (createGraphics): Use new context classes.
18828         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18829         Use native BufferedImages where possible.
18831         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18832         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18833         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18834         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18835         renamed to cairoDrawGdkTextLayout.
18836         
18837         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18838         (getGraphics): Use ComponentGraphics context.
18839         (createImage): Use native BufferedImage.
18840         
18841         * gnu/java/awt/peer/gtk/GtkImage.java:
18842         * include/gnu_java_awt_peer_gtk_GtkImage.h
18843         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18844         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18845         Remove drawing methods.
18846                 
18847         * gnu/java/awt/print/JavaPrinterGraphics.java:
18848         Use CairoSurface instead of GtkImage.
18849         
18850         * include/Makefile.am
18851         * native/jni/gtk-peer/Makefile.am
18852         Update for new files.
18854         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18855         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18856         Remove superfluous GtkImage code for GdkPixmaps. 
18858         * native/jni/gtk-peer/gtkpeer.h
18859         Remove graphics2d structure.
18860         
18861 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18863         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18864         Do not reuse fg in the constructor.
18866 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18868         * java/io/ObjectStreamConstants.java: Added API docs.
18870 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18872         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18873         Take no action if this color is already set.
18875 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18877         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18878         Rewritten. 
18879         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18880         Optionally paint with translation. (createContent): Added option
18881         to test painting with translation
18883 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18885         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18886         pattern to the default value when null.
18887         Pass field pattern, and not parameter with same name to createFileStream.
18889 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18891         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18892         New class implementing the OS bean.
18893         * gnu/java/lang/management/package.html:
18894         New file to document the gnu.java.lang.management package.
18895         * java/lang/management/ManagementFactory.java:
18896         New class to provide access to the OS bean.
18897         * java/lang/management/OperatingSystemMXBean.java:
18898         New interface.
18899         * java/lang/management/package.html:
18900         New file to document the java.lang.management package.
18901         
18902 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18904         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18905         (JKS): Likewise.
18906         (LIB): Likewise.
18907         (SECURITY): Likewise.
18908         (CACERTS): Likewise.
18909         (CACERTS_GKR): Likewise.
18910         (gkrCaCertsPathName): New field.
18911         (jksCaCertsPathName): Likewise.
18912         (selfSignedCertificate): Likewise.
18913         (start): Initialize trusted certificate key stores if -trustcacerts is
18914         specified.
18915         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18916         (orderChain): Implemented.
18917         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18918         certificate key stores if -trustcacerts option is specified.
18919         (findTrustInCACerts): Removed.
18920         (getCertPathParameters): New method.
18921         (validate): New method.
18922         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18924 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18926         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18927         (PATTERN_KEY): Likewise.
18928         (DEFAULT_PATTERN): Likewise.
18929         (LIMIT_KEY): Likewise.
18930         (DEFAULT_LIMIT): Likewise.
18931         (COUNT_KEY): Likewise.
18932         (DEFAULT_COUNT): Likewise.
18933         (APPEND_KEY): Likewise.
18934         (DEFAULT_APPEND): Likewise.
18935         (FileHandler()): Use pattern value as set in logging.properties.
18936         Use constants defined above.
18937         (FileHandler(1)): Use constants defined above.
18938         (FileHandler(2)): Likewise.
18939         (FileHandler(3)): Likewise.
18940         (FileHandler(4)): Likewise.
18941         (createFileStream): Likewise.
18943 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18945         * java/util/logging/FileHandler.java: Reverted previous patch.
18946         * java/util/logging/LogManager.java: Likewise.
18948 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18950         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18951         (DEFAULT_PATTERN): Likewise.
18952         (FileHandler()): Use configured pattern property if any; otherwise use a
18953         default value as per RI documentation.
18954         * java/util/logging/LogManager.java (getStringProperty): New method.
18956 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18958         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18960 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18962         * configure.ac (FOUND_CACAO): New automake conditional.
18963         Add --enable-tool-wrappers.
18964         * NEWS: Introduce the --enable-tool-wrappers option.
18965         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18966         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18967         rename ...
18968         * tools/toolwrapper.c: New file.
18970 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18972         * java/awt/Graphics2D.java: Use full class name for 
18973         PrinterJob in javadoc.
18975 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18977         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18978         (callMouseMethod): Likewise.
18980 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18982         * native/jni/java-net/java_net_VMURLConnection.c:
18983         Fix function declarations to specify unused parameters.
18984         * scripts/check_jni_methods.sh:
18985         Remove copies of the same function using uniq.
18986         
18987 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18989         * vm/reference/java/net/VMURLConnection.java:
18990         Make package-private and final.
18991         
18992 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18994         * examples/gnu/classpath/examples/swing/TableDemo.java
18995         (TModed): Added editor for the icons column.
18996         (createContent): Increase the row height by 2 px.
18998 2006-05-26  Tom Tromey  <tromey@redhat.com>
19000         PR classpath/27685:
19001         * java/math/BigInteger.java (modPow): Correctly handle negative
19002         exponent.
19004 2006-05-26  Tom Tromey  <tromey@redhat.com>
19006         * configure.ac: Check for magic.h and -lmagic.
19007         * vm/reference/java/net/VMURLConnection.java: New file.
19008         * include/java_net_VMURLConnection.h: New file.
19009         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
19010         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
19011         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
19012         Mention new file.
19013         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
19014         * native/jni/java-net/java_net_VMURLConnection.c: New file.
19016 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
19018         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
19020 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
19022         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
19023         libjawtgnu.la libjawt.la.
19025 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
19027         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
19028         gtkcairopeer.h.
19030 2006-05-25  Lillian Angel  <langel@redhat.com>
19031         
19032         PR 26174
19033         * java/awt/Window.java
19034         (Window): Moved code to helper.
19035         (addWindowFocusListener): New function. Handles focus
19036         listener code. Added code to handle focus lost/gained
19037         from the window.
19039 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19041         * configure.ac:
19042         Make pkg-config check for GTK+ >= 2.8.
19043         
19044 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
19046         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
19047         (flush): Remove debugging printfs.
19049 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
19051         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
19052         (schedule_flush): New function.
19053         (end_drawing_operation): Call schedule_flush.
19055 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
19057         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
19058         paint performance demo.
19059         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
19061 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
19063         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
19064         Cairo version requirement.  Do not mention --enable-gtk-cairo
19065         configure option.
19066         * NEWS: Add entry for GdkGraphics2D.
19067         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
19068         Cairo library and headers.
19069         * .externalToolBuilders/Configure.launch: Remove
19070         --enable-gtk-cairo from configure line.
19071         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
19072         field.
19073         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
19074         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
19075         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
19076         useGraphics2D references.  Always assume Graphics2D is enabled.
19077         * gnu/java/awt/peer/gtk/GdkGraphics.java,
19078         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
19079         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
19080         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
19081         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
19082         useGraphics2D references.  Always assume Graphics2D is enabled.
19083         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
19084         Graphics2D check.  Always assume Graphics2D is enabled.
19085         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
19086         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
19087         (realize): Remove method.
19088         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
19089         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19090         (isRealized): Remove method.
19091         (realize): Implement as a native method.  Remove useGraphics2D
19092         references.  Always assume Graphics2D is enabled.
19093         * gnu/java/awt/peer/gtk/GtkImage.java,
19094         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
19095         GdkGraphics references with GdkGraphics2D references.
19096         * gnu/java/awt/peer/gtk/GtkToolkit.java,
19097         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
19098         useGraphics2D references.  Always assume Graphics2D is enabled.
19099         * include/Makefile.am (GTKPEER_H_FILES): Remove
19100         gnu_java_awt_peer_gtk_GdkGraphics.h.
19101         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
19102         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
19103         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
19104         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
19105         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
19106         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
19107         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
19108         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
19109         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
19110         (AM_LDFLAGS): Remove CAIRO_LIBS.
19111         (AM_CFLAGS): Remove CAIRO_CFLAGS.
19112         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
19113         to ...
19114         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
19116 2006-05-25  Lillian Angel  <langel@redhat.com>
19118         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19119         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
19120         Added check to prevent assertion error. If widget->window is null, then
19121         use the parent widget's window to set the cursor on.
19123 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19125         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
19126         Implemented.
19128 2006-05-24  Lillian Angel  <langel@redhat.com>
19130         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
19131         (prependCodeBase): Added check to determine if the documentbase
19132         points to a directory or a file.
19134 2006-05-24  Sven de Marothy  <sven@physto.se>
19136         * java/awt/dnd/DragGestureRecognizer.java
19137         (resetRecognizer): Implement.
19138         (fireDragGestureRecognized): Implement.
19140 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
19142         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
19143         fixed source code formatting.
19145 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19147         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
19149 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19151         Reported by Antony Balkisson.
19152         * javax/swing/JTable.java (selectAll): Return without action 
19153         if the table is empty.
19155 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19157         * examples/gnu/classpath/examples/swing/TableDemo.java:
19158         (SliderCell): New inner class. (setCustomEditors,
19159         setInformativeHeaders): New fields. (createContent):
19160         Rewritten.
19161         * javax/swing/DefaultCellEditor.java 
19162         (JComboBoxDelegate.shouldSelectCell): New method.
19163         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
19164         * javax/swing/plaf/basic/BasicTableUI.java
19165         (MouseInputHandler.mouseClicked): Start editing on a single
19166         click if the cell editor is not a default cell editor.
19168 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19170         * javax/swing/naming/CompositeName.java,
19171         javax/swing/naming/CompoundName.java:
19172         Documented.
19174 2006-05-23  Archie Cobbs  <archie@dellroad.org>
19176         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
19177         ordering problem.
19179 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
19181         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
19182         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
19183         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
19184         * javax/swing/tree/DefaultTreeModel.java: Likewise,
19185         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
19186         * javax/swing/tree/ExpandVetoException.java: Likewise,
19187         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
19188         * javax/swing/tree/RowMapper.java: Likewise,
19189         * javax/swing/tree/TreeNode.java: Likewise,
19190         * javax/swing/tree/TreeSelectionModel.java: Likewise,
19191         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
19193 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
19195         * javax/swing/tree/DefaultTreeCellRenderer.java
19196         (DefaultTreeCellRenderer): Changed key for 
19197         setBackgroundNonSelectionColor(),
19198         plus API docs all over.
19200 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19201         
19202         PR 27680
19203         * javax/swing/JTable.java (booleanInvertingEditor): New field.
19204         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
19205         Initialise in constructor. (columnMoved): Cancel editing.
19206         (createDefaultEditors): Rewritten. (editCellAt):
19207         Just invert the value if this is a boolean cell. 
19208         (initialiseLocalVars): Do not initialise renderer and editor tables.
19209         (setUI): Create editors and renderers here.
19211 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
19213         * examples/gnu/classpath/examples/awt/Demo.java:
19214         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
19215         instance as subframe.
19216         (ResolutionWindow): New inner class.
19217         (FullscreenWindow): New inner class.
19219 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19220         
19221         PR 27680
19222         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
19223         Set horizontal alignment to centered.
19225 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
19227         * javax/accessibility/AccessibleContext.java
19228         (getAccessibleComponent): Fixed typo in docs,
19229         * javax/swing/JLabel.java:
19230         (AccessibleJLabel.getAccessibleName): Check for explicit 
19231         accessibleName,
19232         * javax/swing/JTableHeader.java
19233         (AccessibleJTableHeaderEntry.columnIndex): New field,
19234         (AccessibleJTableHeaderEntry.parent): New field,
19235         (AccessibleJTableHeaderEntry.table): New field,
19236         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
19237         Implemented,
19238         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
19239         utility method,
19240         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
19241         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
19242         (AccessibleJTableHeaderEntry.contains): Implemented,
19243         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
19244         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
19245         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
19246         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
19247         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
19248         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
19249         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
19250         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
19251         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
19252         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
19253         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
19254         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
19255         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
19256         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
19257         (AccessibleJTableHeaderEntry.getBackground): Implemented,
19258         (AccessibleJTableHeaderEntry.getBounds): Implemented,
19259         (AccessibleJTableHeaderEntry.getCursor): Implemented,
19260         (AccessibleJTableHeaderEntry.getFont): Implemented,
19261         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
19262         (AccessibleJTableHeaderEntry.getForeground): Implemented,
19263         (AccessibleJTableHeaderEntry.getLocation): Implemented,
19264         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
19265         (AccessibleJTableHeaderEntry.getSize): Implemented,
19266         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
19267         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
19268         (AccessibleJTableHeaderEntry.isShowing): Implemented,
19269         (AccessibleJTableHeaderEntry.isVisible): Implemented,
19270         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
19271         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
19272         Implemented,
19273         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
19274         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
19275         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
19276         (AccessibleJTableHeaderEntry.setBackground): Implemented,
19277         (AccessibleJTableHeaderEntry.setBounds): Implemented,
19278         (AccessibleJTableHeaderEntry.setCursor): Implemented,
19279         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
19280         (AccessibleJTableHeaderEntry.setFont): Implemented,
19281         (AccessibleJTableHeaderEntry.setForeground): Implemented,
19282         (AccessibleJTableHeaderEntry.setLocation): Implemented,
19283         (AccessibleJTableHeaderEntry.setSize): Implemented,
19284         (AccessibleJTableHeaderEntry.setVisible): Implemented,
19285         (AccessibleJTableHeader.getAccessibleRole): Implemented,
19286         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
19287         (AccessibleJTableHeader.getAccessibleChild): Implemented,
19288         (AccessibleJTableHeader.getAccessibleAt): Implemented.
19290 2006-05-22  Tom Tromey  <tromey@redhat.com>
19292         * NEWS: Updated.
19294 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
19296         * javax/swing/JLabel.java
19297         (AccessibleJLabel.getAccessibleName): New method (override),
19298         (setLabelFor): Fire 'labelFor' property change event before other
19299         events.
19301 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
19303         * javax/swing/JLabel.java
19304         (AccessibleJLabel.getAccessibleRole): New method (override).
19306 2006-05-22  Tom Tromey  <tromey@redhat.com>
19308         * resource/gnu/classpath/tools/serialver/messages.properties: New
19309         file.
19310         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
19311         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
19312         field.
19313         (classpath): Likewise.
19314         (run): New method.
19315         (main): Use it.
19316         (addFileURL): New method.
19317         (getClassLoader): Likewise.
19318         (printMessage): Likewise.
19320 2006-05-22  Tom Tromey  <tromey@redhat.com>
19322         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
19324 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19326         * javax/swing/JTable.java (doLayout): In the column
19327         resize mode, only repaing the changed part of the table.
19328         (getLeftResizingBoundary): New method.
19330 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19332         * javax/naming/spi/InitialContextFactory.java,
19333         javax/naming/spi/InitialContextFactoryBuilder.java,
19334         javax/naming/spi/NamingManager.java,
19335         javax/naming/spi/ObjectFactory.java,
19336         javax/naming/spi/ResolveResult.java,
19337         javax/naming/spi/Resolver.java,
19338         javax/naming/spi/StateFactory.java: Documented.
19340 2006-05-21  Tom Tromey  <tromey@redhat.com>
19342         PR classpath/27688:
19343         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
19344         a WorkSet.
19345         (initSet): Removed.
19346         (shouldExtract): Removed.
19347         (run): Updated.
19348         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
19349         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
19350         method.
19351         (listJar): Use it.
19352         (allItems): New field.
19353         (run): Initialize it.
19354         (listJar): Use it.
19356 2006-05-22  Sven de Marothy  <sven@physto.se>
19358         * java/nio/CharBuffer.java
19359         (wrap): Fix bounds checking.
19361 2004-08-26  Tom Tromey  <tromey@redhat.com>
19363         * java/io/OutputStream.java 
19364         (OutputStream): Implements Closeable, Flushable.
19366 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19368         * java/io/ObjectOutputStream.java:
19369         (writeObject(Object)): Added enum support.
19370         (writeClassDescriptor(ObjectStreamClass)): Likewise.
19371         * java/io/ObjectStreamClass.java:
19372         (isEnum()): New package-private method.
19373         (setFlags(Class)): Added enum support.
19374         * java/io/ObjectStreamConstants.java:
19375         (SC_ENUM): Added.
19377 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19379         * java/io/ObjectInputStream.java:
19380         (parseContent(byte)): Added enum support.
19381         * java/io/ObjectStreamConstants.java:
19382         (TC_ENUM): Added.
19383         (TC_MAX): Changed to new maximum, TC_ENUM.
19385 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19387         * java/beans/beancontext/BeanContextSupport.java:
19388         (instantiateChild(String)): Implemented.
19389         
19390 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19392         * java/beans/beancontext/BeanContextSupport.java:
19393         (add(Object)): Add further documentation.
19394         (isEmpty()): Documented.
19395         (propertyChange(PropertyChangeEvent)): Implemented.
19396         (remove(Object)): Documented.
19397         (remove(Object,boolean)): Documented and implemented.
19398         (vetoableChange(PropertyChangeEvent)): Marked as
19399         implemented (only subclasses appear to need this).
19400         
19401 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19403         * java/beans/beancontext/BeanContextSupport.java:
19404         (add(Object)): Implement support for the child being
19405         a BeanContextChild.
19406         (avoidingGui()): Implemented.
19407         (dontUseGui()): Likewise.
19408         (needsGui()): Likewise.
19409         (okToUseGui()): Likewise.
19410         
19411 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19413         * javax/naming/Context.java,
19414         javax/naming/ContextNotEmptyException.java,
19415         javax/naming/Reference.java: Documented.
19417 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19419         * javax/swing/text/html/MinimalHTMLWriter.java
19420         (writeComponent, writeImage): Declare that the method
19421         may throw the IOException.
19423 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19424         
19425         PR 26972
19426         * javax/naming/InitialContext.java (colon_list): Changed type to
19427         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
19428         (merge): Rewritten.
19430 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19432         * javax/naming/InitialContext.java: Documented.
19434 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19436         * javax/naming/NameParser.java,
19437         javax/naming/NamingEnumeration.java,
19438         javax/naming/PartialResultException.java,
19439         javax/naming/SizeLimitExceededException.java,
19440         javax/naming/spi/ObjectFactory.java,
19441         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
19443 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19445         * gnu/java/net/loader/JarURLLoader.java:
19446         Use Map.Entry instead of LinkedHashMap.Entry
19447         
19448 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19450         * javax/naming/Context.java: Documented.
19452 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19454         * javax/naming/Referenceable.java: Documented.
19455         * javax/naming/spi/NamingManager.java: Documented.
19457 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
19459         * doc/tools.texinfo: Replaced references to MessageBundle.properties
19460         to messages.properties.
19461         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19462         Renamed to messages.properties.
19463         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19464         Likewise.
19465         * resource/gnu/classpath/tools/jarsigner/messages.properties:
19466         Renamed from MessageBundle.properties.
19467         Added copyright notice.
19468         * resource/gnu/classpath/tools/keytool/messages.properties:
19469         Likewise.
19470         * tools/gnu/classpath/tools/jarsigner/Messages.java
19471         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
19472         (getFormattedString): Fixed a spelling mistake.
19473         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
19475 2006-05-20  Sven de Marothy  <sven@physto.se>
19477         * gnu/java/awt/font/opentype/NameDecoder.java
19478         Made class public.
19479         (getName): Use getShort instead of getChar(), fix PS name.
19480         (decodeName): New method.
19481         * gnu/java/awt/peer/gtk/GdkFontPeer.java
19482         (getSubFamilyName): Implement.
19483         (getPostScriptName): Use the NameDecoder class instead.
19484         (parsePSName): Removed.
19485         (getName): Added
19487 2006-05-20  Sven de Marothy  <sven@physto.se>
19489         * gnu/java/awt/peer/gtk/GdkFontPeer.java
19490         (getTrueTypeTable): New native method.
19491         (getPostScriptName): Reimplement.
19492         (parsePSName): New method.
19493         (getNumGlyphs): Implement.
19494         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
19495         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
19496         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
19497         New function. File is now explicitly dependent on FT2.
19498         
19499 2006-05-20  Tom Tromey  <tromey@redhat.com>
19501         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
19502         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
19503         file.
19504         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
19505         (HandleFile): New class.
19506         (input, output, encoding, reversed): New fields.
19507         (createParser): New method.
19508         (run): Likewise.
19509         (main): Use 'run'.
19510         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
19511         (notifyFile): Throws OptionException.
19513 2006-05-20  Tom Tromey  <tromey@redhat.com>
19515         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
19516         from cp-tools.
19518 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
19520         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
19521         (JCL_print_buffer): Fix to work with -Werror on 64-bit
19522         platforms.
19523         
19524 2006-05-20  Sven de Marothy  <sven@physto.se>
19526         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
19527         
19528 2006-05-20  Sven de Marothy  <sven@physto.se>
19530         * gnu/java/awt/print/JavaPrinterJob.java 
19531         (print): Use PostScriptGraphics2D.
19532         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
19533         
19534 2006-05-20  Sven de Marothy  <sven@physto.se>
19536         * javax/swing/text/html/MinimalHTMLWriter.java: New file
19537         
19538 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19540         * gnu/java/security/OID.java: Updated copyright year.
19541         (OID): Removed unused Javadoc param tag.
19542         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
19543         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
19545 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19547         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
19548         Formatting.
19549         Added trace/debug statements.
19550         (engineSetCertificateEntry): Ensure alias is not already used for a Key
19551         Entry.  Also ensure that any previous entry for this alias is removed
19552         before a new one is added.
19553         (engineGetKey): Do not trace/log passwords.
19554         Trace key's class name only.
19555         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
19556         Certificate Entry. Also ensure that previous entry for this alias is
19557         removed before a new one is added.
19558         (engineLoad): Do not trace/log passwords.
19559         (engineStore): Likewise.
19560         (engineSize): Use size of enumeration instead of collection size.
19562 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19564         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
19565         (toString): New method.
19566         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
19567         Do not trace/log passwords.
19568         Set masked to false before decoding envelope.
19569         Do not set payload to null.
19570         (encrypt): Set masked to true.
19571         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
19572         Do not trace/log passwords.
19573         Set masked to false before decoding envelope.
19574         Do not set payload to null.
19575         Added trace/debug statements.
19576         (authenticate): Do not trace/log passwords.
19577         Set masked to true.
19578         Added trace/debug statements.
19579         (getMac): Added trace/debug statements.
19580         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
19581         (remove(String)): Changed the signature to return a boolean.
19582         (toString): New method.
19583         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
19584         Formatting
19585         (getCertificate): Likewise.
19586         (putCertificate): Likewise.
19587         (load): Likewise.
19588         Do not trace/log passwords.
19589         (store): Likewise.
19590         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
19591         Do not trace/log passwords.
19592         Added more trace/logging statements.
19593         (putPrivateKey): Do not trace/log passwords.
19594         Trace only key's class name.
19595         Formatting.
19596         (containsPublicKey): Formatting.
19597         (getPublicKey): Likewise.
19598         Trace only key's class name.
19599         (putPublicKey): Trace only key's class name.
19600         (containsCertPath): Formatting.
19601         (getCertPath): Likewise.
19602         (putCertPath): Likewise.
19603         (load): Do not trace/log passwords.
19604         Formatting.
19605         (store): Likewise.
19606         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19607         (add): Do not set payload to null.
19608         Added trace/debug statements.
19609         (containsAlias): Added trace/debug statements.
19610         (get): Likewise.
19611         (remove(Entry)): Likewise.
19612         (remove(String)): Likewise.
19613         Changed the signature to return a boolean.
19614         Do not set payload to null unless really removed.
19615         (toString): New method.
19616         (decodeEnvelope): Clear entries before proceeding.
19617         (makeAliasList): Added trace/debug statements.
19618         Ensure only non-null aliases and alias-lists are added.
19619         * gnu/javax/crypto/keyring/Entry.java (log): New field.
19620         (TYPES): New constant.
19621         (toString): New method.
19622         (defaultDecode): Add trace/debug statement.
19624 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19626         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19627         Increased visibility.
19628         (setup): Do not trace/log passwords.
19629         (parsed): Was not setting correct (rfc) field; fixed.
19630         (print1Chain): Formatting.
19631         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19632         Do not trace/log passwords.
19633         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19634         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19635         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19636         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19637         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19638         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19639         (orderChain): Added FIXME.
19640         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19641         Do not trace/log passwords.
19642         Removed commented out code.
19643         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19644         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19645         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19646         (setKeystoreURLParam): Likewise.
19647         (setKeystorePasswordParam): Do not trace/log passwords.
19648         (saveKeyStore): Likewise.
19650 2006-05-19  Roman Kennke <kennke@aicas.com>
19652         * gnu/java/awt/java2d/AbstractGraphics2D.java
19653         Added class docs.
19654         (pixel): Removed obsolete field.
19655         (draw(Shape)): Removed commented out code.
19656         (drawImage): Formatting.
19657         (drawString): Added optimization hook.
19658         (setPaint): Removed rawSetForeground().
19659         (getFontRenderContext): Return context with correct transform.
19660         (drawGlyphVector): Draw complete outline in one go.
19661         (copyArea): Added optimization hook.
19662         (clearRect): Added optimization hook.
19663         (drawImage): Added optimization hook.
19664         (fillShape): (Temporarily) Set antialiasing off by default for
19665         font rendering. Adjust the shape by some bits to improve rendering.
19666         Pass clip bounds to the render methods.
19667         (drawPixel): Removed.
19668         (rawSetPixel): Removed.
19669         (rawSetForeground): Removed.
19670         (rawDrawLine): Default impl calls standard pipeline.
19671         (rawDrawString): New method, calls standard pipeline for rendering.
19672         (rawClearRect): New method, calls standard pipeline for rendering.
19673         (rawFillRect): New method, calls standard pipeline for rendering.
19674         (rawDrawImage): New method, calls standard pipeline for rendering.
19675         (rawCopyArea): New method.
19676         (copyAreaImpl): New method.
19677         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19678         for rendering.
19679         (fillShapeAntialias): Fixed AA rendering.
19680         (fillScanlineAA): Fixed AA rendering.
19681         (getSegments): Take offset into account.
19683 2006-05-19  Sven de Marothy  <sven@physto.se>
19685         * javax/swing/text/AbstractWriter.java
19686         (getText): Fix parameters (start, length) not (start, end).
19687         
19688 2006-05-19  Tom Tromey  <tromey@redhat.com>
19690         PR classpath/27444:
19691         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19692         Changed return type.
19693         * java/net/URLClassLoader.java (urlloaders): Removed.
19694         (addURLImpl): Updated.
19695         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19696         (indexSet): Likewise.
19697         (classPath): Changed type.
19698         (JarURLLoader): New constructor.
19699         (initialize): New method.
19700         (getResource): Use index set if it exists.
19701         (getClassPath): Updated.
19702         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19703         (prefixes): New field.
19704         (headers): Removed.
19705         (IndexListParser): Fill in prefixes.
19706         (clearAll): Clear prefixes.
19707         (getHeaders): Changed return type.
19709 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19711         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
19712         (MouseInputHandler.mouseExitted): No nothing there.
19713         (MouseInputHandler.endDragging): Move column to the
19714         first/last position if released outside the horizontal
19715         table range.
19717 2006-05-19  Lillian Angel  <langel@redhat.com>
19719         * java/awt/font/GlyphVector.java
19720         (getGlyphCharIndex): Implemented.
19721         (getGlyphCharIndices): Implemented.
19722         (getGlyphOutline): Implemented.
19723         (getGlyphVisualBounds): Implemented.
19724         (getGlyphVisualBounds): Implemented.
19725         (getPixelBounds): Implemented.
19726         (getLayoutFlags): Implemented.
19728 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19730         * java/awt/LightweightDispatcher.java: Added field dragButton and
19731         documentation for it.
19732         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19733         added subexpression to if-clause in MOUSE_RELEASED case.
19735 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19737         * javax/swing/metal/MetalButtonUI.java:
19738         (update): Removed some subexpression from if-clause and call
19739         updateWithGradient.
19740         (updateWithGradient): New method.
19742 2006-05-19  Roman Kennke <kennke@aicas.com>
19744         * javax/swing/JComponent.java
19745         (findOverlapFreeParent): Implemented algorithm for finding
19746         overlapping in component hierarchy.
19748 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19750         * java/lang/Thread.java
19751         (contextClassLoaderIsSystemClassLoader): New field.
19752         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19753         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19754         and set contextClassLoaderIsSystemClassLoader.
19755         (Thread(ThreadGroup,Runnable,String,long)):
19756         Set contextClassLoaderIsSystemClassLoader.
19757         (createAnonymousThreadName): New method.
19758         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19759         and fixed security check.
19760         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19762 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19764         * javax/swing/plaf/basic/BasicToolBarUI.java:
19765         (createNonRolloverBorder): Rewritten.
19766         (createRolloverBorder): Rewritten.
19767         (setToNonRolloverBorder): Store old border instance in hashtable.
19768         (setToRolloverBorder): Store old border instance in hashtable, use
19769         AbstractButton instead of JButton in statements.
19770         (setBorderToNormal): Rewritten.
19771         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19772         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19773         ToolBar.nonrolloverBorder.
19775 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19777         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19778         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19780 2006-05-18  Lillian Angel  <langel@redhat.com>
19782         * java/awt/font/GlyphMetrics.java
19783         (getLSB): Implemented.
19784         (getRSB): Implemented.
19786 2006-05-18  Lillian Angel  <langel@redhat.com>
19788         * java/awt/font/GraphicAttribute.java:
19789         Documented entire class.
19790         (GraphicAttribute): Added check for alignment.
19791         (getBounds): Implemented.
19792         (getJustificationInfo): Implemented.
19794 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19796         * java/awt/LightweightDispatcher.java:
19797         (handleMouseEvent): Added note, added subexpression to if-statement.
19799 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19801         * javax/swing/plaf/basic/BasicToolBarUI.java:
19802         (navigateFocusedComp): Marked as stub.
19803         (createRolloverBorder): Create a different Border instance, added note.
19804         * javax/swing/plaf/metal/MetalBorders.java:
19805         (ButtonBorder): Added documentation.
19806         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19807         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19808         subexpression into if-else cascade, added note.
19810 2006-05-18  Lillian Angel  <langel@redhat.com>
19812         * java/awt/font/ShapeGraphicAttribute.java:
19813         Documented entire class.
19814         (ShapeGraphicAttribute): Initialized bounds field.
19815         (draw): Implemented.
19816         (equals): Implemented.
19817         (getAdvance): Implemented.
19818         (getAscent): Implemented.
19819         (getBounds): Implemented.
19820         (getDescent): Implemented.
19821         (hashCode): Implemented.
19823 2006-05-18  Roman Kennke <kennke@aicas.com>
19825         * javax/swing/CellRendererPane.java
19826         (CellRendererPane): Set CellRendererPane to invisible.
19828 2006-05-18  Roman Kennke <kennke@aicas.com>
19830         * gnu/java/awt/peer/gtk/GdkGraphics.java
19831         (clipRect): Removed old intersection statement.
19833 2006-05-18  Roman Kennke <kennke@aicas.com>
19835         * gnu/java/awt/peer/gtk/GdkGraphics.java
19836         (clipRect): Don't use Rectangle.intersection() to avoid creating
19837         2 unnecessary Rectangle instances and fix a clipping problem.
19838         (computeIntersection): New helper method, adapted from SwingUtilities.
19840 2006-05-18  Roman Kennke <kennke@aicas.com>
19842         * javax/swing/JComponent.java
19843         (isCompletelyDirty): Removed.
19844         (paint): Don't mark children as clean, this is no longer necessary.
19845         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19846         painting when something overlaps the viewport (like a popup/menu).
19847         * javax/swing/RepaintManager.java
19848         (currentRepaintManagers): Made package private to avoid accessor
19849         methods.
19850         (dirtyComponents): Made private.
19851         (dirtyComponentsWork): Made private.
19852         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19853         component-local not parent-local. Do not set flag in JComponent.
19854         (markCompletelyClean): Don't set JComponent flag.
19855         (isCompletelyDirty): Rewritten to return true when the complete
19856         component is marked dirty.
19857         (paintDirtyRegions): Improved parent-merging so that the merged-in
19858         components don't get painted too. 'Outsourced' the compilation
19859         of the repaint root components.
19860         (compileRepaintRoots): New helper method.
19862 2006-05-18  Roman Kennke <kennke@aicas.com>
19864         PR 26368
19865         * javax/swing/text/GapContent.java
19866         (GapContentPosition(int)): Use adapted binarySearch method to
19867         allow for having a greater array than number of entries.
19868         (numMarks): New field, holds the end of the marks list.
19869         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19870         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19871         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19872         (setPositionsInRange): Changed signature to narrow the purpose and
19873         special cases inside. Reimplemented to crunch together equal marks.
19874         (adjustPositionsInRange): Added assertion to make sure we do
19875         not accidentally change the order of the mark. Added some debug
19876         output for a special case of which I don't know if it even exists.
19877         (resetMarksAtZero): Made impl simpler.
19878         (dumpMarks): New debug helper method.
19879         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19880         (binarySearch): New method. An adaption of Arrays.binarySearch()
19881         that allows for an maxIndex parameter.
19883 2006-05-18  Roman Kennke <kennke@aicas.com>
19885         * javax/swing/KeyboardManager.java
19886         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19888 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19890         * gnu/java/net/loader/JarURLLoader.java
19891         (JarURLLoader): Use a slightly more efficient URL constructor.
19893 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19895         * gnu/java/awt/print/JavaPrinterGraphics.java
19896         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19897         (drawImage(Image, int, int, ImageObserver)): Likewise,
19898         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19899         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19900         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19901         ImageObserver)): Likewise,
19902         (drawImage(Image, int, int, int, int, int, int, int, int, 
19903         ImageObserver)): Likewise.
19905 2006-05-17  Tom Tromey  <tromey@redhat.com>
19907         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19908         LinkedHashSet.
19910 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19912         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19913         * javax/swing/border/BevelBorder.java: Likewise,
19914         * javax/swing/border/CompoundBorder.java: Likewise,
19915         * javax/swing/border/TitledBorder.java: Likewise.
19917 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19919         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19920         * javax/swing/table/DefaultTableModel.java: Likewise,
19921         * javax/swing/table/TableCellEditor.java: Likewise,
19922         * javax/swing/table/TableCellRenderer.java: Likewise.
19924 2006-05-17  Lillian Angel  <langel@redhat.com>
19926         * java/awt/font/ImageGraphicAttribute.java:
19927         Documented entire class.
19928         (ImageGraphicAttribute): Changed to call this.
19929         (ImageGraphicAttribute): Implemented.
19930         (draw): Implemented.
19931         (equals): Implemented.
19932         (getAdvance): Implemented.
19933         (getAscent): Implemented.
19934         (getBounds): Implemented.
19935         (getDescent): Implemented.
19936         (hashCode): Implemented.
19937         * javax/swing/text/html/HTMLDocument.java
19938         (create): Removed. Sufficent enough for
19939         super to be called.
19940         (insert): Likewise.
19941         (insertUpdate): Likewise.
19942         (processHTMLFrameHyperlinkEvent): Marked as stub.
19943         (start): Removed FIXME.
19944         (end): Likewise.
19945         (start): Called super. 
19946         (end): Called super.
19947         (getElement): removed unneeded code.
19948         (setParagraphAttribute): Removed. Sufficent enough
19949         for super to be called.
19950         (fireChangedUpdate): Likewise.
19951         (fireUndoableEditUpdate): Likewise.     
19953 2006-05-17  Lillian Angel  <langel@redhat.com>
19955         * java/awt/TexturePaint.java:
19956         Added documentation for class and all functions.
19957         (getTransparency): Implemented.
19959 2006-05-17  Roman Kennke <kennke@aicas.com>
19961         * java/awt/LightweightDispatcher.java
19962         (findTarget): Translate point to child components.
19964 2006-05-17  Roman Kennke <kennke@aicas.com>
19966         PR 26368
19967         * javax/swing/text/GapContent.java
19968         (GapContentPosition): Do no more implement Comparable.
19969         (GapContentPosition.mark): Removed field.
19970         (GapContentPosition.index): New field to hold the index into
19971         the positions array.
19972         (GapContentPosition(int)): Rewritten to use the new indirection
19973         to the positions array.
19974         (GapContentPosition.compareTo): Removed.
19975         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19976         positionMarks array.
19977         (WeakPositionComparator): Removed obsolete class.
19978         (positions): Changed type to WeakHashMap.
19979         (positionMarks): New field, holds the marks of the positions.
19980         (GapContent): Initialize new fields.
19981         (createPosition): Rewritten to use the new indirection
19982         to the positions array.
19983         (getPositionsInRange): Rewritten to use the new indirection
19984         to the positions array.
19985         (setPositionsInRange): Rewritten to use the new indirection
19986         to the positions array.
19987         (adjustPositionsInRange): Rewritten to use the new indirection
19988         to the positions array.
19989         (insertMark): New helper method.
19990         (clearPositionReferences): Removed obsolete methods.
19992 2006-05-17  Lillian Angel  <langel@redhat.com>
19994         * java/awt/GraphicsConfiguration.java
19995         (getImageCapabilities): Implemented.
19996         (getBufferCapabilities): Implemented.
19998 2006-05-17  Lillian Angel  <langel@redhat.com>
20000         * javax/swing/plaf/basic/BasicSliderUI.java
20001         (focusGained): Implemented.
20002         (focusLost): Implemented.
20003         (paint): Added code to paint the focus.
20004         * javax/swing/plaf/metal/MetalSliderUI.java
20005         (paintThumb): Added code to set the thumbColor.
20006         (paintFocus): Implemented properly.
20008 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20010         PR 27383
20011         * javax/naming/spi/NamingManager.java (getURLContext):
20012         Always search for the factory class in all possible places
20013         and use VMStackWalker.
20014         (forName): New method.
20016 2006-05-17  Roman Kennke <kennke@aicas.com>
20018         * java/awt/LightweightDispatcher.java
20019         (handleMouseEvent): Fixed search algorithm for finding the
20020         mouse event target.
20021         (findTarget): Fixed search algorithm for finding the
20022         mouse event target.
20024 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20026         * javax/naming/spi/NamingManager.java: Documented.
20028 2006-05-17  Mark Wielaard  <mark@klomp.org>
20030         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
20031         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
20032         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
20033         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
20035 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
20037         Fixes PR 26947.
20038         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
20039         year.
20040         (BorderListener.mouseClicked): Detect double-clicks in title pane,
20041         copied code from
20042         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
20044 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
20046         Fixes PR 27626.
20047         * java/awt/LightweightDispatcher.java:
20048         (handleMouseEvent): Moved assignment into switch-block, added notes.
20050 2006-05-16  Lillian Angel  <langel@redhat.com>
20052         * javax/swing/text/StyleContext.java:
20053         Changed staticAttributeKeys  to be a Hashtable.
20054         (getStaticAttribute): Implemented.
20055         (getStaticAttributeKey): Implemented.
20056         (readAttributeSet): Implemented.
20057         (writeAttributeSet): Added FIXME. Not sure how
20058         to implement this.
20059         (readAttributes): Implemented.
20060         (writeAttributes): Implemented.
20061         (registerStaticAttibuteKey): Fixed to add key to 
20062         the hash table.
20064 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
20066         * javax/swing/DefaultButtonModel.java
20067         (setGroup): Removed event notification.
20069 2006-05-16  Lillian Angel  <langel@redhat.com>
20071         * javax/swing/plaf/basic/BasicComboBoxUI.java
20072         (installKeyboardActions): Implemented.
20073         (uninstallKeyboardActions): Implemented.
20074         * javax/swing/plaf/basic/BasicComboPopup.java
20075         (uninstallKeyboardActions): Removed FIXME. Nothing
20076         to be done here.
20077         (installKeyboardActions): Likewise.
20078         * javax/swing/plaf/basic/BasicTextUI.java
20079         (uninstallKeyboardActions): Implemented.
20080         * javax/swing/plaf/basic/BasicTreeUI.java:
20081         Added field for hashColor.
20082         Marked stub methods.
20083         (getHashColor): Implemented to use field.
20084         (setHashColor): Likewise.
20085         (getRowX): Implemented.
20086         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
20088 2006-05-16  Roman Kennke <kennke@aicas.com>
20090         PR 26521
20091         * javax/swing/JTable.java
20092         (rowHeights): New field.
20093         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
20094         in order to initialize rowHeights correctly.
20095         (tableChanged): Nullify rowHeights when model changes. Only
20096         create default columns from model when corresponding property
20097         is set. Sync table model with rowHeights as appropriate.
20098         (valueChanged): Call repaint with the correct rectangle.
20099         (rowAtPoint): Handle rowHeights.
20100         (getCellRect): Mostly rewritten. Check for boundaries
20101         of model and return (0,0,0,0) or (0,0,width,height) when outside.
20102         Handle component orientation. Round correctly.
20103         (getRowHeight(int)): Implemented for variable row height.
20104         (setRowHeight(int,int)): Implemented for variable row height.
20105         (setRowHeight(int)): Nullify rowHeights.
20106         (setModel): Notify tableChanged().
20107         * javax/swing/plaf/basic/BasicTableUI.java
20108         (installDefaults): Create rendererPane in installUI.
20109         (installUI): Create and install rendererPane.
20110         (uninstallUI): Uninstall rendererPane and nullify rendererPane
20111         and table.
20112         (paint): Correctly handle rowMargin.
20114 2006-05-16  Tom Tromey  <tromey@redhat.com>
20116         PR classpath/27563:
20117         * java/text/NumberFormat.java (getIntegerInstance): Use
20118         "integerFormat", not "numberFormat".
20120 2006-05-16  Lillian Angel  <langel@redhat.com>
20122         * javax/swing/JPopupMenu.java
20123         (addMenuKeyListener): Implemented.
20124         (removeMenuKeyListener): Implemented.
20125         (getMenuKeyListeners): Implemented.
20126         * javax/swing/ProgressMonitor.java:
20127         Added new protected field.
20128         (getAccessibleContext): Implemented.
20130 2006-05-16  Lillian Angel  <langel@redhat.com>
20132         * javax/swing/JFileChooser.java:
20133         Added new private field.
20134         (setDragEnabled): Implemented.
20135         (getDragEnabled): Implemented.
20137 2006-05-16  Lillian Angel  <langel@redhat.com>
20139         * java/awt/Window.java
20140         (applyResourceBundle): Implemented.
20142 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
20144         * javax/swing/DefaultButtonModel.java
20145         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
20146         states also.
20148 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20150         * javax/swing/JList.java (getSelectedValues):
20151         Ask the value for the indexed array element.
20153 2006-05-16  Roman Kennke <kennke@aicas.com>
20155         * javax/swing/JTable.java
20156         (valueChanged): Also repaint when table has only 1 row. Fixed
20157         repaint rectangle to span the entire changed rows.
20159 2006-05-16  Roman Kennke <kennke@aicas.com>
20161         PR 24031
20162         * javax/swing/JOptionPane.java
20163         (startModal): Rewritten. The events are now dispatched, even
20164         when the event dispatch thread gets blocked by the call
20165         to this method. Also, mouse events get intercepted outside the
20166         internal frame.
20168 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20170         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20171         (BorderListener.mouseDragged):Do not set cursor 
20172         if the frame is being dragged.
20174 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20176         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20177         (BorderListener): Rewritten. (InternalFrameBorder):
20178         Made package private.
20179         (InternalFrameBorder.offset):
20180         Renamed to cornerSize, made package private.
20181         (bSize): Made package private.
20183 2006-05-16  Roman Kennke <kennke@aicas.com>
20185         * javax/swing/JMenu.java
20186         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
20187         (AccessibleJMenu.getAccessibleChild): Implemented.
20188         (AccessibleJMenu.getAccessibleSelection): Implemented.
20189         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
20190         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
20191         (AccessibleJMenu.getAccessibleRole): Documented.
20192         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
20193         (AccessibleJMenu.addAccessibleSelection): Implemented.
20194         (AccessibleJMenu.removeAccessibleSelection): Implemented.
20195         (AccessibleJMenu.clearAccessibleSelection): Implemented.
20196         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
20197         (createPath): New helper method.
20199 2006-05-15  Tom Tromey  <tromey@redhat.com>
20201         * java/text/MessageFormat.java (format): Now varargs.
20203 2006-05-15  Tom Tromey  <tromey@redhat.com>
20205         * java/lang/Thread.java (State): Fixed typo.
20207 2006-05-15  Tom Tromey  <tromey@redhat.com>
20209         * java/net/URLClassLoader.java: Moved inner classes to
20210         gnu.java.net.loader.
20211         (factoryCache): Changed type.
20212         (URL_LOADER_PREFIX): New constant.
20213         (URLClassLoader): Updated for new factoryCache.
20214         (addURLImpl): Use reflection to search for a loader.
20215         (findClass): Use getClass method on URLLoader.
20216         (getURLStreamHandler): Removed.
20217         * gnu/java/net/loader/URLLoader.java: New file, extracted
20218         from URLClassLoader.
20219         * gnu/java/net/loader/Resource.java: Likewise.
20220         * gnu/java/net/loader/FileResource.java: Likewise.
20221         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
20222         * gnu/java/net/loader/JarURLLoader.java: Likewise.
20223         * gnu/java/net/loader/JarURLResource.java: Likewise.
20224         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
20225         * gnu/java/net/loader/RemoteResource.java: Likewise.
20226         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
20228 2006-05-15  Sven de Marothy  <sven@physto.se>
20230         * native/target/generic/target_generic_network.h: 
20231         Add a pair of parenthesis.
20233 2006-05-15  Mark Wielaard  <mark@klomp.org>
20235         * java/awt/Graphics2D.java: Remove PrinterJob import.
20237 2006-05-15  Mark Wielaard  <mark@klomp.org>
20239         * doc/www.gnu.org/announce/20060515.wml: New file.
20240         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
20241         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
20243 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
20245         * NEWS: Announce inclusion of gcjwebplugin.
20246         Announce inclusion of appletviewer.
20247         * INSTALL: Note gcjwebplugin dependencies.
20249 2006-05-15  Mark Wielaard  <mark@klomp.org>
20251         * configure.ac (VERSION): Set to 0.91-generics.
20253 2006-05-15  Mark Wielaard  <mark@klomp.org>
20255         * NEWS: Add release date and VMClassLoader.getBootPackages()
20256         changes.
20258 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
20260         * README: Added CACAO to list of VMs.
20262 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20264         * javax/swing/RepaintManager.java (paintDirtyRegions):
20265         Break loop as soon as the component repaint is merged
20266         with some parent. (ComponentComparator): Removed.
20267         (comparator): Removed.
20269 2006-05-15  Roman Kennke <kennke@aicas.com>
20271         * javax/swing/border/TitledBorder.java
20272         (paintBorderWithTitle): Fixed indentation.
20274 2006-05-15  Roman Kennke <kennke@aicas.com>
20276         * javax/swing/border/TitledBorder.java
20277         (layoutBorderWithTitle): Fetch border using getBorder() instead
20278         of using the border field directly. Allows for the use of
20279         an UI supplied border in the case when a null border was set.
20280         Fixed component orientation.
20281         (paintBorderWithTitle): Fetch border using getBorder() instead
20282         of using the border field directly. Allows for the use of
20283         an UI supplied border in the case when a null border was set.
20285 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20287         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
20288         (contains): New method.
20290 2006-05-15  Tom Tromey  <tromey@redhat.com>
20292         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
20293         argument indices.
20294         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
20295         argument indices.
20297 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20299         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
20300          JViewport's.
20301         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
20302         region. (paintDirtyRegions): Rewritten.
20304 2006-05-15  Tom Tromey  <tromey@redhat.com>
20306         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
20307         MessageFormat.
20308         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
20309         MessageFormat.
20310         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
20311         (run): Use MessageFormat.
20312         * resource/gnu/classpath/tools/jar/messages.properties: New file.
20313         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
20314         (writeFile): Use MessageFormat.
20316 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
20318         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
20319         instead of directly calling the class loader.
20321 2006-05-15  Tom Tromey  <tromey@redhat.com>
20323         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
20324         Removed old comment.
20325         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
20326         Externalized strings.
20327         (getVersionString): Use MessageFormat.
20328         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
20329         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
20330         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
20331         (getArgument): Use a MessageFormat.
20332         (handleLongOption): Likewise.
20333         (parse): Likewise.
20335 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
20337         Fixes PR 27197.
20338         * javax/swing/text/FieldView.java:
20339         (paint): Calculate intersection between clip and allocation area and
20340         set that as new clip.
20342 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20344         * javax/swing/text/JTextComponent.java: Marked stub methods.
20346 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20348         * javax/swing/JTable.java: Marked stub methods.
20350 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
20352         * tools/gnu/classpath/tools/jarsigner/Main.java:
20353         Increased visibility of fields used by parser anonymous classes.
20354         (KEYTOOL_TOOL): New constant.
20355         (cmdLineParser): Changed type to ToolParser.
20356         (fileAndAlias): new field.
20357         (main): Don't catch OptionException.
20358         (processArgs): Removed validation checks; now handled by ToolParser.
20359         (getParser): Removed.
20360         (ToolParserCallback): New inner class.
20361         (ToolParser): Likewise.
20363 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20365         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
20366         Removed.
20368 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20370         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
20371         endResizingFrame): Do not repaint, unless in the outline mode.
20373 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20375         * javax/swing/JTabbedPane.java
20376         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
20377         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
20378         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
20379         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
20380         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
20381         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
20382         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
20383         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
20384         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
20385         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
20386         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
20387         (Page.getAccessibleName): Implemented.
20389 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20391         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
20392         Do not repaint nor revalidate here.
20394 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20396         * javax/swing/RepaintManager.java (addDirtyRegion):
20397         If there is a lightweight parent, recursively add the corresponding
20398         region of the parent instead.
20400 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20402         * java/awt/Graphics2D.java: Added some API doc comments.
20404 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20406         * javax/swing/JTabbedPane.java
20407         (paramString): Reimplemented,
20408         (getAccessibleContext): Added API docs.
20410 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
20412         * javax/swing/JFileChooser.java
20413         (paramString): Reimplemented,
20414         (getAccessibleContext): Updated API docs,
20415         (AccessibleJFileChooser): Added API docs.
20417 2006-05-14  Tom Tromey  <tromey@redhat.com>
20419         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
20420         OptionException.
20421         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
20422         OptionException.
20423         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
20424         OptionException.
20425         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
20426         validation to JarParser.
20427         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
20428         (run): Moved validation to JarParser.  Don't throw OptionException.
20429         (initializeParser): Create a JarParser.
20430         (main): Don't catch OptionException.
20431         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
20432         public.
20433         (validate): New method.
20434         (parse): Call it.  Print '-help' in error message when long-only.
20436 2006-05-14  Tom Tromey  <tromey@redhat.com>
20438         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
20439         assignment.
20441 2006-05-15  Sven de Marothy  <sven@physto.se>
20443         * gnu/java/awt/print/JavaPrinterGraphics.java:
20444         Sweeping changes I can't be bothered to document in detail.
20445         * gnu/java/awt/print/JavaPrinterJob.java
20446         (getPageAttributes): New method.
20447         (setPageable,cancel,isCancelled): Implement.
20449 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
20451         * javax/swing/JCheckBoxMenuItem.java
20452         (requestFocus): Fixed typo in API docs,
20453         (paramString): Just call super.paramString(),
20454         (getAccessibleContext): Added API docs,
20455         (AccessibleJCheckBoxMenuItem): Likewise.
20457 2006-05-14  Tom Tromey  <tromey@redhat.com>
20459         * tools/gnu/classpath/tools/jar/Indexer.java
20460         (writeCommandLineEntries): Simplify insertion.
20461         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
20462         -m and -M.
20464 2006-05-14  Tom Tromey  <tromey@redhat.com>
20466         PR classpath/27514:
20467         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
20468         constant.
20469         (JAR_INDEX_VERSION_KEY): Likewise.
20470         (IndexListParser): Updated.
20471         (getVersionInfo): Likewise.
20472         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
20473         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
20474         OptionException.
20475         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
20476         -i.
20477         (ModeOption): New constructor.
20478         (parsed): Updated.  Use setArchiveFile.
20479         (setArchiveFile): New method.
20480         (run): Handle no-argument case.
20481         (main): Emit --help message on option error.
20482         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
20483         (createManifest): New method.
20484         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
20485         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
20486         method.
20487         (writeManifest): Removed.
20488         (outputStream): Now a JarOutputStream.
20489         (writeCommandLineEntries): Changed parameters.  Updated callers.
20490         (run): Throws OptionException.
20491         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
20492         * java/util/jar/Manifest.java (read): Typo fix.
20494 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
20496         * javax/swing/JMenuItem.java
20497         (paramString): Fixed class name in API doc comment.
20499 2006-05-14  Tom Tromey  <tromey@redhat.com>
20501         * native/plugin/.cvsignore: Updated.
20503 2006-05-14  Mark Wielaard  <mark@klomp.org>
20505         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
20506         comments.
20508 2006-05-14  Chris Burdess  <dog@gnu.org>
20510         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
20511         nodes to be preserved during cloneNode.
20513 2006-05-14  Mark Wielaard  <mark@klomp.org>
20515         PR 27459
20516         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
20517         inherited timeout on socket.
20519 2006-05-14  Lillian Angel  <langel@redhat.com>
20521         * java/util/SimpleTimeZone.java: Reverted patch.
20522         (SimpleTimeZone): Throw exception if startMonth ==
20523         endMonth.
20524         (SimpleTimeZone): Likewise.
20525         (checkRule): Rewritten to properly check all values (more
20526         efficently).
20527         This code is now more stable, at least less buggy than before.
20528         Fixed API documentation.
20529         (setStartRule): Moved checkRule call to end.
20530         (setStartRule): Likewise.
20531         (setEndRule): Likewise.
20532         (setEndRule): Likewise.
20534 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20536         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20537         Initialise to -1.
20539 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
20541         PR classpath/27595
20542         * javax/swing/text/AbstractDocument.java:
20543         (insertString): Flipped if-expression and its blocks.
20544         (remove): Dito.
20545         (replace): Flipped if-expression and its blocks, added note, invoke
20546         insertString and remove instead of insertStringImpl and removeImpl.
20548 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
20550         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
20552 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
20554         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
20555         Added help text.
20556         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
20557         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
20558         Increased visibility of fields used by parser anonymous classes.
20559         (processArgs): Removed.
20560         (getParser): New method.
20561         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20562         (setup): Mark (Eclipse) strings that need not be externalised.
20563         (start): Likewise.
20564         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20565         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
20566         command line option parsing.
20567         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
20568         Increased visibility of fields used by parser anonymous classes.
20569         (processArgs): Removed.
20570         (setup): set 'all' local field.
20571         (getParser): New method.
20572         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
20573         Increased visibility of fields used by parser anonymous classes.
20574         (processArgs): Removed.
20575         (getParser): New method.
20576         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20577         (setNewKeyPassword): Fixed comments.
20578         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
20579         Increased visibility of fields used by parser anonymous classes.
20580         (processArgs): Removed.
20581         (getParser): New method.
20582         (findTrustInCACerts): Mark (Eclipse) strings that need not be
20583         externalised.
20584         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
20585         Increased visibility of fields used by parser anonymous classes.
20586         (processArgs): Removed.
20587         (setup): Mark (Eclipse) strings that need not be externalised.
20588         (getParser): New method.
20589         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20590         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
20591         Increased visibility of fields used by parser anonymous classes.
20592         (processArgs): Removed.
20593         (getParser): New method.
20594         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20595         (ATTRIBUTES_OPT): New constant.
20596         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
20597         Increased visibility of fields used by parser anonymous classes.
20598         (processArgs): Removed.
20599         (setup): Mark (Eclipse) strings that need not be externalised.
20600         (start): Likewise.
20601         Reduced logging level.
20602         (getParser): New method.
20603         * tools/gnu/classpath/tools/keytool/Command.java
20604         (processArgs): Made it concrete.
20605         (getParser): New abstract method.
20606         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20608 2006-05-13  Casey Marshall  <csm@gnu.org>
20610         Patch by Michael Barker <mike@middlesoft.co.uk>.
20611         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20612         * gnu/java/nio/SelectorImpl.java (register): Added condition for
20613         gnu.java.nio.SocketChannelSelectionKeyImpl.
20614         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20615         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20616         VMChannel.
20617         * include/gnu_java_nio_VMChannel.h: new file.
20618         * java/nio/FileChannel.java (read,write): changed to call abstract
20619         method.
20620         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20621         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20622         `gnu_java_nio_VMChannel.c.'
20623         * vm/reference/gnu/java/nio/VMChannel.java: new file.
20625 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
20627         * javax/swing/text/AbstractDocument.java:
20628         (insertString): Flipped if-expression and its blocks.
20629         (remove): Dito.
20630         (replace): Flipped if-expression and its blocks, added note, invoke
20631         insertString and remove instead of insertStringImpl and removeImpl.
20633 2006-05-13  Tom Tromey  <tromey@redhat.com>
20635         * java/nio/ByteBufferImpl.java (compact): Always set position.
20637 2006-05-13  Sven de Marothy  <sven@physto.se>
20639         * gnu/java/awt/print/JavaPrinterGraphics.java
20640         (spoolPostScript): Use a faster writer.
20642 2006-05-13  Sven de Marothy  <sven@physto.se>
20644         * gnu/java/awt/print/JavaPrinterGraphics.java
20645         (colorTripleHex): Reimplement better.
20647 2006-05-13  Sven de Marothy  <sven@physto.se>
20649         * javax/swing/text/html/HTMLDocument.java
20650         (CharacterAction.start): Translate tag to StyleAttribute.
20651         (pushCharacterStyle): Push copy of attributes onto stack.
20652         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20653         New file
20655 2006-05-13  Sven de Marothy  <sven@physto.se>
20657         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20658         * java/awt/print/PrinterJob.java 
20659         (getPrinterJob): Return a JavaPrinterJob
20660         (setPrintService,getPrintService): Implement.
20661         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20662         (getPixels): Gtk_threads_enter required.
20663         * gnu/java/awt/print/JavaPrinterGraphics.java
20664         * gnu/java/awt/print/JavaPrinterJob.java
20665         * gnu/java/awt/print/SpooledDocumet.java: 
20666         New files.
20667         
20668 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20670         * javax/swing/text/TextAction.java:
20671         (HorizontalMovementAction): New inner class.
20672         (VerticalMovementAction): New inner class.
20673         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20674         new inner classes to array 'defaultActions'.
20675         (SelectionBeginWordAction): New inner class.
20676         (SelectionEndWordAction): New inner class.
20677         (BeginWordAction): New inner class.
20678         (EndWordAction): New inner class.
20679         (PreviousWordAction.actionPerformed): Rewritten.
20680         (SelectLineAction): New inner class.
20681         (SelectWordAction): New inner class.
20682         (SelectionDownAction): Rewritten.
20683         (SelectionUpAction): Rewritten.
20684         (DownAction): Rewritten.
20685         (UpAction): Rewritten.
20686         (SelectionForwardAction): Rewritten.
20687         (SelectionBackwardAction): Rewritten.
20688         (ForwardAction): Rewritten.
20689         (BackwardAction): Rewritten.
20690         (BeginAction): New inner class.
20691         (EndAction): New inner class.
20692         (DefaultKeyTypedAction.actionPerformed): Use int variant of
20693         Character.isISOControl.
20695 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20697         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20698         (WordFilter.getNextVisualPositionFrom): Added statement to check
20699         for variable pt not being null.
20701 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20703         * javax/swing/text/Utilities.java:
20704         (getNextWord): Fixed grammar in exception message.
20705         (getPreviousWord): Changed expression in first if-clause, added sub-
20706         expression to if-clause in while-loop.
20707         (getWordStart): Changed expression in if-clause.
20708         getNextVisualPositionFrom): Added package-private helper method.
20710 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20712         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20713         Initialise to -1.
20715 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
20717         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20718         Added help text.
20719         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20720         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20721         * tools/gnu/classpath/tools/jarsigner/Main.java:
20722         Increased visibility of fields used by parser anonymous classes.
20723         (HELP_PATH): Removed.
20724         (cmdLineParser): New field.
20725         (main): Handle JVM exit status.
20726         Handle command line parsing exceptions.
20727         (processArgs): Use getopt command line parser.
20728         (getParser): New method.
20729         (setupCommonParams): Removed checks now handled by processArgs().
20730         (setupSigningParams): Likewise.
20731         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20732         Reuse an existing message-bundle constant.
20734 2006-05-12  Tom Tromey  <tromey@redhat.com>
20736         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20737         Explicitly specify class for synchronization.
20739 2006-05-12  Tom Tromey  <tromey@redhat.com>
20741         * java/util/logging/Logger.java (resetLogger): Fixed typo.
20743 2006-05-12  Sven de Marothy  <sven@physto.se>
20745         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20746         * gnu/java/net/protocol/http/HTTPURLConnection.java
20747         (setConnectTimeout): New method.
20748         (getConnection): Add timeout parameter.
20749         *  java/net/URLConnection.java  
20750         (getConnectTimeout, setConnectTimeout): Implement.
20751         * native/target/generic/target_generic_network.h: 
20752         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20753         
20754 2006-05-12  Sven de Marothy  <sven@physto.se>
20755   
20756         * gnu/javax/print/CupsServer.java
20757         (CupsServer): Make the Cups host configurable.
20758         * java/lang/System.java: Document the system property.
20759         
20760 2006-05-12  Roman Kennke <kennke@aicas.com>
20761   
20762         * javax/swing/border/TitledBorder.java
20763         (paintBorder): Rewritten for simplicity and correctness.
20764         (layoutBorderWithTitle): New helper method.
20765         (paintBorderWithTitle): New helper method.
20766         (getBorderInsets): Rewritten.
20767         (getMinimumSize): Rewritten.
20768         (getRealJustification): Removed.
20769         (getMeasurements): Removed.
20770         (Measurements): Removed.
20771   
20772 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20773   
20774         * javax/swing/plaf/basic/BasicPanelUI.java
20775         (sharedUI): New field,
20776         (createUI): Return a shared instance rather than a new instance,
20777         (installUI): Reformatted and added API docs,
20778         (installDefaults): Install border if one is defined,
20779         (uninstallDefaults): Uninstall border.
20781 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20783         * javax/swing/JProgressBar.java: Updated API docs all over.
20785 2006-05-11  Lillian Angel  <langel@redhat.com>
20787         * java/awt/ContainerOrderFocusTraversalPolicy.java
20788         (getComponentAfter): Should not throw exception if
20789         the ancestor is null. Added a check for this.
20790         Also, changed to use new helper function, we should
20791         iterate through all the components at least once.
20792         (getNextAvailableComponent): New helper function.
20793         (getPrevAvailableComponent): New helper function.
20794         (getComponentBefore): Should not throw exception if
20795         the ancestor is null. Added a check for this.
20796         Also, changed to use new helper function, we should
20797         iterate through all the components at least once.
20798         (getFirstComponent): Changed check to manually check
20799         fields. Calling accept() casts the object to a Component,
20800         so different values may be returned.
20801         (getLastComponent): Likewise.
20803 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20805         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20806         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20807         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20808         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20809         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20810         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20811         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20812         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20813         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20814         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20815         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20816         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20817         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20818         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20819         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20820         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20821         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20822         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20824 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20826         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20827         package-private, added field 'active'.
20828         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20829         cases to update field 'active'.
20830         (mouseDragged): Added documentation, added if-clause to update
20831         selection or caret position.
20832         (mouseClicked): Added early return when text component is disabled.
20833         (focusGained): Moved statements into an if-clause.
20834         (focusLost): Added subexpression to if-clause.
20835         (install): Preset value of 'active'.
20836         (paint): Added subexpression to if-clause.
20837         (isVisible): Extended return expression.
20838         * javax/swing/text/JTextComponent.java:
20839         (copy): Copy only if component is enabled.
20840         (cut): Cut only if component is enabled and editable.
20841         (paste): Dito.
20843 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20845         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20846         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20847         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20848         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20849         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20850         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20851         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20853 2006-05-11  Roman Kennke <kennke@aicas.com>
20855         * gnu/java/awt/font/GNUGlyphVector.java
20856         (GNUGlyphVector): Don't apply the font renderer context's
20857         transform.
20858   
20859 2006-05-11  Mark Wielaard  <mark@klomp.org>
20861         * java/util/logging/Logger.java (global): Initialize inside static
20862         PrivilegedAction.
20864 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20865   
20866         * javax/swing/JFrame.java
20867         (EXIT_ON_CLOSE): Added note to API docs,
20868         (close_action): Renamed closeAction,
20869         (JFrame()): Change title to "",
20870         (JFrame(String)): Added API docs,
20871         (getAccessibleContext): Likewise,
20872         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20873         (processWindowEvent): Updated for renamed field,
20874         (setDefaultCloseOperation): Likewise, and updated API docs.
20875   
20876 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20877   
20878         * javax/swing/JFrame.java
20879         (paramString): Reimplemented,
20880         * javax/swing/SwingUtilities.java
20881         (convertWindowConstantToString): New method.
20882   
20883 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20884   
20885         * javax/swing/WindowConstants.java: Updated API docs.
20886   
20887 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20888   
20889         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20890         (createUI): Removed 'final' qualifier for parameter,
20891         (paint): Reformatted.
20892   
20893 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20894   
20895         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20896         (createUI): Removed 'final' qualifier on method argument.
20897   
20898 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20899   
20900         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20901         (getDefaultIcon): Removed this redundant method.
20903 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20905         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20906         (paint): Pass component size to paintFocus().
20908 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20910         * java/awt/Component.java:
20911         (dispatchEventImpl): Added comment.
20912   
20913   2006-05-11  Mark Wielaard  <mark@klomp.org>
20914   
20915         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20916         Option constructor null argument to String.
20917   
20918 2006-05-11  Mark Wielaard  <mark@klomp.org>
20920         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20921         Fully qualify PathIterator constants
20923 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20925         * java/awt/Component.java:
20926         (dispatchEventImpl): Added subexpression to if-clause.  
20928 2006-05-11  Mark Wielaard  <mark@klomp.org>
20930         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20931         Map.Entry.
20933 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20935         * javax/swing/TransferHandler.java: Marked stub methods.
20937 2006-05-10  Roman Kennke <kennke@aicas.com>
20939         PR classpath/27481
20940         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20941         (installDefaults): Set background of content pane to null, if
20942         no custom color has been installed by the application yet.
20944 2006-05-10  Roman Kennke <kennke@aicas.com>
20946         PR classpath/27481
20947         * javax/swing/JRootPane.java
20948         (createContentPane): Don't set background to null.
20950 2006-05-10  Sven de Marothy <sven@physto.se>
20952         * java/awt/print/PrinterJob.java:
20953         (lookupPrintServices): Un-comment-out.
20955 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20957         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20958         (FILLER): New constant.
20959         (formatText(PrintStream,String,int)): New method.
20960         (formatText(PrintStream,String,int,Locale)): Likewise.
20961         (printHelp): Use formatText method.
20962         * tools/gnu/classpath/tools/getopt/Parser.java
20963         (MAX_LINE_LENGTH): New constant.
20964         (formatText(PrintStream,String)): New method.
20965         (formatText(PrintStream,String,Locale)): Likewise.
20966         (printHelp): New method.
20967         (printHelp(PrintStream)): Increased visibility to protected.
20968         Use formatText method.
20970 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20972         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20973         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20974         modify the lookup key.
20976 2006-05-10  Lillian Angel  <langel@redhat.com>
20978         * java/util/SimpleTimeZone.java: Reverted patch.
20979         (SimpleTimeZone): Throw exception if startMonth == 
20980         endMonth.
20981         (SimpleTimeZone): Likewise.
20982         (checkRule): Rewritten to properly check all values (more 
20983         efficently).
20984         This code is now more stable, at least less buggy than before. 
20985         Fixed API documentation.
20986         (setStartRule): Moved checkRule call to end.
20987         (setStartRule): Likewise.
20988         (setEndRule): Likewise.
20989         (setEndRule): Likewise.
20991 2006-05-10  Roman Kennke <kennke@aicas.com>
20993         * gnu/java/awt/peer/swing/SwingComponent.java:
20994         Some API comment fixlets.
20995         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20996         (createImage): Create a BufferedImage, not a Toolkit image.
20997         (paint): Removed bogus API comment.
20998         (prepareImage): Added checks to avoid NPE.
20999         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
21000         (getInsets): Added check to avoid NPE.
21001         (handleMouseEvent): Added check to avoid NPE.
21002         * gnu/java/awt/peer/swing/SwingFramePeer.java:
21003         Some API comment fixlets.
21004         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
21005         Some API comment fixlets.
21006         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
21007         Changed start_pos name to startPos.
21008         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
21009         Some API comment fixlets.
21011 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
21013         * java/awt/BasicStroke.java
21014         (equals): Fixed typo in HTML tag for API doc comment.
21016 2006-05-10  Gary Benson  <gbenson@redhat.com>
21018         * java/lang/ThreadGroup.java (parent): Make package-private.
21019         * java/lang/SecurityManager.java (checkAccess(Thread)):
21020         Reference ThreadGroup.parent directly to avoid extra checks.
21021         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
21022         Likewise.
21024 2006-05-10  Roman Kennke <kennke@aicas.com>
21026         Reported by Ingo Proetel (proetel@aicas.com)
21027         * java/awt/EventDispatchThread.java
21028         (DEFAULT_PRIORITY): New constant field.
21029         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
21030         system property for adjusting the priority of the event
21031         dispatch thread.
21033 2006-05-10  Roman Kennke <kennke@aicas.com>
21035         Reported by Ingo Proetel (proetel@aicas.com)
21036         * java/awt/image/ColorModel.java
21037         (S_RGB_MODEL): New constant field.
21038         (getRGBDefault): Return constant SRGBColorModel.
21039         (SRGBColorModel): Specialized color model for sRGB.
21041 2006-05-10  Roman Kennke <kennke@aicas.com>
21043         * java/awt/ColorPaintContext.java
21044         (getRaster): Create Raster with (0,0) as source location.
21046 2006-05-10  Roman Kennke <kennke@aicas.com>
21048         * gnu/java/awt/java2d/AlphaCompositeContext.java
21049         (compose): Don't premultiply alpha to alpha itself.
21051 2006-05-10  Roman Kennke <kennke@aicas.com>
21053         * gnu/java/awt/java2d/AbstractGraphics2D.java
21054         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
21055         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
21056         New method.
21057         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
21058         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
21059         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
21060         New method.
21061         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
21062         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
21063         New method.
21064         (scale): Inverse transform by doing 1/scale instead of -scale.
21065         (drawImage(Image,int,int,ImageObserver)): Implemented.
21066         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
21067         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
21068         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
21069         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
21070         Implemented.
21071         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
21072         Implemented.
21073         (fillScanline): Work on translated destination raster for
21074         correct compositin.
21075         (init): Fetch the clip after the destination raster is initialized.
21076         * gnu/java/awt/java2d/ImagePaint.java: New file.
21077         * gnu/java/awt/java2d/RasterGraphics
21078         (drawImage): Removed.
21080 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
21082         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
21083         Clarify option descriptions.
21084         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
21085         uppercase for metasyntactic variables.
21087 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
21089         PR classpath/24216
21090         * javax/swing/text/AbstractDocument.java:
21091         (insertString): Added more documentation, added argument check.
21092         (remove): Added more documentation.
21093         (removeImpl): Added argument check.
21094         (replace): Added more documentation, added argument check.
21096 2006-05-09  Tom Tromey  <tromey@redhat.com>
21098         * tools/.cvsignore: Added appletviewer.
21100 2006-05-09  Tom Tromey  <tromey@redhat.com>
21102         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
21103         empty groups.
21105 2006-05-09  Tom Tromey  <tromey@redhat.com>
21107         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
21108         Special case for '-J'.  Use space instead of '='.
21109         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
21110         comment.
21112 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
21114         * configure.ac: Add --disable-plugin and --with-vm options.  Check
21115         for plugin support headers and libraries.
21116         * native/Makefile.am: Recurse into plugin directory.
21117         * native/plugin/.cvsignore: New file.
21118         * native/plugin/Makefile.am: New file.
21119         * native/plugin/gcjwebplugin.cc: New file.
21120         * tools/Makefile.am: Install appletviewer wrapper script.
21121         * tools/appletviewer.in: Replace VM location heuristic with
21122         VM_BINARY configure substitution.
21124 2006-05-09  Tom Tromey  <tromey@redhat.com>
21126         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
21127         an initial pass to look for short options.  Added 'longOnly' option.
21128         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
21129         option.
21130         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
21131         options into final group.  Added -J.
21132         (add): Insert new groups before final group.
21133         (printHelp): Updated.
21135 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21137         PR 27518
21138         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
21139         tools/gnu/classpath/tools/rmi/RMIC.java (main):
21140         Expect -classpath option.
21141         * tools/gnu/classpath/tools/rmi/RMIC.txt,
21142         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
21143         -classpath option.
21144         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
21145         (classLoader): New field. (loadClass, setClassPath):
21146         New methods.
21148 2006-05-09  Roman Kennke <kennke@aicas.com>
21150         * gnu/java/awt/java2d/RasterGraphics.java
21151         (RasterGraphics): Call init() and super().
21152         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
21153         this.
21155 2006-05-09  Gary Benson  <gbenson@redhat.com>
21157         * java/lang/Thread.java (Thread): Always perform threadgroup
21158         access checks on thread creation.
21160 2006-05-09  Chris Burdess  <dog@gnu.org>
21162         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
21163           be preserved during cloneNode.
21165 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21167         PR 27517
21168         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
21169         Do not demand all thrown exceptions to be an instance of RemoteException.
21171 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
21173         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
21174         Use hash-style comments.
21175         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
21176         Likewise.
21178 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
21180         * javax/swing/JLabel.java
21181         (paramString): Added more attribute details,
21182         * javax/swing/SwingUtilities.java
21183         (convertHorizontalAlignmentCodeToString): New method,
21184         (convertVerticalAlignmentCodeToString): New method.
21186 2006-05-08  Tom Tromey  <tromey@redhat.com>
21188         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
21189         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
21190         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
21191         ZipInputStream.
21192         (run): Updated.
21193         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
21194         for verbose.
21195         (run): Use ZipInputStream.
21196         (initSet): New method.
21197         (shouldExtract): Likewise.
21198         (run): Use new methods.
21199         * tools/gnu/classpath/tools/jar/Creator.java
21200         (writeCommandLineEntries): New overload.
21201         (writeFile): Use System.err for verbose.
21202         (writeManifest): New method.
21203         (writtenItems): New field.
21204         (writeFile): Update it.
21205         (writeCommandLineEntries): Return void.  Call writeManifest.
21206         (addEntries): Don't add extra '/'.
21207         * NEWS: Mention jar.
21209 2006-05-08  Lillian Angel  <langel@redhat.com>
21211         * gnu/java/net/IndexListParser.java: New class.
21212         * java/net/URLClassLoader.java
21213         (JarURLLoader): Fixed code to use new class.
21215 2006-05-08  Roman Kennke <kennke@aicas.com>
21217         * javax/swing/JComboBox.java
21218         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
21219         (AccessibleJComboBox.getAccessibleChild): Implemented.
21220         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
21221         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
21222         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
21223         (AccessibleJComboBox.getAccessibleAction): Implemented.
21224         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
21225         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
21226         (AccessibleJComboBox.doAccessibleAction): Implemented.
21227         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
21228         (AccessibleJComboBox.addAccessibleSelection): Implemented.
21229         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
21230         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
21231         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
21233 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
21235         * configure.ac: Add support for building appletviewer.
21236         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
21237         New file.
21238         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
21239         New file.
21240         * tools/appletviewer.c: New file.
21241         * tools/appletviewer.in: New file.
21242         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
21243         New file.
21244         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
21245         New file.
21246         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
21247         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
21248         file.
21249         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
21250         New file.
21251         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
21252         New file.
21253         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
21254         file.
21255         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
21256         file.
21257         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
21258         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
21259         New file.
21260         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
21261         New file.
21262         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
21263         New file.
21264         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
21265         New file.
21266         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
21267         New file.
21268         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
21269         New file.
21270         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
21271         file.
21273 2006-05-08  Tom Tromey  <tromey@redhat.com>
21275         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
21276         * tools/gnu/classpath/tools/jar/Action.java: New file.
21277         * tools/gnu/classpath/tools/jar/Creator.java: New file.
21278         * tools/gnu/classpath/tools/jar/Entry.java: New file.
21279         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
21280         * tools/gnu/classpath/tools/jar/Lister.java: New file.
21281         * tools/gnu/classpath/tools/jar/Main.java: New file.
21282         * tools/gnu/classpath/tools/jar/Updater.java: New file.
21283         * tools/gnu/classpath/tools/getopt/Option.java: New file.
21284         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
21285         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
21286         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
21287         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
21288         file.
21290 2006-05-08  Lillian Angel  <langel@redhat.com>
21292         * java/net/URLClassLoader.java
21293         (JarURLLoader): Added check to make sure the INDEX.LIST file
21294         exists.
21296 2006-05-08  Roman Kennke <kennke@aicas.com>
21298         * gnu/java/awt/java2d/AbstractGraphics2D.java
21299         (fill): Removed commented out code.
21300         (fillShape): Also determine the outline of the clip and feed
21301         it into the rendering method. Use new helper method for
21302         converting the shapes into lists of segments.
21303         (getUserBounds): Removed obsolete method.
21304         (rawFillShape): Respect the clip when rendering shapes.
21305         (fillShapeAntialias): Adjusted signature for new clipped rendering.
21306         However, the implementation can't clip still.
21307         (getSegments): New helper method for converting a shape into
21308         a list of segments.
21309         (clipShape): Removed obsolete method.
21310         * gnu/java/awt/java2d/PolyEdge.java
21311         (isClip): New field.
21312         (PolyEdge): Added isField argument to constructor.
21314 2006-05-08  Roman Kennke <kennke@aicas.com>
21316         PR 27481
21317         * javax/swing/JRootPane.java
21318         (createContentPane): Set background of the content pane to null,
21319         so that the content pane inherits its background from the
21320         root pane.
21322 2006-05-08  Roman Kennke <kennke@aicas.com>
21324         PR 27480
21325         * javax/swing/ButtonGroup.java
21326         (add): Check if new button is selected and if so, deselect other
21327         buttons in the group.
21329 2006-05-08  Lillian Angel  <langel@redhat.com>
21331         PR 27444
21332         * java/net/URLClassLoader.java
21333         (JarURLLoader): Added code to go through 
21334         META-INF/INDEX.LIST file to load all jars listed.
21336 2006-05-08  Roman Kennke <kennke@aicas.com>
21338         PR 27461
21339         * javax/swing/ImageIcon.java
21340         (ImageIcon(URL)): Set description to URL.toString().
21342 2006-05-08  Roman Kennke <kennke@aicas.com>
21344         PR 27482
21345         * javax/swing/JTable.java
21346         (IconCellRenderer.getTableCellRendererComponent): Set icon to
21347         null when cell value is null.
21349 2006-05-08  Roman Kennke <kennke@aicas.com>
21351         PR 27484
21352         * javax/swing/DefaultDesktopManager.java
21353         (closeFrame): Don't perform default close action on the frame
21354         to prevent endless loop.
21356 2006-05-08  Roman Kennke <kennke@aicas.com>
21358         PR 27485
21359         * javax/swing/table/DefaultTableModel.java
21360         (addExtraRows): New helper method.
21361         (checkSize): New helper method.
21362         (setRowCount): Use addExtraRows helper method.
21363         (addColumn): Use addExtraRows helper method.
21364         (getColumnName): Check and adjust size if necessary using
21365         checkSize().
21367 2006-05-08  Roman Kennke <kennke@aicas.com>
21369         PR 27486
21370         * javax/swing/JTable.java
21371         (setValueAt): Allow setting values even when table is editable.
21373 2006-05-08  Tom Tromey  <tromey@redhat.com>
21375         * java/text/SimpleDateFormat.java (compileFormat): Added missing
21376         space to error message.
21378 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
21380         * javax/swing/AbstractButton.java: Fixed comment typos.
21382 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21384         PR classpath/27435:
21385         * java/util/zip/DeflaterEngine.java:
21386         (deflateFast(boolean,boolean)): Empty buffer when full.
21387         
21388 2006-05-07  Sven de Marothy <sven@physto.se>
21390         Fixed PR27343
21391         * java/util/Calendar.java (setTimeZone): Force recalculation.
21392         
21393 2006-05-07  Sven de Marothy <sven@physto.se>
21395         Fixed PR27463
21396         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
21397         (propertyChange): Handle FRAME_ICON_PROPERTY property.
21398         
21399 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21401         PR classpath/27311:
21402         * gnu/java/text/StringFormatBuffer.java:
21403         (toString()): Implemented so we can see the contents.
21404         * java/text/DecimalFormat.java:
21405         (formatInternal(double,StringFormatBuffer,FieldPosition)):
21406         Don't calculate the exponent when the number is 0 or less.
21407         Also, use log10 instead of log now it's available.
21408         
21409 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
21411         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
21412         Use instance's field creationDate not the constructor's argument.
21413         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
21414         Removed unused imports.
21415         Sorted imports.
21416         (log): New field.
21417         (decrypt): Added trace/debug/timing statements.
21418         (encrypt): Likewise.
21419         Use PRNG instead of instantiating every time a new SecureRandom.
21420         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
21421         Removed unused imports.
21422         Sorted imports.
21423         (log): New field.
21424         (verify): Added trace/debug/timing statements.
21425         (authenticate): Likewise.
21426         Use PRNG instead of instantiating every time a new SecureRandom.
21428 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
21430         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
21431         (THREAD_FORMAT): Likewise.
21432         (dateFormat): Added field.
21433         (threadFormat): Added field.
21434         (format): Initialize instance fields if null.
21435         Use StringBuilder instead of StringBuffer.
21437 2006-05-07  Roman Kennke <kennke@aicas.com>
21439         * gnu/java/awt/java2d/RasterGraphics.java: New file.
21441 2006-05-07  Roman Kennke <kennke@aicas.com>
21443         * gnu/java/awt/java2d/AbstractGraphics2D.java
21444         (fillShape): Determine user space bounds of shape and feed them
21445         into the actual rendering pipeline.
21446         (rawSetPixel): Made non-abstract for now. Maybe remove later.
21447         (rawSetForeground): Likewise.
21448         (getDestinationColorModel): Removed.
21449         (getDeviceBounds): Made non-abstract. Provide useful default impl.
21450         (rawFillShape): Handle paint context.
21451         (fillScanline): Implement painting and compositing.
21452         (fillShapeAntialias): Handle paint context.
21453         (fillScanlineAA): Implemented preliminary antialiasing based on
21454         composite context. Not working yet.
21455         (fillScanlineAlpha): Removed.
21456         (init): Fetch destination raster.
21457         (getDestinationRaster): New abstract method.
21458         (updateRaster): New backend method.
21460 2006-05-07  Roman Kennke <kennke@aicas.com>
21462         * gnu/java/awt/java2d/AlphaCompositeContext.java
21463         (compose): Fixed loops, conditions and logic to make compositing
21464         work correctly.
21466 2006-05-07  Roman Kennke <kennke@aicas.com>
21468         * java/awt/ColorPaintContext.java
21469         (ColorPaintContext): Fixed filling of the raster.
21471 2006-05-07  Sven de Marothy <sven@physto.se>
21473         Fixed PR27455
21474         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
21475         * java/awt/Component.java (processMouseEvent): 
21476         Do lightweight cursor handling.
21477         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
21478         (endResizing,mouseMoved): Save and reset original cursor, not the 
21479         default one.
21481 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21483         PR 27298
21484         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
21485         getNodeDimensions): Mind the size of the node icon. (getRowX):
21486         use totalChildIndent. (TreeExpansionHandler): Set maximal height
21487         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
21488         Return nullIcon if there is no other icon. (getNodeIcon): New method.
21489         (installDefaults): assign totalChildIndent. (installUI): Call
21490         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
21491         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
21492         the tree.
21494 2006-05-06  Sven de Marothy <sven@physto.se>
21496         Fixed PR27454
21497         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
21498         Check for zero image sizes.
21499         
21500 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
21502         Fixed PR27362
21503         * java/util/Calendar.java (clear(int)): Forced internal state
21504         completion before performing a field clearing.
21506 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
21508         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
21509         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
21510         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
21511         UnmodifiableMap.UnmodifiableEntrySet.toArray,
21512         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
21513         UnmodifiableMapEntry as part of their return value. 
21515 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
21517         * tools/keytool.sh.in: Removed (renamed to keytool.in).
21518         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
21519         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
21520         Generate jarsigner and keytool scripts.
21521         * tools/keytool.in: New file (renamed from keytool.sh.in).
21522         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
21523         * tools/.cvsignore: Replaced *.sh with *
21524         * configure.ac: Replaced tools/*.sh with tools/*.
21526 2006-05-05  Roman Kennke <kennke@aicas.com>
21528         * java/awt/image/ColorModel.java
21529         (getNormalizedComponents): Implemented.
21531 2006-05-05  Roman Kennke <kennke@aicas.com>
21533         * javax/swing/plaf/basic/BasicRadioButtonUI.java
21534         (paint): Query the button model for it's state, not the
21535         button itself.
21537 2006-05-05  Roman Kennke <kennke@aicas.com>
21539         * javax/swing/JTable.java
21540         (tableChanged): Sync selection model with table model changes.
21542 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21544         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
21545         if there are no visible nodes to paint.
21547 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21549         * javax/swing/JOptionPane.java: API doc updates.
21551 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21553         * javax/swing/JToolBar.java
21554         (paramString): Reimplemented.
21556 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21558         * javax/swing/JScrollBar.java
21559         (paramString): Reimplemented.
21561 2006-05-04  Tom Tromey  <tromey@redhat.com>
21563         PR classpath/27375:
21564         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
21565         (readEntries): Updated.
21566         (getEntries): Likewise.
21567         (getEntry): Likewise.
21568         (getInputStream): Likewise.
21570 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
21572         * gnu/javax/imageio/jpeg/DCT.java,
21573         gnu/javax/imageio/jpeg/HuffmanTable.java,
21574         gnu/javax/imageio/jpeg/JPEGComponent.java,
21575         gnu/javax/imageio/jpeg/JPEGDecoder.java,
21576         gnu/javax/imageio/jpeg/JPEGException.java,
21577         gnu/javax/imageio/jpeg/JPEGFrame.java,
21578         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
21579         gnu/javax/imageio/jpeg/JPEGImageReader.java,
21580         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
21581         gnu/javax/imageio/jpeg/JPEGMarker.java,
21582         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
21583         gnu/javax/imageio/jpeg/JPEGScan.java,
21584         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
21585         gnu/javax/imageio/jpeg/ZigZag.java: New files.
21587 2006-05-04  Lillian Angel  <langel@redhat.com>
21589         * javax/swing/JLabel.java
21590         (JLabel): Pass in an empty string for the text parameter.
21591         (JLabel): Likewise.
21592         (JLabel): Likewise.
21594 2006-05-04  Roman Kennke <kennke@aicas.com>
21596         * javax/swing/plaf/basic/BasicButtonListener.java
21597         (mouseEntered): Fixed conditions for changing states.
21599 2006-05-04  Roman Kennke <kennke@aicas.com>
21601         * javax/swing/JOptionPane.java
21602         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
21604 2006-05-04  Roman Kennke <kennke@aicas.com>
21606         * javax/swing/JLabel.java
21607         (AccessibleJLabel.getSelectedText): Return null instead of "".
21608         (AccessibleJLabel.getSelectionStart): Added comment why
21609         return -1 is correct here.
21610         (AccessibleJLabel.getSelectionEnd): Added comment why
21611         return -1 is correct here.
21612         (AccessibleJLabel.getCharacterAttribute): Added comment about what
21613         to do here.
21614         (AccessibleJLabel.getCharCount): Added comment about what
21615         to do here.
21616         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21617         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21618         (paramString): Return super.paramString() here, this provides
21619         a more meaningful output.
21621 2006-05-04  Roman Kennke <kennke@aicas.com>
21623         * javax/swing/JComponent.java
21624         (paint): Added null check to avoid NPE when clip == null.
21626 2006-05-04  Roman Kennke <kennke@aicas.com>
21628         * javax/swing/AbstractButton.java
21629         (addImpl): New method. Installs an OverlayLayout if no
21630         other layout has been installed before.
21631         (setLayout): New method. Detect if a client app installs a custom
21632         layout.
21634 2006-05-04  Roman Kennke <kennke@aicas.com>
21636         * javax/swing/table/DefaultTableCellRenderer.java
21637         (noFocusBorder): Fixed width of empty border to 1.
21638         (getTableCellRendererComponent): Don't change the colors for
21639         focuses cells. Fixed border for focused cells.
21641 2006-05-04  Roman Kennke <kennke@aicas.com>
21643         * javax/swing/JTable.java
21644         (moveToCellBeingEdited): Adjust bounding box of editing component
21645         to exactly cover the grid.
21646         * javax/swing/plaf/basic/BasicTableUI.java
21647         (paint): Paint grid to the bottom and right of the cells instead
21648         of left and top. Adjust bounding box of cells accordingly.
21649         * javax/swing/plaf/metal/MetalLookAndFeel.java
21650         (initComponentDefaults): Fixed color of JTable selection border.
21651         * javax/swing/plaf/metal/OceanTheme.java
21652         (addCustomEntriesToTable): Fixed color of JTable selection border.
21654 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
21656         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21657         Use _alias instead of alias.
21659 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21661         * configure.ac:
21662         Set version to 0.92-pre.
21663         * NEWS:
21664         Add space for 0.92 entries.
21666 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21668         * include/Makefile.am:
21669         Added rules for gnu.java.net.local.LocalSocketImpl.h
21670         * include/java_lang_VMSystem.h:
21671         Regenerated correctly.
21672         
21673 2006-05-03  Sven de Marothy <sven@physto.se>
21674        
21675         PR 24023, 24701
21676         * java/awt/Image.java:
21677         (getScaledInstance): Default to AreaAveraging for "smooth", 
21678         don't thrown an error on illegal flag values.
21679         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21681 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21683         * javax/swing/text/FieldView.java:
21684         (adjustAllocation): Added if-block to return null when shape argument
21685         is null.
21686         * javax/swing/text/PlainView.java:
21687         (updateDamage): Added if-block to return early if a is null.
21689 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21691         * javax/swing/plaf/basic/BasicTextUI.java:
21692         (changeUpdate): Added note.
21693         (removeUpdate): Dito.
21694         (insertUpdate): Dito.
21695         (damageRange): Added if-block to return early.
21696         (modelToView): Added check of getVisibleEditorRect's return value.
21697         (getVisibleEditorRect): Return null instead of empty rectangle.
21698         * javax/swing/text/DefaultCaret.java:
21699         (clearHighlight): Removed if-clause to create a highlight entry if it
21700         did not exist before.
21701         * javax/swing/text/WrappedPlainView.java:
21702         (WrappedLine.modelToView): Throw exception if allocation area is empty,
21703         removed 2nd part of if-expression.
21704         (WrappedLine.updateDamage): Added more documentation, added check
21705         whether allocation area rectangle is null.
21707 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21709         * javax/swing/JSplitPane.java (setDividerLocation(int)):
21710         Reset to preferred sizes if the argument is negative.
21712 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
21714         * javax/swing/JList.java: Added/updated API docs.
21716 2006-05-03  Lillian Angel  <langel@redhat.com>
21718         * javax/swing/JComponent.java
21719         (getRoot): New private function. Gets the root appropriate
21720         for painting. If an applet exists as a parent, then it is returned.
21721         (paintDoubleBuffered): Changed to use new function.
21722         * javax/swing/RepaintManager.java
21723         (getRoot): New private function. Gets the root appropriate
21724         for painting. If an applet exists as a parent, then it is returned.
21725         (getOffscreenBuffer): Changed to use new function.
21726         * javax/swing/SwingUtilties.java
21727         (getRoot): Reverted last patch to return Window, even if 
21728         an Applet exists.
21730 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21732         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21733         a pair of one public keyring and one private keyring.
21734         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21735         (containsCertificate): Added logging.
21736         (getCertificate): Likewise.
21737         (putCertificate): Likewsie.
21738         (load): Likewise.
21739         (store): Likewise.
21740         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21741         (containsPrivateKey): Added logging.
21742         (getPrivateKey): Likewise.
21743         (putPrivateKey): Likewise.
21744         (containsPublicKey): Likewise.
21745         (getPublicKey): Likewise.
21746         (putPublicKey): Likewise.
21747         (containsCertPath): Likewise.
21748         (getCertPath): Likewise.
21749         (putCertPath): Likewise.
21750         (load): Likewise.
21751         (store): Likewise.
21753 2006-05-03  Roman Kennke <kennke@aicas.com>
21755         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21756         * java/awt/AlphaComposite.java
21757         (createContext): Implemented.
21759 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21761         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21762         Set the current color again after drawing the raster.
21764 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21766         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21767         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21769 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21771         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21772         Assign returned value to field handler.
21773         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21774         Likewise.
21776 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21778         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21779         Return without action if there is no view in the viewport.
21780         * javax/swing/text/WrappedPlainView.java 
21781         (WrappedLine.getPreferredSpan): If metrics == null, update
21782         metrics.
21783         * javax/swing/tree/DefaultTreeModel.java (constructors):
21784         Do not call setRoot, assign the root node directly.
21786 2006-05-02  Lillian Angel  <langel@redhat.com>
21788         * javax/swing/SwingUtilities.java
21789         (getRoot): Should return the Applet if it exists.
21790         Only return the Window if an Applet has not been
21791         encountered.
21793 2006-05-02  Lillian Angel  <langel@redhat.com>
21795         * gnu/javax/swing/text/html/parser/support/Parser.java
21796         (readAttributes): Reverted Audrius' last patch. There is 
21797         a slight difference in code between the NUMTOKEN and SLASH case. 
21799 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21801         * javax/swing/text/JTextComponent.java:
21802         (setText): Throw InternalError from catch-block.
21803         * javax/swing/text/GapContent.java:
21804         (removed): Removed if-expression, changed '>' to '>='.
21806 2006-05-02  Roman Kennke <kennke@aicas.com>
21808         * gnu/java/awt/java2d/AbstractGraphics2D.java
21809         (AA_SAMPLING): New constant.
21810         (alpha): New field. Used in the antialiasing renderer.
21811         (edgeTable): New field. Used in the antialiasing renderer.
21812         (AbstractGraphics2D): Initialize rendering hints wrt
21813         anti-aliasing.
21814         (draw): Clip after stroking. Commented out clipping for now,
21815         it seems to be buggy.
21816         (fill): Commented out clipping for now, it seems to be buggy.
21817         (setComposite): Don't create composite context.
21818         (setPaint): Only change paint when parameter is not null.
21819         (translate): Call setClip() so subclasses can update their clip
21820         too.
21821         (clip): Call setClip() so subclasses can update their clip
21822         too.
21823         (drawGlyphVector): Added clipping, but left it commented out
21824         because it's buggy.
21825         (getClipBounds): Returns null when clip is null.
21826         (drawLine): Call rawDrawLine with translation applied.
21827         (filLRect): Call rawFillRect with translation applied.
21828         (fillShape): Added support for anti-aliasing.
21829         (rawSetForeground(int,int,int)): New method.
21830         (rawFillShape): A couple of painting fixes.
21831         (fillScanline): Implemented to call rawDrawLine.
21832         (fillShapeAntialias): New method. Implements an anti-aliasing
21833         shape filler.
21834         (fillScanlineAA): New method. Used for the anti-aliasing
21835         shape filler.
21836         (fillScanlineAlpha): New method. Used for the anti-aliasing
21837         shape filler.
21838         (init): Initialize clip with the device bounds.
21839         (updateOptimization): Fixed the optimization condition.
21841 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21843         * javax/swing/text/GapContent.java:
21844         (GapContent): Restrict size argument by 2.
21845         (insertString): Changed expression from >= to >.
21846         (remove): Changed right side of expression to 'length - 1', changed
21847         exception message.
21848         (getChars): Throw exception if where below 0.
21849         (replace): Replaced call to setPositionsInRange() with
21850         resetMarksAtZero(), removed note.
21852 2006-05-02  Roman Kennke <kennke@aicas.com>
21854         PR 27326
21855         * javax/swing/MenuSelectionManager.java
21856         (setSelectedPath): Rewritten.
21858 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21860         * gnu/javax/swing/text/html/parser/support/Parser.java
21861         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21862         sections.
21864 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21866         * tools/.cvsignore: Added keytool.sh.
21867         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21869 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21871         * doc/tools.texinfo: New file.
21872         * doc/Makefile.am: Generate tools documentation.
21874 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21876         * tools/keytool.sh.in: New file.
21877         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21878         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21879         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21880         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21881         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21882         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21883         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21884         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21885         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21886         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21887         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21888         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21889         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21890         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21891         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21892         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21893         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21894         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21896 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21898         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21899         resemble more closely man-page style text.
21900         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21901         Mark (Eclipse) strings that need not be externalised.
21902         (writeSF): Likewise.
21903         (writeDSA): Likewise.
21904         Use package-private Messages class to provide i18n-ready strings.
21905         (startSigning):
21906         Use package-private Messages class to provide i18n-ready strings.
21907         (updateEntry): Likewise.
21908         Mark (Eclipse) strings that need not be externalised.
21909         (finishSigning): Likewise.
21910         * tools/gnu/classpath/tools/jarsigner/Main.java:
21911         Mark (Eclipse) strings that need not be externalised.
21912         (main): Do not use constant strings as class name.
21913         Use package-private Messages class to provide i18n-ready strings.
21914         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21915         (processArgs): Do not use constant strings as class name.
21916         Mark (Eclipse) strings that need not be externalised.
21917         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21918         (start): Do not use constant strings as class name.
21919         (teardown): Likewise.
21920         Use ProviderUtil.
21921         (setupCommonParams): Do not use constant strings as class name.
21922         Use package-private Messages class to provide i18n-ready strings.
21923         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21924         (installNewProvider): Do not use constant strings as class name.
21925         Use ProviderUtil.
21926         (setupSigningParams): Do not use constant strings as class name.
21927         Use package-private Messages class to provide i18n-ready strings.
21928         Mark (Eclipse) strings that need not be externalised.
21929         (getCallbackHandler): Use CallbackUtil.
21930         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21931         Use package-private Messages class to provide i18n-ready strings.
21932         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21933         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21934         (verifySF): Likewise.
21935         (verifySFEntries): Do not use constant strings as class name.
21936         Use Boolean.valueOf instead of new Boolean().
21937         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21938         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21939         New file.
21940         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21941         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21943 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21945         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21946         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21947         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21949 2006-05-01  Tom Tromey  <tromey@redhat.com>
21951         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21952         in empty case.
21953         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21954         (close): Synchronize.
21955         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21956         * java/nio/LongBufferImpl.java (compact): Rewrote.
21957         * java/nio/IntBufferImpl.java (compact): Rewrote.
21958         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21959         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21960         * java/nio/CharBufferImpl.java (compact): Rewrote.
21961         * gnu/java/nio/ChannelWriter.java: New file.
21962         * java/nio/channels/Channels.java (newWriter): Implemented.
21964 2006-05-01  Lillian Angel  <langel@redhat.com>
21966         * java/util/SimpleTimeZone.java
21967         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21968         (SimpleTimeZone): Likewise.
21969         (checkRule): Rewritten to properly check all values (more efficently). 
21970         This code is now more stable, at least less buggy than before. Fixed
21971         API documentation.
21972         (setStartRule): Moved checkRule call to end.
21973         (setStartRule): Likewise.
21974         (setEndRule): Likewise.
21975         (setEndRule): Likewise.
21977 2006-05-01  Tom Tromey  <tromey@redhat.com>
21979         * lib/.cvsignore: Added classes.2.
21981 2006-05-01  Tom Tromey  <tromey@redhat.com>
21983         * java/util/jar/JarFile.java (provider): Now package-private.
21984         * java/lang/Enum.java (compareTo): Javadoc fix.
21985         * java/lang/Boolean.java (compareTo): Javadoc fix.
21987 2006-05-01  Lillian Angel  <langel@redhat.com>
21989         * gnu/javax/swing/text/html/parser/support/Parser.java
21990         (readAttributes): Formatted function. Added handling for 
21991         SLASH token. The value of an attribute may start with a slash
21992         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21993         We should not be skipping over these type of attributes.
21995 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21997         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21998         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21999         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22000         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22001         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22002         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22003         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22004         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22005         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22006         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22007         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22008         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22009         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22010         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22011         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22012         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22013         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22014         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22015         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22016         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22017         * include/gnu_java_awt_peer_gtk_GtkImage.h,
22018         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22019         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22020         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22021         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22022         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22023         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22024         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22025         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22026         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22027         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22028         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22029         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22030         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22031         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22032         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22033         * include/gnu_java_awt_peer_qt_MainQtThread.h,
22034         * include/gnu_java_awt_peer_qt_QMatrix.h,
22035         * include/gnu_java_awt_peer_qt_QPainterPath.h,
22036         * include/gnu_java_awt_peer_qt_QPen.h,
22037         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22038         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22039         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22040         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22041         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22042         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22043         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22044         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22045         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22046         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22047         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22048         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22049         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22050         * include/gnu_java_awt_peer_qt_QtGraphics.h,
22051         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22052         * include/gnu_java_awt_peer_qt_QtImage.h,
22053         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22054         * include/gnu_java_awt_peer_qt_QtListPeer.h,
22055         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22056         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22057         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22058         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22059         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22060         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22061         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22062         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22063         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22064         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22065         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22066         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22067         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22068         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22069         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22070         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22071         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22072         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22073         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22074         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22075         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22076         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22077         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22078         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22079         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22080         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22081         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22082         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22083         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22084         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22085         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22086         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22087         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22088         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22089         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22090         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22091         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22092         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22093         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22094         * include/java_lang_VMProcess.h:
22095         Regenerated.
22096         * native/jni/java-lang/java_lang_VMProcess.c:
22097         Redirect when pipe_count is 2 not 3.    
22099 2006-04-30  Sascha Brawer <sascha@brawer.ch>
22101         * gnu/java/awt/font/FontDelegate.java,
22102         * gnu/java/awt/font/FontFactory.java,
22103         * gnu/java/awt/font/GNUGlyphVector.java,
22104         * gnu/java/awt/font/opentype/CharGlyphMap.java,
22105         * gnu/java/awt/font/opentype/GlyphNamer.java,
22106         * gnu/java/awt/font/opentype/MacResourceFork.java,
22107         * gnu/java/awt/font/opentype/NameDecoder.java,
22108         * gnu/java/awt/font/opentype/OpenTypeFont.java,
22109         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
22110         * gnu/java/awt/font/opentype/Scaler.java,
22111         * gnu/java/awt/font/opentype/truetype/Fixed.java,
22112         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
22113         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
22114         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
22115         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
22116         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
22117         * gnu/java/awt/font/opentype/truetype/Zone.java,
22118         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
22119         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
22120         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
22121         New files. Imported font framework from:
22122         http://www.brawer.ch/software/fonts/
22124 2006-04-30  Roman Kennke <kennke@aicas.com>
22126         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22127         (lastTabInRun): Fix calculation of the last tab in a run. This
22128         has caused painting problems sometimes, making the
22129         last tab painted incorrectly.
22131 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22133         PR 27297
22134         * javax/swing/JComponent.java (paintChildrenWithOverlap):
22135         Use for and not while to prevent the endless loop.
22137 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
22139         * javax/swing/JList.java
22140         (paramString): Changed from public to protected.
22142 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22144         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
22145         (printHelpAndExit): Re-factored to use the above method.
22147 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22149         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
22150         Use -Xbootclasspath/p instead of -cp when invoking the main class.
22151         * tools/gnu/classpath/tools/jarsigner/Main.java:
22152         Changed license to GPL + Exception.
22153         (handler): New field.
22154         (getCallbackHandler): New method.
22155         (setupSigningParams): Use above method.
22156         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
22157         Changed license to GPL + Exception.
22158         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
22159         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
22160         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
22161         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
22163 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22165         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
22166         (handleConfirmation): Use print instead of println.
22167         (handleConfirmation): When case is YES_NO_OPTION, print default option
22168         if one was set.
22169         (handleLanguage): Use print instead of println.
22171 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22173         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
22174         (putComponent): Handle O and OU components.
22175         (getDer): Use correct (it2) iterator.
22176         (readAttributeValue): Read next character and break if end-of-stream.
22178 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22180         * gnu/java/security/provider/Gnu.java (run):
22181         Add "RSA" as an alias to MD5withRSA.
22182         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
22183         Always encode a NULL as the value of an algorithm parameters field.
22184         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
22185         (encodePrivateKey): Added trace/log statements.
22186         (decodePrivateKey): Likewise.
22187         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
22188         (setup): Added trace/log statements.
22189         (generate): Likewise.
22190         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
22191         (toString): New method.
22192         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
22193         (str): New field.
22194         (toString): New method.
22195         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
22196         (getEncoded): Use defaultFormat.
22197         (toString): New method.
22198         * gnu/java/security/key/dss/DSSKey.java (toString):
22199         Include defaultFormat in string.
22200         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
22201         Break if successfully decoded public key.
22202         (engineGeneratePrivate): Break if successfully decoded private key.
22204 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
22206         * java/security/Security.java <clinit>: Add our Callback provider.
22207         * resource/java/security/classpath.security: Likewise
22209 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22211         PR 27296
22212         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22213         Decide about scroll bars from the preferred view size, not
22214         the current size.
22215         * javax/swing/ViewportLayout.java (layoutContainer):
22216         Do not change returned preferred size. Do not treat JScrollPane
22217         specially.
22219 2006-04-28  Sven de Marothy <sven@physto.se>
22221         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
22222         * javax/swing/ProgressMonitor.java (actionPerformed): 
22223         Avoid divide-by-zero.
22225 2006-04-28  Sven de Marothy <sven@physto.se>
22227         * javax/swing/JSpinner.java: Fix default text justification.
22228         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
22230 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
22232         * javax/swing/JList.java
22233         (getMinSelectionIndex): Return correct value, added API docs,
22234         (getMaxSelectionIndex): Added API docs.
22236 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
22238         * javax/swing/JList.java
22239         (JList(Object[])): Pass new model directly to init(),
22240         (JList(Vector)): Likewise,
22241         (JList(ListModel)): Renamed argument and updated API docs,
22242         (init): Throw IllegalArgumentException for null argument,
22243         (setListData(Object[])): Delegate model creation,
22244         (setListData(Vector)): Likewise,
22245         (createListModel(Object[])): New private method,
22246         (createListModel(Vector)): New private method,
22247         (paramString): Implemented.
22249 2006-04-28  Tom Tromey  <tromey@redhat.com>
22251         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
22252         (isEnum): Rewrote.
22253         (isSynthetic): Likewise.
22254         (isAnnotation): Likewise.
22255         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
22256         (isAnnotation): Likewise.
22257         (isEnum): Likewise.
22259 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
22261         * javax/swing/text/View.java:
22262         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
22263         view.
22265 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
22267         * javax/swing/text/View.java:
22268         (getNextVisualPositionFrom): Rewritten.
22269         * javax/swing/text/CompositeView.java:
22270         (getNextEastWestVisualPositionFrom): Partly implemented.
22271         (getNextNorthSouthVisualPositionFrom): Partly implemented.
22273 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
22275         * javax/swing/JList.java
22276         (setFixedCellHeight): Use correct property name for event.
22278 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
22280         * javax/swing/text/Utilities.java:
22281         (getNextWord): Use codePointAt instead of charAt, added note, changed
22282         if-expression, added throwing of exception.
22283         (getPreviousWord): Use codePointAt instead of charAt.
22285 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
22287         * java/lang/StringBuilder.java
22288         (ensureCapacity, getChars, append(StringBuffer),
22289         append(char[],int,int), delete, replace, insert(int,char[],int,int),
22290         insert(int,String), insert(int,char), trimToSize): Replaced
22291         System.arraycopy calls with VMSystem.arraycopy.
22293 2006-04-27  Tom Tromey  <tromey@redhat.com>
22295         * java/awt/image/renderable/RenderableImageProducer.java
22296         (requestTopDownLeftRightResend): Implemented.
22297         (run): Likewise.
22298         (startProduction): Add new consumer.
22300 2006-04-27  Sven de Marothy  <sven@physto.se>
22302         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
22304 2006-04-27  Roman Kennke <kennke@aicas.com>
22306         * java/awt/LightweightDispatcher.java
22307         Dispatch events only to targets that have a mouselistener
22308         attached. Changed to also handle null targets.
22310 2006-04-27  Roman Kennke <kennke@aicas.com>
22312         * NEWS: Added entries about accessibility support and L&F
22313         window decorations.
22315 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
22316         
22317         * javax/swing/text/Utilities.java:
22318         (getTabbedTextOffset): Introduced width variable, rewritten the check
22319         which ends the loop.
22320         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
22321         to false.
22322               
22323 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22325         * examples/gnu/classpath/examples/swing/TreeDemo.java
22326         (createContent): Added root visibility and selection listener demos.
22327         * javax/swing/JTree.java (setRootVisible): If false, unselect
22328         the root node, if it is selected.
22329         * javax/swing/plaf/basic/BasicTreeUI.java 
22330         (TreeTraverseAction.actionPerformed): Do not select the root if it
22331         is not visible.
22332         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
22333         removeSelectionPaths): Reset lead to null if the current lead path is
22334         removed from selection.
22335         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
22336         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
22337         Return the same path regardless is root visible or not. (update):
22338         Reduce the identation if the root is not visible.
22339         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
22340         Return the same path regardless is root visible or not. (update):
22341         Reduce the identation if the root is not visible.
22343 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
22345         * javax/swing/plaf/basic/BasicTreeUI.java
22346         (TreeAction.actionPerformed):Newly obtain the current lead
22347         path that must stay visible.
22348         (TreeTraverseAction.actionPerformed):Rewritten.
22349         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
22350         Do not treat root specially. (setModel): Assume the root node
22351         initially expanded.
22352         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
22353         Do not treat root specially. (setModel): Assume the root node
22354         initially expanded.
22356 2006-04-26  Chris Burdess  <dog@gnu.org>
22358         Fixes PR 27290
22359         * javax/xml/datatype/DatatypeFactory.java: Use complete
22360           implementation resolution mechanism.
22362 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22364         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
22365         Implemented.
22366         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
22367         Removed NoImplementException form the implemented method.
22369 2006-04-26  Tom Tromey  <tromey@redhat.com>
22371         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
22372         throw IOException.
22374 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
22376         * javax/swing/DefaultListSelectionModel.java
22377         (clone): Initialise empty listener list,
22378         (setSelectionMode): Throw IllegalArgumentException for bad input.
22380 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
22382         * javax/swing/DefaultListSelectionModel.java
22383         (clearSelection): Clear the Bitset.
22385 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22387         * javax/swing/JTree.java (setLeadSelectionPath):
22388         Repaint the new and old lead pathes.
22389         * javax/swing/plaf/basic/BasicTreeUI.java
22390         (FocusHandler): Repaint the lead row when focus changes.
22391         (PropertyChangeHandler): Use existing constants, not the
22392         string literals for the property names.
22393         (TreeIncrementAction): Shrink the selection when moving
22394         from the selection edge to the selection anchor.
22395         (TreeSelectionHandler.valueChanged): Repaint the 
22396         new and old lead pathes.
22397         (paintRow): Treat row as focused only if it is the lead row.
22398         * javax/swing/tree/DefaultTreeCellRenderer.java
22399         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
22400         (paint): Rewritten.
22401         * javax/swing/tree/DefaultTreeSelectionModel.java
22402         (addSelectionPath): Event construction fix (old and new lead were
22403         always the same).
22404         (addSelectionPaths): Likewise.
22405         * javax/swing/JComponent.java (setOpaque): Explained.
22406         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
22407         Accept null.
22408         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
22409         Accept null.
22411 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22413         * examples/gnu/classpath/examples/swing/TreeDemo.java
22414         (createContent): Call DefaultTreeModel.reload(), not the
22415         tree.repaint(). Expand the parent of the added node.
22416         * javax/swing/JTree.java (constructor): Do not call
22417         UpdateUI (and documented why). (treeDidChange):
22418         Added comment, excluding the misinterpretation of this method.
22419         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
22420         focusListener, keyListener, mouseListener, propertyListener,
22421         selectionModelPropertyChangeListener, treeModelListener,
22422         treeSelectionListener): Made package private.
22423         (PropertyChangeHandler): If the model changes, install the
22424         listener on it. (installUI): Assign treeModel.
22425         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
22426         comment, excluding misinterpretation.
22427         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
22428         (reload(TreeNode)): Implemented.
22430 2006-04-25  Tom Tromey  <tromey@redhat.com>
22432         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22433         * javax/swing/tree/VariableHeightLayoutCache.java
22434         (getVisiblePathsFrom): Genericized.
22435         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
22436         Genericized.
22438 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22440         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
22441         If clicked on the other row, cancel the current editing session.
22443 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22445         * javax/swing/plaf/basic/BasicTreeUI.java
22446         (NodeDimensionsHandler.getRowX): Add half of the icon width.
22447         (paintExpandControl): Always paint in one gap distance from the left
22448         border of the path bounds.
22449         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
22450         into consideration.
22451         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
22452         left edge.
22454 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22456         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
22458 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22460         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
22461         Allow slashes (/) in the unquoted parameter value. 
22463 2006-04-25  Roman Kennke <kennke@aicas.com>
22465         * gnu/java/awt/java2d/AbstractGraphics2D.java
22466         (drawString(String,int,int)): Implemented.
22467         (drawString(String,float,float)): Implemented.
22468         (drawString(AttributedCharacterIterator,int,int)): Implemented.
22469         (drawString(AttributedCharacterIterator,float,float)): Implemented.
22470         (getFontRenderContext): Implemented.
22471         (drawGlyphVector): Implemented.
22472         (getFont): Implemented.
22473         (setFont): Don't change font setting when null.
22474         (getFontMetrics): Implemented.
22475         (fillShape): Re-written to fill call rawFillShape() with a list
22476         of the edges instead of double arrays.
22477         (rawFillShape): Implemented using a polygon scanline conversion.
22478         (fillScanline): New helper method.
22479         (init): Initialize foreground black. Set font.
22480         * gnu/java/awt/java2d/PolyEdge.java: New file.
22481         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
22483 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
22485         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
22487 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
22489         * javax/swing/JTable.java: Fixed API doc tags,
22490         * javax/swing/text/AsyncBoxView.java: Likewise,
22491         * javax/swing/text/FlowView.java: Likewise.
22493 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
22495         * javax/swing/table/DefaultTableColumnModel.java
22496         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
22498 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
22500         * javax/swing/table/DefaultTableColumnModel.java
22501         (DefaultTableColumnModel): Set selection model field and add 'this' as
22502         listener directly,
22503         (addColumn): Add 'this' as a PropertyChangeListener,
22504         (removeColumn): Remove column before firing event, and remove 'this' as
22505         a PropertyChangeListener,
22506         (setSelectionModel): Remove 'this' as a listener from old model, 
22507         (propertyChange): Check for 'width' property rather than
22508         TableColumn.COLUMN_WIDTH_PROPERTY.
22510 2006-04-24  Chris Burdess  <dog@gnu.org>
22512         Fixes PR 27262
22513         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
22514           attributes when no doctype exists.
22516 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
22518         * javax/swing/event/ChangeEvent.java: Updated API docs,
22519         * javax/swing/event/ChangeListener.java: Likewise,
22520         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
22521         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
22522         * javax/swing/table/TableColumnModel.java: Likewise.
22524 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
22526         * javax/swing/text/Utilities.java:
22527         (getBreakLocation): Introduced shift variable, added notes.
22528         * javax/swing/text/WrappedPlainView.java:
22529         (calculateBreakPosition): Decrease allocation area bounds by insets,
22530         added early return when allocation area is empty, provide start offset
22531         as argument.
22532         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
22533         (WrappedPlainView.WrappedLine.paint): Added count variable, update
22534         numLines after loop.
22535         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
22536         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
22537         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
22538         decreasing variable end by one, changed break condition in while-loop,
22539         added check for return value.
22540         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
22541         allocation area is empty.
22543 2006-04-24  Sven de Marothy  <sven@physto.se>
22545         * gnu/java/awt/java2d/Segment.java: New file.
22546         * gnu/java/awt/java2d/CubicSegment.java: New file.
22547         * gnu/java/awt/java2d/QuadSegment.java: New file.
22548         * gnu/java/awt/java2d/LineSegment.java: New file.
22549         * java/awt/BasicStroke.java
22550         (start): New field.
22551         (end): New field.
22552         (createStrokedShape): Implemented.
22553         (solidStroke): New method.
22554         (dashedStroke): New method.
22555         (capEnds): New method.
22556         (convertPath): New method.
22557         (addSegments): New method.
22558         (capEnd): New method.
22559         (lineIntersection): New method.
22560         (joinSegments): New method.
22562 2006-04-24  Roman Kennke <kennke@aicas.com>
22564         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
22565         Cloneable.
22566         (font): New field.
22567         (clip): Changed clip to be in user space not in target space.
22568         (isOptimized): Added flag to allow optimized drawing for
22569         primitive operations (e.g. for Swing).
22570         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
22571         with the paint context etc.
22572         (draw): Clip the shape before drawing it.
22573         (fill): Clip the shape before drawing it.
22574         (setComposite): Update isOptimized flag.
22575         (setPaint): Likewise.
22576         (setStroke): Likewise.
22577         (translate): Update the clip.
22578         (rotate): Likewise.
22579         (scale): Likewise.
22580         (shear): Likewise.
22581         (transform): Likewise.
22582         (setTransform): Likewise.
22583         (clip): Added optimization for rectangle clips.
22584         (create): Implemented.
22585         (clone): New method.
22586         (setFont): Basic implementation.
22587         (setClip): Update opimization flag.
22588         (drawLine): Added possible optimization.
22589         (fillRect): Added possible optimization.
22590         (fillShape): Implemented shape-filling by filling the flattended
22591         shape using polygon fill.
22592         (drawPixel): Added basic painting.
22593         (rawSetPixel): Changed signature to only take coordinates.
22594         (rawSetForeground): New abstract method.
22595         (getUserBounds): Implemented default for this method.
22596         (rawDrawLine): New method.
22597         (rawFillRect): New method.
22598         (rawFillPolygon): New method.
22599         (init): New method.
22600         (updateOptimization): New method.
22601         (computeIntersection): New method.
22602         (updateClip): New method.
22603         (clipShape): New method.
22605 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22607         * java/lang/Package.java: Added compatibility constructor to ease
22608         VM interface migration.
22610 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22612         * java/lang/Class.java (getEnumConstants): Implemented without
22613         delegating to VMClass.
22614         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22616 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22618         * java/lang/ClassLoader.java (definePackage): Added argument to
22619         Package constructor.
22620         * java/lang/Package.java (Package): Added ClassLoader argument.
22621         (loader): New field.
22622         (getDeclaredAnnotations): Implemented without help from VMPackage.
22623         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22624         to Package constructor.
22625         * vm/reference/java/lang/VMPackage.java: Removed.
22627 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22629         * examples/gnu/classpath/examples/swing/TreeDemo.java:
22630         (createContent): Added check box to swith between single and 
22631         multiple selection.
22632         * javax/swing/JTree.java (leadSelectionPath): Removed.
22633         (addSelectionInterval): Explained. (getLeadSelectionPath):
22634         Request the path from model. (getPathsBetweenRows): Explained.
22635         (setLeadSelectionPath): Set the path in model.
22636         * javax/swing/plaf/basic/BasicTreeUI.java 
22637         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
22638         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22639         (MouseHandler.mousePressed): Call selectPathForEvent.
22641 2006-04-23  Roman Kennke <kennke@aicas.com>
22643         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22645 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22647         * NEWS:
22648         Mention changes to VMProcess and VMSystem.
22649         * doc/vmintegration.texinfo:
22650         Change documentation on VMProcess and VMSystem.
22651         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22652         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22653         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22654         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22655         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22656         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22657         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22658         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22659         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22660         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22661         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22662         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22663         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22664         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22665         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22666         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22667         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22668         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22669         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22670         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22671         * include/gnu_java_awt_peer_gtk_GtkImage.h,
22672         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22673         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22674         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22675         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22676         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22677         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22678         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22679         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22680         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22681         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22682         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22683         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22684         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22685         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22686         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22687         * include/gnu_java_awt_peer_qt_MainQtThread.h,
22688         * include/gnu_java_awt_peer_qt_QMatrix.h,
22689         * include/gnu_java_awt_peer_qt_QPainterPath.h,
22690         * include/gnu_java_awt_peer_qt_QPen.h,
22691         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22692         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22693         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22694         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22695         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22696         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22697         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22698         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22699         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22700         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22701         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22702         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22703         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22704         * include/gnu_java_awt_peer_qt_QtGraphics.h,
22705         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22706         * include/gnu_java_awt_peer_qt_QtImage.h,
22707         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22708         * include/gnu_java_awt_peer_qt_QtListPeer.h,
22709         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22710         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22711         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22712         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22713         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22714         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22715         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22716         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22717         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22718         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22719         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22720         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22721         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22722         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22723         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22724         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22725         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22726         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22727         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22728         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22729         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22730         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22731         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22732         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22733         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22734         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22735         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22736         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22737         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22738         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22739         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22740         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22741         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22742         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22743         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22744         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22745         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22746         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22747         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22748         * include/java_lang_VMProcess.h,
22749         * include/java_lang_VMSystem.h:
22750         Regenerated with GCJ 4.1.
22752 2006-04-22  Casey Marshall  <csm@gnu.org>
22754         Fixes PR classpath/27228.
22755         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22756         (initialize): also accept `DHParameterSpec.'
22757         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22758         handle a passed-in `DHParameterSpec' properly.
22759         (generate): don't check if the random exponent is less than `q -
22760         1' if no `q' was specified.
22762 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22764         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22765         Only repaint the patches, speficied in the passed event.
22766         (expandPath): Do nothing if the path is already expanded.
22767         (scrollPathToVisible): Only scroll to visible, do nothing else.
22768         * javax/swing/plaf/basic/BasicTreeUI.java 
22769         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22770         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22771         (TreeTraverseAction.actionPerformed): Collapse the node on the
22772         action "selectParent". (selectPath): Rewritten.
22773         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22774         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22775         Do not reuse selection array.
22776         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22777         Accept null.
22778         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22779         Accept null.
22781 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22783         * javax/swing/tree/DefaultTreeSelectionModel.java
22784         (addSelectionPath): If the path cannot be added, set it.
22785         (addSelectionPaths): Call insureRowContinuity.
22786         (arePathsContiguous): Implemented.
22787         (canPathBeAdded): New private method.
22788         (canPathsBeAdded): Implemented.
22789         (canPathsBeRemoved): Implemented.
22790         (getPath): New private method.
22791         (insureRowContinuity): Implemented.
22792         (removeSelectionPath): Call insureRowContinuity.
22793         (removeSelectionPaths): Call insureRowContinuity.
22794         (resetRowSelection): Removed stub marking, not used in implementation 
22795         (nothing to do there).
22796         (selectOne): New private method.
22797         (setSelectionMode) Call insureRowContinuity.
22798         (setSelectionPaths) Remove the current selection by clearing it.
22800 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22802         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22803         parameters consistendly, documented some methods.
22804         * java/sql/Blob.java: Likewise.
22805         * java/sql/CallableStatement.java: Likewise.
22806         * java/sql/Clob.java: Likewise.
22807         * java/sql/Connection.java: Likewise.
22808         * java/sql/DatabaseMetaData.java: Likewise.
22809         * java/sql/Date.java: Likewise.
22810         * java/sql/Driver.java: Likewise.
22811         * java/sql/PreparedStatement.java: Likewise.
22812         * java/sql/ResultSet.java: Likewise.
22813         * java/sql/ResultSetMetaData.java: Likewise.
22814         * java/sql/SQLData.java: Likewise.
22815         * java/sql/SQLOutput.java: Likewise.
22816         * java/sql/SQLWarning.java: Likewise.
22817         * java/sql/Statement.java: Likewise.
22818         * java/sql/Time.java: Likewise.
22819         * java/sql/Timestamp.java: Likewise.
22821 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22823         * java/lang/reflect/AccessibleObject.java:
22824         Implemented AnnotatedElement.
22825         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22826         isAnnotationPresent): New methods.
22828 2006-04-21  Tom Tromey  <tromey@redhat.com>
22830         PR classpath/27163:
22831         * gnu/java/net/protocol/ftp/FTPConnection.java
22832         (changeWorkingDirectory): Do nothing if path is empty.
22834 2006-04-21  Tom Tromey  <tromey@redhat.com>
22836         PR libgcj/27231:
22837         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22838         case where no '/' appears in 'location'.
22840 2006-04-21  Tom Tromey  <tromey@redhat.com>
22842         * java/security/Security.java (<clinit>): Add all default providers.
22843         * resource/java/security/classpath.security: Added comment.
22845 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22847         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22848         * javax/swing/SpinnerNumberModel.java: Likewise.
22850 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22852         * javax/swing/SpinnerDateModel.java
22853         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22854         checking to call compareTo() on start and end.
22856 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22858         * javax/swing/border/AbstractBorder.java: API doc updates,
22859         * javax/swing/border/BevelBorder.java: Likewise,
22860         * javax/swing/border/CompoundBorder.java: Likewise,
22861         * javax/swing/border/EtchedBorder.java: Likewise,
22862         * javax/swing/border/LineBorder.java: Likewise,
22863         * javax/swing/border/MatteBorder.java: Likewise,
22864         * javax/swing/border/TitledBorder.java: Likewise.
22866 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22868         * gnu/javax/crypto/cipher/Anubis.java:
22869         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22870         instance,
22871         * gnu/javax/crypto/cipher/Blowfish.java:
22872         (selfTest): Likewise,
22873         * gnu/javax/crypto/cipher/Cast5.java:
22874         (selfTest): Likewise,
22875         * gnu/javax/crypto/cipher/Khazad.java:
22876         (selfTest): Likewise,
22877         * gnu/javax/crypto/cipher/Rijndael.java:
22878         (selfTest): Likewise,
22879         * gnu/javax/crypto/cipher/Serpent.java:
22880         (selfTest): Likewise,
22881         * gnu/javax/crypto/cipher/Square.java:
22882         (selfTest): Likewise,
22883         * gnu/javax/crypto/cipher/Twofish.java:
22884         (selfTest): Likewise,
22885         * gnu/javax/crypto/mac/UMac32.java:
22886         (selfTest): Likewise,
22887         * gnu/javax/crypto/prng/CSPRNG.java:
22888         (getSystemInstance): Likewise.
22890 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22892         * gnu/java/security/hash/Haval.java:
22893         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22894         instance,
22895         * gnu/java/security/hash/MD2.java:
22896         (selfTest): Likewise,
22897         * gnu/java/security/hash/MD4.java:
22898         (selfTest): Likewise,
22899         * gnu/java/security/hash/MD5.java:
22900         (selfTest): Likewise,
22901         * gnu/java/security/hash/RipeMD128.java:
22902         (selfTest): Likewise,
22903         * gnu/java/security/hash/RipeMD160.java:
22904         (selfTest): Likewise,
22905         * gnu/java/security/hash/Sha160.java:
22906         (selfTest): Likewise,
22907         * gnu/java/security/hash/Sha256.java:
22908         (selfTest): Likewise,
22909         * gnu/java/security/hash/Sha384.java:
22910         (selfTest): Likewise,
22911         * gnu/java/security/hash/Sha512.java:
22912         (selfTest): Likewise,
22913         * gnu/java/security/hash/Tiger.java:
22914         (selfTest): Likewise,
22915         * gnu/java/security/hash/Whirlpool.java:
22916         (selfTest): Likewise.
22918 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22920         * javax/swing/plaf/basic/BasicTreeUI.java 
22921         (PropertyChangeHandler.propertyChange): Set the row mapper
22922         for the selection model.
22923         * javax/swing/tree/AbstractLayoutCache.java 
22924         (NodeDimensions.getNodeDimensions): Explained.
22925         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22926         Implemented. (setRowHeight): Invalidate sizes. 
22927         * javax/swing/tree/DefaultTreeSelectionModel.java
22928         (addSelectionPath, addSelectionPaths): Update lead row.
22929         (removeSelectionPath, removeSelectionPaths): Do nothing if
22930         selection is empty.
22931         (clone): Only clone list selection model if it is not null.
22932         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22933         setSelectionPath, setSelectionPaths, toString): Implemented.
22934         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22935         Pass the empty rectangle. (isFixedRowHeight): New method.
22936         * javax/swing/tree/VariableHeightLayoutCache.java
22937         (NodeRecord.getBounds): Pass the empty rectangle.
22938         
22939 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22941         * gnu/java/security/Properties.java
22942         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22944 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22946         * gnu/classpath/jdwp/util/Value.java
22947         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22948         creating new Boolean instances.
22950 2006-04-20  Mark Wielaard  <mark@klomp.org>
22952         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22953         PrivilegedAction. Access awt.toolkit through SystemProperties.
22955 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22957         * javax/swing/ActionMap.java: Removed unused imports,
22958         * javax/swing/DefaultListSelectionModel.java
22959         (clearSelection): Removed unused label,
22960         * javax/swing/JScrollPane.java: Removed unused imports,
22961         * javax/swing/UIManager.java: Likewise,
22962         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22964 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22966         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22967         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22968         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22969         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22970         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22972 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22974         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22975         * java/sql/Blob.java: Likewise,
22976         * java/sql/CallableStatement.java: Likewise,
22977         * java/sql/Clob.java: Likewise,
22978         * java/sql/Connection.java: Likewise,
22979         * java/sql/DatabaseMetaData.java: Likewise,
22980         * java/sql/Date.java: Likewise,
22981         * java/sql/Driver.java: Likewise,
22982         * java/sql/PreparedStatement.java: Likewise,
22983         * java/sql/ResultSet.java: Likewise,
22984         * java/sql/ResultSetMetaData.java: Likewise,
22985         * java/sql/SQLData.java: Likewise,
22986         * java/sql/SQLOutput.java: Likewise,
22987         * java/sql/SQLWarning.java: Likewise,
22988         * java/sql/Statement.java: Likewise,
22989         * java/sql/Time.java: Likewise,
22990         * java/sql/Timestamp.java: Likewise.
22992 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22994         * java/sql/DriverManager.java
22995         (setLoginTimeout): Use incoming argument,
22996         (setLogStream): Likewise,
22997         (println): Fix API doc comment.
22999 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
23001         * javax/swing/JMenuItem.java
23002         (paramString): Updated API docs,
23003         (getAccessibleContext): Added API docs,
23004         (AccessibleJMenuItem.stateChanged): Marked as stub,
23005         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
23006         * javax/swing/JSlider.java
23007         (paramString): Fix for API docs,
23008         * javax/swing/JToolTip.java
23009         (getAccessibleContext): Fix for API docs.
23011 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
23013         * javax/swing/JRadioButtonMenuItem.java
23014         (paramString): Reimplemented,
23015         (getAccessibleContext): API docs added,
23016         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
23017         Likewise,
23018         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
23020 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23022         * javax/swing/plaf/basic/BasicTreeUI.java
23023         (finish): Invalidate path bounds.
23024         (getMaxHeight): Set the row height to the layout cache.
23025         (startEditing): Do not request to recalculated 
23026         row height and preferred size.
23027         * javax/swing/tree/DefaultTreeCellEditor.java
23028         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
23029         with 0.
23030         * javax/swing/tree/FixedHeightLayoutCache.java:
23031         Rewritten.
23033 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
23035         * javax/swing/JDesktopPane.java
23036         (paramString): Reimplemented,
23037         plus API doc updates in AccessibleJDesktopPane.
23039 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
23041         * javax/swing/ImageIcon.java:
23042         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
23043         (AccessibleImageIcon.getLocale): Declared exception and always return 
23044         null,
23045         (getAccessibleContext): Updated API docs,
23046         plus updated API docs all over AccessibleImageIcon.
23048 2006-04-20  Roman Kennke  <kennke@aicas.com>
23050         PR 27196
23051         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
23052         (paintText): Fetch the ascent only once. Add the ascent to
23053         the text rect also when tabs are disabled.
23055 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
23057         * java/util/Locale.java (defaultLocale): Set to en_US per
23058         default and use user.country but prioritize user.region if
23059         defined.
23060         (getLocale(String language, String country)): Renamed region to
23061         country.
23062         (getLocale(String language, String region, String variant)):
23063         Likewise.
23064         (getAvailableLocales): Likewise.
23066 2006-04-20  Roman Kennke  <kennke@aicas.com>
23068         PR 27222
23069         * javax/swing/JList.java
23070         (JList()): Call init() with DefaultListModel instance.
23071         (JList(Object[])): Call init() with null.
23072         (JList(Vector)): Call init() with null.
23073         (JList(ListModel)): Call init() with model.
23074         (init): Changed to take the model as argument. Don't call
23075         setter methods and initialize stuff directly instead.
23076         (getCellBounds): Check if UI is null.
23078 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
23080         * javax/swing/text/WrappedPlainView.java: Initialize
23081         WrappedLine.numLines with -1.
23082         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
23083         numLines is -1 and reculcalate the value appropriately.
23084         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
23085         allocation area is empty.
23087 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
23089         * javax/swing/JTabbedPane.java
23090         (AccessibleJTabbedPane.stateChanged): Marked as stub,
23091         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
23092         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
23093         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
23094         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
23095         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
23096         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
23097         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
23098         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
23099         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
23100         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
23101         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
23102         (Page.getAccessibleStateSet): Likewise,
23103         (Page.getAccessibleIndexInParent): Likewise.
23105 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
23107         * javax/swing/JProgressBar.java
23108         (paramString): Reimplemented.
23110 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
23112         * javax/swing/JButton.java: Updated API docs all over.
23114 2006-04-19  Roman Kennke  <kennke@aicas.com>
23116         * java/awt/Toolkit.java
23117         (getDefaultToolkit): Use system classloader to load the
23118         toolkit.
23120 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
23122         * javax/swing/text/DefaultCaret.java:
23123         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
23124         instead of DefaultCaret.setDot.
23126 2006-04-19  Roman Kennke  <kennke@aicas.com>
23128         * native/jni/java-net/local.c
23129         (local_read): Handle EINTR correctly.
23130         (local_write): Likewise.
23132 2006-04-19  Riccardo Mottola  <multix@gmail.com>
23134         PR classpath/27062, PR classpath/25650:
23135         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
23137 2006-04-19  Tom Tromey  <tromey@redhat.com>
23139         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
23140         value of 'pureMinutes'.  PR classpath/27189.
23142 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
23144    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
23145    boot packages list from the META-INF/INDEX.LIST file if it exists. 
23147 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
23149         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
23150         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
23151         (ITERATION_COUNT): Removed modifiers.
23152         (PASSWORD): Likewise.
23153         (SALT): Likewise.
23154         (PASSWORD_ENCODING): New property.
23155         (DEFAULT_PASSWORD_ENCODING): New constant.
23156         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
23157         material (bytes) before a password (chars).
23159 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
23161         * javax/swing/JMenu.java
23162         (getAccessibleChildrenCount): Marked as stub,
23163         (getAccessibleChild): Likewise,
23164         (getAccessibleSelection): Likewise,
23165         (getAccessibleSelection(int)): Likewise,
23166         (isAccessibleChildSelected): Likewise,
23167         (getAccessibleSelectionCount): Likewise,
23168         (addAccessibleSelection): Likewise,
23169         (removeAccessibleSelection): Likewise,
23170         (clearAccessibleSelection): Likewise,
23171         (selectAllAccessibleSelection): Likewise.
23173 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
23175         * javax/swing/JSplitPane.java
23176         (getAccessibleContext): Added API docs,
23177         (paramString): Reimplemented,
23178         (setOrientation): Updated API docs,
23179         (setResizeWeight): Added argument checking and event notification.
23181 2006-04-18  Casey Marshall  <csm@gnu.org>
23183         Fixes PR classpath/25673        
23184         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
23185         property is set. Update JavaDoc to reflect this.
23187 2006-04-18  Lillian Angel  <langel@redhat.com>
23189         * gnu/xml/dom/DomDocument.java
23190         (setCheckingCharacters): New function used to set
23191         checkingCharacters flag.
23192         * gnu/xml/dom/html2/DomHTMLParser.java
23193         (parseDocument): Added call to set checkingCharacters flag
23194         to false.
23196 2006-04-18  Lillian Angel  <langel@redhat.com>
23198         * gnu/xml/dom/DomDocument.java
23199         (checkNCName): Reverted last patch. Added check for colon at
23200         last position back in.
23202 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
23204         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
23205         New file.
23206         * examples/gnu/classpath/examples/swing/Demo.java:
23207         (mkMenuBar): Added NavigationFilter demo.
23209 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23211         * javax/swing/JSeparator.java: Updated API docs all over, plus
23212         (setOrientation): Fire PropertyChangeEvent,
23213         (paramString): Reimplemented.
23215 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
23217         * javax/swing/plaf/basic/BasicTextUI.java:
23218         (getNextVisualPositionFrom): Implemented.
23220 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23222         * javax/swing/JPanel.java: Updated API docs all over, plus
23223         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
23224         double-buffer flag.
23226 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
23228         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
23229         New file.
23230         * examples/gnu/classpath/examples/swing/Demo.java:
23231         (mkMenuBar): Added DocumenFilter demo.
23233 2006-04-18  Tom Tromey  <tromey@redhat.com>
23235         * doc/www.gnu.org/include/layout.wml: Add FMJ.
23237 2006-04-18  Mark Wielaard  <mark@klomp.org>
23239         Reported by John Sullivan (johns@fsf.org)
23240         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
23242 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23244         * javax/swing/JInternalFrame.java
23245         (JDesktopIcon.getAccessibleContext): Added API docs,
23246         (getDefaultCloseOperation): Likewise,
23247         (paramString): Added 'title' attribute,
23248         (setDefaultCloseOperation): Added API docs.
23250 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23252         * javax/swing/JSlider.java
23253         (paramString): Reimplemented.
23255 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23257         * javax/swing/JComboBox.java
23258         (paramString): Reimplemented,
23259         (getAccessibleContext): Added API docs,
23260         (AccessibleJComboBox.getAccessibleRole): Likewise.
23262 2006-04-18  Roman Kennke  <kennke@aicas.com>
23264         * javax/swing/RepaintManager.java
23265         (dirtyComponentsWork): New field.
23266         (ComponentComparator): Use dirtyComponentsWork instead of
23267         dirtyComponents.
23268         (RepaintManager): Initialize new field.
23269         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
23270         and work on the copy.
23272 2006-04-18  Roman Kennke  <kennke@aicas.com>
23274         * gnu/java/awt/peer/swing/SwingComponentPeer.java
23275         (setBounds): Call reshape().
23276         * gnu/java/awt/peer/swing/SwingContainerPeer.java
23277         (SwingContainerPeer): Changed argument to be a Component
23278         instead a Container.
23279         (getInsets): Call insets().
23280         (handleMouseEvent): Added null check to avoid NPE.
23281         (handleMouseMotionEvent): Added null check to avoid NPE.
23282         
23283 2006-04-18  Roman Kennke  <kennke@aicas.com>
23285         PR 27185
23286         * javax/swing/JComponent.java
23287         (paintChildrenWithOverlap): When one child is not opaque, propagate
23288         the dirty rectangles to the next child.
23289         (paintChildrenOptimized): Removed unnecessary 'optimization'.
23290         This actually didn't work right and probably gained nothing.
23292 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23294         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
23295         (moveToCellBeingEdited): Do not clone the rectangle here.
23297 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
23299         * javax/swing/plaf/basic/BasicSliderUI.java
23300         (getActionMap): Fixed lookup key,
23301         (createActionMap): Modified actions to fetch slider/ui from the event
23302         source.
23304 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23306         * java/lang/Enum.java: Documented.
23308 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23310         * gnu/java/lang/InstrumentationImpl.java:
23311         Moved from java.lang.
23312         * java/lang/InstrumentationImpl.java:
23313         Removed.
23314         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
23315         Moved from java.lang.
23316         * vm/reference/java/lang/VMClassLoader.java:
23317         Corrected reference to InstrumentationImpl.
23318         * vm/reference/java/lang/VMInstrumentationImpl.java:
23319         Removed.
23320         
23321 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23323         * java/lang/annotation/Annotation.java:
23324         Documented.
23325         
23326 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
23328         * javax/swing/JToolBar.java
23329         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
23330         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
23331         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
23332         (getAccessibleContext): Likewise.
23334 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
23336         * configure.ac:
23337         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
23339         * native/fdlibm/Makefile.am,
23340         native/jni/classpath/Makefile.am:
23341         Don't use -module and -version-info for convenience libraries LDFLAGS.
23342         Fixes libtool warnings.
23344 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
23346         * javax/swing/plaf/basic/BasicComboBoxUI.java:
23347         (installKeyboardActions): Marked as stub,
23348         (uninstallKeyboardActions): Likewise,
23349         * javax/swing/plaf/basic/BasicComboPopup.java:
23350         (installKeyboardActions): Marked as stub,
23351         (uninstallKeyboardActions): Likewise,
23352         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
23353         (installKeyboardActions): Marked as stub,
23354         (uninstallKeyboardActions): Likewise,
23355         * javax/swing/plaf/basic/BasicLabelUI.java:
23356         (installKeyboardActions): Marked as stub,
23357         (uninstallKeyboardActions): Likewise,
23358         * javax/swing/plaf/basic/BasicListUI.java:
23359         (installKeyboardActions): Marked as stub,
23360         (uninstallKeyboardActions): Likewise,
23361         * javax/swing/plaf/basic/BasicMenuBarUI.java:
23362         (installKeyboardActions): Marked as stub,
23363         (uninstallKeyboardActions): Likewise,
23364         * javax/swing/plaf/basic/BasicMenuUI.java:
23365         (installKeyboardActions): Marked as stub,
23366         (uninstallKeyboardActions): Likewise,
23367         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
23368         (installKeyboardActions): Marked as stub,
23369         (uninstallKeyboardActions): Likewise,
23370         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
23371         (installKeyboardActions): Marked as stub,
23372         (uninstallKeyboardActions): Likewise,
23373         * javax/swing/plaf/basic/BasicScrollBarUI.java:
23374         (installKeyboardActions): Marked as stub,
23375         (uninstallKeyboardActions): Likewise,
23376         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
23377         (installKeyboardActions): Marked as stub,
23378         (uninstallKeyboardActions): Likewise,
23379         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
23380         (installKeyboardActions): Marked as stub,
23381         (uninstallKeyboardActions): Likewise,
23382         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
23383         (installKeyboardActions): Marked as stub,
23384         (uninstallKeyboardActions): Likewise,
23385         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
23386         (installKeyboardActions): Marked as stub,
23387         (uninstallKeyboardActions): Likewise,
23388         * javax/swing/plaf/basic/BasicTableUI.java:
23389         (installKeyboardActions): Marked as stub,
23390         (uninstallKeyboardActions): Likewise,
23391         * javax/swing/plaf/basic/BasicTextUI.java:
23392         (installKeyboardActions): Marked as stub,
23393         (uninstallKeyboardActions): Likewise,
23394         * javax/swing/plaf/basic/BasicToolBarUI.java:
23395         (installKeyboardActions): Marked as stub,
23396         (uninstallKeyboardActions): Likewise.   
23398 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
23400         * javax/swing/plaf/basic/BasicSliderUI.java
23401         (installKeyboardActions): Implemented,
23402         (uninstallKeyboardActions): Implemented,
23403         (scrollByBlock): Accept any value for direction,
23404         (scrollByUnit): Likewise,
23405         (getInputMap): New method,
23406         (getActionMap): New method,
23407         (createActionMap): New method.
23410 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23411         
23412         * doc/vmintegration.texinfo:
23413         Fix sectioning.
23415 2006-04-16  Tom Tromey  <tromey@redhat.com>
23417         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
23419 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23421         * NEWS:
23422         Mention generics additions to the VM interface.
23423         * doc/vmintegration.texinfo:
23424         Added information on VMClass 1.5 additions and
23425         VMSecureRandom.
23426         
23427 2006-04-16  Casey Marshall  <csm@gnu.org>
23429         * NEWS: add an entry mentioning local socket support.
23431 2006-04-16  Casey Marshall  <csm@gnu.org>
23433         * configure.ac (--enable-local-sockets): new enable argument.
23434         (ENABLE_LOCAL_SOCKETS): new define.
23435         * native/jni/java-net/Makefile.am (local_sources): new variable.
23436         (lib_javanet_la_SOURCES): append `local_sources.'
23437         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
23438         * native/jni/java-net/local.c,
23439         * native/jni/java-net/local.h,
23440         * include/gnu_java_net_local_LocalSocketImpl.h,
23441         * gnu/java/net/local/LocalServerSocket.java,
23442         * gnu/java/net/local/LocalSocket.java,
23443         * gnu/java/net/local/LocalSocketAddress.java,
23444         * gnu/java/net/local/LocalSocketImpl.java: new files.
23446 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23448         * javax/accessibility/AccessibleAction.java:
23449         (DECREMENT): Added field.
23450         (INCREMENT): Likewise.
23451         (TOGGLE_EXPAND): Likewise.
23452         * javax/accessibility/AccessibleRole.java:
23453         (EDITBAR): Added field.
23454         (FOOTER): Likewise.
23455         (HEADER): Likewise.
23456         (PARAGRAPH): Likewise.
23457         (PROGRESS_MONITOR): Likewise.
23458         (RULER): Likewise.
23459         * javax/accessibility/AccessibleState.java:
23460         (INDETERMINATE): Added field.
23461         (MANAGES_DESCENDANTS): Likewise.
23462         (TRUNCATED): Likewise.
23464 2006-04-14  Tom Tromey  <tromey@redhat.com>
23466         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
23467         Genericized.
23468         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
23469         Genericized.
23471 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
23473         * javax/swing/text/DefaultCaret.java:
23474         (getBypass): New method.
23475         (moveDot): Rewritten.
23476         (moveDotImpl): New method.
23477         (setDot): Rewritten.
23478         (setDotImpl): New method.
23479         (DefaultCaret.Bypass): New class.
23481 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
23483         * javax/swing/text/AbstractDocument.java:
23484         (getBypass): New method.
23485         (insertString): Rewritten.
23486         (remove): Rewritten.
23487         (replace): Rewritten.
23488         (insertStringImpl): New method.
23489         (removeImpl): New method.
23490         (replaceImpl): New method.
23491         (AbstractDocument.Bypass): New class.
23493 2006-04-14  Casey Marshall  <csm@gnu.org>
23495         Fixes PR classpath/24642
23496         * NEWS: add note about SecureRandom changes, and addition of
23497         VMSecureRandom.
23498         * java/security/SecureRandom.java (isSeeded): new field.
23499         (setSeed, setSeed): set `isSeeded' to `true.'
23500         (nextBytes): seed this instance if `isSeeded' is false.
23501         (getSeed): call `generateSeed.'
23502         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
23503         (generateSeed, generateSeed): new methods.
23504         * vm/reference/java/security/VMSecureRandom.java: new file.
23506 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
23508         * javax/swing/text/FieldView.java:
23509         (paint): Apply clipping rectangle of the allocation area
23510         before painting the text.
23511         * javax/swing/text/DefaultHighlighter.java:
23512         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
23513         compute union and intersection, calculate intersection with allocation
23514         area before painting, adjust x and width when painting multiple lines
23515         by the range of the allocation area.
23517 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
23519         * javax/swing/text/DefaultHighlighter.java:
23520         (paintLayeredHighlights): Marked as stub.
23522 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
23524         * javax/swing/plaf/basic/BasicTextFieldUI.java:
23525         (propertyChanged): Added note, change color only if current background
23526         is a ColorUIResource instance.
23528 2006-04-14  Tom Tromey  <tromey@redhat.com>
23530         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
23531         a stub.
23532         (next): Likewise.
23534 2006-04-14  Tom Tromey  <tromey@redhat.com>
23536         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
23538 2006-04-14  Mark Wielaard  <mark@klomp.org>
23540         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
23541         thread group when exceptionHandler isn't set.
23542         * vm/reference/java/lang/VMThread.java (run): Use result of
23543         thread.getUncaughtExceptionHandler directly.
23545 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
23547         * javax/swing/JSplitPane.java
23548         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
23549         (AccessibleJSplitPane.getAccessibleRole): Implemented,
23550         (AccessibleJSplitPane.getAccessibleValue): Implemented,
23551         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
23552         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
23553         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
23554         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
23556 2006-04-10  Tom Tromey  <tromey@redhat.com>
23558         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
23559         Fixed parameter bounds.
23561 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23562         
23563         * gnu/javax/crypto/assembly/Assembly.java,
23564         * gnu/javax/crypto/assembly/Cascade.java,
23565         * gnu/javax/crypto/assembly/CascadeStage.java,
23566         * gnu/javax/crypto/assembly/CascadeTransformer.java,
23567         * gnu/javax/crypto/assembly/Direction.java,
23568         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
23569         * gnu/javax/crypto/assembly/ModeStage.java,
23570         * gnu/javax/crypto/assembly/Operation.java,
23571         * gnu/javax/crypto/assembly/PaddingTransformer.java,
23572         * gnu/javax/crypto/assembly/Stage.java,
23573         * gnu/javax/crypto/assembly/Transformer.java,
23574         * gnu/javax/crypto/cipher/Square.java,
23575         * gnu/javax/crypto/jce/cipher/AESSpi.java,
23576         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
23577         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
23578         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
23579         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
23580         * gnu/javax/crypto/jce/cipher/DESSpi.java,
23581         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
23582         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
23583         * gnu/javax/crypto/jce/cipher/PBES2.java,
23584         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
23585         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
23586         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
23587         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
23588         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
23589         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
23590         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
23591         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
23592         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
23593         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23594         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23595         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23596         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23597         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23598         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23599         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23600         * gnu/javax/crypto/jce/mac/MacAdapter.java,
23601         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23602         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
23603         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
23604         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23605         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23606         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23607         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23608         * gnu/javax/crypto/pad/WrongPaddingException.java,
23609         * gnu/javax/crypto/prng/ICMGenerator.java,
23610         * gnu/javax/crypto/prng/IPBE.java,
23611         * gnu/javax/crypto/prng/PBKDF2.java,
23612         * gnu/javax/crypto/sasl/ConfidentialityException.java,
23613         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23614         * gnu/javax/crypto/sasl/srp/IALG.java,
23615         * gnu/javax/crypto/sasl/srp/SRPServer.java:
23616         Remove CVS revision tags.
23618 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23620         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
23621         Removed debugging code.
23623 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23625         * javax/swing/JTree.java (getPreferredSize): Return the
23626         cloned instance.
23627         * javax/swing/ViewportLayout.java (layoutContainer):
23628         Do not manage the view size and location if the view is
23629         in the scroll pane. Also manage size and location for
23630         Scrollable, if it is not in the scroll pane.
23631         * javax/swing/plaf/basic/BasicTreeUI.java,
23632         * javax/swing/tree/FixedHeightLayoutCache.java,
23633         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23634         * gnu/javax/swing/tree/GnuPath.java: New file.
23636 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23638         * javax/swing/JToolBar.java
23639         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23641 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23643         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23644         (createCustomColoredPanel): Set background color as demo intends,
23645         changed custom selection color to red.
23646         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23647         Replaced various single variables with a Compound instance, added
23648         custom highlighter demo.
23649         (TextFieldDemo.DemoHighlightPainter): New class (taken from
23650         TextAreaDemo).
23651         (TextFieldDemo.Compound): New class.
23652         (createTextFieldCompound): New method.
23653         (createLeftAlignedPanel): Rewritten.
23654         (createRightAlignedPanel): Rewritten.
23655         (createCenteredPanel): Rewritten.
23656         (createCustomColoredPanel): Removed.
23657         (createCustomColoredPanel1): New method.
23658         (createCustomColoredPanel2): New method.
23659         (createCustomBordersPanel): New method.
23660         (createMiscPanel): Rewritten.
23661         (actionPerformed): Rewritten.
23662         (createContent): Add panels of new compounds to main panel, put
23663         main panel in a JScrollPane.
23664         * examples/gnu/classpath/examples/swing/Demo.java:
23665         (Demo): Put desktop in a scrollpane.
23666         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23667         method via reflection.
23669 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23671         * javax/swing/plaf/metal/MetalDesktopIconUI.java
23672         (createUI): Return new instance rather than shared instance.
23674 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23676         * javax/swing/text/FieldView.java:
23677         (checkContainer): Call updateVisibility() at the end.
23679 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23681         * java/awt/event/MouseEvent.java:
23682         (paramString): Add value of 'consumed' variable in string.
23684 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23686         PR 26967
23687         * javax/swing/JTextField.java: Removed scrollOffset variable.
23688         (JTextField): Moved up initialization of horizontalVisibility field.
23689         (getScrollOffset): Implemented.
23690         (setScrollOffset): Implemented.
23691         (getHorizonztalVisibility): Removed note.
23692         (scrollRectToVisible): New method.
23693         * javax/swing/text/FieldView.java: Added cachedSpan variable.
23694         (checkContainer): New method.
23695         (updateVisibility): New method.
23696         (calculateHorizontalSpan): New method.
23697         (adjustAllocation): Removed unneeded local variables, added code
23698         to handle scrolling.
23699         (getPreferredSpan): Use new method calculateHorizontalSpan,
23700         avoid calculation by returning cached value cachedSpan.
23701         (paint): Added check whether the hosted component is a JTextField.
23702         (insertUpdate): Invalidate cached span value, update visibility
23703         if neccessary.
23704         (removeUpdate): Dito.
23705         (changeUpdate): Dito.
23707 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23709         * javax/swing/JInternalFrame.java
23710         (setTitle): Set old value to 'this.title', not 'title'.
23712 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23714         * javax/swing/JInternalFrame.java
23715         (AccessibleJInternalFrame.getAccessibleName): Implemented,
23716         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23717         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23718         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23719         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23720         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23721         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23722         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23723         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23724         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
23725         Implemented,
23726         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
23727         Implemented,
23728         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
23729         Implemented,
23730         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
23731         Implemented,
23732         (JInternalFrame()): Use "" for default title,
23733         (getAccessibleContext): Updated API docs,
23734         (getDesktopIcon): Likewise,
23735         (getLayer): Check for layer in client properties, and return 
23736         DEFAULT_LAYER if no setting is found,
23737         (getTitle): Updated API docs,
23738         (setDesktopIcon): Fire property change event.
23740 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23742         * javax/swing/ScrollPaneLayout.java (layoutContainer):
23743         Mind that the presence of one scroll bar may cause the
23744         need for another.
23746 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23748         * gnu/regexp/REToken.java(unicodeAware): New field,
23749         (toLowerCase, toUpperCase): New methods.
23750         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23751         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23752         Use toLowerCase and toUpperCase defined in REToken instead of
23753         those defined in java.lang.Character.
23754         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23755         (initialize): Sets unicodeAware of the generated REToken to false if
23756         REG_ICASE_USASCII is set.
23757         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23758         to lower case and keep the original value.
23759         (matchOneString): Use the new method charEquals to compare characters.
23760         (charEquals): New method to compare characters.
23761         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23763 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23765         * javax/swing/event/InternalFrameEvent.java:
23766         (paramString): Implemented,
23767         updated API docs all over.
23768         
23769 2006-04-12  Casey Marshall  <csm@gnu.org>
23771         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23772         (Generator.setup): call `fillBlock.'
23774 2006-04-12  Casey Marshall  <csm@gnu.org>
23776         Fixes PR classpath/24481.
23777         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23778         initialize the adaptee.
23779         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23780         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23781         addRandomBytes): new methods.
23783 2006-04-12  Tom Tromey  <tromey@redhat.com>
23785         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23786         length strings.
23788 2006-04-12  Lillian Angel  <langel@redhat.com>
23790         * gnu/xml/dom/DomDocument.java
23791         (checkNCName): Removed unneeded part of check.
23792         * gnu/xml/dom/DomNode.java
23793         (dispatchEvent): Added code to grow ancestors array
23794         if needed. Changed checks to use depth of node instead.
23795         Fixes an infinite loop and segmentation fault.
23796         * gnu/xml/dom/html2/DomHTMLParser.java
23797         (handleEndTag): No need to use/make a copy of the node.
23798         Causes an infinite loop.
23800 2006-04-12  Tom Tromey  <tromey@redhat.com>
23802         PR classpath/27131:
23803         * java/util/BitSet.java (get): Early return if to==from.
23805 2006-04-12  Mark Wielaard  <mark@klomp.org>
23807         * java/security/SecureRandom.java (algorithm): New private field.
23808         (SecureRandom): Initialize algorithm.
23809         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23810         constructor.
23811         (getInstance): Call 3 argument constructor.
23812         (getAlgorithm): New method.
23814 2006-04-12  Mark Wielaard  <mark@klomp.org>
23816         Port UncaughtExceptionHandler support from generics branch.
23817         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23819 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23821         * java/lang/Thread.java:
23822         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23823         Added docs and security check.
23824         (getUncaughtExceptionHandler()): Documented.
23825         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23826         Added docs and security check.
23827         (getDefaultUncaughtExceptionHandler()): Documented.
23828         (getId()): Documented.
23830 2006-04-12  Tom Tromey  <tromey@redhat.com>
23832         * vm/reference/java/lang/VMThread.java (run): Use thread's
23833         uncaught handler.
23834         * java/lang/Thread.java (defaultHandler): New field.
23835         (setDefaultUncaughtExceptionHandler,
23836         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23837         getUncaughtExceptionHandler): New methods.
23838         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23839         UncaughtExceptionHandler.
23840         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23842 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23844         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23845         buffer. Loop only once to determine Utf8 length when possible. Make
23846         the inner loop bounded by buf.length.
23847         (getUTFlength): New private method.
23848         (buf): New private field.
23850 2006-04-11  Lillian Angel  <langel@redhat.com>
23852         * gnu/xml/dom/DomNodeIterator.java
23853         (nextNode): Moved line of code to avoid an infinite loop.
23854         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23855         (getCls): New function.
23856         (setCls): Likewise.
23857         (getSrc): Likewise.
23858         (setSrc): Likewise.
23859         * gnu/xml/dom/html2/DomHTMLDocument.java:
23860         Added DomHTMLEmbedElement to map.
23861         (getApplets): Added node name, 'embed'.
23862         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23863         New class.
23864         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23865         (getJavaCode): New function.
23866         (setJavaCode): Likewise.
23867         (getObject): Likewise.
23868         (setObject): Likewise.
23869         (getJavaObject): Likewise.
23870         (setJavaObject): Likewise.
23871         (getJavaArchive): Likewise.
23872         (setJavaArchive): Likewise.
23873         (getJavaCodeBase): Likewise.
23874         (setJavaCodeBase): Likewise.
23875         (getJavaType): Likewise.
23876         (setJavaType): Likewise.
23877         (setMayscript): Likewise.
23878         (getMayscript): Likewise.
23879         (setScriptable): Likewise.
23880         (getScriptable): Likewise.
23881         * gnu/xml/dom/html2/DomHTMLParser.java
23882         (parseDocument): Should not check for well formedness
23883         when parsing an html document.
23884         * java/awt/Window.java
23885         (dispatchEvent): Added check to avoid NPE.
23887 2006-04-10  Tom Tromey  <tromey@redhat.com>
23889         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23890         name.
23891         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23892         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23894 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23896         * javax/swing/plaf/basic/BasicTextUI.java:
23897         (getNextVisualPositionFrom): Marked as stub.
23899 2006-04-10  Roman Kennke  <kennke@aicas.com>
23901         * javax/swing/plaf/basic/BasicLookAndFeel.java
23902         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23903         and create the defaults as strings constants.
23904         (loadSystemColors): Implemented stubbed method.
23906 2006-04-10  Tom Tromey  <tromey@redhat.com>
23908         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23909         ChangeLog.
23911 2006-04-10  Tom Tromey  <tromey@redhat.com>
23913         * java/io/CharArrayWriter.java (append): Javadoc fix.
23914         (append): Likewise.
23916 2006-04-10  Tom Tromey  <tromey@redhat.com>
23918         * javax/accessibility/AccessibleTextSequence.java: New file.
23919         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23920         field.
23921         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23922         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23923         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23924         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23925         * javax/accessibility/AccessibleExtendedText.java: New file.
23926         * javax/accessibility/AccessibleContext.java
23927         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23928         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23929         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23930         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23931         * javax/accessibility/AccessibleStreamable.java: New file.
23932         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23933         fix.
23935 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23937         * javax/swing/tree/AbstractLayoutCache.java 
23938         (getNodeDimensions, getRowsForPath): Implemented.
23939         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23940         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23942 2006-04-10  Roman Kennke  <kennke@aicas.com>
23944         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23946 2006-04-10  Roman Kennke  <kennke@aicas.com>
23948         * javax/swing/JInternalFrame.java
23949         (AccessibleJInternalFrame): Marked all stubbed methods as such
23950         by adding throws NotImplementedException.
23952 2006-04-10  Roman Kennke  <kennke@aicas.com>
23954         * javax/swing/JFileChooser.java
23955         (getAccessibleContext): Don't create a new instance on each
23956         call, instead store the accessible context in the
23957         accessibleContext field.
23959 2006-04-10  Roman Kennke  <kennke@aicas.com>
23961         * javax/swing/JComboBox.java
23962         (AccessibleJComboBox): Marked all stubbed methods as such
23963         by adding throws NotImplementedException.
23965 2006-04-10  Roman Kennke  <kennke@aicas.com>
23967         * javax/swing/ActionMap.java
23968         (readObject): Removed.
23969         (writeObject): Removed.
23971 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23973         * javax/swing/tree/DefaultTreeSelectionModel.java
23974         (addSelectionPaths, setSelectionPaths): Call 
23975         insureUniqueness. (clone, setRowMapper): Implemented.
23976         * TreePath (path): Marked final.
23978 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23980         * javax/swing/tree/DefaultTreeSelectionModel.java:
23981         Documented and autoformatted. (insureUniqueness):
23982         Removed stub marking.
23984 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23986         * javax/swing/SizeSequence.java
23987         (sizes): Don't initialise here,
23988         (SizeSequence(int, int)): Initialise sizes field,
23989         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23990         (setSize): Do nothing when index is out of bounds,
23991         (getIndex): Implemented,
23992         (setSizes): Reimplemented,
23993         (getSizes): Likewise,
23994         (insertEntries): Likewise,
23995         (removeEntries): Likewise,
23996         plus added API docs all over.
23998 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
24000         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
24001         one way message and retry after any IOException.
24003 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24005         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
24006         Set the byte order.
24008 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
24010         * org/omg/PortableServer/ServantLocatorPOA.java: 
24011         (preinvoke, postinvoke): Remove default implementation.
24012         * org/omg/PortableServer/ServantActivatorPOA.java: 
24013         (incarnate, etherealize): Remove default implementation.        
24014         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
24015         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
24016         (make_object): Moved method from ObjectReferenceFactoryOperations.
24017         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
24018         Removed unspecified interface.  
24019         * org/omg/DynamicAny/_DynAnyStub.java:
24020         (_DynAnyStub(Delegate)): Removed constructor.
24021         * org/omg/DynamicAny/_DynArrayStub.java,
24022         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
24023         * org/omg/DynamicAny/_DynEnumStub.java,
24024         * org/omg/DynamicAny/_DynFixedStub.java,
24025         * org/omg/DynamicAny/_DynSequenceStub.java,
24026         * org/omg/DynamicAny/_DynStructStub.java,
24027         * org/omg/DynamicAny/_DynUnionStub.java,
24028         * org/omg/DynamicAny/_DynValueStub.java: 
24029         Extend from ObjectImpl and not from _DynAnyStub.
24030         (type, next, destroy, copy, rewind, assign, component_count, 
24031         current_component, equal, from_any, get_any, get_boolean, get_char, 
24032         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
24033         get_reference, get_short, get_string, get_typecode, get_ulong, 
24034         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
24035         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
24036         insert_long, insert_longlong, insert_octet, insert_reference, 
24037         insert_short, insert_string, insert_typecode, insert_ulong, 
24038         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
24039         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
24040         * org/omg/CosNaming/_BindingIteratorStub.java:
24041         (_BindingIteratorStub(Delegate)): Made package private.
24042         * org/omg/CosNaming/_NamingContextExtStub.java:
24043         (_NamingContextExtStub(Delegate)): Made package private.
24044         * org/omg/CosNaming/_NamingContextStub.java:
24045         (_NamingContextStub(Delegate)): Made package private.
24046         (throw4, throw5): Likewise.
24047         * gnu/CORBA/NamingService/NameParser.java (resolve): 
24048         Adapt to package private constructor. Use _set_delegate instead.        
24049         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
24050         * org/omg/CORBA/ORB.java: 
24051         (create_recursive_sequence_tc): Made abstract.
24052         (get_default_context): Likewise.
24053         * gnu/CORBA/OrbRestricted.java: 
24054         (create_recursive_sequence_tc): New moved method.
24055         (get_default_context): Likewise.        
24056         * org/omg/CORBA/ParameterMode.java: 
24057         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
24059 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24061         * gnu/CORBA/GIOP/MessageHeader.java (write): 
24062         More informative exception.
24063         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
24064         * gnu/CORBA/SocketRepository.java (get_socket):
24065         Removed debugging code.
24067 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24069         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
24070         one way message, but ignore if EOF was received.
24071         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
24072         Minor.EOF if the end of file is received instead of the header.
24074 2006-04-09  Roman Kennke  <kennke@aicas.com>
24076         * javax/swing/plaf/metal/MetalRootPaneUI.java
24077         (MetalTitlePane.IconifyAction): New inner class.
24078         (MetalTitlePane.MaximizeAction): New inner class.
24079         (MetalTitlePane.createActions): Create iconifyAction and
24080         maximizeAction.
24081         (MetalRootLayout.titlePane): New field.
24082         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
24083         constructor.
24084         (MetalRootLayout.preferredLayoutSize): Changed to not make
24085         assumptions about the actual component order.
24086         (MetalRootLayout.layoutContainer): Changed to not make
24087         assumptions about the actual component order.
24088         (installWindowDecorations): Pass the titlePane as parameter to
24089         the MetalRootLayout constructor.
24090         (uninstallWindowDecorations): Changed to not make
24091         assumptions about the actual component order.
24093 2006-04-08  Roman Kennke  <kennke@aicas.com>
24095         * javax/swing/plaf/metal/MetalRootPaneUI.java
24096         (MetalTitlePane.MouseHandler): New inner class to handle dragging
24097         of frames.
24098         (MetalTitlePane.installListeners): Don't register a focus listener
24099         on the window. This is a potential memory leak and must be
24100         implemented on a different way. Install mouse listener here.
24101         (installWindowDecorations): Fixed assertion condition. Always
24102         insert the window decoration at index#1 in the layered 
24103         pane.
24105 2006-04-08  Roman Kennke  <kennke@aicas.com>
24107         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
24108         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
24109         Only resize window if actual width or height value changes.
24110         Avoids nasty flicker when only setLocation() is beeing called
24111         on a window.
24113 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24115         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
24116         exception if the magic sequence does not match.
24118 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24120         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
24121         response for the one way messages.
24123 2006-04-08  Roman Kennke  <kennke@aicas.com>
24125         * javax/swing/MenuSelectionManager.java
24126         (processKeyEvent): Implemented stub method.
24127         * javax/swing/JMenu.java
24128         (processKeyEvent): Implemented stub method.
24129         * javax/swing/JMenu.java
24130         (processKeyEvent): Implemented stub method.
24131         (processMenuKeyEvent): Implemented stub method.
24133 2006-04-08  Roman Kennke  <kennke@aicas.com>
24135         * javax/swing/AbstractAction.java
24136         (readObject): Removed unneeded method.
24137         (writeObject): Removed unneeded method.
24139 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
24141         * javax/swing/plaf/synth/SynthPainter.java: 
24142         (paintSplitPaneDividerBorder): Removed.
24144 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
24146         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
24147         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
24148         No longer constants.
24149         (static_initializer): Added to initialize above fields.
24150         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
24151         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
24152         (static_initializer): Added to initialize above fields.
24154 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
24156         * java/awt/Dialog.java: Improved documentation all over.
24157         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
24158         (Dialog(Dialog)): Likewise.
24160 2006-04-08  Mark Wielaard  <mark@klomp.org>
24162         * java/util/jar/JarFile.java (provider): New static field.
24163         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
24164         to `getInstance.'
24166 2006-04-08  Mark Wielaard  <mark@klomp.org>
24168         PR 27081
24169         * java/lang/StackTraceElement.java (toString): Don't add space
24170         between type and source indicator.
24172 2006-04-07  Casey Marshall  <csm@gnu.org>
24174         Fixes PR classpath/24464        
24175         * java/util/jar/JarFile.java (verify, verifyHashes,
24176         EntryInputStream.<init>): pass the Gnu provider directly to
24177         `getInstance.'
24179 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
24181         PR classpath/27071
24182         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
24183         (DIGEST0): Use version 3 test vector.
24184         (Sd): Removed.
24185         (S_box): New field: Version 3 S-box values.
24186         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
24187         (transform): Formating.
24188         (padBuffer): Likewise.
24189         (getResult): Likewise.
24190         (selfTest): Likewise.
24192 2006-04-07  Tom Tromey  <tromey@redhat.com>
24194         * java/util/InvalidPropertiesFormatException.java
24195         (serialVersionUID): New field.
24196         (readObject, writeObject): New methods.
24197         * java/util/Arrays.java (toString): Javadoc fixes.
24198         * java/net/URLConnection.java: Cleaned up imports.
24199         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24200         * java/lang/reflect/MalformedParameterizedTypeException.java
24201         (serialVersionUID): New field.
24202         * java/lang/reflect/GenericSignatureFormatError.java
24203         (serialVersionUID): New field.
24204         * java/lang/Class.java (Class): Javado fixes.
24205         (getComponentType): Likewise.
24206         (getGenericInterfaces): Likewise.
24207         (getTypeParameters): Likewise.
24208         * java/io/CharArrayWriter.java (append): Javadoc fixes.
24209         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
24210         New field.
24211         * java/lang/TypeNotPresentException.java (serialVersionUID): New
24212         field.
24213         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
24214         New field.
24216 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
24218         * java/awt/Dialog.java 
24219         (AccessibleAWTDialog): Added api docs
24220         (AccessibleAWTDialog.getAccessibleStateSet):
24221          Renamed from getAccessibleState.
24222         * java/awt/Frame.java 
24223         (AccessibleAWTFrame): Added api docs
24224         (AccessibleAWTFrame.getAccessibleStateSet):
24225          Renamed from getAccessibleState.
24227 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
24229         * java/awt/Dialog.java: Reformatted.
24231 2006-04-07  Lillian Angel  <langel@redhat.com>
24233         * java/awt/Component.java
24234         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
24235         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
24237 2006-04-07  Tom Tromey  <tromey@redhat.com>
24239         * java/beans/beancontext/BeanContextMembershipEvent.java
24240         (serialVersionUID): New field.
24241         * java/beans/beancontext/BeanContextServicesSupport.java
24242         (addBeanContextServicesListener): Synchronize.
24243         (addService): Implemented.
24244         (createBCSChild): Implemented.
24245         (BCSSChild): Added arguments.
24246         (fireServiceAdded): Implemented.
24247         (fireServiceRevoked): Implemented.
24248         (getCurrentServiceSelectors): Implemented.
24249         (hasService): Implemented.
24250         (removeBeanContextServicesListener): Implemented.
24251         (serviceAvailable): Implemented.
24252         (serviceRevoked): Implemented.
24253         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
24254         arguments.
24255         (createBCSChild): Implemented.
24256         (BeanContextSupport): 
24257         (addBeanContextMembershipListener): Synchronize.
24258         (fireChildrenAdded): Implemented.
24259         (fireChildrenRemoved): Implemented.
24260         (BeanContextSupport): Use default locale.
24261         (isEmpty): Implemented.
24262         (isDesignTime): Implemented.
24263         (size): Implemented.
24264         (toArray): Synchronized.
24265         (toArray): Likewise.
24266         (iterator): Likewise.
24267         (BCSIterator): Implemented.
24268         (bcsChildren): Implemented.
24269         (validatePendingAdd): Implemented.
24270         (validatePendingRemove): Likewise.
24271         (childJustAddedHook): Implemented.
24272         (childJustRemovedHook): Likewise.
24273         (classEquals): Likewise.
24274         (toArray): Mark as stub.
24275         (setDesignTime): Implemented.
24276         (copyChildren): Implemented.
24277         (containsKey): Implemented.
24278         (contains): Likewise.
24279         (containsAll): Likewise.
24280         (getResource): Implemented.
24281         (getResourceAsStream): Likewise.
24282         (removeBeanContextMembershipListener): Likewise.
24283         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
24284         (serialVersionUID): New field.
24285         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
24286         (serialVersionUID): New field.
24287         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
24288         fix.
24290 2006-04-06  Roman Kennke  <kennke@aicas.com>
24292         PR 26937
24293         * javax/swing/MenuSelectionManager.java
24294         (setSelectedPath): Search one more item in the loop.
24295         
24296 2006-04-06  Tom Tromey  <tromey@redhat.com>
24298         * java/awt/image/renderable/RenderableImageProducer.java
24299         (image, context, consumers): New fields.
24300         (RenderableImageProducer): Implemented.
24301         (setRenderContext): Likewise.
24302         (addConsumer): Likewise.
24303         (isConsumer): Likewise.
24304         (removeConsumer): Likewise.
24305         (startProduction): Likewise.
24307 2006-04-06  Roman Kennke  <kennke@aicas.com>
24309         * java/awt/Component.java
24310         (AccessibleAWTComponent.getBounds): Return the component
24311         bounds regardless of its showing state.
24312         (AccessibleAWTComponent.getLocation): Return the component
24313         location regardless of its showing state.
24314         (AccessibleAWTComponent.getSize): Return the component
24315         size regardless of its showing state.
24317 2006-04-06  Roman Kennke  <kennke@aicas.com>
24319         * javax/swing/JRootPane.java
24320         (getAccessibleContext): New method. Provides an accessibleContext
24321         for JRootPanes.
24323 2006-04-06  Roman Kennke  <kennke@aicas.com>
24325         * java/awt/Toolkit.java
24326         (initAccessibility): Use the 'gnu.classpath.home.url' property
24327         to determine the system confiuration directory.
24328         * java/awt/Component.java
24329         (dispatchEvent): Trigger Toolkit dispatching here.
24330         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
24331         so it can't be overridden by subclasses and is performed in
24332         any case.
24334 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
24335         
24336         * javax/naming/Binding.java: Added API docs.
24337         * javax/naming/NameClassPair.java: Added API docs.
24338         (fullName): New field.
24339         (setNameInNamespace): New 1.5 method.
24340         (getNameInNamespace): Likewise.
24342 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
24344         * javax/naming/CompositeName.java: 
24345         (readObject): New deserialization method.
24346         (writeObject): New serialization method.
24348 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
24350         * javax/security/auth/x500/X500Principal.java
24351         (readAttributeValue) Check for separator after quoted value was
24352         failing in all cases.
24354 2006-04-06  Mark Wielaard  <mark@klomp.org>
24356         * java/lang/Class.java (getClassLoader): Don't do security check
24357         when loader is null.
24359 2006-04-06  Roman Kennke  <kennke@aicas.com>
24361         * java/awt/Toolkit.java
24362         (getDefaultToolkit): Initialize accessibility after setting
24363         up the toolkit.
24364         (initAccessibility): New helper method to setup accessibility.
24366 2006-04-06  Roman Kennke  <kennke@aicas.com>
24368         * javax/swing/AbstractButton.java
24369         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
24370         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
24371         stub.
24372         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
24373         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
24374         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
24375         (AccessibleAbstractButton.getCharCount): Implemented stub.
24376         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
24377         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
24378         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
24379         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
24380         (AccessibleAbstractButton.getSelectedText): Implemented stub.
24381         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
24382         private method.
24384 2006-04-06  Roman Kennke  <kennke@aicas.com>
24386         * java/awt/Component.java
24387         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
24388         state here. This is only done in JComponent.
24389         * javax/swing/JComponent.java
24390         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
24391         here.
24392         (getNextFocusableComponent): Implemented stub method.
24393         (grabFocus): Implemented stub method.
24394         (unregisterKeyboardAction): Implemented stub method.
24395         (setNextFocusableComponent): Implemented stub method.
24396         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
24397         This is a helper class for providing compatibility with the older
24398         Swing focus API.
24400 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
24402         Fixes bug #26995
24403         * javax/naming/directory/BasicAttribute.java,
24404         * javax/naming/directory/BasicAttributes.java: 
24405         (readObject): New deserialization method.
24406         (writeObject): New serialization method.
24408 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
24410         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
24411         (getErrorHandler): Made method abstract.
24412         (setErrorHanlder): Likewise.
24413         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
24414         (getErrorHandler): Implement abstract method from superclass.
24415         (setErrorHandler): Likewise.
24416         (errorHandler): New field.
24417         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
24418         (getErrorHandler): Implement abstract method from superclass.
24419         (setErrorHandler): Likewise.
24420         (errorHandler): New field.      
24421         * javax/xml/XMLConstants.java: Corrected since tag.
24422         (XMLConstants): Added private constructor.
24423         * javax/xml/datatype/Duration.java: Corrected since tag.
24424         (multiply): Made method abstract.
24425         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
24426         (DatatypeConstants): Added private constructor.
24427         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
24428         (XPathConstants): Added private constructor.
24430 2006-04-05  Tom Tromey  <tromey@redhat.com>
24432         * javax/security/auth/kerberos/ServicePermission.java: Now final.
24434 2006-04-05  Tom Tromey  <tromey@redhat.com>
24436         PR libgcj/26625:
24437         * lib/Makefile.am (compile-classes): Touch the output file.
24439 2006-04-05  Roman Kennke  <kennke@aicas.com>
24441         * javax/swing/AbstractButton.java
24442         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
24443         of the focused state. This is already done in AccessibleAWTComponent.
24445 2006-04-05  Roman Kennke  <kennke@aicas.com>
24447         * javax/swing/JComponent.java
24448         (accessibleContext): Fixed API doc for this field.
24449         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
24450         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
24451         Implemented and added API docs.
24452         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
24453         Implemented and added API docs.
24454         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
24455         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
24456         Implemented and added API docs.
24457         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
24458         Implemented and added API docs.
24459         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
24460         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
24461         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
24462         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
24463         (AccessibleJComponent.getAccessibleStateSet): Simply return
24464         super here. Added comment about this.
24466 2006-04-05  Roman Kennke  <kennke@aicas.com>
24468         * javax/swing/JComponent.java
24469         (AccessibleJComponent.addPropertyChangeListener): Install
24470         ContainerHandler and FocusHandler here.
24471         (AccessibleJComponent.removePropertyChangeListener): Uninstall
24472         ContainerHandler and FocusHandler here.
24473         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
24474         by super.getAccessibleChildrenCount().
24475         (AccessibleJComponent.getAccessibleChild): Replaced
24476         by super.getAccessibleChild().
24477         (AccessibleJComponent.getAccessibleStateSet): Implemented by
24478         adding OPAQUE to the supported states.
24479         (AccessibleJComponent.getAccessibleName): Added titled border
24480         and label fallbacks.
24481         (AccessibleJComponent.getAccessibleDescription): Added tooltip
24482         and label fallbacks.
24483         (AccessibleJComponent.getAccessibleRole): Removed TODO.
24484         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
24485         explaining why return null seems correct here.
24486         * javax/swing/JLabel.java
24487         (LABEL_PROPERTY): New constant.
24488         (setLabelFor): Store label in labeled component's client properties
24489         for the AccessibleJComponent to read.
24491 2006-04-05  Tom Tromey  <tromey@redhat.com>
24493         * java/util/zip/ZipFile.java (available): Defer to super if
24494         entry's size is unknown.
24496 2006-04-05  Tom Tromey  <tromey@redhat.com>
24498         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
24499         property with mime.types name.
24500         * gnu/classpath/SystemProperties.java: Set
24501         gnu.classpath.mime.types.file if not already set.
24502         * java/net/URLConnection.java (defaultFactory): New field.
24503         (guessContentTypeFromStream): Mark as unimplemented.
24504         (getContentHandler): Updated with libgcj's implementation.
24505         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
24506         from libgcj.
24508 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
24510         PR classpath/27028
24511         PR classpath/24752
24512         * java/util/AbstractList.java (hasNext): Don't throw
24513         ConcurrentModificationException. Update Javadoc.
24514         (hasPrevious): Likewise.
24515         (nextIndex): Likewise.
24516         (previousIndex): Likewise.
24517         * java/util/HashMap.java (hasNext): Likewise.
24518         * java/util/Hashtable.java (hasNext): Likewise.
24519         * java/util/IdentityHashMap.java (hasNext): Likewise.
24520         * java/util/LinkedHashMap.java (hasNext): Likewise.
24521         * java/util/LinkedList.java (nextIndex): Likewise.
24522         (previousIndex): Likewise.
24523         (hasNext): Likewise.
24524         (hasPrevious): Likewise.
24525         * java/util/TreeMap.java (hasNext): Likewise.
24526         * java/util/WeakHashMap.java (hasNext): Likewise.
24528 2006-04-05  Roman Kennke  <kennke@aicas.com>
24530         * javax/swing/AbstractButton.java
24531         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
24532         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
24533         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
24534         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
24535         (AccessibleAbstractButton.getAccessibleActionDescription):
24536         Implemented stub.
24537         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
24538         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
24539         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
24540         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
24541         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
24542         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
24544 2006-04-05  Roman Kennke  <kennke@aicas.com>
24546         * javax/swing/JComboBox.java
24547         (selectWithKeyChar): Implemented stubbed method.
24549 2006-04-05  Roman Kennke  <kennke@aicas.com>
24551         * javax/swing/LookAndFeel.java
24552         (installProperty): New method. Allows primitive typed properties
24553         to be handled like UIResources.
24554         * javax/swing/AbstractButton.java
24555         (clientBorderPaintedSet): New field.
24556         (clientRolloverEnabledSet): New field.
24557         (clientIconTextGapSet): New field.
24558         (clientContentAreaFilledSet): New field.
24559         (setRolloverEnabled): Set the client field to true.
24560         (setBorderPainted): Likewise.
24561         (setIconTextGap): Likewise.
24562         (setContentAreaFilled): Likewise.
24563         (setUIProperty): New helper method.
24564         * javax/swing/JComponent.java
24565         (clientOpaqueSet): New field.
24566         (clientAutoscrollsSet): New field.
24567         (setAutoscrolls): Set the client field to true.
24568         (setOpaque): Likewise.
24569         (setUIProperty): New helper method.
24570         * javax/swing/JDesktopPane.java
24571         (clientDragModeSet): New field.
24572         (setDragMode): Set the client field to true.
24573         (setUIProperty): New helper method.
24574         * javax/swing/JSplitPane.java
24575         (clientDividerSizeSet): New field.
24576         (clientOneTouchExpandableSet): New field.
24577         (setDividerSize): Set the client field to true.
24578         (setOneTouchExpandable): Likewise.
24579         (setUIProperty): New helper method.
24580         * javax/swing/JTable.java
24581         (clientRowHeightSet): New field.
24582         (setRowHeight): Set the client field to true.
24583         (setUIProperty): New helper method.
24584         * javax/swing/JTree.java
24585         (clientRowHeightSet): New field.
24586         (clientScrollsOnExpandSet): New field.
24587         (clientShowsRootHandlesSet): New field.
24588         (setRowHeight): Set the client field to true.
24589         (setShowsRootHandles): Likewise.
24590         (setScrollsOnExpand): Likewise.
24591         (setUIProperty): New helper method.
24593 2006-04-05  Roman Kennke  <kennke@aicas.com>
24595         * java/awt/Component.java
24596         (getFont): Don't request the font from the peer's graphics. The
24597         graphics should instead get the font from the Component, which might
24598         result in a loop.
24599         (getFocusCycleAncestor): Don't special case Window.
24600         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
24601         to here. Correctly determine the focus cycle root.
24602         (transferFocusBackward): Likewise.
24603         (transferFocusUpCycle): Likewise.
24604         * java/awt/Container.java
24605         (transferFocusDownCycle): Moved implementation from
24606         DefaultKeyboardFocusManager to here.
24607         * java/awt/DefaultKeyboardFocusManager.java
24608         (focusPreviousComponent): Moved implementation to
24609         Component.transferFocusBackward().
24610         (focusNextComponent): Moved implementation to
24611         Component.nextFocus().
24612         (upFocusCycle): Moved implementation to
24613         Component.transferFocusUpCycle().
24614         (downFocusCycle): Moved implementation to
24615         Container.transferFocusDownCycle().
24617 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24619         * java/awt/image/ComponentSampleModel.java
24620         (equals): Implemented,
24621         (hashCode): Likewise.
24623 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
24625         * java/lang/Class.java
24626         (cast): New method.
24628 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24630         * java/awt/image/ComponentSampleModel.java
24631         (getBankIndices): Return a copy of the array, not a reference to the
24632         original,
24633         (getBandOffsets): Likewise.
24635 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24637         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24639 2006-04-04  Tom Tromey  <tromey@redhat.com>
24641         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24643 2006-04-04  Tom Tromey  <tromey@redhat.com>
24645         * java/net/MimeTypeMapper.java (mime_types): No longer static.
24646         (MimeTypeMapper): Initialize.
24647         (fillFromFile): New method.
24648         (main): New method.
24649         (mime_strings): Updated.
24651 2006-04-04  Tom Tromey  <tromey@redhat.com>
24653         * lib/gen-classlist.sh.in: Correct handle generated files.
24655 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24657         * gnu/regexp/CharIndexed.java(setAnchor): New method.
24658         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24659         * gnu/regexp/CharIndexedCharSequence.java: New file.
24660         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24661         gnu.regexp.CharIndexedCharSequence.
24662         * gnu/regexp/CharIndexedString.java: Likewise.
24663         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24664         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24665         using CharIndexedCharSequence. Use setAnchor when the input
24666         object is already a CharIndexed.
24667         * java/util/regex/Matcher.java(inputCharIndexed): New field
24668         to be used as a parameter of the RE#getMatch.
24670 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24672         * java/awt/image/SampleModel.java: Reformatted.
24674 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24676         * java/awt/image/ComponentSampleModel.java
24677         (ComponentSampleModel(int, int, int, int, int[])): Added API 
24678         documentation,
24679         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
24680         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24681         of the bandOffsets and bankIndices arguments, added API documentation,
24682         * java/awt/image/SampleModel.java
24683         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24684         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24685         less than or equal to zero, added API documentation.
24687 2006-04-04  Lillian Angel  <langel@redhat.com>
24689         * java/util/zip/ZipFile.java
24690         (getInputStream): Fixed to return size of ZipEntry
24691         minus the total bytes read. This guarantees that the 
24692         right value is returned even if some bytes have already
24693         been read.
24695 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
24697         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24698         Remove static modifier.
24700 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24702         * java/awt/image/ComponentSampleModel.java: Reformatted.
24704 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24706         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24707         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24708         retrieval instructions to javadoc header.
24709         * javax/imageio/ImageWriteParam.java: Fix javadoc for
24710         compressionType field.
24711         * lib/Makefile.am (propertydirs): Add javax directory.
24712         (propertyfiles): Likewise.
24713         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24714         New file.
24716 2006-04-03  Tom Tromey  <tromey@redhat.com>
24718         PR classpath/26971:
24719         * javax/naming/directory/BasicAttribute.java: Added missing @since.
24720         (BasicAttributeEnumeration.where): Initialize to 0.
24721         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24723 2006-04-03  Lillian Angel  <langel@redhat.com>
24725         PR classpath/24596 and PR classpath/26930
24726         * java/util/zip/ZipFile.java
24727         (getInputStream): Override available function for 
24728         InflaterInputStream instance.
24730 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24732         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24734 2006-04-03  Tom Tromey  <tromey@redhat.com>
24736         * javax/security/auth/kerberos/ServicePermission.java: New file.
24737         * javax/security/auth/kerberos/DelegationPermission.java: New file.
24738         * javax/security/auth/kerberos/KerberosKey.java: New file.
24739         * javax/security/auth/kerberos/KeyImpl.java: New file.
24740         * javax/security/auth/kerberos/KerberosTicket.java: New file.
24741         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24743 2006-04-03  Sven de Marothy  <sven@physto.se>
24745         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24746         non-GtkImage images.
24748 2006-04-03  Mark Wielaard  <mark@klomp.org>
24750         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24751         as temporary file name.
24753 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24755         * INSTALL: Documented --with-glibj-zip option.
24757 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24759         Fixed all pscan warnings.
24761         * native/jni/classpath/jcl.c (JCL_ThrowException),
24762         native/jni/classpath/jcl.h (DBG),
24763         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24764         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24765         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24766         string to prevent format string exploits.
24767         
24768         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24769         definition. Included jcl.h instead.
24771 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24773         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24774         (provider): Made it protected.
24775         (providerInstalled): New field.
24776         (Main): Made it a 0-arguments constructor.
24777         Removed throws clasue.
24778         (main): Removed throws clause.
24779         Call processArgs(args) after constructing instance.
24780         Call teardown() before existing.
24781         (processArgs): Added javadoc.
24782         Reduced to throws Exception.
24783         (start): Likewise.
24784         (teardown): New method.
24785         (setupCommonParams): Added javadoc.
24786         Install designated provider if not already installed.
24787         (installNewProvider): New method.
24788         (setupSigningParams): Added javadoc.
24789         Instantiate the KeyStore using type only.
24790         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24791         Removed unused imports.
24792         (start): Reduced to throws Exception.
24793         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24794         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24795         Re-organized imports.
24796         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24797         Test ignoring case.
24798         (getNames): Add "dsa" as an algorithm provided by this Factory.
24799         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24801 2006-04-03  Roman Kennke  <kennke@aicas.com>
24803         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24804         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24805         Replaced g_free() with pango_item_free() to avoid problems
24806         with the allocator.
24808 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24810         Fixes bug #26668
24811         * java/util/logging/Level.java (parse): Document.
24812         * java/util/logging/LogManager.java (rootLogger): Removed.
24813         (LogManager): Just set loggers to new HashMap.
24814         (getLogManager): Make synchronized. Create and init LogManager if it
24815         doesn't exist yet.
24816         (static): Removed block.
24817         (MANAGER_PROPERTY): New private final string.
24818         (makeLogManager): Use new property string, move warning to
24819         createInstance() method.
24820         (CONFIG_PROPERTY): New private final string.
24821         (initLogManager): New method.
24822         (addLogger): Use Logger.root, not rootLogger.
24823         (findAncestor): Likewise.
24824         (readConfiguration): Move warning to createInstance() method.
24825         Add handlers directly to Logger.root. Warn about bad level values.
24826         (getClassProperty): Use new locateClass() method.
24827         (getInstanceProperty): Only catch specific newInstance Errors.
24828         (createInstance): Make private and takes a string to use in warning
24829         messages. Use new locateClass() method and generate appropriate
24830         warning message.
24831         (warn): New methods.
24832         (locateClass): Locates a class through the context class loader and
24833         system class loader as backup.
24834         * java/util/logging/Logger.java (root): New static final field.
24835         (Logger): Set parent to root.
24836         (setParent): Directly check root field.
24838 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24840         * java/util/Collections.java:
24841         (binarySearch(List, T)): Fixed signature.
24842         (unmodifiableList(List)): Likewise.
24843         (UnmodifiableList(List)): Fixed constructor.
24844         (UnmodifiableRandomAccessList(List)): Likewise.
24845         (unmodifiableMap(Map)): Fixed signature.
24846         (UnmodifiableMap(Map)): Fixed constructor.
24847         (unmodifiableSortedMap(Map)): Fixed signature.
24848         (UnmodifiableSortedMap(Map)): Fixed constructor.
24849         
24850 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24852         * java/io/ObjectOutputStream.java:
24853         (writeObject(Object)): Added enum support.
24854         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24855         * java/io/ObjectStreamClass.java:
24856         (isEnum()): New package-private method.
24857         (setFlags(Class)): Added enum support.
24858         * java/io/ObjectStreamConstants.java:
24859         (SC_ENUM): Added.
24860         
24861 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24863         * javax/swing/text/Segment.java:
24864         (setPosition): Make exception message more verbose.
24865         * javax/swing/text/WrappedPlainView.java:
24866         (insertUpdate): Removed unneeded repaint call.
24867         (changeUpdate): Dito.
24868         (removeUpdate): Dito.
24869         (WrappedLine.determineNumLines): Do not return numLines, break
24870         from loop if no new break point has been calculated.
24871         (WrappedLine.updateDamage): Rewritten.
24872         (WrappedLine.insertUpdate): Removed unneeded update code.
24873         (WrappedLine.removeUpdate): Removed unneeded update code, added
24874         comment.        
24876 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24878         * configure.ac (with-glibj-zip): Added new option.
24880         * examples/Makefile.am,
24881         lib/Makefile.am,
24882         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24883         in addition to classes in lib directory.
24885 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24887         * tools/gnu/classpath/tools/giop/GRMIC.java,
24888         tools/gnu/classpath/tools/giop/IorParser.java,
24889         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24890         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24891         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24892         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24893         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24894         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24895         tools/gnu/classpath/tools/rmi/RMIC.java,
24896         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24897         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24898         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24899         linking exception from the licensing header.
24900         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24901         Added licensing header.
24903 2006-04-02  Mark Wielaard  <mark@klomp.org>
24905         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24906         (jarsigner): Removed.
24908 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24910         * configure.ac: don't check for isnan function.
24911         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24913 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24915         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24916         * tools/Makefile.am: Generate jarsigner shell script.
24917         * tools/jarsigner.sh.in: New template.
24918         * tools/.cvsignore: Added jarsigner.sh.
24920 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24922         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24923         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24924         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24925         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24926         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24927         Re-organised imports.
24929 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24931         PR classpath/25924:
24932         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24933         Handle case where alpha==0.
24935 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24937         PR #26676
24938         * javax/swing/text/Utilities.java:
24939         (getTabbedTextOffset): Added check to decrement pos not below zero,
24940         changed '>' comparison to '>='.
24941         * javax/swing/text/WrappedPlainView.java:
24942         (lineHeight): New field.
24943         (calculateBreakPosition): Throw InternalError in catch block, removed
24944         unneeded brackets, use specific version of
24945         Utilities.getTabbedTextOffset.
24946         (paint): Set various properties neccessary for drawing.
24947         (WrappedLine.paint): Removed code to set field of outer class.
24948         (WrappedLine.modelToView): Removed unneeded expression from
24949         if-statement.
24950         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24951         -1 from return statement, copy only a subset into the Segment, removed
24952         special handling of mark value - just return it, simplified
24953         incrementation of currLineStart.
24954         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24955         change to parent view.
24956         (WrappedLine.removeUpdate): Dito.
24958 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24960         * javax/swing/text/Segment.java:
24961         (toString): Return empty string when array is null.
24963 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24965         * javax/swing/plaf/basic/BasicTextUI.java:
24966         (damageRange): Use SwingUtilities.computeUnion to avoid
24967         unneccessary Rectangle instantiation.
24969 2006-04-01  Tom Tromey  <tromey@redhat.com>
24971         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24973 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24975         * javax/swing/text/CompositeView.java: Fixed copyright header.
24976         * javax/swing/text/BoxView.java: Fixed copyright header.
24977         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24978         * javax/swing/text/Utilities.java: Fixed copyright header.
24980 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24982         * javax/swing/text/CompositeView.java:
24983         (modelToView): Throw BadLocationException when no child
24984         view can be found, restructed to throw exception as early
24985         as possible.
24986         (viewToModel): Use mutable allocation as argument for viewToModel
24987         call on child view.
24988         * javax/swing/text/BoxView.java:
24989         (getViewAtPoint): Call setBounds() r before method returns with
24990         suitable child view.
24991         * javax/swing/text/Utilities.java:
24992         (getPositionBelow): Added try-catch-block around modelToView call,
24993         added method return when BadLocationException was thrown.
24994         * javax/swing/text/WrappedPlainView.java:
24995         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24996         added note about meaning of rect.x and rect.width, removed unneeded
24997         checks, added code to not return the last possible document offset.
24999 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
25001         * javax/swing/text/WrappedPlainView.java:
25002         (WrappedLine.viewToModel): Change < to <= in if-statement,
25003         removed addition of currLineStart to return value.
25004         * javax/swing/text/BoxView.java:
25005         (getViewAtPoint): Use copy instead of r for method call
25006         which modifies the second argument.
25008 2006-04-01  Mark Wielaard  <mark@klomp.org>
25010         Fixes PR26973
25011         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
25013 2006-03-31  Tom Tromey  <tromey@redhat.com>
25015         * lib/split-for-gcj.sh: Updated for multi-field format.
25016         * lib/Makefile.am (CLEANFILES): Added classes.2.
25017         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
25018         classes.2 using multiple fields.
25020 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25022         * javax/swing/JTable.java (columnSelectionChanged):
25023         Removed print statement.
25024         * javax/swing/DefaultListSelectionModel.java
25025         (addSelectionInterval, removeSelectionInterval):
25026         Fire the difference between selection. (setLeadSelectionIndex):
25027         Fire the difference and mark current and previous lead
25028         selection indexes for repaint.
25030 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
25032         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
25033         unnecessary copying.
25034         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
25036 2006-03-31  Lillian Angel  <langel@redhat.com>
25038         * java/awt/Component.java
25039         (translateEvent): oldKey should be the value of the
25040         key char.
25042 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25044         * javax/swing/JTable.java (columnSelectionChanged):
25045         Treat second repaint parameter as width.
25047 2006-03-31  Lillian Angel  <langel@redhat.com>
25048         
25049         PR classpath/26924
25050         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
25051         (realize): New native function.
25052         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
25053         Added new function declaration.
25054         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
25055         (realize): New function.
25057 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
25058         
25059         * javax/swing/text/GapContent.java:
25060         (replace): Move all Position instances from gap's end to
25061         it's start before increasing the gap start.
25062         * javax/swing/plaf/basic/BasicTextAreaUI.java:
25063         (propertyChanged): Update the view only instead of
25064         indicating a document change.
25066 2006-03-31  Roman Kennke  <kennke@aicas.com>
25068         * javax/swing/JTextField.java
25069         (fireActionPerformed): Put the textfields text in the action
25070         instead of the action name.
25072 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
25074         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
25075         Check for null jar-file argument.
25076         (setupSigningParams): Check for null alias argument.
25078 2006-03-31  Roman Kennke  <kennke@aicas.com>
25080         * javax/swing/JComponent.java
25081         (paintChildren): Split up in two cases, depending on the
25082         optimizedDrawingEnabled flag.
25083         (paintChildrenWithOverlap): New method. Paints children when
25084         not optimizedDrawingEnabled. This implements better painting
25085         algorithm for overlapping components, so that the painted
25086         regions are minimized.
25087         (paintChildrenOptimized): New method. Paints children when
25088         when optimizedDrawingEnabled. This implements a painting
25089         algorithm that is optimized for the case when all children
25090         are guaranteed to be tiled.
25092 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
25094         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
25095         Attributes.putValue(String,String).
25096         (finishSigning): Likewise.
25097         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
25098         (SIGNATURE_VERSION): Likewise.
25099         (readSFManifest): Use local string constant.
25100         (readMainSection): Likewise.
25101         (readVersionInfo): Likewise.
25102         * java/util/jar/Attributes.java (MANIFEST_VERSION):
25103         Redefined using JarUtils constant.
25104         (SIGNATURE_VERSION): Likewise.
25105         (putValue(Name,String)): Made it private.
25107 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25109         * javax/swing/DefaultListSelectionModel.java (fireDifference):
25110         New method. (clearSelection): Rewritten. (setSelectionInterval):
25111         Fire the difference between current and new selection.
25112         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
25113         Only repaint the region, where selection has been changed.
25114         * javax/swing/plaf/basic/BasicTableUI.java 
25115         (TableAction.actionPerformed): Do not change the column selection
25116         when only row selection change is wanted (and in reverse) and 
25117         do not call the repaint() here.
25119 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
25121         Fixes bug #26951
25122         * javax/swing/DefaultComboBoxModel.java
25123         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
25124         vector.size(),
25125         (addElement): Call list.addElement() rather than list.add(), and only
25126         update selected item if it is currently null,
25127         (removeElementAt): Update selected item, then remove the element.
25129 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
25131         Fixes bug #26955
25132         * java/awt/geom/Point2D.java
25133         (distanceSq(double, double)): Fixed order of arguments,
25134         (distanceSq(Point2D)): Likewise,
25135         (distance(double, double)): Likewise,
25136         (distance(Point2D)): Likewise.
25138 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
25140         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
25141         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
25142         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
25143         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
25144         DCLuminanceLengths, DCLuminanceValues): Remove fields.
25146 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25148         * javax.swing.JTable (constructor): Initialize column
25149         model column margin and table row margin before setting the
25150         table column model. (initialiseLocalVars): Do not call 
25151         setIntercellSpacing.
25153 2006-03-30  Chris Burdess  <dog@gnu.org>
25155         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
25156           method signature.
25157         * javax/xml/validation/SchemaFactoryLoader.java: New file.
25159 2006-03-30  Mark Wielaard  <mark@klomp.org>
25161         PR 26848
25162         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
25163         adjust bounds. On resize invalidate and validate container.
25164         Always pass on ComponentEvents to Container super class.
25165         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
25166         menuBar and pass to GtkWindowPeer super class.
25167         (postConfigureEvent): Adjust menu bar width. Adjust y and height
25168         bounds and pass to GtkWindowPeer super class.
25169         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
25170         New fields for local bounds.
25171         (getX, getY): New methods.
25172         (getWidth): Don't call into awtComponent.
25173         (getHeight): Likewise.
25174         (create): Cache local bounds.
25175         (setLocation): Documented, made protected and just call
25176         nativeSetLocation.
25177         (setLocationUnlocked): Removed unused method.
25178         (setBoundsUnlocked): Likewise.
25179         (setBounds): Check whether bounds actually changed and cache local
25180         bounds.
25181         (setSize): Documented and made protected.
25182         (setResizable): Documented and cache local bounds.
25183         (postConfigureEvent): Update local bounds. Don't call awtComponent
25184         directly but post ComponentEvents.
25185         (show): Cache local bounds.
25186         (getBounds): Override to return cached bounds.
25188 2006-03-30  Lillian Angel  <langel@redhat.com>
25190         * gnu/java/awt/peer/gtk/GdkGraphics.java
25191         (drawImage): Added check to prevent NPE.
25192         (drawImage): Likewise.
25193         (drawImage): Likewise.
25194         * java/awt/Choice.java
25195         (dispatchEventImpl): New function. selectedIndex was
25196         not being updated properly otherwise.
25198 2006-03-30  Roman Kennke  <kennke@aicas.com>
25200         * javax/swing/JTabbedPane.java
25201         (removeTabAt): Removed debug code.
25203 2006-03-30  Roman Kennke  <kennke@aicas.com>
25205         PR 26045
25206         * javax/swing/plaf/basic/BasicTextUI.java
25207         (installKeyboardActions): Simply call getKeymap() and install this.
25208         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
25210 2006-03-30  Roman Kennke  <kennke@aicas.com>
25212         * javax/swing/JTabbedPane.java
25213         (removeTabAt): Adjust selection correctly when removing a tab
25214         before the selected tab. Also remove the component from the
25215         container, not only the tab object. Repaint and revalidate the
25216         component after the removal.
25217         (removeAll): Set selection to -1 before removing the tabs.
25219 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25221         * java/io/ObjectInputStream.java:
25222         (parseContent(byte)): Added enum support.
25223         * java/io/ObjectStreamConstants.java:
25224         (TC_ENUM): Added.
25225         (TC_MAX): Changed to new maximum, TC_ENUM.
25226         
25227 2006-03-29  Lillian Angel  <langel@redhat.com>
25229         Partial fix for bug #26929
25230         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
25231         (updateComponent): Removed. We want to clear the panel
25232         before painting.
25233         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
25234         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
25235         Should set the background to the saved background color.
25237 2006-03-29  Mark Wielaard  <mark@klomp.org>
25239         Partial fix for bug #26848 (pack).
25240         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
25241         Always show instances of Window.
25243 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
25245         * javax/swing/JSlider.java
25246         (setPaintLabels): Only create standard labels if labelTable is null,
25247         * javax/swing/plaf/basic/BasicSliderUI.java
25248         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
25249         "paintTicks" property change,
25250         (calculateThumbSize): Updated API docs,
25251         (calculateContentRect): Likewise,
25252         (calculateTrackBuffer): Take into account the lowest and highest 
25253         labels when calculating buffer space,
25254         (calculateTrackRect): Include labels, if visible, in the calculation of
25255         the trackRect position,
25256         (calculateTickRect): Height is zero if ticks are not painted,
25257         (calculateLabelRect): Use max dimensions of actual labels,
25258         (getWidthOfHighValueLabel): Use preferred size,
25259         (getWidthOfLowValueLabel): Likewise,
25260         (getHeightOfHighValueLabel): Likewise,
25261         (getHeightOfLowValueLabel): Likewise,
25262         (drawInverted): Just return slider setting,
25263         (getHighestValueLabel): Updated API docs,
25264         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
25265         to xPositionForValue() and yPositionForValue(),
25266         (paintHorizontalLabel): Removed full qualification of class name,
25267         (paintVerticalLabel): Likewise,
25268         (xPositionForValue): Reimplemented,
25269         (yPositionForValue): Reimplemented,
25270         * javax/swing/plaf/metal/MetalSliderUI.java
25271         (paintTrack): Made track one pixel longer.
25273 2006-03-29  Tom Tromey  <tromey@redhat.com>
25275         PR gcc/26901:
25276         * tools/Makefile.am (JCOMPILER): Added encoding options.
25277         * examples/Makefile.am (JCOMPILER): Added encoding options.
25279 2006-03-29  Gary Benson  <gbenson@redhat.com>
25281         Partial fix for PR classpath/24895
25282         * java/io/FilePermission.java (implies): Canonicalize paths.
25284 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
25286         PR 26888
25287         * javax/swing/text/GapContent.java:
25288         (replace): Added call to resetMarksAtZero.
25290 2006-03-29  Roman Kennke  <kennke@aicas.com>
25292         PR 23527
25293         * javax/swing/plaf/basic/BasicMenuItemUI.java
25294         (cachedRect): New field.
25295         (BasicMenuItemUI): Initialize cachedRect field.
25296         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
25297         to determine layout. Store maximum accelerator and text width
25298         in client properties of parent to allow correct alignment
25299         of accelerators among menu items of one menu.
25300         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
25301         method. Align accelerators according to the values calculated
25302         in getPreferredMenuItemSize.
25303         (getAcceleratorString) New helper method.
25304         (layoutMenuItem): New helper method.
25306 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25308         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
25309         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
25310         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
25311         Avoid NPEs.
25312         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
25313         readExternal, writeExternal): New methods.
25314         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
25315         two stages, invokeCommon(Remote, ...) and 
25316         invokeCommen(UnicastConnection, ...).
25317         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
25318         also the ActivatableRef. toString(): Documented.
25319         * gnu/java/rmi/server/ActivatableRef.java,
25320         tools/gnu/classpath/tools/rmi/Persistent.java,
25321         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
25322         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
25323         tools/gnu/classpath/tools/rmi/REGISTRY.java,
25324         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
25325         tools/gnu/classpath/tools/rmi/RMID.java,
25326         tools/gnu/classpath/tools/rmi/RMID.txt,
25327         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
25328         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
25329         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
25330         tools/gnu/classpath/tools/rmi/registry/package.html,
25331         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
25332         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
25333         New files.
25334         * tools/README: Documented.
25335         * NEWS: Added entry about the activation.
25337 2006-03-29  Roman Kennke  <kennke@aicas.com>
25339         PR 23527
25340         * javax/swing/plaf/basic/BasicMenuItemUI.java
25341         (viewRect): New field.
25342         (textRect): New field.
25343         (accelRect): New field.
25344         (iconRect): New field.
25345         (arrowIconRect): New field.
25346         (checkIconRect): New field.
25347         (BasicMenuItemUI): Initialize new fields.
25348         (paintMenuItem): Rewritten to correctly layout and paint
25349         the menu item in a more straightforward way. Use cached rectangle
25350         objects for layout.
25351         (paintAccelerator): Pulled inside the paintMenuItem method.
25353 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25355         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
25356         Do not use initCause with UnexpectedException.
25357         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
25358         Likewise. 
25360 2006-03-29  Mark Wielaard  <mark@klomp.org>
25362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25363         (setCursorID): Removed unused static variable.
25365 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
25367         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
25369 2006-03-29  Mark Wielaard  <mark@klomp.org>
25371         Fixes bug #26527
25372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25373         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
25375 2006-03-28  Roman Kennke  <kennke@aicas.com>
25377         * javax/swing/UIManager.java
25378         (installLookAndFeel): Implemented.
25379         (setInstalledLookAndFeels): Implemented.
25381 2006-03-28  Roman Kennke  <kennke@aicas.com>
25383         * javax/swing/plaf/metal/MetalButtonUI.java
25384         (update): Paint gradient only when the background color
25385         is not a UIResource and if the button is neither armed nor
25386         pressed and if the button is contentAreaFilled.
25388 2006-03-28  Roman Kennke  <kennke@aicas.com>
25390         * javax/swing/JLayeredPane.java
25391         (addImpl): Repaint added component.
25393 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25395         * java/util/regex/Matcher.java: Reverted.
25397 2006-03-28  Roman Kennke  <kennke@aicas.com>
25399         * javax/swing/text/AsyncBoxView.java
25400         (setEstimatedMajorSpan): Made method protected.
25401         (getEstimatedMajorSpan): Made method protected.
25402         * javax/swing/text/BoxView.java
25403         (flipEastAndWestAtEnds): Fixed typo.
25404         * javax/swing/text/InternationalFormatter.java
25405         (getActions): Made method protected.
25406         * javax/swing/text/Position.java
25407         (Bias): Made class final.
25408         * javax/swing/text/html/HTML.java
25409         (MEDIA): Made field package private. Not specified.
25410         (NOBR): Made field package private. Not specified.
25411         * javax/swing/text/html/NullView.java
25412         Made class package private.
25413         * javax/swing/text/html/parser/Entity.java
25414         Made class non-serializable as specified.
25416 2006-03-28  Roman Kennke  <kennke@aicas.com>
25418         * javax/swing/plaf/metal/MetalButtonUI.java
25419         (update): Don't paint gradient if the background color is
25420         no UIResource. Removed double getModel() call. Don't check for
25421         OceanTheme.
25423 2006-03-28  Roman Kennke  <kennke@aicas.com>
25425         * javax/swing/plaf/basic/BasicMenuItemUI.java
25426         (paint): Call paintMenuItem with the selectionBackground as
25427         parameter.
25428         (paintBackground): Fixed the condition and color for the background
25429         painting.
25431 2006-03-28  Roman Kennke  <kennke@aicas.com>
25433         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25434         (tabsOpaque): New field.
25435         (paintLeftTabBorder): Paint some parts only when the tabs are
25436         opaque. Determine the tab background using the paintLeftTabBorder()
25437         helper method.
25438         (paintRightTabBorder): Likewise.
25439         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
25441 2006-03-27  Tom Tromey  <tromey@redhat.com>
25443         PR classpath/25189:
25444         * java/lang/Enum.java (valueOf): Ensure that the named field
25445         is an enum constant.
25446         (compareTo): Check class of enum.
25448 2006-03-27  Tom Tromey  <tromey@redhat.com>
25450         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
25452 2006-03-27  Tom Tromey  <tromey@redhat.com>
25454         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
25455         New constant.
25456         (getModifiersInternal): Renamed from getModifiers.
25457         (getModifiers): New method.
25458         (isBridge): Likewise.
25459         (isSynthetic): Likewise.
25460         (isVarArgs): Likewise.
25461         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
25462         New constant.
25463         (getModifiersInternal): Renamed from getModifiers.
25464         (getModifiers): New method.
25465         (isSynthetic): Likewise.
25466         (isEnumConstant): Likewise.
25467         * vm/reference/java/lang/reflect/Constructor.java
25468         (getModifiersInternal): Renamed from getModifiers.
25469         (getModifiers): New method
25470         (CONSTRUCTOR_MODIFIERS): New constant.
25471         (isSynthetic): New method.
25472         (isVarArgs): Likewise.
25473         * java/lang/reflect/Member.java (isSynthetic): New method.
25475 2006-03-28  Tom Tromey  <tromey@redhat.com>
25477         * java/net/Proxy.java (TYPE): Added missing ";".
25479 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25481         * java/math/RoundingMode.java:
25482         Fixed serialization UID.
25483         * java/net/Proxy.java:
25484         (Type): Likewise.
25485         
25486 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25488         * java/io/CharArrayWriter.java:
25489         (append(char)): Documented.
25490         (append(CharSequence)): Likewise.
25491         (append(CharSequence,int,int)): Likewise.
25492         
25493 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
25495         * vm/reference/java/lang/reflect/Constructor.java
25496         (getTypeParameters): Check return value of getSignature for null.
25497         * vm/reference/java/lang/reflect/Method.java
25498         (getTypeParameters): Check return value of getSignature for null.
25500 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25502         * java/rmi/activation/ActivationGroup_Stub.java:
25503         Made final.
25504         
25505 2006-03-27  Tom Tromey  <tromey@redhat.com>
25506        
25507         * java/io/CharArrayWriter.java (append): New overloads.
25508         
25509 2006-03-27  Lillian Angel  <langel@redhat.com>
25511         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
25512         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
25513         Added check for colormap. Prevents assertion error.
25514         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
25515         Likewise.
25516         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
25517         Likewise.
25518         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
25519         Likewise.
25520         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
25521         Likewise.
25522         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
25523         Likewise.
25525 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
25527         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
25528         AC_MSG_ERROR instead of echoing the error message 
25529         that no compiler has been found manually.
25531 2006-03-27  Roman Kennke  <kennke@aicas.com>
25533         * javax/swing/RepaintManager.java
25534         (commitBuffer): Use simple drawImage() method instead of the
25535         scaling version.
25537 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
25539         * javax/swing/text/PlainView.java:
25540         (drawLine): Use 'endOffset' instead of 'selectionEnd'
25541         for painting the selected line.
25543 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
25545         * javax/swing/plaf/basic/BasicSliderUI.java
25546         (getThumbSize): Removed TODO and updated API docs.
25548 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
25550         * javax/swing/text/DefaultCaret.java:
25551         (mouseClicked): Word selection rewritten.
25552         (paint): Draw line inside the bounding rectangle.
25553         (damage): Retrieve caret height from line height.
25555 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
25557         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
25558         for null args.
25559         Check for -help option.
25560         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
25562 2006-03-27  Roman Kennke  <kennke@aicas.com>
25564         * javax/swing/text/FieldView.java
25565         (getPreferredSpan): Don't include trailing newline in
25566         calculations.
25567         * javax/swing/text/PlainView.java
25568         (drawLine): Don't include trailing newline.
25569         (determineMaxLineLength): Don't include trailing newline.
25570         (getLineBuffer): Made method final.
25572 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
25574         * javax/swing/JSlider.java
25575         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
25576         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
25577         NotImplementedException,
25578         (AccessibleJSlider.getAccessibleValue): Updated API docs.
25580 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25582         * java/lang/ProcessBuilder.java:
25583         Made final.
25585 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25587         * gnu/java/net/protocol/http/Headers.java:
25588         Match layout of file on HEAD.
25589         * gnu/javax/swing/text/html/parser/htmlValidator.java:
25590         Likewise.
25591         * java/awt/datatransfer/DataFlavor.java
25592         Likewise.
25594 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25596         * gnu/java/security/jce/hash/HavalSpi.java,
25597         * gnu/java/security/jce/hash/MD2Spi.java,
25598         * gnu/java/security/jce/hash/MD4Spi.java,
25599         * gnu/java/security/jce/hash/MD5Spi.java,
25600         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
25601         * gnu/java/security/jce/hash/RipeMD128Spi.java,
25602         * gnu/java/security/jce/hash/RipeMD160Spi.java,
25603         * gnu/java/security/jce/hash/Sha160Spi.java,
25604         * gnu/java/security/jce/hash/Sha256Spi.java,
25605         * gnu/java/security/jce/hash/Sha384Spi.java,
25606         * gnu/java/security/jce/hash/Sha512Spi.java,
25607         * gnu/java/security/jce/hash/TigerSpi.java,
25608         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25609         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25610         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25611         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25612         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25613         * gnu/java/security/jce/sig/SignatureAdapter.java,
25614         * gnu/java/security/key/IKeyPairCodec.java,
25615         * gnu/java/security/key/IKeyPairGenerator.java,
25616         * gnu/java/security/key/KeyPairGeneratorFactory.java,
25617         * gnu/java/security/key/dss/DSSKey.java,
25618         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25619         * gnu/java/security/key/dss/DSSPrivateKey.java,
25620         * gnu/java/security/key/dss/DSSPublicKey.java,
25621         * gnu/java/security/key/dss/FIPS186.java,
25622         * gnu/java/security/key/rsa/GnuRSAKey.java,
25623         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25624         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25625         * gnu/java/security/sig/ISignature.java,
25626         * gnu/java/security/sig/ISignatureCodec.java,
25627         * gnu/java/security/sig/dss/DSSSignature.java,
25628         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25629         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25630         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25631         * gnu/java/security/util/Util.java:
25632         Remove CVS revision tags.
25634 2006-03-26  Tom Tromey  <tromey@redhat.com>
25636         * java/io/InputStream.java (InputStream): Implements Closeable.
25637         
25638 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25640         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25641         New methods.
25642         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25643         getAnchor): New methods.
25644         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25645         getAnchor): New methods.
25646         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25647         getAnchor): New methods.
25648         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25649         getAnchor): New methods.
25650         * gnu/regexp/REMatch.java(start1): New field.
25651         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25652         (match): set the starting position to start1[] instead of start[],
25653         (getMatchImpl): Set the found REMatch to the input,
25654         (makeCharIndexed): Made public.
25655         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25656         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25657         set the value of start[] copying from start1[].
25658         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25659         offset.
25660         * java/util/regex/Matcher.java(inputCharIndexed): New field
25661         to be used as a parameter of the RE#getMatch.
25663 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25665         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
25666         Documented the default jre spawning strategy (none).
25667         * java/rmi/activation/ActivationGroup.java (currentGroupId,
25668         getSystem): Obtain the acticivation system from the 
25669         DefaultActivationSystem.
25671 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25673         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25674         Ask user for keystore password if one was not provided.
25676 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25678         * tools/README: Added Security tools section.
25679         Documented the jarsigner tool.
25681 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
25683         * javax/swing/JScrollBar.java
25684         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25685         (AccessibleJScrollBar.getAccessibleRole): Likewise,
25686         (AccessibleJScrollBar.getAccessibleValue): Likewise,
25687         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25688         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25689         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25690         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25691         (getAccessibleContext): Updated API docs.
25693 2006-03-25  Tom Tromey  <tromey@redhat.com>
25695         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25696         change or if generator script changes.
25698 2006-03-25  Tom Tromey  <tromey@redhat.com>
25700         * javax/naming/ldap/StartTlsRequest.java: New file.
25701         * javax/naming/ldap/StartTlsResponse.java: New file.
25703 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
25705     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25706     to validate all components of a resource path.
25707     (FileURLLoader.walkPathComponents): Helper which ensures that we are
25708     allowed to walk through every component of a resource path.
25709     
25710 2006-03-25  Michael Koch  <konqueror@gmx.de>
25712         * NEWS: Added item for CLDR 1.3 update.
25714 2006-03-25  Michael Koch  <konqueror@gmx.de>
25716         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25717         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25718         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25719         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25720         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25721         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25722         Removed locales.
25724 2006-03-25  Michael Koch  <konqueror@gmx.de>
25726         * resource/gnu/java/locale/LocaleInformation_az.properties,
25727         resource/gnu/java/locale/LocaleInformation_bs.properties,
25728         resource/gnu/java/locale/LocaleInformation_byn.properties,
25729         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25730         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25731         resource/gnu/java/locale/LocaleInformation_gez.properties,
25732         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25733         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25734         resource/gnu/java/locale/LocaleInformation_haw.properties,
25735         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25736         resource/gnu/java/locale/LocaleInformation_kok.properties,
25737         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25738         resource/gnu/java/locale/LocaleInformation_sid.properties,
25739         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25740         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25741         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25742         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25743         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25744         resource/gnu/java/locale/LocaleInformation_syr.properties,
25745         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25746         resource/gnu/java/locale/LocaleInformation_tig.properties,
25747         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25748         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25749         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25750         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25751         resource/gnu/java/locale/LocaleInformation_wal.properties,
25752         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25753         New locales.
25755 2006-03-25  Michael Koch  <konqueror@gmx.de>
25757         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25758         resource/gnu/java/locale/LocaleInformation_kn.properties,
25759         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25760         resource/gnu/java/locale/LocaleInformation_ko.properties,
25761         resource/gnu/java/locale/LocaleInformation_sl.properties,
25762         resource/gnu/java/locale/LocaleInformation_so.properties,
25763         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25764         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25765         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25766         resource/gnu/java/locale/LocaleInformation_sr.properties:
25767         Random fixes I forgot to commit before.
25769 2006-03-25  Michael Koch  <konqueror@gmx.de>
25771         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25772         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25773         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25774         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25775         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25776         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25777         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25778         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25779         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25780         resource/gnu/java/locale/LocaleInformation_en.properties,
25781         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25782         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25783         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25784         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25785         resource/gnu/java/locale/LocaleInformation_fa.properties,
25786         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25787         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25788         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25789         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25790         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25791         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25792         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25793         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25794         resource/gnu/java/locale/LocaleInformation_pa.properties,
25795         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25796         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25797         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25798         resource/gnu/java/locale/LocaleInformation_sa.properties,
25799         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25800         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25801         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25802         Updated currency formats.
25804 2006-03-25  Roman Kennke  <kennke@aicas.com>
25806         * javax/swing/text/AbstractDocument.java
25807         (getAttributeContext): Made method final.
25808         (getCurrentWriter): Likewise.
25809         (getEndPosition): Likewise.
25810         (getProperty): Likewise.
25811         (getStartPosition): Likewise.
25812         (putProperty): Likewise.
25813         (readLock): Likewise.
25814         (readUnlock): Likewise.
25815         (writeLock): Likewise.
25816         (writeUnlock): Likewise.
25818 2006-03-25  Roman Kennke  <kennke@aicas.com>
25820         * javax/swing/InputMap.java
25821         (allKeys): Check if parent keys is null.
25822         * javax/swing/KeyboardManager.java
25823         (registerEntireMap): Also register map's parent keys.
25824         * javax/swing/plaf/metal/MetalRootPaneUI.java
25825         (propertyChange): Also call super.propertyChange().
25827 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25829         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25830         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25831         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25832         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25833         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25834         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25836 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25838         * gnu/java/util/jar/JarUtils.java: New file.
25839         * java/util/jar/Manifest.java (CRLF): Removed.
25840         (read_main_section): Likewise.
25841         (read_version_info): Likewise.
25842         (expect_header(String,BufferedReader)): Likewise.
25843         (expect_header(String,BufferedReader,String)): Likewise.
25844         (read_header_value): Likewise.
25845         (read_attributes): Likewise.
25846         (read_attribute): Likewise.
25847         (read_individual_sections): Likewise.
25848         (read_section_name): Likewise.
25849         (write_main_section): Likewise.
25850         (write_version_info): Likewise.
25851         (write_header): Likewise.
25852         (write_main_attributes): Likewise.
25853         (write_attribute_entry): Likewise.
25854         (write_individual_sections): Likewise.
25855         (write_entry_attributes): Likewise.
25856         (read): use JarUtils.
25857         (write): Likewise.
25859 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25861         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25862         (DEBUG): Removed.
25863         (debug): Likewise.
25864         (SignerInfo(BERReader)): Updated javadoc.
25865         Use JDK logging.
25866         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25867         New constructor.
25868         (encode): New method.
25869         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25870         (PKCS7_DATA): Removed.
25871         (DEBUG): Likewise.
25872         (debug): Likewise.
25873         (PKCS7SignedData(BERReader)): Updated javadoc.
25874         Use JDK logging.
25875         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25876         constructor.
25877         (encode): New method.
25878         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25879         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25880         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25881         (decodePrivateKey): Decode x from an OCTET STRING.
25882         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25883         (toString): New method.
25884         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25885         (str): Likewise.
25886         (toString): New method.
25887         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25888         (toString): New method.
25889         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25891 2006-03-25  Roman Kennke  <kennke@aicas.com>
25893         * java/util/GregorianCalender.java
25894         (computeTime): Fix comparison to correctly calculate the
25895         calendar.
25897 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25899         Fixes bug #26837
25900         * java/awt/Window.java:         
25901         (setFocusCycleRoot): New overriden method.
25902         (isFocusCycleRoot): Likewise.
25903         (getFocusCycleRootAncestor): Likewise.
25904         * java/awt/Container.java:
25905         (getFocusTraversalPolicy): Check also for anchestor == null.
25907 2006-03-25  Mark Wielaard  <mark@klomp.org>
25909         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25910         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25911         close root tag.
25913 2006-03-24  Tom Tromey  <tromey@redhat.com>
25915         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25916         Rewrote.
25917         (writeChar): Removed useless cast.
25918         (writeChars(String)): Implemented.
25919         (writeDouble): Rewrote.
25920         (writeFloat): Likewise.
25921         (writeUTF): Implemented.
25922         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25923         to big endian.
25925 2006-03-24  Roman Kennke  <kennke@aicas.com>
25927         * javax/swing/JButton.java
25928         (def): Replaced field with defaultCapable field.
25929         (is_def): Removed field.
25930         (JButton): Initialize defaultCapable with true.
25931         (isDefaultButton): Documented and implemented method by querying
25932         the button's root pane if present.
25933         (isDefaultCapable): Changed def field to defaultCapable.
25934         Added documentation.
25935         (paramString): Call isDefaultButton() instead of accessing field,
25936         which got removed.
25937         (setDefaultCapable): Changed def field to defaultCapable.
25938         Added documentation.
25939         * javax/swing/JRootPane.java
25940         (setDefaultButton): Only change the default button if the
25941         new button is defaultCapable.
25942         * javax/swing/plaf/basic/BasicRootPaneUI.java
25943         (DefaultPressAction): New class.
25944         (DefaultReleaseAction): New class.
25945         (installKeyboardActions): Implemented.
25946         (uninstallKeyboardActions): Implemented.
25947         (propertyChange): Implemented.
25948         * javax/swing/plaf/metal/MetalBorders.java
25949         (ButtonBorder.paintBorder): 'Outsourced' default theme
25950         painting to paintDefaultButtonBorder().
25951         (ButtonBorder.paintDefaultButtonBorder): New helper method
25952         to paint the border in the default theme. This also fixes
25953         painting of the border for default buttons.
25954         (ButtonBorder.paintOceanButtonBorder): Added support for
25955         default button painting. Fixed border for pressed/default state.
25956         * javax/swing/plaf/metal/MetalButtonUI.java
25957         (update): Only paint gradient when in OceanTheme and when the
25958         button is not armed.
25960 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25962         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25963         Inherit from Activator.
25965 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25967         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25968         Print debug message if debug flag is set.
25969         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25970         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25971         detail, do not call iniCause(). (exportClass): New method.
25972         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25973         Ignore null (bootstrap) class loader.
25974         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25975         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25976         visibility to protected.
25977         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25978         (toStub): New method.
25979         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25980         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25981         Explained property java.rmi.activation.port.
25983 2006-03-24  Tom Tromey  <tromey@redhat.com>
25985         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25986         * gnu/java/locale/.cvsignore: New file.
25987         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25988         * java/util/Locale.java (getAvailableLocales): Clone result.
25989         (getISOCountries): Likewise.
25990         (getISOLanguages): Likewise.
25991         * scripts/generate-locale-list.sh: Make class public.  Added new
25992         array.
25993         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25994         (getLocaleCount): Likewise.
25995         * java/text/Collator.java (getInstance): Javadoc typo fix.
25996         (getAvailableLocales): Wrote.
25998 2006-03-24  Roman Kennke  <kennke@aicas.com>
26000         * javax/swing/JTabbedPane.java
26001         (getSelectedComponent): Return null when no component is
26002         selected.
26004 2006-03-24  Mark Wielaard  <mark@klomp.org>
26006         * NEWS: Add cursor and selection improvements.
26008 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26010         * java/awt/Component.java
26011         (getAccessibleName): Just return accessibleName,
26012         * javax/swing/AbstractButton.java
26013         (getAccessibleStateSet): Mark as stub,
26014         (getAccessibleName): Implemented,
26015         (getAcessibleIcon): Mark as stub,
26016         (getAccessibleRelationSet): Likewise,
26017         (getAccessibleAction): Likewise,
26018         (getAccessibleValue): Likewise,
26019         (getAccessibleActionCount): Likewise,
26020         (getAccessibleActionDescription): Likewise,
26021         (doAccessibleAction): Likewise,
26022         (getCurrentAccessibleValue): Likewise,
26023         (setCurrentAccessibleValue): Likewise,
26024         (getMinimumAccessibleValue): Likewise,
26025         (getMaximumAccessibleValue): Likewise,
26026         (getAccessibleText): Likewise,
26027         (getIndexAtPoint): Likewise,
26028         (getCharacterBounds): Likewise,
26029         (getCharCount): Likewise,
26030         (getCaretPosition): Likewise,
26031         (getAtIndex): Likewise,
26032         (getAfterIndex): Likewise,
26033         (getBeforeIndex): Likewise,
26034         (getCharacterAttribute): Likewise,
26035         (getSelectionStart): Likewise,
26036         (getSelectionEnd): Likewise,
26037         (getSelectedText): Likewise,
26038         (getTextRectangle): Likewise,
26039         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
26040         (getIconTextGap): Added @since 1.4,
26041         (setContentAreaFilled): Reordered code to make event sequence match
26042         reference implementation,
26043         * javax/swing/JButton.java
26044         (getSelectedObjects): Removed,
26045         *javax/swing/JComponent.java
26046         (getAccessibleName): Call super.
26048 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26050         * javax/swing/JProgressBar.java
26051         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
26052         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
26053         (AccessibleJProgressBar.getAccessibleValue): Implemented,
26054         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
26055         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
26056         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
26057         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
26058         (getAccessibleContext): Added API docs.
26060 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
26062         * javax/swing/plaf/basic/BasicTextUI.java:
26063         (FocusListener.focusLost): Put current selection into the system
26064         clipboard.
26066 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
26068         * java/awt/Component.java:
26069         (processMouseEvent): Remove call to consume event.
26070         (dispatchEventImpl): Handle specific events first, do focus request
26071         only when mouse event was not yet consumed.
26072         * javax/swing/text/DefaultCaret.java:
26073         (mousePressed): Rewritten.
26074         (setDot): Changed order of operations.
26075         (moveDot): Dito.
26077 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26079         * javax/swing/JComponent.java
26080         (AccessibleJComponent.changeSupport): Removed field,
26081         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
26082         (AccessibleJComponent.addPropertyChangeListener): Call super,
26083         (AccessibleJComponent.removePropertyChangeListener): Likewise,
26084         * javax/swing/JSlider.java
26085         (AccessibleJSlider.getAccessibleStateSet): Implemented,
26086         (AccessibleJSlider.getAccessibleRole): Likewise,
26087         (AccessibleJSlider.getAccessibleValue): Likewise,
26088         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
26089         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
26090         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
26091         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
26092         (getAccessibleContext): Added API docs.
26094 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26096         * gnu/java/rmi/activation/ActivationSystemTransient.java
26097         (debug): Made public. (constructor): Made protected.
26098         (activate, getActivationDesc): Throw more informative exceptions.
26099         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
26100         New method.
26101         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
26102         Stub, implemented.
26103         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
26104         Documented.
26105         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
26106         Better exception.
26107         * java/rmi/activation/Activatable.java (obtainId): Use the activation
26108         system, passed in the activation descriptor field.
26109         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
26110         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
26111         to package private final. (equals): Compare uid, not the system. 
26112         (hashCode): Forward to uid.hashCode(). toString(): New method.
26113         * java/rmi/activation/ActivationID.java (readObject, writeObject):
26114         Rewritten. (equals): Compare UID only. toString(): New method.
26115         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
26116         UID (space). (hashCode, toString): Rewritten.
26117         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
26118         New method. (invoke): Treat null as an empty array for parameters.
26119         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
26120         Include count, do not include the static machineId.
26122 2006-03-23  Tom Tromey  <tromey@redhat.com>
26124         * java/net/URLConnection.java (getContent(Class[])): Implemented.
26126 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26128         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
26129         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
26130         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
26131         (force): New field. (setForce): New method. (compile): Handle -force.
26132         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
26133         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
26135 2006-03-23  Roman Kennke  <kennke@aicas.com>
26137         * javax/swing/JTabbedPane.java
26138         (Page.getBackground): Return the JTabbedPane's background,
26139         rather than the page's component background.
26140         (Page.getForeground): Return the JTabbedPane's foreground,
26141         rather than the page's component foreground.
26142         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26143         (uninstallUI): Don't set colors to null.
26144         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26145         (paintTabBackground): Correctly determine the tab background.
26146         (getUnselectedBackground): New helper method to
26147         handle the UI property 'TabbedPane.unselectedBackground'
26148         correctly.
26150 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26152         * javax/swing/plaf/basic/BasicInternalFrameUI.java
26153         (BorderListener.showingResizeCursor): New field.
26154         (BorderListener.mouseMoved, BorderListner.mouseExited):
26155         Implemented.
26157 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26159         * javax/swing/JComboBox.java
26160         (selectWithKeyChar): Mark as stub,
26161         * javax/swing/JFileChooser.java
26162         (setDragEnabled): Mark as stub,
26163         (getDragEnabled): Likewise,
26164         * javax/swing/JSlider.java
26165         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
26166         (AccessibleJSlider.getAccessibleRole): Likewise,
26167         (AccessibleJSlider.getAccessibleValue): Likewise,
26168         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
26169         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
26170         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
26171         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
26172         * javax/swing/UIManager.java
26173         (installLookAndFeel): Mark as stub,
26174         (setInstalledLookAndFeels): Likewise.
26176 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26178         * javax/swing/filechooser/UnixFileSystemView.java
26179         (getSystemDisplayName): Mark as stub,
26180         (getSystemIcon): Likewise,
26181         (getSystemTypeDescription): Likewise.
26183 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
26185         * javax/swing/tree/AbstractLayoutCache.java
26186         (getNodeDimensions): Mark as stub,
26187         (getPreferredHeight): Likewise,
26188         (getPreferredWidth): Likewise,
26189         (getRowsForPaths): Likewise,
26190         (isFixedRowHeight): Likewise,
26191         * javax/swing/tree/DefaultTreeModel.java
26192         (reload()): Mark as stub,
26193         (reload(TreeNode)): Likewise,
26194         (nodeStructureChanged): Likewise,
26195         * javax/swing/tree/DefaultTreeSelectionModel.java
26196         (clone): Mark as stub,
26197         (setRowMapper): Likewise,
26198         (setSelectionPaths): Likewise,
26199         (isRowSelected): Likewise,
26200         (resetRowSelection): Likewise,
26201         (insureRowContinuity): Likewise,
26202         (arePathsContiguous): Likewise,
26203         (canPathsBeAdded): Likewise,
26204         (canPathsBeRemoved): Likewise,
26205         (notifyPathChange): Likewise,
26206         (updateLeadIndex): Likewise,
26207         (insureUniqueness): Likewise,
26208         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
26209         stubs,
26210         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
26212 2006-03-22  Tom Tromey  <tromey@redhat.com>
26214         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
26215         stub.
26216         (getStaticAttributeKey): Likewise.
26217         (readAttributeSet): Likewise.
26218         (writeAttributeSet): Likewise.
26219         (readAttributes): Likewise.
26220         (writeAttributes): Likewise.
26221         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
26222         as stub.
26223         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
26224         Mark as stub.
26225         (fireChangedUpdate): Likewise.
26226         (start): Likewise.
26227         (end): Likewise.
26228         (handleEndOfLineString): Likewise.
26229         (textAreaContent): Likewise.
26230         (preContent): Likewise.
26231         (addSpecialElement): Likewise.
26232         (setInnerHTML): Likewise.
26233         (setOuterHTML): Likewise.
26234         (insertBeforeStart): Likewise.
26235         (insertBeforeEnd): Likewise.
26236         (insertAfterEnd): Likewise.
26237         (insertAfterStart): Likewise.
26238         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
26239         Mark all methods as stub.s
26240         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
26241         as stub.
26242         (paintHorizontalSeparators): Likewise.
26243         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
26244         Mark as stub.
26245         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
26246         stub.
26247         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
26248         as stubs.
26249         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
26250         methods as stubs.
26252 2006-03-22  Mark Wielaard  <mark@klomp.org>
26254         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
26256 2006-03-22  Mark Wielaard  <mark@klomp.org>
26258         Fixes bug #26527
26259         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
26260         Takes GtkImage, x and y coordinates.
26261         (gtkWidgetSetCursorUnlocked): Likewise.
26262         (GtkComponentPeer): Set cursor when set.
26263         (setCursor): Handle GtkCursor.
26264         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
26265         New method.
26266         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26267         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
26268         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
26269         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
26271 2006-03-23  Roman Kennke  <kennke@aicas.com>
26273         PR 26805
26274         * gnu/java/security/Registry.java
26275         (PKCS5_PAD): Added pad PKCS#5 algorithm.
26276         * gnu/javax/crypto/pad/PadFactory.java
26277         (getInstance): For PKCS#5, also return PKCS#7 pad
26278         algorithm.
26279         (getNames): Added PKCS#5.
26280         * javax/crypto/KeyGenerator.java
26281         (getInstance): Initialize key generator before returning
26282         it.
26284 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26286         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
26287         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
26288         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
26289         if COMMENTS is set.
26291 2006-03-22  Tom Tromey  <tromey@redhat.com>
26293         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
26294         (getBoolean): Likewise.
26295         (getString): Likewise.
26296         (getIcon): Likewise.
26298 2006-03-22  Mark Wielaard  <mark@klomp.org>
26300         Fixes bug #26301
26301         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
26302         (GLightweightPeer(Component)): Install MouseListener.
26303         (setCursor): Implement.
26304         (mouseEntered): New method.
26306 2006-03-22  Tom Tromey  <tromey@redhat.com>
26308         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
26309         constant.
26310         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
26311         protected.
26312         (getFontForState): Likewise.
26313         (getInsets): Added 'result' argument.
26314         (getPainter): Renamed.
26316 2006-03-22  Tom Tromey  <tromey@redhat.com>
26318         * javax/swing/plaf/synth/SynthPainter.java
26319         (paintScrollBarThumbBackground): Added 'orientation' argument.
26320         (paintScrollBarThumbBorder): Likewise.
26321         (paintSliderThumbBackground): Likewise.
26322         (paintSliderThumbBorder): Likewise.
26323         (paintTabbedPaneTabBackground): Added 'index' argument.
26324         (paintTabbedPaneTabBorder): Likewise.
26326 2006-03-22  Tom Tromey  <tromey@redhat.com>
26328         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
26329         (toString): New method.
26331 2006-03-22  Tom Tromey  <tromey@redhat.com>
26333         * doc/hacking.texinfo (Source Code Style Guide): Mention
26334         NotImplementedException.
26335         * javax/imageio/stream/MemoryCacheImageOutputStream.java
26336         (flushBefore): Mark as stub.
26337         (read): Likewise.
26338         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
26339         Mark as stub.
26340         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
26341         as stub.
26342         (write): Likewise.
26343         (writeBit): Likewise.
26344         (writeChars): Likewise.
26345         (writeUTF): Likewise.
26346         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
26347         as stub.
26348         (read): Likewise.
26349         * java/net/URLConnection.java (getContent): Mark as stub.
26350         * java/awt/Window.java (applyResourceBundle): Mark as stub.
26351         * java/awt/TexturePaint.java (createContext): Mark as stub.
26352         (getTransparency): Mark as stub.
26353         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
26354         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
26355         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
26356         stub.
26357         (getImageCapabilities): Likewise.
26358         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
26359         * java/awt/AlphaComposite.java (createContext): Mark as stub.
26360         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
26361         methods as stubs.
26362         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
26363         (getAdvanceBetween): Likewise.
26364         (getLayout): Likewise.
26365         (insertChar): Likewise.
26366         (getLineBreakIndex): Likewise.
26367         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
26368         (getAdvance): Likewise.
26369         (getAscent): Likewise.
26370         (getDescent): Likewise.
26371         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
26372         (insertChar): Likewise.
26373         (nextLayout): Likewise.
26374         (nextLayout): Likewise.
26375         (nextOffset): Likewise.
26376         (nextOffset): Likewise.
26377         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
26378         (equals): Likewise.
26379         (getAdvance): Likewise.
26380         (getAscent): Likewise.
26381         (getBounds): Likewise.
26382         (getDescent): Likewise.
26383         (hashCode): Likewise.
26384         (ImageGraphicAttribute): Likewise.
26385         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
26386         (getJustificationInfo): Likewise.
26387         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
26388         (getGlyphCharIndices): Likewise.
26389         (getGlyphOutline): Likewise.
26390         (getGlyphPixelBounds): Likewise.
26391         (getLayoutFlags): Likewise.
26392         (getPixelBounds): Likewise.
26393         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
26394         (getRSB): Likewise.
26395         * java/nio/channels/Channels.java (newWriter): Mark as stub.
26396         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
26397         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
26398         Mark as stub.
26399         (resetRecognizer): Likewise.
26400         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
26401         Mark as stub.
26402         (getNativesForFlavor): Likewise.
26403         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
26404         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
26405         as stub.
26406         (getRegion): Likewise.
26407         (createUI): Likewise.
26408         (initialize): Likewise.
26409         (uninitialize): Likewise.
26410         (getDefaults): Likewise.
26411         (load): Likewise.
26412         (shouldUpdateStyleOnAncestorChanged): Likewise.
26413         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
26414         Mark as stub.
26415         (getPreferredSize): Likewise.
26416         (getMaximumSize): Likewise.
26417         (paintText): Likewise.
26418         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
26419         as stub.
26420         * java/text/Collator.java (getAvailableLocales): Mark as stub.
26422 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
26424         * java/io/ObjectStreamConstants.java: Added since tag.
26425         (PROTOCOL_VERSION_1): Added javadoc.
26426         (PROTOCOL_VERSION_2): Likewise.
26427         * java/io/ObjectOutputStream.java: 
26428         (setDefaultProtocolVersion): Removed.
26429         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
26430         
26431 2006-03-21  Lillian Angel  <langel@redhat.com>
26433         * gnu/javax/imageio/bmp/BMPInfoHeader.java
26434         (BMPInfoHeader): Removed debug lines.
26435         * gnu/javax/imageio/bmp/EncodeRLE4.java
26436         (encode): Implemented.
26437         (uncompress): New function implemented to
26438         uncompress the image before encoding.
26439         * gnu/javax/imageio/bmp/EncodeRLE8.java
26440         (encode): Implemented.
26441         (uncompress): New function implemented to
26442         uncompress the image before encoding.
26444 2006-03-21  Roman Kennke  <kennke@aicas.com>
26446         * javax/swing/text/html/FormView.java
26447         (getImageData): New helper method.
26449 2006-03-21  Tom Tromey  <tromey@redhat.com>
26451         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
26452         fix.
26453         (Unsafe): Now final.
26455 2006-03-21  Roman Kennke  <kennke@aicas.com>
26457         * javax/swing/text/html/FormView.java
26458         (MouseEventListener): New inner class.
26460 2006-03-21  Roman Kennke  <kennke@aicas.com>
26462         * javax/swing/text/html/ListView.java: New file.
26464 2006-03-21  Tom Tromey  <tromey@redhat.com>
26466         * java/text/Bidi.java: Completed.
26468 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
26470         * javax/swing/JTable.java:
26471         (columnAtPoint): Removed the null check, this method should throw a NPE
26472         if the argument is null.
26474 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
26476         * javax/swing/text/DefaultHighlighter.java:
26477         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
26479 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
26481         * javax/swing/text/DefaultCaret.java: Added class variable denoting
26482         the textcomponent having a selection.
26483         (clearSelection): Clear 'componentWithSelection' variable.
26484         (handleSelection): Clear selection of current component having a
26485         selection before setting a new selection in another component.
26486         (mouseDragged): Only react on left mouse button.
26487         (mouseClicked): Only react on left mouse button.
26489 2006-03-21  Roman Kennke  <kennke@aicas.com>
26491         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26492         (paintContentBorderTopEdge): Implemented.
26493         (paintContentBorderBottomEdge): Implemented.
26494         (paintContentBorderLeftEdge): Implemented.
26495         (paintContentBorderRightEdge): Implemented.
26496         (isLastTabInRun): New helper method.
26498 2006-03-21  Roman Kennke  <kennke@aicas.com>
26500         * javax/swing/JTabbedPane.java
26501         (Page.getForeground): Fall back to returning the tabbed pane's
26502         foreground if no foreground has been exclicitly set.
26504 2006-03-21  Roman Kennke  <kennke@aicas.com>
26506         * javax/swing/plaf/metal/MetalComboBoxButton.java
26507         (setEnabled): Update colors of button correctly.
26508         * javax/swing/plaf/metal/MetalComboBoxUI.java
26509         (MetalPropertyChangeListener.propertyChange): Update the colors
26510         of the list and the button when any of the color properties
26511         of the ComboBox change.
26513 2006-03-21  Roman Kennke  <kennke@aicas.com>
26515         * javax/swing/plaf/basic/BasicButtonUI.java
26516         (uninstallDefaults): Only nullify button colors if they are
26517         not UIResource instances.
26519 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
26521         * javax/swing/JComponent.java
26522         (AccessibleJComponent.getAccessibleDescription): Call super,
26523         * javax/swing/JToolTip.java: API doc updates all over, plus
26524         (AccessibleJToolTip.getAccessibleDescription): Implemented,
26525         (AccessibleJToolTip.getAccessibleRole): Implemented,
26526         (getAccessibleContext): Implemented,
26527         (paramString): Reimplemented,
26528         (setComponent): Fire PropertyChangeEvent,
26529         (setTipText): Likewise.
26531 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26533         * java/util/Formatter.java:
26534         Make the class final.
26535         
26536 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26538         * java/lang/System.java:
26539         (nanoTime()): Documented.
26540         * java/lang/Thread.java:
26541         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
26542         Added docs and security check.
26543         (getUncaughtExceptionHandler()): Documented.
26544         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
26545         Added docs and security check.
26546         (getDefaultUncaughtExceptionHandler()): Documented.
26547         (getId()): Documented.
26548         (Thread.State): Documented.
26549         * vm/reference/gnu/classpath/Unsafe.java:
26550         Documented.
26551         (getUnsafe()): Updated to handle security.
26552         
26553 2006-03-20  Tom Tromey  <tromey@redhat.com>
26555         * java/lang/System.java:
26556         (nanoTime()): Implemented.
26557         * java/lang/Thread.java:
26558         (getId()): Implemented.
26559         * java/util/AbstractMap.java:
26560         (SimpleImmutableEntry): New 1.6 class.
26561         (BasicMapEntry): Modified to be SimpleEntry.
26562         * java/util/Collections.java:
26563         Modified to use SimpleEntry.
26564         * java/util/EnumMap.java: Likewise.
26565         * java/util/HashMap.java: Likewise.
26566         * java/util/Hashtable.java: Likewise.
26567         * java/util/TreeMap.java: Likewise.
26568         * vm/reference/gnu/classpath/Unsafe.java:
26569         New class to handle low-level facilities for concurrency.
26570         * vm/reference/java/lang/VMSystem.java:
26571         (nanoTime()): Implemented.
26572         
26573 2006-03-20  Tom Tromey  <tromey@redhat.com>
26575         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
26576         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
26577         (CertStoreSpi): Updated throws clause.
26578         * java/security/cert/CertPathValidatorSpi.java: Added import for
26579         javadoc.
26580         (engineValidate): Updated 'throws' clause.
26581         * java/security/cert/PKIXParameters.java: Javadoc fix.
26582         * java/security/cert/X509CertSelector.java
26583         (setAuthorityKeyIdentifier): Javadoc fix.
26585 2006-03-20  Tom Tromey  <tromey@redhat.com>
26587         * .classpath: Build gnu.javax.swing.plaf.
26589 2006-03-20  Lillian Angel  <langel@redhat.com>
26591         * gnu/javax/imageio/bmp/BMPDecoder.java:
26592         Removed unneeded import.
26593         * gnu/javax/imageio/bmp/BMPEncoder.java:
26594         New class.
26595         * gnu/javax/imageio/bmp/BMPFileHeader.java
26596         (BMPFileHeader): New constructor used to create info header
26597         for an output stream.
26598         (write): Fixed indexes.
26599         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
26600         Initialized writerSpiNames field.
26601         * gnu/javax/imageio/bmp/BMPImageWriter.java:
26602         New class.
26603         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26604         New class.
26605         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26606         Change visibility for fields.
26607         (BMPInfoHeader): New constructor used to create
26608         file header for an output stream.
26609         (intToDWord): New method. Converts an int to a
26610         double word.
26611         (intToWord): New method. Converts an int to a word.
26612         * gnu/javax/imageio/bmp/DecodeBF32.java:
26613         Removed unneeded imports.
26614         * gnu/javax/imageio/bmp/EncodeRGB1.java:
26615         New class.
26616         * gnu/javax/imageio/bmp/EncodeRGB16.java:
26617         New class.
26618         * gnu/javax/imageio/bmp/EncodeRGB24.java:
26619         New class.
26620         * gnu/javax/imageio/bmp/EncodeRGB32.java:
26621         New class.
26622         * gnu/javax/imageio/bmp/EncodeRGB4.java:
26623         New class.
26624         * gnu/javax/imageio/bmp/EncodeRGB8.java:
26625         New class.
26626         * gnu/javax/imageio/bmp/EncodeRLE4.java:
26627         New class.
26628         * gnu/javax/imageio/bmp/EncodeRLE8.java:
26629         New class.
26630         * javax/imageio/ImageIO.java:
26631         Fixed comment.
26633 2006-03-20  Roman Kennke  <kennke@aicas.com>
26635         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26636         (TabbedPaneLayout.normalizeTabRuns): New method.
26637         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26638         (paintTabBorder): Replaced if-else chain with switch.
26639         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26640         Ocean theme.
26641         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26642         Ocean theme.
26643         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26644         Ocean theme.
26645         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26646         Ocean theme.
26647         (paintTabBackground): Fetch background color from the TabbedPane.
26648         Fixed painting and improved by not using fillPolygon, and instead
26649         using fillRectangle. Replaced if-else chain with switch.
26650         (calculateMaxTabHeight): Added overridden method with FIXME.
26651         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26652         placement.
26653         (paintContentBorderTopEdge): Added stub with FIXME.
26654         (paintContentBorderBottomEdge): Added stub with FIXME.
26655         (paintContentBorderLeftEdge): Added stub with FIXME.
26656         (paintContentBorderRightEdge): Added stub with FIXME.
26658 2006-03-20  Roman Kennke  <kennke@aicas.com>
26660         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26661         (tabsOpaque): New field.
26662         (installDefaults): Fetch tabsOpaque property from UIManager.
26663         (paintTab): Fill tab background when tabsOpaque property is true.
26664         * javax/swing/plaf/basic/BasicLookAndFeel.java
26665         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26667 2006-03-20  Roman Kennke  <kennke@aicas.com>
26669         * javax/swing/JTabbedPane.java
26670         (Pane.getBackground): When no background was explicitly set, return
26671         the JTabbedPane's background.
26673 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
26675         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26676         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26677         * org/omg/CORBA/BAD_INV_ORDER.java,
26678         * org/omg/CORBA/BAD_CONTEXT.java,
26679         * org/omg/CORBA/BAD_OPERATION.java,
26680         * org/omg/CORBA/BAD_PARAM.java,
26681         * org/omg/CORBA/BAD_QOS.java,
26682         * org/omg/CORBA/BAD_TYPECODE.java,
26683         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26684         * org/omg/CORBA/COMM_FAILURE.java,
26685         * org/omg/CORBA/CurrentHolder.java,
26686         * org/omg/CORBA/DATA_CONVERSION.java,
26687         * org/omg/CORBA/FREE_MEM.java,
26688         * org/omg/CORBA/IMP_LIMIT.java,
26689         * org/omg/CORBA/INITIALIZE.java,
26690         * org/omg/CORBA/INTERNAL.java,
26691         * org/omg/CORBA/INTF_REPOS.java,
26692         * org/omg/CORBA/INVALID_ACTIVITY.java,
26693         * org/omg/CORBA/INVALID_TRANSACTION.java,
26694         * org/omg/CORBA/INV_FLAG.java,
26695         * org/omg/CORBA/INV_IDENT.java,
26696         * org/omg/CORBA/INV_OBJREF.java,
26697         * org/omg/CORBA/INV_POLICY.java,
26698         * org/omg/CORBA/MARSHAL.java,
26699         * org/omg/CORBA/NO_RESOURCES.java,
26700         * org/omg/CORBA/NO_MEMORY.java,
26701         * org/omg/CORBA/NO_IMPLEMENT.java,
26702         * org/omg/CORBA/NO_PERMISSION.java,
26703         * org/omg/CORBA/NO_RESPONSE.java,
26704         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26705         * org/omg/CORBA/OBJ_ADAPTER.java,
26706         * org/omg/CORBA/ParameterModeHolder.java,
26707         * org/omg/CORBA/PolicyError.java,
26708         * org/omg/CORBA/PolicyErrorHolder.java,
26709         * org/omg/CORBA/PolicyHolder.java,
26710         * org/omg/CORBA/PolicyListHolder.java,
26711         * org/omg/CORBA/REBIND.java,
26712         * org/omg/CORBA/TIMEOUT.java,
26713         * org/omg/CORBA/TRANSACTION_MODE.java,
26714         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26715         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26716         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26717         * org/omg/CORBA/TRANSIENT.java,
26718         * org/omg/CORBA/TypeCodeHolder.java,
26719         * org/omg/CORBA/UNKNOWN.java,
26720         * org/omg/CORBA/UnionMember.java,
26721         * org/omg/CORBA/UnknownUserException.java,
26722         * org/omg/CORBA/UnknownUserExceptionHolder.java,
26723         * org/omg/CORBA/WrongTransactionHolder.java,
26724         * org/omg/IOP/IOR.java,
26725         * org/omg/IOP/IORHolder.java,
26726         * org/omg/IOP/MultipleComponentProfileHolder.java,
26727         * org/omg/IOP/ServiceContextHolder.java,
26728         * org/omg/IOP/ServiceContextListHolder.java,
26729         * org/omg/IOP/TaggedComponentHolder.java,
26730         * org/omg/IOP/TaggedProfileHolder.java,
26731         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26732         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26733         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26734         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26735         Made class final, various javadoc fixlets.      
26736         * org/omg/CORBA/CompletionStatus.java, 
26737         * org/omg/CORBA/PERSIST_STORE.java,
26738         * org/omg/CORBA/ValueMember.java,
26739         * org/omg/PortableInterceptor/ForwardRequest.java,
26740         * org/omg/PortableInterceptor/InvalidSlot.java,
26741         * org/omg/IOP/CodecPackage/TypeMismatch.java,
26742         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26743         * org/omg/IOP/CodecPackage/FormatMismatch.java,
26744         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26745         * org/omg/IOP/Encoding.java,
26746         * org/omg/IOP/TaggedComponent.java,
26747         * org/omg/IOP/TaggedProfile.java: Made class final.
26748         * org/omg/CORBA/SystemException.java: Made class abstract.      
26749         * org/omg/CORBA/UserException.java: Made class abstract.
26750         (UserException): Now protected.
26751         (UserException(String)): Likewise.
26752         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26753         (typecode): Removed unused private variable.
26755 2006-03-20  Chris Burdess  <dog@gnu.org>
26757         Fixes PR 26761
26758         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26760 2006-03-20  Roman Kennke  <kennke@aicas.com>
26762         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26763         (paintTabArea): Look up tab run indices in tabRuns array instead
26764         of using the index directly.
26766 2006-03-20  Roman Kennke  <kennke@aicas.com>
26768         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26769         (paintTab): Fixed painting.
26770         (paintText): Fixed text painting.
26771         (paintFocusIndicator): Fixed painting of the focus rectangle.
26772         (paintContentBorder): Fixed painting of the content area.
26774 2006-03-20  Mark Wielaard  <mark@klomp.org>
26776         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26777         static lock Object field.
26778         (produce): Synchronize on pixbufLock when calling initState(),
26779         pumpBytes() and pumpDone().
26780         (finalize): Likewise when calling finish().
26781         (GdkPixbufWriter.write): Likewise when calling streamImage().
26782         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26783         when calling loadPixbuf. Chain exception.
26784         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26785         (GtkImage(URL)): Likewise.
26786         (GtkImage(int,int)): Likewise when calling createPixmap().
26787         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26788         createScaledPixmap().
26789         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26790         (setImage): Likewise when calling createPixmap() and setPixels().
26791         (getSource): Likewise when calling getPixels().
26792         (flush): Likewise when calling freePixmap().
26793         (finalize): Likewise.
26794         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26795         drawPixelsScaledFlipped().
26796         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26797         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26798         gdk_threads_enter/leave().
26799         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26800         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26801         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26802         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26803         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26804         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26805         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26806         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26807         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26808         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26809         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26810         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26811         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26813 2006-03-20  Roman Kennke  <kennke@aicas.com>
26815         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26816         (calculateTabHeight): Not need to use SwingUtilities here.
26817         (getTabInsets): Do not rotate insets.
26819 2006-03-20  Roman Kennke  <kennke@aicas.com>
26821         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26822         (paint): Make sure the layout is valid before painting.
26823         (paintTabArea): Made tab painting more straightforward and efficient.
26825 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26827         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26828         (getScrollableUnitIncrement): Rewritten.
26829         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26830         (getScrollableUnitIncrement): Rewritten.
26831         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26832         (ROWS_PER_WHEEL_CLICK): New field. 
26833         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26835 2006-03-20  Roman Kennke  <kennke@aicas.com>
26837         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26838         (paint): Make sure the layout is valid before painting.
26839         (paintTabArea): Made tab painting more straightforward and efficient.
26841 2006-03-20  Roman Kennke  <kennke@aicas.com>
26843         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26844         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26845         code.
26846         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26847         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26848         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26849         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26850         bounds here. That is moved into layoutContainer().
26851         (calculateSize): Correctly respect insets. Made code slightly more
26852         clear and efficient.
26853         (calculateTabRects): Rewritten completely. The old code was
26854         not quite right and unstable in some situations.
26855         (layoutContainer): Moved layout of tabbed pane's subcomponents
26856         here.
26857         (tabRunsDirty): New field.
26858         (rolloverTab): New field.
26859         (tabForCoordinate): Rewritten for simplicity and correctness.
26860         (setRolloverTab): New method.
26861         (getRolloverTab): New method.
26863 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26865         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26866         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26867         (getScrollableUnitIncrement
26868         * javax/swing/Scrollable.java: Documented.
26869         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26870         (MouseWheelHandler):Rewritten.
26872 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26874         * doc/vmintegration.texinfo:
26875         Updated with gnu.classpath.Unsafe
26876         
26877 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26879         * NEWS:
26880         Updated with VMArray and Unsafe changes.
26881         
26882 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26884         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26885         (getScrollableUnitIncrement): Rewritten.
26886         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26887         (getScrollableUnitIncrement): Rewritten. 
26888         (getScrollableBlockIncrement): Rewritten.
26889         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26890         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26891         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26892         New field. (installListeners): Install wheel listeners. 
26893         (uninstallListeners): Uninstall wheel listeners.
26894         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26895         of the MouseWheelListener. (installListeners): Do not install wheel
26896         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26898 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26900         * vm/reference/gnu/classpath/Unsafe.java:
26901         Documented.
26902         (getUnsafe()): Updated to handle security.
26904 2006-03-19  Tom Tromey  <tromey@redhat.com>
26906         * vm/reference/gnu/classpath/Unsafe.java:
26907         New class to handle low-level facilities for concurrency.
26909 2006-03-19  Mark Wielaard  <mark@klomp.org>
26911         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26912         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26913         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26914         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26916 2006-03-19  Mark Wielaard  <mark@klomp.org>
26918         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26919         familyName.
26920         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26922 2006-03-19  Michael Koch  <konqueror@gmx.de>
26924         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26925         resource/gnu/java/locale/LocaleInformation_am.properties,
26926         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26927         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26928         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26929         resource/gnu/java/locale/LocaleInformation_bg.properties,
26930         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26931         resource/gnu/java/locale/LocaleInformation_ca.properties,
26932         resource/gnu/java/locale/LocaleInformation_cs.properties,
26933         resource/gnu/java/locale/LocaleInformation_cy.properties,
26934         resource/gnu/java/locale/LocaleInformation_da.properties,
26935         resource/gnu/java/locale/LocaleInformation_de.properties,
26936         resource/gnu/java/locale/LocaleInformation_dv.properties,
26937         resource/gnu/java/locale/LocaleInformation_el.properties,
26938         resource/gnu/java/locale/LocaleInformation_en.properties,
26939         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26940         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26941         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26942         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26943         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26944         resource/gnu/java/locale/LocaleInformation_es.properties,
26945         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26946         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26947         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26948         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26949         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26950         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26951         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26952         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26953         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26954         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26955         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26956         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26957         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26958         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26959         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26960         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26961         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26962         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26963         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26964         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26965         resource/gnu/java/locale/LocaleInformation_fa.properties,
26966         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26967         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26968         resource/gnu/java/locale/LocaleInformation_fi.properties,
26969         resource/gnu/java/locale/LocaleInformation_fr.properties,
26970         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26971         resource/gnu/java/locale/LocaleInformation_ga.properties,
26972         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26973         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26974         resource/gnu/java/locale/LocaleInformation_hr.properties,
26975         resource/gnu/java/locale/LocaleInformation_hu.properties,
26976         resource/gnu/java/locale/LocaleInformation_id.properties,
26977         resource/gnu/java/locale/LocaleInformation_is.properties,
26978         resource/gnu/java/locale/LocaleInformation_it.properties,
26979         resource/gnu/java/locale/LocaleInformation_ja.properties,
26980         resource/gnu/java/locale/LocaleInformation_kk.properties,
26981         resource/gnu/java/locale/LocaleInformation_kl.properties,
26982         resource/gnu/java/locale/LocaleInformation_km.properties,
26983         resource/gnu/java/locale/LocaleInformation_ky.properties,
26984         resource/gnu/java/locale/LocaleInformation_lo.properties,
26985         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26986         resource/gnu/java/locale/LocaleInformation_lt.properties,
26987         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26988         resource/gnu/java/locale/LocaleInformation_lv.properties,
26989         resource/gnu/java/locale/LocaleInformation_mk.properties,
26990         resource/gnu/java/locale/LocaleInformation_mn.properties,
26991         resource/gnu/java/locale/LocaleInformation_mr.properties,
26992         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26993         resource/gnu/java/locale/LocaleInformation_ms.properties,
26994         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26995         resource/gnu/java/locale/LocaleInformation_mt.properties,
26996         resource/gnu/java/locale/LocaleInformation_nb.properties,
26997         resource/gnu/java/locale/LocaleInformation_nl.properties,
26998         resource/gnu/java/locale/LocaleInformation_nn.properties,
26999         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
27000         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
27001         resource/gnu/java/locale/LocaleInformation_pa.properties,
27002         resource/gnu/java/locale/LocaleInformation_pl.properties,
27003         resource/gnu/java/locale/LocaleInformation_pt.properties,
27004         resource/gnu/java/locale/LocaleInformation_ru.properties,
27005         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
27006         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
27007         resource/gnu/java/locale/LocaleInformation_sa.properties,
27008         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
27009         resource/gnu/java/locale/LocaleInformation_sk.properties,
27010         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
27011         resource/gnu/java/locale/LocaleInformation_sv.properties,
27012         resource/gnu/java/locale/LocaleInformation_sw.properties,
27013         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
27014         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
27015         resource/gnu/java/locale/LocaleInformation_te.properties,
27016         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
27017         resource/gnu/java/locale/LocaleInformation_th.properties,
27018         resource/gnu/java/locale/LocaleInformation_ti.properties,
27019         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
27020         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
27021         resource/gnu/java/locale/LocaleInformation_tr.properties,
27022         resource/gnu/java/locale/LocaleInformation_tt.properties,
27023         resource/gnu/java/locale/LocaleInformation_uk.properties,
27024         resource/gnu/java/locale/LocaleInformation_ur.properties,
27025         resource/gnu/java/locale/LocaleInformation_uz.properties,
27026         resource/gnu/java/locale/LocaleInformation_zh.properties,
27027         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
27028         More updates for CLDR 1.3.
27029         
27030 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
27032         * doc/vmintegration.texinfo:
27033         Updated to include VMArray.
27034         * include/Makefile.am:
27035         Replace java_lang_reflect_Array.h with
27036         java_lang_reflect_VMArray.h
27037         * include/java_lang_reflect_VMArray.h:
27038         New autogenerated header.
27039         * include/java_lang_reflect_Array.h:
27040         Removed.
27041         * java/lang/reflect/Array.java:
27042         (newInstance(Class,int)): Calls VMArray.
27043         (createMultiArray(Class,int[],int)): Likewise.
27044         (createObjectArray(Class,int)): Removed.
27045         * native/jni/java-lang/Makefile.am:
27046         Replaced java_lang_reflect_Array.c with
27047         java_lang_reflect_VMArray.c
27048         * native/jni/java-lang/java_lang_reflect_VMArray.c:
27049         Renamed from java_lang_reflect_Array.c.
27050         * vm/reference/java/lang/reflect/VMArray.java:
27051         (createObjectArray(Class,int)): Native method moved
27052         from java.lang.reflect.Array.
27054 2006-03-19  Roman Kennke  <kennke@aicas.com>
27056         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
27057         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
27058         New class.
27059         * examples/gnu/classpath/examples/swing/Demo.java
27060         (mkButtonBar): Hook up theme editor.
27061         (mkMenuBar): Hook up theme editor.
27063 2006-03-19  Roman Kennke  <kennke@aicas.com>
27065         * javax/swing/plaf/basic/BasicFileChooserUI.java
27066         (ApproveSelectionAction.actionPerformed): Added case for when
27067         nothing has been selected but the user has typed a filename
27068         into the textfield.
27069         (getFileName): Return the value of the text field.
27071 2006-03-19  Roman Kennke  <kennke@aicas.com>
27073         * javax/swing/JColorChooser.java
27074         (createDialog): Create JDialog instead of ModalDialog. Make this
27075         dialog modal by calling setModal(true).
27076         (ModalDialog): Removed unnecessary inner class.
27078 2006-03-19  Tom Tromey  <tromey@redhat.com>
27080         * java/awt/font/NumericShaper.java: Rewrote.
27082 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27084         * javax/swing/plaf/basic/BasicTableUI.java:
27085         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
27086         New field. MouseInputHandler.mouseWheelMoved): New method.
27087         (installListeners): Register MouseInputHandler as
27088         wheel listener also.
27089         
27090 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27092         PR 26746
27093         * javax/swing/ViewportLayout.java (layoutContainer):
27094         If Scrollable tracks dimension, set view size to the port size. 
27095         If port is larger than the view, move the view to the top/left.
27097 2006-03-19  Roman Kennke  <kennke@aicas.com>
27099         * javax/swing/MenuSelectionManager.java
27100         (isComponentPartOfCurrentMenu): Also consider the first element
27101         in a menu selection list. Make a isDescendentFrom check instead
27102         of simple equals to also catch sub components.
27104 2006-03-19  Roman Kennke  <kennke@aicas.com>
27106         * javax/swing/JComboBox.java
27107         (actionPerformed): Fetch selected item directly from the editor
27108         instead of trying to get it from the event.
27110 2006-03-19  Roman Kennke  <kennke@aicas.com>
27112         * javax/swing/plaf/basic/BasicComboBoxEditor.java
27113         (listener): Removed field.
27114         (BasicComboBoxEditor): Removed initialization of listener field.
27115         (addActionListener): Add listener directly to editor.
27116         (removeActionListener): Remove listener directly from editor.
27117         (ComboBoxEditorListener): Removed class.
27118         * javax/swing/plaf/basic/BasicComboBoxUI.java
27119         (getPreferredSize): Fixed to return the minimumSize.
27120         (getMinimumSize): Improved code for more clearness.
27121         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
27122         (rectangleForCurrentValue): Correctly respect insets.
27123         (getDefaultSize): Return preferredSize here. Dont override height
27124         with 100.
27125         (getDisplaySize): Moved around code for more clearness. Added
27126         handling of prototype renderer.
27127         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
27128         arrowButton bounds since the former depends on the latter.
27129         * javax/swing/plaf/metal/MetalComboBoxButton.java:
27130         (MetalComboBoxButton): Make button rollover disabled.
27131         (isFocusTraversable): Return false unconditionally.
27132         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
27133         (EditorTextField): New class. Fixes the size properties.
27134         (MetalComboBoxEditor): Create instance of EditorTextField.
27135         * javax/swing/plaf/metal/MetalComboBoxUI.java:
27136         (getMinimumSize): Fixed editable size.
27138 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27140         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
27142 2006-03-18  Roman Kennke  <kennke@aicas.com>
27144         * javax/swing/plaf/metal/MetalToolBarUI.java
27145         (update): Added overridden method to support OceanTheme.
27147 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27149         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
27150         Activate the cell editing on character keystroke.
27152 2006-03-18  Mark Wielaard  <mark@klomp.org>
27154         * java/awt/Component.java (eventTypeEnabled): Handle
27155         MouseEvent.MOUSE_WHEEL.
27156         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
27157         New callback method.
27158         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27159         (AWT_MOUSE_WHEEL): New constant.
27160         (AWT_WHEEL_UNIT_SCROLL): Likewise.
27161         (postMouseWheelEventID): New static variable.
27162         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
27163         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
27164         (button_number): Renamed to ...
27165         (button_number_direction): variable to hold button number or scroll
27166         direction.
27167         (component_button_press_cb): Use button_number_direction.
27168         (component_scroll_cb): New static callback function.
27170 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27172         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
27173         Return without action.
27175 2006-03-18  Mark Wielaard  <mark@klomp.org>
27177         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
27178         Don't cast graphics object to GdkGraphics.
27179         (updateComponent): Likewise.
27181 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27183         * examples/gnu/classpath/examples/swing/TableDemo.java
27184         (TModel.getColumnClass): Set second column to Icon.
27185         (TModel.isCellEditable): Say icons are not editable.
27186         (createContent): Fill the in second column with some icons from 
27187         MetalIconFactory.
27189 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27191         * examples/gnu/classpath/examples/swing/Demo.java
27192         (mkButtonBar): Set maximal button bar height to the preferred height.
27194 2006-03-18  Roman Kennke  <kennke@aicas.com>
27196         * javax/swing/plaf/basic/BasicComboPopup.java
27197         (show): Substract insets from scroller width.
27198         (getPopupHeightForRowCount): If height==0, return a default of 100
27199         instead for empty ComboBoxes.
27201 2006-03-18  Roman Kennke  <kennke@aicas.com>
27203         * javax/swing/plaf/basic/BasicLookAndFeel.java
27204         (PopupHelper.autoClosePopups): Removed field.
27205         (PopupHelper.mousePressed): Removed processing of registered
27206         autoclose popups.
27207         (registerForAutoClose): Removed unneeded method.
27208         (autoClosePopups): Removed unneeded method.
27209         (registerForAutoClose): Removed unneeded method.
27211 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27213         * javax.swing.JTable.java (TableTextField): Set border.
27214         (moveToCellBeingEdited): Do not adjust the editor boundaries
27216 2006-03-18  Michael Koch  <konqueror@gmx.de>
27218         * resource/gnu/java/locale/LocaleInformation_aa.properties,
27219         resource/gnu/java/locale/LocaleInformation_af.properties,
27220         resource/gnu/java/locale/LocaleInformation_am.properties,
27221         resource/gnu/java/locale/LocaleInformation_ar.properties,
27222         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
27223         resource/gnu/java/locale/LocaleInformation_be.properties,
27224         resource/gnu/java/locale/LocaleInformation_bg.properties,
27225         resource/gnu/java/locale/LocaleInformation_bn.properties,
27226         resource/gnu/java/locale/LocaleInformation_ca.properties,
27227         resource/gnu/java/locale/LocaleInformation_cs.properties,
27228         resource/gnu/java/locale/LocaleInformation_cy.properties,
27229         resource/gnu/java/locale/LocaleInformation_da.properties,
27230         resource/gnu/java/locale/LocaleInformation_de.properties,
27231         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
27232         resource/gnu/java/locale/LocaleInformation_dz.properties,
27233         resource/gnu/java/locale/LocaleInformation_en.properties,
27234         resource/gnu/java/locale/LocaleInformation_eo.properties,
27235         resource/gnu/java/locale/LocaleInformation_es.properties,
27236         resource/gnu/java/locale/LocaleInformation_et.properties,
27237         resource/gnu/java/locale/LocaleInformation_eu.properties,
27238         resource/gnu/java/locale/LocaleInformation_fa.properties,
27239         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
27240         resource/gnu/java/locale/LocaleInformation_fi.properties,
27241         resource/gnu/java/locale/LocaleInformation_fo.properties,
27242         resource/gnu/java/locale/LocaleInformation_fr.properties,
27243         resource/gnu/java/locale/LocaleInformation_ga.properties,
27244         resource/gnu/java/locale/LocaleInformation_gl.properties,
27245         resource/gnu/java/locale/LocaleInformation_gu.properties,
27246         resource/gnu/java/locale/LocaleInformation_he.properties,
27247         resource/gnu/java/locale/LocaleInformation_hi.properties,
27248         resource/gnu/java/locale/LocaleInformation_hr.properties,
27249         resource/gnu/java/locale/LocaleInformation_hu.properties,
27250         resource/gnu/java/locale/LocaleInformation_hy.properties,
27251         resource/gnu/java/locale/LocaleInformation_id.properties,
27252         resource/gnu/java/locale/LocaleInformation_is.properties,
27253         resource/gnu/java/locale/LocaleInformation_it.properties,
27254         resource/gnu/java/locale/LocaleInformation_ja.properties,
27255         resource/gnu/java/locale/LocaleInformation_ka.properties,
27256         resource/gnu/java/locale/LocaleInformation_km.properties,
27257         resource/gnu/java/locale/LocaleInformation_ko.properties,
27258         resource/gnu/java/locale/LocaleInformation_lo.properties,
27259         resource/gnu/java/locale/LocaleInformation_lt.properties,
27260         resource/gnu/java/locale/LocaleInformation_lv.properties,
27261         resource/gnu/java/locale/LocaleInformation_mk.properties,
27262         resource/gnu/java/locale/LocaleInformation_mr.properties,
27263         resource/gnu/java/locale/LocaleInformation_ms.properties,
27264         resource/gnu/java/locale/LocaleInformation_mt.properties,
27265         resource/gnu/java/locale/LocaleInformation_nb.properties,
27266         resource/gnu/java/locale/LocaleInformation_nl.properties,
27267         resource/gnu/java/locale/LocaleInformation_nn.properties,
27268         resource/gnu/java/locale/LocaleInformation_om.properties,
27269         resource/gnu/java/locale/LocaleInformation_pl.properties,
27270         resource/gnu/java/locale/LocaleInformation_ps.properties,
27271         resource/gnu/java/locale/LocaleInformation_pt.properties,
27272         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
27273         resource/gnu/java/locale/LocaleInformation_ro.properties,
27274         resource/gnu/java/locale/LocaleInformation_ru.properties,
27275         resource/gnu/java/locale/LocaleInformation_sk.properties,
27276         resource/gnu/java/locale/LocaleInformation_sl.properties,
27277         resource/gnu/java/locale/LocaleInformation_so.properties,
27278         resource/gnu/java/locale/LocaleInformation_sq.properties,
27279         resource/gnu/java/locale/LocaleInformation_sr.properties,
27280         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
27281         resource/gnu/java/locale/LocaleInformation_sv.properties,
27282         resource/gnu/java/locale/LocaleInformation_sw.properties,
27283         resource/gnu/java/locale/LocaleInformation_ta.properties,
27284         resource/gnu/java/locale/LocaleInformation_te.properties,
27285         resource/gnu/java/locale/LocaleInformation_th.properties,
27286         resource/gnu/java/locale/LocaleInformation_tr.properties,
27287         resource/gnu/java/locale/LocaleInformation_uk.properties,
27288         resource/gnu/java/locale/LocaleInformation_uz.properties,
27289         resource/gnu/java/locale/LocaleInformation_vi.properties,
27290         resource/gnu/java/locale/LocaleInformation_zh.properties,
27291         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
27292         Updated to use the new localized strings for currencies, languages,
27293         variants, territories, etc.
27295 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27297         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
27298         (start, end): Added comment about the negative values of them,
27299         (finish): Saves the input text in matchedCharIndexed,
27300         (toString): If the start or end index is out of bounds of the
27301         matched text, get the substring from matchedCharIndexed.
27302         Added special handlings in case start/end index < -1,
27303         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
27304         Added special handlings in case start/end index < -1,
27305         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
27306         found match, but keep the index as the original match.
27307         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
27308         found match, but keep the index as the original match.
27309         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
27310         in case start/end index < -1.
27311         
27312 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27314         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
27315         Set to false.   
27317 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
27318          
27319         * javax/swing/text/DefaultCaret.java:
27320         (mouseClicked) Use setDot() and moveDot() instead of
27321         JTextComponent.select().
27323 2006-03-17  Roman Kennke  <kennke@aicas.com>
27325         * javax/swing/plaf/metal/MetalComboBoxEditor.java
27326         (MetalComboBoxEditorBorder.paintBorder): Implemented special
27327         border painting for the Ocean theme.
27328         (MetalComboBoxEditor): Create editor directly instead of going
27329         to super.
27330         
27331 2006-03-17  Roman Kennke  <kennke@aicas.com>
27333         * javax/swing/text/JTextComponent.java
27334         (JTextComponent): Make text components opaque.
27336 2006-03-17  Roman Kennke  <kennke@aicas.com>
27338         * javax/swing/plaf/metal/MetalComboBoxUI.java
27339         (MetalComboBoxLayoutManager.layoutContainer): Forward to
27340         layoutComboBox().
27341         (MetalPropertyChangeListener.propertyChange): Update focusable
27342         flag according to the enable and editable state.
27343         (editablePropertyChanged): Removed unnecessary code.
27344         (getMinimumSize): Rewritten to correctly compute the
27345         size, respecting the insets of the components and the icon,
27346         the visual properties of the combobox, etc.
27347         (configureEditor): Update listeners correctly.
27348         (unconfigureEditor): Update listeners correctly.
27349         (layoutComboBox): Implemented.
27351 2006-03-17  Roman Kennke  <kennke@aicas.com>
27353         * javax/swing/plaf/metal/MetalComboBoxEditor.java
27354         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
27355         instead of Flush3DBorder.
27356         (paintBorder): Fixed border painting.
27357         (editorBorderInsets): Fixed border's insets.
27359 2006-03-17  Roman Kennke  <kennke@aicas.com>
27361         * javax/swing/plaf/metal/MetalComboBoxButton.java
27362         (rendererPane): Documented.
27363         (MetalComboBoxButton): Set enabled flag from ComboBox.
27364         Set focusable flag from ComboBox's enabled flag.
27365         (isFocusTraversable): Make button focus traversable if
27366         ComboBox is not editable but enable.
27367         (paintComponent): Fixed painting to correctly adjust
27368         the boxes of the renderer and button.
27370 2006-03-17  Roman Kennke  <kennke@aicas.com>
27372         * javax/swing/plaf/basic/BasicButtonUI.java
27373         (installDefaults): Only install UI margin if installed margin.
27374         is null or a UIResource.         
27375         (uninstallDefaults): Only uninstall margin if it's       
27376         a UIResource.    
27377          
27378  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
27379          
27380          * javax/swing/text/DefaultCaret.java:   
27381          (mouseClicked) Use setDot() and moveDot() instead of    
27382          JTextComponent.select().        
27384 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
27386         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
27387         inner classes into package-private inner classes, added actions
27388         for caret movement and selection to the next and previous word
27389         and an action which selects the whole text.
27391 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
27393         * javax/swing/Spring.java: Uncomment springdebug methods and
27394         rename them toString.
27395         * javax/swing/SpringLayout.java: Likewise.
27397 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
27399         * javax/swing/text/FieldView.java:
27400         (viewToModel): Added call to adjust allocation area.
27402 2006-03-17  Roman Kennke  <kennke@aicas.com>
27404         * javax/swing/plaf/basic/BasicComboBoxUI.java
27405         (mouseListener): Removed field.
27406         (buttonBackground): Removed field.
27407         (buttonShadow): Removed field.
27408         (buttonDarkShadow): Removed field.
27409         (buttonHighlight): Removed field.
27410         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
27411         (installUI): Initialize and configure renderer and editor here.
27412         (uninstallUI): Close popup before uninitializing.
27413         Message popup that we are uninitializing. Clear layout.
27414         (installDefaults): Install UI border. Don't install colors.
27415         (installListeners): Install listeners fetched from the popup.
27416         Remove handling of mouseListener.
27417         (uninstallDefaults): Uninstall border. Don't handle colors.
27418         (uninstallListeners): Don't handle mouseListener. Uninstall
27419         listener from the popup.
27420         (createMouseListener): Removed method.
27421         (createRenderer): Create UIResource.
27422         (installComponents): Cleaned up.
27423         (uninstallComponents): Only remove renderer when it is
27424         a UIResource.
27425         (addEditor): Remove editor before adding new one.
27426         Fetch editor from comboBox.
27427         (removeEditor): Only do something when editor != null. Unconfigure
27428         editor before removing.
27429         (configureEditor): Add key listener. Call comboBox.configureEditor.
27430         (unconfigureEditor): Removed key listener.
27431         (configureArrowButton): Only handle when arrowButton != null.
27432         Add mouse listeners to arrow button.
27433         (unconfigureArrowButton): Remove listeners.
27434         (createArrowButton): Don't handle colors here.
27435         (setPopupVisible): Don't handle focus here.
27436         (paint): Only paint when comboBox is not editable. Update
27437         hasFocus flag.
27438         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
27439         (getMinimumSize): Respect insets here.
27440         (getMaximumSize): Return preferredSize with width of 32767.
27441         (getInsets): Return ComboBox insets.
27442         (paintCurrentValue): Paint using currentValuePane.
27443         Install correct colors. Don't revalidate.
27444         (paintCurrentValueBackground): Implemented.
27445         (getDefaultSize): Reimplemented using a default renderer.
27446         (getDisplaySize): Reimplemented to use renderer.
27447         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
27448         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
27449         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
27450         (FocusHandler.focusGained): Don't invalidate minimumSize.
27451         (FocusHandler.focusLost): Don't invalidate minimumSize.
27452         Only close popup if focus change is not temporary.
27453         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
27454         Reconfigure editor if not null.
27455         (ListDataHandler.contentsChanged): Revalidate and reconfigure
27456         editor if necessary.
27457         (ListDataHandler.intervalAdded): Fixed updating of the display size.
27458         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
27459         (MouseHandler): Removed unnecessary class.
27461 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
27463         * examples/gnu/classpath/examples/swing/Demo.java:
27464         (Demo): Set default closing operation to shutdown the runtime.
27466 2006-03-17  Roman Kennke  <kennke@aicas.com>
27468         * javax/swing/plaf/basic/BasicComboPopup.java
27469         (BasicComboPopup): Create listeners here.
27470         Configure components here.
27471         (show): Correctly calculate bounds using computePopupBounds().
27472         Make scroller fixed-size. Removed special autocloser handling.
27473         (hide): Rewritten to use MenuSelectionHandler.
27474         (createList): Don't set selection mode here.
27475         (configureList): Correctly install colors and fonts and selectionMode.
27476         (createScroller): Set scrollpane policies.
27477         (configureScroller): Make scroller and scrollbar not-focusable.
27478         (configurePopup): Make popup opaque and borderPainted.
27479         (installComboBoxListeners): Don't install mouse listener on ComboBox.
27480         (delegateFocus): Implemented.
27481         (convertMouseEvent): Implemented.
27482         (updateListBoxSelectionForEvent): Implemented to also handle
27483         autoscrolling.
27484         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
27485         Only open popup on left mouse-click.
27486         (InvocationMouseHandler.mouseReleased): Rewritten.
27487         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
27488         support autoscrolling.
27489         (ItemHandler.itemStateChanged): Implemented to sync selection with
27490         the comboBox.
27491         (ListMouseHandler.mouseReleased): Fetch selected index directly
27492         from list.
27493         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
27494         the list box.
27495         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
27496         When model changes, then update listeners correctly.
27497         (uninstallListeners): Don't uninstall list listeners.
27498         (uninstallComboBoxListeners): Don't uninstall mouse listeners
27499         from comboBox.
27500         (syncSelection): New helper method.
27502 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
27504         * javax/swing/text/PlainView.java:
27505         (drawLine): Rewritten.
27506         (drawSelectedText): Corrected last argument for
27507         Utilities.drawTabbedText() call.
27508         (paint): Store start and end of selection in object variables,
27509         store constant values of for-loop in local variables.
27510         * javax/swing/text/Utilities.java:
27511         (drawTabbedText): Add 'pixelWidth' to the return value, store
27512         constant value of for-loop in local variable.
27514 2006-03-17  Roman Kennke  <kennke@aicas.com>
27516         * javax/swing/plaf/basic/BasicComboPopup.java
27517         (BasicComboPopup): Create listeners here.
27518         Configure components here.
27519         (show): Correctly calculate bounds using computePopupBounds().
27520         Make scroller fixed-size. Removed special autocloser handling.
27521         (hide): Rewritten to use MenuSelectionHandler.
27522         (createList): Don't set selection mode here.
27523         (configureList): Correctly install colors and fonts and selectionMode.
27524         (createScroller): Set scrollpane policies.
27525         (configureScroller): Make scroller and scrollbar not-focusable.
27526         (configurePopup): Make popup opaque and borderPainted.
27527         (installComboBoxListeners): Don't install mouse listener on ComboBox.
27528         (delegateFocus): Implemented.
27529         (convertMouseEvent): Implemented.
27530         (updateListBoxSelectionForEvent): Implemented to also handle
27531         autoscrolling.
27532         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
27533         Only open popup on left mouse-click.
27534         (InvocationMouseHandler.mouseReleased): Rewritten.
27535         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
27536         support autoscrolling.
27537         (ItemHandler.itemStateChanged): Implemented to sync selection with
27538         the comboBox.
27539         (ListMouseHandler.mouseReleased): Fetch selected index directly
27540         from list.
27541         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
27542         the list box.
27543         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
27544         When model changes, then update listeners correctly.
27545         (uninstallListeners): Don't uninstall list listeners.
27546         (uninstallComboBoxListeners): Don't uninstall mouse listeners
27547         from comboBox.
27548         (syncSelection): New helper method.
27550 2006-03-17  Roman Kennke  <kennke@aicas.com>
27552         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
27553         (noFocusBorder): Make border with insets of (1,1,1,1).
27554         (BasicComboBoxRenderer): Make renderer opaque.
27555         No need to explicitly set alignment.
27556         (getListCellRendererComponent): Rewritten to correctly initialize
27557         color and font.
27559 2006-03-17  Roman Kennke  <kennke@aicas.com>
27561         * javax/swing/JPopupMenu.java
27562         (setVisible): Handle JPopupMenu opening and closing via
27563         the MenuSelectionHandler.
27565 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
27567         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
27568         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
27569         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
27570         Likewise.       
27571         * org/omg/CORBA/portable/RemarshalException.java: Likewise
27572         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
27573         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
27574         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
27575         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
27576         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
27577         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
27578         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
27579         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
27580         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
27582 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27584         * java/rmi/activation/Activatable.java: Implemented.
27585         java/rmi/activation/ActivationDesc.java: Implemented.
27586         java/rmi/activation/ActivationGroup.java: Implemented.
27587         java/rmi/activation/ActivationGroupDesc.java: Implemented.
27588         java/rmi/activation/ActivationID.java: Implemented.
27589         java/rmi/activation/ActivationSystem.java: Implemented.
27590         * gnu/java/rmi/server/UnicastServerRef.java 
27591         (exportObject, incommingMessageCall): Documented.
27592         * java/rmi/activation/package.html: Documented.
27593         * java/rmi/server/ObjID.java (objNum, space): Made package
27594         protected.
27595         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
27596         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
27597         Iteration bug fix.
27598         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
27599         gnu/java/rmi/activation/BidiTable.java: New file.
27600         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
27601         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
27602         gnu/java/rmi/server/ActivatableServerRef.java: New file.
27604 2006-03-17  Mark Wielaard  <mark@klomp.org>
27606         * java/security/BasicPermission.java (BasicPermission): Check
27607         name equals empty string to force NullPointerException.
27609 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27611         PR classpath/26606
27612         Commit patch by Caolan McNamara  <caolanm@redhat.com>
27613         * javax/swing/Spring.java: Complete implementation
27614         * javax/swing/SpringLayout.java: Likewise.
27616 2006-03-16  Keith Seitz  <keiths@redhat.com>
27618         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27619         all references.
27620         (run): Remove catch clause for InterruptedException. It is no
27621         longer necessary.
27623 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27626         (getFontMetrics): Handle monospaced fonts specially.
27628 2006-03-16  Keith Seitz  <keiths@redhat.com>
27630         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27631         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27632         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27633         Don't suspend the current thread unless it is not part of the JDWP
27634         thread group.
27636 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27638         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27639         return 0.
27640         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27641         font metrics through toolkit.
27642         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27643         Likewise.
27644         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27645         (getFontMetrics): To calculate Java logical ascent and descent
27646         values, average Pango ink and logical values.
27648 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
27650         * java/lang/Character.java: Updated header comment.
27652 2006-03-16  Tom Tromey  <tromey@redhat.com>
27654         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27655         constructor.
27656         * javax/sound/sampled/FloatControl.java: Now abstract.
27657         * javax/sound/sampled/EnumControl.java: Now abstract.
27658         * javax/sound/sampled/CompoundControl.java: Now abstract.
27659         * javax/sound/sampled/BooleanControl.java: Now abstract.
27661 2006-03-16  Tom Tromey  <tromey@redhat.com>
27663         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27665 2006-03-16  Roman Kennke  <kennke@aicas.com>
27667         * java/util/zip/ZipFile.java
27668         (openFile): New helper method.
27669         (ZipFile): Use new openFile method to ensure the proper
27670         exception is thrown. This applies for all overloaded constructors.
27672 2006-03-16  Roman Kennke  <kennke@aicas.com>
27674         * java/text/DateFormatSymbols.java
27675         (setAmPmStrings): Added null check and throw NPE.
27676         (setEras): Likewise.
27677         (setLocalPatternChars): Likewise.
27678         (setMonths): Likewise.
27679         (setShortMonths): Likewise.
27680         (setShortWeekdays): Likewise.
27681         (setWeekdays): Likewise.
27682         (setZoneStrings): Likewise.
27684 2006-03-16  Roman Kennke  <kennke@aicas.com>
27686         * javax/swing/DefaultDesktopManager.java
27687         (iconifyFrame): Repaint after removing the frame.
27688         (removeIconFor): Repaint after removing the icon.
27690 2006-03-16  Roman Kennke  <kennke@aicas.com>
27692         * javax/swing/JInternalFrame.java
27693         (remove): Respect the rootPaneCheckingEnabled flag here.
27695 2006-03-16  Roman Kennke  <kennke@aicas.com>
27697         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27698         Moved from examples into gnu.javax.swing.. namespace.
27699         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27700         Moved to gnu.javax.swing.. namespace.
27701         * examples/gnu/classpath/examples/swing/Demo.java:
27702         (themesMenu): New field. Used to disable theme switch in
27703         non-Metal-L&Fs.
27704         (mkMenuBar): Added L&F menu.
27705         (ChangeThemeAction.actionPerformed): Only switch theme when
27706         in Metal L&F.
27707         (ChangeLAFAction): New class used for changing themes.
27708         * javax/swing/UIManager.java
27709         (installed): Added GNU L&F as installed L&F.
27711 2006-03-16  Mark Wielaard  <mark@klomp.org>
27713         * examples/gnu/classpath/examples/swing/badge.png: Removed.
27714         * examples/gnu/classpath/examples/icons/badge.png: Added.
27715         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27716         from icon directory.
27718 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27720         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27721         example.
27722         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27723         * examples/gnu/classpath/examples/awt/Demo.java: Add
27724         AnimationApplet demo.
27725         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27726         demo.
27728 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27730         PR classpath/26486
27731         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27732         method.
27733         (handleEvent): Likewise.
27734         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27735         Remove field.
27736         (beginNativeRepaint): Remove method.
27737         (endNativeRepaint): Likewise.
27738         (handleEvent): Call paintComponent and updateComponent.
27739         (paintComponent): New method.
27740         (updateComponent): Likewise.
27741         (repaint): Return early if width or height is less than one.
27742         (postExposeEvent): Remove isInRepaint reference.
27743         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27744         Remove method.
27745         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27746         from GtkWindowPeer.
27747         (postMouseEvent): Likewise.
27748         (postExposeEvent): Likewise.
27749         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27750         Override to do nothing.
27751         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27752         from GtkWindowPeer.
27753         (postMouseEvent): Likewise.
27754         (postExposeEvent): Likewise.
27755         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27756         paint and update handling from GtkComponentPeer.
27757         (updateComponent): Override to call paintComponent.
27758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27759         gdk_flush calls with schedule_flush calls.
27760         (flush): New function.
27761         (schedule_flush): Likewise.
27763 2006-03-15  Tom Tromey  <tromey@redhat.com>
27765         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27766         constructor.
27767         (BCSIterator): Likewise.
27768         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27769         New constructor.
27770         (BCSSProxyServiceProvider): Likewise.
27771         (BCSSServiceProvider): Likewise.
27773 2006-03-15  Tom Tromey  <tromey@redhat.com>
27775         * javax/sound/midi/Track.java (Track): New constructor.
27776         (events): Now package-private.
27777         * javax/sound/midi/MidiUnavailableException.java
27778         (MidiUnavailableException): Removed invalid constructors.
27779         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27780         * javax/sound/midi/InvalidMidiDataException.java
27781         (InvalidMidiDataException): Removed invalid constructors.
27782         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27783         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27784         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27785         (SYSTEM_EXCLUSIVE): Removed.
27786         (getDataLength): Updated.
27787         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27788         (equals): Now final
27789         (getName): Now final.
27790         (getVendor): Now final.
27791         (getDescription): Likewise.
27792         (hashCode): Likewise.
27793         (getVersion): Likewise.
27794         (toString): Likewise.
27795         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27796         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27797         (getEarlyReflectionDelay): Likewise.
27798         (getEarlyReflectionIntensity): Likewise.
27799         (getLateReflectionDelay): Likewise.
27800         (getLateReflectionIntensity): Likewise.
27801         (toString): Likewise.
27802         * javax/sound/sampled/Port.java (toString): Now final.
27803         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27804         (getLine): Likewise.
27805         (getType): Likewise.
27806         * javax/sound/sampled/Mixer.java (Info): Now protected.
27807         (getDescription): Now final.
27808         (getName): Likewise.
27809         (getVendor): Likewise.
27810         (getVersion): Likewise.
27811         (toString): Likewise.
27812         * javax/sound/sampled/Control.java: Now abstract.
27813         (Type.toString): Now final.
27815 2006-03-15  Keith Seitz  <keiths@redhat.com>
27817         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27818         of this redundant variable.
27819         (LineTable): Assert that the number of line numbers and the number of
27820         code indicies is the same.
27822 2006-03-15  Tom Tromey  <tromey@redhat.com>
27824         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27825         final.
27826         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27827         fix.
27828         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27829         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27830         * java/util/zip/Inflater.java (end): Not deprecated.
27831         * java/util/zip/Deflater.java (end): Not deprecated.
27832         * java/text/Bidi.java (Bidi): Now final.
27833         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27835 2006-03-15  Keith Seitz  <keiths@redhat.com>
27837         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27838         (Location): Index is a long, not an int.
27839         (getMethod): New method.
27840         (getIndex): New method.
27841         (toString): New method.
27843 2006-03-15  Tom Tromey  <tromey@redhat.com>
27845         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27846         * java/awt/image/LookupOp.java (filter): Now final.
27847         (getBounds2D): Likewise.
27848         (getPoint2D): Likewise.
27849         (getTable): Likewise.
27850         (getRenderingHints): Likewise.
27851         * java/awt/image/ConvolveOp.java (filter): Now final.
27852         (getBounds2D): Likewise.
27853         (getKernel): Likewise.
27854         (getPoint2D): Likewise.
27855         (getRenderingHints): Likewise.
27856         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27857         (getMatrix): Likewise.
27858         (getBounds2D): Likewise.
27859         (getRenderingHints): Likewise.
27860         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27861         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27862         private.
27863         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27864         protected.
27865         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27866         protected.
27867         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27869 2006-03-15  Keith Seitz  <keiths@redhat.com>
27871         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27872         Update javadoc.
27873         (matches): Implement.
27875 2006-03-15  Keith Seitz  <keiths@redhat.com>
27877         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27878         
27879         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27881 2006-03-15  Tom Tromey  <tromey@redhat.com>
27883         * java/lang/StrictMath.java (signum): New methods.
27885 2006-03-15  Tom Tromey  <tromey@redhat.com>
27887         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27889 2006-03-15  Lillian Angel  <langel@redhat.com>
27891         PR classpath/24211
27892         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27893         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27894         Added check to avoid segmentation fault.
27896 2006-03-15  Lillian Angel  <langel@redhat.com>
27898         * java/awt/Container.java
27899         (getComponentAt): Fixed documentation.
27900         (getComponentAt): Likewise.
27902 2006-03-15  Roman Kennke  <kennke@aicas.com>
27904         * javax/swing/JComponent.java
27905         (dragBuffer): New field.
27906         (dragBufferInitialized): New field.
27907         (paint): Added facility for buffered dragging of components.
27908         (initializeDragBuffer): New method.
27909         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27910         API docs.
27911         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27912         (BorderListener.mouseDragged): Turn on buffered dragging.
27913         (BorderListener.mouseReleased): Turn off buffered dragging.
27915 2006-03-15  Lillian Angel  <langel@redhat.com>
27917         * java/awt/Container.java
27918         (getComponentAt): Fixed documentation.
27919         (getComponentAt): Likewise.
27920         (findComponentAt): Likewise.
27921         (findComponentAt): Likewise.
27923 2006-03-15  Roman Kennke  <kennke@aicas.com>
27925         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27926         (PropertyChangeHandler.propertyChange): Call enableActions().
27927         Fixed 'iconable' property name.
27929 2006-03-15  Chris Burdess  <dog@gnu.org>
27931         Fixes PR 26700
27932         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27934 2006-03-15  Roman Kennke  <kennke@aicas.com>
27936         * examples/gnu/classpath/examples/swing/Demo.java:
27937         (desktop): New field.
27938         (mkMenuBar): Added new subdemos.
27939         (mkButtonWorld): Removed.
27940         (CheckCellRenderer): Moved to ListDemo.
27941         (LabelCellRenderer): Moved to ListDemo.
27942         (mkTreeWorld): Moved to TreeDemo.
27943         (mkDesktopWorld): Removed.
27944         (mkTabWorld): Moved to TabbedPaneDemo.
27945         (mkTabbedPane): Removed.
27946         (Demo): Replaced 'worlds' tabbed pane with desktop.
27947         (PopupAction): Made class non-static.
27948         (PopupAction.actionPerformed): Bring up subdemos in internal
27949         frame.
27950         (mkButtonBar): Added new demos.
27951         (createDesktop): New method.
27952         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27953         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27954         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27955         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27956         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27958 2006-03-15  Lillian Angel  <langel@redhat.com>
27959         
27960         * java/awt/Container.java
27961         (getComponentAt): Fixed mistake in comments.
27962         (getComponentAt): Likewise.
27963         (locate): Likewise. Also, handled lightweight components.
27964         Heavyweights take precedence over lightweights, so we should
27965         iterate through the heavyweights first.
27967 2006-03-15  Lillian Angel  <langel@redhat.com>
27969         * java/awt/Container.java
27970         (getComponentAt): Added API documentation.
27971         (getComponentAt): Likewise.
27972         (locate): Likewise. Also, removed lines to ignore
27973         invisible components.
27974         (findComponentAt): Added API documentation.
27975         (findComponentAt): Added API documentation.
27976         (findComponentForMouseEvent): Removed, never used.
27978 2006-03-15  Roman Kennke  <kennke@aicas.com>
27980         * javax/swing/Popup.java
27981         (LightweightPopup.show): Repaint the panel after showing it.
27983 2006-03-15  Lillian Angel  <langel@redhat.com>
27985         * java/awt/Component.java
27986         (show): repaint should only be called if the component
27987         isShowing and isLightweight.
27989 2006-03-15  Roman Kennke  <kennke@aicas.com>
27991         * javax/swing/JInternalFrame.java
27992         (setClosable): Made this property bound.
27993         (setResizable): Made this property bound.
27994         (setIconifiable): Made this property bound.
27995         (setMaximizable): Made this property bound.
27997 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27999         * javax/swing/table/TableColumn.java
28000         (sizeWidthToFit): Implemented.
28002 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
28004         * javax/swing/table/TableColumn.java: API docs updated all over, plus
28005         (setIdentifier): Fire required PropertyChangeEvent,
28006         (setCellEditor): Likewise.
28008 2006-03-15  Roman Kennke  <kennke@aicas.com>
28010         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
28011         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
28012         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
28013         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
28014         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
28015         * examples/gnu/classpath/examples/swing/SliderDemo.java,
28016         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
28017         * examples/gnu/classpath/examples/swing/TableDemo.java,
28018         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
28019         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
28020         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
28021         * examples/gnu/classpath/examples/swing/Demo.java:
28022         Cleaned up. Reworked handling of Sub-demos to load lazily.
28023         * examples/gnu/classpath/examples/swing/DemoFactory.java:
28024         New interface. Used for loading the subdemos lazily.
28026 2006-03-15  Roman Kennke  <kennke@aicas.com>
28028         * javax/swing/plaf/basic/BasicToolBarUI.java
28029         (PropertyListener.propertyChange): Added null check to avoid NPE.
28031 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28033         * javax/swing/table/TableColumn.java
28034         (COLUMN_WIDTH_PROPERTY): Updated API docs,
28035         (width): Likewise.
28036         (minWidth): Likewise,
28037         (preferredWidth): Likewise,
28038         (maxWidth): Likewise,
28039         (headerRenderer): Likewise,
28040         (cellRenderer): Likewise,
28041         (cellEditor): Likewise,
28042         (changeSupport): Likewise,
28043         (firePropertyChange(String, Object, Object)): Removed,
28044         (firePropertyChange(String, int. int)): Likewise,
28045         (firePropertyChange(String, boolean, boolean)): Likewise,
28046         (setModelIndex): Fire property change,
28047         (setHeaderValue): Call changeSupport directly to generate event,
28048         (setHeaderRenderer): Likewise,
28049         (setCellRenderer): Likewise,
28050         (setWidth): Likewise,
28051         (setPreferredWidth): Likewise,
28052         (setMinWidth): Likewise,
28053         (setMaxWidth): Likewise,
28054         (createDefaultHeaderRenderer): Added API docs.
28056 2006-03-14  Roman Kennke  <kennke@aicas.com>
28058         * examples/gnu/classpath/examples/swing/Demo.java
28059         Removed static initializer.
28060         (mkMenuBar): Made method non-static. Added themes menu.
28061         (ChangeThemeAction): New inner class, used to change themes.
28063 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28065         * javax/swing/table/TableColumn.java
28066         (setMaxWidth): Updated width and preferredWidth if necessary,
28067         (getMaxWidth): Updated API docs.
28069 2006-03-14  Roman Kennke  <kennke@aicas.com>
28071         * javax/swing/plaf/basic/BasicSliderUI.java
28072         (TrackListener.mouseDragged): Only process event when slider is
28073         enabled.
28074         (TrackListener.mouseReleased): Only process event when slider is
28075         enabled.
28076         (TrackListener.mousePressed): Only process event when slider is
28077         enabled.
28079 2006-03-14  Roman Kennke  <kennke@aicas.com>
28081         * NEWS: Added note about OceanTheme support.
28083 2006-03-14  Roman Kennke  <kennke@aicas.com>
28085         * javax/swing/plaf/metal/MetalIconFactory.java
28086         (HorizontalSliderThumbIcon.gradientMask): New field
28087         (HorizontalSliderThumbIcon.paintIcon): Added support for the
28088         OceanTheme.
28089         (VerticalSliderThumbIcon.gradientMask): New field
28090         (VerticalSliderThumbIcon.paintIcon): Added support for the
28091         OceanTheme.
28092         * javax/swing/plaf/metal/MetalUtils.java
28093         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
28094         (paintVerticalGradient): Fixed painting of 'masked' gradients.
28096 2006-03-14  Mark Wielaard  <mark@klomp.org>
28098         Fixes bug #26641
28099         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
28100         of handleMouseEvent.
28101         (handleMouseEvent): Return boolean to indicate whether we handled the
28102         event by passing it to a lightweight.
28104 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
28106         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
28107         * org/omg/PortableServer/ServantActivatorPOA.java,
28108         * org/omg/PortableServer/ServantLocatorPOA.java: 
28109         Make class abstract and minor api docs fixlets.
28110         * org/omg/PortableServer/ForwardRequest.java, 
28111         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
28112         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
28113         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
28114         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
28115         * org/omg/PortableServer/POAPackage/NoServant.java, 
28116         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
28117         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
28118         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
28119         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
28120         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
28121         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
28122         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
28123         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
28124         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
28125         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
28127 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
28129         * NEWS: Added entry about printing support.
28131 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28133         * javax/swing/table/TableColumn.java
28134         (COLUMN_WIDTH_PROPERTY): Updated API docs,
28135         (isResizable): Likewise,
28136         (setWidth): Likewise,
28137         (getWidth): Likewise,
28138         (setPreferredWidth): Likewise,
28139         (getPreferredWidth): Likewise,
28140         (setMinWidth): Check for negative argument and update width and 
28141         preferredWidth if necessary,
28142         (getMinWidth): Updated API docs.
28144 2006-03-14  Lillian Angel  <langel@redhat.com>
28145         
28146         * java/awt/Container.java
28147         (addImpl): Removed call to repaint. No need to repaint here.
28149 2006-03-14  Roman Kennke  <kennke@aicas.com>
28151         * javax/swing/plaf/metal/MetalSliderUI.java
28152         (paintTrack): Added OceanTheme support.
28154 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28156         * javax/swing/table/TableColumn.java
28157         (setResizable): Fire PropertyChangeEvent if the flag value changes,
28158         (isResizable): Updated API docs.
28160 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28162         * javax/swing/LookAndFeel.java: Updated API docs.
28164 2006-03-14  Roman Kennke  <kennke@aicas.com>
28166         * javax/swing/plaf/metal/MetalUtils.java
28167         (paintGradient): Added support for 'masked' gradients.
28168         (paintHorizontalGradient): Likewise.
28169         (paintVerticalGradient): Likewise.
28170         * javax/swing/plaf/metal/MetalIconFactory.java
28171         (RadioButtonIcon.gradientMask): New field.
28172         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
28174 2006-03-14  Mark Wielaard  <mark@klomp.org>
28176         Fixes bug #26645.
28177         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
28178         New field.
28179         (removeActionListener): Add listener to ComboBoxEditorListener.
28180         (removeActionListener): Remove listener from ComboBoxEditorListener.
28181         (ComboBoxEditorListener): New static helper class.
28183 2006-03-14  Roman Kennke  <kennke@aicas.com>
28185         * javax/swing/plaf/metal/MetalBorders.java
28186         (getToolBarButtonBorder): Don't create a UIResource border
28187         here.
28188         * javax/swing/plaf/metal/MetalToolBarUI.java
28189         (installUI): New overridden method. Installs the rollover property.
28190         (uninstallUI): New overridden method. Resets the rollover property.
28191         * javax/swing/plaf/metal/MetalUtils.java
28192         (paintGradient): Fetch Float values from the UIManager. Adjusted
28193         method signatures accordingly.
28194         (paintHorizontalGradient): Adjusted signature to accept float
28195         instead of double.
28196         (paintVerticalGradient): Adjusted signature to accept float
28197         instead of double.
28198         * javax/swing/plaf/metal/OceanTheme.java
28199         (addCustomEntriesToTable): Added missing UIDefaults entries,
28200         except of Icons. Fixed gradient entries to use Float instead
28201         of Double.
28203 2006-03-14  Roman Kennke  <kennke@aicas.com>
28205         * javax/swing/JInternalFrame.java
28206         (JInternalFrame): Make JInternalFrame opaque.
28207         * javax/swing/JToolBarFrame.java
28208         (JToolBar): Make JToolBar opaque.
28210 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
28212         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
28213         * javax/swing/tree/TreePath.java: Likewise.
28215 2006-03-13  Tom Tromey  <tromey@redhat.com>
28217         * javax/swing/text/html/StyleSheet.java (removeAttributes):
28218         Genericized.
28219         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
28220         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
28222 2006-03-13  Keith Seitz  <keiths@redhat.com>
28224         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28225         (executeMethods): Output number of methods.
28227 2006-03-13  Roman Kennke  <kennke@aicas.com>
28229         * javax/swing/plaf/basic/BasicButtonUI.java
28230         (uninstallDefaults): Only uninstall border if it's a UIResource.
28231         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
28232         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
28233         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28234         (installUI): Don't touch the opaque flag of the glassPane and
28235         the frame. Don't invalidate.
28236         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28237         (installUI): Don't touch the opaque flag of the glassPane.
28238         * javax/swing/plaf/basic/BasicMenuBarUI.java
28239         (properyChangeListener): Made field private.
28240         (ChangeHandler): Made class private.
28241         (ContainerHandler): Made class private.
28242         (PropertyChangeHandler): Made class private.
28243         * javax/swing/plaf/basic/BasicMenuUI.java
28244         (MenuHandler): Made class private.
28245         (PropertyChangeHandler): Removed unneeded class.
28246         (MenuDragMouseHandler): Made class private.
28247         (MenuKeyHandler): Made class private.
28248         * javax/swing/plaf/basic/BasicPanelUI.java
28249         (installDefaults): Made method protected. Don't set opaque
28250         flag.
28251         * javax/swing/plaf/basic/BasicScrollBarUI.java
28252         (TrackListener.shouldScroll): Made method private.
28253         * javax/swing/plaf/basic/BasicSplitPaneUI.java
28254         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
28255         Made constructor package private.
28256         * javax/swing/plaf/basic/BasicTableHeaderUI.java
28257         (cellBorder): Made field private.
28258         * javax/swing/plaf/basic/BasicTextUI.java
28259         (installDefaults): Don't make component opaque.
28260         * javax/swing/plaf/basic/BasicToolBarUI.java
28261         (createNonRollOverBorder): Don't create UIResource border.
28262         (createRollOverBorder): Don't create UIResource border.
28263         (installComponents): Moved setRolloverBorders call here.
28264         (installDefaults): Moved setRolloverBorders call from here.
28265         (installUI): Don't make toolbar opaque.
28266         (setBorderToNonRollover): Handle AbstractButton instead of
28267         JButton here.
28268         (uninstallComponents): Don't nullify class fields here.
28270 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
28272         * javax/swing/SwingUtilities.java
28273         (calculateInnerArea): handle null component, and replace 
28274         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
28275         creation.
28277 2006-03-13  Roman Kennke  <kennke@aicas.com>
28279         * javax/swing/JColorChooser.java
28280         (updateUI): Don't call revalidate().
28281         * javax/swing/JComboBox.java
28282         (updateUI): Don't call invalidate().
28283         * javax/swing/JDesktopPane.java
28284         (updateUI): Don't call invalidate().
28285         * javax/swing/JFileChooser.java
28286         (updateUI): Don't call revalidate().
28287         * javax/swing/JMenu.java
28288         (updateUI): Don't call invalidate().
28289         * javax/swing/JMenuBar.java
28290         (updateUI): Don't call invalidate().
28291         * javax/swing/JMenuItem.java
28292         (updateUI): Don't call invalidate().
28293         * javax/swing/JOptionPane.java
28294         (updateUI): Don't call invalidate().
28295         * javax/swing/JPopupMenu.java
28296         (updateUI): Don't call invalidate().
28297         * javax/swing/JProgressBar.java
28298         (updateUI): Don't call invalidate().
28299         * javax/swing/JScrollBar.java
28300         (updateUI): Don't call invalidate() and repaint().
28301         * javax/swing/JScrollPane.java
28302         (updateUI): Rewritten to be like the other updateUI()
28303         methods.
28304         * javax/swing/JSlider.java
28305         (updateUI): Don't call invalidate() and repaint().
28306         * javax/swing/JSplitPane.java
28307         (updateUI): Don't call invalidate() and repaint().
28308         * javax/swing/JTabbedPane.java
28309         (updateUI): Don't call invalidate().
28310         * javax/swing/JTable.java
28311         (updateUI): Don't call revalidate() and repaint().
28312         * javax/swing/JToolBar.java
28313         (updateUI): Don't call revalidate() and repaint().
28314         * javax/swing/JToolTip.java
28315         (updateUI): Don't call revalidate() and repaint().
28317 2006-03-13  Roman Kennke  <kennke@aicas.com>
28319         * javax/swing/SwingUtilities.java
28320         (updateComponentTreeUI): Rewritten to be more robust. Handling of
28321         menus and non-Swing components is improved.
28322         (updateComponentTreeUIImpl): New helper method.
28323         (replaceUIActionMap): Added check for uiActionMap==parent to
28324         avoid loop.
28325         (replaceUIInputMap): Added check for uiInputMap==parent to
28326         avoid loop.
28328 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
28330         * gnu/classpath/debug/Component.java: 
28331         (IPP) New component for IPP debugging. 
28332         (EVERYTHING): Adapted to include IPP.
28333         * javax/print/PrintServiceLookup.java: 
28334         (registerServiceProvider): New method.
28335         (registerService): Likewise.
28336         (lookupPrintServices): Likewise.
28337         (lookupMultiDocPrintServices): Likewise.
28338         (lookupDefaultPrintService): Likewise.
28339         (static_initializer): Likewise.
28340         (printServiceLookups): New field for found service providers.
28341         (printServices): New field for application registered providers.
28342         (systemProvider): New field for the system provider.    
28343         * javax/print/ServiceUI.java: New file. 
28344         * javax/print/package.html: Added more usage content.
28345         * javax/print/event/package.html: Likewise.
28346         * javax/print/attribute/package.html: Likewise.
28347         * javax/print/attribute/standard/package.html: Likewise.
28348         * gnu/javax/print/PrintUriException.java,
28349         gnu/javax/print/PrintFlavorException.java,
28350         gnu/javax/print/PrinterDialog.java,
28351         gnu/javax/print/PrintAttributeException.java,
28352         gnu/javax/print/CupsPrintServiceLookup.java,
28353         gnu/javax/print/CupsServer.java,
28354         gnu/javax/print/CupsPrintService.java,
28355         gnu/javax/print/CupsMediaMapping.java,
28356         gnu/javax/print/CupsIppOperation.java:
28357         New implementation files of the Java Print Service API.
28358         * gnu/javax/print/ipp/IppValueTag.java,
28359         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
28360         gnu/javax/print/ipp/IppStatusCode.java,
28361         gnu/javax/print/ipp/IppUtilities.java,
28362         gnu/javax/print/ipp/IppResponse.java,
28363         gnu/javax/print/ipp/IppException.java,
28364         gnu/javax/print/ipp/IppPrintService.java,
28365         gnu/javax/print/ipp/IppRequest.java,
28366         gnu/javax/print/ipp/IppMultiDocPrintService.java,
28367         gnu/javax/print/ipp/IppDelimiterTag.java,
28368         gnu/javax/print/ipp/DocPrintJobImpl.java:
28369         New files of the IPP client implementation.
28370         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
28371         gnu/javax/print/ipp/attribute/StatusMessage.java,
28372         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
28373         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
28374         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
28375         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
28376         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
28377         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
28378         New attribute syntax/role files of the printing implementation.
28379         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
28380         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
28381         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
28382         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
28383         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
28384         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
28385         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
28386         gnu/javax/print/ipp/attribute/supported/
28387         OrientationRequestedSupported.java, 
28388         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
28389         gnu/javax/print/ipp/attribute/supported/
28390         MultipleDocumentHandlingSupported.java, 
28391         gnu/javax/print/ipp/attribute/supported/
28392         MultipleDocumentJobsSupported.java, 
28393         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
28394         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
28395         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
28396         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
28397         gnu/javax/print/ipp/attribute/supported/
28398         GeneratedNaturalLanguageSupported.java,
28399         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
28400         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
28401         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
28402         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
28403         New supported attribute files.
28404         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
28405         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
28406         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
28407         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
28408         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
28409         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
28410         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
28411         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
28412         New printer description attribute files.
28413         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
28414         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
28415         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
28416         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
28417         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
28418         gnu/javax/print/ipp/attribute/job/JobId.java,
28419         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
28420         gnu/javax/print/ipp/attribute/job/JobUri.java,
28421         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
28422         New job description attribute files.
28423         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
28424         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
28425         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
28426         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
28427         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
28428         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
28429         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
28430         gnu/javax/print/ipp/attribute/defaults/
28431         MultipleDocumentHandlingDefault.java,
28432         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
28433         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
28434         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
28435         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
28436         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
28437         New default printing attribute files.
28438         * resource/gnu/javax/print/PrinterDialog.properties: New file.
28439         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
28440         * examples/gnu/classpath/examples/print/Demo.java: 
28441         New demo application of the current implemented functionality.
28443 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28445         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
28446         java/rmi/activation/ActivationDesc.java.java,
28447         java/rmi/activation/ActivationGroup.java,
28448         java/rmi/activation/ActivationID.java,
28449         java/rmi/activation/ActivationMonitor.java,
28450         java/rmi/activation/ActivationSystem.java,
28451         java/rmi/activation/package.html: Documenting.
28453 2006-03-13  Roman Kennke  <kennke@aicas.com>
28455         * javax/swing/JInternalFrame.java
28456         (setSelected): Repaint frame when it is showing and the selection
28457         state changes.
28459 2006-03-13  Roman Kennke  <kennke@aicas.com>
28461         * javax/swing/AbstractButton.java
28462         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
28463         instead of null.
28465 2006-03-13  Roman Kennke  <kennke@aicas.com>
28467         * javax/accessibility/AccessibleContext.java
28468         (getAccessibleRelationSet): Return empty set instead of null.
28470 2006-03-13  Roman Kennke  <kennke@aicas.com>
28472         * javax/swing/ImageIcon.java
28473         (loadImage): Remove completed images from the MediaTracker. This
28474         avoids a potential memory leak.
28476 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
28478         * javax/print/MultiDocPrintService.java, 
28479         * javax/print/MultiDocPrintJob.java, 
28480         * javax/print/MultiDoc.java: Added and enhanced documentation.
28482 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28484         * java/rmi/activation/ActivationID.java (uid): New field.
28485         (writeExternal, readExternal): New methods. 
28486         (equals, hashCode): Rewritten.
28487         * java/rmi/activation/ActivationInstantiator.java,
28488         * java/rmi/activation/ActivationSystem.java,
28489         * java/rmi/activation/Activator.java,
28490         * java/rmi/activation/Activatable.java,
28491         * java/rmi/activation/ActivationGroup.java,
28492         * java/rmi/activation/ActivationGroupDesc.java: 
28493         Documented and autoformatted.
28494         * java/rmi/activation/package.html: Added content.
28495         
28496 2006-03-12  Chris Burdess  <dog@gnu.org>
28498         Fixes PR 26652
28499         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
28500           encoding are specified.
28502 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
28504         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
28505         (changeEvent): Initialise in fireStateChange(),
28506         (setSelectedIndex): Check if change is made before firing event,
28507         (clearSelection): Delegate to setSelectedIndex(),
28508         (fireStateChanged): Initialise changeEvent if necessary,
28509         * javax/swing/SingleSelectionModel.java: API docs all over.
28511 2006-03-11  Tom Tromey  <tromey@redhat.com>
28513         * java/util/zip/InflaterInputStream.java: Reverted previous
28514         patch.
28516 2006-03-11  Mark Wielaard  <mark@klomp.org>
28518         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
28519         Compare name.
28521 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
28523         * javax/swing/event/TreeSelectionEvent.java
28524         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
28525         not one of the added/removed paths,
28526         (cloneWithSource): Reformatted.
28528 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
28530         * javax/swing/tree/TreeCellEditor.java: Added API docs,
28531         * javax/swing/tree/TreeCellRenderer.java: Likewise.
28533 2006-03-10  Casey Marshall  <csm@gnu.org>
28535         Fixes PR 23768.
28536         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
28537         reset `state.'
28538         (doFinal, update): new methods.
28539         (init, init, init, init): initialize `state' after trying the
28540         implementation, which can throw an exception.
28541         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
28542         methods.
28544 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
28546         * gnu/regexp/BacktrackStack.java: New file.
28547         * gnu/regexp/RE.java(findMatch): New method.
28548         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
28549         REMatchList): Removed. (backtrackStack): New field.
28550         * gnu/regexp/REToken.java(match): Changed from an abstract
28551         method to an ordinary method defined with the new method
28552         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
28553         findFixedLengthMatches, backtrack, toString): New methods.
28554         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
28555         * gnu/regexp/RETokenBackRef.java: Likewise.
28556         * gnu/regexp/RETokenChar.java: Likewise.
28557         * gnu/regexp/RETokenEnd.java: Likewise.
28558         * gnu/regexp/RETokenEndSub.java: Likewise.
28559         * gnu/regexp/RETokenIndependent.java: Likewise.
28560         * gnu/regexp/RETokenLookAhead.java: Likewise.
28561         * gnu/regexp/RETokenLookBehind.java: Likewise.
28562         * gnu/regexp/RETokenNamedProperty.java: Likewise.
28563         * gnu/regexp/RETokenPOSIX.java: Likewise.
28564         * gnu/regexp/RETokenRange.java: Likewise.
28565         * gnu/regexp/RETokenStart.java: Likewise.
28566         * gnu/regexp/RETokenWordBoundary.java: Likewise
28567         * gnu/regexp/RETokenOneOf.java: Rewriten.
28568         * gnu/regexp/RETokenRepeated.java: Rewriten.
28570 2006-03-10  Roman Kennke  <kennke@aicas.com>
28572         * javax/swing/plaf/metal/MetalBorders.java
28573         (RolloverButtonBorder.paintBorder): Only call super here.
28574         * javax/swing/plaf/metal/MetalButtonListener.java
28575         (propertyChange): Only call super here.
28576         * javax/swing/plaf/metal/MetalButtonUI.java
28577         (update): Changed condition from isOpaque() to isContentAreaFilled()
28578         for the gradient fill.
28579         * javax/swing/plaf/metal/MetalToggleButtonUI.java
28580         (paintText): API doc fix. Makes paintText not deprecated as specified
28581         but adds comment that this is obsolete.
28582         * javax/swing/plaf/metal/MetalUtils.java
28583         (fillMetalPattern): Fixed condition so that the Java2D is not
28584         used when the noGraphics2D property is set.
28586 2006-03-10  Roman Kennke  <kennke@aicas.com>
28588         * javax/swing/plaf/metal/MetalLookAndFeel.java
28589         (createDefaultTheme): Set OceanTheme as default metal theme.
28591 2006-03-10  Roman Kennke  <kennke@aicas.com>
28593         * javax/swing/text/WrappedPlainView.java
28594         (metrics): Made field package private to avoid accessor method.
28595         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
28596         The drawLine (righly) interprets the y parameter as the baseline.
28597         * javax/swing/text/Utilities.java
28598         (getBreakLocation): Don't consider the offset. The returned value
28599         for getTabbedTextOffset is already relative to the offset.
28601 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
28603         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28604         (dateFormat): Made private.
28605         (put): Replace only the last occurance and the value.
28606         (putAll): Save one iteration. Clarified documentation.
28608 2006-03-10  Tom Tromey  <tromey@redhat.com>
28610         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28611         implementation.
28612         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28613         not '8'.
28615 2006-03-10  Lillian Angel  <langel@redhat.com>
28617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28618         (comboboxgroup_get_widget): New function.
28619         (removed): Fixed to use new function to get the correct widget.
28620         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28621         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28622         function.
28624 2006-03-10  Lillian Angel  <langel@redhat.com>
28626         * java/awt/GridBagLayout.java
28627         (ArrangeGrid): Added checks to determine if component
28628         is placed last in a row or column. If so, the location
28629         of the last component should be used to get the location
28630         of the current component.
28632 2006-03-10  Lillian Angel  <langel@redhat.com>
28634         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28635         (nativeSetCheckboxGroup): No need to use new function here.
28636         Should just pass in pointer.
28638 2006-03-10  Lillian Angel  <langel@redhat.com>
28640         * java/awt/GridBagLayout.java
28641         (distributeSizeAndWeight): Change else if to else. This
28642         allows for components to be added to a new row when 
28643         their gridheight is REMAINDER.
28645 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28647         * java/rmi/activation/ActivationDesc.java,
28648         java/rmi/activation/ActivationGroupID.java,
28649         java/rmi/activation/Activator.java,
28650         java/rmi/server/Operation.java,
28651         java/rmi/server/RemoteServer.java: Documented and formatted.
28653 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28655         * javax/swing/JToggleButton.java: Fixed API doc tags,
28656         * javax/swing/OverlayLayout.java: Likewise.
28658 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28660         * javax/swing/DefaultCellEditor.java
28661         (cancelCellEditing): Removed spurious API doc tag.
28663 2006-03-10  Lillian Angel  <langel@redhat.com>
28665         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28666         (create): Put checkbox widget into an event box so it paints properly.
28667         (connectSignals): Fixed to use new function.
28668         (nativeSetCheckboxGroup): Likewise.
28669         (gtkToggleButtonSetActive): Likewise.
28670         (gtkWidgetModifyFont): Likewise.
28671         (gtkButtonSetLabel): Likewise.
28672         (combobox_get_widget): New function.
28674 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28676         * javax/swing/text/rtf/package.html: New file.
28677         
28678 2006-03-10  Roman Kennke  <kennke@aicas.com>
28680         * javax/swing/plaf/metal/OceanTheme.java
28681         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28682         * javax/swing/plaf/metal/MetalScrollBarUI.java
28683         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28684         (paintThumbHorizontal): Added handling of OceanTheme.
28685         (paintThumbVertical): Added handling of OceanTheme.
28687 2006-03-10  Roman Kennke  <kennke@aicas.com>
28689         Reported by Fridjof Siebert <siebert@aicas.com>
28690         * java/awt/MediaTracker.java
28691         (removeImage): Only set prev to e when the the images of the
28692         entries are not the same. This avoids a potentially corrupt list.
28694 2006-03-10  Chris Burdess  <dog@gnu.org>
28696         PR 26620:
28697         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28698           checking while reindenting.
28700 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
28702         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28704 2006-03-09  Tom Tromey  <tromey@redhat.com>
28706         PR classpath/26585:
28707         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28708         subdir.  Added README.
28709         (install-data-local): Removed.
28710         (uninstall-local): Likewise.
28711         (EXTRA_DIST): Removed.
28713 2006-03-09  Tom Tromey  <tromey@redhat.com>
28715         PR classpath/26623:
28716         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28717         Renamed.
28718         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28719         Renamed.
28720         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28721         Renamed.
28722         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28723         Renamed.
28724         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28725         Renamed.
28726         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28727         Renamed.
28728         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28729         Renamed.
28730         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28731         Renamed.
28732         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28733         Renamed.
28734         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28735         Renamed.
28736         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28737         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28739 2006-03-09  Keith Seitz  <keiths@redhat.com>
28741         * gnu/classpath/jdwp/processor/MethodCommandSet.java
28742         (executeVariableTable): Use VMMethod instead of reflection.
28743         (executeLineTable): Likewise.
28744         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28745         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28746         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28747         (getLineTable): Removed. Now resides in VMMethod.
28748         (getVarTable): Likewise.
28749         (getAllClassMethods): New method.
28750         
28751 2006-03-09  Keith Seitz  <keiths@redhat.com>
28753         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28754         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28755         (ThreadStartEvent): Likewise.
28756         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28757         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28758         (ConditionalFilter): Likewise.
28759         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28760         (ExceptionOnlyFilter): Likewise.
28761         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28762         (FieldOnlyFilter): Likewise.
28763         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28764         (getSize): Likewise.
28765         (StepFilter): Likewise.
28766         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28767         * gnu/classpath/jdwp/transport/JdwpPacket.java
28768         (JdwpPacket): Likewise.
28769         (fromBytes): Likewise.
28770         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28771         (JdwpReplyPacket): Likewise.
28772         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28773         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28774         (getReferenceType): Likewise.
28775         (newObjectId): Likewise.
28776         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28777         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28778         (getFrames): Fix typo in parameter name and update javadoc.
28779         (getClassMethod): Update javadoc.
28781 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28783         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28784         * javax/swing/event/TreeSelectionListener.java: Likewise.
28786 2006-03-09  Lillian Angel  <langel@redhat.com>
28788         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28789         (getHScrollbarHeight): Fixed property name.
28790         (getVScrollbarHeight): Likewise.
28792 2006-03-09  Lillian Angel  <langel@redhat.com>
28794         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28795         (get_widget): New function.
28796         (gtkWidgetSetParent): Changed to use new function.
28797         (gtkWidgetSetCursorUnlocked): Likewise.
28798         (gtkWidgetSetSensitive): Likewise.
28799         (gtkWidgetRequestFocus): Likewise.
28800         (gtkWindowGetLocationOnScreen): Likewise.
28801         (gtkWidgetGetDimensions): Likewise.
28802         (gtkWidgetGetPreferredDimensions): Likewise.
28803         (setNativeBounds): Likewise.
28804         (gtkWidgetGetBackground): Likewise.
28805         (gtkWidgetGetForeground): Likewise.
28806         (gtkWidgetSetBackground): Likewise.
28807         (gtkWidgetSetForeground): Likewise.
28808         (setVisibleNativeUnlocked): Likewise.
28809         (isEnabled): Likewise.
28810         (isRealized): Likewise.
28811         (setNativeEventMask): Likewise.
28813 2006-03-09  Lillian Angel  <langel@redhat.com>
28815         PR Classpath\22163
28816         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28817         (create): Added combobox widget to an event box.
28818         (connectSignals): Added call to choice_get_widget to get the
28819         combobox out of the event box.
28820         (append): Likewise.
28821         (nativeRemoveAll): Likewise.
28822         (nativeRemove): Likwise.
28823         (nativeAdd): Likewise.
28824         (selectNative): Likewise.
28825         (choice_get_widget): New function.
28826         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28827         (create): Added list scroll window widget to an event box.
28828         (connectSignals): Changed call to use new function to get the
28829         correct widget out of the event box.
28830         (getWidgetModifyFont): Likewise.
28831         (getWidgetRequestFocus): Likewise.
28832         (append): Likewise.
28833         (add): Likewise.
28834         (delItems): Likewise.
28835         (select): Likewise.
28836         (deselect): Likewise.
28837         (getSize): Likewise.
28838         (getSelectedIndexes): Likewise.
28839         (makeVisible): Likewise.
28840         (setMultipleMode): Likewise.
28841         (list_get_widget): New function.
28842         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28843         (create): Added scrollpane to an eventbox.
28844         (setScrollPosition): Changed call to use new function to get the
28845         correct widget out of the event box.
28846         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28847         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28848         (getHScrollbarHeight): Likewise.
28849         (getVScrollbarWidth): Likewise.
28850         (setPolicy): Likewise.
28851         (scrollpane_get_widget): New function.
28852         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28853         (connectSignals): Changed call to use new function to get the
28854         correct widget out of the event box.
28855         (create): Added scrollbar to an eventbox.
28856         (setLineIncrement): Changed call to use new function to get the
28857         correct widget out of the event box.
28858         (setPageIncrement): Likewise.
28859         (setBarValues): Likewise.
28860         (scrollbar_get_widget): New function.
28861         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28862         (create): Added text area scroll window widget to an event box.
28863         (connectSignals): Changed call to use new function to get the
28864         correct widget out of the event box.
28865         (insert): Likewise.
28866         (replaceRange): Likewise.
28867         (gtkWidgetModifyFont): Likewise.
28868         (gtkWidgetRequestFocus): Likewise.
28869         (getHScrollbarHeight): Likewise.
28870         (getVScrollbarWidth): Likewise.
28871         (getCaretPosition): Likewise.
28872         (setCaretPosition):Likewise.
28873         (getSelectionStart): Likewise.
28874         (getSelectionEnd): Likewise.
28875         (select): Likewise.
28876         (setEditable): Likewise.
28877         (getText): Likewise.
28878         (setText): Likewise.
28879         (textarea_get_widget): New function.
28881 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28883         * java/rmi/dgc/VMID.java: 
28884         (equals, hashCode, static initializer): Rewritten.
28885         * java/rmi/dgc/package.html: Documented.
28886         
28887 2006-03-09  Mark Wielaard  <mark@klomp.org>
28889         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28890         New static field.
28891         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28892         (canCache): Likewise.
28893         (GtkClipboard): Take String argument.
28894         (getInstance): Removed.
28895         (getClipboardInstance, getSelectionInstance): New static methods.
28896         (setSystemContents): Make synchronized. Takes boolean argument.
28897         (initNativeState): Add clipboard and selection.
28898         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28899         (announceClipboardChange, announcePrimaryChange): New static field.
28900         (announce): Take GtkClipboard as argument.
28901         (run): Check which clipboard to announce change for.
28902         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28903         boolean field.
28904         (GtkSelection): Take GtkClipboard as argument.
28905         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28906         clipboard argument.
28907         (requestMimeTypes): Likewise.
28908         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28909         New method.
28910         * java/awt/Toolkit.java (getSystemSelection): Document.
28911         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28912         (cp_gtk_selection_instance): New var.
28913         (current_selection, owner): Removed.
28914         (clipboard_owner_change_cb): Use clipboard argument.
28915         (initNativeState): Store clipboard and selection instances. Cache
28916         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28917         and provideURIsID.
28918         (clipboard_get_func): Use clipboard argument.
28919         (clipboard_clear_func): Likewise. Always call method.
28920         (advertiseContent): Don't cache method ids here. Check whether to
28921         use clpboard or selection. Don't set owner or current_selection.
28922         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28923         (requestText, requestImage, requestURIs, requestBytes): Use extra
28924         boolean argument to select clipboard.
28925         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28926         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28927         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28928         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28930 2006-03-09  Keith Seitz  <keiths@redhat.com>
28932         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28933         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28934         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28935         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28936         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28937         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28938         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28939         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28940         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28942 2006-03-09  Mark Wielaard  <mark@klomp.org>
28944         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28945         bounds for index is valid.
28946         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28947         (paint): Likewise.
28948         (getCellBounds): Update documentation.
28950 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28952         * .classpath: added exclude pattern on source folders
28953         (Makefiles, README and .cvsignore)
28955 2006-03-08  Michael Koch  <konqueror@gmx.de>
28957         * java/net/Proxy.java (NO_PROXY): Made final.
28958         (equals): Likewise.
28959         (hashCode): Likewise.
28961 2006-03-08  Keith Seitz  <keiths@redhat.com>
28963         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28964         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28965         (getClassMethod): New method.
28967 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28969         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28970     
28971 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28973         * java/rmi/server/ObjID.java: Documented and autoformatted.
28975 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28977         PR 26584
28978         * tools/Makefile.am (install-data-local,
28979         uninstall-local): Install/uninstall the tools/README only.
28980         * tools/gnu/classpath/tools/giop/README: Updated.
28981         * tools/README: New file.
28983 2006-03-08  Lillian Angel  <langel@redhat.com>
28985         * java/awt/GridBagLayout.java
28986         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28987         then the next item should be set to current_y (not 0).
28989 2006-03-08  Lillian Angel  <langel@redhat.com>
28991         * java/awt/GridBagLayout.java
28992         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28993         in the bottom-most spot of the column, we need to place that component
28994         at the y-location of the other components in that row. If there are
28995         no other components in that row, then place it at y = 0.
28997 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28999         * javax/swing/ProgressMonitor.java: Updated API docs,
29000         * javax/swing/ProgressMonitorInputStream.java: Likewise.
29002 2006-03-08  Michael Koch  <konqueror@gmx.de>
29004         * java/net/InetSocketAddress.java
29005         (InetSocketAddress(String,int,resolve)): New private contructor.
29006         (InetSocketAddress(String,int)): Use new private constructor.
29007         (createUnresolved): New method.
29009 2006-03-07  Michael Koch  <konqueror@gmx.de>
29011         * gnu/java/net/DefaultProxySelector.java,
29012         java/net/Proxy.java, java/net/ProxySelector.java:
29013         New files.
29015 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29017         * java/rmi/server/UID.java (constructor): Assign last and time fields
29018         after pause.
29020 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29022         * java/rmi/server/UID.java: New file (replacing). 
29024 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
29026         * java/util/jar/Manifest.java: Removed unused imports.
29027         (CRLF): New constant.
29028         (read): Added method documentation.
29029         Use UTF-8 encoding instead of 8859_1.
29030         (write): Added method documentation.
29031         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
29032         (write_main_section): Replace PrintWriter arg with OutputStream.
29033         Replace JarException with IOException.
29034         (write_version_info): Likewise.
29035         (write_main_attributes): Likewise.
29036         (write_attribute_entry): Likewise.
29037         (write_individual_sections): Likewise.
29038         (write_entry_attributes): Likewise.
29039         (write_header): Replace PrintWriter arg with OutputStream.
29040         Re-implemented.
29042 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
29044         * javax/swing/tree/DefaultMutableTreeNode.java
29045         (getFirstChild): Updated API docs,
29046         (getLastChild): Likewise,
29047         (getChildAfter): Likewise,
29048         (getChildBefore): Likewise,
29049         (isNodeSibling): Return true if node == this,
29050         (getSiblingCount): Updated API docs,
29051         (getNextSibling): Likewise,
29052         (getPreviousSibling): Likewise,
29053         (isLeaf): Likewise,
29054         (getFirstLeaf): Likewise,
29055         (getLastLeaf): Likewise,
29056         (getNextLeaf): Implemented,
29057         (getPreviousLeaf): Implemented.
29059 2006-03-07  Tom Tromey  <tromey@redhat.com>
29061         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
29062         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
29063         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
29064         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
29065         field.
29067 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
29069         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
29070         (clone): Reimplemented,
29071         (add): Throw IllegalArgumentException if child is an ancestor,
29072         (remove(int)): Set child's parent to null,
29073         (remove(MutableTreeNode)): Check arguments and set child's parent to 
29074         null,
29075         (insert): Check allowsChildren flag, check for null argument, and
29076         check for a node that is an ancestor,
29077         (getIndex): Throw IllegalArgumentException for null argument,
29078         (setAllowsChildren): If setting to false, remove existing children,
29079         (removeAllChildren): Set parent to null for removed children.
29081 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
29083         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
29084         over.
29086 2006-03-06  Tom Tromey  <tromey@redhat.com>
29088         * java/lang/StrictMath.java (ulp): New methods.
29089         * java/lang/Math.java (ulp): New methods.
29091 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29093         * gnu/java/rmi/server/UnicastRef.java,
29094         * gnu/java/rmi/server/UnicastServer.java: Formatted.
29095         
29096 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29098         * gnu/java/rmi/server/CombinedClassLoader.java 
29099         (findClass, findLibrary, findResouce, findResources): check
29100         all loaders in array.
29101         
29102 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29104         PR 25526
29105         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
29106         (RefProtector):    new inner class. (dirty): Rewritten.
29107         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
29108         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
29109         new methods. (readExternal): Create LeaseRenewingTask if non local.
29110         * gnu/java/rmi/server/UnicastServer.java (objects):
29111         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
29112         (getExported): New method.
29113         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
29114         
29115 2006-03-06  Mark Wielaard  <mark@klomp.org>
29117         * doc/www.gnu.org/announce/20060306.wml: New file.
29118         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
29119         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
29120         
29121 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
29123         * javax/swing/plaf/metal/MetalLookAndFeel.java
29124         (initComponentDefaults): Use Boolean.TRUE for
29125         'CheckBoxMenuItem.borderPainted'.
29126         
29127 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
29129         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
29130         (dateFormat): Made private.
29131         (put): Replace only the last occurance and the value.
29132         (putAll): Reimplemented with the put method.
29133         
29134 2006-03-06  Lillian Angel  <langel@redhat.com>
29136         PR classpath/26569
29137         * java/awt/List.java
29138         (preferredSize): Return the size of the list if the peer is 
29139         null.
29140         * gnu/java/awt/peer/gtk/GtkListPeer.java
29141         (preferredSize): Code was returning the minimum size of the 
29142         list. Added adjustment to the width of the list so it is a 
29143         proper size.
29144         
29145 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
29147         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
29148         (getRequestProperty): Remove duplicated null check.
29149         * java/net/URLConnection.java:
29150         (URLConnection): Javadoc fix.
29151         (addRequestProperty): Likewise.
29152         (getDefaultRequestProperty): Likewise.
29153         (getHeaderField): Likewise.
29154         (getHeaderFieldDate): Likewise.
29155         (getHeaderFieldKey): Likewise.
29156         (getHeaderFields): Likewise.
29157         (getRequestProperties): Likewise.
29158         (getRequestProperty): Likewise.
29159         (setDefaultRequestProperty): Likewise.
29160         (setRequestProperty): Likewise.
29161         
29162 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29163       
29164         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
29165         * examples/gnu/classpath/examples/swing/Demo.java:
29166         (mkButtonBar): Changed layout manager to GridLayout, added entry for
29167         textarea example.
29168         (mkMenuBar): Added entry for text area example.
29169         
29170 2006-03-06  Tom Tromey  <tromey@redhat.com>
29172         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
29173         (FORMATTED_TEXT_FIELD): Likewise.
29174         
29175 2006-03-06  Tom Tromey  <tromey@redhat.com>
29177         * javax/swing/plaf/synth/SynthPainter.java: Finished.
29178         
29179 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29181         * examples/gnu/classpath/examples/swing/Demo.java:
29182         (mkMenuBar): Added menu entry that will display the VM's name,
29183         version and distributor.
29184         
29185 2006-03-06  Tom Tromey  <tromey@redhat.com>
29186          
29187         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
29188         Javadoc fix.
29189         (getName): Likewise.
29190         
29191 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
29193         * java/util/jar/Manifest.java: Removed unused imports.
29194         (CRLF): New constant.
29195         (read): Added method documentation.
29196         Use UTF-8 encoding instead of 8859_1.
29197         (write): Added method documentation.
29198         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
29199         (write_main_section): Replace PrintWriter arg with OutputStream.
29200         Replace JarException with IOException.
29201         (write_version_info): Likewise.
29202         (write_main_attributes): Likewise.
29203         (write_attribute_entry): Likewise.
29204         (write_individual_sections): Likewise.
29205         (write_entry_attributes): Likewise.
29206         (write_header): Replace PrintWriter arg with OutputStream.
29207         Re-implemented.
29208         
29209 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
29211         
29212         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
29213         API doc tag warnings,
29214         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
29215         
29216 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
29218         * gnu/java/net/protocol/file/Connection.java (unquote):
29219         Update position in buffer after decoding a unicode character
29220         outside of the basic plane.
29221         
29222 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
29224         * java/net/URI.java
29225         (quote): Pass Unicode characters outside the basic plane through.
29226         
29227 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29228        
29229         * javax/swing/plaf/basic/BasicTextUI.java:
29230         (damageRange): Rewritten if-expressions to correctly identify the
29231         break condition.
29233 2006-03-06  Mark Wielaard  <mark@klomp.org>
29235         * configure.ac: Set version to 0.90-generics.
29236         * NEWS: Fix typos.
29238 2006-03-06  Mark Wielaard  <mark@klomp.org>
29240         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
29241         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
29242         (isnan): Define explicitly isnan if it is not a macro.
29244 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29246         * javax/swing/text/GapContent.java:
29247         (insertString): Throw exception when argument is below
29248         zero.
29250 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29252         * javax/swing/text/PlainDocument.java:
29253         (insertUpdate): Extended if-expression, added
29254         code to generate another Element when newly inserted characters
29255         and old ones will be on the same line.
29257 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29259         * javax/swing/text/DefaultCaret.java:
29260         (mouseDragged): Do selection when shift is pressed.
29261         (mouseClicked): Implemented.
29263 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
29265         * javax/swing/text/PlainDocument.java: Fix copyright header,
29266         added author tags.
29267         (insertUpdate): Do not copy the whole document any more, added some
29268         more variables to prevent needless method calls.
29270 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
29272         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
29273         is required on Darwin.
29274         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
29275         (AM_CFLAGS): Likewise.
29277 2006-03-06  Mark Wielaard  <mark@klomp.org>
29279         * NEWS: Add updates for 0.90 release.
29281 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
29283         * javax/swing/text/GapContent.java:
29284         (insertString): Throw exception when argument is below
29285         zero.
29287 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29289         
29290         * javax/swing/filechooser/FileFilter.java:
29291         (accept): Fixed API doc tag,
29292        (getDescription): Likewise,
29293         * javax/swing/filechooser/FileView.java:       
29294         (isTraversable): Fixed API doc tag.
29296 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29298         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
29299         added API docs all over.
29301 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29303         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
29304         and corrected a bad API doc tag.
29306 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29308         * javax/swing/undo/StateEditable.java
29309         (restoreState): Fixed bad API doc tag,
29310         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
29311         AbstractUndoableEdit.java,
29312         * javax/swing/undo/UndoableEditSupport.java
29313         (createCompoundEdit): Fixed bad API doc tag,
29314         * javax/swing/undo/UndoManager.java
29315         (editToBeUndone): Fixed bad API doc tag,
29316         (editToBeRedone): Likewise.
29318 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29320         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
29321         * javax/swing/FocusManager.java: Likewise.
29324 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
29326         
29327         * javax/swing/plaf/metal/MetalComboBoxButton.java
29328         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
29329         JList)): Fixed API doc tag,
29330         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
29331         (createLayout): Fixed API doc warning.
29332         
29333 2006-03-05  Tom Tromey  <tromey@redhat.com>
29335         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
29336         ClassHelper.getUserName.
29337         * vm/reference/java/lang/reflect/Method.java (toString): Use
29338         ClassHelper.getUserName.
29339         (getUserTypeName): Removed.
29340         * gnu/java/lang/ClassHelper.java (getUserName): New method.
29341         * vm/reference/java/lang/reflect/Field.java (toString): Use
29342         ClassHelper.getUserName.
29344 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
29346         Fixes PR 22813
29347         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
29348         Allows directories as valid resources.
29350 2006-03-05  Mark Wielaard  <mark@klomp.org>
29352         * configure.ac (VERSION): Set to 0.90-pre-generics.
29353         * Merge with CVS trunk from classpath-0_90-branch-point.
29355 2006-03-04  Tom Tromey  <tromey@redhat.com>
29357         * javax/swing/SpringLayout.java (Constraints): New constructor.
29358         * javax/swing/Spring.java (width): New method.
29359         (height): Likewise.
29360         (scale): Likewise.
29362 2006-03-04  Mark Wielaard  <mark@klomp.org>
29364         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
29365         existing connection from pool before returning.
29367 2006-03-04  Mark Wielaard  <mark@klomp.org>
29369         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
29370         exceptions thrown by handlers while cleaning up and rethrow original
29371         exception.
29373 2006-03-04  Tom Tromey  <tromey@redhat.com>
29375         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
29376         method.
29377         (findConstructor): Likewise.
29378         (instantiateClass): Likewise.
29380 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29382         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
29383         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
29384         lease value and not always the default one.
29385         (LeaseRecord): Remember the array of objects, marked as dirty.
29386         java/rmi/dgc/Lease.java: Boilerplate fix.
29388 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
29390         * java/util/jar/Attributes.java (putValue): Made it public and updated
29391         method documentation.
29393 2006-03-04  Mark Wielaard  <mark@klomp.org>
29395         * java/awt/Container.java (remove(int)): Always call removeNotify()
29396         on removed Component.
29398 2006-03-04  Mark Wielaard  <mark@klomp.org>
29400         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
29401         * javax/swing/JEditorPane.java (setText): Check for empty String
29402         with equals(), not equality (==).
29404 2006-03-04  Mark Wielaard  <mark@klomp.org>
29406         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
29407         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
29409 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
29411         * javax/swing/text/GapContent.java
29412         (getArray): Mark as final.
29414 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
29416         * javax/swing/text/StyleConstants.java
29417         (CharacterConstants.Background): Marked final,
29418         (CharacterConstants.BidiLevel): Likewise,
29419         (CharacterConstants.Bold): Likewise,
29420         (CharacterConstants.ComponentAttribute): Likewise,
29421         (CharacterConstants.Family): Likewise,
29422         (CharacterConstants.Size): Likewise,
29423         (CharacterConstants.Foreground): Likewise,
29424         (CharacterConstants.IconAttribute): Likewise,
29425         (CharacterConstants.Italic): Likewise,
29426         (CharacterConstants.StrikeThrough): Likewise,
29427         (CharacterConstants.Subscript): Likewise,
29428         (CharacterConstants.Superscript): Likewise,
29429         (CharacterConstants.Underline): Likewise,
29430         (ColorConstants.Foreground): Likewise,
29431         (ColorConstants.Background): Likewise,
29432         (FontConstants.Bold): Likewise,
29433         (FontConstants.Family): Likewise,
29434         (FontConstants.Italic): Likewise,
29435         (FontConstants.Size): Likewise,
29436         (ParagraphConstants.Alignment): Likewise,
29437         (ParagraphConstants.FirstLineIndent): Likewise,
29438         (ParagraphConstants.LeftIndent): Likewise,
29439         (ParagraphConstants.LineSpacing): Likewise,
29440         (ParagraphConstants.Orientation): Likewise,
29441         (ParagraphConstants.RightIndent): Likewise,
29442         (ParagraphConstants.SpaceAbove): Likewise,
29443         (ParagraphConstants.SpaceBelow): Likewise,
29444         (ParagraphConstants.TabSet): Likewise.  
29446 2006-03-03  Tom Tromey  <tromey@redhat.com>
29448         * javax/net/ssl/SSLException.java: Added missing @since.
29449         Wrote javadoc.
29451 2006-03-03  Tom Tromey  <tromey@redhat.com>
29453         * javax/net/ssl/SSLException.java (SSLException): New constructors.
29454         (serialVersionUID): New field.
29456 2006-03-03  Tom Tromey  <tromey@redhat.com>
29458         * java/security/spec/InvalidKeySpecException.java
29459         (InvalidKeySpecException): New constructors.
29460         * java/security/cert/CertificateParsingException.java
29461         (CertificateParsingException): New constructors.
29462         * java/security/cert/CertificateEncodingException.java
29463         (CertificateEncodingException): New constructors.
29464         * java/security/cert/CertificateException.java (CertificateException):
29465         New constructors.
29466         * java/security/cert/CRLException.java (CRLException): New
29467         constructors.
29469 2006-03-03  Tom Tromey  <tromey@redhat.com>
29471         * java/security/SignatureException.java (SignatureException): New
29472         constructors.
29473         * java/security/ProviderException.java (ProviderException): New
29474         constructors.
29475         * java/security/NoSuchAlgorithmException.java
29476         (NoSuchAlgorithmException): New constructors.
29477         * java/security/KeyStoreException.java (KeyStoreException): New
29478         constructors.
29479         * java/security/KeyManagementException.java (KeyManagementException):
29480         New constructors.
29481         * java/security/InvalidKeyException.java (InvalidKeyException): New
29482         constructors.
29483         * java/security/KeyException.java (KeyException): New constructors.
29484         * java/security/InvalidAlgorithmParameterException.java
29485         (InvalidAlgorithmParameterException): New constructors.
29486         * java/security/DigestException.java (DigestException): New
29487         constructors.
29488         * java/security/GeneralSecurityException.java
29489         (GeneralSecurityException): New constructors.
29491 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29493         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
29494         warnings,
29495         * javax/swing/event/DocumentEvent.java: Likewise,
29496         * javax/swing/event/EventListenerList.java: Likewise,
29497         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
29498         * javax/swing/event/MenuKeyEvent.java: Likewise,
29499         * javax/swing/event/TableColumnModelEvent.java: Likewise,
29500         * javax/swing/event/TreeExpansionEvent.java: Likewise,
29501         * javax/swing/event/TreeModelEvent.java: Likewise,
29502         * javax/swing/event/TreeSelectionEvent.java: Likewise,
29503         * javax/swing/event/UndoableEditEvent.java: Likewise.
29505 2006-03-03  Tom Tromey  <tromey@redhat.com>
29507         * java/awt/Insets.java (set): New method.
29508         (equals): Added @since.
29510 2006-03-03  David Daney  <ddaney@avtrex.com>
29512         * gnu/java/net/protocol/http/HTTPURLConnection.java
29513         (getRequestProperties): Rewrote.
29514         (addRequestProperty): Rewrote.
29515         (getHeaderFields): Rewrote.
29516         (getHeaderField): Rewrote.
29517         (getHeaderFieldKey): Rewrote.
29518         (getHeaderField): Removed useless cast.
29519         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
29520         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
29521         interface.
29522         (notifyHeaderHandlers): Use new Headers interface.
29524 2006-03-03  Tom Tromey  <tromey@redhat.com>
29526         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
29527         * javax/naming/spi/ResolveResult.java,
29528         javax/naming/event/NamingExceptionEvent.java,
29529         javax/naming/event/NamingEvent.java,
29530         javax/naming/directory/SearchResult.java,
29531         javax/naming/directory/SearchControls.java,
29532         javax/naming/directory/SchemaViolationException.java,
29533         javax/naming/directory/NoSuchAttributeException.java,
29534         javax/naming/directory/ModificationItem.java,
29535         javax/naming/directory/InvalidSearchFilterException.java,
29536         javax/naming/directory/InvalidSearchControlsException.java,
29537         javax/naming/directory/InvalidAttributesException.java,
29538         javax/naming/directory/InvalidAttributeIdentifierException.java,
29539         javax/naming/directory/AttributeModificationException.java,
29540         javax/naming/directory/AttributeInUseException.java,
29541         javax/naming/TimeLimitExceededException.java,
29542         javax/naming/SizeLimitExceededException.java,
29543         javax/naming/PartialResultException.java,
29544         javax/naming/Reference.java,
29545         javax/naming/ServiceUnavailableException.java,
29546         javax/naming/OperationNotSupportedException.java,
29547         javax/naming/NotContextException.java,
29548         javax/naming/NoPermissionException.java,
29549         javax/naming/NoInitialContextException.java,
29550         javax/naming/NameNotFoundException.java,
29551         javax/naming/NameAlreadyBoundException.java,
29552         javax/naming/NameClassPair.java,
29553         javax/naming/MalformedLinkException.java,
29554         javax/naming/LinkLoopException.java,
29555         javax/naming/LinkException.java,
29556         javax/naming/LimitExceededException.java,
29557         javax/naming/InvalidNameException.java,
29558         javax/naming/InterruptedNamingException.java,
29559         javax/naming/InsufficientResourcesException.java,
29560         javax/naming/ContextNotEmptyException.java,
29561         javax/naming/ConfigurationException.java,
29562         javax/naming/CannotProceedException.java,
29563         javax/naming/CommunicationException.java,
29564         javax/naming/Binding.java,
29565         javax/naming/AuthenticationNotSupportedException.java,
29566         javax/naming/AuthenticationException.java: Added serialVersionUID.
29568 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29570         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
29572 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29574         * javax/swing/event/TableModelListener.java: Updated API docs.
29576 2006-03-03  Mark Wielaard  <mark@klomp.org>
29578         * java/awt/Component.java (addNotify): Expand documentation.
29580 2006-03-03  Mark Wielaard  <mark@klomp.org>
29582         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
29583         Always call setParentAndBounds().
29584         (setComponentBounds): Always call setBounds().
29585         (setBounds): Call setVisible().
29586         (setVisible): If no pixels are showing then don't make it visible.
29587         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
29588         to call setParentAndBounds() anymore.
29590 2006-03-03  Roman Kennke  <kennke@aicas.com>
29592         * javax/swing/JInternalFrame.java
29593         (JInternalFrame): Set frame invisible.
29594         (show): Reformatted.
29595         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29596         (installDefaults): Do not set invisible here.
29598 2006-03-03  Roman Kennke  <kennke@aicas.com>
29600         * java/awt/Toolkit.java
29601         (getScreenInsets): Return (0,0,0,0) here.
29603 2006-03-03  Roman Kennke  <kennke@aicas.com>
29605         * javax/swing/text/FlowView.java
29606         (FlowStrategy.layoutRow): Added check for rowCount == 0.
29607         (FlowStrategy.getLogicalView): Made method protected.
29609 2006-03-03  Chris Burdess  <dog@gnu.org>
29611         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29612           gnu/xml/validation/relaxng/AttributePattern.java,
29613           gnu/xml/validation/relaxng/ChoiceNameClass.java,
29614           gnu/xml/validation/relaxng/ChoicePattern.java,
29615           gnu/xml/validation/relaxng/DataPattern.java,
29616           gnu/xml/validation/relaxng/Define.java,
29617           gnu/xml/validation/relaxng/ElementPattern.java,
29618           gnu/xml/validation/relaxng/EmptyPattern.java,
29619           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29620           gnu/xml/validation/relaxng/Grammar.java,
29621           gnu/xml/validation/relaxng/GrammarException.java,
29622           gnu/xml/validation/relaxng/GrammarValidator.java,
29623           gnu/xml/validation/relaxng/GroupPattern.java,
29624           gnu/xml/validation/relaxng/InterleavePattern.java,
29625           gnu/xml/validation/relaxng/ListPattern.java,
29626           gnu/xml/validation/relaxng/NSNameNameClass.java,
29627           gnu/xml/validation/relaxng/NameClass.java,
29628           gnu/xml/validation/relaxng/NameNameClass.java,
29629           gnu/xml/validation/relaxng/NotAllowedPattern.java,
29630           gnu/xml/validation/relaxng/OneOrMorePattern.java,
29631           gnu/xml/validation/relaxng/Param.java,
29632           gnu/xml/validation/relaxng/Pattern.java,
29633           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29634           gnu/xml/validation/relaxng/RefPattern.java,
29635           gnu/xml/validation/relaxng/TextPattern.java,
29636           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29637           builder and data model.
29638         * gnu/xml/validation/xmlschema/AnyAttribute.java,
29639           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29640           gnu/xml/validation/xmlschema/AttributeUse.java,
29641           gnu/xml/validation/xmlschema/ComplexType.java,
29642           gnu/xml/validation/xmlschema/ElementDeclaration.java,
29643           gnu/xml/validation/xmlschema/Particle.java,
29644           gnu/xml/validation/xmlschema/ValidationException.java,
29645           gnu/xml/validation/xmlschema/XMLSchema.java,
29646           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29647           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29648           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29649           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29650           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29651           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29652           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29653           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29654           W3C XML Schema builder and schema components.
29655         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29656           XML Schema namespace URIs.
29658 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
29660         * NEWS: Add entry for --enable-collections.
29661         * configure.ac: Add --enable-collections option.
29662         * lib/Makefile.am (collections.jar): New target.
29663         (glibj_DATA): Add $(COLLECTIONS).
29664         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29665         configure substitution.
29666         (classpath): Read from command line.
29667         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
29669 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29671         * javax/swing/SpringLayout.java: Fixed API doc warnings.
29673 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29675         * javax/swing/event/ListSelectionEvent.java
29676         (toString): Implemented,
29677         plus updated API docs all over.
29679 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29681         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29682         API doc warnings,
29683         * javax/swing/event/ListSelectionListener.java: Updated API docs.
29685 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29687         * gnu/java/rmi/dgc/DGCImpl.java,
29688         java/rmi/dgc/DGC.java,
29689         java/rmi/dgc/Lease.java: Formatted and commented.
29691 2006-03-03  Roman Kennke  <kennke@aicas.com>
29693         * NEWS: Added comment about text highlighting and copy+paste
29694         in Swing.
29696 2006-03-03  Roman Kennke  <kennke@aicas.com>
29698         * javax/swing/JTabbedPane.java
29699         (remove(int)): Call super.remove(int) instead of remove(Component).
29700         Avoids a stack overflow.
29702 2006-03-03  Roman Kennke  <kennke@aicas.com>
29704         * javax/swing/JTable.java
29705         (distributeSpillResizing): Avoid ArithmeticException by checking
29706         divisor.
29708 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29710         * javax/swing/text/package.html: Added package description.
29712 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29714         * javax/swing/CellRendererPane.java: Minor API doc fix,
29715         * javax/swing/ComboBoxModel.java: Updated API docs.
29717 2006-03-03  Chris Burdess  <dog@gnu.org>
29719         Fixes PR 26503
29720         * gnu/xml/stream/EntityReferenceImpl.java,
29721           gnu/xml/stream/FilteredEventReader.java,
29722           gnu/xml/stream/SAXParser.java,
29723           gnu/xml/stream/XIncludeFilter.java,
29724           gnu/xml/stream/XMLEventAllocatorImpl.java,
29725           gnu/xml/stream/XMLEventFactoryImpl.java,
29726           gnu/xml/stream/XMLEventImpl.java,
29727           gnu/xml/stream/XMLEventReaderImpl.java,
29728           gnu/xml/stream/XMLEventWriterImpl.java,
29729           gnu/xml/stream/XMLInputFactoryImpl.java,
29730           gnu/xml/stream/XMLOutputFactoryImpl.java,
29731           gnu/xml/stream/XMLParser.java,
29732           javax/xml/stream/EventFilter.java,
29733           javax/xml/stream/Location.java,
29734           javax/xml/stream/StreamFilter.java,
29735           javax/xml/stream/XMLEventFactory.java,
29736           javax/xml/stream/XMLEventReader.java,
29737           javax/xml/stream/XMLEventWriter.java,
29738           javax/xml/stream/XMLInputFactory.java,
29739           javax/xml/stream/XMLOutputFactory.java,
29740           javax/xml/stream/XMLReporter.java,
29741           javax/xml/stream/XMLResolver.java,
29742           javax/xml/stream/XMLStreamConstants.java,
29743           javax/xml/stream/XMLStreamReader.java,
29744           javax/xml/stream/events/EntityDeclaration.java,
29745           javax/xml/stream/events/EntityReference.java,
29746           javax/xml/stream/events/XMLEvent.java,
29747           javax/xml/stream/util/EventReaderDelegate.java,
29748           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29749           StAX API as specified in JWSDP 2.0.
29750         * gnu/xml/stream/EndEntityImpl.java,
29751           gnu/xml/stream/LocationImpl.java,
29752           gnu/xml/stream/StartEntityImpl.java,
29753           gnu/xml/stream/XMLStreamReaderImpl.java,
29754           javax/xml/stream/XMLFilter.java,
29755           javax/xml/stream/XMLIterator.java,
29756           javax/xml/stream/events/EndEntity.java,
29757           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29759 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29761         * javax/swing/CellEditor.java: API doc updates,
29762         * javax/swing/DefaultCellEditor.java: Likewise.
29764 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29766         * javax/swing/AbstractListModel.java:
29767         (AbstractListModel): Added API docs,
29768         (fireContentsChanged): Minor API doc correction,
29769         (fireIntervalAdded): Likewise,
29770         (fireIntervalRemoved): Likewise.
29772 2006-03-03  Roman Kennke  <kennke@aicas.com>
29774         * NEWS: Added paragraph about Swing improvements.
29776 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29778         * javax/swing/AbstractAction.java: Updated API docs all over,
29779         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29780         (stopCellEditing): Minor API doc correction,
29781         * javax/swing/UnsupportedLookAndFeelException.java
29782         (UnsupportedLookAndFeelException): Changed argument name, updated API
29783         docs.
29785 2006-03-03  Roman Kennke  <kennke@aicas.com>
29787         * javax/swing/plaf/metal/MetalUtils.java
29788         (fillMetalPattern): Added switch to not use Graphics2D methods,
29789         even if they are available.
29791 2006-03-03  Roman Kennke  <kennke@aicas.com>
29793         * javax/swing/plaf/basic/BasicHTML.java
29794         (isHTMLString): Check for string beeing null.
29795         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29796         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29797         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29798         (InternalFrameLayout): Don't touch the glass pane here.
29799         (installUI): Fix handling of glass pane.
29800         * javax/swing/plaf/basic/BasicLabelUI.java
29801         (vr): New field.
29802         (ir): New field.
29803         (tr): New field.
29804         (BasicLabelUI): Initialize new fields.
29805         (getPreferredSize): Avoid creating new Rectangles by using
29806         SwingUtilities method.
29807         (paint): Avoid creating new Rectangles by reusing
29808         new fields. Added some preliminary handling of HTML inside the
29809         label.
29810         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29811         (uninstallComponents): Clear HTML renderer.
29812         (propertyChange): Check for HTML text and install renderer if
29813         appropriate.
29814         * javax/swing/plaf/basic/BasicListUI.java
29815         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29816         method.
29817         * javax/swing/plaf/basic/BasicTextUI.java
29818         (RootView.getStartOffset): Implemented.
29819         (RootView.getEndOffset): Implemented.
29820         (RootView.getDocument): Implemented.
29822 2006-03-03  Roman Kennke  <kennke@aicas.com>
29824         * javax/swing/text/DefaultStyledDocument.java
29825         (ElementBuffer.inserUpdate): Added check for zero-length
29826         element.
29827         * javax/swing/text/DefaultStyledDocument.java
29828         (setIndex): Improved exception message.
29829         * javax/swing/text/TableView.java
29830         Made class abstract.
29831         (TableRow.replace): Probably extend columnRequirements
29832         arrays.
29833         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29834         of super.layoutMajorAxis.
29835         (columnRequirements): Made field package private.
29836         (TableView): Do not load any child views here.
29837         (layoutColumns): Implemented this method.
29838         (updateColumnRequirements): New helper method.
29839         * javax/swing/text/Utilities.java
29840         (getBreakLocation): Also take offset into account when
29841         finding end location.
29842         * javax/swing/text/html/HTMLDocument.java
29843         (HTMLReader.parseStack): New field.
29844         (HTMLReader.blockOpen): Properly handle p-implied tags.
29845         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29846         (HTMLReader.addContent): Insert p-implied when adding content to
29847         a block element.
29848         * javax/swing/text/html/HTMLEditorKit.java
29849         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29850         ParagraphView for TD tags. Print out warning for tags that don't have
29851         matching view yet and create NullView for them.
29852         (read): Only set document base when document != null.
29853         * javax/swing/text/html/HTMLTableView.java:
29854         New class
29856 2006-03-03  Roman Kennke  <kennke@aicas.com>
29858         * javax/swing/plaf/basic/BasicHTML.java
29859         (HTMLRootView): New inner class.
29860         (createHTMLView): Embed view inside a HTMLRootView.
29862 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29864         * gnu/java/net/protocol/jar/Connection.java: 
29865         (connect): Throw FileNotFoundException.
29866         (getInputStream): Remove duplicated code.
29868 2006-03-03  Roman Kennke  <kennke@aicas.com>
29870         * javax/swing/RepaintManager.java
29871         (commitBuffer): Added null check for clip.
29873 2006-03-02  Lillian Angel <langel@redhat.com>
29875         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29876         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29877         to use GtkWidget instead of GTKMenu.
29879 2006-03-02  Lillian Angel <langel@redhat.com>
29881         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29882         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29883         use the submenu to get the list of children. This now works
29884         in the same way as addItem.
29886 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29888         * java/lang/StringBuilder.java:
29889         (codePointAt): New method.
29890         (codePointBefore): Likewise.
29891         (codePointCount): Likewise.
29892         (trimToSize): Likewise.
29894 2006-03-02  Tom Tromey  <tromey@redhat.com>
29896         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29898 2006-03-02  Tom Tromey  <tromey@redhat.com>
29900         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29901         (getProviderInstance): 
29903 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29905         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29906         Fix regression caused by move to VM variant.
29907         PR classpath/22926.
29908         
29909 2006-03-01  Tom Tromey  <tromey@redhat.com>
29911         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29912         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29913         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29914         imports for javadoc.
29915         (getProxyClass): Javadoc fixes.
29916         (getProxyData): Likewise.
29917         (generateProxyClass): Likewise.
29918         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29919         (setOut): Likewise.
29920         (setErr): Likewise.
29921         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29922         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29923         fix.
29924         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29925         javadoc.
29926         (getModifiers): Likewise.
29927         (getDeclaredClasses): Javadoc fix.
29928         (getDeclaredFields): Likewise.
29929         (getDeclaredMethods): Likewise.
29930         (getDeclaredConstructors): Likewise.
29931         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29932         Javadoc fix.
29934 2006-03-01  Tom Tromey  <tromey@redhat.com>
29936         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29937         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29938         (getVersion): Javadoc fix.
29939         (get): Likewise.
29940         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29941         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29943 2006-03-01  David Daney  <ddaney@avtrex.com>
29945         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29946         as relative if it contains a colon but no protocol handler can be
29947         found.
29949 2006-03-01  Roman Kennke  <kennke@aicas.com>
29951         * javax/swing/text/AbstractDocument.java
29952         (LeafElement.LeafElement): Handle delta with respect to content
29953         length not document length.
29954         * javax/swing/text/CompositeView.java
29955         (getViewIndex): Handle bias correctly.
29956         * javax/swing/text/DefaultCaret.java
29957         (paint): Align caret position to document bounds to avoid trouble
29958         when removing large portions of content.
29959         * javax/swing/text/DefaultStyledDocument.java
29960         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29961         (ElementBuffer.createFracture): Copy old childs attribute. The
29962         ElementSpec usually doesn't carry attribute information.
29963         Use pos instead of offset.
29964         (ElementBuffer.insertFracture): Use pos instead of offset.
29965         (createDefaultRootElement): Don't use create* and instead directly
29966         instantiate the elements.
29967         (handleInsertAfterNewline): Compare the paragraphs startOffset
29968         rather than previous paragraphs endOffset.
29969         * javax/swing/text/JTextComponent.java
29970         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29971         JViewport.
29972         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29973         JViewport.
29974         * javax/swing/text/PlainView.java
29975         (damageLineRange): Avoid creating new Rectangle by using
29976         SwingUtilities.
29977         * javax/swing/text/View.java
29978         (forwardUpdate): Correct the use of bias.
29979         (modelToView): Avoid new Rectangles by using SwingUtilities.
29980         (dump): Made (temprorarily) protected for use in BasicTextUI.
29981         (dump(int)): Dump out the element of the view.
29983 2006-03-01  Lillian Angel  <langel@redhat.com>
29985         * NEWS: javax.imageio.plugins.bmp implementation.
29987 2006-03-01  Lillian Angel  <langel@redhat.com>
29989         * javax/imageio/ImageWriteParam.java: 
29990         Added documentation for fields.
29991         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29992         New class implemented.
29994 2006-03-01  Tom Tromey  <tromey@redhat.com>
29996         * NEWS: Mention java.util.prefs update.
29998 2006-03-01  Tom Tromey  <tromey@redhat.com>
30000         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
30001         * java/nio/charset/UnmappableCharacterException.java:
30002         (serialVersionUID): New field.
30003         * java/nio/charset/MalformedInputException.java:
30004         (serialVersionUID): New field.
30005         * java/nio/charset/CoderMalfunctionError.java:
30006         (serialVersionUID): New field.
30007         * java/nio/charset/CharacterCodingException.java:
30008         (serialVersionUID): New field.
30009         * java/nio/channels/UnsupportedAddressTypeException.java:
30010         (serialVersionUID): New field.
30011         * java/nio/channels/UnresolvedAddressException.java:
30012         (serialVersionUID): New field.
30013         * java/nio/channels/OverlappingFileLockException.java:
30014         (serialVersionUID): New field.
30015         * java/nio/channels/NotYetConnectedException.java:
30016         (serialVersionUID): New field.
30017         * java/nio/channels/NotYetBoundException.java
30018         (serialVersionUID): New field.
30019         * java/nio/channels/NonWritableChannelException.java
30020         (serialVersionUID): New field.
30021         * java/nio/channels/NonReadableChannelException.java
30022         (serialVersionUID): New field.
30023         * java/nio/channels/NoConnectionPendingException.java
30024         (serialVersionUID): New field.
30025         * java/nio/channels/IllegalSelectorException.java
30026         (serialVersionUID): New field.
30027         * java/nio/channels/IllegalBlockingModeException.java
30028         (serialVersionUID): New field.
30029         * java/nio/channels/FileLockInterruptionException.java
30030         (serialVersionUID): New field.
30031         * java/nio/channels/ConnectionPendingException.java
30032         (serialVersionUID): New field.
30033         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
30034         New field.
30035         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
30036         New field.
30037         * java/nio/channels/ClosedByInterruptException.java
30038         (serialVersionUID): New field.
30039         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
30040         New field.
30041         * java/nio/channels/AsynchronousCloseException.java
30042         (serialVersionUID): New field.
30043         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
30044         New field.
30045         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
30046         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
30047         * java/nio/BufferUnderflowException.java (serialVersionUID): New
30048         field.
30049         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
30050         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
30051         Javadoc fix.  Added import.
30052         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
30053         (validOps): Likewise.
30054         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
30055         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
30056         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
30057         * java/nio/channels/Channels.java: Added import.
30058         * java/nio/channels/FileChannel.java (lock): Typo fix.
30059         (tryLock): Likewise.
30061 2006-03-01  Tom Tromey  <tromey@redhat.com>
30063         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
30064         FileBasedFactory.
30065         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
30066         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
30067         (clear): Likewise.
30068         (putSpi): Likewise.
30069         (newNode): Likewise.
30070         (node): Likewise.
30071         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
30072         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
30073         field.
30074         (systemRoot): Use it.
30075         (userPreferences): New field.
30076         (userRoot): Use it.
30078 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
30080         * java/util/ResourceBundle.java
30081         (tryBundle): Catch and ignore all Exceptions.
30083 2006-02-28  Roman Kennke  <kennke@aicas.com>
30085         * javax/swing/plaf/basic/BasicScrollBarUI.java
30086         (getPreferredSize): Fixed add a fixed space between the buttons
30087         instead of something related to min/max.
30088         (installComponents): Create and install buttons here.
30089         (installDefaults): Don't create buttons here.
30090         * javax/swing/plaf/metal/MetalScrollBarUI.java
30091         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
30092         (getPreferredSize): New method.
30094 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
30096         * examples/gnu/classpath/examples/swing/Demo.java
30097         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
30098         connected 'Spinner' action to SpinnerDemo, 
30099         (mkCheckbox): Removed,
30100         (mkRadio): Likewise,
30101         (mkSpinner): Likewise,
30102         (mkToggle): Likewise,
30103         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
30104         connected 'Spinner' action to SpinnerDemo.
30106 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
30108         * javax/print/ServiceUIFactory.java: Added documentation to class.
30110 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
30112         PR classpath/26434
30113         * javax/swing/DefaultListSelectionModel.java:
30114         (addSelectionInterval): Return early if either of the arguments is -1.
30115         (removeSelectionInterval): Likewise.
30116         (setSelectionInterval): Likewise.
30118 2006-02-28  Lillian Angel  <langel@redhat.com>
30120         * javax/swing/text/DefaultFormatter.java
30121         (stringToValue): Added NPE check.
30123 2006-02-28  Roman Kennke  <kennke@aicas.com>
30125         PR classpath/25675
30126         * javax/swing/JList.java
30127         (getPreferredScrollableViewportSize): Restored specified behaviour.
30128         * javax/swing/plaf/metal/MetalFileChooserUI.java
30129         (createList): Set filelist panel's preferredSize, so that it doesn't
30130         get size into infinity for big lists.
30132 2006-02-28  Lillian Angel  <langel@redhat.com>
30134         * javax/swing/ViewportLayout.java
30135         (layoutContainer): Should not extend container to be 
30136         minimum size. Mauve test shows that the preferred size
30137         and the size of the viewport can be set smaller than
30138         the minimum.
30140 2006-02-28  Lillian Angel  <langel@redhat.com>
30142         PR classpath/25675
30143         * javax/swing/JList.java
30144         (getPreferredScrollableViewportSize): Added a check to determine
30145         if orientation is VERTICAL_WRAP. If it is, we should only 
30146         show 3 columns. 
30148 2006-02-28  Lillian Angel  <langel@redhat.com>
30150         PR classpath/26003
30151         * javax/swing/ViewportLayout.java:
30152         Patch submitted by Audrius Meskauskas
30153         (addLayoutComponent): Added documentation.
30154         (removeLayoutComponent): Likewise.
30155         (preferredLayoutSize): Likewise.
30156         (minimumLayoutSize): Likewise.
30157         (layoutContainer): Fixed code, so view is set
30158         to the right position when inside a scrollpane. 
30160 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
30162         * java/math/BigInteger.java:
30163         Committed patch by Rafael: 
30164         developer.classpath.org/pipermail/classpath-patches/
30165         2006-February/000473.html
30166         (signum): Return early 0 if words == null and ival == 0.
30167         (readObject): Handle special case of magnitude.length or signum being
30168         0.
30169         (writeObject): If signum is zero return a zero-sized byte[].
30171 2006-02-28  Lillian Angel  <langel@redhat.com>
30173         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
30174         (create): Initially set the directory to the current working directory.
30175         (setDirectory): Removed else-if. No need for this check.
30177 2006-02-28  Tom Tromey  <tromey@redhat.com>
30179         * .project: Run java builder before header generation.
30181 2006-02-28  Tom Tromey  <tromey@redhat.com>
30183         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
30184         Javadoc fix.
30185         * gnu/java/util/prefs/EventDispatcher.java: New file.
30186         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
30187         (NodeWriter): Specify UTF-8.
30188         (writeHeader): Emit DOCTYPE.
30189         * java/util/prefs/Preferences.java (getFactory): Add cause to
30190         exception.
30191         (exportNode): Documented.
30192         (exportSubtree): Likewise.
30193         (importPreferences): Likewise.
30194         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
30195         (writeObject): Likewise.
30196         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
30197         (writeObject): Likewise.
30198         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
30199         (nodeListeners): New field.
30200         (preferenceListeners): Likewise.
30201         (addNodeChangeListener): Implemented.
30202         (addPreferenceChangeListener): Likewise.
30203         (removeNodeChangeListener): Likewise.
30204         (removePreferenceChangeListener): Likewise.
30205         (fire): New methods.
30206         (put): Fire event.
30207         (remove): Likewise.
30208         (purge): Likewise.  Fixed synchronization.
30209         (removeNode): Fixed synchronization.
30210         (getNode): Fire event.
30211         (flushNode): Fixed synchronization.
30213 2006-02-28  Roman Kennke  <kennke@aicas.com>
30215         * javax/swing/text/BranchElement.java
30216         (startOffset): New field.
30217         (endOffset): New field.
30218         (BranchElement): Initialize new fields.
30219         (getEndOffset): Rewritten to possibly return cached values
30220         if element has no children.
30221         (getStartOffset): Rewritten to possibly return cached values
30222         if element has no children.
30223         * javax/swing/text/LeafElement.java
30224         (startDelta): New field.
30225         (endDelta): New field.
30226         (LeafElement): Handle possible delta of start/endOffset when
30227         these parameters lie outside the document range.
30228         (getStartOffset): Handle possible startDelta.
30229         (getEndOffset): Handle possible startDelta.
30231 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
30233         * NEWS: Added line about Unicode 4.0.0 support.
30235 2006-02-28  Roman Kennke  <kennke@aicas.com>
30237         * javax/swing/SwingUtilities.java
30238         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
30240 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
30242         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
30244 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
30246         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30247         Amended class documentation.
30248         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
30249         STRING.
30250         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
30251         a BIT STRING construct.
30252         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
30253         documentation.
30254         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
30255         STRING.
30256         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
30257         a BIT STRING construct.
30258         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
30259         (engineVerify): Added logging.
30261 2006-02-28  Roman Kennke  <kennke@aicas.com>
30263         * java/awt/Component.java
30264         (dispatchEventImpl): Let the Toolkit dispatch global events.
30265         * java/awt/Container.java
30266         (dispatchEventImpl): Let the LightweightDispatcher handle events
30267         first.
30268         * java/awt/EventQueue.java
30269         (dispatchEvent): Don't do the global event dispatching here. This
30270         is moved to the Component.
30271         (globalDispatchEvent): Moved this method to Toolkit.
30272         * java/awt/LightweightDispatcher.java
30273         (instances): New field.
30274         (getInstance): New method. Delivers an instance of
30275         LightweightDispatcher.
30276         (LightweightDispatcher): Made default constructor private.
30277         (dispatchEvent): New method. Replaces the eventDispatched method.
30278         This now returns true when the event was actually dispatched.
30279         (eventDispatched): Replaced by dispatchEvent.
30280         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
30281         received the last MOUSE_RELEASED.
30282         * java/awt/Toolkit.java
30283         (Toolkit): Don't register LightweightDispatcher as global event
30284         handler.
30285         (globalDispatchEvent): Moved here from EventQueue.
30287 2006-02-27  David Daney  <ddaney@avtrex.com>
30289         PR classpath/25851
30290         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
30291         up.
30292         (getRequestProperties): Rewrote.
30294 2006-02-27  David Daney  <ddaney@avtrex.com>
30296         PR classpath/26312
30297         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
30298         up.
30299         (ChunkedInputStream): Extend InputStream.
30300         (in): New field.
30301         (headers): Moved to top of class.
30302         (constructor): Save referenct to in.
30303         (read(byte[])): Removed method.
30304         (read(byte[], int, int)): Made synchronized and throw IOException
30305         on error parsing chunk header.
30306         (available): New method.
30307         (close): New method.
30309 2006-02-27  David Daney  <ddaney@avtrex.com>
30311         * gnu/java/net/protocol/http/HTTPURLConnection.java
30312         (imports): Cleaned up.
30313         (GetHTTPPropertiesAction): Removed, and moved contents to ...
30314         (constructor): ... Here, using SystemProperties instead of System.
30315         
30316 2006-02-27  Lillian Angel  <langel@redhat.com>
30318         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
30319         (setDirectory): GtkFileChooser requires an absolute directory
30320         name. Added a check to make the directory passed to nativeSetDirectory
30321         is absolute.
30323 2006-02-27  Roman Kennke  <kennke@aicas.com>
30325         * javax/swing/SwingUtilities.java
30326         (computeIntersection): Changed to store result in rect, instead of
30327         creating new Rectangle instances. Fixed API docs accordingly.
30328         (computeUnion): Changed to store result in rect, instead of
30329         creating new Rectangle instances. Fixed API docs accordingly.
30331 2006-02-27  Roman Kennke  <kennke@aicas.com>
30333         * javax/swing/JViewport.java
30334         (static_init): Changed default scrollmode to BLIT.
30335         (paintSimple): Added some clipping to avoid painting problems.
30336         (paintBlit): Added some clipping to avoid painting problems.
30338 2006-02-27  Roman Kennke  <kennke@aicas.com>
30340         * javax/swing/JComponent.java
30341         (rectCache): Made field static to save memory.
30342         (getVisibleRect): Don't use rectCache and create new Rectangle
30343         instance instead.
30344         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
30345         (repaint(long,int,int,int,int)): Directly call
30346         RepaintManager.addDirtyRegion(). The visibleRect check is now
30347         performed in the RepaintManager.
30349 2006-02-27  Roman Kennke  <kennke@aicas.com>
30351         * javax/swing/RepaintManager.java
30352         (currentRepaintManagers): Made field private.
30353         (rectCache): New field.
30354         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
30355         component. Changed Rectangle handling to avoid unnecessary new
30356         Rectangle instances.
30357         (getOffscreenBuffer): Create buffer with size of the root window.
30358         Respect the maximum buffer size here.
30359         (commitBuffer): Align the regions so that they are inside the buffer
30360         image and inside the clip. This avoids problems with a bug in GTKImage.
30361         Fixed Rectangle handling to avoid creation of new Rectangle instances.
30363 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30365         * native/fdlibm/e_acos.c,
30366         * native/fdlibm/e_asin.c,
30367         * native/fdlibm/e_atan2.c,
30368         * native/fdlibm/e_cosh.c,
30369         * native/fdlibm/e_exp.c,
30370         * native/fdlibm/e_fmod.c,
30371         * native/fdlibm/e_hypot.c,
30372         * native/fdlibm/e_log.c,
30373         * native/fdlibm/e_log10.c,
30374         * native/fdlibm/e_rem_pio2.c,
30375         * native/fdlibm/e_remainder.c,
30376         * native/fdlibm/e_sinh.c,
30377         * native/fdlibm/e_sqrt.c,
30378         * native/fdlibm/k_cos.c,
30379         * native/fdlibm/k_sin.c,
30380         * native/fdlibm/k_tan.c,
30381         * native/fdlibm/s_atan.c,
30382         * native/fdlibm/s_cbrt.c,
30383         * native/fdlibm/s_ceil.c,
30384         * native/fdlibm/s_copysign.c,
30385         * native/fdlibm/s_cos.c,
30386         * native/fdlibm/s_expm1.c,
30387         * native/fdlibm/s_fabs.c,
30388         * native/fdlibm/s_finite.c,
30389         * native/fdlibm/s_floor.c,
30390         * native/fdlibm/s_log1p.c,
30391         * native/fdlibm/s_rint.c,
30392         * native/fdlibm/s_scalbn.c,
30393         * native/fdlibm/s_sin.c,
30394         * native/fdlibm/s_tan.c,
30395         * native/fdlibm/s_tanh.c:
30396         Fixed to call our macros rather than __HI and __LO.
30397         * native/fdlibm/fdlibm.h:
30398         Reintroduced previous extraction code.
30399         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
30400         (GET_HIGH_WORD(i,d)): Readded.
30401         (GET_LOW_WORD(i,d)): Readded.
30402         (INSERT_WORDS(d,ix0,ix1)): Readded.
30403         (SET_HIGH_WORD(d,i)): Readded.
30404         (SET_LOW_WORD(d,i)): Readded.
30405         * native/jni/gtk-peer/gthread-jni.c:
30406         Use Glib macros to convert integers/pointers portably.
30407         
30408 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
30410         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
30411         as the fallback SPI.
30412         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
30413         ones referencing GNU-CRYPTO classes.
30414         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
30415         (engineValidate): Use GNU-CRYPTO class.
30416         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
30417         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
30418         * gnu/java/security/provider/DSAKeyFactory: Likewise.
30419         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
30420         * gnu/java/security/provider/DSAParameters: Likewise.
30421         * gnu/java/security/provider/DSASignature: Likewise.
30422         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
30423         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
30424         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
30425         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
30426         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
30427         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
30428         * gnu/java/security/provider/MD2withRSA: Likewise.
30429         * gnu/java/security/provider/MD4withRSA: Likewise.
30430         * gnu/java/security/provider/MD5: Likewise.
30431         * gnu/java/security/provider/MD5withRSA: Likewise.
30432         * gnu/java/security/provider/RSA: Likewise.
30433         * gnu/java/security/provider/RSAKeyFactory: Likewise.
30434         * gnu/java/security/provider/SHA: Likewise.
30435         * gnu/java/security/provider/SHA1PRNG: Likewise.
30436         * gnu/java/security/provider/SHA1withRSA: Likewise.
30437         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
30439 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
30441         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
30442         (engineGeneratePublic): Added logging.
30443         (engineGeneratePrivate): Likewise.
30444         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
30445         (encodePublicKey): Added logging.
30446         Clarified in method documentation that params is optional, but is
30447         always NULL if present.
30448         (decodePublicKey): Added logging.
30449         Handle optional NULL element.
30451 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
30453         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
30455 2006-03-03  Tom Tromey  <tromey@redhat.com>
30457         * java/awt/MenuBar.java (shortcuts): Genericized.
30459 2006-03-03  Tom Tromey  <tromey@redhat.com>
30461         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
30462         Genericized.
30463         (getListenerType): Likewise.
30464         * java/beans/Introspector.java (getBeanInfo): Genericized.
30465         * java/beans/DefaultPersistenceDelegate.java (initialize):
30466         Genericized.
30468 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
30470         * java/math/BigDecimal.java:
30471         (precision): Fixed overflow problem with large numbers.
30472         (longValueExact): New method.
30473         (intValueExact): Likewise.
30474         (byteValueExact): Likewise.
30475         (shortValueExact): Likewise.
30477 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
30479         * java/math/BigDecimal.java:
30480         (remainder(BigDecimal)): New method.
30481         (divideAndRemainder(BigDecimal)): Likewise.
30482         (divideToIntegralValue(BigDecimal)): Likewise.
30483         (floor): New implementation method.
30485 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
30487         * java/math/BigDecimal.java:
30488         (divide(BigDecimal, int, RoundingMode)): New method.
30489         (divide(BigDecimal, RoundingMode)): Likewise.
30490         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
30491         when the new scale is < 0.
30492         (setScale(int, RoundingMode)): New method.
30493         (ulp): Likewise.
30495 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
30497         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
30498         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
30499         (add(BigDecimal, MathContext)): New method.
30500         (subtract(BigDecimal, MathContext)): Likewise.
30501         (precision): Fixed to correctly handle BigIntegers with more than 19
30502         digits.
30503         (pow(int, MathContext)): New method.
30505 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
30507         * java/math/BigDecimal.java: Added @throws clause to constructors.
30508         (mathContext): Removed this unneeded field.
30509         (BigDecimal(int, MathContext)): New constructor.
30510         (BigDecimal(BigInteger, int, MathContext)): Likewise.
30511         (multiply(BigDecimal, MathContext)): New method.
30512         (negate(MathContext)): Likewise.
30513         (plus(MathContext)): Likewise.
30514         (numDigitsInLong): Fixed to properly handle negatives.
30515         
30516 2006-02-25  Chris Burdess  <dog@gnu.org>
30517   
30518         * gnu/java/net/CRLFInputStream.java,
30519           gnu/java/net/LineInputStream.java: Streams that use mark
30520           capabilities on the underlying stream do not expose mark
30521           functionality themselves.
30522         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
30523           off > 0.
30525 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
30527         * gnu/regexp/REMatch.java(matchFlags): New int field used as
30528         option flags passed to match methods.
30529         (MF_FIND_ALL): New flag.
30530         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
30531         do not try other possibilties once a match is found.
30532         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
30533         so that all possibilities can be found.
30534         (match): Rewritten using new methods matchMinimum and _match.
30535         (_match): New method which performs a depth-first recursive search.
30536         (matchMinimum): New method.
30537         (initVisited), (visitedContains), (addVisited): New methods for
30538         manipulating an array of icharacter positions which _match has
30539         already visited.
30541 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
30543         * java/math/BigDecimal.java:
30544         (BigDecimal(long, MathContext)): New constructor.
30545         (BigDecimal(BigInteger, MathContext)): Likewise.
30546         (BigDecimal(String, MathContext)): Likewise.
30547         (BigDecimal(double, MathContext)): Likewise.
30548         (round): Fixed a typo where the precision field was used instead of a
30549         call to the precision method, and also store the new precision in the
30550         returned BigDecimal.
30551         (abs(MathContext)): New method.
30553 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
30555         * java/math/BigDecimal.java
30556         (toBigInteger): Fixed problem where this method couldn't handle 
30557         negative values for scale.
30558         (toBigIntegerExact): New method.
30559         (stripTrailingZeros): Likewise.
30561 2006-02-24  David Daney  <ddaney@avtrex.com>
30563         PR classpath/26082
30564         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
30565         type Pool.
30566         (Pool): New inner class.
30567         (timeLastUsed): New field.
30568         (setPool): Changed parameter type to Pool.
30569         (release): Moved pool management logic to new class Pool.
30570         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
30571         Removed.
30572         (maxConnections) : Removed.
30573         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
30574         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
30575   
30576 2006-02-24  Lillian Angel  <langel@redhat.com>
30577   
30578         * java/awt/Container.java:
30579         Added new field. True if Container has been cleared and
30580         heavyweights need to be repainted.
30581         (paint): Fixed comment. Fixed to use backCleared and 
30582         reset backCleared.
30583         (update): Set backCleared to true after the background
30584         of the container has been cleared.
30585   
30586 2006-02-24  Lillian Angel  <langel@redhat.com>
30587   
30588         * java/awt/TextField.java
30589         (addNotify): Added call to super.
30590   
30591 2006-02-24  Lillian Angel  <langel@redhat.com>
30592   
30593         * java/awt/Component.java
30594         (reshape): Reverted last patch. Should have check here.
30595         (addNotify): Added check. If parent is lightweight, then
30596         initialize listener on the parent.
30597         (HeavyweightInLightweightListener): New class.
30598   
30599 2006-02-24  Roman Kennke  <kennke@aicas.com>
30600   
30601         * javax/swing/plaf/basic/BasicComboPopup.java
30602         (show): Register the popup with the autocloser after it has been
30603         opened completely, by putting the registration on the eventqueue.
30604   
30605 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30606   
30607         * gnu/java/security/prng/BasePRNG.java:
30608         (clone()): Added cast of buffer to byte[].
30609         * gnu/javax/crypto/mac/TMMH16.java:
30610         (clone()): Fixed casting of cloned arrays.
30611         * native/fdlibm/fdlibm.h:
30612         Added missing defines from old fdlibm.h needed by Darwin.
30613         (GET_FLOAT_WORD(i,d)): Re-added.
30614         (SET_FLOAT_WORD(d,i)): Re-added.
30615         
30616 2006-02-24  Roman Kennke  <kennke@aicas.com>
30617   
30618         * java/awt/Container.java:
30619         (dispatcher): Removed field.
30620         (dispatchEventImpl): Removed lightweight dispatching.
30621         (addNotifyContainerChildren): Removed LightweightDispatcher
30622         handling.
30623         (LightweightDispatcher): Removed class.
30624         * java/awt/LightweightDispatcher.java: New class.
30625         * java/awt/Toolkit.java
30626         (Toolkit): Install LightweightDispatcher in global listener
30627         array.
30628   
30629 2006-02-24  Chris Burdess  <dog@gnu.org>
30630   
30631         Fixes PR 26324
30632         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30633           off > 0.
30634   
30635 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30636   
30637         * NEWS: Mentions the VMMath runtime changes.
30638         * doc/vmintegration.texinfo: Updated to include
30639         VMMath.
30640   
30641 2006-02-24  Roman Kennke  <kennke@aicas.com>
30642   
30643         * javax/swing/plaf/basic/BasicLookAndFeel.java
30644         (PopupHelper.autoClosePopups): New field.
30645         (PopupHelper.mousePressed): Also autoclose any registered popups.
30646         (PopupHelper.registerForAutoClose): New method.
30647         (PopupHelper.autoClosePopups): New method.
30648         (popupHelper): Changed type of field to PopupHelper.
30649         (registerForAutoClose): New method.
30650         * javax/swing/plaf/basic/BasicComboPopup.java
30651         (show): Register this popup for autoclosing.
30652   
30653 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
30654   
30655         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30656         * gnu/java/security/prng/MDGenerator.java (clone): New method.
30657         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30658   
30659 2006-02-24  Roman Kennke  <kennke@aicas.com>
30660   
30661         Reported by Ingo Proetel <proetel@aicas.com>
30662         * java/util/logging/LogManager.java
30663         (addLogger): Search the parent loggers for log level
30664         configuration and inherit that.
30665         (readConfiguration): Provide minimal default configuration
30666         if no configuration can be found otherwise.
30668 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30670         * java/math/BigDecimal.java:
30671         (toString): Fixed a problem where the negative sign was being displayed
30672         twice in the exponent.
30673         (toEngineeringString): New method.
30674         (toPlainString): Likewise.
30675         (pow): Likewise.
30677 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30679         * java/math/BigDecimal.java:
30680         (toString): Rewrote this method to behave as specified.  Added API
30681         comments to explain behaviour.
30682         (scaleByPowerOfTen): New method.
30684 2006-02-23  Roman Kennke  <kennke@aicas.com>
30685   
30686         * javax/swing/JRootPane.java
30687         (isOptimizedDrawingEnabled): Implemented to return true
30688         when the glassPane is not visible.
30689   
30690 2006-02-23  Roman Kennke  <kennke@aicas.com>
30691   
30692         * javax/swing/plaf/basic/BasicLookAndFeel.java
30693         (PopupHelper): New inner class.
30694         (popupHelper): New field.
30695         (initialize): New method.
30696         (uninitialize): New method.
30697         * javax/swing/plaf/basic/BasicPopupMenuUI.java
30698         (mouseInputListener): Removed field.
30699         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30700         handling of GlassPane.
30701         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30702         handling of GlassPane.
30703         (MouseInputHandler): Removed class.
30705 2006-02-23  Roman Kennke  <kennke@aicas.com>
30707         * java/awt/AWTEvent.java
30708         (eventIdToMask): New utility method.
30709         * java/awt/EventQueue.java
30710         (dispatchEvent): Also globally dispatch events via the toolkit.
30711         (globalDispatchEvent): New method.
30712         * java/awt/Toolkit.java
30713         (awtEventListeners): New field.
30714         (Toolkit()): Initialize new field.
30715         (createComponent): Create GLightweightPeer here.
30716         (addAWTEventListener): Implemented and documented.
30717         (removeAWTEventListener): Implemented and documented.
30718         (getAWTEventListeners): Implemented and documented both method
30719         variants.
30720         * java/awt/event/AWTEventListenerProxy.java
30721         (eventDispatched): Don't filter events here.
30723 2006-02-23  Chris Burdess  <dog@gnu.org>
30725         Fixes PR 26410
30726         * gnu/xml/dom/DomDocumentBuilderFactory.java,
30727           gnu/xml/dom/JAXPFactory.java,
30728           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30729           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30730           implement DocumentBuilderFactory.get/setFeature methods.
30732 2006-02-23  Lillian Angel  <langel@redhat.com>
30734         * gnu/java/awt/peer/GLightweightPeer.java
30735         (repaint): Scott's proposed fix. Send repaint to the
30736         component's parent.
30737         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30738         (setBounds): Removed next_parent, not needed. Removed
30739         lightweightChild, we always need to compensate for the
30740         menu bar's height.
30741         * java/awt/Component.java
30742         (setBounds): Removed check. Caused lots of problems, because some
30743         components were not being invalidated. Components should be
30744         invalidated when they are resized or moved, and in some cases,
30745         when a parent is resized/moved, the components do not know
30746         about it and do not adjust.
30747         * java/awt/Graphics.java
30748         (hitClip): Scott's proposed fix. Added check to handle a 
30749         null clip.
30750   
30751 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30752   
30753         * javax/print/attribute/standard/MediaSize.java: 
30754         (media): Field renamed to mediaName for serialization.
30755         (MediaSize): Adapted to new fieldname.
30756         (getMediaSizeName): Likewise.
30757         * javax/print/attribute/HashAttributeSet.java: 
30758         (interfaceName): Field renamed to myInterface for serialization.
30759         (HashAttributeSet): Adapted to the new fieldname.
30760         (add): Likewise.
30761         (addAll): Likewise.
30762         (addInternal): Likewise.
30763         (attributeMap): Made transient.
30764         (readObject): New serialization method.
30765         (writeObject): Likewise.
30766         * javax/print/attribute/AttributeSetUtilities.java: 
30767         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30768         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30769         (SynchronizedAttributeSet.addAll): Likewise.
30770         (SynchronizedAttributeSet.clear): Likewise.
30771         (SynchronizedAttributeSet.containsKey): Likewise.
30772         (SynchronizedAttributeSet.containsValue): Likewise.     
30773         (SynchronizedAttributeSet.equals): Likewise.
30774         (SynchronizedAttributeSet.get): Likewise.
30775         (SynchronizedAttributeSet.hashCode): Likewise.  
30776         (SynchronizedAttributeSet.isEmpty): Likewise.
30777         (SynchronizedAttributeSet.remove): Likewise.    
30778         (SynchronizedAttributeSet.size): Likewise.      
30779         (SynchronizedAttributeSet.toArray): Likewise.   
30780         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30781         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30782         (UnmodifiableAttributeSet.addAll): Likewise.
30783         (UnmodifiableAttributeSet.clear): Likewise.
30784         (UnmodifiableAttributeSet.containsKey): Likewise.
30785         (UnmodifiableAttributeSet.containsValue): Likewise.     
30786         (UnmodifiableAttributeSet.equals): Likewise.
30787         (UnmodifiableAttributeSet.get): Likewise.
30788         (UnmodifiableAttributeSet.hashCode): Likewise.  
30789         (UnmodifiableAttributeSet.isEmpty): Likewise.
30790         (UnmodifiableAttributeSet.remove): Likewise.    
30791         (UnmodifiableAttributeSet.size): Likewise.      
30792         (UnmodifiableAttributeSet.toArray): Likewise.   
30793         * javax/print/attribute/standard/MediaPrintableArea.java: 
30794         (width): Field renamed to w for serialization.
30795         (height): Field renamed to h for serialization. 
30796         (MediaPrintableArea): Adapted to the new fieldnames.    
30797         (MediaPrintableArea): Likewise.
30798         (equals): Likewise.
30799         (hashCode): Likewise.
30800         (getHeight): Likewise.
30801         (getWidth): Likewise.
30802   
30803 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30804   
30805         * include/java_lang_VMMath.h:
30806         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30807         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30808         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30809         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30810         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30811         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30812         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30813         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30814         * java/lang/Math.java:
30815         (cbrt(double)): Implemented.
30816         (cosh(double)): Implemented.
30817         (expm1(double)): Implemented.
30818         (hypot(double,double)): Implemented.
30819         (log10(double)): Implemented.
30820         (log1p(double)): Implemented.
30821         (signum(double)): Implemented.
30822         (signum(float)): Implemented.
30823         (sinh(double)): Implemented.
30824         (tanh(double)): Implemented.
30825         * native/fdlibm/Makefile.am:
30826         Added new files from fdlibm 5.3.
30827         * native/fdlibm/e_acos.c,
30828         * native/fdlibm/e_asin.c,
30829         * native/fdlibm/e_atan2.c,
30830         * native/fdlibm/e_exp.c,
30831         * native/fdlibm/e_fmod.c,       
30832         * native/fdlibm/e_log.c,
30833         * native/fdlibm/e_rem_pio2.c,
30834         * native/fdlibm/e_remainder.c,
30835         * native/fdlibm/e_scalb.c,
30836         * native/fdlibm/e_sqrt.c,
30837         * native/fdlibm/k_cos.c,
30838         * native/fdlibm/k_rem_pio2.c,
30839         * native/fdlibm/k_sin.c,
30840         * native/fdlibm/k_tan.c,
30841         * native/fdlibm/s_atan.c,
30842         * native/fdlibm/s_ceil.c,
30843         * native/fdlibm/s_copysign.c,
30844         * native/fdlibm/s_cos.c,
30845         * native/fdlibm/s_fabs.c,
30846         * native/fdlibm/s_finite.c,
30847         * native/fdlibm/s_floor.c,
30848         * native/fdlibm/s_rint.c,
30849         * native/fdlibm/s_scalbn.c,
30850         * native/fdlibm/s_sin.c,
30851         * native/fdlibm/s_tan.c,
30852         * native/fdlibm/w_acos.c,
30853         * native/fdlibm/w_asin.c,
30854         * native/fdlibm/w_atan2.c,
30855         * native/fdlibm/w_acos.c,
30856         * native/fdlibm/w_exp.c,
30857         * native/fdlibm/w_fmod.c,
30858         * native/fdlibm/w_log.c,
30859         * native/fdlibm/w_pow.c,
30860         * native/fdlibm/w_remainder.c,
30861         * native/fdlibm/w_sqrt.c:
30862         Updated to fdlibm 5.3.
30863         * native/fdlibm/e_cosh.c,
30864         * native/fdlibm/e_hypot.c,
30865         * native/fdlibm/e_log10.c,
30866         * native/fdlibm/e_sinh.c,
30867         * native/fdlibm/s_cbrt.c,
30868         * native/fdlibm/s_expm1.c,
30869         * native/fdlibm/s_log1p.c,
30870         * native/fdlibm/s_tanh.c,
30871         * native/fdlibm/w_cosh.c,
30872         * native/fdlibm/w_hypot.c,
30873         * native/fdlibm/w_log10.c,
30874         * native/fdlibm/w_sinh.c:
30875         Imported from fdlibm 5.3.
30876         * native/fdlibm/fdlibm.h:
30877         Imported from fdlibm 5.3 with Classpath additions.
30878         * native/fdlibm/namespace.h:
30879         Updated from new math_symbols file.
30880         * native/jni/java-lang/java_lang_VMMath.c:
30881         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30882         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30883         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30884         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30885         Implemented.
30886         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30887         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30888         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30889         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30890         * scripts/math_symbols:
30891         Added tanh, expm1, log10 and log1p.
30892         * vm/reference/java/lang/VMMath.java:
30893         (cbrt(double)): Implemented.
30894         (cosh(double)): Implemented.
30895         (expm1(double)): Implemented.
30896         (hypot(double,double)): Implemented.
30897         (log10(double)): Implemented.
30898         (log1p(double)): Implemented.
30899         (sinh(double)): Implemented.
30900         (tanh(double)): Implemented.
30901         
30902 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30904         * javax/print/DocFlavor.java: Added documentation all over.
30905         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30906         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30907         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30908         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30909         (URL.TEXT_HTML_HOST): Likewise.
30910         (URL.TEXT_PLAIN_HOST): Likewise.
30911         (hostEncoding): Initialize with host default charset encoding.
30912         (mediaSubtype): Made transient.
30913         (mediaType): Likewise.
30914         (params): Made transient. Changed type to TreeMap.
30915         (className): Removed, changed to myClassName.
30916         (myClassName): New field as defined in serialized form.
30917         (DocFlavor): Adapted to new variable types, names.
30918         (parseMimeType): Reimplemented.
30919         (getParameter): Search with lowercase name.
30920         (getRepresentationClassName): Adapted to changed variable name.
30921         (hashCode): Likewise.
30922         (toString): Reimplemented.
30923         (readObject): New method for serialization.
30924         (writeObject): Likewise.
30925   
30926 2006-02-23  Roman Kennke  <kennke@aicas.com>
30927   
30928         * javax/swing/RepaintManager.java
30929         (commitBuffer): Clip the repaint area with the current clip.
30930   
30931 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30932   
30933         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30934         (DEFAULT_PRIME_SIZE): Made public.
30935         (DEFAULT_EXPONENT_SIZE): Likewise.
30936         (setup): Handle DHParameterSpec as well.
30937         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30938         defaultFormat instead of Raw.
30939         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30940         (checkIsConstructed): Removed.
30941         (checkIsBigInteger): Likewise.
30942         (decodePublicKey): Use DerUtil.
30943         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30944         (checkIsConstructed): Removed.
30945         (checkIsBigInteger): Likewise.
30946         (decodePrivateKey): Use DerUtil.
30947         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30948         KeyAgreement.DH.
30949         Added mappings for AlgorithmParameters.DH and
30950         AlgorithmParameterGenerator.DH.
30951         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30952         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30953         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30954         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30955         Return result.
30956         (engineGeneratePublic): Likewise.
30957         * gnu/java/security/util/DerUtil.java: New file.
30958         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30959         Include only valid RSA PKCS1 (v1.5) signature names.
30960         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30961         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30962         (checkIsConstructed): Likewise.
30963         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30964         (checkIsConstructed): Removed.
30965         (checkIsBigInteger): Likewise.
30966         (decodeSignature): Use DerUtil.
30967         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30968         (checkIsConstructed): Removed.
30969         (checkIsBigInteger): Likewise.
30970         (decodePublicKey): Use DerUtil.
30971         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30972         (checkIsConstructed): Removed.
30973         (checkIsBigInteger): Likewise.
30974         (decodePrivateKey): Use DerUtil.
30975         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30976         (checkIsConstructed): Removed.
30977         (checkIsBigInteger): Likewise.
30978         (decodePublicKey): Use DerUtil.
30979         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30980         (checkIsConstructed): Removed.
30981         (checkIsBigInteger): Likewise.
30982         (decodePrivateKey): Use DerUtil.
30983         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30984         (DEFAULT_MODULUS_LENGTH): Made it public.
30985         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30986         defaultFormat instead of Raw.
30987         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30988         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30989         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30990         Return result.
30991         (engineGeneratePublic): Likewise.
30992         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30994 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30996         * java/math/BigDecimal.java:
30997         (BigDecimal(char[], int, int, MathContext)): New constructor.
30998         (BigDecimal(char[], MathContext)): Likewise.
30999         (BigDecimal(char[])): Likewise.
31000         (BigDecimal(char[], int, int)): Likewise.
31001         (BigDecimal(String)): Fixed handling of exponent and scale.
31003 2006-02-22  Mark Wielaard  <mark@klomp.org>
31005         * java/awt/Checkbox.java (setState): Check that state actually changed
31006         before calling peer.
31007         (dispatchEventImpl): Set new state if ItemEvent.
31008         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
31009         (create): Set currentState.
31010         (setState): Make synchronized, check and set currentState before
31011         calling gtkToggleButtonSetActive.
31012         (postItemEvent): Make synchronized, check and set currentState before
31013         posting ItemEvent.
31014         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
31015         (postItemEventID): Method now takes boolean.
31016         (item_toggled_cb): Likewise.
31017   
31018 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
31019   
31020         * javax/swing/text/DefaultHighlighter.java:
31021         (changeHighlight): Added code to minimize the damaged area.
31022   
31023 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
31024   
31025         * javax/swing/text/PlainView.java:
31026         (getPreferredSpan): Added missing 'break'.
31027         statement which corrects an unwanted fall through.
31028         (updateDamage): Update maxLineLength correctly when text is
31029         removed, call preferenceChanged accordingly.
31030         (viewToModel): Restrict line number to be within 0 and the
31031         number of elements-1.
31032   
31033 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
31034   
31035         * javax/swing/text/Utilities.java:
31036         (getPositionAbove): Prefer first value by changing comparison
31037         from < to <=.
31038         (getPositionBelow): Dito.
31039   
31040 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
31041   
31042         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
31043         behavior when magic caret position is null.
31044   
31045 2006-02-22  Roman Kennke  <kennke@aicas.com>
31046   
31047         * javax/swing/JTextField.java
31048         (isValidateRoot): New method.
31049   
31050 2006-02-22  Roman Kennke  <kennke@aicas.com>
31051   
31052         * javax/swing/JEditorPane.java
31053         (getPreferredSize): Rewritten to behave like the reference impl.
31054         (getScrollableTracksViewportWidth): Likewise.
31055         (getScrollableTracksViewportHeight): Likewise.
31056   
31057 2006-02-22  Roman Kennke  <kennke@aicas.com>
31058   
31059         * javax/swing/RepaintManager.java
31060         (addInvalidComponent): Also consider the component itself.
31061   
31062 2006-02-22  Mark Wielaard  <mark@klomp.org>
31063   
31064         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
31065         qualify AbstractDocument.AttributeContext.
31066         (blockOpen): Likewise.
31067   
31068 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
31070         * java/math/BigDecimal.java:
31071         (mathContext): New field.
31072         (precision): Likewise.
31073         (BigDecimal(int)): New constructor.
31074         (BigDecimal(long)): Likewise.
31075         (BigDecimal(BigInteger)): Added API docs.
31076         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
31077         and added API docs.
31078         (plus): New method.
31079         (round): Likewise.
31080         (precision): Likewise.
31081         (valueOf): Likewise.
31082         (numDigitsInLong): New implementation method.
31084 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
31086         * java/math/MathContext.java: New class.
31087         * java/math/RoundingMode: New Enum.
31089 2006-02-21  Mark Wielaard  <mark@klomp.org>
31090   
31091         * java/awt/Component.java (translateEvent): Translate
31092         AdjustmentEvents to 1.0 Events.
31093         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
31094         Call setValue() before processing event.
31095         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
31096         whether we are currently changing and being called back from the
31097         Scrollbar component.
31098         (setBarValues): New native method.
31099         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
31100         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
31101         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
31102         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
31103         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
31104   
31105 2006-02-21  Roman Kennke  <kennke@aicas.com>
31106   
31107         * javax/swing/text/View.java
31108         (setParent): Set child parent to null when disconnecting
31109         the view from the View hierarchy.
31110   
31111 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
31112   
31113         * javax/print/StreamPrintService.java: Added and enhanced documentation.
31114   
31115 2006-02-21  Roman Kennke  <kennke@aicas.com>
31116   
31117         * javax/swing/text/WrappedPlainView.java
31118         (calculateBreakPosition): Changed to use the view's allocation instead
31119         of the container's preferredSize.
31120   
31121 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
31122   
31123         * java/awt/CardLayout.java:
31124         (first): Updated api documentation.
31125         (last): Likewise.
31126         (next): Likewise.
31127         (previous): Likewise.
31128         (show): Clarified api docs. Return if name is null. Throw
31129         IllegalArgumentException if layout of container is not this.
31130         (gotoComponent): Updated api documentation. Throw
31131         IllegalArgumentException if layout of container is not this.
31132   
31133 2006-02-21  Roman Kennke  <kennke@aicas.com>
31134   
31135         * javax/swing/text/NavigationFilter.java
31136         (getNextVisualPositionFrom): New method.
31137   
31138 2006-02-21  Roman Kennke  <kennke@aicas.com>
31139   
31140         * javax/swing/plaf/basic/BasicTextUI.java
31141         (RootView.setView): Call setParent() on the view with this as
31142         argument instead of null.
31143         (setView): Don't set root view's parent here.
31144   
31145 2006-02-21  Roman Kennke  <kennke@aicas.com>
31146   
31147         * javax/swing/text/AbstractDocument.java
31148         (AbstractElement.getAttribute): Use getResolveParent() to fetch
31149         the resolving parent.
31150         (AbstractElement.getResolveParent): Fixed to handle possible null
31151         parent.
31152         * javax/swing/text/BoxView.java
31153         (childReqs): New field.
31154         (paint): Added debugging code (commented out).
31155         (getPreferredSpan): Rewritten to use new update* methods.
31156         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
31157         for the minor axis and preferredSpan for the major axis.
31158         (getMinimumSpan): Rewritten to use new update* methods.
31159         (baselineRequirements): Rewritten to avoid creation of 
31160         unnecessary SizeRequirements objects.
31161         (baselineLayout): Rewritten to use new update* methods.
31162         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
31163         unnecessary SizeRequirements objects.
31164         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
31165         unnecessary SizeRequirements objects.
31166         (layout): Some robustness fixes for the layout. Turned AssertionErrors
31167         into warnings.
31168         (layoutMajorAxis): Rewritten to use new update* methods.
31169         (layoutMinorAxis): Rewritten to use new update* methods.
31170         (getChildRequirements): Replaced by the update* methods.
31171         (getAlignment): Use update* methods.
31172         (updateChildRequirements): New methods. Updates the child requirements
31173         if necessary.
31174         (updateRequirements): New methods. Updates the BoxView requirements
31175         if necessary.
31176         * javax/swing/text/DefaultStyledDocument.java
31177         (ElementBuffer.insert): Added warning for illegal replacement operation.
31178         * javax/swing/text/FlowView.java
31179         (layoutRow): When offset doesn't change, return -1.
31180         (LogicalView): Now subclasses BoxView.
31181         (loadChildren): Let the CompositeView.setParent() load the children
31182         of the logicalView.
31183         (calculateMinorRequirements): New overridden method.
31184         * javax/swing/text/GlyphView.java
31185         (DefaultGlyphPainter.paint): Fixed typo.
31186         (startOffset): Made field private.
31187         (endOffset): Made field private.
31188         (paint): Call getStartOffset() and getEndOffset() instead of the
31189         element methods.
31190         (isStrikeThrough): Fixed typo.
31191         (breakView): Use Utilities.getBreakLocation() to determine best
31192         break location.
31193         (changedUpdate): Call preferencedChange on this instead of parent.
31194         (removeUpdate): Call preferencedChange on this instead of parent.
31195         * javax/swing/text/ParagraphView.java
31196         (Row.getAlignment): For Y_AXIS, call super.
31197         (getAlignment): Likewise.
31198         * javax/swing/text/Utilities.java
31199         (getBreakLocation): Set Segment object directly on the BreakIterator.
31200         * javax/swing/text/html/HTML.java
31201         (Attribute): Made class non-serializable and final as specified.
31202         (Attribute(String)): Made constructor private.
31203         (Attribute.compareTo): Removed.
31204         (Attribute.equals): Removed.
31205         (Attribute.hashCode): Removed.
31206         (Tag): Made class non-comparable and non-serializable as specified.
31207         (Tag.compareTo): Removed.
31208         (Tag.equals): Removed.
31209         (Tag.hashCode): Removed.
31210         * javax/swing/text/html/HTMLDocument.java
31211         (HTMLReader.blockOpen): Add tag as name attribute to element.
31212         * javax/swing/text/html/HTMLEditorKit.java
31213         (HTMLFactory.create): Create NullView for <head> tags, removed unused
31214         fallback.
31215         * javax/swing/text/html/InlineView.java
31216         (setPropertiesFromAttributes): Call super.
31217         * javax/swing/text/html/NullView.java: New class.
31218   
31219 2006-02-21  Roman Kennke  <kennke@aicas.com>
31220   
31221         PR classpath/26368
31222         * javax/swing/text/GapContent.java
31223         (GapContentPosition): Made class private.
31224         (InsertUndo): Made class private.
31225         (UndoRemove): Made class private.
31226         (WeakPositionComparator): New inner class.
31227         (positions): Made field private.
31228         (createPosition): Clear up GC'ed positions before creating
31229         a new one. Store position as WeakReference.
31230         (getPositionsInRange): Changed to handle WeakReference
31231         positions.
31232         (setPositionsInRange): Changed to handle WeakReference
31233         positions.
31234         (adjustPositionsInRange): Changed to handle WeakReference
31235         positions.
31236         (dumpPositions): Handle WeakReference positions.
31237         (clearPositionReferences): New method.
31238   
31239 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
31240   
31241         * javax/swing/plaf/basic/BasicTextUI.java:
31242         (paint): Remove unneccessary part of the if-expression.
31243         (damageRange): Added case where the range spans multiple lines.
31244         * javax/swing/text/DefaultCaret.java:
31245         (clearHighlight): New method.
31246         (handleHighlight): Removed unneccessary part of the if-expression.
31247         (setDot): Use clearHighlight method.
31248         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
31249         of Vector.
31250         (paint): Prevented calling size() on every loop iteration, fixed
31251         calculation of allocation area bounds.
31252         (getHighlights): Implemented.
31253         (removeHighlight): Mark damaged area in textcomponent.
31254         (addHighlight): Mark damaged area in textcomponent.
31255         (changeHighlight): Mark damaged area in textcomponent.
31256         (DefaultHighlighter.HighlightEntry): Made it a real
31257         Highlighter.Highlight implementation.
31258         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
31259         calculations.
31261 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
31263         * java/util/zip/ZipConstants.java
31264         (LOCSIG): Change type to long.
31265         (EXTSIG): Likewise.
31266         (CENSIG): Likewise.
31267         (ENDSIG): Likewise.
31268         * java/util/zip/ZipOutputStream.java
31269         (writeLeInt(long)): New method.
31270   
31271 2006-02-21  Michael Koch  <konqueror@gmx.de>
31272   
31273         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
31274   
31275 2006-02-20  Mark Wielaard  <mark@klomp.org>
31276   
31277         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
31278         (begin_drawing_operation): Output stacktrace and return on bad cairo
31279         status.
31280         (end_drawing_operation): Likewise. And reset cairo_t.
31281   
31282 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
31283   
31284         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
31285         in backward selection action.
31286   
31287 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
31288   
31289         * java/lang/reflect/Proxy.java:
31290         (ProxyData.getProxyData): Skipped overriding of core methods.
31291         (ProxyData.isCoreObjectMethod): New method.
31292   
31293 2006-02-20  Mark Wielaard  <mark@klomp.org>
31294   
31295         * gnu/java/nio/charset/Provider.java (Provider): Package private.
31296   
31297 2006-02-20  Roman Kennke  <kennke@aicas.com>
31298   
31299         * javax/swing/text/html/Option.java: New class.
31300   
31301 2006-02-20  Lillian Angel  <langel@redhat.com>
31302   
31303         * java/swt/Window.java
31304         (show): Calling show() on the owned windows caused problems.
31305         Changed back to get the peer and call setVisible.
31306   
31307 2006-02-20  Roman Kennke  <kennke@aicas.com>
31308   
31309         * javax/swing/plaf/basic/BasicTextUI.java
31310         (damageRange): Implemented this method.
31311   
31312 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
31313   
31314         * javax/swing/text/GapContent.java:
31315         (shiftGapEndUp): Corrected new mark value.
31316         * javax/swing/text/AbstractDocument.java:
31317         (remove): Changed order of operations.
31318   
31319 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
31320   
31321         * javax/swing/text/GapContent.java:
31322         (shiftGapEndUp): Reverted.
31323         * javax/swing/text/AbstractDocument.java:
31324         (remove): Reverted.
31325   
31326 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
31327   
31328         * javax/swing/text/GapContent.java:
31329         (shiftGapEndUp): Corrected new mark value.
31330         * javax/swing/text/AbstractDocument.java:
31331         (remove): Changed order of operations.
31332   
31333 2006-02-20  Mark Wielaard  <mark@klomp.org>
31334   
31335         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
31336         parent field.
31337         (insert): Likewise.
31338         (addNotify): Add the item after addNotifying it.
31339         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
31340         there is a peer. Use getParent() and setParent() to manipulate parent
31341         field.
31342         (add(Menu)): Use getParent() and setParent() to manipulate parent
31343         field. Call addNotify() and addMenu() when there is a peer.
31344         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
31345         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
31346         when there is a peer.
31347         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
31348         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
31349         (setFont): Call setFont(Font).
31350         (setFont(Font)): Document. Only set font when not null.
31351         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
31352         protected.
31353         (connectSignals): Likewise.
31354         (GtkMenuItemPeer): Document. Don't try to add item. Always call
31355         connectSignals().
31356         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
31357         protected.
31358         (postMenuActionEvent): Document.
31359         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
31360         protected.
31361         (addItem): Document. Made private.
31362         (addTearOff): Made private.
31363         (connectSignals): New protected overridden method.
31364         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
31365         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
31366         (create): Document.
31367         (addMenu): Made private, take GtkMenuPeer as argument and document.
31368         (GtkMenuBarPeer): Document.
31369         (nativeSetHelpMenu): Removed.
31370         (addHelpMenu): Implement.
31371         (delMenu): Document.
31372         (addMenu): Implement.
31373         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
31374         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
31375         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
31376         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
31377         Removed.
31378   
31379 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31380   
31381         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
31382         Expect that proxy interfaces may have different class loaders.
31383         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
31384         * java/rmi/registry/Registry.java,
31385         * java/rmi/server/UnicastRemoteObject.java: 
31386         Documented about proxy stubs.
31387         * gnu/java/rmi/server/CombinedClassLoader.java,
31388         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
31389         * NEWS: Added entry.
31391 2006-02-19  Mark Wielaard  <mark@klomp.org>
31393         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
31394         Parent and Bounds of our children if either or parent is showing, or
31395         we are a Window and are showing ourselves now.
31396   
31397 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31398   
31399         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
31400         New method.
31401         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
31402         Another stub name fix.
31403   
31404 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31405   
31406         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
31407         Call convertStubName. (convertStubName): New method.
31408         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
31409         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
31410         (convertStubName): New method.
31411         (getMethodHashCode): 
31412         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
31413         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
31415 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31417         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
31419 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31421         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
31423 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31425         * javax/swing/JViewport.java (paintBackingStore): If the component has
31426         not been scrolled, only repaint the buffer part, indicated by
31427         the parameter graphics clip. 
31428      
31429 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
31431         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
31432         internal format.
31433         (writePrivateKey): Likewise.
31434         (writeKey): New method.
31435         (getKeyType): Likewise.
31436         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
31437         internal format.
31438         (readPrivateKey): Likewise.
31439         (getKeyPairCodec): New method.
31440         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
31441         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
31442         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
31443         (RSA_PSS_ENCODING): Likewise..
31444         (RSA_PKCS1_V1_5_ENCODING): Likewise.
31445         (RSA_PSS_SIG): Redefined using other constants.
31446         (RSA_PKCS1_V1_5_SIG): Likewise.
31447         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
31448         * gnu/java/security/util/FormatUtil.java: New file.
31449         * gnu/java/security/sig/SignatureFactory.java (names): New field.
31450         (getInstance): Let RSASignatureFactory handle RSA signature names.
31451         (getNames): Handle new RSA signature (with format) names.
31452         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
31453         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
31454         for null md.
31455         (name): Include hash algorithm name.
31456         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
31457         * gnu/java/security/sig/rsa/RSAPSSSignature.java
31458         (RSAPSSSignature): Call constructor with IMessageDigest.
31459         (RSAPSSSignature(ImessageDigest,int)): New constructor.
31460         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
31461         file.
31462         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
31463         Likewise.
31464         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
31465         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
31466         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
31467         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
31468         hash algorithm name to exception.
31469         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
31470         * gnu/java/security/key/KeyPairCodecFactory.java
31471         (names): New class field.
31472         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
31473         (getInstance(String,String)): New method.
31474         (getInstance(String,int)): New method.
31475         (getInstance(byte[])): Removed.
31476         (getInstance(Key)): Handle new formats.
31477         (getNames): Likewise.
31478         (getEncodingName(int)): Moved to FormatUtil.
31479         (getEncodingShortName(int)): Likewise.
31480         (getRawCodec(String)): New method.
31481         (getX509Codec(String)): Likewise.
31482         (getPKCS8Codec(String)): Likewise.
31483         (getRawCodec(Key)): Likewise.
31484         (getX509Codec(Key)): Likewise.
31485         (getPKCS8Codec(Key)): Likewise.
31486         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
31487         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
31488         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
31489         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
31490         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
31491         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
31492         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
31493         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
31494         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
31496 2006-02-18  Mark Wielaard  <mark@klomp.org>
31498         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
31499         DragSource.
31500         (NoDragGestureRecognizer): New static class.
31501         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
31502         Toolkit doesn't support drag and drop.
31504 2006-02-18  Mark Wielaard  <mark@klomp.org>
31506         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
31507         (AbstractAction(String)): Just call putValue() for NAME.
31508         (putValue): Nothing to do is old and new value are both null.
31510 2006-02-18  Mark Wielaard  <mark@klomp.org>
31512         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
31513         through getContentPane().
31514         (preferredLayoutSize): Likewise.
31516 2006-02-18  Mark Wielaard  <mark@klomp.org>
31518         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
31519         actually set before painting.
31521 2006-02-18  Mark Wielaard  <mark@klomp.org>
31523         * javax/swing/text/html/HTMLDocument.java (addContent):
31524         Fully qualify AbstractDocument.AttributeContext and
31525         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
31527 2006-02-18  Mark Wielaard  <mark@klomp.org>
31529         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
31530         (getRepresentationClassFromMime): Add exception cause to
31531         IllegalArgumentException.
31532   
31533 2006-02-17  Lillian Angel  <langel@redhat.com>
31534   
31535         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
31536         Removed unneeded import.
31537         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
31538         Removed unneeded imports.
31539         * java/awt/BorderLayout.java:
31540         Fixed comment, this is not yet handled in the JDK 1.5.
31541         * java/awt/Container.java:
31542         Removed unneeded import.
31543   
31544 2006-02-17  Lillian Angel  <langel@redhat.com>
31545   
31546         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
31547         (setBounds): Removed check. Coordinates should always be changed
31548         to incorporate the parent's coordinates.
31549         * gnu/java/awt/peer/gtk/GtkFramePeer.java
31550         (setMenuBar): Added checks. Don't validate component if it has 
31551         not been validated yet, it will be validated later. Only validate
31552         if it has already been validated, in that case it needs to be
31553         revalidated.
31554         * java/awt/Window.java
31555         (show): Added check. If the window is visible, then bring it to the
31556         front. Otherwise, iterate through all its children windows and show them.
31557         No need to do both.
31559 2006-02-17  Roman Kennke  <kennke@aicas.com>
31561         * javax/swing/text/html/ParagraphView.java: New file.
31563 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31565         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
31566         is included. (moveToCellBeingEdited): Adjusted to start editing at the
31567         same location where was the initial text.
31568         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
31570 2006-02-17  Chris Burdess  <dog@gnu.org>
31572         Fixes PRs 26319, 26320, 26321, 26322, 26325
31573         * gnu/xml/stream/SAXParser.java: On error, reset parser before
31574           rethrowing exception.
31575         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
31576           1.1-style prefix unbinding in 1.0 document" error for xmlns
31577           prefixes, not xmlns attributes. Fix a problem with empty namespace
31578           stack at the end of a document. Permit parameter entity references
31579           in element and attribute-list definition name area. Corrected
31580           normalisation of whitespace character entity references in CDATA
31581           attribute values. Fixed number of characters read following a
31582           reset when detecting end of character data with characters after a
31583           Unicode surrogate pair.
31584   
31585 2006-02-17  Roman Kennke  <kennke@aicas.com>
31586   
31587         * javax/swing/text/html/HTMLEditorKit.java
31588         (HTMLFactory.create): Create InlineView for content tags.
31589         * javax/swing/text/html/HTMLDocument.java
31590         (HTMLReader.flush): Call create() on first flush and insert
31591         on subsequent flushes.
31592   
31593 2006-02-17  Roman Kennke  <kennke@aicas.com>
31594   
31595         * javax/swing/text/AbstractDocument.java
31596         (BranchElement.getStartOffset): Implemented workaround for wrong
31597         NPE.
31598         (BranchElement.getEndOffset): Implemented workaround for wrong
31599         NPE.
31600         (ElementBuffer.split): Use createBranchElement() instead of
31601         new BranchElement().
31602         (ElementBuffer.insertFracture): Use createBranchElement() instead of
31603         new BranchElement().
31604         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31605         instead of new BranchElement().
31606         (createDefaultRoot): Use createBranchElement() and createLeafElement
31607         instead of the constructors.
31608         (create): Rewritten.
31609   
31610 2006-02-17  Keith Seitz  <keiths@redhat.com>
31611   
31612         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31613         (SIZE): New constant.
31614         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31615         (executeIDsizes): Use SIZE constant.
31616         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31617         (SIZE): New constant.
31619 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31621         * javax/swing/JTable.java (IconCellRenderer): Set the component
31622         text to empty string. (createDefaultRenderers): Register
31623         IconCellRenderer also for ImageIcon. 
31624         (getCellEditor(int, int), getCellRenderer(int, int)):
31625         Use model index for data model and column index for column model.
31626         (getColumnClass): Convert to model index before requesting class
31627         from model. 
31628   
31629 2006-02-17  Roman Kennke  <kennke@aicas.com>
31630   
31631         * javax/swing/text/html/HTMLDocument.java
31632         (createDefaultRoot): Implemented.
31633         (createLeafElement): Implemented.
31634         (createBranchElement): Implemented.
31635         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31636         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31637         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31638         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31639         (HTMLReader.blockOpen): Add name attribute with the current tag.
31640         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31641   
31642 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31643   
31644         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31645         Rewritten.
31646         * javax/swing/table/JTableHeader.java: Documenting related methods.
31647   
31648 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31649   
31650         Fixes PR 25752
31651         * gnu/java/net/protocol/ftp/FTPURLConnection.java
31652         (connect): Changed to use SystemProperties.
31653         (getInputStream): Try changeWorkingDirectory to figure out if
31654         url is a directory, if not use retrieve.
31655         (getOutputStream): Don't worry about directories, simply always
31656         try to do a store.
31657   
31658 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31659   
31660         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31661         (ActiveModeDTP): Mark accept thread as daemon.
31662   
31663 2006-02-17  Michael Koch  <konqueror@gmx.de>
31664   
31665         * tools/.cvsignore: Ignore tools.zip.
31666   
31667 2006-02-16  Keith Seitz  <keiths@redhat.com>
31668   
31669         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31670         Set the ID's reference.
31671         (<clinit>): Remove comments for field, method, and frame ID types,
31672         which will not be handled by VMIdManager.
31673   
31674 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31675   
31676         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31677         Use model index, not the column number.
31678         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31679         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
31680         movement by painting draggingHeaderRect.
31681         * NEWS: Added entry about JTable columns. 
31682   
31683 2006-02-16  Keith Seitz  <keiths@redhat.com>
31684   
31685         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31686         default size of eight bytes.
31687         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31688         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31689         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31690         (executeIDsizes): Use new static methods.
31691         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31692         method.
31693         
31694 2006-02-16  David Daney  <ddaney@avtrex.com>
31695   
31696         PR classpath/26312
31697         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31698         return value with 0xff.
31699   
31700 2006-02-16  Keith Seitz  <keiths@redhat.com>
31701   
31702         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31703         (matches): Use Iterator instead of ListIterator.
31704   
31705 2006-02-16  Keith Seitz  <keiths@redhat.com>
31706   
31707         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31708         processor thread for easier debugging.
31709         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31710         main thread.
31711   
31712 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31713   
31714         * javax/swing/JTable.java 
31715         (TableColumnPropertyChangeHandler.propertyChange): Return without
31716         action if table header resizing column in not null. (doLayout):
31717         Only repaint the header if it is not null.      
31718         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
31719         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31720         Rewritten. (MouseInputHandler.endResizing): New method.
31721   
31722 2006-02-16  Roman Kennke  <kennke@aicas.com>
31723   
31724         * javax/swing/text/html/InlineView.java: New file.
31725   
31726 2006-02-16  Roman Kennke  <kennke@aicas.com>
31727   
31728         * javax/swing/JTabbedPane.java
31729         (AccessibleJTable.getAccessibleChild): Implemented to return
31730         the Page instance for the specified index.
31731         (Page): Changed to implement Accessible and extend
31732         AccessibleContext.
31733         (Page.getAccessibleContext): New method.
31734         (Page.getAccessibleRole): New method.
31735         (Page.getAccessibleStateSet): New method.
31736         (Page.getAccessibleIndexInParent): New method.
31737         (Page.getAccessibleChildrenCount): New method.
31738         (Page.getAccessibleChild): New methdod.
31739         (Page.getLocale): New method.
31740   
31741 2006-02-16  Roman Kennke  <kennke@aicas.com>
31742   
31743         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31744         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31745         tabCount gets greater than tabRuns.length.
31746         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31747         when tabCount gets greater than tabRuns.length.
31748         (paintTabArea): Don't set tabCount == runCount.
31749   
31750 2006-02-16  Roman Kennke  <kennke@aicas.com>
31751   
31752         * javax/swing/plaf/basic/BasicTextUI.java
31753         (installUI): Moved installation of PropertyChangeListener
31754         to installListeners(). Call modelChanged() after everything is
31755         is installed.
31756         (installListeners): Install PropertyChangeListener here.
31757         (uninstallUI): Moved uninstallation of PropertyChangeListener
31758         to uninstallListeners.
31759         (uninstallListeners): Uninstall PropertyChangeListener here.
31761 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31763         * javax/swing/JTable.java (doLayout): 
31764         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31765         on exit.
31766         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31767         (MouseInputHandler.mouseDragged): Do not repaint the header.
31768   
31769 2006-02-16  Roman Kennke  <kennke@aicas.com>
31770   
31771         * javax/swing/JViewport.java
31772         (static_initializer): Set default scrollMode to backingstore.
31773   
31774 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31775   
31776         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31777         returned by getCellRect. To not translate the component.
31778   
31779 2006-02-16  Roman Kennke  <kennke@aicas.com>
31780   
31781         * javax/swing/JComponent.java
31782         (rectCache): Made field non-static to avoid nasty interferences.
31783         (computeVisibleRect): Avoid creation of new Rectangles and double
31784         calculations on ints by using Swing.computeIntersection() instead
31785         of Rectangle2D.intersect().
31786         (repaint): Interect the dirty region with the visible rectangle
31787         of this component to avoid unnecessary painting.
31788   
31789 2006-02-16  Gary Benson  <gbenson@redhat.com>
31790   
31791         * java/lang/Thread.java (stop): Add a missing access check.
31792   
31793 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31794   
31795         * javax/swing/text/JTextComponent.java:
31796         (replaceSelection): Added code to update the magic caret position.
31797         * javax/swing/text/DefaultEditorKit.java: Added code to update
31798         the magic caret position of the text component in all relevant
31799         movement actions, make use of the magic caret position in up
31800         and down movements and selections, simplified some actions
31801         (code-wise).
31803 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31805         * gnu/java/lang/CharData.java: Regenerated from 
31806         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31807         and scripts/unicode-muncher.pl.
31808         * java/lang/Character.java: 
31809         (PrivateUseCharacters): New private static class.
31810         (UnassignedCharacters): Likewise.
31811         (blocks): Changed from char[] to char[][] to reflect the changes in 
31812         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31813         plane.
31814         (data): Likewise.
31815         (numValue): Likewise.
31816         (upper): Likewise.
31817         (lower): Likewise.
31818         (direction): Likewise.
31819         (readChar): Replaced this method with new method readCodePoint.
31820         (readCodePoint): New method.
31821         (isLowerCase(char)): Redirected to new isLowerCase(int).
31822         (isLowerCase(int)): New method.
31823         (isUpperCase(char)): Redirected to new isUpperCase(int).
31824         (isUpperCase(int)): New method.
31825         (isTitleCase(char)): Redirected to new isTitleCase(int).
31826         (isTitleCase(int)): New method.
31827         (isDigit(char)): Redirected to new isDigit(int).
31828         (isDigit(int)): New method.
31829         (isDefined(char)): Redirected to new isDefined(int).
31830         (isDefined(int)): New method.
31831         (isLetter(char)): Redirected to new isLetter(int).
31832         (isLetter(int)): New method.
31833         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31834         (isLetterOrDigit(int)): New method.
31835         (isJavaIdentifierStart(char)): Redirected to new 
31836         isJavaIdentifierStart(int).
31837         (isJavaIdentifierStart(int)): New method.
31838         (isJavaIdentifierPart(char)): Redirected to new 
31839         isJavaIdentifierPart(int).
31840         (isJavaIdentifierPart(int)): New method.
31841         (isUnicodeIdentifierStart(char)): Redirected to new
31842         isUnicodeIdentifierStart(int).
31843         (isUnicodeIdentifierStart(int)): New method.
31844         (isUnicodeIdentifierPart(char)): Redirected to new 
31845         isUnicodeIdentifierPart(int).
31846         (isUnicodeIdentifierPart(int)): New method.
31847         (isIdentifierIgnorable(char)): Redirected to new
31848         isIdentifierIgnorable(int).
31849         (isIdentifierIgnorable(int)): New method.
31850         (toLowerCase(char)): Changed access to lower to correspond with new
31851         char[][] type of lower.
31852         (toLowerCase(int)) New method.
31853         (toUpperCase(char)): Changed access to upper to correspond with new
31854         char[][] type of upper.
31855         (toUpperCase(int)): New method.
31856         (toTitleCase(int)): New method.
31857         (digit(char, int)): Replaced call to readChar with call to 
31858         readCodePoint and changed access to numValue to reflect new char[][]
31859         type of numValue. 
31860         (digit(int, int)): New method.
31861         (getNumericValue(char)): Changed access to numValue to reflect new
31862         char[][] type of numValue.
31863         (getNumericValue(int)): New method.
31864         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31865         (isSpaceChar(int)): New method.
31866         (isWhitespace(char)): Redirected to new isWhitespace(int).
31867         (isWhitespace(int)): New method.
31868         (isISOControl(char)): Redirected to new isISOControl(int).
31869         (isISOControl(int)): New method.
31870         (getType(char)): Redirected to new getType(int).
31871         (getType(int)): New method.
31872         (getDirectionality(char)): Redirected to new getDirectionality(int).
31873         (getDirectionality(int)): New method.
31874         (isMirrored(char)): Changed call to readChar to readCodePoint.
31875         (isMirrored(int)): New method.
31876         * java/lang/String.java:
31877         (upperCaseExpansion): Changed access to Character.direction to reflect
31878         new char[][] type of direction.
31879         (offsetByCodePoints): New method.
31880         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31881         4.0.0 which introduced supplementary character assignments.  
31883 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31885         * javax/swing/JTable.java,
31886         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31887         javax/swing/table/DefaultTableModel.java: Documented.
31888   
31889 2006-02-15  Lillian Angel  <langel@redhat.com>
31890   
31891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31892         Removed duplicate methods.
31893   
31894 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31895   
31896         * javax/swing/JTable.java (distributeSpillResizing): New method.
31897         (doLayout): Use distributeSpillResizing when resizing.
31898         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31899         Rewritten. (installListeners): Add mouse motion listener. 
31900         (uninstallListeners): Remove mouse motion listener. 
31901   
31902 2006-02-15  Lillian Angel  <langel@redhat.com>
31903   
31904         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31905         (setVisible): Removed method.
31906         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31907         (setLocation): New method.
31908         (setLocationUnlocked): New method.
31909         (show): Changed to use setLocation instead of setBounds.
31910         * java/awt/Component.java
31911         (show): Should call peer.show(), not peer.setVisible(), so the
31912         location of the component is correctly set.
31913         (preferredSize): Added curly braces so else statements are
31914         properly associated with if's.
31915         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31916         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31917         New function.
31918         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31919         LocationUnlocked): New function.
31920         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31921         Added declarations for Java_gnu_java_awt_peer_gtk_
31922         GtkWindowPeer_nativeSetLocation and 
31923         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31924         _nativeSetLocationUnlocked.
31925   
31926 2006-02-15  Mark Wielaard  <mark@klomp.org>
31927   
31928         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31929         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31930         Downcast gtk_plug_new result when used.
31931   
31932 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31933   
31934         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31935         Call assignNewHandle() after writing Proxy class.
31936   
31937 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31938   
31939         Fixes bug #14144
31940         * java/io/ObjectInputStream.java (readClassDescriptor):
31941         Class doesn't have to be abstract for first_nonserial.
31942   
31943 2006-02-15  Roman Kennke  <kennke@aicas.com>
31944   
31945         * javax/swing/JInternalFrame.java
31946         (setClosed): Call dispose to actually make the frame invisible
31947         and unselected.
31948   
31949 2006-02-15  Roman Kennke  <kennke@aicas.com>
31950   
31951         * javax/swing/JInternalFrame.java
31952         (dispose): Call setVisible(false) instead of hide.
31953         (doDefaultCloseOperation): Likewise.
31954   
31955 2006-02-15  Roman Kennke  <kennke@aicas.com>
31956   
31957         * javax/swing/JComponent.java
31958         (paintChildren): Also check for the visibility of a child component
31959         to avoid artifacts.
31960         (repaint): Simply add this component to the RepaintManager rather than
31961         trying to do useless optimization here.
31962   
31963 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31964   
31965         * javax/swing/JSpinner.java
31966         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31967         PropertyChangeListener,
31968         (DefaultEditor.getSpinner): Updated API docs,
31969         (DefaultEditor.dismiss): Likewise,
31970         (DefaultEditor.getTextField): Likewise,
31971         (DefaultEditor.layoutContainer): Likewise,
31972         (DefaultEditor.minimumLayoutSize): Likewise,
31973         (DefaultEditor.preferredLayoutSize): Likewise,
31974         (DefaultEditor.propertyChange): Implemented,
31975         (DefaultEditor.stateChanged): Implemented,
31976         (DefaultEditor.removeLayoutComponent): Updated API docs,
31977         (DefaultEditor.addLayoutComponent): Likewise,
31978         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31979         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31980         (NumberEditor.getFormat): Implemented,
31981         (NumberEditor.getModel): Updated API docs,
31982         (NumberEditorFormatter): New static inner class,
31983         (ListEditor.getModel): Updated API docs,
31984         (DateEditor.dateFormat): Removed,
31985         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31986         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31987         (DateEditor.init): Removed,
31988         (DateEditor.getFormat): Reimplemented,
31989         (DateEditorFormatter): New static inner class,
31990         (ModelListener): New inner class,
31991         (model): Updated API docs,
31992         (editor): Likewise,
31993         (listener): Removed,
31994         (JSpinner()): Updated API docs,
31995         (JSpinner(SpinnerModel)): Set up ModelListener,
31996         (setEditor): Fire property change,
31997         (getModel): Updated API docs,
31998         (setModel): Removed check for null editor,
31999         (setValue): Updated API docs,
32000         (getUIClassID): Updated API docs,
32001         (createEditor): Handle SpinnerListModel case,
32002         * javax/swing/plaf/basic/BasicSpinnerUI.java
32003         (createUI): Updated API docs,
32004         (createPropertyChangeListener): Added FIXME,
32005         (installDefaults): Set text field border to null,
32006         (DefaultLayoutManager): Updated API docs,
32007         (DefaultLayoutManager.layoutContainer): Modified layout,
32008         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
32009         (DefaultLayoutManager.preferredLayoutSize): Likewise,
32010         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
32011         (DefaultLayoutManager.addLayoutComponent): Likewise,
32012         (DefaultLayoutManager.minSize): Renamed prefSize,
32013         (DefaultLayoutManager.setBounds): Reformatted,
32014         (DefaultLayoutManager.editor): Added API docs,
32015         (DefaultLayoutManager.next): Likewise,
32016         (DefaultLayoutManager.previous): Likewise,
32017         * javax/swing/plaf/metal/MetalLookAndFeel.java
32018         (initComponentDefaults): Added entry for 'Spinner.border',
32019         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
32021 2006-02-15  Chris Burdess  <dog@gnu.org>
32023         * gnu/xml/validation/datatype/BooleanType.java,
32024           gnu/xml/validation/datatype/ByteType.java,
32025           gnu/xml/validation/datatype/DateTimeType.java,
32026           gnu/xml/validation/datatype/DateType.java,
32027           gnu/xml/validation/datatype/DecimalType.java,
32028           gnu/xml/validation/datatype/DoubleType.java,
32029           gnu/xml/validation/datatype/DurationType.java,
32030           gnu/xml/validation/datatype/FloatType.java,
32031           gnu/xml/validation/datatype/GDayType.java,
32032           gnu/xml/validation/datatype/GMonthDayType.java,
32033           gnu/xml/validation/datatype/GMonthType.java,
32034           gnu/xml/validation/datatype/GYearMonthType.java,
32035           gnu/xml/validation/datatype/GYearType.java,
32036           gnu/xml/validation/datatype/IntType.java,
32037           gnu/xml/validation/datatype/IntegerType.java,
32038           gnu/xml/validation/datatype/LongType.java,
32039           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
32040           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
32041           gnu/xml/validation/datatype/MinExclusiveFacet.java,
32042           gnu/xml/validation/datatype/MinInclusiveFacet.java,
32043           gnu/xml/validation/datatype/NegativeIntegerType.java,
32044           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
32045           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
32046           gnu/xml/validation/datatype/PositiveIntegerType.java,
32047           gnu/xml/validation/datatype/ShortType.java,
32048           gnu/xml/validation/datatype/SimpleType.java,
32049           gnu/xml/validation/datatype/TimeType.java,
32050           gnu/xml/validation/datatype/TypeBuilder.java,
32051           gnu/xml/validation/datatype/UnsignedByteType.java,
32052           gnu/xml/validation/datatype/UnsignedIntType.java,
32053           gnu/xml/validation/datatype/UnsignedLongType.java,
32054           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
32055           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
32056           minInclusive facets use the value space of the base type, and
32057           implement.
32059 2006-02-15  Mark Wielaard  <mark@klomp.org>
32061         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
32062         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
32063         gtk_plug_new() returns a GtkWindow.
32065 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
32067         * javax/swing/SpinnerNumberModel.java
32068         (getNextValue): Check for null maximum,
32069         (getPreviousValue): Check for null minimum.
32070   
32071 2006-02-15  Roman Kennke  <kennke@aicas.com>
32072   
32073         * javax/swing/plaf/basic/BasicTableUI.java
32074         (paint): Paint vertical and horizontal lines one pixel shifted
32075         left/top.
32076   
32077 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
32078   
32079         * java/util/zip/ZipFile.java
32080         (checkZipFile): Inlined readLeInt and rewritten for robustness.
32081         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
32082         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
32083         (readEntries): Rewritten to use PartialInputStream.
32084         (locBuf, checkLocalHeader): Removed.
32085         (getInputStream): Rewritten to use new PartialInputStream.
32086         (PartialInputStream): Rewritten to do buffering.
32088 2006-02-15  Michael Koch  <konqueror@gmx.de>
32090         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
32091         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
32092         Make sure the embedded window gets no decorations.
32093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
32094         (window_get_frame_extents): Return early of the window has no
32095         decorations.
32096   
32097 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32098   
32099         * examples/gnu/classpath/examples/swing/TableDemo.java
32100         (TModel, createContent): Explain which value appears in the header.
32101         * javax/swing/JTable.java (setColumnModel): Only set the
32102         column header value if the getHeaderValue() returns null.
32104 2006-02-14  Mark Wielaard  <mark@klomp.org>
32106         Fixes bug #23931
32107         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
32108         (getErrorImage): New static method.
32109         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
32110         (bufferedImageOrError): Renamed to ...
32111         (imageOrError): Renamed from bufferedImageOrError, takes Image.
32112         Returns GtkImage.getErrorImage() when argument null.
32113         (createImage(String)): Always use imageOrError.
32114         (createImage(URL)): Likewise.
32115         (createImage(ImageProducer)): Likewise.
32116         (createImage(byte[],int,int)): Likewise.
32118 2006-02-14  Roman Kennke  <kennke@aicas.com>
32120         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
32121         unneeded imports.
32122         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
32123         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
32124         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
32125         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
32126         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
32128 2006-02-14  Roman Kennke  <kennke@aicas.com>
32130         * javax/swing/text/AsyncBoxView.java
32131         (ChildState.locator): Removed wrong field.
32132         (ChildState): Removed initialization of removed field.
32133         (locator): Changed access modifier to be protected as specified.
32135 2006-02-14  Roman Kennke  <kennke@aicas.com>
32137         * javax/swing/ToolTipManager.java: Removed unneeded imports.
32138         * javax/swing/Timer.java: Some small reindention.
32139         (task): Made package private to avoid synthetic accessor method.
32140   
32141 2006-02-14  Roman Kennke  <kennke@aicas.com>
32142   
32143         * javax/swing/SwingUtilities.java
32144         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
32145         no icon.
32146   
32147 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32148   
32149         * examples/gnu/classpath/examples/swing/TableDemo.java:
32150         Making the columns variable width.
32151         * javax/swing/JTable.java (distributeSpill, doLayout):
32152           Call getPreferredSize and not getSize().
32153   
32154 2006-02-14  Roman Kennke  <kennke@aicas.com>
32155   
32156         * javax/swing/DefaultCellEditor.java
32157         (DefaultCellEditor): API doc fixlet.
32158   
32159 2006-02-14  Roman Kennke  <kennke@aicas.com>
32160   
32161         * javax/swing/JViewport.java
32162         (isPaintRoot): New field.
32163         (repaint): Only call super here. Also added a comment regarding
32164         the diversion from the JDK.
32165         (paintBlit): Implemented real blitting.
32166         (paintImmediately2): New method. Overrides the same package private
32167         method in JComponent.
32168   
32169 2006-02-14  Roman Kennke  <kennke@aicas.com>
32170   
32171         * javax/swing/plaf/basic/BasicTableUI.java
32172         (paint): Check for boundary cases when determining the painting
32173         area.
32174   
32175 2006-02-14  Mark Wielaard  <mark@klomp.org>
32176   
32177         * java/awt/Menu.java (add): Always set parent of item to this. Call
32178         addNotify() on item when we have a MenuPeer already.
32179         (insert): Always adjust parent for item. Call addNotify() on item if
32180         we already have a peer.
32181         (remove(int)): Always clear item parent. Call removeNotify() on item
32182         if we had a peer.
32183   
32184 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32185   
32186         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
32187         row == getRowCount().
32188   
32189 2006-02-14  Lillian Angel  <langel@redhat.com>
32190         
32191         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
32192         (setVisible): New method to override super. Need to set the
32193         native bounds of the component, so it appears at the
32194         correct location.
32196 2006-02-14  Mark Wielaard  <mark@klomp.org>
32198         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
32199         (remove): If menu component is the current MenuBar remove it,
32200         otherwise call super.remove().
32201         * java/awt/MenuBar.java (frame): Remove field.
32202         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
32204 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32206         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
32207         to NameServicePersistent.
32208         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
32209         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
32211 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32213         * NEWS: Updated tool status.
32214         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
32215         (constructor, bind, rebind): Rewritten.  
32216         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
32217         * tools/gnu/classpath/tools/giop/README: Updated.
32218         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
32219         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
32220         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
32221         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
32222         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
32223         New files.
32224   
32225 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
32226   
32227         * javax/swing/JComponent.java
32228         (getListeners): Check for PropertyChangeListener.class and delegate to 
32229         getPropertyChangeListeners() for that case.
32230   
32231 2006-02-13  Roman Kennke  <kennke@aicas.com>
32232   
32233         * javax/swing/plaf/basic/BasicTableUI.java
32234         (paint): Determine the cells that need painting based on the
32235         current clip. Use getCellRect() for calculating the cell
32236         bounds.
32237   
32238 2006-02-13  Roman Kennke  <kennke@aicas.com>
32239   
32240         * javax/swing/JTable.java
32241         (rectCache): New field.
32242         (getCellRect): Returns cached Rectangle instance.
32243   
32244 2006-02-13  Roman Kennke  <kennke@aicas.com>
32245   
32246         * javax/swing/JLayeredPane.java
32247         (removeAll): New method. Avoid potential memory leak.
32248         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
32249         calculation.
32250   
32251 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
32252   
32253         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
32254         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
32255   
32256 2006-02-13  Tom Tromey  <tromey@redhat.com>
32257   
32258         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
32259         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
32260   
32261 2006-02-13  Roman Kennke  <kennke@aicas.com>
32262   
32263         * javax/swing/RepaintManager.java
32264         (offscreenBuffers): New field.
32265         (doubleBuffer): Removed field.
32266         (repaintUnderway): New field.
32267         (commitRequests): New field.
32268         (RepaintManager): Initialize new fields.
32269         (paintDirtyRegions): Handle repaintUnderway flag. Commit
32270         buffers when done.
32271         (getOffscreenBuffer): Returns the offscreen buffer for the
32272         corresponding root component.
32273         (commitBuffer): New method.
32274         (commitRemainingBuffers): New method.
32275         * javax/swing/JComponent.java
32276         (paint): Call paintDoubleBuffered with the current clip.
32277         (paintImmediately2): Don't paint on screen here.
32278         (paintDoubleBuffered): Rewritten for real double buffering.
32279         (paintSimple): Draw to screen in this method.
32280   
32281 2006-02-13  Roman Kennke  <kennke@aicas.com>
32282   
32283         * javax/swing/JRootPane.java
32284         (JRootPane): Set opaque property to true.
32285   
32286 2006-02-13  Tom Tromey  <tromey@redhat.com>
32287   
32288         * .classpath: Updated for external/relaxngDatatype.
32289   
32290 2006-02-13  Chris Burdess  <dog@gnu.org>
32291   
32292         * gnu/xml/stream/UnicodeReader.java,
32293           gnu/xml/validation/datatype/Annotation.java,
32294           gnu/xml/validation/datatype/AnySimpleType.java,
32295           gnu/xml/validation/datatype/AnyType.java,
32296           gnu/xml/validation/datatype/AnyURIType.java,
32297           gnu/xml/validation/datatype/AtomicSimpleType.java,
32298           gnu/xml/validation/datatype/Base64BinaryType.java,
32299           gnu/xml/validation/datatype/BooleanType.java,
32300           gnu/xml/validation/datatype/ByteType.java,
32301           gnu/xml/validation/datatype/DateTimeType.java,
32302           gnu/xml/validation/datatype/DateType.java,
32303           gnu/xml/validation/datatype/DecimalType.java,
32304           gnu/xml/validation/datatype/DoubleType.java,
32305           gnu/xml/validation/datatype/DurationType.java,
32306           gnu/xml/validation/datatype/EntitiesType.java,
32307           gnu/xml/validation/datatype/EntityType.java,
32308           gnu/xml/validation/datatype/EnumerationFacet.java,
32309           gnu/xml/validation/datatype/Facet.java,
32310           gnu/xml/validation/datatype/FloatType.java,
32311           gnu/xml/validation/datatype/FractionDigitsFacet.java,
32312           gnu/xml/validation/datatype/GDayType.java,
32313           gnu/xml/validation/datatype/GMonthDayType.java,
32314           gnu/xml/validation/datatype/GMonthType.java,
32315           gnu/xml/validation/datatype/GYearMonthType.java,
32316           gnu/xml/validation/datatype/GYearType.java,
32317           gnu/xml/validation/datatype/HexBinaryType.java,
32318           gnu/xml/validation/datatype/IDRefType.java,
32319           gnu/xml/validation/datatype/IDRefsType.java,
32320           gnu/xml/validation/datatype/IDType.java,
32321           gnu/xml/validation/datatype/IntType.java,
32322           gnu/xml/validation/datatype/IntegerType.java,
32323           gnu/xml/validation/datatype/LanguageType.java,
32324           gnu/xml/validation/datatype/LengthFacet.java,
32325           gnu/xml/validation/datatype/ListSimpleType.java,
32326           gnu/xml/validation/datatype/LongType.java,
32327           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
32328           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
32329           gnu/xml/validation/datatype/MaxLengthFacet.java,
32330           gnu/xml/validation/datatype/MinExclusiveFacet.java,
32331           gnu/xml/validation/datatype/MinInclusiveFacet.java,
32332           gnu/xml/validation/datatype/MinLengthFacet.java,
32333           gnu/xml/validation/datatype/NCNameType.java,
32334           gnu/xml/validation/datatype/NMTokenType.java,
32335           gnu/xml/validation/datatype/NMTokensType.java,
32336           gnu/xml/validation/datatype/NameType.java,
32337           gnu/xml/validation/datatype/NegativeIntegerType.java,
32338           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
32339           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
32340           gnu/xml/validation/datatype/NormalizedStringType.java,
32341           gnu/xml/validation/datatype/NotationType.java,
32342           gnu/xml/validation/datatype/PatternFacet.java,
32343           gnu/xml/validation/datatype/PositiveIntegerType.java,
32344           gnu/xml/validation/datatype/QNameType.java,
32345           gnu/xml/validation/datatype/ShortType.java,
32346           gnu/xml/validation/datatype/SimpleType.java,
32347           gnu/xml/validation/datatype/StringType.java,
32348           gnu/xml/validation/datatype/TimeType.java,
32349           gnu/xml/validation/datatype/TokenType.java,
32350           gnu/xml/validation/datatype/TotalDigitsFacet.java,
32351           gnu/xml/validation/datatype/Type.java,
32352           gnu/xml/validation/datatype/TypeBuilder.java,
32353           gnu/xml/validation/datatype/TypeLibrary.java,
32354           gnu/xml/validation/datatype/TypeLibraryFactory.java,
32355           gnu/xml/validation/datatype/UnionSimpleType.java,
32356           gnu/xml/validation/datatype/UnsignedByteType.java,
32357           gnu/xml/validation/datatype/UnsignedIntType.java,
32358           gnu/xml/validation/datatype/UnsignedLongType.java,
32359           gnu/xml/validation/datatype/UnsignedShortType.java,
32360           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
32361           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
32362           RELAX NG datatype library implementation for XML Schema Datatypes.
32364 2006-02-13  Chris Burdess  <dog@gnu.org>
32366         * LICENCE,
32367           NEWS,
32368           configure.ac,
32369           doc/README.jaxp,
32370           external/Makefile.am,
32371           external/relaxngDatatype/.cvsignore,
32372           external/relaxngDatatype/Makefile.am,
32373           external/relaxngDatatype/README.txt,
32374           external/relaxngDatatype/copying.txt,
32375           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
32376           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
32377           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
32378           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
32379           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
32380           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
32381           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
32382           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
32383           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
32384           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
32385           lib/Makefile.am,
32386           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
32387           datatypes library API.
32388   
32389 2006-02-13  Mark Wielaard  <mark@klomp.org>
32390   
32391         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
32392         final.
32393         (gtkWidgetModifyFont(Font)): New protected helper method.
32394         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
32395         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
32396         protected and document.
32397         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
32398         Likewise.
32399         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
32400         Likewise.
32401         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
32402         Likewise.
32403         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
32404         (setFont): Removed method. Done in GtkMenuComponent.
32405         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
32406         abstract and protected.
32407         (setFont): Made private, add implementation.
32408         (setFont(Font)): Implemented.
32409         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
32410         Made protected and document.
32411         (create): Made protected.
32412         (setFont): Removed method. Done in GtkMenuComponent.
32413         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
32414         (gtkWidgetModifyFont): Made protected and document.
32415         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
32416         Removed, similar to GtkGenericPeer super class implementation.
32417         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
32418         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
32419         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
32420         Removed.
32421   
32422 2006-02-13  Mark Wielaard  <mark@klomp.org>
32423   
32424         * java/lang/Math.java (static): Explicitly call
32425         System.loadLibrary("javalang").
32426   
32427 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
32428   
32429         * javax/print/StreamPrintServiceFactory.java: New file.
32430   
32431 2006-02-13  Tom Tromey  <tromey@redhat.com>
32432   
32433         * tools/.cvsignore: Added Makefile.
32434   
32435 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
32436   
32437         * java/awt/print/PrinterGraphics.java: Reformatted.
32438         * java/awt/print/Paper.java: Likewise.
32439         * java/awt/print/PageFormat.java: Likewise.
32440         * java/awt/print/Pageable.java: Likewise.
32441   
32442 2006-02-13  Lillian Angel  <langel@redhat.com>
32443   
32444         * java/awt/BorderLayout.java
32445         (layoutContainer): Rewrote part of this function to 
32446         properly set the bounds of the components.
32447         (setBounds): Removed method, not needed.
32448   
32449 2006-02-13  Roman Kennke  <kennke@aicas.com>
32450   
32451         * javax/swing/text/DefaultStyledDocument.java
32452         (ElementBuffer.clone): Fixed replace call.
32453         (clone): Removed method.
32454   
32455 2006-02-13  Roman Kennke  <kennke@aicas.com>
32456   
32457         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
32458   
32459 2006-02-13  Roman Kennke  <kennke@aicas.com>
32460   
32461         * java/rmi/server/UnicastRemoteObject.java
32462         (exportObject(Remote)): Forward method call to export(Remote,int).
32463   
32464 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
32465   
32466         * include/Makefile.am:
32467         Swapped Math.h for VMMath.h
32468         * include/java_lang_Math.h:
32469         Removed.
32470         * include/java_lang_VMMath.h:
32471         New autogenerated header for the new class.
32472         * java/lang/Math.java:
32473         (sin(double)): Changed to link to VMMath.
32474         (cos(double)): Changed to link to VMMath.
32475         (tan(double)): Changed to link to VMMath.
32476         (asin(double)): Changed to link to VMMath.
32477         (acos(double)): Changed to link to VMMath.
32478         (atan(double)): Changed to link to VMMath.
32479         (atan2(double)): Changed to link to VMMath.
32480         (exp(double)): Changed to link to VMMath.
32481         (log(double)): Changed to link to VMMath.
32482         (sqrt(double)): Changed to link to VMMath.
32483         (pow(double,double)): Changed to link to VMMath.
32484         (IEEEremainder(double,double)): Changed to link to VMMath.
32485         (ceil(double)): Changed to link to VMMath.
32486         (floor(double)): Changed to link to VMMath.
32487         (rint(double)): Changed to link to VMMath.
32488         * native/jni/java-lang/Makefile.am:
32489         Replaced java_lang_Math.c with java_lang_VMMath.c
32490         * native/jni/java-lang/java_lang_Math.c:
32491         Removed.
32492         * native/jni/java-lang/java_lang_VMMath.c:
32493         Renamed from java_lang_Math.c.
32494         * vm/reference/java/lang/VMMath.java:
32495         New class.
32496         (sin(double)): New native method.
32497         (cos(double)): New native method.
32498         (tan(double)): New native method.
32499         (asin(double)): New native method.
32500         (acos(double)): New native method.
32501         (atan(double)): New native method.
32502         (atan2(double)): New native method.
32503         (exp(double)): New native method.
32504         (log(double)): New native method.
32505         (sqrt(double)): New native method.
32506         (pow(double,double)): New native method.
32507         (IEEEremainder(double,double)): New native method.
32508         (ceil(double)): New native method.
32509         (floor(double)): New native method.
32510         (rint(double)): New native method.
32511         
32512 2006-02-13  Lillian Angel  <langel@redhat.com>
32513   
32514         * java/awt/Component.java
32515         (repaint): No need to call isShowing, it is done in the other repaint call.
32516         (repaint): Likewise.
32517         (repaint): Likewise.
32518   
32519 2006-02-13  Lillian Angel  <langel@redhat.com>
32520   
32521         * java/awt/Component.java
32522         (repaint): Reverted last change.
32523         (repaint): Likewise.
32524         (repaint): Likewise.
32526 2006-02-13  Lillian Angel  <langel@redhat.com>
32528         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32529         (handleEvent): Made more efficent by handling paint event and
32530         setting the clip for the graphics.
32531         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32532         (handleEvent): Likewise.
32533         * java/awt/Component.java
32534         (repaint): No need to call isShowing, it is done in the other repaint call.
32535         (repaint): Likewise.
32536         (repaint): Likewise.
32537   
32538 2006-02-13  Roman Kennke  <kennke@aicas.com>
32539   
32540         * javax/swing/text/AbstractDocument.java
32541         (setParent): Added API docs. Call setParent(null) on children before
32542         disconnecting this view from the View hierarchy.
32543   
32544 2006-02-13  Roman Kennke  <kennke@aicas.com>
32545   
32546         * javax/swing/text/AbstractDocument.java
32547         (readUnlock): Don't attempt to unlock when the current threads also
32548         holds a write lock.
32549   
32550 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
32551   
32552         * javax/swing/plaf/metal/MetalBorders.java
32553         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
32554         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
32555         insets argument,
32556         (Flush3DBorder.borderInsets): New field,
32557         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
32558         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
32559         null insets argument, and populate result from borderInsets,
32560         (PaletteBorder.borderInsets): New field,
32561         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
32562         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
32563         null insets argument, and populate result from borderInsets,
32564         (InternalFrameBorder.borderInsets): New field,
32565         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
32566         directly,
32567         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
32568         for null insets argument, and populate result from borderInsets,
32569         (MenuItemBorder.borderInsets): Initialise to correct value.
32571 2006-02-13  Roman Kennke  <kennke@aicas.com>
32573         * javax/swing/text/AsyncBoxView.java: New file.
32575 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32577         Fixes bug #26166
32578         * gnu/regexp/RE.java(initialize): Parsing of character class expression
32579         was moved to a new method parseCharClass.
32580         (parseCharClass): New method originally in initialize. Added parsing
32581         of nested character classes.
32582         (ParseCharClassResult): New inner class used as a return value of
32583         parseCharClass.
32584         (getCharExpression),(getNamedProperty): Made static.
32585         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
32586         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
32587         nested character classes.
32588         (RETokenOneOf): New constructor accepting the Vector addition.
32589         (getMinimumLength), (getMaximumLength): Returns 1 if the token
32590         stands for only one character.
32591         (match): Added the processing of the Vector addition.
32592         (matchN), (matchP): Do not check next token if addition is used.
32593   
32594 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
32595   
32596         * AUTHORS: add self.
32597   
32598 2006-02-12  Tom Tromey  <tromey@redhat.com>
32599   
32600         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
32601         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
32602         (securityContext): Likewise.
32603         (log): Likewise.
32604   
32605 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
32606   
32607         Fixes PR 26218.
32608   
32609         * gnu/java/net/protocol/file/Connection.java (unquote):
32610         Convert Unicode characters outside basic plane to UTF-8,
32611         rather than throwing an exception.
32612   
32613 2006-02-12  Tom Tromey  <tromey@redhat.com>
32614   
32615         * javax/sound/sampled/LineEvent.java (readObject): New method.
32616         (writeObject): Likewise.
32617         (serialVersionUID): New field.
32618   
32619 2006-02-12  Mark Wielaard  <mark@klomp.org>
32620   
32621         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32622         Silently ignores null listener.
32623         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32624         (getPropertyChangeListeners): Returns empty PropertyChangeListener
32625         array for null propertyName.
32627 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32629         * java/rmi/MarshalledObject.java: Added api docs to the class.
32630         * java/rmi/Remote.java: Added interface api docs.
32631         * java/rmi/package.html: Added package description.
32632         * java/rmi/AccessException.java: Minor api doc fixes.
32633         * java/rmi/NoSuchObjectException.java: Likewise.
32634         * java/rmi/AlreadyBoundException.java: Likewise.
32635         * java/rmi/RemoteException.java: Likewise.
32636         * java/rmi/NotBoundException.java: Likewise.
32637         * java/rmi/RMISecurityException.java: Likewise.
32638         * java/rmi/StubNotFoundException.java: Likewise.        
32640 2006-02-12  Mark Wielaard  <mark@klomp.org>
32642         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32643         q() to get EventQueue.
32644         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32645         (enableQueue): Remove static method.
32646         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32647         Don't call GtkGenericPeer.enableQueue().
32649 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32651         * java/rmi/MarshalledObject.java: Reformatted.
32652         * java/rmi/Naming.java: Likewise.       
32654 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32656         * java/io/InputStream.java
32657         (read(byte[],int,int)): Changed argument validation to prevent
32658         integer overflow. Remove redundant check.
32659   
32660 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32661   
32662         Fixes PR 26220
32663         * java/io/InputStreamReader.java
32664         (InputStreamReader(InputStream)): Use SystemProperties.
32665         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32666         Throw NullPointerException if in is null.
32667         Added maxBytesPerChar initialisation.
32668         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32669         Throw NullPointerException if in is null.
32671 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
32673         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32674         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32675         (GnuDHPublicKey): New constructor.
32676         (getEncoded): Removed.
32677         (valueOf): Added support for ASN.1 encoding.
32678         (getEncoded(int)): Likewise.
32679         (equals): New method.
32680         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32681         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32682         (GnuDHPrivateKey(5)): New constructor.
32683         (getEncoded): Removed.
32684         (valueOf): Added support for ASN.1 encoding.
32685         (getEncoded(int)): Likewise.
32686         (equals): New method.
32687         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32688         (PREFERRED_ENCODING_FORMAT): New constant.
32689         (DEFAULT_ENCODING_FORMAT): Likewise.
32690         (preferredFormat): New field.
32691         (setup): Handle preferred encoding format identifier.
32692         (generate): Call constructors with format identifier.
32693         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32694         (GnuDHKey): Added an int argument.
32695         (getEncoded): New method.
32696         (getFormat): New implementation.
32697         (getEncoded(int)): New abstract method.
32698         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32699         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32700         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32701         key-pair generator and key-factory.
32702         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32703         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32704         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32705         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32706         (invokeConstructor): New method.
32707         (getConcreteClass): Likewise.
32708         (getConcreteCtor): Likewise.
32709         (invokeValueOf): Likewise.
32710         (getValueOfMethod): Likewise.
32711         (engineGeneratePublic): Add support for DH keys.
32712         (engineGeneratePrivate): Likewise.
32713         (decodeDHPublicKey(DHPublicKeySpec)): New method.
32714         (decodeDHPublicKey(byte[])): Likewise.
32715         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32716         (decodeDHPrivateKey(byte[])): Likewise.
32718 2006-02-11  Mark Wielaard  <mark@klomp.org>
32720         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32721         Removed field.
32722         (repaint): Immediately post to queue when tm <= 0, otherwise call
32723         RepaintTimerTask.schedule().
32724         (RepaintTimerTask): Make static.
32725         (RepaintTimerTask.repaintTimer): New static final field.
32726         (RepaintTimerTask.awtComponent): New field.
32727         (schedule): New static method.
32729 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32731         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32732         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32733         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32734         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32735         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32736         Rewritten.
32737         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32738   
32739 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
32740   
32741         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32742         (engineGeneratePublic): Added support for raw key-specifications.
32743         (engineGeneratePrivate): Likewise.
32744         (decodeDSSPublicKey): New method.
32745         (decodeRSAPublicKey): Likewise.
32746         (decodeDSSPrivateKey): Likewise.
32747         (decodeRSAPrivateKey): Likewise.
32748         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32749         (encodePrivateKey): Throw InvalidParameterException.
32750         (decodePublicKey): Likewise.
32751         (decodePrivateKey): Likewise.
32752         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32753         (encodePublicKey): Likewise.
32754         (encodePrivateKey): Likewise.
32755         (decodePublicKey): Likewise.
32756         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32757         (encodePrivateKey): Likewise.
32758         (decodePublicKey): Likewise.
32759         (decodePrivateKey): Likewise.
32760         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32761         (encodePublicKey): Likewise.
32762         (encodePrivateKey): Likewise.
32763         (decodePublicKey): Likewise.
32764   
32765 2006-02-10  Roman Kennke  <kennke@aicas.com>
32766   
32767         * javax/swing/text/StyleContext.java
32768         (registerStaticAttributeKey): New static method.
32769   
32770 2006-02-10  Roman Kennke  <kennke@aicas.com>
32771   
32772         * javax/swing/text/DefaultStyledDocument.java
32773         (ElementBuffer.clone): New method.
32774   
32775 2006-02-10  Roman Kennke  <kennke@aicas.com>
32776   
32777         * javax/swing/text/ParagraphView.java
32778         (findOffsetToCharactersInString): New method.
32779         (getClosestPositionTo): New method.
32780         (getPartialSize): New method.
32781         (getTabBase): New method.
32782         (adjustRow): New method.
32783         (breakView): New method.
32784         (getBreakWeight): New method.
32785   
32786 2006-02-10  Roman Kennke  <kennke@aicas.com>
32787   
32788         * javax/swing/text/GapContent.java
32789         (updateUndoPositions): New method.
32790         * javax/swing/text/StringContent.java
32791         (updateUndoPositions): New method.
32792   
32793 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32794   
32795         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32796         Made it public.
32797         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32798         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32799         Added support for encoded key specifications.
32800         (engineGeneratePrivate): Likewise.
32801         (engineGetKeySpec): Likewise.
32802         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32803   
32804 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32805   
32806         * javax/swing/text/Utilities.java:
32807         (getTabbedTextOffset): Fixed usage of variable p0.
32808         (getPositionAbove): Rewritten.
32809         (getPositionBelow): Rewritten.
32810   
32811 2006-02-09  Roman Kennke  <kennke@aicas.com>
32812   
32813         * javax/swing/text/BoxView.java
32814         (getAxis): Added @since tag.
32815         (setAxis): Added @since tag.
32816         (layoutChanged): Added @since tag.
32817         (isLayoutValid): Added @since tag.
32818         (paint): Don't call setSize here. This is done in RootView already.
32819         (getMaximumSpan): Reimplemented to return the requirements'
32820         maximum size. Added API docs.
32821         (getMinimumSpan): New method.
32822         (layout): Fixed layout order.
32823         (modelToView): Call layout instead of setSize here.
32824         (getResizeWeight): New method.
32825         (getChildAllocation): New method.
32826         (forwardUpdate): New method.
32827         (viewToModel): New method.
32828         (flipEastEndWestEnds): New method.
32829         * javax/swing/text/CompositeView.java
32830         (modelToView): Made this method more robust by returning a default
32831         location if it's not possible to calculate one via the children.
32832         This default location returns the left or right edge of this
32833         view.
32834         (createDefaultLocation): New helper method.
32835         * javax/swing/text/IconView.java
32836         (modelToView): Don't throw BadLocationException. This should
32837         really only be thrown if the position is outside the document
32838         model, not if it's outside the view's boundary.
32839   
32840 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32841   
32842         * tools/Makefile.am: Handle rmi and giop folders separately.
32843   
32844 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32845   
32846         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32847         * javax/swing/SpinnerNumberModel.java: Likewise.
32848   
32849 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32850   
32851         * javax/swing/SpinnerDateModel.java: Removed tabs,
32852         * javax/swing/SpinnerNumberModel.java: Likewise.
32853   
32854 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32855   
32856         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32857         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32858   
32859 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32860   
32861         Fixes bug #26081
32862         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32863         (isRedirect): Removed, moved to Response.java.
32864         (connect): If error condition redirect responseSink to errorSink.
32865         (getInputStream): If error condition throw IOException, for the error
32866         codes 404 and 410 throw a FileNotFoundException.        
32867         * gnu/java/net/protocol/http/Response.java (isError): New method.
32868         (isRedirect): New method, moved from HTTPURLConnection.java.
32869   
32870 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32871   
32872         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32873         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32874         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32875         Better diagnostic.
32876         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32877         Rewritten.
32878         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32879         AbstractMethodGenerator.
32880         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32881         tools/gnu/classpath/tools/rmi/RMIC.java,
32882         tools/gnu/classpath/tools/rmi/RMIC.txt,
32883         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32884         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32885         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32886         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32887         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32888         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32889         New files.
32890         * NEWS: Corrected entry about the tools.
32891   
32892 2006-02-09  Lillian Angel  <langel@redhat.com>
32893   
32894         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32895         (handleEvent): Added more to check to prevent assertion errors.
32896         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32897         (handleEvent): Likewise.
32898         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32899         (handleEvent): Likewise.
32900   
32901 2006-02-09  Mark Wielaard  <mark@klomp.org>
32902   
32903         * javax/swing/JTable.java (tableChanged): Interpret null event as
32904         "everything changed".
32905   
32906 2006-02-09  Roman Kennke  <kennke@aicas.com>
32907   
32908         * javax/swing/text/DefaultCaret.java
32909         (DocumentHandler.removeUpdate): When update policy is
32910         'on eventqueue', and the update doesn't come from the
32911         event queue, check if the current dot location is still
32912         valid.
32913         (moveDot): Make sure the new dot location is valid.
32914         (setDot): Set the mark the same as the dot.
32915   
32916 2006-02-09  Roman Kennke  <kennke@aicas.com>
32917   
32918         * javax/swing/text/AbstractDocument.java
32919         (remove): Perform all operations within a write lock and in the
32920         correct order.
32921   
32922 2006-02-09  Mark Wielaard  <mark@klomp.org>
32923   
32924         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32925         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32926         creater than min, adjusting page_size if necessary.
32927         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32928   
32929 2006-02-09  Lillian Angel  <langel@redhat.com>
32930   
32931         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32932         (handleEvent): Added code to handle PaintEvent.UPDATE.
32933         Sun does not call update(Graphics g) on Panels.
32934         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32935         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32936         Sun does not call update(Graphics g) on Panels.
32937   
32938 2006-02-09  Roman Kennke  <kennke@aicas.com>
32939   
32940         * javax/swing/text/BoxView.java
32941         (myAxis): Made field private.
32942         (xLayoutValid): Replaced by layoutValid array.
32943         (yLayoutValid): Replaced by layoutValid array.
32944         (layoutValid): New field.
32945         (spansX): Replaced by spans array.
32946         (spansY): Replaced by spans array.
32947         (spans): New field.
32948         (offsetsX): Replaced by offsets array.
32949         (offsetsY): Replaced by offsets array.
32950         (offsets): New field.
32951         (requirements): New field.
32952         (BoxView): Initialize new fields.
32953         (layoutChanged): Rewritten to use the layoutValid array.
32954         (isLayoutValid): Rewritten to use the layoutValid array.
32955         (replace): Use the new arrays.
32956         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32957         instead of baselineRequirements.
32958         (baselineRequirements): Rewritten to calculate baseline requirements.
32959         (baselineLayout): Rewritten to calculate baseline layout.
32960         (childAllocation): Use new arrays.
32961         (layout): Rewritten. Only update the layout if necessary.
32962         (layoutMajorAxis): Directly set layoutValid.
32963         (layoutMinorAxis): Directly set layoutValid. Use cached size
32964         requirements.
32965         (getWidth): Use new span array.
32966         (getHeight): Likewise.
32967         (setSize): Rewritten to simply call layout().
32968         (validateLayout): Removed unneeded method.
32969         (getSpan): Use new arrays.
32970         (getOffset): Use new arrays.
32971         (getAlignment): Use cached requirements if possible.
32972         (preferenceChanged): Use new arrays.
32973         * javax/swing/text/FlowView.java
32974         (FlowStrategy.insertUpdate): Do nothing here.
32975         (FlowStrategy.removeUpdate): Do nothing here.
32976         (FlowStrategy.changedUpdate): Do nothing here.
32977         (FlowStrategy.layoutRow): Rewritten.
32978         (FlowStrategy.createView): Rewritten.
32979         (FlowStrategy.adjustRow): New method.
32980         (LogicalView.getViewIndex): Fixed condition for finding child
32981         view.
32982         (layoutDirty): New field indicating the state of the layout.
32983         (FlowView): Initialize new field.
32984         (loadChildren): Set parent on logical view so that preferenceChanges
32985         get propagated upwards.
32986         (layout): Rewritten to match the specs.
32987         (insertUpdate): Set layout to dirty.
32988         (removeUpdate): Set layout to dirty.
32989         (changedUpdate): Set layout to dirty.
32990         * javax/swing/text/GlyphView.java
32991         (getBreakWeight): Rewritten to use the Utilities class. Commented
32992         out though because that is broken.
32993         (insertUpdate): Call preferenceChanged on this object instead of
32994         parent.
32995         * javax/swing/text/ParagraphView.java
32996         (Row.loadChildren): Overridden to be a noop to prevent initial
32997         creation of child views. This is carried out by the flow layout.
32998         * javax/swing/text/View.java
32999         (getPreferredSpan): Added API docs.
33000         (getResizeWeight): Added API docs.
33001         (getMaximumSpan): Added API docs. Rewritten to only have one exit
33002         point.
33003         (getMinimumSpan): Added API docs. Rewritten to return 0 when
33004         resizable instead of Integer.MAX_VALUE.
33005         (getAlignment): Added API docs.
33006         (replace): Added API docs.
33007         (forwardUpdate): Rewritten to only notify child views that need to
33008         be notified.
33009   
33010 2006-02-09  Roman Kennke  <kennke@aicas.com>
33011   
33012         * javax/swing/plaf/basic/BasicTextUI.java
33013         (RootView.paint): Call setSize() before painting the view.
33014   
33015 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33016   
33017         Fixes bug #26112
33018         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
33019         flag which enables backslash escape in a replacement.
33020         (getReplacement): New public static method. 
33021         (substituteImpl),(substituteAllImpl): Use getReplacement.
33022         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
33023         * java/util/regex/Matcher.java(appendReplacement)
33024         Use RE#getReplacement.
33025         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
33027 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
33029         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
33030         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
33031         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
33032         (PREFERRED_ENCODING_FORMAT): New constant.
33033         (DEFAULT_ENCODING_FORMAT): Likewise.
33034         (preferredFormat): New field.
33035         (setup): Add support for preferred encoding format.
33036         (generate): Call key constructors with explicit format identifier.
33037         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
33038         Call constructor with 3 arguments..
33039         (GnuRSAPublicKey(3)): New constructor.
33040         (valueOf): Added support for ASN.1 format.
33041         (getEncoded): Likewise.
33042         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
33043         Call constructor with 5 arguments.
33044         (GnuRSAPrivateKey(5)): New constructor.
33045         (GnuRSAPrivateKey(9)): New constructor.
33046         (valueOf): Added support for ASN.1 format.
33047         (getEncoded): Likewise.
33048         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
33049         (GnuRSAKey): Modified constructor.
33050         (getFormat): Return preferred format identifier.
33051         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
33052         (decodePrivateKey): Fixed documentation.
33053         Check Version field.
33054         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
33055         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
33056         format.
33057         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
33058         * gnu/java/security/jce/sig/EncodedKeyFactory.java
33059         (engineGeneratePublic): Added support for RSA.
33060         (engineGeneratePrivate): Likewise.
33062 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
33064         * java/net/URLConnection.java:
33065         (setAllowUserInteraction): Throw IllegalStateException if connected.
33066         (getRequestProperty): Document return value if key is null.
33067         * gnu/java/net/protocol/http/HTTPURLConnection.java:
33068         (getRequestProperty): Return null if key is null.
33069         (getRequestProperties): Throw IllegalStateException if connected.
33070         (setRequestProperty): Call super method for exception tests.
33071         (addRequestProperty): Likewise.
33072   
33073 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
33074   
33075         * gnu/java/net/protocol/http/Request.java:
33076         (Request): Remove initialization of removed field.
33077         (requestBodyNegotiationThreshold): Removed now unused field.
33078         (setRequestBodyNegotiationThreshold): Remove now unused method.
33079         (dispatch): Do not use 'Expect 100-continue' header if content-length
33080         is over a treshold. If user specified 'Expect 100-continue' still
33081         initialize the expectingContinue variable.
33083 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
33085         * javax/swing/SpinnerNumberModel.java
33086         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
33087         maximum and minimum to take null values,
33088         (setValue): Only fire ChangeEvent if new value is different to old 
33089         value,
33090         (setMinimum): Fixed test for updating value,
33091         (setMaximum): Likewise,
33092         (setStepSize): Likewise.
33093   
33094 2006-02-08  Tom Tromey  <tromey@redhat.com>
33095   
33096         * tools/.cvsignore: Added Makefile.in.
33097   
33098 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33099   
33100         * java/rmi/server/RemoteRef.java,
33101         java/rmi/server/RemoteStub.java: Commented.
33102   
33103 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
33104   
33105         * javax/swing/SpinnerDateModel.java
33106         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
33107         checks,
33108         (getPreviousValue): Check result against start, not end,
33109         (setValue): Check that value actually changes before firing 
33110         ChangeEvent.
33112 2006-02-08  Lillian Angel  <langel@redhat.com>
33114         * java/awt/Choice.java
33115         (select): Fixed up code, added some checks to prevent errors.
33116         (dispatchEventImpl): Removed. This function is not needed. It 
33117         causes several assertion errors.
33118   
33119 2006-02-08  Roman Kennke  <kennke@aicas.com>
33120   
33121         * javax/swing/text/PlainView.java
33122         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
33123         drawing unnecessary characters.
33124   
33125 2006-02-08  Lillian Angel  <langel@redhat.com>
33126   
33127         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
33128         (handleEvent): Fixed check to determine if height or
33129         width is less than 1.
33130   
33131 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33132   
33133         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
33134   
33135 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33136   
33137         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
33138         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
33139         Documenting the code generator.
33140         * gnu/CORBA/IOR.java (toStringFormatted, 
33141         CodeSet_component.toStringFormatted): New methods.
33142         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
33143         * tools/gnu/classpath/tools/giop/README: Rewritten.
33144         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
33145         (printHelpAndExit): Removed.
33146         *tools/gnu/classpath/tools/giop/IorParser.java,
33147         tools/gnu/classpath/tools/giop/IorParser.txt,
33148         tools/gnu/classpath/tools/giop/NameService.java,
33149         tools/gnu/classpath/tools/giop/NamingService.txt,
33150         tools/gnu/classpath/tools/HelpPrinter.java: New files.
33151         NEWS: Added note about GIOP tools.
33153 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33155         * .classpath: New source patch (tools).
33156         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
33157         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
33158         * tools/gnu/classpath/tools/Makefile.am,
33159         tools/gnu/classpath/tools/giop/GRMIC.java
33160         tools/gnu/classpath/tools/giop/GRMIC.txt,
33161         tools/gnu/classpath/tools/giop/README,
33162         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
33163         tools/gnu/classpath/tools/giop/grmic/Generator.java,
33164         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
33165         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
33166         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
33167         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
33168         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
33169         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
33170         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
33171         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
33172         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
33173         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
33174   
33175 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
33176   
33177         * java/awt/BasicStroke.java: Updated API docs all over,
33178         * java/awt/doc-files/capjoin.png: New file.
33179   
33180 2006-02-07  Lillian Angel  <langel@redhat.com>
33181   
33182         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
33183         (handleEvent): Added check. Should not paint or update the 
33184         component if it's width and height are both 0.  
33185   
33186 2006-02-07  Roman Kennke  <kennke@aicas.com>
33187   
33188         * javax/swing/text/AbstractDocument.java
33189         (insertString): Enclose locking/unlocking in try-finally block
33190         and also keep locked while notifying the listeners.
33191   
33192 2006-02-07  Roman Kennke  <kennke@aicas.com>
33193   
33194         * javax/swing/text/GlyphView.java
33195         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
33196         element boundary).
33197         (getStartOffset): Return element boundary if startOffset < 0.
33198         (getEndOffset): Return element boundary if endOffset < 0.
33199         (createFragment): Set startOffset and endOffset fields of fragment
33200         if one of p0 or p1 is not at the element boundary.
33201   
33202 2006-02-07  Roman Kennke  <kennke@aicas.com>
33203   
33204         * javax/swing/CellRendererPane.java
33205         (paintComponent): Enclosed painting in try finally to properly
33206         clean up even when throwing an exception.
33207   
33208 2006-02-07  Roman Kennke  <kennke@aicas.com>
33209   
33210         * javax/swing/UIManager.java
33211         (listeners): Made this an instance of
33212         java.beans.PropertyChangeSupport instead of the obsoleted
33213         SwingPropertyChangeSupport.
33215 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
33217         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
33218         of actions "delete-next" and "delete-previous", added new TextAction
33219         implementations for "selection-begin", "selection-begin-line",
33220         "selection-end" and "selection-end-line".
33221   
33222 2006-02-07  Roman Kennke  <kennke@aicas.com>
33223   
33224         * javax/swing/plaf/basic/BasicTextUI.java
33225         (paint): Acquire read lock on the document before calling
33226         paintSafely.
33227         (paintSafely): Added comment about what this method does.
33228         (paintBackground): Implemented to actually paint the background.
33229         (update): Overridden to _not_ paint the background. This is done
33230         in paintBackground in this UI.
33231   
33232 2006-02-07  Roman Kennke  <kennke@aicas.com>
33233   
33234         * javax/swing/text/View.java
33235         (forwardUpdate): Don't notify newly added child views as specified.
33236   
33237 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
33238   
33239         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
33240   
33241 2006-02-07  Roman Kennke  <kennke@aicas.com>
33242   
33243         * javax/swing/text/DefaultStyledDocument.java
33244         (ElementBuffer.insert): Only register change when the element
33245         actually changed.
33246   
33247 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
33248   
33249         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
33250         method.
33251         (getEncodingShortName): Likewise.
33252         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
33253         (PKCS8_FORMAT): Likewise.
33254         (ASN1_FORMAT): Likewise.
33255         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
33256         constructor with 5 arguments.
33257         (DSSPublicKey(5)): New constructor.
33258         (valueOf): Handle ASN.1 encoding.
33259         (getEncoded): Likewise.
33260         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
33261         constructor with 5 arguments.
33262         (DSSPrivateKey(5)): New constructor.
33263         (valueOf): Handle ASN.1 encoding.
33264         (getEncoded): Likewise.
33265         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
33266         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
33267         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
33268         (PREFERRED_ENCODING_FORMAT): New constant.
33269         (DEFAULT_ENCODING_FORMAT): Likewise.
33270         (preferredFormat): New field.
33271         (setup): Handle preferred format ID.
33272         (generate): Use new ctors with 5 arguments.
33273         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
33274         ID as an additional argument.
33275         (defaultFormat): new field.
33276         (getFormat): Returns the preferred format as a short string.
33277         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
33278         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
33279         Likewise
33280         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
33281         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
33282         encoding format.
33283         (initialize(int,boolean,SecureRandom)): Likewise.
33284         * gnu/java/security/der/DERWriter.java (writeBitString): Use
33285         writeLength() instead of write().
33286         return buf.length + 1 instead of buf.length.
33287   
33288 2006-02-07  Roman Kennke  <kennke@aicas.com>
33289   
33290         * javax/swing/plaf/basic/BasicTextUI.java
33291         (RootView.preferenceChange): Changed view parameter to view so
33292         that it doesn't hide a field of that class.
33293         (RootView.getViewCount): Rewritten to clean up ECJ warning.
33294         (RootView.modelToView): Removed unnecessary cast from View to View.
33295         (PropertyChangeHandler): Made inner class private.
33296         (updateHandler): Made field private.
33297         (getVisibleEditorRect): Removed unneeded local variable that
33298         shadowed a field with the same name and purpose.
33299   
33300 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
33301   
33302         * javax/swing/text/JTextComponent.java:
33303         (getSelectedText): Calculate offset and use that as
33304         second argument.
33305   
33306 2006-02-07  Roman Kennke  <kennke@aicas.com>
33307   
33308         * javax/swing/JTextPane.java
33309         (setCharacterAttributes): Replace input attributes when
33310         replace==true.
33311   
33312 2006-02-07  Roman Kennke  <kennke@aicas.com>
33313   
33314         * java/awt/Component.java
33315         (firePropertyChange(String,byte,byte)): Made method public.
33316         (firePropertyChange(String,char,char)): Made method public.
33317         (firePropertyChange(String,short,short)): Made method public.
33318         (firePropertyChange(String,long,long)): Made method public.
33319         (firePropertyChange(String,float,float)): Made method public.
33320         (firePropertyChange(String,double,double)): Made method public.
33321   
33322 2006-02-06  Tom Tromey  <tromey@redhat.com>
33323   
33324         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
33325         2006.
33326         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
33327   
33328 2006-02-06  Anthony Green  <green@redhat.com>
33329   
33330         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
33331   
33332 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
33333   
33334         * .settings/org.eclipse.jdt.core.prefs:
33335         Force a line split on extends and implements.
33336         Force a white-space after unary operators.
33337         Don't force a new-line after @params.
33338         Add new-line at end-of-file.
33339         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
33340   
33341 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
33342   
33343         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
33344         Registry constant.
33345         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
33346         Likewise.
33347         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
33348         Likewise.
33349         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
33350         Likewise.
33351         * gnu/java/security/provider/EncodedKeyFactory.java
33352         (ID_DSA): Redefined in terms of Registry constant.
33353         (ID_DSA): Redefined in terms of Registry constant.
33354         (ID_DH): Redefined in terms of Registry constant.
33355         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
33356         (PKCS8_ENCODING): Likewise.
33357         (ASN1_ENCODING): Likewise.
33358         (RAW_ENCODING_SHORT_NAME): Likewise.
33359         (X509_ENCODING_SORT_NAME): Likewise.
33360         (PKCS8_ENCODING_SHORT_NAME): Likewise.
33361         (ASN1_ENCODING_SHORT_NAME): Likewise.
33362         (X509_ENCODING_ID): Likewise.
33363         (PKCS8_ENCODING_ID): Likewise.
33364         (ASN1_ENCODING_ID): Likewise.
33365         (DSA_OID_STRING): Likewise.
33366         (RSA_OID_STRING): Likewise.
33367         (DH_OID_STRING): Likewise.
33369 2006-02-06  Roman Kennke  <kennke@aicas.com>
33371         * javax/swing/text/GlyphView.java:
33372         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
33373         Only fill background if there is a background set on the view.
33374         Call Utilities.drawTabbedText with the baseline height, rather than
33375         the upper left corner of the view rectangle.
33376         (getBackground): Return null if no background is set.
33377         * javax/swing/text/GlyphView.java:
33378         (setPropertiesFromAttributes): Use null for background when no
33379         background is set. StyleConstants.getBackground() doesn't work
33380         for this, because it returns Color.BLACK in that case.
33381   
33382 2006-02-06  Roman Kennke  <kennke@aicas.com>
33383   
33384         * java/awt/Container.java
33385         (changeSupport): Removed duplicate (from Component) field.
33386         (addPropertyChangeListener): Call super.
33387   
33388 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33389   
33390         * java/util/regex/Matcher.java(matches):
33391         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
33392   
33393 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33395         Fixes bug #25812
33396         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
33397         * gnu/regexp/CharIndexedCharArray.java
33398         (lookBehind),(length): Implemented.
33399         * gnu/regexp/CharIndexedInputStream.java: Likewise.
33400         * gnu/regexp/CharIndexedString.java: Likewise.
33401         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
33402         * gnu/regexp/REToken.java(getMaximumLength): New method.
33403         * gnu/regexp/RE.java(internal constructor RE): Added new argument
33404         maxLength.
33405         (initialize): Parse (?<=X), (?<!X), (?>X).
33406         (getMaximumLength): Implemented.
33407         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
33408         * gnu/regexp/RETokenChar.java: Likewise.
33409         * gnu/regexp/RETokenEnd.java: Likewise.
33410         * gnu/regexp/RETokenEndSub.java: Likewise.
33411         * gnu/regexp/RETokenLookAhead.java: Likewise.
33412         * gnu/regexp/RETokenNamedProperty.java: Likewise.
33413         * gnu/regexp/RETokenOneOf.java: Likewise.
33414         * gnu/regexp/RETokenPOSIX.java: Likewise.
33415         * gnu/regexp/RETokenRange.java: Likewise.
33416         * gnu/regexp/RETokenRepeated.java: Likewise.
33417         * gnu/regexp/RETokenStart.java: Likewise.
33418         * gnu/regexp/RETokenWordBoundary.java: Likewise.
33419         * gnu/regexp/RETokenIndependent.java: New file.
33420         * gnu/regexp/RETokenLookBehind.java: New file.
33421   
33422 2006-02-06  Roman Kennke  <kennke@aicas.com>
33423   
33424         * java/awt/Component.java
33425         (firePropertyChange(String,byte,byte)): New method.
33426         (firePropertyChange(String,char,char)): New method.
33427         (firePropertyChange(String,short,short)): New method.
33428         (firePropertyChange(String,long,long)): New method.
33429         (firePropertyChange(String,float,float)): New method.
33430         (firePropertyChange(String,double,double)): New method.
33432 2006-02-06  Roman Kennke  <kennke@aicas.com>
33434         * javax/swing/JComponent.java
33435         (AccessibleJComponent.changeSupport): Changed to be a
33436         java.beans.PropertyChangeSupport rather than
33437         SwingPropertyChangeSupport.
33438         (AccessibleJComponent.AccessibleJComponent()): Change initialization
33439         of above field.
33440         (changeSupport): Removed unneeded field.
33441         (removePropertyChangeListener): Removed unneeded methods.
33442         (addPropertyChangeListener): Removed unneeded methods.
33443         (getPropertyChangeListeners): Removed unneeded methods.
33444         (firePropertyChange(String,boolean,boolean)): Changed to simply
33445         call super. Added specnote.
33446         (firePropertyChange(String,char,char)): Changed to simply
33447         call super. Added specnote.
33448         (firePropertyChange(String,int,int)): Changed to simply
33449         call super. Added specnote.
33450         (firePropertyChange(String,byte,byte)): Removed.
33451         (firePropertyChange(String,Object,Object)): Removed.
33452         (firePropertyChange(String,double,double)): Removed.
33453         (firePropertyChange(String,float,float)): Removed.
33454         (firePropertyChange(String,long,long)): Removed.
33455         (firePropertyChange(String,short,short)): Removed.
33456   
33457 2006-02-06  Roman Kennke  <kennke@aicas.com>
33458   
33459         * javax/swing/event/SwingPropertyChangeSupport.java
33460         (listeners): Removed field.
33461         (propertyListeners): Removed field.
33462         (source): Removed field.
33463         (SwingPropertyChangeSupport()): Removed initialization of removed
33464         fields.
33465         (addPropertyChangeListener): Removed methods.
33466         (removePropertyChangeListener): Removed methods.
33467         (getPropertyChangeListeners): Removed methods.
33468         (firePropertyChange): Removed methods.
33469         (hasListeners): Removed methods.
33470   
33471 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
33472   
33473         Fixes PR 25313
33474         * java/net/InetAddress.java
33475         (readResolve): Implemented.
33476   
33477 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
33478   
33479         Fixes PR 26121
33480         * java/io/ObjectInputStream.java
33481         (readNextBlock()): Handle TC_RESET.
33482   
33483 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
33484         
33485         * javax/print/attribute/standard/Compression.java,
33486         * javax/print/attribute/standard/Finishings.java, 
33487         * javax/print/attribute/standard/JobMediaSheets.java,
33488         * javax/print/attribute/standard/JobSheets.java,
33489         * javax/print/attribute/standard/JobState.java,
33490         * javax/print/attribute/standard/JobStateReason.java,
33491         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
33492         * javax/print/attribute/standard/PrintQuality.java,
33493         * javax/print/attribute/standard/Media.java,
33494         * javax/print/attribute/standard/MultipleDocumentHandling.java,
33495         * javax/print/attribute/standard/PrinterStateReason.java,
33496         * javax/print/attribute/standard/PDLOverrideSupported.java: 
33497         (getName): Make method final.
33498         (getCategory): Likewise.
33499         * javax/print/attribute/standard/MediaSize.java: 
33500         (getName): Make method final.
33501         (getCategory): Likewise.
33502         (ISO): Added private default constructor.
33503         (NA): Likewise.
33504         (JIS): Likewise.
33505         (Other): Likewise.
33506         (Engineering): Likewise.
33508 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
33509         
33510         * native/jni/java-net/javanet.c (_javanet_connect):
33511         Throw ConnectException instead of IOException if connection failed.
33512         * native/jni/java-net/javanet.h:
33513         Add a define for java.net.ConnectException
33514   
33515 2006-02-05  Mark Wielaard  <mark@klomp.org>
33516   
33517         Fixes bug #26101
33518         reported by Egon Willighagen <egon.willighagen@gmail.com>
33519         * javax/swing/DefaultListCellRenderer.java
33520         (getListCellRendererComponent): Turn null value into empty string.
33521   
33522 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33523   
33524         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
33525         a Unicode block if the name starts with "In".
33526         (UnicodeBlockHandler): New inner class.
33527   
33528 2006-02-04  Roman Kennke  <kennke@aicas.com>
33529   
33530         * java/awt/Container.java
33531         (getComponentZOrder): New method.
33532         (setComponentZOrder): New method.
33533         * javax/swing/JLayeredPane.java
33534         (setPosition): Reimplemented to use setComponentZOrder().
33535         (getIndexOf): Reimplemented to use getComponentZOrder().
33536         (addImpl): Pass layerContraint to super call. Important for possibly
33537         installed layout managers.
33538         (swapComponents): Remove unneeded method.
33540 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
33542         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
33543         DSAKeyPairGenerator.
33544         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
33545         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
33546         message.
33547         Surround call to adaptee in a try/catch.
33548         (initialize((DSAParams,SecureRandom)): New method.
33549         (initialize(int,boolean,SecureRandom)): New method.
33550         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
33551         KeyPairGenerator rather than KeyPairGeneratorSpi.
33552         (KeyPairGeneratorAdapter): Call super with algorithm name.
33554 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
33556         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
33557         (getDefaultPRNG): New method.
33558         (parseO): Use method above.
33559         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
33560         (getDefaultPRNG): New method.
33561         (createO): Use method above.
33562         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
33563         (nextByte): Use above field.
33564         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
33565         * gnu/java/security/sig/rsa/RSA.java: New class field.
33566         (newR): Use above field
33567         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
33568         (encode): Use field.above.
33569         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
33570         (getDefaultPRNG): new method.
33571         (nextRandomBytes): Use above method.
33572         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
33573         * gnu/java/security/sig/BaseSignature.java: Likewise.
33574         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
33575         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
33576         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
33577         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
33578         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
33579         (getDefaultPRNG): new method.
33580         (nextRandomBytes): Use above method.
33581         (STRICT_DEFAULTS): new class field.
33582         (USE_DEFAULTS): more documentation to clarify behavior.
33583         (setup): amended to handle new attribute.
33584         * gnu/java/security/util/PRNG.java: New file.
33585   
33586 2006-02-03  Lillian Angel  <langel@redhat.com>
33587   
33588         * javax/swing/plaf/basic/BasicColorChooserUI.java:
33589         chooser field should be protected, not package-private. 
33590   
33591 2006-02-03  Lillian Angel  <langel@redhat.com>
33592         
33593         * javax/swing/text/DefaultStyledDocument.java
33594         (changeUpdate): Cleaned up code.
33595         (split): Likewise.
33596         (insertUpdate): Set offset to be equal to pos after
33597         insertContentTag call.
33598         (insertContentTag): If paragraph has no children, should use
33599         replace instead of Edit.
33600         (insertFracture): Moved around code to prevent any exception. Also,
33601         left side of tree should not be recreated if it has already been 
33602         edited. In that case, we should only be creating a new right branch
33603         when fracturing.
33604         (getEditForParagraphAndIndex): No need to check index. We should
33605         use the same edit for each paragraph.
33606   
33607 2006-02-03  Mark Wielaard  <mark@klomp.org>
33608   
33609         * javax/swing/event/SwingPropertyChangeSupport.java
33610         (propertyListeners): Change type to HashMap.
33611         (SwingPropertyChangeSupport): Allocate HashMap.
33612   
33613 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
33614   
33615         * java/security/KeyPairGenerator.java (getInstance): Test for
33616         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33617   
33618 2006-02-02  Roman Kennke  <kennke@aicas.com>
33619   
33620         * javax/swing/RepaintManager.java
33621         Made fields private.
33622         (RepaintWorker.run): Enclosed work stuff in try finally block in
33623         order to clean up correctly if invalidation or painting fails,
33624         otherwise we would get no more RepaintWorkers onto the EventQueue.
33625         Also, now the RepaintWorker is marked 'dead' only after it has
33626         finished its work, avoid more than one RepaintWorker on the queue.
33627         (ComponentComparator.compareTo): Compare dirty rectangle sizes
33628         instead of hierarchy depths.
33629         (workDirtyComponents): Removed unused field.
33630         (repaintOrder): Removed unused field.
33631         (workRepaintOrder): Removed unused field.
33632         (workInvalidComponents): Removed unused field.
33633         (RepaintManager()): Removed initialization of removed fields.
33634         (addInvalidComponent): Fine tuned synchronization.
33635         (removeInvalidComponent): Fine tune synchronization.
33636         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33637         synchronization. Don't manager repaintOrder here.
33638         (insertRepaintOrder): Removed method.
33639         (markCompletelyClean): Fine tuned synchronization.
33640         (validateInvalidComponents): Dont use a working copy of the
33641         invalidComponents list, instead fine tuned synchronization on this
33642         list. Also, don't search validateRoot, this is already done in
33643         addInvalidComponent().
33644         (paintDirtyRegions): Compute repaint order here, based on size of
33645         damaged regions. Fine tuned synchronization. Avoid use of working
33646         copies of dirtyComponent.
33647   
33648 2006-02-02  Lillian Angel  <langel@redhat.com>
33649   
33650         * javax/swing/text/DefaultStyledDocument.java
33651         (insertUpdate): JoinNextDirection should push the 
33652         'next' paragraph on the stack.
33653   
33654 2006-02-02  Lillian Angel  <langel@redhat.com>
33655   
33656         * javax/swing/text/DefaultStyledDocument.java
33657         (insertUpdate): Rewrote code for Originate. This prevents
33658         leaves being created multiple times. If it is on the last 
33659         ElementSpec, the leaves need to be created right then; 
33660         otherwise, only a branch is created.
33661         (insertContentTag): Rewrote to add new leaf directly if
33662         this is a branch with no children. Otherwise, it
33663         recreates the remainder of the tree as before.
33664   
33665 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33666   
33667         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33668         for making a list of REMatch instances.
33669         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33670         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33671         (match): Rewritten using REMatchList.
33672         (matchRest): Rewritten using REMatchList.
33673   
33674 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33675   
33676         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
33677         (friendsMove):  Call repaint() only after endOfGame is assigned.
33678   
33679 2006-02-02  Mark Wielaard  <mark@klomp.org>
33680   
33681         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33682         * java/util/AbstractCollection.java (toString): Only use Iterator,
33683         check whether collection contains itself.
33684   
33685 2006-02-01  Casey Marshall  <csm@gnu.org>
33686   
33687         Partial fix for PR classpath/25143.
33688         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33689         (<init>): fill in `algName,' derive `algOid' from `algName.'
33690         (getOid): new method.
33691         (encode): embed NULL value for parameters if `params' is `null.'
33692   
33693 2006-02-01  Casey Marshall  <csm@gnu.org>
33694   
33695         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33696         <monoman@gmail.com>.    
33697         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33698         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33699   
33700 2006-02-01  Casey Marshall  <csm@gnu.org>
33701   
33702         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33703         * gnu/java/security/der/DERValue.java
33704         (getLength, getEncoded, getEncodedLength): throw an exception,
33705         don't initialize `encoded' to a bogus value.
33706         (toString): return a more helpful string.
33708         Partial fix for PR classpath/25144.
33709         * gnu/java/security/der/DERWriter.java (write): if the value is
33710         the pseudo-value used for CONSTRUCTED, write the encoded value
33711         directly.
33712         
33713 2006-02-01  Tom Tromey  <tromey@redhat.com>
33714   
33715         * java/security/Security.java (loadProviders): Use system class
33716         loader.
33717   
33718 2006-02-01  Mark Wielaard  <mark@klomp.org>
33719   
33720         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33721         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33722         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33723         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33724         (UnicodeCategoriesHandler): New private static class.
33725         
33726 2006-02-01  Lillian Angel  <langel@redhat.com>
33727   
33728         * javax/swing/text/DefaultStyledDocument.java:
33729         Removed unneeded fields.
33730         (insertUpdate): Removed field initialization.
33731         (insertContentTag): Rewrote part of function. Still
33732         not complete.
33733   
33734 2006-02-01  Lillian Angel  <langel@redhat.com>
33735   
33736         * javax/swing/text/DefaultStyledDocument.java
33737         (insertParagraph): Cleaned up code.
33738         (insertFirstContentTag): Fixed call to recreateLeaves.
33739         (insertContentTag): Added check to code to determine where
33740         content should be inserted with respect to next element.
33741         (createFracture): Removed check, recreateLeaves is called in 
33742         other places when needed.
33743         (recreateLeaves): Added new parameter for paragraph instead
33744         of checking the stack. Removed editing for newBranch, replaced
33745         with a replace call.
33747 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33749         * doc/unicode/Blocks-4.0.0.txt: New file.
33750         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33751         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33752         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33753         but replaced some 1.5-only features (such as enum).
33754   
33755 2006-01-31  Roman Kennke  <kennke@aicas.com>
33756   
33757         * javax/swing/text/PasswordView.java
33758         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33759         character.
33760         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33761         character.
33762   
33763 2006-01-31  Roman Kennke  <kennke@aicas.com>
33764   
33765         * javax/swing/JTextField.java
33766         (getPreferredSize): Also include textfield's insets in width
33767         calculation.
33768   
33769 2006-01-31  Roman Kennke  <kennke@aicas.com>
33770   
33771         * javax/swing/plaf/basic/BasicTextUI.java
33772         (getPreferredSize): Include the textcomponent's insets in
33773         preferredSize.
33774   
33775 2006-01-31  Roman Kennke  <kennke@aicas.com>
33776   
33777         * javax/swing/table/DefaultTableCellRenderer.java
33778         (getTableCellRendererComponent): Moved setting of the value into
33779         setValue(). Removed (bogus) special handling of JTextField values.
33780         (setValue): Made ?: statement more clear by rewriting it
33781         with if .. else.
33782   
33783 2006-01-31  Roman Kennke  <kennke@aicas.com>
33784   
33785         * javax/swing/JLayeredPane.java
33786         (insertIndexForLayer): Fixed algorithm to correctly determine
33787         inser index for positions >= 0.
33788         (addImpl): Fixed API docs for the index parameter.
33789   
33790 2006-01-31  Mark Wielaard  <mark@klomp.org>
33791   
33792         * java/net/URI.java (getURIGroup): Check for null to see whether
33793         group actually exists.
33794   
33795 2006-01-31  Lillian Angel  <langel@redhat.com>
33796   
33797         * javax/swing/text/DefaultStyledDocument.java
33798         (changeUpdate): Fixed calls to split to incorporate 
33799         new parameter.
33800         (insertParagraph): Likewise. Uses 0 as editIndex
33801         because inserting into a new paragraph.
33802         (insertContentTag): Fixed check to use 
33803         recreateLeaves. Added a FIXME comment.
33804         (split): Added a new parameter for edits.
33805   
33806 2006-01-31  Roman Kennke  <kennke@aicas.com>
33807   
33808         * javax/swing/plaf/basic/BasicRootPaneUI.java
33809         (installDefaults): Don't install a background color here.
33810   
33811 2006-01-31  Lillian Angel  <langel@redhat.com>
33812   
33813         * javax/swing/text/DefaultStyledDocument.java
33814         (insert): Removed comment.
33815         (insertUpdate): Added comment.
33816         (recreateLeaves): Removed call to push newBranch onto the
33817         stack. This does not need to be done here.
33818   
33819 2006-01-31  Chris Burdess  <dog@gnu.org>
33820   
33821         * gnu/xml/stream/SAXParser.java,
33822           gnu/xml/stream/UnicodeReader.java,
33823           gnu/xml/stream/XIncludeFilter.java,
33824           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33825           only resolved the system ID not the stream. Make some utility methods
33826           public and static for use by other private XML APIs.
33827         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33828           called without throwing IllegalStateException.
33829         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33830           provided.
33832 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33834         Fixes bug #22873
33835         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33836         for an invalid index and return null for a skipped group.
33838 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33840         Fixes bug #26002
33841         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33842         (NamedProperty): New inner class.
33843         (getNamedProperty): New method.
33844         (getRETokenNamedProperty): New Method.
33845         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33846         * gnu/regexp/RETokenNamedProperty.java: New file.
33848 2006-01-31  Roman Kennke  <kennke@aicas.com>
33850         * javax/swing/plaf/PlainView.java
33851         (paint): Call drawLine with baseline coordinates.
33852         (drawLine): Documented and indented this method.
33853         (drawUnselecetedText): Documented and indented this method.
33854         * javax/swing/plaf/text/Utilites.java
33855         (drawTabbedText): The coordinates denote the baseline of the text
33856         not the upper left corner.
33857   
33858 2006-01-31  Roman Kennke  <kennke@aicas.com>
33859   
33860         * javax/swing/plaf/basic/BasicTextUI.java
33861         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33862         UIManager. Added FIXME regarding the implementation of this method.
33863   
33864 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33865   
33866         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33867         (ButtonDemo): Move content initialisation to new method,
33868         (initFrameContent): New method,
33869         (main): Call initFrameContent(),
33870         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33871         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33872         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33873         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33874         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33875   
33876 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33877   
33878         * examples/gnu/classpath/examples/swing/Demo.java
33879         (Demo): Set frame size,
33880         (mkButtonBar): Removed stacked sub-panels.
33881   
33882 2006-01-30  Lillian Angel  <langel@redhat.com>
33883   
33884         * javax/swing/text/DefaultStyledDocument.java:
33885         Added new fields.
33886         (insert): Initialized fields. Removed call to addEdit, 
33887         and created ElementEdit instead.
33888         (insertUpdate): Added check for fracturing. If the
33889         fracturing was not successful, we should push the
33890         last element back on the stack.
33891         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33892         Also, changed replace calls to use Edit.
33893         (insertFirstContentTag): Removed unneeded check and fixed call
33894         to recreateLeaves.
33895         (insertContent): Fixed check to use new fields. Added code in
33896         to check if leaves overlap.
33897         (createFracture): Fixed call to recreateLeaves.
33898         (recreateLeaves): Fixed code and cleaned it up a bit.
33899         (insertFracture): Set fracNotCreated field.
33900         (addEdit): Removed, this method is not needed.
33901   
33902 2006-01-30  Roman Kennke  <kennke@aicas.com>
33903   
33904         * javax/swing/JRootPane.java
33905         (RootLayout.prefSize): Removed caching for preferredSize.
33906         (RootLayout.invalidateLayout): Likewise.
33907         (RootLayout.preferredLayoutSize): Likewise.     
33908   
33909 2006-01-30  Roman Kennke  <kennke@aicas.com>
33910   
33911         PR classpath/26035
33912         * javax/swing/JFrame.java
33913         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33914         * javax/swing/plaf/metal/MetalRootPaneUI.java
33915         (MetalFrameBorder): New inner class, provides the border for
33916         top level containers with L&F decorations.
33917         (MetalTitlePane): New inner class, provides the title pane for
33918         top level containers with L&F decorations.
33919         (MetalRootLayout): New inner class. Used to layout the root pane
33920         when L&F window decorations are enabled.
33921         (installUI): New method. Handles window decorations.
33922         (uninstallUI): New method. Handles window decorations.
33923         (propertyChange): Handles window decorations.
33924         (installWindowDecorations): New method. Handles window
33925         decorations.
33926         (uninstallWindowDecorations): New method. Handles window
33927         decorations.
33928         * javax/swing/plaf/metal/MetalLookAndFeel.java
33929         (getSupportsWindowDecorations): Overridden to return true.
33931 2006-01-30  Mark Wielaard  <mark@klomp.org>
33933         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33934         IllegalArgumentException when orientation is illegal.
33935         (JProgressBar(int, int, int)): Likewise and throw exception.
33936         (setOrientation): Likewise.
33937   
33938 2006-01-30  Roman Kennke  <kennke@aicas.com>
33939   
33940         * javax/swing/ViewportLayout.java
33941         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33942   
33943 2006-01-30  Mark Wielaard  <mark@klomp.org>
33944   
33945         * javax/swing/JProgressBar.java (orientation): Always set by
33946         constructor.
33947         (JProgressBar(int)): Document default on 'illegal' value.
33948         (JProgressBar(int, int, int)): Likewise and set orientation to
33949         HORIZONTAL when 'illegal'.
33950         (setOrientation): Likewise.
33951   
33952 2006-01-30  Roman Kennke  <kennke@aicas.com>
33953   
33954         * javax/swing/plaf/basic/BasicListUI.java
33955         (ListDataHandler.contentsChanged): Update the
33956         updateLayoutStateNeeded flag.
33957         (ListDataHandler.intervalAdded): Update the
33958         updateLayoutStateNeeded flag.
33959         (ListDataHandler.intervalRemoved): Update the
33960         updateLayoutStateNeeded flag.
33961         (PropertyChangeHandler.propertyChange): Correctly update the
33962         listeners on new list model.
33963         (maybeUpdateLayoutState): Don't consider the validation state
33964         of the list.
33965   
33966 2006-01-30  Mark Wielaard  <mark@klomp.org>
33967   
33968         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33969         sortKeys is null.
33970   
33971 2006-01-30  Roman Kennke  <kennke@aicas.com>
33972   
33973         * javax/swing/JLayeredPane.java
33974         (insertIndexForLayer): Fixed algorithm to correctly insert
33975         components within different layers and -1 position.
33976   
33977 2006-01-30  Mark Wielaard  <mark@klomp.org>
33978   
33979         * doc/api/Makefile.am (create_html): Add -validhtml.
33980   
33981 2006-01-30  Roman Kennke  <kennke@aicas.com>
33982   
33983         * javax/swing/JLayeredPane.java
33984         (insertIndexForLayer): Fixed algorithm to correctly insert
33985         components within same layer and -1 position.
33986   
33987 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33988   
33989         Fixes bug #24876
33990         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33991         New execution flag.
33992         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33993         implicit RETokenEnd at the end of the regexp chain.
33994         Do not select the longest match, but select the first match.
33995         (match): Do not take care of REMatch.empty.
33996         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33997         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33998         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33999         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
34000         Do not take care of REMatch.empty. Set and check REMatch.empty
34001         when trying to match the single token.
34003 2006-01-30  Mark Wielaard  <mark@klomp.org>
34005         * java/awt/Cursor.java (toString): Include name and type.
34007 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
34009         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
34010         the ipad buffer.
34011         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
34012   
34013 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34014         
34015         PR 26027
34016         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
34017         Consider the validation state of the list. 
34019 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
34021         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
34022         INSTANCE added.
34023         * java/beans/XMLDecoder.java:
34024         (setExceptionListener): Use shared DefaultExceptionListener
34025         instance.
34026         * java/beans/Encoder.java:
34027         (setExceptionListener): Use shared DefaultExceptionListener
34028         instance.
34029   
34030 2006-01-29  Roman Kennke  <kennke@aicas.com>
34031   
34032         * javax/swing/ScrollPaneLayout.java
34033         (minimumLayoutSize): Rewritten to match JDKs behaviour.
34034   
34035 2006-01-29  Mark Wielaard  <mark@klomp.org>
34036   
34037         * java/net/SocketPermission.java (setActions): Trim and lower case
34038         action.
34039   
34040 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
34041   
34042         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
34043         incorrectly failing primality test for some known primes. Fixed.
34044         (passFermatLittleTheorem): Removed.
34045         (passMillerRabin): Removed.
34046         (isProbablePrime): Cache primes that pass the primality tests.
34047         Use BigInteger.isProbablePrime(int) for primality tests.
34048         (debugBI): New static debugging method.
34049   
34050 2006-01-28  Roman Kennke  <kennke@aicas.com>
34051   
34052         * javax/swing/plaf/basic/BasicListUI.java
34053         (updateLayoutState): Removed unneeded special case for VERTICAL.
34054   
34055 2006-01-28  Roman Kennke  <kennke@aicas.com>
34056   
34057         * javax/swing/plaf/basic/BasicListUI.java
34058         (getCellBounds): Determine correct list width when having a
34059         layoutOrientation of VERTICAL.
34060         (maybeUpdateLayoutState): Don't consider the validation state of
34061         the list.
34062   
34063 2006-01-28  Mark Wielaard  <mark@klomp.org>
34064   
34065         Reported by Dimitri Fontaine <dimitri@dalibo.com>
34066         * java/awt/print/NoPrinterJob.java: New (fake) class.
34067         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
34068   
34069 2006-01-28  Mark Wielaard  <mark@klomp.org>
34070   
34071         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
34072   
34073 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34074   
34075         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
34076         (addChildren): New method.
34077   
34078 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
34079   
34080         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
34081         constructor for cloning purposes.
34082         (clone): New implementation that ensures cloning.
34083         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
34084         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
34085           "GNU".
34086   
34087 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34088   
34089         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
34090         Call updateCurrentVisiblePath.
34091   
34092 2006-01-27  Roman Kennke  <kennke@aicas.com>
34093   
34094         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
34095   
34096 2006-01-27  Roman Kennke  <kennke@aicas.com>
34097   
34098         * examples/gnu/classpath/examples/swing/ButtonDemo.java
34099         (createContent): Only create new content if we don't have one
34100         already.
34101         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
34102         (createContent): Only create new content if we don't have one
34103         already.
34104         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
34105         (createContent): Only create new content if we don't have one
34106         already.
34107         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
34108         (createContent): Only create new content if we don't have one
34109         already.
34110         * examples/gnu/classpath/examples/swing/SliderDemo.java
34111         (createContent): Only create new content if we don't have one
34112         already.
34113         * examples/gnu/classpath/examples/swing/TableDemo.java
34114         (createContent): Only create new content if we don't have one
34115         already.
34116         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
34117         (createContent): Only create new content if we don't have one
34118         already.
34119   
34120 2006-01-27  Lillian Angel  <langel@redhat.com>
34121   
34122         * javax/swing/text/DefaultStyledDocument.java
34123         (insertFirstContentTag): Removed check, not needed. This
34124         still needs to be fixed for some cases. Added call to
34125         recreateLeaves.
34126         (createFracture): Added call to recreateLeaves.
34127         (recreateLeaves): New method used to recreate all the
34128         leaves after the initial insertion. This still needs 
34129         more work.
34130         (handleInsertAfterNewline): Removed else, not needed.
34131   
34132 2006-01-27  Roman Kennke  <kennke@aicas.com>
34133   
34134         * javax/swing/JLayeredPane.java
34135         (inserIndexForLayer): Fixed direction of search.
34136   
34137 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34138   
34139         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
34140         node into nodeStates.
34141   
34142 2006-01-27  Roman Kennke  <kennke@aicas.com>
34143   
34144         * javax/swing/JLayeredPane.java
34145         (FRAME_CONTENT_LAYER): Made field final.
34146         (componentToLayer): Made field private.
34147         (rectCache): Removed field.
34148         (layers): Removed field.
34149         (JLayeredPane()): Removed initialization of removed fields.
34150         (getLayer): Rewritten to make use of client properties in
34151         JComponents and to be more straighforward.
34152         (static getLayer): Rewritten to make use of client properties in
34153         JComponents.
34154         (layerToRange): Removed method.
34155         (incrLayer): Removed method.
34156         (decrLayer): Removed method.
34157         (highestLayer): Rewritten to be more straightforward.
34158         (lowestLayer): Rewritten to be more straightforward.
34159         (getPosition): Rewritten to be more straightforward.
34160         (getComponentsInLayer): Rewritten to be more straightforward.
34161         (getComponentCountInLayer): Rewritten to be more straightforward.
34162         (getIndexOf): Rewritten to be more straightforward.
34163         (inserIndexForLayer): Rewritten to be more straightforward.
34164         (remove): Rewritten to be more straightforward.
34165         (setLayer): Rewritten to be more straightforward.
34166         (addImpl): Rewritten to be more straightforward.
34167         (putLayer): Rewritten to be more straightforward.
34169 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
34171         * java/lang/Character.java:
34172         (offsetByCodePoints(CharSequence, int, int)): New API method.
34173         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
34174         (toChars): Throw the Exception that the docs say we throw.
34175         (codePointAt): Fixed an off-by-one error in the bounds of the if 
34176         statement.
34177         * java/lang/String.java:
34178         (String(int[], int, int)): New API constructor.
34179   
34180 2006-01-27  Lillian Angel  <langel@redhat.com>
34181   
34182         * javax/swing/text/DefaultStyledDocument.java
34183         (insert): Moved this loop to insertUpdate.
34184         (insertUpdate): Likewise. Fixed variable
34185         names. Incremented pos if new paragraph
34186         is inserted.
34187         (split): Changed edits to use replace instead. Prevents
34188         assertion errors.
34189         (insertFirstContentTag): Removed else.
34190         (insertContentTag): Implemented else for JoinNextDirection.
34191         (createFracture): Fixed up code, still not fully complete.
34192         (insertFracture): Fixed to use return value from 
34193         recreateAfterFracture.
34194         (recreateAfterFracture): Changed to return an array of the
34195         elements to be added. This prevents an assertion error.
34196         (contains): New function checks if an element is already in 
34197         the Vector. Vector's contain function was not enough to use.
34198         (addAddedElement): Changed to use new contains function.
34199         (addAddedElements): Likewise.
34200         (addRemovedElement): Likewise.
34201         (addRemovedElements): Likewise.        
34202         
34203 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34205         PR 25520
34206         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
34207         If no user class loaders found on the stack, return the thread 
34208         context class loader. (currentClassLoader): Explained.
34209   
34210 2006-01-27  Roman Kennke  <kennke@aicas.com>
34211   
34212         * java/awt/Container.java
34213         (swapComponents): Removed unspecified method.
34214         * javax/swing/JLayeredPane.java
34215         (setPosition): Reimplemented correctly.
34216         (swapComponents): New helper method.
34217   
34218 2006-01-27  Mark Wielaard  <mark@klomp.org>
34219   
34220         * configure.ac: Set version to 0.21-pre.
34221   
34222 2006-01-27  Roman Kennke  <kennke@aicas.com>
34223   
34224         PR classpath/25968
34225         * javax/swing/JComponent.java
34226         (findOverlapFreeParent): Improved the algorithm to make better use
34227         of the optimizedDrawingEnabled flag.
34228         * javax/swing/JLayeredPane.java
34229         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
34230         * javax/swing/JViewport.java
34231         (computeBlit): Fixed check to decide if blitting is possible or not,
34232         so that it doesn't blit if nothing was scrolled (in order to
34233         update the buffer when the view updates itself).
34234   
34235 2006-01-27  Roman Kennke  <kennke@aicas.com>
34236   
34237         * javax/swing/plaf/metal/MetalFileChooserUI.java
34238         (createList): Don't set scrollbar policy.
34239   
34240 2006-01-27  Roman Kennke  <kennke@aicas.com>
34241   
34242         * javax/swing/plaf/basic/BasicPopupMenuUI.java
34243         (PopupMenuHandler.popupMenuWillBecomeInvisible):
34244         Fixed to also handle non-Swing toplevel containers.
34245         (PopupMenuHandler.popupMenuWillBecomeVisible):
34246         Fixed to also handle non-Swing toplevel containers.
34247         * javax/swing/Popup.java
34248         (JWindowPopup.JWindowPopup()): Correctly set parent window on
34249         popup.
34250   
34251 2006-01-27  Roman Kennke  <kennke@aicas.com>
34252   
34253         * javax/swing/plaf/basic/BasicInternalFrameUI.java
34254         (InternalFramePropertyChangeListener): Don't implement
34255         VetoableChangeListener.
34256         (InternalFramePropertyChangeListener.vetoableChange): Removed.
34257         (internalFrameVetoableChangeListener): Removed unneeded field.
34258         (installListeners): Don't install vetoableChangeListener.
34259         * javax/swing/event/DocumentEvent.java
34260         (EventType): Made class final.
34261   
34262 2006-01-27  Roman Kennke  <kennke@aicas.com>
34263   
34264         * javax/swing/SwingUtilities.java
34265         (calculateInsetArea): Removed unneeded method. The method
34266         calculateInnerArea has the same purpose and is actually specified.
34267         (calculateInnerArea): Rewritten to not use calculateInsetArea.
34268         * javax/swing/plaf/basic/BasicMenuItemUI.java
34269         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
34270         of SwingUtilities.calculateInsetArea().
34271   
34272 2006-01-27  Roman Kennke  <kennke@aicas.com>
34273   
34274         * javax/swing/plaf/basic/BasicTreeUI.java
34275         (installDefaults): Removed requestFocusInWindow() call.
34276         * javax/swing/JComponent.java
34277         (requestFocusInWindow(boolean)): Made method protected.
34278         (printComponent): Made method protected.
34279         (printChildren): Made method protected.
34280         (printComponent): Made method protected.
34281         (printBorder): Made method protected.
34282   
34283 2006-01-27  Roman Kennke  <kennke@aicas.com>
34284   
34285         * javax/swing/AbstractButton.java
34286         (ButtonChangeListener.ButtonChangeListener()): Made constructor
34287         package private.
34288         * javax/swing/ImageIcon.java
34289         (component): Made field final.
34290         (tracker): Made field final.
34291         * javax/swing/JApplet.java
34292         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
34293         * javax/swing/JCheckBox.java
34294         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
34295         protected.
34296         * javax/swing/JDialog.java
34297         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
34298         * javax/swing/JFrame.java
34299         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
34300         * javax/swing/JLayeredPane.java
34301         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
34302         protected.
34303         (DEFAULT_LAYER): Made field final.
34304         (PALETTE_LAYER): Made field final.
34305         (MODAL_LAYER): Made field final.
34306         (POPUP_LAYER): Made field final.
34307         (DRAG_LAYER): Made field final.
34308         * javax/swing/JMenu.java
34309         (ActionChangeListener): Made class private.
34310         * javax/swing/JOptionPane.java
34311         (UNITITIALIZED_VALUE): Made field final.
34312         * javax/swing/JPanel.java
34313         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
34314         * javax/swing/JPopupMenu.java
34315         (ActionChangeListener): Made class private.
34316         * javax/swing/JTree.java
34317         (paramString): Made method protected.
34318         * javax/swing/JViewport.java
34319         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
34320         * javax/swing/JWindow.java
34321         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
34322         * javax/swing/RepaintManager.java
34323         (RepaintWorker): Made class private.
34324   
34325 2006-01-27  Roman Kennke  <kennke@aicas.com>
34326   
34327         * gnu/java/awt/peer/swing/SwingComponentPeer.java
34328         (handleEvent): Removed debug statement.
34329   
34330 2006-01-27  Roman Kennke  <kennke@aicas.com>
34331   
34332         * java/awt/Component.java
34333         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
34334         more than it helps.
34335   
34336 2006-01-26  Lillian Angel  <langel@redhat.com>
34337   
34338         * javax/swing/text/DefaultStyledDocument.java
34339         (createFracture): Commented out a known problem,
34340         added FIXME tag.
34341   
34342 2006-01-26  Lillian Angel  <langel@redhat.com>
34343   
34344         * javax/swing/text/DefaultStyledDocument.java
34345         (ElementBuffer): Added fields.
34346         (remove): Initialized pos.
34347         (change): Likewise.
34348         (insert): Likewise.
34349         (insertUpdate): Incremented pos. Fixed check, createFracture should
34350         be called on first tag if it is not ContentType.
34351         (insertFirstContentTag): Reworked to use proper offsets and
34352         set offset accordingly. This might need more work in the future.
34353         (insertContentTag): Likewise. Fixed to use pos, instead of 
34354         offset.
34355         (createFracture): Fixed to recreate other leaves. Still needs
34356         more work.
34357         (insertFracture): Reimplemented.
34358         (recreateAfterFracture): New method.
34359         (getParagraphElement): Reimplemented, more efficent.
34361 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34363         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
34364         (doubleToRawLongBits, longBitsToDouble): Swap the byte
34365         ordering for little-endian arms without VFP.
34367 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
34369         PR classpath/25981
34370         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
34372 2006-01-26  Mark Wielaard  <mark@klomp.org>
34374         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
34375         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
34376         Add trailing zeros to the fraction of the decimal with the smallest
34377         scale.
34379 2006-01-26  Roman Kennke  <kennke@aicas.com>
34381         * javax/swing/text/html/ObjectView.java: New file.
34383 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34385         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
34386         Call startEditing when appropriate.
34387         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
34388         (startEditing): Always edit if directly ordered from 
34389         MouseHandler.mousePressed.
34390         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
34391         New field. (createTreeCellEditor): Set click count to start.
34392         (getTreeCellEditorComponent): Assing realEditor directly.
34394 2006-01-25  Casey Marshall  <csm@gnu.org>
34396         Merging GNU Crypto and Jessie.
34398         * NEWS: mention the merge in the 0.21 notes.
34399         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
34400         (SSL_RECORD_LAYER): new constants.
34401         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
34402         to provider.
34403         * resource/java/security/classpath.security: add new providers.
34404         * gnu/javax/crypto/assembly/Assembly.java,
34405         gnu/javax/crypto/assembly/Cascade.java,
34406         gnu/javax/crypto/assembly/CascadeStage.java,
34407         gnu/javax/crypto/assembly/CascadeTransformer.java,
34408         gnu/javax/crypto/assembly/DeflateTransformer.java,
34409         gnu/javax/crypto/assembly/Direction.java,
34410         gnu/javax/crypto/assembly/LoopbackTransformer.java,
34411         gnu/javax/crypto/assembly/ModeStage.java,
34412         gnu/javax/crypto/assembly/Operation.java,
34413         gnu/javax/crypto/assembly/PaddingTransformer.java,
34414         gnu/javax/crypto/assembly/Stage.java,
34415         gnu/javax/crypto/assembly/Transformer.java,
34416         gnu/javax/crypto/assembly/TransformerException.java,
34417         gnu/javax/crypto/cipher/Anubis.java,
34418         gnu/javax/crypto/cipher/BaseCipher.java,
34419         gnu/javax/crypto/cipher/Blowfish.java,
34420         gnu/javax/crypto/cipher/Cast5.java,
34421         gnu/javax/crypto/cipher/CipherFactory.java,
34422         gnu/javax/crypto/cipher/DES.java,
34423         gnu/javax/crypto/cipher/IBlockCipher.java,
34424         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
34425         gnu/javax/crypto/cipher/Khazad.java,
34426         gnu/javax/crypto/cipher/NullCipher.java,
34427         gnu/javax/crypto/cipher/Rijndael.java,
34428         gnu/javax/crypto/cipher/Serpent.java,
34429         gnu/javax/crypto/cipher/Square.java,
34430         gnu/javax/crypto/cipher/TripleDES.java,
34431         gnu/javax/crypto/cipher/Twofish.java,
34432         gnu/javax/crypto/cipher/WeakKeyException.java,
34433         gnu/javax/crypto/jce/GnuCrypto.java,
34434         gnu/javax/crypto/jce/GnuSasl.java,
34435         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
34436         gnu/javax/crypto/jce/cipher/AESSpi.java,
34437         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
34438         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
34439         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
34440         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
34441         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
34442         gnu/javax/crypto/jce/cipher/DESSpi.java,
34443         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
34444         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
34445         gnu/javax/crypto/jce/cipher/PBES2.java,
34446         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
34447         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
34448         gnu/javax/crypto/jce/cipher/SquareSpi.java,
34449         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
34450         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
34451         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
34452         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
34453         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
34454         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
34455         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
34456         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
34457         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
34458         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
34459         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
34460         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
34461         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
34462         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
34463         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
34464         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
34465         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
34466         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
34467         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
34468         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
34469         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
34470         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
34471         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
34472         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
34473         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
34474         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
34475         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
34476         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
34477         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
34478         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
34479         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
34480         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
34481         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
34482         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
34483         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
34484         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
34485         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
34486         gnu/javax/crypto/jce/mac/MacAdapter.java,
34487         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
34488         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
34489         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
34490         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
34491         gnu/javax/crypto/jce/mac/OMacImpl.java,
34492         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
34493         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
34494         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
34495         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
34496         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
34497         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
34498         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
34499         gnu/javax/crypto/jce/mac/UHash32Spi.java,
34500         gnu/javax/crypto/jce/mac/UMac32Spi.java,
34501         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
34502         gnu/javax/crypto/jce/params/DEREncodingException.java,
34503         gnu/javax/crypto/jce/params/DERReader.java,
34504         gnu/javax/crypto/jce/params/DERWriter.java,
34505         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
34506         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
34507         gnu/javax/crypto/jce/prng/FortunaImpl.java,
34508         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
34509         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
34510         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
34511         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
34512         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
34513         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
34514         gnu/javax/crypto/key/GnuSecretKey.java,
34515         gnu/javax/crypto/key/IKeyAgreementParty.java,
34516         gnu/javax/crypto/key/IncomingMessage.java,
34517         gnu/javax/crypto/key/KeyAgreementException.java,
34518         gnu/javax/crypto/key/KeyAgreementFactory.java,
34519         gnu/javax/crypto/key/OutgoingMessage.java,
34520         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
34521         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
34522         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
34523         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
34524         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
34525         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
34526         gnu/javax/crypto/key/dh/ElGamalSender.java,
34527         gnu/javax/crypto/key/dh/GnuDHKey.java,
34528         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
34529         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
34530         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
34531         gnu/javax/crypto/key/dh/RFC2631.java,
34532         gnu/javax/crypto/key/srp6/SRP6Host.java,
34533         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
34534         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
34535         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
34536         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
34537         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
34538         gnu/javax/crypto/key/srp6/SRP6User.java,
34539         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
34540         gnu/javax/crypto/key/srp6/SRPKey.java,
34541         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
34542         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
34543         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
34544         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
34545         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
34546         gnu/javax/crypto/keyring/BaseKeyring.java,
34547         gnu/javax/crypto/keyring/BinaryDataEntry.java,
34548         gnu/javax/crypto/keyring/CertPathEntry.java,
34549         gnu/javax/crypto/keyring/CertificateEntry.java,
34550         gnu/javax/crypto/keyring/CompressedEntry.java,
34551         gnu/javax/crypto/keyring/EncryptedEntry.java,
34552         gnu/javax/crypto/keyring/Entry.java,
34553         gnu/javax/crypto/keyring/EnvelopeEntry.java,
34554         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
34555         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
34556         gnu/javax/crypto/keyring/IKeyring.java,
34557         gnu/javax/crypto/keyring/IPrivateKeyring.java,
34558         gnu/javax/crypto/keyring/IPublicKeyring.java,
34559         gnu/javax/crypto/keyring/MalformedKeyringException.java,
34560         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
34561         gnu/javax/crypto/keyring/MeteredInputStream.java,
34562         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
34563         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
34564         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
34565         gnu/javax/crypto/keyring/PrimitiveEntry.java,
34566         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
34567         gnu/javax/crypto/keyring/Properties.java,
34568         gnu/javax/crypto/keyring/PublicKeyEntry.java,
34569         gnu/javax/crypto/mac/BaseMac.java,
34570         gnu/javax/crypto/mac/HMac.java,
34571         gnu/javax/crypto/mac/HMacFactory.java,
34572         gnu/javax/crypto/mac/IMac.java,
34573         gnu/javax/crypto/mac/MacFactory.java,
34574         gnu/javax/crypto/mac/MacInputStream.java,
34575         gnu/javax/crypto/mac/MacOutputStream.java,
34576         gnu/javax/crypto/mac/OMAC.java,
34577         gnu/javax/crypto/mac/TMMH16.java,
34578         gnu/javax/crypto/mac/UHash32.java,
34579         gnu/javax/crypto/mac/UMac32.java,
34580         gnu/javax/crypto/mode/BaseMode.java,
34581         gnu/javax/crypto/mode/CBC.java,
34582         gnu/javax/crypto/mode/CFB.java,
34583         gnu/javax/crypto/mode/CTR.java,
34584         gnu/javax/crypto/mode/EAX.java,
34585         gnu/javax/crypto/mode/ECB.java,
34586         gnu/javax/crypto/mode/IAuthenticatedMode.java,
34587         gnu/javax/crypto/mode/ICM.java,
34588         gnu/javax/crypto/mode/IMode.java,
34589         gnu/javax/crypto/mode/ModeFactory.java,
34590         gnu/javax/crypto/mode/OFB.java,
34591         gnu/javax/crypto/pad/BasePad.java,
34592         gnu/javax/crypto/pad/IPad.java,
34593         gnu/javax/crypto/pad/PKCS1_V1_5.java,
34594         gnu/javax/crypto/pad/PKCS7.java,
34595         gnu/javax/crypto/pad/PadFactory.java,
34596         gnu/javax/crypto/pad/SSL3.java,
34597         gnu/javax/crypto/pad/TBC.java,
34598         gnu/javax/crypto/pad/TLS1.java,
34599         gnu/javax/crypto/pad/WrongPaddingException.java,
34600         gnu/javax/crypto/prng/ARCFour.java,
34601         gnu/javax/crypto/prng/CSPRNG.java,
34602         gnu/javax/crypto/prng/Fortuna.java,
34603         gnu/javax/crypto/prng/ICMGenerator.java,
34604         gnu/javax/crypto/prng/IPBE.java,
34605         gnu/javax/crypto/prng/PBKDF2.java,
34606         gnu/javax/crypto/prng/PRNGFactory.java,
34607         gnu/javax/crypto/prng/UMacGenerator.java,
34608         gnu/javax/crypto/sasl/AuthInfo.java,
34609         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34610         gnu/javax/crypto/sasl/ClientFactory.java,
34611         gnu/javax/crypto/sasl/ClientMechanism.java,
34612         gnu/javax/crypto/sasl/ConfidentialityException.java,
34613         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34614         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34615         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34616         gnu/javax/crypto/sasl/InputBuffer.java,
34617         gnu/javax/crypto/sasl/IntegrityException.java,
34618         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34619         gnu/javax/crypto/sasl/NoSuchUserException.java,
34620         gnu/javax/crypto/sasl/OutputBuffer.java,
34621         gnu/javax/crypto/sasl/SaslEncodingException.java,
34622         gnu/javax/crypto/sasl/SaslInputStream.java,
34623         gnu/javax/crypto/sasl/SaslOutputStream.java,
34624         gnu/javax/crypto/sasl/SaslUtil.java,
34625         gnu/javax/crypto/sasl/ServerFactory.java,
34626         gnu/javax/crypto/sasl/ServerMechanism.java,
34627         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34628         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34629         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34630         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34631         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34632         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34633         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34634         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34635         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34636         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34637         gnu/javax/crypto/sasl/plain/PasswordFile.java,
34638         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34639         gnu/javax/crypto/sasl/plain/PlainClient.java,
34640         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34641         gnu/javax/crypto/sasl/plain/PlainServer.java,
34642         gnu/javax/crypto/sasl/srp/CALG.java,
34643         gnu/javax/crypto/sasl/srp/ClientStore.java,
34644         gnu/javax/crypto/sasl/srp/IALG.java,
34645         gnu/javax/crypto/sasl/srp/KDF.java,
34646         gnu/javax/crypto/sasl/srp/PasswordFile.java,
34647         gnu/javax/crypto/sasl/srp/SRP.java,
34648         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34649         gnu/javax/crypto/sasl/srp/SRPClient.java,
34650         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34651         gnu/javax/crypto/sasl/srp/SRPServer.java,
34652         gnu/javax/crypto/sasl/srp/SecurityContext.java,
34653         gnu/javax/crypto/sasl/srp/ServerStore.java,
34654         gnu/javax/crypto/sasl/srp/StoreEntry.java,
34655         gnu/javax/net/ssl/Base64.java,
34656         gnu/javax/net/ssl/EntropySource.java,
34657         gnu/javax/net/ssl/NullManagerParameters.java,
34658         gnu/javax/net/ssl/PrivateCredentials.java,
34659         gnu/javax/net/ssl/SRPManagerParameters.java,
34660         gnu/javax/net/ssl/SRPTrustManager.java,
34661         gnu/javax/net/ssl/StaticTrustAnchors.java,
34662         gnu/javax/net/ssl/provider/Alert.java,
34663         gnu/javax/net/ssl/provider/AlertException.java,
34664         gnu/javax/net/ssl/provider/Certificate.java,
34665         gnu/javax/net/ssl/provider/CertificateRequest.java,
34666         gnu/javax/net/ssl/provider/CertificateType.java,
34667         gnu/javax/net/ssl/provider/CertificateVerify.java,
34668         gnu/javax/net/ssl/provider/CipherSuite.java,
34669         gnu/javax/net/ssl/provider/ClientHello.java,
34670         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34671         gnu/javax/net/ssl/provider/CompressionMethod.java,
34672         gnu/javax/net/ssl/provider/Constructed.java,
34673         gnu/javax/net/ssl/provider/ContentType.java,
34674         gnu/javax/net/ssl/provider/Context.java,
34675         gnu/javax/net/ssl/provider/DiffieHellman.java,
34676         gnu/javax/net/ssl/provider/DigestInputStream.java,
34677         gnu/javax/net/ssl/provider/DigestOutputStream.java,
34678         gnu/javax/net/ssl/provider/Enumerated.java,
34679         gnu/javax/net/ssl/provider/Extension.java,
34680         gnu/javax/net/ssl/provider/Extensions.java,
34681         gnu/javax/net/ssl/provider/Finished.java,
34682         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34683         gnu/javax/net/ssl/provider/Handshake.java,
34684         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34685         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34686         gnu/javax/net/ssl/provider/Jessie.java,
34687         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34688         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34689         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34690         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34691         gnu/javax/net/ssl/provider/KeyPool.java,
34692         gnu/javax/net/ssl/provider/MacException.java,
34693         gnu/javax/net/ssl/provider/OverflowException.java,
34694         gnu/javax/net/ssl/provider/PRNG.java,
34695         gnu/javax/net/ssl/provider/ProtocolVersion.java,
34696         gnu/javax/net/ssl/provider/Random.java,
34697         gnu/javax/net/ssl/provider/RecordInput.java,
34698         gnu/javax/net/ssl/provider/RecordInputStream.java,
34699         gnu/javax/net/ssl/provider/RecordOutputStream.java,
34700         gnu/javax/net/ssl/provider/RecordingInputStream.java,
34701         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34702         gnu/javax/net/ssl/provider/SSLHMac.java,
34703         gnu/javax/net/ssl/provider/SSLRSASignature.java,
34704         gnu/javax/net/ssl/provider/SSLRandom.java,
34705         gnu/javax/net/ssl/provider/SSLServerSocket.java,
34706         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34707         gnu/javax/net/ssl/provider/SSLSocket.java,
34708         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34709         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34710         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34711         gnu/javax/net/ssl/provider/SecurityParameters.java,
34712         gnu/javax/net/ssl/provider/ServerHello.java,
34713         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34714         gnu/javax/net/ssl/provider/Session.java,
34715         gnu/javax/net/ssl/provider/SessionContext.java,
34716         gnu/javax/net/ssl/provider/Signature.java,
34717         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34718         gnu/javax/net/ssl/provider/TLSHMac.java,
34719         gnu/javax/net/ssl/provider/TLSRandom.java,
34720         gnu/javax/net/ssl/provider/Util.java,
34721         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34722         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34723         gnu/javax/net/ssl/provider/XMLSessionContext.java,
34724         gnu/javax/security/auth/Password.java,
34725         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34726         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34727         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34728         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34729         gnu/javax/security/auth/callback/GnuCallbacks.java,
34730         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34731         gnu/java/security/Registry.java,
34732         gnu/java/security/Properties.java,
34733         gnu/java/security/hash/BaseHash.java,
34734         gnu/java/security/hash/HashFactory.java,
34735         gnu/java/security/hash/Haval.java,
34736         gnu/java/security/hash/IMessageDigest.java,
34737         gnu/java/security/hash/MD2.java,
34738         gnu/java/security/hash/MD4.java,
34739         gnu/java/security/hash/MD5.java,
34740         gnu/java/security/hash/RipeMD128.java,
34741         gnu/java/security/hash/RipeMD160.java,
34742         gnu/java/security/hash/Sha160.java,
34743         gnu/java/security/hash/Sha256.java,
34744         gnu/java/security/hash/Sha384.java,
34745         gnu/java/security/hash/Sha512.java,
34746         gnu/java/security/hash/Tiger.java,
34747         gnu/java/security/hash/Whirlpool.java,
34748         gnu/java/security/jce/hash/HavalSpi.java,
34749         gnu/java/security/jce/hash/MD2Spi.java,
34750         gnu/java/security/jce/hash/MD4Spi.java,
34751         gnu/java/security/jce/hash/MD5Spi.java,
34752         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34753         gnu/java/security/jce/hash/RipeMD128Spi.java,
34754         gnu/java/security/jce/hash/RipeMD160Spi.java,
34755         gnu/java/security/jce/hash/Sha160Spi.java,
34756         gnu/java/security/jce/hash/Sha256Spi.java,
34757         gnu/java/security/jce/hash/Sha384Spi.java,
34758         gnu/java/security/jce/hash/Sha512Spi.java,
34759         gnu/java/security/jce/hash/TigerSpi.java,
34760         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34761         gnu/java/security/jce/prng/HavalRandomSpi.java,
34762         gnu/java/security/jce/prng/MD2RandomSpi.java,
34763         gnu/java/security/jce/prng/MD4RandomSpi.java,
34764         gnu/java/security/jce/prng/MD5RandomSpi.java,
34765         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34766         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34767         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34768         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34769         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34770         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34771         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34772         gnu/java/security/jce/prng/TigerRandomSpi.java,
34773         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34774         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34775         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34776         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34777         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34778         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34779         gnu/java/security/jce/sig/SignatureAdapter.java,
34780         gnu/java/security/key/IKeyPairCodec.java,
34781         gnu/java/security/key/IKeyPairGenerator.java,
34782         gnu/java/security/key/KeyPairCodecFactory.java,
34783         gnu/java/security/key/KeyPairGeneratorFactory.java,
34784         gnu/java/security/key/dss/DSSKey.java,
34785         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34786         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34787         gnu/java/security/key/dss/DSSPrivateKey.java,
34788         gnu/java/security/key/dss/DSSPublicKey.java,
34789         gnu/java/security/key/dss/FIPS186.java,
34790         gnu/java/security/key/rsa/GnuRSAKey.java,
34791         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34792         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34793         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34794         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34795         gnu/java/security/prng/BasePRNG.java,
34796         gnu/java/security/prng/EntropySource.java,
34797         gnu/java/security/prng/IRandom.java,
34798         gnu/java/security/prng/LimitReachedException.java,
34799         gnu/java/security/prng/MDGenerator.java,
34800         gnu/java/security/prng/PRNGFactory.java,
34801         gnu/java/security/prng/RandomEvent.java,
34802         gnu/java/security/prng/RandomEventListener.java,
34803         gnu/java/security/sig/BaseSignature.java,
34804         gnu/java/security/sig/ISignature.java,
34805         gnu/java/security/sig/ISignatureCodec.java,
34806         gnu/java/security/sig/SignatureFactory.java,
34807         gnu/java/security/sig/dss/DSSSignature.java,
34808         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34809         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34810         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34811         gnu/java/security/sig/rsa/EMSA_PSS.java,
34812         gnu/java/security/sig/rsa/RSA.java,
34813         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34814         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34815         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34816         gnu/java/security/util/Base64.java,
34817         gnu/java/security/util/ExpirableObject.java,
34818         gnu/java/security/util/Prime2.java,
34819         gnu/java/security/util/Sequence.java,
34820         gnu/java/security/util/SimpleList.java,
34821         gnu/java/security/util/Util.java,
34822         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34823         new files imported from GNU Crypto and Jessie.
34825 2006-01-25  Tom Tromey  <tromey@redhat.com>
34827         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34828         Fixed calculation of number of bytes to read.
34829         (size, count, meta, eof): Document.
34831 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34833         * java/lang/Character.java:
34834         (codePointCount(char[], int, int)): New API method.
34835         (codePointCount(CharSequence, int, int)): Likewise.
34836   
34837 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34838   
34839         PR 25205
34840         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34841         Rewritten.
34842         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34843         action if not editing.
34844         * javax/swing/plaf/basic/BasicTreeUI.java 
34845         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34846         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34847         (EditorUpdateTimer): Removed.
34848         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34849         when starting editing another node.
34850         (editorTimer, newVal): Removed.
34851         (cancelEditing): Do not send the cancel message.
34852         (completeEditing): Obtain the edited value from the editor.
34853         (finish): New method.
34854         (paintRow): Do not paint the editing component here.
34855         (startEditing, stopEditing): Rewritten.
34856         * javax/swing/tree/DefaultTreeCellEditor.java
34857         (DefaultTextField): Added SVUID.
34858         (EditorContainer): Rewritten.
34859         (RealEditorListener): New inner class.
34860         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34861         (constructor): Add cell editor listener. Do not instantiate timer.
34862         (actionPerformed): Return without action.
34863         (cancelCellEditing): Rewritten.
34864         (createTreeCellEditor): Add cell editor listener to the editor.
34865         (getCellEditorValue): Request the value from the realEditor.
34866         (isCellEditable): Removed timer management.
34867         (prepareForEditing): Remove all components befor adding the 
34868         editingComponent.
34869         (startEditingTimer): Start only if it is not null.
34870         (stopCellEditing): Rewritten.
34871         (stopEditingTimer): New method.
34872         (valueChanged): Do not configure editing component here.
34873   
34874 2006-01-25  Roman Kennke  <kennke@aicas.com>
34875   
34876         * javax/swing/text/html/FormView.java: New file.
34877   
34878 2006-01-25  Roman Kennke  <kennke@aicas.com>
34879   
34880         * javax/swing/JSplitPane.java
34881         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34882         has been set in order to set an initial layout.
34883         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34884         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34885         layout of the right component.
34886         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34887         dividerLocation to the size of the left component.
34888         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34889         the UIManager.
34890         (setDividerLocation): Don't validate the location here. Sometimes
34891         the divider needs to be set to an invalid location.
34892         (startDragging): Don't revalidate and repaint here.
34893         (finishDraggingTo): Don't repaint here. Also, don't call
34894         dragDividerTo() here.
34895         * javax/swing/plaf/basic/BasicLookAndFeel.java
34896         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34897         default value.
34898   
34899 2006-01-25  Roman Kennke  <kennke@aicas.com>
34900   
34901         * javax/swing/JSplitPane.java
34902         (addImpl): Removed invalidate() and layout() call.
34903         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34904         (PropertyHandler.propertyChange): Remove layoutContainer() and
34905         repaint() call.
34906   
34907 2006-01-25  Roman Kennke  <kennke@aicas.com>
34908   
34909         * configure.ac
34910         * native/Makefile.am
34911         * native/jni/classpath/Makefile.am
34912         * native/jni/classpath/jcl.c
34913         * native/jni/classpath/jcl.h
34914         * native/jni/classpath/native_state.c
34915         * native/jni/gtk-peer/Makefile.am
34916         * native/jni/java-io/Makefile.am
34917         * native/jni/java-io/java_io_VMFile.c
34918         * native/jni/java-io/java_io_VMObjectStreamClass.c
34919         * native/jni/java-lang/Makefile.am
34920         * native/jni/java-net/Makefile.am
34921         * native/jni/java-net/java_net_VMInetAddress.c
34922         * native/jni/java-net/javanet.c
34923         * native/jni/java-net/javanet.h
34924         * native/jni/java-nio/Makefile.am
34925         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34926         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34927         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34928         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34929         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34930         * native/jni/java-util/Makefile.am
34931         * native/jni/java-util/java_util_VMTimeZone.c
34932         * native/jni/midi-dssi/Makefile.am
34933         * native/jni/xmlj/Makefile.am
34934         * native/target/Makefile.am
34935         * native/target/Linux/target_native_math.h
34936         * native/target/Linux/target_native_memory.h
34937         * native/target/Linux/Makefile.am
34938         * native/target/Linux/target_native_io.h
34939         * native/target/Linux/target_native_math_float.h
34940         * native/target/Linux/target_native_math_int.h
34941         * native/target/generic/target_generic.c
34942         * native/target/generic/target_generic_io.c
34943         * native/target/generic/target_generic_math.h
34944         * native/target/generic/target_generic_memory.h
34945         * native/target/generic/target_generic_misc.c
34946         * native/target/generic/target_generic_network.c
34947         * native/target/generic/Makefile.am
34948         * native/target/generic/target_generic.h
34949         * native/target/generic/target_generic_file.h
34950         * native/target/generic/target_generic_io.h
34951         * native/target/generic/target_generic_math_float.h
34952         * native/target/generic/target_generic_math_int.h
34953         * native/target/generic/target_generic_misc.h
34954         * native/target/generic/target_generic_network.h:
34955         Reverted target native related changes back to the state of the
34956         0.20 release.
34957         * native/target/MinGW/.cvsignore
34958         * native/target/MinGW/Makefile.am
34959         * native/target/MinGW/target_native.h
34960         * native/target/MinGW/target_native_file.h
34961         * native/target/MinGW/target_native_io.h
34962         * native/target/MinGW/target_native_math.h
34963         * native/target/MinGW/target_native_memory.h
34964         * native/target/MinGW/target_native_misc.h
34965         * native/target/MinGW/target_native_network.h
34966         * native/target/RTEMS/.cvsignore
34967         * native/target/RTEMS/Makefile.am
34968         * native/target/RTEMS/target_native.h
34969         * native/target/RTEMS/target_native_file.h
34970         * native/target/RTEMS/target_native_io.h
34971         * native/target/RTEMS/target_native_math.h
34972         * native/target/RTEMS/target_native_memory.h
34973         * native/target/RTEMS/target_native_misc.h
34974         * native/target/RTEMS/target_native_network.h
34975         * native/target/SunOS/.cvsignore
34976         * native/target/SunOS/Makefile.am
34977         * native/target/SunOS/target_native.h
34978         * native/target/SunOS/target_native_file.h
34979         * native/target/SunOS/target_native_io.h
34980         * native/target/SunOS/target_native_math.h
34981         * native/target/SunOS/target_native_memory.h
34982         * native/target/SunOS/target_native_misc.h
34983         * native/target/SunOS/target_native_network.h
34984         * native/target/embOS/.cvsignore
34985         * native/target/embOS/Makefile.am
34986         * native/target/embOS/target_native.h
34987         * native/target/embOS/target_native_file.h
34988         * native/target/embOS/target_native_io.c
34989         * native/target/embOS/target_native_io.h
34990         * native/target/embOS/target_native_math.h
34991         * native/target/embOS/target_native_memory.h
34992         * native/target/embOS/target_native_misc.h
34993         * native/target/embOS/target_native_network.h
34994         * native/target/posix/.cvsignore
34995         * native/target/posix/Makefile.am
34996         * native/target/posix/target_posix.c
34997         * native/target/posix/target_posix.h
34998         * native/target/posix/target_posix_file.c
34999         * native/target/posix/target_posix_file.h
35000         * native/target/posix/target_posix_io.c
35001         * native/target/posix/target_posix_io.h
35002         * native/target/posix/target_posix_math.c
35003         * native/target/posix/target_posix_math.h
35004         * native/target/posix/target_posix_memory.c
35005         * native/target/posix/target_posix_memory.h
35006         * native/target/posix/target_posix_misc.c
35007         * native/target/posix/target_posix_misc.h
35008         * native/target/posix/target_posix_network.c
35009         * native/target/posix/target_posix_network.h:
35010         Removed.
35011   
35012 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
35013   
35014         * javax/print/PrintService.java,
35015         * javax/print/DocPrintJob.java,
35016         * javax/print/CancelablePrintJob.java:
35017         Added and enhanced api documentation for class and methods.             
35019 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
35021         * javax/print/SimpleDoc.java: Make class final.
35022         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
35023         * javax/print/attribute/DateTimeSyntax.java: 
35024         (toString): New overridden method.
35025         * javax/print/attribute/standard/JobStateReasons.java:
35026         (add): Use the super.add method to avoid recursion.
35027         * javax/print/attribute/standard/PrinterStateReasons.java: 
35028         (put): Use the super.put method to avoid recursion.
35030 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
35032         * java/beans/XMLEncoder.java:
35033         (writeExpression): Added early return (fixes PR #25941).
35034         (setExceptionListener, anonymous Class): Removed printStackTrace
35035         call.
35036         * java/beans/Encoder: Removed unused imports.
35037         (setupDefaultPersistenceDelegates): Removed unneccessary
35038         PersistenceDelegates for subclasses.
35039         * java/beans/PersistenceDelegate:
35040         (initialize): Use local variable as first argument as it was
35041         intended once.
35042         * java/beans/DefaultPersistenceDelegate:
35043         (initialize): Added call to superclass' implementation, added
35044         early return.
35045   
35046 2006-01-24  Tom Tromey  <tromey@redhat.com>
35047   
35048         * java/util/regex/PatternSyntaxException.java: Added @since.
35049         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
35050         * java/util/regex/MatchResult.java: New file.
35051   
35052 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
35053   
35054         * javax/swing/text/StringContent.java: Added API docs all over, plus 
35055         minor reformatting.
35056   
35057 2006-01-24  Gary Benson  <gbenson@redhat.com>
35058   
35059         * java/net/SocketPermission.java: Implemented serialization.
35060   
35061 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
35062   
35063         * javax/swing/text/StringContent.java
35064         (remove): Modified argument check to prevent removal of last character,
35065         (getChars): Removed null argument check to allow NullPointerException,
35066         added API docs,
35067         (checkLocation): Added API docs and white space.
35068   
35069 2006-01-23  Lillian Angel  <langel@redhat.com>
35070   
35071         * javax/swing/text/DefaultStyledDocument.java
35072         (insertUpdate): Should only call createFracture with 
35073         StartTagType. Added check.
35074         (insertContentTag): Should use the tags length for splitting.
35075         Also, added a check to determine if current's start and end offset are
35076         equal to the offset and endOffset. If so, only one leaf element
35077         should be added. 
35078         (createFracture): Removed FIXME. This function is complete.
35079         (split): Added calls to replace. Changed so the child is 
35080         added immediately to the paragraph. Prevents NPEs.
35082 2006-01-23  Mark Wielaard  <mark@klomp.org>
35084         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
35086 2006-01-23  Tom Tromey  <tromey@redhat.com>
35088         * gnu/java/security/x509/X509Certificate.java (parse):
35089         Unconditionally read value; for version==1 case when reading
35090         algorithm ID.
35092 2006-01-23  Roman Kennke  <kennke@aicas.com>
35094         * javax/swing/plaf/synth/ColorType.java,
35095         * javax/swing/plaf/synth/Region.java,
35096         * javax/swing/plaf/synth/SynthConstants.java,
35097         * javax/swing/plaf/synth/SynthContext.java
35098         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
35099         * javax/swing/plaf/synth/SynthLookAndFeel.java,
35100         * javax/swing/plaf/synth/SynthPainter.java,
35101         * javax/swing/plaf/synth/SynthStyle.java,
35102         * javax/swing/plaf/synth/SynthStyleFactory.java,
35103         * javax/swing/plaf/synth/package.html:
35104         New files. Added the public API and framework classes for the
35105         Synth look and feel.
35106   
35107 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
35108   
35109         * javax/swing/text/Segment.java: API docs all over.
35110   
35111 2006-01-23  Lillian Angel  <langel@redhat.com>
35112   
35113         * javax/swing/text/DefaultStyledDocument.java
35114         (split): Should not use createLeafElement and createBranchElement here.
35115         We should just instaniate the LeafElements and BranchElements instead 
35116         to avoid the case where create*Element is overridden.
35117   
35118 2006-01-23  Lillian Angel  <langel@redhat.com>
35119   
35120         * javax/swing/text/DefaultStyledDocument.java
35121         (insertFirstContentTag): Moved check outside of if-statement.
35122         This should be checked before creating the new leaf element.
35123         (insertFracture): Fixed check to prevent an NPE. The previous
35124         leaf should only be recreated if it has been created by
35125         insertFirstContentTag. Also, fixed up code: if the endOffset is
35126         greater than the offset, then we need to create a temp leaf
35127         as a place holder. Otherwise, the leaf elements should be
35128         created normally.
35129   
35130 2006-01-23  Gary Benson  <gbenson@redhat.com>
35131   
35132         * java/net/SocketPermission.java: Almost completely rewritten.
35133   
35134 2006-01-23  Lillian Angel  <langel@redhat.com>
35135         
35136         * javax/swing/text/DefaultStyledDocument.java
35137         (insertFracture): Set temp leaf's attributes to prevent an NPE.
35138   
35139 2006-01-23  Lillian Angel  <langel@redhat.com>
35140   
35141         * javax/swing/text/DefaultStyledDocument.java:
35142         Formatted ElementBuffer and added new fields.
35143         (remove): Added check to determine if length is 0.
35144         (insertFirstContentTag): Initialized firstCreated to the element that is created 
35145         by the first tag encountered. Removed check in JoinPreviousDirection case, no
35146         longer needed. In OriginateDirection case, added a loop to remove all old leafs
35147         that have been recreated.
35148         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
35149         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
35150         FIXME tags to the lines that need to be rewritten.      
35152 2006-01-23  Mark Wielaard  <mark@klomp.org>
35154         * examples/Makefile.am: Add support for fastjar.
35156 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35158         * gnu/regexp/REToken.java(empty): Made Cloneable.
35159         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
35160         Use separate methods matchN and matchP depending on the
35161         boolean negative.
35162         (matchN): New method used when negative. Done as before.
35163         (matchP): New method used when not negative. Each token is
35164         tried not by itself but by a clone of it.
35166 2006-01-23  Chris Burdess  <dog@gnu.org>
35168         Fixes bug #25906
35169         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
35170           class to avoid getLength method contention.
35171         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
35173 2006-01-23  Chris Burdess  <dog@gnu.org>
35175         * native/jni/java-util/Makefile.am: Include library required
35176           explicitly by BSD systems.
35177         * native/target/generic/target_generic_misc.h: Remove old commented
35178           out code.
35179         * native/target/generic/target_generic_network.h: Fallbacks (to
35180           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
35182 2006-01-22  Tom Tromey  <tromey@redhat.com>
35184         * native/target/posix/.cvsignore: Added .deps.
35186 2006-01-22  Mark Wielaard  <mark@klomp.org>
35188         Fixes bug #25832,
35189         reported by James Damour <James.Damour@corp.request.com>
35190         * java/awt/Container.java (addImpl): Use empty string as name when
35191         null constraints for LayoutManager.addLayoutComponent().
35193 2006-01-22  Chris Burdess  <dog@gnu.org>
35195         Fixes bug #25903
35196         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
35197           representing current directory as base for relative URLs.
35199 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35201         Fixes bug #25837
35202         * gnu/regexp/REMatch.java(empty): New boolean indicating
35203         an empty string matched.
35204         * gnu/regexp/RE.java(match): Sets empty flag when an empty
35205         string matched.
35206         (initialize): Support back reference \10, \11, and so on.
35207         (parseInt): renamed from getEscapedChar and returns int.
35208         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
35209         when an empty string matched. Fixed a bug of the case where
35210         an empty string matched. Added special handling of {0}.
35211         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
35212         when an empty string matched. Fixed the case insensitive matching.
35213   
35214 2006-01-21  Roman Kennke  <kennke@aicas.com>
35215   
35216         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
35217         (paint): Added painting of border if one is installed.
35218   
35219 2006-01-21  Roman Kennke  <kennke@aicas.com>
35220   
35221         PR classpath/25843:
35222         * javax/swing/plaf/basic/BasicBorders.java
35223         (getSplitPaneDividerBorder): Use new border constructor
35224         without arguments.
35225         (SplitPaneDividerBorder.highlight): Removed unneeded field.
35226         (SplitPaneDividerBorder.shadow): Removed unneeded field.
35227         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
35228         colors are fetched dynamically in the paintBorder method.
35229         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
35230         the look and feel.
35231         (SplitPaneDividerBorder.isBorderOpaque): Returns true
35232         unconditionally.
35233         * javax/swing/plaf/basic/BasicLookAndFeel.java
35234         (initComponentDefaults): Added default for SplitPaneDivider.border.
35235         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35236         (tmpBorder): Removed unneeded inner class.
35237         (BasicSplitPaneDivider): Removed setting of border.
35238         (setSplitPaneUI): Don't add the mouse handler to the splitpane
35239         itself.
35240         * javax/swing/plaf/basic/BasicSplitPaneUI.java
35241         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
35242         to get behaviour right.
35243         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
35244         implementation. This must be rewritten since the layout now works
35245         slightly different (basically, it shouldn't modify the sizes[]
35246         here but instead the dividerLocation.
35247         (dividerLocation): New field.
35248         (installDefaults): Initialize border on divider.
35249         (uninstallDefaults): Only remove background color and border from
35250         splitPane if they are instances of UIDefaults (== not set by
35251         application).
35252         (setDividerLocation): Set the dividerLocation field instead of
35253         doing stunt acts here.
35254         (getDividerLocation): Return dividerLocation field.
35255         (getMinimumDividerLocation): Fixed calculation of minimum location.
35256         
35257 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
35258   
35259         * m4/acinclude.m4
35260         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
35261   
35262         * lib/Makefile.am: Likewise. 
35263   
35264 2006-01-21  Roman Kennke  <kennke@aicas.com>
35265   
35266         * javax/swing/PopupFactory.java
35267         (getPopup): If there is no Swing root found in any way, use a
35268         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
35269         for the Swing AWT peers.
35270   
35271 2006-01-20  Tom Tromey  <tromey@redhat.com>
35272   
35273         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
35274         Read response body for redirect.
35275   
35276 2006-01-20  Chris Burdess  <dog@gnu.org>
35277   
35278         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
35279           redirects on 304.
35280   
35281 2006-01-20  Lillian Angel  <langel@redhat.com>
35282   
35283         * javax/swing/text/DefaultStyledDocument.java
35284         (pad): Removed, not needed.
35285         (printElements): Likewise.
35286         (printEdit): Likewise.
35287   
35288 2006-01-20  Roman Kennke  <kennke@aicas.com>
35289   
35290         * javax/swing/text/DefaultFormatter.java
35291         (DefaultFormatter): Don't set a value class.
35292   
35293 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35294   
35295         * javax/swing/DefaultCellEditor.java: Commented.
35296   
35297 2006-01-19  Roman Kennke  <kennke@aicas.com>
35298   
35299         * javax/swing/JOptionPane.java
35300         Added cast to Frame for JDialog constructor.
35301   
35302 2006-01-19  Roman Kennke  <kennke@aicas.com>
35303   
35304         * javax/swing/JWindow.java
35305         (JWindow(Window)): Fixed to accept null owner argument.
35306         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
35307         owner argument.
35308         * javax/swing/SwingUtilities.java
35309         (getOwnerFrame): Owner parameter and return value are fixed to
35310         be of type Window for compatibity with the above JWindow
35311         constructor.
35312         * javax/swing/JDialog.java
35313         (JDialog): Added cast to Frame to make sure the correct constructor
35314         is called.
35315         * javax/swing/JFileChooser.java
35316         (createDialog): Added cast to Frame for JDialog constructor.
35317   
35318 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35319   
35320         * javax/swing/JTable.java (rowAtPoint): Rewritten.
35321   
35322 2006-01-19  Roman Kennke  <kennke@aicas.com>
35323   
35324         * javax/swing/JWindow.java: Added API docs to the constructors.
35325   
35326 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35327   
35328         * javax/swing/JTable.java: Commenting method headers.
35329         (EditorUpdateTimer): Removed.
35330   
35331 2006-01-19  Roman Kennke  <kennke@aicas.com>
35332   
35333         * javax/swing/JDialog.java
35334         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
35335         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
35336         SwingUtilities.getOwnerFrame() with the owner argument.
35337         * javax/swing/JFileChooser.java
35338         (showOpenDialog(Component)): Call pack() on the dialog instead of
35339         setting a fixed height.
35340         (showSaveDialog()): Likewise.
35341         (showDialog()): Likewise.
35342         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
35343         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
35344         with null.
35345         * javax/swing/JWindow.java
35346         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
35347         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
35348         argument.
35349         * javax/swing/SwingUtilities.java
35350         (getOwnerFrame): Changed to take a owner parameter that is returned
35351         as owner frame when not null.
35352   
35353 2006-01-19  Roman Kennke  <kennke@aicas.com>
35354   
35355         * gnu/java/awt/peer/swing/SwingFramePeer.java
35356         (handleMouseEvent): Fixed handling of mouse events.
35357         (handleMouseMotionEvent): Fixed handling of mouse events.
35359 2006-01-19  Roman Kennke  <kennke@aicas.com>
35361         * native/target/generic/target_generic_misc.c:
35362         (targetGenericMisc_formatString): Added missing method.
35364 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
35366         * m4/acinclude.m4: Test also for ecj found before exiting configure
35367         with no javac found error message. 
35369 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35371         Fixes bug #23212
35372         * gnu/regexp/RE.java(initialize): Support escaped characters such as
35373         \0123, \x1B, \u1234.
35374         (getEscapedChar): New method.
35375         (CharExpression): New inner class.
35376         (getCharExpression): New Method.
35377         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
35378         RE_UNICODE_CHAR): New syntax bits.
35380 2006-01-19  Roman Kennke  <kennke@aicas.com>
35382         * native/target/Makefile.am: Fixed so that posix stuff is really
35383         only built when requested.
35385 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35387         * javax/swing/JTable.java (editingStopped, editingCancelled):
35388         Repaint the edited cell.
35389         (setValueAt): Do not add the value object to this container.
35390         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
35391         (editingStopped): Use editingRow, editingColumn and not
35392         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
35393         (doLayout): Move the editor component, if present, into the new
35394         location and call repaint(). (moveToCellBeingEdited): new method.
35395         (TableTextField): new inner class.
35396         (getDefaultEditor): Instantiante TableTextField, not JTextField.
35397         (setValueAt): Repaint the changed segment.
35398         (createDefaultEditors): Implemented.
35399         (BooleanCellRenderer): Center the checkbox and use the default foreground
35400         and background colors.   
35401         * javax/swing/plaf/basic/BasicTableUI.java
35402         (paintCell): Do not paint the caret here. Do not accept unused parameters.
35403         (paint): No need to allocate rectangle for each cell.   
35404         * javax/swing/DefaultCellEditor.java: Rewritten.         
35405         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
35406         Use TableDemo.java table example.
35407         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
35409 2006-01-19  Roman Kennke  <kennke@aicas.com>
35411         * configure.ac: Added/fixed --enable-posix-layer option to enable
35412         build of posix layer.
35413         * native/target/Makefile.am: Added build for posix layer.
35415 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35417         * configure.ac: Set TARGET to Linux per default.
35418         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
35419         libtargetos.la.
35420         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
35421         * native/target/generic/Makefile.am (INCLUDES): Renamed to
35422         AM_CPPFLAGS.
35423         
35424 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
35426         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
35427           what looked like proprietary documentation with original or new one.
35428         * java/security/spec/PSSParameterSpec.java: Likewise.
35429         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
35430         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
35431         * java/security/AlgorithmParameterGenerator.java: Likewise.
35432         * java/security/AlgorithmParameters.java: Likewise.
35433         * java/security/Identity.java: Likewise.
35434         * java/security/IdentityScope.java: Likewise.
35435         * java/security/KeyFactory.java: Likewise.
35436         * java/security/KeyPairGenerator.java: Likewise.
35437         * java/security/MessageDigest.java: Likewise.
35438         * java/security/Policy.java: Likewise.
35439         * java/security/ProtectionDomain.java: Likewise.
35440         * java/security/Security.java: Likewise.
35441         * java/security/Signature.java: Likewise.
35442         * java/security/SignatureSpi.java: Likewise.
35443         * java/security/SignedObject.java: Likewise.
35444         * java/security/Signer.java: Likewise.
35445   
35446 2006-01-18  Roman Kennke  <kennke@aicas.com>
35447   
35448         * configure.ac: Added --enable-posix-layer option to enable
35449         build of the posix target layer.
35450   
35451 2006-01-18  Roman Kennke  <kennke@aicas.com>
35452   
35453         * native/jni/java-net/java_net_VMInetAddress.c
35454         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
35455         for INADDR_ANY.
35456   
35457 2006-01-18  Roman Kennke  <kennke@aicas.com>
35458   
35459         * native/jni/java-util/java_util_VMTimeZone.c:
35460         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
35461         to use target native layer.
35462         (jint_to_charbuf): Removed unneeded helper function.
35463   
35464 2006-01-18  Roman Kennke  <kennke@aicas.com>
35465   
35466         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
35467         Removed unnecessary include.
35468         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
35469         Reorganized includes to only include sys/* headers when available.
35470         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
35471         (get_pagesize): Return 0 when nothing else works.
35472         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
35473         Replaced munmap() and strerror() with corresponding target macros.
35474         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
35475         Replaced strerror() with corresponding target macro.
35476         (Java_java_nio_MappedByteBufferImpl_forceImpl):
35477         Replaced strerror() with corresponding target macro.
35478         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
35479         (Java_java_nio_VMDirectByteBuffer_allocate):
35480         Replaced malloc() with the corresponding target macro.
35481         (Java_java_nio_VMDirectByteBuffer_free):
35482         Replaced free() with the corresponding target macro.
35483         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
35484         Add index to pointer when assigning the value.
35485         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
35486         Replaced memcpy with corresponding target macro. Add index when
35487         doing the memcpy, not when fetching the pointer.
35488         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
35489         Replaced memcpy with corresponding target macro.
35490         (Java_java_nio_VMDirectByteBuffer_shiftDown):
35491         Replaced memmove with the corresponding target macro.
35493 2006-01-17  Tom Tromey  <tromey@redhat.com>
35495         PR classpath/20198:
35496         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
35497         (JarURLLoader): Likewise.
35498         (addURLImpl): Canonicalize file URLs.
35500 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35502         * configure.ac: Set TARGET.
35503         * native/Makefile.am, native/jni/classpath/Makefile.am,
35504         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
35505         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
35506         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
35507         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
35508         native/target/Linux/Makefile.am,
35509         native/target/generic/Makefile.am,
35510         native/target/posix/Makefile.am: Build libclasspath.so with jcl
35511         and target stuff linked in and link it against lib*.so libraries.
35513 2006-01-17  Roman Kennke  <kennke@aicas.com>
35515         * native/jni/java-net/javanet.c:
35516         (_javanet_connect): Changed type of some local variables to jint.
35517         Fixed error handling to throw a SocketTimeoutException if the
35518         connection attempt times out.
35519         (_javanet_bind): Changed type of some local variables to jint.
35520         (_javanet_accept): Likewise.
35521         (_javanet_recvfrom): Likewise.
35522         (_javanet_sendto): Fixed error handling to throw a
35523         PortUnreachableException when connection is refused.
35524         (_javanet_get_option): Changed type of some local variables to jint.
35525         Implemented SOCKOPT_SO_BROADCAST.
35526         (_javanet_shutdownInput): Replaced shutdown call with corresponding
35527         target native macro.
35528         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
35529         target native macro.
35530         * native/jni/java-net/javanet.h:
35531         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
35532         SOCKOPT_SO_BROADCAST.
35533   
35534 2006-01-17  Lillian Angel  <langel@redhat.com>
35535   
35536         * javax/swing/text/DefaultStyledDocument.java
35537         (insert): Cleaned up loop. No need to make so many calls
35538         to getAddedElements and getRemovedElements.
35539         (insertFracture): Removed unneeded array.
35540   
35541 2006-01-17  Lillian Angel  <langel@redhat.com>
35542         
35543         * javax/swing/text/JTextComponent.java
35544         (AccessibleJTextComponent): Implemented.
35545         (getCaretPosition): Implemented.
35546         (getSelectedText): Implemented.
35547         (getSelectionStart): Implemented.
35548         (getSelectionEnd): Implemented.
35549         (getSelectionEnd): Implemented.
35550         (getCharCount): Implemented.
35551         (insertTextAtIndex): Implemented.
35552         (getTextRange): Implemented.
35553         (delete): Implemented.
35554         (cut): Implemented.
35555         (paste): Implemented.
35556         (replaceText): Implemented.
35557         (selectText): Implemented.
35558   
35559 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
35560   
35561         * javax/swing/text/DefaultStyledDocument.java:
35562         (pad): New debugging method.
35563         (printElements): Likewise.
35564         (printPendingEdits): Likewise.
35565         (printElement): Likewise.
35566         (Edit): Improved docs, moved this class to be an inner class of
35567         ElementBuffer since it only applies within that scope.  Changed added 
35568         and removed to be Vectors instead of arrays because we need to be able 
35569         to add to them after construction.
35570         (ElementBuffer): Updated docs with link to article that helped in this
35571         classes implementation.
35572         (ElementBuffer.Edit.getRemovedElements): New method.
35573         (ElementBuffer.Edit.getAddedElements): Likewise.
35574         (ElementBuffer.Edit.addRemovedElement): Likewise.
35575         (ElementBuffer.Edit.addRemovedElements): Likewise.
35576         (ElementBuffer.Edit.addAddedElement): Likewise.
35577         (ElementBuffer.Edit.addAddedElements): Likewise.
35578         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
35579         addAddedElements.
35580         (ElementBuffer.getEditForParagraphAndIndex): New method.
35581         (ElementBuffer.removeUpdate): Changed type of paragraph to 
35582         BranchElement.  Corrected style of adding the edit to use the new Edit
35583         facilities.
35584         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
35585         the new Edit facilities.
35586         (ElementBuffer.split): Likewise.
35587         (ElementBuffer.insertParagraph): Likewise.
35588         (ElementBuffer.insertContentTag): Likewise.
35589         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
35590         not just the root and the first one. Apply the structural changes to 
35591         the tree at the same time as updating the DocumentEvent.
35592         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
35593         handling of EndTags as the first ElementSpec.  Instead have to handle
35594         ContentTags as a special case if they are the first ElementSpec and if
35595         not have to fracture the tree.
35596         (ElementBuffer.createFracture): New method.  May not be complete yet.
35597         Added FIXME indicating what may remain to be done.
35598         (ElementBuffer.insertFirstContentTag): New method.
35599         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
35600         be done.  Changed the adding of edits to use the new Edit facilities.
35601         Removed the adding of edits for Elements that weren't in the tree prior
35602         to the insertion.
35603         (insertUpdate): Removed incorrect condition for setting a StartTag's
35604         direction to JoinNextDirection.
35605         * javax/swing/text/StyleContent.java: 
35606         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
35607         that was causing an ArrayOutOfBoundsException.
35608   
35609 2006-01-17  Roman Kennke  <kennke@aicas.com>
35610   
35611         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35612         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35613         exception messages a little.
35614         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35615         alternative implementation for systems without filesystems.
35616         Replaced snprintf with the corresponding target native macro.
35617         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35618         Only do something when we have a filesystem.
35619         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35620         alternative implementation for systems without filesystems.
35621         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35622         alternative implementation for systems without filesystems.
35623         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35624         alternative implementation for systems without filesystems.
35625         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35626         Only do something when we have a filesystem.
35627         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35628         Only do something when we have a filesystem.
35629         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35630         alternative implementation for systems without filesystems.
35631         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35632         Replaced ssize_t variables with jint. Provided
35633         alternative implementation for systems without filesystems.
35634         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35635         Replaced ssize_t variables with jint. Provided
35636         alternative implementation for systems without filesystems.
35637         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35638         Replaced ssize_t variables with jint. Provided
35639         alternative implementation for systems without filesystems.
35640         (Java_gnu_java_nio_channels_FileChannelImpl_force):
35641         Only do something when we have a filesystem.
35642         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35643         Replaced ssize_t variables with jint. Provided
35644         alternative implementation for systems without filesystems.
35645         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35646         to use the corresponding target native macro.
35647         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35648         to use the corresponding target native macro.
35649   
35650 2006-01-17  Lillian Angel  <langel@redhat.com>
35651   
35652         * javax/swing/text/DefaultTextUI.java:
35653         Added deprecated tag.
35654         * javax/swing/text/JTextComponent.java
35655         (AccessibleJTextComponent): Fixed API doc and
35656         partiall9 implemented.
35657         (getCaretPosition): Fixed API doc and implemented.
35658         (getSelectedText): Fixed API doc.
35659         (getSelectionStart): Likewise.
35660         (getSelectionEnd): Likewise.
35661         (caretUpdate): Fixed API doc and
35662         partially implemented.
35663         (getAccessibleStateSet): Likewise.
35664         (getAccessibleRole): Fixed API doc and implemented.
35665         (getAccessibleEditableText): Implemented.
35666         (getAccessibleText): Fixed API doc and implemented.
35667         (insertUpdate): Fixed API doc.
35668         (changedUpdate): Likewise.
35669         (getIndexAtPoint): Likewise.
35670         (getRootEditorRect): Removed.
35671         (getCharacterBounds): Fixed API doc.
35672         (getCharCount): Likewise.
35673         (getCharacterAttribute): Likewise.
35674         (getAtIndex): Likewise.
35675         (getAfterIndex): Likewise.
35676         (getBeforeIndex): Likewise.
35677         (getAccessibleActionCount): Added function stub.
35678         (getAccessibleActionDescription): Added function,
35679         partially implemented.
35680         (doAccessibleAction): Added function stub.
35681         (setTextContents): Likewise.
35682         (insertTextAtIndex): Likewise.
35683         (delete): Likewise.
35684         (cut): Likewise.
35685         (paste): Likewise.
35686         (replaceText): Likewise.
35687         (selectText): Likewise.
35688         (setAttributes): Likewise.
35689         (getAccessibleContext): Implemented.
35690   
35691 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35692   
35693         Fixes bug #25817
35694         * gnu/regexp/RETokenRange.java(constructor):
35695         Keep lo and hi as they are.
35696         (match): Changed the case insensitive comparison.
35697   
35698 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35699   
35700         * gnu/regexp/RETokenChar.java(chain):
35701         Do not concatenate tokens whose insens flags are diffent.
35702   
35703 2006-01-17  Roman Kennke  <kennke@aicas.com>
35704   
35705         * native/target/generic/target_generic_network.c:
35706         (targetGenericNetwork_receive): Fixed signature to match the
35707         corresponding .h file.
35708         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35709         to match the corresponding .h file.
35710   
35711 2006-01-17  Roman Kennke  <kennke@aicas.com>
35712   
35713         * native/jni/classpath/jcl.c:
35714         (JCL_malloc): Replaced calls to malloc with the corresponding
35715         target layer macro.
35716         (JCL_free): Replaced calls to free with the corresponding
35717         target layer macro.
35718         * native/jni/classpath/native_state.c:
35719         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35720         calloc with the corresponding target layer macro.
35721         (remove_node): Replaced calls to free with the corresponding
35722         target layer macro.
35723         (add_node): Replaced calls to malloc with the corresponding
35724         target layer macro.
35726 2006-01-17  Roman Kennke  <kennke@aicas.com>
35728         * native/jni/java-io/java_io_VMObjectStreamClass.c:
35729         (getFieldReference): Use MALLOC/FREE macros for portability instead
35730         of direct call to malloc() and free().
35732 2006-01-17  Roman Kennke  <kennke@aicas.com>
35734         * native/jni/classpath/jcl.c: Added missing imports.
35735         (JCL_realloc): Fixed signature to include oldsize. This is needed
35736         for some targets. Make this function use the MEMORY_REALLOC macro
35737         for portability.
35738         * native/jni/classpath/jcl.h
35739         (JCL_realloc): Adjusted signature.
35740         * native/jni/java-io/java_io_VMFile.c:
35741         (Java_java_io_VMFile_create): Use target layer macro for handling
35742         errno, for portability.
35743         (Java_java_io_VMFile_length): Release filename string in error cases
35744         before returning.
35745         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35746         version of JCL_realloc.
35747         * native/jni/java-net/java_net_VMInetAddress.c:
35748         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35749         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35750         * native/jni/java-net/javanet.c:
35751         (_javanet_bind): Make errorstr variable const to avoid compiler
35752         warning.
35753         (_javanet_set_option): Fixed typo.
35754         (_javanet_get_option): Fixed typo.
35755         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35756         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35757         error_string variable const to avoid compiler warning.
35758         * native/target/generic/target_generic_file.h:
35759         Replaced // comments with /* */ comments to avoid compiler warnings.
35760         Added some spaces to make code better readable.
35761         * native/target/generic/target_generic_memory.h:
35762         Replaced // comments with /* */ comments to avoid compiler warnings.
35763         * native/target/generic/target_generic_misc.c:
35764         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35765         compiler warnings due to use of varargs.
35766         * native/target/generic/target_generic_misc.h:
35767         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35768         compiler warnings due to use of varargs.
35769         * native/target/generic/target_generic_network.h:
35770         Replaced // comments with /* */ comments to avoid compiler warnings.
35771         (targetGenericNetwork_receive): Fixed signature to use signed chars
35772         for buffer parameter to avoid warning when passing a jbyte to the
35773         function.
35774   
35775 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35776   
35777         * javax/swing/text/StyleConstants.java
35778         (getAlignment): Removed isDefined() check, so that resolving parent is 
35779         used for lookup,
35780         (getBackground): Likewise, plus changed default value to Color.BLACK,
35781         (getBidiLevel): Removed isDefined() check,
35782         (getComponent): Likewise,
35783         (getFirstLineIndent): Likewise,
35784         (getFontFamily): Likewise,
35785         (getFontSize): Likewise,
35786         (getForeground): Likewise,
35787         (getIcon): Likewise,
35788         (getLeftIndent): Likewise,
35789         (getLineSpacing): Likewise,
35790         (getRightIndent): Likewise,
35791         (getSpaceAbove): Likewise,
35792         (getSpaceBelow): Likewise,
35793         (getTabSet): Likewise,
35794         (isBold): Likewise,
35795         (isItalic): Likewise,
35796         (isStrikeThrough): Likewise,
35797         (isSubscript): Likewise,
35798         (isSuperscript): Likewise,
35799         (isUnderline): Likewise.
35801 2006-01-17  Gary Benson  <gbenson@redhat.com>
35803         * java/lang/System.java (setSecurityManager): Catch
35804         ClassNotFoundException not Throwable.
35806 2006-01-16  Anthony Green  <green@redhat.com>
35808         PR classpath/25803
35809         * gnu/java/net/protocol/http/Request.java
35810           (createResponseBodyStream): Remove Content-Encoding for
35811           compressed streams.
35812   
35813 2006-01-16  Chris Burdess  <dog@gnu.org>
35814   
35815         * gnu/xml/stream/XMLParser.java,
35816           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35817           XMLStreamWriter arguments for conformance to the XML specifications.
35818         * gnu/xml/transform/Stylesheet.java,
35819           gnu/xml/transform/Template.java,
35820           gnu/xml/transform/TransformerImpl.java,
35821           gnu/xml/xpath/LangFunction.java,
35822           gnu/xml/xpath/Selector.java: better handling of template priorities;
35823           fix indents when pretty-printing; recursive tests for xml:lang.
35824         * gnu/xml/util/XHTMLWriter.java,
35825           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35827 2006-01-16  Roman Kennke  <kennke@aicas.com>
35829         * native/target/MinGW/.cvsignore: New file.
35830         * native/target/RTEMS/.cvsignore: New file.
35831         * native/target/SunOS/.cvsignore: New file.
35832         * native/target/embOS/.cvsignore: New file.
35833         * native/target/posix/.cvsignore: New file.
35835 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35837         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35839 2006-01-16  Roman Kennke  <kennke@aicas.com>
35841         * configure.ac: Include new target native directories in build.
35843 2006-01-16  Roman Kennke  <kennke@aicas.com>
35845         * native/target/generic/target_generic_file.h: Added missing
35846         include.
35847         * native/target/generic/target_generic_network.c: Fixed several
35848         typos and includes.
35849         * native/target/generic/target_generic_network.h: Likewise.
35851 2006-01-16  Roman Kennke  <kennke@aicas.com>
35853         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35854         to include the new targets.
35855         * native/target/posix/Makefile.am: Fixed filenames.
35857 2006-01-16  Roman Kennke  <kennke@aicas.com>
35859         * native/target/Makefile.am: Include new targets.
35860         * native/target/Linux/Makefile.am: Include new memory layer.
35861         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35862         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35863         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35864         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35865         * native/target/generic/Makefile.am: Include new memory and math
35866         layer.
35867         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35868   
35869 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35870   
35871         Fixes bug #22884
35872         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35873         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35874   
35875 2006-01-16  Roman Kennke  <kennke@aicas.com>
35876   
35877         * native/target/generic/target_generic_network.c: Fixed typo.
35878         * native/target/generic/target_generic_network.h: Fixed typo.
35879   
35880 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35881   
35882         * doc/vmintegration.texinfo: Updated subsection of the
35883         java.lang.InstrumentationImpl documentation.
35884   
35885 2006-01-16  Roman Kennke  <kennke@aicas.com>
35886   
35887         * native/target/RTEMS/target_native.h,
35888         * native/target/RTEMS/target_native_file.h,
35889         * native/target/RTEMS/target_native_io.h,
35890         * native/target/RTEMS/target_native_math.h,
35891         * native/target/RTEMS/target_native_memory.h,
35892         * native/target/RTEMS/target_native_misc.h,
35893         * native/target/RTEMS/target_native_network.h:
35894         New files. Implement the target native layer for the RTEMS platform.
35895   
35896 2006-01-16  Roman Kennke  <kennke@aicas.com>
35897   
35898         * native/target/SunOS/target_native.h,
35899         * native/target/SunOS/target_native_file.h,
35900         * native/target/SunOS/target_native_io.h,
35901         * native/target/SunOS/target_native_math.h,
35902         * native/target/SunOS/target_native_memory.h,
35903         * native/target/SunOS/target_native_misc.h,
35904         * native/target/SunOS/target_native_network.h:
35905         New files. Implement the target native layer for the SunOS platform.
35906   
35907 2006-01-16  Roman Kennke  <kennke@aicas.com>
35908   
35909         * native/target/MinGW/target_native.h,
35910         * native/target/MinGW/target_native_file.h,
35911         * native/target/MinGW/target_native_io.h,
35912         * native/target/MinGW/target_native_math.h,
35913         * native/target/MinGW/target_native_memory.h,
35914         * native/target/MinGW/target_native_misc.h,
35915         * native/target/MinGW/target_native_network.h:
35916         New files. Implement the target native layer for the MinGW
35917         platform.
35918   
35919 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35920   
35921         PR 25770
35922         * javax/swing/DefaultCellEditor.java
35923         (delegate): Assign new instance immediately.
35924         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35925         (getTableCellEditorComponent): Rewritten.
35926         (prepareAsJTextField):New method (add listener only once).
35927         * javax/swing/JTable.java
35928         (editingCanceled): Rewritten.
35929         (editingStopped ): Rewritten.
35930         (rowAtPoint): Mind row margin.
35931         (getCellRect): Mind row margin.
35932         (getDefaultEditor): Removing JTextComponent border.
35933         (editCellAt): Rewritten.
35934         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35935         Activate editing mode by the mouse clicks.
35936         (getMaximumSize): Mind row margin.
35937         (getPreferredSize): Mind row margin.
35938         (TableAction): Added 'stop editing' command. 
35940 2006-01-16  Roman Kennke  <kennke@aicas.com>
35942         * jni/java-io/java_io_VMFile.c
35943         (Java_java_io_VMFile_list): Use new 4 argument version of
35944         TARGET_NATIVE_FILE_READ_DIR macro.
35945         * target/Linux/target_native_io.h: Fixed comment at #endif.
35946         * target/Linux/target_native_memory.h: New file. Contains
35947         portability macros for memory operations.
35948         * target/generic/target_generic.c: New file. Contains some functions
35949         for portability.
35950         * target/generic/target_generic.h: Use posix target and shorter macro
35951         names if CP_NEW is set. 
35952         * target/generic/target_generic_file.h: Use posix target and shorter
35953         macro names if CP_NEW is set.
35954         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35955         * target/generic/target_generic_io.c: New file. Contains some
35956         functions for IO portability.
35957         * target/generic/target_generic_io.h: Use posix target and shorter
35958         macro names if CP_NEW is set.
35959         * target/generic/target_generic_misc.c: New file. Contains some
35960         functions for miscallaneaous portability issues.
35961         * target/generic/target_generic_misc.h: Use posix target and shorter
35962         macro names if CP_NEW is set.
35963         * target/generic/target_generic_network.c: New file. Contains some
35964         functions for networking portability.
35965         * target/generic/target_generic_network.h: Use posix target and
35966         shorter macro names if CP_NEW is set.
35967         * target/posix/Makefile.am,
35968         * target/posix/target_posix.c,
35969         * target/posix/target_posix.h,
35970         * target/posix/target_posix_file.c,
35971         * target/posix/target_posix_file.h,
35972         * target/posix/target_posix_io.c,
35973         * target/posix/target_posix_io.h,
35974         * target/posix/target_posix_math.c,
35975         * target/posix/target_posix_math.h,
35976         * target/posix/target_posix_memory.c,
35977         * target/posix/target_posix_memory.h,
35978         * target/posix/target_posix_misc.c,
35979         * target/posix/target_posix_misc.h,
35980         * target/posix/target_posix_network.c,
35981         * target/posix/target_posix_network.h:
35982         New files. This implements the target native layer macros for
35983         Posix-like systems.
35985 2006-01-16  Gary Benson  <gbenson@redhat.com>
35987         * java/net/SocketPermission.java (implies): Fix action checks.
35989 2006-01-16  Roman Kennke  <kennke@aicas.com>
35991         * native/target/generic/target_generic_math_float.h: Removed. This
35992         file has been replaced by target_generic_math.h.
35993         * native/target/generic/target_generic_math_int.h: Removed. This
35994         file has been replaced by target_generic_math.h.
35995         * native/target/generic/target_generic_math.h: New file. Replaces
35996         the old _int and _float versions.
35997         * native/target/Linux/target_native_math_float.h: Removed. This
35998         file has been replaced by target_native_math.h.
35999         * native/target/Linux/target_native_math_int.h: Removed. This
36000         file has been replaced by target_native_math.h.
36001         * native/target/Linux/target_native_math.h: New file. Replaces
36002         the old _int and _float versions.
36003         * native/target/Linux/Makefile.am: Adjusted for the changed
36004         filenames.
36005         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
36006         instead of target_native_math_int.h.
36007         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
36008         Likewise.
36009         * native/target/generic/target_generic_file.h: Likewise.
36010   
36011 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
36012   
36013         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
36014   
36015 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
36016   
36017         * javax/swing/text/SimpleAttributeSet.java
36018         (SimpleAttributeSet()): Initialise storage directly,
36019         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
36020         NullPointerException,
36021         (containsAttribute): If key is found locally, don't check resolving
36022         parent if the value doesn't match,
36023         (getAttribute): Removed redundant instanceof and cast.
36024   
36025 2006-01-16  Gary Benson  <gbenson@redhat.com>
36026   
36027         * java/lang/System.java (setSecurityManager): Ensure policy
36028         files are loaded before a security manager is put in place.
36029   
36030 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
36031   
36032         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
36033   
36034 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
36035   
36036         * javax/print/attribute/standard/MediaSize.java: 
36037         (static_initializer): Added comment.
36038         (MediaSize): Added javadoc to mention cache registration.
36039         (MediaSize): Likewise.
36040         (MediaSize): Likewise.
36041         (MediaSize): Likewise.
36042   
36043 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
36044   
36045         PR classpath/25202
36046         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
36047         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
36048         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
36049         * javax/security/auth/login/AppConfigurationEntry.java: Updated
36050           copyright year.
36051           (toString): Added method implementation.
36052           (LoginModuleControlFlag.toString): Removed class name from result.
36053         * javax/security/auth/login/Configuration.java: Updated copyright year.
36054           (getConfig(): replaced calls to NullConfiguration with
36055           GnuConfiguration.
36057 2006-01-15  Tom Tromey  <tromey@redhat.com>
36059         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
36060         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
36061         * java/beans/PersistenceDelegate.java (initialize): Genericized.
36062         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
36063         (setPersistenceDelegate): Likewise.
36065 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
36067         * javax/print/attribute/standard/PrinterStateReasons.java: 
36068         (printerStateReasonSet): Genericize the return type.
36070 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36072         * javax/swing/table/DefaultTableCellRenderer.java 
36073         (getTableCellRendererComponent): Render null as the empty cell.
36075 2006-01-14  Anthony Green  <green@redhat.com>
36077         * java/net/ServerSocket.java (accept): Remove bogus
36078         security check.
36079         (implAccept): Add FIXME comment.
36081 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
36083         Fixes bug #25387
36084         * javax/print/Doc.java: Added and enhanced documentation.
36085         * javax/print/SimpleDoc.java: New file. 
36086   
36087 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
36088   
36089         * javax/print/attribute/standard/MediaSize.java: 
36090         (Other.TABLOID): New MediaSize added in 1.5
36091   
36092 2006-01-14  Chris Burdess  <dog@gnu.org>
36093   
36094         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
36095           correctly when I/O and runtime exceptions occur during parsing.
36096   
36097 2006-01-13  Roman Kennke  <kennke@aicas.com>
36098   
36099         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
36100         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
36101         * gnu/java/awt/peer/swing/SwingComponent.java,
36102         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
36103         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
36104         * gnu/java/awt/peer/swing/SwingFramePeer.java,
36105         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
36106         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
36107         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
36108         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
36109         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
36110         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
36111         * gnu/java/awt/peer/swing/SwingToolkit.java,
36112         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
36113         * gnu/java/awt/peer/swing/package.html:
36114         New files. Implemented some basic AWT peers based on Swing.
36115   
36116 2006-01-13  Roman Kennke  <kennke@aicas.com>
36117   
36118         * java/awt/peer/ComponentPeer.java: Added API docs all over.
36119   
36120 2006-01-13  Roman Kennke  <kennke@aicas.com>
36121   
36122         * java/awt/MenuComponent.java: Reformatted to better match our
36123         coding style.
36124   
36125 2006-01-13  Roman Kennke  <kennke@aicas.com>
36126   
36127         * java/awt/Frame.java: Reformatted to better match our
36128         coding style.
36129   
36130 2006-01-13  Roman Kennke  <kennke@aicas.com>
36131   
36132         * java/awt/MenuBar.java
36133         (accessibleContext): Removed unnecessary field. This is already
36134         defined in MenuComponent.
36135         (setHelpMenu): Renamed the peer variable to myPeer because it was
36136         hiding a field of MenuComponent.
36137         (addNotify): Removed unnecessary cast.
36138   
36139 2006-01-13  Roman Kennke  <kennke@aicas.com>
36140   
36141         * java/awt/MenuBar.java: Reformatted to better match our
36142         coding style.
36143   
36144 2006-01-13  Roman Kennke  <kennke@aicas.com>
36145   
36146         * java/awt/MenuBar.java
36147         (frame): New field.
36148         (removeNotify): Clear frame field when beeing removed from the
36149         frame.
36150         * java/awt/Frame.java
36151         (setMenuBar): Store a reference of the frame in the MenuBar.
36152         * java/awt/MenuComponent.java
36153         (postEvent): Implemented to forward the call to the parent until
36154         a parent can handle the event.
36155         (dispatchEvent): Moved handling of old style events from
36156         dispatchEventImpl() to here.
36157         (dispatchEventImpl): Moved handling of old style events to
36158         dispatchEvent().
36159   
36160 2006-01-13  Roman Kennke  <kennke@aicas.com>
36161   
36162         * java/awt/Component.java
36163         (dispatchEvent): Moved handling of old style events from
36164         dispatchEventImpl() to this method.
36165         (translateEvent): Removed unnecessary cast.
36166         (dispatchEventImpl): Moved handling of old style events to
36167         dispatchEvent().
36168         
36169 2006-01-13  Lillian Angel  <langel@redhat.com>
36170   
36171         * javax/swing/text/DefaultStyledDocument.java
36172         (createDefaultRoot): Removed FIXME.
36173         (setLogicalStyle): Added fireUndoableEditUpdate call and 
36174         removed FIXME.
36175   
36176 2006-01-13  Lillian Angel  <langel@redhat.com>
36177   
36178         * javax/swing/text/DefaultStyledDocument.java
36179         (Edit): New inner class.
36180         (changeUpdate): Changed addEdit call to add a new
36181         instance of Edit to the edits Vector, so addEdits can
36182         be done later.
36183         (split): Likewise.
36184         (insertParagraph): Likewise.
36185         (insertFracture): Likewise.
36186         (insertContentTag): Likewise.
36187         (insert): Added loop to go through edits Vector and perform
36188         addEdit on each object.
36189   
36190 2006-01-13  Chris Burdess  <dog@gnu.org>
36191   
36192         * gnu/xml/transform/AbstractNumberNode.java,
36193           gnu/xml/transform/ApplyImportsNode.java,
36194           gnu/xml/transform/ApplyTemplatesNode.java,
36195           gnu/xml/transform/AttributeNode.java,
36196           gnu/xml/transform/CallTemplateNode.java,
36197           gnu/xml/transform/ChooseNode.java,
36198           gnu/xml/transform/CommentNode.java,
36199           gnu/xml/transform/CopyNode.java,
36200           gnu/xml/transform/CopyOfNode.java,
36201           gnu/xml/transform/DocumentFunction.java,
36202           gnu/xml/transform/ElementNode.java,
36203           gnu/xml/transform/ForEachNode.java,
36204           gnu/xml/transform/IfNode.java,
36205           gnu/xml/transform/LiteralNode.java,
36206           gnu/xml/transform/MessageNode.java,
36207           gnu/xml/transform/OtherwiseNode.java,
36208           gnu/xml/transform/ParameterNode.java,
36209           gnu/xml/transform/ProcessingInstructionNode.java,
36210           gnu/xml/transform/Stylesheet.java,
36211           gnu/xml/transform/Template.java,
36212           gnu/xml/transform/TemplateNode.java,
36213           gnu/xml/transform/TextNode.java,
36214           gnu/xml/transform/TransformerImpl.java,
36215           gnu/xml/transform/ValueOfNode.java,
36216           gnu/xml/transform/WhenNode.java,
36217           gnu/xml/xpath/NodeTypeTest.java,
36218           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
36219           with-param parameters when template does not define parameters; apply
36220           conflict resolution for templates; strip whitespace on documents
36221           retrieved via document() function; allow node() to match document
36222           nodes.
36224 2006-01-13  Mark Wielaard  <mark@klomp.org>
36226         * doc/www.gnu.org/announce/20060113.wml: New file.
36227         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
36228         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
36229   
36230 2006-01-13  Lillian Angel  <langel@redhat.com>
36231   
36232         * javax/swing/text/DefaultStyledDocument.java:
36233         Removed unused fields.
36234         (insert): Removed unused fields.
36235         (endEdit): Removed, not needed.
36236         (insertUpdate): Removed call to endEdit.
36237         (prepareContentInsertion): Removed, not needed.
36238         (insertContentTag): Removed call to prepareContentInsertion.
36239         (printElements): Removed, not needed.
36240         (attributeSetsAreSame): Removed, not needed.
36241   
36242 2005-01-13  Mark Wielaard  <mark@klomp.org>
36244         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
36245         Duplicate of toString(int, StringBuilder).
36247 2005-01-13  Mark Wielaard  <mark@klomp.org>
36249         * configure.ac: Set version to 0.20.
36250         * NEWS: Add entries for all the new work done.
36252 2005-01-13  Mark Wielaard  <mark@klomp.org>
36254         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
36256 2005-01-13  Mark Wielaard  <mark@klomp.org>
36258         * java/util/regex/Pattern.java (Pattern): Chain REException.
36260 2006-01-13  Chris Burdess  <dog@gnu.org>
36262         * gnu/xml/xpath/NameTest.java: Removed debugging output.
36264 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
36266         * java/security/Security.java
36267         (getProperty): Added hack to skip security check when trusted
36268         code is direct caller.
36270 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
36272         * java/io/PrintStream.java
36273         (line_separator, PrintStream(OutputStream,boolean)): Use
36274         SystemProperties.
36276 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
36278         * gnu/java/nio/charset/Provider.java: Added comment about its
36279         special relation with CharsetProvider.
36280         (static): Removed.
36281         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
36282         its special relation with CharsetProvider.
36283         (static): Removed.
36284         * java/nio/charset/spi/CharsetProvider.java
36285         (CharsetProvider): Add special case to skip security check for
36286         built in providers.
36288 2005-01-13  Mark Wielaard  <mark@klomp.org>
36290         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
36291         name, accel, mnemonic and command are defined before setting.
36293 2005-01-12  Mark Wielaard  <mark@klomp.org>
36295         * javax/swing/plaf/metal/MetalFileChooserUI.java
36296         (FileRenderer.getListCellRendererComponent): Set empty name and null
36297         icon when File is null.
36299 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36301         * gnu/java/rmi/server/UnicastRef.java (newCall):
36302         Throw ConnectException after catching IOException.
36304 2006-01-12  Lillian Angel  <langel@redhat.com>
36306         * javax/swing/text/DefaultStyledDocument.java
36307         (insertUpdate): Removed unneeded check.
36309 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
36311         * javax/swing/text/DefaultStyledDocument.java:
36312         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
36313         and we haven't come immediately after a fracture, adjust the Element
36314         offsets.  Added comment explaining the situation.
36315         (insert): Return early if no ElementSpecs passed in.  Removed redundant
36316         call to insertUpdate.  Fired the UndoableEditUpdate.
36318 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
36320         Fixes bug #22802
36321         * gnu/regexp/RE.java(initialize): Fixed the parsing of
36322         character classes within a subexpression.
36324 2006-12-12  Lillian Angel  <langel@redhat.com>
36326         * javax/swing/text/DefaultStyledDocument.java
36327         (insertUpdate): Added check to check if attribute set is 
36328         empty.
36329         (insertUpdate): Added check to determine if last character
36330         is a newline. If it is, we should not be fracturing.
36331         (insert): Added check to determine if attribute set is empty.
36332         If it is, insertUpdate should not be called.
36334 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
36336         * configure.ac: Check for isnan.
36338         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
36339         define the macro.
36341 2006-01-12  Chris Burdess  <dog@gnu.org>
36343         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
36344           1.1 character ranges.
36346 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
36348         * javax/swing/TransferHandler.java:
36349         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
36350         gnu/testlet/javax/swing/JTextField/CopyPaste.
36352 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
36354         * resource/Makefile.am: Install 
36355         logging.properties into $(prefix)/lib.
36356         * resource/Makefile.am (securitydir): Changed to 
36357         $(prefix)/lib/security.
36359 2006-01-12  Roman Kennke  <kennke@aicas.com>
36361         * javax/swing/JTextField.java
36362         (createDefaultModel): Moved installation of the filterNewlines
36363         property to setDocument().
36364         (setDocument): New method. Installs the filterNewlines property
36365         on the document.
36367 2006-01-12  Chris Burdess  <dog@gnu.org>
36369         * gnu/xml/dom/DomNode.java,
36370           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
36371           output.
36372         * gnu/xml/xpath/NameTest.java,
36373           gnu/xml/xpath/NamespaceTest.java,
36374           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
36375           navigation.
36376         * gnu/xml/transform/MessageNode.java: Use standard logging system
36377           for outputting messages.
36379 2006-01-12  Tom Tromey  <tromey@redhat.com>
36381         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
36382         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
36383         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
36384         (static initializer): Removed cache code.
36385         (checkCacheFor, addToCache): Removed.
36386         (getAllByName): Removed cache code.
36387         (lookup_time): Removed.
36388         (InetAddress): Updated.
36390 2006-01-12  Chris Burdess  <dog@gnu.org>
36392         * gnu/xml/dom/DomDocument.java,
36393           gnu/xml/dom/DomElement.java,
36394           gnu/xml/dom/DomNode.java,
36395           gnu/xml/stream/XMLParser.java,
36396           gnu/xml/transform/Bindings.java,
36397           gnu/xml/transform/ElementAvailableFunction.java,
36398           gnu/xml/transform/ElementNode.java,
36399           gnu/xml/transform/FunctionAvailableFunction.java,
36400           gnu/xml/transform/NamespaceProxy.java,
36401           gnu/xml/transform/StreamSerializer.java,
36402           gnu/xml/transform/Stylesheet.java,
36403           gnu/xml/transform/TransformerImpl.java,
36404           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
36405           document and element nodes; correct coalescing semantics when parsing;
36406           attribute-sets can only refer to top-level variables and parameters;
36407           fix namespace retrieval during element-available and
36408           function-available functions; implement xsl:fallback for extension
36409           elements; tokenize whitespace correctly during whitespace stripping;
36410           correct following and previous node axes selectors.
36412 2006-01-12  Roman Kennke  <kennke@aicas.com>
36414         * java/util/Hashtable.java
36415         (KeyEnumerator.nextElement): Added null check to avoid NPE.
36416         (ValueEnumerator.nextElement): Added null check to avoid NPE.
36418 2006-01-12  Lillian Angel  <langel@redhat.com>
36420         * javax/swing/text/GapContent.java
36421         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
36423 2006-01-12  Mark Wielaard  <mark@klomp.org>
36425         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
36426         Throw UnknowHostException when name could not be resolved.
36428 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
36430         * java/net/URL.java
36431         (static, getURLStreamHandler): Use SystemProperties.
36433 2006-01-12  Mark Wielaard  <mark@klomp.org>
36435         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
36436         Use packet.getLength().
36437         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36438         (nativeReceive): Check whether the receiver wants zero bytes.
36440 2006-01-12  Mark Wielaard  <mark@klomp.org>
36442         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
36443         other side orderly closed connection.
36444         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
36445         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
36446         when end of stream reached.
36448 2006-01-12  Mark Wielaard  <mark@klomp.org>
36450         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36451         Remove asserts.
36452         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
36453         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
36454         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
36455         * native/jni/java-net/javanet.c: Likewise.
36457 2006-01-12  Mark Wielaard  <mark@klomp.org>
36459         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
36460         PR classpath/23863.
36462 2006-01-11  Chris Burdess  <dog@gnu.org>
36464         * gnu/xml/transform/AttributeNode.java,
36465           gnu/xml/transform/ElementNode.java,
36466           gnu/xml/transform/LiteralNode.java,
36467           gnu/xml/transform/StreamSerializer.java,
36468           gnu/xml/transform/StrippingInstruction.java,
36469           gnu/xml/transform/Stylesheet.java,
36470           gnu/xml/transform/TransformerImpl.java,
36471           gnu/xml/transform/ValueOfNode.java,
36472           gnu/xml/xpath/Expr.java,
36473           gnu/xml/xpath/LocalNameFunction.java,
36474           gnu/xml/xpath/NameFunction.java,
36475           gnu/xml/xpath/NameTest.java,
36476           gnu/xml/xpath/NamespaceUriFunction.java,
36477           gnu/xml/xpath/NodeTypeTest.java,
36478           gnu/xml/xpath/SubstringFunction.java,
36479           javax/xml/namespace/QName.java: don't determine element namespace
36480           from namespace aliases when specified; better namespace handling
36481           when serializing elements; don't create HTML meta element unless
36482           head element exists; correct encoding of CDATA sections containing
36483           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
36484           default encoding for HTML output; rewrite of XSLT
36485           strip-space/preserve-space handling; correct doctype-public and
36486           doctype-system output attributes; insert generated doctype before
36487           document element; fixed result tree whitespace stripping
36488           algorithm; fixed semantics of XPath name, local-name, and
36489           namespace-uri functions; name tests handle XML/XMLNS namespaces
36490           correctly; fixed semantics of processing-instruction node test.
36491         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
36492           aid debugging.
36494 2006-01-11  Lillian Angel  <langel@redhat.com>
36496         * javax/swing/text/DefaultStyledDocument.java
36497         (insertFracture): Added calls to addEdit for each time a structure 
36498         is changed. addEdit is called on the newBranch, previous, and parent
36499         structures.
36501 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
36503         * javax/swing/text/DefaultStyledDocument.java:
36504         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
36505         This will have been taken care of in insertFracture.  Added a comment
36506         explaining that we need to add edits to the DocumentEvent and that
36507         this may be the place to do it.
36509 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
36511         * javax/swing/text/DefaultStyledDocument.java:
36512         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
36513         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
36514         elementStack when there is a start tag with JoinNextDirection.
36516 2006-01-11  Roman Kennke  <kennke@aicas.com>
36518         Reported by: Fridjof Siebert <siebert@aicas.com>
36519         * java/util/Hashtable.java
36520         (KEYS): Removed unneeded field.
36521         (VALUES): Removed unneeded field.
36522         (ENTRIES): Removed unneeded field.
36523         (keys): Return a KeyEnumerator instance.
36524         (elements): Returns a ValueEnumerator instance.
36525         (toString): Use an EntryIterator instance.
36526         (keySet): Return a KeyIterator instance.
36527         (values): Return a ValueIterator instance.
36528         (entrySet): Return an EntryIterator instance.
36529         (hashCode): Use EntryIterator instance.
36530         (rehash): Changed this loop to avoid redundant reads and make
36531         it obvious that null checking is not needed.
36532         (writeObject): Use EntryIterator instance.
36533         (HashIterator): Removed class.
36534         (Enumerator): Removed class.
36535         (EntryIterator): New class.
36536         (KeyIterator): New class.
36537         (ValueIterator): New class.
36538         (EntryEnumerator): New class.
36539         (KeyEnumerator): New class.
36540         (ValueEnumerator): New class.
36542 2006-01-11  Lillian Angel  <langel@redhat.com>
36544         * javax/swing/text/DefaultStyledDocument.java
36545         (toString): Shouldn't append the '>' character here.
36546         (createDefaultRoot): Should not set the resolve parent. This
36547         causes problems when comparing attribute sets.
36549 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
36551         * javax/swing/text/DefaultStyledDocument.java:
36552         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
36553         end tags.
36554         (ElementBuffer.insertFracture): New method.
36555         (ElementBuffer.insertContentTag): Removed unnecessary case for 
36556         JoinFractureDirection - this only applies to start tags, not content
36557         tags.
36558         (insertUpdate): Corrected conditions for setting direction to 
36559         JoinNextDirection.
36561 2006-01-10  Roman Kennke  <kennke@aicas.com>
36563         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
36564         * ChangeLog-2005: New File.
36566 2006-01-10  Roman Kennke  <kennke@aicas.com>
36568         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
36569         (get): Release the array with the correct pointer.
36570         (put): Release the array with the correct pointer. Copy the array
36571         around _before_ releasing it.
36573 2006-01-10  Roman Kennke  <kennke@aicas.com>
36575         * javax/swing/ViewportLayout.java
36576         (layoutContainer): Fixed condition, to avoid ClasscastException.
36578 2006-01-10  Roman Kennke  <kennke@aicas.com>
36580         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
36581         (MouseHandler.mousePressed): Fixed indendation.
36582         (MouseHandler.mouseDragged): Fixed indendation.
36584 2006-01-10  Roman Kennke  <kennke@aicas.com>
36586         * javax/swing/plaf/basic/BasicLookAndFeel.java
36587         (playSound): Added @since 1.4 to the API docs.
36589 2006-01-10  Roman Kennke  <kennke@aicas.com>
36591         * javax/swing/plaf/basic/BasicListUI.java
36592         (maybeUpdateLayoutState): Also update the layout state, if the
36593         list has been invalidated since the last update.
36595 2006-01-10  Roman Kennke  <kennke@aicas.com>
36597         * javax/swing/plaf/ComponentUI.java
36598         (update): Fixed indendation.
36600 2006-01-10  Roman Kennke  <kennke@aicas.com>
36602         * javax/swing/ViewportLayout.java
36603         (layoutContainer): Fixed condition, so that Scrollable components
36604         are always forced to have to Viewport size, when they
36605         return true for getScrollableTracksViewportHeight() and ..Width().
36607 2006-01-10  Roman Kennke  <kennke@aicas.com>
36609         * javax/swing/RepaintManager.java
36610         (validateInvalidComponents): Fixed condition to avoid NPE.
36612 2006-01-10  Roman Kennke  <kennke@aicas.com>
36614         * javax/swing/JViewport.java:
36615         (static_initializer): Removed unused variable myScrollMode.
36617 2006-01-10  Roman Kennke  <kennke@aicas.com>
36619         * javax/swing/JTabbedPane.java:
36620         Cleared API docs a little.
36622 2006-01-10  Roman Kennke  <kennke@aicas.com>
36624         * java/util/StringTokenizer.java
36625         (StringTokenizer(String, String, boolean)):
36626         Don't trigger NPE here for conformance with the spec.
36628 2006-01-10  Roman Kennke  <kennke@aicas.com>
36630         * java/util/ArrayList.java
36631         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36633 2006-01-10  Roman Kennke  <kennke@aicas.com>
36635         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36636         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36637         field to avoid NPE.
36639 2006-01-10  Roman Kennke  <kennke@aicas.com>
36641         * native/jni/java-net/javanet.c
36642         (_javanet_shutdownOutput): Replaced strerror() with
36643         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36644         (_javanet_shutdownInput): Replaced strerror() with
36645         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36647 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36649         * java/beans/EventSetDescriptor.java: Reformatted and
36650         fixed API docs.
36652 2006-01-10  Roman Kennke  <kennke@aicas.com>
36654         * java/lang/SecurityManager.java
36655         Fully qualified AWT class references in API docs.
36657 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36659         * java/beans/EventSetDescriptor.java:
36660         (getGetListenerMethod): New method.
36662 2006-01-10  Mark Wielaard  <mark@klomp.org>
36664         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36666 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36668         PR classpath/25727
36669         * java/util/Hashtable.java
36670         (contains): Call equals on existing value.
36671         (containsKey, get, put, remove): Call equals on existing key.
36672         (getEntry): Call equals on existing entry.
36674 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36676         PR classpath/24618
36677         * java/util/AbstractMap.java
36678         (equals(Object,Object)): Test for identity first.
36679         * java/util/WeakHashMap.java
36680         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36681         (WeakBucket.WeakEntry.toString): Fixed string representation of
36682         null key.
36683         (internalGet): Use helper method to determine equality.
36685 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36687         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36688         constructors.
36690 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36692         * javax/swing/text/PlainDocument.java:
36693         (insertUpdate): Handle special case of an insertion immediately 
36694         following a newline character.
36696 2006-01-09  Roman Kennke  <kennke@aicas.com>
36698         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36699         (connect): Added stream parameter to _connect() call.
36700         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36701         (connect): Added stream parameter to _connect() call.
36702         * native/jni/java-net/javanet.c
36703         (_javanet_create_localfd): Added stream parameter. Look up
36704         fd field based on the stream parameter either in SocketImpl or
36705         in DatagramSocketImpl.
36706         (_javanet_connect): Added stream parameter. Call create_localfd
36707         using this stream parameter. Set localPort field either in
36708         SocketImpl or in DatagramSocketImpl, depending on the stream
36709         flag.
36710         * native/jni/java-net/javanet.c
36711         (_javanet_connect): Added stream parameter.
36713 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36715         * javax.management.Attribute.java: Grammar and 
36716         formatting fixes.
36718 2006-01-09  Mark Wielaard  <mark@klomp.org>
36720         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36721         exception when channel is not readable or writable.
36722         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36723         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36724         there is enough space to mmap().
36726 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36728         * java/beans/Introspector.java:
36729         (getBeanInfo(Class, int)): New method.
36730         (getBeanInfo(Class, Class): Moved common code in a new method.
36731         (merge): New method.
36733 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36735         * java/beans/XMLEncoder.java: Fix spelling mistakes.
36737 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36739         * javax/swing/text/DefaultStyledDocument.java:
36740         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36741         inlined this method because it needs to change the value of the 
36742         finalStartTag and finalStartDirection variables.
36743         (checkForInsertAfterNewline): Removed this method.
36744         (handleInsertAfterNewline): Added case for making the start tag's 
36745         direction JoinNextDirection.
36747 2006-01-09  Lillian Angel  <langel@redhat.com>
36749         * javax/swing/plaf/basic/BasicTreeUI.java:
36750         Added new field.
36751         (setRowHeight): Row height is set to the max height of
36752         all the nodes, or 20 as a default value.
36753         (getPathBounds): Cleaned up code.
36754         (getMaxHeight): New helper function that gets the max 
36755         height of all the rows.
36756         (getClosestPathForLocation): Fixed to use getMaxHeight.
36757         (updateCachedPreferredSize): Likewise.
36758         (installUI): Shouldn't expand tree on startup.
36759         (getNodeDimensions): Fixed to use getMaxHeight. 
36761 2006-01-09  Mark Wielaard  <mark@klomp.org>
36763         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36764         argument is negative.
36766 2006-01-08  Mark Wielaard  <mark@klomp.org>
36768         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36770 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36772         * javax.management.Attribute.java: New file. 
36774 2006-01-09  Roman Kennke  <kennke@aicas.com>
36776         * java/net/DatagramSocketImpl.java
36777         (localPort): Renamed to localport for correct access from native
36778         code.
36780 2006-01-09  Roman Kennke  <kennke@aicas.com>
36782         * javax/swing/Popup.java
36783         (LightweightPopup.hide): Repaint the layered pane when popup is
36784         removed.
36786 2006-01-09  Roman Kennke  <kennke@aicas.com>
36788         * java/awt/Container.java
36789         (remove): Don't repaint the container here.
36791 2006-01-08  Tom Tromey  <tromey@redhat.com>
36793         * java/lang/InheritableThreadLocal.java: Organized imports.
36795 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36797         Fixes bug #25679
36798         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36799         when an empty string matched an empty token.
36801 2006-01-08  Chris Burdess  <dog@gnu.org>
36803         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36804           content models from external entities.
36805         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36806           attempting to continue with unpaired surrogates.
36807         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36808           resolving entities with character entity references; better
36809           checking of valid character ranges; don't report an error for URI
36810           fragments in notation declarations; check unbound namespace
36811           prefixes for elements and attributes, including XML 1.1 unbinding
36812           syntax; namespace-aware checking of attribute duplicates.
36814 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36816         * java/beans/Statement.java: Doc fixes.
36817         (doExecute): Workaround for Class.forName call.
36818         (toString): Made output look more like on the JDK.
36819         * java/beans/Expression.java: Doc fixes.
36820         (toString): Made output look more like on the JDK.
36821         * java/beans/PersistenceDelegate.java,
36822         java/beans/DefaultPersistenceDelegate.java,
36823         java/beans/Encoder.java,
36824         java/beans/XMLEncoder.java: New file.
36825         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36826         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36827         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36828         gnu/java/beans/encoder/Context.java,
36829         gnu/java/beans/encoder/GenericScannerState.java,
36830         gnu/java/beans/encoder/IgnoringScannerState.java,
36831         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36832         gnu/java/beans/encoder/ObjectId.java,
36833         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36834         gnu/java/beans/encoder/ReportingScannerState.java,
36835         gnu/java/beans/encoder/Root.java,
36836         gnu/java/beans/encoder/ScanEngine.java,
36837         gnu/java/beans/encoder/ScannerState.java,
36838         gnu/java/beans/encoder/StAXWriter.java,
36839         gnu/java/beans/encoder/Writer.java: New file.
36840         * gnu/java/beans/encoder/elements/Array_Get.java,
36841         gnu/java/beans/encoder/elements/Element.java,
36842         gnu/java/beans/encoder/elements/List_Set.java,
36843         gnu/java/beans/encoder/elements/Array_Set.java,
36844         gnu/java/beans/encoder/elements/NullObject.java,
36845         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36846         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36847         gnu/java/beans/encoder/elements/StringReference.java,
36848         gnu/java/beans/encoder/elements/ClassResolution.java,
36849         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36850         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36851         gnu/java/beans/encoder/elements/ObjectReference.java,
36852         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36853         gnu/java/beans/encoder/elements/List_Get.java,
36854         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36856 2006-01-08  Chris Burdess  <dog@gnu.org>
36858         * java/lang/Character.java (toChars,toCodePoint): Correct these
36859           methods to use algorithms from Unicode specification.
36861 2006-01-08  Mark Wielaard  <mark@klomp.org>
36863         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36865 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36867         Fixes bug #25711
36868         * examples/Makefile.am: Corrected DESTDIR install paths.
36870 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36872         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36873         ASCII character (line 46).
36875 2006-01-07  Roman Kennke  <kennke@aicas.com>
36877         * javax/swing/text/TableView.java: New file.
36879 2006-01-07  Chris Burdess  <dog@gnu.org>
36881         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36882         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36883         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36884           available; correct handling of unparsed entity references;
36885           absolutize all base URIs; remove commented out code.
36887 2006-01-07  Chris Burdess  <dog@gnu.org>
36889         * gnu/xml/stream/SAXParser.java,
36890           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36891           URI of the current event.
36893 2006-01-07  Chris Burdess  <dog@gnu.org>
36895         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36896           aware processing.
36898 2006-01-07  Chris Burdess  <dog@gnu.org>
36900         * gnu/xml/stream/SAXParser.java,
36901           gnu/xml/stream/XIncludeFilter.java,
36902           gnu/xml/stream/XMLParser.java: Updated documentation.
36904 2006-01-07  Chris Burdess  <dog@gnu.org>
36906         * AUTHORS: add self.
36908 2006-01-06  Casey Marshall  <csm@gnu.org>
36910         * AUTHORS: add myself.
36912 2006-01-06  Casey Marshall  <csm@gnu.org>
36914         PR classpath/25699
36915         * javax/crypto/CipherInputStream.java (logger): new constant.
36916         (cipher): make final.
36917         (outLength, inBuffer, inLength): removed.
36918         (isStream): make final.
36919         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36920         (eof): new field.
36921         (<init>): call `super,' not `this;' remove `inBuffer' and
36922         `outBuffer' initialization; init `eof;' add debug logging.
36923         (<init>): call `this' with a new null cipher.
36924         (available): fix javadoc to reflect the real semantics; if we
36925         don't have a buffer, call `nextBlock.'
36926         (close): synchronize.
36927         (read): synchronize; fix testing for buffered data.
36928         (read): synchronize; add `skip' semantics if first argument is
36929         `null;' decrypt stream cipher data only if there is any; fix tests
36930         for buffered data.
36931         (skip): stop using `available' to see how many data are buffered.
36932         (nextBlock): simplify to use cipher-allocated output buffers
36933         instead of internally allocated ones.
36935 2006-01-06  Tom Tromey  <tromey@redhat.com>
36937         * java/lang/String.java (codePointCount): Fixed javadoc.
36939 2006-01-06  Tom Tromey  <tromey@redhat.com>
36941         * java/lang/String.java (contains): Added @since.
36943 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36945         Fixes bug #25616
36946         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36947         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36948         when an empty string matched an empty token.
36950 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36952         PR classpath/24858
36953         * gnu/java/util/WeakIdentityHashMap.java: New file.
36954         * java/lang/InheritableThreadLocal.java
36955         (newChildThread): Modified to remove key indirection.
36956         * java/lang/Thread.java
36957         (locals): Changed type to WeakIdentityHashMap.
36958         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36959         WeakHashMap.
36960         * java/lang/ThreadLocal.java
36961         (key, Key): Removed.
36962         (get, set): Changed to use "this" instead of "key".
36964 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36966         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36968         * native/fdlibm/java-assert.h: Removed file.
36970         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36971         Replaced use of JvAssert by assert.
36973 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36975         * javax/swing/text/DefaultCaret.java:
36976         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36977         parameter dot.
36979 2006-01-05  Roman Kennke  <kennke@aicas.com>
36981         * javax/swing/plaf/basic/BasicListUI.java
36982         (getCellHeight): New helper method.
36983         (getCellBounds): Use new helper method for determining the cell
36984         height.
36985         (paint): Don't call list.indexToLocation() but instead call
36986         directly into the same UI method.
36987         (locationToIndex): Fixed calculation of # visible rows and handling
36988         of cell heights.
36989         (indexToLocation): Fixed calculation of # visible rows and handling
36990         of cell heights.
36992 2006-01-05  Roman Kennke  <kennke@aicas.com>
36994         * javax/swing/plaf/metal/MetalFileChooserUI.java
36995         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36996         in the file chooser.
36998 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
37000         * javax/swing/JTextPane.java:
37001         (replaceSelection): If the document is an AbstractDocument, use replace
37002         rather than remove and insert.
37003         * javax/swing/event/EventListenerList.java:
37004         (getListeners): Reversed the order of the listeners to match the 
37005         reference implementation.
37006         * javax/swing/text/AbstractDocument.java:
37007         (insertString): Add the UndoableEdit from the content.insertString call
37008         to the DocumentEvent.
37009         (DefaultDocumentEvent.toString): Implemented.
37010         * javax/swing/text/DefaultCaret.java:
37011         (setDot): Make sure dot is > 0 and less than the length of the 
37012         document.
37013         * javax/swing/text/DefaultStyledDocument.java:
37014         (ElementBuffer.insertUpdate): Set the modified tag of the document 
37015         event when we get start and end tags.  This ensures that we create the
37016         proper BranchElements in endEdit().
37017         (ElementBuffer.insertUpdate): Added FIXME to handle 
37018         JoinFractureDirection case.
37019         (insertUpdate): Added code to check if we're inserting immediately 
37020         after a newline and to handle this case (create start and end tags). 
37021         Only change the direction of the first and last tags if they are of 
37022         type ContentType.
37023         (checkForInsertAfterNewline): New helper method.
37024         (handleInsertAfterNewline): Likewise.
37025         * javax/swing/text/View.java:
37026         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
37027         container.
37029 2006-01-05  Mark Wielaard  <mark@klomp.org>
37031         * newsitems.txt: Add fosdem meeting.
37032         * events/events.wml: Likewise.
37033         * events/fosdem06.wml: New file.
37034         
37035 2006-01-05  Lillian Angel  <langel@redhat.com>
37036         
37037         * javax/swing/text/GapContent.java
37038         (createPosition): No positions should be created inside the
37039         gap. Fixed check to ensure this does not happen.
37041 2006-01-05  Roman Kennke  <kennke@aicas.com>
37043         * javax/swing/RepaintManager.java
37044         (validateInvalidComponents): Search for the validate root
37045         and start validating there.
37047 2006-01-05  Roman Kennke  <kennke@aicas.com>
37049         * javax/swing/plaf/basic/BasicListUI.java
37050         (ComponentHandler): Removed unneeded class.
37051         (ListDataHandler.contentsChanged): Revalidate instead of calling
37052         damageLayout().
37053         (ListDataHandler.intervalAdded): Revalidate instead of calling
37054         damageLayout().
37055         (ListDataHandler.intervalRemoved): Revalidate instead of calling
37056         damageLayout().
37057         (PropertyChangeHandler.propertyChange): Or flags together instead
37058         of adding them. Don't call damageLayout().
37059         (componentListener): Removed unnecessary field.
37060         (damageLayout): Removed unnecessary method.
37061         (installListeners): Don't install unnecessary listeners.
37062         (uninstallListeners): Dito.
37063         (getPreferredSize): Don't ask for the real list height and
37064         calculate with the previously calculated list height.
37065         (locationToIndex): Renamed list parameter to l so that it doesn't
37066         shadow the field with the same name.
37067         (indexToLocation): Renamed list parameter to l so that it doesn't
37068         shadow the field with the same name.
37070 2006-01-04  Tom Tromey  <tromey@redhat.com>
37072         * include/.cvsignore: Ignore config-int.h.
37074 2006-01-04  Roman Kennke  <kennke@aicas.com>
37076         * javax/swing/plaf/basic/BasicListUI.java
37077         (getPreferredSize): Rewritten to match the specs.
37079 2006-01-04  Roman Kennke  <kennke@aicas.com>
37081         * javax/swing/JFileChooser.java
37082         (showOpenDialog): Set fixed width on the dialog.
37083         (showSaveDialog): Set fixed width on the dialog.
37084         (showDialog): Set fixed width on the dialog.
37086 2006-01-04  Roman Kennke  <kennke@aicas.com>
37088         * javax/swing/plaf/basic/BasicListUI.java
37089         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
37090         Adjusted iteration to not use visibleRowCount and instead iterate
37091         over the real number of elements in cellHeights.
37092         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
37093         Adjusted iteration to not use visibleRowCount and instead iterate
37094         over the real number of elements in cellHeights.
37096 2006-01-04  Roman Kennke  <kennke@aicas.com>
37098         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
37099         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
37100         Added __attribute__((__unused__)) macros to avoid gcc warnings.
37102 2006-01-04  Roman Kennke  <kennke@aicas.com>
37104         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
37105         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
37106         New VM class.
37107         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
37108         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
37109         New file.
37110         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
37111         Removed.
37112         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
37113         * native/jni/java-net/Makefile.am: Adjusted for new source files.
37114         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
37115         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
37116         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
37117         * include/gnu_java_net_PlainSocketImpl.h: Removed.
37118         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
37119         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
37121 2006-01-04  Lillian Angel  <langel@redhat.com>
37123         * javax/swing/plaf/metal/MetalFileChooserUI.java
37124         (propertyChange): Fixed to change the combo box label
37125         appropriately. Also, fixed to set the textfield's text
37126         correctly.
37127         (editFile): Fixed size of editing field.
37128         (installComponents): Correctly aligned all panels.
37129         (installStrings): Fixed to set the label's text
37130         appropriately depending on the dialog type.
37132 2006-01-04  Lillian Angel  <langel@redhat.com>
37134         PR classpath/25473 
37135         PR classpath/25479
37136         * javax/swing/JTree.java
37137         (JTree): Because some L&F defaults have been updated,
37138         the selectionMode for the tree needed to be set to SINGLE.
37139         * javax/swing/plaf/basic/BasicFileChooserUI.java:
37140         Initialized accessoryPanel.
37141         * javax/swing/plaf/metal/MetalFileChooserUI.java
37142         (installComponents): Added accessoryPanel to the filechooser.
37144 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
37146         * configure.ac: Added AX_CREATE_STDINT_H
37148         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
37150         * m4/ax_create_stdint_h.m4: New file.
37152         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
37153         typedefs. Removed stdint.h and inttypes.h includes.
37155 2006-01-03  Mark Wielaard  <mark@klomp.org>
37157         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
37158         register keyboard action when accelerator is not null.
37159         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
37160         re-register accelerator if not null.
37161         (installKeyboardActions): Only put accelerator in map when not null.
37163 2006-01-04  Lillian Angel  <langel@redhat.com>
37165         * javax/swing/plaf/basic/BasicLookAndFeel.java
37166         (initComponentDefaults): Removed unneeded default.
37167         * javax/swing/plaf/metal/MetalLookAndFeel.java
37168         (initComponentDefaults): Added and fixed several defaults.
37170 2006-01-04  Roman Kennke  <kennke@aicas.com>
37172         * javax/swing/plaf/basic/BasicHTML.java: New class.
37174 2006-01-03  Tom Tromey  <tromey@redhat.com>
37176         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
37177         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
37179 2006-01-03  Mark Wielaard  <mark@klomp.org>
37181         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
37183 2006-01-03  Mark Wielaard  <mark@klomp.org>
37185         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
37186         Always call createDefaultTheme().
37187         (createDefaultTheme): Check whether theme is still null.
37189 2006-01-03  Mark Wielaard  <mark@klomp.org>
37191         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
37192         Color.WHITE if null.
37194 2006-01-03  Lillian Angel  <langel@redhat.com>
37196         * javax/swing/plaf/metal/MetalLookAndFeel.java
37197         (getDescription): Fixed to return the correct string.
37198         (getID): Likewise.
37199         (getName): Likewise.
37200         (getDefaults): Added check to avoid NPE.
37201         (getAcceleratorForeground): Likewise.
37202         (getAcceleratorSelectedForeground): Likewise.
37203         (getBlack): Likewise.
37204         (getControl): Likewise.
37205         (getControlDarkShadow): Likewise.
37206         (getControlDisabled): Likewise.
37207         (getControlHighlight): Likewise.
37208         (getControlInfo): Likewise.
37209         (getControlShadow): Likewise.
37210         (getControlTextColor): Likewise.
37211         (getControlTextFont): Likewise.
37212         (getDesktopColor): Likewise.
37213         (getFocusColor): Likewise.
37214         (getHighlightedTextColor): Likewise.
37215         (getInactiveControlTextColor): Likewise.
37216         (getInactiveSystemTextColor): Likewise.
37217         (getMenuBackground): Likewise.
37218         (getMenuDisabledForeground): Likewise.
37219         (getMenuForeground): Likewise.
37220         (getMenuSelectedBackground): Likewise.
37221         (getMenuSelectedForeground): Likewise.
37222         (getMenuTextFont): Likewise.
37223         (getPrimaryControl): Likewise.
37224         (getPrimaryControlDarkShadow): Likewise.
37225         (getPrimaryControlHighlight): Likewise.
37226         (getPrimaryControlInfo): Likewise.
37227         (getPrimaryControlShadow): Likewise.
37228         (getSeparatorBackground): Likewise.
37229         (getSeparatorForeground): Likewise.
37230         (getSubTextFont): Likewise.
37231         (getSystemTextColor): Likewise.
37232         (getSystemTextFont): Likewise.
37233         (getTextHighlightColor): Likewise.
37234         (getUserTextColor): Likewise.
37235         (getUserTextFont): Likewise.
37236         (getWhite): Likewise.
37237         (getWindowBackground): Likewise.
37238         (getWindowTitleBackground): Likewise.
37239         (getWindowTitleFont): Likewise.
37240         (getWindowTitleForeground): Likewise.
37241         (getWindowTitleInactiveBackground): Likewise.
37242         (getWindowTitleInactiveForeground): Likewise.
37244 2006-01-03  Mark Wielaard  <mark@klomp.org>
37246         * javax/swing/JTextArea.java
37247         (JTextArea(Document,text,int,int)): Only call setText() when text is
37248         not null.
37250 2006-01-03  Lillian Angel  <langel@redhat.com>
37252         * javax/swing/plaf/basic/BasicFileChooserUI.java
37253         (installStrings): Fixed installation of defaults that
37254         were changed in BasicLookAndFeel.
37255         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
37256         (installDefaults): Fixed installation of defaults that
37257         were changed in BasicLookAndFeel.
37259 2006-01-03  Lillian Angel  <langel@redhat.com>
37261         * javax/swing/plaf/basic/BasicLookAndFeel.java
37262         (initComponentDefaults): Fixed several defaults that differed
37263         from the JDK.
37265 2006-01-03  Lillian Angel  <langel@redhat.com>
37267         * javax/swing/tree/DefaultTreeSelectionModel.java
37268         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
37270 2006-01-03  Lillian Angel  <langel@redhat.com>
37272         * javax/swing/AbstractAction.java
37273         (AbstractAction): Fixed to pass in null. Should not be 
37274         an empty string. Removed TODO comment.
37275         (AbstractAction): Removed TODO comment.
37276         * javax/swing/JList.java
37277         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
37278         * javax/swing/JMenuItem.java
37279         (JMenuItem): Set all defaults if the action passed in is not null.
37280         * javax/swing/JProgressBar.java
37281         (JProgressBar): Added check to prevent NPE.
37283 2006-01-03  Lillian Angel  <langel@redhat.com>
37285         * javax/swing/plaf/basic/BasicListUI.java
37286         (getPreferredSize): The JDK adds some extra space to 
37287         the list, so we should as well.
37288         * javax/swing/plaf/metal/MetalFileChooserUI.java
37289         (getPreferredSize): Should only take the fileListPanel's
37290         width into account when getting the size. Also, the buttonPanel's
37291         size should not be checked, since it is in the bottomPanel already.
37292         (getMinimumSize): Likewise.
37294 2006-01-03  Lillian Angel  <langel@redhat.com>
37296         * javax/swing/JList.java
37297         (init): visibleRowCount should be 7, like the JDK.
37298         * javax/swing/plaf/metal/MetalFileChooserUI.java
37299         (installComponents): No need to add the fileFilterCombo
37300         to a panel. It can be added to the row directly.
37302 2006-01-03  Lillian Angel  <langel@redhat.com>
37303         
37304         PR classpath/25480 PR classpath/25478
37305         * javax/swing/plaf/basic/BasicScrollPaneUI.java
37306         (updateViewport): Made changes suggested by
37307         Chris Lansdown.
37308         * javax/swing/plaf/metal/MetalFileChooserUI.java:
37309         Removed unneeded import.
37310         (createList): Removed comment, JList wrapping 
37311         now works.
37312         (getPreferredSize): Made changes suggested by
37313         Chris Lansdown. Uses fileListPanel, instead
37314         of fileList.
37315         (getMinimumSize): Uses fileListPanel, instead
37316         of fileList.
37317         * javax/swing/plaf/metal/MetalRadioButtonUI.java
37318         (paintFocus): Fixed height.
37320 2006-01-03  Roman Kennke  <kennke@aicas.com>
37322         * javax/swing/plaf/basic/BasicListUI.java
37323         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
37325 2006-01-03  Roman Kennke  <kennke@aicas.com>
37327         * javax/swing/plaf/basic/BasicListUI.java
37328         (locationToIndex): Special case for when variable cell heights
37329         are possible. (cellHeights is used instead of cellHeight).
37330         (indexToLocation): Special case for when variable cell heights
37331         are possible. (cellHeights is used instead of cellHeight).
37333 2006-01-03  Roman Kennke  <kennke@aicas.com>
37335         * javax/swing/text/DefaultStyledDocument.java
37336         (ElementBuffer.remove): New method.
37337         (ElementBuffer.removeUpdate): New method.
37338         (removeUpdate): New method.
37340 2006-01-03  Roman Kennke  <kennke@aicas.com>
37342         * lib/Makefile.am:
37343         (dist-hook): Preserve attributes of Java sources when copying to
37344         dist dir.
37346 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
37348         * AUTHORS: Added self.
37349         * java/security/Security.java (getProvider): Ensures provider's name is
37350           not null, not an empty string, and is trimmed before usage.
37352 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
37354         * gnu/CORBA/Poa/AOM.java (add):
37355         Changed parameter Object into gnuServantObject.
37356         (Obj.object): Changed type to gnuServantObject.
37357         (findObject): Rewritten.
37359 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
37361         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
37362         buffering. Ability has gone in Qt-4.1.x.
37364         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
37365         to have the right include flags.
37367 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
37369         * java/security/MessageDigest.java (getInstance(String,String)):
37370         Use trimmed copy of provider name.
37371         * gnu/java/security/Engine.java
37372         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
37373         service and algorithm names.
37375 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
37377         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
37378         localhost is null or is an empty string. Trim hostname before
37379         lookup.